Function at 0x42e33a
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
push str.OpenSetupAndConfigLib_n
mov esi, 0x4932a8
push esi
call fcn.0041ffa2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ecx
pop ecx
xor eax, eax
cmp dword [0x4a3a58], eax
push 0x20
pop ebp
je 0x42e39f
cmp dword [0x4a3a5c], eax
je 0x42e39f
cmp dword [0x4a3a60], eax
je 0x42e3ac
cmp dword [0x4a3a64], eax
jne 0x42ec70
call fcn.0042a063
test eax, eax
jne 0x42ec70
call fcn.0042a08b
test eax, eax
jne 0x42ec70
cmp dword [0x4a3a60], 0
jne 0x42e4fd
push str.kernel32.dll
call ebx
test eax, eax
mov dword [0x4a3a60], eax
jne 0x42e3ce
push str.Unable_to_load_kernel32.dll_n
push esi
call fcn.0041fb18
pop ecx
pop ecx
jmp 0x42e4fd
push str.GetLongPathNameA
push eax
call edi
test eax, eax
mov dword [0x4a39a8], eax
jne 0x42e3e6
push str.Unable_to_load_GetLongPathName_from_ghKernelLib_n
jmp 0x42e3eb
push str.Successfully_loaded_GetLongPathName_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.GetDiskFreeSpaceExA
push dword [0x4a3a60]
call edi
test eax, eax
mov dword [0x4a3a54], eax
jne 0x42e412
push str.Unable_to_load_GetDiskFreeSpaceEx_from_ghKernelLib_n
jmp 0x42e417
push str.Successfully_loaded_GetDiskFreeSpaceEx_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.CreateToolhelp32Snapshot
push dword [0x4a3a60]
call edi
test eax, eax
mov dword [0x4a39b8], eax
jne 0x42e43e
push str.Unable_to_load_CreateToolhelp32Snapshot_from_ghKernelLib_n
jmp 0x42e443
push str.Successfully_loadedCreateToolhelp32Snapshot_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.Process32First
push dword [0x4a3a60]
call edi
test eax, eax
mov dword [0x4a39bc], eax
jne 0x42e46a
push str.Unable_to_load_Process32First_from_ghKernelLib_n
jmp 0x42e46f
push str.Successfully_loadedProcess32First_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.Process32Next
push dword [0x4a3a60]
call edi
test eax, eax
mov dword [0x4a39d0], eax
jne 0x42e496
push str.Unable_to_load_Process32Next_from_ghKernelLib_n
jmp 0x42e49b
push str.Successfully_loadedProcess32Next_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.Wow64EnableWow64FsRedirection
push dword [0x4a3a60]
call edi
test eax, eax
mov dword [0x4a3a04], eax
jne 0x42e4c2
push str.Unable_to_load_Wow64EnableWow64FsRedirection_from_ghKernelLib_n
jmp 0x42e4c7
push str.Successfully_loadedWow64EnableWow64FsRedirection_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.GetSystemWow64DirectoryA
push dword [0x4a3a60]
call edi
test eax, eax
mov dword [0x4a3a34], eax
jne 0x42e4ee
push str.Unable_to_load_GetSystemWow64Directory_from_ghKernelLib_n
jmp 0x42e4f3
push str.Successfully_loaded_GetSystemWow64Directory_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
cmp dword [0x4a3a64], 0
jne 0x42e567
call fcn.00429eef
test eax, eax
je 0x42e518
call fcn.00429f0d
test eax, eax
je 0x42e521
call fcn.0042a08b
test eax, eax
je 0x42e567
push str.newdev.dll
call ebx
test eax, eax
mov dword [0x4a3a64], eax
jne 0x42e540
push str.Unable_to_load_newdev.dll_n
push esi
call fcn.0041fb18
pop ecx
pop ecx
jmp 0x42e567
push str.UpdateDriverForPlugAndPlayDevicesA
push eax
call edi
test eax, eax
mov dword [0x4a39d4], eax
jne 0x42e558
push str.Unable_to_load_UpdateDriverForPlugAndPlayDevices_from_ghNewdevLib_n
jmp 0x42e55d
push str.Successfully_loaded_UpdateDriverForPlugAndPlayDevices_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
cmp dword [0x4a3a58], 0
jne 0x42ea7d
push str.setupapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4a3a58], eax
jne 0x42e59a
push str.Unable_to_load_setupapi.dll_n
push esi
call fcn.0041fb18
pop ecx
pop ecx
jmp 0x42ea7d
push str.SetupDiGetDeviceInstallParamsA
push eax
call edi
test eax, eax
mov dword [0x4a39fc], eax
jne 0x42e5b2
push str.Unable_to_load_SetupDiGetDeviceInstallParams_from_ghSetupLib_n
jmp 0x42e5b7
push str.Successfully_loaded_SetupDiGetDeviceInstallParams_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiGetDeviceRegistryPropertyA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a3c], eax
jne 0x42e5de
push str.Unable_to_load_SetupDiGetDeviceRegistryProperty_from_ghSetupLib_n
jmp 0x42e5e3
push str.Successfully_loaded_SetupDiGetDeviceRegistryProperty_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiGetSelectedDriverA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a0c], eax
jne 0x42e60a
push str.Unable_to_load_SetupDiGetSelectedDriver_from_ghSetupLib_n
jmp 0x42e60f
push str.Successfully_loaded_SetupDiGetSelectedDriver_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupCopyOEMInfA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a24], eax
jne 0x42e636
push str.Unable_to_load_SetupCopyOEMInf_from_ghSetupLib_n
jmp 0x42e63b
push str.Successfully_loaded_SetupCopyOEMInf_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupFreeSourceListA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a50], eax
jne 0x42e662
push str.Unable_to_load_SetupFreeSourceList_from_ghSetupLib_n
jmp 0x42e667
push str.Successfully_loaded_SetupFreeSourceList_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupQuerySourceListA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a48], eax
jne 0x42e68e
push str.Unable_to_load_SetupQuerySourceList_from_ghSetupLib_n
jmp 0x42e693
push str.Successfully_loaded_SetupQuerySourceList_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
mov ebx, str.SetupDiOpenClassRegKeyExA
push ebx
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a4c], eax
jne 0x42e6bb
push str.Unable_to_load_SetupDiOpenClassRegKeyEx_from_ghSetupLib_n
jmp 0x42e6c0
push str.Successfully_loaded_SetupDiOpenClassRegKeyEx_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiGetClassDevsA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39b0], eax
jne 0x42e6e7
push str.Unable_to_load_SetupDiGetClassDevs_from_ghSetupLib_n
jmp 0x42e6ec
push str.Successfully_loaded_SetupDiGetClassDevs_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiGetDeviceInterfaceDetailA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a44], eax
jne 0x42e713
push str.Unable_to_load_SetupDiGetDeviceInterfaceDetail_from_ghSetupLib_n
jmp 0x42e718
push str.Successfully_loaded_SetupDiGetDeviceInterfaceDetail_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push ebx
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a4c], eax
jne 0x42e73b
push str.Unable_to_load_SetupDiOpenClassRegKeyEx_from_ghSetupLib_n
jmp 0x42e740
push str.Successfully_loaded_SetupDiOpenClassRegKeyEx_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiClassNameFromGuidA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a30], eax
jne 0x42e767
push str.Unable_to_load_SetupDiClassNameFromGuid_from_ghSetupLib_n
jmp 0x42e76c
push str.Successfully_loaded_SetupDiClassNameFromGuid_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiGetDeviceInstanceIdA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39b4], eax
jne 0x42e793
push str.Unable_to_load_SetupDiGetDeviceInstanceId_from_ghSetupLib_n
jmp 0x42e798
push str.Successfully_loaded_SetupDiGetDeviceInstanceId_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiGetClassInstallParamsA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39e8], eax
jne 0x42e7bf
push str.Unable_to_load_SetupDiGetClassInstallParams_from_ghSetupLib_n
jmp 0x42e7c4
push str.Successfully_loaded_SetupDiGetClassInstallParams_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiInstallClassExA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39f8], eax
jne 0x42e7eb
push str.Unable_to_load_SetupDiInstallClassEx_from_ghSetupLib_n
jmp 0x42e7f0
push str.Successfully_loaded_SetupDiInstallClassEx_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupAddToSourceListA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39d8], eax
jne 0x42e817
push str.Unable_to_load_SetupAddToSourceList_from_ghSetupLib_n
jmp 0x42e81c
push str.Successfully_loaded_SetupAddToSourceList_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiOpenDeviceInfoA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a1c], eax
jne 0x42e843
push str.Unable_to_load_SetupDiOpenDeviceInfo_from_ghSetupLib_n
jmp 0x42e848
push str.Successfully_loaded_SetupDiOpenDeviceInfo_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
call fcn.0042a022
test eax, eax
jne 0x42e899
call fcn.00429f0d
test eax, eax
jne 0x42e899
call fcn.00429f2b
test eax, eax
jne 0x42e899
push str.SetupUninstallOEMInfA
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39ec], eax
jne 0x42e88a
push str.Unable_to_load_SetupUninstallOEMInf_from_ghSetupLib_n
jmp 0x42e88f
push str.Successfully_loaded_SetupUninstallOEMInf_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.CMP_WaitNoPendingInstallEvents
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39ac], eax
jne 0x42e8b6
push str.Unable_to_load_CMP_WaitNoPendingInstallEvents_from_ghSetupLib_n
jmp 0x42e8bb
push str.Successfully_loadedCMP_WaitNoPendingInstallEvents_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiEnumDeviceInterfaces
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a20], eax
jne 0x42e8e2
push str.Unable_to_load_SetupDiEnumDeviceInterfaces_from_ghSetupLib_n
jmp 0x42e8e7
push str.Successfully_loadedSetupDiEnumDeviceInterfaces_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiOpenDeviceInterfaceRegKey
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39c0], eax
jne 0x42e90e
push str.Unable_to_load_SetupDiOpenDeviceInterfaceRegKey_from_ghSetupLib_n
jmp 0x42e913
push str.Successfully_loadedSetupDiOpenDeviceInterfaceRegKey_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiDestroyDeviceInfoList
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a38], eax
jne 0x42e93a
push str.Unable_to_load_SetupDiDestroyDeviceInfoList_from_ghSetupLib_n
jmp 0x42e93f
push str.Successfully_loadedSetupDiDestroyDeviceInfoList_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiBuildClassInfoList
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a2c], eax
jne 0x42e966
push str.Unable_to_load_SetupDiBuildClassInfoList_from_ghSetupLib_n
jmp 0x42e96b
push str.Successfully_loadedSetupDiBuildClassInfoList_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiEnumDeviceInfo
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39f4], eax
jne 0x42e992
push str.Unable_to_load_SetupDiEnumDeviceInfo_from_ghSetupLib_n
jmp 0x42e997
push str.Successfully_loadedSetupDiEnumDeviceInfo_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiDestroyDriverInfoList
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39e4], eax
jne 0x42e9be
push str.Unable_to_load_SetupDiDestroyDriverInfoList_from_ghSetupLib_n
jmp 0x42e9c3
push str.Successfully_loadedSetupDiDestroyDriverInfoList_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupOpenFileQueue
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39cc], eax
jne 0x42e9ea
push str.Unable_to_load_SetupOpenFileQueue_from_ghSetupLib_n
jmp 0x42e9ef
push str.Successfully_loadedSetupOpenFileQueue_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupCloseFileQueue
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a39c4], eax
jne 0x42ea16
push str.Unable_to_load_SetupCloseFileQueue_from_ghSetupLib_n
jmp 0x42ea1b
push str.Successfully_loadedSetupCloseFileQueue_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiOpenClassRegKey
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a18], eax
jne 0x42ea42
push str.Unable_to_load_SetupDiOpenClassRegKey_from_ghSetupLib_n
jmp 0x42ea47
push str.Successfully_loadedSetupDiOpenClassRegKey_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.SetupDiRemoveDevice
push dword [0x4a3a58]
call edi
test eax, eax
mov dword [0x4a3a40], eax
jne 0x42ea6e
push str.Unable_to_load_SetupDiRemoveDevice_from_ghSetupLib_n
jmp 0x42ea73
push str.Successfully_loadedSetupDiRemoveDevice_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
cmp dword [0x4a3a5c], 0
jne 0x42ec63
push str.cfgmgr32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4a3a5c], eax
jne 0x42eab0
push str.Unable_to_load_cfgmgr32.dll_n
push esi
call fcn.0041fb18
pop ecx
pop ecx
jmp 0x42ec63
push str.CM_Get_Device_IDA
push eax
call edi
test eax, eax
mov dword [0x4a39a4], eax
jne 0x42eac8
push str.Unable_to_load_CM_Get_Device_ID_from_ghConfigLib_n
jmp 0x42eacd
push str.Successfully_loaded_CM_Get_Device_ID_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.CM_Get_Device_ID_Size
push dword [0x4a3a5c]
call edi
test eax, eax
mov dword [0x4a3a28], eax
jne 0x42eaf4
push str.Unable_to_load_CM_Get_Device_ID_Size_from_ghConfigLib_n
jmp 0x42eaf9
push str.Successfully_loadedCM_Get_Device_ID_Size_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.CM_Get_Parent
push dword [0x4a3a5c]
call edi
test eax, eax
mov dword [0x4a39e0], eax
jne 0x42eb20
push str.Unable_to_load_CM_Get_Parent_from_ghConfigLib_n
jmp 0x42eb25
push str.Successfully_loadedCM_Get_Parent_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.CM_Get_Child
push dword [0x4a3a5c]
call edi
test eax, eax
mov dword [0x4a3a14], eax
jne 0x42eb4c
push str.Unable_to_load_CM_Get_Child_from_ghConfigLib_n
jmp 0x42eb51
push str.Successfully_loadedCM_Get_Child_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.CM_Get_Sibling
push dword [0x4a3a5c]
call edi
test eax, eax
mov dword [0x4a3a08], eax
jne 0x42eb78
push str.Unable_to_load_CM_Get_Sibling_from_ghConfigLib_n
jmp 0x42eb7d
push str.Successfully_loadedCM_Get_Sibling_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.CM_Get_DevNode_Status
push dword [0x4a3a5c]
call edi
test eax, eax
mov dword [0x4a3a00], eax
jne 0x42eba4
push str.Unable_to_load_CM_Get_DevNode_Status_from_ghConfigLib_n
jmp 0x42eba9
push str.Successfully_loadedCM_Get_DevNode_Status_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.CM_Locate_DevNodeA
push dword [0x4a3a5c]
call edi
test eax, eax
mov dword [0x4a39dc], eax
jne 0x42ebd0
push str.Unable_to_load_CM_Locate_DevNode_from_ghConfigLib_n
jmp 0x42ebd5
push str.Successfully_loaded_CM_Locate_DevNode_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.CM_Reenumerate_DevNode_Ex
push dword [0x4a3a5c]
call edi
test eax, eax
mov dword [0x4a39c8], eax
jne 0x42ebfc
push str.Unable_to_load_CM_Reenumerate_DevNode_Ex_from_ghConfigLib_n
jmp 0x42ec01
push str.Successfully_loadedCM_Reenumerate_DevNode_Ex_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.CM_Reenumerate_DevNode
push dword [0x4a3a5c]
call edi
test eax, eax
mov dword [0x4a3a10], eax
jne 0x42ec28
push str.Unable_to_load_CM_Reenumerate_DevNode_from_ghConfigLib_n
jmp 0x42ec2d
push str.Successfully_loadedCM_Reenumerate_DevNode_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.CM_Locate_DevNode_ExA
push dword [0x4a3a5c]
call edi
test eax, eax
mov dword [0x4a39f0], eax
jne 0x42ec54
push str.Unable_to_load_CM_Locate_DevNode_Ex_from_ghConfigLib_n
jmp 0x42ec59
push str.Successfully_loaded_CM_Locate_DevNode_Ex_n
push ebp
push esi
call fcn.00401300
add esp, 0xc
push str.OpenSetupAndConfigLib_returns_n
push esi
call fcn.0041ffa2
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
ret