Function at 0x10127220
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102ae5f4
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x10373f78]
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
xor esi, esi
mov dword [ebp - 0xe4], str.SELECT__FROM_Win32_VideoController
xor edi, edi
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xe8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], esi
xor eax, eax
mov dword [ebp - 0x18], esi
push 0xa
push str.ROOTCIMV2
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
call fcn.1004f0f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xfc]
call fcn.1012c4e0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x101272f1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x101272e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101275a0
push edx
push ecx
call fcn.1026505f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x40], eax
push 0x23
push str.SELECT__FROM_Win32_VideoController
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
mov byte [ebp - 4], 4
call fcn.1004f390
push ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xfc]
call fcn.1012c690
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x1012737b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10127371
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101275a5
push edx
push ecx
call fcn.1026505f
add esp, 8
mov eax, dword [ebp - 0xd8]
test eax, eax
jne 0x101273a0
mov dword [0x1038afc0], eax
mov dword [0x1038afc4], eax
mov dword [0x1038afc8], eax
jmp 0x10127574
mov eax, dword [ebp - 0xd8]
nop
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd4], 0
lea edx, [ebp - 0xdc]
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0xd4]
push edx
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
mov ebx, eax
test ebx, ebx
js 0x101274ac
mov eax, dword [ebp - 0xd4]
jne 0x10127498
test eax, eax
je 0x10127498
cmp dword [ebp - 0xdc], 1
jne 0x10127498
mov edx, eax
lea ecx, [ebp - 0xd0]
call fcn.101253f0
mov byte [ebp - 4], 0xe
push eax
cmp edi, esi
je 0x10127429
mov ecx, edi
call fcn.10125940
add edi, 0x90
mov dword [ebp - 0xec], edi
jmp 0x10127447
push edi
lea ecx, [ebp - 0xf0]
call fcn.10128120
mov esi, dword [ebp - 0xe8]
mov edi, dword [ebp - 0xec]
mov dword [ebp - 0xe0], esi
lea ecx, [ebp - 0x70]
call fcn.1004ef60
lea ecx, [ebp - 0x88]
call fcn.1004ef60
lea ecx, [ebp - 0xa0]
call fcn.1004ef60
lea ecx, [ebp - 0xb8]
call fcn.1004ef60
lea ecx, [ebp - 0xd0]
call fcn.1004ef60
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x10127399
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10127399
mov byte [ebp - 4], 0xd
test eax, eax
je 0x1012752b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1012752b
call fcn.10048fd0
mov edx, ebx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.10088460
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xb
push eax
sub esp, 8
mov ecx, esi
call fcn.10128060
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10127511
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10127507
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101275aa
push edx
push ecx
call fcn.1026505f
add esp, 8
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x10127525
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf0], 0
mov dword [0x1038afc0], eax
mov dword [0x1038afc4], edi
mov dword [0x1038afc8], esi
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x10127574
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0xfc]
call fcn.1012c5e0
mov eax, 0x1038afc0
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.102649e4
mov esp, ebp
pop ebp
ret
call fcn.10275373
call fcn.10275373
call fcn.10275373
int3