Function at 0x140010eb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov r15, rcx
xor edi, edi
mov ecx, 0x288
call fcn.140060858
mov rsi, rax
mov qword [rbp + 0x6f], rax
mov byte [rax], dil
xorps xmm0, xmm0
movups xmmword [rax + 4], xmm0
lea rcx, [rax + 0x18]
call fcn.140011890
lea r14, [rsi + 0x280]
mov dl, 1
lea rcx, [rsi + 0x18]
call fcn.140012100
test rax, rax
je 0x140010f1c
add rax, 8
mov qword [r14], rax
je 0x140010f1f
mov qword [rax + 0x10], r14
jmp 0x140010f1f
mov qword [r14], rdi
mov qword [r15], rsi
mov ecx, 0x70
call fcn.140060858
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
lea rcx, [rax + 0x20]
mov edx, 2
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
mov qword [r15 + 8], rbx
xor eax, eax
mov qword [r15 + 0x20], rax
mov dword [r15 + 0x28], eax
lea rsi, [r15 + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
lea rcx, [r15 + 0x48]
lea edx, [rax + 2]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov ecx, 0x20
call fcn.140060858
mov rbx, rax
mov dword [rax], 1
mov dword [rax + 4], 2
xor eax, eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rdi
mov dword [rbx + 0x18], edi
mov qword [rbp + 0x27], rbx
lock inc dword [rbx]
mov qword [rbp + 0x6f], rbx
lea ecx, [rax + 0x10]
call fcn.140060858
mov qword [rbp + 0x6f], rdi
mov qword [rax], rbx
mov qword [rax + 8], r15
mov qword [rbp + 0x77], rax
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140012f10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x17], rax
test rax, rax
je 0x140011142
lea rax, [rbp + 0x17]
mov ebx, 0xfffffffe
lea r14d, [rbx + 1]
cmp rsi, rax
je 0x140011076
mov rcx, rsi
call fcn.1400015f0
cmp dword [rsi + 8], 0
jne 0x140011121
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rsi], xmm1
mov rax, qword [rbp + 0x27]
mov qword [rbp + 0x27], rdi
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x10], rax
test rcx, rcx
je 0x14001107a
mov eax, ebx
lock xadd dword [rcx + 4], eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x140011076
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140011076
lea edx, [rbx + 0x22]
call fcn.140060aec
mov rdi, qword [rbp + 0x27]
mov eax, dword [rbp + 0x1f]
test eax, eax
je 0x1400110f2
test rdi, rdi
je 0x140011091
mov rcx, rdi
call fcn.1400013c0
mov eax, dword [rbp + 0x1f]
test eax, eax
jne 0x14001109f
lea ecx, [rax + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x1f], eax
jne 0x1400110b6
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [rbp + 0x17]
movaps xmmword [rbp - 0x29], xmm0
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1400110da
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
mov rdi, qword [rbp + 0x27]
psrldq xmm0, 8
movd eax, xmm0
test rdi, rdi
je 0x14001111d
lock xadd dword [rdi + 4], ebx
and ebx, 0xfffffffe
cmp ebx, 2
jne 0x14001111a
lock xadd dword [rdi], r14d
cmp r14d, 1
jne 0x14001111a
lea edx, [rbx + 0x1e]
mov rcx, rdi
call fcn.140060aec
mov eax, dword [rbp + 0x1f]
test eax, eax
je 0x140011128
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rax, r15
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp + 0x1f], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3