devirt-corpus / generated /splitstrings /s0046_bsearch.js
vasie's picture
Expand corpus to ~9.5k: 500 seeds x 19 obfuscation profiles + real samples
c930535
(function(_0x505e1a,_0x14474e){const _0x4ea226=_0x16ff,_0x524013=_0x505e1a();while(!![]){try{const _0x3cb095=-parseInt(_0x4ea226(0xd5))/0x1*(parseInt(_0x4ea226(0xd4))/0x2)+-parseInt(_0x4ea226(0xcf))/0x3*(-parseInt(_0x4ea226(0xd7))/0x4)+parseInt(_0x4ea226(0xd0))/0x5+parseInt(_0x4ea226(0xd6))/0x6*(parseInt(_0x4ea226(0xce))/0x7)+parseInt(_0x4ea226(0xcd))/0x8+-parseInt(_0x4ea226(0xd2))/0x9+-parseInt(_0x4ea226(0xd1))/0xa;if(_0x3cb095===_0x14474e)break;else _0x524013['push'](_0x524013['shift']());}catch(_0x109021){_0x524013['push'](_0x524013['shift']());}}}(_0x1a73,0xd69c7));function binarySearch(_0x5b1f27,_0x2581b3){const _0x31b0cd=_0x16ff;let _0x6a2899=0x0,_0x16da39=_0x5b1f27[_0x31b0cd(0xd3)+'th']-0x1;while(_0x6a2899<=_0x16da39){const _0x426d47=_0x6a2899+_0x16da39>>0x1;if(_0x5b1f27[_0x426d47]===_0x2581b3)return _0x426d47;if(_0x5b1f27[_0x426d47]<_0x2581b3)_0x6a2899=_0x426d47+0x1;else _0x16da39=_0x426d47-0x1;}return-0x1;}function _0x16ff(_0x1cada2,_0x1d6928){_0x1cada2=_0x1cada2-0xcd;const _0x1a7333=_0x1a73();let _0x16ffcc=_0x1a7333[_0x1cada2];return _0x16ffcc;}console['log'](binarySearch([0x2,0x8,0x8,0x9,0xa,0xb],0xf));function _0x1a73(){const _0x59ec11=['2iMlkGV','351557CsvwFu','1674agbnZv','48zxVCWP','856712bLWLmp','13846taUkAK','387939sHwzAg','6987410BVtVIg','21060000AoixIr','2444265nAQYSR','leng'];_0x1a73=function(){return _0x59ec11;};return _0x1a73();}