Function at 0x4145ab
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, 0x441540
push str.OpenSetupAndConfigLib_n
push esi
call fcn.004089c5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ecx
xor eax, eax
cmp dword [0x451708], eax
pop ecx
push 0x20
pop ebp
je 0x414610
cmp dword [0x45170c], eax
je 0x414610
cmp dword [0x451710], eax
je 0x41461d
cmp dword [0x451714], eax
jne 0x414eb5
call fcn.0040e572
test eax, eax
jne 0x414eb5
call fcn.0040e59e
test eax, eax
jne 0x414eb5
cmp dword [0x451710], 0
jne 0x41476e
push str.kernel32.dll
call ebx
test eax, eax
mov dword [0x451710], eax
jne 0x41463f
push str.Unable_to_load_kernel32.dll_n
push esi
call fcn.00408b4f
pop ecx
pop ecx
jmp 0x41476e
push str.GetLongPathNameA
push eax
call edi
test eax, eax
mov dword [0x451664], eax
jne 0x414657
push str.Unable_to_load_GetLongPathName_from_ghKernelLib_n
jmp 0x41465c
push str.Successfully_loaded_GetLongPathName_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.GetDiskFreeSpaceExA
push dword [0x451710]
call edi
test eax, eax
mov dword [0x451698], eax
jne 0x414683
push str.Unable_to_load_GetDiskFreeSpaceEx_from_ghKernelLib_n
jmp 0x414688
push str.Successfully_loaded_GetDiskFreeSpaceEx_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.CreateToolhelp32Snapshot
push dword [0x451710]
call edi
test eax, eax
mov dword [0x451690], eax
jne 0x4146af
push str.Unable_to_load_CreateToolhelp32Snapshot_from_ghKernelLib_n
jmp 0x4146b4
push str.Successfully_loadedCreateToolhelp32Snapshot_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.Process32First
push dword [0x451710]
call edi
test eax, eax
mov dword [0x451670], eax
jne 0x4146db
push str.Unable_to_load_Process32First_from_ghKernelLib_n
jmp 0x4146e0
push str.Successfully_loadedProcess32First_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.Process32Next
push dword [0x451710]
call edi
test eax, eax
mov dword [0x4516e0], eax
jne 0x414707
push str.Unable_to_load_Process32Next_from_ghKernelLib_n
jmp 0x41470c
push str.Successfully_loadedProcess32Next_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.Wow64EnableWow64FsRedirection
push dword [0x451710]
call edi
test eax, eax
mov dword [0x451704], eax
jne 0x414733
push str.Unable_to_load_Wow64EnableWow64FsRedirection_from_ghKernelLib_n
jmp 0x414738
push str.Successfully_loadedWow64EnableWow64FsRedirection_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.GetSystemWow64DirectoryA
push dword [0x451710]
call edi
test eax, eax
mov dword [0x4516bc], eax
jne 0x41475f
push str.Unable_to_load_GetSystemWow64Directory_from_ghKernelLib_n
jmp 0x414764
push str.Successfully_loaded_GetSystemWow64Directory_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
cmp dword [0x451714], 0
jne 0x4147d8
call fcn.0040e468
test eax, eax
je 0x414789
call fcn.0040e486
test eax, eax
je 0x414792
call fcn.0040e59e
test eax, eax
je 0x4147d8
push str.newdev.dll
call ebx
test eax, eax
mov dword [0x451714], eax
jne 0x4147b1
push str.Unable_to_load_newdev.dll_n
push esi
call fcn.00408b4f
pop ecx
pop ecx
jmp 0x4147d8
push str.UpdateDriverForPlugAndPlayDevicesA
push eax
call edi
test eax, eax
mov dword [0x45169c], eax
jne 0x4147c9
push str.Unable_to_load_UpdateDriverForPlugAndPlayDevices_from_ghNewdevLib_n
jmp 0x4147ce
push str.Successfully_loaded_UpdateDriverForPlugAndPlayDevices_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
cmp dword [0x451708], 0
jne 0x414cc2
push str.setupapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x451708], eax
jne 0x41480b
push str.Unable_to_load_setupapi.dll_n
push esi
call fcn.00408b4f
pop ecx
pop ecx
jmp 0x414cc2
push str.SetupDiGetDeviceInstallParamsA
push eax
call edi
test eax, eax
mov dword [0x4516f4], eax
jne 0x414823
push str.Unable_to_load_SetupDiGetDeviceInstallParams_from_ghSetupLib_n
jmp 0x414828
push str.Successfully_loaded_SetupDiGetDeviceInstallParams_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiGetDeviceRegistryPropertyA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516d8], eax
jne 0x41484f
push str.Unable_to_load_SetupDiGetDeviceRegistryProperty_from_ghSetupLib_n
jmp 0x414854
push str.Successfully_loaded_SetupDiGetDeviceRegistryProperty_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiGetSelectedDriverA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x45168c], eax
jne 0x41487b
push str.Unable_to_load_SetupDiGetSelectedDriver_from_ghSetupLib_n
jmp 0x414880
push str.Successfully_loaded_SetupDiGetSelectedDriver_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupCopyOEMInfA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516fc], eax
jne 0x4148a7
push str.Unable_to_load_SetupCopyOEMInf_from_ghSetupLib_n
jmp 0x4148ac
push str.Successfully_loaded_SetupCopyOEMInf_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupFreeSourceListA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x451694], eax
jne 0x4148d3
push str.Unable_to_load_SetupFreeSourceList_from_ghSetupLib_n
jmp 0x4148d8
push str.Successfully_loaded_SetupFreeSourceList_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupQuerySourceListA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516e4], eax
jne 0x4148ff
push str.Unable_to_load_SetupQuerySourceList_from_ghSetupLib_n
jmp 0x414904
push str.Successfully_loaded_SetupQuerySourceList_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
mov ebx, str.SetupDiOpenClassRegKeyExA
push ebx
push dword [0x451708]
call edi
test eax, eax
mov dword [0x451700], eax
jne 0x41492c
push str.Unable_to_load_SetupDiOpenClassRegKeyEx_from_ghSetupLib_n
jmp 0x414931
push str.Successfully_loaded_SetupDiOpenClassRegKeyEx_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiGetClassDevsA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x45165c], eax
jne 0x414958
push str.Unable_to_load_SetupDiGetClassDevs_from_ghSetupLib_n
jmp 0x41495d
push str.Successfully_loaded_SetupDiGetClassDevs_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiGetDeviceInterfaceDetailA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516b8], eax
jne 0x414984
push str.Unable_to_load_SetupDiGetDeviceInterfaceDetail_from_ghSetupLib_n
jmp 0x414989
push str.Successfully_loaded_SetupDiGetDeviceInterfaceDetail_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push ebx
push dword [0x451708]
call edi
test eax, eax
mov dword [0x451700], eax
jne 0x4149ac
push str.Unable_to_load_SetupDiOpenClassRegKeyEx_from_ghSetupLib_n
jmp 0x4149b1
push str.Successfully_loaded_SetupDiOpenClassRegKeyEx_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiClassNameFromGuidA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516c4], eax
jne 0x4149d8
push str.Unable_to_load_SetupDiClassNameFromGuid_from_ghSetupLib_n
jmp 0x4149dd
push str.Successfully_loaded_SetupDiClassNameFromGuid_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiGetDeviceInstanceIdA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516c8], eax
jne 0x414a04
push str.Unable_to_load_SetupDiGetDeviceInstanceId_from_ghSetupLib_n
jmp 0x414a09
push str.Successfully_loaded_SetupDiGetDeviceInstanceId_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiGetClassInstallParamsA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516ec], eax
jne 0x414a30
push str.Unable_to_load_SetupDiGetClassInstallParams_from_ghSetupLib_n
jmp 0x414a35
push str.Successfully_loaded_SetupDiGetClassInstallParams_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiInstallClassExA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516f8], eax
jne 0x414a5c
push str.Unable_to_load_SetupDiInstallClassEx_from_ghSetupLib_n
jmp 0x414a61
push str.Successfully_loaded_SetupDiInstallClassEx_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupAddToSourceListA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x451674], eax
jne 0x414a88
push str.Unable_to_load_SetupAddToSourceList_from_ghSetupLib_n
jmp 0x414a8d
push str.Successfully_loaded_SetupAddToSourceList_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
call fcn.0040e556
test eax, eax
jne 0x414ade
call fcn.0040e486
test eax, eax
jne 0x414ade
call fcn.0040e4a4
test eax, eax
jne 0x414ade
push str.SetupUninstallOEMInfA
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516ac], eax
jne 0x414acf
push str.Unable_to_load_SetupUninstallOEMInf_from_ghSetupLib_n
jmp 0x414ad4
push str.Successfully_loaded_SetupUninstallOEMInf_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.CMP_WaitNoPendingInstallEvents
push dword [0x451708]
call edi
test eax, eax
mov dword [0x451684], eax
jne 0x414afb
push str.Unable_to_load_CMP_WaitNoPendingInstallEvents_from_ghSetupLib_n
jmp 0x414b00
push str.Successfully_loadedCMP_WaitNoPendingInstallEvents_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiEnumDeviceInterfaces
push dword [0x451708]
call edi
test eax, eax
mov dword [0x451658], eax
jne 0x414b27
push str.Unable_to_load_SetupDiEnumDeviceInterfaces_from_ghSetupLib_n
jmp 0x414b2c
push str.Successfully_loadedSetupDiEnumDeviceInterfaces_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiOpenDeviceInterfaceRegKey
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516b0], eax
jne 0x414b53
push str.Unable_to_load_SetupDiOpenDeviceInterfaceRegKey_from_ghSetupLib_n
jmp 0x414b58
push str.Successfully_loadedSetupDiOpenDeviceInterfaceRegKey_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiDestroyDeviceInfoList
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516a4], eax
jne 0x414b7f
push str.Unable_to_load_SetupDiDestroyDeviceInfoList_from_ghSetupLib_n
jmp 0x414b84
push str.Successfully_loadedSetupDiDestroyDeviceInfoList_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiBuildClassInfoList
push dword [0x451708]
call edi
test eax, eax
mov dword [0x45167c], eax
jne 0x414bab
push str.Unable_to_load_SetupDiBuildClassInfoList_from_ghSetupLib_n
jmp 0x414bb0
push str.Successfully_loadedSetupDiBuildClassInfoList_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiEnumDeviceInfo
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516e8], eax
jne 0x414bd7
push str.Unable_to_load_SetupDiEnumDeviceInfo_from_ghSetupLib_n
jmp 0x414bdc
push str.Successfully_loadedSetupDiEnumDeviceInfo_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiDestroyDriverInfoList
push dword [0x451708]
call edi
test eax, eax
mov dword [0x451678], eax
jne 0x414c03
push str.Unable_to_load_SetupDiDestroyDriverInfoList_from_ghSetupLib_n
jmp 0x414c08
push str.Successfully_loadedSetupDiDestroyDriverInfoList_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupOpenFileQueue
push dword [0x451708]
call edi
test eax, eax
mov dword [0x451688], eax
jne 0x414c2f
push str.Unable_to_load_SetupOpenFileQueue_from_ghSetupLib_n
jmp 0x414c34
push str.Successfully_loadedSetupOpenFileQueue_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupCloseFileQueue
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516d0], eax
jne 0x414c5b
push str.Unable_to_load_SetupCloseFileQueue_from_ghSetupLib_n
jmp 0x414c60
push str.Successfully_loadedSetupCloseFileQueue_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiOpenClassRegKey
push dword [0x451708]
call edi
test eax, eax
mov dword [0x451680], eax
jne 0x414c87
push str.Unable_to_load_SetupDiOpenClassRegKey_from_ghSetupLib_n
jmp 0x414c8c
push str.Successfully_loadedSetupDiOpenClassRegKey_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.SetupDiRemoveDevice
push dword [0x451708]
call edi
test eax, eax
mov dword [0x4516dc], eax
jne 0x414cb3
push str.Unable_to_load_SetupDiRemoveDevice_from_ghSetupLib_n
jmp 0x414cb8
push str.Successfully_loadedSetupDiRemoveDevice_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
cmp dword [0x45170c], 0
jne 0x414ea8
push str.cfgmgr32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x45170c], eax
jne 0x414cf5
push str.Unable_to_load_cfgmgr32.dll_n
push esi
call fcn.00408b4f
pop ecx
pop ecx
jmp 0x414ea8
push str.CM_Get_Device_IDA
push eax
call edi
test eax, eax
mov dword [0x4516c0], eax
jne 0x414d0d
push str.Unable_to_load_CM_Get_Device_ID_from_ghConfigLib_n
jmp 0x414d12
push str.Successfully_loaded_CM_Get_Device_ID_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.CM_Get_Device_ID_Size
push dword [0x45170c]
call edi
test eax, eax
mov dword [0x4516a0], eax
jne 0x414d39
push str.Unable_to_load_CM_Get_Device_ID_Size_from_ghConfigLib_n
jmp 0x414d3e
push str.Successfully_loadedCM_Get_Device_ID_Size_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.CM_Get_Parent
push dword [0x45170c]
call edi
test eax, eax
mov dword [0x4516b4], eax
jne 0x414d65
push str.Unable_to_load_CM_Get_Parent_from_ghConfigLib_n
jmp 0x414d6a
push str.Successfully_loadedCM_Get_Parent_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.CM_Get_Child
push dword [0x45170c]
call edi
test eax, eax
mov dword [0x4516a8], eax
jne 0x414d91
push str.Unable_to_load_CM_Get_Child_from_ghConfigLib_n
jmp 0x414d96
push str.Successfully_loadedCM_Get_Child_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.CM_Get_Sibling
push dword [0x45170c]
call edi
test eax, eax
mov dword [0x4516d4], eax
jne 0x414dbd
push str.Unable_to_load_CM_Get_Sibling_from_ghConfigLib_n
jmp 0x414dc2
push str.Successfully_loadedCM_Get_Sibling_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.CM_Get_DevNode_Status
push dword [0x45170c]
call edi
test eax, eax
mov dword [0x45166c], eax
jne 0x414de9
push str.Unable_to_load_CM_Get_DevNode_Status_from_ghConfigLib_n
jmp 0x414dee
push str.Successfully_loadedCM_Get_DevNode_Status_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.CM_Locate_DevNodeA
push dword [0x45170c]
call edi
test eax, eax
mov dword [0x451668], eax
jne 0x414e15
push str.Unable_to_load_CM_Locate_DevNode_from_ghConfigLib_n
jmp 0x414e1a
push str.Successfully_loaded_CM_Locate_DevNode_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.CM_Reenumerate_DevNode_Ex
push dword [0x45170c]
call edi
test eax, eax
mov dword [0x4516cc], eax
jne 0x414e41
push str.Unable_to_load_CM_Reenumerate_DevNode_Ex_from_ghConfigLib_n
jmp 0x414e46
push str.Successfully_loadedCM_Reenumerate_DevNode_Ex_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.CM_Reenumerate_DevNode
push dword [0x45170c]
call edi
test eax, eax
mov dword [0x4516f0], eax
jne 0x414e6d
push str.Unable_to_load_CM_Reenumerate_DevNode_from_ghConfigLib_n
jmp 0x414e72
push str.Successfully_loadedCM_Reenumerate_DevNode_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.CM_Locate_DevNode_ExA
push dword [0x45170c]
call edi
test eax, eax
mov dword [0x451660], eax
jne 0x414e99
push str.Unable_to_load_CM_Locate_DevNode_Ex_from_ghConfigLib_n
jmp 0x414e9e
push str.Successfully_loaded_CM_Locate_DevNode_Ex_n
push ebp
push esi
call fcn.00401930
add esp, 0xc
push str.OpenSetupAndConfigLib_returns_n
push esi
call fcn.004089c5
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret