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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x459076
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x47d084]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x47d084]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x43e0ce
mov ecx, dword [ebx]
test ecx, ecx
je 0x43e0df
cmp eax, 8
jb 0x43e0db
mov eax, dword [ebx]
jmp 0x43e0e4
mov eax, ebx
jmp 0x43e0e4
mov eax, dword [0x47e8a8]
push eax
lea eax, [esp + 0x58]
call fcn.0040529b
and dword [esp + 0x4a0], 0
lea eax, [esp + 0x54]
push eax
mov edx, 0xfde9
lea ecx, [esp + 0x74]
call fcn.0044d9e8
pop ecx
mov byte [esp + 0x4a0], 1
cmp dword [eax + 0x14], 0x10
jb 0x43e11a
mov eax, dword [eax]
push eax
push dword [0x47e228]
push dword [0x47e224]
push 0
call fcn.0043f1ab
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0x74]
call fcn.00404e30
or dword [esp + 0x4a0], 0xffffffff
push 1
lea esi, [esp + 0x58]
call fcn.00405174
mov eax, dword [0x47e8b0]
push eax
mov esi, eax
call fcn.00412743
pop ecx
push esi
push 6
mov edi, eax
pop eax
mov ecx, ebx
call fcn.004056fd
test eax, eax
jne 0x43e1c6
push 0xffffffffffffffff
push 6
push ebx
lea esi, [esp + 0x44]
call fcn.004087db
mov dword [esp + 0x4a0], 2
cmp dword [esp + 0x48], 0
je 0x43e1b0
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x43e19d
mov eax, esi
mov ecx, dword [esp + 0x2c]
push eax
call fcn.0043c7ed
pop ecx
test al, al
je 0x43e1b0
mov bl, 1
jmp 0x43e1b2
xor bl, bl
push 1
xor edi, edi
lea esi, [esp + 0x3c]
call fcn.00405174
mov al, bl
jmp 0x43e373
cmp dword [ebx + 0x14], 8
jb 0x43e1d0
mov edi, dword [ebx]
jmp 0x43e1d2
mov edi, ebx
call fcn.0043fb02
xor esi, esi
push esi
push 0x80
push 3
pop ebx
push ebx
push esi
push 1
push SysReAllocString
push edi
call dword [eax + 0x44]
mov edi, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x4a0], ebx
cmp edi, 0xffffffff
jne 0x43e237
call fcn.0043fb02
call dword [eax + 0x3c]
push eax
push dword [0x47e230]
push dword [0x47e22c]
push 1
call fcn.0043f1ab
or dword [esp + 0x4b0], edi
add esp, 0x10
call fcn.0043fb02
push edi
call dword [eax + 0x34]
xor al, al
jmp 0x43e373
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], esi
push esi
jmp 0x43e290
cmp dword [esp + 0x10], 0
jbe 0x43e2a9
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x30]
call fcn.00404270
push 0x54
pop eax
mov dword [esp + 0x14], eax
add dword [esp + 0x14], 0x13
add esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
add dword [esp + 0x14], 0x13
and dword [esp + 0x10], 0
mov edi, dword [esp + 0x28]
push 0
lea eax, [esp + 0x14]
push eax
push 0x400
lea eax, [esp + 0x98]
push eax
push edi
call ebx
test eax, eax
jne 0x43e250
cmp esi, dword [esp + 0x1c]
je 0x43e35c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [0x47e234]
push dword [0x47e22c]
push 1
call fcn.0043f1ab
fld qword [0x4779a8]
fstp qword [esp + 0x2c]
add esp, 0x10
fld qword [0x4779a0]
fstp qword [esp + 0x2c]
fld qword [0x4779d0]
fstp qword [esp + 0x1c]
fld qword [0x477998]
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fmul qword [esp + 0x1c]
fld qword [esp + 0x1c]
fsub qword [0x4779c8]
faddp st(1)
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fsubp st(1)
fsub qword [0x477990]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jp 0x43e33b
fld qword [esp + 0x1c]
fmul qword [esp + 0x2c]
fstp qword [esp + 0x14]
or dword [esp + 0x4a0], 0xffffffff
cmp dword [esp + 0x28], 0
je 0x43e230
call fcn.0043fb02
push dword [esp + 0x28]
jmp 0x43e22d
or dword [esp + 0x4a0], 0xffffffff
test edi, edi
je 0x43e371
call fcn.0043fb02
push edi
call dword [eax + 0x34]
mov al, 1
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.00410ea3
mov esp, ebp
pop ebp
ret