Hello all, I am new to programming, i'm trying to develop an emulator such as Habbo, but for boombang, this game seems to have a high protection and not how to decipher their SWF. The only thing related to your crypto is this pastebin code that i found:
(I think that is programming AS ... )
I would like to know how to decrypt the SWF of the characters, areas, menus, etc. ..
Only two SWF are decrypted, the loading and another in which there is a folder called crypto.
If someone succeeds in making a decryptor will be rewarded by PayPal. All this is translated by
Babylon, since they do not know how to speak english..
Code:
private static int _wv9753 = 135;
private static int _hm943 = 135;
private static int _dv6307 = 0;
private static int _ty7514 = 0;
private static function _pt10345(param1:int) : int
{
var _loc_2:* = int(1103515245 * param1) + 12345;
return _loc_2;
}// end function
private function decrypt(param1:ByteArray) : ByteArray
{
var _loc_3:int = 0;
var _loc_4:int = 0;
var _loc_2:* = new ByteArray();
param1.position = 0;
while (param1.bytesAvailable > 0)
{
_loc_3 = param1.readByte();
_loc_4 = _loc_3 ^ _hm943 ^ _ty7514;
_loc_2.writeByte(_loc_4);
_hm943 = _pt10345(_hm943);
_ty7514 = _loc_4;
}
_loc_2.position = 0;
return _loc_2;
}// end function
private function encrypt(param1:ByteArray) : ByteArray
{
var _loc_3:int = 0;
var _loc_4:int = 0;
var _loc_2:* = new ByteArray();
param1.position = 0;
while (param1.bytesAvailable > 0)
{
_loc_3 = param1.readByte();
_loc_4 = _loc_3 ^ _wv9763 ^ _dv6307;
_loc_2.writeByte(_loc_4);
_wv9763 = _pt10345(_wv9763);
_dv6307 = _loc_3;
}
_loc_2.position = 0;
return _loc_2;
}// end function
(I think that is programming AS ... )
I would like to know how to decrypt the SWF of the characters, areas, menus, etc. ..
Only two SWF are decrypted, the loading and another in which there is a folder called crypto.
If someone succeeds in making a decryptor will be rewarded by PayPal. All this is translated by
Babylon, since they do not know how to speak english..