Function at 0x14000bfc8
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 [0x140052108]
xor rax, rsp
mov qword [rbp - 0x10], rax
call fcn.14000d97c
mov rbx, rax
test rax, rax
je 0x14000c304
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 0x14000c2fb
cmp dword [rbp - 0x20], 1
jne 0x14000c2cd
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 0x14000c08d
mov r8d, dword [rbp - 0x20]
lea rdx, str.SupportedDPP
mov rcx, rdi
call fcn.14000beec
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 0x14000c0cd
mov r8d, dword [rbp - 0x20]
lea rdx, str.SupportedCustomLUT
mov rcx, rdi
call fcn.14000beec
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 0x14000c10d
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnabledDPP
mov rcx, rdi
call fcn.14000beec
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 0x14000c14d
mov r8d, dword [rbp - 0x20]
lea rdx, str.SharpnessLevel
mov rcx, rdi
call fcn.14000beec
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 0x14000c18d
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnabledManualMode
mov rcx, rdi
call fcn.14000beec
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 0x14000c1cd
mov r8d, dword [rbp - 0x20]
lea rdx, str.AmbientKelvin
mov rcx, rdi
call fcn.14000beec
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 0x14000c20d
mov r8d, dword [rbp - 0x20]
lea rdx, str.AmbientLux
mov rcx, rdi
call fcn.14000beec
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 0x14000c24d
mov r8d, dword [rbp - 0x20]
lea rdx, str.Brightness
mov rcx, rdi
call fcn.14000beec
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 0x14000c28d
mov r8d, dword [rbp - 0x20]
lea rdx, str.SkinTone
mov rcx, rdi
call fcn.14000beec
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 0x14000c2cd
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnableHardware3DLUT
mov rcx, rdi
call fcn.14000beec
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.140013e00
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret