Function at 0x44d130
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3475
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x663000]
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
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
push str.srl::SetupLib::Initialize
mov byte [ebp - 0x30], al
call fcn.00415110
mov dword [ebp - 4], 1
call fcn.0041ca00
cmp dword [eax + 4], 4
jl 0x44d1a9
push ecx
lea ecx, [ebp - 0x30]
call fcn.00412f80
lea ebx, [edi + 0x1c]
mov byte [ebp - 4], 2
cmp byte [ebx], 0
mov dword [ebp - 0x34], ebx
jne 0x44d3b1
push str.setupapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x20], eax
test eax, eax
je 0x44d302
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetupDiGetClassDevsW
push eax
call esi
push str.SetupDiEnumDeviceInfo
push dword [edi + 0x20]
mov dword [edi + 0x24], eax
call esi
push str.SetupDiGetDeviceRegistryPropertyW
push dword [edi + 0x20]
mov dword [edi + 0x28], eax
call esi
push str.SetupDiGetDeviceInstanceIdW
push dword [edi + 0x20]
mov dword [edi + 0x2c], eax
call esi
push str.SetupFindFirstLineW
push dword [edi + 0x20]
mov dword [edi + 0x30], eax
call esi
push str.SetupFindNextLine
push dword [edi + 0x20]
mov dword [edi + 0x34], eax
call esi
push str.SetupGetLineTextW
push dword [edi + 0x20]
mov dword [edi + 0x38], eax
call esi
push str.SetupOpenInfFileW
push dword [edi + 0x20]
mov dword [edi + 0x3c], eax
call esi
push str.SetupCloseInfFile
push dword [edi + 0x20]
mov dword [edi + 0x40], eax
call esi
push str.SetupDiOpenDevRegKey
push dword [edi + 0x20]
mov dword [edi + 0x44], eax
call esi
push str.SetupDiDestroyDeviceInfoList
push dword [edi + 0x20]
mov dword [edi + 0x48], eax
call esi
cmp dword [edi + 0x24], 0
mov dword [edi + 0x4c], eax
je 0x44d2ad
cmp dword [edi + 0x28], 0
je 0x44d2ad
cmp dword [edi + 0x2c], 0
je 0x44d2ad
cmp dword [edi + 0x30], 0
je 0x44d2ad
cmp dword [edi + 0x34], 0
je 0x44d2ad
cmp dword [edi + 0x38], 0
je 0x44d2ad
cmp dword [edi + 0x3c], 0
je 0x44d2ad
cmp dword [edi + 0x40], 0
je 0x44d2ad
cmp dword [edi + 0x44], 0
je 0x44d2ad
cmp dword [edi + 0x48], 0
je 0x44d2ad
test eax, eax
je 0x44d2ad
mov byte [ebx], 1
jmp 0x44d3b1
call fcn.0041ca00
cmp dword [eax + 4], 1
jl 0x44d3b1
call fcn.0041ca00
push 1
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x44d2db
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
add esp, 4
mov edx, str.Error_getting_proc_addresses_from_Setup_library.
mov ecx, eax
call fcn.00413680
push eax
call fcn.00414970
add esp, 4
jmp 0x44d3b1
call fcn.0041ca00
cmp dword [eax + 4], 1
jl 0x44d3b1
call fcn.0041ca00
push 1
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x44d330
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, str.Failure_to_load_setupapi.dll:
mov ecx, edi
mov esi, eax
call fcn.00413680
push esi
mov ecx, eax
call fcn.00415f80
push eax
call fcn.00414970
add esp, 4
jmp 0x44d3b1
mov bl, byte [ebx]
lea ecx, [ebp - 0x30]
call fcn.00414a10
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.005af765
mov esp, ebp
pop ebp
ret