PopSetRange

VOID __fastcall PopSetRange(UINT64 P3, INT64 a2, UINT64 a3, UINT64 a4, INT64 Tag){
  if( *(_BYTE *)(P3 + 28) )
  {
    PopInternalAddToDumpFile((PVOID)P3, 0x1C8ui64, 0i64);
    KeBugCheckEx(0xA0u, 0x104ui64, 0xAui64, P3, 0i64);
  }
  if( (a2 & 0x8000) != 0 )
  {
    PopDiscardRange((_POP_HIBER_CONTEXT *)P3, a3, a4, a4);
  }
  else if( (a2 & 2) != 0 )
  {
    PopCloneRange((_POP_HIBER_CONTEXT *)P3, a3, a4, (unsigned int)Tag);
  }
  else
  {
    if( (a2 & 0x10000) == 0 )
    {
      PopInternalAddToDumpFile((PVOID)P3, 0x1C8ui64, 0i64);
      KeBugCheckEx(0xA0u, 0x105ui64, 0xAui64, P3, 0i64);
    }
    PopSetBootPhaseRange((_POP_HIBER_CONTEXT *)P3, a3, a4, a4);
  }
}

Referenced by:

PoSetHiberRange