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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601c10
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x697bc0]
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 0x66dd94
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004ef630
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 0x4e993c
test eax, eax
js 0x4e99dc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x66c774
push 1
push 0
push 0x66c844
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4e99dc
push str.ROOTCIMV2
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], 0
call fcn.004e2660
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x4e9981
mov edx, dword [eax]
jmp 0x4e9983
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.004e2710
test esi, esi
js 0x4e99d3
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 0x4e9a07
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.004ef3d0
cmp dword [ebp - 0x14], 8
jb 0x4e9b67
push dword [ebp - 0x28]
call fcn.005c4337
add esp, 4
jmp 0x4e9b67
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x38], 0
call fcn.004e25c0
mov esi, eax
push 0x66e6d8
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.004e25c0
mov byte [ebp - 4], 3
mov esi, dword [esi]
test esi, esi
je 0x4e9a3c
mov esi, dword [esi]
jmp 0x4e9a3e
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4e9a48
mov edx, dword [eax]
jmp 0x4e9a4a
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.004e2710
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004e2710
test esi, esi
jns 0x4e9a8e
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 0x4e9b4e
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
test ecx, ecx
je 0x4e9b26
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 0x4e9b26
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 0x66e6dc
push eax
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x48]
cmp word [edx], 0
jne 0x4e9af7
xor ecx, ecx
jmp 0x4e9b0f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e9b00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004ef630
lea eax, [ebp - 0x50]
push eax
call ebx
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x4e9ab0
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 0x4e9b4e
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.004ef3d0
lea ecx, [ebp - 0x28]
call fcn.004ef480
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.005c6c09
mov esp, ebp
pop ebp
ret