Missed the easy way of setting `rax` by calling `alarm`, so a little example of overcomplicating an easy challenge :)
Though this might come in handy in situations, where `alarm` isn't available...
https://kileak.github.io/ctf/2017/inCTF-stupidrop/