Function at 0x1400f6920
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rbx, rcx
lea rsi, [rcx + 0x80]
lea r9, [0x1402e4b70]
mov r8d, 4
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.1401b1de0
nop
lea rcx, [rax + 0x68]
lea rdx, str.Starting...
call fcn.14004b770
nop
lea rcx, [rbp - 0x78]
call fcn.1401b17c0
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
cmp qword [rbx + 0xb0], 0
je 0x1400f6ae7
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_beadbddf90bb3d880f5f57621fa649d4___bool___.0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x48]
mov qword [rbp - 0x80], rax
lea rdi, [rbx + 0x180]
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x38], 0
mov rcx, rdi
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400f6b47
mov byte [rsp + 0x38], 1
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400f6b4f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x1400f6a08
mov dword [rbx + 0x104], 3
lea rcx, [rbx + 0x1d0]
call sub.MSVCP140.dll__Cnd_signal
nop
mov rcx, rdi
call fcn.1401dadc1
xor dil, dil
jmp 0x1400f6a13
mov rcx, rdi
call fcn.1401dadc1
mov dil, 1
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400f6a2d
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
test dil, dil
jne 0x1400f6b55
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401daf30
mov rdi, rax
mov qword [rbp + 0xe0], rax
test rax, rax
je 0x1400f6a97
mov ecx, 8
call fcn.1401daf30
test rax, rax
je 0x1400f6a61
mov qword [rax], rbx
mov qword [rbp + 0xe8], rax
lea rsi, [rdi + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400ee7f0]
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 0x1400f6ad6
jmp 0x1400f6a99
xor edi, edi
mov rcx, qword [rbx + 0x108]
mov qword [rbx + 0x108], rdi
test rcx, rcx
je 0x1400f6ac3
cmp dword [rcx + 8], 0
je 0x1400f6ab9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov edx, reloc.WS2_32.dll_recv
call fcn.1401daefc
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1c0
pop rdi
pop rsi
pop rbp
ret
mov dword [rsi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rbx, str.Failed_to_start:_no_consumers
mov qword [rbp + 0xe0], rbx
lea r9, [0x1402e4b30]
mov r8d, 1
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.1401b1de0
nop
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.1400ee240
nop
lea rcx, [rbp - 0x78]
call fcn.140014410
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000c050
lea rdx, [0x1402c83a0]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
nop
lea rbx, str.Failed_to_start:_already_started
mov qword [rbp + 0xe0], rbx
lea r9, [0x1402e4b30]
mov r8d, 1
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.1401b1de0
nop
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.1400ee240
nop
lea rcx, [rbp - 0x78]
call fcn.140014410
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000c050
lea rdx, [0x1402c83a0]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3