RtlpGetCorrelationVectorLastDotPosition

NTSTATUS __stdcall RtlpGetCorrelationVectorLastDotPosition(_BYTE *a1){
  NTSTATUS CorrelationVectorBufferLength; 
  NTSTATUS v2; 
  NTSTATUS v3; 
  __int64 v4; 
  __int64 v5; 
  __int64 v6; 
  char v7; 
  NTSTATUS v8; 

  CorrelationVectorBufferLength = RtlpGetCorrelationVectorBufferLength(a1);
  v5 = CorrelationVectorBufferLength;
  if( CorrelationVectorBufferLength > 0 )
  {
    v6 = 0i64;
    do
    {
      v7 = *(_BYTE *)(v4 + v6 + 1);
      v8 = v3;
      if( !v7 )
        break;
      ++v3;
      ++v6;
      if( v7 != 46 )
        v8 = v2;
      v2 = v8;
    }
    while( v6 < v5 );
  }
  return v2;
}

Referenced by:

RtlIncrementCorrelationVector