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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55096c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x58bb30]
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 0x56ee64
push 1
push 0
push 0x56ee74
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x495489
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.0052f4cd
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x49536d
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 0x495580
jmp 0x49536f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
je 0x495580
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 [0x55670c]
call edi
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00495190
test esi, esi
js 0x495476
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 0x495466
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.00495100
mov dword [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x49540c
mov esi, dword [eax]
jmp 0x49540e
xor esi, esi
push 0x567420
lea ecx, [ebp - 0x24]
call fcn.00495100
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x495429
mov eax, dword [eax]
jmp 0x49542b
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 [0x55670c]
call edi
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00495190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00495190
test esi, esi
jns 0x49549d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55670c]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55670c]
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 0x495533
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 [0x55670c]
call esi
cmp dword [ebp - 0x20], 0
je 0x495533
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push 0
push 0
push ecx
mov esi, dword [eax]
push 0
push 0x567424
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55670c]
call esi
push str.Windows_10
push dword [ebp - 0x30]
call fcn.00531fcb
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 [0x55670c]
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4954b4
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55670c]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55670c]
call esi
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x55670c]
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.005309e0
int3