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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x4c0
mov rax, qword [0x140066550]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
xorps xmm0, xmm0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
movss dword [rsp + 0x34], xmm0
mov eax, 1
mov esi, 0x104
lea rcx, [r11 - 0x358]
xor edx, edx
mov r8, rsi
xor r13d, r13d
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x58], eax
xor r14d, r14d
xor ebp, ebp
xor r12d, r12d
xor ebx, ebx
xor edi, edi
call fcn.1400208e0
lea rcx, [rsp + 0x3a0]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x290]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x70]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
mov rsi, 0xffffffff80000001
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareIntelDisplayigfxcuiMedia
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14000c77f
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000c37a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareinteldisplayigfxcuiprofilesCurrent
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test eax, eax
jne 0x14000c50f
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x290]
lea rdx, str.CurrentPresetProfileName
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000c50f
lea rdx, [0x140054406]
lea rcx, [rsp + 0x290]
call fcn.140024630
test eax, eax
je 0x14000c50f
lea rdx, str.Select_Profile
lea rcx, [rsp + 0x290]
call fcn.140024630
test eax, eax
je 0x14000c50f
lea rax, [rsp + 0x290]
lea r9, str.SoftwareinteldisplayigfxcuiprofilesMedia
lea r8, str._s_s
lea rcx, [rsp + 0x180]
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.140024570
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x180]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14000c472
lea r8, [rsp + 0x180]
lea rcx, [rsp + 0x3a0]
mov edx, 0x104
lea edi, [rsi + 1]
call fcn.140022730
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000c482
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x180]
xor edx, edx
mov r8d, 0x104
call fcn.1400208e0
lea r11, [rsp + 0x290]
lea r9, str.SoftwareinteldisplayigfxcuiprofilesCustom
lea r8, str._s_s
lea rcx, [rsp + 0x180]
mov edx, 0x104
mov qword [rsp + 0x20], r11
call fcn.140024570
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x180]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14000c4ff
lea r8, [rsp + 0x180]
lea rcx, [rsp + 0x3a0]
mov edx, 0x104
lea edi, [rax + 1]
call fcn.140022730
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000c50f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000c51f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 1
jne 0x14000c77f
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x3a0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14000c76f
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareIntelDisplayigfxcuiMedia
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test esi, esi
jne 0x14000c75f
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.ProcAmpHue
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [rsi + 4]
test eax, eax
jne 0x14000c5e2
lea rcx, [rsp + 0x70]
call fcn.140024550
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
cvtsd2ss xmm1, xmm0
lea rdx, str.ProcAmpHue
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x34], xmm1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea esi, [rdi - 3]
mov r13d, esi
jmp 0x14000c5e7
mov esi, 1
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.ProcAmpSaturation
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000c65e
lea rcx, [rsp + 0x70]
call fcn.140024550
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
cvtsd2ss xmm1, xmm0
lea rdx, str.ProcAmpSaturation
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x34], xmm1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov r12d, esi
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.ProcAmpContrast
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000c6d4
lea rcx, [rsp + 0x70]
call fcn.140024550
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
cvtsd2ss xmm1, xmm0
lea rdx, str.ProcAmpContrast
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x34], xmm1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebp, esi
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.ProcAmpBrightness
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000c74b
lea rcx, [rsp + 0x70]
call fcn.140024550
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
cvtsd2ss xmm1, xmm0
lea rdx, str.ProcAmpBrightness
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x34], xmm1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov r14d, esi
test r13d, r13d
je 0x14000c75f
test r12d, r12d
je 0x14000c75f
test ebp, ebp
je 0x14000c75f
test r14d, r14d
cmovne ebx, esi
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000c76f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000c77f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1400209e0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret