Function at 0x140006660
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rdi, rcx
mov qword [rbp - 8], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
lea r8d, [rsi + 0x39]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
lea rcx, [rbp + 8]
call fcn.140008580
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea r8d, [rsi + 9]
lea rdx, str.EnableLUA
lea rcx, [rsp + 0x38]
call fcn.140008580
mov dword [rbp], esi
mov dword [rbp + 4], 4
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006759
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rdx, qword [rsp + 0x38]
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14000679e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006799
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006799
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009f6c
xorps xmm0, xmm0
xorps xmm1, xmm1
cmp dword [rbp], 0
jne 0x14000681d
movups xmmword [rsp + 0x58], xmm0
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 5
lea rdx, str.green
lea rcx, [rsp + 0x58]
call fcn.140008810
nop
mov dword [rsp + 0x30], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov r8d, 9
lea rdx, str.Disabled.
lea rcx, [rbp - 0x68]
call fcn.140008810
nop
mov dword [rsp + 0x30], 3
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x28]
call fcn.140002370
nop
mov ebx, 7
jmp 0x140006890
movups xmmword [rsp + 0x38], xmm0
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 6
lea rdx, str.yellow
lea rcx, [rsp + 0x38]
call fcn.140008810
nop
mov dword [rsp + 0x30], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 8
lea rdx, str.Enabled.
lea rcx, [rsp + 0x78]
call fcn.140008810
nop
mov dword [rsp + 0x30], 0x18
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x48]
call fcn.140002370
mov ebx, 0x38
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or ebx, 0x40
test bl, 0x20
je 0x140006915
and ebx, 0xffffffdf
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140006904
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400068ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400068ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009f6c
movdqa xmm0, xmmword [0x14000d0a0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
test bl, 0x10
je 0x14000695d
and ebx, 0xffffffef
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14000695d
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006957
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006957
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009f6c
nop
test bl, 8
je 0x1400069b8
and ebx, 0xfffffff7
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400069a5
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400069a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009f6c
movdqa xmm0, xmmword [0x14000d0a0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
test bl, 4
je 0x140006a0f
and ebx, 0xfffffffb
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400069fe
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400069f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009f6c
movdqa xmm0, xmmword [0x14000d0a0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
test bl, 2
je 0x140006a56
and ebx, 0xfffffffd
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140006a56
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009f6c
nop
test bl, 1
je 0x140006aae
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140006a9b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009f6c
movdqa xmm0, xmmword [0x14000d0a0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x140006af1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006aec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006aec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009f6c
mov rax, rdi
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.140009e40
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret