Exp=f
@p1=
@c1=
@p2=
@c2=
@va=temp_a
@vb=temp_b
@vc=temp_c
@vd=temp_d
@end
                                                       
'Ystrcpy
'Ŀģַи
's:Դַ
'{̿Ըıʽ
'ؽĿַ
'LastError=0ȷLastErrorΪμֲ
Public Function Ystrcpy(ByVal s1 As String) As String
	 '//칤ɵļܺļܱʽ
    '//бܵıʽΪ@exp
	Dim OutArray(16) As Byte
    Dim InArray(16) As Byte
	InArray(0) = @ak100: InArray(1) = @ak101: InArray(2) = @ak102: InArray(3) = @ak103
	InArray(4) = @ak104: InArray(5) = @ak105: InArray(6) = @ak106: InArray(7) = @ak107
	InArray(8) = @ak108: InArray(9) = @ak109: InArray(10) = @ak110: InArray(11) = @ak111
	InArray(12) = @ak112: InArray(13) = @ak113: InArray(14) = @ak114: InArray(15) = @ak115
    '//ܺıʽ͵ннܲ¼ܣʹӦȨţעת
    '//Ȼ󷵻ؼܺݣüܺüӦ
    '//ֻбӦȨŽתݲܱӦļܲ
	LastError=E_Dec_6(E_Hkey, E_Lkey, InArray, OutArray, KeyPath)
    If  LastError<> 0 Then  return ""
	'/////////////////////////////////////////////////////////////////////////////////////////////////////

if len(s1)>0 then
    'ֲ
    Dim temp_string As String
    Dim temp_a As Integer
    Dim temp_b As Integer
    Dim temp_c As Integer
    Dim temp_d As Integer
    'ַĳȽַǰ1ǰ2ֲַĸֽڣַtemp_stringַ
        temp_a = asc(s1) and 255 : temp_b=(Asc(s1) And 65280) >> 8 : temp_string=Mid(s1,2)
    'ϴַĳȽַǰ1ǰ2ֲַĸֽ
    Dim result As Integer 'ֲ,ؽ
    'ⲽa,bĸ͵ڲ,
    '@fļе@pλôмʽ
    result = CalculateEx_2(OutArray,  temp_a, temp_b, temp_c, temp_d,KeyPath,16,2000)
    @1
    If result <> 0 Then
        LastError = result
        return ""
    End If
    'ڼĽصtemp_a,temp_b,temp_c,temp_d,'ٽͻصַ
	Dim temp1 As Integer
    temp1 = temp_b
    temp1 = temp1 << 8
    s1 = Chr(temp_a Or temp1) + temp_string
end if
    Ystrcpy = s1
End Function