Function at 0x52e100
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
push str.ROOTCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x52e168
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x52e168
push 0x1f7
push str.WMI_Vm_Detection_Mechanism
push 9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
call ecx
add esp, 0x10
mov dword [ebp - 0x1c], eax
jmp 0x52e16f
mov dword [ebp - 0x1c], 9
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x14], 0
jge 0x52e1db
cmp dword [ebp - 0x14], 0x80010106
je 0x52e1db
cmp dword [ebp + 0xc], 0
je 0x52e1c2
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x52e1c2
push 0x1fe
push str.WMI_CoInitializeEx_failure
push 9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
call ecx
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x52e1c9
mov dword [ebp - 0x20], 9
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
jmp 0x52e606
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x52e242
cmp dword [ebp - 0x14], 0x80010119
je 0x52e242
cmp dword [ebp + 0xc], 0
je 0x52e236
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x52e236
push 0x207
push str.WMI_CoInitializeSecurity_failure
push 9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
call ecx
add esp, 0x10
mov dword [ebp - 0x24], eax
jmp 0x52e23d
mov dword [ebp - 0x24], 9
jmp 0x52e54a
lea edx, [ebp - 0x18]
push edx
push 0x66737c
push 1
push 0
push 0x66731c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x52e2a0
cmp dword [ebp + 0xc], 0
je 0x52e294
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x52e294
push 0x210
push str.WMI_CoCreateInstance_failure
push 9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
call ecx
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x52e29b
mov dword [ebp - 0x28], 9
jmp 0x52e54a
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x52e308
cmp dword [ebp + 0xc], 0
je 0x52e2fc
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], 0
je 0x52e2fc
push 0x218
push str.WMI_ConnectServer_failure
push 9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
add esp, 0x10
mov dword [ebp - 0x2c], eax
jmp 0x52e303
mov dword [ebp - 0x2c], 9
jmp 0x52e54a
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x52e366
cmp dword [ebp + 0xc], 0
je 0x52e35a
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], 0
je 0x52e35a
push 0x229
push str.WMI_CoSetProxyBlanket_failure
push 9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
add esp, 0x10
mov dword [ebp - 0x30], eax
jmp 0x52e361
mov dword [ebp - 0x30], 9
jmp 0x52e54a
cmp dword [ebp + 8], 1
jne 0x52e3b8
cmp dword [ebp + 0xc], 0
je 0x52e39d
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
je 0x52e39d
push 0x22f
push str.WMI_checking_for_VM_WMI_HYPERV
push 9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x34], eax
jmp 0x52e3a4
mov dword [ebp - 0x34], 9
lea eax, [ebp - 0x10]
push eax
call fcn.0052d710
add esp, 4
mov dword [ebp - 8], eax
jmp 0x52e54a
cmp dword [ebp + 8], 0
jne 0x52e40a
cmp dword [ebp + 0xc], 0
je 0x52e3ef
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
je 0x52e3ef
push 0x234
push str.WMI_checking_for_VM_WMI_VMWARE
push 9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x38], eax
jmp 0x52e3f6
mov dword [ebp - 0x38], 9
lea eax, [ebp - 0x10]
push eax
call fcn.0052d860
add esp, 4
mov dword [ebp - 8], eax
jmp 0x52e54a
cmp dword [ebp + 8], 2
jne 0x52e45c
cmp dword [ebp + 0xc], 0
je 0x52e441
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
je 0x52e441
push 0x239
push str.WMI_checking_for_VM_WMI_VIRTUALBOX
push 9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x3c], eax
jmp 0x52e448
mov dword [ebp - 0x3c], 9
lea eax, [ebp - 0x10]
push eax
call fcn.0052d9b0
add esp, 4
mov dword [ebp - 8], eax
jmp 0x52e54a
cmp dword [ebp + 8], 3
jne 0x52e4ae
cmp dword [ebp + 0xc], 0
je 0x52e493
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
je 0x52e493
push 0x23e
push str.WMI_checking_for_VM_WMI_QEMU
push 9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x40], eax
jmp 0x52e49a
mov dword [ebp - 0x40], 9
lea eax, [ebp - 0x10]
push eax
call fcn.0052de40
add esp, 4
mov dword [ebp - 8], eax
jmp 0x52e54a
cmp dword [ebp + 8], 4
jne 0x52e4fd
cmp dword [ebp + 0xc], 0
je 0x52e4e5
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
je 0x52e4e5
push 0x243
push str.WMI_checking_for_VM_WMI_PARALLELS
push 9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x44], eax
jmp 0x52e4ec
mov dword [ebp - 0x44], 9
lea eax, [ebp - 0x10]
push eax
call fcn.0052de80
add esp, 4
mov dword [ebp - 8], eax
jmp 0x52e54a
cmp dword [ebp + 8], 8
jne 0x52e54a
cmp dword [ebp + 0xc], 0
je 0x52e534
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
je 0x52e534
push 0x248
push str.WMI_checking_for_VM_FAMILY_UNKNOWN
push 9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x48], eax
jmp 0x52e53b
mov dword [ebp - 0x48], 9
lea eax, [ebp - 0x10]
push eax
call fcn.0052dfd0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
je 0x52e55e
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
cmp dword [ebp - 0x18], 0
je 0x52e572
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
cmp dword [ebp - 4], 0x80010106
je 0x52e581
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 8], 0
jne 0x52e5cb
cmp dword [ebp + 0xc], 0
je 0x52e5c2
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
je 0x52e5c2
push 0x262
push str.WMI_Vm_Detection_Mechanism_positive_result
push 9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x4c], eax
jmp 0x52e5c9
mov dword [ebp - 0x4c], 9
jmp 0x52e603
cmp dword [ebp + 0xc], 0
je 0x52e5fc
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x52e5fc
push 0x266
push str.WMI_Vm_Detection_Mechanism_negative_result
push 9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
call ecx
add esp, 0x10
mov dword [ebp - 0x50], eax
jmp 0x52e603
mov dword [ebp - 0x50], 9
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret