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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10250755
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x140]
xor bl, bl
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x100e1dab
cmp eax, 0x80010119
jne 0x100e1fc3
lea eax, [ebp - 0x14]
push eax
push 0x10255b80
push 1
push 0
push 0x10255c50
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100e1fc3
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100e1fc3
mov eax, dword [ecx]
push 0xc
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
call fcn.1006e6a7
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100e1e1d
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 0x100e2079
jmp 0x100e1e1f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], esi
test esi, esi
je 0x100e2083
lea eax, [ebp - 0x10]
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 - 0x14]
call dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.100466e0
test esi, esi
js 0x100e1fc3
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100e1fc3
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 0x100e1fc3
mov eax, dword [ebp - 0x10]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
call fcn.1006e6a7
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x100e1ed2
push str.SELECT__FROM_Win32_ComputerSystem
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.1006f6c0
mov dword [esi], eax
jmp 0x100e1ed4
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
je 0x100e208d
mov dword [ebp - 4], 3
mov eax, dword [esi]
push 0xc
mov dword [ebp - 0x20], eax
call fcn.1006e6a7
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x100e1f25
push 0x1026927c
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.1006f6c0
mov dword [esi], eax
jmp 0x100e1f27
xor esi, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], esi
test esi, esi
je 0x100e2097
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
push 0
push 0x30
push dword [ebp - 0x20]
push dword [esi]
push dword [ebp - 0x10]
call dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.100466e0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.100466e0
test esi, esi
js 0x100e1fc3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100e1fd0
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x2c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x28], 0
je 0x100e1fc1
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Model
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x38]
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov bl, 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100e1fd0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100e1fdd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100e1fea
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
test bl, bl
je 0x100e2066
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x140]
push str.VirtualBox
push eax
call esi
test eax, eax
jne 0x100e2024
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push str.Virtual_Machine
lea eax, [ebp - 0x140]
push eax
call esi
test eax, eax
jne 0x100e204e
mov edi, 2
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push str.VMware_Virtual_Platform
lea eax, [ebp - 0x140]
push eax
call esi
test eax, eax
mov ecx, 3
cmove edi, ecx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.1006f600
push 0x8007000e
call fcn.1006f600
push 0x8007000e
call fcn.1006f600
push 0x8007000e
call fcn.1006f600
int3