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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0x6a17a8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0xc], eax
push 0x6a17c0
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 0x52be4b
cmp dword [ebp - 0x28], 0x80010106
je 0x52be4b
cmp dword [ebp + 8], 0
je 0x52be3c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x52be3c
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 0x52be46
mov dword [ebp - 0x454], 0xe
jmp 0x52c1b9
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 0x52beb7
cmp dword [ebp - 0x28], 0x80010119
je 0x52beb7
cmp dword [ebp + 8], 0
je 0x52bea8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x52bea8
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 0x52beb2
mov dword [ebp - 0x458], 0xe
jmp 0x52c1b9
lea ecx, [ebp - 0x18]
push ecx
push 0x66637c
push 1
push 0
push 0x66631c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x52bf1a
cmp dword [ebp + 8], 0
je 0x52bf0b
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x52bf0b
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 0x52bf15
mov dword [ebp - 0x45c], 0xe
jmp 0x52c1b9
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 0x52bf87
cmp dword [ebp + 8], 0
je 0x52bf78
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x52bf78
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 0x52bf82
mov dword [ebp - 0x460], 0xe
jmp 0x52c1b9
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 0x52bfea
cmp dword [ebp + 8], 0
je 0x52bfdb
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x52bfdb
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 0x52bfe5
mov dword [ebp - 0x464], 0xe
jmp 0x52c1b9
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 0x52c017
cmp dword [ebp - 0x20], 0
jne 0x52c059
cmp dword [ebp + 8], 0
je 0x52c04a
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x52c04a
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 0x52c054
mov dword [ebp - 0x468], 0xe
jmp 0x52c1b9
cmp dword [ebp - 0x10], 0
jne 0x52c19d
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 0x52c19d
push 0x420
push 0
lea ecx, [ebp - 0x450]
push ecx
call fcn.00532490
add esp, 0xc
lea edx, [ebp - 0x134]
push edx
push str.Guid
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0052c220
add esp, 0xc
lea ecx, [ebp - 0x33c]
push ecx
push str.PNPDeviceID
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0052c220
add esp, 0xc
push 6
push str.VMBUS_
lea eax, [ebp - 0x33c]
push eax
call fcn.00539cc0
add esp, 0xc
test eax, eax
jne 0x52c18a
lea ecx, [ebp - 0x134]
push ecx
call fcn.0052c3c0
add esp, 4
test eax, eax
je 0x52c18a
mov dword [ebp - 0x10], 1
cmp dword [ebp + 8], 0
je 0x52c140
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x52c140
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 0x52c14a
mov dword [ebp - 0x46c], 9
cmp dword [ebp + 8], 0
je 0x52c180
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x52c180
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 0x52c18a
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 0x52c059
cmp dword [ebp - 0x20], 0
je 0x52c1b1
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 0x52bdd2
cmp dword [ebp - 0x14], 0
je 0x52c1cd
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 0x52c1e1
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 0x52c1f0
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.00531ddb
mov esp, ebp
pop ebp
ret