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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5607be
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5ab3e8]
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 [0x5b4a38]
mov dword [ebp - 0x54], ebx
test al, 1
jne 0x4402f7
or eax, 1
mov dword [0x5b4a38], eax
push 0x5718f2
push str.getGpuDriverVersion
mov ecx, 0x5b4a34
mov dword [ebp - 4], 0
call fcn.00447670
mov dword [ebp - 4], 0xffffffff
cmp byte [0x5b4ae4], 0
je 0x44032f
mov cx, word [0x5b4a36]
mov eax, 1
mov word [ebp - 0x50], ax
mov eax, dword [0x5b4a34]
mov word [ebp - 0x4c], cx
movzx ecx, cx
mov word [ebp - 0x4e], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.00448380
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 0x440387
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 0x4408c5
cmp byte [0x5b4ae4], 0
je 0x44039f
push 0
push str.getGpuDriverVersion::CoInitializeEx
call fcn.004483c0
add esp, 8
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp byte [0x5b4ae4], 0
mov esi, eax
je 0x4403c3
push 0
push str.getGpuDriverVersion::CoInitializeEx
call fcn.004483e0
add esp, 8
test esi, esi
jns 0x440404
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 0x4408c5
cmp byte [0x5b4ae4], 0
je 0x44041c
push 0
push str.getGpuDriverVersion::CoCreateInstance
call fcn.004483c0
add esp, 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x5727fc
push 1
push 0
push 0x5727ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp byte [0x5b4ae4], 0
mov esi, eax
je 0x440455
push 0
push str.getGpuDriverVersion::CoCreateInstance
call fcn.004483e0
add esp, 8
test esi, esi
js 0x440873
cmp dword [ebp - 0x48], 0
je 0x440873
cmp byte [0x5b4ae4], 0
je 0x44047f
push 0
push str.getGpuDriverVersion::ConnectServer
call fcn.004483c0
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 [0x5b4ae4], 0
je 0x4404d9
push 0
push str.getGpuDriverVersion::ConnectServer
call fcn.004483e0
add esp, 8
test edi, edi
js 0x44082c
cmp dword [ebp - 0x44], 0
je 0x44082c
cmp byte [0x5b4ae4], 0
je 0x440503
push 0
push str.getGpuDriverVersion::CoSetProxyBlanket
call fcn.004483c0
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 [0x5b4ae4], 0
mov esi, eax
je 0x440534
push 0
push str.getGpuDriverVersion::CoSetProxyBlanket
call fcn.004483e0
add esp, 8
test esi, esi
js 0x440823
cmp byte [0x5b4ae4], 0
je 0x440554
push 0
push str.getGpuDriverVersion::ExecQuery
call fcn.004483c0
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 0x571bf0
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 [0x5b4ae4], 0
je 0x4405bb
push 0
push str.getGpuDriverVersion::ExecQuery
call fcn.004483e0
add esp, 8
cmp dword [ebp - 0x60], 0
jl 0x440823
cmp byte [0x5b4ae4], 0
je 0x4405dd
push 0
push str.getGpuDriverVersion::FindDriverVersion
call fcn.004483c0
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x64], 0
test ecx, ecx
je 0x440750
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 0x44074d
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x44074d
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 0x44067c
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440660
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00407de0
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 0x4406b9
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4406a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407de0
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 0x4406ea
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
cmp edx, dword [ebp - 0x30]
jne 0x4407db
test edx, edx
je 0x440715
sub esi, ecx
lea esp, [esp]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4407db
add ecx, 2
sub edx, 1
jne 0x440700
mov byte [ebp - 4], 2
cmp ebx, 8
jb 0x44074d
lea ebx, [ebx*2 + 2]
mov eax, edi
cmp ebx, 0x1000
jb 0x440743
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4408fd
push ebx
push edi
call fcn.0048b6db
add esp, 8
mov ebx, dword [ebp - 0x54]
cmp byte [0x5b4ae4], 0
je 0x440768
push 0
push str.getGpuDriverVersion::FindDriverVersion
call fcn.004483e0
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.004054f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4407ce
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4407c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4408fd
push edx
push ecx
call fcn.0048b6db
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.004296b0
jmp 0x4408df
mov byte [ebp - 4], 2
cmp ebx, 8
jb 0x440813
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x440809
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4408fd
push ecx
push edi
call fcn.0048b6db
add esp, 8
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x44074d
jmp 0x4405f6
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.004054f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4407ce
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4407c4
mov ecx, dword [ecx - 4]
sub eax, ecx
add edx, 0x23
jmp 0x4407b8
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004054f0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4408be
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4408b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4408fd
push edx
push ecx
call fcn.0048b6db
add esp, 8
mov dword [ebp - 4], 5
cmp byte [0x5b4ae4], 0
je 0x4408df
push dword [ebp - 0x4c]
push dword [ebp - 0x4e]
push dword [ebp - 0x50]
call fcn.004483a0
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.0048b6e9
mov esp, ebp
pop ebp
ret
call fcn.00497009
int3