Function at 0x419e90
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x60ca60
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x698b9c]
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 0x664f78
push 1
push ebx
push 0x664f08
mov byte [esp + 0x6c], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
je 0x419f2a
mov byte [esp + 0x58], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x419efc
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 0x419f14
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, 0x664f18
je 0x419f3b
mov ecx, 0x664f28
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 0x419ee8
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 0x41a05f
mov edi, edi
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x65f7dc
push ebx
push ebx
push eax
mov eax, dword [ecx + 0x24]
xor edi, edi
call eax
cmp eax, ebx
jl 0x41a02f
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 0x419fdb
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 0x41a00f
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 0x41a05f
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 0x419f80
mov byte [esp + 0x58], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41a073
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 0x41a08b
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