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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6b39cd
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov esi, dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
call esi
test eax, eax
jns 0x64fada
push 2
push 0
call esi
test eax, eax
js 0x650172
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, 0x80010119
je 0x64fb00
test eax, eax
js 0x64fb23
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x73da50
push 1
push 0
push 0x73db20
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x64fb39
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0xc
mov dword [ebp - 0x10], 0
call fcn.00480108
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x64fb83
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x64fb85
push 0x8007000e
call fcn.0069fe60
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], esi
test esi, esi
jne 0x64fb9d
push 0x8007000e
call fcn.0069fe60
push ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [esi]
mov dword [ebp - 4], 1
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea edx, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
jne 0x64fc09
mov eax, dword [esi]
test eax, eax
je 0x64fbe9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x64fc00
push eax
call fcn.0066d1a4
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.00480130
add esp, 4
test ebx, ebx
js 0x64fc30
push 0
push 0
push edi
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x64fc3e
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x65016a
push 0xc
mov dword [ebp - 0x1c], 0
call fcn.00480108
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x64fc7b
push str.SELECT__FROM_Win32_VideoController
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.0069ffa0
mov dword [esi], eax
jmp 0x64fc7d
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], esi
test esi, esi
jne 0x64fc95
push 0x8007000e
call fcn.0069fe60
push 0xc
mov dword [ebp - 4], 3
call fcn.00480108
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x64fccf
push 0x731458
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.0069ffa0
mov dword [edi], eax
jmp 0x64fcd1
xor edi, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], edi
test edi, edi
jne 0x64fce6
push 0x8007000e
call fcn.0069fe60
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
push 0
push 0x30
push dword [esi]
mov ecx, dword [eax]
push dword [edi]
mov byte [ebp - 4], 5
push eax
call dword [ecx + 0x50]
mov ebx, eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
jne 0x64fd41
mov ecx, dword [edi]
test ecx, ecx
je 0x64fd21
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x64fd38
push eax
call fcn.0066d1a4
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.00480130
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x64fd88
mov eax, dword [esi]
test eax, eax
je 0x64fd68
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x64fd7f
push eax
call fcn.0066d1a4
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.00480130
add esp, 4
test ebx, ebx
js 0x64fc27
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x650142
mov edi, dword [ebp + 0xc]
lea esp, [esp]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x20], 0
je 0x650142
test eax, eax
js 0x650142
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x73145c
push eax
mov dword [ebp - 4], 6
call dword [ecx + 0x10]
mov ax, word [ebp - 0x34]
cmp ax, 1
je 0x64fefa
test ax, ax
je 0x64fefa
mov ebx, dword [ebp - 0x2c]
push 0xc
call fcn.00480108
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x64fe6d
push ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x64fe6f
test ebx, ebx
jne 0x64fb79
jmp 0x64fe6f
xor esi, esi
mov byte [ebp - 4], 6
mov dword [ebp + 8], esi
test esi, esi
je 0x64fb79
cmp dword [esi + 4], 0
mov byte [ebp - 4], 8
jne 0x64fe92
push dword [esi]
call fcn.0069fe80
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
cmp byte [edx], 0
jne 0x64fe9e
xor ecx, ecx
jmp 0x64feac
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x64fea3
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.00419c50
mov byte [ebp - 4], 6
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x64fefa
mov eax, dword [esi]
test eax, eax
je 0x64feda
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x64fef1
push eax
call fcn.0066d1a4
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.00480130
add esp, 4
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.DriverVersion
push eax
call dword [ecx + 0x10]
mov ax, word [ebp - 0x34]
cmp ax, 1
je 0x64ffff
test ax, ax
je 0x64ffff
mov ebx, dword [ebp - 0x2c]
push 0xc
call fcn.00480108
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x64ff72
push ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x64ff74
test ebx, ebx
jne 0x64fb79
jmp 0x64ff74
xor esi, esi
mov byte [ebp - 4], 6
mov dword [ebp + 8], esi
test esi, esi
je 0x64fb79
cmp dword [esi + 4], 0
mov byte [ebp - 4], 0xa
jne 0x64ff97
push dword [esi]
call fcn.0069fe80
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
cmp byte [edx], 0
jne 0x64ffa3
xor ecx, ecx
jmp 0x64ffb1
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x64ffa8
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00419c50
mov byte [ebp - 4], 6
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x64ffff
mov eax, dword [esi]
test eax, eax
je 0x64ffdf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x64fff6
push eax
call fcn.0066d1a4
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.00480130
add esp, 4
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [edi + 4]
lea eax, [ebp - 0x64]
cmp eax, esi
jae 0x650080
mov eax, dword [edi]
lea ecx, [ebp - 0x64]
cmp eax, ecx
ja 0x650080
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp esi, dword [edi + 8]
jne 0x65003d
push 1
mov ecx, edi
call fcn.006504c0
mov esi, dword [edi + 4]
lea ebx, [ebx + ebx*2]
shl ebx, 4
add ebx, dword [edi]
mov dword [ebp + 8], esi
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x6500e4
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.00419810
mov byte [ebp - 4], 0xc
lea eax, [ebx + 0x18]
jmp 0x6500c6
cmp esi, dword [edi + 8]
jne 0x65008e
push 1
mov ecx, edi
call fcn.006504c0
mov esi, dword [edi + 4]
mov dword [ebp + 8], esi
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 0xd
test esi, esi
je 0x6500e4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x64]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov byte [esi], 0
call fcn.00419810
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4c]
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00419810
mov eax, dword [ebp - 0x18]
add dword [edi + 4], 0x30
push eax
mov byte [ebp - 4], 6
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
jb 0x650114
push dword [ebp - 0x4c]
call fcn.00480130
add esp, 4
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
jb 0x650137
push dword [ebp - 0x64]
call fcn.00480130
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x64fdb0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x65016a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret