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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f8
mov eax, dword [0x1005c040]
xor eax, esp
mov dword [esp + 0x1f4], eax
mov eax, dword [ebp + 0xc]
movss xmm0, dword [0x10058178]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x88]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x84]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x74], eax
lea eax, [esp + 0xe4]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x84], eax
xor edi, edi
lea eax, [esp + 0xd8]
movss dword [esp + 0xd0], xmm3
mov byte [esp + 0x1b], 0
mov dword [esp + 0xc4], 0x3e32b8c2
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], edi
call fcn.10002ca0
movss xmm2, dword [0x10058490]
movaps xmm1, xmm0
mulss xmm1, dword [0x100582a8]
movss xmm3, dword [0x10058118]
addss xmm1, dword [0x100582b0]
movss dword [esp + 0x74], xmm1
nop
mov eax, dword [esp + 0x78]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [eax + 0x10]
mulss xmm0, xmm3
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fsincos
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
fstp dword [edx]
fstp dword [eax]
fld dword [esp + 0xc4]
fsincos
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0x7c]
fstp dword [edx]
fstp dword [eax]
fld dword [esp + 0x80]
fsincos
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0x8c]
mov ecx, esi
mov eax, dword [esi]
movaps xmm1, xmm0
mulss xmm0, dword [esp + 0x94]
mulss xmm1, dword [esp + 0x90]
mov eax, dword [eax + 0x24]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x98]
xorps xmm0, xmm2
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x10], xmm0
call eax
mov ecx, esi
movss xmm0, dword [eax]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esi + 0xd4]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0xd8]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [esi]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0xdc]
movss dword [esp + 0x14], xmm0
mov eax, dword [eax + 0x24]
call eax
movss xmm7, dword [esp + 0x74]
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x30]
movss xmm4, dword [eax]
movss xmm5, dword [eax + 4]
movss xmm1, dword [esp + 0x14]
addss xmm1, dword [esp + 0xc]
movss xmm6, dword [eax + 8]
addss xmm4, dword [esi + 0xd4]
addss xmm5, dword [esi + 0xd8]
addss xmm6, dword [esi + 0xdc]
mulss xmm3, xmm7
mov byte [esp + 0x71], 1
mulss xmm2, xmm7
addss xmm3, xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x28]
subss xmm3, xmm4
addss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm7
movss dword [esp + 0x4c], xmm3
subss xmm2, xmm5
mulss xmm3, xmm3
addss xmm1, xmm0
movss dword [esp + 0x50], xmm2
mulss xmm2, xmm2
subss xmm1, xmm6
addss xmm3, xmm2
movss dword [esp + 0x54], xmm1
mulss xmm1, xmm1
addss xmm3, xmm1
ucomiss xmm3, dword [0x100580f4]
lahf
test ah, 0x44
jp 0x1002d4a0
mov byte [esp + 0x71], 0
mov ecx, dword [0x10084078]
lea edx, [esp + 0xf0]
push edx
mov dword [esp + 0x70], 0
lea edx, [esp + 0x44]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x74], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x48], xmm5
movss dword [esp + 0x4c], xmm6
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [esp + 0x11c]
ucomiss xmm0, dword [0x100581e8]
lahf
test ah, 0x44
jnp 0x1002db18
movss xmm0, dword [esp + 0x108]
xorps xmm1, xmm1
xorps xmm0, xmmword [0x10058490]
xorps xmm2, xmm2
cvtss2sd xmm1, xmm0
movss xmm0, dword [esp + 0x10c]
xorps xmm0, xmmword [0x10058490]
cvtss2sd xmm2, xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1002d567
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1002d588
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10058270]
xorps xmm1, xmm1
comisd xmm1, xmm0
jbe 0x1002d588
addsd xmm0, qword [0x10058278]
movss xmm4, dword [0x100582b4]
lea eax, [esp + 0xa0]
movss xmm3, dword [0x10058118]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x14], eax
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm2
addss xmm0, xmm4
mulss xmm0, xmm3
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0x9c]
mov dword [esp + 0x10], 0x3e32b8c2
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x14], eax
fld dword [esp + 0x10]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xdc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x14], eax
fld dword [esp + 0x10]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0x9c]
lea eax, [esp + 0xb0]
movaps xmm1, xmm0
mov dword [esp + 0xc], eax
mulss xmm0, dword [esp + 0xa4]
lea eax, [esp + 0xb4]
mov dword [esp + 0x14], eax
mulss xmm1, dword [esp + 0xa0]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x10058490]
xorps xmm0, xmm1
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm2
subss xmm0, xmm4
mulss xmm0, xmm3
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xac]
mov dword [esp + 0x10], 0x3e32b8c2
mov dword [esp + 0xc], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x14], eax
fld dword [esp + 0x10]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xe4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x14], eax
fld dword [esp + 0x10]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0xac]
movaps xmm2, xmm0
mulss xmm0, dword [esp + 0xb4]
mulss xmm2, dword [esp + 0xb0]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0xb8]
xorps xmm0, xmm1
movss dword [esp + 0x20], xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x100581bc]
call fcn.10002ca0
addss xmm0, dword [0x100581e8]
movss xmm1, dword [esp + 0x20]
mov ecx, esi
mov eax, dword [esi]
mulss xmm0, dword [esp + 0x74]
mulss xmm1, xmm0
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x20], xmm1
movaps xmm1, xmm0
mulss xmm1, dword [esp + 0x10]
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0xc8], xmm1
movss dword [esp + 0xcc], xmm0
mov eax, dword [eax + 0x24]
call eax
mov ecx, esi
movss xmm0, dword [eax]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0xd4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 0xd8]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [esi]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esi + 0xdc]
movss dword [esp + 0x3c], xmm0
mov eax, dword [eax + 0x24]
call eax
movss xmm1, dword [esp + 0x14]
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [esp + 0xc]
movss xmm4, dword [esp + 0x28]
movss xmm3, dword [esp + 0x24]
movss xmm5, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm7, dword [eax + 8]
movss xmm2, dword [esp + 0x34]
addss xmm5, dword [esi + 0xd4]
addss xmm6, dword [esi + 0xd8]
addss xmm7, dword [esi + 0xdc]
mulss xmm4, xmm1
mov byte [esp + 0x71], 1
mulss xmm3, xmm1
addss xmm4, xmm0
mulss xmm2, xmm1
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x2c]
subss xmm4, xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x4c], xmm4
mulss xmm4, xmm4
subss xmm3, xmm6
addss xmm2, xmm0
movss dword [esp + 0x50], xmm3
subss xmm2, xmm7
mulss xmm3, xmm3
addss xmm4, xmm3
movss dword [esp + 0x54], xmm2
mulss xmm2, xmm2
addss xmm4, xmm2
ucomiss xmm4, dword [0x100580f4]
lahf
test ah, 0x44
jp 0x1002d8c8
mov byte [esp + 0x71], 0
mov ecx, dword [0x10084078]
lea edx, [esp + 0x148]
push edx
mov dword [esp + 0x70], 0
lea edx, [esp + 0x44]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x74], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
movss dword [esp + 0x44], xmm5
movss dword [esp + 0x48], xmm6
movss dword [esp + 0x4c], xmm7
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov ecx, esi
movss xmm0, dword [eax]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esi + 0xd4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0xd8]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [esi]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0xdc]
movss dword [esp + 0x14], xmm0
mov eax, dword [eax + 0x24]
call eax
movss xmm1, dword [esp + 0x3c]
addss xmm1, dword [esp + 0x38]
movss xmm2, dword [esp + 0x34]
addss xmm2, dword [esp + 0x10]
movss xmm3, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [esp + 0x14]
addss xmm2, dword [esp + 0xc8]
movss xmm5, dword [eax + 8]
addss xmm1, dword [esp + 0x20]
addss xmm3, dword [esi + 0xd4]
addss xmm4, dword [esi + 0xd8]
addss xmm0, dword [esp + 0xcc]
addss xmm5, dword [esi + 0xdc]
mov byte [esp + 0x71], 1
subss xmm1, xmm3
subss xmm2, xmm4
subss xmm0, xmm5
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x50], xmm2
mulss xmm2, xmm2
mulss xmm1, xmm1
movss dword [esp + 0x54], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [0x100580f4]
lahf
test ah, 0x44
jp 0x1002da37
mov byte [esp + 0x71], 0
mov ecx, dword [0x10084078]
lea edx, [esp + 0x1a0]
push edx
mov dword [esp + 0x70], 0
lea edx, [esp + 0x44]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x74], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x4c], xmm5
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm4, dword [esp + 0x174]
movss xmm2, dword [0x100581e8]
movss xmm3, dword [esp + 0x1cc]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x1002dadb
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x1002dadb
movss xmm0, dword [esp + 0x1c]
subss xmm0, dword [0x100582f0]
jmp 0x1002dafe
movss xmm1, dword [esp + 0x1c]
ucomiss xmm4, xmm2
movaps xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002dafe
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x1002dafe
addss xmm0, dword [0x100582f0]
subss xmm0, dword [esp + 0xd0]
mov eax, dword [esp + 0x78]
movss dword [eax + 0x10], xmm0
mov al, 1
mov byte [esp + 0x1b], al
jmp 0x1002db1c
mov al, byte [esp + 0x1b]
movss xmm2, dword [0x10058490]
inc edi
movss xmm3, dword [0x10058118]
cmp edi, 0x168
jl 0x1002d2e0
mov ecx, dword [esp + 0x1fc]
pop edi
pop esi
xor ecx, esp
call fcn.10031b5e
mov esp, ebp
pop ebp
ret 8