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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58832c
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x603320]
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 0x5a25cc
push 1
push 0
push 0x5a269c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4a95b6
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 0x4a918f
push 0x8007000e
call fcn.004afe30
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 0x4a95aa
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 0x4a959e
mov ecx, str.SELECT__FROM_Win32_VideoController
mov dword [ebp - 0xac], 0
call fcn.004afdc0
mov esi, eax
mov dword [ebp - 0xa8], esi
test esi, esi
jne 0x4a921a
push 0x8007000e
call fcn.004afe30
mov ecx, 0x5b8548
mov dword [ebp - 4], 1
call fcn.004afdc0
mov edi, eax
mov dword [ebp - 0x9c], edi
test edi, edi
jne 0x4a9241
push 0x8007000e
call fcn.004afe30
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 0x4a959e
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 0x4a92a0
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x4a9597
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 0x4a9597
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 0x5b854c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x2c]
call fcn.0040de10
mov edi, eax
lea eax, [ebp - 0x98]
cmp eax, edi
je 0x4a9396
cmp dword [ebp - 0x84], 8
jb 0x4a936d
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.0040d580
cmp dword [ebp - 0x18], 8
jb 0x4a93a4
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.004279c0
mov edi, eax
lea eax, [ebp - 0x4c]
cmp eax, edi
je 0x4a9436
cmp dword [ebp - 0x38], 8
jb 0x4a9419
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.0040d580
cmp dword [ebp - 0x18], 8
jb 0x4a9444
push dword [ebp - 0x2c]
call esi
add esp, 4
push 1
push 0x5b9144
lea ecx, [ebp - 0x4c]
call fcn.00426970
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.0040de10
mov edi, eax
lea eax, [ebp - 0x64]
cmp eax, edi
je 0x4a94b3
cmp dword [ebp - 0x50], 8
jb 0x4a9496
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.0040d580
cmp dword [ebp - 0x18], 8
jb 0x4a94c1
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.0041e460
mov edi, eax
lea eax, [ebp - 0x64]
cmp eax, edi
je 0x4a9505
cmp dword [ebp - 0x50], 8
jb 0x4a94e8
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.0040d580
cmp dword [ebp - 0x18], 8
jb 0x4a9513
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.004aefa0
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.004a95e0
jmp 0x4a92a0
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.00576f50
mov esp, ebp
pop ebp
ret