Function at 0x14001c1f0
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
movzx edi, r9b
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov ebx, 8
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x1400f07d8], eax
jle 0x14001c280
lea rcx, [0x1400f07d8]
call fcn.1400a64e0
cmp dword [0x1400f07d8], 0xffffffff
jne 0x14001c280
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1400f07c0], xmm0
mov qword [0x1400f07d0], rax
lea rdx, [0x1400f03d8]
call fcn.14001d530
lea rcx, [0x1400b9fa0]
call fcn.1400a63e4
nop
lea rcx, [0x1400f07d8]
call fcn.1400a6474
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 0x18
lea rdx, str.Connecting_to_new_client
lea rcx, [rbp - 0x30]
call fcn.140005910
nop
mov r8d, 1
lea rdx, [rbp - 0x30]
lea rcx, [0x1400f07c0]
call fcn.140010130
nop
lea rcx, [rbp - 0x30]
call fcn.1400051b0
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov byte [rsi], 0
cmp eax, 1
jne 0x14001c393
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test dil, dil
jne 0x14001c591
mov eax, dword [rbx]
cmp dword [0x1400f07d8], eax
jle 0x14001c346
lea rcx, [0x1400f07d8]
call fcn.1400a64e0
cmp dword [0x1400f07d8], 0xffffffff
jne 0x14001c346
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1400f07c0], xmm0
mov qword [0x1400f07d0], rax
lea rdx, [0x1400f03d8]
call fcn.14001d530
lea rcx, [0x1400b9fa0]
call fcn.1400a63e4
nop
lea rcx, [0x1400f07d8]
call fcn.1400a6474
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 0x17
lea rdx, str.Connected_to_new_client
lea rcx, [rbp - 0x30]
call fcn.140005910
nop
mov r8d, 1
lea rdx, [rbp - 0x30]
lea rcx, [0x1400f07c0]
call fcn.140010130
nop
lea rcx, [rbp - 0x30]
call fcn.1400051b0
mov eax, esi
jmp 0x14001c510
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x14001c456
cmp eax, 0x3e5
jne 0x14001c505
mov eax, dword [rbx]
cmp dword [0x1400f07d8], eax
jle 0x14001c406
lea rcx, [0x1400f07d8]
call fcn.1400a64e0
cmp dword [0x1400f07d8], 0xffffffff
jne 0x14001c406
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1400f07c0], xmm0
mov qword [0x1400f07d0], rax
lea rdx, [0x1400f03d8]
call fcn.14001d530
lea rcx, [0x1400b9fa0]
call fcn.1400a63e4
nop
lea rcx, [0x1400f07d8]
call fcn.1400a6474
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 0x10
lea rdx, str.IO_still_pending
lea rcx, [rbp - 0x30]
call fcn.140005910
nop
mov r8d, 1
lea rdx, [rbp - 0x30]
lea rcx, [0x1400f07c0]
call fcn.140010130
nop
lea rcx, [rbp - 0x30]
call fcn.1400051b0
mov byte [rsi], 1
xor eax, eax
jmp 0x14001c510
mov eax, dword [rbx]
cmp dword [0x1400f07d8], eax
jle 0x14001c4ad
lea rcx, [0x1400f07d8]
call fcn.1400a64e0
cmp dword [0x1400f07d8], 0xffffffff
jne 0x14001c4ad
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1400f07c0], xmm0
mov qword [0x1400f07d0], rax
lea rdx, [0x1400f03d8]
call fcn.14001d530
lea rcx, [0x1400b9fa0]
call fcn.1400a63e4
nop
lea rcx, [0x1400f07d8]
call fcn.1400a6474
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 0x18
lea rdx, str.Client_already_connected
lea rcx, [rbp - 0x30]
call fcn.140005910
nop
mov r8d, 1
lea rdx, [rbp - 0x30]
lea rcx, [0x1400f07c0]
call fcn.140010130
nop
lea rcx, [rbp - 0x30]
call fcn.1400051b0
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x14001c505
xor eax, eax
jmp 0x14001c510
test dil, dil
jne 0x14001c52c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
lea rcx, [0x1400f03d8]
call fcn.14001d760
mov rbx, rax
lea rdx, [0x1400c2d80]
lea rcx, [rbp - 0x30]
call fcn.140005020
nop
mov r8d, 4
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140010130
nop
lea rcx, [rbp - 0x30]
call fcn.140004fe0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_connect_to_new_client.
lea rcx, [rbp - 0x30]
call fcn.14001c1d0
lea rdx, [0x1400e4268]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [0x1400f03d8]
call fcn.14001d760
mov rbx, rax
lea rdx, [0x1400c2d80]
lea rcx, [rbp - 0x30]
call fcn.140005020
nop
mov r8d, 4
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140010130
nop
lea rcx, [rbp - 0x30]
call fcn.140004fe0
lea r8, str.Unable_to_connect_to_new_client.
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.14001c1d0
lea rdx, [0x1400e4268]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3