View Single Post
Old 22-07-2011, 12:14 PM   #10
User Profile
Serial_Killer

 
Serial_Killer's Avatar
 
Join Date: Mon Jan 2011
Posts: 237

Cấp bậc: 14 [cin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1teamcin1team]
Sức sống: 0 / 334
Hoạt động: 79 / 7126
Kinh nghiệm: 39%


Thanks: 11
Thanked 723 Times in 232 Posts
Default

ok here the binary


as for the source, i dont think it could help:

Code:
GEN Proc uses edi esi ebx hwin:HWND


invoke Rand, 5, addr Part1
invoke SHA1, addr Part1, 5, addr Part2

bnCreateX BigN,BigE,BigC,BigM

invoke Hex2bn,SADD('10001'),BigE
invoke Hex2bn,SADD('6B20B27FD62FB106F2F42A4A5EE0E8F05DBCF00FA731DE756B'),BigN

invoke Hex2bn, addr Part2, BigM
invoke bnMontyModExp,BigM,BigE,BigN,BigC
invoke bn2Hex,BigC,addr Part2	
	
bnDestroyX

invoke wsprintf, addr Key, SADD('%s-%s'), addr Part1, addr Part2

invoke SetDlgItemText,hwin,IDC_SERIAL,ADDR Key
invoke RtlZeroMemory, addr Part1, sizeof Part1 * 3	

RET

GEN EndP
BR

Last edited by KhongBiet; 22-07-2011 at 01:22 PM. Reason: Put link into Quote tag
  Reply With Quote