strcpy_s
NTSTATUS __stdcall strcpy_s(PSTR Dst, UINT64 SizeInBytes, PSTR Src){
NTSTATUS v4;
signed __int64 v5;
char v6;
if( Dst && SizeInBytes )
{
if( !Src )
{
v4 = 22;
LABEL_10:
*Dst = 0;
xHalTimerWatchdogStop(0i64, 0i64);
return v4;
}
v5 = Dst - Src;
do
{
v6 = *Src;
Src[v5] = *Src;
++Src;
if( !v6 )
break;
--SizeInBytes;
}
while( SizeInBytes );
if( !SizeInBytes )
{
v4 = 34;
goto LABEL_10;
}
return 0;
}
else
{
xHalTimerWatchdogStop(0i64, 0i64);
return 22;
}
}Referenced by:
BiConvertBootEnvironmentDeviceToNt
BiConvertNtDeviceToBootEnvironment
CmpAddProcessorConfigurationEntry
ExpSystemErrorHandler2
HdlspGetLine
HdlspSetBlueScreenInformation
PspInitPhase0
PspInitPhase1
RtlIncrementCorrelationVector