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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fa6c
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [section..data]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
test byte [0x4d0210], 1
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], edi
jne 0x422df6
mov eax, 1
or dword [0x4d0210], eax
push 0x4a3b10
push str.getGpuDriverVersion
mov ecx, 0x4d020c
mov dword [ebp - 4], eax
call fcn.00412505
mov byte [ebp - 4], bl
mov al, byte [0x4cc84c]
test al, al
je 0x422e2e
mov eax, dword [0x4d020c]
mov ecx, 1
mov word [ebp - 0x54], cx
mov cx, word [0x4d020e]
movzx edx, cx
mov word [ebp - 0x52], ax
movzx eax, ax
push edx
push eax
push 1
mov word [ebp - 0x50], cx
call fcn.0043a641
add esp, 0xc
mov eax, 7
xor ecx, ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], 3
cmp dword [edi + 0x10], ebx
jne 0x422eaf
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x2c]
xor edx, edx
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov word [esi], dx
call fcn.00403c9c
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x4c], 1
jb 0x422e7e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00404f07
add esp, 4
mov al, byte [0x4cc84c]
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], bl
test al, al
je 0x42335b
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x52]
mov eax, dword [ebp - 0x54]
push ecx
push edx
push eax
jmp 0x423353
mov cl, byte [0x4cc84c]
test cl, cl
je 0x422ec7
push ebx
push str.getGpuDriverVersion::CoInitializeEx
call fcn.0043a663
add esp, 8
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dl, byte [0x4cc84c]
mov edi, eax
test dl, dl
je 0x422ee9
push ebx
push str.getGpuDriverVersion::CoInitializeEx
call fcn.0043a674
add esp, 8
cmp edi, ebx
jge 0x422f4f
lea ecx, [ebp - 0x2c]
mov edi, 7
xor eax, eax
push ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov ecx, esi
mov word [esi], ax
call fcn.00403c9c
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x4c], 1
jb 0x422f21
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
mov cl, byte [0x4cc84c]
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], bl
test cl, cl
je 0x42335b
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x52]
mov ecx, dword [ebp - 0x54]
push edx
push eax
push ecx
jmp 0x423353
mov dl, byte [0x4cc84c]
test dl, dl
je 0x422f67
push ebx
push str.getGpuDriverVersion::CoCreateInstance
call fcn.0043a663
add esp, 8
lea eax, [ebp - 0x58]
push eax
push 0x4a5520
push 1
push ebx
push 0x4a55f0
mov dword [ebp - 0x58], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov cl, byte [0x4cc84c]
mov edi, eax
test cl, cl
je 0x422f9b
push ebx
push str.getGpuDriverVersion::CoCreateInstance
call fcn.0043a674
add esp, 8
cmp edi, ebx
jl 0x4232f4
cmp dword [ebp - 0x58], ebx
je 0x4232f4
mov dl, byte [0x4cc84c]
test dl, dl
je 0x422fc4
push ebx
push str.getGpuDriverVersion::ConnectServer
call fcn.0043a663
add esp, 8
push str.ROOTCIMV2
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x80], edi
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push eax
mov eax, dword [ecx + 0xc]
mov byte [ebp - 4], 4
call eax
push edi
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov cl, byte [0x4cc84c]
test cl, cl
je 0x423017
push ebx
push str.getGpuDriverVersion::ConnectServer
call fcn.0043a674
add esp, 8
cmp dword [ebp - 0x68], ebx
jl 0x423076
cmp dword [ebp - 0x5c], ebx
je 0x423076
mov dl, byte [0x4cc84c]
test dl, dl
je 0x423039
push ebx
push str.getGpuDriverVersion::CoSetProxyBlanket
call fcn.0043a663
add esp, 8
mov eax, dword [ebp - 0x5c]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov cl, byte [0x4cc84c]
mov edi, eax
test cl, cl
je 0x423067
push ebx
push str.getGpuDriverVersion::CoSetProxyBlanket
call fcn.0043a674
add esp, 8
cmp edi, ebx
jge 0x4230b1
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0041cb08
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], 1
call fcn.0040a4bf
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0041d5c7
jmp 0x42335b
mov cl, byte [0x4cc84c]
test cl, cl
je 0x4230c9
push ebx
push str.getGpuDriverVersion::ExecQuery
call fcn.0043a663
add esp, 8
push str.SELECT__FROM_Win32_VideoController
mov dword [ebp - 0x64], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x7c], edi
push 0x4a3d00
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x70]
push ebx
push ebx
push edi
push eax
push ecx
mov ecx, dword [edx + 0x50]
mov byte [ebp - 4], 6
call ecx
mov edx, dword [ebp - 0x70]
push edx
mov dword [ebp - 0x68], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
mov byte [ebp - 4], 3
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, byte [0x4cc84c]
test al, al
je 0x423133
push ebx
push str.getGpuDriverVersion::ExecQuery
call fcn.0043a674
add esp, 8
cmp dword [ebp - 0x68], ebx
jge 0x42317e
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0041cb08
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], 1
call fcn.0040a4bf
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0041d5c7
jmp 0x42335b
mov cl, byte [0x4cc84c]
test cl, cl
je 0x423196
push ebx
push str.getGpuDriverVersion::FindDriverVersion
call fcn.0043a663
add esp, 8
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x6c], ebx
cmp eax, ebx
je 0x42328f
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push 1
push 0xffffffffffffffff
push eax
call edx
cmp dword [ebp - 0x6c], ebx
je 0x42328f
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x42328f
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x90]
push edx
push ebx
push str.Description
push eax
mov eax, dword [ecx + 0x10]
call eax
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x423213
push eax
lea ecx, [ebp - 0x48]
call fcn.004176b8
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0xa0]
push ecx
push ebx
push str.DriverVersion
push eax
call edx
mov eax, dword [ebp - 0x98]
cmp eax, ebx
je 0x423240
push eax
lea ecx, [ebp - 0x2c]
call fcn.004176b8
lea eax, [ebp - 0xa0]
push eax
call edi
lea ecx, [ebp - 0x90]
push ecx
call edi
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x48]
push ecx
push edx
call fcn.00422639
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
test al, al
jne 0x42328a
call fcn.0040a4bf
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x4231ad
jmp 0x42328f
call fcn.0040a4bf
mov al, byte [0x4cc84c]
test al, al
je 0x4232a6
push ebx
push str.getGpuDriverVersion::FindDriverVersion
call fcn.0043a674
add esp, 8
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0041cb08
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], 1
call fcn.0040a4bf
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0041d5c7
jmp 0x42335b
call dword [sym.imp.ole32.dll_CoUninitialize]
xor ecx, ecx
mov edi, 7
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
lea edx, [ebp - 0x2c]
mov word [esi], cx
push edx
mov ecx, esi
call fcn.00403c9c
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x4c], 1
jb 0x42332e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f07
add esp, 4
mov dl, byte [0x4cc84c]
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], bl
test dl, dl
je 0x42335b
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x52]
mov edx, dword [ebp - 0x54]
push eax
push ecx
push edx
call fcn.0043a652
add esp, 0xc
mov eax, esi
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.0040330b
mov esp, ebp
pop ebp
ret