Function at 0x1400de2a0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xc0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rbx, r8
mov r15, rcx
xor esi, esi
test rcx, rcx
je 0x1400de738
xor ecx, ecx
call fcn.1400df100
mov edi, eax
mov qword [rbp - 1], rdi
cmp r15, qword [rbp + 0x7f]
jb 0x1400de5f9
cmp rdi, 1
jbe 0x1400de5f9
lea rax, [r15 + 1]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
xorps xmm0, xmm0
test rdi, rdi
js 0x1400de31c
cvtsi2sd xmm0, rdi
jmp 0x1400de334
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
divsd xmm1, xmm0
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si r14, xmm0
mov eax, 1
cmp r14, rax
cmovl r14, rax
mov qword [rbp - 9], r14
mov qword [rbp - 0x29], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x31], rsi
mov rax, rsi
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x51]
call fcn.1400c3200
mov r12, r14
cmp r15, r14
cmovl r12, r15
mov qword [rbp - 0x39], r12
mov rcx, rsi
mov r13, rsi
mov qword [rbp - 0x19], rsi
mov rdx, rsi
mov qword [rbp - 0x11], rsi
mov qword [rbp - 0x59], rsi
mov r14, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x49]
cmp rcx, r15
jge 0x1400de4aa
cmp rdi, r14
je 0x1400de425
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400de3e3
mov qword [rax], r13
mov qword [rax + 8], r12
mov rcx, qword [rbp - 0x19]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
jmp 0x1400de3e6
mov rax, rsi
mov qword [rbp - 0x59], rax
lea r13, [rdi + 8]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400dddf0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x1400de770
add rdi, 0x10
mov qword [rbp - 0x49], rdi
mov rax, qword [rbp - 0x21]
jmp 0x1400de45f
lea rax, [rbp - 0x61]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x31]
lea r8, [rbp - 0x29]
mov rdx, rdi
lea rcx, [rbp - 0x51]
call fcn.1400ddb90
mov rbx, qword [rbp - 0x29]
mov r14, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x49]
mov r12, qword [rbp - 0x39]
mov rax, qword [rbp - 0x61]
mov qword [rbp - 0x31], r12
mov rcx, r12
mov r12, qword [rbp - 9]
add r12, rcx
cmp r15, r12
cmovl r12, r15
mov qword [rbp - 0x39], r12
inc rax
mov qword [rbp - 0x21], rax
mov r13, rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x19], rcx
mov rdx, rcx
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x59], rcx
inc rax
cmp rax, qword [rbp - 1]
jb 0x1400de3b1
mov r12, r13
mov r13, rcx
jmp 0x1400de4b2
mov r12, qword [rbp - 0x11]
mov r13, qword [rbp - 0x59]
cmp rdx, r15
jge 0x1400de54c
cmp rdi, r14
je 0x1400de51e
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400de4e0
mov qword [rax], r12
mov qword [rax + 8], r15
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rbx
jmp 0x1400de4e3
mov rax, rsi
mov qword [rbp + 0x5f], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400dddf0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x1400de77f
add rdi, 0x10
mov qword [rbp - 0x49], rdi
jmp 0x1400de54c
lea rax, [rbp - 0x61]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x5f]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x31]
lea r8, [rbp - 0x29]
mov rdx, rdi
lea rcx, [rbp - 0x51]
call fcn.1400ddb90
mov r14, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x49]
mov rsi, qword [rbp - 0x51]
mov rbx, rsi
cmp rsi, rdi
je 0x1400de595
cmp dword [rbx + 8], 0
je 0x1400de58c
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x1400de765
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 1], xmm0
xor edx, edx
lea rcx, [rbp - 1]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x1400de78c
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x1400de558
test rsi, rsi
je 0x1400de5f2
mov rax, rsi
cmp rsi, rdi
je 0x1400de5b1
cmp dword [rax + 8], 0
jne 0x1400de5e0
add rax, 0x10
cmp rax, rdi
jne 0x1400de5a2
sub r14, rsi
and r14, 0xfffffffffffffff0
mov rax, rsi
cmp r14, 0x1000
jb 0x1400de5e7
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400de5e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rdx, r14
mov rcx, rsi
call fcn.14010810c
mov al, 1
jmp 0x1400de73a
test r15, r15
jle 0x1400de738
mov rax, qword [rbx]
mov rdi, qword [rax]
mov r14, qword [rax + 8]
nop dword [rax]
mov rbx, qword [rdi]
mov rcx, qword [rdi + 8]
mov r12, qword [r14]
lea rax, [rsi + rcx*2]
movsd xmm7, qword [rbx + rax*8]
lea rax, [rcx + rsi]
movsd xmm6, qword [rbx + rax*8]
movaps xmm1, xmm6
mulsd xmm1, xmm7
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1400de642
sqrtpd xmm0, xmm1
jmp 0x1400de64a
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
addsd xmm6, xmm7
subsd xmm6, qword [rbx + rsi*8]
addsd xmm0, xmm0
divsd xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_acos
movsd qword [r12 + rsi*8], xmm0
mov rbx, qword [rdi]
mov r12, qword [rdi + 8]
mov r13, qword [r14]
movsd xmm6, qword [rbx + rsi*8]
lea rax, [rsi + r12*2]
movsd xmm7, qword [rbx + rax*8]
movaps xmm1, xmm6
mulsd xmm1, xmm7
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1400de697
sqrtpd xmm0, xmm1
jmp 0x1400de69f
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
addsd xmm6, xmm7
lea rax, [r12 + rsi]
subsd xmm6, qword [rbx + rax*8]
addsd xmm0, xmm0
divsd xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_acos
mov rax, qword [r14 + 8]
add rax, rsi
movsd qword [r13 + rax*8], xmm0
mov rbx, qword [rdi]
mov r12, qword [rdi + 8]
mov r13, qword [r14]
lea rax, [r12 + rsi]
movsd xmm7, qword [rbx + rax*8]
movsd xmm6, qword [rbx + rsi*8]
movaps xmm1, xmm6
mulsd xmm1, xmm7
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1400de6f8
sqrtpd xmm0, xmm1
jmp 0x1400de700
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
addsd xmm6, xmm7
lea rax, [rsi + r12*2]
subsd xmm6, qword [rbx + rax*8]
addsd xmm0, xmm0
divsd xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_acos
mov rax, qword [r14 + 8]
lea rax, [rsi + rax*2]
movsd qword [r13 + rax*8], xmm0
inc rsi
cmp rsi, r15
jl 0x1400de610
xor al, al
lea r11, [rsp + 0xc0]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [r13], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbx], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3