Function at 0x140007df0
Capabilities:
Connect pipe
Create pipe

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x150], rbx
mov rdi, rcx
xor r13d, r13d
mov r14d, r13d
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 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 [rbp + 0x60], rax
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
je 0x1400080c4
lea rcx, [rbp - 0x10]
call fcn.140012070
mov r15, rax
lea rax, vtable.RSSecurityUtilsWin::CLocalFreeGuard.0
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], r15
nop dword [rax]
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov r8, 0xffffffffffffffff
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14000fe60
nop
lea rcx, [rsp + 0x40]
call fcn.1400109d0
nop
lea rcx, [rsp + 0x40]
call fcn.1400109d0
lea rcx, [rbp - 0x10]
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 rax, qword [rsp + 0x60]
mov rcx, r13
mov qword [rsp + 0x60], rcx
test rax, rax
je 0x140007f24
mov rcx, rax
call fcn.140012800
mov rcx, qword [rsp + 0x60]
mov edx, 2
call fcn.140012800
mov rax, qword [rsp + 0x50]
mov rcx, r13
mov qword [rsp + 0x50], rcx
test rax, rax
je 0x140007f4d
mov rcx, rax
call fcn.140012800
mov rcx, qword [rsp + 0x50]
mov edx, 1
call fcn.140012800
xor r9d, r9d
lea r8, [r9 - 1]
lea rcx, [rsp + 0x40]
cmp qword [rdi + 0x78], r8
je 0x140008098
lea rdx, [0x140034e40]
call fcn.14000f830
lea rcx, [rdi + 0x40]
lea r8, [rbp + 0x58]
mov rdx, rax
call fcn.140011840
lea rdx, [rbp - 0x80]
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 + 0x58]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rdi + 0x70], rax
mov qword [rsp + 0x78], rax
cmp esi, 0x217
je 0x14000804f
cmp esi, 0x3e5
jne 0x140008060
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x140007ff7
cmp eax, 1
jne 0x140008013
mov r14d, eax
jmp 0x140008013
mov rax, qword [rdi]
mov r8, qword [rdi + 8]
mov rdx, qword [rdi + 0x78]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test r14d, r14d
je 0x140007e80
test r15, r15
je 0x14000802b
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 + 0x150]
add rsp, 0x110
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
call qword [rax + 8]
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rsp + 0x40]
call fcn.14000f830
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.140006e70
lea rdx, [0x14003ae78]
lea rcx, [rbp - 0x48]
call fcn.140014260
nop
lea rdx, str.Failed_to_create_connection
call fcn.14000f830
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.140006e70
lea rdx, [0x14003ae78]
lea rcx, [rbp - 0x48]
call fcn.140014260
nop
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rsp + 0x40]
call fcn.14000f830
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.140006e70
lea rdx, [0x14003ae78]
lea rcx, [rbp - 0x48]
call fcn.140014260
int3