Can you defeat the evil genie?

Kinda reminds me of this thread game: