Function at 0x4250e0
Capabilities:
Check if file exists
Create directory
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4503a6
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x462408]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
lea eax, [ebx + 0xa68]
mov dword [esp + 0x24], eax
add eax, 0x248
mov dword [esp + 0x460], edi
cmp byte [ebx + 0xcc0], 0
mov dword [esp + 0x38], eax
jne 0x4252b6
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
lea eax, [esp + 0x14]
push eax
push 0xf003f
push edi
push str.SoftwareIntelGFX
mov byte [esp + 0x470], 1
push 0x80000002
mov byte [esp + 0x33], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x425273
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, str.InstallConfig
call fcn.0042ae60
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4251ba
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
xor esi, esi
mov dword [esp + 0x20], edi
mov ebx, dword [esp + 0x2c]
cmp ebx, edi
je 0x425217
mov ecx, dword [esp + 0x30]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x425217
mov eax, dword [esp + 0x20]
lea ecx, [ebx + eax]
mov eax, dword [ecx + 0x14]
push str.IIPS
mov edi, 4
call fcn.00404850
test eax, eax
sete cl
or byte [esp + 0x1f], cl
add dword [esp + 0x20], 0x1c
add esi, 1
xor edi, edi
jmp 0x4251c4
cmp byte [esp + 0x1f], 0
je 0x425277
mov ecx, dword [esp + 0x10]
call fcn.00425ae0
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x42524f
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
push edx
call fcn.00410430
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.0043642d
add esp, 4
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x425aad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x425aad
mov ebx, dword [esp + 0x2c]
cmp ebx, edi
mov byte [esp + 0x460], 0
je 0x4252a5
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
push ecx
mov eax, ebx
call fcn.00410430
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.0043642d
add esp, 4
xor edi, edi
mov ebx, dword [esp + 0x10]
cmp byte [ebx + 0xcc0], 0
je 0x4254eb
cmp byte [ebx + 0xcbc], 0
je 0x425338
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4252ce
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push edi
push str.SoftwareIntelIIPS
push 0x80000002
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x425338
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x425304
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.IIPS_is_already_installed_and_will_be_uninstalled
push 0x463650
mov eax, 1
mov dword [esp + 0x1c], edi
call fcn.0042a920
mov ebx, dword [esp + 0x2c]
add esp, 8
push 0x5208
push 0x426ab0
call fcn.004129e0
mov ebx, dword [esp + 0x10]
xor edi, edi
cmp byte [ebx + 0xcc0], 0
je 0x4254eb
cmp byte [ebx + 0xcbc], 0
je 0x42548c
mov edx, 0x457790
call fcn.00401d60
test eax, eax
jne 0x42548c
push str.IIPS_filter
push str.__s_
push 0x463650
call fcn.0042a920
add dword [0x463670], 1
add esp, 0xc
push 0x457ba0
call fcn.004063a0
cmp eax, 0xffffffff
je 0x42547f
mov edi, eax
call fcn.004112b0
mov esi, dword [eax + 0xd4]
cmp esi, dword [eax + 0xd8]
lea edi, [eax + 0xd0]
mov dword [esp + 0x20], edi
jbe 0x4253b9
call fcn.0043641d
mov ebx, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov edi, dword [edi + 8]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 4], edi
jbe 0x4253d4
call fcn.0043641d
test ebx, ebx
je 0x4253de
cmp ebx, dword [esp + 0x20]
je 0x4253e3
call fcn.0043641d
cmp esi, edi
je 0x42547b
test ebx, ebx
jne 0x4253f4
call fcn.0043641d
cmp esi, dword [ebx + 8]
jb 0x4253fe
call fcn.0043641d
mov edi, 8
cmp dword [esi + 0x18], edi
jb 0x42540d
mov eax, dword [esi + 4]
jmp 0x425410
lea eax, [esi + 4]
push str.0042
push eax
call fcn.0043728b
add esp, 8
test eax, eax
jne 0x425435
cmp esi, dword [ebx + 8]
jb 0x42542c
call fcn.0043641d
mov edi, dword [esp + 0x20]
add esi, 0x1c
jmp 0x4253c3
mov edx, dword [esp + 0x10]
push str.4D36E97D_E325_11CE_BFC1_08002BE10318
mov dword [esp + 0x30], esi
mov byte [edx + 0xcbc], 0
call fcn.00408b60
lea esi, [esp + 0x28]
call fcn.00428240
cmp dword [eax + 0x18], edi
jb 0x425461
mov eax, dword [eax + 4]
jmp 0x425464
add eax, 4
push eax
push str.This_is_DT___s___IIPS_install_disabled
push 0x463650
xor eax, eax
call fcn.0042a920
add esp, 0xc
jmp 0x42547f
mov dword [esp + 0x2c], esi
sub dword [0x463670], 1
mov ebx, dword [esp + 0x10]
xor edi, edi
cmp byte [ebx + 0xcc0], 0
je 0x4254eb
cmp dword [ebx + 0xcdc], 8
jb 0x4254aa
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0xcc8]
jmp 0x4254b4
mov ebx, dword [esp + 0x10]
add ebx, 0xcc8
mov esi, dword [esp + 0x24]
push esi
mov edx, str.GFX_HWID
call fcn.00423b60
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0xce0], 0
mov ebx, str.1166
jne 0x4254da
mov ebx, str.1154
push esi
mov edx, str.PRODUCTNAMERESID
call fcn.00423b60
mov ebx, dword [esp + 0x10]
xor edi, edi
push ebx
call fcn.00424f40
cmp byte [ebx + 0xcbf], 0
je 0x425514
mov edx, dword [esp + 0x24]
push edx
mov ebx, 0x454f3c
mov edx, str.HDAUDIO
call fcn.00423b60
mov ebx, dword [esp + 0x10]
xor edi, edi
mov esi, dword [esp + 0x24]
add esi, 0x3c
push esi
lea eax, [esp + 0x40]
push 0x104
push eax
call fcn.004367c7
add esp, 0xc
cmp byte [ebx + 0xcc0], 0
mov eax, str.setup.if2
jne 0x425541
mov eax, str.setup2.if2
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x3c]
push edx
push str.Reading_action_file__s
push 0x463650
xor eax, eax
call fcn.0042a920
mov eax, dword [esp + 0x30]
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
call fcn.00411df0
cmp eax, edi
jne 0x42559e
push str.Error_loading_action_file
push 0x463650
mov eax, 2
call fcn.0042a920
add esp, 8
mov dword [0x463674], 0xa006
jmp 0x42525b
push esi
lea ecx, [esp + 0x40]
push 0x104
push ecx
call fcn.004367c7
add esp, 0xc
push str.custom.ini
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4255e2
push ebx
lea eax, [esp + 0x40]
call fcn.00429830
test al, al
je 0x42525b
cmp byte [ebx + 0xce0], 0
mov esi, dword [esp + 0x38]
jne 0x4255fe
push str.MSDK15
push esi
call fcn.004117a0
test al, al
jne 0x42560c
mov edx, str.nomsdk
call fcn.00401d60
test eax, eax
je 0x425636
push str.Platform_is_not_IronLake__skipping_MSDK_installation
push 0x463650
xor eax, eax
call fcn.0042a920
add esp, 8
push str.MSDK15
push esi
call fcn.00411930
push str.MSDK15_MFT
push esi
call fcn.00411930
mov edx, 0x454e34
call fcn.00401d60
test eax, eax
jne 0x425738
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.00426700
cmp byte [esi + 0xcc0], 0
jne 0x42567a
lea ebx, [esp + 0x20]
mov eax, 0x464bfc
mov dword [esp + 0x20], 0x7e2
call fcn.0042c080
mov dword [eax], 0x485
jmp 0x425694
cmp byte [esi + 0xce0], 0
je 0x42568a
push 0x48e
jmp 0x42568f
push 0x482
call fcn.0042bdf0
mov cl, byte [esi + 0xcc0]
lea ebx, [esp + 0x20]
mov byte [0x464af0], cl
mov dword [esp + 0x28], 0x427c60
mov dword [esp + 0x20], 0x65
call fcn.004325f0
lea ebx, [esp + 0x28]
mov esi, 0x464c28
call fcn.00432660
call fcn.0042f530
call fcn.0042f570
push 1
call fcn.0042f670
cmp eax, 0x3eb
je 0x425701
cmp eax, 0x47b
je 0x425701
cmp eax, 0xffffffff
jne 0x425738
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [edx + 0xc], 0xff
test eax, eax
jmp 0x425261
push str.User_canceled_wizard
push 0x463650
mov eax, 2
call fcn.0042a920
mov eax, dword [esp + 0x18]
mov dword [0x463674], 0xa009
mov dword [eax + 0xc], 9
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
jmp 0x425261
mov edx, str.noicc
call fcn.00401d60
test eax, eax
jne 0x425769
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0xcc0], al
je 0x425769
mov esi, dword [esp + 0x24]
push 0x4e20
push 0x429a40
mov ebx, esi
call fcn.004129e0
jmp 0x42577c
mov edx, dword [esp + 0x38]
push 0x4581a0
push edx
call fcn.00411930
mov esi, dword [esp + 0x24]
xor edi, edi
call fcn.0042e850
cmp eax, 0x6000100
jb 0x4257aa
cmp eax, 0xffffffff
ja 0x4257aa
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xcc0], 0
je 0x4257aa
push 0xfffffffffffffff6
push 0x426d50
mov ebx, esi
call fcn.004129e0
mov edx, str.groups
call fcn.00401d60
test eax, eax
je 0x4257ce
mov ecx, str.groups
call fcn.00401e00
mov ecx, dword [esp + 0x38]
push ecx
mov edx, eax
call fcn.00411b20
call fcn.00431590
mov ebx, dword [esp + 0x10]
cmp byte [ebx + 0xcc0], 0
je 0x4258a7
push 0x104
lea edx, [esp + 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push str.IntelExtremeGraphicsCUIResource
lea ecx, [esp + 0x248]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
lea edx, [esp + 0x248]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp byte [ebx + 0xcc0], 0
je 0x4258a7
mov edx, str.report
call fcn.00401d60
test eax, eax
je 0x4258a7
mov eax, dword [esp + 0x14]
cmp eax, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x425850
push eax
call ebx
push edi
lea eax, [esp + 0x18]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWAREIntel
push 0x80000002
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x4258ad
mov ecx, str.report
call fcn.00401e00
push str.LogPath
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
call fcn.0042abb0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4258a1
push eax
call ebx
mov dword [esp + 0x14], edi
jmp 0x4258ad
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
cmp byte [edx + 0xcc0], 0
mov eax, str.SoftwareIntelGFX
jne 0x4258c4
mov eax, str.SoftwareIntelIIPS
push eax
push esi
call fcn.00412aa0
call fcn.00431490
mov eax, dword [0x464c90]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x38], edi
jne 0x425a99
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0xcc0], 0
je 0x425907
mov edx, 0x457708
call fcn.00401d60
test eax, eax
je 0x425907
call fcn.004276f0
mov edx, dword [esp + 0x10]
cmp byte [edx + 0xcc0], 0
mov eax, dword [esp + 0x14]
je 0x4259d4
cmp eax, edi
je 0x425923
push eax
call ebx
lea eax, [esp + 0x14]
push eax
push 0xf003f
push edi
push str.SoftwareIntelGFX
push 0x80000002
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x425a45
push 0x458220
lea ecx, [esp + 0x18]
push ecx
mov edx, str.F0E3AD40_2BBD_4360_9C76_B9AC9A5886EA
call fcn.0042abb0
push 0x457ba0
call fcn.004063a0
call fcn.0040a7c0
push str.Version
lea edx, [esp + 0x18]
push edx
mov edx, eax
call fcn.0042abb0
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xcdc], 8
jb 0x425999
mov ecx, eax
mov edx, dword [ecx + 0xcc8]
jmp 0x4259a1
mov edx, eax
add edx, 0xcc8
push str.GFX_HWID
lea eax, [esp + 0x18]
push eax
call fcn.0042abb0
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x2c]
push ecx
push 4
push edi
push str.HDAUDIO
push edx
mov dword [esp + 0x40], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x425a36
cmp eax, edi
je 0x4259db
push eax
call ebx
lea eax, [esp + 0x14]
push eax
push 0xf003f
push edi
push str.SoftwareIntelIIPS
push 0x80000002
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x425a45
push 0x458220
lea ecx, [esp + 0x18]
push ecx
mov edx, str.D6C630BF_8DBB_4042_8562_DC9A52CB6E7E
call fcn.0042abb0
push str.IIPS
call fcn.004063a0
call fcn.0040a7c0
push str.Version
lea edx, [esp + 0x18]
push edx
mov edx, eax
call fcn.0042abb0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x425a41
push eax
call ebx
mov dword [esp + 0x14], edi
call fcn.00423c20
mov edx, 0x454e34
call fcn.00401d60
test eax, eax
jne 0x425a99
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xcc0], 0
jne 0x425a71
cmp dword [esi + 0x34], edi
jne 0x425a71
call fcn.0042f5b0
jmp 0x425a76
call fcn.0042f5f0
push 1
call fcn.0042f670
cmp eax, 0x467
jne 0x425a99
mov esi, dword [esp + 0x10]
call fcn.0042a210
mov esi, dword [esp + 0x24]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov eax, dword [esp + 0x14]
cmp eax, edi
mov ecx, dword [esi + 0x38]
mov dword [0x463674], ecx
je 0x425aad
push eax
call ebx
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.00434b37
mov esp, ebp
pop ebp
ret