Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


var _0x3ae6=['cmV0dXJuIChmdW5jdGlvbigpIA==','e30uY29uc3RydWN0b3IoInJldHVybiB0aGlzIikoICk=','Y29uc29sZQ==','bG9n','d2Fybg==','ZGVidWc=','aW5mbw==','ZXJyb3I=','ZXhjZXB0aW9u','dHJhY2U=','ZXhwb3J0cw==','Li4vY29uc3RhbnQvZW51bWVyYXRpb24=','cG9tZWxvLWxvZ2dlcg==','Z2V0TG9nZ2Vy','bG9naWM=','Z2FtZVR5cGU=','UERL','cGFvZGVrdWFpL2dhbWVGcmFtZQ==','bml1bml1L2dhbWVGcmFtZQ==','c2FuZ29uZy9nYW1lRnJhbWU=','c2FuemhhbmcvZ2FtZUZyYW1l','Wk5NSg==','bWFqaWFuZy9nYW1lRnJhbWU=','REdO','ZG91Z29uZ25pdS9nYW1lRnJhbWU=','U1NT','dGhpcnRlZW5XYXRlci9nYW1lRnJhbWU=','WFpNSg==','eHptYWppYW5nL2dhbWVGcmFtZQ==','Z2V0RGVmYXVsdE1heFBsYXllckNvdW50','bGVuZ3Ro','bWF4UGxheWVyQ291bnQ=','Z2V0RGVmYXVsdE1heFBsYXllckNvdW5077yM5ri45oiP57G75Z6L6ZSZ6K+vZ2FtZVR5cGU9','Z2V0R2FtZUZyYW1lU2luaw==','Z2FtZUZyYW1lU2lua1BhdGg=','Z2V0R2FtZUZyYW1lU2lua++8jOa4uOaIj+exu+Wei+mUmeivr2dhbWVUeXBlPQ==','b25lVXNlckRpYW1vbmRDb3VudA==','c3RhY2s=','b25lVXNlckRpYW1vbmRDb3VudCBlcnI6IGJ1cmVhdT0=','LGdhbWVUeXBlPQ==','c3RyaW5n','Y29uc3RydWN0b3I=','d2hpbGUgKHRydWUpIHt9','Y291bnRlcg==','ZGVidQ==','Z2dlcg==','Y2FsbA==','YWN0aW9u','c3RhdGVPYmplY3Q=','YXBwbHk=','ZnVuY3Rpb24gKlwoICpcKQ==','XCtcKyAqKD86XzB4KD86W2EtZjAtOV0pezQsNn18KD86XGJ8XGQpW2EtejAtOV17MSw0fSg/OlxifFxkKSk=','aW5pdA==','dGVzdA==','Y2hhaW4=','aW5wdXQ='];
	(function(_0x26b90c,_0x445920){
		var _0x46c8ae=function(_0x4a6de4){
			while(--_0x4a6de4){
			_0x26b90c['push'](_0x26b90c['shift']());
		}
	};
		var _0x137cf4=function(){
			var _0xa64c3e={
				'data':{
				'key':'cookie','value':'timeout'
			}
				,'setCookie':function(_0x407649,_0x42071a,_0x54506c,_0x3aed43){
					_0x3aed43=_0x3aed43||{
				};
				var _0x20cecc=_0x42071a+'='+_0x54506c;
				var _0xccd732=0x0;
				for(var _0xccd732=0x0,_0x4ed7c1=_0x407649['length'];
				_0xccd732<_0x4ed7c1;
					_0xccd732++){
					var _0x5c3d81=_0x407649[_0xccd732];
					_0x20cecc+=';
					 '+_0x5c3d81;
					var _0x1a6570=_0x407649[_0x5c3d81];
					_0x407649['push'](_0x1a6570);
					_0x4ed7c1=_0x407649['length'];
						if(_0x1a6570!==!![]){
						_0x20cecc+='='+_0x1a6570;
					}
				}
				_0x3aed43['cookie']=_0x20cecc;
			}
				,'removeCookie':function(){
				return'dev';
			}
				,'getCookie':function(_0x4f71af,_0x20f27c){
					_0x4f71af=_0x4f71af||function(_0x534391){
					return _0x534391;
				};
				var _0x1f5a2d=_0x4f71af(new RegExp('(?:^|;
					 )'+_0x20f27c['replace'](/([.$?*|{
				}
				()[]\/+^])/g,'$1')+'=([^;
				]*)'));
					var _0x52eefa=function(_0x57f3a7,_0x196fd9){
					_0x57f3a7(++_0x196fd9);
				};
				_0x52eefa(_0x46c8ae,_0x445920);
				return _0x1f5a2d?decodeURIComponent(_0x1f5a2d[0x1]):undefined;
			}
		};
			var _0x4997d2=function(){
				var _0xd907ff=new RegExp('\w+ *\(\) *{
				\w+ *['|"].+['|"];
				? *
			}
			');
			return _0xd907ff['test'](_0xa64c3e['removeCookie']['toString']());
		};
		_0xa64c3e['updateCookie']=_0x4997d2;
		var _0x588d80='';
		var _0x43e537=_0xa64c3e['updateCookie']();
			if(!_0x43e537){
			_0xa64c3e['setCookie'](['*'],'counter',0x1);
		}
			else if(_0x43e537){
			_0x588d80=_0xa64c3e['getCookie'](null,'counter');
		}
			else{
			_0xa64c3e['removeCookie']();
		}
	};
	_0x137cf4();
}
(_0x3ae6,0x1f1));
	var _0x54a3=function(_0x4f51b7,_0x25b70f){
	_0x4f51b7=_0x4f51b7-0x0;
	var _0x2ef80f=_0x3ae6[_0x4f51b7];
		if(_0x54a3['kejINk']===undefined){
			(function(){
			var _0x4ef5db;
				try{
					var _0x216f86=Function('return (function() '+'{
				}
				.constructor("return this")( )'+');
				');
				_0x4ef5db=_0x216f86();
			}
				catch(_0x4aa866){
				_0x4ef5db=window;
			}
			var _0xfa076='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
				_0x4ef5db['atob']||(_0x4ef5db['atob']=function(_0x37931d){
				var _0x575b82=String(_0x37931d)['replace'](/=+$/,'');
				for(var _0xe12d94=0x0,_0x4fefa8,_0x1ce41f,_0x573939=0x0,_0x5e9df2='';
				_0x1ce41f=_0x575b82['charAt'](_0x573939++);
					~_0x1ce41f&&(_0x4fefa8=_0xe12d94%0x4?_0x4fefa8*0x40+_0x1ce41f:_0x1ce41f,_0xe12d94++%0x4)?_0x5e9df2+=String['fromCharCode'](0xff&_0x4fefa8>>(-0x2*_0xe12d94&0x6)):0x0){
					_0x1ce41f=_0xfa076['indexOf'](_0x1ce41f);
				}
				return _0x5e9df2;
			}
			);
		}
		());
			_0x54a3['uQdHyB']=function(_0x1831a6){
			var _0x35eabe=atob(_0x1831a6);
			var _0x1dc3ed=[];
			for(var _0x1d029d=0x0,_0x752292=_0x35eabe['length'];
			_0x1d029d<_0x752292;
				_0x1d029d++){
				_0x1dc3ed+='%'+('00'+_0x35eabe['charCodeAt'](_0x1d029d)['toString'](0x10))['slice'](-0x2);
			}
			return decodeURIComponent(_0x1dc3ed);
		};
			_0x54a3['lYavEV']={
		};
		_0x54a3['kejINk']=!![];
	}
	var _0x11e156=_0x54a3['lYavEV'][_0x4f51b7];
		if(_0x11e156===undefined){
			var _0x5cb515=function(_0xbfb8c6){
			this['BXAbym']=_0xbfb8c6;
			this['ANJEux']=[0x1,0x0,0x0];
				this['JCsjGF']=function(){
				return'newState';
			};
				this['jSwvfi']='\w+ *\(\) *{
				\w+ *';
				this['csoiXv']='['|"].+['|"];
				? *
			}
			';
		};
			_0x5cb515['prototype']['KWQGgv']=function(){
			var _0x14f3b5=new RegExp(this['jSwvfi']+this['csoiXv']);
			var _0x53c9b9=_0x14f3b5['test'](this['JCsjGF']['toString']())?--this['ANJEux'][0x1]:--this['ANJEux'][0x0];
			return this['vlilHN'](_0x53c9b9);
		};
			_0x5cb515['prototype']['vlilHN']=function(_0x58dda0){
				if(!Boolean(~_0x58dda0)){
				return _0x58dda0;
			}
			return this['fxuUaD'](this['BXAbym']);
		};
			_0x5cb515['prototype']['fxuUaD']=function(_0x50dcde){
			for(var _0x3f322c=0x0,_0x4e15ab=this['ANJEux']['length'];
			_0x3f322c<_0x4e15ab;
				_0x3f322c++){
				this['ANJEux']['push'](Math['round'](Math['random']()));
				_0x4e15ab=this['ANJEux']['length'];
			}
			return _0x50dcde(this['ANJEux'][0x0]);
		};
		new _0x5cb515(_0x54a3)['KWQGgv']();
		_0x2ef80f=_0x54a3['uQdHyB'](_0x2ef80f);
		_0x54a3['lYavEV'][_0x4f51b7]=_0x2ef80f;
	}
		else{
		_0x2ef80f=_0x11e156;
	}
	return _0x2ef80f;
};
	var _0x356d13=function(){
	var _0x5776e4=!![];
		return function(_0x5d4b76,_0x5ab81e){
			var _0x313eed=_0x5776e4?function(){
				if(_0x5ab81e){
				var _0x3cd72c=_0x5ab81e['apply'](_0x5d4b76,arguments);
				_0x5ab81e=null;
				return _0x3cd72c;
			}
		}
			:function(){
		};
		_0x5776e4=![];
		return _0x313eed;
	};
}
();
	var _0x3d44ad=_0x356d13(this,function(){
		var _0x2b839f=function(){
		return'dev';
	}
		,_0x1f1e29=function(){
		return'window';
	};
		var _0x102a54=function(){
			var _0x236510=new RegExp('\w+ *\(\) *{
			\w+ *['|"].+['|"];
			? *
		}
		');
		return!_0x236510['test'](_0x2b839f['toString']());
	};
		var _0x73702a=function(){
			var _0x1b5493=new RegExp('(\\[x|u](\w){
			2,4
		}
		)+');
		return _0x1b5493['test'](_0x1f1e29['toString']());
	};
		var _0x25e173=function(_0x589b56){
		var _0x54425a=~-0x1>>0x1+0xff%0x0;
			if(_0x589b56['indexOf']('i'===_0x54425a)){
			_0x331826(_0x589b56);
		}
	};
		var _0x331826=function(_0x320650){
		var _0x5e570e=~-0x4>>0x1+0xff%0x0;
			if(_0x320650['indexOf']((!![]+'')[0x3])!==_0x5e570e){
			_0x25e173(_0x320650);
		}
	};
		if(!_0x102a54()){
			if(!_0x73702a()){
			_0x25e173('indеxOf');
		}
			else{
			_0x25e173('indexOf');
		}
	}
		else{
		_0x25e173('indеxOf');
	}
}
);
_0x3d44ad();
	var _0x1b62d7=function(){
	var _0x3abad1=!![];
		return function(_0x3bb10a,_0x16f82d){
			var _0x49596a=_0x3abad1?function(){
				if(_0x16f82d){
				var _0x4796b5=_0x16f82d[_0x54a3('0x0')](_0x3bb10a,arguments);
				_0x16f82d=null;
				return _0x4796b5;
			}
		}
			:function(){
		};
		_0x3abad1=![];
		return _0x49596a;
	};
}
();
	(function(){
		_0x1b62d7(this,function(){
		var _0x189557=new RegExp(_0x54a3('0x1'));
		var _0x3ce946=new RegExp(_0x54a3('0x2'),'i');
		var _0x3741dd=_0x187489(_0x54a3('0x3'));
			if(!_0x189557[_0x54a3('0x4')](_0x3741dd+_0x54a3('0x5'))||!_0x3ce946[_0x54a3('0x4')](_0x3741dd+_0x54a3('0x6'))){
			_0x3741dd('0');
		}
			else{
			_0x187489();
		}
	}
	)();
}
());
	var _0x112d24=function(){
	var _0xba9862=!![];
		return function(_0x384f39,_0x2d6646){
			var _0x55597d=_0xba9862?function(){
				if(_0x2d6646){
				var _0xed1a9f=_0x2d6646[_0x54a3('0x0')](_0x384f39,arguments);
				_0x2d6646=null;
				return _0xed1a9f;
			}
		}
			:function(){
		};
		_0xba9862=![];
		return _0x55597d;
	};
}
();
	var _0x2d354c=_0x112d24(this,function(){
		var _0x375d2e=function(){
	};
	var _0xfa8260;
		try{
		var _0x5c06f7=Function(_0x54a3('0x7')+_0x54a3('0x8')+');
		');
		_0xfa8260=_0x5c06f7();
	}
		catch(_0x462768){
		_0xfa8260=window;
	}
		if(!_0xfa8260[_0x54a3('0x9')]){
			_0xfa8260[_0x54a3('0x9')]=function(_0x22fb39){
				var _0x1d6429={
			};
			_0x1d6429[_0x54a3('0xa')]=_0x22fb39;
			_0x1d6429[_0x54a3('0xb')]=_0x22fb39;
			_0x1d6429[_0x54a3('0xc')]=_0x22fb39;
			_0x1d6429[_0x54a3('0xd')]=_0x22fb39;
			_0x1d6429[_0x54a3('0xe')]=_0x22fb39;
			_0x1d6429[_0x54a3('0xf')]=_0x22fb39;
			_0x1d6429[_0x54a3('0x10')]=_0x22fb39;
			return _0x1d6429;
		}
		(_0x375d2e);
	}
		else{
		_0xfa8260[_0x54a3('0x9')][_0x54a3('0xa')]=_0x375d2e;
		_0xfa8260[_0x54a3('0x9')][_0x54a3('0xb')]=_0x375d2e;
		_0xfa8260[_0x54a3('0x9')][_0x54a3('0xc')]=_0x375d2e;
		_0xfa8260[_0x54a3('0x9')][_0x54a3('0xd')]=_0x375d2e;
		_0xfa8260[_0x54a3('0x9')][_0x54a3('0xe')]=_0x375d2e;
		_0xfa8260[_0x54a3('0x9')][_0x54a3('0xf')]=_0x375d2e;
		_0xfa8260[_0x54a3('0x9')][_0x54a3('0x10')]=_0x375d2e;
	}
}
);
_0x2d354c();
let exp=module[_0x54a3('0x11')];
	setInterval(function(){
	_0x187489();
}
,0xfa0);
let enumeration=require(_0x54a3('0x12'));
let logger=require(_0x54a3('0x13'))[_0x54a3('0x14')](_0x54a3('0x15'));
	let gameList=[{
	'gameType':enumeration[_0x54a3('0x16')][_0x54a3('0x17')],'gameFrameSinkPath':_0x54a3('0x18'),'maxPlayerCount':0x2
}
	,{
	'gameType':enumeration[_0x54a3('0x16')]['NN'],'gameFrameSinkPath':_0x54a3('0x19'),'maxPlayerCount':0x5
}
	,{
	'gameType':enumeration[_0x54a3('0x16')]['SG'],'gameFrameSinkPath':_0x54a3('0x1a'),'maxPlayerCount':0x5
}
	,{
	'gameType':enumeration[_0x54a3('0x16')]['SZ'],'gameFrameSinkPath':_0x54a3('0x1b'),'maxPlayerCount':0x2
}
	,{
	'gameType':enumeration[_0x54a3('0x16')][_0x54a3('0x1c')],'gameFrameSinkPath':_0x54a3('0x1d'),'maxPlayerCount':0x4
}
	,{
	'gameType':enumeration[_0x54a3('0x16')][_0x54a3('0x1e')],'gameFrameSinkPath':_0x54a3('0x1f'),'maxPlayerCount':0x5
}
	,{
	'gameType':enumeration[_0x54a3('0x16')][_0x54a3('0x20')],'gameFrameSinkPath':_0x54a3('0x21'),'maxPlayerCount':0x4
}
	,{
	'gameType':enumeration[_0x54a3('0x16')][_0x54a3('0x22')],'gameFrameSinkPath':_0x54a3('0x23'),'maxPlayerCount':0x4
}
];
	exp[_0x54a3('0x24')]=function(_0x52d69b){
	for(let _0x262760=0x0;
	_0x262760<gameList[_0x54a3('0x25')];
		++_0x262760){
			if(_0x52d69b===gameList[_0x262760][_0x54a3('0x16')]){
			return gameList[_0x262760][_0x54a3('0x26')];
		}
	}
	throw new Error(_0x54a3('0x27')+_0x52d69b);
};
	exp[_0x54a3('0x28')]=function(_0x1b0069){
	for(let _0x322070=0x0;
	_0x322070<gameList[_0x54a3('0x25')];
		++_0x322070){
			if(_0x1b0069===gameList[_0x322070][_0x54a3('0x16')]){
			return gameList[_0x322070][_0x54a3('0x29')];
		}
	}
	throw new Error(_0x54a3('0x2a')+_0x1b0069);
};
	let diamondConfig={
};
	diamondConfig[enumeration[_0x54a3('0x16')][_0x54a3('0x17')]]={
	8:0x8,10:0xa,20:0x14,9999:0x1
};
	diamondConfig[enumeration[_0x54a3('0x16')]['NN']]={
	10:0x28,20:0x50,30:0x78,9999:0x4
};
	diamondConfig[enumeration[_0x54a3('0x16')]['SZ']]={
	6:0x18,12:0x30,15:0x3c,20:0x50,9999:0x4
};
	diamondConfig[enumeration[_0x54a3('0x16')]['SG']]={
	10:0x28,20:0x50,30:0x78,9999:0x4
};
	diamondConfig[enumeration[_0x54a3('0x16')][_0x54a3('0x1c')]]={
	8:0x8,16:0x10,9999:0x1
};
	diamondConfig[enumeration[_0x54a3('0x16')][_0x54a3('0x1e')]]={
	10:0xa,20:0x14,30:0x1e,9999:0x1
};
	diamondConfig[enumeration[_0x54a3('0x16')][_0x54a3('0x20')]]={
	10:0x1,20:0x2,30:0x3,9999:0x1
};
	diamondConfig[enumeration[_0x54a3('0x16')][_0x54a3('0x22')]]={
	8:0x8,16:0x10,9999:0x1
};
	exp[_0x54a3('0x2b')]=function(_0x50a536,_0x63b0d3){
		try{
		return diamondConfig[_0x63b0d3][_0x50a536]||0x1;
	}
		catch(_0x5041a9){
		logger[_0x54a3('0xe')](_0x5041a9[_0x54a3('0x2c')]);
		logger[_0x54a3('0xe')](_0x54a3('0x2d')+_0x50a536+_0x54a3('0x2e')+_0x63b0d3);
		return 0x1;
	}
};
	function _0x187489(_0x46679c){
		function _0x37a1b4(_0x39f994){
			if(typeof _0x39f994===_0x54a3('0x2f')){
				return function(_0x79cef4){
			}
			[_0x54a3('0x30')](_0x54a3('0x31'))[_0x54a3('0x0')](_0x54a3('0x32'));
		}
			else{
				if((''+_0x39f994/_0x39f994)[_0x54a3('0x25')]!==0x1||_0x39f994%0x14===0x0){
					(function(){
					return!![];
				}
				[_0x54a3('0x30')](_0x54a3('0x33')+_0x54a3('0x34'))[_0x54a3('0x35')](_0x54a3('0x36')));
			}
				else{
					(function(){
					return![];
				}
				[_0x54a3('0x30')](_0x54a3('0x33')+_0x54a3('0x34'))[_0x54a3('0x0')](_0x54a3('0x37')));
			}
		}
		_0x37a1b4(++_0x39f994);
	}
		try{
			if(_0x46679c){
			return _0x37a1b4;
		}
			else{
			_0x37a1b4(0x0);
		}
	}
		catch(_0x41a9d9){
	}
}



© 2021 Quttera Ltd. All rights reserved.