Function at 0x14004ea10
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 - 0x178]
sub rsp, 0x250
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 [0x1400ef080]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rbx, rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
lea rax, [rbp + 0x178]
movabs rsi, 0xff00ff00ff00ff00
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rax
mov r15, qword [rax]
xor r15, rsi
mov qword [rbp + 0x90], r15
mov qword [rax], rdi
mov rax, qword [0x14032b7d0]
mov rcx, qword [rax]
mov rax, qword [0x14032b808]
add rcx, qword [rax]
call fcn.14005fff0
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005fff0
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.14005fff0
mov rcx, rax
call fcn.14005fff0
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.14005fff0
mov r13, rax
mov rcx, qword [0x14032b808]
movd xmm0, dword [rcx + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1400dd8a0]
movsd qword [rbp + 0x70], xmm0
movd xmm0, dword [rcx + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1400dd8a0]
movsd qword [rbp + 0x60], xmm0
xorps xmm15, xmm15
xorps xmm10, xmm10
xorps xmm1, xmm1
movsd qword [rsp + 0x30], xmm1
mov rax, qword [0x14032b7d0]
mov rcx, qword [rax + 0x70]
add rcx, rbx
call fcn.14005fff0
mov r12, rax
movsd xmm11, qword [0x1400dd8f0]
movsd xmm9, qword [0x1400dda98]
movss xmm14, dword [0x1400dd9cc]
movsd xmm12, qword [0x1400dd8b8]
movsd xmm13, qword [0x1400dd910]
mov rax, qword [0x14032b7a8]
cmp dword [rax + 8], edi
jne 0x14004f01b
lea r9d, [rdi + 0x6d]
mov r8, r12
lea rdx, [rbp - 0x70]
call fcn.14004d720
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x38], xmm1
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
lea rax, [rbp + 0x178]
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rax
mov r14, qword [rax]
mov rax, r14
xor rax, rsi
mov qword [rbp + 0x28], rax
movups xmmword [rbp + 0x40], xmm0
lea rax, [rbp + 0x178]
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x40], rsi
mov qword [rax], rdi
mov rax, qword [0x14032b7d0]
mov rcx, qword [rax]
mov rax, qword [0x14032b808]
add rcx, qword [rax]
call fcn.14005fff0
mov rbx, rax
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005fff0
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.14005fff0
mov rcx, rax
call fcn.14005fff0
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.14005fff0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005fff0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005fff0
mov rbx, rax
mov rcx, rax
call fcn.140060070
movaps xmm8, xmm0
lea rcx, [rbx + 0x20]
call fcn.140060070
movaps xmm7, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.140060070
movaps xmm6, xmm0
movups xmmword [rsp + 0x60], xmm15
movsd qword [rsp + 0x58], xmm15
mov rcx, qword [0x14032bb18]
mov eax, dword [rcx]
mov dword [rbp + 8], eax
mov qword [rbp + 0x18], rdi
lea rax, [rsp + 0x58]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x20], Ordinal_26
mov eax, dword [rcx + 0x20]
mov dword [rbp + 0x24], eax
lea r8, [rbp + 8]
mov edx, 1
call fcn.14004d3d0
movsd xmm0, qword [rsp + 0x58]
movsd qword [rsp + 0x50], xmm0
movsd xmm0, qword [rsp + 0x60]
movsd qword [rsp + 0x48], xmm0
movsd xmm0, qword [rsp + 0x68]
movsd qword [rsp + 0x40], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, xmm11
mulsd xmm8, xmm9
movaps xmm1, xmm7
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm8, xmm0
mulsd xmm8, xmm11
mulsd xmm8, xmm9
mulsd xmm8, xmm9
lea rcx, [rsi + 0x394]
call fcn.14005ff70
mulss xmm0, xmm14
movss dword [rsp + 0x30], xmm0
lea rbx, [rbp + 0x178]
mulsd xmm6, xmm12
divsd xmm6, xmm13
mulsd xmm8, xmm12
divsd xmm8, xmm13
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 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 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 xmm6, xmm6
cvtss2sd xmm6, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movaps xmm3, xmm6
mulsd xmm3, xmm7
movaps xmm5, xmm4
mulsd xmm5, xmm7
xor edi, edi
mov qword [rbx], rdi
cvtpd2ps xmm0, xmm7
cvtps2pd xmm14, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
movaps xmm2, xmm12
mulsd xmm2, xmm9
cvtpd2ps xmm0, xmm2
cvtps2pd xmm8, xmm0
movaps xmm1, xmm6
xorps xmm1, xmmword [0x1400ddce0]
mulsd xmm1, xmm9
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm15, xmm0
movaps xmm2, xmm11
mulsd xmm2, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm12
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm13, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm11
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm10, xmm0
mulsd xmm4, xmm9
cvtpd2ps xmm0, xmm4
cvtps2pd xmm4, xmm0
movaps xmm1, xmm6
mulsd xmm1, xmm12
movaps xmm0, xmm11
mulsd xmm0, xmm5
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
mulsd xmm12, xmm5
mulsd xmm6, xmm11
addsd xmm12, xmm6
xorps xmm12, xmmword [0x1400ddce0]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm12
cvtps2pd xmm1, xmm0
movsd xmm6, qword [rsp + 0x38]
movsd qword [rbp - 0x48], xmm6
subsd xmm6, qword [rsp + 0x40]
movups xmm5, xmmword [rbp + 0x78]
movaps xmm9, xmm5
unpckhpd xmm9, xmm5
subsd xmm9, qword [rsp + 0x48]
subsd xmm5, qword [rsp + 0x50]
movaps xmm2, xmm9
mulsd xmm2, xmm7
mulsd xmm8, xmm5
addsd xmm2, xmm8
movaps xmm0, xmm6
mulsd xmm0, xmm14
addsd xmm2, xmm0
movaps xmm8, xmm9
mulsd xmm8, xmm3
mulsd xmm1, xmm5
addsd xmm8, xmm1
movaps xmm0, xmm6
mulsd xmm0, xmm4
addsd xmm8, xmm0
mulsd xmm9, xmm13
mulsd xmm10, xmm5
addsd xmm9, xmm10
mulsd xmm6, xmm15
addsd xmm9, xmm6
movsd xmm7, qword [0x1400dd8a8]
maxsd xmm7, xmm2
mov rbx, qword [0x14032b808]
movd xmm6, dword [rbx + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400dd84c]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x1400dd8e8]
divss xmm0, dword [0x1400dda28]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm10, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1400dd84c]
cvtps2pd xmm1, xmm2
movaps xmm0, xmm10
mulsd xmm0, xmm8
divsd xmm0, xmm7
subsd xmm1, xmm0
movsd qword [rsp + 0x30], xmm1
mulsd xmm10, xmm9
divsd xmm10, xmm7
cvtps2pd xmm0, xmm6
addsd xmm10, xmm0
lea rax, [rbp + 0x178]
mov qword [rax], r14
mov rax, qword [0x14032b7a8]
xorps xmm15, xmm15
movsd xmm9, qword [0x1400dda98]
movsd xmm11, qword [0x1400dd8f0]
movsd xmm12, qword [0x1400dd8b8]
movsd xmm13, qword [0x1400dd910]
movss xmm14, dword [0x1400dd9cc]
movabs rsi, 0xff00ff00ff00ff00
unpcklpd xmm15, xmm15
cmp dword [rax + 8], 1
jne 0x14004f7c7
mov r9d, Ordinal_41
mov r8, r12
lea rdx, [rsp + 0x78]
call fcn.14004d720
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
lea rax, [rbp + 0x178]
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rax
mov r14, qword [rax]
mov rax, r14
xor rax, rsi
mov qword [rbp + 0x28], rax
movups xmmword [rbp - 0x58], xmm0
lea rax, [rbp + 0x178]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x58], rsi
mov qword [rax], rdi
mov rax, qword [0x14032b7d0]
mov rcx, qword [rax]
mov rax, qword [0x14032b808]
add rcx, qword [rax]
call fcn.14005fff0
mov rbx, rax
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005fff0
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.14005fff0
mov rcx, rax
call fcn.14005fff0
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.14005fff0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005fff0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005fff0
mov rbx, rax
mov rcx, rax
call fcn.140060070
movaps xmm8, xmm0
lea rcx, [rbx + 0x20]
call fcn.140060070
movaps xmm7, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.140060070
movaps xmm6, xmm0
movups xmmword [rbp + 0x48], xmm15
movsd qword [rbp + 0x40], xmm15
mov rcx, qword [0x14032bb18]
mov eax, dword [rcx]
mov dword [rbp - 0x38], eax
mov qword [rbp - 0x28], rdi
lea rax, [rbp + 0x40]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x20], Ordinal_26
mov eax, dword [rcx + 0x20]
mov dword [rbp - 0x1c], eax
lea r8, [rbp - 0x38]
mov edx, 1
call fcn.14004d3d0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, xmm11
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, xmm11
mulsd xmm7, xmm9
mulsd xmm7, xmm9
lea rcx, [rsi + 0x394]
call fcn.14005ff70
mulss xmm0, xmm14
movss dword [rsp + 0x30], xmm0
lea rbx, [rbp + 0x178]
mulsd xmm6, xmm12
divsd xmm6, xmm13
mulsd xmm7, xmm12
divsd xmm7, xmm13
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 xmm10, xmm10
cvtss2sd xmm10, xmm0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm13, xmm13
cvtss2sd xmm13, 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 xmm7, xmm7
cvtss2sd xmm7, xmm0
movsd qword [rsp + 0x38], xmm7
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm6, xmm6
cvtss2sd xmm6, xmm0
movsd qword [rsp + 0x40], xmm6
movaps xmm3, xmm7
mulsd xmm3, xmm8
movaps xmm5, xmm7
xorps xmm5, xmmword [0x1400ddce0]
movsd qword [rsp + 0x48], xmm5
movaps xmm4, xmm6
mulsd xmm4, xmm8
xor edi, edi
mov qword [rbx], rdi
cvtpd2ps xmm0, xmm8
cvtps2pd xmm14, xmm0
movaps xmm1, xmm13
mulsd xmm1, xmm10
cvtpd2ps xmm0, xmm1
cvtps2pd xmm8, xmm0
movaps xmm2, xmm11
mulsd xmm2, xmm10
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movaps xmm1, xmm5
mulsd xmm1, xmm10
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm15, xmm0
movaps xmm2, xmm3
mulsd xmm2, xmm13
movaps xmm0, xmm6
mulsd xmm0, xmm11
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm12, xmm0
mulsd xmm3, xmm11
movaps xmm0, xmm6
mulsd xmm0, xmm13
subsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
cvtps2pd xmm9, xmm0
movaps xmm1, xmm6
mulsd xmm1, xmm10
cvtpd2ps xmm0, xmm1
cvtps2pd xmm6, xmm0
movsd xmm2, qword [rsp + 0x38]
mulsd xmm2, xmm11
movaps xmm0, xmm4
mulsd xmm0, xmm13
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm5, xmm0
mulsd xmm4, xmm11
movsd xmm0, qword [rsp + 0x38]
mulsd xmm0, xmm13
addsd xmm4, xmm0
xorps xmm4, xmmword [0x1400ddce0]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm4
cvtps2pd xmm2, xmm0
movsd xmm10, qword [rsp + 0x50]
movsd qword [rbp - 0x48], xmm10
subsd xmm10, qword [rbp + 0x50]
movups xmm11, xmmword [rbp + 0x78]
movaps xmm4, xmm11
unpckhpd xmm4, xmm11
subsd xmm4, qword [rbp + 0x48]
subsd xmm11, qword [rbp + 0x40]
movaps xmm3, xmm11
mulsd xmm3, xmm7
movaps xmm0, xmm4
mulsd xmm0, xmm8
addsd xmm3, xmm0
movaps xmm1, xmm10
mulsd xmm1, xmm14
addsd xmm3, xmm1
movaps xmm8, xmm11
mulsd xmm8, xmm2
movaps xmm0, xmm4
mulsd xmm0, xmm5
addsd xmm8, xmm0
movaps xmm1, xmm10
mulsd xmm1, xmm6
addsd xmm8, xmm1
mulsd xmm11, xmm9
mulsd xmm4, xmm12
addsd xmm11, xmm4
mulsd xmm10, xmm15
addsd xmm11, xmm10
movsd xmm7, qword [0x1400dd8a8]
maxsd xmm7, xmm3
mov rbx, qword [0x14032b808]
movd xmm6, dword [rbx + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400dd84c]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x1400dd8e8]
divss xmm0, dword [0x1400dda28]
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 [0x1400dd84c]
cvtps2pd xmm1, xmm2
mulsd xmm8, xmm3
divsd xmm8, xmm7
subsd xmm1, xmm8
movsd qword [rsp + 0x30], xmm1
mulsd xmm11, xmm3
divsd xmm11, xmm7
cvtps2pd xmm0, xmm6
addsd xmm11, xmm0
movups xmmword [rbp + 0x78], xmm11
lea rax, [rbp + 0x178]
mov qword [rax], r14
lea r9d, [rdi + 8]
mov r8, r12
lea rdx, [rsp + 0x78]
call fcn.14004d720
movups xmm12, xmmword [rax]
movsd xmm13, qword [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
lea rax, [rbp + 0x178]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rax
mov r14, qword [rax]
mov rax, r14
xor rax, rcx
mov qword [rbp - 0x58], rax
movups xmmword [rbp + 0x28], xmm0
lea rax, [rbp + 0x178]
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x28], rcx
mov qword [rax], rdi
mov rax, qword [0x14032b7d0]
mov rcx, qword [rax]
mov rax, qword [0x14032b808]
add rcx, qword [rax]
call fcn.14005fff0
mov rbx, rax
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005fff0
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.14005fff0
mov rcx, rax
call fcn.14005fff0
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.14005fff0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005fff0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005fff0
mov rbx, rax
mov rcx, rax
call fcn.140060070
movaps xmm8, xmm0
lea rcx, [rbx + 0x20]
call fcn.140060070
movaps xmm7, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.140060070
movaps xmm6, xmm0
xorps xmm15, xmm15
movups xmmword [rbp + 0x48], xmm15
movsd qword [rbp + 0x40], xmm15
mov rcx, qword [0x14032bb18]
mov eax, dword [rcx]
mov dword [rbp - 0x38], eax
mov qword [rbp - 0x28], rdi
lea rax, [rbp + 0x40]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x20], Ordinal_26
mov eax, dword [rcx + 0x20]
mov dword [rbp - 0x1c], eax
lea r8, [rbp - 0x38]
mov edx, 1
call fcn.14004d3d0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, qword [0x1400dd8f0]
movsd xmm10, qword [0x1400dda98]
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 [0x1400dd8f0]
mulsd xmm9, xmm10
mulsd xmm9, xmm10
lea rcx, [rsi + 0x394]
call fcn.14005ff70
movaps xmm11, xmm0
mulss xmm11, dword [0x1400dd9cc]
lea rbx, [rbp + 0x178]
mulsd xmm6, qword [0x1400dd8b8]
divsd xmm6, qword [0x1400dd910]
mulsd xmm9, qword [0x1400dd8b8]
divsd xmm9, qword [0x1400dd910]
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 xmm14, qword [rsp + 0x38]
mulsd xmm14, xmm7
xor edi, edi
mov qword [rbx], rdi
cvtpd2ps xmm0, xmm7
cvtps2pd xmm10, xmm0
movaps xmm1, xmm9
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm5, xmm0
movaps xmm2, xmm3
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm6, xmm0
movsd xmm1, qword [rsp + 0x48]
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
movsd xmm2, qword [rsp + 0x40]
movaps xmm1, xmm2
mulsd xmm1, xmm3
movaps xmm0, xmm14
mulsd xmm0, xmm9
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm4, xmm0
mulsd xmm14, xmm3
mulsd xmm2, xmm9
subsd xmm14, xmm2
cvtpd2ps xmm0, xmm14
cvtps2pd xmm2, xmm0
movsd qword [rbp - 0x48], xmm13
subsd xmm13, qword [rbp + 0x50]
movaps xmm8, xmm12
unpckhpd xmm8, xmm12
subsd xmm8, qword [rbp + 0x48]
subsd xmm12, qword [rbp + 0x40]
movaps xmm1, xmm8
mulsd xmm1, xmm5
mulsd xmm6, xmm12
addsd xmm1, xmm6
movaps xmm0, xmm13
mulsd xmm0, xmm10
addsd xmm1, xmm0
mulsd xmm8, xmm4
mulsd xmm2, xmm12
addsd xmm8, xmm2
mulsd xmm13, xmm7
addsd xmm8, xmm13
movsd xmm7, qword [0x1400dd8a8]
maxsd xmm7, xmm1
mov rax, qword [0x14032b808]
movd xmm6, dword [rax + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400dd84c]
mulss xmm11, dword [0x1400dd8e8]
divss xmm11, dword [0x1400dda28]
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm10, xmm1
mulsd xmm10, xmm8
divsd xmm10, xmm7
cvtps2pd xmm0, xmm6
addsd xmm10, xmm0
lea rax, [rbp + 0x178]
mov qword [rax], r14
movups xmm0, xmmword [rbp + 0x78]
subsd xmm10, xmm0
mulsd xmm10, qword [0x1400dd8a0]
addsd xmm10, xmm0
mov rax, qword [0x14032b7a8]
unpcklpd xmm15, xmm15
cmp dword [rax + 8], 2
jne 0x14004fc45
mov r9d, 2
mov r8, r12
lea rdx, [rbp - 0x38]
call fcn.14004d720
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
lea r12, [rbp + 0x178]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], r12
mov r14, qword [r12]
mov rax, r14
xor rax, rcx
mov qword [rbp - 0x58], rax
movups xmmword [rbp + 0x78], xmm0
lea rax, [rbp + 0x178]
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x78], rcx
mov qword [rax], rdi
mov rax, qword [0x14032b7d0]
mov rcx, qword [rax]
mov rax, qword [0x14032b808]
add rcx, qword [rax]
call fcn.14005fff0
mov rbx, rax
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005fff0
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.14005fff0
mov rcx, rax
call fcn.14005fff0
mov rcx, qword [0x14032b7d0]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.14005fff0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005fff0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005fff0
mov rbx, rax
mov rcx, rax
call fcn.140060070
movaps xmm8, xmm0
lea rcx, [rbx + 0x20]
call fcn.140060070
movaps xmm7, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.140060070
movaps xmm6, xmm0
movups xmmword [rbp + 0x30], xmm15
movsd qword [rbp + 0x28], xmm15
mov rcx, qword [0x14032bb18]
mov eax, dword [rcx]
mov dword [rbp - 0x18], eax
mov qword [rbp - 8], rdi
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
mov dword [rbp], Ordinal_26
mov eax, dword [rcx + 0x20]
mov dword [rbp + 4], eax
lea r8, [rbp - 0x18]
mov edx, 1
call fcn.14004d3d0
movsd xmm0, qword [rbp + 0x28]
movsd qword [rsp + 0x38], xmm0
movsd xmm0, qword [rbp + 0x30]
movsd qword [rsp + 0x40], xmm0
movsd xmm0, qword [rbp + 0x38]
movsd qword [rsp + 0x48], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, qword [0x1400dd8f0]
movsd xmm9, qword [0x1400dda98]
mulsd xmm8, xmm9
movaps xmm1, xmm7
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm8, xmm0
mulsd xmm8, qword [0x1400dd8f0]
mulsd xmm8, xmm9
mulsd xmm8, xmm9
lea rcx, [rsi + 0x394]
call fcn.14005ff70
mulss xmm0, dword [0x1400dd9cc]
movss dword [rsp + 0x30], xmm0
lea rbx, [rbp + 0x178]
mulsd xmm6, qword [0x1400dd8b8]
divsd xmm6, qword [0x1400dd910]
mulsd xmm8, qword [0x1400dd8b8]
divsd xmm8, qword [0x1400dd910]
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 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 xmm13, xmm13
cvtss2sd xmm13, 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
xor edi, edi
mov qword [rbx], rdi
cvtpd2ps xmm0, xmm7
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x70], xmm0
movaps xmm1, xmm13
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm14, xmm0
movaps xmm2, xmm11
mulsd xmm2, xmm9
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movaps xmm1, xmm12
xorps xmm1, xmmword [0x1400ddce0]
mulsd xmm1, xmm9
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [rbp + 0x78], xmm0
movaps xmm2, xmm4
mulsd xmm2, xmm11
movaps xmm0, xmm3
mulsd xmm0, xmm13
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm15, xmm0
mulsd xmm3, xmm11
movaps xmm0, xmm4
mulsd xmm0, xmm13
subsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
cvtps2pd xmm10, xmm0
mulsd xmm4, xmm9
cvtpd2ps xmm0, xmm4
cvtps2pd xmm6, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm11
movaps xmm0, xmm8
mulsd xmm0, xmm13
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm5, xmm0
mulsd xmm12, xmm13
mulsd xmm8, xmm11
addsd xmm12, xmm8
movsd xmm11, qword [0x1400ddce0]
xorps xmm12, xmm11
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm12
cvtps2pd xmm2, xmm0
movsd xmm8, qword [rsp + 0x50]
movsd qword [rbp - 0x48], xmm8
subsd xmm8, qword [rsp + 0x48]
movups xmm9, xmmword [rbp + 0x40]
movaps xmm4, xmm9
unpckhpd xmm4, xmm9
subsd xmm4, qword [rsp + 0x40]
subsd xmm9, qword [rsp + 0x38]
movaps xmm3, xmm9
mulsd xmm3, xmm7
movaps xmm0, xmm4
mulsd xmm0, xmm14
addsd xmm3, xmm0
movaps xmm1, xmm8
mulsd xmm1, qword [rsp + 0x70]
addsd xmm3, xmm1
movaps xmm7, xmm9
mulsd xmm7, xmm2
movaps xmm0, xmm4
mulsd xmm0, xmm5
addsd xmm7, xmm0
movaps xmm1, xmm8
mulsd xmm1, xmm6
addsd xmm7, xmm1
mulsd xmm9, xmm10
mulsd xmm4, xmm15
addsd xmm9, xmm4
mulsd xmm8, qword [rbp + 0x78]
addsd xmm9, xmm8
movsd xmm8, qword [0x1400dd8a8]
maxsd xmm8, xmm3
mov rbx, qword [0x14032b808]
movd xmm6, dword [rbx + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400dd84c]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x1400dd8e8]
divss xmm0, dword [0x1400dda28]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm10, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1400dd84c]
cvtps2pd xmm2, xmm2
movaps xmm0, xmm10
mulsd xmm0, xmm7
divsd xmm0, xmm8
subsd xmm2, xmm0
mulsd xmm10, xmm9
divsd xmm10, xmm8
cvtps2pd xmm0, xmm6
addsd xmm10, xmm0
mov qword [r12], r14
mov rax, qword [0x14032b7a8]
xorps xmm15, xmm15
jmp 0x14004fc54
movsd xmm2, qword [rsp + 0x30]
movsd xmm11, qword [0x1400ddce0]
movsd xmm0, qword [rbp + 0x60]
comisd xmm10, xmm0
jbe 0x14004fc6e
movaps xmm6, xmm0
subsd xmm6, xmm10
xorps xmm6, xmm11
jmp 0x14004fc76
movaps xmm6, xmm10
subsd xmm6, xmm0
movss xmm3, dword [rax + 0x14]
cvtps2pd xmm3, xmm3
divsd xmm6, xmm3
movaps xmm1, xmm0
addsd xmm1, xmm6
addsd xmm0, xmm0
comisd xmm1, xmm0
ja 0x14004fc9a
comisd xmm15, xmm1
jbe 0x14004fc9d
xorps xmm6, xmm6
movsd xmm1, qword [rbp + 0x70]
comisd xmm2, xmm1
jbe 0x14004fcb5
movaps xmm0, xmm1
subsd xmm0, xmm2
xorps xmm0, xmm11
jmp 0x14004fcbc
movaps xmm0, xmm2
subsd xmm0, xmm1
divsd xmm0, xmm3
movaps xmm2, xmm0
addsd xmm2, xmm1
addsd xmm1, xmm1
comisd xmm2, xmm1
ja 0x14004fcd8
comisd xmm15, xmm2
jbe 0x14004fcdb
xorps xmm0, xmm0
divsd xmm6, xmm3
xorps xmm0, xmm11
divsd xmm0, xmm3
movsd qword [rbp + 0x70], xmm0
mov rcx, qword [0x14032bb18]
mov eax, dword [rcx]
mov dword [rbp - 0x58], eax
lea rax, [rbp + 0x70]
mov qword [rbp - 0x48], rax
lea rax, [r13 + 0x520]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x40], 8
mov eax, dword [rcx + 0x20]
mov dword [rbp - 0x3c], eax
lea r8, [rbp - 0x58]
xor edx, edx
call fcn.14004d3d0
movsd qword [rbp + 0x60], xmm6
mov rcx, qword [0x14032bb18]
mov eax, dword [rcx]
mov dword [rbp - 0x18], eax
lea rax, [rbp + 0x60]
mov qword [rbp - 8], rax
lea rax, [r13 + 0x528]
mov qword [rbp - 0x10], rax
mov dword [rbp], 8
mov eax, dword [rcx + 0x20]
mov dword [rbp + 4], eax
lea r8, [rbp - 0x18]
xor edx, edx
call fcn.14004d3d0
mov rax, qword [0x14032b7a8]
cmp byte [rax + 0x18], 0
je 0x14004fe04
mov ecx, 8
call fcn.1400c2efc
lea rcx, [0x14004e960]
mov qword [rax], rcx
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140061450]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x60], rax
test rax, rax
je 0x14004fe83
cmp dword [rbp + 0x68], 0
jne 0x14004fdc8
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 + 0x68], eax
jne 0x14004fddf
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x40], xmm0
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14004fe04
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movabs rax, 0xff00ff00ff00ff00
xor r15, rax
lea rax, [rbp + 0x178]
mov qword [rax], r15
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1400c2b20
lea r11, [rsp + 0x250]
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 + 0x68], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3