Function at 0x41a4a0
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x5bbb30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64786c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x1c]
push eax
push 0x612688
push 1
push ebx
push 0x612628
mov byte [esp + 0x6c], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
je 0x41a53a
mov byte [esp + 0x58], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41a50c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41a524
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
cmp dword [esp + 0x64], 1
mov ecx, 0x612638
je 0x41a54b
mov ecx, 0x612648
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push ebx
lea esi, [esp + 0x1c]
push esi
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, ebx
jne 0x41a4f8
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 + 0x28]
push edx
lea edx, [esp + 0x24]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jne 0x41a66f
mov edi, edi
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x60cf7c
push ebx
push ebx
push eax
mov eax, dword [ecx + 0x24]
xor edi, edi
call eax
cmp eax, ebx
jl 0x41a63f
lea ecx, [esp + 0x2c]
push ecx
mov esi, ebp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
cmp dword [esp + 0x64], ebx
jne 0x41a5eb
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x40]
push edx
push str.WaveInID
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x30]
push edx
push str.FriendlyName
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jne 0x41a61f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
mov eax, dword [esp + 0x38]
push esi
push eax
push ebp
call edx
mov edi, eax
inc ebp
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x2c]
push eax
call esi
lea ecx, [esp + 0x3c]
push ecx
call esi
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
jne 0x41a66f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x24]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
je 0x41a590
mov byte [esp + 0x58], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41a683
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41a69b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebp
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret