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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011cc78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x148]
mov byte [ebp - 0xd], 0
push 0
push eax
call fcn.10074090
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
push 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]
test eax, eax
jns 0x100d465d
cmp eax, 0x80010119
jne 0x100d4927
lea eax, [ebp - 0x1c]
push eax
push 0x10121600
push 1
push 0
push 0x101216d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100d4927
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100d4927
mov eax, dword [ecx]
push 0xc
mov edi, dword [eax + 0xc]
call fcn.1006fcb6
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100d46cc
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 0x100d49df
jmp 0x100d46ce
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], esi
test esi, esi
je 0x100d49e9
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi]
push dword [ebp - 0x1c]
call edi
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100d474a
mov eax, dword [esi]
test eax, eax
je 0x100d4728
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100d473f
push eax
call fcn.1006fcb1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1006fca3
add esp, 8
test edi, edi
js 0x100d4927
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100d4927
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x100d4927
mov eax, dword [ebp - 0x14]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x18], eax
call fcn.1006fcb6
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x100d47bb
push str.SELECT__FROM_Win32_ComputerSystem
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10071520
mov dword [esi], eax
jmp 0x100d47bd
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], esi
test esi, esi
je 0x100d49f3
mov dword [ebp - 4], 3
mov eax, dword [esi]
push 0xc
mov dword [ebp - 0x2c], eax
call fcn.1006fcb6
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x100d480e
push 0x10133fdc
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.10071520
mov dword [edi], eax
jmp 0x100d4810
xor edi, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], edi
test edi, edi
je 0x100d49fd
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
push 0
push 0x30
push dword [ebp - 0x2c]
push dword [edi]
push dword [ebp - 0x14]
call dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100d487c
mov ecx, dword [edi]
test ecx, ecx
je 0x100d485a
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x100d4871
push eax
call fcn.1006fcb1
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1006fca3
add esp, 8
lea eax, [esi + 8]
mov dword [ebp - 4], 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100d48c6
mov eax, dword [esi]
test eax, eax
je 0x100d48a4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100d48bb
push eax
call fcn.1006fcb1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1006fca3
add esp, 8
cmp dword [ebp - 0x18], 0
jl 0x100d4927
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100d4934
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x28]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x24], 0
je 0x100d4923
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x48]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x10133fe0
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x40]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100d4934
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100d4941
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100d494e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [ebp - 0xd], 0
je 0x100d49cc
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x148]
push str.VirtualBox
push eax
call esi
test eax, eax
jne 0x100d498a
mov ebx, 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Virtual_Machine
lea eax, [ebp - 0x148]
push eax
call esi
test eax, eax
jne 0x100d49b4
mov ebx, 2
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.VMware_Virtual_Platform
lea eax, [ebp - 0x148]
push eax
call esi
test eax, eax
mov ecx, 3
cmove ebx, ecx
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.100712b0
push 0x8007000e
call fcn.100712b0
push 0x8007000e
call fcn.100712b0
push 0x8007000e
call fcn.100712b0
int3