Function at 0x140006800
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2c00]
mov eax, 0x2d00
call fcn.14006b8b0
sub rsp, rax
mov rax, qword [0x1400a82e8]
xor rax, rsp
mov qword [rbp + 0x2bf0], rax
mov r8, rdx
mov edx, ecx
lea rcx, [rbp + 0x90]
call fcn.14002c210
nop
mov rax, qword [rbp + 0xc8]
mov ecx, dword [rax + 8]
mov dword [0x1400aa7b0], ecx
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x10]
call fcn.1400040e0
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 8]
call fcn.140004000
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x14000689d
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rcx
lea rcx, [rbp - 0x10]
call fcn.140005d50
mov ecx, 0x380
call fcn.14006b270
mov rdi, rax
mov qword [rsp + 0x38], rax
xor r15d, r15d
lea r14, vtable.std::_Ref_count_obj2_class_PoolCommunication_.0
test rax, rax
je 0x14000690b
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r14
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x38]
call fcn.1400040e0
mov rdx, rax
lea rcx, [rdi + 0x10]
call fcn.1400405d0
jmp 0x14000690e
mov rdi, r15
lea rax, [rdi + 0x10]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rdi
lea rcx, [rsp + 0x48]
call fcn.1400057c0
nop
mov ecx, 0x380
call fcn.14006b270
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000696f
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r14
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x50]
call fcn.1400040e0
mov rdx, rax
lea rcx, [rsi + 0x10]
call fcn.1400405d0
jmp 0x140006972
mov rsi, r15
lea rax, [rsi + 0x10]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x14000699e
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rbp + 0xc8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rcx
movdqu xmmword [rsp + 0x60], xmm0
test rdi, rdi
je 0x1400069be
lock inc dword [rdi + 8]
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
xor r9d, r9d
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xe0]
call fcn.140039b80
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x140006a06
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rbp + 0xc8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
movdqu xmmword [rbp - 0x80], xmm0
test rsi, rsi
je 0x140006a25
lock inc dword [rsi + 8]
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rsi
mov r9b, 1
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x1668]
call fcn.140039b80
nop
lea rcx, [rbp + 0xe0]
call fcn.14003b570
mov ecx, 0x18
call fcn.14006b270
test rax, rax
je 0x140006a87
lea rcx, [rbp + 0x1668]
mov qword [rax], rcx
lea rcx, [rbp + 0xe0]
mov qword [rax + 8], rcx
lea rcx, [0x1400059a0]
mov qword [rax + 0x10], rcx
jmp 0x140006a8a
mov rax, r15
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140003700]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x140006cf7
mov ecx, 0xd0
call fcn.14006b270
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140006b2c
lea rax, vtable.std::_Associated_state_int_.0
mov qword [rbx], rax
mov dword [rbx + 8], 1
lea rcx, [rbx + 0x10]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_
lea rcx, [rbx + 0x20]
mov edx, 2
call sub.MSVCP140.dll__Mtx_init_in_situ
lea rcx, [rbx + 0x70]
call sub.MSVCP140.dll__Cnd_init_in_situ
mov byte [rbx + 0xb8], 0
mov dword [rbx + 0xbc], r15d
mov word [rbx + 0xc0], 0
mov byte [rbx + 0xc2], 0
mov qword [rbx + 0xc8], r15
jmp 0x140006b2f
mov rbx, r15
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x58], 0
mov byte [rbp - 0x50], 0
test rbx, rbx
je 0x140006d06
mov byte [rbp - 0x50], 1
lock inc dword [rbx + 8]
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x18], 1
cmp byte [rbx + 0xb8], 0
jne 0x140006ce0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
nop
mov r14d, 0xffffffff
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140006ba2
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x140006b94
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
jmp 0x140006ba2
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
lea rcx, [rbp - 0x60]
call fcn.1400045e0
nop
cmp dword [rbp - 0x68], 0
je 0x140006bb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
lea rcx, [rbp + 0x1668]
call fcn.14003a4d0
nop
lea rcx, [rbp + 0xe0]
call fcn.14003a4d0
nop
test rsi, rsi
je 0x140006c04
mov eax, r14d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140006c04
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, r14d
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x140006c04
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + ioctlsocket]
nop
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x140006c7e
mov rsi, qword [rsp + 0x50]
cmp rbx, rsi
je 0x140006c31
mov rcx, rbx
call fcn.140004a30
add rbx, 0x100
cmp rbx, rsi
jne 0x140006c18
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
sub rdx, rbx
and rdx, 0xffffffffffffff00
mov rax, rbx
cmp rdx, 0x1000
jb 0x140006c68
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006c68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14006b2ac
mov qword [rsp + 0x48], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
test rdi, rdi
je 0x140006cae
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140006cae
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r14d
cmp r14d, 1
jne 0x140006cae
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + ioctlsocket]
nop
lea rcx, [rbp + 0x90]
call fcn.140004970
mov rcx, qword [rbp + 0x2bf0]
xor rcx, rsp
call fcn.14006b910
mov rbx, qword [rsp + 0x2d40]
add rsp, 0x2d00
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov edx, 4
lea rcx, [rbp + 0x78]
call fcn.140005a70
mov rcx, rax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_future_error_class_std::error_code_const____ptr64_
nop
mov dword [rbp - 0x68], r15d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov edx, 4
lea rcx, [rbp + 0x68]
call fcn.140005a70
mov rcx, rax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_future_error_class_std::error_code_const____ptr64_
int3