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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d215c
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x513480]
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 fs:[0x2c]
mov ecx, dword [0x51c9dc]
mov dword [ebp - 0x54], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x51b334]
cmp eax, dword [ecx + 4]
jg 0x442da5
cmp byte [0x51b348], 0
je 0x44261c
mov cx, word [0x51b332]
mov eax, 1
mov word [ebp - 0x50], ax
mov eax, dword [0x51b330]
mov word [ebp - 0x4c], cx
movzx ecx, cx
mov word [ebp - 0x4e], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.0044b150
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 0x442674
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 0x442d6d
cmp byte [0x51b348], 0
je 0x4426b0
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::CoInitializeEx
push 1
call fcn.0044b130
add esp, 0x14
cmp byte [0x51b348], 0
je 0x4426b0
push 0xff
push str.getGpuDriverVersion::CoInitializeEx
call fcn.0044b1b0
add esp, 8
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp byte [0x51b348], 0
mov esi, eax
je 0x4426f8
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::CoInitializeEx
push 1
call fcn.0044b170
add esp, 0x14
cmp byte [0x51b348], 0
je 0x4426f8
push 0xff
push str.getGpuDriverVersion::CoInitializeEx
call fcn.0044b1d0
add esp, 8
test esi, esi
jns 0x442739
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 0x442d6d
cmp byte [0x51b348], 0
je 0x442775
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::CoCreateInstance
push 1
call fcn.0044b130
add esp, 0x14
cmp byte [0x51b348], 0
je 0x442775
push 0xff
push str.getGpuDriverVersion::CoCreateInstance
call fcn.0044b1b0
add esp, 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x4e4b0c
push 1
push 0
push 0x4e4afc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp byte [0x51b348], 0
mov esi, eax
je 0x4427d2
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::CoCreateInstance
push 1
call fcn.0044b170
add esp, 0x14
cmp byte [0x51b348], 0
je 0x4427d2
push 0xff
push str.getGpuDriverVersion::CoCreateInstance
call fcn.0044b1d0
add esp, 8
test esi, esi
js 0x442d17
cmp dword [ebp - 0x48], 0
je 0x442d17
cmp byte [0x51b348], 0
je 0x442820
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::ConnectServer
push 1
call fcn.0044b130
add esp, 0x14
cmp byte [0x51b348], 0
je 0x442820
push 0xff
push str.getGpuDriverVersion::ConnectServer
call fcn.0044b1b0
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 [0x51b348], 0
je 0x44289e
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::ConnectServer
push 1
call fcn.0044b170
add esp, 0x14
cmp byte [0x51b348], 0
je 0x44289e
push 0xff
push str.getGpuDriverVersion::ConnectServer
call fcn.0044b1d0
add esp, 8
test edi, edi
js 0x442cd0
cmp dword [ebp - 0x44], 0
je 0x442cd0
cmp byte [0x51b348], 0
je 0x4428ec
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::CoSetProxyBlanket
push 1
call fcn.0044b130
add esp, 0x14
cmp byte [0x51b348], 0
je 0x4428ec
push 0xff
push str.getGpuDriverVersion::CoSetProxyBlanket
call fcn.0044b1b0
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 [0x51b348], 0
mov esi, eax
je 0x442941
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::CoSetProxyBlanket
push 1
call fcn.0044b170
add esp, 0x14
cmp byte [0x51b348], 0
je 0x442941
push 0xff
push str.getGpuDriverVersion::CoSetProxyBlanket
call fcn.0044b1d0
add esp, 8
test esi, esi
js 0x442cc7
cmp byte [0x51b348], 0
je 0x442985
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::ExecQuery
push 1
call fcn.0044b130
add esp, 0x14
cmp byte [0x51b348], 0
je 0x442985
push 0xff
push str.getGpuDriverVersion::ExecQuery
call fcn.0044b1b0
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 0x4e40f0
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 [0x51b348], 0
je 0x442a10
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::ExecQuery
push 1
call fcn.0044b170
add esp, 0x14
cmp byte [0x51b348], 0
je 0x442a10
push 0xff
push str.getGpuDriverVersion::ExecQuery
call fcn.0044b1d0
add esp, 8
cmp dword [ebp - 0x60], 0
jl 0x442cc7
cmp byte [0x51b348], 0
je 0x442a56
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::FindDriverVersion
push 1
call fcn.0044b130
add esp, 0x14
cmp byte [0x51b348], 0
je 0x442a56
push 0xff
push str.getGpuDriverVersion::FindDriverVersion
call fcn.0044b1b0
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x64], 0
test ecx, ecx
je 0x442bd0
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 0x442bcd
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x442bcd
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 0x442afc
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442ae0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00407d60
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 0x442b39
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442b20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407d60
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 0x442b6a
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
cmp edx, dword [ebp - 0x30]
jne 0x442c7f
test edx, edx
je 0x442b95
sub esi, ecx
lea esp, [esp]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x442c7f
add ecx, 2
sub edx, 1
jne 0x442b80
mov byte [ebp - 4], 2
cmp ebx, 8
jb 0x442bcd
lea ebx, [ebx*2 + 2]
mov eax, edi
cmp ebx, 0x1000
jb 0x442bc3
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442df3
push ebx
push edi
call fcn.00491e05
add esp, 8
mov ebx, dword [ebp - 0x54]
cmp byte [0x51b348], 0
je 0x442c0c
push 0
push 0
push 0x4e3df2
push str.getGpuDriverVersion::FindDriverVersion
push 1
call fcn.0044b170
add esp, 0x14
cmp byte [0x51b348], 0
je 0x442c0c
push 0xff
push str.getGpuDriverVersion::FindDriverVersion
call fcn.0044b1d0
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.004053c0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x442c72
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442c68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442df3
push edx
push ecx
call fcn.00491e05
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.0042e510
jmp 0x442d87
mov byte [ebp - 4], 2
cmp ebx, 8
jb 0x442cb7
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x442cad
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442df3
push ecx
push edi
call fcn.00491e05
add esp, 8
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x442bcd
jmp 0x442a6f
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.004053c0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x442c72
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442c68
mov ecx, dword [ecx - 4]
sub eax, ecx
add edx, 0x23
jmp 0x442c5c
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004053c0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x442d66
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442d5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442df3
push edx
push ecx
call fcn.00491e05
add esp, 8
mov dword [ebp - 4], 5
cmp byte [0x51b348], 0
je 0x442d87
push dword [ebp - 0x4c]
push dword [ebp - 0x4e]
push dword [ebp - 0x50]
call fcn.0044b190
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.00491e13
mov esp, ebp
pop ebp
ret
push 0x51b334
call fcn.0049209f
add esp, 4
cmp dword [0x51b334], 0xffffffff
jne 0x4425e4
push 0x4e3df2
push str.getGpuDriverVersion
mov ecx, 0x51b330
mov dword [ebp - 4], 0
call fcn.0044a400
push 0x51b334
mov dword [ebp - 4], 0xffffffff
call fcn.00492055
add esp, 4
jmp 0x4425e4
call fcn.0049d959
int3