Function at 0x4431bc
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x460e26
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x484084]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov eax, dword [0x484084]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x44320f
mov ecx, dword [ebx]
test ecx, ecx
je 0x443220
cmp eax, 8
jb 0x44321c
mov eax, dword [ebx]
jmp 0x443225
mov eax, ebx
jmp 0x443225
mov eax, dword [0x4858b8]
push eax
lea eax, [esp + 0x50]
call fcn.00405836
and dword [esp + 0x498], 0
push 0xfde9
lea edx, [esp + 0x50]
lea ecx, [esp + 0x6c]
call fcn.00454e9c
pop ecx
mov byte [esp + 0x498], 1
cmp dword [eax + 0x14], 0x10
jb 0x44325a
mov eax, dword [eax]
push eax
push dword [0x485228]
push dword [0x485224]
push 0
call fcn.0044467b
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0x6c]
call fcn.004053cb
or dword [esp + 0x498], 0xffffffff
push 1
lea esi, [esp + 0x50]
call fcn.0040570f
mov eax, dword [0x4858c0]
push eax
mov esi, eax
call fcn.00413623
pop ecx
push esi
push 6
mov edi, eax
pop eax
mov ecx, ebx
call fcn.00405ca5
test eax, eax
jne 0x443306
push 0xffffffffffffffff
push 6
push ebx
lea esi, [esp + 0x3c]
call fcn.0040941a
mov dword [esp + 0x498], 2
cmp dword [esp + 0x40], 0
je 0x4432f0
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x4432dd
mov eax, esi
mov ecx, dword [esp + 0x24]
push eax
call fcn.00441100
pop ecx
test al, al
je 0x4432f0
mov bl, 1
jmp 0x4432f2
xor bl, bl
push 1
xor edi, edi
lea esi, [esp + 0x34]
call fcn.0040570f
mov al, bl
jmp 0x4434cd
cmp dword [ebx + 0x14], 8
jb 0x443310
mov edi, dword [ebx]
jmp 0x443312
mov edi, ebx
call fcn.00444fcc
xor ebx, ebx
push ebx
push 0x80
push 3
pop esi
push esi
push ebx
push 1
push SysReAllocString
push edi
call dword [eax + 0x48]
mov edi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x498], esi
cmp edi, 0xffffffff
jne 0x44336e
call fcn.00444fcc
call dword [eax + 0x40]
push eax
push dword [0x485230]
push dword [0x48522c]
push 1
call fcn.0044467b
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4434cd
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
mov esi, 0x400
jmp 0x443473
cmp dword [esp + 0x20], 0
jbe 0x44348f
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x28]
call fcn.00404721
fld qword [0x47ed08]
add ebx, dword [esp + 0x20]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [0x47ed00]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [0x47ed50]
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
fsub qword [0x47ece8]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [0x47ed70]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [esp + 0x14]
fld qword [esp + 0x14]
fdiv qword [0x47ecf8]
faddp st(1)
fld qword [esp + 0x14]
fmul qword [0x47ed38]
faddp st(1)
fadd qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x47ede8]
faddp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [0x47ed68]
fadd qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x47ecf0]
fsubp st(1)
fsub qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
faddp st(1)
fsub qword [esp + 0x14]
fld qword [esp + 0x14]
and dword [esp + 0x20], 0
fmul qword [0x47ed78]
mov edi, dword [esp + 0x2c]
faddp st(1)
fstp qword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push esi
lea eax, [esp + 0x8c]
push eax
push edi
call fcn.0044651f
test eax, eax
jne 0x443388
cmp ebx, dword [esp + 0x28]
je 0x4434c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [0x485234]
push dword [0x48522c]
push 1
call fcn.0044467b
add esp, 0x10
test edi, edi
je 0x443367
push edi
jmp 0x443361
test edi, edi
je 0x4434cb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.00411d83
mov esp, ebp
pop ebp
ret