Function at 0x40abe0
Capabilities:
Get common file path
Get installed programs
Get startup folder
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44167c
mov eax, dword fs:[0]
push eax
sub esp, 0xbc0
mov eax, dword [0x4533e4]
xor eax, esp
mov dword [esp + 0xbb8], eax
push ebx
push esi
push edi
mov eax, dword [0x4533e4]
xor eax, esp
push eax
lea eax, [esp + 0xbd0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
add esi, 4
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
mov word [esp + 0x58], dx
mov dword [esp + 0xbd8], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], dx
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov dword [esp + 0x30], eax
mov word [esp + 0x20], cx
lea edx, [esp + 0x1bc]
push edx
push eax
push eax
push 0x28
push eax
mov byte [esp + 0xbec], 2
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x1bc]
push str.system32
push eax
call fcn.0042cb80
add esp, 8
test eax, eax
jne 0x40acb3
lea ecx, [esp + 0x1bc]
push str.System32
push ecx
call fcn.0042cb80
add esp, 8
test eax, eax
je 0x40accb
push 0x104
lea edx, [esp + 0x1c0]
push edx
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.IntelLogs
lea eax, [esp + 0x1c0]
push eax
call edi
lea ecx, [esp + 0x1bc]
push ecx
mov ebx, str.IIF_LOGFOLDER
mov ecx, esi
call fcn.00404120
push 0x104
lea edx, [esp + 0x1c0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x1c0]
call fcn.00417430
mov eax, dword [esp + 0x40]
add esp, 4
cmp dword [esp + 0x50], 8
jae 0x40ad30
lea eax, [esp + 0x3c]
push eax
mov ebx, str.IIF_SETUPVERSION
mov ecx, esi
call fcn.00404120
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x40ad4c
lea eax, [esp + 0x58]
push eax
mov ebx, str.IIF_PACKAGEVERSION
mov ecx, esi
call fcn.00404120
lea ecx, [esp + 0x1bc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x1bc]
push edx
mov ebx, str.IIF_SETUPPATH
mov ecx, esi
call fcn.00404120
lea eax, [esp + 0x1bc]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.IntelPackage_Cache
lea ecx, [esp + 0x1c0]
push ecx
call edi
mov eax, dword [esp + 0x18]
add eax, 0x30
cmp dword [eax + 0x14], 8
jb 0x40adaf
mov eax, dword [eax]
push eax
lea edx, [esp + 0x1c0]
push edx
call edi
lea eax, [esp + 0x1bc]
push eax
mov ebx, str.IIF_CACHELOC
mov ecx, esi
call fcn.00404120
push 0x11c
lea ecx, [esp + 0xa0]
push 0
push ecx
call fcn.00430500
add esp, 0xc
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0xa0], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
push eax
push ecx
lea edx, [esp + 0x3cc]
push str._d._d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x1bc]
push eax
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.kernel32.dll
lea ecx, [esp + 0x1c0]
push ecx
call edi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c0]
call fcn.00417580
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
add esp, 4
mov ecx, ebx
cmp edi, 8
jae 0x40ae70
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ae9d
test dx, dx
je 0x40ae99
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ae9d
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ae77
xor eax, eax
jmp 0x40aea2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40aeb5
lea eax, [esp + 0x3c4]
push eax
mov ebx, str.IIF_OS
jmp 0x40aeda
mov eax, ebx
cmp edi, 8
jae 0x40aec0
lea eax, [esp + 0x20]
push eax
mov ebx, str.IIF_OS
mov ecx, esi
call fcn.00404120
lea ecx, [esp + 0x3c4]
push ecx
mov ebx, str.IIF_DEBUG_REPORTEDVERSION
mov ecx, esi
call fcn.00404120
movzx edx, word [esp + 0x1b0]
push edx
lea eax, [esp + 0x3c8]
push 0x446ae4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x3c4]
push ecx
mov ebx, str.IIF_OSSERVICEPACK
mov ecx, esi
call fcn.00404120
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [esp + 0x10], 1
jne 0x40af46
push 0x4462c0
mov ebx, str.IIF_IS64
mov ecx, esi
call fcn.00404120
mov ecx, str.v2.0.50727
call fcn.00417e70
test al, al
je 0x40af65
push 0x4462c0
mov ebx, str.IIF_NET20
mov ecx, esi
call fcn.00404120
mov ecx, str.v3.0
call fcn.00417e70
test al, al
je 0x40af84
push 0x4462c0
mov ebx, str.IIF_NET30
mov ecx, esi
call fcn.00404120
mov ecx, str.v3.5
call fcn.00417e70
test al, al
je 0x40afa3
push 0x4462c0
mov ebx, str.IIF_NET35
mov ecx, esi
call fcn.00404120
mov ecx, str.v4Client
call fcn.00417e70
test al, al
je 0x40afc2
push 0x4462c0
mov ebx, str.IIF_NET40CLIENT
mov ecx, esi
call fcn.00404120
mov ecx, str.v4Full
call fcn.00417e70
test al, al
je 0x40afe1
push 0x4462c0
mov ebx, str.IIF_NET40FULL
mov ecx, esi
call fcn.00404120
mov ecx, str.v4.5Client
call fcn.00417e70
test al, al
je 0x40b000
push 0x4462c0
mov ebx, str.IIF_NET45CLIENT
mov ecx, esi
call fcn.00404120
mov ecx, str.v4.5Full
call fcn.00417e70
test al, al
je 0x40b01f
push 0x4462c0
mov ebx, str.IIF_NET45FULL
mov ecx, esi
call fcn.00404120
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareIntelICCInst
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x40b08b
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x3c8]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
push str.InstallPath
push eax
mov dword [esp + 0x28], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b080
lea ecx, [esp + 0x3c4]
push ecx
mov ebx, str.IIF_ICCINSTALLEDPATH
mov ecx, esi
call fcn.00404120
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea eax, [esp + 0x1c0]
push 0x104
push eax
call fcn.0042c4dd
mov eax, dword [esp + 0x24]
add eax, 0x30
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40b0b4
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c0]
push 0x104
push ecx
call fcn.0042c92f
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0x20119
push 0
lea eax, [esp + 0x1c8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x40b190
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x3c8]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
push str.InstallLocation
mov ebx, 0x800
push eax
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x40b14c
lea eax, [esp + 0x3c4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b125
mov esi, dword [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
add esi, 0x68
lea eax, [esp + 0x3c8]
call fcn.00402c70
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x3c8]
push edx
push 0
push 0
push str.DisplayVersion
push eax
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x40b185
lea ecx, [esp + 0x3c4]
push ecx
mov ebx, str.IIF_INSTALLEDPACKAGEVERSION
mov ecx, esi
call fcn.00404120
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
add eax, 0x68
cmp dword [eax + 0x14], 8
jb 0x40b19f
mov eax, dword [eax]
push eax
mov ebx, str.IIF_INSTALLFOLDER
mov ecx, esi
call fcn.00404120
lea ecx, [esp + 0x80]
mov edi, 0x455c98
call fcn.00412890
mov edi, 8
mov byte [esp + 0xbd8], 3
cmp dword [eax + 0x14], edi
jb 0x40b1d1
mov eax, dword [eax]
push eax
mov ebx, str.IIF_LANGCOUNTRY
mov ecx, esi
call fcn.00404120
mov byte [esp + 0xbd8], 2
cmp dword [esp + 0x94], edi
jb 0x40b1ff
mov eax, dword [esp + 0x80]
push eax
call fcn.0042b948
add esp, 4
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
test eax, eax
je 0x40b25c
cmp byte [esp + 0x74], 0
jne 0x40b226
push 0x4462c0
mov ebx, str.IIF_ONBATTERYPOWER
mov ecx, esi
call fcn.00404120
mov al, byte [esp + 0x76]
cmp al, 0xff
je 0x40b25c
movzx edx, al
push edx
lea eax, [esp + 0x3c8]
push 0x446ae4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x3c4]
push ecx
mov ebx, str.IIF_BATTERYPOWER
mov ecx, esi
call fcn.00404120
cmp dword [esp + 0x34], edi
jb 0x40b26f
mov edx, dword [esp + 0x20]
push edx
call fcn.0042b948
add esp, 4
xor ebx, ebx
xor eax, eax
mov esi, 7
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
cmp dword [esp + 0x50], edi
jb 0x40b298
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0042b948
add esp, 4
xor edx, edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
cmp dword [esp + 0x6c], edi
jb 0x40b2ba
mov eax, dword [esp + 0x58]
push eax
call fcn.0042b948
add esp, 4
mov ecx, dword [esp + 0xbd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xbb8]
xor ecx, esp
call fcn.0042b939
mov esp, ebp
pop ebp
ret