Function at 0x1800072b0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe
Spoof parent pid

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x58]
sub rsp, 0x140
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180067008]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14, r8
mov rsi, rdx
mov qword [rbp - 0x50], rdx
mov edi, dword [rbp + 0x80]
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x40], ebx
xor edx, edx
lea r8d, [rbx + 0x68]
lea rcx, [rbp - 0x38]
call fcn.180037440
mov qword [rbp - 0x68], rbx
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x80], ebx
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
test edi, edi
je 0x1800073d3
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180007526
lea r9, [rsp + 0x70]
xor r8d, r8d
lea edx, [rbx + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x28], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea edx, [rbx + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 8
lea r9, [rsp + 0x60]
xor edx, edx
mov r8d, 0x20000
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x180007526
mov dword [rbp - 0x70], 1
mov dword [rbp - 0x80], 0x18
mov qword [rbp - 0x78], rbx
mov r9d, 0x2800
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x180007410
mov dword [rbp - 0x40], reloc.WS2_32.dll_WSASetLastError
mov dword [rbp - 4], 0x101
mov word [rbp], bx
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x18], rax
cmp qword [rsi + 0x18], 0x10
jb 0x18000741c
mov rdx, qword [rsi]
jmp 0x18000741f
mov rdx, rsi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80010
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne dil
call qword [sym.imp.KERNEL32.dll_GetLastError]
test dil, dil
je 0x180007532
mov edx, 0x927c0
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, 0x927c0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x180007532
lea ecx, [rax + 1]
call fcn.180033ee0
mov rdi, rax
mov r8d, dword [rsp + 0x58]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.180037440
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x60]
mov r8d, dword [rsp + 0x58]
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [rdi], bl
je 0x18000750f
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180007506
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.1800020b0
mov rcx, rdi
call fcn.180033ed8
nop
mov rcx, rsi
call fcn.180001e50
mov al, 1
jmp 0x18000753c
mov rcx, rsi
call fcn.180001e50
xor al, al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180033e70
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret