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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
xor ebx, ebx
lea rdx, [rbp + 0x90]
mov qword [rbp + 0x78], rbx
mov rsi, rcx
mov qword [rbp + 0x80], rbx
or rcx, 0xffffffffffffffff
mov rax, qword gs:[0x30]
mov r13d, ebx
mov dword [rbp + 0x90], ebx
mov dword [rbp + 0x88], ebx
mov r12, qword [rax + 0x40]
call fcn.14000e974
lea r14d, [rbx + 0x30]
test eax, eax
je 0x14000ef58
call fcn.14000fe60
mov rdi, rax
test rax, rax
je 0x14000ef3d
mov r15d, dword [rbp + 0x90]
mov rbx, rax
mov rax, qword [rbx + 0x50]
cmp rax, r12
je 0x14000ef2c
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x68]
xor eax, eax
mov dword [rbp - 0x70], r14d
xorps xmm0, xmm0
mov qword [rsp + 0x70], rax
lea r8, [rbp - 0x70]
mov qword [rbp - 0x68], rax
mov edx, 0x1080
mov dword [rbp - 0x58], eax
lea rcx, [rbp + 0x80]
mov qword [rbp - 0x60], rax
movdqu xmmword [rbp - 0x50], xmm0
call qword [sym.imp.ntdll.dll_NtOpenProcess]
test eax, eax
js 0x14000ef2c
mov rcx, qword [rbp + 0x80]
lea rdx, [rbp + 0x88]
call fcn.14000e974
test eax, eax
je 0x14000ef1f
cmp dword [rbp + 0x88], r15d
je 0x14000ef3b
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rbx], r13d
je 0x14000ef3b
mov eax, dword [rbx]
add rbx, rax
jmp 0x14000eeb4
xor ebx, ebx
test rdi, rdi
je 0x14000ef58
mov rcx, qword [0x14002e920]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14000f150
xor eax, eax
lea rdi, [rsp + 0x78]
mov r8, rsi
lea ecx, [rax + 0x18]
lea r15d, [rax + 0x70]
rep stosb byte [rdi], al
lea rdi, [rbp - 0x40]
mov ecx, r15d
rep stosb byte [rdi], al
test rsi, rsi
jne 0x14000ef93
mov r8, rbx
jmp 0x14000efa8
cmp word [rsi], bx
je 0x14000efa2
add r8, 2
cmp word [r8], bx
jne 0x14000ef98
sub r8, rsi
sar r8, 1
mov rcx, qword [0x14002e920]
lea r8, [r8*2 + 2]
mov qword [rbp + 0x98], r8
mov r12d, 8
mov edx, r12d
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x14000f142
mov rdx, rsi
mov rcx, rax
call fcn.1400017f8
mov dword [rbp - 0x40], r15d
lea esi, [r12 - 7]
mov qword [rbp + 0x98], r14
cmp r14, 0x400
ja 0x14000f12c
mov rcx, qword [0x14002e920]
mov r8, r14
mov edx, r12d
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbp + 0x28], rax
test rax, rax
je 0x14000f115
lea r9, [rbp + 0x98]
xor r8d, r8d
mov edx, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x14000f0fe
mov rcx, qword [rbp + 0x28]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov qword [rsp + 0x28], rbx
mov r8d, 0x20000
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x14000f0ec
mov rcx, qword [rsp + 0x60]
lea r8, [rbp + 0x78]
mov edx, reloc.Cabinet.dll_FCIAddFile
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
test eax, eax
js 0x14000f0ec
mov rcx, qword [rbp + 0x78]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x40]
mov dword [rbp - 4], esi
mov qword [rsp + 0x48], rax
mov r8, rdi
mov qword [rsp + 0x40], rbx
xor edx, edx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x4080020
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov word [rbp], bx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14000f0e2
mov rcx, qword [rbp - 0x80]
mov r13, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
mov r8, qword [rbp + 0x28]
test r8, r8
je 0x14000f102
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov r8, qword [rbp + 0x28]
mov rcx, qword [0x14002e920]
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000f12c
mov r14, qword [rbp + 0x98]
jmp 0x14000eff8
mov rcx, qword [0x14002e920]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, r13
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret