Function at 0x1400070b0
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x110
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rsi, rcx
xor eax, eax
mov qword [r11 - 0x80], rax
mov qword [r11 - 0x78], rax
mov qword [r11 - 0x70], rax
mov qword [r11 - 0x68], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
mov qword [rsp + 0x150], rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xa8], rax
cmp rax, 0xffffffffffffffff
jne 0x14000719d
xor r9d, r9d
or r8, rax
lea rdx, str.Failed_to_create_connection
lea rcx, [rsp + 0x78]
call fcn.14000e3c0
nop
lea rax, vtable.RSException.0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x148], rax
xor edi, edi
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
or r8, rbx
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.14000ea70
nop
lea rax, vtable.CMessageException.0
mov qword [rsp + 0x40], rax
lea rdx, [0x14001f370]
lea rcx, [rsp + 0x40]
call sub.MSVCR90.dll__CxxThrowException
nop
lea rcx, [rsp + 0xf0]
call fcn.140013dd0
mov r12, rax
lea rax, vtable.RSSecurityUtilsWin::CLocalFreeGuard.0
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], r12
xor edi, edi
nop word [rax + rax]
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rdi
or r8, 0xffffffffffffffff
lea rdx, [rsi + 0x10]
lea rcx, [rsp + 0x78]
call fcn.14000ea70
nop
lea rcx, [rsp + 0x78]
call fcn.140010060
nop
lea rcx, [rsp + 0x78]
call fcn.140010060
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
mov edx, 0x40000003
mov r9d, 0xff
mov r8d, 6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rsi + 0x78], rax
mov rax, qword [rsp + 0x98]
mov rcx, rdi
mov qword [rsp + 0x98], rcx
test rax, rax
je 0x14000728b
mov rcx, rax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, qword [rsp + 0x98]
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
mov r11, qword [rsp + 0x88]
mov rcx, rdi
mov qword [rsp + 0x88], rcx
test r11, r11
je 0x1400072b8
mov rcx, r11
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, qword [rsp + 0x88]
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
cmp qword [rsi + 0x78], 0xffffffffffffffff
je 0x140007439
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, [0x14001a160]
lea rcx, [rsp + 0x78]
call fcn.14000e3c0
lea rcx, [rsi + 0x40]
lea r8, [rsp + 0x148]
mov rdx, rax
call fcn.140011e20
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov r8d, dword [rsp + 0x148]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsi + 0x70], rax
mov qword [rsp + 0xb0], rax
cmp ebp, 0x217
je 0x1400073a7
cmp ebp, 0x3e5
jne 0x1400073b8
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0xa8]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x140007366
cmp eax, 1
je 0x14000738a
jmp 0x1400071d0
mov rax, qword [rsi]
mov r8, qword [rsi + 8]
mov rdx, qword [rsi + 0x78]
mov rcx, rsi
call qword [rax + 8]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x1400071d0
test r12, r12
je 0x140007399
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400074ba
mov rax, qword [rsi]
mov r8, qword [rsi + 8]
mov rdx, qword [rsi + 0x78]
mov rcx, rsi
call qword [rax + 8]
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, str.Failed_to_create_connection
lea rcx, [rsp + 0x78]
call fcn.14000e3c0
nop
lea rax, vtable.RSException.0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x158], rax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.14000ea70
nop
lea rax, vtable.CMessageException.0
mov qword [rsp + 0x40], rax
lea rdx, [0x14001f370]
lea rcx, [rsp + 0x40]
call sub.MSVCR90.dll__CxxThrowException
nop
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, str.Failed_to_create_connection
lea rcx, [rsp + 0x78]
call fcn.14000e3c0
nop
lea rax, vtable.RSException.0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x158], rax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.14000ea70
nop
lea rax, vtable.CMessageException.0
mov qword [rsp + 0x40], rax
lea rdx, [0x14001f370]
lea rcx, [rsp + 0x40]
call sub.MSVCR90.dll__CxxThrowException
nop
mov rbx, qword [rsp + 0x140]
add rsp, 0x110
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret