MiInitializePartitions

NTSTATUS __stdcall MiInitializePartitions(UINT64 InitializationPhase){
  NTSTATUS result; 

  result = 1;
  if( !(_DWORD)InitializationPhase )
  {
    *(&stru_140C4DB30 + 258) = 0i64;
    *(&stru_140C4DB30 + 259) = 0i64;
    *(&stru_140C4DB30 + 263) = (char *)&stru_140C4DB30 + 2112;
    *(&stru_140C4DB30 + 528) = 1;
    *(&stru_140C4DB30 + 265) = (char *)&stru_140C4DB30 + 2080;
    *(&stru_140C4DB30 + 520) |= 1u;
    *(&stru_140C4DB30 + 262) = (char *)&stru_140C4DB30 + 2088;
    *(&stru_140C4DB30 + 261) = (char *)&stru_140C4DB30 + 2088;
    *(&stru_140C4DB30 + 266) = &Irp;
    *(&stru_140C4DB30 + 267) = (char *)&stru_140C4DB30 + 2128;
  }
  return result;
}

Referenced by:

MiCreatePfnDatabase
MiInitSystem