Function at 0x43bba3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x455227
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x479084]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push esi
push edi
mov eax, dword [0x479084]
xor eax, esp
push eax
lea eax, [esp + 0x4b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x43bbf6
mov ecx, dword [ebx]
test ecx, ecx
je 0x43bc07
cmp eax, 8
jb 0x43bc03
mov eax, dword [ebx]
jmp 0x43bc0c
mov eax, ebx
jmp 0x43bc0c
mov eax, dword [0x47a8d0]
push eax
lea eax, [esp + 0x70]
call fcn.00405659
and dword [esp + 0x4b8], 0
lea eax, [esp + 0x6c]
push eax
mov ecx, 0xfde9
lea edx, [esp + 0x8c]
call fcn.0044abe1
pop ecx
mov byte [esp + 0x4b8], 1
cmp dword [eax + 0x14], 0x10
jb 0x43bc45
mov eax, dword [eax]
push eax
push dword [0x47a228]
push dword [0x47a224]
push 0
call fcn.0043d066
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0x8c]
call fcn.004051ee
or dword [esp + 0x4b8], 0xffffffff
push 1
lea esi, [esp + 0x70]
call fcn.00405532
fld qword [0x4739c0]
fstp qword [esp + 0x2c]
fld qword [0x473a48]
fstp qword [esp + 0x2c]
fld qword [0x473928]
fstp qword [esp + 0x2c]
fld qword [0x4739b8]
fstp qword [esp + 0x1c]
fld qword [0x4739b0]
fstp qword [esp + 0x3c]
fld qword [0x473a50]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x1c]
fmul qword [esp + 0x3c]
fsub qword [0x4739a8]
fsub qword [esp + 0x14]
mov eax, dword [0x47a8d8]
push eax
mov esi, eax
fstp qword [esp + 0x20]
call fcn.00412bef
pop ecx
push esi
push 6
mov edi, eax
pop eax
mov ecx, ebx
call fcn.00405bbc
test eax, eax
jne 0x43be50
push 0xffffffffffffffff
push 6
push ebx
lea esi, [esp + 0x5c]
call fcn.00408ec9
mov dword [esp + 0x4b8], 2
fld qword [0x473a58]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x473a00]
fsubp st(1)
fadd qword [0x473960]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x4739f8]
fld qword [esp + 0x14]
fadd qword [0x4739f0]
faddp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [0x473980]
fadd qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x4739e8]
faddp st(1)
fsub qword [0x4739e0]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [0x4739d8]
faddp st(1)
fld qword [esp + 0x14]
fmul qword [0x4739d0]
fmul qword [esp + 0x14]
fsubp st(1)
fadd qword [0x473a68]
fsub qword [esp + 0x14]
fsub qword [0x4739c8]
fadd qword [esp + 0x14]
fsub qword [esp + 0x14]
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fdiv qword [0x473a60]
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [esp + 0x14]
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
cmp dword [esp + 0x60], 0
fsub qword [0x473a50]
fstp qword [esp + 0x14]
je 0x43be3a
cmp dword [esp + 0x64], 8
mov eax, dword [esp + 0x50]
jae 0x43be27
mov eax, esi
mov ecx, dword [esp + 0x38]
push eax
call fcn.0043a42e
pop ecx
test al, al
je 0x43be3a
mov bl, 1
jmp 0x43be3c
xor bl, bl
push 1
xor edi, edi
lea esi, [esp + 0x54]
call fcn.00405532
mov al, bl
jmp 0x43c063
cmp dword [ebx + 0x14], 8
jb 0x43be58
mov ebx, dword [ebx]
call fcn.0043d8a6
xor edi, edi
push edi
push 0x80
push 3
pop esi
push esi
push edi
push 1
push SysReAllocString
push ebx
call dword [eax + 0x4c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x4b8], esi
mov dword [esp + 0x1c], 0x3f
add dword [esp + 0x1c], 0xfffffffa
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
imul eax, ecx
mov ecx, dword [esp + 0x1c]
imul ecx, ecx, 0xffffffac
sub ecx, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
imul eax, edx
mov edx, dword [esp + 0x1c]
imul eax, edx
imul eax, eax, 0x3d
add ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
sub ecx, 0xb9
mov dword [esp + 0x1c], ecx
add dword [esp + 0x1c], 0x55
mov eax, dword [esp + 0x1c]
push 0x52
pop ecx
sub ecx, eax
add ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x28
mov dword [esp + 0x1c], eax
add dword [esp + 0x1c], 0x49
cmp dword [esp + 0x24], 0xffffffff
jne 0x43bf2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [0x47a230]
push dword [0x47a22c]
push 1
call fcn.0043d066
or dword [esp + 0x4c8], 0xffffffff
add esp, 0x10
call fcn.0043d8a6
push 0xffffffffffffffff
call dword [eax + 0x40]
xor al, al
jmp 0x43c063
push dword [esp + 0x24]
call fcn.0043ee3e
fld qword [0x4739c0]
mov dword [esp + 0x28], edi
fstp qword [esp + 0x2c]
fld qword [0x473a48]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
fstp qword [esp + 0x2c]
push edi
fld qword [0x473928]
mov dword [esp + 0x18], eax
fstp qword [esp + 0x30]
lea eax, [esp + 0x2c]
fld qword [0x4739b8]
push eax
fstp qword [esp + 0x44]
mov ebx, 0x400
fld qword [0x4739b0]
push ebx
fstp qword [esp + 0x38]
lea eax, [esp + 0xb0]
fld qword [0x473a50]
push eax
fstp qword [esp + 0x54]
mov dword [esp + 0x2c], edi
fld qword [esp + 0x54]
fmul qword [esp + 0x4c]
fmul qword [esp + 0x3c]
fsub qword [0x4739a8]
fsub qword [esp + 0x54]
push dword [esp + 0x34]
fstp qword [esp + 0x50]
call esi
test eax, eax
je 0x43c000
mov edi, dword [esp + 0x28]
test edi, edi
je 0x43bffe
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esp + 0x3c]
call fcn.004045f6
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], eax
and dword [esp + 0x28], 0
push 0
lea eax, [esp + 0x2c]
push eax
push ebx
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x34]
call esi
test eax, eax
jne 0x43bfbe
xor edi, edi
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x1c], eax
je 0x43c047
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [0x47a234]
push dword [0x47a22c]
push 1
call fcn.0043d066
or dword [esp + 0x4c8], 0xffffffff
add esp, 0x10
cmp dword [esp + 0x24], edi
je 0x43bf28
call fcn.0043d8a6
push dword [esp + 0x24]
jmp 0x43bf25
or dword [esp + 0x4b8], 0xffffffff
cmp dword [esp + 0x24], edi
je 0x43c061
call fcn.0043d8a6
push dword [esp + 0x24]
call dword [eax + 0x40]
mov al, 1
mov ecx, dword [esp + 0x4b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.0041134f
mov esp, ebp
pop ebp
ret