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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8b3e
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x50c3e4]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x60], ebx
mov eax, dword [0x511334]
mov dword [ebp - 0x54], ebx
test al, 1
jne 0x41dc37
or eax, 1
mov dword [0x511334], eax
push 0x4d96c9
push str.getGpuDriverVersion
mov ecx, 0x511330
mov dword [ebp - 4], 0
call fcn.00432010
mov dword [ebp - 4], 0xffffffff
cmp byte [0x513110], 0
je 0x41dc6f
mov cx, word [0x511332]
mov eax, 1
mov word [ebp - 0x50], ax
mov eax, dword [0x511330]
mov word [ebp - 0x4c], cx
movzx ecx, cx
mov word [ebp - 0x4e], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.00432d60
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
cmp dword [eax + 0x10], ecx
jne 0x41dcc7
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], ecx
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], 7
mov dword [ebp - 4], 3
jmp 0x41e396
cmp byte [0x513110], 0
je 0x41dd00
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::CoInitializeEx
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x41dd00
push 0
push str.getGpuDriverVersion::CoInitializeEx
call fcn.00432dc0
add esp, 8
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp byte [0x513110], 0
mov esi, eax
je 0x41dd45
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::CoInitializeEx
push 1
call fcn.00432d80
add esp, 0x14
cmp byte [0x513110], 0
je 0x41dd45
push 0
push str.getGpuDriverVersion::CoInitializeEx
call fcn.00432de0
add esp, 8
test esi, esi
jns 0x41dd86
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x14], eax
mov dword [ebp - 4], 4
jmp 0x41e396
cmp byte [0x513110], 0
je 0x41ddbf
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::CoCreateInstance
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x41ddbf
push 0
push str.getGpuDriverVersion::CoCreateInstance
call fcn.00432dc0
add esp, 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x4de6bc
push 1
push 0
push 0x4de6ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp byte [0x513110], 0
mov esi, eax
je 0x41de19
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::CoCreateInstance
push 1
call fcn.00432d80
add esp, 0x14
cmp byte [0x513110], 0
je 0x41de19
push 0
push str.getGpuDriverVersion::CoCreateInstance
call fcn.00432de0
add esp, 8
test esi, esi
js 0x41e344
cmp dword [ebp - 0x48], 0
je 0x41e344
cmp byte [0x513110], 0
je 0x41de64
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::ConnectServer
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x41de64
push 0
push str.getGpuDriverVersion::ConnectServer
call fcn.00432dc0
add esp, 8
push str.ROOTCIMV2
mov dword [ebp - 0x44], 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push esi
push eax
mov byte [ebp - 4], 6
call dword [ecx + 0xc]
push esi
mov edi, eax
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [0x513110], 0
je 0x41dedf
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::ConnectServer
push 1
call fcn.00432d80
add esp, 0x14
cmp byte [0x513110], 0
je 0x41dedf
push 0
push str.getGpuDriverVersion::ConnectServer
call fcn.00432de0
add esp, 8
test edi, edi
js 0x41e2fd
cmp dword [ebp - 0x44], 0
je 0x41e2fd
cmp byte [0x513110], 0
je 0x41df2a
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::CoSetProxyBlanket
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x41df2a
push 0
push str.getGpuDriverVersion::CoSetProxyBlanket
call fcn.00432dc0
add esp, 8
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x44]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp byte [0x513110], 0
mov esi, eax
je 0x41df7c
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::CoSetProxyBlanket
push 1
call fcn.00432d80
add esp, 0x14
cmp byte [0x513110], 0
je 0x41df7c
push 0
push str.getGpuDriverVersion::CoSetProxyBlanket
call fcn.00432de0
add esp, 8
test esi, esi
js 0x41e2f4
cmp byte [0x513110], 0
je 0x41dfbd
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::ExecQuery
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x41dfbd
push 0
push str.getGpuDriverVersion::ExecQuery
call fcn.00432dc0
add esp, 8
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.SELECT__FROM_Win32_VideoController
mov dword [ebp - 0x5c], 0
call esi
mov edi, eax
mov dword [ebp - 0x60], edi
push 0x4d99c8
call esi
mov esi, eax
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x5c]
push edx
push 0
push 0
mov ecx, dword [eax]
push edi
push esi
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x50]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x60], eax
call esi
push edi
mov byte [ebp - 4], 2
call esi
cmp byte [0x513110], 0
je 0x41e045
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::ExecQuery
push 1
call fcn.00432d80
add esp, 0x14
cmp byte [0x513110], 0
je 0x41e045
push 0
push str.getGpuDriverVersion::ExecQuery
call fcn.00432de0
add esp, 8
cmp dword [ebp - 0x60], 0
jl 0x41e2f4
cmp byte [0x513110], 0
je 0x41e088
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::FindDriverVersion
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x41e088
push 0
push str.getGpuDriverVersion::FindDriverVersion
call fcn.00432dc0
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x64], 0
test ecx, ecx
je 0x41e200
mov eax, dword [ecx]
lea edx, [ebp - 0x64]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push edx
lea edx, [ebp - 0x58]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x64], 0
je 0x41e1fd
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x41e1fd
mov eax, dword [ecx]
lea edx, [ebp - 0x88]
push 0
push 0
push edx
push 0
push str.Description
push ecx
call dword [eax + 0x10]
mov ebx, 7
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x40], ax
mov edx, dword [ebp - 0x80]
mov byte [ebp - 4], 9
test edx, edx
je 0x41e12c
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x41e110
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e110
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004025c0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x78]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.DriverVersion
push eax
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x70]
test edx, edx
je 0x41e169
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e150
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004025c0
lea eax, [ebp - 0x78]
push eax
call edi
lea eax, [ebp - 0x88]
push eax
call edi
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
cmp ebx, 8
mov esi, eax
cmovae ecx, edi
cmp dword [eax + 0x14], 8
jb 0x41e19a
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
cmp edx, dword [ebp - 0x30]
jne 0x41e2ac
test edx, edx
je 0x41e1c5
sub esi, ecx
lea esp, [esp]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x41e2ac
add ecx, 2
sub edx, 1
jne 0x41e1b0
mov byte [ebp - 4], 2
cmp ebx, 8
jb 0x41e1fd
lea ebx, [ebx*2 + 2]
mov eax, edi
cmp ebx, 0x1000
jb 0x41e1f3
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e3ce
push ebx
push edi
call fcn.0048d1e5
add esp, 8
mov ebx, dword [ebp - 0x54]
cmp byte [0x513110], 0
je 0x41e239
push 0
push 0
push 0x4d96c9
push str.getGpuDriverVersion::FindDriverVersion
push 1
call fcn.00432d80
add esp, 0x14
cmp byte [0x513110], 0
je 0x41e239
push 0
push str.getGpuDriverVersion::FindDriverVersion
call fcn.00432de0
add esp, 8
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00403560
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41e29f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e295
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e3ce
push edx
push ecx
call fcn.0048d1e5
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.00409ad0
jmp 0x41e3b0
mov byte [ebp - 4], 2
cmp ebx, 8
jb 0x41e2e4
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41e2da
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e3ce
push ecx
push edi
call fcn.0048d1e5
add esp, 8
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x41e1fd
jmp 0x41e0a1
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00403560
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41e29f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e295
mov ecx, dword [ecx - 4]
sub eax, ecx
add edx, 0x23
jmp 0x41e289
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00403560
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x41e38f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e385
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e3ce
push edx
push ecx
call fcn.0048d1e5
add esp, 8
mov dword [ebp - 4], 5
cmp byte [0x513110], 0
je 0x41e3b0
push dword [ebp - 0x4c]
push dword [ebp - 0x4e]
push dword [ebp - 0x50]
call fcn.00432da0
add esp, 0xc
mov eax, ebx
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.0048d444
mov esp, ebp
pop ebp
ret
call fcn.00498b39
int3