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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0x784070
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0xc], eax
push 0x784088
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 0x40768b
cmp dword [ebp - 0x28], 0x80010106
je 0x40768b
cmp dword [ebp + 8], 0
je 0x40767c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x40767c
push 0xf7
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 0x407686
mov dword [ebp - 0x454], 0xe
jmp 0x4079f9
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 0x4076f7
cmp dword [ebp - 0x28], 0x80010119
je 0x4076f7
cmp dword [ebp + 8], 0
je 0x4076e8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x4076e8
push 0xfe
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 0x4076f2
mov dword [ebp - 0x458], 0xe
jmp 0x4079f9
lea ecx, [ebp - 0x18]
push ecx
push 0x6fa0c4
push 1
push 0
push 0x6fa0b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x40775a
cmp dword [ebp + 8], 0
je 0x40774b
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x40774b
push 0x106
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 0x407755
mov dword [ebp - 0x45c], 0xe
jmp 0x4079f9
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 0x4077c7
cmp dword [ebp + 8], 0
je 0x4077b8
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x4077b8
push 0x10d
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 0x4077c2
mov dword [ebp - 0x460], 0xe
jmp 0x4079f9
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 0x40782a
cmp dword [ebp + 8], 0
je 0x40781b
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x40781b
push 0x11d
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 0x407825
mov dword [ebp - 0x464], 0xe
jmp 0x4079f9
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 0x407857
cmp dword [ebp - 0x20], 0
jne 0x407899
cmp dword [ebp + 8], 0
je 0x40788a
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x40788a
push 0x125
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 0x407894
mov dword [ebp - 0x468], 0xe
jmp 0x4079f9
cmp dword [ebp - 0x10], 0
jne 0x4079dd
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 0x4079dd
push 0x420
push 0
lea ecx, [ebp - 0x450]
push ecx
call fcn.005cfab0
add esp, 0xc
lea edx, [ebp - 0x134]
push edx
push str.Guid
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00407a60
add esp, 0xc
lea ecx, [ebp - 0x33c]
push ecx
push str.PNPDeviceID
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00407a60
add esp, 0xc
push 6
push str.VMBUS_
lea eax, [ebp - 0x33c]
push eax
call fcn.005d4de0
add esp, 0xc
test eax, eax
jne 0x4079ca
lea ecx, [ebp - 0x134]
push ecx
call fcn.00407c00
add esp, 4
test eax, eax
je 0x4079ca
mov dword [ebp - 0x10], 1
cmp dword [ebp + 8], 0
je 0x407980
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x407980
push 0x13a
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 0x40798a
mov dword [ebp - 0x46c], 9
cmp dword [ebp + 8], 0
je 0x4079c0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x4079c0
push 0x13b
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 0x4079ca
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 0x407899
cmp dword [ebp - 0x20], 0
je 0x4079f1
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 0x407612
cmp dword [ebp - 0x14], 0
je 0x407a0d
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 0x407a21
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 0x407a30
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.005cfbcb
mov esp, ebp
pop ebp
ret