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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599050
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x5c], 0
push eax
push 0x5f727c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004e9ac0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitialize]
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]
cmp eax, 0x80010119
je 0x4e74ac
test eax, eax
js 0x4e754c
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x5f5c64
push 1
push 0
push 0x5f5d34
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4e754c
push str.ROOTCIMV2
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], 0
call fcn.004e1590
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x4e74f1
mov edx, dword [eax]
jmp 0x4e74f3
xor edx, edx
mov eax, dword [ebp - 0x34]
lea esi, [ebp - 0x30]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004e1640
test esi, esi
js 0x4e7543
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4e7577
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004e9920
cmp dword [ebp - 0x14], 8
jb 0x4e76d7
push dword [ebp - 0x28]
call fcn.0055be79
add esp, 4
jmp 0x4e76d7
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x38], 0
call fcn.004e14f0
mov esi, eax
push 0x5f7b50
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.004e14f0
mov byte [ebp - 4], 3
mov esi, dword [esi]
test esi, esi
je 0x4e75ac
mov esi, dword [esi]
jmp 0x4e75ae
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4e75b8
mov edx, dword [eax]
jmp 0x4e75ba
xor edx, edx
mov eax, dword [ebp - 0x30]
lea ebx, [ebp - 0x38]
push ebx
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.004e1640
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004e1640
test esi, esi
jns 0x4e75fe
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4e76be
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
test ecx, ecx
je 0x4e7696
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ecx]
mov eax, dword [ecx]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x3c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x2c], 0
je 0x4e7696
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x50]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x5f7b54
push eax
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x48]
cmp word [edx], 0
jne 0x4e7667
xor ecx, ecx
jmp 0x4e767f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e7670
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004e9ac0
lea eax, [ebp - 0x50]
push eax
call ebx
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x4e7620
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4e76be
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004e9920
lea ecx, [ebp - 0x28]
call fcn.004e99d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e4ed
mov esp, ebp
pop ebp
ret