Function at 0x1400020c9
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
push rbp
push rdi
push rbx
sub rsp, 0x1c0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x160], rcx
lea rax, [rbp + 0xa0]
mov rdx, qword [rbp + 0x160]
mov rcx, rax
call fcn.140001f7c
lea rax, [rbp + 0xa0]
mov rcx, rax
call fcn.140033f90
test al, al
je 0x140002115
mov ebx, 0
jmp 0x1400023e5
lea rdx, [rbp + 0x30]
mov eax, 0
mov ecx, 0xe
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp + 0x30], 0x70
mov qword [rbp + 8], 0
lea rax, [rbp + 8]
mov r9, rax
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
call rax
mov rbx, qword [rbp + 8]
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov r8, rbx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
call rax
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
lea rdx, [rbp + 8]
mov r9, rdx
mov r8d, 0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
call rax
lea rax, [rbp + 0x100]
lea rdx, [rbp + 0xa0]
mov r8, rdx
lea rdx, [0x1400d8002]
mov rcx, rax
call fcn.1400d0340
lea rax, [rbp + 0xe0]
lea rdx, [rbp + 0x100]
lea r8, [0x1400d8006]
mov rcx, rax
call fcn.1400d02a0
lea rax, [rbp + 0xc0]
mov rcx, qword [rbp + 0x160]
lea rdx, [rbp + 0xe0]
mov r8, rcx
mov rcx, rax
call fcn.1400d02f0
lea rax, [rbp - 0x20]
lea rdx, [rbp + 0xc0]
lea r8, [0x1400d8002]
mov rcx, rax
call fcn.1400d02a0
lea rax, [rbp + 0xc0]
mov rcx, rax
call fcn.1400c3200
lea rax, [rbp + 0xe0]
mov rcx, rax
call fcn.1400c3200
lea rax, [rbp + 0x100]
mov rcx, rax
call fcn.1400c3200
call fcn.140001987
mov dword [rbp + 0x13c], eax
cmp dword [rbp + 0x13c], 0
jne 0x140002267
mov ebx, 0
jmp 0x1400023d9
mov eax, dword [rbp + 0x13c]
mov r8d, eax
mov edx, 0
mov ecx, pe_nt_image_headers64
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x130], rax
cmp qword [rbp + 0x130], 0
jne 0x14000229e
mov ebx, 0
jmp 0x1400023d9
mov rax, qword [rbp + 0x130]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x98]
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
mov r9, rdx
mov r8d, 0x20000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
call rax
lea rax, [rbp - 0x20]
mov edx, 0
mov rcx, rax
call fcn.1400c33e0
mov rdx, rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80000
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessW]
call rax
test eax, eax
setne al
mov byte [rbp + 0x12f], al
cmp byte [rbp + 0x12f], 0
je 0x140002381
mov rax, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x140002388
mov ebx, 0
jmp 0x1400023d9
mov rax, qword [rbp + 0x98]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
call rax
mov rbx, qword [rbp + 0x98]
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov r8, rbx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_HeapFree]
call rax
mov rax, qword [rbp + 0x130]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
movzx ebx, byte [rbp + 0x12f]
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.1400c3200
lea rax, [rbp + 0xa0]
mov rcx, rax
call fcn.1400c3200
mov eax, ebx
jmp 0x140002462
add rsp, 0x1c0
pop rbx
pop rdi
pop rbp
ret