Rating:

I reversed the binary and wrote every pass check conditions in python, I used Z3 to solve it. here is the [script](script.py)

Original writeup (https://github.com/soolidsnake/Write-ups/tree/master/HackLu_CTF/Rusted_from_the_rain).