Function at 0x432039
Capabilities:
Get file size

Disassembly:
push 0x54
mov eax, 0x45fd4a
call fcn.0045b904
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 4], ebx
fld qword [0x47ece8]
fstp qword [ebp - 0x50]
fld qword [0x47ece0]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fld qword [ebp - 0x48]
fld qword [0x47ecd8]
fdiv st(1), st(0)
fxch st(2)
faddp st(1)
fstp qword [ebp - 0x50]
fld qword [ebp - 0x48]
fmul qword [ebp - 0x50]
fsub qword [0x47ecd0]
fld qword [ebp - 0x48]
fmulp st(2)
fsubrp st(1)
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x48]
fsub qword [0x47ecc8]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [0x47ecc0]
fstp qword [ebp - 0x48]
call fcn.00444fcc
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [eax + 0x48]
mov esi, eax
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x4320ec
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43213a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov byte [ebp - 0x10], bl
cmp edi, ebx
jbe 0x43210e
lea ecx, [ebp - 0x10]
xor eax, eax
push ecx
push eax
mov eax, edi
lea ecx, [ebp - 0x60]
call fcn.0040c7ac
lea eax, [ebp - 0x34]
push eax
push edi
mov edi, dword [ebp - 0x60]
push edi
push esi
mov dword [ebp - 0x34], ebx
call fcn.0044651f
test eax, eax
jne 0x432142
cmp esi, ebx
je 0x43212f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x43213a
push edi
call fcn.00411d78
pop ecx
xor al, al
call fcn.0045b9dc
ret
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x432159
xor eax, eax
lea edi, [ebp - 0x11]
push esi
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x60]
lea eax, [edi + 4]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], edi
cmp eax, dword [ebp - 0x5c]
jae 0x43212f
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
call fcn.004319b7
cmp al, bl
je 0x43212f
cmp dword [ebp - 0x3c], 0x4c
jne 0x43212f
mov eax, dword [ebp - 0x2c]
lea esi, [eax + 0x10]
cmp esi, dword [ebp - 0x5c]
jae 0x43212f
push 0x10
push 0x4633e8
push eax
call fcn.00411ecd
add esp, 0xc
test eax, eax
jne 0x43212f
mov dword [ebp - 0x1c], 0x46
mov dword [ebp - 0x24], 0x37
mov eax, dword [ebp - 0x24]
push 0xfffffffffffffffb
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x1c]
push 0x19
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
imul ecx, eax
mov eax, dword [ebp - 0x1c]
cdq
pop edi
idiv edi
push 0xfffffffffffffff4
pop edi
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
imul eax, eax, 0x12
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
shl eax, 2
sub eax, ecx
add eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
imul eax, eax, 9
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
imul ecx, eax
mov eax, dword [ebp - 0x24]
cdq
idiv edi
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0x24]
sub eax, ecx
mov ecx, dword [ebp - 0x24]
lea eax, [eax + ecx + 7]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], esi
sub eax, ecx
add esi, 4
mov dword [ebp - 0x24], eax
cmp esi, dword [ebp - 0x5c]
jae 0x43226f
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.004319b7
cmp al, bl
jne 0x432280
cmp dword [ebp - 0x60], ebx
je 0x43213a
push dword [ebp - 0x60]
jmp 0x432134
fld qword [0x47ecd0]
fst qword [ebp - 0x20]
fld qword [0x47ede0]
fstp qword [ebp - 0x48]
fld qword [0x47edd8]
fst qword [ebp - 0x28]
fld qword [0x47edd0]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fsub qword [0x47edf0]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x28]
fmul qword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x28]
fld qword [ebp - 0x20]
fmul qword [0x47edc8]
fsubp st(1)
fsub qword [ebp - 0x28]
fsub qword [ebp - 0x20]
fld qword [ebp - 0x28]
fmul qword [0x47edc0]
fsubp st(1)
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x20]
fadd qword [0x47edb8]
fsub qword [ebp - 0x28]
fadd qword [ebp - 0x20]
fsub qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmulp st(2)
fsubrp st(1)
fld qword [ebp - 0x48]
fmul qword [0x47edb0]
faddp st(1)
fadd qword [ebp - 0x20]
fld qword [ebp - 0x48]
fld qword [0x47eda8]
fmul st(1), st(0)
fld qword [ebp - 0x20]
fmulp st(2)
fxch st(2)
faddp st(1)
fstp qword [ebp - 0x48]
fld qword [ebp - 0x28]
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x28]
fld qword [ebp - 0x20]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4323ae
fld qword [ebp - 0x50]
fadd qword [0x47eda0]
fsub qword [ebp - 0x28]
faddp st(1)
fsub qword [ebp - 0x28]
fsub qword [0x47ed98]
fld qword [ebp - 0x48]
fmul qword [ebp - 0x20]
faddp st(1)
fstp qword [ebp - 0x48]
fld qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
test ah, 0x41
jne 0x4323b0
fld qword [ebp - 0x50]
fmul qword [ebp - 0x48]
fsub qword [0x47ed90]
fadd qword [ebp - 0x50]
fld qword [ebp - 0x28]
fmul qword [0x47ed88]
fmul qword [0x47ed80]
fsubp st(1)
fadd qword [ebp - 0x28]
fadd qword [0x47ed78]
fadd qword [ebp - 0x20]
fsub qword [ebp - 0x48]
fadd qword [0x47ed70]
fadd qword [ebp - 0x48]
fld qword [ebp - 0x48]
fmul qword [0x47ed68]
fsubp st(1)
fstp qword [ebp - 0x50]
jmp 0x4323b0
fstp st(0)
mov al, byte [ebp - 0x30]
fld qword [0x47ece8]
and al, 1
fstp qword [ebp - 0x50]
fld qword [0x47ece0]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fld qword [ebp - 0x48]
fld qword [0x47ecd8]
fdiv st(1), st(0)
fxch st(2)
faddp st(1)
fstp qword [ebp - 0x50]
fld qword [ebp - 0x48]
fmul qword [ebp - 0x50]
fsubrp st(2)
fmul qword [ebp - 0x48]
fsubp st(1)
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x48]
fsub qword [0x47ecc8]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [0x47ecc0]
fstp qword [ebp - 0x48]
je 0x43226f
mov eax, dword [ebp - 0x30]
shr eax, 7
test al, 1
je 0x43226f
mov edi, dword [ebp - 0x60]
lea eax, [edi + 0x4c]
mov dword [ebp - 0x2c], eax
add eax, 2
cmp eax, dword [ebp - 0x5c]
jae 0x43212f
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x2c]
call fcn.00431c31
cmp al, bl
je 0x43212f
mov eax, dword [ebp - 0x2c]
add eax, 2
cmp eax, dword [ebp - 0x5c]
jae 0x43212f
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x2c]
call fcn.00431c31
cmp al, bl
je 0x43212f
mov ecx, dword [ebp - 0x40]
cmp cx, bx
je 0x43212f
mov eax, dword [ebp - 0x2c]
movzx esi, cx
add esi, eax
lea edx, [esi - 2]
cmp edx, dword [ebp - 0x5c]
jae 0x43212f
push dword [ebp + 0xc]
add ecx, 0xfffffffe
push eax
call fcn.00431dea
pop ecx
pop ecx
test al, al
jne 0x4324ae
add esi, 0xfffffffe
mov dword [ebp - 0x2c], esi
jmp 0x432452
cmp edi, ebx
je 0x4324b9
push edi
call fcn.00411d78
pop ecx
mov al, 1
jmp 0x43213c