Function at 0x10005960
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x8f8
mov eax, dword [0x1007b210]
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 esi, dword [ebp + 8]
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x8c0]
push eax
push 0x1006f540
xor ebx, ebx
push 3
push ebx
push 0x1006f460
mov dword [ebp - 0x8cc], esi
mov dword [ebp - 0x8d8], ebx
mov dword [ebp - 0x8c0], ebx
mov dword [ebp - 0x8c4], ebx
mov dword [ebp - 0x8bc], ebx
call edi
test eax, eax
jne 0x10005a2c
lea ecx, [ebp - 0x8ec]
push ecx
push 0x1006f510
push 1
push ebx
push 0x1006f480
call edi
cmp eax, ebx
jne 0x10005a2c
mov dword [ebp - 0x8b8], ebx
push ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x8ec]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [ebp - 0x8b8]
push ecx
push 0x1006f490
push eax
call edx
cmp eax, ebx
je 0x10005a34
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x8b8]
cmp eax, ebx
je 0x10005a2c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
or eax, 0xffffffff
jmp 0x10005dad
mov eax, dword [ebp - 0x8b8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [ebp - 0x8b8]
mov ecx, dword [eax]
lea edx, [ebp - 0x8f0]
push edx
lea edx, [ebp - 0x8c8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jne 0x10005d46
jmp 0x10005a70
mov eax, dword [ebp - 0x8c8]
mov ecx, dword [eax]
lea edx, [ebp - 0x8dc]
push edx
push 0x1006d230
push ebx
push ebx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x10005b49
mov eax, dword [ebp - 0x8dc]
mov ecx, 8
mov word [ebp - 0x904], cx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ebx
lea ecx, [ebp - 0x904]
push ecx
push str.FriendlyName
push eax
call edx
test eax, eax
jne 0x10005b3b
or edi, 0xffffffff
cmp dword [esi + 4], edi
je 0x10005aef
push 0x10
call fcn.10008667
add esp, 4
cmp eax, ebx
je 0x10005ae2
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x10005ae4
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [ebp - 0x8cc], eax
mov esi, eax
mov eax, dword [ebp - 0x8d8]
push ebx
push ebx
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x8fc]
inc eax
push 0x800
mov dword [ebp - 0x8d8], eax
lea eax, [ebp - 0x834]
push eax
push edi
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edi, [ebp - 0x834]
call fcn.10005340
mov edx, dword [ebp - 0x8fc]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp - 0x8cc]
mov eax, dword [ebp - 0x8dc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x8c8]
mov ecx, dword [eax]
lea edx, [ebp - 0x8c4]
push edx
push 0x1006f520
push ebx
push ebx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
js 0x10005d12
mov eax, dword [ebp - 0x8c0]
mov ecx, dword [eax]
lea edx, [ebp - 0x8bc]
push edx
mov edx, dword [ebp - 0x8c4]
push 0x1006f550
push edx
push str.vids
push 0x1006f4a0
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, ebx
je 0x10005bcf
mov eax, dword [ebp - 0x8c0]
mov ecx, dword [eax]
lea edx, [ebp - 0x8bc]
push edx
mov edx, dword [ebp - 0x8c4]
push 0x1006f550
push edx
push str.vids
push 0x1006f4b0
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, ebx
jl 0x10005d12
mov eax, dword [ebp - 0x8bc]
lea edx, [ebp - 0x8e8]
push edx
lea edx, [ebp - 0x8d0]
mov dword [ebp - 0x8d0], ebx
mov dword [ebp - 0x8e8], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp dword [ebp - 0x8e8], 0x80
lea ecx, [esi + 8]
mov dword [ebp - 0x8d4], ecx
jne 0x10005d04
xor edi, edi
mov dword [ebp - 0x8e0], edi
cmp dword [ebp - 0x8d0], ebx
jle 0x10005d04
jmp 0x10005c30
mov eax, dword [ebp - 0x8bc]
lea ecx, [ebp - 0x8b4]
push ecx
lea ecx, [ebp - 0x8e4]
push ecx
mov dword [ebp - 0x8e4], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push edi
push eax
call edx
test eax, eax
js 0x10005cf1
mov ecx, dword [ebp - 0x8e4]
mov eax, dword [ecx + 0x44]
cmp dword [eax + 0x34], ebx
je 0x10005cf1
cmp dword [eax + 0x38], ebx
je 0x10005cf1
xor eax, eax
mov byte [ebp - 0x34], bl
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
mov eax, dword [ecx + 0x44]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x34]
push ecx
push edx
push str._d___d:
lea edx, [ebp - 0x34]
call fcn.10006650
push 8
call fcn.10008667
add esp, 0x10
cmp eax, ebx
je 0x10005cc0
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x10005cc2
xor eax, eax
mov ecx, dword [ebp - 0x8d4]
lea edi, [ebp - 0x34]
mov esi, eax
mov dword [ecx], eax
call fcn.10005340
mov edx, dword [ebp - 0x8d4]
mov eax, dword [edx]
mov edi, dword [ebp - 0x8e0]
mov esi, dword [ebp - 0x8cc]
add eax, 4
mov dword [ebp - 0x8d4], eax
inc edi
mov dword [ebp - 0x8e0], edi
cmp edi, dword [ebp - 0x8d0]
jl 0x10005c30
mov eax, dword [ebp - 0x8c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [ebp - 0x8c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x8b8]
mov ecx, dword [eax]
lea edx, [ebp - 0x8f0]
push edx
lea edx, [ebp - 0x8c8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
je 0x10005a70
mov eax, dword [ebp - 0x8c0]
cmp eax, ebx
je 0x10005d5e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x8c0], ebx
mov eax, dword [ebp - 0x8c4]
cmp eax, ebx
je 0x10005d76
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x8c4], ebx
mov eax, dword [ebp - 0x8bc]
cmp eax, ebx
je 0x10005d8e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x8bc], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x8b8]
cmp eax, ebx
je 0x10005da7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x8d8]
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.10007f62
mov esp, ebp
pop ebp
ret 4