EtwpFinalizePendingApc

VOID __fastcall EtwpFinalizePendingApc(UINT64 *a1, INT64 a2){
  _interlockedbittestandreset(
    (volatile signed __int32 *)(*(_QWORD *)(a2 + 8) + 120i64),
    (*((_WORD *)a1 + 417) & 7) + 24);
  RtlpInterlockedPushEntrySList((PSLIST_HEADER)(a1 + 116), (PSLIST_ENTRY)a2);
  _InterlockedDecrement((volatile signed __int32 *)a1 + 240);
  ExReleaseRundownProtectionCacheAwareEx(
    *(PEX_RUNDOWN_REF_CACHE_AWARE *)(*(_QWORD *)(a1[135] + 448) + 8i64 * *(unsigned int *)a1),
    1u);
}

Referenced by:

EtwpCancelPendingStackwalkApcs
EtwpCancelStackWalkApc
EtwpStackWalkApc