Function at 0x411001
Capabilities:
Enumerate devices by category

Disassembly:
push 0x28
mov eax, 0x47fd21
call fcn.004026ff
xor ebx, ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x410498
push 0x17
push ebx
push 0x411160
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x431224
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 0x43124c
cmp esi, 1
jne 0x431279
push esi
push 0x4110a0
push 8
call fcn.004015a0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
jne 0x43126e
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x411090
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80070103
call fcn.00402739
ret 8
push esi
push 0x431890
push 1
call fcn.004015a0
add esp, 0xc
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x431245
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x411095
push esi
push 0x4317e0
push 1
call fcn.004015a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x431234
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x431234
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41107f
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 0x4313b2
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, 1
je 0x4313bc
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x4134b0
push ebx
push ebx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x24]
cmp eax, ebx
jge 0x4312e1
push eax
push 0x431730
push 1
call fcn.004015a0
add esp, 0xc
jmp 0x431371
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 0x410408
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x43135b
push 8
pop ecx
cmp cx, word [ebp - 0x34]
jne 0x43135b
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
call fcn.00417f25
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.00417f25
push eax
lea ecx, [ebp - 0x20]
call fcn.00410591
push dword [ebp - 0x24]
mov byte [ebp + 0xf], al
call edi
cmp byte [ebp + 0xf], bl
jne 0x4313e7
push dword [ebp + 8]
push dword [ebp - 0x20]
push 0x431680
push 8
call fcn.004015a0
add esp, 0x10
push dword [ebp - 0x20]
call edi
jmp 0x43136b
push eax
push 0x4315d8
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 0x431382
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x431393
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 0x4312a4
push eax
push 0x431548
push 1
jmp 0x4313c5
push 1
push 0x4314e0
push 8
call fcn.004015a0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x411071
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x411071
push dword [ebp - 0x20]
push 0x431450
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 0x431415
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x431426
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x431436
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x431447
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x411095