Function at 0x140010aa0
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
mov eax, 0x13c0
call fcn.14004e4b0
sub rsp, rax
mov rax, qword [0x140066550]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
lea r12, [0x140054ae8]
lea rdx, str.Inside_ICC:_EnableICCSupport__._n
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x2079
call fcn.140002484
mov esi, 0x104
lea rcx, [rsp + 0xa50]
xor edx, edx
mov r8, rsi
call fcn.1400205b0
lea r8d, [rsi + 0x3c]
lea rcx, [rsp + 0x90]
xor edx, edx
call fcn.1400205b0
xor r9d, r9d
lea r11, [rsp + 0xa50]
lea edx, [r9 + 0x2a]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea r13, [0x140054808]
lea rcx, [rsp + 0xa50]
mov r8, r13
mov rdx, rsi
call fcn.140023500
lea r8, str.IntelIntel_Control_CenterIntelControlCenter.exe
lea rcx, [rsp + 0xa50]
mov rdx, rsi
call fcn.140023500
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xa50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x140010bbd
lea rdx, str.ICC_not_installed_on_the_system_n
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x2093
call fcn.140002484
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x140011578
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
lea rcx, [rsp + 0x70]
lea ebp, [rdi + 1]
lea r8d, [rdi + 3]
xor edx, edx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0x74], edi
mov byte [rsp + 0x50], bpl
mov dword [rsp + 0x78], ebp
mov dword [rsp + 0x7c], esi
call fcn.1400205b0
mov ebx, 0x100
lea rcx, [rsp + 0x12b0]
mov r8, rbx
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0x10b0]
mov r8, rbx
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0x11b0]
mov r8, rbx
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0x1d0]
mov r8, rsi
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0x500]
mov r8, rsi
xor edx, edx
call fcn.1400205b0
lea r8d, [rbx + 9]
lea rcx, [rsp + 0x940]
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0x2e0]
mov r8, rsi
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0x830]
mov r8, rsi
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0xd80]
mov r8, rsi
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0x3f0]
mov r8, rsi
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0x610]
mov r8, rsi
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0xe90]
mov r8, rsi
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0xc70]
mov r8, rsi
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0x720]
mov r8, rsi
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0xe90]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, edi
jne 0x140010d36
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x20ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.LastError___ld._n
lea rcx, [rsp + 0x60]
mov r8d, eax
call fcn.140002484
lea rax, [rsp + 0x11b0]
lea r9, [rsp + 0x10b0]
lea r8, [rsp + 0x12b0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xe90]
mov qword [rsp + 0x20], rax
call fcn.140024850
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x610]
call fcn.140020ad0
lea rcx, [rsp + 0x610]
mov rdx, r13
call fcn.140020a30
lea rdx, str.ProgramDataIntelExtremeGraphics
lea rcx, [rsp + 0x610]
call fcn.140020a30
lea rcx, [rsp + 0x610]
mov rdx, r13
call fcn.140020a30
lea rdx, str.CUIResource
lea rcx, [rsp + 0x610]
call fcn.140020a30
lea r11, [rsp + 0x80]
lea rdx, str.SoftwareIntelDisplayigfxcuiShortcutFolder
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x140010e9a
mov rcx, qword [rsp + 0x80]
cmp rcx, rdi
je 0x140010e91
lea rax, [rsp + 0x7c]
lea r9, [rsp + 0x78]
lea rdx, str.ShortcutFolderName
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc70]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
jne 0x140010e91
lea rax, [rsp + 0xc70]
cmp rax, rdi
je 0x140010e80
lea rdx, [rsp + 0xc70]
lea rcx, [rsp + 0x3f0]
call fcn.140020ad0
lea rcx, [rsp + 0x3f0]
mov r8, r13
mov rdx, rsi
call fcn.140023500
lea r8, str.CUIResource
lea rcx, [rsp + 0x3f0]
mov rdx, rsi
call fcn.140023500
jmp 0x140010eaf
lea rdx, str.valid_regkey_value_user_have_not_specified
lea rcx, [rsp + 0x1d0]
jmp 0x140010eaa
lea rdx, str.valid_regkey_path_does_not_exist
jmp 0x140010e87
lea rdx, [rsp + 0x610]
lea rcx, [rsp + 0x3f0]
call fcn.140020ad0
lea rdx, str.Success
lea rcx, [rsp + 0x1d0]
call fcn.140020ad0
mov r11, qword [0x1400680f8]
lea r8, [rsp + 0x2e0]
mov r9d, esi
mov edx, 0x24f3
xor ecx, ecx
mov qword [rsp + 0x20], r11
call sub.hccutils.DLL_LoadSTRING
lea rdx, str.Cant_find_requested_string.
lea rcx, [rsp + 0x2e0]
call fcn.140024300
cmp eax, edi
je 0x140010f16
lea rdx, [0x1400543f6]
lea rcx, [rsp + 0x2e0]
call fcn.140024300
cmp eax, edi
jne 0x140010f2a
lea rdx, str.Intel_R__Graphics_and_Media_Control_Panel
lea rcx, [rsp + 0x2e0]
call fcn.140020ad0
mov rax, qword [0x1400680f8]
lea r8, [rsp + 0x830]
mov r9d, esi
mov edx, 0x24f2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.hccutils.DLL_LoadSTRING
lea rdx, str.Cant_find_requested_string.
lea rcx, [rsp + 0x830]
call fcn.140024300
cmp eax, edi
je 0x140010f7d
lea rdx, [0x1400543f6]
lea rcx, [rsp + 0x830]
call fcn.140024300
cmp eax, edi
jne 0x140010f91
lea rdx, str.Configure_and_adjust_graphics_and_media_settings.
lea rcx, [rsp + 0x830]
call fcn.140020ad0
lea rcx, [rsp + 0x3f0]
call fcn.14001089c
mov rbx, 0xffffffff80000001
cmp al, dil
jne 0x140010fc8
lea rdx, str.Cannot_create_the_Directory
lea rcx, [rsp + 0x1d0]
call fcn.140020ad0
mov byte [rsp + 0x50], dil
jmp 0x140011381
lea r8, [rsp + 0x3f0]
lea rcx, [rsp + 0x500]
mov rdx, rsi
call fcn.140022400
lea rcx, [rsp + 0x500]
mov rdx, r13
call fcn.140020a30
lea r8, [rsp + 0x2e0]
lea rcx, [rsp + 0x500]
mov rdx, rsi
call fcn.140023500
lea rdx, str..lnk
lea rcx, [rsp + 0x500]
call fcn.140020a30
lea r11, [rsp + 0x58]
lea rdx, str.SOFTWAREINTELICCApplicationsIntel_Graphics_Driver
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x140011159
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x7c]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd80]
lea rdx, str.ShortcutName_MUI_
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, edi
cmp eax, edi
mov eax, edi
sete cl
cmp qword [rsp + 0x58], rdi
setne al
test eax, ecx
je 0x140011143
lea r8, [rsp + 0x3f0]
lea rcx, [rsp + 0x940]
mov edx, 0x109
call fcn.140022400
lea r8, [rsp + 0xd80]
lea rcx, [rsp + 0x940]
mov edx, 0x109
call fcn.140023500
lea rdx, str..lnk
lea rcx, [rsp + 0x940]
call fcn.140020a30
lea rdx, [0x140055578]
lea rcx, [rsp + 0x940]
call fcn.1400201f0
cmp rax, rdi
je 0x14001113a
mov rcx, rax
call fcn.140020220
lea rdx, [rsp + 0xd80]
lea rcx, [rsp + 0x2e0]
call fcn.140024300
cmp eax, edi
je 0x1400111b1
lea rcx, [rsp + 0x940]
call fcn.140024f50
cmp eax, edi
je 0x1400111b1
mov byte [rsp + 0x50], dil
lea rdx, str.Could_not_Delete_file
jmp 0x14001114a
lea rdx, str.Shortcut_file_does_not_exists
jmp 0x14001114a
lea rdx, str.Could_not_Find_Shortcut_key
lea rcx, [rsp + 0x1d0]
call fcn.140020ad0
jmp 0x1400111b1
lea rax, [rsp + 0x74]
lea rdx, str.SOFTWAREINTELICCApplicationsIntel_Graphics_Driver
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov rcx, rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
je 0x1400111b1
lea rdx, str.Could_not_create_ICC_keys
lea rcx, [rsp + 0x1d0]
call fcn.140020ad0
mov byte [rsp + 0x50], dil
cmp byte [rsp + 0x50], dil
je 0x140011381
lea rcx, [rsp + 0xb60]
xor edx, edx
mov r8d, 0x10e
call fcn.1400205b0
lea rcx, [rsp + 0xfa0]
mov r8, rsi
xor edx, edx
call fcn.1400205b0
lea rcx, [rsp + 0xfa0]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, edi
jne 0x140011223
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x2137
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_get_System_Directory:_LastError___ld._n
lea rcx, [rsp + 0x60]
mov r8d, eax
call fcn.140002484
mov byte [rsp + 0x50], dil
lea rdx, [rsp + 0xfa0]
lea rcx, [rsp + 0xb60]
call fcn.140020a30
lea rcx, [rsp + 0xb60]
mov r8, r13
mov edx, 0x10e
call fcn.140023500
lea rdx, str.GfxUI.exe
lea rcx, [rsp + 0xb60]
call fcn.140020a30
lea r8, [rsp + 0x830]
lea rdx, [rsp + 0x500]
lea rcx, [rsp + 0xb60]
call fcn.14000e4b8
cmp eax, edi
je 0x14001129b
lea rdx, str.Could_not_create_link
lea rcx, [rsp + 0x1d0]
call fcn.140020ad0
mov byte [rsp + 0x50], dil
lea rcx, [rsp + 0x500]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x58]
lea rdx, str.Path
add eax, ebp
mov r9d, ebp
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x500]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, edi
cmp eax, edi
mov eax, edi
sete cl
cmp qword [rsp + 0x58], rdi
setne al
test eax, ecx
je 0x140011381
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x58]
lea rdx, str.ShortcutName_MUI_
add eax, ebp
mov r9d, ebp
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, edi
jne 0x140011381
lea rbx, str.Display
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x58]
lea rdx, str.Class
add eax, ebp
mov r9d, ebp
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, edi
je 0x14001137a
lea rdx, str.Could_not_update_ICC_keys
lea rcx, [rsp + 0x1d0]
mov byte [rsp + 0x50], dil
call fcn.140020ad0
mov rbx, 0xffffffff80000001
lea r8, [rsp + 0x3f0]
lea rcx, [rsp + 0x720]
mov rdx, rsi
call fcn.140022400
lea rcx, [rsp + 0x720]
mov rdx, r13
call fcn.140020a30
lea r8, [rsp + 0x2e0]
lea rcx, [rsp + 0x720]
mov rdx, rsi
call fcn.140023500
lea rdx, str..lnk
lea rcx, [rsp + 0x720]
call fcn.140020a30
lea r11, [rsp + 0x58]
lea rdx, str.SOFTWAREINTELICCApplicationsIntel_Graphics_Driver
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x140011405
lea rdx, str.Success
jmp 0x14001144b
lea rax, [rsp + 0x74]
lea rdx, str.SOFTWAREINTELICCApplicationsIntel_Graphics_Driver
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov rcx, rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
je 0x140011458
lea rdx, str.Could_not_create_ICC_keys
lea rcx, [rsp + 0x1d0]
call fcn.140020ad0
cmp qword [rsp + 0x58], rdi
je 0x1400114b0
lea rcx, [rsp + 0x720]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x58]
lea rdx, str.Path
add eax, ebp
mov r9d, ebp
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x720]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, edi
je 0x1400114b0
lea rdx, str.Could_not_Set_PathName_Key
lea rcx, [rsp + 0x1d0]
call fcn.140020ad0
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, str.IsICCSupported
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rdx, qword [rsp + 0x58]
cmp eax, edi
mov ecx, edi
mov eax, edi
setne cl
cmp rdx, rdi
setne al
test eax, ecx
je 0x14001150a
lea rdx, str.Could_not_Set_IsICCSupported_Key
lea rcx, [rsp + 0x1d0]
call fcn.140020ad0
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
cmp rcx, rdi
je 0x140011522
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
je 0x140011530
mov rcx, rdx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0x1d0]
lea rdx, str.ICC_Last_Error_Status____s.__n
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x2183
call fcn.140002484
lea rdx, str.Exit_ICC:_EnableICCSupport__._n
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x2184
call fcn.140002484
mov al, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400206b0
lea r11, [rsp + 0x13c0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret