Function at 0x404770
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x44c090]
fld1
mov ecx, dword [0x44c470]
sub esp, 0x20
push ebx
push esi
mov esi, 1
add dword [0x44c470], esi
add eax, 0x4360ccb
or ebx, 0xffffffff
cmp eax, ecx
push edi
jle 0x40480f
fld dword [0x44c260]
mov dx, word [0x44c008]
movsx eax, dx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fsubp st(1)
fld dword [0x44c454]
fsubr qword [0x445ea8]
fucompp
fnstsw ax
fld dword [0x44c454]
fsub st(1)
fstp dword [0x44c454]
add word [0x44c008], bx
fld dword [0x44c260]
fadd st(1)
fstp dword [0x44c260]
test ah, 0x44
jnp 0x40480f
fld dword [0x44c14c]
mov ecx, dword [0x44c580]
fstp st(0)
fld dword [0x44c14c]
fadd st(1)
fstp dword [0x44c14c]
add dword [0x44c580], ebx
fld qword [0x44c478]
mov ecx, dword [ebp + 8]
fmul qword [0x445ea0]
push 0
push 0
push 3
fstp qword [0x44c478]
mov dx, word [0x44c2e8]
movsx eax, dx
mov dword [ebp - 4], eax
push 0
push 0
fild dword [ebp - 4]
push 0
push ecx
fstp dword [0x44c184]
add word [0x44c2e8], bx
fadd qword [0x44c060]
fstp qword [0x44c060]
fld qword [0x44c060]
fstp dword [0x44c01c]
call dword [0x44c958]
fld qword [0x44c3d8]
mov edx, dword [0x44c27c]
fadd qword [0x445e98]
mov dword [ebp - 4], edx
fild dword [ebp - 4]
mov edi, eax
fmulp st(1)
fistp qword [ebp - 8]
mov eax, dword [ebp - 8]
mov dword [0x44c27c], eax
fld qword [0x44c3d8]
fadd qword [0x445b18]
fstp qword [0x44c3d8]
cmp edi, ebx
jne 0x4048d3
add dword [0x44c590], ebx
mov eax, dword [0x44c590]
movzx ecx, word [0x44c56c]
add eax, 0xc74c6444
imul ecx, eax
pop edi
pop esi
mov eax, ebx
mov word [0x44c56c], cx
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [0x445e90]
lea edx, [ebp - 0x10]
push edx
fstp qword [0x44c5b0]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x4049b2
fld qword [0x44c3d0]
push edi
fsubr qword [0x445e88]
fstp qword [0x44c5e8]
fld qword [0x44c3d0]
fadd qword [0x445b18]
fstp qword [0x44c3d0]
call dword [0x44c954]
fld dword [0x44c454]
fadd qword [0x445e80]
fcomp qword [0x445e78]
fnstsw ax
fld dword [0x44c454]
fld1
fsub st(1), st(0)
fxch st(1)
fstp dword [0x44c454]
test ah, 0x41
jp 0x4049a7
fadd qword [0x44c358]
pop edi
fstp qword [0x44c358]
mov dx, word [0x44c284]
movsx eax, dx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fadd qword [0x44c358]
fadd dword [0x44c1e4]
mov cx, word [0x44c394]
movsx edx, cx
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fmulp st(1)
fistp qword [ebp - 8]
mov ax, word [ebp - 8]
mov word [0x44c394], ax
add word [0x44c284], si
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
fstp st(0)
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x44c558]
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fstp dword [0x44c5cc]
add dword [0x44c558], esi
fld qword [0x44c150]
add dword [ebp - 0x10], 0x2ac18000
fld1
fadd st(1), st(0)
adc dword [ebp - 0xc], 0xfe624e21
fxch st(1)
fstp qword [0x44c150]
mov dx, word [0x44c02c]
mov cx, word [0x44c028]
movsx eax, dx
movsx edx, cx
sub edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fadd qword [0x44c150]
add word [0x44c028], si
fcomp qword [0x445e70]
fnstsw ax
test ah, 0x41
jne 0x404a47
mov ax, word [0x44c4b4]
mov ecx, dword [0x44c118]
cwde
add eax, 0xff4aab51
add ecx, eax
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fstp dword [0x44c308]
add word [0x44c4b4], bx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
push 0
push 0x989680
push edx
push eax
call fcn.00441cb0
fld qword [0x44c058]
mov esi, dword [ebp + 0xc]
fsub st(1)
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
fstp qword [0x44c058]
push 0
fld qword [0x44c058]
push edi
fadd qword [0x44c438]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
fstp qword [0x44c438]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
movzx eax, word [0x44c41c]
movsx ecx, ax
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fld dword [0x44c584]
fadd qword [0x445e68]
fsubp st(1)
fistp qword [ebp - 8]
movzx edx, word [ebp - 8]
mov word [0x44c41c], dx
fadd dword [0x44c584]
fstp dword [0x44c584]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
fld qword [0x44c570]
fsub qword [0x44c518]
movzx eax, word [0x44c344]
movsx ecx, ax
mov dword [ebp - 4], ecx
push edi
fild dword [ebp - 4]
faddp st(1)
fistp qword [ebp - 8]
movzx edx, word [ebp - 8]
mov word [0x44c344], dx
fld qword [0x44c518]
fld1
fadd st(1), st(0)
fxch st(1)
fstp qword [0x44c518]
fsubr qword [0x44c570]
fstp qword [0x44c570]
call dword [0x44c954]
movzx eax, word [0x44c1a0]
add eax, 0x7b7be3d3
mov word [0x44c1a0], ax
cmp dword [esi + 0x14], ebx
jne 0x404b7d
fld qword [0x44c570]
mov ecx, dword [0x44c3bc]
fsubr qword [0x445e60]
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
fmulp st(1)
pop ebx
fistp qword [ebp - 8]
mov edx, dword [ebp - 8]
mov dword [0x44c3bc], edx
fld qword [0x44c570]
fsub qword [0x445b18]
fstp qword [0x44c570]
mov esp, ebp
pop ebp
ret
fld dword [0x44c594]
pop edi
fld dword [0x44c238]
pop esi
fsubr qword [0x445e58]
xor eax, eax
pop ebx
fsubp st(1)
fstp dword [0x44c594]
mov esp, ebp
pop ebp
ret