Function at 0x429da9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a935c
mov eax, dword fs:[0]
push eax
mov eax, 0x1144
call fcn.0058c7d0
mov eax, dword [0x634460]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1150], ebx
push 7
pop edx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x2b8], edx
mov dword [ebp - 0x2bc], ecx
mov word [ebp - 0x2cc], ax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x2a4], ecx
mov word [ebp - 0x2b4], ax
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x260], ecx
mov word [ebp - 0x270], ax
push 0x5c69a8
push str.CModels::GetList
push 5
mov byte [ebp - 4], 2
call fcn.00423f75
add esp, 0xc
cmp dword [ebx + 0x68], 0
jne 0x429e54
push 0x3e9
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x429fb1
lea edi, [ebx + 0x1c]
cmp dword [edi + 0x14], 8
jb 0x429e61
mov eax, dword [edi]
jmp 0x429e63
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x429e73
push 2
jmp 0x429e49
push str.clear_m_vstrKeys_and_m_vstrValues._n
push str.CModels::GetList
push 4
call fcn.00423f75
lea esi, [ebx + 4]
add esp, 0xc
push dword [esi + 4]
mov ecx, esi
push dword [esi]
call fcn.0041e660
mov eax, dword [esi]
mov dword [esi + 4], eax
lea esi, [ebx + 0x10]
mov ecx, esi
push dword [esi + 4]
push dword [esi]
call fcn.0041e660
mov eax, dword [esi]
push str.Windows_2000_XP_n
push str.CModels::GetList
push 4
mov dword [esi + 4], eax
call fcn.00423f75
add esp, 0xc
xor eax, eax
push 4
push eax
push eax
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x429ef0
push str.SetupDiGetClassDevs_failed._n
push str.CModels::GetList
push 2
call fcn.00423f75
add esp, 0xc
jmp 0x429fb1
push str.SetupDiGetClassDevs_succeeded._n
push str.CModels::GetList
push 4
call fcn.00423f75
push 0x22c
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.00587a70
add esp, 0x18
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x508], 0x22c
jb 0x429f2b
mov eax, dword [edi]
jmp 0x429f2d
mov eax, edi
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x4e4]
push 0x104
push eax
call fcn.0058b12c
or dword [ebp - 0x504], 0x10000
or dword [ebp - 0x500], 0x800
add esp, 0x10
lea eax, [ebp - 0x508]
push eax
push 0
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiSetDeviceInstallParamsW]
test eax, eax
jne 0x429f73
push str.SetupDiSetDeviceInstallParams_failed._n
jmp 0x429f9b
push str.SetupDiSetDeviceInstallParams_succeeded._n
push str.CModels::GetList
push 4
call fcn.00423f75
add esp, 0xc
push 1
push 0
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiBuildDriverInfoList]
test eax, eax
jne 0x429fcc
push str.SetupDiBuildDriverInfoList_failed._n
push str.CModels::GetList
push 2
call fcn.00423f75
add esp, 0xc
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
push 0x5c69c4
push str.CModels::GetList
push 5
call fcn.00423f75
add esp, 0xc
xor esi, esi
jmp 0x42a429
push str.SetupDiBuildDriverInfoList_succeeded._n
push str.CModels::GetList
push 4
call fcn.00423f75
add esp, 0xc
xor ecx, ecx
lea eax, [ebp - 0x1148]
push eax
push ecx
push 1
mov dword [ebp - 0x1148], 0x61c
mov dword [ebp - 0x114c], ecx
push ecx
jmp 0x42a3f2
cmp dword [ebp - 0x114c], 0
mov dword [ebp - 0xb2c], 0x622
jne 0x42a047
push 8
lea eax, [ebp - 0xb3c]
push eax
lea eax, [ebx + 0x328]
push 8
push eax
call fcn.005879e4
mov eax, dword [ebp - 0xb34]
mov dword [ebx + 0x330], eax
mov eax, dword [ebp - 0xb30]
add esp, 0x10
mov dword [ebx + 0x334], eax
lea eax, [ebp - 0xf3c]
push eax
push str.SetupDiEnumDriverInfo_DriverInfoData.MfgName__1_s__._n
push str.CModels::GetList
push 4
call fcn.00423f75
add esp, 0x10
cmp dword [ebx + 0x348], 0
je 0x42a090
lea eax, [ebx + 0x338]
cmp dword [eax + 0x14], 8
jb 0x42a079
mov eax, dword [eax]
lea ecx, [ebp - 0xf3c]
push ecx
push eax
call fcn.0058b527
pop ecx
pop ecx
test eax, eax
jne 0x42a3d9
push str.SetupDiEnumDriverInfo_DriverInfoData.MfgName_is_same_as_m_strMfgName._n
push str.CModels::GetList
push 4
call fcn.00423f75
push 0x14
lea eax, [ebp - 0x29c]
push 0
push eax
call fcn.00587a70
add esp, 0x18
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x1148]
push eax
push 0
push esi
mov dword [ebp - 0x29c], 0x14
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDriverInstallParamsW]
test eax, eax
jne 0x42a0f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetupDiGetDriverInstallParams_failed.__0x_1_lX___n
push str.CModels::GetList
push 2
call fcn.00423f75
add esp, 0x10
jmp 0x42a3d9
push dword [ebp - 0x294]
push str.DriverInstallParams.Flags__0x_1_lX__n
push str.CModels::GetList
push 4
call fcn.00423f75
add esp, 0x10
test byte [ebp - 0x294], 4
je 0x42a13d
push str.This_driver_is_listed_in_ExcludeFromSelect._n
push str.CModels::GetList
push 4
call fcn.00423f75
add esp, 0xc
cmp dword [ebx + 0x350], 0
je 0x42a3d9
push 0
push 0x622
lea eax, [ebp - 0xb2c]
push eax
lea eax, [ebp - 0x1148]
push eax
push 0
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDriverInfoDetailW]
test eax, eax
jne 0x42a16e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42a3d9
lea eax, [ebp - 0x70c]
push eax
push str.DrvDescription___1_s__n
push str.CModels::GetList
push 4
call fcn.00423f75
lea eax, [ebp - 0xb14]
push eax
push str.SectionName___1_s__n
push str.CModels::GetList
push 4
call fcn.00423f75
push dword [ebp - 0xb20]
push str.CompatIDsOffset___1_lu__n
push str.CModels::GetList
push 4
call fcn.00423f75
push dword [ebp - 0xb1c]
push str.CompatIDsLength___1_lu__n
push str.CModels::GetList
push 4
call fcn.00423f75
add esp, 0x40
lea eax, [ebp - 0x50c]
push eax
push str.HardwareID___1_s__n
push str.CModels::GetList
push 4
call fcn.00423f75
and dword [ebp - 0x278], 0
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
cmp word [ebp - 0x70c], ax
je 0x42a21a
lea eax, [ebp - 0x70c]
push eax
call fcn.00588144
pop ecx
push eax
lea eax, [ebp - 0x70c]
push eax
lea ecx, [ebp - 0x288]
call fcn.00403cef
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebx + 4]
mov byte [ebp - 4], 3
call fcn.0041fd9c
push 0
push 1
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 2
call fcn.00403a7f
push 0x202
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00587a70
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42a273
mov eax, dword [edi]
jmp 0x42a275
mov eax, edi
push 0
push 0x20
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetINFClassW]
test eax, eax
je 0x42a2dc
cmp dword [edi + 0x14], 8
jb 0x42a299
mov eax, dword [edi]
jmp 0x42a29b
mov eax, edi
push 0
push 2
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42a2d6
push 0
push 0
push 0x100
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0xb14]
push eax
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetActualSectionToInstallW]
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov ebx, dword [ebp - 0x1150]
lea eax, [ebp - 0x258]
push 0x101
push eax
call fcn.0058b10d
pop ecx
pop ecx
test eax, eax
je 0x42a317
cmp word [ebp - 0x258], 0
jne 0x42a301
xor eax, eax
jmp 0x42a30e
lea eax, [ebp - 0x258]
push eax
call fcn.00588144
pop ecx
push eax
lea eax, [ebp - 0x258]
jmp 0x42a339
cmp word [ebp - 0xb14], 0
jne 0x42a325
xor eax, eax
jmp 0x42a332
lea eax, [ebp - 0xb14]
push eax
call fcn.00588144
pop ecx
push eax
lea eax, [ebp - 0xb14]
push eax
lea ecx, [ebp - 0x270]
call fcn.00403cef
cmp dword [ebp - 0x25c], 8
lea eax, [ebp - 0x270]
cmovae eax, dword [ebp - 0x270]
push eax
push str.ActualInstallSection___1_s__n
push str.CModels::GetList
push 4
call fcn.00423f75
lea eax, [ebp - 0x50c]
push 1
push eax
call fcn.0058b10d
add esp, 0x18
test eax, eax
je 0x42a3ca
push 0x5c0b9c
call fcn.00588144
pop ecx
push eax
push 0x5c0b9c
lea ecx, [ebp - 0x270]
call fcn.00403b92
cmp word [ebp - 0x50c], 0
jne 0x42a3aa
xor eax, eax
jmp 0x42a3b7
lea eax, [ebp - 0x50c]
push eax
call fcn.00588144
pop ecx
push eax
lea eax, [ebp - 0x50c]
push eax
lea ecx, [ebp - 0x270]
call fcn.00403b92
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebx + 0x10]
call fcn.0041fe09
mov eax, dword [ebp - 0x114c]
lea ecx, [ebp - 0x1148]
push ecx
inc eax
push eax
push 1
mov dword [ebp - 0x114c], eax
push 0
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDriverInfoW]
test eax, eax
jne 0x42a002
push 1
push eax
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDriverInfoList]
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
push 0x5c69c4
push str.CModels::GetList
push 5
call fcn.00423f75
xor esi, esi
add esp, 0xc
inc esi
push 0
push 1
lea ecx, [ebp - 0x270]
call fcn.00403a7f
push 0
push 1
lea ecx, [ebp - 0x2b4]
call fcn.00403a7f
push 0
push 1
lea ecx, [ebp - 0x2cc]
call fcn.00403a7f
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588a1c
leave
ret