Function at 0x14000f90c
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, 0x2220
call fcn.14004a0d0
sub rsp, rax
mov rax, qword [0x140061550]
xor rax, rsp
mov qword [rsp + 0x2210], rax
lea r12, [0x140050348]
lea rdx, str.Inside_ICC:_EnableICCSupport__._n
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x1ded
call fcn.140002184
mov esi, 0x104
lea rcx, [rsp + 0x820]
xor edx, edx
mov r8, rsi
call fcn.14001dda0
lea r8d, [rsi + 0x3c]
lea rcx, [rsp + 0x90]
xor edx, edx
call fcn.14001dda0
xor r9d, r9d
lea r11, [rsp + 0x820]
lea edx, [r9 + 0x2a]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea r13, [0x140050b5c]
lea rcx, [rsp + 0x820]
mov r8, r13
mov rdx, rsi
call fcn.140020ea0
lea r8, str.IntelIntel_Control_CenterIntelControlCenter.exe
lea rcx, [rsp + 0x820]
mov rdx, rsi
call fcn.140020ea0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x820]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
or rbp, 0xffffffffffffffff
cmp rax, rbp
jne 0x14000fa2b
lea rdx, str.ICC_not_installed_on_the_system_n
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x1e07
call fcn.140002184
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x1400105eb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
lea rcx, [rsp + 0x70]
lea r8d, [rdi + 3]
xor edx, edx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0x7c], edi
mov byte [rsp + 0x50], 1
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x78], esi
call fcn.14001dda0
mov ebx, 0x100
lea rcx, [rsp + 0x1f00]
xor edx, edx
mov r8, rbx
call fcn.14001dda0
lea rcx, [rsp + 0x1e00]
mov r8, rbx
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0x2000]
mov r8, rbx
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0x1d0]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0xf80]
xor edx, edx
mov r8d, 0x208
call fcn.14001dda0
lea rcx, [rsp + 0x710]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0x1cf0]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0x2100]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0xc60]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0x2e0]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0x600]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0x1190]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0xb50]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0x930]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0x1190]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, edi
jne 0x14000fba7
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x1e2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.LastError___ld._n
lea rcx, [rsp + 0x60]
mov r8d, eax
call fcn.140002184
lea rax, [rsp + 0x2000]
lea r9, [rsp + 0x1e00]
lea r8, [rsp + 0x1f00]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1190]
mov qword [rsp + 0x20], rax
call fcn.1400225e0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x600]
call fcn.14001e3d0
lea rcx, [rsp + 0x600]
mov rdx, r13
call fcn.14001e330
lea rdx, str.ProgramDataIntelExtremeGraphics
lea rcx, [rsp + 0x600]
call fcn.14001e330
lea rcx, [rsp + 0x600]
mov rdx, r13
call fcn.14001e330
lea rdx, str.CUIResource
lea rcx, [rsp + 0x600]
call fcn.14001e330
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 0x14000fd0b
mov rcx, qword [rsp + 0x80]
cmp rcx, rdi
je 0x14000fd02
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x74]
lea rdx, str.ShortcutFolderName
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
jne 0x14000fd02
lea rax, [rsp + 0xb50]
cmp rax, rdi
je 0x14000fcf1
lea rdx, [rsp + 0xb50]
lea rcx, [rsp + 0x2e0]
call fcn.14001e3d0
lea rcx, [rsp + 0x2e0]
mov r8, r13
mov rdx, rsi
call fcn.140020ea0
lea r8, str.CUIResource
lea rcx, [rsp + 0x2e0]
mov rdx, rsi
call fcn.140020ea0
jmp 0x14000fd20
lea rdx, str.valid_regkey_value_user_have_not_specified
lea rcx, [rsp + 0x1d0]
jmp 0x14000fd1b
lea rdx, str.valid_regkey_path_does_not_exist
jmp 0x14000fcf8
lea rdx, [rsp + 0x600]
lea rcx, [rsp + 0x2e0]
call fcn.14001e3d0
lea rdx, str.Success
lea rcx, [rsp + 0x1d0]
call fcn.14001e3d0
mov r11, qword [0x140063208]
lea r8, [rsp + 0xd70]
mov r9d, esi
mov edx, 0x24f3
xor ecx, ecx
mov qword [rsp + 0x20], r11
call sub.hccutils.DLL_LoadSTRINGW
mov ebx, 0x206
lea rcx, [rsp + 0x18d2]
mov r8, rbx
xor edx, edx
mov word [rsp + 0x18d0], di
call fcn.14001dda0
lea rax, [rsp + 0x18d0]
lea r8, str.Cant_find_requested_string.
mov r9d, ebp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x18d0]
lea rcx, [rsp + 0xd70]
call fcn.140023830
cmp eax, edi
je 0x14000fdcc
lea rdx, [0x140050dfc]
lea rcx, [rsp + 0xd70]
call fcn.140023830
cmp eax, edi
jne 0x14000fe20
lea rcx, [rsp + 0x3f2]
mov r8, rbx
xor edx, edx
mov word [rsp + 0x3f0], di
call fcn.14001dda0
lea rax, [rsp + 0x3f0]
lea r8, str.Intel_R__Graphics_and_Media_Control_Panel
mov r9d, ebp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0xd70]
call fcn.14001e530
mov rax, qword [0x140063208]
lea r8, [rsp + 0x1ae0]
mov r9d, 0x208
mov edx, 0x24f2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.hccutils.DLL_LoadSTRINGW
lea rdx, [rsp + 0x18d0]
lea rcx, [rsp + 0x1ae0]
call fcn.140023830
cmp eax, edi
je 0x14000fe77
lea rdx, [0x140050dfc]
lea rcx, [rsp + 0x1ae0]
call fcn.140023830
cmp eax, edi
jne 0x14000fecb
lea rcx, [rsp + 0x3f2]
mov r8, rbx
xor edx, edx
mov word [rsp + 0x3f0], di
call fcn.14001dda0
lea rax, [rsp + 0x3f0]
lea r8, str.Configure_and_adjust_graphics_and_media_settings.
mov r9d, ebp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x1ae0]
call fcn.14001e530
lea rcx, [rsp + 0x2e0]
call fcn.14000f708
cmp al, dil
jne 0x14000fefb
lea rdx, str.Cannot_create_the_Directory
lea rcx, [rsp + 0x1d0]
call fcn.14001e3d0
mov byte [rsp + 0x50], dil
jmp 0x140010441
lea rax, [rsp + 0x12a0]
lea r8, [rsp + 0x2e0]
mov r9d, ebp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x16c0]
mov r9d, ebp
mov r8, r13
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x14b0]
lea r8, str..lnk
mov r9d, ebp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [rsp + 0x12a0]
lea rcx, [rsp + 0xf80]
mov rdx, rsi
call fcn.140021f10
lea rdx, [rsp + 0x16c0]
lea rcx, [rsp + 0xf80]
call fcn.14001e4c0
lea r8, [rsp + 0xd70]
lea rcx, [rsp + 0xf80]
mov edx, 0x208
call fcn.140023240
lea rdx, [rsp + 0x14b0]
lea rcx, [rsp + 0xf80]
call fcn.14001e4c0
lea r11, [rsp + 0x58]
lea rdx, str.SOFTWAREINTELICCApplicationsIntel_Graphics_Driver
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x140010154
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc60]
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 0x14001013e
lea r8, [rsp + 0x2e0]
lea rcx, [rsp + 0x710]
mov rdx, rsi
call fcn.14001fda0
lea rcx, [rsp + 0x710]
mov rdx, r13
call fcn.14001e330
lea r8, [rsp + 0xc60]
lea rcx, [rsp + 0x710]
mov rdx, rsi
call fcn.140020ea0
lea rdx, str..lnk
lea rcx, [rsp + 0x710]
call fcn.14001e330
lea rdx, [0x140050d18]
lea rcx, [rsp + 0x710]
call fcn.140023210
cmp rax, rdi
je 0x140010135
mov rcx, rax
call fcn.140022d30
lea rcx, [rsp + 0x3f2]
mov r8, rbx
xor edx, edx
mov word [rsp + 0x3f0], di
call fcn.14001dda0
lea rax, [rsp + 0x3f0]
lea r8, [rsp + 0xc60]
mov r9d, ebp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0xd70]
call fcn.140023830
cmp eax, edi
je 0x1400101b0
lea rcx, [rsp + 0x710]
call fcn.140022ce0
cmp eax, edi
je 0x1400101b0
mov byte [rsp + 0x50], dil
lea rdx, str.Could_not_Delete_file
jmp 0x140010145
lea rdx, str.Shortcut_file_does_not_exists
jmp 0x140010145
lea rdx, str.Could_not_Find_Shortcut_key
lea rcx, [rsp + 0x1d0]
call fcn.14001e3d0
jmp 0x1400101b0
lea rax, [rsp + 0x7c]
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, 0xffffffff80000001
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
je 0x1400101b0
lea rdx, str.Could_not_create_ICC_keys
lea rcx, [rsp + 0x1d0]
call fcn.14001e3d0
mov byte [rsp + 0x50], dil
cmp byte [rsp + 0x50], dil
je 0x140010441
lea rcx, [rsp + 0xa40]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0x3f0]
mov r8, rsi
xor edx, edx
call fcn.14001dda0
lea rcx, [rsp + 0x3f0]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, edi
jne 0x14001021f
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x1ec1
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.140002184
mov byte [rsp + 0x50], dil
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0xa40]
call fcn.14001e330
lea rcx, [rsp + 0xa40]
mov r8, r13
mov rdx, rsi
call fcn.140020ea0
lea rdx, str.GfxUI.exe
lea rcx, [rsp + 0xa40]
call fcn.14001e330
lea rcx, [rsp + 0x14b2]
mov r8, rbx
xor edx, edx
mov word [rsp + 0x14b0], di
call fcn.14001dda0
lea rax, [rsp + 0x14b0]
lea r8, [rsp + 0xa40]
mov r9d, ebp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [rsp + 0x1ae0]
lea rdx, [rsp + 0xf80]
lea rcx, [rsp + 0x14b0]
call fcn.14000d9a0
cmp eax, edi
je 0x1400102d5
lea rdx, str.Could_not_create_link
lea rcx, [rsp + 0x1d0]
call fcn.14001e3d0
mov byte [rsp + 0x50], dil
lea rcx, [rsp + 0x16c2]
mov r8, rbx
xor edx, edx
mov word [rsp + 0x16c0], di
call fcn.14001dda0
lea rax, [rsp + 0x16c0]
lea r8, str.Path
mov r9d, ebp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x12a2]
mov r8, rbx
xor edx, edx
mov word [rsp + 0x12a0], di
call fcn.14001dda0
lea rax, [rsp + 0x12a0]
lea r8, str.ShortcutName_MUI_
mov r9d, ebp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0xf80]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x16c0]
lea eax, [rax + rax + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xf80]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, edi
cmp eax, edi
mov eax, edi
sete cl
cmp qword [rsp + 0x58], rdi
setne al
test eax, ecx
je 0x140010441
lea rcx, [rsp + 0xd70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x12a0]
lea eax, [rax + rax + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xd70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
jne 0x140010441
lea rbx, str.Display
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x58]
lea rdx, str.Class
inc eax
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, edi
je 0x140010441
lea rdx, str.Could_not_update_ICC_keys
lea rcx, [rsp + 0x1d0]
mov byte [rsp + 0x50], dil
call fcn.14001e3d0
lea r8, [rsp + 0x2e0]
lea rcx, [rsp + 0x930]
mov rdx, rsi
call fcn.14001fda0
lea rcx, [rsp + 0x930]
mov rdx, r13
call fcn.14001e330
lea r8, [rsp + 0x1cf0]
lea rcx, [rsp + 0x930]
mov rdx, rsi
call fcn.140020ea0
lea rdx, str..lnk
lea rcx, [rsp + 0x930]
call fcn.14001e330
lea r11, [rsp + 0x58]
mov rbx, 0xffffffff80000001
lea rdx, str.SOFTWAREINTELICCApplicationsIntel_Graphics_Driver
mov rcx, rbx
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x1400104cc
lea rdx, str.Success
jmp 0x140010512
lea rax, [rsp + 0x7c]
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 0x14001051f
lea rdx, str.Could_not_create_ICC_keys
lea rcx, [rsp + 0x1d0]
call fcn.14001e3d0
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, str.IsICCSupported
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 1
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 0x14001057d
lea rdx, str.Could_not_Set_IsICCSupported_Key
lea rcx, [rsp + 0x1d0]
call fcn.14001e3d0
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
cmp rcx, rdi
je 0x140010595
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
je 0x1400105a3
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], 0x1f15
call fcn.140002184
lea rdx, str.Exit_ICC:_EnableICCSupport__._n
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0x1f16
call fcn.140002184
mov al, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x2210]
xor rcx, rsp
call fcn.14001e4a0
lea r11, [rsp + 0x2220]
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