RtlNormalizeString

NTSTATUS __stdcall RtlNormalizeString(
        UINT64 NormForm,
        WCHAR *SourceString,
        INT64 SourceStringLength,
        WCHAR *DestinationString,
        INT64 *DestinationStringLength){
  unsigned int v6; 
  INT64 *pcwDstLength; 
  NTSTATUS result; 
  _RTL_NORMALIZATION *pNormalization; 

  pNormalization = 0i64;
  v6 = SourceStringLength;
  if( !SourceString )
    return -1073741811;
  if( (int)SourceStringLength < -1 )
    return -1073741811;
  if( !(_DWORD)NormForm )
    return -1073741811;
  pcwDstLength = DestinationStringLength;
  if( *(int *)DestinationStringLength < 0 )
    return -1073741811;
  result = RtlpGetNormalization(NormForm, (VOID **)&pNormalization);
  if( result >= 0 )
    return RtlpNormalizeStringWorker(pNormalization, SourceString, v6, DestinationString, pcwDstLength);
  return result;
}

Referenced by:

RtlpNameprepAsciiRealWorker