Function at 0x14006c5a0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x360
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x14012d080]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
mov rbx, rcx
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
lea rsi, [rbp + 0x288]
movabs r15, 0xff00ff00ff00ff00
mov qword [rbp + 0x178], r15
mov qword [rbp + 0x180], rsi
mov r14, qword [rsi]
xor r14, r15
mov qword [rbp + 0x170], r14
mov qword [rsi], r13
mov rax, qword [0x140369d60]
mov rdx, qword [rax]
mov rax, qword [0x140369db8]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp + 0x50]
call fcn.140062010
test al, al
mov edx, r13d
je 0x14006c683
mov rdx, qword [rbp + 0x50]
mov rax, qword [0x140369d60]
add rdx, qword [rax + 0x10]
mov r9d, 8
lea r8, [rbp + 0x50]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006c6a8
mov rdx, qword [rbp + 0x50]
mov rax, qword [0x140369d60]
add rdx, qword [rax + 0x18]
mov r9d, 8
lea r8, [rbp + 0x50]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006c6cd
mov rdx, qword [rbp + 0x50]
mov r9d, 8
lea r8, [rbp + 0x50]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006c6e7
mov rdx, qword [rbp + 0x50]
mov rax, qword [0x140369d60]
add rdx, qword [rax + 0x38]
mov r9d, 8
lea r8, [rbp + 0xa0]
call fcn.140062010
test al, al
jne 0x14006c714
mov r12, r13
mov qword [rbp + 0xa0], r13
jmp 0x14006c71b
mov r12, qword [rbp + 0xa0]
mov rax, qword [0x140369db8]
movd xmm7, dword [rax + 0x10]
cvtdq2pd xmm7, xmm7
mulsd xmm7, qword [0x140118968]
movsd qword [rsp + 0x50], xmm7
movd xmm8, dword [rax + 0xc]
cvtdq2pd xmm8, xmm8
mulsd xmm8, qword [0x140118968]
movsd qword [rbp + 0xa0], xmm8
xorps xmm15, xmm15
xorps xmm11, xmm11
xorps xmm12, xmm12
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0x70]
add rdx, rbx
mov r9d, 8
lea r8, [rbp + 0x50]
call fcn.140062010
test al, al
jne 0x14006c78c
mov rdi, r13
mov qword [rbp + 0x50], r13
jmp 0x14006c790
mov rdi, qword [rbp + 0x50]
mov rax, qword [0x140369d38]
mov ecx, dword [rax + 8]
movsd xmm13, qword [0x140118df0]
test ecx, ecx
jne 0x14006cf1d
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], rax
mov rsi, qword [rax]
xor rsi, r15
mov qword [rbp + 0x38], rsi
mov qword [rax], r13
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xb0]
add rdx, rdi
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.140062010
test al, al
mov rcx, r13
je 0x14006c7f9
mov rcx, qword [rbp + 0x28]
test rcx, rcx
jne 0x14006c82d
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xb0]
add rdx, 0x10
add rdx, rdi
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.140062010
test al, al
mov rcx, r13
je 0x14006c82d
mov rcx, qword [rbp + 0x28]
mov rax, qword [0x140369d60]
imul rdx, qword [rax + 0xb8], 0x6d
add rdx, rcx
movups xmmword [rbp + 0x138], xmm15
movsd qword [rbp + 0x130], xmm15
movups xmmword [rbp + 0x158], xmm15
movsd qword [rbp + 0x150], xmm15
mov r9d, 0x60
lea r8, [rbp + 0x110]
call fcn.140062010
test al, al
jne 0x14006c8a4
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xa8]
add rdx, rdi
movups xmmword [rbp + 0xd8], xmm15
movsd qword [rbp + 0xd0], xmm15
movups xmmword [rbp + 0xf8], xmm15
movsd qword [rbp + 0xf0], xmm15
mov r9d, 0x60
lea r8, [rbp + 0xb0]
call fcn.140062010
test al, al
jne 0x14006c91a
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xb0]
call fcn.14006b350
movups xmm7, xmmword [rax]
movups xmm8, xmmword [rax + 0x10]
movups xmm10, xmmword [rax + 0x20]
movups xmm11, xmmword [rax + 0x30]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x110]
call fcn.14006b350
movups xmm9, xmmword [rax + 0x30]
movaps xmm1, xmm9
mulss xmm1, xmm7
movaps xmm6, xmm9
shufps xmm6, xmm9, 0x55
movaps xmm0, xmm6
mulss xmm0, xmm8
addss xmm1, xmm0
movaps xmm5, xmm9
shufps xmm5, xmm9, 0xaa
movaps xmm0, xmm5
mulss xmm0, xmm10
addss xmm1, xmm0
movaps xmm4, xmm9
shufps xmm4, xmm9, 0xff
movaps xmm0, xmm4
mulss xmm0, xmm11
addss xmm1, xmm0
xorps xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd qword [rbp + 0x20], xmm2
movaps xmm3, xmm9
movaps xmm0, xmm7
shufps xmm0, xmm7, 0x55
mulss xmm3, xmm0
movaps xmm2, xmm6
movaps xmm1, xmm8
shufps xmm1, xmm8, 0x55
mulss xmm2, xmm1
addss xmm3, xmm2
movaps xmm1, xmm5
movaps xmm0, xmm10
shufps xmm0, xmm10, 0x55
mulss xmm1, xmm0
addss xmm3, xmm1
movaps xmm2, xmm4
movaps xmm0, xmm11
shufps xmm0, xmm11, 0x55
mulss xmm2, xmm0
addss xmm3, xmm2
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movsd qword [rsp + 0x40], xmm0
shufps xmm7, xmm7, 0xaa
mulss xmm9, xmm7
shufps xmm8, xmm8, 0xaa
mulss xmm6, xmm8
addss xmm9, xmm6
shufps xmm10, xmm10, 0xaa
mulss xmm5, xmm10
addss xmm9, xmm5
shufps xmm11, xmm11, 0xaa
mulss xmm4, xmm11
addss xmm9, xmm4
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
movsd qword [rsp + 0x48], xmm0
xor rsi, r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], rax
xor rsi, r15
mov qword [rbp + 0x38], rsi
movups xmmword [rbp + 0x80], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x80], r15
mov qword [rax], r13
mov rax, qword [0x140369d60]
mov rdx, qword [rax]
mov rax, qword [0x140369db8]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.140062010
test al, al
mov rbx, r13
je 0x14006cab4
mov rbx, qword [rbp + 0x28]
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0x10]
add rdx, rbx
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006cadc
mov rdx, qword [rbp + 0x28]
mov rax, qword [0x140369d60]
add rdx, qword [rax + 0x18]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006cb01
mov rdx, qword [rbp + 0x28]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006cb1b
mov rdx, qword [rbp + 0x28]
mov rax, qword [0x140369d60]
add rdx, qword [rax + 0x38]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.140062010
test al, al
mov r15, r13
je 0x14006cb40
mov r15, qword [rbp + 0x28]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.140062010
test al, al
mov rdi, r13
je 0x14006cb61
mov rdi, qword [rbp + 0x28]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.140062010
test al, al
mov rbx, r13
je 0x14006cb82
mov rbx, qword [rbp + 0x28]
mov r9d, 8
lea r8, [rbp + 0x28]
mov rdx, rbx
call fcn.140062010
test al, al
jne 0x14006cb9e
xorps xmm8, xmm8
jmp 0x14006cba4
movsd xmm8, qword [rbp + 0x28]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.140062010
test al, al
jne 0x14006cbc1
xorps xmm9, xmm9
jmp 0x14006cbc7
movsd xmm9, qword [rbp + 0x28]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.140062010
test al, al
jne 0x14006cbe6
xorps xmm6, xmm6
jmp 0x14006cbeb
movsd xmm6, qword [rbp + 0x28]
movups xmmword [rbp + 0x68], xmm15
movsd qword [rbp + 0x60], xmm15
mov r9d, Ordinal_27
lea r8, [rbp + 0x60]
mov rdx, rdi
call fcn.140062010
test al, al
jne 0x14006cc19
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x60], xmm2
mov qword [rbp + 0x70], rax
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm10, xmm0
mulsd xmm10, qword [0x1401189b8]
movsd xmm7, qword [0x140118b58]
mulsd xmm8, xmm7
movaps xmm1, xmm9
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm9, xmm0
mulsd xmm9, qword [0x1401189b8]
mulsd xmm9, xmm7
mulsd xmm9, xmm7
lea rdx, [r15 + 0x394]
mov r9d, 4
lea r8, [rbp + 0x30]
call fcn.140062010
test al, al
jne 0x14006cc83
xorps xmm0, xmm0
movss dword [rbp + 0x30], xmm0
jmp 0x14006cc88
movss xmm0, dword [rbp + 0x30]
mulss xmm0, dword [0x140118a94]
movss dword [rsp + 0x30], xmm0
lea rbx, [rbp + 0x288]
mulsd xmm10, qword [0x140118980]
divsd xmm10, qword [0x1401189d8]
mulsd xmm9, qword [0x140118980]
divsd xmm9, qword [0x1401189d8]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm10
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm9
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm12, xmm12
cvtss2sd xmm12, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movaps xmm3, xmm9
mulsd xmm3, xmm7
movaps xmm5, xmm4
mulsd xmm5, xmm7
movabs r15, 0xff00ff00ff00ff00
mov rax, r15
xor rax, r15
mov qword [rbx], rax
cvtpd2ps xmm0, xmm7
cvtps2pd xmm10, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm6, xmm0
movaps xmm2, xmm12
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm14, xmm0
movaps xmm1, xmm9
xorps xmm1, xmm13
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm13, xmm0
movaps xmm2, xmm11
mulsd xmm2, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm12
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm11
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm2, xmm0
movsd qword [rsp + 0x38], xmm2
mulsd xmm4, xmm8
cvtpd2ps xmm0, xmm4
cvtps2pd xmm3, xmm0
movaps xmm1, xmm9
mulsd xmm1, xmm12
movaps xmm0, xmm11
mulsd xmm0, xmm5
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm2, xmm0
mulsd xmm12, xmm5
mulsd xmm9, xmm11
addsd xmm12, xmm9
xorps xmm12, xmmword [0x140118df0]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm12
cvtps2pd xmm9, xmm0
movsd xmm4, qword [rsp + 0x48]
subsd xmm4, qword [rbp + 0x70]
movsd xmm5, qword [rsp + 0x40]
subsd xmm5, qword [rbp + 0x68]
movsd xmm8, qword [rbp + 0x20]
subsd xmm8, qword [rbp + 0x60]
mulsd xmm14, xmm8
movaps xmm0, xmm5
mulsd xmm0, xmm6
addsd xmm14, xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm10
addsd xmm14, xmm1
mulsd xmm9, xmm8
movaps xmm0, xmm5
mulsd xmm0, xmm2
addsd xmm9, xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm3
addsd xmm9, xmm1
movsd xmm11, qword [rsp + 0x38]
mulsd xmm11, xmm8
mulsd xmm5, xmm7
addsd xmm11, xmm5
mulsd xmm4, xmm13
addsd xmm11, xmm4
movsd xmm8, qword [0x140118970]
maxsd xmm8, xmm14
mov rbx, qword [0x140369db8]
xorps xmm7, xmm7
cvtsi2ss xmm7, dword [rbx + 0xc]
mulss xmm7, dword [0x140118918]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x1401189b0]
divss xmm0, dword [0x140118ae4]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, dword [rbx + 0x10]
mulss xmm2, dword [0x140118918]
cvtps2pd xmm12, xmm2
mulsd xmm9, xmm3
divsd xmm9, xmm8
subsd xmm12, xmm9
mulsd xmm11, xmm3
divsd xmm11, xmm8
cvtps2pd xmm0, xmm7
addsd xmm11, xmm0
jmp 0x14006e4e4
cmp ecx, 1
jne 0x14006d6a8
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], rax
mov rsi, qword [rax]
xor rsi, r15
mov qword [rbp + 0x38], rsi
mov qword [rax], r13
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xb0]
add rdx, rdi
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rcx, r13
je 0x14006cf74
mov rcx, qword [rbp + 0x20]
test rcx, rcx
jne 0x14006cfa8
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xb0]
add rdx, 0x10
add rdx, rdi
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rcx, r13
je 0x14006cfa8
mov rcx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
imul rdx, qword [rax + 0xb8], 0x43
add rdx, rcx
movups xmmword [rbp + 0xd8], xmm15
movsd qword [rbp + 0xd0], xmm15
movups xmmword [rbp + 0xf8], xmm15
movsd qword [rbp + 0xf0], xmm15
mov r9d, 0x60
lea r8, [rbp + 0xb0]
call fcn.140062010
test al, al
jne 0x14006d01f
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xa8]
add rdx, rdi
movups xmmword [rbp + 0x138], xmm15
movsd qword [rbp + 0x130], xmm15
movups xmmword [rbp + 0x158], xmm15
movsd qword [rbp + 0x150], xmm15
mov r9d, 0x60
lea r8, [rbp + 0x110]
call fcn.140062010
test al, al
jne 0x14006d095
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x110]
call fcn.14006b350
movups xmm7, xmmword [rax]
movups xmm8, xmmword [rax + 0x10]
movups xmm10, xmmword [rax + 0x20]
movups xmm11, xmmword [rax + 0x30]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xb0]
call fcn.14006b350
movups xmm9, xmmword [rax + 0x30]
movaps xmm1, xmm9
mulss xmm1, xmm7
movaps xmm6, xmm9
shufps xmm6, xmm9, 0x55
movaps xmm0, xmm6
mulss xmm0, xmm8
addss xmm1, xmm0
movaps xmm5, xmm9
shufps xmm5, xmm9, 0xaa
movaps xmm0, xmm5
mulss xmm0, xmm10
addss xmm1, xmm0
movaps xmm4, xmm9
shufps xmm4, xmm9, 0xff
movaps xmm0, xmm4
mulss xmm0, xmm11
addss xmm1, xmm0
xorps xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd qword [rsp + 0x38], xmm2
movaps xmm3, xmm9
movaps xmm0, xmm7
shufps xmm0, xmm7, 0x55
mulss xmm3, xmm0
movaps xmm2, xmm6
movaps xmm1, xmm8
shufps xmm1, xmm8, 0x55
mulss xmm2, xmm1
addss xmm3, xmm2
movaps xmm1, xmm5
movaps xmm0, xmm10
shufps xmm0, xmm10, 0x55
mulss xmm1, xmm0
addss xmm3, xmm1
movaps xmm2, xmm4
movaps xmm0, xmm11
shufps xmm0, xmm11, 0x55
mulss xmm2, xmm0
addss xmm3, xmm2
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movsd qword [rsp + 0x48], xmm0
shufps xmm7, xmm7, 0xaa
mulss xmm9, xmm7
shufps xmm8, xmm8, 0xaa
mulss xmm6, xmm8
addss xmm9, xmm6
shufps xmm10, xmm10, 0xaa
mulss xmm5, xmm10
addss xmm9, xmm5
shufps xmm11, xmm11, 0xaa
mulss xmm4, xmm11
addss xmm9, xmm4
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
movsd qword [rsp + 0x40], xmm0
xor rsi, r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], rax
xor rsi, r15
mov qword [rbp + 0x38], rsi
movups xmmword [rbp + 0x80], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x80], r15
mov qword [rax], r13
mov rax, qword [0x140369d60]
mov rdx, qword [rax]
mov rax, qword [0x140369db8]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rbx, r13
je 0x14006d230
mov rbx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0x10]
add rdx, rbx
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006d258
mov rdx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
add rdx, qword [rax + 0x18]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006d27d
mov rdx, qword [rbp + 0x20]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006d297
mov rdx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
add rdx, qword [rax + 0x38]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov r15, r13
je 0x14006d2bc
mov r15, qword [rbp + 0x20]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdi, r13
je 0x14006d2dd
mov rdi, qword [rbp + 0x20]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rbx, r13
je 0x14006d2fe
mov rbx, qword [rbp + 0x20]
mov r9d, 8
lea r8, [rbp + 0x20]
mov rdx, rbx
call fcn.140062010
test al, al
jne 0x14006d31a
xorps xmm8, xmm8
jmp 0x14006d320
movsd xmm8, qword [rbp + 0x20]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
jne 0x14006d33d
xorps xmm10, xmm10
jmp 0x14006d343
movsd xmm10, qword [rbp + 0x20]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
jne 0x14006d362
xorps xmm6, xmm6
jmp 0x14006d367
movsd xmm6, qword [rbp + 0x20]
movups xmmword [rbp + 0x68], xmm15
movsd qword [rbp + 0x60], xmm15
mov r9d, Ordinal_27
lea r8, [rbp + 0x60]
mov rdx, rdi
call fcn.140062010
test al, al
jne 0x14006d395
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x60], xmm2
mov qword [rbp + 0x70], rax
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm9, xmm0
mulsd xmm9, qword [0x1401189b8]
movsd xmm7, qword [0x140118b58]
mulsd xmm8, xmm7
movaps xmm1, xmm10
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm8, xmm0
mulsd xmm8, qword [0x1401189b8]
mulsd xmm8, xmm7
mulsd xmm8, xmm7
lea rdx, [r15 + 0x394]
mov r9d, 4
lea r8, [rbp + 0x30]
call fcn.140062010
test al, al
jne 0x14006d3ff
xorps xmm0, xmm0
movss dword [rbp + 0x30], xmm0
jmp 0x14006d404
movss xmm0, dword [rbp + 0x30]
mulss xmm0, dword [0x140118a94]
movss dword [rsp + 0x30], xmm0
lea rbx, [rbp + 0x288]
mulsd xmm9, qword [0x140118980]
divsd xmm9, qword [0x1401189d8]
mulsd xmm8, qword [0x140118980]
divsd xmm8, qword [0x1401189d8]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm9
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm12, xmm12
cvtss2sd xmm12, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movaps xmm3, xmm12
mulsd xmm3, xmm7
movaps xmm8, xmm4
mulsd xmm8, xmm7
movabs r15, 0xff00ff00ff00ff00
mov rax, r15
xor rax, r15
mov qword [rbx], rax
cvtpd2ps xmm0, xmm7
cvtps2pd xmm14, xmm0
movaps xmm1, xmm15
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm10, xmm0
movaps xmm2, xmm11
mulsd xmm2, xmm9
cvtpd2ps xmm0, xmm2
cvtps2pd xmm6, xmm0
movaps xmm1, xmm12
xorps xmm1, xmm13
mulsd xmm1, xmm9
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [rbp + 0x20], xmm0
movaps xmm2, xmm3
mulsd xmm2, xmm15
movaps xmm0, xmm4
mulsd xmm0, xmm11
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm13, xmm0
mulsd xmm3, xmm11
movaps xmm0, xmm4
mulsd xmm0, xmm15
subsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
cvtps2pd xmm7, xmm0
mulsd xmm4, xmm9
cvtpd2ps xmm0, xmm4
cvtps2pd xmm5, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm11
movaps xmm0, xmm8
mulsd xmm0, xmm15
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
mulsd xmm8, xmm11
mulsd xmm12, xmm15
addsd xmm8, xmm12
xorps xmm8, xmmword [0x140118df0]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm8
cvtps2pd xmm2, xmm0
movsd xmm8, qword [rsp + 0x40]
subsd xmm8, qword [rbp + 0x70]
movsd xmm12, qword [rsp + 0x48]
subsd xmm12, qword [rbp + 0x68]
movsd xmm11, qword [rsp + 0x38]
subsd xmm11, qword [rbp + 0x60]
movaps xmm4, xmm11
mulsd xmm4, xmm6
movaps xmm0, xmm12
mulsd xmm0, xmm10
addsd xmm4, xmm0
movaps xmm1, xmm8
mulsd xmm1, xmm14
addsd xmm4, xmm1
movaps xmm9, xmm11
mulsd xmm9, xmm2
movaps xmm0, xmm12
mulsd xmm0, xmm3
addsd xmm9, xmm0
movaps xmm1, xmm8
mulsd xmm1, xmm5
addsd xmm9, xmm1
mulsd xmm11, xmm7
mulsd xmm12, xmm13
addsd xmm11, xmm12
mulsd xmm8, qword [rbp + 0x20]
addsd xmm11, xmm8
movsd xmm8, qword [0x140118970]
maxsd xmm8, xmm4
mov rbx, qword [0x140369db8]
xorps xmm7, xmm7
cvtsi2ss xmm7, dword [rbx + 0xc]
mulss xmm7, dword [0x140118918]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x1401189b0]
divss xmm0, dword [0x140118ae4]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, dword [rbx + 0x10]
mulss xmm2, dword [0x140118918]
cvtps2pd xmm12, xmm2
movaps xmm0, xmm3
mulsd xmm0, xmm9
divsd xmm0, xmm8
subsd xmm12, xmm0
mulsd xmm11, xmm3
divsd xmm11, xmm8
cvtps2pd xmm0, xmm7
addsd xmm11, xmm0
xorps xmm15, xmm15
jmp 0x14006e4e4
cmp ecx, 2
jne 0x14006e510
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], rax
mov rsi, qword [rax]
xor rsi, r15
mov qword [rbp + 0x38], rsi
mov qword [rax], r13
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xb0]
add rdx, rdi
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rcx, r13
je 0x14006d6ff
mov rcx, qword [rbp + 0x20]
test rcx, rcx
jne 0x14006d733
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xb0]
add rdx, 0x10
add rdx, rdi
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rcx, r13
je 0x14006d733
mov rcx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
imul rdx, qword [rax + 0xb8], 0x25
add rdx, rcx
movups xmmword [rbp + 0xd8], xmm15
movsd qword [rbp + 0xd0], xmm15
movups xmmword [rbp + 0xf8], xmm15
movsd qword [rbp + 0xf0], xmm15
mov r9d, 0x60
lea r8, [rbp + 0xb0]
call fcn.140062010
test al, al
jne 0x14006d7aa
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xa8]
add rdx, rdi
movups xmmword [rbp + 0x138], xmm15
movsd qword [rbp + 0x130], xmm15
movups xmmword [rbp + 0x158], xmm15
movsd qword [rbp + 0x150], xmm15
mov r9d, 0x60
lea r8, [rbp + 0x110]
call fcn.140062010
test al, al
jne 0x14006d820
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x110]
call fcn.14006b350
movups xmm8, xmmword [rax]
movups xmm11, xmmword [rax + 0x10]
movups xmm9, xmmword [rax + 0x20]
movups xmm10, xmmword [rax + 0x30]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xb0]
call fcn.14006b350
movups xmm7, xmmword [rax + 0x30]
movaps xmm1, xmm7
mulss xmm1, xmm8
movaps xmm4, xmm7
shufps xmm4, xmm7, 0x55
movaps xmm0, xmm4
mulss xmm0, xmm11
addss xmm1, xmm0
movaps xmm6, xmm7
shufps xmm6, xmm7, 0xaa
movaps xmm0, xmm6
mulss xmm0, xmm9
addss xmm1, xmm0
movaps xmm5, xmm7
shufps xmm5, xmm7, 0xff
movaps xmm0, xmm5
mulss xmm0, xmm10
addss xmm1, xmm0
xorps xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd qword [rsp + 0x48], xmm2
movaps xmm3, xmm7
movaps xmm0, xmm8
shufps xmm0, xmm8, 0x55
mulss xmm3, xmm0
movaps xmm2, xmm4
movaps xmm1, xmm11
shufps xmm1, xmm11, 0x55
mulss xmm2, xmm1
addss xmm3, xmm2
movaps xmm1, xmm6
movaps xmm0, xmm9
shufps xmm0, xmm9, 0x55
mulss xmm1, xmm0
addss xmm3, xmm1
movaps xmm0, xmm10
shufps xmm0, xmm10, 0x55
mulss xmm0, xmm5
addss xmm3, xmm0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm3
movsd qword [rbp + 0x28], xmm1
shufps xmm11, xmm11, 0xaa
mulss xmm11, xmm4
shufps xmm8, xmm8, 0xaa
mulss xmm8, xmm7
addss xmm11, xmm8
shufps xmm9, xmm9, 0xaa
mulss xmm9, xmm6
addss xmm11, xmm9
shufps xmm10, xmm10, 0xaa
mulss xmm10, xmm5
addss xmm11, xmm10
xorps xmm0, xmm0
cvtss2sd xmm0, xmm11
movsd qword [rsp + 0x40], xmm0
xor rsi, r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], rax
xor rsi, r15
mov qword [rbp + 0x60], rsi
movups xmmword [rbp + 0x80], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x80], r15
mov qword [rax], r13
mov rax, qword [0x140369d60]
mov rdx, qword [rax]
mov rax, qword [0x140369db8]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rbx, r13
je 0x14006d9b3
mov rbx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0x10]
add rdx, rbx
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006d9db
mov rdx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
add rdx, qword [rax + 0x18]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006da00
mov rdx, qword [rbp + 0x20]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006da1a
mov rdx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
add rdx, qword [rax + 0x38]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
je 0x14006da3c
mov r13, qword [rbp + 0x20]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
jne 0x14006da5b
xor r15d, r15d
jmp 0x14006da5f
mov r15, qword [rbp + 0x20]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
jne 0x14006da7d
xor ebx, ebx
jmp 0x14006da81
mov rbx, qword [rbp + 0x20]
mov r9d, 8
lea r8, [rbp + 0x20]
mov rdx, rbx
call fcn.140062010
test al, al
jne 0x14006da9c
xorps xmm6, xmm6
jmp 0x14006daa1
movsd xmm6, qword [rbp + 0x20]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
jne 0x14006dabe
xorps xmm8, xmm8
jmp 0x14006dac4
movsd xmm8, qword [rbp + 0x20]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
jne 0x14006dae3
xorps xmm7, xmm7
jmp 0x14006dae8
movsd xmm7, qword [rbp + 0x20]
movups xmmword [rbp + 0x40], xmm15
movsd qword [rbp + 0x38], xmm15
mov r9d, Ordinal_27
lea r8, [rbp + 0x38]
mov rdx, r15
call fcn.140062010
test al, al
jne 0x14006db16
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x38], xmm2
mov qword [rbp + 0x48], rax
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm10, xmm0
mulsd xmm10, qword [0x1401189b8]
movsd xmm7, qword [0x140118b58]
mulsd xmm6, xmm7
movaps xmm1, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm8, xmm0
mulsd xmm8, qword [0x1401189b8]
mulsd xmm8, xmm7
mulsd xmm8, xmm7
lea rdx, [r13 + 0x394]
mov r9d, 4
lea r8, [rbp + 0x30]
call fcn.140062010
test al, al
jne 0x14006db7e
xorps xmm0, xmm0
movss dword [rbp + 0x30], xmm0
jmp 0x14006db83
movss xmm0, dword [rbp + 0x30]
mulss xmm0, dword [0x140118a94]
movss dword [rsp + 0x30], xmm0
lea rbx, [rbp + 0x288]
mulsd xmm10, qword [0x140118980]
divsd xmm10, qword [0x1401189d8]
mulsd xmm8, qword [0x140118980]
divsd xmm8, qword [0x1401189d8]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm10
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm10, xmm10
cvtss2sd xmm10, xmm0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm12, xmm12
cvtss2sd xmm12, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm13, xmm13
cvtss2sd xmm13, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm6, xmm6
cvtss2sd xmm6, xmm0
movsd qword [rsp + 0x38], xmm6
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm5, xmm5
cvtss2sd xmm5, xmm0
movsd qword [rbp + 0x60], xmm5
movaps xmm3, xmm6
mulsd xmm3, xmm7
movaps xmm9, xmm6
xorps xmm9, xmmword [0x140118df0]
movsd qword [rbp + 0x80], xmm9
movaps xmm4, xmm5
mulsd xmm4, xmm7
movabs r15, 0xff00ff00ff00ff00
mov rax, r15
xor rax, r15
mov qword [rbx], rax
cvtpd2ps xmm0, xmm7
cvtps2pd xmm11, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm10
cvtpd2ps xmm0, xmm1
cvtps2pd xmm8, xmm0
movaps xmm2, xmm13
mulsd xmm2, xmm10
cvtpd2ps xmm0, xmm2
cvtps2pd xmm6, xmm0
movaps xmm1, xmm10
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm14, xmm0
movaps xmm2, xmm5
mulsd xmm2, xmm13
movaps xmm0, xmm12
mulsd xmm0, xmm3
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm9, xmm0
movaps xmm1, xmm13
mulsd xmm1, xmm3
movaps xmm0, xmm5
mulsd xmm0, xmm12
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
movaps xmm1, xmm5
mulsd xmm1, xmm10
cvtpd2ps xmm0, xmm1
cvtps2pd xmm5, xmm0
movsd xmm1, qword [rsp + 0x38]
movaps xmm2, xmm1
mulsd xmm2, xmm13
movaps xmm0, xmm12
mulsd xmm0, xmm4
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm3, xmm0
mulsd xmm1, xmm12
mulsd xmm13, xmm4
addsd xmm1, xmm13
xorps xmm1, xmmword [0x140118df0]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm2, xmm0
movsd xmm10, qword [rsp + 0x40]
subsd xmm10, qword [rbp + 0x48]
movsd xmm13, qword [rbp + 0x28]
subsd xmm13, qword [rbp + 0x40]
movsd xmm12, qword [rsp + 0x48]
subsd xmm12, qword [rbp + 0x38]
movaps xmm4, xmm12
mulsd xmm4, xmm6
movaps xmm0, xmm13
mulsd xmm0, xmm8
addsd xmm4, xmm0
movaps xmm1, xmm10
mulsd xmm1, xmm11
addsd xmm4, xmm1
movaps xmm8, xmm13
mulsd xmm8, xmm3
movaps xmm0, xmm12
mulsd xmm0, xmm2
addsd xmm8, xmm0
movaps xmm1, xmm10
mulsd xmm1, xmm5
addsd xmm8, xmm1
mulsd xmm13, xmm9
mulsd xmm12, xmm7
addsd xmm13, xmm12
mulsd xmm10, xmm14
addsd xmm13, xmm10
movsd xmm7, qword [0x140118970]
maxsd xmm7, xmm4
mov rbx, qword [0x140369db8]
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [rbx + 0xc]
mulss xmm6, dword [0x140118918]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x1401189b0]
divss xmm0, dword [0x140118ae4]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, dword [rbx + 0x10]
mulss xmm2, dword [0x140118918]
cvtps2pd xmm12, xmm2
mulsd xmm8, xmm3
divsd xmm8, xmm7
subsd xmm12, xmm8
mulsd xmm13, xmm3
divsd xmm13, xmm7
cvtps2pd xmm0, xmm6
addsd xmm13, xmm0
movsd qword [rbp + 0x28], xmm13
xor rsi, r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], rax
xor rsi, r15
mov qword [rbp + 0x38], rsi
xor r13d, r13d
mov qword [rax], r13
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xb0]
add rdx, rdi
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov edx, r13d
je 0x14006de86
mov rdx, qword [rbp + 0x20]
test rdx, rdx
jne 0x14006deba
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xb0]
add rdx, 0x10
add rdx, rdi
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006deba
mov rdx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
mov rcx, qword [rax + 0xb8]
lea rdx, [rdx + rcx*8]
movups xmmword [rbp + 0xd8], xmm15
movsd qword [rbp + 0xd0], xmm15
movups xmmword [rbp + 0xf8], xmm15
movsd qword [rbp + 0xf0], xmm15
mov r9d, 0x60
lea r8, [rbp + 0xb0]
call fcn.140062010
test al, al
jne 0x14006df31
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0xa8]
add rdx, rdi
movups xmmword [rbp + 0x138], xmm15
movsd qword [rbp + 0x130], xmm15
movups xmmword [rbp + 0x158], xmm15
movsd qword [rbp + 0x150], xmm15
mov r9d, 0x60
lea r8, [rbp + 0x110]
call fcn.140062010
test al, al
jne 0x14006dfa7
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x110]
call fcn.14006b350
movups xmm7, xmmword [rax]
movups xmm8, xmmword [rax + 0x10]
movups xmm10, xmmword [rax + 0x20]
movups xmm11, xmmword [rax + 0x30]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xb0]
call fcn.14006b350
movups xmm9, xmmword [rax + 0x30]
movaps xmm1, xmm9
mulss xmm1, xmm7
movaps xmm6, xmm9
shufps xmm6, xmm9, 0x55
movaps xmm0, xmm6
mulss xmm0, xmm8
addss xmm1, xmm0
movaps xmm5, xmm9
shufps xmm5, xmm9, 0xaa
movaps xmm0, xmm5
mulss xmm0, xmm10
addss xmm1, xmm0
movaps xmm4, xmm9
shufps xmm4, xmm9, 0xff
movaps xmm0, xmm4
mulss xmm0, xmm11
addss xmm1, xmm0
xorps xmm13, xmm13
cvtss2sd xmm13, xmm1
movaps xmm3, xmm9
movaps xmm0, xmm7
shufps xmm0, xmm7, 0x55
mulss xmm3, xmm0
movaps xmm2, xmm6
movaps xmm1, xmm8
shufps xmm1, xmm8, 0x55
mulss xmm2, xmm1
addss xmm3, xmm2
movaps xmm1, xmm5
movaps xmm0, xmm10
shufps xmm0, xmm10, 0x55
mulss xmm1, xmm0
addss xmm3, xmm1
movaps xmm2, xmm4
movaps xmm0, xmm11
shufps xmm0, xmm11, 0x55
mulss xmm2, xmm0
addss xmm3, xmm2
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movsd qword [rsp + 0x40], xmm0
shufps xmm7, xmm7, 0xaa
mulss xmm9, xmm7
shufps xmm8, xmm8, 0xaa
mulss xmm6, xmm8
addss xmm9, xmm6
shufps xmm10, xmm10, 0xaa
mulss xmm5, xmm10
addss xmm9, xmm5
shufps xmm11, xmm11, 0xaa
mulss xmm4, xmm11
addss xmm9, xmm4
xorps xmm14, xmm14
cvtss2sd xmm14, xmm9
xor rsi, r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x188], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x190], r15
mov qword [rbp + 0x198], rax
xor rsi, r15
mov qword [rbp + 0x188], rsi
movups xmmword [rbp + 0x1a0], xmm0
lea rax, [rbp + 0x288]
mov qword [rbp + 0x1a8], r15
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x1a0], r15
mov qword [rax], r13
mov rax, qword [0x140369d60]
mov rdx, qword [rax]
mov rax, qword [0x140369db8]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rbx, r13
je 0x14006e145
mov rbx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
mov rdx, qword [rax + 0x10]
add rdx, rbx
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006e16d
mov rdx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
add rdx, qword [rax + 0x18]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006e192
mov rdx, qword [rbp + 0x20]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdx, r13
je 0x14006e1ac
mov rdx, qword [rbp + 0x20]
mov rax, qword [0x140369d60]
add rdx, qword [rax + 0x38]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov r15, r13
je 0x14006e1d1
mov r15, qword [rbp + 0x20]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rdi, r13
je 0x14006e1f2
mov rdi, qword [rbp + 0x20]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
mov rbx, r13
je 0x14006e213
mov rbx, qword [rbp + 0x20]
mov r9d, 8
lea r8, [rbp + 0x20]
mov rdx, rbx
call fcn.140062010
test al, al
jne 0x14006e22f
xorps xmm8, xmm8
jmp 0x14006e235
movsd xmm8, qword [rbp + 0x20]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
jne 0x14006e252
xorps xmm9, xmm9
jmp 0x14006e258
movsd xmm9, qword [rbp + 0x20]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.140062010
test al, al
jne 0x14006e277
xorps xmm6, xmm6
jmp 0x14006e27c
movsd xmm6, qword [rbp + 0x20]
movups xmmword [rbp + 0x40], xmm15
movsd qword [rbp + 0x38], xmm15
mov r9d, Ordinal_27
lea r8, [rbp + 0x38]
mov rdx, rdi
call fcn.140062010
test al, al
jne 0x14006e2aa
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x38], xmm2
mov qword [rbp + 0x48], rax
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm7, xmm0
mulsd xmm7, qword [0x1401189b8]
movsd xmm6, qword [0x140118b58]
mulsd xmm8, xmm6
movaps xmm1, xmm9
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm9, xmm0
mulsd xmm9, qword [0x1401189b8]
mulsd xmm9, xmm6
mulsd xmm9, xmm6
lea rdx, [r15 + 0x394]
mov r9d, 4
lea r8, [rbp + 0x30]
call fcn.140062010
test al, al
jne 0x14006e314
xorps xmm11, xmm11
movss dword [rbp + 0x30], xmm11
jmp 0x14006e31a
movss xmm11, dword [rbp + 0x30]
mulss xmm11, dword [0x140118a94]
lea rbx, [rbp + 0x288]
mulsd xmm7, qword [0x140118980]
divsd xmm7, qword [0x1401189d8]
mulsd xmm9, qword [0x140118980]
divsd xmm9, qword [0x1401189d8]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm9
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm5, xmm5
cvtss2sd xmm5, xmm0
movsd xmm4, qword [rsp + 0x38]
mulsd xmm4, xmm7
movsd qword [rsp + 0x38], xmm4
movabs r15, 0xff00ff00ff00ff00
mov rax, r15
xor rax, r15
mov qword [rbx], rax
cvtpd2ps xmm0, xmm7
cvtps2pd xmm10, xmm0
movaps xmm1, xmm9
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm6, xmm0
movaps xmm2, xmm5
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm3, xmm0
mulsd xmm8, qword [rbp + 0x80]
cvtpd2ps xmm0, xmm8
cvtps2pd xmm7, xmm0
movsd xmm2, qword [rbp + 0x60]
movaps xmm1, xmm2
mulsd xmm1, xmm5
movaps xmm0, xmm9
mulsd xmm0, xmm4
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm4, xmm0
mulsd xmm5, qword [rsp + 0x38]
mulsd xmm2, xmm9
subsd xmm5, xmm2
cvtpd2ps xmm0, xmm5
cvtps2pd xmm1, xmm0
subsd xmm14, qword [rbp + 0x48]
movsd xmm0, qword [rsp + 0x40]
subsd xmm0, qword [rbp + 0x40]
subsd xmm13, qword [rbp + 0x38]
movaps xmm2, xmm13
mulsd xmm2, xmm3
mulsd xmm6, xmm0
addsd xmm2, xmm6
mulsd xmm10, xmm14
addsd xmm2, xmm10
mulsd xmm13, xmm1
mulsd xmm4, xmm0
addsd xmm13, xmm4
mulsd xmm7, xmm14
addsd xmm13, xmm7
movsd xmm7, qword [0x140118970]
maxsd xmm7, xmm2
mov rax, qword [0x140369db8]
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [rax + 0xc]
mulss xmm6, dword [0x140118918]
mulss xmm11, dword [0x1401189b0]
divss xmm11, dword [0x140118ae4]
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm11, xmm1
mulsd xmm11, xmm13
divsd xmm11, xmm7
cvtps2pd xmm0, xmm6
addsd xmm11, xmm0
subsd xmm11, qword [rbp + 0x28]
mulsd xmm11, qword [0x140118968]
addsd xmm11, qword [rbp + 0x28]
lea rax, [rbp + 0x288]
xor rsi, r15
mov qword [rax], rsi
movsd xmm7, qword [rsp + 0x50]
movsd xmm8, qword [rbp + 0xa0]
movsd xmm13, qword [0x140118df0]
lea rsi, [rbp + 0x288]
comisd xmm11, xmm8
jbe 0x14006e526
movaps xmm6, xmm8
subsd xmm6, xmm11
xorps xmm6, xmm13
jmp 0x14006e52f
movaps xmm6, xmm11
subsd xmm6, xmm8
mov rax, qword [0x140369d38]
movss xmm1, dword [rax + 0x14]
cvtps2pd xmm1, xmm1
divsd xmm6, xmm1
movaps xmm0, xmm6
addsd xmm0, xmm8
addsd xmm8, xmm8
comisd xmm0, xmm8
ja 0x14006e55d
comisd xmm15, xmm0
jbe 0x14006e560
xorps xmm6, xmm6
comisd xmm12, xmm7
jbe 0x14006e575
movaps xmm2, xmm7
subsd xmm2, xmm12
xorps xmm2, xmm13
jmp 0x14006e57d
movaps xmm2, xmm12
subsd xmm2, xmm7
divsd xmm2, xmm1
movaps xmm0, xmm2
addsd xmm0, xmm7
addsd xmm7, xmm7
comisd xmm0, xmm7
ja 0x14006e599
comisd xmm15, xmm0
jbe 0x14006e59c
xorps xmm2, xmm2
divsd xmm6, xmm1
xorps xmm2, xmm13
divsd xmm2, xmm1
lea rdx, [r12 + 0x520]
call fcn.140086f70
lea rdx, [r12 + 0x528]
movaps xmm2, xmm6
call fcn.140086f70
mov rax, qword [0x140369d38]
cmp byte [rax + 0x18], 0
je 0x14006e67a
mov ecx, 8
call fcn.1400f3930
lea rcx, [0x14006c4f0]
mov qword [rax], rcx
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x88]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x14008f510]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x80], rax
test rax, rax
je 0x14006e6e8
cmp dword [rbp + 0x88], 0
jne 0x14006e638
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x88], eax
jne 0x14006e652
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x60], xmm0
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14006e67a
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor r14, r15
mov qword [rsi], r14
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.1400f3550
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp + 0x88], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3