Function at 0x14006c010
Capabilities:
Create process on windows
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x3c8]
sub rsp, 0x4c8
xor ebx, ebx
mov word [rbp - 0x60], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x5e]
call fcn.14014e180
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rcx, [rbp - 0x60]
call fcn.14000c410
test al, al
jne 0x14006c15a
mov eax, dword [0x1401f2c90]
cmp eax, 0xffffffff
jne 0x14006c0be
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], 0x20
mov word [rsp + 0x48], bx
lea rax, [0x1401ba9d0]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14000b150
movzx eax, al
mov dword [0x1401f2c90], eax
lea rcx, [0x1401b7738]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebx
test eax, eax
jne 0x14006c15a
call fcn.14000b760
cmp eax, 0x258
jl 0x14006c15a
mov dword [rbp + 0x3e0], ebx
mov dword [rbp + 0x3e8], 4
lea rax, [rbp + 0x3f8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006c15a
lea rax, [rbp + 0x3e8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3e0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x3f0]
xor r8d, r8d
lea rdx, str.EnableLUA
mov rcx, qword [rbp + 0x3f8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x3f8]
test eax, eax
je 0x14006c166
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x4c8
pop rbx
pop rbp
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp + 0x3f0], 4
jne 0x14006c15a
cmp dword [rbp + 0x3e0], 0
je 0x14006c15a
mov dword [rbp + 0x3e0], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x3f0]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14006c1fd
mov dword [rbp + 0x3e8], 4
lea rax, [rbp + 0x3e8]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x3e0]
lea edx, [r9 + 0x10]
mov rcx, qword [rbp + 0x3f0]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov rcx, qword [rbp + 0x3f0]
test eax, eax
jne 0x14006c1ea
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006c1fd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x3e0], 0
jne 0x14006c15a
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
mov word [rbp + 0x1b0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1b2]
call fcn.14014e180
mov dword [rsp + 0x30], WSAStartup
mov dword [rsp + 0x60], 1
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x48], rax
lea rax, [0x1401b76c0]
mov qword [rsp + 0x50], rax
lea rax, [0x1401c1068]
mov qword [rsp + 0x40], rax
mov r8d, 0x103
lea rdx, [rbp + 0x1b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
sete al
add rsp, 0x4c8
pop rbx
pop rbp
ret