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

Disassembly:
jmp 0x1400743a0
push rsi
push r12
push r15
sub rsp, 0x2b0
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1400cc120
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 r12d, r12d
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetElement
lea rax, [rsp + 0x270]
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x48], rax
lea rcx, str..pipeRtkAudUServiceNamedPipe
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea r9d, [r12 + 1]
mov dword [rsp + 0x30], r12d
lea edx, [r12 + 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 r15, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r9, r15
lea r8d, [r12 + 0x2f]
lea rdx, str.CNamedPipeHelper::CreatePipeServer
mov dword [rsp + 0x20], eax
lea rcx, str._s__d_hPipe_x_Err_d
call fcn.140061d00
cmp r15, 0xffffffffffffffff
je 0x14007466a
mov qword [rsp + 0x2d8], rbx
mov qword [rsp + 0x2e0], rbp
mov qword [rsp + 0x2a8], rdi
mov qword [rsp + 0x2a0], r14
nop word [rax + rax]
xor edx, edx
mov rcx, r15
call qword [sym.imp.api_ms_win_core_namedpipe_l1_1_0.dll_ConnectNamedPipe]
test eax, eax
je 0x14007465c
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r12
mov r8d, 0x208
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x14007465c
nop dword [rax]
mov r9d, dword [rsp + 0x58]
lea rdx, str.CNamedPipeHelper::CreatePipeServer
cmp r9d, 0x208
jne 0x140074624
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.140061d00
mov eax, 1
lock xadd dword [rsi + 0xac], eax
mov rdi, qword [rsi + 0x48]
test rdi, rdi
je 0x1400745a9
nop
cmp dword [rsi + 0xa8], r12d
jne 0x1400745a9
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
test rdi, rdi
je 0x140074687
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
cmp qword [rsi + 0x88], r12
jbe 0x140074588
mov rax, qword [rsi + 0x78]
test rax, rax
je 0x140074588
cmp qword [rax + 0x10], rbx
je 0x140074585
mov rax, qword [rax]
test rax, rax
jne 0x140074575
jmp 0x140074588
mov rbx, r12
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400745a4
mov rax, qword [rbx]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [rax]
test rdi, rdi
jne 0x140074540
mov eax, 0xffffffff
lock xadd dword [rsi + 0xac], eax
mov eax, dword [rsi + 0xac]
test eax, eax
jne 0x140074636
cmp qword [rsi + 0x88], r12
jbe 0x140074636
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rbx, qword [rsi + 0x78]
test rbx, rbx
je 0x14007460f
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x14007460a
mov rdx, qword [rsi + 0x48]
test rdx, rdx
je 0x14007460a
cmp qword [rdx + 0x10], rcx
je 0x140074601
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400745f1
jmp 0x14007460a
lea rcx, [rsi + 0x48]
call fcn.14000c190
test rbx, rbx
jne 0x1400745dc
lea rcx, [rsi + 0x78]
call fcn.14000c1f0
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x140074636
mov r8d, 0x40
lea rcx, str._s__d_ReadFile_dwRead_d
call fcn.140061d00
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r12
mov r8d, 0x208
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x1400744f0
mov rcx, r15
call qword [sym.imp.api_ms_win_core_namedpipe_l1_1_0.dll_DisconnectNamedPipe]
jmp 0x1400744b0
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.1400c5860
add rsp, 0x2b0
pop r15
pop r12
pop rsi
ret
mov ecx, 0x80004005
call fcn.140004fd0
mov r14, qword [rsp + 0x2a0]
mov rdi, qword [rsp + 0x2a8]
mov rbp, qword [rsp + 0x2e0]
mov rbx, qword [rsp + 0x2d8]
int3