首页
社区
课程
招聘
[求助]各位大侠,帮忙看看
2009-12-30 22:30 5305

[求助]各位大侠,帮忙看看

2009-12-30 22:30
5305
TEA 加密算法?

.text:1003F8B0 ; Attributes: bp-based frame fpd=61C88653h
.text:1003F8B0
.text:1003F8B0 sub_1003F8B0    proc near               ; CODE XREF: sub_1003F930+22p
.text:1003F8B0
.text:1003F8B0 var_61C88640    = dword ptr -61C88640h
.text:1003F8B0 var_61C8863B    = dword ptr -61C8863Bh
.text:1003F8B0
.text:1003F8B0                 mov     eax, [esp-10h+var_61C88640+1]
.text:1003F8B4                 push    ebx
.text:1003F8B5                 push    esi
.text:1003F8B6                 mov     edx, 0C6EF3720h
.text:1003F8BB                 push    edi
.text:1003F8BC                 mov     esi, [eax]
.text:1003F8BE                 push    ebp
.text:1003F8BF                 mov     edi, [eax+4]
.text:1003F8C2                 mov     ebx, 1Fh
.text:1003F8C7                 mov     ecx, [esp+var_61C8863B]
.text:1003F8CB
.text:1003F8CB loc_1003F8CB:                           ; CODE XREF: sub_1003F8B0+5Fj
.text:1003F8CB                 mov     eax, esi
.text:1003F8CD                 mov     ebp, esi
.text:1003F8CF                 shl     eax, 4
.text:1003F8D2                 add     edx, 61C88647h
.text:1003F8D8                 shr     ebp, 5
.text:1003F8DB                 add     eax, [ecx+8]
.text:1003F8DE                 add     ebp, [ecx+0Ch]
.text:1003F8E1                 xor     eax, ebp
.text:1003F8E3                 lea     ebp, [esi+edx-61C88647h]
.text:1003F8EA                 xor     eax, ebp
.text:1003F8EC                 sub     edi, eax
.text:1003F8EE                 mov     ebp, edi
.text:1003F8F0                 mov     eax, edi
.text:1003F8F2                 shl     ebp, 4
.text:1003F8F5                 shr     eax, 5
.text:1003F8F8                 add     ebp, [ecx]
.text:1003F8FA                 add     eax, [ecx+4]
.text:1003F8FD                 xor     ebp, eax
.text:1003F8FF                 lea     eax, [edi+edx-61C88647h]
.text:1003F906                 xor     ebp, eax
.text:1003F908                 mov     eax, ebx
.text:1003F90A                 sub     esi, ebp
.text:1003F90C                 dec     ebx
.text:1003F90D                 test    eax, eax
.text:1003F90F                 jnz     short loc_1003F8CB
.text:1003F911                 mov     eax, [esp+var_61C88640+1]
.text:1003F915                 pop     ebp
.text:1003F916                 mov     [eax], esi
.text:1003F918                 mov     [eax+4], edi
.text:1003F91B                 pop     edi
.text:1003F91C                 pop     esi
.text:1003F91D                 pop     ebx
.text:1003F91E                 retn    8
.text:1003F91E sub_1003F8B0    endp

[培训]内核驱动高级班,冲击BAT一流互联网大厂工 作,每周日13:00-18:00直播授课

收藏
点赞0
打赏
分享
最新回复 (4)
雪    币: 1022
活跃值: (31)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
lingyu 1 2009-12-31 11:19
2
0
极有可能,看下能不能找到常量9e3779b9h
雪    币: 2
活跃值: (187)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
alexone 2009-12-31 11:35
3
0
Hi  我用CRYPT TOOL 检查得到的结果是:Offset 3F8E6 : TEA or ExTEA encryption
Offset 3F8B7 : TEA or ExTea decryption,但是没有找到9e3779b9h
雪    币: 1022
活跃值: (31)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
lingyu 1 2009-12-31 12:16
4
0
有可能是变种,不过你跟下或看下它返回的数据就知道了~
雪    币:
能力值: (RANK: )
在线值:
发帖
回帖
粉丝
游客 2010-1-4 22:02
5
0
3F8B6: 0C6EF3720h = -3910C8E0h
3F8E3: -61C88647h = 9E3779B9h
游客
登录 | 注册 方可回帖
返回