Function at 0x14004215c
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1401f05f0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor esi, esi
mov ebx, r8d
mov r13, rdx
mov dword [rsp + 0x40], esi
mov r14, rcx
mov r15d, esi
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
cmp qword [rdx + 0x20], rsi
je 0x1400422fd
lea r8d, [rsi + 0xd]
lea rdx, str.Not_Available
lea rcx, [rbp + 0x60]
call fcn.140005d28
mov rcx, qword [r13 + 0x20]
lea rdx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
lea edi, [rsi + 1]
mov r12d, ebx
and r12d, edi
je 0x1400421fc
test byte [rsp + 0x40], dil
je 0x140042208
test bl, 2
je 0x140042254
test byte [rsp + 0x40], dil
je 0x140042254
call fcn.140011848
cmp eax, edi
jg 0x14004224b
lea rdx, str.c:core_no_admin_srcipcipc_channel_win.cc
lea rcx, [rsp + 0x50]
mov r9d, edi
mov r8d, 0xe6
mov r15d, 8
call fcn.1400112c8
lea rdx, str.Inconsistent_open_mode._Mode_:
lea rcx, [rax + 8]
call fcn.140001c14
mov edx, ebx
mov rcx, rax
call fcn.140008dcc
test r15b, 8
jmp 0x1400422de
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [r13 + 0x20]
mov dword [rsp + 0x30], 2
lea r9, [rsp + 0x48]
mov r8, rbx
mov rcx, rax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1400422f3
call fcn.140011848
cmp eax, edi
jg 0x1400422da
lea rdx, str.c:core_no_admin_srcipcipc_channel_win.cc
lea rcx, [rsp + 0x50]
mov r9d, edi
mov r8d, 0xf1
mov r15d, reloc.WS2_32.dll_recv
call fcn.1400112c8
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbx + 8]
lea rdx, str.DuplicateHandle_failed._Error_:
mov edi, eax
call fcn.140001c14
mov edx, edi
mov rcx, rax
call fcn.140008edc
test r15b, 0x10
je 0x14004257f
lea rcx, [rsp + 0x50]
call fcn.140011354
jmp 0x14004257f
mov rdx, qword [rsp + 0x48]
jmp 0x140042425
mov r12d, ebx
mov edi, 1
and r12d, edi
je 0x1400423a0
lea rbx, [rcx + 0x10e0]
lea rcx, [rbp + 0x80]
mov r8, rbx
call fcn.140042940
lea rcx, [rbp + 0x60]
cmp rcx, rax
je 0x140042340
lea rcx, [rbp + 0x60]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
call fcn.140005be8
cmp qword [rbp + 0x98], 8
jb 0x140042356
mov rcx, qword [rbp + 0x80]
call fcn.14006bd10
cmp dword [rbx], esi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x1388
setne al
cmp qword [rbp + 0x78], 8
lea rcx, [rbp + 0x60]
cmovae rcx, qword [rbp + 0x60]
mov byte [r14 + 0x10da], al
mov eax, 0x1000
mov dword [rsp + 0x28], eax
mov r9d, edi
xor r8d, r8d
mov edx, 0x40080003
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
jmp 0x140042422
test bl, 2
je 0x140042431
lea r8, [rcx + 0x10e0]
lea rcx, [rbp + 0x80]
call fcn.140042940
lea rcx, [rbp + 0x60]
cmp rcx, rax
je 0x1400423d8
lea rcx, [rbp + 0x60]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
call fcn.140005be8
cmp qword [rbp + 0x98], 8
jb 0x1400423ee
mov rcx, qword [rbp + 0x80]
call fcn.14006bd10
cmp qword [rbp + 0x78], 8
mov qword [rsp + 0x30], rsi
lea rcx, [rbp + 0x60]
cmovae rcx, qword [rbp + 0x60]
mov edx, 0xc0000000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x40100000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdx, rax
lea rcx, [r14 + 0x10a0]
call fcn.140003604
mov rax, qword [r14 + 0x10a0]
inc rax
test rax, 0xfffffffffffffffe
jne 0x1400424fa
call fcn.140011848
mov r14d, 0x100
cmp eax, edi
jg 0x1400424e2
mov r15d, r14d
call sub.KERNEL32.dll_GetLastError
lea r8d, [r14 + 0x14]
lea rdx, str.c:core_no_admin_srcipcipc_channel_win.cc
lea rcx, [rsp + 0x50]
mov r9d, edi
mov dword [rsp + 0x20], eax
call fcn.140011330
lea rdx, str.Unable_to_create_pipe__
lea rcx, [rax + 0x10]
call fcn.140001c14
cmp qword [rbp + 0x78], 8
lea rdx, [rbp + 0x60]
cmovae rdx, qword [rbp + 0x60]
mov rcx, rax
call fcn.14001167c
lea rcx, str.server
lea rbx, str.client
test r12d, r12d
lea rdx, str.__in
cmovne rbx, rcx
mov rcx, rax
call fcn.140001c14
mov rdx, rbx
mov rcx, rax
call fcn.140001c14
lea rdx, str._mode
mov rcx, rax
call fcn.140001c14
test r14d, r15d
je 0x14004257f
lea rcx, [rsp + 0x50]
call fcn.1400115f0
jmp 0x14004257f
mov ecx, 0x38
call fcn.140098304
test rax, rax
je 0x140042525
mov edx, 0xfffffffe
mov r8d, 0xffff
mov rcx, rax
lea r9d, [rdx + 4]
call fcn.1400477cc
mov rbx, rax
jmp 0x140042528
mov rbx, rsi
cmp byte [r14 + 0x10da], sil
jne 0x140042538
mov r15d, dword [r14 + 0x10e0]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x40], eax
call fcn.140027624
test r15d, r15d
je 0x140042566
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x40], r15d
call fcn.140027624
lea rcx, [r14 + 0x10b0]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
call fcn.1400431a4
mov sil, dil
cmp qword [rbp + 0x78], 8
jb 0x14004258f
mov rcx, qword [rbp + 0x60]
call fcn.14006bd10
mov al, sil
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400991d0
mov rbx, qword [rsp + 0x208]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret