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

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x7ff741cd7188]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
movdqa xmm1, xmmword [0x7ff741cbd070]
mov dl, 0x2a
movd ecx, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rsp + 0x40], xmm1
xor edi, edi
mov r8b, 0x13
movdqa xmm1, xmmword [0x7ff741cbd000]
xor dl, cl
xor byte [rsp + 0x42], cl
xor r8b, cl
xor byte [rsp + 0x43], cl
mov r9b, 0xa
xor byte [rsp + 0x44], cl
xor r9b, cl
xor byte [rsp + 0x45], cl
mov r10b, 0x1f
xor byte [rsp + 0x46], cl
xor r10b, cl
xor byte [rsp + 0x47], cl
xor byte [rsp + 0x48], cl
xor byte [rsp + 0x49], cl
xor byte [rsp + 0x4a], cl
xor byte [rsp + 0x4b], cl
xor byte [rsp + 0x4c], cl
xor byte [rsp + 0x4d], cl
xor byte [rsp + 0x4e], cl
xor byte [rsp + 0x4f], cl
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x50], dl
lea edx, [rdi + 1]
psrldq xmm0, 1
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 1
mov byte [rsp + 0x51], r8b
lea r8, [rbp - 0x78]
xor al, cl
mov byte [rsp + 0x52], r9b
movd ecx, xmm1
xor r9d, r9d
mov byte [rsp + 0x41], al
movd eax, xmm0
xor byte [rsp + 0x6a], cl
xor byte [rsp + 0x6b], cl
xor byte [rsp + 0x6c], cl
xor al, cl
xor byte [rsp + 0x6d], cl
xor byte [rsp + 0x6e], cl
xor byte [rsp + 0x6f], cl
xor byte [rsp + 0x70], cl
xor byte [rsp + 0x71], cl
xor byte [rsp + 0x72], cl
xor byte [rsp + 0x73], cl
xor byte [rsp + 0x74], cl
xor byte [rsp + 0x75], cl
xor byte [rsp + 0x76], cl
lea rcx, [rsp + 0x69]
mov byte [rsp + 0x69], al
mov byte [rsp + 0x53], r10b
mov byte [rsp + 0x54], 0
mov dword [rbp - 0x80], 0x18
mov dword [rbp - 0x70], edi
mov byte [rsp + 0x77], dil
call qword [sym.imp.advapi32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA]
test eax, eax
je 0x7ff741c07004
lea rax, [rbp - 0x80]
mov qword [rsp + 0x4c0], rbx
mov qword [rsp + 0x38], rax
lea r9d, [rdi + 1]
mov dword [rsp + 0x30], edi
lea edx, [rdi + 3]
mov dword [rsp + 0x28], 0x400
lea rcx, [rsp + 0x41]
xor r8d, r8d
mov dword [rsp + 0x20], 0x400
call qword [sym.imp.kernel32.dll_CreateNamedPipeA]
mov rcx, qword [rbp - 0x78]
mov rbx, rax
call qword [sym.imp.kernel32.dll_LocalFree]
cmp rbx, 0xffffffffffffffff
je 0x7ff741c06ffc
xor edx, edx
mov rcx, rbx
call qword [sym.imp.kernel32.dll_ConnectNamedPipe]
test eax, eax
je 0x7ff741c06ff3
lea r9, [rbp - 0x68]
mov qword [rsp + 0x20], rdi
mov r8d, 0x400
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x7ff741c06ff3
movdqa xmm1, xmmword [0x7ff741cbd1f0]
mov dl, 0x39
movdqa xmm2, xmmword [0x7ff741cbd010]
movdqa xmm0, xmm1
movd ecx, xmm1
mov r8, 0xffffffffffffffff
movdqu xmmword [rsp + 0x50], xmm2
mov byte [rsp + 0x61], dil
xor byte [rsp + 0x51], cl
xor byte [rsp + 0x52], cl
xor byte [rsp + 0x53], cl
xor byte [rsp + 0x54], cl
xor byte [rsp + 0x55], cl
xor byte [rsp + 0x56], cl
xor byte [rsp + 0x57], cl
xor byte [rsp + 0x58], cl
xor byte [rsp + 0x59], cl
xor byte [rsp + 0x5a], cl
xor byte [rsp + 0x5b], cl
xor byte [rsp + 0x5c], cl
xor byte [rsp + 0x5d], cl
xor byte [rsp + 0x5e], cl
xor byte [rsp + 0x5f], cl
movdqu xmmword [rsp + 0x40], xmm1
xor byte [rsp + 0x42], cl
xor byte [rsp + 0x43], cl
xor byte [rsp + 0x44], cl
xor byte [rsp + 0x45], cl
xor byte [rsp + 0x46], cl
xor byte [rsp + 0x47], cl
xor byte [rsp + 0x48], cl
xor byte [rsp + 0x49], cl
xor byte [rsp + 0x4a], cl
xor byte [rsp + 0x4b], cl
xor byte [rsp + 0x4c], cl
xor byte [rsp + 0x4d], cl
xor byte [rsp + 0x4e], cl
xor byte [rsp + 0x4f], cl
psrldq xmm0, 1
movd eax, xmm0
xor al, cl
mov byte [rsp + 0x41], al
movd eax, xmm2
xor al, cl
xor dl, cl
mov byte [rsp + 0x50], al
mov byte [rsp + 0x60], dl
lea rax, [rsp + 0x41]
nop word [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x7ff741c06fd0
inc r8d
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x64]
mov rcx, rbx
lea rdx, [rsp + 0x41]
call qword [sym.imp.kernel32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rbx, qword [rsp + 0x4c0]
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.7ff741ca8850
mov rdi, qword [rsp + 0x4c8]
add rsp, 0x4b0
pop rbp
ret