Listing (Reverse, Baby, 72 pts)

Author: Egor Zaytsev (@groke)

I’ve got an assembly listing of this check function: listing.asm

Help me find out valid input in [rdi]!