Function at 0x41a550
Capabilities:
Reference wmi statements

Disassembly:
push 0x4c
mov eax, 0x4449ed
call fcn.0042bcc0
mov edi, ecx
xor ebx, ebx
push 0xf
pop esi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x41a72a
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x41a72a
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x44638c
push 1
push ebx
push 0x4465cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x41a5e5
lea eax, [ebp - 0x44]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov ecx, edi
push eax
mov byte [edi], bl
call fcn.00402a78
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41a73d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41a73d
mov dword [ebp - 0x24], ebx
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
push edx
push ebx
push ebx
mov ecx, dword [eax]
push 0x80
push ebx
push ebx
push ebx
push str.rootcimv2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x41a703
mov dword [ebp - 0x20], ebx
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
push edx
push ebx
push 0x20
mov ecx, dword [eax]
push str.SELECT__FROM_Win32_VideoController
push 0x452bac
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x41a6f2
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
push edx
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x41a6e1
cmp dword [ebp - 0x2c], 0
jbe 0x41a6e1
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
push ebx
mov byte [ebp - 4], 5
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
push edx
push ebx
push str.VideoModeDescription
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x41a6d7
lea eax, [ebp - 0x54]
mov dword [ebp - 0x28], ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.00419b8b
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x41a6b6
cmp dword [esi + 4], ebx
jne 0x41a6b3
push dword [esi]
call fcn.004232f0
mov dword [esi + 4], eax
mov ebx, dword [esi + 4]
push ebx
call fcn.004012d5
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x44]
call fcn.00403538
test esi, esi
je 0x41a6d2
mov ecx, esi
call fcn.00419b3e
push 0xf
pop esi
xor ebx, ebx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41a6f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41a703
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41a714
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41a724
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x44]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov ecx, edi
push eax
mov byte [edi], bl
call fcn.00402a78
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00402d99
mov eax, edi
call fcn.0042bc6f
ret