Function at 0x14000c1c4
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 [0x140055118]
xor rax, rsp
mov qword [rbp - 0x10], rax
call fcn.14000d8b4
mov rbx, rax
test rax, rax
je 0x14000c500
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 0x14000c4f7
cmp dword [rbp - 0x20], 1
jne 0x14000c4c9
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 0x14000c289
mov r8d, dword [rbp - 0x20]
lea rdx, str.SupportedDPP
mov rcx, rdi
call fcn.14000c0e8
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 0x14000c2c9
mov r8d, dword [rbp - 0x20]
lea rdx, str.SupportedCustomLUT
mov rcx, rdi
call fcn.14000c0e8
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 0x14000c309
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnabledDPP
mov rcx, rdi
call fcn.14000c0e8
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 0x14000c349
mov r8d, dword [rbp - 0x20]
lea rdx, str.SharpnessLevel
mov rcx, rdi
call fcn.14000c0e8
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 0x14000c389
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnabledManualMode
mov rcx, rdi
call fcn.14000c0e8
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 0x14000c3c9
mov r8d, dword [rbp - 0x20]
lea rdx, str.AmbientKelvin
mov rcx, rdi
call fcn.14000c0e8
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 0x14000c409
mov r8d, dword [rbp - 0x20]
lea rdx, str.AmbientLux
mov rcx, rdi
call fcn.14000c0e8
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 0x14000c449
mov r8d, dword [rbp - 0x20]
lea rdx, str.Brightness
mov rcx, rdi
call fcn.14000c0e8
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 0x14000c489
mov r8d, dword [rbp - 0x20]
lea rdx, str.SkinTone
mov rcx, rdi
call fcn.14000c0e8
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 0x14000c4c9
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnableHardware3DLUT
mov rcx, rdi
call fcn.14000c0e8
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.140013ce0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret