Function at 0x578db0
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 [0x007e0198]
test rax, rax
jne 0x578e1b
call fcn.005782a2
xchg qword [0x007e0198], rax
jmp 0x578e01
mov eax, 1
lock xadd qword [0x007e0198], rax
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x78], rax
lea rax, [0x00478c0b]
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, [fcn.00478735]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rcx
lea rcx, [rsp + 0xd0]
mov rdx, rbx
call fcn.00433d38
test bpl, 1
je 0x578ec3
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
call fcn.00433bdd
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.0056a3a3
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 0x579022
mov rsi, rdi
mov rax, qword [rsp + 0x70]
lea edi, [rax + 1]
call fcn.00569a3f
mov r14, rax
mov rcx, rax
call fcn.00577642
cmp edi, 0xa
jge 0x578fec
mov r13d, eax
mov r15d, edx
mov ecx, eax
mov r8d, 1
mov r9d, 5
call fcn.0050b0bb
test al, al
je 0x578f9f
mov eax, edi
mov qword [rsp + 0x70], rax
jmp 0x578fc9
cmp dword [rsp + 0x4c], 0
je 0x578fec
mov ecx, r13d
mov edx, r15d
mov r8d, 1
mov r9d, 0x57
call fcn.0050b0bb
mov dword [rsp + 0x4c], 0
test al, al
je 0x578fec
mov rcx, r14
call fcn.00575409
mov rdx, qword [rsp + 0x80]
mov rcx, r12
call fcn.0057667d
mov bpl, 1
mov rdi, rsi
jmp 0x578df8
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], r14
mov qword [rax], 1
mov rdx, qword [rsp + 0x80]
mov rcx, r12
call fcn.0057667d
mov rdi, 0xffffffffffffffff
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
jmp 0x5790ae
mov rdx, qword [rsp + 0x80]
mov rcx, r12
call fcn.0057667d
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.00578469
test rax, rax
je 0x5790d9
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.00433bdd
cmp rbp, 0xffffffffffffffff
je 0x5790c4
mov rcx, rdi
call fcn.0059c8b0
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.00433bdd
jmp 0x5790c4