Function at 0x14004cfa0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2b8]
sub rsp, 0x390
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 [0x140076040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
lea r12, [rbp + 0x2b8]
movabs rdi, 0xff00ff00ff00ff00
mov qword [rbp + 0x108], rdi
mov qword [rbp + 0x110], r12
mov r15, qword [r12]
xor r15, rdi
mov qword [rbp + 0x100], r15
mov qword [r12], rsi
mov rax, qword [0x140077140]
mov rcx, qword [rax]
mov rax, qword [0x140077178]
add rcx, qword [rax]
call fcn.14005ed40
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005ed40
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.14005ed40
mov rcx, rax
call fcn.14005ed40
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.14005ed40
mov r13, rax
mov rcx, qword [0x140077178]
movd xmm6, dword [rcx + 0x10]
cvtdq2pd xmm6, xmm6
mulsd xmm6, qword [0x14006c618]
movsd qword [rsp + 0x50], xmm6
movd xmm7, dword [rcx + 0xc]
cvtdq2pd xmm7, xmm7
mulsd xmm7, qword [0x14006c618]
movsd qword [rsp + 0x58], xmm7
xorps xmm15, xmm15
xorps xmm11, xmm11
xorps xmm10, xmm10
mov rax, qword [0x140077140]
mov rcx, qword [rax + 0x70]
add rcx, rbx
call fcn.14005ed40
mov r14, rax
mov rcx, qword [0x140077138]
mov eax, dword [rcx + 8]
movsd xmm14, qword [0x14006cb70]
test eax, eax
jne 0x14004d7a6
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, [rbp + 0x2b8]
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rax
mov r12, qword [rax]
xor r12, rdi
mov qword [rbp - 0x60], r12
mov qword [rax], rsi
mov rax, qword [0x140077140]
mov rcx, qword [rax + 0xb0]
add rcx, r14
call fcn.14005ed40
mov rcx, rax
test rax, rax
jne 0x14004d183
mov rax, qword [0x140077140]
mov rcx, qword [rax + 0xb0]
add rcx, 0x10
add rcx, r14
call fcn.14005ed40
mov rcx, rax
mov rax, qword [0x140077140]
imul rdx, qword [rax + 0xb8], 0x6d
add rdx, rcx
movups xmmword [rbp + 0xc8], xmm15
movsd qword [rbp + 0xc0], xmm15
movups xmmword [rbp + 0xe8], xmm15
movsd qword [rbp + 0xe0], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x70], rdx
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x78], 0x60
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x7c], eax
lea r8, [rsp + 0x60]
mov edx, 1
call fcn.14004ba90
mov rax, qword [0x140077140]
mov rdx, qword [rax + 0xa8]
add rdx, r14
movups xmmword [rbp + 0x1a8], xmm15
movsd qword [rbp + 0x1a0], xmm15
movups xmmword [rbp + 0x1c8], xmm15
movsd qword [rbp + 0x1c0], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rbp - 0x20], eax
mov qword [rbp - 0x10], rdx
lea rax, [rbp + 0x180]
mov qword [rbp - 0x18], rax
mov dword [rbp - 8], 0x60
mov eax, dword [rcx + 0x20]
mov dword [rbp - 4], eax
lea r8, [rbp - 0x20]
mov edx, 1
call fcn.14004ba90
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x180]
call fcn.14004bbe0
movups xmm7, xmmword [rax]
movups xmm10, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
movups xmm9, xmmword [rax + 0x30]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xa0]
call fcn.14004bbe0
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x40], xmm0
movups xmm6, xmmword [rax + 0x30]
movaps xmm1, xmm10
movaps xmm5, xmm6
shufps xmm5, xmm6, 0x55
mulss xmm1, xmm5
movaps xmm0, xmm7
mulss xmm0, xmm6
addss xmm1, xmm0
movaps xmm0, xmm8
movaps xmm4, xmm6
shufps xmm4, xmm6, 0xaa
mulss xmm0, xmm4
addss xmm1, xmm0
movaps xmm0, xmm9
movaps xmm3, xmm6
shufps xmm3, xmm6, 0xff
mulss xmm0, xmm3
addss xmm1, xmm0
xorps xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd qword [rsp + 0x48], xmm2
movaps xmm2, xmm10
shufps xmm2, xmm10, 0x55
mulss xmm2, xmm5
movaps xmm0, xmm7
shufps xmm0, xmm7, 0x55
mulss xmm0, xmm6
addss xmm2, xmm0
movaps xmm1, xmm8
shufps xmm1, xmm8, 0x55
mulss xmm1, xmm4
addss xmm2, xmm1
movaps xmm0, xmm9
shufps xmm0, xmm9, 0x55
mulss xmm0, xmm3
addss xmm2, xmm0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm2
movsd qword [rsp + 0x40], xmm1
shufps xmm10, xmm10, 0xaa
mulss xmm10, xmm5
shufps xmm7, xmm7, 0xaa
mulss xmm7, xmm6
addss xmm10, xmm7
shufps xmm8, xmm8, 0xaa
mulss xmm8, xmm4
addss xmm10, xmm8
shufps xmm9, xmm9, 0xaa
mulss xmm9, xmm3
addss xmm10, xmm9
xorps xmm0, xmm0
cvtss2sd xmm0, xmm10
movsd qword [rsp + 0x38], xmm0
xor r12, rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
lea r14, [rbp + 0x2b8]
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], r14
xor r12, rdi
mov qword [rbp - 0x60], r12
movups xmmword [rbp + 0x80], xmm0
lea rax, [rbp + 0x2b8]
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x80], rdi
mov qword [rax], rsi
mov rax, qword [0x140077140]
mov rcx, qword [rax]
mov rax, qword [0x140077178]
add rcx, qword [rax]
call fcn.14005ed40
mov rbx, rax
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005ed40
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.14005ed40
mov rcx, rax
call fcn.14005ed40
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.14005ed40
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005ed40
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005ed40
mov rbx, rax
mov rcx, rax
call fcn.14005ee30
movaps xmm9, xmm0
lea rcx, [rbx + 0x20]
call fcn.14005ee30
movaps xmm8, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.14005ee30
movaps xmm6, xmm0
movups xmmword [rbp + 0x68], xmm15
movsd qword [rbp + 0x60], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x70], rdi
lea rax, [rbp + 0x60]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x78], 0x18
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x7c], eax
lea r8, [rsp + 0x60]
mov edx, 1
call fcn.14004ba90
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm10, xmm0
mulsd xmm10, qword [0x14006c668]
movsd xmm7, qword [0x14006c808]
mulsd xmm9, xmm7
movaps xmm1, xmm8
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm8, xmm0
mulsd xmm8, qword [0x14006c668]
mulsd xmm8, xmm7
mulsd xmm8, xmm7
lea rcx, [rsi + 0x394]
call fcn.14005ecd0
mulss xmm0, dword [0x14006c744]
movss dword [rsp + 0x30], xmm0
lea rbx, [rbp + 0x2b8]
mulsd xmm10, qword [0x14006c630]
divsd xmm10, qword [0x14006c688]
mulsd xmm8, qword [0x14006c630]
divsd xmm8, qword [0x14006c688]
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 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 xmm14, xmm14
cvtss2sd xmm14, 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 xmm13, xmm13
cvtss2sd xmm13, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movaps xmm3, xmm13
mulsd xmm3, xmm7
movaps xmm6, xmm4
mulsd xmm6, xmm7
xor esi, esi
mov qword [rbx], rsi
cvtpd2ps xmm0, xmm7
cvtps2pd xmm15, xmm0
movaps xmm1, xmm14
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm10, xmm0
movaps xmm2, xmm12
mulsd xmm2, xmm9
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movaps xmm1, xmm13
xorps xmm1, xmmword [0x14006cb70]
mulsd xmm1, xmm9
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [rbp + 0x80], xmm0
movaps xmm2, xmm3
mulsd xmm2, xmm14
movaps xmm0, xmm4
mulsd xmm0, xmm12
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm11, xmm0
mulsd xmm3, xmm12
movaps xmm0, xmm4
mulsd xmm0, xmm14
subsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
cvtps2pd xmm8, xmm0
mulsd xmm4, xmm9
cvtpd2ps xmm0, xmm4
cvtps2pd xmm5, xmm0
movaps xmm1, xmm13
mulsd xmm1, xmm12
movaps xmm0, xmm6
mulsd xmm0, xmm14
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
mulsd xmm13, xmm14
mulsd xmm6, xmm12
addsd xmm13, xmm6
movsd xmm14, qword [0x14006cb70]
xorps xmm13, xmm14
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm13
cvtps2pd xmm2, xmm0
movsd xmm6, qword [rsp + 0x38]
subsd xmm6, qword [rbp + 0x70]
movsd xmm13, qword [rsp + 0x40]
subsd xmm13, qword [rbp + 0x68]
movsd xmm12, qword [rsp + 0x48]
subsd xmm12, qword [rbp + 0x60]
movaps xmm4, xmm13
mulsd xmm4, xmm10
movaps xmm0, xmm12
mulsd xmm0, xmm7
addsd xmm4, xmm0
movaps xmm1, xmm6
mulsd xmm1, xmm15
addsd xmm4, xmm1
movaps xmm9, xmm12
mulsd xmm9, xmm2
movaps xmm0, xmm13
mulsd xmm0, xmm3
addsd xmm9, xmm0
movaps xmm1, xmm6
mulsd xmm1, xmm5
addsd xmm9, xmm1
mulsd xmm13, xmm11
mulsd xmm12, xmm8
addsd xmm13, xmm12
mulsd xmm6, qword [rbp + 0x80]
addsd xmm13, xmm6
movsd xmm8, qword [0x14006c620]
maxsd xmm8, xmm4
mov rbx, qword [0x140077178]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x14006c5c8]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x14006c660]
divss xmm0, dword [0x14006c794]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm11, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x14006c5c8]
cvtps2pd xmm10, xmm2
movaps xmm0, xmm11
mulsd xmm0, xmm9
divsd xmm0, xmm8
subsd xmm10, xmm0
mulsd xmm11, xmm13
divsd xmm11, xmm8
cvtps2pd xmm0, xmm7
addsd xmm11, xmm0
xorps xmm15, xmm15
jmp 0x14004ea6b
cmp eax, 1
jne 0x14004de29
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, [rbp + 0x2b8]
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rax
mov r12, qword [rax]
xor r12, rdi
mov qword [rbp - 0x60], r12
mov qword [rax], rsi
mov rax, qword [0x140077140]
mov rcx, qword [rax + 0xb0]
add rcx, r14
call fcn.14005ed40
mov rcx, rax
test rax, rax
jne 0x14004d80d
mov rax, qword [0x140077140]
mov rcx, qword [rax + 0xb0]
add rcx, 0x10
add rcx, r14
call fcn.14005ed40
mov rcx, rax
mov rax, qword [0x140077140]
imul rdx, qword [rax + 0xb8], 0x43
add rdx, rcx
movups xmmword [rbp + 0x148], xmm15
movsd qword [rbp + 0x140], xmm15
movups xmmword [rbp + 0x168], xmm15
movsd qword [rbp + 0x160], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x70], rdx
lea rax, [rbp + 0x120]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x78], 0x60
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x7c], eax
lea r8, [rsp + 0x60]
mov edx, 1
call fcn.14004ba90
mov rax, qword [0x140077140]
mov rdx, qword [rax + 0xa8]
add rdx, r14
movups xmmword [rbp + 0xc8], xmm15
movsd qword [rbp + 0xc0], xmm15
movups xmmword [rbp + 0xe8], xmm15
movsd qword [rbp + 0xe0], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rbp - 0x20], eax
mov qword [rbp - 0x10], rdx
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x18], rax
mov dword [rbp - 8], 0x60
mov eax, dword [rcx + 0x20]
mov dword [rbp - 4], eax
lea r8, [rbp - 0x20]
mov edx, 1
call fcn.14004ba90
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.14004bbe0
movups xmm7, xmmword [rax]
movups xmm8, xmmword [rax + 0x10]
movups xmm10, xmmword [rax + 0x20]
movups xmm11, xmmword [rax + 0x30]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x120]
call fcn.14004bbe0
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x40], xmm0
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 + 0x40], 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 [rbp + 0x80], xmm0
xor r12, rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
lea r14, [rbp + 0x2b8]
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], r14
xor r12, rdi
mov qword [rbp - 0x60], r12
movups xmmword [rbp - 0x20], xmm0
lea rax, [rbp + 0x2b8]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x20], rdi
mov qword [rax], rsi
mov rax, qword [0x140077140]
mov rcx, qword [rax]
mov rax, qword [0x140077178]
add rcx, qword [rax]
call fcn.14005ed40
mov rbx, rax
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005ed40
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.14005ed40
mov rcx, rax
call fcn.14005ed40
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.14005ed40
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005ed40
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005ed40
mov rbx, rax
mov rcx, rax
call fcn.14005ee30
movaps xmm9, xmm0
lea rcx, [rbx + 0x20]
call fcn.14005ee30
movaps xmm8, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.14005ee30
movaps xmm6, xmm0
movups xmmword [rbp + 0x68], xmm15
movsd qword [rbp + 0x60], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x70], rdi
lea rax, [rbp + 0x60]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x78], 0x18
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x7c], eax
lea r8, [rsp + 0x60]
mov edx, 1
call fcn.14004ba90
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm10, xmm0
mulsd xmm10, qword [0x14006c668]
movsd xmm7, qword [0x14006c808]
mulsd xmm9, xmm7
movaps xmm1, xmm8
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm8, xmm0
mulsd xmm8, qword [0x14006c668]
mulsd xmm8, xmm7
mulsd xmm8, xmm7
lea rcx, [rsi + 0x394]
call fcn.14005ecd0
mulss xmm0, dword [0x14006c744]
movss dword [rsp + 0x30], xmm0
lea rbx, [rbp + 0x2b8]
mulsd xmm10, qword [0x14006c630]
divsd xmm10, qword [0x14006c688]
mulsd xmm8, qword [0x14006c630]
divsd xmm8, qword [0x14006c688]
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 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 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 xmm11, xmm11
cvtss2sd xmm11, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movaps xmm3, xmm11
mulsd xmm3, xmm7
movaps xmm6, xmm4
mulsd xmm6, xmm7
xor esi, esi
mov qword [rbx], rsi
cvtpd2ps xmm0, xmm7
cvtps2pd xmm15, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm10, xmm0
movaps xmm2, xmm13
mulsd xmm2, xmm9
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movaps xmm1, xmm11
xorps xmm1, xmm14
mulsd xmm1, xmm9
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm2, xmm0
movsd qword [rsp + 0x38], xmm2
movaps xmm2, xmm12
mulsd xmm2, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm13
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm14, xmm0
movaps xmm1, xmm13
mulsd xmm1, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm12
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm8, xmm0
mulsd xmm4, xmm9
cvtpd2ps xmm0, xmm4
cvtps2pd xmm5, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm13
movaps xmm0, xmm12
mulsd xmm0, xmm6
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
mulsd xmm11, xmm12
mulsd xmm13, xmm6
addsd xmm11, xmm13
xorps xmm11, xmmword [0x14006cb70]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm11
cvtps2pd xmm1, xmm0
movsd xmm4, qword [rbp + 0x80]
subsd xmm4, qword [rbp + 0x70]
movsd xmm0, qword [rsp + 0x48]
subsd xmm0, qword [rbp + 0x68]
movsd xmm11, qword [rsp + 0x40]
subsd xmm11, qword [rbp + 0x60]
movaps xmm2, xmm11
mulsd xmm2, xmm7
mulsd xmm10, xmm0
addsd xmm2, xmm10
mulsd xmm15, xmm4
addsd xmm2, xmm15
movaps xmm9, xmm11
mulsd xmm9, xmm1
mulsd xmm3, xmm0
addsd xmm9, xmm3
mulsd xmm5, xmm4
addsd xmm9, xmm5
mulsd xmm11, xmm8
mulsd xmm14, xmm0
addsd xmm11, xmm14
movsd xmm0, qword [rsp + 0x38]
mulsd xmm0, xmm4
addsd xmm11, xmm0
movsd xmm8, qword [0x14006c620]
maxsd xmm8, xmm2
mov rbx, qword [0x140077178]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x14006c5c8]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x14006c660]
divss xmm0, dword [0x14006c794]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x14006c5c8]
cvtps2pd xmm10, xmm2
mulsd xmm9, xmm3
divsd xmm9, xmm8
subsd xmm10, xmm9
mulsd xmm11, xmm3
divsd xmm11, xmm8
cvtps2pd xmm0, xmm7
addsd xmm11, xmm0
xorps xmm15, xmm15
jmp 0x14004ea62
cmp eax, 2
jne 0x14004ea8e
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rax, [rbp + 0x2b8]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rax
mov r12, qword [rax]
xor r12, rdi
mov qword [rbp - 0x20], r12
mov qword [rax], rsi
mov rax, qword [0x140077140]
mov rcx, qword [rax + 0xb0]
add rcx, r14
call fcn.14005ed40
mov rcx, rax
test rax, rax
jne 0x14004de90
mov rax, qword [0x140077140]
mov rcx, qword [rax + 0xb0]
add rcx, 0x10
add rcx, r14
call fcn.14005ed40
mov rcx, rax
mov rax, qword [0x140077140]
imul rdx, qword [rax + 0xb8], 0x25
add rdx, rcx
movups xmmword [rbp + 0xc8], xmm15
movsd qword [rbp + 0xc0], xmm15
movups xmmword [rbp + 0xe8], xmm15
movsd qword [rbp + 0xe0], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x70], rdx
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x78], 0x60
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x7c], eax
lea r8, [rsp + 0x60]
mov edx, 1
call fcn.14004ba90
mov rax, qword [0x140077140]
mov rdx, qword [rax + 0xa8]
add rdx, r14
movups xmmword [rbp + 0x148], xmm15
movsd qword [rbp + 0x140], xmm15
movups xmmword [rbp + 0x168], xmm15
movsd qword [rbp + 0x160], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rbp - 0x60], eax
mov qword [rbp - 0x50], rdx
lea rax, [rbp + 0x120]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x48], 0x60
mov eax, dword [rcx + 0x20]
mov dword [rbp - 0x44], eax
lea r8, [rbp - 0x60]
mov edx, 1
call fcn.14004ba90
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x120]
call fcn.14004bbe0
movups xmm7, xmmword [rax]
movups xmm8, xmmword [rax + 0x10]
movups xmm10, xmmword [rax + 0x20]
movups xmm11, xmmword [rax + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.14004bbe0
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x40], xmm0
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 + 0x48], 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 + 0x38], 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 xmm11, xmm4
addss xmm9, xmm11
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
movsd qword [rbp + 0x80], xmm0
xor r12, rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rax, [rbp + 0x2b8]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rax
xor r12, rdi
mov qword [rbp - 0x20], r12
movups xmmword [rbp + 0x60], xmm0
lea rax, [rbp + 0x2b8]
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x60], rdi
mov qword [rax], rsi
mov rax, qword [0x140077140]
mov rcx, qword [rax]
mov rax, qword [0x140077178]
add rcx, qword [rax]
call fcn.14005ed40
mov rbx, rax
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005ed40
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.14005ed40
mov rcx, rax
call fcn.14005ed40
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.14005ed40
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005ed40
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005ed40
mov rbx, rax
mov rcx, rax
call fcn.14005ee30
movaps xmm8, xmm0
lea rcx, [rbx + 0x20]
call fcn.14005ee30
movaps xmm7, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.14005ee30
movaps xmm6, xmm0
movups xmmword [rbp - 0x58], xmm15
movsd qword [rbp - 0x60], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x70], rdi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x78], 0x18
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x7c], eax
lea r8, [rsp + 0x60]
mov edx, 1
call fcn.14004ba90
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, qword [0x14006c668]
movsd xmm9, qword [0x14006c808]
mulsd xmm8, xmm9
movaps xmm1, xmm7
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm7, xmm0
mulsd xmm7, qword [0x14006c668]
mulsd xmm7, xmm9
mulsd xmm7, xmm9
lea rcx, [rsi + 0x394]
call fcn.14005ecd0
movaps xmm15, xmm0
mulss xmm15, dword [0x14006c744]
lea rbx, [rbp + 0x2b8]
mulsd xmm6, qword [0x14006c630]
divsd xmm6, qword [0x14006c688]
mulsd xmm7, qword [0x14006c630]
divsd xmm7, qword [0x14006c688]
cvtsd2ss xmm6, xmm6
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm7
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 + 0x30], 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, xmm8
movaps xmm9, xmm6
xorps xmm9, xmm14
movsd qword [rsp + 0x40], xmm9
movaps xmm4, xmm5
mulsd xmm4, xmm8
xor edi, edi
mov qword [rbx], rdi
cvtpd2ps xmm0, xmm8
cvtps2pd xmm8, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm11
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
movaps xmm2, xmm13
mulsd xmm2, xmm11
cvtpd2ps xmm0, xmm2
cvtps2pd xmm6, xmm0
movaps xmm1, xmm11
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 xmm10, xmm0
movaps xmm1, xmm13
mulsd xmm1, xmm3
movaps xmm0, xmm5
mulsd xmm0, xmm12
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm9, xmm0
movaps xmm1, xmm5
mulsd xmm1, xmm11
cvtpd2ps xmm0, xmm1
cvtps2pd xmm5, xmm0
movsd xmm1, qword [rsp + 0x30]
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 [0x14006cb70]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm2, xmm0
movsd xmm11, qword [rbp + 0x80]
subsd xmm11, qword [rbp - 0x50]
movsd xmm13, qword [rsp + 0x38]
subsd xmm13, qword [rbp - 0x58]
movsd xmm12, qword [rsp + 0x48]
subsd xmm12, qword [rbp - 0x60]
movaps xmm4, xmm13
mulsd xmm4, xmm7
movaps xmm0, xmm12
mulsd xmm0, xmm6
addsd xmm4, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm8
addsd xmm4, xmm1
movaps xmm8, xmm13
mulsd xmm8, xmm3
movaps xmm0, xmm12
mulsd xmm0, xmm2
addsd xmm8, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm5
addsd xmm8, xmm1
mulsd xmm13, xmm10
mulsd xmm12, xmm9
addsd xmm13, xmm12
mulsd xmm11, xmm14
addsd xmm13, xmm11
movsd xmm7, qword [0x14006c620]
maxsd xmm7, xmm4
mov rbx, qword [0x140077178]
movd xmm6, dword [rbx + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x14006c5c8]
mulss xmm15, dword [0x14006c660]
divss xmm15, dword [0x14006c794]
movaps xmm0, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x14006c5c8]
cvtps2pd xmm0, xmm2
mulsd xmm8, xmm3
divsd xmm8, xmm7
subsd xmm0, xmm8
movsd qword [rbp + 0x80], xmm0
mulsd xmm13, xmm3
divsd xmm13, xmm7
cvtps2pd xmm0, xmm6
addsd xmm13, xmm0
movsd qword [rsp + 0x38], xmm13
movabs rbx, 0xff00ff00ff00ff00
xor r12, rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rax, [rbp + 0x2b8]
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rax
xor r12, rbx
mov qword [rbp - 0x20], r12
mov rax, qword [0x140077140]
mov rcx, qword [rax + 0xb0]
add rcx, r14
call fcn.14005ed40
mov rdx, rax
test rax, rax
jne 0x14004e526
mov rax, qword [0x140077140]
mov rcx, qword [rax + 0xb0]
add rcx, 0x10
add rcx, r14
call fcn.14005ed40
mov rdx, rax
mov rax, qword [0x140077140]
mov rcx, qword [rax + 0xb8]
lea rdx, [rdx + rcx*8]
xorps xmm15, xmm15
movups xmmword [rbp + 0xc8], xmm15
movsd qword [rbp + 0xc0], xmm15
movups xmmword [rbp + 0xe8], xmm15
movsd qword [rbp + 0xe0], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x70], rdx
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x78], 0x60
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x7c], eax
lea r8, [rsp + 0x60]
mov edx, 1
call fcn.14004ba90
mov rax, qword [0x140077140]
mov rdx, qword [rax + 0xa8]
add rdx, r14
movups xmmword [rbp + 0x148], xmm15
movsd qword [rbp + 0x140], xmm15
movups xmmword [rbp + 0x168], xmm15
movsd qword [rbp + 0x160], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rbp - 0x60], eax
mov qword [rbp - 0x50], rdx
lea rax, [rbp + 0x120]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x48], 0x60
mov eax, dword [rcx + 0x20]
mov dword [rbp - 0x44], eax
lea r8, [rbp - 0x60]
mov edx, 1
call fcn.14004ba90
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x120]
call fcn.14004bbe0
movups xmm7, xmmword [rax]
movups xmm10, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
movups xmm9, xmmword [rax + 0x30]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xa0]
call fcn.14004bbe0
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x40], xmm0
movups xmm6, xmmword [rax + 0x30]
movaps xmm1, xmm7
mulss xmm1, xmm6
movaps xmm0, xmm10
movaps xmm3, xmm6
shufps xmm3, xmm6, 0x55
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm8
movaps xmm5, xmm6
shufps xmm5, xmm6, 0xaa
mulss xmm0, xmm5
addss xmm1, xmm0
movaps xmm0, xmm9
movaps xmm4, xmm6
shufps xmm4, xmm6, 0xff
mulss xmm0, xmm4
addss xmm1, xmm0
xorps xmm14, xmm14
cvtss2sd xmm14, xmm1
movaps xmm2, xmm10
shufps xmm2, xmm10, 0x55
mulss xmm2, xmm3
movaps xmm0, xmm7
shufps xmm0, xmm7, 0x55
mulss xmm0, xmm6
addss xmm2, xmm0
movaps xmm1, xmm8
shufps xmm1, xmm8, 0x55
mulss xmm1, xmm5
addss xmm2, xmm1
movaps xmm0, xmm9
shufps xmm0, xmm9, 0x55
mulss xmm0, xmm4
addss xmm2, xmm0
xorps xmm13, xmm13
cvtss2sd xmm13, xmm2
shufps xmm10, xmm10, 0xaa
mulss xmm10, xmm3
shufps xmm7, xmm7, 0xaa
mulss xmm7, xmm6
addss xmm10, xmm7
shufps xmm8, xmm8, 0xaa
mulss xmm8, xmm5
addss xmm10, xmm8
shufps xmm9, xmm9, 0xaa
mulss xmm9, xmm4
addss xmm10, xmm9
xorps xmm12, xmm12
cvtss2sd xmm12, xmm10
xor r12, rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea r14, [rbp + 0x2b8]
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], r14
xor r12, rbx
mov qword [rbp - 0x20], r12
movups xmmword [rsp + 0x60], xmm0
lea rax, [rbp + 0x2b8]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], rbx
mov qword [rax], rdi
mov rax, qword [0x140077140]
mov rcx, qword [rax]
mov rax, qword [0x140077178]
add rcx, qword [rax]
call fcn.14005ed40
mov rbx, rax
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005ed40
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.14005ed40
mov rcx, rax
call fcn.14005ed40
mov rcx, qword [0x140077140]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.14005ed40
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005ed40
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005ed40
mov rbx, rax
mov rcx, rax
call fcn.14005ee30
movaps xmm8, xmm0
lea rcx, [rbx + 0x20]
call fcn.14005ee30
movaps xmm7, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.14005ee30
movaps xmm6, xmm0
movups xmmword [rbp - 0x58], xmm15
movsd qword [rbp - 0x60], xmm15
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rbp + 0x20], eax
mov qword [rbp + 0x30], rdi
lea rax, [rbp - 0x60]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x38], 0x18
mov eax, dword [rcx + 0x20]
mov dword [rbp + 0x3c], eax
lea r8, [rbp + 0x20]
mov edx, 1
call fcn.14004ba90
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, qword [0x14006c668]
movsd xmm10, qword [0x14006c808]
mulsd xmm8, xmm10
movaps xmm1, xmm7
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm9, xmm0
mulsd xmm9, qword [0x14006c668]
mulsd xmm9, xmm10
mulsd xmm9, xmm10
lea rcx, [rsi + 0x394]
call fcn.14005ecd0
movaps xmm11, xmm0
mulss xmm11, dword [0x14006c744]
lea rbx, [rbp + 0x2b8]
mulsd xmm6, qword [0x14006c630]
divsd xmm6, qword [0x14006c688]
mulsd xmm9, qword [0x14006c630]
divsd xmm9, qword [0x14006c688]
cvtsd2ss xmm6, xmm6
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 xmm3, xmm3
cvtss2sd xmm3, xmm0
movsd xmm0, qword [rsp + 0x30]
mulsd xmm0, xmm7
movsd qword [rsp + 0x30], xmm0
xor esi, esi
mov qword [rbx], rsi
cvtpd2ps xmm0, xmm7
cvtps2pd xmm10, xmm0
movaps xmm1, xmm9
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm6, xmm0
movaps xmm2, xmm3
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm5, xmm0
mulsd xmm8, qword [rsp + 0x40]
cvtpd2ps xmm0, xmm8
cvtps2pd xmm7, xmm0
movsd xmm2, qword [rsp + 0x30]
movaps xmm1, xmm2
mulsd xmm1, xmm9
movsd xmm8, qword [rbp + 0x60]
movaps xmm0, xmm8
mulsd xmm0, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm4, xmm0
mulsd xmm2, xmm3
mulsd xmm8, xmm9
subsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm2, xmm0
subsd xmm12, qword [rbp - 0x50]
subsd xmm13, qword [rbp - 0x58]
subsd xmm14, qword [rbp - 0x60]
movaps xmm3, xmm13
mulsd xmm3, xmm6
movaps xmm0, xmm14
mulsd xmm0, xmm5
addsd xmm3, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm10
addsd xmm3, xmm1
mulsd xmm14, xmm2
mulsd xmm13, xmm4
addsd xmm14, xmm13
mulsd xmm12, xmm7
addsd xmm14, xmm12
movsd xmm7, qword [0x14006c620]
maxsd xmm7, xmm3
mov rax, qword [0x140077178]
movd xmm6, dword [rax + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x14006c5c8]
mulss xmm11, dword [0x14006c660]
divss xmm11, dword [0x14006c794]
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, xmm14
divsd xmm11, xmm7
cvtps2pd xmm0, xmm6
addsd xmm11, xmm0
subsd xmm11, qword [rsp + 0x38]
mulsd xmm11, qword [0x14006c618]
addsd xmm11, qword [rsp + 0x38]
movsd xmm10, qword [rbp + 0x80]
movsd xmm14, qword [0x14006cb70]
movabs rdi, 0xff00ff00ff00ff00
xor r12, rdi
mov qword [r14], r12
movsd xmm6, qword [rsp + 0x50]
movsd xmm7, qword [rsp + 0x58]
lea r12, [rbp + 0x2b8]
comisd xmm11, xmm7
jbe 0x14004eaa4
movaps xmm8, xmm7
subsd xmm8, xmm11
xorps xmm8, xmm14
jmp 0x14004eaad
movaps xmm8, xmm11
subsd xmm8, xmm7
mov rax, qword [0x140077138]
movss xmm1, dword [rax + 0x14]
cvtps2pd xmm1, xmm1
divsd xmm8, xmm1
movaps xmm0, xmm8
addsd xmm0, xmm7
addsd xmm7, xmm7
comisd xmm0, xmm7
ja 0x14004eada
comisd xmm15, xmm0
jbe 0x14004eade
xorps xmm8, xmm8
comisd xmm10, xmm6
jbe 0x14004eaf3
movaps xmm7, xmm6
subsd xmm7, xmm10
xorps xmm7, xmm14
jmp 0x14004eafb
movaps xmm7, xmm10
subsd xmm7, xmm6
divsd xmm7, xmm1
movaps xmm0, xmm7
addsd xmm0, xmm6
addsd xmm6, xmm6
comisd xmm0, xmm6
ja 0x14004eb17
comisd xmm15, xmm0
jbe 0x14004eb1a
xorps xmm7, xmm7
movaps xmm6, xmm8
divsd xmm6, xmm1
movaps xmm0, xmm7
xorps xmm0, xmm14
divsd xmm0, xmm1
movsd qword [rbp + 0x60], xmm0
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rbp + 0x20], eax
lea rax, [rbp + 0x60]
mov qword [rbp + 0x30], rax
lea rax, [r13 + 0x520]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x38], 8
mov eax, dword [rcx + 0x20]
mov dword [rbp + 0x3c], eax
lea r8, [rbp + 0x20]
xor edx, edx
call fcn.14004ba90
movsd qword [rbp + 0x80], xmm6
mov rcx, qword [0x1400771b0]
mov eax, dword [rcx]
mov dword [rsp + 0x60], eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x70], rax
lea rax, [r13 + 0x528]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x78], 8
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x7c], eax
lea r8, [rsp + 0x60]
xor edx, edx
call fcn.14004ba90
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm7
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm8
call fcn.14004cd80
mov rax, qword [0x140077138]
cmp byte [rax + 0x18], 0
je 0x14004ec79
mov ecx, 8
call fcn.14006251c
lea rcx, [0x14004cef0]
mov qword [rax], rcx
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x88]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14005f850]
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 0x14004ece8
cmp dword [rbp + 0x88], 0
jne 0x14004ec37
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 0x14004ec51
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 0x14004ec79
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor r15, rdi
mov qword [r12], r15
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140062260
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
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], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3