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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5516fc
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x58cb30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x570064
push 1
push 0
push 0x570074
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x495e29
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.0052ffdd
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x495d0d
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 0x495f20
jmp 0x495d0f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
je 0x495f20
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi]
mov ecx, edi
push dword [ebp - 0x14]
call dword [0x55770c]
call edi
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00495b30
test esi, esi
js 0x495e16
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x10]
js 0x495e06
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
push str.SELECT__FROM_Win32_OperatingSystem
mov edi, dword [eax + 0x50]
call fcn.00495aa0
mov dword [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x495dac
mov esi, dword [eax]
jmp 0x495dae
xor esi, esi
push 0x568620
lea ecx, [ebp - 0x24]
call fcn.00495aa0
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x495dc9
mov eax, dword [eax]
jmp 0x495dcb
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x30
push esi
push eax
push dword [ebp - 0x10]
mov ecx, edi
call dword [0x55770c]
call edi
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00495b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00495b30
test esi, esi
jns 0x495e3d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55770c]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55770c]
call esi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
xor bl, bl
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
test eax, eax
je 0x495ed3
mov esi, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov esi, dword [esi + 0x10]
mov ecx, esi
push 1
push 0xffffffffffffffff
push eax
call dword [0x55770c]
call esi
cmp dword [ebp - 0x20], 0
je 0x495ed3
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push 0
push 0
push ecx
mov esi, dword [eax]
push 0
push 0x568624
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55770c]
call esi
push str.Windows_10
push dword [ebp - 0x30]
call fcn.00532adb
add esp, 8
test eax, eax
setne al
or bl, al
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55770c]
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x495e54
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55770c]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55770c]
call esi
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x55770c]
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.005314f0
int3