Function at 0x422632
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, 0x46abb8
push str.OpenSetupAndConfigLib_n
push esi
call fcn.00414b92
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ecx
xor eax, eax
cmp dword [0x47b2d8], eax
pop ecx
push 0x20
pop ebp
je 0x422697
cmp dword [0x47b2dc], eax
je 0x422697
cmp dword [0x47b2e0], eax
je 0x4226a4
cmp dword [0x47b2e4], eax
jne 0x422f3c
call fcn.004156ae
test eax, eax
jne 0x422f3c
call fcn.004156da
test eax, eax
jne 0x422f3c
cmp dword [0x47b2e0], 0
jne 0x4227f5
push str.kernel32.dll
call ebx
test eax, eax
mov dword [0x47b2e0], eax
jne 0x4226c6
push str.Unable_to_load_kernel32.dll_n
push esi
call fcn.00414d1c
pop ecx
pop ecx
jmp 0x4227f5
push str.GetLongPathNameA
push eax
call edi
test eax, eax
mov dword [0x47b234], eax
jne 0x4226de
push str.Unable_to_load_GetLongPathName_from_ghKernelLib_n
jmp 0x4226e3
push str.Successfully_loaded_GetLongPathName_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.GetDiskFreeSpaceExA
push dword [0x47b2e0]
call edi
test eax, eax
mov dword [0x47b268], eax
jne 0x42270a
push str.Unable_to_load_GetDiskFreeSpaceEx_from_ghKernelLib_n
jmp 0x42270f
push str.Successfully_loaded_GetDiskFreeSpaceEx_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.CreateToolhelp32Snapshot
push dword [0x47b2e0]
call edi
test eax, eax
mov dword [0x47b260], eax
jne 0x422736
push str.Unable_to_load_CreateToolhelp32Snapshot_from_ghKernelLib_n
jmp 0x42273b
push str.Successfully_loadedCreateToolhelp32Snapshot_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.Process32First
push dword [0x47b2e0]
call edi
test eax, eax
mov dword [0x47b240], eax
jne 0x422762
push str.Unable_to_load_Process32First_from_ghKernelLib_n
jmp 0x422767
push str.Successfully_loadedProcess32First_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.Process32Next
push dword [0x47b2e0]
call edi
test eax, eax
mov dword [0x47b2b0], eax
jne 0x42278e
push str.Unable_to_load_Process32Next_from_ghKernelLib_n
jmp 0x422793
push str.Successfully_loadedProcess32Next_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.Wow64EnableWow64FsRedirection
push dword [0x47b2e0]
call edi
test eax, eax
mov dword [0x47b2d4], eax
jne 0x4227ba
push str.Unable_to_load_Wow64EnableWow64FsRedirection_from_ghKernelLib_n
jmp 0x4227bf
push str.Successfully_loadedWow64EnableWow64FsRedirection_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.GetSystemWow64DirectoryA
push dword [0x47b2e0]
call edi
test eax, eax
mov dword [0x47b28c], eax
jne 0x4227e6
push str.Unable_to_load_GetSystemWow64Directory_from_ghKernelLib_n
jmp 0x4227eb
push str.Successfully_loaded_GetSystemWow64Directory_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
cmp dword [0x47b2e4], 0
jne 0x42285f
call fcn.0041557f
test eax, eax
je 0x422810
call fcn.0041559d
test eax, eax
je 0x422819
call fcn.004156da
test eax, eax
je 0x42285f
push str.newdev.dll
call ebx
test eax, eax
mov dword [0x47b2e4], eax
jne 0x422838
push str.Unable_to_load_newdev.dll_n
push esi
call fcn.00414d1c
pop ecx
pop ecx
jmp 0x42285f
push str.UpdateDriverForPlugAndPlayDevicesA
push eax
call edi
test eax, eax
mov dword [0x47b26c], eax
jne 0x422850
push str.Unable_to_load_UpdateDriverForPlugAndPlayDevices_from_ghNewdevLib_n
jmp 0x422855
push str.Successfully_loaded_UpdateDriverForPlugAndPlayDevices_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
cmp dword [0x47b2d8], 0
jne 0x422d49
push str.setupapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x47b2d8], eax
jne 0x422892
push str.Unable_to_load_setupapi.dll_n
push esi
call fcn.00414d1c
pop ecx
pop ecx
jmp 0x422d49
push str.SetupDiGetDeviceInstallParamsA
push eax
call edi
test eax, eax
mov dword [0x47b2c4], eax
jne 0x4228aa
push str.Unable_to_load_SetupDiGetDeviceInstallParams_from_ghSetupLib_n
jmp 0x4228af
push str.Successfully_loaded_SetupDiGetDeviceInstallParams_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiGetDeviceRegistryPropertyA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b2a8], eax
jne 0x4228d6
push str.Unable_to_load_SetupDiGetDeviceRegistryProperty_from_ghSetupLib_n
jmp 0x4228db
push str.Successfully_loaded_SetupDiGetDeviceRegistryProperty_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiGetSelectedDriverA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b25c], eax
jne 0x422902
push str.Unable_to_load_SetupDiGetSelectedDriver_from_ghSetupLib_n
jmp 0x422907
push str.Successfully_loaded_SetupDiGetSelectedDriver_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupCopyOEMInfA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b2cc], eax
jne 0x42292e
push str.Unable_to_load_SetupCopyOEMInf_from_ghSetupLib_n
jmp 0x422933
push str.Successfully_loaded_SetupCopyOEMInf_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupFreeSourceListA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b264], eax
jne 0x42295a
push str.Unable_to_load_SetupFreeSourceList_from_ghSetupLib_n
jmp 0x42295f
push str.Successfully_loaded_SetupFreeSourceList_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupQuerySourceListA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b2b4], eax
jne 0x422986
push str.Unable_to_load_SetupQuerySourceList_from_ghSetupLib_n
jmp 0x42298b
push str.Successfully_loaded_SetupQuerySourceList_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
mov ebx, str.SetupDiOpenClassRegKeyExA
push ebx
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b2d0], eax
jne 0x4229b3
push str.Unable_to_load_SetupDiOpenClassRegKeyEx_from_ghSetupLib_n
jmp 0x4229b8
push str.Successfully_loaded_SetupDiOpenClassRegKeyEx_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiGetClassDevsA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b22c], eax
jne 0x4229df
push str.Unable_to_load_SetupDiGetClassDevs_from_ghSetupLib_n
jmp 0x4229e4
push str.Successfully_loaded_SetupDiGetClassDevs_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiGetDeviceInterfaceDetailA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b288], eax
jne 0x422a0b
push str.Unable_to_load_SetupDiGetDeviceInterfaceDetail_from_ghSetupLib_n
jmp 0x422a10
push str.Successfully_loaded_SetupDiGetDeviceInterfaceDetail_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push ebx
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b2d0], eax
jne 0x422a33
push str.Unable_to_load_SetupDiOpenClassRegKeyEx_from_ghSetupLib_n
jmp 0x422a38
push str.Successfully_loaded_SetupDiOpenClassRegKeyEx_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiClassNameFromGuidA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b294], eax
jne 0x422a5f
push str.Unable_to_load_SetupDiClassNameFromGuid_from_ghSetupLib_n
jmp 0x422a64
push str.Successfully_loaded_SetupDiClassNameFromGuid_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiGetDeviceInstanceIdA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b298], eax
jne 0x422a8b
push str.Unable_to_load_SetupDiGetDeviceInstanceId_from_ghSetupLib_n
jmp 0x422a90
push str.Successfully_loaded_SetupDiGetDeviceInstanceId_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiGetClassInstallParamsA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b2bc], eax
jne 0x422ab7
push str.Unable_to_load_SetupDiGetClassInstallParams_from_ghSetupLib_n
jmp 0x422abc
push str.Successfully_loaded_SetupDiGetClassInstallParams_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiInstallClassExA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b2c8], eax
jne 0x422ae3
push str.Unable_to_load_SetupDiInstallClassEx_from_ghSetupLib_n
jmp 0x422ae8
push str.Successfully_loaded_SetupDiInstallClassEx_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupAddToSourceListA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b244], eax
jne 0x422b0f
push str.Unable_to_load_SetupAddToSourceList_from_ghSetupLib_n
jmp 0x422b14
push str.Successfully_loaded_SetupAddToSourceList_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
call fcn.0041566d
test eax, eax
jne 0x422b65
call fcn.0041559d
test eax, eax
jne 0x422b65
call fcn.004155bb
test eax, eax
jne 0x422b65
push str.SetupUninstallOEMInfA
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b27c], eax
jne 0x422b56
push str.Unable_to_load_SetupUninstallOEMInf_from_ghSetupLib_n
jmp 0x422b5b
push str.Successfully_loaded_SetupUninstallOEMInf_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.CMP_WaitNoPendingInstallEvents
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b254], eax
jne 0x422b82
push str.Unable_to_load_CMP_WaitNoPendingInstallEvents_from_ghSetupLib_n
jmp 0x422b87
push str.Successfully_loadedCMP_WaitNoPendingInstallEvents_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiEnumDeviceInterfaces
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b228], eax
jne 0x422bae
push str.Unable_to_load_SetupDiEnumDeviceInterfaces_from_ghSetupLib_n
jmp 0x422bb3
push str.Successfully_loadedSetupDiEnumDeviceInterfaces_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiOpenDeviceInterfaceRegKey
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b280], eax
jne 0x422bda
push str.Unable_to_load_SetupDiOpenDeviceInterfaceRegKey_from_ghSetupLib_n
jmp 0x422bdf
push str.Successfully_loadedSetupDiOpenDeviceInterfaceRegKey_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiDestroyDeviceInfoList
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b274], eax
jne 0x422c06
push str.Unable_to_load_SetupDiDestroyDeviceInfoList_from_ghSetupLib_n
jmp 0x422c0b
push str.Successfully_loadedSetupDiDestroyDeviceInfoList_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiBuildClassInfoList
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b24c], eax
jne 0x422c32
push str.Unable_to_load_SetupDiBuildClassInfoList_from_ghSetupLib_n
jmp 0x422c37
push str.Successfully_loadedSetupDiBuildClassInfoList_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiEnumDeviceInfo
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b2b8], eax
jne 0x422c5e
push str.Unable_to_load_SetupDiEnumDeviceInfo_from_ghSetupLib_n
jmp 0x422c63
push str.Successfully_loadedSetupDiEnumDeviceInfo_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiDestroyDriverInfoList
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b248], eax
jne 0x422c8a
push str.Unable_to_load_SetupDiDestroyDriverInfoList_from_ghSetupLib_n
jmp 0x422c8f
push str.Successfully_loadedSetupDiDestroyDriverInfoList_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupOpenFileQueue
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b258], eax
jne 0x422cb6
push str.Unable_to_load_SetupOpenFileQueue_from_ghSetupLib_n
jmp 0x422cbb
push str.Successfully_loadedSetupOpenFileQueue_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupCloseFileQueue
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b2a0], eax
jne 0x422ce2
push str.Unable_to_load_SetupCloseFileQueue_from_ghSetupLib_n
jmp 0x422ce7
push str.Successfully_loadedSetupCloseFileQueue_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiOpenClassRegKey
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b250], eax
jne 0x422d0e
push str.Unable_to_load_SetupDiOpenClassRegKey_from_ghSetupLib_n
jmp 0x422d13
push str.Successfully_loadedSetupDiOpenClassRegKey_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.SetupDiRemoveDevice
push dword [0x47b2d8]
call edi
test eax, eax
mov dword [0x47b2ac], eax
jne 0x422d3a
push str.Unable_to_load_SetupDiRemoveDevice_from_ghSetupLib_n
jmp 0x422d3f
push str.Successfully_loadedSetupDiRemoveDevice_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
cmp dword [0x47b2dc], 0
jne 0x422f2f
push str.cfgmgr32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x47b2dc], eax
jne 0x422d7c
push str.Unable_to_load_cfgmgr32.dll_n
push esi
call fcn.00414d1c
pop ecx
pop ecx
jmp 0x422f2f
push str.CM_Get_Device_IDA
push eax
call edi
test eax, eax
mov dword [0x47b290], eax
jne 0x422d94
push str.Unable_to_load_CM_Get_Device_ID_from_ghConfigLib_n
jmp 0x422d99
push str.Successfully_loaded_CM_Get_Device_ID_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.CM_Get_Device_ID_Size
push dword [0x47b2dc]
call edi
test eax, eax
mov dword [0x47b270], eax
jne 0x422dc0
push str.Unable_to_load_CM_Get_Device_ID_Size_from_ghConfigLib_n
jmp 0x422dc5
push str.Successfully_loadedCM_Get_Device_ID_Size_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.CM_Get_Parent
push dword [0x47b2dc]
call edi
test eax, eax
mov dword [0x47b284], eax
jne 0x422dec
push str.Unable_to_load_CM_Get_Parent_from_ghConfigLib_n
jmp 0x422df1
push str.Successfully_loadedCM_Get_Parent_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.CM_Get_Child
push dword [0x47b2dc]
call edi
test eax, eax
mov dword [0x47b278], eax
jne 0x422e18
push str.Unable_to_load_CM_Get_Child_from_ghConfigLib_n
jmp 0x422e1d
push str.Successfully_loadedCM_Get_Child_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.CM_Get_Sibling
push dword [0x47b2dc]
call edi
test eax, eax
mov dword [0x47b2a4], eax
jne 0x422e44
push str.Unable_to_load_CM_Get_Sibling_from_ghConfigLib_n
jmp 0x422e49
push str.Successfully_loadedCM_Get_Sibling_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.CM_Get_DevNode_Status
push dword [0x47b2dc]
call edi
test eax, eax
mov dword [0x47b23c], eax
jne 0x422e70
push str.Unable_to_load_CM_Get_DevNode_Status_from_ghConfigLib_n
jmp 0x422e75
push str.Successfully_loadedCM_Get_DevNode_Status_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.CM_Locate_DevNodeA
push dword [0x47b2dc]
call edi
test eax, eax
mov dword [0x47b238], eax
jne 0x422e9c
push str.Unable_to_load_CM_Locate_DevNode_from_ghConfigLib_n
jmp 0x422ea1
push str.Successfully_loaded_CM_Locate_DevNode_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.CM_Reenumerate_DevNode_Ex
push dword [0x47b2dc]
call edi
test eax, eax
mov dword [0x47b29c], eax
jne 0x422ec8
push str.Unable_to_load_CM_Reenumerate_DevNode_Ex_from_ghConfigLib_n
jmp 0x422ecd
push str.Successfully_loadedCM_Reenumerate_DevNode_Ex_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.CM_Reenumerate_DevNode
push dword [0x47b2dc]
call edi
test eax, eax
mov dword [0x47b2c0], eax
jne 0x422ef4
push str.Unable_to_load_CM_Reenumerate_DevNode_from_ghConfigLib_n
jmp 0x422ef9
push str.Successfully_loadedCM_Reenumerate_DevNode_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.CM_Locate_DevNode_ExA
push dword [0x47b2dc]
call edi
test eax, eax
mov dword [0x47b230], eax
jne 0x422f20
push str.Unable_to_load_CM_Locate_DevNode_Ex_from_ghConfigLib_n
jmp 0x422f25
push str.Successfully_loaded_CM_Locate_DevNode_Ex_n
push ebp
push esi
call fcn.0040121a
add esp, 0xc
push str.OpenSetupAndConfigLib_returns_n
push esi
call fcn.00414b92
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret