Function at 0x404be0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4108cd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x41800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
mov edi, ecx
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push str.SELECT__FROM_Win32_VideoController
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x30], eax
call fcn.00404ae0
mov dword [ebp - 4], 0
mov esi, dword [eax]
test esi, esi
je 0x404c3c
mov esi, dword [esi]
jmp 0x404c3e
xor esi, esi
push 0x412cf4
lea ecx, [ebp - 0x34]
call fcn.00404ae0
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x404c59
mov eax, dword [eax]
jmp 0x404c5b
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x30
push esi
push eax
push edi
call dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov edi, eax
mov edx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
or eax, 0xffffffff
test esi, esi
je 0x404cca
mov ecx, eax
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x404cc3
test esi, esi
je 0x404cc3
mov eax, dword [esi]
test eax, eax
je 0x404c98
push eax
call edx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x404caf
push eax
call fcn.0040ef87
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0040ef56
mov edx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
or eax, 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x404d15
lock xadd dword [esi + 8], eax
dec eax
jne 0x404d15
test esi, esi
je 0x404d15
mov eax, dword [esi]
test eax, eax
je 0x404cf3
push eax
call edx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x404d0a
push eax
call fcn.0040ef87
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0040ef56
add esp, 8
test edi, edi
js 0x404e58
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x404e52
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
mov edi, eax
je 0x404e4f
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push 0x412cf8
push ecx
call dword [eax + 0x10]
mov edi, eax
test edi, edi
js 0x404e33
mov edx, dword [ebp - 0x24]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404d93
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.0040bd40
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 4], 2
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x404de0
movups xmm0, xmmword [ebp - 0x54]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edx + 4], 0x18
mov word [ebp - 0x54], ax
jmp 0x404def
lea ecx, [ebp - 0x54]
push ecx
push eax
mov ecx, edx
call fcn.0040d290
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x404e29
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404e1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404e49
push ecx
push edx
call fcn.0040ef56
add esp, 8
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x404d36
jmp 0x404e52
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ef13
mov esp, ebp
pop ebp
ret