Function at 0x413070
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44a248]
add eax, 0xaf65a95
mov dword [ebp - 4], eax
fild dword [ebp - 4]
push edi
push 0
push 0
fadd qword [0x44a460]
mov ecx, dword [0x44a1ec]
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
push 3
push 0
push 0
faddp st(1)
push 0
fistp qword [ebp - 8]
mov edx, dword [ebp - 8]
mov dword [0x44a1ec], edx
fld qword [0x44a460]
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [0x44a460]
fld dword [0x44a1e4]
movzx eax, word [0x44a2c4]
fsubr qword [0x445bf0]
movsx ecx, ax
fsub qword [0x445be8]
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fmulp st(1)
fistp qword [ebp - 8]
mov dx, word [ebp - 8]
mov word [0x44a2c4], dx
mov edx, dword [ebp + 8]
fld dword [0x44a1e4]
push edx
fsub st(1)
fstp dword [0x44a1e4]
fld qword [0x44a450]
fsubr qword [0x445be0]
fistp qword [ebp - 8]
movzx eax, word [ebp - 8]
mov word [0x44a1f0], ax
fsubr qword [0x44a450]
fstp qword [0x44a450]
mov ecx, dword [0x44a0c0]
add ecx, 0x4e293c5c
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fstp qword [0x44a220]
call dword [0x44a798]
mov edi, eax
mov eax, dword [0x44a090]
mov ecx, dword [0x44a0b4]
add eax, 0x8911da79
add ecx, eax
mov dword [0x44a090], ecx
cmp edi, 0xffffffff
jne 0x4131a9
fld qword [0x44a2e8]
fsub qword [0x444cb0]
fstp qword [0x44a2e8]
mov edx, dword [0x44a30c]
sub edx, 0x18b3f80a
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fsub qword [0x44a2e8]
fistp qword [ebp - 8]
mov ax, word [ebp - 8]
mov word [0x44a35c], ax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
fld qword [0x44a320]
push ebx
fsub qword [0x445bd8]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
fstp qword [0x44a320]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x413310
fld dword [0x44a06c]
fadd qword [0x445bd0]
fcomp qword [0x445bc8]
fnstsw ax
fld dword [0x44a06c]
fadd qword [0x444cb0]
fstp dword [0x44a06c]
test ah, 1
jne 0x413216
movzx ecx, word [0x44a0fc]
add ecx, 0x2887080e
mov word [0x44a0fc], cx
push edi
call dword [0x44a794]
mov ebx, 1
add word [0x44a3c0], bx
mov dx, word [0x44a3c0]
movsx eax, dx
cmp eax, 0x3181e08f
jg 0x413307
fld dword [0x44a22c]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [0x44a22c]
fld dword [0x44a0d0]
mov cx, word [0x44a064]
mov ax, word [0x44a0b8]
movsx edx, cx
mov dword [ebp - 4], edx
movsx ecx, ax
fild dword [ebp - 4]
mov edx, 0x7237a5a9
sub edx, ecx
faddp st(1)
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fadd dword [0x44a22c]
add word [0x44a0b8], bx
add word [0x44a064], bx
fcompp
fnstsw ax
test ah, 0x41
jne 0x4132d6
fld qword [0x44a428]
pop ebx
fstp st(0)
or eax, 0xffffffff
fld qword [0x44a3f8]
pop edi
fstp st(0)
fld qword [0x44a408]
fstp st(0)
fld qword [0x44a3f8]
fadd st(1)
fstp qword [0x44a3f8]
fsubr qword [0x44a408]
fstp qword [0x44a408]
mov esp, ebp
pop ebp
ret
fld qword [0x44a290]
mov eax, dword [0x44a048]
fsubr qword [0x445bc0]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
faddp st(1)
fistp qword [ebp - 8]
mov ecx, dword [ebp - 8]
mov dword [0x44a048], ecx
fadd qword [0x44a290]
fstp qword [0x44a290]
pop ebx
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
fld qword [0x44a198]
mov ebx, 1
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [0x44a198]
add dword [0x44a0f0], ebx
fld qword [0x44a198]
mov dx, word [0x44a29c]
mov ecx, dword [0x44a0f0]
movsx eax, dx
lea edx, [ecx + eax + 0x60589a0f]
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x413377
fld qword [0x44a388]
fsub qword [0x445bb8]
fsub qword [0x445bb0]
fadd qword [0x44a1a8]
fstp qword [0x44a1a8]
mov ax, word [0x44a00c]
add dword [ebp - 0x10], 0x2ac18000
movsx ecx, ax
adc dword [ebp - 0xc], 0xfe624e21
mov dword [ebp - 4], ecx
push esi
push 0
fild dword [ebp - 4]
push 0x989680
fld dword [0x44a1fc]
fadd dword [0x44a22c]
fsubp st(1)
fistp qword [ebp - 8]
movzx edx, word [ebp - 8]
mov word [0x44a00c], dx
fld dword [0x44a22c]
fsub st(1)
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
fstp dword [0x44a22c]
call fcn.00440cd0
mov dword [ebp - 0xc], edx
movzx edx, word [0x44a2d4]
mov dword [ebp - 0x10], eax
movsx eax, dx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
push 0
fild dword [ebp - 4]
push edi
fld dword [0x44a3b4]
mov ecx, dword [0x44a2c0]
fadd qword [0x445ba8]
mov dword [ebp - 4], ecx
fiadd dword [ebp - 4]
fsubp st(1)
fistp qword [ebp - 8]
movzx edx, word [ebp - 8]
mov word [0x44a2d4], dx
add dword [0x44a2c0], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
fadd dword [0x44a1e4]
fstp dword [0x44a1e4]
fld dword [0x44a1e4]
mov edx, dword [0x44a1f8]
fadd qword [0x445ba0]
mov dword [ebp - 4], edx
fadd qword [0x445b98]
fild dword [ebp - 4]
faddp st(1)
fistp qword [ebp - 8]
mov eax, dword [ebp - 8]
mov dword [0x44a1f8], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
mov cx, word [0x44a0b8]
dec word [0x44a0b8]
movsx edx, cx
add edx, 0x27a6488c
cmp edx, 0x63101ea2
jl 0x413494
fld dword [0x445b90]
fstp dword [0x44a3b4]
push edi
call dword [0x44a794]
fld qword [0x44a208]
mov ax, word [0x44a1b4]
movsx ecx, ax
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fsubp st(1)
fstp qword [0x44a208]
cmp dword [esi + 0x14], 0xffffffff
pop esi
jne 0x413559
add dword [0x44a0d4], ebx
add dword [0x44a03c], ebx
mov edx, dword [0x44a148]
mov eax, dword [0x44a0d4]
mov ecx, dword [0x44a03c]
sub eax, edx
mov dx, word [0x44a07c]
add eax, ecx
movsx ecx, dx
add ecx, 0x6ab04175
cmp ecx, eax
jne 0x413550
fld qword [0x44a0a0]
fadd qword [0x444cb0]
fstp qword [0x44a0a0]
fld qword [0x44a0a0]
fadd qword [0x445b88]
fld qword [0x44a3f8]
mov edx, dword [0x44a30c]
fadd qword [0x445b80]
add dword [0x44a30c], ebx
mov dword [ebp - 4], edx
fild dword [ebp - 4]
faddp st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x413550
mov eax, dword [0x44a214]
mov ecx, dword [0x44a03c]
add dword [0x44a214], ebx
pop ebx
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [0x44a474]
add edx, 0x24071a1
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fld dword [0x44a1e8]
fcompp
fnstsw ax
fld dword [0x44a1e8]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [0x44a1e8]
test ah, 1
jne 0x4135dd
fsubr dword [0x44a0e0]
fstp dword [0x44a0e0]
add word [0x44a0f8], bx
fld dword [0x44a0e0]
mov ax, word [0x44a0f8]
movsx ecx, ax
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fsubp st(1)
fsub qword [0x445b78]
fcomp qword [0x445b70]
fnstsw ax
test ah, 5
jp 0x4135df
mov edx, 0x4011
pop ebx
mov word [0x44a2c4], dx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
fstp st(0)
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret