Function at 0x42bda5
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, 0x476888
push str.OpenSetupAndConfigLib_n
push esi
call fcn.0041ea35
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ecx
xor eax, eax
cmp dword [0x486de8], eax
pop ecx
push 0x20
pop ebp
je 0x42be0a
cmp dword [0x486dec], eax
je 0x42be0a
cmp dword [0x486df0], eax
je 0x42be17
cmp dword [0x486df4], eax
jne 0x42c6af
call fcn.0041f4a0
test eax, eax
jne 0x42c6af
call fcn.0041f4cc
test eax, eax
jne 0x42c6af
cmp dword [0x486df0], 0
jne 0x42bf68
push str.kernel32.dll
call ebx
test eax, eax
mov dword [0x486df0], eax
jne 0x42be39
push str.Unable_to_load_kernel32.dll_n
push esi
call fcn.0041ebbf
pop ecx
pop ecx
jmp 0x42bf68
push str.GetLongPathNameA
push eax
call edi
test eax, eax
mov dword [0x486d44], eax
jne 0x42be51
push str.Unable_to_load_GetLongPathName_from_ghKernelLib_n
jmp 0x42be56
push str.Successfully_loaded_GetLongPathName_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.GetDiskFreeSpaceExA
push dword [0x486df0]
call edi
test eax, eax
mov dword [0x486d78], eax
jne 0x42be7d
push str.Unable_to_load_GetDiskFreeSpaceEx_from_ghKernelLib_n
jmp 0x42be82
push str.Successfully_loaded_GetDiskFreeSpaceEx_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.CreateToolhelp32Snapshot
push dword [0x486df0]
call edi
test eax, eax
mov dword [0x486d70], eax
jne 0x42bea9
push str.Unable_to_load_CreateToolhelp32Snapshot_from_ghKernelLib_n
jmp 0x42beae
push str.Successfully_loadedCreateToolhelp32Snapshot_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.Process32First
push dword [0x486df0]
call edi
test eax, eax
mov dword [0x486d50], eax
jne 0x42bed5
push str.Unable_to_load_Process32First_from_ghKernelLib_n
jmp 0x42beda
push str.Successfully_loadedProcess32First_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.Process32Next
push dword [0x486df0]
call edi
test eax, eax
mov dword [0x486dc0], eax
jne 0x42bf01
push str.Unable_to_load_Process32Next_from_ghKernelLib_n
jmp 0x42bf06
push str.Successfully_loadedProcess32Next_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.Wow64EnableWow64FsRedirection
push dword [0x486df0]
call edi
test eax, eax
mov dword [0x486de4], eax
jne 0x42bf2d
push str.Unable_to_load_Wow64EnableWow64FsRedirection_from_ghKernelLib_n
jmp 0x42bf32
push str.Successfully_loadedWow64EnableWow64FsRedirection_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.GetSystemWow64DirectoryA
push dword [0x486df0]
call edi
test eax, eax
mov dword [0x486d9c], eax
jne 0x42bf59
push str.Unable_to_load_GetSystemWow64Directory_from_ghKernelLib_n
jmp 0x42bf5e
push str.Successfully_loaded_GetSystemWow64Directory_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
cmp dword [0x486df4], 0
jne 0x42bfd2
call fcn.0041f371
test eax, eax
je 0x42bf83
call fcn.0041f38f
test eax, eax
je 0x42bf8c
call fcn.0041f4cc
test eax, eax
je 0x42bfd2
push str.newdev.dll
call ebx
test eax, eax
mov dword [0x486df4], eax
jne 0x42bfab
push str.Unable_to_load_newdev.dll_n
push esi
call fcn.0041ebbf
pop ecx
pop ecx
jmp 0x42bfd2
push str.UpdateDriverForPlugAndPlayDevicesA
push eax
call edi
test eax, eax
mov dword [0x486d7c], eax
jne 0x42bfc3
push str.Unable_to_load_UpdateDriverForPlugAndPlayDevices_from_ghNewdevLib_n
jmp 0x42bfc8
push str.Successfully_loaded_UpdateDriverForPlugAndPlayDevices_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
cmp dword [0x486de8], 0
jne 0x42c4bc
push str.setupapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x486de8], eax
jne 0x42c005
push str.Unable_to_load_setupapi.dll_n
push esi
call fcn.0041ebbf
pop ecx
pop ecx
jmp 0x42c4bc
push str.SetupDiGetDeviceInstallParamsA
push eax
call edi
test eax, eax
mov dword [0x486dd4], eax
jne 0x42c01d
push str.Unable_to_load_SetupDiGetDeviceInstallParams_from_ghSetupLib_n
jmp 0x42c022
push str.Successfully_loaded_SetupDiGetDeviceInstallParams_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiGetDeviceRegistryPropertyA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486db8], eax
jne 0x42c049
push str.Unable_to_load_SetupDiGetDeviceRegistryProperty_from_ghSetupLib_n
jmp 0x42c04e
push str.Successfully_loaded_SetupDiGetDeviceRegistryProperty_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiGetSelectedDriverA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d6c], eax
jne 0x42c075
push str.Unable_to_load_SetupDiGetSelectedDriver_from_ghSetupLib_n
jmp 0x42c07a
push str.Successfully_loaded_SetupDiGetSelectedDriver_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupCopyOEMInfA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486ddc], eax
jne 0x42c0a1
push str.Unable_to_load_SetupCopyOEMInf_from_ghSetupLib_n
jmp 0x42c0a6
push str.Successfully_loaded_SetupCopyOEMInf_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupFreeSourceListA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d74], eax
jne 0x42c0cd
push str.Unable_to_load_SetupFreeSourceList_from_ghSetupLib_n
jmp 0x42c0d2
push str.Successfully_loaded_SetupFreeSourceList_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupQuerySourceListA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486dc4], eax
jne 0x42c0f9
push str.Unable_to_load_SetupQuerySourceList_from_ghSetupLib_n
jmp 0x42c0fe
push str.Successfully_loaded_SetupQuerySourceList_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
mov ebx, str.SetupDiOpenClassRegKeyExA
push ebx
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486de0], eax
jne 0x42c126
push str.Unable_to_load_SetupDiOpenClassRegKeyEx_from_ghSetupLib_n
jmp 0x42c12b
push str.Successfully_loaded_SetupDiOpenClassRegKeyEx_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiGetClassDevsA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d3c], eax
jne 0x42c152
push str.Unable_to_load_SetupDiGetClassDevs_from_ghSetupLib_n
jmp 0x42c157
push str.Successfully_loaded_SetupDiGetClassDevs_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiGetDeviceInterfaceDetailA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d98], eax
jne 0x42c17e
push str.Unable_to_load_SetupDiGetDeviceInterfaceDetail_from_ghSetupLib_n
jmp 0x42c183
push str.Successfully_loaded_SetupDiGetDeviceInterfaceDetail_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push ebx
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486de0], eax
jne 0x42c1a6
push str.Unable_to_load_SetupDiOpenClassRegKeyEx_from_ghSetupLib_n
jmp 0x42c1ab
push str.Successfully_loaded_SetupDiOpenClassRegKeyEx_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiClassNameFromGuidA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486da4], eax
jne 0x42c1d2
push str.Unable_to_load_SetupDiClassNameFromGuid_from_ghSetupLib_n
jmp 0x42c1d7
push str.Successfully_loaded_SetupDiClassNameFromGuid_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiGetDeviceInstanceIdA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486da8], eax
jne 0x42c1fe
push str.Unable_to_load_SetupDiGetDeviceInstanceId_from_ghSetupLib_n
jmp 0x42c203
push str.Successfully_loaded_SetupDiGetDeviceInstanceId_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiGetClassInstallParamsA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486dcc], eax
jne 0x42c22a
push str.Unable_to_load_SetupDiGetClassInstallParams_from_ghSetupLib_n
jmp 0x42c22f
push str.Successfully_loaded_SetupDiGetClassInstallParams_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiInstallClassExA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486dd8], eax
jne 0x42c256
push str.Unable_to_load_SetupDiInstallClassEx_from_ghSetupLib_n
jmp 0x42c25b
push str.Successfully_loaded_SetupDiInstallClassEx_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupAddToSourceListA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d54], eax
jne 0x42c282
push str.Unable_to_load_SetupAddToSourceList_from_ghSetupLib_n
jmp 0x42c287
push str.Successfully_loaded_SetupAddToSourceList_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
call fcn.0041f45f
test eax, eax
jne 0x42c2d8
call fcn.0041f38f
test eax, eax
jne 0x42c2d8
call fcn.0041f3ad
test eax, eax
jne 0x42c2d8
push str.SetupUninstallOEMInfA
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d8c], eax
jne 0x42c2c9
push str.Unable_to_load_SetupUninstallOEMInf_from_ghSetupLib_n
jmp 0x42c2ce
push str.Successfully_loaded_SetupUninstallOEMInf_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.CMP_WaitNoPendingInstallEvents
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d64], eax
jne 0x42c2f5
push str.Unable_to_load_CMP_WaitNoPendingInstallEvents_from_ghSetupLib_n
jmp 0x42c2fa
push str.Successfully_loadedCMP_WaitNoPendingInstallEvents_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiEnumDeviceInterfaces
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d38], eax
jne 0x42c321
push str.Unable_to_load_SetupDiEnumDeviceInterfaces_from_ghSetupLib_n
jmp 0x42c326
push str.Successfully_loadedSetupDiEnumDeviceInterfaces_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiOpenDeviceInterfaceRegKey
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d90], eax
jne 0x42c34d
push str.Unable_to_load_SetupDiOpenDeviceInterfaceRegKey_from_ghSetupLib_n
jmp 0x42c352
push str.Successfully_loadedSetupDiOpenDeviceInterfaceRegKey_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiDestroyDeviceInfoList
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d84], eax
jne 0x42c379
push str.Unable_to_load_SetupDiDestroyDeviceInfoList_from_ghSetupLib_n
jmp 0x42c37e
push str.Successfully_loadedSetupDiDestroyDeviceInfoList_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiBuildClassInfoList
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d5c], eax
jne 0x42c3a5
push str.Unable_to_load_SetupDiBuildClassInfoList_from_ghSetupLib_n
jmp 0x42c3aa
push str.Successfully_loadedSetupDiBuildClassInfoList_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiEnumDeviceInfo
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486dc8], eax
jne 0x42c3d1
push str.Unable_to_load_SetupDiEnumDeviceInfo_from_ghSetupLib_n
jmp 0x42c3d6
push str.Successfully_loadedSetupDiEnumDeviceInfo_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiDestroyDriverInfoList
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d58], eax
jne 0x42c3fd
push str.Unable_to_load_SetupDiDestroyDriverInfoList_from_ghSetupLib_n
jmp 0x42c402
push str.Successfully_loadedSetupDiDestroyDriverInfoList_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupOpenFileQueue
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d68], eax
jne 0x42c429
push str.Unable_to_load_SetupOpenFileQueue_from_ghSetupLib_n
jmp 0x42c42e
push str.Successfully_loadedSetupOpenFileQueue_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupCloseFileQueue
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486db0], eax
jne 0x42c455
push str.Unable_to_load_SetupCloseFileQueue_from_ghSetupLib_n
jmp 0x42c45a
push str.Successfully_loadedSetupCloseFileQueue_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiOpenClassRegKey
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486d60], eax
jne 0x42c481
push str.Unable_to_load_SetupDiOpenClassRegKey_from_ghSetupLib_n
jmp 0x42c486
push str.Successfully_loadedSetupDiOpenClassRegKey_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.SetupDiRemoveDevice
push dword [0x486de8]
call edi
test eax, eax
mov dword [0x486dbc], eax
jne 0x42c4ad
push str.Unable_to_load_SetupDiRemoveDevice_from_ghSetupLib_n
jmp 0x42c4b2
push str.Successfully_loadedSetupDiRemoveDevice_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
cmp dword [0x486dec], 0
jne 0x42c6a2
push str.cfgmgr32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x486dec], eax
jne 0x42c4ef
push str.Unable_to_load_cfgmgr32.dll_n
push esi
call fcn.0041ebbf
pop ecx
pop ecx
jmp 0x42c6a2
push str.CM_Get_Device_IDA
push eax
call edi
test eax, eax
mov dword [0x486da0], eax
jne 0x42c507
push str.Unable_to_load_CM_Get_Device_ID_from_ghConfigLib_n
jmp 0x42c50c
push str.Successfully_loaded_CM_Get_Device_ID_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.CM_Get_Device_ID_Size
push dword [0x486dec]
call edi
test eax, eax
mov dword [0x486d80], eax
jne 0x42c533
push str.Unable_to_load_CM_Get_Device_ID_Size_from_ghConfigLib_n
jmp 0x42c538
push str.Successfully_loadedCM_Get_Device_ID_Size_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.CM_Get_Parent
push dword [0x486dec]
call edi
test eax, eax
mov dword [0x486d94], eax
jne 0x42c55f
push str.Unable_to_load_CM_Get_Parent_from_ghConfigLib_n
jmp 0x42c564
push str.Successfully_loadedCM_Get_Parent_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.CM_Get_Child
push dword [0x486dec]
call edi
test eax, eax
mov dword [0x486d88], eax
jne 0x42c58b
push str.Unable_to_load_CM_Get_Child_from_ghConfigLib_n
jmp 0x42c590
push str.Successfully_loadedCM_Get_Child_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.CM_Get_Sibling
push dword [0x486dec]
call edi
test eax, eax
mov dword [0x486db4], eax
jne 0x42c5b7
push str.Unable_to_load_CM_Get_Sibling_from_ghConfigLib_n
jmp 0x42c5bc
push str.Successfully_loadedCM_Get_Sibling_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.CM_Get_DevNode_Status
push dword [0x486dec]
call edi
test eax, eax
mov dword [0x486d4c], eax
jne 0x42c5e3
push str.Unable_to_load_CM_Get_DevNode_Status_from_ghConfigLib_n
jmp 0x42c5e8
push str.Successfully_loadedCM_Get_DevNode_Status_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.CM_Locate_DevNodeA
push dword [0x486dec]
call edi
test eax, eax
mov dword [0x486d48], eax
jne 0x42c60f
push str.Unable_to_load_CM_Locate_DevNode_from_ghConfigLib_n
jmp 0x42c614
push str.Successfully_loaded_CM_Locate_DevNode_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.CM_Reenumerate_DevNode_Ex
push dword [0x486dec]
call edi
test eax, eax
mov dword [0x486dac], eax
jne 0x42c63b
push str.Unable_to_load_CM_Reenumerate_DevNode_Ex_from_ghConfigLib_n
jmp 0x42c640
push str.Successfully_loadedCM_Reenumerate_DevNode_Ex_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.CM_Reenumerate_DevNode
push dword [0x486dec]
call edi
test eax, eax
mov dword [0x486dd0], eax
jne 0x42c667
push str.Unable_to_load_CM_Reenumerate_DevNode_from_ghConfigLib_n
jmp 0x42c66c
push str.Successfully_loadedCM_Reenumerate_DevNode_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.CM_Locate_DevNode_ExA
push dword [0x486dec]
call edi
test eax, eax
mov dword [0x486d40], eax
jne 0x42c693
push str.Unable_to_load_CM_Locate_DevNode_Ex_from_ghConfigLib_n
jmp 0x42c698
push str.Successfully_loaded_CM_Locate_DevNode_Ex_n
push ebp
push esi
call fcn.004011d0
add esp, 0xc
push str.OpenSetupAndConfigLib_returns_n
push esi
call fcn.0041ea35
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret