Function at 0x432130
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov ebx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43245f
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov eax, dword [ebp - 4]
fild qword [eax + 0x28]
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x38]
mov dword [ebp - 0x50], edi
xor eax, eax
mov dword [ebp - 0x4c], eax
fild qword [ebp - 0x50]
fdivp st(1)
call fcn.00403334
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
imul edi, dword [ebp - 0x20]
sub eax, edi
mov dword [ebp - 0x44], eax
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x28]
sbb edx, dword [ecx + 0x2c]
push edx
push eax
call fcn.0042a928
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jle 0x432449
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
fild qword [ebp - 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x54], eax
fild qword [ebp - 0x58]
fdivp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042a8f8
mov edx, dword [ebp - 4]
imul dword [edx + 0x38]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x44], 0
jle 0x432226
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
fild qword [ebp - 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x54], eax
fild qword [ebp - 0x58]
fdivp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042a8f8
mov edx, dword [ebp - 4]
imul dword [edx + 0x38]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, ebx
ja 0x432237
cmp dword [ebp - 0x44], 0
jne 0x432237
xor eax, eax
jmp 0x432239
mov al, 1
mov byte [ebp - 0x3d], al
cmp byte [ebp - 0x3d], 0
je 0x43224f
mov eax, dword [ebp - 8]
call fcn.00402d80
mov dword [ebp - 0xc], eax
jmp 0x432255
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x432432
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jae 0x432402
xor eax, eax
push ebp
push 0x432393
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x28]
call fcn.00431f3c
pop ecx
cmp dword [ebp - 0x34], 0
jne 0x4322a3
cmp dword [ebp - 0x38], 0
ja 0x4322bb
jmp 0x4322a5
jg 0x4322bb
mov ecx, 0x432478
mov dl, 1
mov eax, dword [0x4308f4]
call fcn.0040f260
call fcn.0040426c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00405a14
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40054]
mov eax, dword [eax + 0x40050]
add dword [ebp - 0x30], eax
adc dword [ebp - 0x2c], edx
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov edx, dword [0x466154]
mov eax, dword [ebp - 4]
call fcn.004311a0
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
call fcn.00405a14
push edx
push eax
call fcn.0042a928
mov ebx, eax
push 0
lea eax, [ebp - 0x3c]
push eax
push ebx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x466154]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x432377
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x5c]
call fcn.0040ea48
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
lea eax, [ebp - 0x50]
push eax
push 0
mov ecx, 0x4324a4
mov dl, 1
mov eax, dword [0x4308f4]
call fcn.0040f29c
call fcn.0040426c
mov eax, dword [ebp - 0x3c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
add dword [ebp - 0x20], eax
adc dword [ebp - 0x1c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4323f6
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jb 0x432274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432439
cmp byte [ebp - 0x3d], 0
je 0x432431
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
call fcn.00403054
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00402db0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432466
lea eax, [ebp - 0x5c]
call fcn.004048b8
ret