Function at 0x140007da0
Capabilities:
Connect pipe
Create pipe

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rdi, rcx
xor r12d, r12d
mov qword [rbp - 0x49], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 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 0x14000804a
lea rcx, [rbp + 0xf]
call fcn.1400132ec
mov r14, rax
lea rax, vtable.RSSecurityUtilsWin::CLocalFreeGuard.0
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], r14
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x71], r12
mov r8, 0xffffffffffffffff
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400112dc
nop
lea rcx, [rsp + 0x40]
call fcn.140011da8
nop
lea rcx, [rsp + 0x40]
call fcn.140011da8
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r12d
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], r12
test rcx, rcx
je 0x140007eb8
call fcn.14001399c
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x140007eb8
mov edx, 2
call fcn.14001399c
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], r12
test rcx, rcx
je 0x140007ee0
call fcn.14001399c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140007ee0
mov edx, 1
call fcn.14001399c
xor r9d, r9d
lea r8, [r9 - 1]
lea rcx, [rsp + 0x40]
cmp qword [rdi + 0x78], r8
je 0x14000801e
lea rdx, [0x140039518]
call fcn.140010d5c
lea rcx, [rdi + 0x40]
lea r8, [rbp + 0x6f]
mov rdx, rax
call fcn.140012b0c
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 0x140007fce
cmp esi, 0x3e5
jne 0x140007fe6
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 0x140007fa7
cmp eax, 1
jne 0x140007e10
test r14, r14
je 0x140007f8c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
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 [0x1400303a8]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x140007e10
mov rax, qword [rdi]
mov r8, qword [rdi + 8]
mov rdx, qword [rdi + 0x78]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x1400303a8]
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rsp + 0x40]
call fcn.140010d5c
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.140006e90
lea rdx, [0x14003dea0]
lea rcx, [rbp - 0x29]
call fcn.14001543c
nop
lea rdx, str.Failed_to_create_connection
call fcn.140010d5c
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.140006e90
lea rdx, [0x14003dea0]
lea rcx, [rbp - 0x29]
call fcn.14001543c
nop
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rsp + 0x40]
call fcn.140010d5c
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.140006e90
lea rdx, [0x14003dea0]
lea rcx, [rbp - 0x29]
call fcn.14001543c
int3