Find The Secret Flag

Nice challenge. For me it was:
ltrace + patching + xor bruting = flag