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

Disassembly:
mov eax, 0x597550
call fcn.00595190
sub esp, 0x30
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x478f6d
xor eax, eax
inc eax
jmp 0x479107
push ebx
push edi
lea eax, [ebp - 0x18]
push eax
push 0x5aad84
xor ebx, ebx
inc ebx
push ebx
push esi
push 0x5aae54
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x4790c5
cmp dword [ebp - 0x18], esi
je 0x4790c5
lea edi, [ebp - 0x28]
call fcn.00478e8d
mov dword [ebp - 4], esi
mov eax, dword [eax]
cmp eax, esi
je 0x478fae
mov ecx, dword [eax]
jmp 0x478fb0
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
lea edi, [ebp - 0x10]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
call dword [edx + 0xc]
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
call fcn.00478efa
cmp dword [ebp - 0x2c], esi
jl 0x4790c5
cmp dword [ebp - 0x10], esi
je 0x4790c5
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, esi
jl 0x4790c5
push str.SELECT_Caption_FROM_Win32_SoundDevice
lea edi, [ebp - 0x28]
call fcn.00478e2e
mov ebx, eax
push 0x5f017c
lea edi, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.00478e2e
mov byte [ebp - 4], 2
mov ecx, dword [ebx]
cmp ecx, esi
je 0x479031
mov ecx, dword [ecx]
jmp 0x479033
xor ecx, ecx
mov eax, dword [eax]
cmp eax, esi
je 0x47903d
mov edx, dword [eax]
jmp 0x47903f
xor edx, edx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
lea ebx, [ebp - 0x20]
push ebx
push esi
push 0x30
push ecx
push edx
push eax
call dword [edi + 0x50]
lea edi, [ebp - 0x2c]
mov ebx, eax
call fcn.00478efa
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x28]
call fcn.00478efa
cmp ebx, esi
jge 0x479074
mov dword [ebp - 0x14], 1
jmp 0x4790c8
mov eax, dword [ebp - 0x20]
cmp eax, esi
mov dword [ebp - 0x24], esi
je 0x4790c8
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x24], esi
je 0x4790c8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x3c]
push edx
push esi
push 0x5f0180
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x4790b9
push dword [ebp - 0x34]
push dword [ebp + 8]
call fcn.00432a64
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4790c8
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, esi
pop edi
pop ebx
je 0x4790d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x4790e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x4790f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x4790fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4