PDA

View Full Version : Patcher Source for win32asm


SS2001
April 5th, 2001, 20:38
Hey I need help with writeing a win32asm patcher could you help me (I only coded the Hello World Thing, But I can Crack!)

Kayaker
April 5th, 2001, 23:19
Hi,

Check out Cogen II at www.suddendischarge.com, it will generate complete TASM source for a patcher which you can study. It Reads the file into memory to patch it.

If you want, you could also take a look at the patcher I wrote for my Regmon project, which is on the main tutorial site for this board. It Maps the file into memory instead and is written in MASM. It's just a simple DialogBox which when the button is pressed Maps the file and patches the required bytes. I could send you the source if you *really* want, but I think you'd learn a lot more by studying the disassembly of it and implementing your own version. The actual patch routine is about 12 lines long total. It's packed with UPX just to keep the file size down, so if you have a problem with unpacking it I could send you the unpacked version if you are interested in studying it further. As for the DialogBox itself, take a look at tutorials 10 and 11 in the unquestionably excellent Iczelion ASM tut series.

There's plenty of patchers at the Tools sites, some of them may have source or you could study their compiled output as well. Let me know if you need any more help.

Regards,
Kayaker

Latigo
April 6th, 2001, 11:09
Hi there. i got some sources in www.latigo.cjb.net
Check them!
Bye!

Latigo