Function at 0x14001140b
Capabilities:
Create process on windows
Protect spawned processes with mitigation policies
Spoof parent pid

Disassembly:
jmp 0x140012280
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x238
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x258]
mov rax, qword [0x140288680]
xor rax, rbp
mov qword [rbp + 0x1d8], rax
lea rcx, [0x14028e0a3]
call fcn.1400113e8
nop
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
lea rax, [rbp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xe8], 0
mov edx, 0x70
lea rcx, [rbp + 0x10]
call fcn.1400112e4
nop
mov edx, 0x18
lea rcx, [rbp + 0x98]
call fcn.1400112e4
nop
mov dword [rbp + 0x10], 0x70
mov dword [rbp + 0x4c], 0x80000
lea r9, [rbp + 0xc8]
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
nop
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xc8]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xe8], rax
lea r9, [rbp + 0xc8]
xor r8d, r8d
mov edx, 2
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
jne 0x1400123b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InitializeProcThreadAttributeList_Failed_With_Error_:__d__n
call fcn.1400111bd
nop
xor eax, eax
jmp 0x140012536
movabs rax, 0x100000000000
mov qword [rbp + 0x108], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
lea r9, [rbp + 0x108]
mov r8d, 0x20007
xor edx, edx
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
jne 0x14001241f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____UpdateProcThreadAttribute_Failed_With_Error_:__d__n
call fcn.1400111bd
nop
xor eax, eax
jmp 0x140012536
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
lea r9, [rbp + 0x200]
mov r8d, 0x20000
xor edx, edx
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
jne 0x140012476
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____UpdateProcThreadAttribute_Failed_With_Error_:__d__n
call fcn.1400111bd
nop
xor eax, eax
jmp 0x140012536
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x78], rax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x210]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8080004
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str._C:Program_Files__x86_MicrosoftEdgeApplicationmsedge.exe____no_startup_window___win_session_start__prefetch:5
mov rcx, qword [rbp + 0x208]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400124f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateProcessA_Failed_with_Error_:__d__n
call fcn.1400111bd
nop
xor eax, eax
jmp 0x140012536
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
nop
mov rax, qword [rbp + 0x218]
mov ecx, dword [rbp + 0xa8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x98]
mov qword [rax], rcx
mov rax, qword [rbp + 0x228]
mov rcx, qword [rbp + 0xa0]
mov qword [rax], rcx
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001c060]
call fcn.140011370
mov rax, rdi
mov rcx, qword [rbp + 0x1d8]
xor rcx, rbp
call fcn.1400111db
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret