Function at 0x140065ef0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x188
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
xor r12d, r12d
mov rax, qword [0x1405c5a58]
mov rdx, qword [rax + 0x48]
add rdx, rcx
mov qword [rbp + 0xd0], r12
lea r9d, [r12 + 8]
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rax, qword [0x1405c57b8]
cmp byte [rax + 0x23], r12b
je 0x140065fe3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x55555556
imul r8d
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
sub r8d, ecx
je 0x140065fea
sub r8d, 1
je 0x140066006
cmp r8d, 1
jne 0x140066036
mov rax, qword [0x1405c5ae0]
mov r9d, dword [rax + 0x84]
mov dword [0x1405c5568], r9d
jmp 0x14006603d
mov eax, dword [rax + 0xc]
test eax, eax
jne 0x140066001
mov rax, qword [0x1405c5ae0]
mov r9d, dword [rax + 0x80]
mov dword [0x1405c5568], r9d
jmp 0x14006603d
cmp eax, 1
jne 0x14006601a
mov rax, qword [0x1405c5ae0]
mov r9d, dword [rax + 0x7c]
mov dword [0x1405c5568], r9d
jmp 0x14006603d
cmp eax, 2
jne 0x140066036
mov rax, qword [0x1405c5ae0]
mov r9d, dword [rax + 0x84]
mov dword [0x1405c5568], r9d
jmp 0x14006603d
mov r9d, dword [0x1405c5568]
mov r8, qword [rbp + 0xd0]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1405c5af8]
call fcn.14006fed0
lea r15, [rbp + 0xc8]
movabs r13, 0xff00ff00ff00ff00
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r15
mov r14, qword [r15]
mov rax, r14
xor rax, r13
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0xc8]
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x38], r13
mov qword [rax], r12
mov rax, qword [0x1405c5ab8]
mov rdx, qword [rax]
mov rax, qword [0x1405c5a58]
add rdx, qword [rax]
mov qword [rbp + 0xd0], r12
mov r9d, 8
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rbx, qword [rbp + 0xd0]
mov rax, qword [0x1405c5a58]
mov rdx, qword [rax + 8]
add rdx, rbx
mov qword [rbp + 0xd8], r12
mov r9d, 8
lea r8, [rbp + 0xd8]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rax, qword [0x1405c5a58]
mov rdx, qword [rbp + 0xd8]
add rdx, qword [rax + 0x10]
mov qword [rbp + 0xd0], r12
mov r9d, 8
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov qword [rbp + 0xd8], r12
mov r9d, 8
lea r8, [rbp + 0xd8]
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rax, qword [0x1405c5a58]
mov rdx, qword [rbp + 0xd8]
add rdx, qword [rax + 0x18]
mov qword [rbp + 0xd0], r12
mov r9d, 8
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rsi, qword [rbp + 0xd0]
mov qword [rbp + 0xd8], r12
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp + 0xd8]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rdi, qword [rbp + 0xd8]
mov qword [rbp + 0xd0], r12
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rbx, qword [rbp + 0xd0]
xorps xmm9, xmm9
movsd qword [rbp + 0xd8], xmm9
mov r9d, 8
lea r8, [rbp + 0xd8]
mov rdx, rbx
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
movsd xmm8, qword [rbp + 0xd8]
movsd qword [rbp + 0xd0], xmm9
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
movsd xmm7, qword [rbp + 0xd0]
movsd qword [rbp + 0xd8], xmm9
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp + 0xd8]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
movsd xmm6, qword [rbp + 0xd8]
movups xmmword [rsp + 0x48], xmm9
movsd qword [rsp + 0x40], xmm9
mov r9d, Ordinal_26
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x38], xmm0
movsd xmm0, qword [rsp + 0x48]
movsd qword [rbp + 0xe8], xmm0
movsd xmm9, qword [rsp + 0x50]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, qword [0x140169b40]
movsd xmm10, qword [0x140169b70]
mulsd xmm8, xmm10
movaps xmm1, xmm7
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm8, xmm0
mulsd xmm8, qword [0x140169b40]
mulsd xmm8, xmm10
mulsd xmm8, xmm10
mov dword [rbp + 0xd0], 0
lea rdx, [rsi + 0x394]
mov r9d, 4
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
movss xmm0, dword [rbp + 0xd0]
mulss xmm0, dword [0x14016234c]
movss dword [rbp + 0xd8], xmm0
lea rbx, [rbp + 0xc8]
mulsd xmm6, qword [0x140169b20]
divsd xmm6, qword [0x140169b50]
mulsd xmm8, qword [0x140169b20]
divsd xmm8, qword [0x140169b50]
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 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
movsd qword [rbp - 0x80], xmm12
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
movsd qword [rsp + 0x30], xmm8
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm14, xmm14
cvtss2sd xmm14, xmm0
movsd qword [rbp + 0xe0], xmm14
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm6, xmm6
cvtss2sd xmm6, xmm0
movsd qword [rsp + 0x78], xmm6
movaps xmm5, xmm14
mulsd xmm5, xmm7
movsd qword [rbp - 0x78], xmm5
movaps xmm11, xmm14
xorps xmm11, xmmword [0x140167010]
movsd qword [rsp + 0x40], xmm11
movaps xmm13, xmm6
mulsd xmm13, xmm7
mov qword [rbx], r12
cvtpd2ps xmm0, xmm7
cvtps2pd xmm4, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm10
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
movaps xmm2, xmm10
mulsd xmm2, xmm11
cvtpd2ps xmm0, xmm2
cvtps2pd xmm1, xmm0
movsd qword [rbp - 0x70], xmm1
movaps xmm1, xmm12
mulsd xmm1, xmm5
movaps xmm0, xmm6
mulsd xmm0, xmm8
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm15, xmm0
movaps xmm1, xmm6
mulsd xmm1, xmm10
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm2, xmm14
mulsd xmm2, xmm8
movaps xmm0, xmm12
mulsd xmm0, xmm13
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm6, xmm0
movsd xmm14, qword [rsp + 0x70]
subsd xmm14, xmm9
movsd xmm12, qword [rsp + 0x68]
subsd xmm12, qword [rbp + 0xe8]
movsd xmm9, qword [rsp + 0x60]
subsd xmm9, qword [rsp + 0x38]
movaps xmm0, xmm8
mulsd xmm0, xmm10
cvtpd2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm9
movaps xmm1, xmm12
mulsd xmm1, xmm3
addsd xmm2, xmm1
mulsd xmm4, xmm14
addsd xmm2, xmm4
movsd xmm10, qword [0x140162330]
movaps xmm8, xmm10
maxsd xmm8, xmm2
mov rbx, qword [0x1405c5ab8]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x14016206c]
movss xmm0, dword [rbp + 0xd8]
mulss xmm0, dword [0x1401660d0]
divss xmm0, dword [0x140162364]
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 [0x14016206c]
cvtps2pd xmm0, xmm2
movsd qword [rbp + 0xd8], xmm0
movsd xmm4, qword [rsp + 0x30]
movaps xmm1, xmm4
mulsd xmm1, xmm13
movsd xmm0, qword [rbp + 0xe0]
mulsd xmm0, qword [rbp - 0x80]
addsd xmm1, xmm0
xorps xmm1, xmmword [0x140167010]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm9
mulsd xmm6, xmm12
addsd xmm2, xmm6
mulsd xmm11, xmm14
addsd xmm2, xmm11
mulsd xmm2, xmm3
divsd xmm2, xmm8
movsd xmm6, qword [rbp + 0xd8]
subsd xmm6, xmm2
movsd qword [rbp + 0xd8], xmm6
mulsd xmm4, qword [rbp - 0x78]
movsd xmm0, qword [rsp + 0x78]
mulsd xmm0, qword [rbp - 0x80]
subsd xmm4, xmm0
cvtpd2ps xmm0, xmm4
cvtps2pd xmm13, xmm0
mulsd xmm13, xmm9
mulsd xmm15, xmm12
addsd xmm13, xmm15
movsd xmm0, qword [rbp - 0x70]
mulsd xmm0, xmm14
addsd xmm13, xmm0
mulsd xmm13, xmm3
divsd xmm13, xmm8
cvtps2pd xmm0, xmm7
addsd xmm13, xmm0
mov qword [r15], r14
mov rax, qword [0x1405c5a58]
mov rdx, qword [rax + 0x58]
add rdx, 0x168
xorps xmm9, xmm9
movups xmmword [rbp - 0x48], xmm9
movsd qword [rbp - 0x50], xmm9
mov r9d, Ordinal_26
lea r8, [rbp - 0x50]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
movsd xmm8, qword [rsp + 0x68]
movaps xmm1, xmm8
subsd xmm1, qword [0x1405c5578]
movsd xmm12, qword [rsp + 0x60]
movaps xmm2, xmm12
subsd xmm2, qword [0x1405c5570]
movsd xmm7, qword [rsp + 0x70]
movaps xmm0, xmm7
subsd xmm0, qword [0x1405c5580]
mulsd xmm2, xmm2
mulsd xmm1, xmm1
addsd xmm2, xmm1
mulsd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm1, xmm2
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x1400666a5
xorps xmm3, xmm3
sqrtss xmm3, xmm1
jmp 0x1400666b0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm3, xmm0
divss xmm3, dword [0x140169b60]
movss xmm1, dword [0x1401620ac]
movss xmm11, dword [0x140162220]
andps xmm1, xmm11
movaps xmm2, xmm3
mulss xmm2, xmm3
mulss xmm2, xmm1
mov rax, qword [0x1405c57b8]
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rax + 0x24]
mulss xmm2, xmm0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm3
movsd xmm3, qword [rbp - 0x40]
mulsd xmm3, xmm1
addsd xmm3, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
addsd xmm3, xmm0
movsd qword [rsp + 0x38], xmm3
movsd xmm0, qword [rbp - 0x48]
mulsd xmm0, xmm1
addsd xmm0, xmm8
movsd qword [rsp + 0x30], xmm0
movsd xmm0, qword [rbp - 0x50]
mulsd xmm0, xmm1
addsd xmm0, xmm12
movsd qword [rbp + 0xe8], xmm0
cmp byte [rax + 0x20], 0
je 0x140066dd3
lea r15, [rbp + 0xc8]
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r15
mov r14, qword [r15]
mov rax, r14
xor rax, r13
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0xc8]
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x70], r13
mov qword [rax], r12
mov rax, qword [0x1405c5ab8]
mov rdx, qword [rax]
mov rax, qword [0x1405c5a58]
add rdx, qword [rax]
mov qword [rbp + 0xd0], r12
mov r9d, 8
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rbx, qword [rbp + 0xd0]
mov rax, qword [0x1405c5a58]
mov rdx, qword [rax + 8]
add rdx, rbx
mov qword [rbp + 0xd8], r12
mov r9d, 8
lea r8, [rbp + 0xd8]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rax, qword [0x1405c5a58]
mov rdx, qword [rbp + 0xd8]
add rdx, qword [rax + 0x10]
mov qword [rbp + 0xd0], r12
mov r9d, 8
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov qword [rbp + 0xd8], r12
mov r9d, 8
lea r8, [rbp + 0xd8]
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rax, qword [0x1405c5a58]
mov rdx, qword [rbp + 0xd8]
add rdx, qword [rax + 0x18]
mov qword [rbp + 0xd0], r12
mov r9d, 8
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rsi, qword [rbp + 0xd0]
mov qword [rbp + 0xd8], r12
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp + 0xd8]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rdi, qword [rbp + 0xd8]
mov qword [rbp + 0xd0], r12
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
mov rbx, qword [rbp + 0xd0]
movsd qword [rbp + 0xd8], xmm9
mov r9d, 8
lea r8, [rbp + 0xd8]
mov rdx, rbx
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
movsd xmm8, qword [rbp + 0xd8]
movsd qword [rbp + 0xd0], xmm9
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
movsd xmm7, qword [rbp + 0xd0]
movsd qword [rbp + 0xd8], xmm9
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp + 0xd8]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
movsd xmm6, qword [rbp + 0xd8]
movups xmmword [rsp + 0x68], xmm9
movsd qword [rsp + 0x60], xmm9
mov r9d, Ordinal_26
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
movsd xmm15, qword [rsp + 0x60]
movsd xmm14, qword [rsp + 0x68]
movsd xmm13, qword [rsp + 0x70]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, qword [0x140169b40]
movsd xmm9, qword [0x140169b70]
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 [0x140169b40]
mulsd xmm8, xmm9
mulsd xmm8, xmm9
mov dword [rbp + 0xd0], 0
lea rdx, [rsi + 0x394]
mov r9d, 4
lea r8, [rbp + 0xd0]
mov rcx, qword [0x1405c57b0]
call fcn.1400561b0
movss xmm0, dword [rbp + 0xd0]
mulss xmm0, dword [0x14016234c]
movss dword [rbp + 0xd8], xmm0
lea rbx, [rbp + 0xc8]
mulsd xmm6, qword [0x140169b20]
divsd xmm6, qword [0x140169b50]
mulsd xmm8, qword [0x140169b20]
divsd xmm8, qword [0x140169b50]
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 xmm8, xmm8
cvtss2sd xmm8, xmm0
movsd qword [rbp - 0x78], xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm5, xmm5
cvtss2sd xmm5, xmm0
movsd qword [rbp - 0x70], xmm5
movsd xmm2, qword [rbp + 0xe0]
mulsd xmm2, xmm7
movsd qword [rbp - 0x80], xmm2
movsd xmm6, qword [rsp + 0x78]
movaps xmm11, xmm6
mulsd xmm11, xmm7
mov qword [rbx], r12
cvtpd2ps xmm0, xmm7
cvtps2pd xmm4, xmm0
movaps xmm1, xmm8
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
movsd xmm1, qword [rsp + 0x40]
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm1, xmm0
movsd qword [rsp + 0x40], xmm1
movaps xmm1, xmm8
mulsd xmm1, xmm2
movaps xmm0, xmm6
mulsd xmm0, xmm5
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm12, xmm0
movaps xmm1, xmm6
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm10, xmm0
movsd xmm2, qword [rbp + 0xe0]
mulsd xmm2, xmm5
movaps xmm0, xmm8
mulsd xmm0, xmm11
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm6, xmm0
movsd xmm2, qword [rsp + 0x38]
subsd xmm2, xmm13
movsd qword [rsp + 0x38], xmm2
movsd xmm5, qword [rsp + 0x30]
subsd xmm5, xmm14
movsd qword [rsp + 0x30], xmm5
movsd xmm7, qword [rbp + 0xe8]
subsd xmm7, xmm15
movsd qword [rbp + 0xe8], xmm7
movsd xmm13, qword [rbp - 0x70]
movaps xmm0, xmm13
mulsd xmm0, xmm9
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm7
mulsd xmm3, xmm5
addsd xmm1, xmm3
mulsd xmm4, xmm2
addsd xmm1, xmm4
movsd xmm14, qword [0x140162330]
movaps xmm8, xmm14
maxsd xmm8, xmm1
mov rbx, qword [0x1405c5ab8]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x14016206c]
movss xmm0, dword [rbp + 0xd8]
mulss xmm0, dword [0x1401660d0]
divss xmm0, dword [0x140162364]
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 [0x14016206c]
cvtps2pd xmm15, xmm2
movaps xmm0, xmm13
mulsd xmm0, xmm11
movsd xmm1, qword [rbp + 0xe0]
mulsd xmm1, qword [rbp - 0x78]
addsd xmm0, xmm1
xorps xmm0, xmmword [0x140167010]
cvtsd2ss xmm0, xmm0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [rbp + 0xe8]
mulsd xmm6, qword [rsp + 0x30]
addsd xmm1, xmm6
mulsd xmm10, qword [rsp + 0x38]
addsd xmm1, xmm10
mulsd xmm1, xmm3
divsd xmm1, xmm8
subsd xmm15, xmm1
mulsd xmm13, qword [rbp - 0x80]
movsd xmm0, qword [rsp + 0x78]
mulsd xmm0, qword [rbp - 0x78]
subsd xmm13, xmm0
cvtpd2ps xmm0, xmm13
cvtps2pd xmm11, xmm0
mulsd xmm11, qword [rbp + 0xe8]
mulsd xmm12, qword [rsp + 0x30]
addsd xmm11, xmm12
movsd xmm0, qword [rsp + 0x40]
mulsd xmm0, qword [rsp + 0x38]
addsd xmm11, xmm0
mulsd xmm11, xmm3
divsd xmm11, xmm8
cvtps2pd xmm0, xmm7
addsd xmm11, xmm0
mov qword [r15], r14
mov rax, qword [0x1405c57b8]
cmp byte [rax + 0x22], 0
je 0x140066d90
movaps xmm0, xmm11
subsd xmm0, xmm14
cvtpd2ps xmm7, xmm0
movaps xmm1, xmm11
addsd xmm1, xmm14
cvtpd2ps xmm9, xmm1
movaps xmm0, xmm15
subsd xmm0, xmm14
cvtpd2ps xmm8, xmm0
movaps xmm1, xmm15
addsd xmm1, xmm14
cvtpd2ps xmm10, xmm1
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
divss xmm0, dword [0x140169b68]
subss xmm9, xmm7
mulss xmm9, xmm0
addss xmm9, xmm7
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
divss xmm0, dword [0x140169b68]
subss xmm10, xmm8
mulss xmm10, xmm0
addss xmm10, xmm8
mov rax, qword [0x1405c57b8]
cmp byte [rax + 0x28], 0
je 0x140066d72
movaps xmm2, xmm9
movss xmm0, dword [0x140162220]
andps xmm2, xmm0
movss xmm1, dword [rax + 0x2c]
comiss xmm2, xmm1
ja 0x140066d72
movaps xmm2, xmm10
andps xmm2, xmm0
comiss xmm2, xmm1
jbe 0x140066d86
movaps xmm1, xmm10
movaps xmm0, xmm9
call fcn.14006fbb0
mov rax, qword [0x1405c57b8]
cmp byte [rax + 0x22], 0
jne 0x140066eec
cmp byte [rax + 0x28], 0
je 0x140066dc4
movaps xmm0, xmm11
movsd xmm1, qword [0x140167000]
andps xmm0, xmm1
movss xmm2, dword [rax + 0x2c]
cvtps2pd xmm2, xmm2
comisd xmm0, xmm2
ja 0x140066dc4
movaps xmm0, xmm15
andps xmm0, xmm1
comisd xmm0, xmm2
jbe 0x140066eec
cvtpd2ps xmm1, xmm15
cvtpd2ps xmm0, xmm11
jmp 0x140066ee0
cmp byte [rax + 0x22], 0
je 0x140066ea8
movaps xmm0, xmm13
subsd xmm0, xmm10
cvtpd2ps xmm7, xmm0
movaps xmm1, xmm13
addsd xmm1, xmm10
cvtpd2ps xmm9, xmm1
movaps xmm0, xmm6
subsd xmm0, xmm10
cvtpd2ps xmm8, xmm0
movaps xmm1, xmm6
addsd xmm1, xmm10
cvtpd2ps xmm10, xmm1
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
divss xmm0, dword [0x140169b68]
subss xmm9, xmm7
mulss xmm9, xmm0
addss xmm9, xmm7
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
divss xmm0, dword [0x140169b68]
subss xmm10, xmm8
mulss xmm10, xmm0
addss xmm10, xmm8
mov rax, qword [0x1405c57b8]
cmp byte [rax + 0x28], 0
je 0x140066e86
movaps xmm2, xmm9
andps xmm2, xmm11
movss xmm0, dword [rax + 0x2c]
comiss xmm2, xmm0
ja 0x140066e86
movaps xmm2, xmm10
andps xmm2, xmm11
comiss xmm2, xmm0
jbe 0x140066e9a
movaps xmm1, xmm10
movaps xmm0, xmm9
call fcn.14006fbb0
mov rax, qword [0x1405c57b8]
movsd xmm6, qword [rbp + 0xd8]
cmp byte [rax + 0x22], 0
jne 0x140066eec
cmp byte [rax + 0x28], 0
je 0x140066ed7
movaps xmm0, xmm13
movsd xmm1, qword [0x140167000]
andps xmm0, xmm1
movss xmm2, dword [rax + 0x2c]
cvtps2pd xmm2, xmm2
comisd xmm0, xmm2
ja 0x140066ed7
movaps xmm0, xmm6
andps xmm0, xmm1
comisd xmm0, xmm2
jbe 0x140066eec
cvtpd2ps xmm0, xmm13
cvtpd2ps xmm1, xmm6
call fcn.14006fbb0
mov rax, qword [0x1405c57b8]
cmp byte [rax + 0x21], 0
je 0x140066f7f
mov ecx, 8
call fcn.1401592b0
test rax, rax
je 0x140066f11
lea rcx, [0x14007ee20]
mov qword [rax], rcx
jmp 0x140066f14
mov rax, r12
mov qword [rbp + 0xd0], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140059f10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140066fdd
cmp dword [rsp + 0x48], 0
je 0x140066fed
call sub.MSVCP140.dll__Thrd_id
cmp dword [rsp + 0x48], eax
je 0x140066ff8
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x70], xmm0
xor edx, edx
lea rcx, [rbp - 0x70]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x140066fd2
lea r11, [rsp + 0x188]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x48], r12d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3