Function at 0x14006fcd0
Capabilities:
Connect pipe
Create pipe
Read file on windows

Disassembly:
jmp 0x14006fcd0
push rbp
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1400c7980
mov edx, 1
lea rcx, [rsp + 0x270]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_InitializeSecurityDescriptor]
xor r9d, r9d
lea rcx, [rsp + 0x270]
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_SetSecurityDescriptorDacl]
xor r15d, r15d
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetElement
lea rax, [rsp + 0x270]
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x48], rax
lea rcx, str..pipeRtkAudUServiceNamedPipe
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea r9d, [r15 + 1]
mov dword [rsp + 0x30], r15d
lea edx, [r15 + 3]
mov dword [rsp + 0x28], 0x8000
mov dword [rsp + 0x20], 0x8000
call qword [sym.imp.api_ms_win_core_namedpipe_l1_1_0.dll_CreateNamedPipeW]
mov r14, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r9, r14
lea r8d, [r15 + 0x2f]
lea rdx, str.CNamedPipeHelper::CreatePipeServer
mov dword [rsp + 0x20], eax
lea rcx, str._s__d_hPipe_x_Err_d
call fcn.14005b9a0
cmp r14, 0xffffffffffffffff
je 0x14006ffda
mov qword [rsp + 0x2c8], rbx
mov qword [rsp + 0x2d0], rsi
mov qword [rsp + 0x2d8], rdi
nop dword [rax]
xor edx, edx
mov rcx, r14
call qword [sym.imp.api_ms_win_core_namedpipe_l1_1_0.dll_ConnectNamedPipe]
test eax, eax
je 0x14006ffcc
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r15
mov r8d, 0x208
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x14006ffcc
nop dword [rax]
mov r9d, dword [rsp + 0x58]
lea rdx, str.CNamedPipeHelper::CreatePipeServer
cmp r9d, 0x208
jne 0x14006ff94
mov eax, dword [rsp + 0x64]
lea rcx, str._s__d_dwEventId_x_nIndex_d
mov r9d, dword [rsp + 0x60]
mov r8d, 0x39
mov dword [rsp + 0x20], eax
call fcn.14005b9a0
inc dword [rbp + 0xac]
mov rdi, qword [rbp + 0x48]
test rdi, rdi
je 0x14006feca
cmp dword [rbp + 0xa8], r15d
jne 0x14006feca
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
test rdi, rdi
je 0x14006fff7
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
cmp qword [rbp + 0x88], r15
jbe 0x14006fea2
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x14006fea2
nop dword [rax]
cmp qword [rax + 0x10], rbx
je 0x14006ff26
mov rax, qword [rax]
test rax, rax
jne 0x14006fe90
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14006fec5
mov rax, qword [rbx]
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140048c62.0]
test rdi, rdi
jne 0x14006fe57
dec dword [rbp + 0xac]
cmp dword [rbp + 0xac], r15d
jne 0x14006ffa6
cmp qword [rbp + 0x88], r15
jbe 0x14006ffa6
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rbx, qword [rbp + 0x78]
test rbx, rbx
je 0x14006ff7f
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14006ff7a
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x14006ff7a
cmp qword [rax + 0x10], rcx
je 0x14006ff32
mov rax, qword [rax]
test rax, rax
jne 0x14006ff16
jmp 0x14006ff7a
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x14006fec5
mov rdx, qword [rax]
cmp rax, qword [rbp + 0x48]
jne 0x14006ff41
mov qword [rbp + 0x48], rdx
jmp 0x14006ff48
mov rcx, qword [rax + 8]
mov qword [rcx], rdx
mov rcx, qword [rax + 8]
cmp rax, qword [rbp + 0x50]
jne 0x14006ff58
mov qword [rbp + 0x50], rcx
jmp 0x14006ff5f
mov rdx, qword [rax]
mov qword [rdx + 8], rcx
mov rdx, qword [rbp + 0x68]
mov qword [rax], rdx
sub qword [rbp + 0x58], 1
mov qword [rbp + 0x68], rax
jne 0x14006ff7a
lea rcx, [rbp + 0x48]
call fcn.14000c1e0
test rbx, rbx
jne 0x14006ff01
lea rcx, [rbp + 0x78]
call fcn.14000c1e0
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x14006ffa6
mov r8d, 0x40
lea rcx, str._s__d_ReadFile_dwRead_d
call fcn.14005b9a0
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r15
mov r8d, 0x208
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x14006fe10
mov rcx, r14
call qword [sym.imp.api_ms_win_core_namedpipe_l1_1_0.dll_DisconnectNamedPipe]
jmp 0x14006fdd0
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.1400c17f0
add rsp, 0x2a0
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004820
mov rdi, qword [rsp + 0x2d8]
mov rsi, qword [rsp + 0x2d0]
mov rbx, qword [rsp + 0x2c8]
int3