Function at 0x140017e80
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x140280d40]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rsi, rcx
xor ebx, ebx
movzx eax, byte [rcx + 0xb1]
test al, al
jne 0x14001837e
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0xc0], rax
cmp rax, 0xffffffffffffffff
jne 0x140017fc5
mov rax, qword [0x14028c000]
test rax, rax
je 0x140017f6c
cmp qword [rax], rbx
je 0x140017f6c
mov rcx, qword [0x14028c008]
test rcx, rcx
je 0x140017f6c
mov qword [rsp + 0x40], rcx
call fcn.140010830
nop
mov rax, qword [0x14028c000]
mov rdi, qword [rax]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Cannot_create_event_object:_0x_08x
mov qword [rsp + 0x30], rax
lea rax, str.PipeSocket
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x7e
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonPipeSocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x40]
call fcn.14000fbb0
xor al, al
jmp 0x14001837e
call fcn.140014110
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Cannot_create_event_object:_0x_08x
mov qword [rsp + 0x30], rax
lea rax, str.PipeSocket
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x7e
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonPipeSocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, rdi
call rbx
xor al, al
jmp 0x14001837e
mov edx, 1
lea rcx, [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1400180e9
mov rax, qword [0x14028c000]
test rax, rax
je 0x140018083
cmp qword [rax], rbx
je 0x140018083
mov rcx, qword [0x14028c008]
test rcx, rcx
je 0x140018083
mov qword [rsp + 0x40], rcx
call fcn.140010830
nop
mov rax, qword [0x14028c000]
mov rdi, qword [rax]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Cannot_initialize_security_object:_0x_08x
mov qword [rsp + 0x30], rax
lea rax, str.PipeSocket
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x87
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonPipeSocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x40]
call fcn.14000fbb0
mov rcx, qword [rsi + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001837e
call fcn.140014110
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Cannot_initialize_security_object:_0x_08x
mov r9d, 0x87
mov qword [rsp + 0x30], rax
lea rax, str.PipeSocket
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonPipeSocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, rdi
call rbx
mov rcx, qword [rsi + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001837e
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x1400181d7
mov rax, qword [0x14028c000]
test rax, rax
je 0x1400181ac
cmp qword [rax], rbx
je 0x1400181ac
mov rcx, qword [0x14028c008]
test rcx, rcx
je 0x1400181ac
mov qword [rsp + 0x40], rcx
call fcn.140010830
nop
mov rax, qword [0x14028c000]
mov rdi, qword [rax]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Cannot_set_security_object:_0x_08x
mov qword [rsp + 0x30], rax
lea rax, str.PipeSocket
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x8e
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonPipeSocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x40]
call fcn.14000fbb0
mov rcx, qword [rsi + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001837e
call fcn.140014110
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Cannot_set_security_object:_0x_08x
mov r9d, 0x8e
jmp 0x1400180a9
mov dword [rsp + 0x68], 0x18
lea rax, [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 1
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x48]
call fcn.14000b000
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov edx, 0x40000003
mov r9d, 0xff
mov r8d, 0xe
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rsi + 0xb8], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140018289
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018284
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400183a3
call fcn.1401629f4
movdqa xmm0, xmmword [0x140258810]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], bx
cmp qword [rsi + 0xb8], 0xffffffffffffffff
jne 0x140018375
mov rax, qword [0x14028c000]
test rax, rax
je 0x14001834a
cmp qword [rax], rbx
je 0x14001834a
mov rcx, qword [0x14028c008]
test rcx, rcx
je 0x14001834a
mov qword [rsp + 0x40], rcx
call fcn.140010830
nop
mov rax, qword [0x14028c000]
mov rdi, qword [rax]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Error_returned_from_CreateNamedPipe:_0x_08x
mov qword [rsp + 0x30], rax
lea rax, str.PipeSocket
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0xa3
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonPipeSocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x40]
call fcn.14000fbb0
mov rcx, qword [rsi + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001837e
call fcn.140014110
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Error_returned_from_CreateNamedPipe:_0x_08x
mov r9d, 0xa3
jmp 0x1400180a9
mov byte [rsi + 0xb1], 1
mov al, 1
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140162ed0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14017234c
int3