加密代码的编写

加密代码编写

网站建设哪家好,找创新互联建站!专注于网页设计、网站建设、微信开发、微信小程序定制开发、集团企业网站建设等服务项目。为回馈新老客户创新互联还提供了龙陵免费建站欢迎大家使用!

004A1E6F     50                             push eax
004A1E70     53                             push ebx
004A1E71     51                             push ecx
004A1E72     52                             push edx
004A1E73     54                             push esp
004A1E74     55                             push ebp
004A1E75     56                             push esi
004A1E76     57                             push edi
004A1E77     E8 00000000                    call Server.004A1E7C
004A1E7C     5D                             pop ebp
004A1E7D     81ED 7C1E4A00                  sub ebp,Server.004A1E7C
004A1E83     BB 00104000                    mov ebx,Server.00401000
004A1E88     03DD                           add ebx,ebp
004A1E8A     B9 00010000                    mov ecx,100
004A1E8F     8033 98                        xor byte ptr ds:[ebx],98
004A1E92     43                             inc ebx
004A1E93     49                             dec ecx
004A1E94   ^ 75 F9                          jnz short Server.004A1E8F
004A1E96     5F                             pop edi    
004A1E97     5E                             pop esi
004A1E98     5D                             pop ebp
004A1E99     5C                             pop esp
004A1E9A     5A                             pop edx
004A1E9B     59                             pop ecx
004A1E9C     5B                             pop ebx
004A1E9D     58                             pop eax

pk:

 

 

 

004A1E4A     60                             pushad
004A1E4B     E8 00000000                    call Server.004A1E50
004A1E50     5D                             pop ebp
004A1E51     81ED 501E4A00                  sub ebp,Server.004A1E50
004A1E57     BB 00104000                    mov ebx,Server.00401000       加密从00401000
004A1E5C     03DD                           add ebx,ebp
004A1E5E     B9 00010000                    mov ecx,100                   大小为100
004A1E63     8033 98                        xor byte ptr ds:[ebx],98
004A1E66     43                             inc ebx
004A1E67     49                             dec ecx
004A1E68   ^ 75 F9                          jnz short Server.004A1E63
004A1E6A     61                             popad
-------------------------------淫荡的分割线--------------------------------------------

双字加密i:

0049305B >  53              push    ebx                              
0049305C    51              push    ecx
0049305D    BB 00104000     mov     ebx, 00401000
00493062    B9 2CD10100     mov     ecx, 0x1D12C
00493067    8133 07090900   xor     dword ptr [ebx], 0x90907
0049306D    83C3 04         add     ebx, 0x4
00493070  ^ E2 F5           loopd   short 00493067
00493072    59              pop     ecx
00493073    5B              pop     ebx
00493074    E8 00000000     call    00493079
00493079    832C24 3E       sub     dword ptr [esp], 0x3E
0049307D    C3              retn


字加密部分:
0049303B    60              pushad                                   
0049303C    BB 00104000     mov     ebx, 00401000
00493041    B9 59A20300     mov     ecx, 0x3A259
00493046    66:8133 2301    xor     word ptr [ebx], 0x123
0049304B    83C3 02         add     ebx, 0x2
0049304E    49              dec     ecx
0049304F    75 F5           jnz     short 00493046
00493051    61              popad
00493052    90              nop
00493053    68 00304900     push    00493000                         
00493058    C3              retn


分享题目:加密代码的编写
文章转载:http://ybzwz.com/article/gspjjo.html