Function at 0x14008d3a8
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov qword [rsp + 0x58], rcx
mov byte [rsp + 0x4b], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0x68], ecx
xor ebp, ebp
mov dword [rsp + 0x4c], 8
lea rdi, [rsp + 0x78]
lea rbx, [rsp + 0xa0]
xor eax, eax
mov qword [rsp + 0x70], rax
call sub.kernel32.dll_GetCurrentProcessId
mov dword [rsp + 0x6c], eax
mov rax, qword [0x140101388]
test rax, rax
jne 0x14008d413
call fcn.14008d760
xchg qword [0x140101388], rax
jmp 0x14008d3f9
mov eax, 1
lock xadd qword [0x140101388], rax
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x78], rax
lea rax, [fcn.140019098]
mov qword [rsp + 0x80], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rsp + 0xa0], rax
mov ecx, 2
mov qword [rsp + 0xa8], rcx
and qword [rsp + 0xc0], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x88], rax
lea rax, [0x14001951b]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rcx
lea rcx, [rsp + 0xd0]
mov rdx, rbx
call fcn.140004b3a
test bpl, 1
je 0x14008d4bb
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
call fcn.140010c6f
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x50], rax
mov r14, qword [rsp + 0xe0]
lea rax, [rcx + r14]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rax
and word [rsp + 0xb0], 0
mov dword [rsp + 0xb8], 1
mov rcx, rdi
mov rdx, rbx
call fcn.140084a5a
mov r12, qword [rsp + 0x78]
mov eax, 0x10000
mov dword [rsp + 0x28], eax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x20], eax
and dword [rsp + 0x30], 0
mov rcx, r12
mov edx, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x4c]
mov r9d, 1
call sub.kernel32.dll_CreateNamedPipeW
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x14008d61a
mov rsi, rdi
mov rax, qword [rsp + 0x70]
lea edi, [rax + 1]
call fcn.14003f61f
mov r14, rax
mov rcx, rax
call fcn.140087109
cmp edi, 0xa
jge 0x14008d5e4
mov r13d, eax
mov r15d, edx
mov ecx, eax
mov r8d, 1
mov r9d, 5
call fcn.14008712f
test al, al
je 0x14008d597
mov eax, edi
mov qword [rsp + 0x70], rax
jmp 0x14008d5c1
cmp dword [rsp + 0x4c], 0
je 0x14008d5e4
mov ecx, r13d
mov edx, r15d
mov r8d, 1
mov r9d, 0x57
call fcn.14008712f
mov dword [rsp + 0x4c], 0
test al, al
je 0x14008d5e4
mov rcx, r14
call fcn.14001e441
mov rdx, qword [rsp + 0x80]
mov rcx, r12
call fcn.140085aa1
mov bpl, 1
mov rdi, rsi
jmp 0x14008d3f0
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], r14
mov qword [rax], 1
mov rdx, qword [rsp + 0x80]
mov rcx, r12
call fcn.140085aa1
mov rdi, 0xffffffffffffffff
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
jmp 0x14008d6a6
mov rdx, qword [rsp + 0x80]
mov rcx, r12
call fcn.140085aa1
lea r8, [rsp + 0xa0]
and qword [r8 + 0x10], 0
and dword [r8], 0
and qword [r8 + 0x1c], 0
and word [r8 + 0x24], 0
mov al, byte [rsp + 0x4b]
mov byte [r8 + 0x21], al
xor al, 1
mov byte [r8 + 0x20], al
and dword [r8 + 0x18], 0
mov dword [rsp + 0x78], 0x18
and qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 1
mov qword [r8 + 8], rdi
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
mov rdx, r14
call fcn.14008af8e
test rax, rax
je 0x14008d6d2
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rdi, rbp
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call fcn.140010c6f
cmp rbp, 0xffffffffffffffff
je 0x14008d6bd
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
nop
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rdx
and qword [rax], 0
mov rcx, rsi
mov rdx, qword [rsp + 0x50]
call fcn.140010c6f
jmp 0x14008d6bd