Function at 0x14000bf3c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rbp - 0x10], rax
call fcn.14000d484
mov rbx, rax
test rax, rax
je 0x14000c278
and dword [rbp - 0x20], 0
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov dword [rbp - 0x1c], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.IsUpdateNeeded
mov dword [rbp - 0x18], 4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c26f
cmp dword [rbp - 0x20], 1
jne 0x14000c241
lea rax, [rbp - 0x1c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.SupportedDPP
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdi, str.SoftwareIntelIGFXDPP
test eax, eax
jne 0x14000c001
mov r8d, dword [rbp - 0x20]
lea rdx, str.SupportedDPP
mov rcx, rdi
call fcn.14000be60
lea rax, [rbp - 0x1c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.SupportedCustomLUT
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c041
mov r8d, dword [rbp - 0x20]
lea rdx, str.SupportedCustomLUT
mov rcx, rdi
call fcn.14000be60
lea rax, [rbp - 0x1c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.EnabledDPP
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c081
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnabledDPP
mov rcx, rdi
call fcn.14000be60
lea rax, [rbp - 0x1c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.SharpnessLevel
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c0c1
mov r8d, dword [rbp - 0x20]
lea rdx, str.SharpnessLevel
mov rcx, rdi
call fcn.14000be60
lea rax, [rbp - 0x1c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.EnabledManualMode
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c101
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnabledManualMode
mov rcx, rdi
call fcn.14000be60
lea rax, [rbp - 0x1c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.AmbientKelvin
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c141
mov r8d, dword [rbp - 0x20]
lea rdx, str.AmbientKelvin
mov rcx, rdi
call fcn.14000be60
lea rax, [rbp - 0x1c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.AmbientLux
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c181
mov r8d, dword [rbp - 0x20]
lea rdx, str.AmbientLux
mov rcx, rdi
call fcn.14000be60
lea rax, [rbp - 0x1c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.Brightness
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c1c1
mov r8d, dword [rbp - 0x20]
lea rdx, str.Brightness
mov rcx, rdi
call fcn.14000be60
lea rax, [rbp - 0x1c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.SkinTone
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c201
mov r8d, dword [rbp - 0x20]
lea rdx, str.SkinTone
mov rcx, rdi
call fcn.14000be60
lea rax, [rbp - 0x1c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.EnableHardware3DLUT
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c241
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnableHardware3DLUT
mov rcx, rdi
call fcn.14000be60
and dword [rbp - 0x14], 0
lea rax, [rbp - 0x14]
mov dword [rsp + 0x28], 4
lea rdx, str.IsUpdateNeeded
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140013600
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret