Function at 0x140007140
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 0x14000740a
lea rcx, [rbp + 0xf]
call fcn.1400113f0
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.14000f40c
nop
lea rcx, [rsp + 0x40]
call fcn.14000fedc
nop
lea rcx, [rsp + 0x40]
call fcn.14000fedc
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 rax, qword [rbp - 0x79]
mov rcx, r13
mov qword [rbp - 0x79], rcx
test rax, rax
je 0x14000725f
mov rcx, rax
call fcn.140011900
mov rcx, qword [rbp - 0x79]
mov edx, 2
call fcn.140011900
mov rax, qword [rsp + 0x50]
mov rcx, r13
mov qword [rsp + 0x50], rcx
test rax, rax
je 0x140007288
mov rcx, rax
call fcn.140011900
mov rcx, qword [rsp + 0x50]
mov edx, 1
call fcn.140011900
xor r9d, r9d
lea r8, [r9 - 1]
lea rcx, [rsp + 0x40]
cmp qword [rdi + 0x78], r8
je 0x1400073de
lea rdx, [0x140035230]
call fcn.14000eed8
lea rcx, [rdi + 0x40]
lea r8, [rbp + 0x6f]
mov rdx, rax
call fcn.140010c20
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 0x14000738e
cmp esi, 0x3e5
jne 0x1400073a6
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 0x140007330
cmp eax, 1
jne 0x140007352
mov r14d, eax
jmp 0x140007352
mov rax, qword [rdi]
mov r8, qword [rdi + 8]
mov rdx, qword [rdi + 0x78]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x14002c3b8]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test r14d, r14d
je 0x1400071c0
test r15, r15
je 0x14000736a
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 [0x14002c3b8]
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rsp + 0x40]
call fcn.14000eed8
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.140006240
lea rdx, [0x140039768]
lea rcx, [rbp - 0x29]
call fcn.14001351c
nop
lea rdx, str.Failed_to_create_connection
call fcn.14000eed8
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.140006240
lea rdx, [0x140039768]
lea rcx, [rbp - 0x29]
call fcn.14001351c
nop
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rsp + 0x40]
call fcn.14000eed8
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.140006240
lea rdx, [0x140039768]
lea rcx, [rbp - 0x29]
call fcn.14001351c
int3