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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62959c
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xb0], ecx
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
push 0x651f34
push 1
push 0
push 0x652004
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4ef6d6
push str.ROOTCIMV2
mov dword [ebp - 0xa0], 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0xa8], esi
test esi, esi
jne 0x4ef2af
push 0x8007000e
call fcn.00490300
lea edx, [ebp - 0xa0]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xa4]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push esi
push eax
call dword [ecx + 0xc]
push esi
mov edi, eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x4ef6ca
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0xa0]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4ef6be
mov ecx, str.SELECT__FROM_Win32_VideoController
mov dword [ebp - 0xac], 0
call fcn.004f92f0
mov esi, eax
mov dword [ebp - 0xa8], esi
test esi, esi
jne 0x4ef33a
push 0x8007000e
call fcn.00490300
mov ecx, 0x6745c0
mov dword [ebp - 4], 1
call fcn.004f92f0
mov edi, eax
mov dword [ebp - 0x9c], edi
test edi, edi
jne 0x4ef361
push 0x8007000e
call fcn.00490300
lea edx, [ebp - 0xac]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa0]
push edx
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edi
push eax
call dword [ecx + 0x50]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, eax
call edi
push esi
mov dword [ebp - 4], 0xffffffff
call edi
test ebx, ebx
js 0x4ef6be
mov dword [ebp - 4], 3
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0xa8], 0
jmp 0x4ef3c0
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x4ef6b7
mov eax, dword [ecx]
lea edx, [ebp - 0xa8]
push edx
lea edx, [ebp - 0x9c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0xa8], 0
je 0x4ef6b7
xor eax, eax
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], eax
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], eax
mov word [ebp - 0x64], ax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x4c], ax
push 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0xc0]
push 0
mov byte [ebp - 0x80], al
mov eax, dword [ebp - 0x9c]
push edx
push 0
push 0x6745c4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x2c]
call fcn.00415d10
mov edi, eax
lea eax, [ebp - 0x98]
cmp eax, edi
je 0x4ef4b6
cmp dword [ebp - 0x84], 8
jb 0x4ef48d
push dword [ebp - 0x98]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x84], 7
push edi
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
call fcn.0041aea0
cmp dword [ebp - 0x18], 8
jb 0x4ef4c4
push dword [ebp - 0x2c]
call esi
add esp, 4
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0xf0]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Availability
push eax
call dword [ecx + 0x10]
movzx ecx, byte [ebp - 0x80]
lea edx, [ebp - 0xd0]
test eax, eax
mov eax, 1
push 0
cmove ecx, eax
mov eax, dword [ebp - 0x9c]
push 0
push edx
push 0
mov byte [ebp - 0x80], cl
mov ecx, dword [eax]
push str.AdapterRAM
push eax
call dword [ecx + 0x10]
mov edx, dword [ebp - 0xc8]
lea ecx, [ebp - 0x2c]
shr edx, 0x14
call fcn.00432700
mov edi, eax
lea eax, [ebp - 0x4c]
cmp eax, edi
je 0x4ef556
cmp dword [ebp - 0x38], 8
jb 0x4ef539
push dword [ebp - 0x4c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], 7
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
call fcn.0041aea0
cmp dword [ebp - 0x18], 8
jb 0x4ef564
push dword [ebp - 0x2c]
call esi
add esp, 4
push 1
push 0x67610c
lea ecx, [ebp - 0x4c]
call fcn.00428400
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0xe0]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.DriverDate
push eax
call dword [ecx + 0x10]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x2c]
call fcn.00415d10
mov edi, eax
lea eax, [ebp - 0x64]
cmp eax, edi
je 0x4ef5d3
cmp dword [ebp - 0x50], 8
jb 0x4ef5b6
push dword [ebp - 0x64]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
push edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
call fcn.0041aea0
cmp dword [ebp - 0x18], 8
jb 0x4ef5e1
push dword [ebp - 0x2c]
call esi
add esp, 4
push 8
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00428c60
mov edi, eax
lea eax, [ebp - 0x64]
cmp eax, edi
je 0x4ef625
cmp dword [ebp - 0x50], 8
jb 0x4ef608
push dword [ebp - 0x64]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
push edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
call fcn.0041aea0
cmp dword [ebp - 0x18], 8
jb 0x4ef633
push dword [ebp - 0x2c]
call esi
add esp, 4
push 0
xor eax, eax
mov dword [ebp - 0x18], 7
push 0
mov word [ebp - 0x2c], ax
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x9c]
push edx
push 0
push str.MaxMemorySupported
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x1c], 0
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0x98]
push eax
call fcn.004f6fb0
lea eax, [ebp - 0xc0]
push eax
call ebx
lea eax, [ebp - 0xf0]
push eax
call ebx
lea eax, [ebp - 0xd0]
push eax
call ebx
lea eax, [ebp - 0xe0]
push eax
call ebx
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.004ef700
jmp 0x4ef3c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret