Function at 0x1400f8960
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, [0x1402e7c00]
mov r8d, 4
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.1401b3dc0
nop
lea rcx, [rax + 0x68]
lea rdx, str.Starting...
call fcn.14004d7b0
nop
lea rcx, [rbp - 0x78]
call fcn.1401b37a0
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 0x1400f8b27
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 0x1400f8b87
mov byte [rsp + 0x38], 1
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400f8b8f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x1400f8a48
mov dword [rbx + 0x104], 3
lea rcx, [rbx + 0x1d0]
call sub.MSVCP140.dll__Cnd_signal
nop
mov rcx, rdi
call fcn.1401dce01
xor dil, dil
jmp 0x1400f8a53
mov rcx, rdi
call fcn.1401dce01
mov dil, 1
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400f8a6d
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
test dil, dil
jne 0x1400f8b95
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401dcf70
mov rdi, rax
mov qword [rbp + 0xe0], rax
test rax, rax
je 0x1400f8ad7
mov ecx, 8
call fcn.1401dcf70
test rax, rax
je 0x1400f8aa1
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, [0x1400f0830]
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 0x1400f8b16
jmp 0x1400f8ad9
xor edi, edi
mov rcx, qword [rbx + 0x108]
mov qword [rbx + 0x108], rdi
test rcx, rcx
je 0x1400f8b03
cmp dword [rcx + 8], 0
je 0x1400f8af9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov edx, reloc.WS2_32.dll_recv
call fcn.1401dcf3c
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, [0x1402e7bc0]
mov r8d, 1
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.1401b3dc0
nop
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.1400f0280
nop
lea rcx, [rbp - 0x78]
call fcn.140014870
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000c420
lea rdx, [0x1402ca490]
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, [0x1402e7bc0]
mov r8d, 1
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.1401b3dc0
nop
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.1400f0280
nop
lea rcx, [rbp - 0x78]
call fcn.140014870
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000c420
lea rdx, [0x1402ca490]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3