Function at 0x1400cd708
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r13, rcx
xor r12d, r12d
mov r15d, r12d
mov dword [rbp + 0x6f], r12d
mov qword [rsp + 0x38], 0x64
lea rax, [0x1400c0cd4]
mov qword [rbp - 0x59], rax
lea rax, [0x1400c6174]
mov qword [rbp - 0x51], rax
lea rax, [0x1400c7618]
mov qword [rbp - 0x49], rax
lea rax, [0x1400c94a4]
mov qword [rbp - 0x41], rax
mov qword [rsp + 0x40], r12
xorps xmm6, xmm6
mov qword [rsp + 0x48], r12
movsd xmm7, qword [0x140128d88]
mov qword [rbp + 0x7f], r12
call fcn.140036128
movsd qword [rsp + 0x30], xmm0
mov dword [rbp + 0x77], r12d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], r12
lea r8, [rbp + 0x77]
mov rdx, r13
lea rcx, [rbp - 0x71]
call fcn.140011a08
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov rsi, r12
mov qword [rbp - 0x79], r12
mov rdi, r12
mov rbx, qword [rsp + 0x58]
test r13, r13
je 0x1400cd8b8
mov qword [rbp - 0x39], rdi
lea rax, [rbp - 0x59]
mov qword [rbp - 0x31], rax
lea rax, [rbp + 0x7f]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x71]
mov qword [rbp - 0x21], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x19], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x11], rax
cmp rbx, rsi
je 0x1400cd892
mov ecx, 0x30
call fcn.14011ace8
test rax, rax
je 0x1400cd84a
mov qword [rax], rdi
lea rcx, [rbp - 0x59]
mov qword [rax + 8], rcx
lea rcx, [rbp + 0x7f]
mov qword [rax + 0x10], rcx
lea rcx, [rbp - 0x71]
mov qword [rax + 0x18], rcx
lea rcx, [rsp + 0x30]
mov qword [rax + 0x20], rcx
lea rcx, [rsp + 0x38]
mov qword [rax + 0x28], rcx
jmp 0x1400cd84d
mov rax, r12
or r15d, 1
mov dword [rbp + 0x6f], r15d
mov qword [rbp + 0x77], rax
lea r14, [rbx + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400c23e4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400cda6d
add rbx, 0x10
mov qword [rsp + 0x58], rbx
jmp 0x1400cd8ac
lea r8, [rbp - 0x39]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400c21c0
mov rsi, qword [rbp - 0x79]
mov rbx, qword [rsp + 0x58]
inc rdi
cmp rdi, r13
jb 0x1400cd7d5
xor r15d, r15d
mov rdi, qword [rsp + 0x50]
test r13, r13
je 0x1400cd91a
mov r14, rdi
cmp dword [r14 + 8], 0
je 0x1400cda62
call sub.MSVCP140.dll__Thrd_id
cmp dword [r14 + 8], eax
je 0x1400cda86
movups xmm0, xmmword [r14]
movdqu xmmword [rbp - 9], xmm0
xor edx, edx
lea rcx, [rbp - 9]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x1400cda7b
xorps xmm0, xmm0
movdqu xmmword [r14], xmm0
mov rax, qword [rbp - 0x71]
add r12d, dword [rax + r15*4]
inc r15
add r14, 0x10
cmp r15, r13
jb 0x1400cd8c8
call fcn.140036128
mov eax, r12d
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm1, xmm7
subsd xmm0, qword [rsp + 0x30]
divsd xmm1, xmm0
mov rax, qword [rbp + 0x7f]
comisd xmm1, xmm6
jbe 0x1400cd94f
mov r14, rax
mov qword [rsp + 0x40], rax
movaps xmm6, xmm1
jmp 0x1400cd954
mov r14, qword [rsp + 0x40]
xor r12d, r12d
test rdi, rdi
je 0x1400cd9b2
mov rax, rdi
cmp rdi, rbx
je 0x1400cd977
cmp dword [rax + 8], r12d
jne 0x1400cda4d
add rax, 0x10
cmp rax, rbx
jne 0x1400cd964
sub rsi, rdi
and rsi, 0xfffffffffffffff0
mov rax, rdi
cmp rsi, 0x1000
jb 0x1400cd9a3
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cda54
mov rdx, rsi
mov rcx, rdi
call fcn.14011ad24
mov rax, qword [rbp + 0x7f]
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x1400cd9f0
mov rdx, qword [rbp - 0x61]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cd9e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cda5b
call fcn.14011ad24
mov rax, qword [rbp + 0x7f]
inc rax
mov qword [rbp + 0x7f], rax
cmp rax, 4
mov r15d, dword [rbp + 0x6f]
jb 0x1400cd788
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
cmp rax, 3
jb 0x1400cd784
mov rax, qword [rbp + r14*8 - 0x59]
mov qword [0x140159398], rax
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [r14], r12d
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
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3