Function at 0x40aab2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ecx, 9
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x90]
mov esi, 0x4894c0
push ebx
sub esp, 0xdc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xa0], 0x495eeb
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x48]
mov esi, 0x489500
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x6c]
mov esi, 0x489540
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x9c], 0x495eef
mov dword [ebp - 0x98], 0x495ef4
mov dword [ebp - 0x94], 0x495ef9
mov dword [esp + 4], 1
mov dword [esp], 0x200
call sub.msvcrt.dll_calloc
mov dword [ebp - 0xac], eax
test eax, eax
jne 0x40ab50
mov ebx, str._Unrecognized_
jmp 0x40af01
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
sub esp, 0x14
test eax, eax
je 0x40ab46
xor eax, eax
mov dword [esp + 8], 0x200
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
sub esp, 0x14
test eax, eax
je 0x40ab46
cmp dword [ebp - 0xa4], 0x200
jne 0x40ab46
mov eax, dword [ebp - 0xac]
mov ebx, str.ISO9660
inc eax
mov dword [ebp - 0xb0], eax
mov dword [esp + 8], 5
mov dword [esp + 4], eax
mov dword [esp], 0x495efe
call sub.msvcrt.dll_strncmp
test eax, eax
je 0x40af01
mov eax, dword [ebp - 0xac]
lea esi, [ebp - 0x8c]
xor ebx, ebx
lea edi, [eax + 3]
mov dword [esp + 8], 8
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x40aef7
inc ebx
add esi, 0xc
cmp ebx, 3
jne 0x40ac05
mov esi, 0x36
mov eax, dword [ebp - 0xac]
lea edi, [ebp - 0x44]
xor ebx, ebx
lea edx, [eax + esi]
mov dword [esp + 8], 8
mov dword [esp + 4], edi
mov dword [esp], edx
mov dword [ebp - 0xbc], edx
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x40ac6c
inc ebx
add edi, 0xc
mov edx, dword [ebp - 0xbc]
cmp ebx, 4
jne 0x40ac3d
jmp 0x40ac78
imul ebx, ebx, 0xc
mov ebx, dword [ebp + ebx - 0x48]
jmp 0x40af01
cmp esi, 0x52
je 0x40ac84
mov esi, 0x52
jmp 0x40ac2f
mov dword [esp + 8], 4
mov eax, dword [ebp - 0xac]
mov ebx, str.APFS
mov dword [esp], str.NXSB
add eax, 0x20
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncmp
test eax, eax
je 0x40af01
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xb8]
xor eax, eax
mov ecx, pe_nt_image_headers32
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xb4]
add esi, 0x400
mov dword [esp + 4], esi
adc edi, 0
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
sub esp, 0x14
test eax, eax
je 0x40ab46
xor eax, eax
mov dword [esp + 8], 0x200
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
sub esp, 0x14
test eax, eax
je 0x40ab46
cmp dword [ebp - 0xa4], 0x200
jne 0x40ab46
mov eax, dword [ebp - 0xac]
cmp byte [eax], 0x48
jne 0x40ad66
mov al, byte [eax + 1]
cmp al, 0x58
je 0x40aef0
cmp al, 0x2b
je 0x40aef0
xor eax, eax
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
sub esp, 0x14
test eax, eax
je 0x40ab46
xor ebx, ebx
mov dword [esp + 8], 0x200
mov dword [esp + 0x10], ebx
lea ebx, [ebp - 0xa4]
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
sub esp, 0x14
test eax, eax
je 0x40ab46
cmp dword [ebp - 0xa4], 0x200
jne 0x40ab46
mov eax, dword [ebp - 0xac]
cmp byte [eax + 0x38], 0x53
jne 0x40ae34
cmp byte [eax + 0x39], 0xef
jne 0x40ae34
xor esi, esi
xor edx, edx
mov eax, dword [ebp - 0xac]
imul edi, edx, 0xc
mov ebx, dword [eax + edx*4 + 0x5c]
lea eax, [ebp - 0x6c]
add edi, eax
xor eax, eax
mov ecx, ebx
and ecx, dword [edi + eax*4]
setne byte [ebp - 0xb8]
cmp eax, esi
setae cl
inc eax
test byte [ebp - 0xb8], cl
cmovne esi, eax
cmp eax, 3
jne 0x40ae02
inc edx
cmp edx, 3
jne 0x40adee
mov ebx, dword [ebp + esi*4 - 0xa0]
jmp 0x40af01
mov edi, dword [ebp - 0xac]
xor eax, eax
mov ecx, pe_nt_image_headers32
mov edx, dword [ebp - 0xb4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xb8]
add eax, 0x8000
adc edx, 0
xor ecx, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
sub esp, 0x14
test eax, eax
je 0x40ab46
xor eax, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x200
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
sub esp, 0x14
test eax, eax
je 0x40ab46
cmp dword [ebp - 0xa4], 0x200
jne 0x40ab46
mov dword [esp + 8], 5
mov eax, dword [ebp - 0xb0]
mov ebx, 0x495ed1
mov dword [esp], 0x495f09
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x40ab46
jmp 0x40af01
mov ebx, str.HFS_HFS
jmp 0x40af01
imul ebx, ebx, 0xc
mov ebx, dword [ebp + ebx - 0x90]
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call sub.msvcrt.dll_free
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret