Function at 0x14000c874
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 [0x140055110]
xor rax, rsp
mov qword [rbp - 0x10], rax
call fcn.140004f3c
mov rbx, rax
test rax, rax
je 0x14000cbb0
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 0x14000cba7
cmp dword [rbp - 0x20], 1
jne 0x14000cb79
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 0x14000c939
mov r8d, dword [rbp - 0x20]
lea rdx, str.SupportedDPP
mov rcx, rdi
call fcn.14000c798
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 0x14000c979
mov r8d, dword [rbp - 0x20]
lea rdx, str.SupportedCustomLUT
mov rcx, rdi
call fcn.14000c798
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 0x14000c9b9
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnabledDPP
mov rcx, rdi
call fcn.14000c798
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 0x14000c9f9
mov r8d, dword [rbp - 0x20]
lea rdx, str.SharpnessLevel
mov rcx, rdi
call fcn.14000c798
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 0x14000ca39
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnabledManualMode
mov rcx, rdi
call fcn.14000c798
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 0x14000ca79
mov r8d, dword [rbp - 0x20]
lea rdx, str.AmbientKelvin
mov rcx, rdi
call fcn.14000c798
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 0x14000cab9
mov r8d, dword [rbp - 0x20]
lea rdx, str.AmbientLux
mov rcx, rdi
call fcn.14000c798
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 0x14000caf9
mov r8d, dword [rbp - 0x20]
lea rdx, str.Brightness
mov rcx, rdi
call fcn.14000c798
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 0x14000cb39
mov r8d, dword [rbp - 0x20]
lea rdx, str.SkinTone
mov rcx, rdi
call fcn.14000c798
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 0x14000cb79
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnableHardware3DLUT
mov rcx, rdi
call fcn.14000c798
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.140013fc0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret