Function at 0x1400eb670
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 0x1400eba51
xor ecx, ecx
call fcn.1400df100
mov edi, eax
mov qword [rbp + 0x1f], rdi
cmp r15, qword [rbp + 0x7f]
jb 0x1400eba04
cmp rdi, 1
jbe 0x1400eba04
lea rcx, [r15 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400eb6de
cvtsi2sd xmm0, rcx
jmp 0x1400eb6f3
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
xorps xmm1, xmm1
test rdi, rdi
js 0x1400eb702
cvtsi2sd xmm1, rdi
jmp 0x1400eb71a
mov rcx, rdi
shr rcx, 1
mov rax, rdi
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 0x1400eb74b
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400eb74b
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si r14, xmm0
add r14, rax
mov eax, 1
cmp r14, rax
cmovb 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 r13, r14
cmp r15, r14
cmovb r13, r15
mov qword [rbp - 0x19], r13
mov rcx, rsi
mov r12, 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
cmp rcx, r15
jae 0x1400eb8b6
cmp rdi, r14
je 0x1400eb834
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400eb7f2
mov qword [rax], r12
mov qword [rax + 8], r13
mov rcx, qword [rbp + 7]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
jmp 0x1400eb7f5
mov rax, rsi
mov qword [rbp - 0x39], rax
lea r12, [rdi + 8]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400eb5e0]
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 0x1400eba7f
add rdi, 0x10
mov qword [rbp - 0x29], rdi
mov rax, qword [rbp - 1]
jmp 0x1400eb86e
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.1400eb2b0
mov rbx, qword [rbp - 9]
mov r14, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x29]
mov r13, qword [rbp - 0x19]
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x11], r13
mov rcx, r13
mov r13, qword [rbp + 0x17]
add r13, rcx
cmp r15, r13
cmovb r13, r15
mov qword [rbp - 0x19], r13
inc rax
mov qword [rbp - 1], rax
mov r12, 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 0x1400eb7c0
mov r13, rcx
jmp 0x1400eb8be
mov r12, qword [rbp + 0xf]
mov r13, qword [rbp - 0x39]
cmp rdx, r15
jae 0x1400eb958
cmp rdi, r14
je 0x1400eb92a
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400eb8ec
mov qword [rax], r12
mov qword [rax + 8], r15
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rbx
jmp 0x1400eb8ef
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, [0x1400eb5e0]
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 0x1400eba8e
add rdi, 0x10
mov qword [rbp - 0x29], rdi
jmp 0x1400eb958
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.1400eb2b0
mov r14, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x29]
mov rsi, qword [rbp - 0x31]
mov rbx, rsi
cmp rsi, rdi
je 0x1400eb9a1
cmp dword [rbx + 8], 0
je 0x1400eb998
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x1400eba74
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 0x1400eba9b
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x1400eb964
test rsi, rsi
je 0x1400eba00
mov rax, rsi
cmp rsi, rdi
je 0x1400eb9bf
nop
cmp dword [rax + 8], 0
jne 0x1400eb9ee
add rax, 0x10
cmp rax, rdi
jne 0x1400eb9b0
sub r14, rsi
and r14, 0xfffffffffffffff0
mov rax, rsi
cmp r14, 0x1000
jb 0x1400eb9f5
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400eb9f5
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 0x1400eba53
test r15, r15
je 0x1400eba51
nop dword [rax]
mov rdx, qword [rbx]
mov r10, qword [rdx]
mov rax, qword [rdx + 8]
mov rax, qword [rax]
mov rcx, qword [rax + rsi*8]
mov rax, qword [r10]
lea r9, [rax + rcx*4]
mov rdx, qword [rdx + 0x10]
mov rax, qword [rdx]
lea r8, [rax + rsi*4]
mov rcx, qword [r10 + 8]
mov rdx, qword [rdx + 8]
mov eax, dword [r9]
mov dword [r8], eax
mov eax, dword [r9 + rcx*4]
mov dword [r8 + rdx*4], eax
inc rsi
cmp rsi, r15
jb 0x1400eba10
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 [r12], 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