Function at 0x44d120
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9f18
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x659fd4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x34], edi
push str.srl::SetupLib::Initialize
lea ecx, [ebp - 0x30]
call fcn.004128a0
mov dword [ebp - 4], 0
call fcn.00419ac0
cmp dword [eax + 4], 4
jl 0x44d17b
push ecx
lea ecx, [ebp - 0x30]
call fcn.00411500
mov byte [ebp - 4], 1
cmp byte [edi + 0x1c], 0
jne 0x44d38b
push str.setupapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x20], eax
test eax, eax
je 0x44d2d5
push str.SetupDiGetClassDevsW
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [edi + 0x24], eax
push str.SetupDiEnumDeviceInfo
push dword [edi + 0x20]
call esi
mov dword [edi + 0x28], eax
push str.SetupDiGetDeviceRegistryPropertyW
push dword [edi + 0x20]
call esi
mov dword [edi + 0x2c], eax
push str.SetupDiGetDeviceInstanceIdW
push dword [edi + 0x20]
call esi
mov dword [edi + 0x30], eax
push str.SetupFindFirstLineW
push dword [edi + 0x20]
call esi
mov dword [edi + 0x34], eax
push str.SetupFindNextLine
push dword [edi + 0x20]
call esi
mov dword [edi + 0x38], eax
push str.SetupGetLineTextW
push dword [edi + 0x20]
call esi
mov dword [edi + 0x3c], eax
push str.SetupOpenInfFileW
push dword [edi + 0x20]
call esi
mov dword [edi + 0x40], eax
push str.SetupCloseInfFile
push dword [edi + 0x20]
call esi
mov dword [edi + 0x44], eax
push str.SetupDiOpenDevRegKey
push dword [edi + 0x20]
call esi
mov dword [edi + 0x48], eax
push str.SetupDiDestroyDeviceInfoList
push dword [edi + 0x20]
call esi
mov dword [edi + 0x4c], eax
cmp dword [edi + 0x24], 0
je 0x44d27b
cmp dword [edi + 0x28], 0
je 0x44d27b
cmp dword [edi + 0x2c], 0
je 0x44d27b
cmp dword [edi + 0x30], 0
je 0x44d27b
cmp dword [edi + 0x34], 0
je 0x44d27b
cmp dword [edi + 0x38], 0
je 0x44d27b
cmp dword [edi + 0x3c], 0
je 0x44d27b
cmp dword [edi + 0x40], 0
je 0x44d27b
cmp dword [edi + 0x44], 0
je 0x44d27b
cmp dword [edi + 0x48], 0
je 0x44d27b
test eax, eax
je 0x44d27b
mov byte [edi + 0x1c], 1
jmp 0x44d38b
call fcn.00419ac0
cmp dword [eax + 4], 1
jl 0x44d38b
push 1
push ecx
call fcn.00419ac0
add esp, 4
mov ecx, eax
call fcn.00419ef0
mov esi, eax
call fcn.00419ac0
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x44d2ae
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00411930
add esp, 4
mov edx, str.Error_getting_proc_addresses_from_Setup_library.
mov ecx, eax
call fcn.004115a0
push eax
call fcn.004127a0
add esp, 4
jmp 0x44d38b
call fcn.00419ac0
cmp dword [eax + 4], 1
jl 0x44d38b
push 1
push ecx
call fcn.00419ac0
add esp, 4
mov ecx, eax
call fcn.00419ef0
mov esi, eax
call fcn.00419ac0
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x44d308
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00411930
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.Failure_to_load_setupapi.dll:
mov ecx, esi
call fcn.004115a0
add esp, 4
mov ecx, eax
call fcn.00413de0
push eax
call fcn.004127a0
add esp, 4
jmp 0x44d38b
mov dword [ebp - 4], 0
mov bl, byte [edi + 0x1c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004127e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a7b5f
mov esp, ebp
pop ebp
ret