Function at 0x1000292d
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
cmp dword [ebp + 8], 0
jge 0x10002958
xor al, al
jmp 0x10002b14
lea ecx, [ebp - 0x18]
call fcn.10003350
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10017a00
push eax
push 0x10080ac8
push 1
push 0
push 0x10080b58
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x100029a8
mov byte [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10003320
mov al, byte [ebp - 0x3c]
jmp 0x10002b14
lea ecx, [ebp - 0x24]
call fcn.10003350
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x24]
call fcn.10017a00
push eax
push 0x10080b48
lea ecx, [ebp - 0x18]
call fcn.1001eea0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x4c]
push edx
call dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10002a0b
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10003320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10003320
mov al, byte [ebp - 0x40]
jmp 0x10002b14
lea ecx, [ebp - 0x24]
call fcn.1001eea0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x50]
push edx
call dword [ecx + 0x14]
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 1
lea ecx, [ebp - 0x24]
call fcn.1001eea0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp + 8]
jg 0x10002af2
lea eax, [ebp - 0x28]
push eax
push 0x1007f928
push 0
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
call dword [edx + 0x24]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x10002ad8
mov word [ebp - 0x38], 8
push 0
lea ecx, [ebp - 0x38]
push ecx
push str.FriendlyName
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10002acc
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp + 8]
jne 0x10002ac2
mov eax, dword [ebp + 0xc]
push eax
push 0x10080ab8
push 0
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
call dword [edx + 0x20]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
jmp 0x10002a29
mov byte [ebp - 0x44], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10003320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10003320
mov al, byte [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8