Decode a Javascript Protection Script which is used to protect a website from connecting from Bot. Please explain the flow of the javascript inside, and rewrite the javascript into Cocoa (Objective C) for me to decode without running the javascript (Faster speed in Cocoa).
Sample of the Javascript decode is attached.