Function at 0x14006d560
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x258
mov rax, qword [0x140134040]
xor rax, rsp
mov qword [rsp + 0x240], rax
call fcn.140053aa8
mov qword [rsp + 0x188], 0
mov qword [rsp + 0x180], 0
mov qword [rsp + 0x190], 0
mov qword [rsp + 0x198], 0
lea rax, [rsp + 0x1d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x1d0], 0x68
lea rax, [rsp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, SafeArrayCopy
rep stosb byte [rdi], al
cmp qword [rsp + 0x298], 0
je 0x14006d739
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x1b8], SafeArrayCopy
mov dword [rsp + 0x1c8], 1
mov qword [rsp + 0x1c0], 0
xor r9d, r9d
lea r8, [rsp + 0x1b8]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14006d678
call fcn.140053a58
mov byte [rsp + 0x60], 0
mov rcx, qword [rsp + 0x278]
call fcn.140003844
mov al, byte [rsp + 0x60]
jmp 0x14006dbfc
xor r9d, r9d
lea r8, [rsp + 0x1b8]
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14006d6bd
call fcn.140053a58
mov byte [rsp + 0x61], 0
mov rcx, qword [rsp + 0x278]
call fcn.140003844
mov al, byte [rsp + 0x61]
jmp 0x14006dbfc
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x14006d6f7
call fcn.140053a58
mov byte [rsp + 0x62], 0
mov rcx, qword [rsp + 0x278]
call fcn.140003844
mov al, byte [rsp + 0x62]
jmp 0x14006dbfc
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x220], rax
mov eax, dword [rsp + 0x20c]
bts eax, 8
mov dword [rsp + 0x20c], eax
mov rcx, qword [rsp + 0x278]
call fcn.140006e24
inc rax
mov qword [rsp + 0xb0], rax
mov eax, 2
mov rcx, qword [rsp + 0xb0]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400d93a0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x278]
call fcn.140006e24
lea rax, [rax + rax + 2]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x278]
call fcn.1400015e8
mov rdi, qword [rsp + 0x68]
mov rsi, rax
mov rax, qword [rsp + 0xc0]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x270]
call fcn.140067028
test eax, eax
jne 0x14006db00
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
xor r8d, r8d
mov edx, 2
mov rcx, qword [rsp + 0x270]
call fcn.140067028
test eax, eax
jne 0x14006db00
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x270]
call fcn.140067028
test eax, eax
jne 0x14006db00
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, qword [rsp + 0x270]
call fcn.14006731c
test eax, eax
jne 0x14006db00
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.1400d936c
cmp qword [rsp + 0x78], 0
jne 0x14006d95e
mov qword [rsp + 0xc8], 0
jmp 0x14006d974
mov qword [rsp + 0x68], 0x8123
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x100]
call fcn.14006ce00
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.14004bcd4
movzx eax, al
test eax, eax
jne 0x14006d9a7
mov dword [rsp + 0x70], 1
jmp 0x14006d9af
mov dword [rsp + 0x70], 0
mov al, byte [rsp + 0x70]
mov byte [rsp + 0x63], al
lea rcx, [rsp + 0x100]
call fcn.140003844
movzx eax, byte [rsp + 0x63]
test eax, eax
je 0x14006dae0
call fcn.140053a58
lea rax, [rsp + 0x120]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0xd8]
call fcn.140006f64
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0xe8]
call fcn.14006ce00
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0xf8]
call fcn.14006cd80
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x280]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.14006dc18
mov byte [rsp + 0x64], al
mov rcx, qword [rsp + 0x278]
call fcn.140003844
mov al, byte [rsp + 0x64]
jmp 0x14006dbfc
call fcn.140053a58
mov byte [rsp + 0x65], 0
mov rcx, qword [rsp + 0x278]
call fcn.140003844
mov al, byte [rsp + 0x65]
jmp 0x14006dbfc
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400d936c
cmp qword [rsp + 0x80], 0
jne 0x14006db33
mov qword [rsp + 0xa8], 0
jmp 0x14006db49
mov qword [rsp + 0x68], 0x8123
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0x288], 0
je 0x14006db69
mov rax, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x1a0]
mov qword [rax], rcx
jmp 0x14006db77
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x290], 0
je 0x14006db97
mov rax, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x1a8]
mov qword [rax], rcx
jmp 0x14006dba5
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x298], 0
je 0x14006dbc3
mov rax, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x188]
mov qword [rax], rcx
cmp qword [rsp + 0x2a0], 0
je 0x14006dbe1
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x198]
mov qword [rax], rcx
call fcn.140053a58
mov byte [rsp + 0x66], 1
mov rcx, qword [rsp + 0x278]
call fcn.140003844
mov al, byte [rsp + 0x66]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400d9310
add rsp, 0x258
pop rdi
pop rsi
ret