Function at 0x14000d8a0
Capabilities:
Connect pipe
Create pipe
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140213010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov byte [rcx + 0x14], dl
mov rbx, rcx
neg dl
lea rcx, str..pipeVisualizer
mov edx, 0x40000003
mov r9d, 0xff
sbb r8d, r8d
xor edi, edi
mov qword [rsp + 0x38], rdi
and r8d, 6
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 0x100000
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rbx + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x14000d965
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CreateNamedPipe_failed_during_initialization_of_the_server._Error__d_n
mov edx, 0x100
mov r9d, eax
lea rcx, [rsp + 0x50]
call fcn.1400096e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x40], edi
cmp rax, 0xffffffffffffffff
je 0x14000db4b
lea rcx, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], dil
jne 0x14000d957
jmp 0x14000db29
cmp qword [rbx + 0x50], 0xffffffffffffffff
jne 0x14000d9e2
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
cmp rax, 0xffffffffffffffff
jne 0x14000d9e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.Could_not_create_the_overlap_instruction_event._Error__d_n
mov edx, 0x100
mov r9d, eax
lea rcx, [rsp + 0x50]
call fcn.1400096e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x40], edi
cmp rax, 0xffffffffffffffff
je 0x14000db4b
lea rcx, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], dil
jne 0x14000d9d4
jmp 0x14000db29
mov rcx, qword [rbx + 0x58]
lea rdx, [rbx + 0x38]
mov dword [rbx + 0x10], 2
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov dword [rbx + 0xc], eax
test eax, eax
jne 0x14000db4f
mov dword [rbx + 0x10], edi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x14000daa2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x40], edi
cmp rax, 0xffffffffffffffff
je 0x14000da5d
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov r8d, 0x28
lea rdx, str.ConnectNamedPipe__ERROR_PIPE_CONNECTED__n
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000da5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x14000db96
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x40], edi
cmp rax, 0xffffffffffffffff
je 0x14000db96
mov r8d, 0x28
lea rdx, str.ConnectNamedPipe_SetEvent_returned_true_n
jmp 0x14000db79
cmp eax, 0x3e5
jne 0x14000dadc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x40], edi
cmp rax, 0xffffffffffffffff
je 0x14000db96
mov r8d, 0x25
lea rdx, str.ConnectNamedPipe__ERROR_IO_PENDING_._n
jmp 0x14000db79
mov r9d, eax
lea r8, str.ConnectNamedPipe_returned_error._Error__d_n
mov edx, 0x100
lea rcx, [rsp + 0x50]
call fcn.1400096e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x40], edi
cmp rax, 0xffffffffffffffff
je 0x14000db4b
lea rcx, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rcx + r8], dil
jne 0x14000db20
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000db4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x14000db98
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x40], edi
cmp rax, 0xffffffffffffffff
je 0x14000db96
mov r8d, 0x35
lea rdx, str.ConnectNamedPipe_returned_true__which_is_unexpected._n
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000db96
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14019ce50
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret