Function at 0x414cd0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4920f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc78
mov eax, dword [0x4b5320]
push ebx
mov dword [esp + 0xc74], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x414d18
push 0x497f10
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x414d2e
push 0x497f10
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
or esi, 0xffffffff
push esi
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x414d50
cmp eax, 0x80010119
jne 0x4151ad
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc8c], ebx
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x14]
push eax
push 0x4980ac
push 1
push ebx
push 0x4a6384
mov byte [esp + 0xca0], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x414db8
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0xc8c], bl
je 0x414d98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0xc8c], esi
je 0x4151ad
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
jmp 0x415139
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [esp + 0x10]
jl 0x414d87
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jl 0x414d83
mov ecx, 0xb
mov esi, str.Win32_VideoController
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov ecx, 0x77
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], eax
push ebx
push ebx
push 0xffffffffffffffff
push str.SELECT__FROM
push ebx
push ebx
mov dword [esp + 0x30], ebx
call dword [0x4b545c]
mov esi, eax
lea eax, [esi - 1]
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
cmp edi, ebx
je 0x414e69
push esi
push edi
push 0xffffffffffffffff
push str.SELECT__FROM
push ebx
push ebx
call dword [0x4b545c]
cmp eax, esi
je 0x414e69
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x18]
call fcn.00403060
xor edi, edi
jmp 0x414e72
lea ecx, [esp + 0x18]
call fcn.00403060
cmp edi, ebx
mov dword [esp + 0x18], edi
je 0x41515c
mov esi, dword [esp + 0x24]
push esi
call dword [0x4b5480]
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.004012c0
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x30
push edi
push 0x4983d8
push eax
mov byte [esp + 0xca4], 3
call dword [ecx + 0x50]
test eax, eax
mov eax, dword [esp + 0x1c]
jl 0x415166
cmp eax, ebx
je 0x415178
mov dword [esp + 0x44], ebx
mov dword [esp + 0xc], ebx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x10]
push edx
push 1
push 0xffffffffffffffff
mov dword [esp + 0x30], ebx
mov ecx, dword [eax]
push eax
mov byte [esp + 0xca0], 5
call dword [ecx + 0x10]
cmp dword [esp + 0x20], ebx
je 0x4150a6
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x41506a
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
mov word [esp + 0x45c], bx
xor eax, eax
push ebx
mov ecx, 0x207
lea edi, [esp + 0x462]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x34]
push edx
stosw word es:[edi], ax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
jne 0x415060
lea ecx, [ecx]
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCR71.dll_wcscpy]
push eax
lea ecx, [esp + 0x254]
push ecx
call edi
lea edx, [esp + 0x460]
push 0x497f10
push edx
call edi
mov ax, word [esp + 0x40]
add esp, 0x10
cmp ax, 1
je 0x414fb6
cmp ax, 3
je 0x414fb6
cmp ax, 5
je 0x414fb6
cmp ax, 8
jne 0x414fb6
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x45c]
push ecx
call edi
add esp, 8
mov edx, dword [esp + 0x24]
push str.Win32_VideoController
push edx
call dword [sym.imp.MSVCR71.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x41502b
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x414ffc
lea eax, [esp + 0x250]
push str.AdapterCompatibility
push eax
call dword [sym.imp.MSVCR71.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x414ffc
lea ecx, [esp + 0x458]
push ecx
push esi
call edi
add esp, 8
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x41502b
lea edx, [esp + 0x250]
push str.Caption
push edx
call dword [sym.imp.MSVCR71.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x41502b
lea eax, [esp + 0x458]
push eax
push esi
call edi
add esp, 8
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x34]
push edx
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x414f60
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x41507c
mov dword [esp + 0xc], ebx
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x10]
push edx
push 1
push 0xffffffffffffffff
mov dword [esp + 0x30], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
cmp dword [esp + 0x20], ebx
jne 0x414f02
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0xc8c], 4
je 0x4150bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0xc8c], 2
je 0x4150db
mov edx, dword [eax]
push eax
call dword [edx + 8]
push edi
mov byte [esp + 0xc90], 1
call esi
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
inc eax
add edx, 0x208
cmp eax, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edx
jl 0x414e18
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0xc8c], bl
je 0x41511b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0xc8c], 0xffffffff
je 0x415134
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [esp + 0xc84]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc7c]
call fcn.0048c3c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x8007000e
call fcn.004010e0
cmp eax, ebx
mov byte [esp + 0xc8c], 2
je 0x415178
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0xc8c], bl
je 0x415194
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0xc8c], 0xffffffff
je 0x4151ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x415139