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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101211a8
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.10077450
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 0x100d7a2d
cmp eax, 0x80010119
jne 0x100d7cf7
lea eax, [ebp - 0x1c]
push eax
push 0x10125620
push 1
push 0
push 0x101256f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100d7cf7
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100d7cf7
mov eax, dword [ecx]
push 0xc
mov edi, dword [eax + 0xc]
call fcn.10073081
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100d7a9c
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 0x100d7daf
jmp 0x100d7a9e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], esi
test esi, esi
je 0x100d7db9
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 0x100d7b1a
mov eax, dword [esi]
test eax, eax
je 0x100d7af8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100d7b0f
push eax
call fcn.1007307c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1007306e
add esp, 8
test edi, edi
js 0x100d7cf7
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100d7cf7
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 0x100d7cf7
mov eax, dword [ebp - 0x14]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x18], eax
call fcn.10073081
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x100d7b8b
push str.SELECT__FROM_Win32_ComputerSystem
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.100748e0
mov dword [esi], eax
jmp 0x100d7b8d
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], esi
test esi, esi
je 0x100d7dc3
mov dword [ebp - 4], 3
mov eax, dword [esi]
push 0xc
mov dword [ebp - 0x2c], eax
call fcn.10073081
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x100d7bde
push 0x10137ff4
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.100748e0
mov dword [edi], eax
jmp 0x100d7be0
xor edi, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], edi
test edi, edi
je 0x100d7dcd
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 0x100d7c4c
mov ecx, dword [edi]
test ecx, ecx
je 0x100d7c2a
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x100d7c41
push eax
call fcn.1007307c
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1007306e
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 0x100d7c96
mov eax, dword [esi]
test eax, eax
je 0x100d7c74
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100d7c8b
push eax
call fcn.1007307c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1007306e
add esp, 8
cmp dword [ebp - 0x18], 0
jl 0x100d7cf7
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100d7d04
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 0x100d7cf3
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x48]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x10137ff8
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 0x100d7d04
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100d7d11
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100d7d1e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [ebp - 0xd], 0
je 0x100d7d9c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x148]
push str.VirtualBox
push eax
call esi
test eax, eax
jne 0x100d7d5a
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 0x100d7d84
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.10074670
push 0x8007000e
call fcn.10074670
push 0x8007000e
call fcn.10074670
push 0x8007000e
call fcn.10074670
int3