一程序已追出注册码,其算法如下,1eb0dce中的esi即是注册码的hex值。请问怎么写注册机啊?不想用keymaker的内存注册机,因为如下代码是被调用的dll文件,内存地址是动态的,用c语言怎么写?谢谢!
01ED0B3F 55 push ebp
01ED0B40 8B5424 10 mov edx,dword ptr ss:[esp+10]
01ED0B44 8BEC mov ebp,esp
01ED0B46 56 push esi
01ED0B47 57 push edi
01ED0B48 8345 14 34 add dword ptr ss:[ebp+14],34
01ED0B4C 83FA 01 cmp edx,1
01ED0B4F 7D 05 jge short 01ED0B56
01ED0B51 BA 01000000 mov edx,1
01ED0B56 8B7D 0C mov edi,dword ptr ss:[ebp+C]
01ED0B59 8BCF mov ecx,edi
01ED0B5B 8BC7 mov eax,edi
01ED0B5D 81E1 00E00700 and ecx,7E000
01ED0B63 25 001F0000 and eax,1F00
01ED0B68 C1E9 0D shr ecx,0D
01ED0B6B C1E8 08 shr eax,8
01ED0B6E 81C1 BC070000 add ecx,7BC
01ED0B74 6BC9 44 imul ecx,ecx,44
01ED0B77 69C0 F3000000 imul eax,eax,0F3
01ED0B7D 03C8 add ecx,eax
01ED0B7F 8BC7 mov eax,edi
01ED0B81 25 00007800 and eax,780000
01ED0B86 C1E8 13 shr eax,13
01ED0B89 69C0 08010000 imul eax,eax,108
01ED0B8F 8D3401 lea esi,dword ptr ds:[ecx+eax]
01ED0B92 8BCF mov ecx,edi
01ED0B94 81E1 0000807F and ecx,7F800000
01ED0B9A 81E7 FF000000 and edi,0FF
01ED0BA0 C1E9 0F shr ecx,0F
01ED0BA3 8B45 14 mov eax,dword ptr ss:[ebp+14]
01ED0BA6 6BC0 07 imul eax,eax,7
01ED0BA9 03CF add ecx,edi
01ED0BAB 6BC9 03 imul ecx,ecx,3
01ED0BAE 03C8 add ecx,eax
01ED0BB0 B8 01000000 mov eax,1
01ED0BB5 8D0C51 lea ecx,dword ptr ds:[ecx+edx*2]
01ED0BB8 8BD6 mov edx,esi
01ED0BBA 6BD2 1F imul edx,edx,1F
01ED0BBD 03D1 add edx,ecx
01ED0BBF 8D0C75 00000000 lea ecx,dword ptr ds:[esi*2]
01ED0BC6 8BF2 mov esi,edx
01ED0BC8 81E6 FFFFFF7F and esi,7FFFFFFF
01ED0BCE 3B75 08 cmp esi,dword ptr ss:[ebp+8]
01ED0BD1 74 0A je short 01ED0BDD
01ED0BD3 03D1 add edx,ecx
01ED0BD5 40 inc eax
01ED0BD6 83F8 32 cmp eax,32
01ED0BD9 ^ 7E EB jle short 01ED0BC6
01ED0BDB 33C0 xor eax,eax
01ED0BDD 5F pop edi
01ED0BDE 5E pop esi
01ED0BDF 5D pop ebp
01ED0BE0 C2 1000 retn 10
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课