PspMapSiloSharedDataView

INT64 __fastcall PspMapSiloSharedDataView(__int64 a1){
  _EJOB *ProcessServerSilo; 
  INT64 result; 
  __int64 v4; 
  __int64 *v5; 
  ProcessServerSilo = (_EJOB *)PsGetProcessServerSilo(a1);
  if( PsIsHostSilo(ProcessServerSilo) )
    return 0i64;
  result = MmMapViewOfSection((_LOADER_PARAMETER_BLOCK *)ProcessServerSilo->ServerSiloGlobals->UserSharedSection, a1);
  if( (int)result >= 0 )
  {
    *(_QWORD *)(*(_QWORD *)(a1 + 1360) + 144i64) = 0i64;
    v4 = 0i64;
    v5 = *(__int64 **)(a1 + 1408);
    if( v5 )
      v4 = *v5;
    if( v4 )
      *(_DWORD *)(v4 + 80) = 0;
    return 0i64;
  }
  return result;
}

Referenced by:

PspAllocateProcess
PspSetupUserProcessAddressSpace