MiFreeOverlappedFlushEntry

NTSTATUS __fastcall MiFreeOverlappedFlushEntry(INT64 **P){
  struct _KEVENT *v1; 
  INT64 *v3; 
  v1 = (struct _KEVENT *)P[4];
  MiFlushRelease((_CONTROL_AREA *)**P, (_SUBSECTION *)*P, (_SUBSECTION *)P[1]);
  v3 = P[5];
  if( v3 )
    ExFreePoolWithTag(v3, 0);
  *(_DWORD *)P[3] = *((_DWORD *)P + 5);
  if( *((int *)P + 5) < 0 )
    P[3][1] = 0i64;
  ExFreePoolWithTag(P, 0);
  return KeSetEvent(v1, 0);
}

Referenced by:

MiFlushComplete