It is a typical reverse engineering task where we have to get the password (that in this case is the flag). For this purpose I have used the tools, objdump and radare2, and Python to develop the solution. 
https://github.com/Sinkmanu/CTF/tree/master/TUCTF-2017-Unknown