Function at 0x4fa9c0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bf095
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x78efc4]
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.0044d800
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x5c]
call fcn.004fed40
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4faa7c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4faa72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fac76
push edx
push ecx
call fcn.006779b1
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 0x4faab0
sub ecx, edx
push ecx
push str.SELECT__FROM_Win32_SystemEnclosure
lea ecx, [ebp - 0x40]
call fcn.0044daa0
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.004feef0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4fab14
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fab0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fac7b
push edx
push ecx
call fcn.006779b1
add esp, 8
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x4fab40
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 0x4fac50
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 0x4fabd8
call fcn.004486f0
mov edx, ebx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.005315a0
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
push eax
sub esp, 8
mov ecx, esi
call fcn.004fb110
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4fabcf
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fabc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fac80
push edx
push ecx
call fcn.006779b1
add esp, 8
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x44]
jmp 0x4fac0b
mov eax, dword [ebp - 0x44]
jne 0x4fac07
test eax, eax
je 0x4fac07
cmp dword [ebp - 0x50], 1
jne 0x4fac07
mov edx, eax
mov ecx, edi
call fcn.004f80d0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4fac01
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x10
jmp 0x4fac43
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4fac15
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 0x4fac50
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x5c]
call fcn.004fee40
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.006773ff
mov esp, ebp
pop ebp
ret
call fcn.00682da2
call fcn.00682da2
call fcn.00682da2
int3