Rating:

The correct input can be found in strings. It is `s0oPer cool` or something like that. However, it takes too long to print the flag. To do that we just patch out all of the slow code with equivalent, but fast code.

Original writeup (https://github.com/perfectblue/ctf-writeups/tree/master/csaw-ctf-2018-finals/1nsayne).