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

Disassembly:
sub esp, 0x6c
lea eax, [ecx + 0xa8]
mov dword [esp + 0xc], ecx
fld dword [0x8b1748]
mov ecx, dword [eax]
push ebx
mov dword [esp + 0x30], ecx
push ebp
mov edx, dword [eax + 4]
push esi
mov dword [esp + 0x3c], edx
push edi
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], edx
call fcn.007a2dec
cdq
fld dword [0x8b1750]
and edx, 3
add eax, edx
sar eax, 2
cdq
and edx, 7
add eax, edx
mov ebx, eax
sar ebx, 3
mov ebp, ebx
call fcn.007a2dec
fld dword [0x8b176c]
fmul dword [0x7e5860]
cdq
fsin
and edx, 3
mov ecx, 4
add eax, edx
sar eax, 2
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
mov dword [esp + 0x30], edi
fstp dword [esp + 0x10]
fld dword [0x8b1778]
fld dword [0x8b1770]
fmul st(1)
fmul dword [esp + 0x10]
fld st(0)
fchs
fst dword [esp + 0x18]
fstp dword [esp + 0x4c]
fld st(1)
fmul dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x54]
fst dword [esp + 0x14]
fst dword [esp + 0x50]
fld st(2)
fstp dword [esp + 0x54]
fld st(1)
fstp dword [esp + 0x58]
fstp dword [esp + 0x5c]
fld st(1)
fstp dword [esp + 0x60]
fstp dword [esp + 0x64]
fld dword [esp + 0x14]
fchs
fst dword [esp + 0x68]
fld st(1)
fstp dword [esp + 0x6c]
fstp dword [esp + 0x74]
fstp dword [esp + 0x78]
fld dword [0x8b17d4]
fmul dword [eax - 8]
fld dword [0x8b17f4]
fmul dword [eax]
add eax, 0xc
dec ecx
faddp st(1)
fld dword [0x8b17e4]
fmul dword [eax - 0x10]
faddp st(1)
fadd dword [0x8b1804]
fld dword [0x8b17d8]
fmul dword [eax - 0x14]
fld dword [0x8b17f8]
fmul dword [eax - 0xc]
faddp st(1)
fld dword [0x8b17e8]
fmul dword [eax - 0x10]
faddp st(1)
fadd dword [0x8b1808]
fstp dword [esp + 0x24]
fld dword [0x8b17fc]
fmul dword [eax - 0xc]
fld dword [0x8b17dc]
fmul dword [eax - 0x14]
mov edx, dword [esp + 0x24]
faddp st(1)
fld dword [0x8b17ec]
fmul dword [eax - 0x10]
mov dword [eax - 0x10], edx
faddp st(1)
fadd dword [0x8b180c]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
fstp dword [eax - 0x14]
mov dword [eax - 0xc], edx
jne 0x658d51
lea eax, [esp + 0x54]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
fld dword [ecx - 8]
call fcn.007a2dec
cdq
and edx, 3
add eax, edx
sar eax, 2
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x10]
mov esi, eax
fld dword [edx]
sar esi, 3
call fcn.007a2dec
cdq
and edx, 3
add eax, edx
sar eax, 2
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp esi, ebp
jge 0x658e35
mov ebp, esi
cmp esi, ebx
jle 0x658e3b
mov ebx, esi
cmp eax, dword [esp + 0x30]
jge 0x658e45
mov dword [esp + 0x30], eax
cmp eax, edi
jle 0x658e4b
mov edi, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 0xc
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x658df2
mov ecx, dword [esp + 0x1c]
or edx, 0xffffffff
or esi, 0xffffffff
mov eax, dword [ecx + 0x98]
sub edx, eax
add ebp, edx
mov edx, 1
sub edx, eax
mov eax, dword [ecx + 0x9c]
add ebx, edx
mov edx, dword [esp + 0x30]
sub esi, eax
add edx, esi
mov esi, 1
sub esi, eax
add edi, esi
test ebp, ebp
jge 0x658e9b
xor ebp, ebp
mov eax, dword [ecx + 0xb8]
cmp ebp, eax
jl 0x658ea8
lea ebp, [eax - 1]
test ebx, ebx
jge 0x658eae
xor ebx, ebx
cmp ebx, eax
jl 0x658eb5
lea ebx, [eax - 1]
test edx, edx
jge 0x658ec5
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0x30]
cmp edx, eax
jl 0x658ed0
lea edx, [eax - 1]
mov dword [esp + 0x30], edx
test edi, edi
jge 0x658ed6
xor edi, edi
cmp edi, eax
jl 0x658edd
lea edi, [eax - 1]
lea esi, [ecx + 0xa8]
mov eax, esi
mov dword [eax], ebp
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
call fcn.00658f20
test al, al
jne 0x658f13
lea ecx, [esp + 0x3c]
push ecx
push esi
call dword [sym.imp.user32.dll_EqualRect]
test eax, eax
je 0x658f13
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x6c
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x6c
ret