Function at 0x14006ce80
Capabilities:
Create pipe
Create two anonymous pipes
Spoof parent pid

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1c8
mov rax, qword [0x140134040]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
call fcn.14005b6e8
test rax, rax
je 0x14006cf85
cmp dword [rsp + 0x210], 0
je 0x14006cee1
mov byte [rsp + 0x50], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x50]
jmp 0x14006d546
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x80]
call fcn.140006f64
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
call fcn.14005b6e8
nop
mov rcx, qword [rsp + 0x208]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x200]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x1f8]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x1f0]
mov r8d, dword [rsp + 0x1e8]
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.14006d560
mov byte [rsp + 0x51], al
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x51]
jmp 0x14006d546
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x100], 0
lea rax, [rsp + 0x140]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
lea rax, [rsp + 0x110]
mov rdi, rax
xor eax, eax
mov ecx, SafeArrayCopy
rep stosb byte [rdi], al
cmp qword [rsp + 0x200], 0
je 0x14006d10d
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x128], SafeArrayCopy
mov dword [rsp + 0x138], 1
mov qword [rsp + 0x130], 0
xor r9d, r9d
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14006d056
mov byte [rsp + 0x52], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x52]
jmp 0x14006d546
xor r9d, r9d
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14006d096
mov byte [rsp + 0x53], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x53]
jmp 0x14006d546
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x14006d0cb
mov byte [rsp + 0x54], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x54]
jmp 0x14006d546
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x190], rax
mov eax, dword [rsp + 0x17c]
bts eax, 8
mov dword [rsp + 0x17c], eax
cmp dword [rsp + 0x210], 0
je 0x14006d311
mov r8d, dword [rsp + 0x210]
xor edx, edx
mov ecx, 0x2000000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
jne 0x14006d15e
mov byte [rsp + 0x55], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x55]
jmp 0x14006d546
mov qword [rsp + 0xf8], 0
lea r9, [rsp + 0xf8]
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
jne 0x14006d191
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14006d1ba
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x56], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x56]
jmp 0x14006d546
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0xf8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x1a8], rax
cmp qword [rsp + 0x1a8], 0
jne 0x14006d20f
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x57], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x57]
jmp 0x14006d546
lea r9, [rsp + 0xf8]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
jne 0x14006d273
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x1a8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rsp + 0x58], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x58]
jmp 0x14006d546
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
lea r9, [rsp + 0xe0]
mov r8d, 0x20000
xor edx, edx
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
jne 0x14006d2f2
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x1a8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rsp + 0x59], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x59]
jmp 0x14006d546
mov dword [rsp + 0x140], 0x70
mov eax, dword [rsp + 0x1e8]
bts eax, 0x13
mov dword [rsp + 0x1e8], eax
jmp 0x14006d31c
mov dword [rsp + 0x140], 0x68
mov rcx, qword [rsp + 0x1e0]
call fcn.140006e24
inc rax
mov qword [rsp + 0x98], rax
mov eax, 2
mov rcx, qword [rsp + 0x98]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400d93a0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.140006e24
lea rax, [rax + rax + 2]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.1400015e8
mov rdi, qword [rsp + 0x60]
mov rsi, rax
mov rax, qword [rsp + 0xa8]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x110]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x1e8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call fcn.1400674ec
test eax, eax
jne 0x14006d458
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400d936c
cmp qword [rsp + 0x68], 0
jne 0x14006d427
mov qword [rsp + 0xb0], 0
jmp 0x14006d43d
mov qword [rsp + 0x60], 0x8123
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0x5a], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x5a]
jmp 0x14006d546
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400d936c
cmp qword [rsp + 0x70], 0
jne 0x14006d482
mov qword [rsp + 0xb8], 0
jmp 0x14006d498
mov qword [rsp + 0x60], 0x8123
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0x1f0], 0
je 0x14006d4b8
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x110]
mov qword [rax], rcx
jmp 0x14006d4c6
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x1f8], 0
je 0x14006d4e6
mov rax, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x118]
mov qword [rax], rcx
jmp 0x14006d4f4
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x200], 0
je 0x14006d512
mov rax, qword [rsp + 0x200]
mov rcx, qword [rsp + 0xe8]
mov qword [rax], rcx
cmp qword [rsp + 0x208], 0
je 0x14006d530
mov rax, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x100]
mov qword [rax], rcx
mov byte [rsp + 0x5b], 1
mov rcx, qword [rsp + 0x1e0]
call fcn.140003844
mov al, byte [rsp + 0x5b]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400d9310
add rsp, 0x1c8
pop rdi
pop rsi
ret