NTSTATUS __stdcall RtlExtendCorrelationVector(_BYTE *a1){
NTSTATUS CorrelationVectorBufferLength;
__int64 v3;
NTSTATUS v4;
if( RtlpGetCorrelationVectorEndPosition(a1) < 0 )
return -2147483643;
CorrelationVectorBufferLength = RtlpGetCorrelationVectorBufferLength(a1);
if( (int)v3 >= CorrelationVectorBufferLength - 3 )
return -2147483643;
*(_WORD *)&a1[v3 + 1] = 12334;
a1[v3 + 3] = v4;
return v4;
}