OLD | NEW |
| (Empty) |
1 .file "crypt586.s" | |
2 .text | |
3 .globl _fcrypt_body | |
4 .align 4 | |
5 _fcrypt_body: | |
6 L_fcrypt_body_begin: | |
7 pushl %ebp | |
8 pushl %ebx | |
9 pushl %esi | |
10 pushl %edi | |
11 | |
12 # Load the 2 words | |
13 xorl %edi,%edi | |
14 xorl %esi,%esi | |
15 call L000PIC_me_up | |
16 L000PIC_me_up: | |
17 popl %edx | |
18 movl L_DES_SPtrans$non_lazy_ptr-L000PIC_me_up(%edx),%edx | |
19 pushl %edx | |
20 movl 28(%esp),%ebp | |
21 pushl $25 | |
22 L001start: | |
23 | |
24 # Round 0 | |
25 movl 36(%esp),%eax | |
26 movl %esi,%edx | |
27 shrl $16,%edx | |
28 movl 40(%esp),%ecx | |
29 xorl %esi,%edx | |
30 andl %edx,%eax | |
31 andl %ecx,%edx | |
32 movl %eax,%ebx | |
33 shll $16,%ebx | |
34 movl %edx,%ecx | |
35 shll $16,%ecx | |
36 xorl %ebx,%eax | |
37 xorl %ecx,%edx | |
38 movl (%ebp),%ebx | |
39 xorl %ebx,%eax | |
40 movl 4(%ebp),%ecx | |
41 xorl %esi,%eax | |
42 xorl %esi,%edx | |
43 xorl %ecx,%edx | |
44 andl $0xfcfcfcfc,%eax | |
45 xorl %ebx,%ebx | |
46 andl $0xcfcfcfcf,%edx | |
47 xorl %ecx,%ecx | |
48 movb %al,%bl | |
49 movb %ah,%cl | |
50 rorl $4,%edx | |
51 movl 4(%esp),%ebp | |
52 xorl (%ebp,%ebx,1),%edi | |
53 movb %dl,%bl | |
54 xorl 0x200(%ebp,%ecx,1),%edi | |
55 movb %dh,%cl | |
56 shrl $16,%eax | |
57 xorl 0x100(%ebp,%ebx,1),%edi | |
58 movb %ah,%bl | |
59 shrl $16,%edx | |
60 xorl 0x300(%ebp,%ecx,1),%edi | |
61 movb %dh,%cl | |
62 andl $0xff,%eax | |
63 andl $0xff,%edx | |
64 movl 0x600(%ebp,%ebx,1),%ebx | |
65 xorl %ebx,%edi | |
66 movl 0x700(%ebp,%ecx,1),%ebx | |
67 xorl %ebx,%edi | |
68 movl 0x400(%ebp,%eax,1),%ebx | |
69 xorl %ebx,%edi | |
70 movl 0x500(%ebp,%edx,1),%ebx | |
71 xorl %ebx,%edi | |
72 movl 32(%esp),%ebp | |
73 | |
74 # Round 1 | |
75 movl 36(%esp),%eax | |
76 movl %edi,%edx | |
77 shrl $16,%edx | |
78 movl 40(%esp),%ecx | |
79 xorl %edi,%edx | |
80 andl %edx,%eax | |
81 andl %ecx,%edx | |
82 movl %eax,%ebx | |
83 shll $16,%ebx | |
84 movl %edx,%ecx | |
85 shll $16,%ecx | |
86 xorl %ebx,%eax | |
87 xorl %ecx,%edx | |
88 movl 8(%ebp),%ebx | |
89 xorl %ebx,%eax | |
90 movl 12(%ebp),%ecx | |
91 xorl %edi,%eax | |
92 xorl %edi,%edx | |
93 xorl %ecx,%edx | |
94 andl $0xfcfcfcfc,%eax | |
95 xorl %ebx,%ebx | |
96 andl $0xcfcfcfcf,%edx | |
97 xorl %ecx,%ecx | |
98 movb %al,%bl | |
99 movb %ah,%cl | |
100 rorl $4,%edx | |
101 movl 4(%esp),%ebp | |
102 xorl (%ebp,%ebx,1),%esi | |
103 movb %dl,%bl | |
104 xorl 0x200(%ebp,%ecx,1),%esi | |
105 movb %dh,%cl | |
106 shrl $16,%eax | |
107 xorl 0x100(%ebp,%ebx,1),%esi | |
108 movb %ah,%bl | |
109 shrl $16,%edx | |
110 xorl 0x300(%ebp,%ecx,1),%esi | |
111 movb %dh,%cl | |
112 andl $0xff,%eax | |
113 andl $0xff,%edx | |
114 movl 0x600(%ebp,%ebx,1),%ebx | |
115 xorl %ebx,%esi | |
116 movl 0x700(%ebp,%ecx,1),%ebx | |
117 xorl %ebx,%esi | |
118 movl 0x400(%ebp,%eax,1),%ebx | |
119 xorl %ebx,%esi | |
120 movl 0x500(%ebp,%edx,1),%ebx | |
121 xorl %ebx,%esi | |
122 movl 32(%esp),%ebp | |
123 | |
124 # Round 2 | |
125 movl 36(%esp),%eax | |
126 movl %esi,%edx | |
127 shrl $16,%edx | |
128 movl 40(%esp),%ecx | |
129 xorl %esi,%edx | |
130 andl %edx,%eax | |
131 andl %ecx,%edx | |
132 movl %eax,%ebx | |
133 shll $16,%ebx | |
134 movl %edx,%ecx | |
135 shll $16,%ecx | |
136 xorl %ebx,%eax | |
137 xorl %ecx,%edx | |
138 movl 16(%ebp),%ebx | |
139 xorl %ebx,%eax | |
140 movl 20(%ebp),%ecx | |
141 xorl %esi,%eax | |
142 xorl %esi,%edx | |
143 xorl %ecx,%edx | |
144 andl $0xfcfcfcfc,%eax | |
145 xorl %ebx,%ebx | |
146 andl $0xcfcfcfcf,%edx | |
147 xorl %ecx,%ecx | |
148 movb %al,%bl | |
149 movb %ah,%cl | |
150 rorl $4,%edx | |
151 movl 4(%esp),%ebp | |
152 xorl (%ebp,%ebx,1),%edi | |
153 movb %dl,%bl | |
154 xorl 0x200(%ebp,%ecx,1),%edi | |
155 movb %dh,%cl | |
156 shrl $16,%eax | |
157 xorl 0x100(%ebp,%ebx,1),%edi | |
158 movb %ah,%bl | |
159 shrl $16,%edx | |
160 xorl 0x300(%ebp,%ecx,1),%edi | |
161 movb %dh,%cl | |
162 andl $0xff,%eax | |
163 andl $0xff,%edx | |
164 movl 0x600(%ebp,%ebx,1),%ebx | |
165 xorl %ebx,%edi | |
166 movl 0x700(%ebp,%ecx,1),%ebx | |
167 xorl %ebx,%edi | |
168 movl 0x400(%ebp,%eax,1),%ebx | |
169 xorl %ebx,%edi | |
170 movl 0x500(%ebp,%edx,1),%ebx | |
171 xorl %ebx,%edi | |
172 movl 32(%esp),%ebp | |
173 | |
174 # Round 3 | |
175 movl 36(%esp),%eax | |
176 movl %edi,%edx | |
177 shrl $16,%edx | |
178 movl 40(%esp),%ecx | |
179 xorl %edi,%edx | |
180 andl %edx,%eax | |
181 andl %ecx,%edx | |
182 movl %eax,%ebx | |
183 shll $16,%ebx | |
184 movl %edx,%ecx | |
185 shll $16,%ecx | |
186 xorl %ebx,%eax | |
187 xorl %ecx,%edx | |
188 movl 24(%ebp),%ebx | |
189 xorl %ebx,%eax | |
190 movl 28(%ebp),%ecx | |
191 xorl %edi,%eax | |
192 xorl %edi,%edx | |
193 xorl %ecx,%edx | |
194 andl $0xfcfcfcfc,%eax | |
195 xorl %ebx,%ebx | |
196 andl $0xcfcfcfcf,%edx | |
197 xorl %ecx,%ecx | |
198 movb %al,%bl | |
199 movb %ah,%cl | |
200 rorl $4,%edx | |
201 movl 4(%esp),%ebp | |
202 xorl (%ebp,%ebx,1),%esi | |
203 movb %dl,%bl | |
204 xorl 0x200(%ebp,%ecx,1),%esi | |
205 movb %dh,%cl | |
206 shrl $16,%eax | |
207 xorl 0x100(%ebp,%ebx,1),%esi | |
208 movb %ah,%bl | |
209 shrl $16,%edx | |
210 xorl 0x300(%ebp,%ecx,1),%esi | |
211 movb %dh,%cl | |
212 andl $0xff,%eax | |
213 andl $0xff,%edx | |
214 movl 0x600(%ebp,%ebx,1),%ebx | |
215 xorl %ebx,%esi | |
216 movl 0x700(%ebp,%ecx,1),%ebx | |
217 xorl %ebx,%esi | |
218 movl 0x400(%ebp,%eax,1),%ebx | |
219 xorl %ebx,%esi | |
220 movl 0x500(%ebp,%edx,1),%ebx | |
221 xorl %ebx,%esi | |
222 movl 32(%esp),%ebp | |
223 | |
224 # Round 4 | |
225 movl 36(%esp),%eax | |
226 movl %esi,%edx | |
227 shrl $16,%edx | |
228 movl 40(%esp),%ecx | |
229 xorl %esi,%edx | |
230 andl %edx,%eax | |
231 andl %ecx,%edx | |
232 movl %eax,%ebx | |
233 shll $16,%ebx | |
234 movl %edx,%ecx | |
235 shll $16,%ecx | |
236 xorl %ebx,%eax | |
237 xorl %ecx,%edx | |
238 movl 32(%ebp),%ebx | |
239 xorl %ebx,%eax | |
240 movl 36(%ebp),%ecx | |
241 xorl %esi,%eax | |
242 xorl %esi,%edx | |
243 xorl %ecx,%edx | |
244 andl $0xfcfcfcfc,%eax | |
245 xorl %ebx,%ebx | |
246 andl $0xcfcfcfcf,%edx | |
247 xorl %ecx,%ecx | |
248 movb %al,%bl | |
249 movb %ah,%cl | |
250 rorl $4,%edx | |
251 movl 4(%esp),%ebp | |
252 xorl (%ebp,%ebx,1),%edi | |
253 movb %dl,%bl | |
254 xorl 0x200(%ebp,%ecx,1),%edi | |
255 movb %dh,%cl | |
256 shrl $16,%eax | |
257 xorl 0x100(%ebp,%ebx,1),%edi | |
258 movb %ah,%bl | |
259 shrl $16,%edx | |
260 xorl 0x300(%ebp,%ecx,1),%edi | |
261 movb %dh,%cl | |
262 andl $0xff,%eax | |
263 andl $0xff,%edx | |
264 movl 0x600(%ebp,%ebx,1),%ebx | |
265 xorl %ebx,%edi | |
266 movl 0x700(%ebp,%ecx,1),%ebx | |
267 xorl %ebx,%edi | |
268 movl 0x400(%ebp,%eax,1),%ebx | |
269 xorl %ebx,%edi | |
270 movl 0x500(%ebp,%edx,1),%ebx | |
271 xorl %ebx,%edi | |
272 movl 32(%esp),%ebp | |
273 | |
274 # Round 5 | |
275 movl 36(%esp),%eax | |
276 movl %edi,%edx | |
277 shrl $16,%edx | |
278 movl 40(%esp),%ecx | |
279 xorl %edi,%edx | |
280 andl %edx,%eax | |
281 andl %ecx,%edx | |
282 movl %eax,%ebx | |
283 shll $16,%ebx | |
284 movl %edx,%ecx | |
285 shll $16,%ecx | |
286 xorl %ebx,%eax | |
287 xorl %ecx,%edx | |
288 movl 40(%ebp),%ebx | |
289 xorl %ebx,%eax | |
290 movl 44(%ebp),%ecx | |
291 xorl %edi,%eax | |
292 xorl %edi,%edx | |
293 xorl %ecx,%edx | |
294 andl $0xfcfcfcfc,%eax | |
295 xorl %ebx,%ebx | |
296 andl $0xcfcfcfcf,%edx | |
297 xorl %ecx,%ecx | |
298 movb %al,%bl | |
299 movb %ah,%cl | |
300 rorl $4,%edx | |
301 movl 4(%esp),%ebp | |
302 xorl (%ebp,%ebx,1),%esi | |
303 movb %dl,%bl | |
304 xorl 0x200(%ebp,%ecx,1),%esi | |
305 movb %dh,%cl | |
306 shrl $16,%eax | |
307 xorl 0x100(%ebp,%ebx,1),%esi | |
308 movb %ah,%bl | |
309 shrl $16,%edx | |
310 xorl 0x300(%ebp,%ecx,1),%esi | |
311 movb %dh,%cl | |
312 andl $0xff,%eax | |
313 andl $0xff,%edx | |
314 movl 0x600(%ebp,%ebx,1),%ebx | |
315 xorl %ebx,%esi | |
316 movl 0x700(%ebp,%ecx,1),%ebx | |
317 xorl %ebx,%esi | |
318 movl 0x400(%ebp,%eax,1),%ebx | |
319 xorl %ebx,%esi | |
320 movl 0x500(%ebp,%edx,1),%ebx | |
321 xorl %ebx,%esi | |
322 movl 32(%esp),%ebp | |
323 | |
324 # Round 6 | |
325 movl 36(%esp),%eax | |
326 movl %esi,%edx | |
327 shrl $16,%edx | |
328 movl 40(%esp),%ecx | |
329 xorl %esi,%edx | |
330 andl %edx,%eax | |
331 andl %ecx,%edx | |
332 movl %eax,%ebx | |
333 shll $16,%ebx | |
334 movl %edx,%ecx | |
335 shll $16,%ecx | |
336 xorl %ebx,%eax | |
337 xorl %ecx,%edx | |
338 movl 48(%ebp),%ebx | |
339 xorl %ebx,%eax | |
340 movl 52(%ebp),%ecx | |
341 xorl %esi,%eax | |
342 xorl %esi,%edx | |
343 xorl %ecx,%edx | |
344 andl $0xfcfcfcfc,%eax | |
345 xorl %ebx,%ebx | |
346 andl $0xcfcfcfcf,%edx | |
347 xorl %ecx,%ecx | |
348 movb %al,%bl | |
349 movb %ah,%cl | |
350 rorl $4,%edx | |
351 movl 4(%esp),%ebp | |
352 xorl (%ebp,%ebx,1),%edi | |
353 movb %dl,%bl | |
354 xorl 0x200(%ebp,%ecx,1),%edi | |
355 movb %dh,%cl | |
356 shrl $16,%eax | |
357 xorl 0x100(%ebp,%ebx,1),%edi | |
358 movb %ah,%bl | |
359 shrl $16,%edx | |
360 xorl 0x300(%ebp,%ecx,1),%edi | |
361 movb %dh,%cl | |
362 andl $0xff,%eax | |
363 andl $0xff,%edx | |
364 movl 0x600(%ebp,%ebx,1),%ebx | |
365 xorl %ebx,%edi | |
366 movl 0x700(%ebp,%ecx,1),%ebx | |
367 xorl %ebx,%edi | |
368 movl 0x400(%ebp,%eax,1),%ebx | |
369 xorl %ebx,%edi | |
370 movl 0x500(%ebp,%edx,1),%ebx | |
371 xorl %ebx,%edi | |
372 movl 32(%esp),%ebp | |
373 | |
374 # Round 7 | |
375 movl 36(%esp),%eax | |
376 movl %edi,%edx | |
377 shrl $16,%edx | |
378 movl 40(%esp),%ecx | |
379 xorl %edi,%edx | |
380 andl %edx,%eax | |
381 andl %ecx,%edx | |
382 movl %eax,%ebx | |
383 shll $16,%ebx | |
384 movl %edx,%ecx | |
385 shll $16,%ecx | |
386 xorl %ebx,%eax | |
387 xorl %ecx,%edx | |
388 movl 56(%ebp),%ebx | |
389 xorl %ebx,%eax | |
390 movl 60(%ebp),%ecx | |
391 xorl %edi,%eax | |
392 xorl %edi,%edx | |
393 xorl %ecx,%edx | |
394 andl $0xfcfcfcfc,%eax | |
395 xorl %ebx,%ebx | |
396 andl $0xcfcfcfcf,%edx | |
397 xorl %ecx,%ecx | |
398 movb %al,%bl | |
399 movb %ah,%cl | |
400 rorl $4,%edx | |
401 movl 4(%esp),%ebp | |
402 xorl (%ebp,%ebx,1),%esi | |
403 movb %dl,%bl | |
404 xorl 0x200(%ebp,%ecx,1),%esi | |
405 movb %dh,%cl | |
406 shrl $16,%eax | |
407 xorl 0x100(%ebp,%ebx,1),%esi | |
408 movb %ah,%bl | |
409 shrl $16,%edx | |
410 xorl 0x300(%ebp,%ecx,1),%esi | |
411 movb %dh,%cl | |
412 andl $0xff,%eax | |
413 andl $0xff,%edx | |
414 movl 0x600(%ebp,%ebx,1),%ebx | |
415 xorl %ebx,%esi | |
416 movl 0x700(%ebp,%ecx,1),%ebx | |
417 xorl %ebx,%esi | |
418 movl 0x400(%ebp,%eax,1),%ebx | |
419 xorl %ebx,%esi | |
420 movl 0x500(%ebp,%edx,1),%ebx | |
421 xorl %ebx,%esi | |
422 movl 32(%esp),%ebp | |
423 | |
424 # Round 8 | |
425 movl 36(%esp),%eax | |
426 movl %esi,%edx | |
427 shrl $16,%edx | |
428 movl 40(%esp),%ecx | |
429 xorl %esi,%edx | |
430 andl %edx,%eax | |
431 andl %ecx,%edx | |
432 movl %eax,%ebx | |
433 shll $16,%ebx | |
434 movl %edx,%ecx | |
435 shll $16,%ecx | |
436 xorl %ebx,%eax | |
437 xorl %ecx,%edx | |
438 movl 64(%ebp),%ebx | |
439 xorl %ebx,%eax | |
440 movl 68(%ebp),%ecx | |
441 xorl %esi,%eax | |
442 xorl %esi,%edx | |
443 xorl %ecx,%edx | |
444 andl $0xfcfcfcfc,%eax | |
445 xorl %ebx,%ebx | |
446 andl $0xcfcfcfcf,%edx | |
447 xorl %ecx,%ecx | |
448 movb %al,%bl | |
449 movb %ah,%cl | |
450 rorl $4,%edx | |
451 movl 4(%esp),%ebp | |
452 xorl (%ebp,%ebx,1),%edi | |
453 movb %dl,%bl | |
454 xorl 0x200(%ebp,%ecx,1),%edi | |
455 movb %dh,%cl | |
456 shrl $16,%eax | |
457 xorl 0x100(%ebp,%ebx,1),%edi | |
458 movb %ah,%bl | |
459 shrl $16,%edx | |
460 xorl 0x300(%ebp,%ecx,1),%edi | |
461 movb %dh,%cl | |
462 andl $0xff,%eax | |
463 andl $0xff,%edx | |
464 movl 0x600(%ebp,%ebx,1),%ebx | |
465 xorl %ebx,%edi | |
466 movl 0x700(%ebp,%ecx,1),%ebx | |
467 xorl %ebx,%edi | |
468 movl 0x400(%ebp,%eax,1),%ebx | |
469 xorl %ebx,%edi | |
470 movl 0x500(%ebp,%edx,1),%ebx | |
471 xorl %ebx,%edi | |
472 movl 32(%esp),%ebp | |
473 | |
474 # Round 9 | |
475 movl 36(%esp),%eax | |
476 movl %edi,%edx | |
477 shrl $16,%edx | |
478 movl 40(%esp),%ecx | |
479 xorl %edi,%edx | |
480 andl %edx,%eax | |
481 andl %ecx,%edx | |
482 movl %eax,%ebx | |
483 shll $16,%ebx | |
484 movl %edx,%ecx | |
485 shll $16,%ecx | |
486 xorl %ebx,%eax | |
487 xorl %ecx,%edx | |
488 movl 72(%ebp),%ebx | |
489 xorl %ebx,%eax | |
490 movl 76(%ebp),%ecx | |
491 xorl %edi,%eax | |
492 xorl %edi,%edx | |
493 xorl %ecx,%edx | |
494 andl $0xfcfcfcfc,%eax | |
495 xorl %ebx,%ebx | |
496 andl $0xcfcfcfcf,%edx | |
497 xorl %ecx,%ecx | |
498 movb %al,%bl | |
499 movb %ah,%cl | |
500 rorl $4,%edx | |
501 movl 4(%esp),%ebp | |
502 xorl (%ebp,%ebx,1),%esi | |
503 movb %dl,%bl | |
504 xorl 0x200(%ebp,%ecx,1),%esi | |
505 movb %dh,%cl | |
506 shrl $16,%eax | |
507 xorl 0x100(%ebp,%ebx,1),%esi | |
508 movb %ah,%bl | |
509 shrl $16,%edx | |
510 xorl 0x300(%ebp,%ecx,1),%esi | |
511 movb %dh,%cl | |
512 andl $0xff,%eax | |
513 andl $0xff,%edx | |
514 movl 0x600(%ebp,%ebx,1),%ebx | |
515 xorl %ebx,%esi | |
516 movl 0x700(%ebp,%ecx,1),%ebx | |
517 xorl %ebx,%esi | |
518 movl 0x400(%ebp,%eax,1),%ebx | |
519 xorl %ebx,%esi | |
520 movl 0x500(%ebp,%edx,1),%ebx | |
521 xorl %ebx,%esi | |
522 movl 32(%esp),%ebp | |
523 | |
524 # Round 10 | |
525 movl 36(%esp),%eax | |
526 movl %esi,%edx | |
527 shrl $16,%edx | |
528 movl 40(%esp),%ecx | |
529 xorl %esi,%edx | |
530 andl %edx,%eax | |
531 andl %ecx,%edx | |
532 movl %eax,%ebx | |
533 shll $16,%ebx | |
534 movl %edx,%ecx | |
535 shll $16,%ecx | |
536 xorl %ebx,%eax | |
537 xorl %ecx,%edx | |
538 movl 80(%ebp),%ebx | |
539 xorl %ebx,%eax | |
540 movl 84(%ebp),%ecx | |
541 xorl %esi,%eax | |
542 xorl %esi,%edx | |
543 xorl %ecx,%edx | |
544 andl $0xfcfcfcfc,%eax | |
545 xorl %ebx,%ebx | |
546 andl $0xcfcfcfcf,%edx | |
547 xorl %ecx,%ecx | |
548 movb %al,%bl | |
549 movb %ah,%cl | |
550 rorl $4,%edx | |
551 movl 4(%esp),%ebp | |
552 xorl (%ebp,%ebx,1),%edi | |
553 movb %dl,%bl | |
554 xorl 0x200(%ebp,%ecx,1),%edi | |
555 movb %dh,%cl | |
556 shrl $16,%eax | |
557 xorl 0x100(%ebp,%ebx,1),%edi | |
558 movb %ah,%bl | |
559 shrl $16,%edx | |
560 xorl 0x300(%ebp,%ecx,1),%edi | |
561 movb %dh,%cl | |
562 andl $0xff,%eax | |
563 andl $0xff,%edx | |
564 movl 0x600(%ebp,%ebx,1),%ebx | |
565 xorl %ebx,%edi | |
566 movl 0x700(%ebp,%ecx,1),%ebx | |
567 xorl %ebx,%edi | |
568 movl 0x400(%ebp,%eax,1),%ebx | |
569 xorl %ebx,%edi | |
570 movl 0x500(%ebp,%edx,1),%ebx | |
571 xorl %ebx,%edi | |
572 movl 32(%esp),%ebp | |
573 | |
574 # Round 11 | |
575 movl 36(%esp),%eax | |
576 movl %edi,%edx | |
577 shrl $16,%edx | |
578 movl 40(%esp),%ecx | |
579 xorl %edi,%edx | |
580 andl %edx,%eax | |
581 andl %ecx,%edx | |
582 movl %eax,%ebx | |
583 shll $16,%ebx | |
584 movl %edx,%ecx | |
585 shll $16,%ecx | |
586 xorl %ebx,%eax | |
587 xorl %ecx,%edx | |
588 movl 88(%ebp),%ebx | |
589 xorl %ebx,%eax | |
590 movl 92(%ebp),%ecx | |
591 xorl %edi,%eax | |
592 xorl %edi,%edx | |
593 xorl %ecx,%edx | |
594 andl $0xfcfcfcfc,%eax | |
595 xorl %ebx,%ebx | |
596 andl $0xcfcfcfcf,%edx | |
597 xorl %ecx,%ecx | |
598 movb %al,%bl | |
599 movb %ah,%cl | |
600 rorl $4,%edx | |
601 movl 4(%esp),%ebp | |
602 xorl (%ebp,%ebx,1),%esi | |
603 movb %dl,%bl | |
604 xorl 0x200(%ebp,%ecx,1),%esi | |
605 movb %dh,%cl | |
606 shrl $16,%eax | |
607 xorl 0x100(%ebp,%ebx,1),%esi | |
608 movb %ah,%bl | |
609 shrl $16,%edx | |
610 xorl 0x300(%ebp,%ecx,1),%esi | |
611 movb %dh,%cl | |
612 andl $0xff,%eax | |
613 andl $0xff,%edx | |
614 movl 0x600(%ebp,%ebx,1),%ebx | |
615 xorl %ebx,%esi | |
616 movl 0x700(%ebp,%ecx,1),%ebx | |
617 xorl %ebx,%esi | |
618 movl 0x400(%ebp,%eax,1),%ebx | |
619 xorl %ebx,%esi | |
620 movl 0x500(%ebp,%edx,1),%ebx | |
621 xorl %ebx,%esi | |
622 movl 32(%esp),%ebp | |
623 | |
624 # Round 12 | |
625 movl 36(%esp),%eax | |
626 movl %esi,%edx | |
627 shrl $16,%edx | |
628 movl 40(%esp),%ecx | |
629 xorl %esi,%edx | |
630 andl %edx,%eax | |
631 andl %ecx,%edx | |
632 movl %eax,%ebx | |
633 shll $16,%ebx | |
634 movl %edx,%ecx | |
635 shll $16,%ecx | |
636 xorl %ebx,%eax | |
637 xorl %ecx,%edx | |
638 movl 96(%ebp),%ebx | |
639 xorl %ebx,%eax | |
640 movl 100(%ebp),%ecx | |
641 xorl %esi,%eax | |
642 xorl %esi,%edx | |
643 xorl %ecx,%edx | |
644 andl $0xfcfcfcfc,%eax | |
645 xorl %ebx,%ebx | |
646 andl $0xcfcfcfcf,%edx | |
647 xorl %ecx,%ecx | |
648 movb %al,%bl | |
649 movb %ah,%cl | |
650 rorl $4,%edx | |
651 movl 4(%esp),%ebp | |
652 xorl (%ebp,%ebx,1),%edi | |
653 movb %dl,%bl | |
654 xorl 0x200(%ebp,%ecx,1),%edi | |
655 movb %dh,%cl | |
656 shrl $16,%eax | |
657 xorl 0x100(%ebp,%ebx,1),%edi | |
658 movb %ah,%bl | |
659 shrl $16,%edx | |
660 xorl 0x300(%ebp,%ecx,1),%edi | |
661 movb %dh,%cl | |
662 andl $0xff,%eax | |
663 andl $0xff,%edx | |
664 movl 0x600(%ebp,%ebx,1),%ebx | |
665 xorl %ebx,%edi | |
666 movl 0x700(%ebp,%ecx,1),%ebx | |
667 xorl %ebx,%edi | |
668 movl 0x400(%ebp,%eax,1),%ebx | |
669 xorl %ebx,%edi | |
670 movl 0x500(%ebp,%edx,1),%ebx | |
671 xorl %ebx,%edi | |
672 movl 32(%esp),%ebp | |
673 | |
674 # Round 13 | |
675 movl 36(%esp),%eax | |
676 movl %edi,%edx | |
677 shrl $16,%edx | |
678 movl 40(%esp),%ecx | |
679 xorl %edi,%edx | |
680 andl %edx,%eax | |
681 andl %ecx,%edx | |
682 movl %eax,%ebx | |
683 shll $16,%ebx | |
684 movl %edx,%ecx | |
685 shll $16,%ecx | |
686 xorl %ebx,%eax | |
687 xorl %ecx,%edx | |
688 movl 104(%ebp),%ebx | |
689 xorl %ebx,%eax | |
690 movl 108(%ebp),%ecx | |
691 xorl %edi,%eax | |
692 xorl %edi,%edx | |
693 xorl %ecx,%edx | |
694 andl $0xfcfcfcfc,%eax | |
695 xorl %ebx,%ebx | |
696 andl $0xcfcfcfcf,%edx | |
697 xorl %ecx,%ecx | |
698 movb %al,%bl | |
699 movb %ah,%cl | |
700 rorl $4,%edx | |
701 movl 4(%esp),%ebp | |
702 xorl (%ebp,%ebx,1),%esi | |
703 movb %dl,%bl | |
704 xorl 0x200(%ebp,%ecx,1),%esi | |
705 movb %dh,%cl | |
706 shrl $16,%eax | |
707 xorl 0x100(%ebp,%ebx,1),%esi | |
708 movb %ah,%bl | |
709 shrl $16,%edx | |
710 xorl 0x300(%ebp,%ecx,1),%esi | |
711 movb %dh,%cl | |
712 andl $0xff,%eax | |
713 andl $0xff,%edx | |
714 movl 0x600(%ebp,%ebx,1),%ebx | |
715 xorl %ebx,%esi | |
716 movl 0x700(%ebp,%ecx,1),%ebx | |
717 xorl %ebx,%esi | |
718 movl 0x400(%ebp,%eax,1),%ebx | |
719 xorl %ebx,%esi | |
720 movl 0x500(%ebp,%edx,1),%ebx | |
721 xorl %ebx,%esi | |
722 movl 32(%esp),%ebp | |
723 | |
724 # Round 14 | |
725 movl 36(%esp),%eax | |
726 movl %esi,%edx | |
727 shrl $16,%edx | |
728 movl 40(%esp),%ecx | |
729 xorl %esi,%edx | |
730 andl %edx,%eax | |
731 andl %ecx,%edx | |
732 movl %eax,%ebx | |
733 shll $16,%ebx | |
734 movl %edx,%ecx | |
735 shll $16,%ecx | |
736 xorl %ebx,%eax | |
737 xorl %ecx,%edx | |
738 movl 112(%ebp),%ebx | |
739 xorl %ebx,%eax | |
740 movl 116(%ebp),%ecx | |
741 xorl %esi,%eax | |
742 xorl %esi,%edx | |
743 xorl %ecx,%edx | |
744 andl $0xfcfcfcfc,%eax | |
745 xorl %ebx,%ebx | |
746 andl $0xcfcfcfcf,%edx | |
747 xorl %ecx,%ecx | |
748 movb %al,%bl | |
749 movb %ah,%cl | |
750 rorl $4,%edx | |
751 movl 4(%esp),%ebp | |
752 xorl (%ebp,%ebx,1),%edi | |
753 movb %dl,%bl | |
754 xorl 0x200(%ebp,%ecx,1),%edi | |
755 movb %dh,%cl | |
756 shrl $16,%eax | |
757 xorl 0x100(%ebp,%ebx,1),%edi | |
758 movb %ah,%bl | |
759 shrl $16,%edx | |
760 xorl 0x300(%ebp,%ecx,1),%edi | |
761 movb %dh,%cl | |
762 andl $0xff,%eax | |
763 andl $0xff,%edx | |
764 movl 0x600(%ebp,%ebx,1),%ebx | |
765 xorl %ebx,%edi | |
766 movl 0x700(%ebp,%ecx,1),%ebx | |
767 xorl %ebx,%edi | |
768 movl 0x400(%ebp,%eax,1),%ebx | |
769 xorl %ebx,%edi | |
770 movl 0x500(%ebp,%edx,1),%ebx | |
771 xorl %ebx,%edi | |
772 movl 32(%esp),%ebp | |
773 | |
774 # Round 15 | |
775 movl 36(%esp),%eax | |
776 movl %edi,%edx | |
777 shrl $16,%edx | |
778 movl 40(%esp),%ecx | |
779 xorl %edi,%edx | |
780 andl %edx,%eax | |
781 andl %ecx,%edx | |
782 movl %eax,%ebx | |
783 shll $16,%ebx | |
784 movl %edx,%ecx | |
785 shll $16,%ecx | |
786 xorl %ebx,%eax | |
787 xorl %ecx,%edx | |
788 movl 120(%ebp),%ebx | |
789 xorl %ebx,%eax | |
790 movl 124(%ebp),%ecx | |
791 xorl %edi,%eax | |
792 xorl %edi,%edx | |
793 xorl %ecx,%edx | |
794 andl $0xfcfcfcfc,%eax | |
795 xorl %ebx,%ebx | |
796 andl $0xcfcfcfcf,%edx | |
797 xorl %ecx,%ecx | |
798 movb %al,%bl | |
799 movb %ah,%cl | |
800 rorl $4,%edx | |
801 movl 4(%esp),%ebp | |
802 xorl (%ebp,%ebx,1),%esi | |
803 movb %dl,%bl | |
804 xorl 0x200(%ebp,%ecx,1),%esi | |
805 movb %dh,%cl | |
806 shrl $16,%eax | |
807 xorl 0x100(%ebp,%ebx,1),%esi | |
808 movb %ah,%bl | |
809 shrl $16,%edx | |
810 xorl 0x300(%ebp,%ecx,1),%esi | |
811 movb %dh,%cl | |
812 andl $0xff,%eax | |
813 andl $0xff,%edx | |
814 movl 0x600(%ebp,%ebx,1),%ebx | |
815 xorl %ebx,%esi | |
816 movl 0x700(%ebp,%ecx,1),%ebx | |
817 xorl %ebx,%esi | |
818 movl 0x400(%ebp,%eax,1),%ebx | |
819 xorl %ebx,%esi | |
820 movl 0x500(%ebp,%edx,1),%ebx | |
821 xorl %ebx,%esi | |
822 movl 32(%esp),%ebp | |
823 movl (%esp),%ebx | |
824 movl %edi,%eax | |
825 decl %ebx | |
826 movl %esi,%edi | |
827 movl %eax,%esi | |
828 movl %ebx,(%esp) | |
829 jnz L001start | |
830 | |
831 # FP | |
832 movl 28(%esp),%edx | |
833 rorl $1,%edi | |
834 movl %esi,%eax | |
835 xorl %edi,%esi | |
836 andl $0xaaaaaaaa,%esi | |
837 xorl %esi,%eax | |
838 xorl %esi,%edi | |
839 | |
840 roll $23,%eax | |
841 movl %eax,%esi | |
842 xorl %edi,%eax | |
843 andl $0x03fc03fc,%eax | |
844 xorl %eax,%esi | |
845 xorl %eax,%edi | |
846 | |
847 roll $10,%esi | |
848 movl %esi,%eax | |
849 xorl %edi,%esi | |
850 andl $0x33333333,%esi | |
851 xorl %esi,%eax | |
852 xorl %esi,%edi | |
853 | |
854 roll $18,%edi | |
855 movl %edi,%esi | |
856 xorl %eax,%edi | |
857 andl $0xfff0000f,%edi | |
858 xorl %edi,%esi | |
859 xorl %edi,%eax | |
860 | |
861 roll $12,%esi | |
862 movl %esi,%edi | |
863 xorl %eax,%esi | |
864 andl $0xf0f0f0f0,%esi | |
865 xorl %esi,%edi | |
866 xorl %esi,%eax | |
867 | |
868 rorl $4,%eax | |
869 movl %eax,(%edx) | |
870 movl %edi,4(%edx) | |
871 addl $8,%esp | |
872 popl %edi | |
873 popl %esi | |
874 popl %ebx | |
875 popl %ebp | |
876 ret | |
877 .section __IMPORT,__pointers,non_lazy_symbol_pointers | |
878 L_DES_SPtrans$non_lazy_ptr: | |
879 .indirect_symbol _DES_SPtrans | |
880 .long 0 | |
OLD | NEW |