Full disclosure: this is the happy path, there were a lot of sad paths with this challenge and many hours spent pulling out my hair to get to the flag. Very cool challenge though!
The first obvious step is to get info on the binary itself, and running it to see what it does.
$ readelf -h ./x96