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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f947c
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x542488]
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 [0x54c638]
mov dword [ebp - 0x54], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x54aefc]
cmp eax, dword [ecx + 4]
jg 0x442fd5
cmp byte [0x54af24], 0
je 0x44284c
mov cx, word [0x54aefa]
mov eax, 1
mov word [ebp - 0x50], ax
mov eax, dword [0x54aef8]
mov word [ebp - 0x4c], cx
movzx ecx, cx
mov word [ebp - 0x4e], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.00452d20
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 0x4428a4
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 0x442f9d
cmp byte [0x54af24], 0
je 0x4428e0
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::CoInitializeEx
push 1
call fcn.00452d00
add esp, 0x14
cmp byte [0x54af24], 0
je 0x4428e0
push 0xff
push str.getGpuDriverVersion::CoInitializeEx
call fcn.00452d80
add esp, 8
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp byte [0x54af24], 0
mov esi, eax
je 0x442928
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::CoInitializeEx
push 1
call fcn.00452d40
add esp, 0x14
cmp byte [0x54af24], 0
je 0x442928
push 0xff
push str.getGpuDriverVersion::CoInitializeEx
call fcn.00452da0
add esp, 8
test esi, esi
jns 0x442969
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 0x442f9d
cmp byte [0x54af24], 0
je 0x4429a5
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::CoCreateInstance
push 1
call fcn.00452d00
add esp, 0x14
cmp byte [0x54af24], 0
je 0x4429a5
push 0xff
push str.getGpuDriverVersion::CoCreateInstance
call fcn.00452d80
add esp, 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x50cfec
push 1
push 0
push 0x50cfdc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp byte [0x54af24], 0
mov esi, eax
je 0x442a02
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::CoCreateInstance
push 1
call fcn.00452d40
add esp, 0x14
cmp byte [0x54af24], 0
je 0x442a02
push 0xff
push str.getGpuDriverVersion::CoCreateInstance
call fcn.00452da0
add esp, 8
test esi, esi
js 0x442f47
cmp dword [ebp - 0x48], 0
je 0x442f47
cmp byte [0x54af24], 0
je 0x442a50
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::ConnectServer
push 1
call fcn.00452d00
add esp, 0x14
cmp byte [0x54af24], 0
je 0x442a50
push 0xff
push str.getGpuDriverVersion::ConnectServer
call fcn.00452d80
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 [0x54af24], 0
je 0x442ace
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::ConnectServer
push 1
call fcn.00452d40
add esp, 0x14
cmp byte [0x54af24], 0
je 0x442ace
push 0xff
push str.getGpuDriverVersion::ConnectServer
call fcn.00452da0
add esp, 8
test edi, edi
js 0x442f00
cmp dword [ebp - 0x44], 0
je 0x442f00
cmp byte [0x54af24], 0
je 0x442b1c
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::CoSetProxyBlanket
push 1
call fcn.00452d00
add esp, 0x14
cmp byte [0x54af24], 0
je 0x442b1c
push 0xff
push str.getGpuDriverVersion::CoSetProxyBlanket
call fcn.00452d80
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 [0x54af24], 0
mov esi, eax
je 0x442b71
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::CoSetProxyBlanket
push 1
call fcn.00452d40
add esp, 0x14
cmp byte [0x54af24], 0
je 0x442b71
push 0xff
push str.getGpuDriverVersion::CoSetProxyBlanket
call fcn.00452da0
add esp, 8
test esi, esi
js 0x442ef7
cmp byte [0x54af24], 0
je 0x442bb5
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::ExecQuery
push 1
call fcn.00452d00
add esp, 0x14
cmp byte [0x54af24], 0
je 0x442bb5
push 0xff
push str.getGpuDriverVersion::ExecQuery
call fcn.00452d80
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 0x50c070
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 [0x54af24], 0
je 0x442c40
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::ExecQuery
push 1
call fcn.00452d40
add esp, 0x14
cmp byte [0x54af24], 0
je 0x442c40
push 0xff
push str.getGpuDriverVersion::ExecQuery
call fcn.00452da0
add esp, 8
cmp dword [ebp - 0x60], 0
jl 0x442ef7
cmp byte [0x54af24], 0
je 0x442c86
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::FindDriverVersion
push 1
call fcn.00452d00
add esp, 0x14
cmp byte [0x54af24], 0
je 0x442c86
push 0xff
push str.getGpuDriverVersion::FindDriverVersion
call fcn.00452d80
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x64], 0
test ecx, ecx
je 0x442e00
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 0x442dfd
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x442dfd
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 0x442d2c
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442d10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00407d30
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 0x442d69
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442d50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407d30
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 0x442d9a
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
cmp edx, dword [ebp - 0x30]
jne 0x442eaf
test edx, edx
je 0x442dc5
sub esi, ecx
lea esp, [esp]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x442eaf
add ecx, 2
sub edx, 1
jne 0x442db0
mov byte [ebp - 4], 2
cmp ebx, 8
jb 0x442dfd
lea ebx, [ebx*2 + 2]
mov eax, edi
cmp ebx, 0x1000
jb 0x442df3
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443023
push ebx
push edi
call fcn.004b5e6a
add esp, 8
mov ebx, dword [ebp - 0x54]
cmp byte [0x54af24], 0
je 0x442e3c
push 0
push 0
push 0x50bd72
push str.getGpuDriverVersion::FindDriverVersion
push 1
call fcn.00452d40
add esp, 0x14
cmp byte [0x54af24], 0
je 0x442e3c
push 0xff
push str.getGpuDriverVersion::FindDriverVersion
call fcn.00452da0
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.00405390
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x442ea2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442e98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443023
push edx
push ecx
call fcn.004b5e6a
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.0042e010
jmp 0x442fb7
mov byte [ebp - 4], 2
cmp ebx, 8
jb 0x442ee7
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x442edd
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443023
push ecx
push edi
call fcn.004b5e6a
add esp, 8
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x442dfd
jmp 0x442c9f
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.00405390
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x442ea2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442e98
mov ecx, dword [ecx - 4]
sub eax, ecx
add edx, 0x23
jmp 0x442e8c
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00405390
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x442f96
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442f8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443023
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov dword [ebp - 4], 5
cmp byte [0x54af24], 0
je 0x442fb7
push dword [ebp - 0x4c]
push dword [ebp - 0x4e]
push dword [ebp - 0x50]
call fcn.00452d60
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.004b5e78
mov esp, ebp
pop ebp
ret
push 0x54aefc
call fcn.004b6104
add esp, 4
cmp dword [0x54aefc], 0xffffffff
jne 0x442814
push 0x50bd72
push str.getGpuDriverVersion
mov ecx, 0x54aef8
mov dword [ebp - 4], 0
call fcn.00451fd0
push 0x54aefc
mov dword [ebp - 4], 0xffffffff
call fcn.004b60ba
add esp, 4
jmp 0x442814
call fcn.004c19b9
int3