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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100485e8
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 0x100088b3
xor al, al
jmp 0x10008b4b
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 0x100088e1
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x10008b4b
lea eax, [ebp - 0x18]
push eax
push 0x1004f43c
push 1
push 0
push 0x1004f50c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x1000890f
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x10008b4b
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x10055004
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 0x1000895d
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 0x10008b4b
mov dword [ebp - 0x1c], 0
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0x5c]
call fcn.100071a0
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
push 0x10055048
lea ecx, [ebp - 0x60]
call fcn.100071a0
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.10007250
push eax
mov ecx, dword [ebp - 0x70]
call fcn.10007250
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.10007230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10007230
cmp dword [ebp - 0x20], 0
jge 0x10008a10
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 0x10008b4b
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x21], 0
cmp dword [ebp - 0x1c], 0
je 0x10008b06
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 0x10008b06
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x1005504c
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.10006620
mov dword [ebp - 4], 2
push 0
push str.564D
lea ecx, [ebp - 0x58]
call fcn.100094d0
test eax, eax
je 0x10008ad6
push 0
push str.VBOX
lea ecx, [ebp - 0x58]
call fcn.100094d0
cmp eax, dword [0x10055770]
jne 0x10008ad6
push 0
push 0x10055070
lea ecx, [ebp - 0x58]
call fcn.100094d0
cmp eax, dword [0x10055770]
jne 0x10008ad6
push 0
push str.PARALLELS
lea ecx, [ebp - 0x58]
call fcn.100094d0
cmp eax, dword [0x10055770]
je 0x10008ada
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.10006660
jmp 0x10008a22
cmp dword [ebp - 0x1c], 0
je 0x10008b1a
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 0x10008b2e
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 0x10008b42
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