Function at 0x1400c3d10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov rbx, r8
mov rdi, rcx
test rcx, rcx
je 0x1400c41c8
xor ecx, ecx
call fcn.1400df100
mov r12d, eax
cmp rdi, qword [rbp + 0x7f]
jb 0x1400c40a7
cmp r12, 1
jbe 0x1400c40a7
lea rcx, [rdi + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400c3d76
cvtsi2sd xmm0, rcx
jmp 0x1400c3d8b
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
xorps xmm1, xmm1
test r12, r12
js 0x1400c3d9a
cvtsi2sd xmm1, r12
jmp 0x1400c3db2
mov rcx, r12
shr rcx, 1
mov rax, r12
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
divsd xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
xor eax, eax
movsd xmm1, qword [0x14012fdb8]
comisd xmm0, xmm1
jb 0x1400c3de3
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400c3de3
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rdi, xmm0
add rdi, rax
mov eax, 1
cmp rdi, rax
cmovb rdi, rax
mov qword [rbp - 1], rdi
mov qword [rbp - 9], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], 0
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x11], 0
xor r13d, r13d
mov qword [rbp - 0x41], r13
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x31]
call fcn.1400c3200
mov r15, rdi
mov r8, qword [rbp + 0x5f]
cmp r8, rdi
cmovb r15, r8
mov qword [rbp - 0x19], r15
xor ecx, ecx
xor r14d, r14d
xor eax, eax
mov qword [rbp + 0xf], rax
mov edx, eax
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x39], rax
mov rsi, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x29]
nop
cmp rcx, r8
jae 0x1400c3f51
cmp rdi, rsi
je 0x1400c3ecf
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400c3e90
mov qword [rax], r14
mov qword [rax + 8], r15
mov rcx, qword [rbp + 0xf]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
mov qword [rbp - 0x39], rax
lea r14, [rdi + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c2fc0]
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 0x1400c41f0
add rdi, 0x10
mov qword [rbp - 0x29], rdi
jmp 0x1400c3f09
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.1400c28a0
mov rbx, qword [rbp - 9]
mov rsi, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x29]
mov r15, qword [rbp - 0x19]
mov r13, qword [rbp - 0x41]
mov qword [rbp - 0x11], r15
mov rcx, r15
mov r15, qword [rbp - 1]
add r15, rcx
mov r8, qword [rbp + 0x5f]
cmp r8, r15
cmovb r15, r8
mov qword [rbp - 0x19], r15
inc r13
mov r14, r13
mov qword [rbp - 0x41], r13
mov qword [rbp + 0xf], rcx
mov rdx, rcx
mov qword [rbp + 0x17], r13
mov qword [rbp - 0x39], rcx
lea rax, [r13 + 1]
cmp rax, r12
jb 0x1400c3e60
mov r15, rcx
jmp 0x1400c3f59
mov r14, qword [rbp + 0x17]
mov r15, qword [rbp - 0x39]
cmp rdx, r8
jae 0x1400c3ff6
cmp rdi, rsi
je 0x1400c3fc8
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400c3f89
mov qword [rax], r14
mov rcx, qword [rbp + 0x5f]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rbx
mov qword [rbp + 0x5f], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c2fc0]
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 0x1400c4202
add rdi, 0x10
mov qword [rbp - 0x29], rdi
jmp 0x1400c3ff6
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.1400c28a0
mov rsi, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x29]
mov r14, qword [rbp - 0x31]
mov rbx, r14
cmp r14, rdi
je 0x1400c403f
cmp dword [rbx + 8], 0
je 0x1400c4036
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x1400c41e5
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 0x1400c4213
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x1400c4002
test r14, r14
je 0x1400c40a0
mov rax, r14
cmp r14, rdi
je 0x1400c405f
nop dword [rax]
cmp dword [rax + 8], 0
jne 0x1400c408e
add rax, 0x10
cmp rax, rdi
jne 0x1400c4050
sub rsi, r14
and rsi, 0xfffffffffffffff0
mov rax, r14
cmp rsi, 0x1000
jb 0x1400c4095
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4095
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, rsi
mov rcx, r14
call fcn.14010810c
mov al, 1
jmp 0x1400c41ca
xor r13d, r13d
test rdi, rdi
je 0x1400c41c8
xor r15d, r15d
nop word [rax + rax]
mov rsi, qword [rbx]
xor ebx, ebx
xor r14d, r14d
nop dword [rax + rax]
mov rax, qword [rsi + 0x10]
mov rax, qword [rax]
mov rcx, qword [rsi]
mov rdx, rbx
imul rdx, qword [rcx]
add rdx, r13
mov rcx, qword [rax + rdx*8]
lea rdx, [rcx + rcx*2]
mov rax, qword [rsi + 8]
mov rcx, qword [rax]
mov r12, qword [rcx + rdx*8 + 8]
mov rdi, qword [rcx + rdx*8]
cmp rdi, r12
je 0x1400c41a2
nop word [rax + rax]
mov rcx, qword [rsi]
xor edx, edx
mov rax, qword [rdi]
div qword [rcx]
mov qword [rbp - 1], rdx
cmp rdx, r13
je 0x1400c4195
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx + r15]
add rcx, r14
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
je 0x1400c4146
mov qword [rax], rdx
add qword [rcx + 8], 8
jmp 0x1400c4152
lea r8, [rbp - 1]
mov rdx, rax
call fcn.14005ddb0
mov rax, qword [rsi + 0x20]
cmp byte [rax], 0
je 0x1400c4195
mov rcx, qword [rsi]
xor edx, edx
mov rax, qword [rdi]
div qword [rcx]
mov qword [rbp - 1], rax
mov rcx, qword [rsi + 0x28]
mov rdx, qword [rcx]
mov rcx, qword [rdx + r15]
add rcx, r14
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1400c418c
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x1400c4195
lea r8, [rbp - 1]
call fcn.14005ddb0
add rdi, 8
cmp rdi, r12
jne 0x1400c4110
inc rbx
add r14, 0x18
cmp r14, 0x48
jl 0x1400c40d0
inc r13
add r15, 0x18
cmp r13, qword [rbp + 0x5f]
mov rbx, qword [rbp + 0x6f]
jb 0x1400c40c0
xor al, al
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [r14], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbx], 0
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