Function at 0x1400070a0
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rdi, rcx
xor r13d, r13d
mov r14d, r13d
mov qword [rbp - 0x49], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
mov qword [rbp + 0x77], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x69], rax
cmp rax, 0xffffffffffffffff
je 0x140007368
lea rcx, [rbp + 0xf]
call fcn.1400110ec
mov r15, rax
lea rax, vtable.RSSecurityUtilsWin::CLocalFreeGuard.0
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], r15
nop word [rax + rax]
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov qword [rbp - 0x79], r13
mov qword [rbp - 0x71], r13
mov r8, 0xffffffffffffffff
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14000f050
nop
lea rcx, [rsp + 0x40]
call fcn.14000fb34
nop
lea rcx, [rsp + 0x40]
call fcn.14000fb34
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
mov edx, 0x40000003
mov r9d, 0xff
mov r8d, 0xe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rdi + 0x78], rax
mov rcx, qword [rbp - 0x79]
mov qword [rbp - 0x79], r13
test rcx, rcx
je 0x1400071c8
call fcn.140011770
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x1400071c8
mov edx, 2
call fcn.140011770
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], r13
test rcx, rcx
je 0x1400071f0
call fcn.140011770
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400071f0
mov edx, 1
call fcn.140011770
xor r9d, r9d
lea r8, [r9 - 1]
lea rcx, [rsp + 0x40]
cmp qword [rdi + 0x78], r8
je 0x14000733c
lea rdx, [0x140036530]
call fcn.14000ea7c
lea rcx, [rdi + 0x40]
lea r8, [rbp + 0x6f]
mov rdx, rax
call fcn.1400108f8
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 0x78]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov r8d, dword [rbp + 0x6f]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rdi + 0x70], rax
mov qword [rbp - 0x61], rax
cmp esi, 0x217
je 0x1400072ec
cmp esi, 0x3e5
jne 0x140007304
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp - 0x69]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x14000728e
cmp eax, 1
jne 0x1400072b0
mov r14d, eax
jmp 0x1400072b0
mov rax, qword [rdi]
mov r8, qword [rdi + 8]
mov rdx, qword [rdi + 0x78]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x14002d398]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test r14d, r14d
je 0x140007120
test r15, r15
je 0x1400072c8
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rdi]
mov r8, qword [rdi + 8]
mov rdx, qword [rdi + 0x78]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x14002d398]
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rsp + 0x40]
call fcn.14000ea7c
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.140006200
lea rdx, [0x14003a960]
lea rcx, [rbp - 0x29]
call fcn.14001337c
nop
lea rdx, str.Failed_to_create_connection
call fcn.14000ea7c
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.140006200
lea rdx, [0x14003a960]
lea rcx, [rbp - 0x29]
call fcn.14001337c
nop
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rsp + 0x40]
call fcn.14000ea7c
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.140006200
lea rdx, [0x14003a960]
lea rcx, [rbp - 0x29]
call fcn.14001337c
int3