RtlpIsFrameInBounds

BOOL __stdcall RtlpIsFrameInBounds(UINT64 *LowLimit, UINT64 StackFrame, UINT64 *HighLimit){
  BOOL result; 
  LOBYTE(result) = (StackFrame & 7) == 0 && StackFrame >= *LowLimit && StackFrame < *HighLimit;
  return result;
}

Referenced by:

RtlDispatchException
RtlUnwindEx