Function at 0x4119d1
Capabilities:
Enumerate devices by category

Disassembly:
push 0x28
mov eax, 0x47fdb5
call fcn.00402847
xor ebx, ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x410e68
push 0x17
push ebx
push 0x411b30
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x43138c
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x14]
push edx
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, ebx
jl 0x4313b4
cmp esi, 1
jne 0x4313e1
push esi
push 0x411a70
push 8
call fcn.004015a0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
jne 0x4313d6
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x411a60
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80070103
call fcn.00402881
ret 8
push esi
push 0x4319f8
push 1
call fcn.004015a0
add esp, 0xc
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4313ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x411a65
push esi
push 0x431948
push 1
call fcn.004015a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x43139c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x43139c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x411a4f
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x10]
push edx
push 1
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x43151a
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, 1
je 0x431524
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x413eb8
push ebx
push ebx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x24]
cmp eax, ebx
jge 0x431449
push eax
push 0x431898
push 1
call fcn.004015a0
add esp, 0xc
jmp 0x4314d9
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x34]
push edx
push 0x410dd8
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x4314c3
push 8
pop ecx
cmp cx, word [ebp - 0x34]
jne 0x4314c3
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
call fcn.00407b85
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.00407b85
push eax
lea ecx, [ebp - 0x20]
call fcn.00410f61
push dword [ebp - 0x24]
mov byte [ebp + 0xf], al
call edi
cmp byte [ebp + 0xf], bl
jne 0x43154f
push dword [ebp + 8]
push dword [ebp - 0x20]
push 0x4317e8
push 8
call fcn.004015a0
add esp, 0x10
push dword [ebp - 0x20]
call edi
jmp 0x4314d3
push eax
push 0x431740
push 8
call fcn.004015a0
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
call esi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4314ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4314fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x10]
push edx
push 1
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x43140c
push eax
push 0x4316b0
push 1
jmp 0x43152d
push 1
push 0x431648
push 8
call fcn.004015a0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x411a41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x411a41
push dword [ebp - 0x20]
push 0x4315b8
push 8
call fcn.004015a0
add esp, 0xc
push dword [ebp - 0x20]
call edi
lea eax, [ebp - 0x34]
push eax
call esi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x43157d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x43158e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x43159e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4315af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x411a65