MiEndDpcGang

VOID __fastcall MiEndDpcGang(INT64 a1){
  PVOID *v1; 
  PVOID *v3; 
  v1 = (PVOID *)(a1 + 16);
  if( (*(_DWORD *)(a1 + 184) & 1) != 0 )
  {
    if( *v1 != (PVOID)(a1 + 24) )
    {
      ExFreePoolWithTag(*v1, 0);
      *v1 = 0i64;
    }
  }
  else
  {
    v3 = *(PVOID **)(a1 + 8);
    if( v3 != v1 )
    {
      ExFreePoolWithTag(v3, 0);
      *(_QWORD *)(a1 + 8) = 0i64;
    }
  }
}

Referenced by:

MiAllocateFastLargePagesForMdl
MiHugePageOperation