Function at 0x14000c904
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.140004f2c
mov rbx, rax
test rax, rax
je 0x14000cc40
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 0x14000cc37
cmp dword [rbp - 0x20], 1
jne 0x14000cc09
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 0x14000c9c9
mov r8d, dword [rbp - 0x20]
lea rdx, str.SupportedDPP
mov rcx, rdi
call fcn.14000c828
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 0x14000ca09
mov r8d, dword [rbp - 0x20]
lea rdx, str.SupportedCustomLUT
mov rcx, rdi
call fcn.14000c828
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 0x14000ca49
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnabledDPP
mov rcx, rdi
call fcn.14000c828
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 0x14000ca89
mov r8d, dword [rbp - 0x20]
lea rdx, str.SharpnessLevel
mov rcx, rdi
call fcn.14000c828
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 0x14000cac9
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnabledManualMode
mov rcx, rdi
call fcn.14000c828
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 0x14000cb09
mov r8d, dword [rbp - 0x20]
lea rdx, str.AmbientKelvin
mov rcx, rdi
call fcn.14000c828
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 0x14000cb49
mov r8d, dword [rbp - 0x20]
lea rdx, str.AmbientLux
mov rcx, rdi
call fcn.14000c828
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 0x14000cb89
mov r8d, dword [rbp - 0x20]
lea rdx, str.Brightness
mov rcx, rdi
call fcn.14000c828
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 0x14000cbc9
mov r8d, dword [rbp - 0x20]
lea rdx, str.SkinTone
mov rcx, rdi
call fcn.14000c828
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 0x14000cc09
mov r8d, dword [rbp - 0x20]
lea rdx, str.EnableHardware3DLUT
mov rcx, rdi
call fcn.14000c828
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.140013fa0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret