Function at 0x4118e9
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, 0x4398a0
push str.OpenSetupAndConfigLib_n
push esi
call fcn.0040635b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ecx
xor eax, eax
cmp dword [0x449a58], eax
pop ecx
push 0x20
pop ebp
je 0x41194e
cmp dword [0x449a5c], eax
je 0x41194e
cmp dword [0x449a60], eax
je 0x41195b
cmp dword [0x449a64], eax
jne 0x4121f3
call fcn.0040a219
test eax, eax
jne 0x4121f3
call fcn.0040a245
test eax, eax
jne 0x4121f3
cmp dword [0x449a60], 0
jne 0x411aac
push str.kernel32.dll
call ebx
test eax, eax
mov dword [0x449a60], eax
jne 0x41197d
push str.Unable_to_load_kernel32.dll_n
push esi
call fcn.004064e5
pop ecx
pop ecx
jmp 0x411aac
push str.GetLongPathNameA
push eax
call edi
test eax, eax
mov dword [0x4499b4], eax
jne 0x411995
push str.Unable_to_load_GetLongPathName_from_ghKernelLib_n
jmp 0x41199a
push str.Successfully_loaded_GetLongPathName_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.GetDiskFreeSpaceExA
push dword [0x449a60]
call edi
test eax, eax
mov dword [0x4499e8], eax
jne 0x4119c1
push str.Unable_to_load_GetDiskFreeSpaceEx_from_ghKernelLib_n
jmp 0x4119c6
push str.Successfully_loaded_GetDiskFreeSpaceEx_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.CreateToolhelp32Snapshot
push dword [0x449a60]
call edi
test eax, eax
mov dword [0x4499e0], eax
jne 0x4119ed
push str.Unable_to_load_CreateToolhelp32Snapshot_from_ghKernelLib_n
jmp 0x4119f2
push str.Successfully_loadedCreateToolhelp32Snapshot_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.Process32First
push dword [0x449a60]
call edi
test eax, eax
mov dword [0x4499c0], eax
jne 0x411a19
push str.Unable_to_load_Process32First_from_ghKernelLib_n
jmp 0x411a1e
push str.Successfully_loadedProcess32First_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.Process32Next
push dword [0x449a60]
call edi
test eax, eax
mov dword [0x449a30], eax
jne 0x411a45
push str.Unable_to_load_Process32Next_from_ghKernelLib_n
jmp 0x411a4a
push str.Successfully_loadedProcess32Next_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.Wow64EnableWow64FsRedirection
push dword [0x449a60]
call edi
test eax, eax
mov dword [0x449a54], eax
jne 0x411a71
push str.Unable_to_load_Wow64EnableWow64FsRedirection_from_ghKernelLib_n
jmp 0x411a76
push str.Successfully_loadedWow64EnableWow64FsRedirection_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.GetSystemWow64DirectoryA
push dword [0x449a60]
call edi
test eax, eax
mov dword [0x449a0c], eax
jne 0x411a9d
push str.Unable_to_load_GetSystemWow64Directory_from_ghKernelLib_n
jmp 0x411aa2
push str.Successfully_loaded_GetSystemWow64Directory_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
cmp dword [0x449a64], 0
jne 0x411b16
call fcn.0040a089
test eax, eax
je 0x411ac7
call fcn.0040a0a7
test eax, eax
je 0x411ad0
call fcn.0040a245
test eax, eax
je 0x411b16
push str.newdev.dll
call ebx
test eax, eax
mov dword [0x449a64], eax
jne 0x411aef
push str.Unable_to_load_newdev.dll_n
push esi
call fcn.004064e5
pop ecx
pop ecx
jmp 0x411b16
push str.UpdateDriverForPlugAndPlayDevicesA
push eax
call edi
test eax, eax
mov dword [0x4499ec], eax
jne 0x411b07
push str.Unable_to_load_UpdateDriverForPlugAndPlayDevices_from_ghNewdevLib_n
jmp 0x411b0c
push str.Successfully_loaded_UpdateDriverForPlugAndPlayDevices_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
cmp dword [0x449a58], 0
jne 0x412000
push str.setupapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x449a58], eax
jne 0x411b49
push str.Unable_to_load_setupapi.dll_n
push esi
call fcn.004064e5
pop ecx
pop ecx
jmp 0x412000
push str.SetupDiGetDeviceInstallParamsA
push eax
call edi
test eax, eax
mov dword [0x449a44], eax
jne 0x411b61
push str.Unable_to_load_SetupDiGetDeviceInstallParams_from_ghSetupLib_n
jmp 0x411b66
push str.Successfully_loaded_SetupDiGetDeviceInstallParams_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiGetDeviceRegistryPropertyA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a28], eax
jne 0x411b8d
push str.Unable_to_load_SetupDiGetDeviceRegistryProperty_from_ghSetupLib_n
jmp 0x411b92
push str.Successfully_loaded_SetupDiGetDeviceRegistryProperty_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiGetSelectedDriverA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499dc], eax
jne 0x411bb9
push str.Unable_to_load_SetupDiGetSelectedDriver_from_ghSetupLib_n
jmp 0x411bbe
push str.Successfully_loaded_SetupDiGetSelectedDriver_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupCopyOEMInfA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a4c], eax
jne 0x411be5
push str.Unable_to_load_SetupCopyOEMInf_from_ghSetupLib_n
jmp 0x411bea
push str.Successfully_loaded_SetupCopyOEMInf_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupFreeSourceListA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499e4], eax
jne 0x411c11
push str.Unable_to_load_SetupFreeSourceList_from_ghSetupLib_n
jmp 0x411c16
push str.Successfully_loaded_SetupFreeSourceList_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupQuerySourceListA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a34], eax
jne 0x411c3d
push str.Unable_to_load_SetupQuerySourceList_from_ghSetupLib_n
jmp 0x411c42
push str.Successfully_loaded_SetupQuerySourceList_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
mov ebx, str.SetupDiOpenClassRegKeyExA
push ebx
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a50], eax
jne 0x411c6a
push str.Unable_to_load_SetupDiOpenClassRegKeyEx_from_ghSetupLib_n
jmp 0x411c6f
push str.Successfully_loaded_SetupDiOpenClassRegKeyEx_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiGetClassDevsA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499ac], eax
jne 0x411c96
push str.Unable_to_load_SetupDiGetClassDevs_from_ghSetupLib_n
jmp 0x411c9b
push str.Successfully_loaded_SetupDiGetClassDevs_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiGetDeviceInterfaceDetailA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a08], eax
jne 0x411cc2
push str.Unable_to_load_SetupDiGetDeviceInterfaceDetail_from_ghSetupLib_n
jmp 0x411cc7
push str.Successfully_loaded_SetupDiGetDeviceInterfaceDetail_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push ebx
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a50], eax
jne 0x411cea
push str.Unable_to_load_SetupDiOpenClassRegKeyEx_from_ghSetupLib_n
jmp 0x411cef
push str.Successfully_loaded_SetupDiOpenClassRegKeyEx_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiClassNameFromGuidA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a14], eax
jne 0x411d16
push str.Unable_to_load_SetupDiClassNameFromGuid_from_ghSetupLib_n
jmp 0x411d1b
push str.Successfully_loaded_SetupDiClassNameFromGuid_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiGetDeviceInstanceIdA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a18], eax
jne 0x411d42
push str.Unable_to_load_SetupDiGetDeviceInstanceId_from_ghSetupLib_n
jmp 0x411d47
push str.Successfully_loaded_SetupDiGetDeviceInstanceId_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiGetClassInstallParamsA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a3c], eax
jne 0x411d6e
push str.Unable_to_load_SetupDiGetClassInstallParams_from_ghSetupLib_n
jmp 0x411d73
push str.Successfully_loaded_SetupDiGetClassInstallParams_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiInstallClassExA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a48], eax
jne 0x411d9a
push str.Unable_to_load_SetupDiInstallClassEx_from_ghSetupLib_n
jmp 0x411d9f
push str.Successfully_loaded_SetupDiInstallClassEx_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupAddToSourceListA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499c4], eax
jne 0x411dc6
push str.Unable_to_load_SetupAddToSourceList_from_ghSetupLib_n
jmp 0x411dcb
push str.Successfully_loaded_SetupAddToSourceList_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
call fcn.0040a1fd
test eax, eax
jne 0x411e1c
call fcn.0040a0a7
test eax, eax
jne 0x411e1c
call fcn.0040a0c5
test eax, eax
jne 0x411e1c
push str.SetupUninstallOEMInfA
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499fc], eax
jne 0x411e0d
push str.Unable_to_load_SetupUninstallOEMInf_from_ghSetupLib_n
jmp 0x411e12
push str.Successfully_loaded_SetupUninstallOEMInf_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.CMP_WaitNoPendingInstallEvents
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499d4], eax
jne 0x411e39
push str.Unable_to_load_CMP_WaitNoPendingInstallEvents_from_ghSetupLib_n
jmp 0x411e3e
push str.Successfully_loadedCMP_WaitNoPendingInstallEvents_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiEnumDeviceInterfaces
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499a8], eax
jne 0x411e65
push str.Unable_to_load_SetupDiEnumDeviceInterfaces_from_ghSetupLib_n
jmp 0x411e6a
push str.Successfully_loadedSetupDiEnumDeviceInterfaces_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiOpenDeviceInterfaceRegKey
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a00], eax
jne 0x411e91
push str.Unable_to_load_SetupDiOpenDeviceInterfaceRegKey_from_ghSetupLib_n
jmp 0x411e96
push str.Successfully_loadedSetupDiOpenDeviceInterfaceRegKey_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiDestroyDeviceInfoList
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499f4], eax
jne 0x411ebd
push str.Unable_to_load_SetupDiDestroyDeviceInfoList_from_ghSetupLib_n
jmp 0x411ec2
push str.Successfully_loadedSetupDiDestroyDeviceInfoList_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiBuildClassInfoList
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499cc], eax
jne 0x411ee9
push str.Unable_to_load_SetupDiBuildClassInfoList_from_ghSetupLib_n
jmp 0x411eee
push str.Successfully_loadedSetupDiBuildClassInfoList_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiEnumDeviceInfo
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a38], eax
jne 0x411f15
push str.Unable_to_load_SetupDiEnumDeviceInfo_from_ghSetupLib_n
jmp 0x411f1a
push str.Successfully_loadedSetupDiEnumDeviceInfo_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiDestroyDriverInfoList
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499c8], eax
jne 0x411f41
push str.Unable_to_load_SetupDiDestroyDriverInfoList_from_ghSetupLib_n
jmp 0x411f46
push str.Successfully_loadedSetupDiDestroyDriverInfoList_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupOpenFileQueue
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499d8], eax
jne 0x411f6d
push str.Unable_to_load_SetupOpenFileQueue_from_ghSetupLib_n
jmp 0x411f72
push str.Successfully_loadedSetupOpenFileQueue_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupCloseFileQueue
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a20], eax
jne 0x411f99
push str.Unable_to_load_SetupCloseFileQueue_from_ghSetupLib_n
jmp 0x411f9e
push str.Successfully_loadedSetupCloseFileQueue_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiOpenClassRegKey
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x4499d0], eax
jne 0x411fc5
push str.Unable_to_load_SetupDiOpenClassRegKey_from_ghSetupLib_n
jmp 0x411fca
push str.Successfully_loadedSetupDiOpenClassRegKey_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.SetupDiRemoveDevice
push dword [0x449a58]
call edi
test eax, eax
mov dword [0x449a2c], eax
jne 0x411ff1
push str.Unable_to_load_SetupDiRemoveDevice_from_ghSetupLib_n
jmp 0x411ff6
push str.Successfully_loadedSetupDiRemoveDevice_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
cmp dword [0x449a5c], 0
jne 0x4121e6
push str.cfgmgr32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x449a5c], eax
jne 0x412033
push str.Unable_to_load_cfgmgr32.dll_n
push esi
call fcn.004064e5
pop ecx
pop ecx
jmp 0x4121e6
push str.CM_Get_Device_IDA
push eax
call edi
test eax, eax
mov dword [0x449a10], eax
jne 0x41204b
push str.Unable_to_load_CM_Get_Device_ID_from_ghConfigLib_n
jmp 0x412050
push str.Successfully_loaded_CM_Get_Device_ID_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.CM_Get_Device_ID_Size
push dword [0x449a5c]
call edi
test eax, eax
mov dword [0x4499f0], eax
jne 0x412077
push str.Unable_to_load_CM_Get_Device_ID_Size_from_ghConfigLib_n
jmp 0x41207c
push str.Successfully_loadedCM_Get_Device_ID_Size_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.CM_Get_Parent
push dword [0x449a5c]
call edi
test eax, eax
mov dword [0x449a04], eax
jne 0x4120a3
push str.Unable_to_load_CM_Get_Parent_from_ghConfigLib_n
jmp 0x4120a8
push str.Successfully_loadedCM_Get_Parent_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.CM_Get_Child
push dword [0x449a5c]
call edi
test eax, eax
mov dword [0x4499f8], eax
jne 0x4120cf
push str.Unable_to_load_CM_Get_Child_from_ghConfigLib_n
jmp 0x4120d4
push str.Successfully_loadedCM_Get_Child_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.CM_Get_Sibling
push dword [0x449a5c]
call edi
test eax, eax
mov dword [0x449a24], eax
jne 0x4120fb
push str.Unable_to_load_CM_Get_Sibling_from_ghConfigLib_n
jmp 0x412100
push str.Successfully_loadedCM_Get_Sibling_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.CM_Get_DevNode_Status
push dword [0x449a5c]
call edi
test eax, eax
mov dword [0x4499bc], eax
jne 0x412127
push str.Unable_to_load_CM_Get_DevNode_Status_from_ghConfigLib_n
jmp 0x41212c
push str.Successfully_loadedCM_Get_DevNode_Status_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.CM_Locate_DevNodeA
push dword [0x449a5c]
call edi
test eax, eax
mov dword [0x4499b8], eax
jne 0x412153
push str.Unable_to_load_CM_Locate_DevNode_from_ghConfigLib_n
jmp 0x412158
push str.Successfully_loaded_CM_Locate_DevNode_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.CM_Reenumerate_DevNode_Ex
push dword [0x449a5c]
call edi
test eax, eax
mov dword [0x449a1c], eax
jne 0x41217f
push str.Unable_to_load_CM_Reenumerate_DevNode_Ex_from_ghConfigLib_n
jmp 0x412184
push str.Successfully_loadedCM_Reenumerate_DevNode_Ex_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.CM_Reenumerate_DevNode
push dword [0x449a5c]
call edi
test eax, eax
mov dword [0x449a40], eax
jne 0x4121ab
push str.Unable_to_load_CM_Reenumerate_DevNode_from_ghConfigLib_n
jmp 0x4121b0
push str.Successfully_loadedCM_Reenumerate_DevNode_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.CM_Locate_DevNode_ExA
push dword [0x449a5c]
call edi
test eax, eax
mov dword [0x4499b0], eax
jne 0x4121d7
push str.Unable_to_load_CM_Locate_DevNode_Ex_from_ghConfigLib_n
jmp 0x4121dc
push str.Successfully_loaded_CM_Locate_DevNode_Ex_n
push ebp
push esi
call fcn.004011e0
add esp, 0xc
push str.OpenSetupAndConfigLib_returns_n
push esi
call fcn.0040635b
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret