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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov eax, dword [0x10065010]
xor eax, esp
mov dword [esp + 0x204], eax
push esi
push edi
movss dword [esp + 0xc8], xmm3
movsd xmm0, qword [0x10059728]
lea eax, [esp + 0x8c]
mov ecx, dword [ebp + 0xc]
xorps xmm1, xmm1
movss xmm2, dword [0x100598f0]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x90]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x78], eax
lea eax, [esp + 0xec]
mov esi, dword [ebp + 8]
mov dword [esp + 0x80], eax
xor edi, edi
movsd qword [esp + 0xf0], xmm0
lea eax, [esp + 0xd8]
movsd xmm0, qword [0x10059738]
movss xmm3, dword [0x100595f0]
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x1b], 0
mov dword [esp + 0x70], 0x3e32b8c2
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], edi
movsd qword [esp + 0xd0], xmm1
movsd qword [esp + 0xf8], xmm0
nop
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ecx + 0x10]
mulss xmm0, xmm3
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fsincos
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xcc]
fstp dword [edx]
fstp dword [eax]
fld dword [esp + 0x70]
fsincos
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
fstp dword [edx]
fstp dword [eax]
fld dword [esp + 0x7c]
fsincos
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
fstp dword [edx]
fstp dword [eax]
movss xmm1, dword [esp + 0x88]
mov ecx, esi
mov eax, dword [esi]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x8c]
mulss xmm1, dword [esp + 0x90]
mov eax, dword [eax + 0x24]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x94]
xorps xmm0, xmm2
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x14], xmm0
call eax
mov ecx, esi
movss xmm0, dword [eax]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0xd4]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + 0xd8]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 0xdc]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [esi]
movss dword [esp + 0xc], xmm0
mov eax, dword [eax + 0x24]
call eax
movss xmm7, dword [0x1005976c]
movss xmm3, dword [esp + 0x1c]
addss xmm3, dword [esp + 0x28]
movss xmm0, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x30]
addss xmm2, dword [esp + 0x24]
movss xmm5, dword [eax + 4]
movss xmm4, dword [esi + 0xd4]
addss xmm4, dword [eax]
movss xmm6, dword [eax + 8]
movss xmm1, dword [esp + 0x14]
addss xmm5, dword [esi + 0xd8]
addss xmm6, dword [esi + 0xdc]
mulss xmm0, xmm7
mov byte [esp + 0x69], 1
mulss xmm1, xmm7
addss xmm3, xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm0, xmm7
addss xmm2, xmm0
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [esp + 0x10]
subss xmm3, xmm4
subss xmm2, xmm5
addss xmm0, xmm1
movss dword [esp + 0x44], xmm3
mulss xmm3, xmm3
movss dword [esp + 0x48], xmm2
subss xmm0, xmm6
mulss xmm2, xmm2
addss xmm3, xmm2
movss dword [esp + 0x4c], xmm0
mulss xmm0, xmm0
addss xmm3, xmm0
ucomiss xmm3, dword [0x100595c8]
lahf
test ah, 0x44
jp 0x1003ee65
mov byte [esp + 0x69], 0
mov ecx, dword [0x100a788c]
lea edx, [esp + 0x100]
push edx
mov dword [esp + 0x68], 0
lea edx, [esp + 0x3c]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x6c], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x40], xmm5
movss dword [esp + 0x44], xmm6
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [esp + 0x12c]
ucomiss xmm0, dword [0x100596a8]
lahf
test ah, 0x44
jnp 0x1003f4bb
movss xmm0, dword [esp + 0x118]
xorps xmm1, xmm1
xorps xmm0, xmmword [0x100598f0]
xorps xmm2, xmm2
cvtss2sd xmm1, xmm0
movss xmm0, dword [esp + 0x11c]
xorps xmm0, xmmword [0x100598f0]
cvtss2sd xmm2, xmm0
movsd xmm0, qword [esp + 0xd0]
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1003ef32
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1003ef5b
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [esp + 0xf0]
movsd xmm1, qword [esp + 0xd0]
comisd xmm1, xmm0
jbe 0x1003ef5b
addsd xmm0, qword [esp + 0xf8]
movss xmm4, dword [0x10059770]
lea eax, [esp + 0x9c]
movss xmm3, dword [0x100595f0]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm2
addss xmm0, xmm4
mulss xmm0, xmm3
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0x98]
mov dword [esp + 0x14], 0x3e32b8c2
mov dword [esp + 0x10], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xc], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xdc]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0xc], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
movss xmm1, dword [esp + 0x98]
lea eax, [esp + 0xac]
movaps xmm0, xmm1
mov dword [esp + 0x10], eax
mulss xmm0, dword [esp + 0x9c]
lea eax, [esp + 0xb0]
mov dword [esp + 0xc], eax
mulss xmm1, dword [esp + 0xa0]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x30], xmm1
movss xmm1, dword [0x100598f0]
xorps xmm0, xmm1
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm2
subss xmm0, xmm4
mulss xmm0, xmm3
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xa8]
mov dword [esp + 0x14], 0x3e32b8c2
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xc], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xe4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0xc], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0xa8]
mov ecx, esi
movss xmm3, dword [esp + 0xb4]
movaps xmm2, xmm0
mulss xmm2, dword [esp + 0xac]
xorps xmm3, xmm1
mov eax, dword [esi]
mulss xmm0, dword [esp + 0xb0]
movss xmm1, dword [0x10059778]
mov eax, dword [eax + 0x24]
mulss xmm2, xmm1
mulss xmm0, xmm1
mulss xmm3, xmm1
movss dword [esp + 0xbc], xmm2
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm3
call eax
movss xmm0, dword [esi + 0xd4]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esi + 0xd8]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xc], xmm0
mov ecx, esi
movss xmm0, dword [esi + 0xdc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [esi]
movss dword [esp + 0x2c], xmm0
mov eax, dword [eax + 0x24]
call eax
movss xmm7, dword [0x10059778]
movss xmm2, dword [esp + 0x14]
addss xmm2, dword [esp + 0x10]
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [esp + 0xc]
addss xmm1, dword [esp + 0x24]
movss xmm5, dword [eax + 4]
movss xmm4, dword [esi + 0xd4]
addss xmm4, dword [eax]
movss xmm6, dword [eax + 8]
movss xmm3, dword [esp + 0x34]
addss xmm5, dword [esi + 0xd8]
addss xmm6, dword [esi + 0xdc]
mulss xmm0, xmm7
mov byte [esp + 0x69], 1
mulss xmm3, xmm7
addss xmm2, xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm7
addss xmm1, xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x28]
subss xmm2, xmm4
subss xmm1, xmm5
addss xmm0, xmm3
movss dword [esp + 0x44], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x48], xmm1
subss xmm0, xmm6
mulss xmm1, xmm1
addss xmm2, xmm1
movss dword [esp + 0x4c], xmm0
mulss xmm0, xmm0
addss xmm2, xmm0
ucomiss xmm2, dword [0x100595c8]
lahf
test ah, 0x44
jp 0x1003f268
mov byte [esp + 0x69], 0
mov ecx, dword [0x100a788c]
lea edx, [esp + 0x158]
push edx
mov dword [esp + 0x68], 0
lea edx, [esp + 0x3c]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x6c], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x40], xmm5
movss dword [esp + 0x44], xmm6
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 + 0x34], xmm0
movss xmm0, dword [esi + 0xd4]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esi + 0xd8]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0xdc]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [esi]
movss dword [esp + 0x24], xmm0
mov eax, dword [eax + 0x24]
call eax
movss xmm2, dword [esp + 0x34]
addss xmm2, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
addss xmm1, dword [esp + 0xc]
movss xmm4, dword [eax + 4]
movss xmm3, dword [esi + 0xd4]
addss xmm3, dword [eax]
movss xmm0, dword [esp + 0x20]
addss xmm1, dword [esp + 0xc0]
addss xmm0, dword [esp + 0x24]
movss xmm5, dword [eax + 8]
addss xmm2, dword [esp + 0xbc]
addss xmm4, dword [esi + 0xd8]
addss xmm5, dword [esi + 0xdc]
addss xmm0, dword [esp + 0xc4]
mov byte [esp + 0x69], 1
subss xmm2, xmm3
subss xmm1, xmm4
subss xmm0, xmm5
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm1
mulss xmm1, xmm1
mulss xmm2, xmm2
movss dword [esp + 0x4c], xmm0
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
ucomiss xmm1, dword [0x100595c8]
lahf
test ah, 0x44
jp 0x1003f3da
mov byte [esp + 0x69], 0
mov ecx, dword [0x100a788c]
lea edx, [esp + 0x1b0]
push edx
mov dword [esp + 0x68], 0
lea edx, [esp + 0x3c]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x6c], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm5
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm4, dword [esp + 0x184]
movss xmm2, dword [0x100596a8]
movss xmm3, dword [esp + 0x1dc]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x1003f47e
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x1003f47e
movss xmm0, dword [esp + 0x1c]
subss xmm0, dword [0x100597b0]
jmp 0x1003f4a1
movss xmm1, dword [esp + 0x1c]
ucomiss xmm4, xmm2
movaps xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1003f4a1
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x1003f4a1
addss xmm0, dword [0x100597b0]
subss xmm0, dword [esp + 0xc8]
mov ecx, dword [esp + 0x6c]
mov al, 1
mov byte [esp + 0x1b], al
movss dword [ecx + 0x10], xmm0
jmp 0x1003f4c3
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x6c]
movss xmm2, dword [0x100598f0]
inc edi
movss xmm3, dword [0x100595f0]
cmp edi, 0x168
jl 0x1003ecb0
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
xor ecx, esp
call fcn.10042c4e
mov esp, ebp
pop ebp
ret 8