3 bytes to crack a small game

Source: Internet
Author: User

In one breath, I downloaded several small programs from the sky download network to practice algorithm cracking.

Due to copyright issues, I often practice foreign software. I caught a very simple algorithm and had no interest in it. I just wanted to try to crack it in the shortest time.

This is called PegIt 1.1.9 very simple: http://www.skycn.com/soft/35366.html

Before cracking:

After cracking:


You only need to modify three Bytes:

0040C000/$8A81 79070000 mov al, byte ptr ds: [ecx + 0x779]
0040C006 \. C3 retn

To:

0040C000 B0 01 mov al, 0x1
0040C002 C3 retn
0040C003 90 nop
0040C004 90 nop
0040C005 90 nop
0040C006 \. C3 retn

That is, assign the value of al to 1. In fact, you only need to modify the first three bytes, 8A 81 79 to B0 01 C3.

It takes about 2 minutes to complete the process. It is intended to update the space.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.