Function at 0x46bda3
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x610a33
call fcn.0060bd28
sub esp, 0x2c
push edi
xor edi, edi
push edi
push edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x46bdd3
xor eax, eax
inc eax
jmp 0x46bf72
push ebx
push esi
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 0x684ce8
inc ebx
push ebx
push edi
push 0x684db8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x46bf32
cmp dword [ebp - 0x14], edi
je 0x46bf32
push ecx
lea ecx, [ebp - 0x20]
call fcn.0046bcde
mov dword [ebp - 4], edi
mov eax, dword [eax]
test eax, eax
je 0x46be15
mov edx, dword [eax]
jmp 0x46be17
mov edx, edi
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x10]
push esi
push edi
push edi
mov ecx, dword [eax]
push edi
push edi
push edi
push edi
push edx
push eax
call dword [ecx + 0xc]
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x46be3d
call fcn.0046bd5b
test esi, esi
js 0x46bf32
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x46bf32
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x46bf32
push str.SELECT_Caption_FROM_Win32_SoundDevice
lea ecx, [ebp - 0x28]
call fcn.0046bc79
mov esi, eax
push 0x69c014
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.0046bc79
mov byte [ebp - 4], 2
mov esi, dword [esi]
test esi, esi
je 0x46be96
mov esi, dword [esi]
jmp 0x46be98
mov esi, edi
mov eax, dword [eax]
test eax, eax
je 0x46bea2
mov edx, dword [eax]
jmp 0x46bea4
mov edx, edi
mov eax, dword [ebp - 0x10]
lea ebx, [ebp - 0x1c]
push ebx
push edi
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebp - 0x20]
mov esi, eax
test ecx, ecx
je 0x46bec7
call fcn.0046bd5b
mov dword [ebp - 0x20], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x46bed7
call fcn.0046bd5b
test esi, esi
jns 0x46bee0
xor edi, edi
inc edi
jmp 0x46bf34
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
test ecx, ecx
je 0x46bf34
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x24], 0
je 0x46bf34
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
push edi
push edi
push edx
mov ecx, dword [eax]
push edi
push 0x69c018
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x46bf26
push dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
call fcn.004060f8
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x46bf34
mov edi, ebx
mov ecx, dword [ebp - 0x18]
pop esi
pop ebx
test ecx, ecx
je 0x46bf43
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46bf50
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x46bf5d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x46bf6a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4