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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fccc
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5e2320]
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 0x5882c8
push 1
push 0
push 0x588398
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x49abe6
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 0x49a7bf
push 0x8007000e
call fcn.004a0540
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 0x49abda
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 0x49abce
mov ecx, str.SELECT__FROM_Win32_VideoController
mov dword [ebp - 0xac], 0
call fcn.004a04d0
mov esi, eax
mov dword [ebp - 0xa8], esi
test esi, esi
jne 0x49a84a
push 0x8007000e
call fcn.004a0540
mov ecx, 0x59c280
mov dword [ebp - 4], 1
call fcn.004a04d0
mov edi, eax
mov dword [ebp - 0x9c], edi
test edi, edi
jne 0x49a871
push 0x8007000e
call fcn.004a0540
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 0x49abce
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 0x49a8d0
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x49abc7
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 0x49abc7
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 0x59c284
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x2c]
call fcn.0040bf00
mov edi, eax
lea eax, [ebp - 0x98]
cmp eax, edi
je 0x49a9c6
cmp dword [ebp - 0x84], 8
jb 0x49a99d
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.00410370
cmp dword [ebp - 0x18], 8
jb 0x49a9d4
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.00426a30
mov edi, eax
lea eax, [ebp - 0x4c]
cmp eax, edi
je 0x49aa66
cmp dword [ebp - 0x38], 8
jb 0x49aa49
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.00410370
cmp dword [ebp - 0x18], 8
jb 0x49aa74
push dword [ebp - 0x2c]
call esi
add esp, 4
push 1
push 0x59b8b4
lea ecx, [ebp - 0x4c]
call fcn.004259e0
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.0040bf00
mov edi, eax
lea eax, [ebp - 0x64]
cmp eax, edi
je 0x49aae3
cmp dword [ebp - 0x50], 8
jb 0x49aac6
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.00410370
cmp dword [ebp - 0x18], 8
jb 0x49aaf1
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.0041d530
mov edi, eax
lea eax, [ebp - 0x64]
cmp eax, edi
je 0x49ab35
cmp dword [ebp - 0x50], 8
jb 0x49ab18
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.00410370
cmp dword [ebp - 0x18], 8
jb 0x49ab43
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.0049f690
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.0049ac10
jmp 0x49a8d0
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.005600c0
mov esp, ebp
pop ebp
ret