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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002bd18
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 0x10008d53
xor al, al
jmp 0x10008fef
lea eax, [ebp - 0x18]
push eax
push 0x1003240c
push 1
push 0
push 0x100324dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x10008d81
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x10008fef
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 0x10008dcf
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 0x10008fef
mov dword [ebp - 0x1c], 0
push str.SELECT__FROM_Win32_BIOS
lea ecx, [ebp - 0x5c]
call fcn.10007340
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
push 0x10038620
lea ecx, [ebp - 0x60]
call fcn.10007340
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.100073f0
push eax
mov ecx, dword [ebp - 0x70]
call fcn.100073f0
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.100073d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.100073d0
cmp dword [ebp - 0x20], 0
jge 0x10008e82
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 0x10008fef
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x21], 0
cmp dword [ebp - 0x1c], 0
je 0x10008faa
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 0x10008faa
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x10038624
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.100067c0
mov dword [ebp - 4], 2
push 0
push str.Parallels
lea ecx, [ebp - 0x58]
call fcn.10009680
cmp eax, dword [0x10038cc8]
jne 0x10008f7a
push 0
push str.QEMU
lea ecx, [ebp - 0x58]
call fcn.10009680
cmp eax, dword [0x10038cc8]
jne 0x10008f7a
push 0
push 0x10038660
lea ecx, [ebp - 0x58]
call fcn.10009680
cmp eax, dword [0x10038cc8]
jne 0x10008f7a
push 0
push str.Bochs
lea ecx, [ebp - 0x58]
call fcn.10009680
cmp eax, dword [0x10038cc8]
jne 0x10008f7a
push 0
push str.VMware
lea ecx, [ebp - 0x58]
call fcn.10009680
cmp eax, dword [0x10038cc8]
jne 0x10008f7a
push 0
push str.VirtualBox
lea ecx, [ebp - 0x58]
call fcn.10009680
cmp eax, dword [0x10038cc8]
je 0x10008f7e
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.10006800
jmp 0x10008e94
cmp dword [ebp - 0x1c], 0
je 0x10008fbe
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 0x10008fd2
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 0x10008fe6
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