Function at 0x405470
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0
je 0x405482
mov eax, 1
pop esi
ret 4
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x68], eax
jne 0x40549e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
ret 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DITDI_GetVersion
push eax
call edi
test eax, eax
mov dword [esi + 4], eax
jne 0x4054ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call fcn.00405360
mov eax, edi
pop edi
pop esi
ret 4
mov ecx, esi
call fcn.004053d0
shr eax, 0x10
cmp eax, 2
jne 0x405634
mov ecx, dword [esi + 0x68]
push str.DITDI_EnableLogFile
push ecx
call edi
mov edx, dword [esi + 0x68]
push str.DITDI_DisableLogFile
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x68]
push str.DITDI_IsPnPInstallationPending
push eax
call edi
mov ecx, dword [esi + 0x68]
push str.DITDI_DeleteInfFiles
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 0x68]
push str.DITDI_DeleteInfFilesByHardwareIDs
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x68]
push str.DITDI_DeleteDevNodes
push eax
call edi
mov ecx, dword [esi + 0x68]
push str.DITDI_DeleteDevNodesByHardwareIDs
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi + 0x68]
push str.DITDI_DeleteDriver
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x68]
push str.DITDI_CopyFile
push eax
call edi
mov ecx, dword [esi + 0x68]
push str.DITDI_DeleteFile
push ecx
mov dword [esi + 0x28], eax
call edi
mov edx, dword [esi + 0x68]
push str.DITDI_PreInstall
push edx
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x68]
push str.DITDI_UpdateDrivers
push eax
call edi
mov ecx, dword [esi + 0x68]
push str.DITDI_UpdateDriversByHardwareIDs
push ecx
mov dword [esi + 0x34], eax
call edi
mov edx, dword [esi + 0x68]
push str.DITDI_Rescan
push edx
mov dword [esi + 0x38], eax
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x68]
push str.DITDI_EnumerateDevNodes
push eax
call edi
mov ecx, dword [esi + 0x68]
push str.DITDI_EnumerateDevNodesByHardwareIDs
push ecx
mov dword [esi + 0x40], eax
call edi
mov dword [esi + 0x44], eax
push str.DITDI_GetDevNodeInfo
mov edx, dword [esi + 0x68]
push edx
call edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x68]
push str.DITDI_GetDevNodeInfoByHardwareIDs
push eax
call edi
mov ecx, dword [esi + 0x68]
push str.DITDI_IsWinXP
push ecx
mov dword [esi + 0x4c], eax
call edi
mov edx, dword [esi + 0x68]
push str.DITDI_IsWin2000
push edx
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x68]
push str.DITDI_GetServicePack
push eax
call edi
mov ecx, dword [esi + 0x68]
push str.DITDI_Reboot
push ecx
mov dword [esi + 0x58], eax
call edi
mov edx, dword [esi + 0x68]
push str.DITDI_IsAdmin
push edx
mov dword [esi + 0x5c], eax
call edi
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x68]
push str.DITDI_Is64BitWindows
push eax
call edi
mov dword [esi + 0x64], eax
pop edi
xor eax, eax
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4