Function at 0x1400441a8
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140184e90]
xor rax, rsp
mov qword [rbp], rax
mov r13, rdx
mov r12, rcx
lea rcx, [rsp + 0x70]
call fcn.140044130
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x10], xmm0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140043ffc
nop
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140045e58
nop
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov eax, 0x2000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea esi, [rbx + 1]
mov r9d, esi
xor r8d, r8d
mov edx, 0x40000001
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov r15, rax
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14004429f
lea rax, str.Failure_to_create_pipes_0
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400b4118
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x70], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x70], rax
lea rdx, [0x14014f970]
lea rcx, [rsp + 0x70]
call fcn.1400b8b68
int3
mov qword [rbp - 0x78], rbx
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
xor r9d, r9d
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x140044318
lea rax, str.Failure_to_create_pipes_1
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400b4118
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x50], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x50], rax
lea rdx, [0x14014f970]
lea rcx, [rsp + 0x50]
call fcn.1400b8b68
int3
lea rdx, [rbp - 0x78]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400444f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400444f8
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
mov qword [rsp + 0x30], rbx
mov edx, 0x40000000
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400443c4
lea rax, str.Failure_to_create_pipes_3
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400b4118
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x50], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x50], rax
lea rdx, [0x14014f970]
lea rcx, [rsp + 0x50]
call fcn.1400b8b68
int3
mov edx, 0x7d0
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14004441d
lea rax, str.Failure_to_create_pipes_4
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400b4118
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x50], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x50], rax
lea rdx, [0x14014f970]
lea rcx, [rsp + 0x50]
call fcn.1400b8b68
int3
lea rax, [rsp + 0x40]
cmp r12, rax
je 0x14004444c
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov rcx, qword [r12]
cmp r14, rcx
je 0x14004444c
test rcx, rcx
je 0x140044448
cmp rcx, 0xffffffffffffffff
je 0x140044448
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r12], r14
lea rax, [rsp + 0x68]
xor r14d, r14d
cmp r13, rax
je 0x14004447f
mov edi, r14d
mov qword [rsp + 0x68], r14
mov rcx, qword [r13]
cmp r15, rcx
je 0x14004447f
test rcx, rcx
je 0x14004447b
cmp rcx, 0xffffffffffffffff
je 0x14004447b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r13], r15
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140044493
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp rsi, 0xffffffffffffffff
je 0x1400444a3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400444b7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp - 0x38], 8
jb 0x1400444c7
mov rcx, qword [rbp - 0x50]
call fcn.1400b0c74
mov ebx, 7
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
cmp qword [rbp - 0x18], 8
jb 0x1400444e9
mov rcx, qword [rbp - 0x30]
call fcn.1400b0c74
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
jmp 0x14004453e
lea rax, str.Failure_to_create_pipes_2
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400b4118
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x50], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x50], rax
lea rdx, [0x14014f970]
lea rcx, [rsp + 0x50]
call fcn.1400b8b68
nop
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400b0c90
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret