Function at 0x1400e7710
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 8], ecx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x90
mov rbx, r8
movsxd r15, ecx
xor esi, esi
test ecx, ecx
je 0x1400e7a76
xor ecx, ecx
call fcn.1400df100
mov edi, eax
mov qword [rbp + 0x1f], rdi
cmp r15, qword [rbp + 0x7f]
jb 0x1400e7a54
cmp rdi, 1
jbe 0x1400e7a54
lea eax, [r15 + 1]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
xorps xmm0, xmm0
test rdi, rdi
js 0x1400e7784
cvtsi2sd xmm0, rdi
jmp 0x1400e779c
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 r14d, xmm0
mov eax, 1
cmp r14d, eax
cmovl r14d, eax
mov dword [rbp - 0x21], r14d
mov qword [rbp + 0xf], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rsi
mov qword [rbp - 0x19], rdi
mov dword [rbp - 0x2d], esi
mov rax, rsi
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 9]
call fcn.1400c3200
mov r12d, r14d
cmp r15d, r14d
cmovl r12d, r15d
mov dword [rbp - 0x31], r12d
mov ecx, esi
mov r13, rsi
mov dword [rbp - 0x29], esi
mov edx, esi
mov qword [rbp - 0x19], rsi
mov dword [rbp - 0x25], esi
mov r14, qword [rbp + 7]
mov rdi, qword [rbp - 1]
cmp ecx, r15d
jge 0x1400e7908
cmp rdi, r14
je 0x1400e7886
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400e7844
mov qword [rax], r13
mov dword [rax + 8], r12d
mov ecx, dword [rbp - 0x29]
mov dword [rax + 0x10], ecx
mov qword [rax + 0x18], rbx
jmp 0x1400e7847
mov rax, rsi
mov qword [rbp - 0x19], rax
lea r13, [rdi + 8]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400e65c0]
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 0x1400e7aa4
add rdi, 0x10
mov qword [rbp - 1], rdi
mov rax, qword [rbp + 0x17]
jmp 0x1400e78c0
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x2d]
lea r8, [rbp + 0xf]
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.1400e5b60
mov rbx, qword [rbp + 0xf]
mov r14, qword [rbp + 7]
mov rdi, qword [rbp - 1]
mov r12d, dword [rbp - 0x31]
mov rax, qword [rbp - 0x11]
mov dword [rbp - 0x2d], r12d
mov ecx, r12d
mov r12d, dword [rbp - 0x21]
add r12d, ecx
cmp r15d, r12d
cmovl r12d, r15d
mov dword [rbp - 0x31], r12d
inc rax
mov qword [rbp + 0x17], rax
mov r13, rax
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x29], ecx
mov edx, ecx
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x25], ecx
inc rax
cmp rax, qword [rbp + 0x1f]
jb 0x1400e7814
mov r12, r13
mov r13d, ecx
jmp 0x1400e7910
mov r12, qword [rbp - 0x19]
mov r13d, dword [rbp - 0x25]
cmp edx, r15d
jge 0x1400e79aa
cmp rdi, r14
je 0x1400e797c
mov ecx, 0x20
call fcn.140108140
test rax, rax
je 0x1400e793e
mov qword [rax], r12
mov dword [rax + 8], r15d
mov dword [rax + 0x10], r13d
mov qword [rax + 0x18], rbx
jmp 0x1400e7941
mov rax, rsi
mov qword [rbp + 0x1f], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400e65c0]
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 0x1400e7ab3
add rdi, 0x10
mov qword [rbp - 1], rdi
jmp 0x1400e79aa
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x5f]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x2d]
lea r8, [rbp + 0xf]
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.1400e5b60
mov r14, qword [rbp + 7]
mov rdi, qword [rbp - 1]
mov rsi, qword [rbp - 9]
mov rbx, rsi
cmp rsi, rdi
je 0x1400e79f3
cmp dword [rbx + 8], 0
je 0x1400e79ea
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x1400e7a99
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 0x1400e7ac0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x1400e79b6
test rsi, rsi
je 0x1400e7a50
mov rax, rsi
cmp rsi, rdi
je 0x1400e7a0f
cmp dword [rax + 8], 0
jne 0x1400e7a3e
add rax, 0x10
cmp rax, rdi
jne 0x1400e7a00
sub r14, rsi
and r14, 0xfffffffffffffff0
mov rax, rsi
cmp r14, 0x1000
jb 0x1400e7a45
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e7a45
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 0x1400e7a78
test r15d, r15d
jle 0x1400e7a76
nop dword [rax]
mov dword [rbp + 0x5f], esi
lea rdx, [rbp + 0x5f]
mov rcx, qword [rbx]
call fcn.1400e9b70
inc esi
cmp esi, r15d
jl 0x1400e7a60
xor al, al
lea r11, [rsp + 0x90]
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