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

Disassembly:
push 0xffffffffffffffff
push 0x4c9f81
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
xor ebx, ebx
push 0xfe
lea eax, [esp + 0x4a]
push ebx
push eax
mov byte [esp + 0x23], bl
mov word [esp + 0x50], bx
call fcn.004b1550
add esp, 0xc
push ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x423d9c
cmp eax, 0x80010119
jne 0x423fc4
lea ecx, [esp + 0x24]
push ecx
push 0x4d167c
push 1
push ebx
push 0x4d174c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x423fc4
lea edx, [esp + 0x1c]
push edx
mov edi, str.ROOTCIMV2
call fcn.0041bd40
mov dword [esp + 0x150], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x423ddc
mov ecx, dword [eax]
jmp 0x423dde
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
lea esi, [esp + 0x20]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x150], 0xffffffff
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edi, eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x423e47
mov esi, eax
add eax, 8
push eax
call ebp
cmp eax, ebx
jne 0x423e47
cmp esi, ebx
je 0x423e47
mov eax, dword [esi]
cmp eax, ebx
je 0x423e2e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x423e3e
push eax
call fcn.004a84ed
add esp, 4
push esi
call fcn.004a85e6
add esp, 4
cmp edi, ebx
jl 0x423fc4
mov ecx, dword [esp + 0x20]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jl 0x423fc4
push str.SELECT__FROM_Win32_ComputerSystem
lea edx, [esp + 0x34]
push edx
call fcn.0041bcb0
mov esi, eax
push 0x4d93f8
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x158], 1
call fcn.0041bcb0
mov byte [esp + 0x150], 2
mov ecx, dword [esi]
cmp ecx, ebx
je 0x423ea9
mov ecx, dword [ecx]
jmp 0x423eab
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x423eb5
mov edx, dword [eax]
jmp 0x423eb7
xor edx, edx
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
lea edi, [esp + 0x18]
push edi
push ebx
push 0x30
push ecx
mov ecx, dword [esi + 0x50]
push edx
push eax
call ecx
mov edi, eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x423f11
mov esi, eax
add eax, 8
push eax
call ebp
cmp eax, ebx
jne 0x423f0d
cmp esi, ebx
je 0x423f0d
mov eax, dword [esi]
cmp eax, ebx
je 0x423ef4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x423f04
push eax
call fcn.004a84ed
add esp, 4
push esi
call fcn.004a85e6
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x150], 0xffffffff
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x423f58
lea edx, [esi + 8]
push edx
call ebp
test eax, eax
jne 0x423f58
cmp esi, ebx
je 0x423f58
mov eax, dword [esi]
cmp eax, ebx
je 0x423f3f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x423f4f
push eax
call fcn.004a84ed
add esp, 4
push esi
call fcn.004a85e6
add esp, 4
cmp edi, ebx
jl 0x423fc4
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
je 0x423fbd
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x2c]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x2c], ebx
je 0x423fb9
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x3c]
push edx
push ebx
push str.Model
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x17], 1
jmp 0x423fc8
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x423fd4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x423fe4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x423ff4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [esp + 0x17], bl
je 0x42404b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.VirtualBox
lea eax, [esp + 0x48]
push eax
call esi
test eax, eax
jne 0x42401d
mov eax, 1
jmp 0x42404d
push str.Virtual_Machine
lea ecx, [esp + 0x48]
push ecx
call esi
test eax, eax
jne 0x424034
mov eax, 2
jmp 0x42404d
push str.VMware_Virtual_Platform
lea edx, [esp + 0x48]
push edx
call esi
test eax, eax
jne 0x42404b
mov eax, 3
jmp 0x42404d
xor eax, eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004a85d7
add esp, 0x140
ret