PdcpPortReleaseResources

NTSTATUS __stdcall PdcpPortReleaseResources(PVOID P){
  __int64 v2; 
  void(__fastcall *v3)(__int64, int *, __int64); 
  int v5[202]; 

  memset(v5, 0i64, 0x320u);
  v2 = *((_QWORD *)P + 3);
  *(_DWORD *)P = 0;
  if( v2 )
  {
    v5[14] = *((_DWORD *)P + 4);
    v5[15] = *((_DWORD *)P + 5);
    v3 = (void(__fastcall *)(__int64, int *, __int64))*((_QWORD *)P + 4);
    v5[10] = 1;
    v5[11] = 5;
    v3(v2, v5, 800i64);
  }
  return(unsigned int)ExFreePoolWithTag(P, 0);
}

Referenced by:

PdcPortOpenCommon