Function at 0x1400ebab0
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 0x1400ebeb5
xor ecx, ecx
call fcn.1400df100
mov r13d, eax
cmp r15, qword [rbp + 0x7f]
jb 0x1400ebe44
cmp r13, 1
jbe 0x1400ebe44
lea rcx, [r15 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400ebb1b
cvtsi2sd xmm0, rcx
jmp 0x1400ebb30
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
xorps xmm1, xmm1
test r13, r13
js 0x1400ebb3f
cvtsi2sd xmm1, r13
jmp 0x1400ebb57
mov rcx, r13
shr rcx, 1
mov rax, r13
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 0x1400ebb88
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400ebb88
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rdi, xmm0
add rdi, rax
mov eax, 1
cmp rdi, rax
cmovb rdi, rax
mov qword [rbp + 0x1f], rdi
mov qword [rbp - 9], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x39], r13
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, rdi
cmp r15, rdi
cmovb r12, r15
mov qword [rbp - 0x19], r12
mov rcx, rsi
mov r14, rsi
mov qword [rbp + 7], rsi
mov rdx, rsi
mov qword [rbp + 0xf], rsi
mov qword [rbp - 0x39], rsi
mov rsi, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x29]
nop dword [rax + rax]
cmp rcx, r15
jae 0x1400ebcf4
cmp rdi, rsi
je 0x1400ebc73
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400ebc30
mov qword [rax], r14
mov qword [rax + 8], r12
mov rcx, qword [rbp + 7]
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, [0x1400eb510]
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 0x1400ebee3
add rdi, 0x10
mov qword [rbp - 0x29], rdi
mov rax, qword [rbp - 1]
jmp 0x1400ebcad
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.1400eb050
mov rbx, qword [rbp - 9]
mov rsi, 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 + 0x1f]
add r12, rcx
cmp r15, r12
cmovb r12, r15
mov qword [rbp - 0x19], r12
inc rax
mov qword [rbp - 1], rax
mov r14, 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, r13
jb 0x1400ebc00
mov r12, rcx
jmp 0x1400ebcfc
mov r14, qword [rbp + 0xf]
mov r12, qword [rbp - 0x39]
cmp rdx, r15
jae 0x1400ebd95
cmp rdi, rsi
je 0x1400ebd67
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400ebd28
mov qword [rax], r14
mov qword [rax + 8], r15
mov qword [rax + 0x10], r12
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, [0x1400eb510]
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 0x1400ebef5
add rdi, 0x10
mov qword [rbp - 0x29], rdi
jmp 0x1400ebd95
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.1400eb050
mov rsi, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x29]
mov r14, qword [rbp - 0x31]
mov rbx, r14
cmp r14, rdi
je 0x1400ebdde
cmp dword [rbx + 8], 0
je 0x1400ebdd5
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x1400ebed8
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 0x1400ebf06
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x1400ebda1
test r14, r14
je 0x1400ebe40
mov rax, r14
cmp r14, rdi
je 0x1400ebdff
nop dword [rax + rax]
cmp dword [rax + 8], 0
jne 0x1400ebe2e
add rax, 0x10
cmp rax, rdi
jne 0x1400ebdf0
sub rsi, r14
and rsi, 0xfffffffffffffff0
mov rax, r14
cmp rsi, 0x1000
jb 0x1400ebe35
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ebe35
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 0x1400ebeb7
mov r9, rsi
test r15, r15
je 0x1400ebeb5
nop dword [rax]
mov rcx, qword [rbx]
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
mov rax, qword [rax]
mov r8, qword [rcx + 0x10]
movsxd rcx, dword [rax + r9*4]
mov rax, qword [rdx]
lea r11, [rax + rcx*4]
mov rdi, qword [rdx + 8]
mov rax, qword [r8]
lea rsi, [rax + r9*4]
mov r14, qword [r8 + 8]
mov r10, qword [r8 + 0x10]
xor edx, edx
test r10, r10
jle 0x1400ebead
nop word [rax + rax]
mov rax, rdx
imul rax, rdi
mov rcx, rdx
imul rcx, r14
mov eax, dword [r11 + rax*4]
mov dword [rsi + rcx*4], eax
inc rdx
cmp rdx, r10
jl 0x1400ebe90
inc r9
cmp r9, r15
jb 0x1400ebe50
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 [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