Function at 0x14001a660
Capabilities:
Create pipe

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x140325af8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, rcx
movzx eax, byte [rcx + 0xb1]
test al, al
jne 0x14001ab75
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0xc0], rax
cmp rax, 0xffffffffffffffff
jne 0x14001a7b3
mov rax, qword [0x140331328]
test rax, rax
je 0x14001a75c
cmp qword [rax], 0
je 0x14001a75c
mov rcx, qword [0x140331330]
test rcx, rcx
je 0x14001a75c
mov qword [rsp + 0x40], rcx
call fcn.1400132b0
nop
mov rax, qword [0x140331328]
mov rcx, qword [rax]
mov rbx, qword [rcx]
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:jenkinsworkspace_n_mbcommon_srcmbcommonpipesocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, qword [0x140331328]
mov rcx, qword [rcx]
call qword [rbx + 0x20]
nop
lea rcx, [rsp + 0x40]
call fcn.1400126a0
xor al, al
jmp 0x14001ab75
call fcn.1400159c0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r10, qword [rbx]
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:jenkinsworkspace_n_mbcommon_srcmbcommonpipesocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, rbx
call qword [r10 + 0x20]
xor al, al
jmp 0x14001ab75
mov edx, 1
lea rcx, [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x14001a8de
mov rax, qword [0x140331328]
test rax, rax
je 0x14001a87a
cmp qword [rax], 0
je 0x14001a87a
mov rcx, qword [0x140331330]
test rcx, rcx
je 0x14001a87a
mov qword [rsp + 0x40], rcx
call fcn.1400132b0
nop
mov rax, qword [0x140331328]
mov rcx, qword [rax]
mov rbx, qword [rcx]
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:jenkinsworkspace_n_mbcommon_srcmbcommonpipesocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, qword [0x140331328]
mov rcx, qword [rcx]
call qword [rbx + 0x20]
nop
lea rcx, [rsp + 0x40]
call fcn.1400126a0
mov rcx, qword [rdi + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001ab75
call fcn.1400159c0
mov rbx, rax
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 r10, qword [rbx]
mov dword [rsp + 0x20], 1
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonpipesocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, rbx
call qword [r10 + 0x20]
mov rcx, qword [rdi + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001ab75
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x14001a9ce
mov rax, qword [0x140331328]
test rax, rax
je 0x14001a9aa
cmp qword [rax], 0
je 0x14001a9aa
mov rcx, qword [0x140331330]
test rcx, rcx
je 0x14001a9aa
mov qword [rsp + 0x40], rcx
call fcn.1400132b0
nop
mov rax, qword [0x140331328]
mov rcx, qword [rax]
mov rbx, qword [rcx]
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:jenkinsworkspace_n_mbcommon_srcmbcommonpipesocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, qword [0x140331328]
mov rcx, qword [rcx]
call qword [rbx + 0x20]
nop
lea rcx, [rsp + 0x40]
call fcn.1400126a0
mov rcx, qword [rdi + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001ab75
call fcn.1400159c0
mov rbx, rax
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 0x14001a899
mov dword [rsp + 0x70], 0x18
lea rax, [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], 1
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x48]
call fcn.14000ca20
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov edx, 0x40000003
mov r9d, 0xff
lea r8d, [rbx + 0xe]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rdi + 0xb8], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14001aa83
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aa7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ab96
call fcn.1401d94a8
movdqa xmm0, xmmword [0x1402e5c30]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], bx
cmp qword [rdi + 0xb8], 0xffffffffffffffff
jne 0x14001ab6c
mov rax, qword [0x140331328]
test rax, rax
je 0x14001ab48
cmp qword [rax], rbx
je 0x14001ab48
mov rcx, qword [0x140331330]
test rcx, rcx
je 0x14001ab48
mov qword [rsp + 0x40], rcx
call fcn.1400132b0
nop
mov rax, qword [0x140331328]
mov rcx, qword [rax]
mov rbx, qword [rcx]
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:jenkinsworkspace_n_mbcommon_srcmbcommonpipesocket.cpp
lea rdx, str.mb::common::io::PipeSocket::InitPipeConnection
mov rcx, qword [0x140331328]
mov rcx, qword [rcx]
call qword [rbx + 0x20]
nop
lea rcx, [rsp + 0x40]
call fcn.1400126a0
mov rcx, qword [rdi + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001ab75
call fcn.1400159c0
mov rbx, rax
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 0x14001a899
mov byte [rdi + 0xb1], 1
mov al, 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401d9c30
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
call fcn.1401e4d9c
int3