I opened a 32-bit program with x32dbg, I wrote something on a text box like this :

enter image description here

How can I find the piece of code that manipulates the string "Goku" ? I searched all string references but I didn't found it.

  • Really, do you want to crack the program or you just want to search for the string? I think this might be a kind of XY problem
    – raspiduino
    Jul 1, 2022 at 13:06

1 Answer 1


You're probably better off looking for the message you get after you press enter. You'll have to find references to that string, then work backwards a little. Usually the "badboy" string will be almost immediately after the license check.

if (check_code() == 'valid')
  • they display the "about" dialog if you enter a bad value and the software closes.
    – Aminos
    Jul 29, 2022 at 8:42
  • Ok... so find all the calls to the About box, there will probably only be 2.. one when it's selected in the menu, and one when you enter a bad code. Jul 29, 2022 at 12:50

Your Answer

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

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