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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [0x1010d024]
xor eax, esp
mov dword [esp + 0xdc], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x20]
push esi
push edi
cmp eax, 1
jne 0x1007749a
movss xmm0, dword [ebp + 0x10]
movss xmm4, dword [0x100f91b4]
comiss xmm0, xmm4
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
movss xmm1, dword [ebp + 0x14]
movss xmm2, dword [0x100f91d8]
movss xmm3, dword [0x100f9284]
movss dword [esp + 0xc], xmm0
jbe 0x10077053
subss xmm0, xmm2
jmp 0x1007705c
comiss xmm3, xmm0
jbe 0x10077062
addss xmm0, xmm2
movss dword [esp + 0xc], xmm0
comiss xmm1, xmm4
jbe 0x1007706d
subss xmm1, xmm2
jmp 0x1007707c
comiss xmm3, xmm1
movss dword [esp + 0x40], xmm1
jbe 0x10077082
addss xmm1, xmm2
movss dword [esp + 0x40], xmm1
movss xmm1, dword [ebp + 0x18]
comiss xmm1, xmm4
jbe 0x10077092
subss xmm1, xmm2
jmp 0x100770a1
comiss xmm3, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x100770a7
addss xmm1, xmm2
movss dword [esp + 0x1c], xmm1
mulss xmm0, dword [0x100f8e54]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0xc8], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x40]
mulss xmm0, dword [0x100f8e54]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x58], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x100f8e54]
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
movsd xmm0, qword [esp + 0xc8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3c], xmm0
movsd xmm0, qword [esp + 0x58]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 8], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm5, dword [esp + 8]
xorps xmm2, xmm2
movss xmm4, dword [esp + 0x2c]
cvtsd2ss xmm2, xmm0
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x3c]
xorps xmm1, xmmword [0x100fa820]
movss xmm7, dword [esp + 0x20]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm4
xorps xmm4, xmmword [0x100fa820]
movss dword [esp + 0x24], xmm2
mulss xmm2, dword [0x100f9248]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm4
movss dword [esp + 0x10], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [esp + 0x14]
mulss xmm0, xmm2
movss xmm3, dword [esp + 0x24]
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm5
movss xmm6, dword [esp + 0x44]
mulss xmm0, xmm1
subss xmm6, xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, dword [esp + 0x14]
movss dword [esp + 0x44], xmm6
movaps xmm6, xmm5
mulss xmm6, xmm2
movaps xmm2, xmm5
mulss xmm2, xmm1
subss xmm6, xmm0
mulss xmm5, xmm7
movaps xmm0, xmm7
mulss xmm0, dword [0x100f9248]
movss dword [esp + 0x38], xmm6
mulss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm7
mulss xmm0, xmm4
subss xmm2, xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm1
movss dword [esp + 0x20], xmm2
subss xmm0, xmm5
mulss xmm3, dword [esp + 0x3c]
mov edi, dword [ebp + 8]
movss xmm2, dword [0x100f8eac]
movss xmm1, dword [0x100f9238]
movss dword [esp + 0x2c], xmm0
lea ecx, [edi + 2]
movss dword [esp + 0x24], xmm3
call fcn.10076df0
movss xmm2, dword [0x100f8eac]
lea ecx, [edi + 1]
movss xmm1, dword [0x100f9238]
movss dword [esp + 8], xmm0
call fcn.10076df0
addss xmm0, dword [esp + 8]
movss xmm2, dword [0x100f8eac]
lea ecx, [edi + 4]
movss xmm1, dword [0x100f9238]
movss dword [esp + 0x18], xmm0
call fcn.10076df0
movss xmm2, dword [0x100f8eac]
lea ecx, [edi + 3]
movss xmm1, dword [0x100f9238]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x1012de9c]
movss dword [esp + 0x18], xmm0
call fcn.10076df0
movss xmm3, dword [esp + 0x18]
movaps xmm2, xmm0
addss xmm2, dword [esp + 8]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x44]
mulss xmm2, dword [0x1012de9c]
addss xmm4, dword [esp + 0x28]
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm1, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x2c]
mulss xmm2, dword [esp + 0x24]
addss xmm4, xmm1
movaps xmm1, xmm3
mulss xmm3, dword [esp + 0x1c]
mulss xmm1, dword [esp + 0x38]
addss xmm3, dword [esp + 0x10]
movss dword [esp + 0x3c], xmm4
addss xmm1, dword [esp + 0x50]
addss xmm3, xmm2
addss xmm1, xmm0
movss dword [esp + 0x18], xmm3
movaps xmm0, xmm1
movss dword [esp + 0x28], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
call fcn.10036210
movss xmm2, dword [esp + 0x3c]
movaps xmm1, xmm0
movss xmm3, dword [esp + 0x28]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x100773be
movss xmm0, dword [0x100f8ef4]
divss xmm0, xmm1
movss xmm1, dword [esp + 0x18]
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm1, xmm0
jmp 0x100773c4
movss xmm1, dword [esp + 0x18]
movss xmm0, dword [0x100f9214]
lea edx, [esp + 0xb8]
mulss xmm2, xmm0
lea ecx, [esp + 0xc8]
mulss xmm3, xmm0
mulss xmm1, xmm0
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0xcc], xmm3
movss dword [esp + 0xd0], xmm1
call fcn.100ae020
movss xmm1, dword [esp + 0xc]
subss xmm1, dword [esp + 0xb8]
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [esp + 0xbc]
movss xmm4, dword [0x100f91b4]
movss xmm3, dword [0x100f9284]
addss xmm1, dword [esp + 0xc]
movss xmm2, dword [0x100f91d8]
addss xmm0, dword [esp + 0x40]
comiss xmm1, xmm4
jbe 0x10077453
subss xmm1, xmm2
jmp 0x1007745c
comiss xmm3, xmm1
jbe 0x1007745c
addss xmm1, xmm2
comiss xmm0, xmm4
jbe 0x10077467
subss xmm0, xmm2
jmp 0x10077470
comiss xmm3, xmm0
jbe 0x10077470
addss xmm0, xmm2
mov eax, dword [esp + 0x64]
movss dword [eax], xmm1
movss dword [eax + 4], xmm0
mov dword [eax + 8], 0
pop edi
pop esi
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.100bceb5
mov esp, ebp
pop ebp
ret 0x1c
cmp eax, 3
jne 0x10077a6e
mov edi, dword [ebp + 8]
movss xmm2, dword [0x100f8eac]
movss xmm1, dword [0x100f9238]
lea ecx, [edi + 2]
call fcn.10076df0
movss xmm2, dword [0x100f8eac]
lea ecx, [edi + 1]
movss xmm1, dword [0x100f9238]
movss dword [esp + 8], xmm0
call fcn.10076df0
addss xmm0, dword [esp + 8]
movss xmm2, dword [0x100f8eac]
lea ecx, [edi + 4]
movss xmm1, dword [0x100f9238]
movss dword [esp + 0x10], xmm0
call fcn.10076df0
movss xmm2, dword [0x100f8eac]
lea ecx, [edi + 3]
movss xmm1, dword [0x100f9238]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x1012de9c]
movss dword [esp + 0x10], xmm0
call fcn.10076df0
addss xmm0, dword [esp + 8]
mulss xmm0, dword [0x1012de9c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp + 0x28], xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x1c], xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm4, xmm4
cvtsd2ss xmm4, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x14], xmm4
mulss xmm0, xmm4
movaps xmm5, xmm4
mulss xmm5, dword [0x100f9248]
movaps xmm6, xmm4
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x1c]
movaps xmm1, xmm0
movss xmm2, dword [esp + 8]
mulss xmm1, xmm0
movaps xmm7, xmm0
xorps xmm7, xmmword [0x100fa820]
movaps xmm3, xmm5
mulss xmm6, xmm0
movaps xmm0, xmm1
mulss xmm5, xmm4
mulss xmm1, dword [esp + 0x1c]
mulss xmm0, xmm4
movss xmm4, dword [esp + 0x1c]
subss xmm5, xmm1
mulss xmm4, dword [0x100f9248]
movaps xmm1, xmm6
mulss xmm1, dword [esp + 0x14]
mulss xmm4, dword [esp + 0x14]
mulss xmm3, xmm7
movss dword [esp + 0x3c], xmm4
movss xmm4, dword [esp + 0x10]
subss xmm3, xmm0
movss dword [esp + 0x70], xmm2
movaps xmm0, xmm7
mulss xmm0, dword [esp + 0x1c]
mulss xmm4, xmm3
subss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [esp + 0x1c]
movaps xmm3, xmm4
movss dword [esp + 0xc], xmm4
addss xmm3, xmm2
subss xmm0, xmm6
movss dword [esp + 0x68], xmm1
movss dword [esp + 0xc], xmm3
movss xmm3, dword [esp + 0x20]
movss dword [esp + 0x6c], xmm0
movss xmm4, dword [esp + 0xc]
mulss xmm1, xmm3
mulss xmm0, xmm3
addss xmm4, xmm1
mulss xmm2, xmm3
movss xmm1, dword [esp + 0x10]
mulss xmm1, xmm5
movss xmm5, dword [esp + 0x10]
mulss xmm5, dword [esp + 0x3c]
addss xmm1, xmm6
movss dword [esp + 0xc], xmm4
addss xmm5, xmm7
addss xmm1, xmm0
addss xmm5, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x2c], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
movss dword [esp + 0x10], xmm5
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.10036210
movss xmm2, dword [esp + 0xc]
movaps xmm1, xmm0
movss xmm3, dword [esp + 0x2c]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10077701
movss xmm0, dword [0x100f8ef4]
divss xmm0, xmm1
movss xmm1, dword [esp + 0x10]
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm1, xmm0
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x10], xmm1
movaps xmm0, xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10036210
movss xmm2, dword [0x100f91d8]
movaps xmm4, xmm0
movss xmm0, dword [esp + 0x10]
xorps xmm3, xmm3
comiss xmm4, xmm3
jbe 0x10077816
xorps xmm0, xmmword [0x100fa820]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm4
movsd qword [esp + 0xc8], xmm1
fld qword [esp + 0xc8]
movsd qword [esp + 0xc8], xmm0
fld qword [esp + 0xc8]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [esp + 0xc8]
movsd xmm1, qword [esp + 0xc8]
xorps xmm0, xmm0
cvtpd2ps xmm1, xmm1
mulss xmm1, dword [0x100f915c]
comiss xmm0, xmm1
movss dword [esp + 0x18], xmm1
jbe 0x100777a7
addss xmm1, dword [0x100f91d8]
movss dword [esp + 0x18], xmm1
movss xmm0, dword [esp + 0x2c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0xc]
fld qword [esp + 0xc8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0xc8], xmm0
fld qword [esp + 0xc8]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x100f91d8]
xorps xmm0, xmm0
fstp qword [esp + 0xc8]
movsd xmm1, qword [esp + 0xc8]
cvtpd2ps xmm1, xmm1
mulss xmm1, dword [0x100f915c]
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm1
jbe 0x1007783c
addss xmm1, xmm2
jmp 0x10077836
comiss xmm0, xmm3
jbe 0x10077825
movss xmm1, dword [0x100f91d0]
jmp 0x1007782d
movss xmm1, dword [0x100f918c]
movss dword [esp + 0x18], xmm1
xorps xmm1, xmm1
movss dword [esp + 0xc], xmm1
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [ebp + 0x10]
movss xmm4, dword [0x100f91b4]
movss xmm3, dword [0x100f9284]
comiss xmm0, xmm4
jbe 0x10077862
subss xmm0, xmm2
jmp 0x1007786b
comiss xmm3, xmm0
jbe 0x1007786b
addss xmm0, xmm2
comiss xmm1, xmm4
jbe 0x10077876
subss xmm1, xmm2
jmp 0x1007787f
comiss xmm3, xmm1
jbe 0x10077885
addss xmm1, xmm2
movss dword [esp + 0xc], xmm1
mulss xmm0, dword [0x100f8e54]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x100f8e54]
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 8], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm7, dword [esp + 0x20]
lea eax, [esp + 0x68]
movss xmm3, dword [esp + 0x1c]
lea ecx, [esp + 0xb8]
movss xmm2, dword [esp + 0x14]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x3c]
movss xmm6, dword [esp + 8]
cvtsd2ss xmm1, xmm0
push eax
lea eax, [esp + 0x78]
push eax
mulss xmm3, xmm7
movaps xmm0, xmm2
mulss xmm0, xmm5
movaps xmm4, xmm1
xorps xmm5, xmmword [0x100fa820]
mulss xmm5, dword [esp + 0x24]
mulss xmm3, xmm1
mulss xmm2, xmm7
xorps xmm7, xmmword [0x100fa820]
subss xmm3, xmm0
movaps xmm0, xmm6
mulss xmm4, xmm6
mulss xmm0, dword [esp + 0x24]
mulss xmm2, xmm1
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x1c]
subss xmm2, xmm5
mulss xmm0, xmm6
movss dword [esp + 0x70], xmm7
movss dword [esp + 0xc0], xmm4
movss dword [esp + 0x78], xmm0
movss dword [esp + 0xc4], xmm3
movss dword [esp + 0xc8], xmm2
call fcn.10091b90
movss xmm5, dword [0x100f91b4]
movss xmm4, dword [0x100f9284]
movss xmm3, dword [0x100f91d8]
movss xmm2, dword [eax]
comiss xmm2, xmm5
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
jbe 0x100779d7
subss xmm2, xmm3
jmp 0x100779e0
comiss xmm4, xmm2
jbe 0x100779e0
addss xmm2, xmm3
comiss xmm0, xmm5
jbe 0x100779eb
subss xmm0, xmm3
jmp 0x100779f4
comiss xmm4, xmm0
jbe 0x100779f4
addss xmm0, xmm3
comiss xmm1, xmm5
jbe 0x100779ff
subss xmm1, xmm3
jmp 0x10077a08
comiss xmm4, xmm1
jbe 0x10077a08
addss xmm1, xmm3
comiss xmm2, xmm5
addss xmm0, dword [esp + 0x28]
jbe 0x10077a19
subss xmm2, xmm3
jmp 0x10077a22
comiss xmm4, xmm2
jbe 0x10077a22
addss xmm2, xmm3
comiss xmm0, xmm5
jbe 0x10077a2d
subss xmm0, xmm3
jmp 0x10077a36
comiss xmm4, xmm0
jbe 0x10077a36
addss xmm0, xmm3
comiss xmm1, xmm5
jbe 0x10077a52
mov eax, dword [esp + 0x64]
subss xmm1, xmm3
movss dword [eax + 4], xmm0
movss dword [eax + 8], xmm1
jmp 0x10078e60
comiss xmm4, xmm1
jbe 0x10077a5b
addss xmm1, xmm3
mov eax, dword [esp + 0x64]
movss dword [eax + 4], xmm0
movss dword [eax + 8], xmm1
jmp 0x10078e60
cmp eax, 4
je 0x10077a7c
cmp eax, 2
jne 0x10078e64
mov edi, dword [ebp + 8]
movss xmm2, dword [0x100f8eac]
movss xmm1, dword [0x100f9238]
lea ecx, [edi + 2]
call fcn.10076df0
movss xmm2, dword [0x100f8eac]
lea ecx, [edi + 1]
movss xmm1, dword [0x100f9238]
movss dword [esp + 8], xmm0
call fcn.10076df0
addss xmm0, dword [esp + 8]
movss xmm2, dword [0x100f8eac]
lea ecx, [edi + 4]
movss xmm1, dword [0x100f9238]
movss dword [esp + 0x40], xmm0
call fcn.10076df0
movss xmm2, dword [0x100f8eac]
lea ecx, [edi + 3]
movss xmm1, dword [0x100f9238]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x40]
mulss xmm0, dword [0x1012de9c]
movss dword [esp + 0x40], xmm0
call fcn.10076df0
addss xmm0, dword [esp + 8]
mov dword [esp + 0xc0], 0xbf800000
mulss xmm0, dword [0x1012de9c]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x40]
xorps xmm0, xmmword [0x100fa820]
movss dword [esp + 0xc], xmm0
movss dword [esp + 0xbc], xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [0x100f9048]
movss dword [esp + 0x1c], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x10]
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm3
xorps xmm0, xmmword [0x100fa820]
movaps xmm4, xmm0
mulss xmm2, xmm1
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm1
mulss xmm4, xmm3
mulss xmm0, xmm2
movss dword [esp + 8], xmm4
subss xmm0, xmm4
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
movaps xmm1, xmm3
mulss xmm1, xmm2
movss dword [esp + 0x44], xmm0
subss xmm1, xmm0
movsd xmm0, qword [0x100f9048]
movss dword [esp + 0x8c], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, dword [0x100f8ef4]
call fcn.10036210
xorps xmm5, xmm5
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jnp 0x10077c7f
movss xmm1, dword [0x100f8ef4]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm1
mulss xmm1, dword [0x100f9248]
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0xc0], xmm1
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xc0]
call fcn.10091b90
movss xmm2, dword [0x100f91b4]
movss xmm0, dword [0x100f91d8]
movss xmm1, dword [0x100f9284]
movss xmm3, dword [eax + 4]
comiss xmm3, xmm2
movss xmm4, dword [eax + 8]
jbe 0x10077cc5
subss xmm3, xmm0
jmp 0x10077cce
comiss xmm1, xmm3
jbe 0x10077cce
addss xmm3, xmm0
comiss xmm4, xmm2
jbe 0x10077cd9
subss xmm4, xmm0
jmp 0x10077ce2
comiss xmm1, xmm4
jbe 0x10077ce2
addss xmm4, xmm0
movss xmm2, dword [esp + 0x1c]
subss xmm3, xmm4
movss xmm7, dword [esp + 0x10]
movaps xmm6, xmm2
movaps xmm1, xmm7
mulss xmm6, xmm2
mulss xmm1, xmm7
cvtps2pd xmm0, xmm3
movaps xmm3, xmm2
movss dword [esp + 0xe0], xmm6
mulss xmm3, dword [0x100f9248]
movsd qword [esp + 0xc8], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm2
movaps xmm4, xmm3
mulss xmm1, xmm7
mulss xmm4, dword [esp + 0x24]
mulss xmm3, xmm2
movaps xmm5, xmm4
movss dword [esp + 0x50], xmm4
subss xmm5, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [0x100f9248]
movaps xmm4, xmm3
subss xmm4, xmm1
movss dword [esp + 0x38], xmm3
movaps xmm1, xmm2
movaps xmm3, xmm0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x44]
mulss xmm1, xmm0
mulss xmm3, xmm2
movaps xmm2, xmm7
subss xmm1, dword [esp + 8]
movss xmm7, dword [esp + 0xc]
mulss xmm2, xmm0
mulss xmm7, xmm5
subss xmm2, xmm0
movss dword [esp + 0xd8], xmm1
movss xmm0, dword [esp + 0x2c]
xorps xmm0, xmmword [0x100fa820]
addss xmm7, xmm6
movss dword [esp + 0x3c], xmm0
mulss xmm0, xmm1
movss xmm1, dword [esp + 0xc]
mulss xmm1, xmm4
addss xmm7, xmm0
movss dword [esp + 0xdc], xmm2
movss xmm0, dword [esp + 0x3c]
addss xmm1, dword [esp + 0x44]
mulss xmm0, xmm2
movss xmm2, dword [esp + 0xc]
mulss xmm2, xmm3
addss xmm1, xmm0
movss dword [esp + 0x14], xmm7
movss xmm0, dword [esp + 0x3c]
addss xmm2, dword [esp + 0x24]
mulss xmm0, xmm6
movss dword [esp + 0x18], xmm1
addss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movaps xmm1, xmm7
mulss xmm1, xmm7
movss dword [esp + 0x24], xmm2
addss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10036210
ucomiss xmm0, dword [0x100f8e18]
lahf
test ah, 0x44
jnp 0x10077e79
movss xmm1, dword [0x100f8ef4]
divss xmm1, xmm0
movss xmm2, dword [esp + 0x14]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x24]
mulss xmm2, xmm0
mulss xmm0, dword [esp + 0x18]
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x18], xmm0
jmp 0x10077e7f
movss xmm0, dword [esp + 0x18]
movaps xmm1, xmm0
mulss xmm1, xmm0
movss xmm0, dword [0x100f8ef4]
subss xmm0, xmm1
movss dword [esp + 0x20], xmm1
call fcn.10036210
movss dword [esp + 0x48], xmm0
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x18]
call fcn.10035f20
mulss xmm0, dword [0x100f915c]
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
comisd xmm2, xmmword [0x100f90b8]
jbe 0x10077ed4
subsd xmm2, qword [0x100f90c0]
jmp 0x10077eea
movsd xmm0, qword [0x100f9260]
comisd xmm0, xmm2
jbe 0x10077eea
addsd xmm2, qword [0x100f90c0]
xorps xmm0, xmm0
comisd xmm0, xmm2
jbe 0x10077f06
addsd xmm2, qword [0x100f90a0]
movsd qword [esp + 0x80], xmm2
jmp 0x10077f1b
movsd xmm1, qword [0x100f90a0]
subsd xmm1, xmm2
movsd qword [esp + 0x80], xmm1
movss xmm0, dword [esp + 0x14]
mulss xmm0, xmm0
addss xmm0, dword [esp + 0x20]
call fcn.10036210
movaps xmm1, xmm0
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10077f98
movss xmm0, dword [esp + 0x24]
xorps xmm0, xmmword [0x100fa820]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x58], xmm0
xorps xmm0, xmm0
fld qword [esp + 0x58]
cvtss2sd xmm0, xmm1
movsd qword [esp + 0x58], xmm0
fld qword [esp + 0x58]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [esp + 0x58]
movsd xmm2, qword [esp + 0x58]
xorps xmm0, xmm0
cvtpd2ps xmm2, xmm2
mulss xmm2, dword [0x100f915c]
comiss xmm0, xmm2
movss xmm0, dword [0x100f91d8]
jbe 0x10077fbd
addss xmm2, xmm0
jmp 0x10077fbd
movss xmm2, dword [esp + 0x24]
comiss xmm2, xmm0
movss xmm0, dword [0x100f91d8]
jbe 0x10077fb5
movss xmm2, dword [0x100f91d0]
jmp 0x10077fbd
movss xmm2, dword [0x100f918c]
comiss xmm2, dword [0x100f91b4]
jbe 0x10077fcc
subss xmm2, xmm0
jmp 0x10077fdd
movss xmm1, dword [0x100f9284]
comiss xmm1, xmm2
jbe 0x10077fdd
addss xmm2, xmm0
mulss xmm2, dword [0x100f8e54]
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
mulss xmm1, xmm0
cvtps2pd xmm0, xmm1
movss dword [esp + 0xe0], xmm1
movsd qword [esp + 0xb8], xmm0
movss xmm0, dword [ebp + 0x10]
mulss xmm0, dword [0x100f8e54]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x58], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movaps xmm3, xmm0
xorps xmm1, xmm1
movsd xmm0, qword [0x100f9020]
ucomisd xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1007804c
movaps xmm2, xmm0
divsd xmm2, xmm3
jmp 0x1007804f
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x18]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm2
comisd xmm1, xmm0
cvtpd2ps xmm2, xmm1
movss dword [esp + 0x14], xmm2
jae 0x100780a3
movsd xmm3, qword [0x100f9250]
comisd xmm3, xmm1
jae 0x100780a3
movss xmm0, dword [0x100f8ef4]
movaps xmm1, xmm2
mulss xmm1, xmm2
subss xmm0, xmm1
call fcn.10036210
movaps xmm1, xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x14]
jmp 0x100780ba
divsd xmm0, xmm1
xorps xmm1, xmm1
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x14], xmm0
call fcn.10035f20
movaps xmm2, xmm0
mulss xmm2, dword [0x100f915c]
comiss xmm2, dword [0x100f91b4]
movss dword [esp + 0x24], xmm2
jbe 0x100780e3
subss xmm2, dword [0x100f91d8]
jmp 0x100780f8
movss xmm0, dword [0x100f9284]
comiss xmm0, xmm2
jbe 0x100780fe
addss xmm2, dword [0x100f91d8]
movss dword [esp + 0x24], xmm2
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [0x100f8ef4]
movaps xmm2, xmm0
comiss xmm2, xmm1
jae 0x10078129
movss xmm3, dword [0x100f9248]
comiss xmm3, xmm2
jae 0x10078129
movss xmm4, dword [esp + 0x48]
jmp 0x10078133
movaps xmm0, xmm1
xorps xmm4, xmm4
divss xmm0, xmm2
movss xmm3, dword [esp + 0x20]
xorps xmm1, xmm1
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x10078154
movss xmm2, dword [esp + 0x14]
divss xmm2, xmm3
cvtps2pd xmm5, xmm2
jmp 0x10078157
xorps xmm5, xmm5
ucomiss xmm4, xmm1
xorps xmm3, xmm3
lahf
test ah, 0x44
jnp 0x1007816c
divss xmm0, xmm4
cvtps2pd xmm4, xmm0
jmp 0x1007816f
xorps xmm4, xmm4
movss xmm0, dword [ebp + 0x10]
xorps xmm2, xmm2
ucomiss xmm0, xmm1
movsd qword [esp + 0x30], xmm2
lahf
test ah, 0x44
jnp 0x100781e9
ucomisd xmm5, xmm3
lahf
test ah, 0x44
jnp 0x100781fc
ucomisd xmm4, xmm3
movsd xmm3, qword [0x100f9020]
lahf
test ah, 0x44
jnp 0x10078204
movaps xmm7, xmm5
movaps xmm6, xmm4
andps xmm7, xmmword [0x100fa800]
movaps xmm2, xmm3
andps xmm6, xmmword [0x100fa800]
comisd xmm6, xmm7
movsd qword [esp + 0x30], xmm2
jbe 0x100781d4
movaps xmm2, xmm5
divsd xmm2, xmm4
movsd qword [esp + 0x30], xmm2
jmp 0x10078204
comisd xmm7, xmm6
jbe 0x10078204
movaps xmm2, xmm4
divsd xmm2, xmm5
movsd qword [esp + 0x30], xmm2
jmp 0x10078204
movsd xmm3, qword [0x100f9020]
movaps xmm2, xmm3
movsd qword [esp + 0x30], xmm2
jmp 0x10078204
movsd xmm3, qword [0x100f9020]
comisd xmm2, xmm3
jbe 0x10078330
movsd xmm0, qword [0x100f9250]
comisd xmm0, xmm2
jbe 0x10078330
movaps xmm1, xmm2
mulsd xmm1, xmm2
subsd xmm3, xmm1
xorps xmm1, xmm1
movaps xmm0, xmm3
ucomisd xmm1, xmm0
ja 0x1007823d
sqrtsd xmm0, xmm0
jmp 0x10078242
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movss xmm1, dword [ebp + 0x10]
cvtsd2ss xmm0, xmm0
cvtps2pd xmm1, xmm1
movss dword [esp + 0x48], xmm0
xorps xmm0, xmm0
comisd xmm0, xmm1
jbe 0x10078264
xorps xmm1, xmmword [0x100fa810]
movsd xmm0, qword [0x100f9088]
lea eax, [esp + 0x94]
subsd xmm0, xmm1
mov dword [esp + 0x74], 0
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x80], 0
push eax
addsd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x80], xmm0
call fcn.10091a00
movsd xmm2, qword [esp + 0x30]
xorps xmm1, xmm1
movss xmm4, dword [esp + 0x48]
cvtpd2ps xmm2, xmm2
comiss xmm1, dword [ebp + 0x10]
movaps xmm3, xmm2
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x94]
mulss xmm3, dword [esp + 0x98]
mulss xmm2, dword [esp + 0xa4]
mulss xmm4, dword [esp + 0xa0]
addss xmm3, xmm0
movss xmm0, dword [esp + 0x9c]
mulss xmm0, xmm1
addss xmm2, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0xa8]
mulss xmm0, xmm1
addss xmm2, xmm0
movaps xmm1, xmm3
ja 0x1007831d
xorps xmm2, xmmword [0x100fa820]
movaps xmm0, xmm2
call fcn.10035f20
movaps xmm1, xmm0
mulss xmm1, dword [0x100f915c]
comiss xmm1, dword [0x100f91b4]
jbe 0x10078343
subss xmm1, dword [0x100f91d8]
jmp 0x10078358
movss xmm0, dword [0x100f9284]
comiss xmm0, xmm1
jbe 0x10078358
addss xmm1, dword [0x100f91d8]
mulss xmm1, dword [0x100f8e54]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movss dword [esp + 0x48], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [esp + 0x48]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x10]
xorps xmm2, xmm2
mulss xmm1, dword [esp + 0x20]
movss xmm7, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x50]
movaps xmm6, xmm7
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm7
movss xmm5, dword [esp + 0x20]
mulss xmm0, xmm1
movaps xmm4, xmm2
mulss xmm4, dword [esp + 0x10]
subss xmm3, xmm0
mulss xmm6, xmm2
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x38]
xorps xmm5, xmmword [0x100fa820]
subss xmm1, xmm0
movss dword [esp + 0x50], xmm3
movss xmm0, dword [esp + 0x28]
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x40]
movaps xmm3, xmm2
movss dword [esp + 0x38], xmm1
mulss xmm3, dword [esp + 0x50]
movss xmm1, dword [esp + 0x10]
mulss xmm2, dword [esp + 0x38]
movss dword [esp + 0x28], xmm0
addss xmm3, xmm6
movaps xmm0, xmm7
movss dword [esp + 0xe0], xmm6
mulss xmm0, dword [esp + 0x20]
addss xmm2, xmm4
mulss xmm6, dword [esp + 0x2c]
mulss xmm7, xmm0
mulss xmm1, xmm0
subss xmm7, dword [esp + 8]
movss xmm0, dword [esp + 0x2c]
subss xmm1, dword [esp + 0x44]
mulss xmm0, xmm7
movss dword [esp + 0xdc], xmm1
movss dword [esp + 0xd8], xmm7
addss xmm3, xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm1
addss xmm2, xmm0
movss dword [esp + 8], xmm3
movss xmm0, dword [esp + 0x40]
movaps xmm1, xmm3
mulss xmm0, dword [esp + 0x28]
mulss xmm1, xmm3
addss xmm0, xmm5
mulss xmm2, xmm2
addss xmm2, xmm1
addss xmm0, xmm6
movaps xmm1, xmm0
movss dword [esp + 0x20], xmm0
mulss xmm0, xmm1
addss xmm0, xmm2
call fcn.10036210
ucomiss xmm0, dword [0x100f8e18]
movss xmm1, dword [esp + 8]
lahf
test ah, 0x44
jnp 0x100784ec
movss xmm2, dword [0x100f8ef4]
divss xmm2, xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm1, xmm2
mulss xmm0, xmm2
jmp 0x100784f2
movss xmm0, dword [esp + 0x20]
call fcn.10035f20
mulss xmm0, dword [0x100f915c]
movss xmm2, dword [ebp + 0x10]
movss xmm4, dword [0x100f91b4]
movss xmm3, dword [0x100f9284]
addss xmm0, xmm2
movss xmm1, dword [0x100f91d8]
comiss xmm0, xmm4
jbe 0x1007852b
subss xmm0, xmm1
jmp 0x10078534
comiss xmm3, xmm0
jbe 0x10078534
addss xmm0, xmm1
movss xmm5, dword [esp + 0x24]
comiss xmm5, xmm4
jbe 0x10078545
subss xmm5, xmm1
jmp 0x1007854e
comiss xmm3, xmm5
jbe 0x1007854e
addss xmm5, xmm1
addss xmm2, xmm0
movss xmm0, dword [ebp + 0x14]
addss xmm0, xmm5
xorps xmm5, xmm5
movss dword [esp + 0x18], xmm5
comiss xmm2, xmm4
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x10], xmm0
jbe 0x1007857b
subss xmm2, xmm1
jmp 0x10078584
comiss xmm3, xmm2
jbe 0x1007858a
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm2
comiss xmm0, xmm4
jbe 0x10078595
subss xmm0, xmm1
jmp 0x1007859e
comiss xmm3, xmm0
jbe 0x100785a4
addss xmm0, xmm1
movss dword [esp + 0x10], xmm0
mov esi, 5
nop dword [eax]
movaps xmm0, xmm2
mulss xmm0, dword [0x100f8e54]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100f8e54]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [esp + 0x18]
mulss xmm1, dword [0x100f8e54]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x50], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x38], xmm0
movsd xmm0, qword [esp + 0x48]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
movsd xmm0, qword [esp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm7, dword [esp + 0x48]
xorps xmm2, xmm2
movss xmm6, dword [esp + 0x20]
movaps xmm5, xmm7
cvtsd2ss xmm2, xmm0
movss xmm1, dword [esp + 0x28]
movaps xmm0, xmm7
mulss xmm0, dword [esp + 0x38]
movaps xmm3, xmm6
mulss xmm1, dword [esp + 8]
xorps xmm3, xmmword [0x100fa820]
movss dword [esp + 0x48], xmm0
movaps xmm4, xmm3
movss xmm0, dword [esp + 0x38]
mulss xmm0, xmm6
movss dword [esp + 0x50], xmm2
mulss xmm2, dword [0x100f9248]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 8]
xorps xmm0, xmmword [0x100fa820]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm4, xmm2
mulss xmm5, xmm2
movaps xmm2, xmm7
mulss xmm7, dword [esp + 0x28]
subss xmm4, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x50]
mulss xmm1, dword [esp + 8]
subss xmm5, xmm0
movss xmm0, dword [esp + 0x28]
movaps xmm6, xmm0
mulss xmm0, xmm3
mulss xmm6, dword [0x100f9248]
movss xmm3, dword [esp + 0x40]
mulss xmm2, xmm1
mulss xmm6, dword [esp + 0x38]
subss xmm2, xmm0
mulss xmm3, xmm4
movss xmm0, dword [esp + 0x20]
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x50]
mulss xmm1, dword [esp + 0x38]
subss xmm0, xmm7
movss dword [esp + 0xd8], xmm2
movss dword [esp + 0xe0], xmm1
movss dword [esp + 0xdc], xmm0
movss xmm7, dword [esp + 0x2c]
addss xmm3, dword [esp + 0x48]
mulss xmm2, xmm7
mulss xmm0, xmm7
addss xmm3, xmm2
movss xmm2, dword [esp + 0x40]
movaps xmm4, xmm2
mulss xmm2, xmm6
mulss xmm4, xmm5
addss xmm2, dword [esp + 0x30]
movss dword [esp + 0x44], xmm3
addss xmm4, dword [esp + 0x14]
addss xmm4, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm2, xmm0
movss dword [esp + 0x24], xmm4
movaps xmm0, xmm4
mulss xmm0, xmm4
movss dword [esp + 0x14], xmm2
addss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10036210
movss xmm2, dword [esp + 0x44]
movaps xmm1, xmm0
ucomiss xmm1, dword [0x100f8e18]
movss xmm3, dword [esp + 0x24]
lahf
test ah, 0x44
jnp 0x1007881c
movss xmm0, dword [0x100f8ef4]
divss xmm0, xmm1
movss xmm1, dword [esp + 0x14]
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm1, xmm0
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x14], xmm1
movaps xmm0, xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10036210
movss xmm1, dword [esp + 0x14]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x100788f6
xorps xmm1, xmmword [0x100fa820]
cvtss2sd xmm1, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x30], xmm1
fld qword [esp + 0x30]
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
xorps xmm5, xmm5
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x100f915c]
comiss xmm5, xmm0
movss dword [esp + 0x14], xmm0
jbe 0x1007889f
addss xmm0, dword [0x100f91d8]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x24]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x44]
fld qword [esp + 0x30]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm4, dword [0x100f91d8]
xorps xmm0, xmm0
fstp qword [esp + 0x30]
movsd xmm3, qword [esp + 0x30]
cvtpd2ps xmm3, xmm3
mulss xmm3, dword [0x100f915c]
comiss xmm0, xmm3
jbe 0x1007891e
addss xmm3, xmm4
jmp 0x1007891e
comiss xmm1, xmm2
jbe 0x10078905
movss xmm0, dword [0x100f91d0]
jmp 0x1007890d
movss xmm0, dword [0x100f918c]
movss xmm4, dword [0x100f91d8]
xorps xmm3, xmm3
movss dword [esp + 0x14], xmm0
movss xmm1, dword [esp + 0x14]
movss xmm6, dword [0x100f91b4]
comiss xmm1, xmm6
movss xmm5, dword [0x100f9284]
jbe 0x1007893f
subss xmm1, xmm4
jmp 0x10078948
comiss xmm5, xmm1
jbe 0x10078948
addss xmm1, xmm4
comiss xmm3, xmm6
jbe 0x10078953
subss xmm3, xmm4
jmp 0x1007895c
comiss xmm5, xmm3
jbe 0x1007895c
addss xmm3, xmm4
movss xmm7, dword [ebp + 0x10]
movss xmm0, dword [ebp + 0x14]
movaps xmm2, xmm7
subss xmm2, xmm1
movss xmm1, dword [esp + 0x10]
subss xmm0, xmm3
addss xmm2, dword [esp + 0x1c]
addss xmm1, xmm0
comiss xmm2, xmm6
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x10], xmm1
jbe 0x10078998
subss xmm2, xmm4
jmp 0x100789a1
comiss xmm5, xmm2
jbe 0x100789a7
addss xmm2, xmm4
movss dword [esp + 0x1c], xmm2
comiss xmm1, xmm6
jbe 0x100789b2
subss xmm1, xmm4
jmp 0x100789bb
comiss xmm5, xmm1
jbe 0x100789c1
addss xmm1, xmm4
movss dword [esp + 0x10], xmm1
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm6
jbe 0x100789d2
subss xmm0, xmm4
jmp 0x100789db
comiss xmm5, xmm0
jbe 0x100789e1
addss xmm0, xmm4
movss dword [esp + 0x18], xmm0
sub esi, 1
jne 0x100785b0
cmp dword [ebp + 0x20], 4
jne 0x10078e52
movsd xmm3, qword [esp + 0x80]
cvtps2pd xmm4, xmm7
comisd xmm4, xmm3
ja 0x10078a17
xorps xmm3, xmmword [0x100fa810]
comisd xmm3, xmm4
jbe 0x10078e52
mulss xmm2, dword [0x100f8e54]
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100f8e54]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x100f8e54]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 8], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 8]
mulss xmm1, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x20]
mulss xmm1, dword [esp + 0x48]
subss xmm1, xmm0
movsd xmm0, qword [esp + 0x58]
movss dword [esp + 0x30], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp + 0x14]
mulss xmm0, dword [0x100f8e54]
movss dword [esp + 0x48], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x30]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [esp + 0xb8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_asin_precise
movsd xmm1, qword [esp + 0xc8]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x100f915c]
mulss xmm0, dword [0x100f8ef4]
cvtss2sd xmm0, xmm0
subsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
mulss xmm1, dword [0x100f8e54]
cvtps2pd xmm0, xmm1
movsd qword [esp + 0xb8], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x58]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x48]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x38], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x30], xmm0
movsd xmm0, qword [esp + 0xb8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm7, dword [esp + 0x30]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [esp + 0x38]
movaps xmm1, xmm7
movss dword [esp + 0x50], xmm2
mulss xmm1, xmm0
movss xmm6, dword [esp + 0x20]
movaps xmm5, xmm7
mulss xmm2, dword [0x100f9248]
movaps xmm3, xmm6
xorps xmm3, xmmword [0x100fa820]
mulss xmm0, xmm6
movaps xmm4, xmm3
movss dword [esp + 0x30], xmm1
movss xmm1, dword [esp + 0x28]
mulss xmm1, dword [esp + 8]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 8]
xorps xmm0, xmmword [0x100fa820]
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm4, xmm2
mulss xmm5, xmm2
movaps xmm2, xmm7
mulss xmm7, dword [esp + 0x28]
subss xmm4, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x50]
mulss xmm1, dword [esp + 8]
subss xmm5, xmm0
movss xmm0, dword [esp + 0x28]
movaps xmm6, xmm0
mulss xmm0, xmm3
movss xmm3, dword [esp + 0x20]
mulss xmm6, dword [0x100f9248]
mulss xmm2, xmm1
mulss xmm6, dword [esp + 0x38]
mulss xmm3, xmm1
subss xmm2, xmm0
movss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x50]
mulss xmm1, dword [esp + 0x38]
subss xmm3, xmm7
movss xmm7, dword [esp + 0xc]
mulss xmm7, xmm4
movss xmm4, dword [esp + 0xc]
mulss xmm0, xmm2
addss xmm7, dword [esp + 0x30]
movss dword [esp + 0xd8], xmm2
movaps xmm2, xmm4
mulss xmm2, xmm5
movss xmm5, dword [esp + 0x3c]
addss xmm7, xmm0
mulss xmm4, xmm6
addss xmm2, dword [esp + 0x48]
movaps xmm0, xmm5
movss dword [esp + 0xe0], xmm1
addss xmm4, dword [esp + 0x14]
mulss xmm0, xmm3
mulss xmm5, xmm1
movaps xmm1, xmm7
addss xmm2, xmm0
mulss xmm1, xmm7
addss xmm4, xmm5
movss dword [esp + 0xdc], xmm3
movss dword [esp + 0x30], xmm7
movss dword [esp + 0xb8], xmm7
movaps xmm0, xmm2
movss dword [esp + 0x48], xmm2
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm4
movss dword [esp + 0xbc], xmm2
addss xmm0, xmm1
movss dword [esp + 0xc0], xmm4
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.10036210
ucomiss xmm0, dword [0x100f8e18]
lahf
test ah, 0x44
jnp 0x10078d8b
movss xmm1, dword [0x100f8ef4]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x30]
movss dword [esp + 0xb8], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x48]
mulss xmm1, dword [esp + 0xc]
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0xc0], xmm1
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xc0]
call fcn.10091b90
movss xmm5, dword [0x100f91b4]
movss xmm4, dword [0x100f9284]
movss xmm3, dword [0x100f91d8]
movss xmm2, dword [eax]
comiss xmm2, xmm5
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax + 8]
jbe 0x10078dd5
subss xmm2, xmm3
jmp 0x10078dde
comiss xmm4, xmm2
jbe 0x10078dde
addss xmm2, xmm3
comiss xmm1, xmm5
jbe 0x10078de9
subss xmm1, xmm3
jmp 0x10078df2
comiss xmm4, xmm1
jbe 0x10078df2
addss xmm1, xmm3
comiss xmm0, xmm5
jbe 0x10078dfd
subss xmm0, xmm3
jmp 0x10078e06
comiss xmm4, xmm0
jbe 0x10078e06
addss xmm0, xmm3
comiss xmm2, xmm5
cvtps2pd xmm0, xmm0
addsd xmm0, qword [esp + 0xc8]
cvtpd2ps xmm0, xmm0
jbe 0x10078e21
subss xmm2, xmm3
jmp 0x10078e2a
comiss xmm4, xmm2
jbe 0x10078e2a
addss xmm2, xmm3
comiss xmm1, xmm5
jbe 0x10078e35
subss xmm1, xmm3
jmp 0x10078e3e
comiss xmm4, xmm1
jbe 0x10078e3e
addss xmm1, xmm3
comiss xmm0, xmm5
jbe 0x10078e49
subss xmm0, xmm3
jmp 0x10078e52
comiss xmm4, xmm0
jbe 0x10078e52
addss xmm0, xmm3
mov eax, dword [esp + 0x64]
movss dword [eax + 4], xmm1
movss dword [eax + 8], xmm0
movss dword [eax], xmm2
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
xor ecx, esp
call fcn.100bceb5
mov esp, ebp
pop ebp
ret 0x1c