10
&function_begin_B($name,"");
12
&mov("ebx",&wparam(0));
20
&comment("Load the data words");
21
&mov($L,&DWP(0,"ebx","",0));
22
&mov($R,&DWP(4,"ebx","",0));
27
&IP_new($L,$R,"edx",0);
33
&mov(&DWP(4,"ebx","",0),$R);
34
&mov("eax",&wparam(1));
35
&mov(&DWP(0,"ebx","",0),"edx");
36
&mov("edi",&wparam(2));
37
&mov("esi",&wparam(3));
41
&mov(&DWP(4,"ebx","",0),$R);
42
&mov("esi",&wparam(1));
43
&mov(&DWP(0,"ebx","",0),"edx");
44
&mov("edi",&wparam(2));
45
&mov("eax",&wparam(3));
47
&mov(&swtmp(2), (DWC(($enc)?"1":"0")));
48
&mov(&swtmp(1), "eax");
49
&mov(&swtmp(0), "ebx");
50
&call("DES_encrypt2");
51
&mov(&swtmp(2), (DWC(($enc)?"0":"1")));
52
&mov(&swtmp(1), "edi");
53
&mov(&swtmp(0), "ebx");
54
&call("DES_encrypt2");
55
&mov(&swtmp(2), (DWC(($enc)?"1":"0")));
56
&mov(&swtmp(1), "esi");
57
&mov(&swtmp(0), "ebx");
58
&call("DES_encrypt2");
61
&mov($L,&DWP(0,"ebx","",0));
62
&mov($R,&DWP(4,"ebx","",0));
66
&FP_new($L,$R,"eax",0);
68
&mov(&DWP(0,"ebx","",0),"eax");
69
&mov(&DWP(4,"ebx","",0),$R);
76
&function_end_B($name);