Function at 0x10127910
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102ae6d5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x4c], str.SELECT__FROM_Win32_SystemEnclosure
mov dword [ebp - 0x28], 0
push 0xa
xor eax, eax
mov dword [ebp - 0x18], 0
push str.ROOTCIMV2
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
call fcn.1004f0f0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x5c]
call fcn.1012c4e0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x101279cc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x101279c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10127bc6
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
mov ecx, str.SELECT__FROM_Win32_SystemEnclosure
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
mov byte [ebp - 4], 3
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10127a00
sub ecx, edx
push ecx
push str.SELECT__FROM_Win32_SystemEnclosure
lea ecx, [ebp - 0x40]
call fcn.1004f390
push ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1012c690
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10127a64
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10127a5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10127bcb
push edx
push ecx
call fcn.1026505f
add esp, 8
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x10127a90
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [edi + 0x18], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
jmp 0x10127ba0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x44]
push edx
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
mov ebx, eax
test ebx, ebx
jns 0x10127b28
call fcn.10048fd0
mov edx, ebx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.10088460
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
push eax
sub esp, 8
mov ecx, esi
call fcn.10128060
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10127b1f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10127b15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10127bd0
push edx
push ecx
call fcn.1026505f
add esp, 8
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x44]
jmp 0x10127b5b
mov eax, dword [ebp - 0x44]
jne 0x10127b57
test eax, eax
je 0x10127b57
cmp dword [ebp - 0x50], 1
jne 0x10127b57
mov edx, eax
mov ecx, edi
call fcn.101250d0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10127b51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x10
jmp 0x10127b93
mov byte [ebp - 4], 0xe
test eax, eax
je 0x10127b65
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [edi + 0x18], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10127ba0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x5c]
call fcn.1012c5e0
mov eax, edi
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