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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed2d5
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push edi
mov eax, dword [0x522464]
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 0x4e2a5f
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x4e2a5f
mov eax, 1
jmp 0x4e2d68
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 0x4e2a99
cmp dword [ebp - 0x20], 0x80010119
je 0x4e2a99
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4e2d68
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x4f5338
push 1
push 0
push 0x4f5408
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x4e2ad1
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4e2d68
mov dword [ebp - 0x24], 0
push str.ROOTCIMV2
lea edi, [ebp - 0x3c]
call fcn.004038ba
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.0040394d
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.0040390d
cmp dword [ebp - 0x20], 0
jge 0x4e2b64
cmp dword [ebp - 0x18], 0
je 0x4e2b54
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 0x4e2d68
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 0x4e2bbd
cmp dword [ebp - 0x24], 0
je 0x4e2b99
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 0x4e2bad
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 0x4e2d68
mov dword [ebp - 0x1c], 0
push str.SELECT_Caption_FROM_Win32_SoundDevice
lea edi, [ebp - 0x40]
call fcn.0040387b
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov dword [ebp - 4], 1
push 0x501588
lea edi, [ebp - 0x44]
call fcn.0040387b
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.0040394d
push eax
mov eax, dword [ebp - 0xbc]
call fcn.0040394d
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.0040390d
mov dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x40]
call fcn.0040390d
cmp dword [ebp - 0x20], 0
jge 0x4e2c97
cmp dword [ebp - 0x24], 0
je 0x4e2c73
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 0x4e2c87
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 0x4e2d68
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x1c], 0
je 0x4e2d0a
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 0x4e2cc9
jmp 0x4e2d0a
push 0
push 0
lea edx, [ebp - 0x34]
push edx
push 0
push 0x50158c
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 0x4e2cfc
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401b43
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4e2d0a
cmp dword [ebp - 0x14], 0
je 0x4e2d24
cmp dword [ebp - 0x10], 0
je 0x4e2d24
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 0x4e2d38
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 0x4e2d4c
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 0x4e2d60
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