Or in PHP:
Still, Python is faster than PHP.
Code:
<?php
//Language PHP5 (or use fopen, fwrite and fclose instead of file_put_contents)
//Author nop
//Use Decoding of an inefficient mechanism
$sCon = file_get_contents("needtodecode.dll");
$sSub = "6543212345";
$iLen = strlen($sCon);
$iA = 0;
$sRet = "";
for($iB = 0; $iB < $iLen; $iB++)
{
$sRet .= pack("i@", ord($sCon[$iB]) - $sSub[$iA]);
$iA = $iA + 1 == 10 ? 0 : $iA + 1;
}
file_put_contents("decoded.dll", $sRet);
?>