Function at 0x140010d48
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.14004e7e0
sub rsp, rax
mov rax, qword [0x140066550]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
lea r12, [0x140054af8]
lea rdx, str.Inside_ICC:_EnableICCSupport__._n
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x2107
call fcn.140002484
mov esi, 0x104
lea rcx, [rsp + 0xa50]
xor edx, edx
mov r8, rsi
call fcn.1400208e0
lea r8d, [rsi + 0x3c]
lea rcx, [rsp + 0x90]
xor edx, edx
call fcn.1400208e0
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, [0x140054818]
lea rcx, [rsp + 0xa50]
mov r8, r13
mov rdx, rsi
call fcn.140023830
lea r8, str.IntelIntel_Control_CenterIntelControlCenter.exe
lea rcx, [rsp + 0xa50]
mov rdx, rsi
call fcn.140023830
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xa50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x140010e65
lea rdx, str.ICC_not_installed_on_the_system_n
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x2121
call fcn.140002484
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x140011820
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.1400208e0
mov ebx, 0x100
lea rcx, [rsp + 0x12b0]
mov r8, rbx
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x10b0]
mov r8, rbx
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x11b0]
mov r8, rbx
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x1d0]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x500]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea r8d, [rbx + 9]
lea rcx, [rsp + 0x940]
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x2e0]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x830]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0xd80]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x3f0]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x610]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0xe90]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0xc70]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0x720]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0xe90]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, edi
jne 0x140010fde
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x2148
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.140024b80
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x610]
call fcn.140020e00
lea rcx, [rsp + 0x610]
mov rdx, r13
call fcn.140020d60
lea rdx, str.ProgramDataIntelExtremeGraphics
lea rcx, [rsp + 0x610]
call fcn.140020d60
lea rcx, [rsp + 0x610]
mov rdx, r13
call fcn.140020d60
lea rdx, str.CUIResource
lea rcx, [rsp + 0x610]
call fcn.140020d60
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 0x140011142
mov rcx, qword [rsp + 0x80]
cmp rcx, rdi
je 0x140011139
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 0x140011139
lea rax, [rsp + 0xc70]
cmp rax, rdi
je 0x140011128
lea rdx, [rsp + 0xc70]
lea rcx, [rsp + 0x3f0]
call fcn.140020e00
lea rcx, [rsp + 0x3f0]
mov r8, r13
mov rdx, rsi
call fcn.140023830
lea r8, str.CUIResource
lea rcx, [rsp + 0x3f0]
mov rdx, rsi
call fcn.140023830
jmp 0x140011157
lea rdx, str.valid_regkey_value_user_have_not_specified
lea rcx, [rsp + 0x1d0]
jmp 0x140011152
lea rdx, str.valid_regkey_path_does_not_exist
jmp 0x14001112f
lea rdx, [rsp + 0x610]
lea rcx, [rsp + 0x3f0]
call fcn.140020e00
lea rdx, str.Success
lea rcx, [rsp + 0x1d0]
call fcn.140020e00
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.140024630
cmp eax, edi
je 0x1400111be
lea rdx, [0x140054406]
lea rcx, [rsp + 0x2e0]
call fcn.140024630
cmp eax, edi
jne 0x1400111d2
lea rdx, str.Intel_R__Graphics_and_Media_Control_Panel
lea rcx, [rsp + 0x2e0]
call fcn.140020e00
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.140024630
cmp eax, edi
je 0x140011225
lea rdx, [0x140054406]
lea rcx, [rsp + 0x830]
call fcn.140024630
cmp eax, edi
jne 0x140011239
lea rdx, str.Configure_and_adjust_graphics_and_media_settings.
lea rcx, [rsp + 0x830]
call fcn.140020e00
lea rcx, [rsp + 0x3f0]
call fcn.140010b44
mov rbx, 0xffffffff80000001
cmp al, dil
jne 0x140011270
lea rdx, str.Cannot_create_the_Directory
lea rcx, [rsp + 0x1d0]
call fcn.140020e00
mov byte [rsp + 0x50], dil
jmp 0x140011629
lea r8, [rsp + 0x3f0]
lea rcx, [rsp + 0x500]
mov rdx, rsi
call fcn.140022730
lea rcx, [rsp + 0x500]
mov rdx, r13
call fcn.140020d60
lea r8, [rsp + 0x2e0]
lea rcx, [rsp + 0x500]
mov rdx, rsi
call fcn.140023830
lea rdx, str..lnk
lea rcx, [rsp + 0x500]
call fcn.140020d60
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 0x140011401
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 0x1400113eb
lea r8, [rsp + 0x3f0]
lea rcx, [rsp + 0x940]
mov edx, 0x109
call fcn.140022730
lea r8, [rsp + 0xd80]
lea rcx, [rsp + 0x940]
mov edx, 0x109
call fcn.140023830
lea rdx, str..lnk
lea rcx, [rsp + 0x940]
call fcn.140020d60
lea rdx, [0x140055638]
lea rcx, [rsp + 0x940]
call fcn.140020520
cmp rax, rdi
je 0x1400113e2
mov rcx, rax
call fcn.140020550
lea rdx, [rsp + 0xd80]
lea rcx, [rsp + 0x2e0]
call fcn.140024630
cmp eax, edi
je 0x140011459
lea rcx, [rsp + 0x940]
call fcn.140025280
cmp eax, edi
je 0x140011459
mov byte [rsp + 0x50], dil
lea rdx, str.Could_not_Delete_file
jmp 0x1400113f2
lea rdx, str.Shortcut_file_does_not_exists
jmp 0x1400113f2
lea rdx, str.Could_not_Find_Shortcut_key
lea rcx, [rsp + 0x1d0]
call fcn.140020e00
jmp 0x140011459
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 0x140011459
lea rdx, str.Could_not_create_ICC_keys
lea rcx, [rsp + 0x1d0]
call fcn.140020e00
mov byte [rsp + 0x50], dil
cmp byte [rsp + 0x50], dil
je 0x140011629
lea rcx, [rsp + 0xb60]
xor edx, edx
mov r8d, 0x10e
call fcn.1400208e0
lea rcx, [rsp + 0xfa0]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
lea rcx, [rsp + 0xfa0]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, edi
jne 0x1400114cb
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x21c5
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.140020d60
lea rcx, [rsp + 0xb60]
mov r8, r13
mov edx, 0x10e
call fcn.140023830
lea rdx, str.GfxUI.exe
lea rcx, [rsp + 0xb60]
call fcn.140020d60
lea r8, [rsp + 0x830]
lea rdx, [rsp + 0x500]
lea rcx, [rsp + 0xb60]
call fcn.14000e54c
cmp eax, edi
je 0x140011543
lea rdx, str.Could_not_create_link
lea rcx, [rsp + 0x1d0]
call fcn.140020e00
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 0x140011629
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 0x140011629
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 0x140011622
lea rdx, str.Could_not_update_ICC_keys
lea rcx, [rsp + 0x1d0]
mov byte [rsp + 0x50], dil
call fcn.140020e00
mov rbx, 0xffffffff80000001
lea r8, [rsp + 0x3f0]
lea rcx, [rsp + 0x720]
mov rdx, rsi
call fcn.140022730
lea rcx, [rsp + 0x720]
mov rdx, r13
call fcn.140020d60
lea r8, [rsp + 0x2e0]
lea rcx, [rsp + 0x720]
mov rdx, rsi
call fcn.140023830
lea rdx, str..lnk
lea rcx, [rsp + 0x720]
call fcn.140020d60
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 0x1400116ad
lea rdx, str.Success
jmp 0x1400116f3
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 0x140011700
lea rdx, str.Could_not_create_ICC_keys
lea rcx, [rsp + 0x1d0]
call fcn.140020e00
cmp qword [rsp + 0x58], rdi
je 0x140011758
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 0x140011758
lea rdx, str.Could_not_Set_PathName_Key
lea rcx, [rsp + 0x1d0]
call fcn.140020e00
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 0x1400117b2
lea rdx, str.Could_not_Set_IsICCSupported_Key
lea rcx, [rsp + 0x1d0]
call fcn.140020e00
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
cmp rcx, rdi
je 0x1400117ca
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
je 0x1400117d8
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], 0x2211
call fcn.140002484
lea rdx, str.Exit_ICC:_EnableICCSupport__._n
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x2212
call fcn.140002484
mov al, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400209e0
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