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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x6a5f90]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0x6a2640
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0xc], eax
push 0x6a2658
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x1c], eax
push str.SELECT__FROM_Win32_NetworkAdapter
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x28], 0
jge 0x52cd4b
cmp dword [ebp - 0x28], 0x80010106
je 0x52cd4b
cmp dword [ebp + 8], 0
je 0x52cd3c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x52cd3c
push 0xf8
mov edx, dword [ebp - 0x28]
push edx
push 0xe
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
add esp, 0x10
mov dword [ebp - 0x454], eax
jmp 0x52cd46
mov dword [ebp - 0x454], 0xe
jmp 0x52d0b9
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 - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x52cdb7
cmp dword [ebp - 0x28], 0x80010119
je 0x52cdb7
cmp dword [ebp + 8], 0
je 0x52cda8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x52cda8
push 0xff
mov edx, dword [ebp - 0x28]
push edx
push 0xe
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
add esp, 0x10
mov dword [ebp - 0x458], eax
jmp 0x52cdb2
mov dword [ebp - 0x458], 0xe
jmp 0x52d0b9
lea ecx, [ebp - 0x18]
push ecx
push 0x66737c
push 1
push 0
push 0x66731c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x52ce1a
cmp dword [ebp + 8], 0
je 0x52ce0b
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x52ce0b
push 0x107
mov eax, dword [ebp - 0x28]
push eax
push 0xe
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call ecx
add esp, 0x10
mov dword [ebp - 0x45c], eax
jmp 0x52ce15
mov dword [ebp - 0x45c], 0xe
jmp 0x52d0b9
lea edx, [ebp - 0x14]
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 - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x52ce87
cmp dword [ebp + 8], 0
je 0x52ce78
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x52ce78
push 0x10e
mov eax, dword [ebp - 0x28]
push eax
push 0xe
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call ecx
add esp, 0x10
mov dword [ebp - 0x460], eax
jmp 0x52ce82
mov dword [ebp - 0x460], 0xe
jmp 0x52d0b9
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x52ceea
cmp dword [ebp + 8], 0
je 0x52cedb
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x52cedb
push 0x11e
mov ecx, dword [ebp - 0x28]
push ecx
push 0xe
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov dword [ebp - 0x464], eax
jmp 0x52cee5
mov dword [ebp - 0x464], 0xe
jmp 0x52d0b9
lea eax, [ebp - 0x20]
push eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x52cf17
cmp dword [ebp - 0x20], 0
jne 0x52cf59
cmp dword [ebp + 8], 0
je 0x52cf4a
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x52cf4a
push 0x126
mov edx, dword [ebp - 0x28]
push edx
push 0xe
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
add esp, 0x10
mov dword [ebp - 0x468], eax
jmp 0x52cf54
mov dword [ebp - 0x468], 0xe
jmp 0x52d0b9
cmp dword [ebp - 0x10], 0
jne 0x52d09d
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x52d09d
push 0x420
push 0
lea ecx, [ebp - 0x450]
push ecx
call fcn.00533390
add esp, 0xc
lea edx, [ebp - 0x134]
push edx
push str.Guid
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0052d120
add esp, 0xc
lea ecx, [ebp - 0x33c]
push ecx
push str.PNPDeviceID
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0052d120
add esp, 0xc
push 6
push str.VMBUS_
lea eax, [ebp - 0x33c]
push eax
call fcn.0053abc0
add esp, 0xc
test eax, eax
jne 0x52d08a
lea ecx, [ebp - 0x134]
push ecx
call fcn.0052d2c0
add esp, 4
test eax, eax
je 0x52d08a
mov dword [ebp - 0x10], 1
cmp dword [ebp + 8], 0
je 0x52d040
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x52d040
push 0x13b
push str.Azure_detected_on_the_following_NIC:
push 9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
add esp, 0x10
mov dword [ebp - 0x46c], eax
jmp 0x52d04a
mov dword [ebp - 0x46c], 9
cmp dword [ebp + 8], 0
je 0x52d080
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x52d080
push 0x13c
lea edx, [ebp - 0x134]
push edx
push 9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
add esp, 0x10
mov dword [ebp - 0x470], eax
jmp 0x52d08a
mov dword [ebp - 0x470], 9
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
jmp 0x52cf59
cmp dword [ebp - 0x20], 0
je 0x52d0b1
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
xor eax, eax
jne 0x52ccd2
cmp dword [ebp - 0x14], 0
je 0x52d0cd
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
cmp dword [ebp - 0x18], 0
je 0x52d0e1
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 0x52d0f0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00532cdb
mov esp, ebp
pop ebp
ret