Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Decompiled by AS3 Sorcerer 2.72
- // http://www.as3sorcerer.com/
- //HumanCheck
- package
- {
- import flash.display.Sprite;
- import flash.utils.getDefinitionByName;
- import flash.utils.ByteArray;
- import flash.system.ApplicationDomain;
- public class HumanCheck extends Sprite
- {
- public function HumanCheck()
- {
- var _local_15:*;
- if (!_local_16){
- super();
- };
- var _local_1:Object = getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302800));
- var _local_2:Class = (getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302796)) as Class);
- var _local_3:Object = getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302799));
- var _local_4:Object = (getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302785)) as Class);
- var _local_5:Class = (getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302793)) as Class);
- var _local_6:Object = getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302795));
- var _local_7:* = new ByteArray();
- _local_7.writeByte(-115);
- _local_7.writeByte(-42);
- _local_7.writeByte(4);
- _local_7.writeByte(67);
- if (!_local_17){
- _local_7.writeByte(74);
- if (!_local_16){
- _local_7.writeByte(-74);
- if (!_local_16){
- _local_7.writeByte(116);
- };
- _local_7.writeByte(8);
- _local_7.writeByte(-34);
- if (!!(_local_16)) goto _label_1;
- _local_7.writeByte(-87);
- _local_7.writeByte(85);
- };
- _local_7.writeByte(119);
- };
- _label_1:
- _local_7.writeByte(-30);
- if (!_local_16){
- _local_7.writeByte(20);
- if (!!(_local_17)) goto _label_2;
- };
- _local_7.writeByte(-86);
- if (!(_local_17)){
- _local_7.writeByte(99);
- };
- _label_2:
- var _local_8:ByteArray = _local_4.decode(_SafeStr_2._SafeStr_7(-1820302797));
- var _local_9:uint = 2;
- if (!_local_17){
- if (!_local_16){
- //unresolved if
- //unresolved if
- //unresolved if
- };
- ApplicationDomain.currentDomain.hasDefinition("com.ankamagames.dofus.factories::RolePlayEntitiesFactory");
- if (!_local_16){
- if (!((_local_17) || (((ApplicationDomain.currentDomain.hasDefinition("flash.filesystem::FileStream")) && (((!(_local_16)) && (if (!!(_local_17)) goto _label_3;
- , ApplicationDomain.currentDomain.hasDefinition("Dofus")))))))) goto _label_4;
- };
- };
- _label_3:
- _local_15 = ApplicationDomain.currentDomain.getDefinition("Dofus");
- if (!_local_16){
- //unresolved if
- if (!!(_local_17)) goto _label_4;
- };
- _local_9 = ((!(_local_17)) && (if (!_local_16){
- //unresolved if
- //unresolved if
- //unresolved jump
- //unresolved if
- }, //unresolved if
- , (_local_9 * _local_9)));
- _label_4:
- var _local_10:uint;
- if (!_local_17){
- while (_local_10 < _local_7.length) {
- _local_7[_local_10] = (_local_7[_local_10] ^ (_local_8[(_local_10 % _local_8.length)] * _local_9));
- if (!_local_16){
- _local_10 = ((_local_16) || ((_local_10 + 1)));
- };
- };
- };
- var _local_11:* = new ByteArray();
- if (!_local_16){
- _local_11.writeUTF(_local_1.getInstance().gameServerTicket);
- if (!_local_16){
- _local_11.position = 0;
- };
- };
- var _local_12:* = new (_local_2)();
- var _local_13:* = _local_3.getCipher(_SafeStr_2._SafeStr_7(-1820302794), _local_7, _local_12);
- if (!_local_16){
- _local_12.setBlockSize(_local_13.getBlockSize());
- if (!_local_17){
- _local_13.encrypt(_local_11);
- };
- };
- var _local_14:* = new (_local_5)();
- if (!(_local_17)){
- _local_14.initChatClientPrivateMessage(_local_4.encode(_local_11), _SafeStr_2._SafeStr_7(-1820302798));
- if (!_local_16){
- _local_6.getConnection().send(_local_14);
- };
- };
- }
- }
- }//package
- // _SafeStr_2 = "_a_-_---" (String#14, DoABC#2)
- // _SafeStr_7 = "_a_--_--" (String#13, DoABC#2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement