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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0b42
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push edi
mov eax, dword [0x513454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x4d79af
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x4d79af
mov eax, 1
jmp 0x4d7cb8
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x4d79e9
cmp dword [ebp - 0x20], 0x80010119
je 0x4d79e9
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4d7cb8
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x4e8338
push 1
push 0
push 0x4e8408
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x4d7a21
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4d7cb8
mov dword [ebp - 0x24], 0
push str.ROOTCIMV2
lea edi, [ebp - 0x3c]
call fcn.004038fb
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xac]
call fcn.0040398e
push eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x3c]
call fcn.0040394e
cmp dword [ebp - 0x20], 0
jge 0x4d7ab4
cmp dword [ebp - 0x18], 0
je 0x4d7aa4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4d7cb8
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x4d7b0d
cmp dword [ebp - 0x24], 0
je 0x4d7ae9
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x18], 0
je 0x4d7afd
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4d7cb8
mov dword [ebp - 0x1c], 0
push str.SELECT_Caption_FROM_Win32_SoundDevice
lea edi, [ebp - 0x40]
call fcn.004038bc
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov dword [ebp - 4], 1
push 0x4f3fc8
lea edi, [ebp - 0x44]
call fcn.004038bc
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x30
mov eax, dword [ebp - 0xb4]
call fcn.0040398e
push eax
mov eax, dword [ebp - 0xbc]
call fcn.0040398e
push eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
lea edi, [ebp - 0x44]
call fcn.0040394e
mov dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x40]
call fcn.0040394e
cmp dword [ebp - 0x20], 0
jge 0x4d7be7
cmp dword [ebp - 0x24], 0
je 0x4d7bc3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x18], 0
je 0x4d7bd7
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4d7cb8
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x1c], 0
je 0x4d7c5a
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x14], 0
jne 0x4d7c19
jmp 0x4d7c5a
push 0
push 0
lea edx, [ebp - 0x34]
push edx
push 0
push 0x4f3fcc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x4d7c4c
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401b5c
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4d7c5a
cmp dword [ebp - 0x14], 0
je 0x4d7c74
cmp dword [ebp - 0x10], 0
je 0x4d7c74
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x1c], 0
je 0x4d7c88
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x24], 0
je 0x4d7c9c
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x18], 0
je 0x4d7cb0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4