📄 fips-dx86-elf.s
字号:
.file "des-586.s" .version "01.01"gcc2_compiled.:.text .align 16.globl DES_encrypt1 .type DES_encrypt1,@functionDES_encrypt1: pushl %esi pushl %edi movl 12(%esp), %esi xorl %ecx, %ecx pushl %ebx pushl %ebp movl (%esi), %eax movl 28(%esp), %ebx movl 4(%esi), %edi roll $4, %eax movl %eax, %esi xorl %edi, %eax andl $0xf0f0f0f0, %eax xorl %eax, %esi xorl %eax, %edi roll $20, %edi movl %edi, %eax xorl %esi, %edi andl $0xfff0000f, %edi xorl %edi, %eax xorl %edi, %esi roll $14, %eax movl %eax, %edi xorl %esi, %eax andl $0x33333333, %eax xorl %eax, %edi xorl %eax, %esi roll $22, %esi movl %esi, %eax xorl %edi, %esi andl $0x03fc03fc, %esi xorl %esi, %eax xorl %esi, %edi roll $9, %eax movl %eax, %esi xorl %edi, %eax andl $0xaaaaaaaa, %eax xorl %eax, %esi xorl %eax, %edi.byte 209.byte 199 .align 8 call .L000PIC_me_up.L000PIC_me_up: popl %ebp addl $_GLOBAL_OFFSET_TABLE_+[.-.L000PIC_me_up],%ebp movl DES_SPtrans@GOT(%ebp),%ebp movl 24(%esp), %ecx cmpl $0, %ebx je .L001start_decrypt movl (%ecx), %eax xorl %ebx, %ebx movl 4(%ecx), %edx xorl %esi, %eax xorl %ecx, %ecx xorl %esi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%edi movb %dl, %bl xorl 0x200(%ebp,%ecx),%edi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%edi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%edi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%edi xorl 0x700(%ebp,%ecx),%edi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%edi xorl 0x500(%ebp,%edx),%edi movl 8(%ecx), %eax xorl %ebx, %ebx movl 12(%ecx), %edx xorl %edi, %eax xorl %ecx, %ecx xorl %edi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%esi movb %dl, %bl xorl 0x200(%ebp,%ecx),%esi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%esi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%esi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%esi xorl 0x700(%ebp,%ecx),%esi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%esi xorl 0x500(%ebp,%edx),%esi movl 16(%ecx), %eax xorl %ebx, %ebx movl 20(%ecx), %edx xorl %esi, %eax xorl %ecx, %ecx xorl %esi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%edi movb %dl, %bl xorl 0x200(%ebp,%ecx),%edi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%edi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%edi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%edi xorl 0x700(%ebp,%ecx),%edi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%edi xorl 0x500(%ebp,%edx),%edi movl 24(%ecx), %eax xorl %ebx, %ebx movl 28(%ecx), %edx xorl %edi, %eax xorl %ecx, %ecx xorl %edi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%esi movb %dl, %bl xorl 0x200(%ebp,%ecx),%esi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%esi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%esi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%esi xorl 0x700(%ebp,%ecx),%esi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%esi xorl 0x500(%ebp,%edx),%esi movl 32(%ecx), %eax xorl %ebx, %ebx movl 36(%ecx), %edx xorl %esi, %eax xorl %ecx, %ecx xorl %esi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%edi movb %dl, %bl xorl 0x200(%ebp,%ecx),%edi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%edi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%edi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%edi xorl 0x700(%ebp,%ecx),%edi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%edi xorl 0x500(%ebp,%edx),%edi movl 40(%ecx), %eax xorl %ebx, %ebx movl 44(%ecx), %edx xorl %edi, %eax xorl %ecx, %ecx xorl %edi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%esi movb %dl, %bl xorl 0x200(%ebp,%ecx),%esi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%esi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%esi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%esi xorl 0x700(%ebp,%ecx),%esi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%esi xorl 0x500(%ebp,%edx),%esi movl 48(%ecx), %eax xorl %ebx, %ebx movl 52(%ecx), %edx xorl %esi, %eax xorl %ecx, %ecx xorl %esi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%edi movb %dl, %bl xorl 0x200(%ebp,%ecx),%edi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%edi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%edi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%edi xorl 0x700(%ebp,%ecx),%edi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%edi xorl 0x500(%ebp,%edx),%edi movl 56(%ecx), %eax xorl %ebx, %ebx movl 60(%ecx), %edx xorl %edi, %eax xorl %ecx, %ecx xorl %edi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%esi movb %dl, %bl xorl 0x200(%ebp,%ecx),%esi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%esi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%esi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%esi xorl 0x700(%ebp,%ecx),%esi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%esi xorl 0x500(%ebp,%edx),%esi movl 64(%ecx), %eax xorl %ebx, %ebx movl 68(%ecx), %edx xorl %esi, %eax xorl %ecx, %ecx xorl %esi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%edi movb %dl, %bl xorl 0x200(%ebp,%ecx),%edi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%edi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%edi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%edi xorl 0x700(%ebp,%ecx),%edi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%edi xorl 0x500(%ebp,%edx),%edi movl 72(%ecx), %eax xorl %ebx, %ebx movl 76(%ecx), %edx xorl %edi, %eax xorl %ecx, %ecx xorl %edi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%esi movb %dl, %bl xorl 0x200(%ebp,%ecx),%esi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%esi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%esi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%esi xorl 0x700(%ebp,%ecx),%esi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%esi xorl 0x500(%ebp,%edx),%esi movl 80(%ecx), %eax xorl %ebx, %ebx movl 84(%ecx), %edx xorl %esi, %eax xorl %ecx, %ecx xorl %esi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%edi movb %dl, %bl xorl 0x200(%ebp,%ecx),%edi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%edi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%edi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%edi xorl 0x700(%ebp,%ecx),%edi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%edi xorl 0x500(%ebp,%edx),%edi movl 88(%ecx), %eax xorl %ebx, %ebx movl 92(%ecx), %edx xorl %edi, %eax xorl %ecx, %ecx xorl %edi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%esi movb %dl, %bl xorl 0x200(%ebp,%ecx),%esi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%esi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%esi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%esi xorl 0x700(%ebp,%ecx),%esi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%esi xorl 0x500(%ebp,%edx),%esi movl 96(%ecx), %eax xorl %ebx, %ebx movl 100(%ecx), %edx xorl %esi, %eax xorl %ecx, %ecx xorl %esi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%edi movb %dl, %bl xorl 0x200(%ebp,%ecx),%edi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%edi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%edi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%edi xorl 0x700(%ebp,%ecx),%edi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%edi xorl 0x500(%ebp,%edx),%edi movl 104(%ecx), %eax xorl %ebx, %ebx movl 108(%ecx), %edx xorl %edi, %eax xorl %ecx, %ecx xorl %edi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%esi movb %dl, %bl xorl 0x200(%ebp,%ecx),%esi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%esi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%esi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%esi xorl 0x700(%ebp,%ecx),%esi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%esi xorl 0x500(%ebp,%edx),%esi movl 112(%ecx), %eax xorl %ebx, %ebx movl 116(%ecx), %edx xorl %esi, %eax xorl %ecx, %ecx xorl %esi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%edi movb %dl, %bl xorl 0x200(%ebp,%ecx),%edi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%edi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%edi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%edi xorl 0x700(%ebp,%ecx),%edi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%edi xorl 0x500(%ebp,%edx),%edi movl 120(%ecx), %eax xorl %ebx, %ebx movl 124(%ecx), %edx xorl %edi, %eax xorl %ecx, %ecx xorl %edi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%esi movb %dl, %bl xorl 0x200(%ebp,%ecx),%esi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%esi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%esi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%esi xorl 0x700(%ebp,%ecx),%esi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%esi xorl 0x500(%ebp,%edx),%esi jmp .L002end.L001start_decrypt: movl 120(%ecx), %eax xorl %ebx, %ebx movl 124(%ecx), %edx xorl %esi, %eax xorl %ecx, %ecx xorl %esi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%edi movb %dl, %bl xorl 0x200(%ebp,%ecx),%edi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%edi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%edi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%edi xorl 0x700(%ebp,%ecx),%edi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%edi xorl 0x500(%ebp,%edx),%edi movl 112(%ecx), %eax xorl %ebx, %ebx movl 116(%ecx), %edx xorl %edi, %eax xorl %ecx, %ecx xorl %edi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%esi movb %dl, %bl xorl 0x200(%ebp,%ecx),%esi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%esi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%esi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%esi xorl 0x700(%ebp,%ecx),%esi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%esi xorl 0x500(%ebp,%edx),%esi movl 104(%ecx), %eax xorl %ebx, %ebx movl 108(%ecx), %edx xorl %esi, %eax xorl %ecx, %ecx xorl %esi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%edi movb %dl, %bl xorl 0x200(%ebp,%ecx),%edi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%edi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%edi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%edi xorl 0x700(%ebp,%ecx),%edi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%edi xorl 0x500(%ebp,%edx),%edi movl 96(%ecx), %eax xorl %ebx, %ebx movl 100(%ecx), %edx xorl %edi, %eax xorl %ecx, %ecx xorl %edi, %edx andl $0xfcfcfcfc, %eax andl $0xcfcfcfcf, %edx movb %al, %bl movb %ah, %cl rorl $4, %edx xorl (%ebp,%ebx),%esi movb %dl, %bl xorl 0x200(%ebp,%ecx),%esi movb %dh, %cl shrl $16, %eax xorl 0x100(%ebp,%ebx),%esi movb %ah, %bl shrl $16, %edx xorl 0x300(%ebp,%ecx),%esi movb %dh, %cl andl $0xff, %eax andl $0xff, %edx xorl 0x600(%ebp,%ebx),%esi xorl 0x700(%ebp,%ecx),%esi movl 24(%esp), %ecx xorl 0x400(%ebp,%eax),%esi xorl 0x500(%ebp,%edx),%esi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -