Function at 0x10008e40
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100379c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x10008e83
xor al, al
jmp 0x1000911f
lea eax, [ebp - 0x18]
push eax
push 0x1003e41c
push 1
push 0
push 0x1003e4ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x10008eb1
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x1000911f
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push str.ROOTCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x10008eff
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x1000911f
mov dword [ebp - 0x1c], 0
push str.SELECT__FROM_Win32_BIOS
lea ecx, [ebp - 0x5c]
call fcn.10007480
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
push 0x10043ed0
lea ecx, [ebp - 0x60]
call fcn.10007480
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0x68]
call fcn.10007530
push eax
mov ecx, dword [ebp - 0x70]
call fcn.10007530
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
call ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10007510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10007510
cmp dword [ebp - 0x20], 0
jge 0x10008fb2
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x1000911f
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x21], 0
cmp dword [ebp - 0x1c], 0
je 0x100090da
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x100090da
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x10043ed4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x58]
call fcn.10006940
mov dword [ebp - 4], 2
push 0
push str.Parallels
lea ecx, [ebp - 0x58]
call fcn.100097b0
cmp eax, dword [0x10044578]
jne 0x100090aa
push 0
push str.QEMU
lea ecx, [ebp - 0x58]
call fcn.100097b0
cmp eax, dword [0x10044578]
jne 0x100090aa
push 0
push 0x10043f10
lea ecx, [ebp - 0x58]
call fcn.100097b0
cmp eax, dword [0x10044578]
jne 0x100090aa
push 0
push str.Bochs
lea ecx, [ebp - 0x58]
call fcn.100097b0
cmp eax, dword [0x10044578]
jne 0x100090aa
push 0
push str.VMware
lea ecx, [ebp - 0x58]
call fcn.100097b0
cmp eax, dword [0x10044578]
jne 0x100090aa
push 0
push str.VirtualBox
lea ecx, [ebp - 0x58]
call fcn.100097b0
cmp eax, dword [0x10044578]
je 0x100090ae
mov byte [ebp - 0x21], 1
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10006980
jmp 0x10008fc4
cmp dword [ebp - 0x1c], 0
je 0x100090ee
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x28], 0
je 0x10009102
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x18], 0
je 0x10009116
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 0x21]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret