Function at 0x140027150
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push rbx
push rbp
push rdi
push r15
sub rsp, 0xe78
mov rax, qword [0x14009b3f8]
xor rax, rsp
mov qword [rsp + 0xe60], rax
mov rdi, rcx
movabs rax, 0x5443454e4e4f43
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov edx, 8
call fcn.140041f8c
mov dword [rsp + 0x30], 0x4e20
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, str..pipeddexecnonsecurepipe
lea r8d, [rax + 1]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
xor r15d, r15d
test eax, eax
je 0x1400273e4
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], 0x200
mov r8d, 0x400
lea rdx, [rsp + 0x660]
lea rcx, [rsp + 0x48]
call fcn.140041734
lea rdx, str.CONNECTED
lea rcx, [rsp + 0x660]
call fcn.140035db0
mov rbx, rax
test rax, rax
je 0x140027433
lea rax, [rsp + 0x660]
cmp rbx, rax
jne 0x140027433
lea rcx, str.CONNECTED
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rdx, [0x14008e394]
lea rbp, [rbx + rcx*2]
mov rcx, rbp
call fcn.140035db0
mov rbx, rax
test rax, rax
je 0x1400273e4
mov qword [rsp + 0xea8], rsi
lea r8, [rdi + 0x14]
mov qword [rsp + 0xeb0], r12
lea rdx, [0x14008e398]
mov r9d, 0x200
mov qword [rsp + 0xe70], r14
mov rcx, rbp
mov word [rax], r15w
call fcn.140007b00
lea r8, [rdi + 0x10]
lea rcx, [rbx + 2]
lea rdx, [0x14008e3a0]
call fcn.140007b00
mov ebp, r15d
lea r12, vtable.cExec.0
mov r14d, r15d
nop dword [rax]
mov qword [rsp + 0x30], r15
lea rcx, [rdi + 0x14]
mov dword [rsp + 0x28], r15d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 8], rax
mov rbx, qword [0x1400a7130]
mov rax, qword [rbx]
mov r8, qword [rax + 0x80]
cmp rax, r12
jne 0x14002745f
mov rax, qword [rbx + 0xd0]
cmp dword [rax + 0x1c], ebp
je 0x140027328
mov ecx, dword [rax]
call qword [0x1400a71d0]
test eax, eax
je 0x140027328
mov ecx, 1
mov qword [rbx + 0x88], 1
test rcx, rcx
mov eax, r15d
setne al
jmp 0x140027338
mov rcx, qword [rbx + 0x88]
mov eax, r15d
test rcx, rcx
setne al
cmp eax, 1
mov rax, qword [rdi + 8]
je 0x1400273bb
cmp rax, 0xffffffffffffffff
jne 0x1400273c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
je 0x14002736f
mov eax, r14d
inc r14d
cmp eax, 0xa
jg 0x1400273b5
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400272b0
mov ebx, r15d
nop dword [rax]
nop word [rax + rax]
mov edx, 0x4e20
lea rcx, [rdi + 0x14]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x140027380
mov eax, ebx
inc ebx
cmp eax, 3
jle 0x140027380
lea rdx, [rdi + 0x14]
lea rcx, str.Error:_timeout_waiting_for__s_to_become_not_busy_n
call fcn.140007aa0
mov qword [rdi + 8], r15
jmp 0x1400272b0
mov qword [rdi + 8], r15
jmp 0x1400273c5
mov ebp, 1
test rax, rax
jne 0x1400273ca
mov ebp, 1
mov r14, qword [rsp + 0xe70]
mov r12, qword [rsp + 0xeb0]
mov rsi, qword [rsp + 0xea8]
jmp 0x1400273e9
mov ebp, 1
test ebp, ebp
jne 0x140027438
lea rdx, str.CONNECT
mov rcx, rdi
call fcn.140027470
mov ebp, eax
test eax, eax
jne 0x140027438
mov r9d, dword [rdi + 0x10]
lea r8, str.CONNECTED_ld
mov edx, 0x200
lea rcx, [rsp + 0x260]
call fcn.140001150
lea rdx, [rsp + 0x260]
mov rcx, rdi
call fcn.140027620
test eax, eax
je 0x140027440
mov ebp, 1
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], r15d
mov eax, ebp
mov rcx, qword [rsp + 0xe60]
xor rcx, rsp
call fcn.1400303d0
add rsp, 0xe78
pop r15
pop rdi
pop rbp
pop rbx
ret
xor edx, edx
mov rcx, rbx
call r8
jmp 0x140027338