10 &function_begin($name,4);
13 &comment("Load the data words");
14 &mov("ebx",&wparam(0));
15 &mov($L,&DWP(0,"ebx","",0));
16 &mov($R,&DWP(4,"ebx","",0));
20 &IP_new($L,$R,"edx",0);
26 &mov(&DWP(4,"ebx","",0),$R);
27 &mov("eax",&wparam(1));
28 &mov(&DWP(0,"ebx","",0),"edx");
29 &mov("edi",&wparam(2));
30 &mov("esi",&wparam(3));
34 &mov(&DWP(4,"ebx","",0),$R);
35 &mov("esi",&wparam(1));
36 &mov(&DWP(0,"ebx","",0),"edx");
37 &mov("edi",&wparam(2));
38 &mov("eax",&wparam(3));
40 &push(($enc)?"1":"0");
43 &call("des_encrypt2");
44 &push(($enc)?"0":"1");
47 &call("des_encrypt2");
48 &push(($enc)?"1":"0");
51 &call("des_encrypt2");
53 &mov($L,&DWP(0,"ebx","",0));
55 &mov($R,&DWP(4,"ebx","",0));
59 &FP_new($L,$R,"eax",0);
61 &mov(&DWP(0,"ebx","",0),"eax");
62 &mov(&DWP(4,"ebx","",0),$R);