Function at 0x14005fa94
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 [0x14010c080]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
call fcn.140050444
test rax, rax
je 0x14005fb99
cmp dword [rsp + 0x210], 0
je 0x14005faf5
mov byte [rsp + 0x50], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140004118
mov al, byte [rsp + 0x50]
jmp 0x14006015a
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x80]
call fcn.14000630c
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
call fcn.140050444
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.140060970
mov byte [rsp + 0x51], al
mov rcx, qword [rsp + 0x1e0]
call fcn.140004118
mov al, byte [rsp + 0x51]
jmp 0x14006015a
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 0x14005fd21
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 0x14005fc6a
mov byte [rsp + 0x52], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140004118
mov al, byte [rsp + 0x52]
jmp 0x14006015a
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 0x14005fcaa
mov byte [rsp + 0x53], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140004118
mov al, byte [rsp + 0x53]
jmp 0x14006015a
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x14005fcdf
mov byte [rsp + 0x54], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140004118
mov al, byte [rsp + 0x54]
jmp 0x14006015a
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 0x14005ff25
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 0x14005fd72
mov byte [rsp + 0x55], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140004118
mov al, byte [rsp + 0x55]
jmp 0x14006015a
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 0x14005fda5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14005fdce
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x56], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140004118
mov al, byte [rsp + 0x56]
jmp 0x14006015a
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 0x14005fe23
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x57], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.140004118
mov al, byte [rsp + 0x57]
jmp 0x14006015a
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 0x14005fe87
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.140004118
mov al, byte [rsp + 0x58]
jmp 0x14006015a
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 0x14005ff06
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.140004118
mov al, byte [rsp + 0x59]
jmp 0x14006015a
mov dword [rsp + 0x140], 0x70
mov eax, dword [rsp + 0x1e8]
bts eax, 0x13
mov dword [rsp + 0x1e8], eax
jmp 0x14005ff30
mov dword [rsp + 0x140], 0x68
mov rcx, qword [rsp + 0x1e0]
call fcn.140006af0
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.1400b67b0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.140006af0
lea rax, [rax + rax + 2]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.140001550
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.14005b2a0
test eax, eax
jne 0x14006006c
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400b65e8
cmp qword [rsp + 0x68], 0
jne 0x14006003b
mov qword [rsp + 0xb0], 0
jmp 0x140060051
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.140004118
mov al, byte [rsp + 0x5a]
jmp 0x14006015a
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400b65e8
cmp qword [rsp + 0x70], 0
jne 0x140060096
mov qword [rsp + 0xb8], 0
jmp 0x1400600ac
mov qword [rsp + 0x60], 0x8123
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0x1f0], 0
je 0x1400600cc
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x110]
mov qword [rax], rcx
jmp 0x1400600da
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x1f8], 0
je 0x1400600fa
mov rax, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x118]
mov qword [rax], rcx
jmp 0x140060108
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x200], 0
je 0x140060126
mov rax, qword [rsp + 0x200]
mov rcx, qword [rsp + 0xe8]
mov qword [rax], rcx
cmp qword [rsp + 0x208], 0
je 0x140060144
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.140004118
mov al, byte [rsp + 0x5b]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400b6680
add rsp, 0x1c8
pop rdi
pop rsi
ret