Advertisement
Guest User

HumanCheck.as

a guest
Aug 1st, 2014
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Decompiled by AS3 Sorcerer 2.72
  2. // http://www.as3sorcerer.com/
  3.  
  4. //HumanCheck
  5.  
  6. package
  7. {
  8.     import flash.display.Sprite;
  9.     import flash.utils.getDefinitionByName;
  10.     import flash.utils.ByteArray;
  11.     import flash.system.ApplicationDomain;
  12.  
  13.     public class HumanCheck extends Sprite
  14.     {
  15.  
  16.         public function HumanCheck()
  17.         {
  18.             var _local_15:*;
  19.             if (!_local_16){
  20.                 super();
  21.             };
  22.             var _local_1:Object = getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302800));
  23.             var _local_2:Class = (getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302796)) as Class);
  24.             var _local_3:Object = getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302799));
  25.             var _local_4:Object = (getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302785)) as Class);
  26.             var _local_5:Class = (getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302793)) as Class);
  27.             var _local_6:Object = getDefinitionByName(_SafeStr_2._SafeStr_7(-1820302795));
  28.             var _local_7:* = new ByteArray();
  29.             _local_7.writeByte(-115);
  30.             _local_7.writeByte(-42);
  31.             _local_7.writeByte(4);
  32.             _local_7.writeByte(67);
  33.             if (!_local_17){
  34.                 _local_7.writeByte(74);
  35.                 if (!_local_16){
  36.                     _local_7.writeByte(-74);
  37.                     if (!_local_16){
  38.                         _local_7.writeByte(116);
  39.                     };
  40.                     _local_7.writeByte(8);
  41.                     _local_7.writeByte(-34);
  42.                     if (!!(_local_16)) goto _label_1;
  43.                     _local_7.writeByte(-87);
  44.                     _local_7.writeByte(85);
  45.                 };
  46.                 _local_7.writeByte(119);
  47.             };
  48.            
  49.         _label_1:
  50.             _local_7.writeByte(-30);
  51.             if (!_local_16){
  52.                 _local_7.writeByte(20);
  53.                 if (!!(_local_17)) goto _label_2;
  54.             };
  55.             _local_7.writeByte(-86);
  56.             if (!(_local_17)){
  57.                 _local_7.writeByte(99);
  58.             };
  59.            
  60.         _label_2:
  61.             var _local_8:ByteArray = _local_4.decode(_SafeStr_2._SafeStr_7(-1820302797));
  62.             var _local_9:uint = 2;
  63.             if (!_local_17){
  64.                 if (!_local_16){
  65.                     //unresolved if
  66.                     //unresolved if
  67.                     //unresolved if
  68.                 };
  69.                 ApplicationDomain.currentDomain.hasDefinition("com.ankamagames.dofus.factories::RolePlayEntitiesFactory");
  70.                 if (!_local_16){
  71.                     if (!((_local_17) || (((ApplicationDomain.currentDomain.hasDefinition("flash.filesystem::FileStream")) && (((!(_local_16)) && (if (!!(_local_17)) goto _label_3;
  72. , ApplicationDomain.currentDomain.hasDefinition("Dofus")))))))) goto _label_4;
  73.                 };
  74.             };
  75.            
  76.         _label_3:
  77.             _local_15 = ApplicationDomain.currentDomain.getDefinition("Dofus");
  78.             if (!_local_16){
  79.                 //unresolved if
  80.                 if (!!(_local_17)) goto _label_4;
  81.             };
  82.             _local_9 = ((!(_local_17)) && (if (!_local_16){
  83.                 //unresolved if
  84.                 //unresolved if
  85.                 //unresolved jump
  86.                 //unresolved if
  87.             }, //unresolved if
  88. , (_local_9 * _local_9)));
  89.            
  90.         _label_4:
  91.             var _local_10:uint;
  92.             if (!_local_17){
  93.                 while (_local_10 < _local_7.length) {
  94.                     _local_7[_local_10] = (_local_7[_local_10] ^ (_local_8[(_local_10 % _local_8.length)] * _local_9));
  95.                     if (!_local_16){
  96.                         _local_10 = ((_local_16) || ((_local_10 + 1)));
  97.                     };
  98.                 };
  99.             };
  100.             var _local_11:* = new ByteArray();
  101.             if (!_local_16){
  102.                 _local_11.writeUTF(_local_1.getInstance().gameServerTicket);
  103.                 if (!_local_16){
  104.                     _local_11.position = 0;
  105.                 };
  106.             };
  107.             var _local_12:* = new (_local_2)();
  108.             var _local_13:* = _local_3.getCipher(_SafeStr_2._SafeStr_7(-1820302794), _local_7, _local_12);
  109.             if (!_local_16){
  110.                 _local_12.setBlockSize(_local_13.getBlockSize());
  111.                 if (!_local_17){
  112.                     _local_13.encrypt(_local_11);
  113.                 };
  114.             };
  115.             var _local_14:* = new (_local_5)();
  116.             if (!(_local_17)){
  117.                 _local_14.initChatClientPrivateMessage(_local_4.encode(_local_11), _SafeStr_2._SafeStr_7(-1820302798));
  118.                 if (!_local_16){
  119.                     _local_6.getConnection().send(_local_14);
  120.                 };
  121.             };
  122.         }
  123.     }
  124. }//package
  125.  
  126. // _SafeStr_2 = "_a_-_---" (String#14, DoABC#2)
  127. // _SafeStr_7 = "_a_--_--" (String#13, DoABC#2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement