Function at 0x4085e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
or edi, 0xffffffff
add dword [0x44b404], edi
add word [0x44b1c4], di
mov ax, word [0x44b1c4]
mov ecx, dword [0x44b404]
cwde
add ecx, eax
cmp ecx, 0xc35baa6b
lea esi, [edi + 2]
jl 0x40862b
mov edx, dword [0x44b29c]
sub edx, 0x5fb4e75f
mov dword [0x44b2a0], edx
add dword [0x44b29c], esi
add word [0x44b2dc], di
fld1
mov ax, word [0x44b2dc]
movsx ecx, ax
mov edx, 0x786dcc41
sub edx, ecx
cmp edx, 0x924bd32b
jg 0x408666
fld qword [0x44b468]
fsub qword [0x444e80]
fadd dword [0x44b038]
fstp dword [0x44b038]
jmp 0x40868d
fld qword [0x44b2f8]
fsub qword [0x44b140]
fistp qword [ebp - 8]
mov ax, word [ebp - 8]
mov word [0x44b400], ax
fld qword [0x44b2f8]
fadd st(1)
fstp qword [0x44b2f8]
add dword [0x44b408], edi
mov ecx, dword [0x44b408]
sub ecx, 0xad88b5
mov dword [0x44b1c0], ecx
mov dx, word [0x44b334]
movsx eax, dx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fld qword [0x44b2d0]
mov cx, word [0x44b3f4]
movsx edx, cx
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fsubp st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x4086fc
fld dword [0x44b304]
fsubr qword [0x444e78]
fadd dword [0x44b150]
fstp dword [0x44b298]
fsubr dword [0x44b150]
fstp dword [0x44b150]
jmp 0x4086fe
fstp st(0)
mov eax, dword [ebp + 8]
push 0
push 0
push 3
push 0
push 0
push 0
push eax
call dword [0x44b798]
fld dword [0x44b0f4]
fsub qword [0x444e70]
mov ebx, eax
fsub qword [0x444e68]
fcomp qword [0x444e60]
fnstsw ax
test ah, 0x41
jne 0x408758
mov cx, word [0x44b15c]
mov edx, dword [0x44b100]
movsx eax, cx
lea eax, [edx + eax + 0x77f0c228]
mov dword [0x44b100], eax
add word [0x44b15c], di
cmp ebx, edi
jne 0x408771
fld dword [0x444e58]
mov eax, edi
pop edi
fstp dword [0x44b1e8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x44b054]
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
fmul qword [0x44b2c0]
push eax
lea ecx, [ebp - 0x20]
push ecx
push ebx
fstp qword [0x44b2c0]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x408833
mov edx, dword [0x44b38c]
mov ecx, dword [0x44b448]
add dword [0x44b38c], edi
add dword [0x44b448], edi
mov eax, 0x18dbad79
sub eax, edx
cmp ecx, eax
jg 0x4087f7
fld dword [0x44b304]
fsub qword [0x444dc0]
fstp dword [0x44b304]
fld dword [0x44b304]
fsub qword [0x444e50]
fsub qword [0x444e48]
fadd qword [0x44b028]
fstp qword [0x44b028]
push ebx
call dword [0x44b794]
mov dx, word [0x44b334]
movsx eax, dx
mov dword [ebp - 4], eax
mov eax, edi
pop edi
fild dword [ebp - 4]
pop esi
fld qword [0x44b2f8]
pop ebx
fadd qword [0x444e40]
fsubp st(1)
fistp qword [ebp - 8]
mov cx, word [ebp - 8]
mov word [0x44b334], cx
mov esp, ebp
pop ebp
ret
fld qword [0x44b3b0]
add dword [ebp - 0x10], 0x2ac18000
fsub qword [0x444e38]
push 0
push 0x989680
adc dword [ebp - 0xc], 0xfe624e21
fstp qword [0x44b3b0]
fld dword [0x44b1e0]
movzx edx, word [0x44b3dc]
movsx eax, dx
add eax, 0x4945f428
mov dword [ebp - 4], eax
fisub dword [ebp - 4]
fstp dword [0x44b1e0]
add word [0x44b3dc], si
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
push ecx
push edx
call fcn.004406e0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [0x44b160]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
mov word [0x44b2c8], ax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov ax, word [0x44b138]
movsx ecx, ax
sub ecx, 0x644c95d9
mov dword [ebp - 4], ecx
push 0
push ebx
fild dword [ebp - 4]
fmul qword [0x44b130]
fstp qword [0x44b130]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
movzx edx, word [0x44b0b8]
mov ecx, dword [0x44b19c]
movsx eax, dx
mov edx, dword [0x44b078]
add dword [0x44b19c], edi
add word [0x44b0b8], di
lea eax, [ecx + eax + 0x3c9e1bd0]
cmp eax, edx
jne 0x40895c
fld qword [0x44b450]
mov eax, dword [0x44b19c]
add dword [0x44b19c], edi
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x408973
fld qword [0x44b1b8]
fsub qword [0x444dc0]
fstp qword [0x44b1b8]
fld qword [0x44b1b8]
fadd qword [0x444e30]
fsub qword [0x444e28]
fmul qword [0x44b130]
fstp qword [0x44b130]
jmp 0x408973
mov cx, word [0x44b12c]
movsx edx, cx
mov dword [0x44b160], edx
add word [0x44b12c], di
push ebx
call dword [0x44b794]
mov dword [0x44b270], 0xc0304647
cmp dword [esi + 0x14], edi
jne 0x4089a4
fld dword [str.dW_vN]
mov eax, edi
fmul qword [0x444e20]
pop edi
pop esi
pop ebx
fstp dword [str.dW_vN]
mov esp, ebp
pop ebp
ret
fld qword [0x44b320]
pop edi
fsub qword [0x444e18]
pop esi
xor eax, eax
pop ebx
fstp qword [0x44b320]
mov esp, ebp
pop ebp
ret