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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b032c
mov eax, dword fs:[0]
push eax
mov eax, 0x1144
call fcn.00593490
mov eax, dword [0x637190]
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
mov dword [ebp - 0x2b8], edx
xor eax, eax
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 0x5cca70
push str.CModels::GetList
push 5
mov byte [ebp - 4], 2
call fcn.00424dad
add esp, 0xc
cmp dword [ebx + 0x68], 0
jne 0x42ac63
push 0x3e9
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42adc0
lea edi, [ebx + 0x1c]
cmp dword [edi + 0x14], 8
jb 0x42ac70
mov eax, dword [edi]
jmp 0x42ac72
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42ac82
push 2
jmp 0x42ac58
push str.clear_m_vstrKeys_and_m_vstrValues._n
push str.CModels::GetList
push 4
call fcn.00424dad
add esp, 0xc
lea esi, [ebx + 4]
mov ecx, esi
push dword [esi + 4]
push dword [esi]
call fcn.0041f5d8
mov eax, dword [esi]
mov dword [esi + 4], eax
lea esi, [ebx + 0x10]
push dword [esi + 4]
mov ecx, esi
push dword [esi]
call fcn.0041f5d8
mov eax, dword [esi]
push str.Windows_2000_XP_n
push str.CModels::GetList
push 4
mov dword [esi + 4], eax
call fcn.00424dad
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 0x42acff
push str.SetupDiGetClassDevs_failed._n
push str.CModels::GetList
push 2
call fcn.00424dad
add esp, 0xc
jmp 0x42adc0
push str.SetupDiGetClassDevs_succeeded._n
push str.CModels::GetList
push 4
call fcn.00424dad
push 0x22c
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.0058e700
add esp, 0x18
mov dword [ebp - 0x508], 0x22c
cmp dword [edi + 0x14], 8
jb 0x42ad3a
mov eax, dword [edi]
jmp 0x42ad3c
mov eax, edi
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x4e4]
push 0x104
push eax
call fcn.00591ddd
or dword [ebp - 0x504], 0x10000
lea eax, [ebp - 0x508]
or dword [ebp - 0x500], 0x800
add esp, 0x10
push eax
push 0
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiSetDeviceInstallParamsW]
test eax, eax
jne 0x42ad82
push str.SetupDiSetDeviceInstallParams_failed._n
jmp 0x42adaa
push str.SetupDiSetDeviceInstallParams_succeeded._n
push str.CModels::GetList
push 4
call fcn.00424dad
add esp, 0xc
push 1
push 0
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiBuildDriverInfoList]
test eax, eax
jne 0x42addb
push str.SetupDiBuildDriverInfoList_failed._n
push str.CModels::GetList
push 2
call fcn.00424dad
add esp, 0xc
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
push 0x5cca8c
push str.CModels::GetList
push 5
call fcn.00424dad
add esp, 0xc
xor esi, esi
jmp 0x42b238
push str.SetupDiBuildDriverInfoList_succeeded._n
push str.CModels::GetList
push 4
call fcn.00424dad
add esp, 0xc
mov dword [ebp - 0x1148], 0x61c
xor ecx, ecx
lea eax, [ebp - 0x1148]
mov dword [ebp - 0x114c], ecx
push eax
push ecx
push 1
push ecx
jmp 0x42b201
cmp dword [ebp - 0x114c], 0
mov dword [ebp - 0xb2c], 0x622
jne 0x42ae56
push 8
lea eax, [ebp - 0xb3c]
push eax
lea eax, [ebx + 0x328]
push 8
push eax
call fcn.0058e674
mov eax, dword [ebp - 0xb34]
add esp, 0x10
mov dword [ebx + 0x330], eax
mov eax, dword [ebp - 0xb30]
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.00424dad
add esp, 0x10
cmp dword [ebx + 0x348], 0
je 0x42ae9f
lea eax, [ebx + 0x338]
cmp dword [eax + 0x14], 8
jb 0x42ae88
mov eax, dword [eax]
lea ecx, [ebp - 0xf3c]
push ecx
push eax
call fcn.005921d4
pop ecx
pop ecx
test eax, eax
jne 0x42b1e8
push str.SetupDiEnumDriverInfo_DriverInfoData.MfgName_is_same_as_m_strMfgName._n
push str.CModels::GetList
push 4
call fcn.00424dad
push 0x14
lea eax, [ebp - 0x29c]
push 0
push eax
call fcn.0058e700
add esp, 0x18
mov dword [ebp - 0x29c], 0x14
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x1148]
push eax
push 0
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDriverInstallParamsW]
test eax, eax
jne 0x42af08
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.00424dad
add esp, 0x10
jmp 0x42b1e8
push dword [ebp - 0x294]
push str.DriverInstallParams.Flags__0x_1_lX__n
push str.CModels::GetList
push 4
call fcn.00424dad
add esp, 0x10
test byte [ebp - 0x294], 4
je 0x42af4c
push str.This_driver_is_listed_in_ExcludeFromSelect._n
push str.CModels::GetList
push 4
call fcn.00424dad
add esp, 0xc
cmp dword [ebx + 0x350], 0
je 0x42b1e8
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 0x42af7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42b1e8
lea eax, [ebp - 0x70c]
push eax
push str.DrvDescription___1_s__n
push str.CModels::GetList
push 4
call fcn.00424dad
lea eax, [ebp - 0xb14]
push eax
push str.SectionName___1_s__n
push str.CModels::GetList
push 4
call fcn.00424dad
push dword [ebp - 0xb20]
push str.CompatIDsOffset___1_lu__n
push str.CModels::GetList
push 4
call fcn.00424dad
push dword [ebp - 0xb1c]
push str.CompatIDsLength___1_lu__n
push str.CModels::GetList
push 4
call fcn.00424dad
add esp, 0x40
lea eax, [ebp - 0x50c]
push eax
push str.HardwareID___1_s__n
push str.CModels::GetList
push 4
call fcn.00424dad
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 0x42b029
lea eax, [ebp - 0x70c]
push eax
call fcn.0058edd4
pop ecx
push eax
lea eax, [ebp - 0x70c]
push eax
lea ecx, [ebp - 0x288]
call fcn.00404be0
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 4]
call fcn.00420bd6
push 0
push 1
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 2
call fcn.00404970
push 0x202
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.0058e700
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42b082
mov eax, dword [edi]
jmp 0x42b084
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 0x42b0eb
cmp dword [edi + 0x14], 8
jb 0x42b0a8
mov eax, dword [edi]
jmp 0x42b0aa
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 0x42b0e5
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.00591dbe
pop ecx
pop ecx
test eax, eax
je 0x42b126
cmp word [ebp - 0x258], 0
jne 0x42b110
xor eax, eax
jmp 0x42b11d
lea eax, [ebp - 0x258]
push eax
call fcn.0058edd4
pop ecx
push eax
lea eax, [ebp - 0x258]
jmp 0x42b148
cmp word [ebp - 0xb14], 0
jne 0x42b134
xor eax, eax
jmp 0x42b141
lea eax, [ebp - 0xb14]
push eax
call fcn.0058edd4
pop ecx
push eax
lea eax, [ebp - 0xb14]
push eax
lea ecx, [ebp - 0x270]
call fcn.00404be0
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.00424dad
lea eax, [ebp - 0x50c]
push 1
push eax
call fcn.00591dbe
add esp, 0x18
test eax, eax
je 0x42b1d9
push 0x5c6c8c
call fcn.0058edd4
pop ecx
push eax
push 0x5c6c8c
lea ecx, [ebp - 0x270]
call fcn.00404a83
cmp word [ebp - 0x50c], 0
jne 0x42b1b9
xor eax, eax
jmp 0x42b1c6
lea eax, [ebp - 0x50c]
push eax
call fcn.0058edd4
pop ecx
push eax
lea eax, [ebp - 0x50c]
push eax
lea ecx, [ebp - 0x270]
call fcn.00404a83
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebx + 0x10]
call fcn.00420c43
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 0x42ae11
push 1
push eax
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDriverInfoList]
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
push 0x5cca8c
push str.CModels::GetList
push 5
call fcn.00424dad
xor esi, esi
add esp, 0xc
inc esi
push 0
push 1
lea ecx, [ebp - 0x270]
call fcn.00404970
push 0
push 1
lea ecx, [ebp - 0x2b4]
call fcn.00404970
push 0
push 1
lea ecx, [ebp - 0x2cc]
call fcn.00404970
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.0058f6bb
mov esp, ebp
pop ebp
ret