2

I have a program which converts videos from a proprietary format into mp4. The conversion is very slow and CPU utilization is less than 1%. I'm able to speed up the conversion process via Cheat Engine's "Speed Hack" feature. This way, I can reach 100% CPU utilization, and the conversion is done within seconds. The resulting mp4 file looks fine. There are no issues. I'm assuming that the developers of the conversion tool forgot to remove a sleep() in their program. Is there an easy way to search for sleep via IDA-Free or Ghidra or Ollydbg? I want to overwrite the sleep with NOP.

1 Answer 1

1

Load your binary into IDA, after completing the initial analysis click on, imports, then press CTRL + F and type sleep, automatically IDA will reference the import (if used), from that you will need to list all cross references with "X", so it will locate the routines used for its sleep function, however taking into account, I do not believe that the developer has used something like sleep, it may be some thread not synchronized correctly, see also:

Understand how the Cheat Engine speed hack works:

How does CheatEngine's speed hack work?

Try to implement your own speed hack based on someone else's idea:

CE's Speed Hack in C++

Tips for cool projects:

  • Try to attach a process and apply it

Take the basic Guided Hacking training (It will help you a lot):

Guided Hacking Training

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.