Function at 0x43f4a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68cf59
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x71a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x104]
mov edi, dword [ebp + 8]
push 8
mov dword [ebp - 0xdc], eax
call fcn.00440910
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x100]
mov ebx, dword [ebp - 0x104]
sub esi, ebx
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
je 0x43faf1
mov eax, dword [edi + 8]
add eax, esi
cmp eax, dword [edi + 0xc]
ja 0x43faf1
push 0
lea eax, [ebp - 0x98]
push eax
push esi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43faf1
cmp esi, dword [ebp - 0x98]
jne 0x43faf1
add dword [edi + 8], esi
lea eax, [ebx + esi]
mov dword [ebp - 0xf8], vtable.fileimage::CFileImageAnalyser.0
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push 4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xf8]
call fcn.0047ed60
test al, al
je 0x43fac5
mov edx, str.AFAH
lea ecx, [ebp - 0x28]
call fcn.00406ba0
test al, al
je 0x43fac5
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0
push eax
lea ecx, [ebp - 0xf8]
call fcn.0047ec60
test al, al
je 0x43fac5
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x43fac5
push esi
lea ecx, [ebp - 0x11c]
call fcn.00440910
mov byte [ebp - 4], 3
mov ecx, edi
mov ebx, dword [ebp - 0x11c]
push esi
push ebx
call fcn.00620500
test al, al
je 0x43fab6
mov eax, dword [ebp - 0x118]
sub eax, ebx
mov dword [ebp - 0xcc], vtable.fileimage::CFileImageBitAnalyser.0
add eax, ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x90], 0
call fcn.0047f1d0
test al, al
je 0x43fab6
cmp dword [ebp - 0x90], 3
jne 0x43fab6
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0xcc]
add eax, 8
push eax
call fcn.0047f170
test al, al
je 0x43fab6
mov dword [ebp - 0xec], vtable.afafactory::CCharMap.0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xec]
call fcn.00440fe0
test al, al
je 0x43fa9c
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x90], 0
call fcn.0047f1d0
test al, al
je 0x43fa9c
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0047f1d0
test al, al
je 0x43fa9c
mov edi, dword [ebp - 0x94]
lea ecx, [ebp - 0x128]
push edi
call fcn.00440910
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xcc]
mov ebx, dword [ebp - 0x128]
push edi
push ebx
call fcn.0047f520
test al, al
jne 0x43f75a
lea ecx, [ebp - 0x128]
xor bl, bl
call fcn.00404550
lea ecx, [ebp - 0xec]
call fcn.00440e40
lea ecx, [ebp - 0x11c]
call fcn.00404550
jmp 0x43fac7
push dword [ebp - 0x90]
lea ecx, [ebp - 0x110]
call fcn.00440910
mov dword [ebp - 0xbc], vtable.commonsystemdata::CZlibDecompressor.0
mov dword [ebp - 0xb8], 0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 8
call fcn.004635b0
test al, al
je 0x43fa61
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x43fa61
mov eax, dword [ecx]
push edi
mov edi, dword [ebp - 0x110]
push ebx
push dword [ebp - 0x90]
mov eax, dword [eax + 8]
push edi
call eax
test al, al
je 0x43fa61
mov eax, dword [ebp - 0x10c]
sub eax, edi
mov dword [ebp - 0xb4], vtable.fileimage::CFileImageBitAnalyser.0
add eax, edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 0
push 1
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 9
call fcn.0047efe0
test al, al
je 0x43fa61
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
call fcn.0047f1d0
test al, al
je 0x43fa61
mov edi, dword [ebp - 0x94]
lea ebx, [esi + 8]
xor esi, esi
test edi, edi
jle 0x43fa52
nop word [eax + eax]
push 2
lea ecx, [ebp - 0xb4]
call fcn.0047efe0
test al, al
je 0x43fa61
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
lea edx, [ebp - 0xd8]
mov byte [ebp - 4], 0xa
call fcn.00440e80
test al, al
je 0x43fa56
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x90], 0
call fcn.0047f260
test al, al
je 0x43fa56
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0047f260
test al, al
je 0x43fa56
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
push eax
lea ecx, [ebp - 0xb4]
call fcn.0047f260
test al, al
je 0x43fa56
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
lea ecx, [ebp - 0xb4]
call fcn.0047f260
test al, al
je 0x43fa56
push 0x28
call fcn.0066bc56
mov ecx, eax
add esp, 4
mov dword [ebp - 0xa4], ecx
lea edx, [ecx + 0x10]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x43f962
mov eax, dword [edx]
jmp 0x43f964
mov eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x94]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x9c]
add eax, ebx
mov dword [ebp - 0xa4], ecx
mov dword [ecx], eax
mov eax, dword [ebp - 0x98]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xdc]
cmp edx, eax
je 0x43f9a8
push 0xffffffffffffffff
push 0
push eax
mov ecx, edx
call fcn.004024e0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xec]
call fcn.00436370
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xb
push eax
call fcn.0043fc40
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
call fcn.0043fb30
lea ecx, [ebp - 0x74]
call fcn.00402270
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xf
call fcn.00402270
lea eax, [ebp - 0xa4]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x5c]
call fcn.00440b70
add esp, 4
mov ecx, dword [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0x10
lea ecx, [ecx + 0xc]
call fcn.00440850
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x43fa32
mov ecx, dword [ebp - 0x5c]
inc edx
push 1
call fcn.004020c0
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00402270
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 9
call fcn.00403030
inc esi
cmp esi, edi
jl 0x43f840
mov bl, 1
jmp 0x43fa63
lea ecx, [ebp - 0xd8]
call fcn.00403030
xor bl, bl
lea ecx, [ebp - 0xbc]
call fcn.00463560
lea ecx, [ebp - 0x110]
call fcn.00404550
lea ecx, [ebp - 0x128]
call fcn.00404550
lea ecx, [ebp - 0xec]
call fcn.00440e40
lea ecx, [ebp - 0x11c]
call fcn.00404550
jmp 0x43fac7
lea ecx, [ebp - 0xec]
xor bl, bl
call fcn.00440e40
lea ecx, [ebp - 0x11c]
call fcn.00404550
jmp 0x43fac7
lea ecx, [ebp - 0x11c]
xor bl, bl
call fcn.00404550
jmp 0x43fac7
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43fadd
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.004020c0
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jmp 0x43faf3
xor bl, bl
mov ecx, dword [ebp - 0x104]
test ecx, ecx
je 0x43fb0f
mov edx, dword [ebp - 0xfc]
push 1
sub edx, ecx
call fcn.004020c0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066bc45
mov esp, ebp
pop ebp
ret 8