Function at 0x1002cb12
Capabilities:
Enumerate devices by category

Disassembly:
push 0x30
mov eax, 0x10087864
call fcn.10085435
mov edi, edx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], ecx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
push 0x1000b508
push 0x17
push ebx
push 0x1000b558
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1002cb50
push eax
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push ebx
push ecx
push 0x1000b548
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0xc]
call dword [0x100a0bc0]
call dword [esi + 0xc]
test eax, eax
js 0x1002cb49
jne 0x1002cbd0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
push eax
mov ecx, esi
call dword [0x100a0bc0]
call esi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x20]
push ebx
push ecx
push 1
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0xc]
call dword [0x100a0bc0]
call dword [esi + 0xc]
test eax, eax
js 0x1002cb49
cmp eax, 1
jne 0x1002cc0b
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002cbd0
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100a0bc0]
call esi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1002cbea
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100a0bc0]
call esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1002cc05
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100a0bc0]
call esi
call fcn.10085387
ret
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push ecx
push 0x1000b528
push ebx
mov esi, dword [eax]
push ebx
push eax
mov ecx, dword [esi + 0x24]
call dword [0x100a0bc0]
call dword [esi + 0x24]
test eax, eax
js 0x1002cd01
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 8
pop eax
mov byte [ebp - 4], 4
mov edx, 0x1000b3ac
mov ecx, dword [ebp - 0x1c]
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x30], ebx
call fcn.1002c9c5
test eax, eax
js 0x1002ccf7
test edi, edi
je 0x1002ccce
push dword [ebp - 0x30]
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x1002ccf7
mov byte [ebp - 4], 5
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
call fcn.1002ca33
jmp 0x1002cc99
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002cbb5
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100a0bc0]
call esi
jmp 0x1002cbb5
mov byte [ebp - 4], 7
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
call fcn.1002ca33
jmp 0x1002ccf0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002cd1c
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100a0bc0]
call esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002cb8c
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
jmp 0x1002cb81