Function at 0xd8a990
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb7888
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0xdc451c]
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
lea eax, [ebp - 0x3c]
push eax
push 0xdbf424
push 0x17
xor edi, edi
push edi
push 0xdb9770
mov dword [ebp - 0x3c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0xd8aca1
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x44]
push edx
push edi
push edi
push 0x80
push edi
push edi
push edi
mov dword [ebp - 0x44], edi
mov ecx, dword [eax]
push str.rootCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0xd8ac7d
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
push edx
push edi
push 0x20
push str.SELECT__FROM_Win32_PerfRawData_PerfProc_Process
mov dword [ebp - 0x40], edi
mov ecx, dword [eax]
push 0xdbda4c
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
js 0xd8ac4b
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0x38]
push edx
push 1
mov dword [ebp - 0x38], edi
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, 1
je 0xd8ac25
cmp eax, edi
jl 0xd8ac25
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push edi
push edi
lea ecx, [ebp - 0x68]
push ecx
push edi
push str.Name
push eax
call edx
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x68]
push ecx
mov dword [ebp - 0x6c], eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x48], edi
cmp dword [0xdc6dd4], edi
jbe 0xd8abfa
xor esi, esi
mov edx, dword [0xdc6d50]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [esi + edx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0xd8aace
cmp dx, di
je 0xd8aaca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0xd8aace
add eax, 4
add ecx, 4
cmp dx, di
jne 0xd8aaa8
xor eax, eax
jmp 0xd8aad3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0xd8abe4
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x68]
push edx
push edi
push str.IDProcess
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [0xdc6d50]
lea eax, [ebp - 0x68]
push eax
mov dword [esi + edx + 0x18], ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x68]
push edx
push edi
push str.WorkingSetPrivate
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [ebp - 0x60]
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
lea ebx, [ecx + 2]
jmp 0xd8ab40
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0xd8ab40
sub ecx, ebx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00d95690
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 4], edi
call fcn.00d82610
mov dword [ebp - 0x50], eax
mov eax, dword [0xdc6d50]
mov dword [ebp - 0x4c], edx
fild qword [ebp - 0x50]
add esp, 4
fmul qword [0xdbf468]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
fstp qword [esi + eax + 0x10]
jb 0xd8ab98
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00d9c65d
add esp, 4
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [0xdc6d50]
fld qword [esi + eax + 0x10]
sub esp, 8
lea ebx, [ebp - 0x54]
fstp qword [esp]
call fcn.00d8d470
mov edx, dword [0xdc6d50]
mov ebx, dword [ebp - 0x54]
mov edx, dword [esi + edx]
push str.Memory
mov ecx, ebx
call fcn.00d8d210
add esp, 0xc
cmp ebx, edi
je 0xd8abe4
push ebx
call fcn.00d9e1b8
add esp, 4
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x48]
inc eax
add esi, 0x28
mov dword [ebp - 0x48], eax
cmp eax, dword [0xdc6dd4]
jb 0xd8aa9c
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0x38]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, 1
jne 0xd8aa52
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0xd8ad1e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call fcn.00d8d7d0
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.GetAllProcessMemUsage_:_Unable_to_retrive_process_details__n
jmp 0xd8ad05
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call fcn.00d8d7d0
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.GetAllProcessMemUsage_:_Unable_to_connect_to__CIMV2___n
jmp 0xd8ad05
push edi
call fcn.00da0839
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
add esp, 4
push eax
mov dword [ebp - 0x4c], edx
call fcn.00da04db
mov esi, eax
add esp, 4
mov ecx, 9
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push ecx
inc edx
push edx
add eax, 0x76c
push eax
push str.__d__02d__02d__02d:_02d:_02d_
call fcn.00d9f6dc
add esp, 0x1c
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.GetAllProcessMemUsage_:_Unable_to_create_a_WbemLocator__n
call fcn.00d9f6dc
add esp, 4
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 4
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.00d9c668
mov esp, ebp
pop ebp
ret