Function at 0x453ff0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5efb20
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x677010]
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
lea ecx, [ebp - 0x2c]
call fcn.00407a4a
mov dword [ebp - 4], 0
mov byte [ebp - 0x30], 0
push str.srl::SetupLib::Initialize
lea ecx, [ebp - 0x2c]
call fcn.00414ef0
mov dword [ebp - 4], 1
call fcn.0041db40
cmp dword [eax + 4], 4
jl 0x45405e
push ecx
lea ecx, [ebp - 0x30]
call fcn.00412cf0
mov byte [ebp - 4], 2
cmp byte [edi + 0x1c], 0
jne 0x45427e
push str.setupapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x20], eax
test eax, eax
je 0x4541c0
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 0x45415e
cmp dword [edi + 0x28], 0
je 0x45415e
cmp dword [edi + 0x2c], 0
je 0x45415e
cmp dword [edi + 0x30], 0
je 0x45415e
cmp dword [edi + 0x34], 0
je 0x45415e
cmp dword [edi + 0x38], 0
je 0x45415e
cmp dword [edi + 0x3c], 0
je 0x45415e
cmp dword [edi + 0x40], 0
je 0x45415e
cmp dword [edi + 0x44], 0
je 0x45415e
cmp dword [edi + 0x48], 0
je 0x45415e
test eax, eax
je 0x45415e
mov byte [edi + 0x1c], 1
jmp 0x45427e
call fcn.0041db40
cmp dword [eax + 4], 1
jl 0x45427e
push 1
push ecx
call fcn.0041db40
add esp, 4
mov ecx, eax
call fcn.0041dca0
mov esi, eax
call fcn.0041db40
mov ecx, dword [esi + 0x10]
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x454195
mov esi, dword [esi]
mov byte [ebp - 4], 2
push ecx
mov edx, esi
mov ecx, eax
call fcn.004137f0
add esp, 4
mov edx, str.Error_getting_proc_addresses_from_Setup_library.
mov ecx, eax
call fcn.00413320
push eax
call fcn.00414850
add esp, 4
jmp 0x45427e
call fcn.0041db40
cmp dword [eax + 4], 1
jl 0x45427e
push 1
push ecx
call fcn.0041db40
add esp, 4
mov ecx, eax
call fcn.0041dca0
mov esi, eax
call fcn.0041db40
mov ecx, dword [esi + 0x10]
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 8
jb 0x4541f7
mov esi, dword [esi]
mov byte [ebp - 4], 2
push ecx
mov edx, esi
mov ecx, eax
call fcn.004137f0
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.00413320
add esp, 4
mov ecx, eax
call fcn.00415d70
push eax
call fcn.00414850
add esp, 4
jmp 0x45427e
mov dword [ebp - 4], 1
mov bl, byte [edi + 0x1c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00414900
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.005bc745
mov esp, ebp
pop ebp
ret