Function at 0x10001ca0
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x100739eb
mov eax, dword fs:[0]
push eax
mov eax, 0x103c
call fcn.10012ac0
mov eax, dword [0x1008e060]
xor eax, esp
mov dword [esp + 0x1038], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008e060]
xor eax, esp
push eax
lea eax, [esp + 0x1050]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1060]
lea eax, [esp + 0x34]
push eax
push 0x10077610
push 1
xor edi, edi
push edi
mov esi, ecx
push 0x10077570
mov dword [esp + 0x44], esi
mov dword [esp + 0x3c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jne 0x10001d4f
mov dword [esp + 0x18], edi
push edi
mov dword [esp + 0x105c], edi
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x10077580
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, edi
je 0x10001d57
mov dword [esp + 0x1058], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10001d4f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
or eax, 0xffffffff
jmp 0x10001eb7
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x20]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
xor ebx, ebx
call eax
cmp eax, edi
jne 0x10001e8e
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0x100835a8
push edi
push edi
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jl 0x10001e5a
mov eax, dword [esp + 0x2c]
mov ecx, 8
mov word [esp + 0x3c], cx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push edi
lea ecx, [esp + 0x40]
push ecx
push str.FriendlyName
push eax
call edx
test eax, eax
jne 0x10001e4e
inc dword [esp + 0x28]
push 0x1000
lea eax, [esp + 0x50]
push edi
push eax
call fcn.100113d0
mov ecx, dword [esp + 0x50]
add esp, 0xc
push ecx
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
cmp ebp, edi
je 0x10001e35
lea edi, [esi + ebx + 4]
cmp dword [esp + 0x1064], edi
jb 0x10001e35
mov ecx, dword [esp + 0x24]
push esi
lea edx, [esp + 0x50]
push edx
lea eax, [ebx + ebp + 4]
push eax
mov dword [ebx + ebp], ecx
call fcn.100119c0
add esp, 0xc
mov ebx, edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
lea edx, [ecx + esi + 4]
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
inc dword [esp + 0x24]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x20]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, edi
je 0x10001d8d
mov esi, dword [esp + 0x30]
cmp esi, edi
je 0x10001e98
mov ecx, dword [esp + 0x20]
mov dword [esi], ecx
mov dword [esp + 0x1058], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10001eb3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1050]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1038]
xor ecx, esp
call fcn.1000c146
add esp, 0x1048
ret 8