Function at 0x1400c3570
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xa0
mov rbx, r8
mov r15, rcx
xor esi, esi
test rcx, rcx
je 0x1400c38e2
xor ecx, ecx
call fcn.1400df100
mov edi, eax
mov qword [rbp + 0x1f], rdi
cmp r15, qword [rbp + 0x7f]
jb 0x1400c38c5
cmp rdi, 1
jbe 0x1400c38c5
lea rax, [r15 + 1]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
xorps xmm0, xmm0
test rdi, rdi
js 0x1400c35e6
cvtsi2sd xmm0, rdi
jmp 0x1400c35fe
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 + 0x17], r14
mov qword [rbp - 9], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x11], rsi
mov rax, rsi
mov qword [rbp - 1], rax
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x31]
call fcn.1400c3200
mov r12, r14
cmp r15, r14
cmovl r12, r15
mov qword [rbp - 0x19], r12
mov rcx, rsi
mov r13, rsi
mov qword [rbp + 7], rsi
mov rdx, rsi
mov qword [rbp + 0xf], rsi
mov qword [rbp - 0x39], rsi
mov r14, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x29]
nop dword [rax + rax]
cmp rcx, r15
jge 0x1400c3779
cmp rdi, r14
je 0x1400c36f4
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400c36b2
mov qword [rax], r13
mov qword [rax + 8], r12
mov rcx, qword [rbp + 7]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
jmp 0x1400c36b5
mov rax, rsi
mov qword [rbp - 0x39], rax
lea r13, [rdi + 8]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400c3140]
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 0x1400c3910
add rdi, 0x10
mov qword [rbp - 0x29], rdi
mov rax, qword [rbp - 1]
jmp 0x1400c372e
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x11]
lea r8, [rbp - 9]
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.1400c2b00
mov rbx, qword [rbp - 9]
mov r14, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x29]
mov r12, qword [rbp - 0x19]
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x11], r12
mov rcx, r12
mov r12, qword [rbp + 0x17]
add r12, rcx
cmp r15, r12
cmovl r12, r15
mov qword [rbp - 0x19], r12
inc rax
mov qword [rbp - 1], rax
mov r13, rax
mov qword [rbp - 0x41], rax
mov qword [rbp + 7], rcx
mov rdx, rcx
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x39], rcx
inc rax
cmp rax, qword [rbp + 0x1f]
jb 0x1400c3680
mov r12, r13
mov r13, rcx
jmp 0x1400c3781
mov r12, qword [rbp + 0xf]
mov r13, qword [rbp - 0x39]
cmp rdx, r15
jge 0x1400c381b
cmp rdi, r14
je 0x1400c37ed
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400c37af
mov qword [rax], r12
mov qword [rax + 8], r15
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rbx
jmp 0x1400c37b2
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, [0x1400c3140]
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 0x1400c391f
add rdi, 0x10
mov qword [rbp - 0x29], rdi
jmp 0x1400c381b
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x5f]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x11]
lea r8, [rbp - 9]
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.1400c2b00
mov r14, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x29]
mov rsi, qword [rbp - 0x31]
mov rbx, rsi
cmp rsi, rdi
je 0x1400c3864
cmp dword [rbx + 8], 0
je 0x1400c385b
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x1400c3905
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x1f], xmm0
xor edx, edx
lea rcx, [rbp + 0x1f]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x1400c392c
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x1400c3827
test rsi, rsi
je 0x1400c38c1
mov rax, rsi
cmp rsi, rdi
je 0x1400c3880
cmp dword [rax + 8], 0
jne 0x1400c38af
add rax, 0x10
cmp rax, rdi
jne 0x1400c3871
sub r14, rsi
and r14, 0xfffffffffffffff0
mov rax, rsi
cmp r14, 0x1000
jb 0x1400c38b6
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c38b6
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 0x1400c38e4
test r15, r15
jle 0x1400c38e2
nop word [rax + rax]
mov edx, esi
mov rcx, qword [rbx]
call fcn.1400c4ca0
inc rsi
cmp rsi, r15
jl 0x1400c38d0
xor al, al
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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