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

Disassembly:
push ebp
lea ebp, [esp - 0x3d4]
sub esp, 0x454
mov eax, dword [0x429470]
xor eax, ebp
mov dword [ebp + 0x3d0], eax
fldz
push ebx
push esi
fstp dword [ebp - 0x48]
push edi
xor edi, edi
xor eax, eax
inc eax
mov esi, 0x104
push esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x1c8]
push edi
push eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x64], edi
call fcn.004125f0
push esi
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.004125f0
push esi
lea eax, [ebp + 0xc4]
push edi
push eax
call fcn.004125f0
push esi
lea eax, [ebp + 0x2cc]
push edi
push eax
call fcn.004125f0
mov ebx, dword [0x423004]
add esp, 0x30
lea eax, [ebp - 0x44]
push eax
push str.SoftwareIntelDisplayigfxcuiMedia
push 0x80000001
call ebx
test eax, eax
jne 0x409119
cmp dword [ebp - 0x44], edi
je 0x408e19
push dword [ebp - 0x44]
call dword [0x423020]
lea eax, [ebp - 0x54]
push eax
push str.SoftwareinteldisplayigfxcuiprofilesCurrent
push 0x80000001
call ebx
mov dword [ebp - 0x7c], eax
cmp eax, edi
jne 0x408f5e
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0xc4]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push str.CurrentPresetProfileName
push dword [ebp - 0x54]
call dword [0x42301c]
test eax, eax
jne 0x408f5e
lea eax, [ebp + 0xc4]
push 0x423ebe
push eax
call fcn.004139f0
pop ecx
pop ecx
test eax, eax
je 0x408f5e
lea eax, [ebp + 0xc4]
push str.Select_Profile
push eax
call fcn.004139f0
pop ecx
pop ecx
test eax, eax
je 0x408f5e
lea eax, [ebp + 0xc4]
push eax
push str.SoftwareinteldisplayigfxcuiprofilesMedia
push str._s_s
lea eax, [ebp + 0x1c8]
push esi
push eax
call fcn.004139d0
add esp, 0x14
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 0x1c8]
push eax
push 0x80000002
call ebx
test eax, eax
jne 0x408ee2
lea eax, [ebp + 0x1c8]
push eax
lea eax, [ebp - 0x40]
push esi
push eax
mov dword [ebp - 0x64], 1
call fcn.0041340d
add esp, 0xc
cmp dword [ebp - 0x5c], edi
je 0x408ef0
push dword [ebp - 0x5c]
call dword [0x423020]
push esi
lea eax, [ebp + 0x1c8]
push edi
push eax
call fcn.004125f0
lea eax, [ebp + 0xc4]
push eax
push str.SoftwareinteldisplayigfxcuiprofilesCustom
push str._s_s
lea eax, [ebp + 0x1c8]
push esi
push eax
call fcn.004139d0
add esp, 0x20
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x1c8]
push eax
push 0x80000002
call ebx
test eax, eax
jne 0x408f50
lea eax, [ebp + 0x1c8]
push eax
lea eax, [ebp - 0x40]
push esi
push eax
mov dword [ebp - 0x64], 1
call fcn.0041340d
add esp, 0xc
cmp dword [ebp - 0x60], edi
je 0x408f5e
push dword [ebp - 0x60]
call dword [0x423020]
cmp dword [ebp - 0x54], edi
je 0x408f6c
push dword [ebp - 0x54]
call dword [0x423020]
cmp dword [ebp - 0x64], 1
jne 0x409119
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x80000002
call ebx
test eax, eax
jne 0x40910b
lea eax, [ebp - 0x44]
push eax
push str.SoftwareIntelDisplayigfxcuiMedia
push 0x80000001
call ebx
cmp dword [ebp - 0x7c], edi
jne 0x4090fd
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0x2cc]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push str.ProcAmpHue
push dword [ebp - 0x50]
call dword [0x42301c]
mov ebx, dword [0x423018]
test eax, eax
jne 0x408ff8
lea eax, [ebp + 0x2cc]
push eax
call fcn.004139bd
fstp dword [ebp - 0x48]
pop ecx
push 4
lea eax, [ebp - 0x48]
push eax
push 4
push edi
push str.ProcAmpHue
push dword [ebp - 0x44]
call ebx
mov dword [ebp - 0x68], 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0x2cc]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push str.ProcAmpSaturation
push dword [ebp - 0x50]
mov dword [ebp - 0x4c], esi
call dword [0x42301c]
test eax, eax
jne 0x409047
lea eax, [ebp + 0x2cc]
push eax
call fcn.004139bd
fstp dword [ebp - 0x48]
pop ecx
push 4
lea eax, [ebp - 0x48]
push eax
push 4
push edi
push str.ProcAmpSaturation
push dword [ebp - 0x44]
call ebx
mov dword [ebp - 0x6c], 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0x2cc]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push str.ProcAmpContrast
push dword [ebp - 0x50]
mov dword [ebp - 0x4c], esi
call dword [0x42301c]
test eax, eax
jne 0x409096
lea eax, [ebp + 0x2cc]
push eax
call fcn.004139bd
fstp dword [ebp - 0x48]
pop ecx
push 4
lea eax, [ebp - 0x48]
push eax
push 4
push edi
push str.ProcAmpContrast
push dword [ebp - 0x44]
call ebx
mov dword [ebp - 0x70], 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0x2cc]
push eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x4c], esi
push edi
mov esi, str.ProcAmpBrightness
push esi
push dword [ebp - 0x50]
call dword [0x42301c]
test eax, eax
jne 0x4090e2
lea eax, [ebp + 0x2cc]
push eax
call fcn.004139bd
fstp dword [ebp - 0x48]
pop ecx
push 4
lea eax, [ebp - 0x48]
push eax
push 4
push edi
push esi
push dword [ebp - 0x44]
call ebx
mov dword [ebp - 0x78], 1
cmp dword [ebp - 0x68], edi
je 0x4090fd
cmp dword [ebp - 0x6c], edi
je 0x4090fd
cmp dword [ebp - 0x70], edi
je 0x4090fd
cmp dword [ebp - 0x78], edi
je 0x4090fd
mov dword [ebp - 0x74], 1
cmp dword [ebp - 0x44], edi
je 0x40910b
push dword [ebp - 0x44]
call dword [0x423020]
cmp dword [ebp - 0x50], edi
je 0x409119
push dword [ebp - 0x50]
call dword [0x423020]
mov ecx, dword [ebp + 0x3d0]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412768
add ebp, 0x3d4
leave
ret