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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c2a9
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x48], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x640473]
test eax, eax
jne 0x46b9cb
call fcn.00468970
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x594904
push 1
push 0
push 0x5949d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x46ba0e
mov edx, dword [ebp - 0x24]
push edx
push 0x5eb028
push 0x5eb078
call fcn.0040c230
add esp, 0xc
jmp 0x46bdad
push 0x5eb0a0
lea ecx, [ebp - 0x84]
call fcn.00413ad0
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x94]
call fcn.00413b90
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00413b70
call fcn.00402270
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x24], 0
jl 0x46bd6b
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 1
push str.Select__from_Win32_SoundDevice
lea ecx, [ebp - 0x88]
call fcn.00413a30
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 1
push 0x5eb024
lea ecx, [ebp - 0x8c]
call fcn.00413a30
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x30]
push edx
push 0
push 0x10
mov ecx, dword [ebp - 0x9c]
call fcn.00413b90
push eax
mov ecx, dword [ebp - 0xa4]
call fcn.00413b90
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00413b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00413b70
cmp dword [ebp - 0x24], 0
jl 0x46bd5b
lea ecx, [ebp - 0x80]
call fcn.0046bdd0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x34]
push edx
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x46bd36
cmp dword [ebp - 0x2c], 0
jbe 0x46bd36
push 0
push 0
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0x5eb0d8
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x46bc51
movzx eax, word [ebp - 0x44]
cmp eax, 1
je 0x46bc51
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x46bbd7
mov dword [ebp - 0xa8], 0
jmp 0x46bc38
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x46bbfc
mov dword [ebp - 0xac], 0
jmp 0x46bc2c
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0xb0], esp
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.004022d0
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x80]
call fcn.00406110
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0
push 0
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0x5eb0e4
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x46bd1a
movzx eax, word [ebp - 0x44]
cmp eax, 1
je 0x46bd1a
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x46bca0
mov dword [ebp - 0xb4], 0
jmp 0x46bd01
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x46bcc5
mov dword [ebp - 0xb8], 0
jmp 0x46bcf5
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0xbc], esp
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004022d0
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x64]
call fcn.00406110
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0046df70
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x46bd47
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.0046be00
jmp 0x46bd5b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.0046be00
jmp 0x46bb3e
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x46bd91
mov ecx, dword [ebp - 0x24]
push ecx
push 0x5eb100
push str.CReportSystemInfo::GetSoundDeviceInfo
call fcn.0040c230
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x46bdad
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 8]
call ecx
lea esp, [ebp - 0xc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret