Function at 0x43e960
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a2ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eed38]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
xor ebp, ebp
mov dword [edi], ebp
mov dword [ebx], ebp
mov dword [eax], ebp
mov dword [ecx], ebp
cmp esi, ebp
je 0x43ebcb
lea ecx, [esp + 0x24]
call fcn.0045bc62
push ebp
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ebp
call fcn.0045bcfa
test eax, eax
je 0x43ebba
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
push esi
mov dword [esp + 0x68], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43ebba
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx], eax
cmp eax, ebp
je 0x43ebb3
cmp eax, 0xffffffff
je 0x43ebb3
push eax
call fcn.00451e0a
add esp, 4
push ebp
lea edx, [esp + 0x24]
push edx
mov dword [edi], eax
mov ecx, dword [ebx]
push ecx
push eax
push esi
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [edi]
mov dword [esp + 0x18], 0x5555aaaa
mov dword [esp + 0x1c], 0xaaaa5555
jmp 0x43ea50
mov edi, dword [ebx]
push 0
push 0
lea edx, [esp + 0x23]
push edx
lea eax, [esp + 0x24]
push eax
lea esi, [edi + ebp]
push esi
push ebp
call fcn.0043e7f0
add esp, 0x18
cmp eax, esi
jae 0x43eada
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
push 0
push 0
lea ebx, [edx + edi]
lea ecx, [esp + 0x27]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push eax
mov esi, eax
call fcn.0043e7f0
add esp, 0x18
cmp eax, ebx
jae 0x43ead6
mov ecx, eax
sub ecx, esi
cmp ecx, 8
jb 0x43eaab
mov edx, 2
cmp dword [esi + 4], edx
je 0x43eae8
add ecx, 0xfffffffc
cmp ecx, 0x2c
je 0x43eb56
cmp ecx, 0x84
jbe 0x43eb81
mov edx, dword [esp + 0x54]
sub edi, eax
lea ecx, [edi + ebp - 4]
mov dword [edx], ecx
lea ebp, [eax + 4]
mov ebx, edx
jmp 0x43eada
mov ebx, dword [esp + 0x54]
mov ecx, dword [ebx]
add ecx, ebp
cmp eax, ecx
jb 0x43ea50
jmp 0x43eb26
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x32c], edx
mov dword [ecx + 0x334], 0
mov ecx, dword [esp + 0x50]
mov edx, esi
sub edx, dword [ecx]
mov ecx, dword [esp + 0x58]
add edx, 4
sub eax, esi
add eax, 0xfffffffc
mov dword [ecx], edx
mov edx, dword [esp + 0x5c]
cmp eax, 0xc
mov dword [edx], eax
sbb eax, eax
inc eax
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x43eb3f
mov esi, dword [esp + 0x50]
mov eax, dword [esi]
test eax, eax
je 0x43eb3f
push eax
call fcn.00451dff
add esp, 4
mov dword [esi], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], 0xffffffff
call fcn.0045bc8b
mov eax, dword [esp + 0x4c]
jmp 0x43ebcd
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax + 0x32c], ecx
mov dword [eax + 0x334], ecx
mov eax, dword [esp + 0x50]
sub esi, dword [eax]
mov ecx, dword [esp + 0x58]
add esi, 4
mov dword [esp + 0x4c], 1
mov dword [ecx], esi
jmp 0x43eb3f
mov ecx, dword [esp + 0x14]
sub eax, esi
mov edx, 1
sub eax, 0x38
mov dword [ecx + 0x32c], edx
shr eax, 2
mov dword [ecx + 0x334], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x50]
sub esi, dword [edx]
add esi, 4
mov dword [eax], esi
jmp 0x43eb3f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], 0xffffffff
call fcn.0045bc8b
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x14