Function at 0x14008da66
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
mov qword [rsp + 0x58], rcx
mov byte [rsp + 0x4b], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0x6c], ecx
xor edi, edi
mov dword [rsp + 0x4c], 8
lea r13, [rsp + 0xa0]
lea rbp, [rsp + 0x110]
lea r12, [rsp + 0x70]
lea rsi, [rsp + 0xc0]
xor eax, eax
mov qword [rsp + 0x90], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [rsp + 0xa0], eax
mov rax, qword [0x1400f7198]
test rax, rax
jne 0x14008dae8
call fcn.14008df2c
xchg qword [0x1400f7198], rax
jmp 0x14008dace
mov eax, 1
lock xadd qword [0x1400f7198], rax
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x70], r13
lea rax, [0x140029e52]
mov qword [rsp + 0x78], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rsp + 0xc0], rax
mov ecx, 2
mov qword [rsp + 0xc8], rcx
and qword [rsp + 0xe0], 0
mov qword [rsp + 0x80], rbp
lea rax, [fcn.14002a35d]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], rcx
lea rcx, [rsp + 0xf8]
mov rdx, rsi
call fcn.140086193
test dil, 1
je 0x14008db80
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
call fcn.1400275a6
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x100]
mov r15, qword [rsp + 0x108]
lea rax, [rcx + r15]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
and word [rsp + 0x80], 0
mov dword [rsp + 0x88], 1
mov rcx, r12
call fcn.140084b81
test ax, ax
je 0x14008dcb5
mov ebx, edx
mov rcx, rsi
mov rdx, r12
call fcn.140084bc3
mov rcx, qword [rsp + 0xc0]
inc rcx
mov rax, 0xffffffffffffffff
cmove rcx, rax
cmp rcx, 5
mov eax, 4
cmovb rcx, rax
call fcn.140084c55
mov r14, rdx
mov word [rdx], bx
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], 1
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
mov edi, 1
mov rcx, rsi
call fcn.140084b81
cmp ax, 1
jne 0x14008dcab
mov ebx, edx
cmp rdi, qword [rsp + 0xa0]
jne 0x14008dc99
mov rcx, rbp
mov rdx, rsi
call fcn.140084bc3
mov rdx, qword [rsp + 0x110]
inc rdx
mov rax, 0xffffffffffffffff
cmove rdx, rax
mov rcx, r13
call fcn.140084c91
mov r14, qword [rsp + 0xa8]
mov word [r14 + rdi*2], bx
inc rdi
mov qword [rsp + 0xb0], rdi
jmp 0x14008dc4e
mov rdi, qword [rsp + 0xa0]
jmp 0x14008dcbd
mov r14d, 2
xor edi, edi
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, r14
mov edx, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x4c]
mov r9d, 1
call qword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14008ddee
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xb8], rbx
mov rbx, r13
mov r13, r12
mov rax, qword [rsp + 0x90]
lea r12d, [rax + 1]
call fcn.1400860c3
mov r15, rax
mov rcx, rax
call fcn.1400862b3
cmp r12d, 0xa
jge 0x14008ddb0
mov edi, eax
mov ebp, edx
mov ecx, eax
mov r8d, 1
mov r9d, 5
call fcn.140032ab9
test al, al
je 0x14008dd5a
mov eax, r12d
mov qword [rsp + 0x90], rax
jmp 0x14008dd82
cmp dword [rsp + 0x4c], 0
je 0x14008ddb0
mov ecx, edi
mov edx, ebp
mov r8d, 1
mov r9d, 0x57
call fcn.140032ab9
mov dword [rsp + 0x4c], 0
test al, al
je 0x14008ddb0
mov rcx, r15
call fcn.140001281
mov rcx, qword [rsp + 0x98]
mov rdx, r14
call fcn.1400860da
mov dil, 1
mov r12, r13
mov r13, rbx
lea rbp, [rsp + 0x110]
jmp 0x14008dac1
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], r15
mov qword [rax], 1
mov rcx, qword [rsp + 0x98]
mov rdx, r14
call fcn.1400860da
mov rsi, 0xffffffffffffffff
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xb8]
jmp 0x14008de72
mov rcx, rdi
mov rdx, r14
call fcn.1400860da
lea r8, [rsp + 0xc0]
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 + 0x70], 0x18
and qword [rsp + 0x78], 0
mov dword [rsp + 0x80], 1
mov qword [r8 + 8], r12
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
mov rdx, r15
call fcn.14008a767
test rax, rax
je 0x14008de9e
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rsi, rbx
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call fcn.1400275a6
cmp rbx, 0xffffffffffffffff
je 0x14008de89
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
nop
add rsp, 0x128
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], rbx
mov qword [rax + 0x10], rdx
and qword [rax], 0
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call fcn.1400275a6
jmp 0x14008de89