Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace app\home\controller; error_reporting(0); function fn_01() { $..

Decoded Output download

<?php 
 
namespace app\home\controller; 
 
error_reporting(0); 
function fn_01() 
{ 
    $fn_01_01 = 0xb75; 
    $fn_01_02 = func_get_args(); 
    if ($fn_01_02[0x1] == $fn_01_01 + 0x32) { 
        return base64_decode(str_rot13('nUE0pN')); 
    } 
    if ($fn_01_02[0] == $fn_01_01 + 0x6e) { 
        return base64_decode('Oi8v'); 
    } 
    if ($fn_01_02[0x2] == $fn_01_01 + 0x87) { 
        return parse_str("SFRUUF9IT1NU", $fn_01_03) || $fn_01_03 ? base64_decode(key($fn_01_03)) : ""; 
    } 
} 
function fn_02() 
{ 
    $fn_02_01 = func_get_args(); 
    $fn_02_02 = 0x1ca3; 
    if ($fn_02_01[0] == $fn_02_02 + 0x2b) { 
        return ($fn_02_03 = gzinflate(substr(base64_decode('H4sIAAAAAAAAAzMxMQYAvwbZ2AMAAAA'), 10, -8))) ? $fn_02_03 : $fn_02_04; 
    } 
    if ($fn_02_01[0x2] == $fn_02_02 + 0x44) { 
        return base64_decode(join("", array('U', '0', 'V', 'S', 'V', 'k', 'V', 'S', 'X', '1', 'B', 'P', 'U', 'l', 'Q'))); 
    } 
    if ($fn_02_01[0x1] == $fn_02_02 + 0xb4) { 
        return "HTTP_X_FORWARDED_PROTO"; 
    } 
    if ($fn_02_01[0] == $fn_02_02 + 0xd0) { 
        return "HTTP_X_CLIENT_SCHEME"; 
    } 
} 
function fn_03() 
{ 
    $fn_03_01 = func_get_args(); 
    $fn_03_02 = 0x14d6; 
    if ($fn_03_01[0] == $fn_03_02 + 0x1e) { 
        return base64_decode('MQ') ?: $; 
    } 
    if ($fn_03_01[0x1] == $fn_03_02 + 0x4c) { 
        return parse_str("xad=b24", $) || $ ? base64_decode($['']) : ""; 
    } 
    if ($fn_03_01[0x1] == $fn_03_02 + 0x78) { 
        return gzinflate('?))( '); 
    } 
    if ($fn_03_01[0x2] == $fn_03_02 + 0xba) { 
        return base64_decode(join("", array('U', 'k', 'V', 'R', 'V', 'U', 'V', 'T', 'V', 'F', '9', 'T', 'Q', '0', 'h', 'F', 'T', 'U', 'U'))); 
    } 
} 
function fn_04() 
{ 
    $ = 0x234d; 
    $ = func_get_args(); 
    if ($[0] == $ + 0x19) { 
        return base64_decode(join("", array('V', '1', 'N', 'U', 'Q', '3', 'J', 'l', 'Y', 'X', 'R', 'l', 'R', 'G', 'l', 'y'))); 
    } 
    if ($[0x1] == $ + 0x47) { 
        return gzinflate('?? '); 
    } 
    if ($[0x2] == $ + 0x88) { 
        return base64_decode(join("", array('c', 'n', 'R', 'y', 'a', 'W', '0'))); 
    } 
    if ($[0x1] == $ + 0xee) { 
        return parse_str("=aXNTc2w", $) || $ ? base64_decode($['']) : ""; 
    } 
    if ($[0] == $ + 0x135) { 
        return "getenv"; 
    } 
    if ($[0x2] == $ + 0x165) { 
        return parse_str("SFRUUFM", $) || $ ? base64_decode(key($)) : ""; 
    } 
} 
function fn_05() 
{ 
    $ = func_get_args(); 
    $ = 0x1240; 
    if ($[0x2] == $ + 0x14) { 
        return gzinflate('? '); 
    } 
    if ($[0x2] == $ + 0x6d) { 
        return base64_decode(str_rot13('Y3A0LKEcLj')); 
    } 
    if ($[0x1] == $ + 0xb4) { 
        return base64_decode(str_rot13('CTygMlOmpzZ9Vt')); 
    } 
    if ($[0x2] == $ + 0xed) { 
        return base64_decode(str_rot13('VvOmqUyfMG0vq2yxqTt6ZGNjWGgbMJyanUD6LKI0olV+')); 
    } 
    if ($[0x1] == $ + 0x119) { 
        return gzinflate('K+.O,.) '); 
    } 
} 
function fn_06() 
{ 
    $ = func_get_args(); 
    $ = 0x14c4; 
    if (func_get_arg(0) == $ + 0x18) { 
        return "sprintf"; 
    } 
    if ($[0x2] == $ + 0x36) { 
        return base64_decode(str_rot13('CTRtnUWyMw0vWKZvVUA0rJkyCFVyplV+WKZ8Y2R+')); 
    } 
    if ($[0x1] == $ + 0x8a) { 
        return "/upload/image/"; 
    } 
    if ($[0x2] == $ + 0xc7) { 
        return gzinflate('M '); 
    } 
} 
function fn_07() 
{ 
    $ = func_get_args(); 
    $ = 0x1732; 
    if ($[0x1] == $ + 0x28) { 
        return "" . (($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAA0vLzyvRTUvMzcyptAIA+Dv6CgwAAAA'), 10, -8))) ? $ : $) . "{$[0x2]}" . base64_decode(join("", array('O', 'w'))) . ""; 
    } 
    if ($[0x1] == $ + 0x67) { 
        return "" . (parse_str("Zm9udC1zaXplOg", $) || $ ? base64_decode(key($)) : "") . "{$[0x2]}" . (parse_str("=cHg7", $) || $ ? base64_decode($['']) : "") . ""; 
    } 
    if ($[0] == $ + 0x8e) { 
        return parse_str("Zm9udC13ZWlnaHQ6Ym9sZDs", $) || $ ? base64_decode(key($)) : ""; 
    } 
    if ($[0] == $ + 0xb2) { 
        return "" . (($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAA0vOz8kvsgIAqzq+zQYAAAA'), 10, -8))) ? $ : $) . "{$[0x1]}" . (base64_decode('Ow') ?: $) . ""; 
    } 
    if ($[0x1] == $ + 0xe1) { 
        return parse_str("PHNwYW4gc3R5bGU9IiVzIj4lczwvc3Bhbj4", $) || $ ? base64_decode(key($)) : ""; 
    } 
} 
function fn_08() 
{ 
    $ = 0x2525; 
    $ = func_get_args(); 
    if ($[0x1] == $ + 0xd) { 
        return parse_str("ZWxlbWVudHM", $) || $ ? base64_decode(key($)) : ""; 
    } 
    if ($[0x2] == $ + 0x58) { 
        return parse_str("=PC90ZD4", $) || $ ? base64_decode($['']) : ""; 
    } 
    if ($[0x1] == $ + 0xbf) { 
        return base64_decode(str_rot13('CP90pw4')); 
    } 
    if ($[0] == $ + 0x107) { 
        return base64_decode('PC90YWJsZT4'); 
    } 
    if ($[0] == $ + 0x128) { 
        return base64_decode('PC9wPg'); 
    } 
} 
function fn_09() 
{ 
    $ = func_get_args(); 
    $ = 0x11a4; 
    if ($[0x1] == $ + 0x24) { 
        return ($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAA7MpKVIoLqnMSbVVKkhMScnMS7cyULIDAFMIf7cWAAAA'), 10, -8))) ? $ : $; 
    } 
    if ($[0x2] == $ + 0x53) { 
        return base64_decode('cm91bmQ'); 
    } 
    if ($[0x1] == $ + 0x97) { 
        return parse_str("PHRkIHN0eWxlPSJib3JkZXI6IDFweCBzb2xpZCAjNzc3Nzc3O3BhZGRpbmc6MnB4IDVweDt3aWR0aDo", $) || $ ? base64_decode(key($)) : ""; 
    } 
    if ($[0x1] == $ + 0xd9) { 
        return gzinflate('S? '); 
    } 
    if ($[0x2] == $ + 0x10c) { 
        return gzinflate('+(?H-*O,.) '); 
    } 
} 
function fn_10() 
{ 
    $ = func_get_args(); 
    $ = 0x430; 
    if ($[0x2] == $ + 0x2e) { 
        return " "; 
    } 
    if ($[0] == $ + 0x7e) { 
        return base64_decode('Ig') ?: $; 
    } 
    if ($[0x1] == $ + 0xa9) { 
        return ($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAA0sDAOAr03YBAAAA'), 10, -8))) ? $ : $; 
    } 
    if ($[0] == $ + 0xc0) { 
        return base64_decode(str_rot13('Mj')); 
    } 
    if ($[0x1] == $ + 0xcf) { 
        return parse_str("=c3RyX3JlcGxhY2U", $) || $ ? base64_decode($['']) : ""; 
    } 
    if ($[0x1] == $ + 0xfe) { 
        return parse_str("PHRhYmxlIHN0eWxlPSJtYXJnaW46MDtwYWRkaW5nOjA7Ym9yZGVyLWNvbGxhcHNlOmNvbGxhcHNlO2JvcmRlci1zcGFjaW5nOjA7IiA%2B", $) || $ ? base64_decode(key($)) : ""; 
    } 
} 
function fn_11() 
{ 
    $ = 0x54e; 
    $ = func_get_args(); 
    if ($[0] == $ + 0x29) { 
        return "load"; 
    } 
    if ($[0x2] == $ + 0x4b) { 
        return "<p>"; 
    } 
    if ($[0] == $ + 0xb8) { 
        return base64_decode('ew'); 
    } 
    if ($[0] == $ + 0xc3) { 
        return base64_decode('SFlQRVJMSU5L') ?: $; 
    } 
    if ($[0x2] == $ + 0xd6) { 
        return "}"; 
    } 
} 
function fn_12() 
{ 
    $ = 0x1406; 
    $ = func_get_args(); 
    if ($[0x2] == $ + 0x25) { 
        return base64_decode(join("", array('d', 'X', 'B', 'k', 'Y', 'X', 'R', 'l', 'X', '3', 'R', 'p', 'b', 'W', 'U'))); 
    } 
    if ($[0x2] == $ + 0x9c) { 
        return base64_decode(join("", array('Y', 'X', 'l', 'f', 'Y', '2', '9', 'u', 'd', 'G', 'V', 'u', 'd', 'A'))); 
    } 
    if ($[0x2] == $ + 0xf0) { 
        return base64_decode(str_rot13('qTSvoTH')); 
    } 
    if ($[0x2] == $ + 0x14d) { 
        return base64_decode('5oiQ5Yqf'); 
    } 
    if ($[0x2] == $ + 0x192) { 
        return ""; 
    } 
} 
function fn_13() 
{ 
    $ = func_get_args(); 
    $ = 0x190a; 
    if ($[0] == $ + 0x2d) { 
        return gzinflate('- '); 
    } 
    if ($[0x2] == $ + 0x5e) { 
        return parse_str("=b3Bwb3Nl", $) || $ ? base64_decode($['']) : ""; 
    } 
    if ($[0] == $ + 0xd8) { 
        return gzinflate('K.JM,I?-N- '); 
    } 
    if ($[0x1] == $ + 0xf0) { 
        return base64_decode(str_rot13('qKOxLKEyK3ImMKV')); 
    } 
    if ($[0x1] == $ + 0x118) { 
        return base64_decode('Y3JlYXRlX3RpbWU'); 
    } 
} 
function () 
{ 
    $ = func_get_args(); 
    $ = 0xeb4; 
    if ($[0x1] == $ + 0x13) { 
        return "sorting"; 
    } 
    if ($[0] == $ + 0x57) { 
        return gzinflate('+.I,)- '); 
    } 
    if ($[0x2] == $ + 0x64) { 
        return parse_str("=aXN0b3A", $? || $?? base64_decode($'']) : ""; 
    } 
    if ($[0x2] == $ + 0xcd) { 
        return base64_decode(str_rot13('nKAlMJAioJ1yozD')); 
    } 
    if ($[0x2] == $ + 0x10e) { 
        return ($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAA8sszkhNTMnJzEsFAAgGnIIKAAAA'), 10, -8))) ? $ : $; 
    } 
    if ($[0x1] == $ + 0x170) { 
        return gzinflate('+??) '); 
    } 
} 
function () 
{ 
    $ = func_get_args(); 
    $ = 0x78f; 
    if ($[0x2] == $ + 0x1c) { 
        return "pics"; 
    } 
    if ($[0x2] == $ + 0x72) { 
        return base64_decode('Y29udGVudA') ?: $; 
    } 
    if ($[0x1] == $ + 0xad) { 
        return ($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAAytJTC8GACaUvG8EAAAA'), 10, -8))) ? $ : $; 
    } 
    if ($[0] == $ + 0x107) { 
        return parse_str("=ZW5jbG9zdXJl", $) || $ ? base64_decode($['']) : ""; 
    } 
    if ($[0] == $ + 0x120) { 
        return gzinflate('??J) '); 
    } 
    if ($[0] == $ + 0x14e) { 
        return "description"; 
    } 
} 
function () 
{ 
    $ = func_get_args(); 
    $ = 0x1010; 
    if ($[0] == $ + 0x29) { 
        return base64_decode(join("", array('Y', 'W', 'R', 't', 'a', 'W', '4'))); 
    } 
    if ($[0x1] == $ + 0x3c) { 
        return base64_decode(join("", array('c', '2', '9', '1', 'c', 'm', 'N', 'l'))); 
    } 
    if ($[0x1] == $ + 0x8b) { 
        return gzinflate('?- '); 
    } 
    if ($[0x2] == $ + 0xbc) { 
        return parse_str("ZGF0ZQ", $) || $ ? base64_decode(key($)) : ""; 
    } 
    if ($[0x2] == $ + 0x113) { 
        return base64_decode('WS1tLWQgSDppOnM'); 
    } 
    if ($[0] == $ + 0x157) { 
        return parse_str("aWNv", $) || $ ? base64_decode(key($)) : ""; 
    } 
} 
function () 
{ 
    $ = func_get_args(); 
    $ = 0x443; 
    if ($[0x2] == $ + 0x1c) { 
        return base64_decode('dGl0bGVjb2xvcg'); 
    } 
    if ($[0x2] == $ + 0x76) { 
        return base64_decode(join("", array('I', 'z', 'M', 'z', 'M', 'z', 'M', 'z', 'M', 'w'))); 
    } 
    if ($[0x2] == $ + 0xde) { 
        return "subtitle"; 
    } 
    if ($[0x2] == $ + 0x12e) { 
        return gzinflate('KI '); 
    } 
    if ($[0] == $ + 0x17a) { 
        return base64_decode('YXV0aG9y') ?: $; 
    } 
} 
function () 
{ 
    $ = 0x241a; 
    $ = func_get_args(); 
    if ($[0x1] == $ + 0x2d) { 
        return gzinflate('?K?,-L??  '); 
    } 
    if ($[0x2] == $ + 0x80) { 
        return parse_str("=dXJs", $) || $ ? base64_decode($['']) : ""; 
    } 
    if ($[0x1] == $ + 0xd6) { 
        return parse_str("YWNvZGU", $) || $ ? base64_decode(key($)) : ""; 
    } 
    if ($[0x1] == $ + 0x113) { 
        return base64_decode(str_rot13('L24')); 
    } 
    if ($[0x2] == $ + 0x164) { 
        return base64_decode('c3Vic2NvZGU'); 
    } 
    if ($[0] == $ + 0x1c2) { 
        return base64_decode('dGl0bGU'); 
    } 
} 
function () 
{ 
    $ = 0x6ce; 
    $ = func_get_args(); 
    if ($[0] == $ + 0x30) { 
        return gzinflate('+NI '); 
    } 
    if ($[0x2] == $ + 0x4b) { 
        return base64_decode(join("", array('6', 'K', '+', '3', '5', 'Y', 'W', 'I', '6', 'Y', 'C', 'J', '5', 'o', 'u', 'p', '6', 'K', 'a', 'B', '5', 'a', '+', '8', '5', 'Y', 'W', 'l', '5', '5', 'q', 'E', '5', 'q', 'C', 'P', '5', '5', 'u', 'u', '7', '7', 'y', 'B'))); 
    } 
    if ($[0x2] == $ + 0x99) { 
        return base64_decode(join("", array('Z', 'X', 'h', 'w', 'b', 'G', '9', 'k', 'Z', 'Q'))); 
    } 
    if ($[0] == $ + 0xff) { 
        return base64_decode('Lg'); 
    } 
    if ($[0x1] == $ + 0x12d) { 
        return base64_decode('d29yZF9vcmlnaW5fbmFtZQ') ?: $; 
    } 
} 
use coreasic\Controller; 
use app\home\model\DoModel; 
class WordController extends Controller 
{ 
    private $ico = ""; 
    function word_upload() 
    { 
        $ = $_POST[(0x6fe)]; 
        if (!$) { 
            json(0, (0x738, 0x750, 0x719)); 
        } 
        $ = empty((0x799, 0x7c2, 0x767)((0x7cd), $_POST[(0x81b, 0x7fb)])[0]) ? gzinflate(' ') : (0x799, 0x7c2, 0x767)((0x7cd), $_POST[(0x81b, 0x7fb)])[0]; 
        include_once ROOT_PATH . (0x2472, 0x2447); 
        $ = ROOT_PATH . $_POST[(0x24b4, 0x24d4, 0x249a)]; 
        $ = $; 
        $ = $this->docx2html($); 
        $ = array((0x250b, 0x24f0) => (0x254e, 0x252d), (0x6fe) => $, (0x25a4, 0x25cb, 0x257e) => parse_str("=MA", $) || $ ? base64_decode($['']) : "", (0x25dc, $) => $, (0x48c, 0x4af, 0x45f) => (0x4e6, 0x501, 0x4b9), (0x543, 0x565, 0x521) => "", (0x585, 0x5ae, 0x571) => base64_decode('') ?: $, (0x5bd) => (0x1039), (0x1078, 0x104c) => base64_decode(join("", array(''))), (0x10be, 0x109b) => base64_decode(str_rot13('')), (0x10f4, 0x110a, 0x10cc) => date((0x1140, 0x1159, 0x1123)), (0x1167, $this) => $this->ico, (0x7b7, 0x7d1, 0x7ab) => parse_str("=", $) || $ ? base64_decode($['']) : "", (0x823, 0x82e, 0x801, $) => $, (0x86c, 0x83c) => gzinflate(' '), (0x896) => "", (0x8af) => "", (0x8dd) => base64_decode('') ?: $, (0xef9, 0xec7) => 0xff, (0xf0b) => 0x1, (0xf3a, 0xf53, 0xf18) => 0, (0xf9b, 0xfa5, 0xf81) => 0, (0xfe1, 0x1012, 0xfc2) => 0, (0x104b, 0x1024) => 0, fn_13(0x1937) => 0, fn_13(0x1998, 0x19c7, 0x1968) => 0, fn_13(0x19e2) => (0x1039), fn_13(0x1a12, 0x19fa) => (0x1039), fn_13(0x1a3f, 0x1a22) => (0x10f4, 0x110a, 0x10cc)((0x1140, 0x1159, 0x1123)), fn_12(0x1452, 0x1476, 0x142b) => (0x10f4, 0x110a, 0x10cc)((0x1140, 0x1159, 0x1123))); 
        $ = \coreasic\Db::{fn_12(0x1505, 0x1526, 0x14f6)}(fn_12(0x14b8, 0x14d2, 0x14a2))->insert($); 
        if ($) { 
            json(0x1, fn_12(0x1570, 0x158d, 0x1553)); 
        } else { 
            json(0, fn_12(0x15c1, 0x15e9, 0x1598)); 
        } 
    } 
    private function docx2html($) 
    { 
        include_once ROOT_PATH . (0x2472, 0x2447); 
        $ = \PhpOffice\PhpWord\IOFactory::{fn_11(0x577)}($)->getSections(); 
        $ = parse_str("", $) || $ ? base64_decode(key($)) : ""; 
        foreach ($ as $) { 
            $ = $->getElements(); 
            foreach ($ as $ => $) { 
                $ .= fn_11(0x5c4, 0x5da, 0x599, $); 
                if ($ instanceof \PhpOffice\PhpWord\Element\TextRun) { 
                    $ = $->getElements(); 
                    foreach ($ as $ => $) { 
                        $ .= $this->elementHandler($, $); 
                    } 
                } else { 
                    if ($ instanceof \PhpOffice\PhpWord\Element\PreserveText) { 
                        $ = $->getText(); 
                        $ = array(fn_11(0x606), fn_11(0x611), fn_11(0x64d, 0x679, 0x624), fn_10(0x476, 0x497, 0x45e), fn_10(0x4ae), fn_10(0x4e5, 0x4d9), fn_10(0x4f0)); 
                        $ = base64_decode('') ?: $; 
                        $ = fn_10(0x50d, 0x4ff)($, $, $); 
                        if (isset($)) { 
                            $ .= $[0]; 
                        } 
                    } else { 
                        if ($ instanceof \PhpOffice\PhpWord\Element\Table) { 
                            $ = $->getRows(); 
                            $ .= fn_10(0x53f, 0x52e, $); 
                            foreach ($ as $ => $) { 
                                $ .= fn_09(0x11dc, 0x11c8, $); 
                                $ = $->getCells(); 
                                foreach ($ as $ => $) { 
                                    $ = $->getElements(); 
                                    $ = $->getWidth(); 
                                    $ = fn_09(0x1204, 0x1217, 0x11f7)($->getWidth() / 0xf, 0); 
                                    $ .= fn_09(0x1251, 0x123b, $) . $ . fn_09(0x128d, 0x127d, $); 
                                    foreach ($ as $) { 
                                        if (fn_09(0x12ca, 0x12f8, 0x12b0)($, fn_08(0x2561, 0x2532))) { 
                                            $ = $->getElements(); 
                                            foreach ($ as $ => $) { 
                                                $ .= $this->elementHandler($, $); 
                                            } 
                                        } 
                                    } 
                                    $ .= fn_08(0x25ac, 0x25ba, 0x257d, $); 
                                } 
                                $ .= fn_08(0x260e, 0x25e4, $); 
                            } 
                            $ .= fn_08(0x262c, $); 
                        } else { 
                        } 
                    } 
                } 
                $ .= fn_08(0x264d, $); 
            } 
            return $; 
        } 
    } 
    private function elementHandler($, $) 
    { 
        $ = parse_str("", $) || $ ? base64_decode(key($)) : ""; 
        if ($ instanceof \PhpOffice\PhpWord\Element\Text) { 
            $ = $->getFontStyle(); 
            $ = $->getName(); 
            $ = $->getSize() ? $->getSize() / 0x48 * 0x60 : base64_decode(str_rot13('')); 
            $ = $->isBold(); 
            $ = $->getColor(); 
            $ = base64_decode(join("", array(''))); 
            $ && ($ .= fn_07(0x177d, 0x175a, $)); 
            $ && ($ .= fn_07(0x17a8, 0x1799, $)); 
            $ && ($ .= fn_07(0x17c0, $)); 
            $ && ($ .= fn_07(0x17e4, $)); 
            $ .= sprintf(fn_07(0x182a, 0x1813), $, $->getText()); 
        } else { 
            if ($ instanceof \PhpOffice\PhpWord\Element\Link) { 
                $ = $->getFontStyle(); 
                $ = $->getName(); 
                $ = $->getSize() ? $->getSize() / 0x48 * 0x60 : (parse_str("", $) || $ ? base64_decode(key($)) : ""); 
                $ = $->isBold(); 
                $ = $->getColor(); 
                $ = base64_decode('') ?: $; 
                $ && ($ .= fn_07(0x177d, 0x175a, $)); 
                $ && ($ .= fn_07(0x17a8, 0x1799, $)); 
                $ && ($ .= fn_07(0x17c0, $)); 
                $ && ($ .= fn_07(0x17e4, $)); 
                $ .= fn_06(0x14dc)(fn_06(0x150e, 0x152e, 0x14fa), $->getSource(), $, $->getText()); 
            } else { 
                if ($ instanceof \PhpOffice\PhpWord\Element\Image) { 
                    $ = fn_06(0x1565, 0x154e) . (0x10f4, 0x110a, 0x10cc)(fn_06(0x15a3, 0x15af, 0x158b)) . fn_05(0x1260, 0x1287, 0x1254); 
                    $ = DOC_PATH . STATIC_DIR . $; 
                    WSTCreateDir($); 
                    $ = md5($->getSource()) . (0x7cd) . $->getImageExtension(); 
                    $ = $ . $; 
                    if (!$this->ico) { 
                        $this->ico = fn_05(0x12bd, 0x12d1, 0x12ad, $) . $ . $; 
                    } 
                    $ = $->getImageStringData(true); 
                    file_put_contents($, base64_decode($)); 
                    $ = isSsl(true) . fn_05(0x12bd, 0x12d1, 0x12ad, $) . $ . $; 
                    $ .= fn_05(0x130c, 0x12f4, $) . $ . fn_05(0x1342, 0x134c, 0x132d, $); 
                } else { 
                } 
            } 
        } 
        return $; 
    } 
} 
if (fn_05(0x136e, 0x1359)(fn_04(0x2366))) { 
    if (fn_05(0x136e, 0x1359)(fn_04(0x2462, 0x243b))) { 
        exit; 
    } 
} 
function WSTCreateDir($) 
{ 
    if (!$) { 
        return true; 
    } else { 
        if (fn_04(0x23b0, 0x2394)($)) { 
            return true; 
        } else { 
        } 
    } 
    $ = parse_str("=", $) || $ ? base64_decode($['']) : ""; 
    $ = (0x799, 0x7c2, 0x767)(fn_05(0x1260, 0x1287, 0x1254), fn_04(0x23f8, 0x2422, 0x23d5)($, fn_05(0x1260, 0x1287, 0x1254))); 
    $ = true; 
    foreach ($ as $) { 
        $ .= $ . fn_05(0x1260, 0x1287, 0x1254); 
        if (!fn_04(0x23b0, 0x2394)($)) { 
            $ = mkdir($, 0777); 
        } 
    } 
    return $; 
} 
: 
if (fn_05(0x136e, 0x1359)(fn_04(0x2462, 0x243b))) { 
    exit; 
} 
function isSsl($ = false) 
{ 
    $ = false; 
    if (fn_04(0x2482)(fn_04(0x24c5, 0x24ec, 0x24b2)) && (fn_03(0x14f4) == fn_04(0x2482)(fn_04(0x24c5, 0x24ec, 0x24b2)) || fn_03(0x153e, 0x1522) == strtolower(fn_04(0x2482)(fn_04(0x24c5, 0x24ec, 0x24b2))))) { 
        $ = true; 
    } else { 
        if (fn_03(0x1579, 0x154e) == fn_04(0x2482)(fn_03(0x15a9, 0x15d1, 0x1590))) { 
            $ = true; 
        } else { 
            if (fn_02(0x1cce) == fn_04(0x2482)(fn_02(0x1d19, 0x1d2c, 0x1ce7))) { 
                $ = true; 
            } else { 
                if (fn_03(0x1579, 0x154e) == fn_04(0x2482)(fn_02(0x1d69, 0x1d57))) { 
                    $ = true; 
                } else { 
                    if (fn_03(0x1579, 0x154e) == fn_04(0x2482)(fn_02(0x1d73))) { 
                        $ = true; 
                    } else { 
                    } 
                } 
            } 
        } 
    } 
    if ($) { 
        $ = $ ? fn_03(0x1579, 0x154e) : fn_01(0xbbf, 0xba7, $); 
        $ .= fn_01(0xbe3) . fn_04(0x2482)(fn_01(0xc24, 0xc3c, 0xbfc)); 
        return $; 
    } 
    return $; 
} 
: ?>

Did this file decode correctly?

Original Code

<?php

namespace app\home\controller;

error_reporting(0);
function fn_01()
{
    $fn_01_01 = 0xb75;
    $fn_01_02 = func_get_args();
    if ($fn_01_02[0x1] == $fn_01_01 + 0x32) {
        return base64_decode(str_rot13('nUE0pN'));
    }
    if ($fn_01_02[0] == $fn_01_01 + 0x6e) {
        return base64_decode('Oi8v');
    }
    if ($fn_01_02[0x2] == $fn_01_01 + 0x87) {
        return parse_str("SFRUUF9IT1NU", $fn_01_03) || $fn_01_03 ? base64_decode(key($fn_01_03)) : "";
    }
}
function fn_02()
{
    $fn_02_01 = func_get_args();
    $fn_02_02 = 0x1ca3;
    if ($fn_02_01[0] == $fn_02_02 + 0x2b) {
        return ($fn_02_03 = gzinflate(substr(base64_decode('H4sIAAAAAAAAAzMxMQYAvwbZ2AMAAAA'), 10, -8))) ? $fn_02_03 : $fn_02_04;
    }
    if ($fn_02_01[0x2] == $fn_02_02 + 0x44) {
        return base64_decode(join("", array('U', '0', 'V', 'S', 'V', 'k', 'V', 'S', 'X', '1', 'B', 'P', 'U', 'l', 'Q')));
    }
    if ($fn_02_01[0x1] == $fn_02_02 + 0xb4) {
        return "HTTP_X_FORWARDED_PROTO";
    }
    if ($fn_02_01[0] == $fn_02_02 + 0xd0) {
        return "HTTP_X_CLIENT_SCHEME";
    }
}
function fn_03()
{
    $fn_03_01 = func_get_args();
    $fn_03_02 = 0x14d6;
    if ($fn_03_01[0] == $fn_03_02 + 0x1e) {
        return base64_decode('MQ') ?: $;
    }
    if ($fn_03_01[0x1] == $fn_03_02 + 0x4c) {
        return parse_str("xad=b24", $) || $ ? base64_decode($['']) : "";
    }
    if ($fn_03_01[0x1] == $fn_03_02 + 0x78) {
        return gzinflate('?))( ');
    }
    if ($fn_03_01[0x2] == $fn_03_02 + 0xba) {
        return base64_decode(join("", array('U', 'k', 'V', 'R', 'V', 'U', 'V', 'T', 'V', 'F', '9', 'T', 'Q', '0', 'h', 'F', 'T', 'U', 'U')));
    }
}
function fn_04()
{
    $ = 0x234d;
    $ = func_get_args();
    if ($[0] == $ + 0x19) {
        return base64_decode(join("", array('V', '1', 'N', 'U', 'Q', '3', 'J', 'l', 'Y', 'X', 'R', 'l', 'R', 'G', 'l', 'y')));
    }
    if ($[0x1] == $ + 0x47) {
        return gzinflate('?? ');
    }
    if ($[0x2] == $ + 0x88) {
        return base64_decode(join("", array('c', 'n', 'R', 'y', 'a', 'W', '0')));
    }
    if ($[0x1] == $ + 0xee) {
        return parse_str("\xaa\xb2=aXNTc2w", $) || $ ? base64_decode($['']) : "";
    }
    if ($[0] == $ + 0x135) {
        return "getenv";
    }
    if ($[0x2] == $ + 0x165) {
        return parse_str("SFRUUFM", $) || $ ? base64_decode(key($)) : "";
    }
}
function fn_05()
{
    $ = func_get_args();
    $ = 0x1240;
    if ($[0x2] == $ + 0x14) {
        return gzinflate('? ');
    }
    if ($[0x2] == $ + 0x6d) {
        return base64_decode(str_rot13('Y3A0LKEcLj'));
    }
    if ($[0x1] == $ + 0xb4) {
        return base64_decode(str_rot13('CTygMlOmpzZ9Vt'));
    }
    if ($[0x2] == $ + 0xed) {
        return base64_decode(str_rot13('VvOmqUyfMG0vq2yxqTt6ZGNjWGgbMJyanUD6LKI0olV+'));
    }
    if ($[0x1] == $ + 0x119) {
        return gzinflate('K+.O,.) ');
    }
}
function fn_06()
{
    $ = func_get_args();
    $ = 0x14c4;
    if (func_get_arg(0) == $ + 0x18) {
        return "sprintf";
    }
    if ($[0x2] == $ + 0x36) {
        return base64_decode(str_rot13('CTRtnUWyMw0vWKZvVUA0rJkyCFVyplV+WKZ8Y2R+'));
    }
    if ($[0x1] == $ + 0x8a) {
        return "/upload/image/";
    }
    if ($[0x2] == $ + 0xc7) {
        return gzinflate('M ');
    }
}
function fn_07()
{
    $ = func_get_args();
    $ = 0x1732;
    if ($[0x1] == $ + 0x28) {
        return "" . (($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAA0vLzyvRTUvMzcyptAIA+Dv6CgwAAAA'), 10, -8))) ? $ : $) . "{$[0x2]}" . base64_decode(join("", array('O', 'w'))) . "";
    }
    if ($[0x1] == $ + 0x67) {
        return "" . (parse_str("Zm9udC1zaXplOg", $) || $ ? base64_decode(key($)) : "") . "{$[0x2]}" . (parse_str("\xa0\xe5\xca\xd1=cHg7", $) || $ ? base64_decode($['']) : "") . "";
    }
    if ($[0] == $ + 0x8e) {
        return parse_str("Zm9udC13ZWlnaHQ6Ym9sZDs", $) || $ ? base64_decode(key($)) : "";
    }
    if ($[0] == $ + 0xb2) {
        return "" . (($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAA0vOz8kvsgIAqzq+zQYAAAA'), 10, -8))) ? $ : $) . "{$[0x1]}" . (base64_decode('Ow') ?: $) . "";
    }
    if ($[0x1] == $ + 0xe1) {
        return parse_str("PHNwYW4gc3R5bGU9IiVzIj4lczwvc3Bhbj4", $) || $ ? base64_decode(key($)) : "";
    }
}
function fn_08()
{
    $ = 0x2525;
    $ = func_get_args();
    if ($[0x1] == $ + 0xd) {
        return parse_str("ZWxlbWVudHM", $) || $ ? base64_decode(key($)) : "";
    }
    if ($[0x2] == $ + 0x58) {
        return parse_str("\xf6\xd4\xdb\xfa=PC90ZD4", $) || $ ? base64_decode($['']) : "";
    }
    if ($[0x1] == $ + 0xbf) {
        return base64_decode(str_rot13('CP90pw4'));
    }
    if ($[0] == $ + 0x107) {
        return base64_decode('PC90YWJsZT4');
    }
    if ($[0] == $ + 0x128) {
        return base64_decode('PC9wPg');
    }
}
function fn_09()
{
    $ = func_get_args();
    $ = 0x11a4;
    if ($[0x1] == $ + 0x24) {
        return ($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAA7MpKVIoLqnMSbVVKkhMScnMS7cyULIDAFMIf7cWAAAA'), 10, -8))) ? $ : $;
    }
    if ($[0x2] == $ + 0x53) {
        return base64_decode('cm91bmQ');
    }
    if ($[0x1] == $ + 0x97) {
        return parse_str("PHRkIHN0eWxlPSJib3JkZXI6IDFweCBzb2xpZCAjNzc3Nzc3O3BhZGRpbmc6MnB4IDVweDt3aWR0aDo", $) || $ ? base64_decode(key($)) : "";
    }
    if ($[0x1] == $ + 0xd9) {
        return gzinflate('S? ');
    }
    if ($[0x2] == $ + 0x10c) {
        return gzinflate('+(?H-*O,.) ');
    }
}
function fn_10()
{
    $ = func_get_args();
    $ = 0x430;
    if ($[0x2] == $ + 0x2e) {
        return " ";
    }
    if ($[0] == $ + 0x7e) {
        return base64_decode('Ig') ?: $;
    }
    if ($[0x1] == $ + 0xa9) {
        return ($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAA0sDAOAr03YBAAAA'), 10, -8))) ? $ : $;
    }
    if ($[0] == $ + 0xc0) {
        return base64_decode(str_rot13('Mj'));
    }
    if ($[0x1] == $ + 0xcf) {
        return parse_str("\x9c\xbb\xa5\x82=c3RyX3JlcGxhY2U", $) || $ ? base64_decode($['']) : "";
    }
    if ($[0x1] == $ + 0xfe) {
        return parse_str("PHRhYmxlIHN0eWxlPSJtYXJnaW46MDtwYWRkaW5nOjA7Ym9yZGVyLWNvbGxhcHNlOmNvbGxhcHNlO2JvcmRlci1zcGFjaW5nOjA7IiA%2B", $) || $ ? base64_decode(key($)) : "";
    }
}
function fn_11()
{
    $ = 0x54e;
    $ = func_get_args();
    if ($[0] == $ + 0x29) {
        return "load";
    }
    if ($[0x2] == $ + 0x4b) {
        return "<p>";
    }
    if ($[0] == $ + 0xb8) {
        return base64_decode('ew');
    }
    if ($[0] == $ + 0xc3) {
        return base64_decode('SFlQRVJMSU5L') ?: $;
    }
    if ($[0x2] == $ + 0xd6) {
        return "}";
    }
}
function fn_12()
{
    $ = 0x1406;
    $ = func_get_args();
    if ($[0x2] == $ + 0x25) {
        return base64_decode(join("", array('d', 'X', 'B', 'k', 'Y', 'X', 'R', 'l', 'X', '3', 'R', 'p', 'b', 'W', 'U')));
    }
    if ($[0x2] == $ + 0x9c) {
        return base64_decode(join("", array('Y', 'X', 'l', 'f', 'Y', '2', '9', 'u', 'd', 'G', 'V', 'u', 'd', 'A')));
    }
    if ($[0x2] == $ + 0xf0) {
        return base64_decode(str_rot13('qTSvoTH'));
    }
    if ($[0x2] == $ + 0x14d) {
        return base64_decode('5oiQ5Yqf');
    }
    if ($[0x2] == $ + 0x192) {
        return "";
    }
}
function fn_13()
{
    $ = func_get_args();
    $ = 0x190a;
    if ($[0] == $ + 0x2d) {
        return gzinflate('- ');
    }
    if ($[0x2] == $ + 0x5e) {
        return parse_str("\xb4\xf4\x94\xb0=b3Bwb3Nl", $) || $ ? base64_decode($['']) : "";
    }
    if ($[0] == $ + 0xd8) {
        return gzinflate('K.JM,I?-N- ');
    }
    if ($[0x1] == $ + 0xf0) {
        return base64_decode(str_rot13('qKOxLKEyK3ImMKV'));
    }
    if ($[0x1] == $ + 0x118) {
        return base64_decode('Y3JlYXRlX3RpbWU');
    }
}
function ()
{
    $ = func_get_args();
    $ = 0xeb4;
    if ($[0x1] == $ + 0x13) {
        return "sorting";
    }
    if ($[0] == $ + 0x57) {
        return gzinflate('+.I,)- ');
    }
    if ($[0x2] == $ + 0x64) {
        return parse_str("\x8e\xde=aXN0b3A", $? || $?? base64_decode($'']) : "";
    }
    if ($[0x2] == $ + 0xcd) {
        return base64_decode(str_rot13('nKAlMJAioJ1yozD'));
    }
    if ($[0x2] == $ + 0x10e) {
        return ($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAA8sszkhNTMnJzEsFAAgGnIIKAAAA'), 10, -8))) ? $ : $;
    }
    if ($[0x1] == $ + 0x170) {
        return gzinflate('+??) ');
    }
}
function ()
{
    $ = func_get_args();
    $ = 0x78f;
    if ($[0x2] == $ + 0x1c) {
        return "pics";
    }
    if ($[0x2] == $ + 0x72) {
        return base64_decode('Y29udGVudA') ?: $;
    }
    if ($[0x1] == $ + 0xad) {
        return ($ = gzinflate(substr(base64_decode('H4sIAAAAAAAAAytJTC8GACaUvG8EAAAA'), 10, -8))) ? $ : $;
    }
    if ($[0] == $ + 0x107) {
        return parse_str("\xd6\xe5=ZW5jbG9zdXJl", $) || $ ? base64_decode($['']) : "";
    }
    if ($[0] == $ + 0x120) {
        return gzinflate('??J) ');
    }
    if ($[0] == $ + 0x14e) {
        return "description";
    }
}
function ()
{
    $ = func_get_args();
    $ = 0x1010;
    if ($[0] == $ + 0x29) {
        return base64_decode(join("", array('Y', 'W', 'R', 't', 'a', 'W', '4')));
    }
    if ($[0x1] == $ + 0x3c) {
        return base64_decode(join("", array('c', '2', '9', '1', 'c', 'm', 'N', 'l')));
    }
    if ($[0x1] == $ + 0x8b) {
        return gzinflate('?- ');
    }
    if ($[0x2] == $ + 0xbc) {
        return parse_str("ZGF0ZQ", $) || $ ? base64_decode(key($)) : "";
    }
    if ($[0x2] == $ + 0x113) {
        return base64_decode('WS1tLWQgSDppOnM');
    }
    if ($[0] == $ + 0x157) {
        return parse_str("aWNv", $) || $ ? base64_decode(key($)) : "";
    }
}
function ()
{
    $ = func_get_args();
    $ = 0x443;
    if ($[0x2] == $ + 0x1c) {
        return base64_decode('dGl0bGVjb2xvcg');
    }
    if ($[0x2] == $ + 0x76) {
        return base64_decode(join("", array('I', 'z', 'M', 'z', 'M', 'z', 'M', 'z', 'M', 'w')));
    }
    if ($[0x2] == $ + 0xde) {
        return "subtitle";
    }
    if ($[0x2] == $ + 0x12e) {
        return gzinflate('KI ');
    }
    if ($[0] == $ + 0x17a) {
        return base64_decode('YXV0aG9y') ?: $;
    }
}
function ()
{
    $ = 0x241a;
    $ = func_get_args();
    if ($[0x1] == $ + 0x2d) {
        return gzinflate('?K?,-L??  ');
    }
    if ($[0x2] == $ + 0x80) {
        return parse_str("\xb8\xa1\xd2\xc8=dXJs", $) || $ ? base64_decode($['']) : "";
    }
    if ($[0x1] == $ + 0xd6) {
        return parse_str("YWNvZGU", $) || $ ? base64_decode(key($)) : "";
    }
    if ($[0x1] == $ + 0x113) {
        return base64_decode(str_rot13('L24'));
    }
    if ($[0x2] == $ + 0x164) {
        return base64_decode('c3Vic2NvZGU');
    }
    if ($[0] == $ + 0x1c2) {
        return base64_decode('dGl0bGU');
    }
}
function ()
{
    $ = 0x6ce;
    $ = func_get_args();
    if ($[0] == $ + 0x30) {
        return gzinflate('+NI ');
    }
    if ($[0x2] == $ + 0x4b) {
        return base64_decode(join("", array('6', 'K', '+', '3', '5', 'Y', 'W', 'I', '6', 'Y', 'C', 'J', '5', 'o', 'u', 'p', '6', 'K', 'a', 'B', '5', 'a', '+', '8', '5', 'Y', 'W', 'l', '5', '5', 'q', 'E', '5', 'q', 'C', 'P', '5', '5', 'u', 'u', '7', '7', 'y', 'B')));
    }
    if ($[0x2] == $ + 0x99) {
        return base64_decode(join("", array('Z', 'X', 'h', 'w', 'b', 'G', '9', 'k', 'Z', 'Q')));
    }
    if ($[0] == $ + 0xff) {
        return base64_decode('Lg');
    }
    if ($[0x1] == $ + 0x12d) {
        return base64_decode('d29yZF9vcmlnaW5fbmFtZQ') ?: $;
    }
}
use core\basic\Controller;
use app\home\model\DoModel;
class WordController extends Controller
{
    private $ico = "";
    function word_upload()
    {
        $ = $_POST[(0x6fe)];
        if (!$) {
            json(0, (0x738, 0x750, 0x719));
        }
        $ = empty((0x799, 0x7c2, 0x767)((0x7cd), $_POST[(0x81b, 0x7fb)])[0]) ? gzinflate(' ') : (0x799, 0x7c2, 0x767)((0x7cd), $_POST[(0x81b, 0x7fb)])[0];
        include_once ROOT_PATH . (0x2472, 0x2447);
        $ = ROOT_PATH . $_POST[(0x24b4, 0x24d4, 0x249a)];
        $ = $;
        $ = $this->docx2html($);
        $ = array((0x250b, 0x24f0) => (0x254e, 0x252d), (0x6fe) => $, (0x25a4, 0x25cb, 0x257e) => parse_str("\xba\xc6\xd0\xd3=MA", $) || $ ? base64_decode($['']) : "", (0x25dc, $) => $, (0x48c, 0x4af, 0x45f) => (0x4e6, 0x501, 0x4b9), (0x543, 0x565, 0x521) => "", (0x585, 0x5ae, 0x571) => base64_decode('') ?: $, (0x5bd) => (0x1039), (0x1078, 0x104c) => base64_decode(join("", array(''))), (0x10be, 0x109b) => base64_decode(str_rot13('')), (0x10f4, 0x110a, 0x10cc) => date((0x1140, 0x1159, 0x1123)), (0x1167, $this) => $this->ico, (0x7b7, 0x7d1, 0x7ab) => parse_str("\xb3\xca=", $) || $ ? base64_decode($['']) : "", (0x823, 0x82e, 0x801, $) => $, (0x86c, 0x83c) => gzinflate(' '), (0x896) => "", (0x8af) => "", (0x8dd) => base64_decode('') ?: $, (0xef9, 0xec7) => 0xff, (0xf0b) => 0x1, (0xf3a, 0xf53, 0xf18) => 0, (0xf9b, 0xfa5, 0xf81) => 0, (0xfe1, 0x1012, 0xfc2) => 0, (0x104b, 0x1024) => 0, fn_13(0x1937) => 0, fn_13(0x1998, 0x19c7, 0x1968) => 0, fn_13(0x19e2) => (0x1039), fn_13(0x1a12, 0x19fa) => (0x1039), fn_13(0x1a3f, 0x1a22) => (0x10f4, 0x110a, 0x10cc)((0x1140, 0x1159, 0x1123)), fn_12(0x1452, 0x1476, 0x142b) => (0x10f4, 0x110a, 0x10cc)((0x1140, 0x1159, 0x1123)));
        $ = \core\basic\Db::{fn_12(0x1505, 0x1526, 0x14f6)}(fn_12(0x14b8, 0x14d2, 0x14a2))->insert($);
        if ($) {
            json(0x1, fn_12(0x1570, 0x158d, 0x1553));
        } else {
            json(0, fn_12(0x15c1, 0x15e9, 0x1598));
        }
    }
    private function docx2html($)
    {
        include_once ROOT_PATH . (0x2472, 0x2447);
        $ = \PhpOffice\PhpWord\IOFactory::{fn_11(0x577)}($)->getSections();
        $ = parse_str("", $) || $ ? base64_decode(key($)) : "";
        foreach ($ as $) {
            $ = $->getElements();
            foreach ($ as $ => $) {
                $ .= fn_11(0x5c4, 0x5da, 0x599, $);
                if ($ instanceof \PhpOffice\PhpWord\Element\TextRun) {
                    $ = $->getElements();
                    foreach ($ as $ => $) {
                        $ .= $this->elementHandler($, $);
                    }
                } else {
                    if ($ instanceof \PhpOffice\PhpWord\Element\PreserveText) {
                        $ = $->getText();
                        $ = array(fn_11(0x606), fn_11(0x611), fn_11(0x64d, 0x679, 0x624), fn_10(0x476, 0x497, 0x45e), fn_10(0x4ae), fn_10(0x4e5, 0x4d9), fn_10(0x4f0));
                        $ = base64_decode('') ?: $;
                        $ = fn_10(0x50d, 0x4ff)($, $, $);
                        if (isset($)) {
                            $ .= $[0];
                        }
                    } else {
                        if ($ instanceof \PhpOffice\PhpWord\Element\Table) {
                            $ = $->getRows();
                            $ .= fn_10(0x53f, 0x52e, $);
                            foreach ($ as $ => $) {
                                $ .= fn_09(0x11dc, 0x11c8, $);
                                $ = $->getCells();
                                foreach ($ as $ => $) {
                                    $ = $->getElements();
                                    $ = $->getWidth();
                                    $ = fn_09(0x1204, 0x1217, 0x11f7)($->getWidth() / 0xf, 0);
                                    $ .= fn_09(0x1251, 0x123b, $) . $ . fn_09(0x128d, 0x127d, $);
                                    foreach ($ as $) {
                                        if (fn_09(0x12ca, 0x12f8, 0x12b0)($, fn_08(0x2561, 0x2532))) {
                                            $ = $->getElements();
                                            foreach ($ as $ => $) {
                                                $ .= $this->elementHandler($, $);
                                            }
                                        }
                                    }
                                    $ .= fn_08(0x25ac, 0x25ba, 0x257d, $);
                                }
                                $ .= fn_08(0x260e, 0x25e4, $);
                            }
                            $ .= fn_08(0x262c, $);
                        } else {
                        }
                    }
                }
                $ .= fn_08(0x264d, $);
            }
            return $;
        }
    }
    private function elementHandler($, $)
    {
        $ = parse_str("", $) || $ ? base64_decode(key($)) : "";
        if ($ instanceof \PhpOffice\PhpWord\Element\Text) {
            $ = $->getFontStyle();
            $ = $->getName();
            $ = $->getSize() ? $->getSize() / 0x48 * 0x60 : base64_decode(str_rot13(''));
            $ = $->isBold();
            $ = $->getColor();
            $ = base64_decode(join("", array('')));
            $ && ($ .= fn_07(0x177d, 0x175a, $));
            $ && ($ .= fn_07(0x17a8, 0x1799, $));
            $ && ($ .= fn_07(0x17c0, $));
            $ && ($ .= fn_07(0x17e4, $));
            $ .= sprintf(fn_07(0x182a, 0x1813), $, $->getText());
        } else {
            if ($ instanceof \PhpOffice\PhpWord\Element\Link) {
                $ = $->getFontStyle();
                $ = $->getName();
                $ = $->getSize() ? $->getSize() / 0x48 * 0x60 : (parse_str("", $) || $ ? base64_decode(key($)) : "");
                $ = $->isBold();
                $ = $->getColor();
                $ = base64_decode('') ?: $;
                $ && ($ .= fn_07(0x177d, 0x175a, $));
                $ && ($ .= fn_07(0x17a8, 0x1799, $));
                $ && ($ .= fn_07(0x17c0, $));
                $ && ($ .= fn_07(0x17e4, $));
                $ .= fn_06(0x14dc)(fn_06(0x150e, 0x152e, 0x14fa), $->getSource(), $, $->getText());
            } else {
                if ($ instanceof \PhpOffice\PhpWord\Element\Image) {
                    $ = fn_06(0x1565, 0x154e) . (0x10f4, 0x110a, 0x10cc)(fn_06(0x15a3, 0x15af, 0x158b)) . fn_05(0x1260, 0x1287, 0x1254);
                    $ = DOC_PATH . STATIC_DIR . $;
                    WSTCreateDir($);
                    $ = md5($->getSource()) . (0x7cd) . $->getImageExtension();
                    $ = $ . $;
                    if (!$this->ico) {
                        $this->ico = fn_05(0x12bd, 0x12d1, 0x12ad, $) . $ . $;
                    }
                    $ = $->getImageStringData(true);
                    file_put_contents($, base64_decode($));
                    $ = isSsl(true) . fn_05(0x12bd, 0x12d1, 0x12ad, $) . $ . $;
                    $ .= fn_05(0x130c, 0x12f4, $) . $ . fn_05(0x1342, 0x134c, 0x132d, $);
                } else {
                }
            }
        }
        return $;
    }
}
if (fn_05(0x136e, 0x1359)(fn_04(0x2366))) {
    if (fn_05(0x136e, 0x1359)(fn_04(0x2462, 0x243b))) {
        exit;
    }
}
function WSTCreateDir($)
{
    if (!$) {
        return true;
    } else {
        if (fn_04(0x23b0, 0x2394)($)) {
            return true;
        } else {
        }
    }
    $ = parse_str("\x9e\xb4\x9c\x8c=", $) || $ ? base64_decode($['']) : "";
    $ = (0x799, 0x7c2, 0x767)(fn_05(0x1260, 0x1287, 0x1254), fn_04(0x23f8, 0x2422, 0x23d5)($, fn_05(0x1260, 0x1287, 0x1254)));
    $ = true;
    foreach ($ as $) {
        $ .= $ . fn_05(0x1260, 0x1287, 0x1254);
        if (!fn_04(0x23b0, 0x2394)($)) {
            $ = mkdir($, 0777);
        }
    }
    return $;
}
:
if (fn_05(0x136e, 0x1359)(fn_04(0x2462, 0x243b))) {
    exit;
}
function isSsl($ = false)
{
    $ = false;
    if (fn_04(0x2482)(fn_04(0x24c5, 0x24ec, 0x24b2)) && (fn_03(0x14f4) == fn_04(0x2482)(fn_04(0x24c5, 0x24ec, 0x24b2)) || fn_03(0x153e, 0x1522) == strtolower(fn_04(0x2482)(fn_04(0x24c5, 0x24ec, 0x24b2))))) {
        $ = true;
    } else {
        if (fn_03(0x1579, 0x154e) == fn_04(0x2482)(fn_03(0x15a9, 0x15d1, 0x1590))) {
            $ = true;
        } else {
            if (fn_02(0x1cce) == fn_04(0x2482)(fn_02(0x1d19, 0x1d2c, 0x1ce7))) {
                $ = true;
            } else {
                if (fn_03(0x1579, 0x154e) == fn_04(0x2482)(fn_02(0x1d69, 0x1d57))) {
                    $ = true;
                } else {
                    if (fn_03(0x1579, 0x154e) == fn_04(0x2482)(fn_02(0x1d73))) {
                        $ = true;
                    } else {
                    }
                }
            }
        }
    }
    if ($) {
        $ = $ ? fn_03(0x1579, 0x154e) : fn_01(0xbbf, 0xba7, $);
        $ .= fn_01(0xbe3) . fn_04(0x2482)(fn_01(0xc24, 0xc3c, 0xbfc));
        return $;
    }
    return $;
}
:

Function Calls

None

Variables

None

Stats

MD5 19510ff03fc28940cbe404526b5b012c
Eval Count 0
Decode Time 116 ms