Function at 0x421b80
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
dec word [0x44b21c]
fld qword [0x44b518]
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [0x44b518]
mov ax, word [0x44b21c]
movsx ecx, ax
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fcomp qword [0x44b518]
fnstsw ax
test ah, 0x41
jp 0x421bf5
fld dword [0x44b278]
mov dx, word [0x44b098]
fsub qword [0x445428]
movsx eax, dx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
faddp st(1)
fistp qword [ebp - 8]
mov cx, word [ebp - 8]
mov word [0x44b098], cx
fld dword [0x44b278]
fsub st(1)
fstp dword [0x44b278]
mov dx, word [0x44b450]
mov cx, word [0x44b1b4]
movsx eax, dx
push esi
mov esi, 1
add word [0x44b1b4], si
add word [0x44b450], si
movsx edx, cx
add eax, 0x5242bb55
cmp eax, edx
push edi
jge 0x421cc3
mov ax, word [0x44b118]
mov edx, dword [0x44b020]
movsx ecx, ax
add ecx, 0x3ed421e2
mov dword [ebp - 4], ecx
add edx, 0x1dcc05f4
fild dword [ebp - 4]
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fsub dword [0x44b2fc]
fcompp
fnstsw ax
fld dword [0x44b2fc]
fsub st(1)
fstp dword [0x44b2fc]
test ah, 5
jp 0x421c9d
mov ax, word [0x44b2b0]
movzx ecx, word [0x44b03c]
movsx edx, cx
movzx ecx, word [0x44b0f0]
cwde
sub eax, edx
movsx edx, cx
add eax, edx
add dword [0x44b42c], eax
dec word [0x44b0f0]
jmp 0x421cc3
fld dword [0x44b064]
fstp st(0)
fld dword [0x44b188]
fstp st(0)
fld qword [0x44b458]
fstp st(0)
fld dword [0x44b188]
fadd st(1)
fstp dword [0x44b188]
fld dword [0x44b4bc]
mov ax, word [0x44b018]
fadd qword [0x445420]
movsx ecx, ax
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fadd qword [0x44b460]
fcompp
fnstsw ax
fld dword [0x44b4bc]
fsub st(1)
fstp dword [0x44b4bc]
test ah, 1
jne 0x421d15
fsubr dword [0x44b3d8]
fstp dword [0x44b3d8]
fld dword [0x44b3d8]
fstp qword [0x44b4d0]
jmp 0x421d17
fstp st(0)
mov edx, dword [0x44b650]
mov eax, dword [ebp + 8]
push 0
push 0
push 3
push 0
mov dword [ebp - 4], edx
fild dword [ebp - 4]
push 0
push 0
push eax
fstp dword [0x44b540]
call dword [0x44b9f8]
fld dword [0x44b3f0]
mov edi, eax
fld1
fsub st(1), st(0)
fxch st(1)
fstp dword [0x44b3f0]
fld dword [0x44b3f0]
mov ecx, dword [0x44b270]
fsub qword [0x445418]
add dword [0x44b270], esi
mov dword [ebp - 4], ecx
fiadd dword [ebp - 4]
fcomp qword [0x445410]
fnstsw ax
test ah, 0x41
jp 0x421da4
fld dword [0x44b4e4]
fsub qword [0x445408]
fmul dword [0x44b68c]
fstp dword [0x44b68c]
fadd dword [0x44b4e4]
fstp dword [0x44b4e4]
jmp 0x421da6
fstp st(0)
cmp edi, 0xffffffff
jne 0x421dc3
mov dx, word [0x44b220]
movsx eax, dx
add dword [0x44b18c], eax
or eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, word [0x44b4ac]
sub eax, 0x6fe613eb
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
mov word [0x44b4ac], ax
push edx
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x421e56
fld qword [0x44b4c0]
mov ecx, dword [0x44b494]
fsubr qword [0x445400]
mov dword [ebp - 4], ecx
push edi
fsub qword [0x4453f8]
fild dword [ebp - 4]
fmulp st(1)
fistp qword [ebp - 8]
mov edx, dword [ebp - 8]
mov dword [0x44b494], edx
fld qword [0x44b4c0]
fsub qword [0x444e50]
fstp qword [0x44b4c0]
call dword [0x44b9f4]
mov eax, dword [0x44b298]
add eax, 0x33ba46d4
mov dword [ebp - 4], eax
fild dword [ebp - 4]
pop edi
or eax, 0xffffffff
pop esi
fmul qword [0x44b128]
fstp qword [0x44b128]
mov esp, ebp
pop ebp
ret
fld qword [0x44b070]
add dword [ebp - 0x10], 0x2ac18000
fsub qword [0x4453f0]
push 0
push 0x989680
adc dword [ebp - 0xc], 0xfe624e21
fstp qword [0x44b070]
mov cx, word [0x44b244]
mov edx, dword [0x44b364]
movsx eax, cx
mov ecx, dword [ebp - 0x10]
imul edx, eax
mov eax, dword [ebp - 0xc]
push eax
mov word [0x44b244], dx
push ecx
call fcn.004409f0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
movzx edx, word [0x44b108]
mov ecx, dword [ebp - 0xc]
imul edx, edx, 0xd977b4b4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov word [0x44b108], dx
push 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [0x44b0f4], 0x61c34e37
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
fld qword [0x44b0d8]
push edi
fsub qword [0x4453e8]
fstp qword [0x44b0d8]
call dword [0x44b9f4]
fld dword [0x4453e0]
fstp dword [0x44b5bc]
cmp dword [esi + 0x14], 0xffffffff
jne 0x421f34
mov dx, word [0x44b380]
mov ecx, dword [0x44b444]
movsx eax, dx
sub eax, ecx
sub eax, 0x2081e57
pop edi
mov word [0x44b380], ax
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
movzx edx, word [0x44b178]
mov eax, 0x33fcb6cc
sub eax, edx
pop edi
mov word [0x44b0e8], ax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret