Function at 0x488e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x5b107c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.004239f0
lea ecx, [edi + 0x504]
call fcn.004035d0
test eax, eax
jne 0x488f35
mov ecx, dword [edi + 0x1dc]
imul ecx, dword [edi + 0x1d8]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov ebx, edx
mov edx, dword [edi + 0x514]
sub edx, dword [edi + 0x50c]
mov eax, dword [edi + 0x518]
mov dword [esp + 0x10], edx
sub eax, dword [edi + 0x510]
fild dword [esp + 0x10]
shl ebx, 0x18
mov dword [esp + 0x10], eax
or ebx, dword [edi + 0x1d4]
cmp dword [edi + 0x508], 0
fdiv dword [edi + 0x51c]
fstp dword [esp + 0x14]
fild dword [esp + 0x10]
fdiv dword [edi + 0x520]
fstp dword [esp + 0x18]
je 0x488f35
mov eax, dword [0x65fadc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push eax
call edx
fldz
mov edx, dword [eax]
mov edx, dword [edx + 0x3c]
push 0x1000
push 0
push ebx
lea ecx, [edi + 0x50c]
push ecx
lea ecx, [edi + 0x1e0]
push ecx
push ecx
fstp dword [esp]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [edi + 0x508]
push ecx
push eax
call edx
cmp word [edi + 0x502], 0
je 0x488fe7
mov ecx, dword [edi + 0x1dc]
imul ecx, dword [edi + 0x1d8]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov esi, edx
mov edx, dword [edi + 0x560]
sub edx, dword [edi + 0x558]
lea ebx, [edi + 0x558]
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x564]
fild dword [esp + 0x10]
sub eax, dword [edi + 0x55c]
shl esi, 0x18
mov dword [esp + 0x10], eax
fdiv dword [edi + 0x568]
or esi, dword [edi + 0x1d4]
cmp dword [edi + 0x554], 0
fstp dword [esp + 0x1c]
fild dword [esp + 0x10]
fdiv dword [edi + 0x56c]
fstp dword [esp + 0x20]
je 0x488fe7
mov eax, dword [0x65fadc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push eax
call edx
fldz
mov ecx, dword [eax]
push 0x1000
push 0
push esi
push ebx
lea edx, [edi + 0x1e0]
push edx
push ecx
fstp dword [esp]
lea edx, [esp + 0x34]
push edx
mov edx, dword [edi + 0x554]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov al, byte [edi + 0x4fe]
mov ebx, 1
test al, al
je 0x48910d
cmp al, 0xc
jb 0x489014
mov eax, dword [0x67f18c]
test eax, eax
jne 0x48900c
mov eax, 0x6815d0
push eax
push 0x5865b0
jmp 0x48901d
movzx ecx, al
push ecx
push 0x588fbc
push 0x69da98
call dword [sym.imp.USER32.dll_wsprintfA]
fld dword [edi + 0x1e0]
add esp, 0xc
call fcn.00577600
fld dword [edi + 0x1e4]
add eax, ebx
mov dword [esp + 0x24], eax
call fcn.00577600
add eax, 0x1c
mov dword [esp + 0x28], eax
mov eax, 0x69da98
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x489060
sub eax, edx
mov edx, dword [edi + 0x524]
push edx
push eax
push 0x69da98
lea esi, [esp + 0x30]
xor eax, eax
call fcn.00422dc0
call fcn.00401050
mov edx, dword [edi]
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
push eax
lea ecx, [esi + 0x668]
mov eax, ebx
call fcn.005394a0
fstp dword [esp + 0x10]
fldz
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x489109
fld1
movzx ecx, word [edi + 0x20a]
fstp dword [esp + 0x14]
mov dword [esp + 0x10], ecx
push 0xff000000
lea edx, [esp + 0x20]
fst dword [esp + 0x1c]
push edx
fld dword [edi + 0x1e0]
push ecx
fstp dword [esp + 0x28]
lea esi, [edi + 0x528]
fld1
lea eax, [esp + 0x20]
fsubrp st(1)
fild dword [esp + 0x1c]
fmulp st(1)
fadd dword [edi + 0x1e4]
fstp dword [esp + 0x2c]
fstp dword [esp]
call fcn.00425d60
jmp 0x48910d
fstp st(0)
fstp st(0)
cmp dword [edi + 0x28], 0
je 0x48916b
mov eax, dword [edi]
mov edx, dword [eax + 0xa8]
mov ecx, edi
call edx
sub al, bl
cmp al, 0xa
ja 0x48916b
fld dword [edi + 0x1e4]
mov ebx, dword [edi + 0x2a4]
fadd qword [0x5991f8]
call fcn.00577600
fld dword [edi + 0x1e0]
fsub qword [0x598d58]
push eax
call fcn.00577600
push eax
mov eax, dword [ebx + 0x24]
lea ecx, [edi + 0x2a4]
call eax
mov edx, dword [edi + 0x2a4]
mov eax, dword [edx + 0x14]
lea ecx, [edi + 0x2a4]
call eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005762ee
mov esp, ebp
pop ebp
ret