Function at 0x10007ea0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fdf8
push 0x1000d2c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 0x34], edi
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push str.setupapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, edi
je 0x10008283
push str.SetupOpenInfFileA
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x100283a0], eax
push str.SetupGetInfInformationA
push ebx
call esi
mov dword [0x100283a4], eax
push str.SetupQueryInfVersionInformationA
push ebx
call esi
mov dword [0x1002836c], eax
push str.SetupCloseInfFile
push ebx
call esi
mov dword [0x100283a8], eax
push str.SetupFindFirstLineA
push ebx
call esi
mov dword [0x100283ac], eax
push str.SetupGetStringFieldA
push ebx
call esi
mov dword [0x10028368], eax
push str.SetupFindNextLine
push ebx
call esi
mov dword [0x10028364], eax
cmp dword [0x100283a0], edi
je 0x1000827c
cmp dword [0x100283a4], edi
je 0x1000827c
cmp dword [0x1002836c], edi
je 0x1000827c
cmp dword [0x100283a8], edi
je 0x1000827c
cmp dword [0x100283ac], edi
je 0x1000827c
cmp dword [0x10028368], edi
je 0x1000827c
cmp eax, edi
je 0x1000827c
mov dword [ebp - 4], edi
mov ecx, 0x231
xor eax, eax
mov esi, dword [ebp + 0xc]
mov edi, esi
rep stosd dword es:[edi], eax
push eax
push 2
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x100283a0]
mov edi, eax
mov dword [ebp - 0x38], edi
cmp edi, 0xffffffff
je 0x1000824e
lea edx, [ebp - 0x20]
push edx
push 0
push 0
push 1
push edi
call dword [0x100283a4]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10008235
push eax
call fcn.1000d233
add esp, 4
mov ebx, eax
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x10008219
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push ebx
push 1
push edi
call dword [0x100283a4]
test eax, eax
je 0x100081f4
lea edx, [ebp - 0x20]
push edx
push 0x40
push esi
push str.Provider
push 0
push ebx
call dword [0x1002836c]
lea eax, [ebp - 0x20]
push eax
push 0x40
lea ecx, [esi + 0xc0]
push ecx
push str.Version
push 0
push ebx
call dword [0x1002836c]
lea edx, [ebp - 0x20]
push edx
push 0x40
lea eax, [esi + 0x40]
push eax
push str.Class
push 0
push ebx
call dword [0x1002836c]
lea ecx, [ebp - 0x20]
push ecx
push 0x40
lea edx, [esi + 0x80]
push edx
push str.ClassGUID
push 0
push ebx
call dword [0x1002836c]
lea eax, [ebp - 0x34]
push eax
push 0
push str.Manufacturer
push edi
call dword [0x100283ac]
test eax, eax
je 0x100081f4
lea edi, [esi + 0x100]
lea ecx, [ebp - 0x20]
push ecx
push 0x40
push edi
push 1
lea edx, [ebp - 0x34]
push edx
call dword [0x10028368]
test eax, eax
je 0x100081c9
lea eax, [ebp - 0x34]
push eax
push 0
push edi
mov ecx, dword [ebp - 0x38]
push ecx
call dword [0x100283ac]
test eax, eax
je 0x100081c9
lea edx, [ebp - 0x20]
push edx
push 0x40
mov eax, dword [esi + 0x140]
lea eax, [eax + eax*2]
shl eax, 6
lea ecx, [eax + esi + 0x144]
push ecx
push 0
lea edx, [ebp - 0x34]
push edx
call dword [0x10028368]
test eax, eax
je 0x10008197
lea eax, [ebp - 0x20]
push eax
push 0x40
mov eax, dword [esi + 0x140]
lea ecx, [eax + eax*2]
shl ecx, 6
lea edx, [ecx + esi + 0x184]
push edx
push 1
lea eax, [ebp - 0x34]
push eax
call dword [0x10028368]
lea ecx, [ebp - 0x20]
push ecx
push 0x40
mov eax, dword [esi + 0x140]
lea edx, [eax + eax*2]
shl edx, 6
lea eax, [edx + esi + 0x1c4]
push eax
push 2
lea ecx, [ebp - 0x34]
push ecx
call dword [0x10028368]
inc dword [esi + 0x140]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x34]
push eax
call dword [0x10028364]
test eax, eax
je 0x100081a0
cmp dword [esi + 0x140], 0xa
jb 0x100080cf
mov dword [ebp - 0x24], 0
mov edi, dword [ebp - 0x38]
push ebx
call fcn.1000d1eb
add esp, 4
mov ebx, dword [ebp - 0x1c]
push edi
call dword [0x100283a8]
mov dword [ebp - 4], 0xffffffff
jmp 0x1000827c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 0
mov edi, dword [ebp - 0x38]
push ebx
call fcn.1000d1eb
add esp, 4
mov ebx, dword [ebp - 0x1c]
push edi
call dword [0x100283a8]
mov dword [ebp - 4], 0xffffffff
jmp 0x1000827c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x38]
push ebx
call fcn.1000d1eb
add esp, 4
mov ebx, dword [ebp - 0x1c]
push edi
call dword [0x100283a8]
mov dword [ebp - 4], 0xffffffff
jmp 0x1000827c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
push ebx
call fcn.1000d1eb
add esp, 4
mov ebx, dword [ebp - 0x1c]
push edi
call dword [0x100283a8]
mov dword [ebp - 4], 0xffffffff
jmp 0x1000827c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
push edi
call dword [0x100283a8]
mov dword [ebp - 4], 0xffffffff
jmp 0x1000827c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
push edi
call dword [0x100283a8]
mov dword [ebp - 4], 0xffffffff
jmp 0x1000827c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1000827c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8