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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x1005c040]
xor eax, esp
mov dword [esp + 0xb8], eax
movss xmm0, dword [0x11e198dc]
push ebx
push esi
push edi
mov edi, ecx
movss dword [0x11da6424], xmm0
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov dword [esp + 0x1c], ecx
mov ebx, dword [eax]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
test ebx, ebx
je 0x10030292
lea eax, [esp + 0x70]
fld dword [0x100582b4]
mov dword [esp + 0x28], eax
mov esi, 0x20374c20
lea eax, [esp + 0x74]
movss xmm3, dword [0x100582cc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x7c]
movss xmm2, dword [0x100582f0]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x14]
dec ebx
mov eax, dword [eax]
mov dword [eax + 0x18], 0
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov dword [eax + 0x1c], 0x43c80000
mov eax, dword [edi + 0x18]
mov eax, dword [eax]
fld dword [eax]
fstp dword [esp + 0xc]
movss xmm1, dword [esp + 0xc]
fld dword [eax + 4]
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fpatan
fstp dword [esp + 0xc]
movss xmm1, dword [esp + 0xc]
mulss xmm1, xmm3
comiss xmm2, xmm1
ja 0x1002fde6
movaps xmm1, xmm2
movss xmm0, dword [0x11da6424]
sub esp, 8
mov eax, dword [edi + 0x1c]
subss xmm0, xmm1
mov dword [esp + 4], 0x43b40000
subss xmm0, dword [eax]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
movss xmm1, dword [0x10058118]
add esp, 8
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
movss dword [0x11da6424], xmm0
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fsincos
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [0x11da6420]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fsincos
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [0x11da6428]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fsincos
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
fstp dword [edx]
fstp dword [eax]
movss xmm6, dword [esp + 0x44]
movss xmm5, dword [esp + 0x40]
movaps xmm1, xmm6
mulss xmm1, xmm6
movaps xmm0, xmm5
mov eax, dword [edi + 0x14]
mulss xmm0, xmm5
movss xmm7, dword [esp + 0x48]
movss xmm2, dword [esp + 0x4c]
addss xmm1, xmm0
mov ecx, dword [eax]
movss xmm4, dword [ecx + 0x1c]
addss xmm1, dword [0x100580f8]
movaps xmm3, xmm4
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10058250]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm7
mulss xmm6, xmm0
mulss xmm5, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
mulss xmm1, xmm7
movss dword [esp + 0x40], xmm5
movss dword [esp + 0x44], xmm6
addss xmm1, xmm0
addss xmm1, dword [0x100580f8]
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10058250]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss xmm1, dword [ecx + 0x18]
mulss xmm7, xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm5
mulss xmm1, xmm6
mulss xmm3, xmm7
mulss xmm4, xmm2
addss xmm3, xmm0
movss dword [esp + 0x48], xmm7
movss xmm0, dword [ecx + 0x10]
addss xmm4, xmm1
movss dword [esp + 0x4c], xmm2
movss xmm1, dword [0x10058118]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fsincos
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [ecx + 0xc]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fsincos
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [ecx + 0x14]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fsincos
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
fstp dword [edx]
fstp dword [eax]
movss xmm7, dword [esp + 0x10]
movss xmm6, dword [esp + 0x24]
movaps xmm1, xmm7
mulss xmm1, xmm7
movaps xmm0, xmm6
push 0x24394eec
mulss xmm0, xmm6
movss xmm2, dword [0x100581e8]
addss xmm1, xmm0
addss xmm1, dword [0x100580f8]
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10058250]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm1, xmm7
movss xmm7, dword [esp + 0x70]
mulss xmm0, xmm6
movss xmm6, dword [esp + 0x6c]
movss dword [esp + 0x14], xmm1
movaps xmm1, xmm7
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm6
mulss xmm1, xmm7
mulss xmm0, xmm6
addss xmm1, xmm0
addss xmm1, dword [0x100580f8]
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10058250]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm5, xmm1
mulss xmm1, xmm7
mulss xmm5, xmm6
movaps xmm6, xmm1
mulss xmm1, dword [esp + 0x28]
movaps xmm0, xmm5
movss dword [esp + 0x6c], xmm5
mulss xmm0, dword [esp + 0x14]
movss dword [esp + 0x70], xmm6
subss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm4, dword [esp + 0x28]
mulss xmm0, xmm5
divss xmm2, xmm1
movaps xmm1, xmm3
mulss xmm3, dword [esp + 0x14]
mulss xmm1, xmm6
subss xmm4, xmm3
subss xmm1, xmm0
mulss xmm4, xmm2
mulss xmm1, xmm2
cvttss2si eax, xmm1
cwde
movd xmm0, eax
mov eax, dword [edi + 0x14]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax]
movss dword [eax + 0x18], xmm0
cvttss2si eax, xmm4
cwde
movd xmm0, eax
mov eax, dword [edi + 0x14]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax]
movss dword [eax + 0x1c], xmm0
mov eax, dword [edi + 0x14]
mov ecx, dword [esi]
push dword [eax]
mov eax, dword [edi + 0xc]
push dword [eax]
mov eax, 0x2412bc30
call eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
or dword [eax + 0x130], 0x1000
mov esi, dword [edi + 0x20]
mov ecx, dword [esi]
mov eax, dword [ecx]
movss xmm0, dword [eax]
movss dword [esp + 0xa0], xmm0
mov eax, dword [ecx]
movss xmm0, dword [eax + 4]
movss dword [esp + 0xa4], xmm0
mov eax, dword [ecx]
movss xmm0, dword [eax + 8]
subss xmm0, dword [0x10058350]
mov eax, dword [esi + 0xc]
movss dword [esp + 0xa8], xmm0
push dword [eax]
mov eax, dword [esi + 8]
push dword [eax]
lea eax, [esp + 0xa8]
push eax
push dword [ecx]
mov ecx, dword [esi + 4]
mov eax, 0x24012bf0
call eax
push dword [esi + 0x14]
mov ecx, 0x20368e60
mov eax, 0x200a9ac0
push dword [esi + 0x10]
push 0x201400b
push dword [esi + 4]
call eax
mov eax, dword [esi + 0x14]
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx]
jne 0x100302f0
mov ecx, dword [edi + 0x28]
movss xmm1, dword [0x1005820c]
mov eax, dword [ecx]
movss xmm0, dword [eax]
mulss xmm0, xmm1
movss dword [esp + 0xb8], xmm0
mov eax, dword [ecx]
mov ecx, dword [edi + 0x2c]
movss xmm0, dword [eax + 4]
mulss xmm0, xmm1
mov dword [esp + 0xc0], 0
movss dword [esp + 0xbc], xmm0
mov eax, dword [ecx]
movss xmm0, dword [eax]
mulss xmm0, xmm1
movss dword [esp + 0xac], xmm0
mov eax, dword [ecx]
movss xmm0, dword [eax + 4]
mulss xmm0, xmm1
movss dword [esp + 0xb0], xmm0
mov eax, dword [ecx]
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0xbc]
push ecx
movss xmm0, dword [eax + 8]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x30]
mulss xmm0, xmm1
movss dword [esp + 0xbc], xmm0
mov eax, dword [eax]
push eax
push eax
mov eax, 0x24012bf0
call eax
push dword [edi + 0x38]
mov ecx, 0x20368e60
mov eax, 0x200a9ac0
push dword [edi + 0x34]
push 0x201400b
push dword [edi + 0x30]
call eax
mov eax, dword [edi + 0x38]
movss xmm0, dword [eax + 0x2c]
ucomiss xmm0, dword [0x100581e8]
lahf
test ah, 0x44
jp 0x100302f0
movss xmm2, dword [0x100582f0]
mov esi, 0x20374c20
fld dword [0x100582b4]
movss xmm3, dword [0x100582cc]
test ebx, ebx
jne 0x1002fd7a
mov edx, dword [esp + 0x18]
fstp st(0)
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 0xf60], eax
mov eax, dword [0x2039539c]
add eax, dword [0x203953a0]
mov ecx, dword [0x20374c20]
push eax
push dword [0x24394eec]
mov eax, 0x2412c470
push 1
push 1
call eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10031b5e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 0xf60], eax
mov eax, dword [0x2039539c]
add eax, dword [0x203953a0]
mov ecx, dword [0x20374c20]
push eax
push dword [0x24394eec]
mov eax, 0x2412c470
push 1
push 1
call eax
mov ecx, dword [esp + 0xc4]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10031b5e
mov esp, ebp
pop ebp
ret