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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000843a
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x1000d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x10003e87
lea eax, [ebp - 0x14]
push eax
push 0x1000932c
push 1
push 0
push 0x1000931c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10003e81
push 0xc
call fcn.10006da3
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10003b89
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x10003e9b
jmp 0x10003b8b
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
je 0x10003e9b
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [esi]
push eax
call dword [ecx + 0xc]
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov edi, eax
mov ecx, ebx
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x10003c0a
mov ecx, dword [esi]
test ecx, ecx
je 0x10003be8
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003bff
push eax
call fcn.1000711e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10006dd3
add esp, 8
test edi, edi
js 0x10003e78
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x10003e6f
push 0xc
call fcn.10006da3
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x10003c67
push str.SELECT__FROM_Win32_BIOS
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10007bd0
mov dword [esi], eax
jmp 0x10003c69
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
je 0x10003e9b
push 0xc
mov dword [ebp - 4], 3
call fcn.10006da3
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x10003cb5
push 0x10009678
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.10007bd0
mov dword [edi], eax
jmp 0x10003cb7
xor edi, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], edi
test edi, edi
je 0x10003ea5
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
push edx
push 0
push 0x30
push dword [esi]
mov ecx, dword [eax]
push dword [edi]
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0x24], eax
mov ecx, ebx
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x10003d21
mov ecx, dword [edi]
test ecx, ecx
je 0x10003cff
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10003d16
push eax
call fcn.1000711e
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10006dd3
add esp, 8
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10003d65
mov eax, dword [esi]
test eax, eax
je 0x10003d43
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003d5a
push eax
call fcn.1000711e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10006dd3
add esp, 8
cmp dword [ebp - 0x24], 0
jl 0x10003e6f
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x10003e69
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x20], 0
je 0x10003e66
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x1000967c
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x10003e06
cmp word [ebp - 0x38], 8
jne 0x10003e06
push str.VMware
push dword [ebp - 0x30]
call esi
add esp, 8
test eax, eax
jne 0x10003e22
push str.VirtualBox
push dword [ebp - 0x30]
call esi
add esp, 8
test eax, eax
jne 0x10003e22
push str.Microsoft_Corporation_Hyper_V
push dword [ebp - 0x30]
call esi
add esp, 8
test eax, eax
jne 0x10003e22
lea eax, [ebp - 0x38]
push eax
call edi
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x10003d94
jmp 0x10003e69
lea eax, [ebp - 0x38]
push eax
call edi
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.10007bb0
push 0x8007000e
call fcn.10007bb0
int3