NTSTATUS __stdcall WheapGetAllPolicyValues(UINT64 *Count, UINT64 Length, UINT8 *Buffer){
NTSTATUS result;
unsigned int v5;
int v6;
__int64 v7;
if( (unsigned int)Length < 0x34 )
return -1073741789;
*(_DWORD *)Count = 13;
v5 = 0;
do
{
result = WheapGetPolicyValue(v5, (UINT64 *)Buffer);
if( result < 0 )
break;
v5 = v6 + 1;
Buffer = (UINT8 *)(v7 + 4);
}
while( v5 < 0xD );
return result;
}