Function at 0x4262d0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45035b
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 esi, ecx
lea ebx, [esi + 0xa68]
lea edi, [ebx + 0x248]
xor eax, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], eax
mov edx, 0x457780
mov dword [esp + 0x460], eax
call fcn.00401d60
test eax, eax
mov eax, str.SoftwareIntelIIPS
jne 0x42634f
mov eax, str.SoftwareIntelGFX
push eax
lea eax, [esp + 0x248]
push 0x104
push eax
call fcn.004367c7
add esp, 0xc
lea ecx, [esp + 0x244]
push ecx
push str.Product_key:__s
push 0x463650
xor eax, eax
call fcn.0042a920
add esp, 0xc
lea edx, [esp + 0x244]
push edx
push esi
call fcn.00429890
push 0x457ba0
push edi
call fcn.004117a0
push str.HDMI
push edi
mov byte [esi + 0xcc0], al
mov byte [esi + 0xcbd], 0
call fcn.004117a0
push str.IIPS
push edi
mov byte [esi + 0xcbe], al
call fcn.004117a0
mov byte [esi + 0xcbc], al
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4263d8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
push ecx
xor eax, eax
push 0xf003f
push eax
push str.SoftwareIntelGFX
push 0x80000002
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4264a0
lea ebx, [esi + 0xcc4]
push ebx
lea edx, [esp + 0x18]
push edx
mov eax, str.GFX_HWID
call fcn.0042adb0
mov eax, dword [ebx + 0x14]
push str.0042
mov edi, 4
mov ecx, ebx
call fcn.00404850
test eax, eax
je 0x42644a
mov eax, dword [ebx + 0x14]
push str.0046
mov ecx, ebx
call fcn.00404850
test eax, eax
je 0x42644a
xor eax, eax
jmp 0x42644f
mov eax, 1
mov edx, dword [esp + 0x14]
mov byte [esi + 0xce0], al
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
xor edi, edi
push edi
push edi
push str.HDAUDIO
push edx
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0x10], 1
sete al
mov byte [esi + 0xcbf], al
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x426494
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov edx, 0x454e34
call fcn.00401d60
test eax, eax
jne 0x426588
mov ecx, esi
call fcn.00426700
cmp byte [esi + 0xcc0], 0
mov dword [esp + 0x10], 0x7e2
lea ebx, [esp + 0x10]
mov eax, 0x464bfc
jne 0x4264e0
call fcn.0042c080
mov dword [eax], 0x485
jmp 0x426501
cmp byte [esi + 0xce0], 0
je 0x4264f6
call fcn.0042c080
mov dword [eax], 0x48e
jmp 0x426501
call fcn.0042c080
mov dword [eax], 0x482
lea ebx, [esp + 0x10]
mov dword [esp + 0x20], 0x4309b0
mov dword [esp + 0x10], 0x8a
call fcn.004325f0
lea ebx, [esp + 0x20]
mov esi, 0x464c28
call fcn.00432660
push 0
call fcn.0042f670
cmp eax, 0x3eb
jne 0x426567
push str.User_canceled_wizard
push 0x463650
mov eax, 2
call fcn.0042a920
mov ecx, dword [esp + 0x24]
mov dword [0x463674], 0xa009
add esp, 8
mov dword [ecx + 0xc], 9
jmp 0x4266c0
cmp eax, 0xffffffff
jne 0x42657c
mov edx, dword [esp + 0x1c]
mov dword [edx + 0xc], 0xff
jmp 0x4266c0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp byte [esi + 0xcc0], 0
je 0x4265bd
push 0x4581a0
push edi
call fcn.004117a0
test al, al
je 0x4265bd
mov edx, str.noicc
call fcn.00401d60
test eax, eax
jne 0x4265bd
push 0x4e20
push 0x429d60
call fcn.004129e0
push 0x2af8
push fcn.00427350
call fcn.004129e0
call fcn.00431600
lea edx, [esp + 0x244]
mov ecx, ebx
call fcn.004130d0
call fcn.00431490
mov eax, dword [0x464c90]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0xcc0], 0
je 0x426689
push 0x104
lea ecx, [esp + 0x40]
xor esi, esi
push ecx
mov dword [esp + 0x34], vtable.CSafeDeleteTree.0
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push str.IntelExtremeGraphics
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
push 0x45550c
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x38]
call fcn.004230f0
cmp eax, esi
jne 0x426671
mov eax, dword [esp + 0x2c]
push esi
lea edx, [esp + 0x40]
push edx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x34]
call edx
jmp 0x426689
push eax
push str.Error_0x_X
push 0x463650
mov eax, 2
call fcn.0042a920
add esp, 0xc
xor bl, bl
call fcn.00423c20
mov edx, 0x454e34
call fcn.00401d60
test eax, eax
jne 0x4266b2
call fcn.0042f630
push 1
call fcn.0042f670
cmp eax, 0x467
sete bl
call fcn.0042a0f0
test bl, bl
je 0x4266c0
call fcn.0042ef30
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4266cf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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