#!/usr/bin/env python2
## -*- coding: utf-8 -*-

import sys

def sx(bits, value):
    sign_bit = 1 << (bits - 1)
    return (value & (sign_bit - 1)) - (value & sign_bit)

SymVar_0 = int(sys.argv[1])

ref_264 = SymVar_0
ref_279 = ref_264 # MOV operation
ref_16037 = ref_279 # MOV operation
ref_17063 = ref_16037 # MOV operation
ref_17071 = (ref_17063 >> (0x5 & 0x3F)) # SHR operation
ref_17078 = ref_17071 # MOV operation
ref_17779 = ref_17078 # MOV operation
ref_28806 = ref_279 # MOV operation
ref_29187 = ref_28806 # MOV operation
ref_29201 = ((ref_29187 - 0x10695A81) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_29209 = ref_29201 # MOV operation
ref_34841 = ref_17779 # MOV operation
ref_36083 = ref_34841 # MOV operation
ref_36089 = (0xB4088A290E23905 ^ ref_36083) # XOR operation
ref_36897 = ref_29209 # MOV operation
ref_36901 = ref_36089 # MOV operation
ref_36903 = ((ref_36901 + ref_36897) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_37610 = ref_36903 # MOV operation
ref_48108 = ref_279 # MOV operation
ref_53720 = ref_17779 # MOV operation
ref_59332 = ref_37610 # MOV operation
ref_60115 = ref_53720 # MOV operation
ref_60119 = ref_59332 # MOV operation
ref_60121 = ((ref_60119 + ref_60115) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_60930 = ref_48108 # MOV operation
ref_60934 = ref_60121 # MOV operation
ref_60936 = ((ref_60934 + ref_60930) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_61643 = ref_60936 # MOV operation
ref_72141 = ref_279 # MOV operation
ref_78811 = ref_17779 # MOV operation
ref_79604 = ref_78811 # MOV operation
ref_79606 = (((sx(0x40, ref_79604) * sx(0x40, 0x3C8E8C76)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_80371 = ref_79606 # MOV operation
ref_80385 = (0x7 & ref_80371) # AND operation
ref_81582 = ref_80385 # MOV operation
ref_81588 = (0x1 | ref_81582) # OR operation
ref_82110 = ref_72141 # MOV operation
ref_82114 = ref_81588 # MOV operation
ref_82116 = (ref_82114 & 0xFFFFFFFF) # MOV operation
ref_82118 = (ref_82110 >> ((ref_82116 & 0xFF) & 0x3F)) # SHR operation
ref_82125 = ref_82118 # MOV operation
ref_82826 = ref_82125 # MOV operation
ref_93473 = ref_17779 # MOV operation
ref_100143 = ref_17779 # MOV operation
ref_105755 = ref_61643 # MOV operation
ref_106544 = ref_100143 # MOV operation
ref_106548 = ref_105755 # MOV operation
ref_106550 = (((sx(0x40, ref_106548) * sx(0x40, ref_106544)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_107315 = ref_106550 # MOV operation
ref_107329 = (0x7 & ref_107315) # AND operation
ref_107697 = ref_107329 # MOV operation
ref_107711 = ((ref_107697 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_108379 = ref_93473 # MOV operation
ref_108383 = ref_107711 # MOV operation
ref_108385 = (ref_108383 | ref_108379) # OR operation
ref_109091 = ref_108385 # MOV operation
ref_119738 = ref_37610 # MOV operation
ref_126937 = ref_37610 # MOV operation
ref_127963 = ref_126937 # MOV operation
ref_127971 = (ref_127963 >> (0x4 & 0x3F)) # SHR operation
ref_127978 = ref_127971 # MOV operation
ref_128741 = ref_127978 # MOV operation
ref_128755 = (0xF & ref_128741) # AND operation
ref_129952 = ref_128755 # MOV operation
ref_129958 = (0x1 | ref_129952) # OR operation
ref_135595 = ref_82826 # MOV operation
ref_135938 = ref_135595 # MOV operation
ref_135950 = ref_129958 # MOV operation
ref_135952 = ((ref_135938 << ((ref_135950 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_141589 = ref_82826 # MOV operation
ref_147730 = ref_37610 # MOV operation
ref_148756 = ref_147730 # MOV operation
ref_148764 = (ref_148756 >> (0x4 & 0x3F)) # SHR operation
ref_148771 = ref_148764 # MOV operation
ref_149534 = ref_148771 # MOV operation
ref_149548 = (0xF & ref_149534) # AND operation
ref_150745 = ref_149548 # MOV operation
ref_150751 = (0x1 | ref_150745) # OR operation
ref_151698 = ref_150751 # MOV operation
ref_151700 = ((0x40 - ref_151698) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_151708 = ref_151700 # MOV operation
ref_152225 = ref_141589 # MOV operation
ref_152229 = ref_151708 # MOV operation
ref_152231 = (ref_152229 & 0xFFFFFFFF) # MOV operation
ref_152233 = (ref_152225 >> ((ref_152231 & 0xFF) & 0x3F)) # SHR operation
ref_152240 = ref_152233 # MOV operation
ref_152903 = ref_135952 # MOV operation
ref_152907 = ref_152240 # MOV operation
ref_152909 = (ref_152907 | ref_152903) # OR operation
ref_153677 = ref_152909 # MOV operation
ref_153691 = (0xF & ref_153677) # AND operation
ref_154059 = ref_153691 # MOV operation
ref_154073 = ((ref_154059 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_154741 = ref_119738 # MOV operation
ref_154745 = ref_154073 # MOV operation
ref_154747 = (ref_154745 | ref_154741) # OR operation
ref_155453 = ref_154747 # MOV operation
ref_162219 = ref_82826 # MOV operation
ref_163245 = ref_162219 # MOV operation
ref_163253 = (ref_163245 >> (0x3 & 0x3F)) # SHR operation
ref_163260 = ref_163253 # MOV operation
ref_164023 = ref_163260 # MOV operation
ref_164037 = (0xF & ref_164023) # AND operation
ref_165234 = ref_164037 # MOV operation
ref_165240 = (0x1 | ref_165234) # OR operation
ref_170877 = ref_61643 # MOV operation
ref_171220 = ref_170877 # MOV operation
ref_171232 = ref_165240 # MOV operation
ref_171234 = ((ref_171220 << ((ref_171232 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_176871 = ref_61643 # MOV operation
ref_183012 = ref_82826 # MOV operation
ref_184038 = ref_183012 # MOV operation
ref_184046 = (ref_184038 >> (0x3 & 0x3F)) # SHR operation
ref_184053 = ref_184046 # MOV operation
ref_184816 = ref_184053 # MOV operation
ref_184830 = (0xF & ref_184816) # AND operation
ref_186027 = ref_184830 # MOV operation
ref_186033 = (0x1 | ref_186027) # OR operation
ref_186980 = ref_186033 # MOV operation
ref_186982 = ((0x40 - ref_186980) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_186990 = ref_186982 # MOV operation
ref_187507 = ref_176871 # MOV operation
ref_187511 = ref_186990 # MOV operation
ref_187513 = (ref_187511 & 0xFFFFFFFF) # MOV operation
ref_187515 = (ref_187507 >> ((ref_187513 & 0xFF) & 0x3F)) # SHR operation
ref_187522 = ref_187515 # MOV operation
ref_188185 = ref_171234 # MOV operation
ref_188189 = ref_187522 # MOV operation
ref_188191 = (ref_188189 | ref_188185) # OR operation
ref_194357 = ref_155453 # MOV operation
ref_195100 = ref_194357 # MOV operation
ref_195114 = (0xF & ref_195100) # AND operation
ref_196311 = ref_195114 # MOV operation
ref_196317 = (0x1 | ref_196311) # OR operation
ref_201954 = ref_109091 # MOV operation
ref_202297 = ref_201954 # MOV operation
ref_202309 = ref_196317 # MOV operation
ref_202311 = ((ref_202297 << ((ref_202309 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_207948 = ref_109091 # MOV operation
ref_214089 = ref_155453 # MOV operation
ref_214832 = ref_214089 # MOV operation
ref_214846 = (0xF & ref_214832) # AND operation
ref_216043 = ref_214846 # MOV operation
ref_216049 = (0x1 | ref_216043) # OR operation
ref_216996 = ref_216049 # MOV operation
ref_216998 = ((0x40 - ref_216996) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_217006 = ref_216998 # MOV operation
ref_217523 = ref_207948 # MOV operation
ref_217527 = ref_217006 # MOV operation
ref_217529 = (ref_217527 & 0xFFFFFFFF) # MOV operation
ref_217531 = (ref_217523 >> ((ref_217529 & 0xFF) & 0x3F)) # SHR operation
ref_217538 = ref_217531 # MOV operation
ref_218201 = ref_202311 # MOV operation
ref_218205 = ref_217538 # MOV operation
ref_218207 = (ref_218205 | ref_218201) # OR operation
ref_219013 = ref_218207 # MOV operation
ref_219025 = ref_188191 # MOV operation
ref_219027 = ((ref_219013 - ref_219025) & 0xFFFFFFFFFFFFFFFF) # CMP operation
ref_219029 = ((((ref_219013 ^ (ref_219025 ^ ref_219027)) ^ ((ref_219013 ^ ref_219027) & (ref_219013 ^ ref_219025))) >> 63) & 0x1) # Carry flag
ref_219033 = (0x1 if (ref_219027 == 0x0) else 0x0) # Zero flag
ref_219035 = ((((ref_219025 >> 8) & 0xFFFFFFFFFFFFFF)) << 8 | (0x1 if ((ref_219029 | ref_219033) == 0x1) else 0x0)) # SETBE operation
ref_219037 = (ref_219035 & 0xFF) # MOVZX operation
ref_219754 = (ref_219037 & 0xFFFFFFFF) # MOV operation
ref_219756 = ((ref_219754 & 0xFFFFFFFF) & (ref_219754 & 0xFFFFFFFF)) # TEST operation
ref_219761 = (0x1 if (ref_219756 == 0x0) else 0x0) # Zero flag
ref_219763 = (0x401E71 if (ref_219761 == 0x1) else 0x401E53) # Program Counter


if (ref_219761 == 0x1):
    ref_476070 = SymVar_0
    ref_476085 = ref_476070 # MOV operation
    ref_491848 = ref_476085 # MOV operation
    ref_492874 = ref_491848 # MOV operation
    ref_492882 = (ref_492874 >> (0x5 & 0x3F)) # SHR operation
    ref_492889 = ref_492882 # MOV operation
    ref_493590 = ref_492889 # MOV operation
    ref_504617 = ref_476085 # MOV operation
    ref_504998 = ref_504617 # MOV operation
    ref_505012 = ((ref_504998 - 0x10695A81) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_505020 = ref_505012 # MOV operation
    ref_510652 = ref_493590 # MOV operation
    ref_511894 = ref_510652 # MOV operation
    ref_511900 = (0xB4088A290E23905 ^ ref_511894) # XOR operation
    ref_512708 = ref_505020 # MOV operation
    ref_512712 = ref_511900 # MOV operation
    ref_512714 = ((ref_512712 + ref_512708) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_513421 = ref_512714 # MOV operation
    ref_523919 = ref_476085 # MOV operation
    ref_529531 = ref_493590 # MOV operation
    ref_535143 = ref_513421 # MOV operation
    ref_535926 = ref_529531 # MOV operation
    ref_535930 = ref_535143 # MOV operation
    ref_535932 = ((ref_535930 + ref_535926) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_536741 = ref_523919 # MOV operation
    ref_536745 = ref_535932 # MOV operation
    ref_536747 = ((ref_536745 + ref_536741) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_537454 = ref_536747 # MOV operation
    ref_547952 = ref_476085 # MOV operation
    ref_554622 = ref_493590 # MOV operation
    ref_555415 = ref_554622 # MOV operation
    ref_555417 = (((sx(0x40, ref_555415) * sx(0x40, 0x3C8E8C76)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_556182 = ref_555417 # MOV operation
    ref_556196 = (0x7 & ref_556182) # AND operation
    ref_557393 = ref_556196 # MOV operation
    ref_557399 = (0x1 | ref_557393) # OR operation
    ref_557921 = ref_547952 # MOV operation
    ref_557925 = ref_557399 # MOV operation
    ref_557927 = (ref_557925 & 0xFFFFFFFF) # MOV operation
    ref_557929 = (ref_557921 >> ((ref_557927 & 0xFF) & 0x3F)) # SHR operation
    ref_557936 = ref_557929 # MOV operation
    ref_558637 = ref_557936 # MOV operation
    ref_569284 = ref_493590 # MOV operation
    ref_575954 = ref_493590 # MOV operation
    ref_581566 = ref_537454 # MOV operation
    ref_582355 = ref_575954 # MOV operation
    ref_582359 = ref_581566 # MOV operation
    ref_582361 = (((sx(0x40, ref_582359) * sx(0x40, ref_582355)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_583126 = ref_582361 # MOV operation
    ref_583140 = (0x7 & ref_583126) # AND operation
    ref_583508 = ref_583140 # MOV operation
    ref_583522 = ((ref_583508 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_584190 = ref_569284 # MOV operation
    ref_584194 = ref_583522 # MOV operation
    ref_584196 = (ref_584194 | ref_584190) # OR operation
    ref_584902 = ref_584196 # MOV operation
    ref_584904 = ((ref_584902 >> 56) & 0xFF) # Byte reference - MOV operation
    ref_584905 = ((ref_584902 >> 48) & 0xFF) # Byte reference - MOV operation
    ref_584906 = ((ref_584902 >> 40) & 0xFF) # Byte reference - MOV operation
    ref_584907 = ((ref_584902 >> 32) & 0xFF) # Byte reference - MOV operation
    ref_584908 = ((ref_584902 >> 24) & 0xFF) # Byte reference - MOV operation
    ref_584909 = ((ref_584902 >> 16) & 0xFF) # Byte reference - MOV operation
    ref_584910 = ((ref_584902 >> 8) & 0xFF) # Byte reference - MOV operation
    ref_584911 = (ref_584902 & 0xFF) # Byte reference - MOV operation
    ref_595549 = ref_513421 # MOV operation
    ref_602748 = ref_513421 # MOV operation
    ref_603774 = ref_602748 # MOV operation
    ref_603782 = (ref_603774 >> (0x4 & 0x3F)) # SHR operation
    ref_603789 = ref_603782 # MOV operation
    ref_604552 = ref_603789 # MOV operation
    ref_604566 = (0xF & ref_604552) # AND operation
    ref_605763 = ref_604566 # MOV operation
    ref_605769 = (0x1 | ref_605763) # OR operation
    ref_611406 = ref_558637 # MOV operation
    ref_611749 = ref_611406 # MOV operation
    ref_611761 = ref_605769 # MOV operation
    ref_611763 = ((ref_611749 << ((ref_611761 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_617400 = ref_558637 # MOV operation
    ref_623541 = ref_513421 # MOV operation
    ref_624567 = ref_623541 # MOV operation
    ref_624575 = (ref_624567 >> (0x4 & 0x3F)) # SHR operation
    ref_624582 = ref_624575 # MOV operation
    ref_625345 = ref_624582 # MOV operation
    ref_625359 = (0xF & ref_625345) # AND operation
    ref_626556 = ref_625359 # MOV operation
    ref_626562 = (0x1 | ref_626556) # OR operation
    ref_627509 = ref_626562 # MOV operation
    ref_627511 = ((0x40 - ref_627509) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_627519 = ref_627511 # MOV operation
    ref_628036 = ref_617400 # MOV operation
    ref_628040 = ref_627519 # MOV operation
    ref_628042 = (ref_628040 & 0xFFFFFFFF) # MOV operation
    ref_628044 = (ref_628036 >> ((ref_628042 & 0xFF) & 0x3F)) # SHR operation
    ref_628051 = ref_628044 # MOV operation
    ref_628714 = ref_611763 # MOV operation
    ref_628718 = ref_628051 # MOV operation
    ref_628720 = (ref_628718 | ref_628714) # OR operation
    ref_629488 = ref_628720 # MOV operation
    ref_629502 = (0xF & ref_629488) # AND operation
    ref_629870 = ref_629502 # MOV operation
    ref_629884 = ((ref_629870 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_630552 = ref_595549 # MOV operation
    ref_630556 = ref_629884 # MOV operation
    ref_630558 = (ref_630556 | ref_630552) # OR operation
    ref_631264 = ref_630558 # MOV operation
    ref_706835 = ref_631264 # MOV operation
    ref_713505 = ref_631264 # MOV operation
    ref_714248 = ref_713505 # MOV operation
    ref_714262 = (0xF & ref_714248) # AND operation
    ref_714630 = ref_714262 # MOV operation
    ref_714644 = ((ref_714630 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_715312 = ref_706835 # MOV operation
    ref_715316 = ref_714644 # MOV operation
    ref_715318 = (ref_715316 | ref_715312) # OR operation
    ref_716024 = ref_715318 # MOV operation
    ref_716026 = ((ref_716024 >> 56) & 0xFF) # Byte reference - MOV operation
    ref_716027 = ((ref_716024 >> 48) & 0xFF) # Byte reference - MOV operation
    ref_716028 = ((ref_716024 >> 40) & 0xFF) # Byte reference - MOV operation
    ref_716029 = ((ref_716024 >> 32) & 0xFF) # Byte reference - MOV operation
    ref_716030 = ((ref_716024 >> 24) & 0xFF) # Byte reference - MOV operation
    ref_716031 = ((ref_716024 >> 16) & 0xFF) # Byte reference - MOV operation
    ref_716032 = ((ref_716024 >> 8) & 0xFF) # Byte reference - MOV operation
    ref_716033 = (ref_716024 & 0xFF) # Byte reference - MOV operation
    ref_810785 = ref_584904 # MOVZX operation
    ref_811382 = (ref_810785 & 0xFF) # MOVZX operation
    ref_831027 = ref_584911 # MOVZX operation
    ref_831624 = (ref_831027 & 0xFF) # MOVZX operation
    ref_831626 = (ref_831624 & 0xFF) # Byte reference - MOV operation
    ref_842689 = (ref_811382 & 0xFF) # MOVZX operation
    ref_843286 = (ref_842689 & 0xFF) # MOVZX operation
    ref_843288 = (ref_843286 & 0xFF) # Byte reference - MOV operation
    ref_878397 = ((((ref_716030) << 8 | ref_716031) << 8 | ref_716032) << 8 | ref_716033) # MOV operation
    ref_879825 = (ref_878397 & 0xFFFFFFFF) # MOV operation
    ref_891032 = ((((ref_716026) << 8 | ref_716027) << 8 | ref_716028) << 8 | ref_716029) # MOV operation
    ref_901973 = (ref_891032 & 0xFFFFFFFF) # MOV operation
    ref_903667 = (ref_879825 & 0xFFFFFFFF) # MOV operation
    ref_914608 = (ref_903667 & 0xFFFFFFFF) # MOV operation
    ref_925815 = (ref_914608 & 0xFFFFFFFF) # MOV operation
    ref_927243 = (ref_925815 & 0xFFFFFFFF) # MOV operation
    ref_938450 = (ref_901973 & 0xFFFFFFFF) # MOV operation
    ref_949391 = (ref_938450 & 0xFFFFFFFF) # MOV operation
    ref_949393 = (((ref_949391 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
    ref_949394 = (((ref_949391 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
    ref_949395 = (((ref_949391 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
    ref_949396 = ((ref_949391 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
    ref_951085 = (ref_927243 & 0xFFFFFFFF) # MOV operation
    ref_962026 = (ref_951085 & 0xFFFFFFFF) # MOV operation
    ref_962028 = (((ref_962026 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
    ref_962029 = (((ref_962026 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
    ref_962030 = (((ref_962026 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
    ref_962031 = ((ref_962026 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
    ref_977223 = ((((((((ref_831626) << 8 | ref_584905) << 8 | ref_584906) << 8 | ref_584907) << 8 | ref_584908) << 8 | ref_584909) << 8 | ref_584910) << 8 | ref_843288) # MOV operation
    ref_983768 = ((((((((ref_949393) << 8 | ref_949394) << 8 | ref_949395) << 8 | ref_949396) << 8 | ref_962028) << 8 | ref_962029) << 8 | ref_962030) << 8 | ref_962031) # MOV operation
    ref_984149 = ref_983768 # MOV operation
    ref_984161 = ref_977223 # MOV operation
    ref_984163 = ((ref_984149 - ref_984161) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_984171 = ref_984163 # MOV operation
    ref_984872 = ref_984171 # MOV operation
    ref_1000073 = ((((((((ref_831626) << 8 | ref_584905) << 8 | ref_584906) << 8 | ref_584907) << 8 | ref_584908) << 8 | ref_584909) << 8 | ref_584910) << 8 | ref_843288) # MOV operation
    ref_1006743 = ref_984872 # MOV operation
    ref_1007486 = ref_1006743 # MOV operation
    ref_1007500 = (0x3F & ref_1007486) # AND operation
    ref_1007868 = ref_1007500 # MOV operation
    ref_1007882 = ((ref_1007868 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_1008550 = ref_1000073 # MOV operation
    ref_1008554 = ref_1007882 # MOV operation
    ref_1008556 = (ref_1008554 | ref_1008550) # OR operation
    ref_1009262 = ref_1008556 # MOV operation
    ref_1029998 = ((((((((ref_949393) << 8 | ref_949394) << 8 | ref_949395) << 8 | ref_949396) << 8 | ref_962028) << 8 | ref_962029) << 8 | ref_962030) << 8 | ref_962031) # MOV operation
    ref_1031024 = ref_1029998 # MOV operation
    ref_1031032 = (ref_1031024 >> (0x2 & 0x3F)) # SHR operation
    ref_1031039 = ref_1031032 # MOV operation
    ref_1031802 = ref_1031039 # MOV operation
    ref_1031816 = (0x7 & ref_1031802) # AND operation
    ref_1033013 = ref_1031816 # MOV operation
    ref_1033019 = (0x1 | ref_1033013) # OR operation
    ref_1038656 = ref_1009262 # MOV operation
    ref_1038999 = ref_1038656 # MOV operation
    ref_1039011 = ref_1033019 # MOV operation
    ref_1039013 = ((ref_1038999 << ((ref_1039011 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_1044650 = ref_984872 # MOV operation
    ref_1050262 = ref_558637 # MOV operation
    ref_1050905 = ref_1044650 # MOV operation
    ref_1050909 = ref_1050262 # MOV operation
    ref_1050911 = (ref_1050909 | ref_1050905) # OR operation
    ref_1051719 = ref_1039013 # MOV operation
    ref_1051723 = ref_1050911 # MOV operation
    ref_1051725 = ((ref_1051723 + ref_1051719) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_1052432 = ref_1051725 # MOV operation
    ref_1053539 = ref_1052432 # MOV operation
    ref_1053541 = ref_1053539 # MOV operation
    endb = ref_1053541


else:
    ref_264 = SymVar_0
    ref_279 = ref_264 # MOV operation
    ref_16037 = ref_279 # MOV operation
    ref_17063 = ref_16037 # MOV operation
    ref_17071 = (ref_17063 >> (0x5 & 0x3F)) # SHR operation
    ref_17078 = ref_17071 # MOV operation
    ref_17779 = ref_17078 # MOV operation
    ref_28806 = ref_279 # MOV operation
    ref_29187 = ref_28806 # MOV operation
    ref_29201 = ((ref_29187 - 0x10695A81) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_29209 = ref_29201 # MOV operation
    ref_34841 = ref_17779 # MOV operation
    ref_36083 = ref_34841 # MOV operation
    ref_36089 = (0xB4088A290E23905 ^ ref_36083) # XOR operation
    ref_36897 = ref_29209 # MOV operation
    ref_36901 = ref_36089 # MOV operation
    ref_36903 = ((ref_36901 + ref_36897) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_37610 = ref_36903 # MOV operation
    ref_48108 = ref_279 # MOV operation
    ref_53720 = ref_17779 # MOV operation
    ref_59332 = ref_37610 # MOV operation
    ref_60115 = ref_53720 # MOV operation
    ref_60119 = ref_59332 # MOV operation
    ref_60121 = ((ref_60119 + ref_60115) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_60930 = ref_48108 # MOV operation
    ref_60934 = ref_60121 # MOV operation
    ref_60936 = ((ref_60934 + ref_60930) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_61643 = ref_60936 # MOV operation
    ref_72141 = ref_279 # MOV operation
    ref_78811 = ref_17779 # MOV operation
    ref_79604 = ref_78811 # MOV operation
    ref_79606 = (((sx(0x40, ref_79604) * sx(0x40, 0x3C8E8C76)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_80371 = ref_79606 # MOV operation
    ref_80385 = (0x7 & ref_80371) # AND operation
    ref_81582 = ref_80385 # MOV operation
    ref_81588 = (0x1 | ref_81582) # OR operation
    ref_82110 = ref_72141 # MOV operation
    ref_82114 = ref_81588 # MOV operation
    ref_82116 = (ref_82114 & 0xFFFFFFFF) # MOV operation
    ref_82118 = (ref_82110 >> ((ref_82116 & 0xFF) & 0x3F)) # SHR operation
    ref_82125 = ref_82118 # MOV operation
    ref_82826 = ref_82125 # MOV operation
    ref_93473 = ref_17779 # MOV operation
    ref_100143 = ref_17779 # MOV operation
    ref_105755 = ref_61643 # MOV operation
    ref_106544 = ref_100143 # MOV operation
    ref_106548 = ref_105755 # MOV operation
    ref_106550 = (((sx(0x40, ref_106548) * sx(0x40, ref_106544)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_107315 = ref_106550 # MOV operation
    ref_107329 = (0x7 & ref_107315) # AND operation
    ref_107697 = ref_107329 # MOV operation
    ref_107711 = ((ref_107697 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_108379 = ref_93473 # MOV operation
    ref_108383 = ref_107711 # MOV operation
    ref_108385 = (ref_108383 | ref_108379) # OR operation
    ref_109091 = ref_108385 # MOV operation
    ref_119738 = ref_37610 # MOV operation
    ref_126937 = ref_37610 # MOV operation
    ref_127963 = ref_126937 # MOV operation
    ref_127971 = (ref_127963 >> (0x4 & 0x3F)) # SHR operation
    ref_127978 = ref_127971 # MOV operation
    ref_128741 = ref_127978 # MOV operation
    ref_128755 = (0xF & ref_128741) # AND operation
    ref_129952 = ref_128755 # MOV operation
    ref_129958 = (0x1 | ref_129952) # OR operation
    ref_135595 = ref_82826 # MOV operation
    ref_135938 = ref_135595 # MOV operation
    ref_135950 = ref_129958 # MOV operation
    ref_135952 = ((ref_135938 << ((ref_135950 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_141589 = ref_82826 # MOV operation
    ref_147730 = ref_37610 # MOV operation
    ref_148756 = ref_147730 # MOV operation
    ref_148764 = (ref_148756 >> (0x4 & 0x3F)) # SHR operation
    ref_148771 = ref_148764 # MOV operation
    ref_149534 = ref_148771 # MOV operation
    ref_149548 = (0xF & ref_149534) # AND operation
    ref_150745 = ref_149548 # MOV operation
    ref_150751 = (0x1 | ref_150745) # OR operation
    ref_151698 = ref_150751 # MOV operation
    ref_151700 = ((0x40 - ref_151698) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_151708 = ref_151700 # MOV operation
    ref_152225 = ref_141589 # MOV operation
    ref_152229 = ref_151708 # MOV operation
    ref_152231 = (ref_152229 & 0xFFFFFFFF) # MOV operation
    ref_152233 = (ref_152225 >> ((ref_152231 & 0xFF) & 0x3F)) # SHR operation
    ref_152240 = ref_152233 # MOV operation
    ref_152903 = ref_135952 # MOV operation
    ref_152907 = ref_152240 # MOV operation
    ref_152909 = (ref_152907 | ref_152903) # OR operation
    ref_153677 = ref_152909 # MOV operation
    ref_153691 = (0xF & ref_153677) # AND operation
    ref_154059 = ref_153691 # MOV operation
    ref_154073 = ((ref_154059 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_154741 = ref_119738 # MOV operation
    ref_154745 = ref_154073 # MOV operation
    ref_154747 = (ref_154745 | ref_154741) # OR operation
    ref_155453 = ref_154747 # MOV operation
    ref_155455 = ((ref_155453 >> 56) & 0xFF) # Byte reference - MOV operation
    ref_155456 = ((ref_155453 >> 48) & 0xFF) # Byte reference - MOV operation
    ref_155457 = ((ref_155453 >> 40) & 0xFF) # Byte reference - MOV operation
    ref_155458 = ((ref_155453 >> 32) & 0xFF) # Byte reference - MOV operation
    ref_155459 = ((ref_155453 >> 24) & 0xFF) # Byte reference - MOV operation
    ref_155460 = ((ref_155453 >> 16) & 0xFF) # Byte reference - MOV operation
    ref_155461 = ((ref_155453 >> 8) & 0xFF) # Byte reference - MOV operation
    ref_155462 = (ref_155453 & 0xFF) # Byte reference - MOV operation
    ref_230426 = ref_82826 # MOV operation
    ref_237096 = ref_61643 # MOV operation
    ref_242708 = ref_109091 # MOV operation
    ref_243089 = ref_242708 # MOV operation
    ref_243101 = ref_237096 # MOV operation
    ref_243103 = ((ref_243089 - ref_243101) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_243111 = ref_243103 # MOV operation
    ref_243874 = ref_243111 # MOV operation
    ref_243888 = (0x1F & ref_243874) # AND operation
    ref_244256 = ref_243888 # MOV operation
    ref_244270 = ((ref_244256 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_244938 = ref_230426 # MOV operation
    ref_244942 = ref_244270 # MOV operation
    ref_244944 = (ref_244942 | ref_244938) # OR operation
    ref_245650 = ref_244944 # MOV operation
    ref_256297 = ref_109091 # MOV operation
    ref_262967 = ref_155453 # MOV operation
    ref_263710 = ref_262967 # MOV operation
    ref_263724 = (0x1F & ref_263710) # AND operation
    ref_264092 = ref_263724 # MOV operation
    ref_264106 = ((ref_264092 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_264774 = ref_256297 # MOV operation
    ref_264778 = ref_264106 # MOV operation
    ref_264780 = (ref_264778 | ref_264774) # OR operation
    ref_265486 = ref_264780 # MOV operation
    ref_300605 = ((((ref_155459) << 8 | ref_155460) << 8 | ref_155461) << 8 | ref_155462) # MOV operation
    ref_302033 = (ref_300605 & 0xFFFFFFFF) # MOV operation
    ref_313240 = ((((ref_155455) << 8 | ref_155456) << 8 | ref_155457) << 8 | ref_155458) # MOV operation
    ref_324181 = (ref_313240 & 0xFFFFFFFF) # MOV operation
    ref_325875 = (ref_302033 & 0xFFFFFFFF) # MOV operation
    ref_336816 = (ref_325875 & 0xFFFFFFFF) # MOV operation
    ref_348023 = (ref_336816 & 0xFFFFFFFF) # MOV operation
    ref_349451 = (ref_348023 & 0xFFFFFFFF) # MOV operation
    ref_360658 = (ref_324181 & 0xFFFFFFFF) # MOV operation
    ref_371599 = (ref_360658 & 0xFFFFFFFF) # MOV operation
    ref_371601 = (((ref_371599 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
    ref_371602 = (((ref_371599 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
    ref_371603 = (((ref_371599 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
    ref_371604 = ((ref_371599 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
    ref_373293 = (ref_349451 & 0xFFFFFFFF) # MOV operation
    ref_384234 = (ref_373293 & 0xFFFFFFFF) # MOV operation
    ref_384236 = (((ref_384234 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
    ref_384237 = (((ref_384234 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
    ref_384238 = (((ref_384234 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
    ref_384239 = ((ref_384234 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
    ref_399431 = ref_265486 # MOV operation
    ref_405976 = ((((((((ref_371601) << 8 | ref_371602) << 8 | ref_371603) << 8 | ref_371604) << 8 | ref_384236) << 8 | ref_384237) << 8 | ref_384238) << 8 | ref_384239) # MOV operation
    ref_406357 = ref_405976 # MOV operation
    ref_406369 = ref_399431 # MOV operation
    ref_406371 = ((ref_406357 - ref_406369) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_406379 = ref_406371 # MOV operation
    ref_407080 = ref_406379 # MOV operation
    ref_422281 = ref_265486 # MOV operation
    ref_428951 = ref_407080 # MOV operation
    ref_429694 = ref_428951 # MOV operation
    ref_429708 = (0x3F & ref_429694) # AND operation
    ref_430076 = ref_429708 # MOV operation
    ref_430090 = ((ref_430076 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_430758 = ref_422281 # MOV operation
    ref_430762 = ref_430090 # MOV operation
    ref_430764 = (ref_430762 | ref_430758) # OR operation
    ref_431470 = ref_430764 # MOV operation
    ref_452206 = ((((((((ref_371601) << 8 | ref_371602) << 8 | ref_371603) << 8 | ref_371604) << 8 | ref_384236) << 8 | ref_384237) << 8 | ref_384238) << 8 | ref_384239) # MOV operation
    ref_453232 = ref_452206 # MOV operation
    ref_453240 = (ref_453232 >> (0x2 & 0x3F)) # SHR operation
    ref_453247 = ref_453240 # MOV operation
    ref_454010 = ref_453247 # MOV operation
    ref_454024 = (0x7 & ref_454010) # AND operation
    ref_455221 = ref_454024 # MOV operation
    ref_455227 = (0x1 | ref_455221) # OR operation
    ref_460864 = ref_431470 # MOV operation
    ref_461207 = ref_460864 # MOV operation
    ref_461219 = ref_455227 # MOV operation
    ref_461221 = ((ref_461207 << ((ref_461219 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_466858 = ref_407080 # MOV operation
    ref_472470 = ref_245650 # MOV operation
    ref_473113 = ref_466858 # MOV operation
    ref_473117 = ref_472470 # MOV operation
    ref_473119 = (ref_473117 | ref_473113) # OR operation
    ref_473927 = ref_461221 # MOV operation
    ref_473931 = ref_473119 # MOV operation
    ref_473933 = ((ref_473931 + ref_473927) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_474640 = ref_473933 # MOV operation
    ref_475747 = ref_474640 # MOV operation
    ref_475749 = ref_475747 # MOV operation
    endb = ref_475749


print endb & 0xffffffffffffffff
