#!/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_853 = SymVar_0
ref_864 = ref_853 # MOV operation
ref_27641 = ref_864 # MOV operation
ref_30328 = ref_27641 # MOV operation
ref_30336 = ref_30328 # MOV operation
ref_30338 = (ref_30336 ^ 0x202EB6DC) # XOR operation
ref_30357 = ref_27641 # MOV operation
ref_30365 = (0x202EB6DC & ref_30357) # AND operation
ref_30372 = ((ref_30365 + ref_30365) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_30380 = ((ref_30372 + ref_30338) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_33310 = ref_30380 # MOV operation
ref_47270 = ref_864 # MOV operation
ref_48909 = ref_47270 # MOV operation
ref_48927 = ((((0x0) << 64 | ref_48909) / ((((((((0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x7)) & 0xFFFFFFFFFFFFFFFF) # DIV operation
ref_63831 = ref_48927 # MOV operation
ref_76967 = ref_33310 # MOV operation
ref_91908 = ref_864 # MOV operation
ref_92559 = ref_91908 # MOV operation
ref_92561 = ref_92559 # MOV operation
ref_92563 = (~(ref_92561) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_92575 = ref_76967 # MOV operation
ref_92577 = (ref_92563 | ref_92575) # OR operation
ref_92586 = ref_91908 # MOV operation
ref_92588 = ((ref_92586 + ref_92577) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_92596 = ((ref_92588 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_105558 = ref_63831 # MOV operation
ref_107412 = ref_105558 # MOV operation
ref_107428 = ref_107412 # MOV operation
ref_107432 = ((ref_107428 << (0xF & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_107439 = ref_107432 # MOV operation
ref_124399 = ref_63831 # MOV operation
ref_125629 = ref_124399 # MOV operation
ref_125645 = ref_125629 # MOV operation
ref_125649 = (ref_125645 >> (0x31 & 0x3F)) # SHR operation
ref_125656 = ref_125649 # MOV operation
ref_126675 = ref_107439 # MOV operation
ref_126679 = ref_125656 # MOV operation
ref_126681 = ((0x0 + ((ref_126675 + ((ref_126679 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
ref_126693 = ref_107439 # MOV operation
ref_126697 = ref_125656 # MOV operation
ref_126699 = (ref_126697 & ref_126693) # AND operation
ref_126706 = (~(ref_126699) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_126708 = ((ref_126706 + ref_126681) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_126716 = ((ref_126708 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_128579 = ref_92596 # MOV operation
ref_128585 = ref_126716 # MOV operation
ref_128587 = ref_128579 # MOV operation
ref_128589 = (ref_128587 ^ ref_128585) # XOR operation
ref_128608 = ref_92596 # MOV operation
ref_128614 = ref_126716 # MOV operation
ref_128616 = (ref_128614 & ref_128608) # AND operation
ref_128623 = ((ref_128616 + ref_128616) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_128631 = ((ref_128623 + ref_128589) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_142590 = ref_128631 # MOV operation
ref_170317 = ref_864 # MOV operation
ref_173004 = ref_170317 # MOV operation
ref_173012 = ref_173004 # MOV operation
ref_173014 = (ref_173012 ^ 0x1226A2A) # XOR operation
ref_173033 = ref_170317 # MOV operation
ref_173041 = (0x1226A2A & ref_173033) # AND operation
ref_173048 = ((ref_173041 + ref_173041) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_173056 = ((ref_173048 + ref_173014) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_175986 = ref_173056 # MOV operation
ref_191430 = ref_142590 # MOV operation
ref_203248 = ref_175986 # MOV operation
ref_203907 = ref_191430 # MOV operation
ref_203911 = ref_203248 # MOV operation
ref_203913 = (ref_203907 ^ ref_203911) # XOR operation
ref_203930 = ref_191430 # MOV operation
ref_203932 = ref_203930 # MOV operation
ref_203934 = (~(ref_203932) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_203938 = ref_203248 # MOV operation
ref_203940 = (ref_203934 & ref_203938) # AND operation
ref_203957 = ref_191430 # MOV operation
ref_203959 = ref_203957 # MOV operation
ref_203961 = (~(ref_203959) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_203965 = ref_203248 # MOV operation
ref_203967 = (ref_203965 & ref_203961) # AND operation
ref_203974 = ((ref_203967 + ref_203940) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_203982 = ref_203913 # MOV operation
ref_203984 = ((ref_203982 - ref_203974) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_203992 = ref_203984 # MOV operation
ref_219631 = ref_63831 # MOV operation
ref_221286 = ref_219631 # MOV operation
ref_221292 = ref_221286 # MOV operation
ref_221296 = (ref_221292 >> (0x1 & 0x3F)) # SHR operation
ref_221303 = ref_221296 # MOV operation
ref_223695 = ref_221303 # MOV operation
ref_223697 = ref_223695 # MOV operation
ref_223699 = (~(ref_223697) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_223707 = (ref_223699 | 0x7) # OR operation
ref_223726 = ref_221303 # MOV operation
ref_223728 = ((ref_223726 + ref_223707) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_223736 = ((ref_223728 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_225749 = ref_223736 # MOV operation
ref_225755 = ((0x0 + ((ref_225749 + ((0x1 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
ref_225767 = ref_223736 # MOV operation
ref_225773 = (0x1 & ref_225767) # AND operation
ref_225780 = (~(ref_225773) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_225782 = ((ref_225780 + ref_225755) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_225790 = ((ref_225782 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_240275 = ref_33310 # MOV operation
ref_241505 = ref_240275 # MOV operation
ref_241519 = ref_225790 # MOV operation
ref_241521 = ref_241505 # MOV operation
ref_241523 = (ref_241519 & 0xFFFFFFFF) # MOV operation
ref_241525 = (ref_241521 >> ((ref_241523 & 0xFF) & 0x3F)) # SHR operation
ref_241532 = ref_241525 # MOV operation
ref_242567 = ref_203992 # MOV operation
ref_242569 = ref_242567 # MOV operation
ref_242571 = (~(ref_242569) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_242575 = ref_241532 # MOV operation
ref_242577 = ref_242571 # MOV operation
ref_242579 = (ref_242577 & ref_242575) # AND operation
ref_242596 = ref_203992 # MOV operation
ref_242598 = ref_242596 # MOV operation
ref_242600 = (~(ref_242598) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_242604 = ref_241532 # MOV operation
ref_242606 = ref_242600 # MOV operation
ref_242608 = (ref_242606 | ref_242604) # OR operation
ref_242625 = ref_203992 # MOV operation
ref_242629 = ref_241532 # MOV operation
ref_242631 = ref_242625 # MOV operation
ref_242633 = ((ref_242631 - ref_242629) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_242641 = ref_242633 # MOV operation
ref_242643 = (ref_242641 & ref_242608) # AND operation
ref_242650 = (ref_242643 | ref_242579) # OR operation
ref_242657 = (ref_242650 >> (0x3F & 0x3F)) # SHR operation
ref_244201 = (ref_242657 & 0xFFFFFFFF) # MOV operation
ref_244203 = ((ref_244201 & 0xFFFFFFFF) & (ref_244201 & 0xFFFFFFFF)) # TEST operation
ref_244208 = (0x1 if (ref_244203 == 0x0) else 0x0) # Zero flag
ref_244210 = (0x406E68 if (ref_244208 == 0x1) else 0x406E14) # Program Counter


if (ref_244208 == 0x1):
    ref_853 = SymVar_0
    ref_864 = ref_853 # MOV operation
    ref_27641 = ref_864 # MOV operation
    ref_30328 = ref_27641 # MOV operation
    ref_30336 = ref_30328 # MOV operation
    ref_30338 = (ref_30336 ^ 0x202EB6DC) # XOR operation
    ref_30357 = ref_27641 # MOV operation
    ref_30365 = (0x202EB6DC & ref_30357) # AND operation
    ref_30372 = ((ref_30365 + ref_30365) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_30380 = ((ref_30372 + ref_30338) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_33310 = ref_30380 # MOV operation
    ref_47270 = ref_864 # MOV operation
    ref_48909 = ref_47270 # MOV operation
    ref_48927 = ((((0x0) << 64 | ref_48909) / ((((((((0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x7)) & 0xFFFFFFFFFFFFFFFF) # DIV operation
    ref_63831 = ref_48927 # MOV operation
    ref_76967 = ref_33310 # MOV operation
    ref_91908 = ref_864 # MOV operation
    ref_92559 = ref_91908 # MOV operation
    ref_92561 = ref_92559 # MOV operation
    ref_92563 = (~(ref_92561) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_92575 = ref_76967 # MOV operation
    ref_92577 = (ref_92563 | ref_92575) # OR operation
    ref_92586 = ref_91908 # MOV operation
    ref_92588 = ((ref_92586 + ref_92577) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_92596 = ((ref_92588 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_105558 = ref_63831 # MOV operation
    ref_107412 = ref_105558 # MOV operation
    ref_107428 = ref_107412 # MOV operation
    ref_107432 = ((ref_107428 << (0xF & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_107439 = ref_107432 # MOV operation
    ref_124399 = ref_63831 # MOV operation
    ref_125629 = ref_124399 # MOV operation
    ref_125645 = ref_125629 # MOV operation
    ref_125649 = (ref_125645 >> (0x31 & 0x3F)) # SHR operation
    ref_125656 = ref_125649 # MOV operation
    ref_126675 = ref_107439 # MOV operation
    ref_126679 = ref_125656 # MOV operation
    ref_126681 = ((0x0 + ((ref_126675 + ((ref_126679 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
    ref_126693 = ref_107439 # MOV operation
    ref_126697 = ref_125656 # MOV operation
    ref_126699 = (ref_126697 & ref_126693) # AND operation
    ref_126706 = (~(ref_126699) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_126708 = ((ref_126706 + ref_126681) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_126716 = ((ref_126708 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_128579 = ref_92596 # MOV operation
    ref_128585 = ref_126716 # MOV operation
    ref_128587 = ref_128579 # MOV operation
    ref_128589 = (ref_128587 ^ ref_128585) # XOR operation
    ref_128608 = ref_92596 # MOV operation
    ref_128614 = ref_126716 # MOV operation
    ref_128616 = (ref_128614 & ref_128608) # AND operation
    ref_128623 = ((ref_128616 + ref_128616) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_128631 = ((ref_128623 + ref_128589) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_142590 = ref_128631 # MOV operation
    ref_170317 = ref_864 # MOV operation
    ref_173004 = ref_170317 # MOV operation
    ref_173012 = ref_173004 # MOV operation
    ref_173014 = (ref_173012 ^ 0x1226A2A) # XOR operation
    ref_173033 = ref_170317 # MOV operation
    ref_173041 = (0x1226A2A & ref_173033) # AND operation
    ref_173048 = ((ref_173041 + ref_173041) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_173056 = ((ref_173048 + ref_173014) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_175986 = ref_173056 # MOV operation
    ref_271262 = ref_33310 # MOV operation
    ref_284232 = ref_63831 # MOV operation
    ref_284891 = ref_271262 # MOV operation
    ref_284895 = ref_284232 # MOV operation
    ref_284897 = ((0x0 + ((ref_284891 + ((ref_284895 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
    ref_284909 = ref_271262 # MOV operation
    ref_284913 = ref_284232 # MOV operation
    ref_284915 = (ref_284913 & ref_284909) # AND operation
    ref_284922 = (~(ref_284915) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_284924 = ((ref_284922 + ref_284897) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_284932 = ((ref_284924 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_301549 = ref_142590 # MOV operation
    ref_317030 = ref_175986 # MOV operation
    ref_318737 = ref_301549 # MOV operation
    ref_318743 = ref_317030 # MOV operation
    ref_318745 = ref_318737 # MOV operation
    ref_318747 = (ref_318745 ^ ref_318743) # XOR operation
    ref_318766 = ref_301549 # MOV operation
    ref_318772 = ref_317030 # MOV operation
    ref_318774 = (ref_318772 & ref_318766) # AND operation
    ref_318781 = ((ref_318774 + ref_318774) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_318789 = ((ref_318781 + ref_318747) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_320385 = ref_318789 # MOV operation
    ref_320401 = ref_320385 # MOV operation
    ref_320405 = (ref_320401 >> (0x1 & 0x3F)) # SHR operation
    ref_320412 = ref_320405 # MOV operation
    ref_323006 = ref_320412 # MOV operation
    ref_323008 = ref_323006 # MOV operation
    ref_323010 = (~(ref_323008) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_323018 = (ref_323010 | 0xF) # OR operation
    ref_323037 = ref_320412 # MOV operation
    ref_323039 = ((ref_323037 + ref_323018) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_323047 = ((ref_323039 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_325060 = ref_323047 # MOV operation
    ref_325066 = ((0x0 + ((ref_325060 + ((0x1 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
    ref_325078 = ref_323047 # MOV operation
    ref_325084 = (0x1 & ref_325078) # AND operation
    ref_325091 = (~(ref_325084) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_325093 = ((ref_325091 + ref_325066) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_325101 = ((ref_325093 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_327489 = ref_325101 # MOV operation
    ref_327491 = (~(ref_327489) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_327493 = ((ref_327491 + 0x40) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_327501 = ((ref_327493 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_328558 = ref_284932 # MOV operation
    ref_328562 = ref_327501 # MOV operation
    ref_328564 = ref_328558 # MOV operation
    ref_328566 = (ref_328562 & 0xFFFFFFFF) # MOV operation
    ref_328568 = (ref_328564 >> ((ref_328566 & 0xFF) & 0x3F)) # SHR operation
    ref_328575 = ref_328568 # MOV operation
    ref_341703 = ref_63831 # MOV operation
    ref_354673 = ref_33310 # MOV operation
    ref_355324 = ref_354673 # MOV operation
    ref_355336 = ref_341703 # MOV operation
    ref_355338 = (~(ref_355336) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_355340 = (ref_355338 & ref_355324) # AND operation
    ref_355357 = ref_341703 # MOV operation
    ref_355359 = ((ref_355357 + ref_355340) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_371984 = ref_142590 # MOV operation
    ref_383802 = ref_175986 # MOV operation
    ref_385509 = ref_371984 # MOV operation
    ref_385515 = ref_383802 # MOV operation
    ref_385517 = ref_385509 # MOV operation
    ref_385519 = (ref_385517 ^ ref_385515) # XOR operation
    ref_385538 = ref_371984 # MOV operation
    ref_385544 = ref_383802 # MOV operation
    ref_385546 = (ref_385544 & ref_385538) # AND operation
    ref_385553 = ((ref_385546 + ref_385546) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_385561 = ((ref_385553 + ref_385519) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_387582 = ref_385561 # MOV operation
    ref_387588 = ref_387582 # MOV operation
    ref_387592 = (ref_387588 >> (0x1 & 0x3F)) # SHR operation
    ref_387599 = ref_387592 # MOV operation
    ref_389991 = ref_387599 # MOV operation
    ref_389993 = ref_389991 # MOV operation
    ref_389995 = (~(ref_389993) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_390003 = (ref_389995 | 0xF) # OR operation
    ref_390022 = ref_387599 # MOV operation
    ref_390024 = ((ref_390022 + ref_390003) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_390032 = ((ref_390024 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_391057 = ref_390032 # MOV operation
    ref_391073 = (0xFFFFFFFFFFFFFFFE & ref_391057) # AND operation
    ref_391092 = ((0x1 + ref_391073) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_392494 = ref_355359 # MOV operation
    ref_392500 = ref_391092 # MOV operation
    ref_392502 = ref_392494 # MOV operation
    ref_392504 = (ref_392500 & 0xFFFFFFFF) # MOV operation
    ref_392506 = ((ref_392502 << ((ref_392504 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_392513 = ref_392506 # MOV operation
    ref_393532 = ref_392513 # MOV operation
    ref_393544 = ref_328575 # MOV operation
    ref_393546 = (~(ref_393544) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_393548 = (ref_393546 & ref_393532) # AND operation
    ref_393565 = ref_328575 # MOV operation
    ref_393567 = ((ref_393565 + ref_393548) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_396295 = ref_393567 # MOV operation
    ref_398408 = ref_396295 # MOV operation
    ref_398410 = ref_398408 # MOV operation
    endb = ref_398410


else:
    ref_399310 = SymVar_0
    ref_399321 = ref_399310 # MOV operation
    ref_426098 = ref_399321 # MOV operation
    ref_428785 = ref_426098 # MOV operation
    ref_428793 = ref_428785 # MOV operation
    ref_428795 = (ref_428793 ^ 0x202EB6DC) # XOR operation
    ref_428814 = ref_426098 # MOV operation
    ref_428822 = (0x202EB6DC & ref_428814) # AND operation
    ref_428829 = ((ref_428822 + ref_428822) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_428837 = ((ref_428829 + ref_428795) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_431767 = ref_428837 # MOV operation
    ref_445727 = ref_399321 # MOV operation
    ref_447366 = ref_445727 # MOV operation
    ref_447384 = ((((0x0) << 64 | ref_447366) / ((((((((0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x0) << 8 | 0x7)) & 0xFFFFFFFFFFFFFFFF) # DIV operation
    ref_462288 = ref_447384 # MOV operation
    ref_475424 = ref_431767 # MOV operation
    ref_490365 = ref_399321 # MOV operation
    ref_491016 = ref_490365 # MOV operation
    ref_491018 = ref_491016 # MOV operation
    ref_491020 = (~(ref_491018) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_491032 = ref_475424 # MOV operation
    ref_491034 = (ref_491020 | ref_491032) # OR operation
    ref_491043 = ref_490365 # MOV operation
    ref_491045 = ((ref_491043 + ref_491034) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_491053 = ((ref_491045 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_504015 = ref_462288 # MOV operation
    ref_505869 = ref_504015 # MOV operation
    ref_505885 = ref_505869 # MOV operation
    ref_505889 = ((ref_505885 << (0xF & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_505896 = ref_505889 # MOV operation
    ref_522856 = ref_462288 # MOV operation
    ref_524086 = ref_522856 # MOV operation
    ref_524102 = ref_524086 # MOV operation
    ref_524106 = (ref_524102 >> (0x31 & 0x3F)) # SHR operation
    ref_524113 = ref_524106 # MOV operation
    ref_525132 = ref_505896 # MOV operation
    ref_525136 = ref_524113 # MOV operation
    ref_525138 = ((0x0 + ((ref_525132 + ((ref_525136 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
    ref_525150 = ref_505896 # MOV operation
    ref_525154 = ref_524113 # MOV operation
    ref_525156 = (ref_525154 & ref_525150) # AND operation
    ref_525163 = (~(ref_525156) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_525165 = ((ref_525163 + ref_525138) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_525173 = ((ref_525165 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_527036 = ref_491053 # MOV operation
    ref_527042 = ref_525173 # MOV operation
    ref_527044 = ref_527036 # MOV operation
    ref_527046 = (ref_527044 ^ ref_527042) # XOR operation
    ref_527065 = ref_491053 # MOV operation
    ref_527071 = ref_525173 # MOV operation
    ref_527073 = (ref_527071 & ref_527065) # AND operation
    ref_527080 = ((ref_527073 + ref_527073) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_527088 = ((ref_527080 + ref_527046) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_541047 = ref_527088 # MOV operation
    ref_568774 = ref_399321 # MOV operation
    ref_571461 = ref_568774 # MOV operation
    ref_571469 = ref_571461 # MOV operation
    ref_571471 = (ref_571469 ^ 0x1226A2A) # XOR operation
    ref_571490 = ref_568774 # MOV operation
    ref_571498 = (0x1226A2A & ref_571490) # AND operation
    ref_571505 = ((ref_571498 + ref_571498) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_571513 = ((ref_571505 + ref_571471) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_574443 = ref_571513 # MOV operation
    ref_670146 = ref_462288 # MOV operation
    ref_684475 = ref_574443 # MOV operation
    ref_685126 = ref_684475 # MOV operation
    ref_685138 = ref_670146 # MOV operation
    ref_685140 = (~(ref_685138) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_685142 = (ref_685140 & ref_685126) # AND operation
    ref_685159 = ref_670146 # MOV operation
    ref_685161 = ((ref_685159 + ref_685142) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_687559 = ref_685161 # MOV operation
    ref_687561 = ref_687559 # MOV operation
    ref_687563 = (~(ref_687561) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_687571 = (ref_687563 | 0x1F) # OR operation
    ref_687590 = ref_685161 # MOV operation
    ref_687592 = ((ref_687590 + ref_687571) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_687600 = ((ref_687592 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_690192 = ref_687600 # MOV operation
    ref_690200 = ref_690192 # MOV operation
    ref_690204 = ((ref_690200 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_690211 = ref_690204 # MOV operation
    ref_704908 = ref_541047 # MOV operation
    ref_705559 = ref_704908 # MOV operation
    ref_705571 = ref_690211 # MOV operation
    ref_705573 = (~(ref_705571) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_705575 = (ref_705573 & ref_705559) # AND operation
    ref_705592 = ref_690211 # MOV operation
    ref_705594 = ((ref_705592 + ref_705575) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_708322 = ref_705594 # MOV operation
    ref_708324 = ((ref_708322 >> 56) & 0xFF) # Byte reference - MOV operation
    ref_708325 = ((ref_708322 >> 48) & 0xFF) # Byte reference - MOV operation
    ref_708326 = ((ref_708322 >> 40) & 0xFF) # Byte reference - MOV operation
    ref_708327 = ((ref_708322 >> 32) & 0xFF) # Byte reference - MOV operation
    ref_708328 = ((ref_708322 >> 24) & 0xFF) # Byte reference - MOV operation
    ref_708329 = ((ref_708322 >> 16) & 0xFF) # Byte reference - MOV operation
    ref_708330 = ((ref_708322 >> 8) & 0xFF) # Byte reference - MOV operation
    ref_708331 = (ref_708322 & 0xFF) # Byte reference - MOV operation
    ref_727701 = ((ref_708326) << 8 | ref_708327) # MOVZX operation
    ref_731917 = (ref_727701 & 0xFFFF) # MOVZX operation
    ref_750979 = ((ref_708330) << 8 | ref_708331) # MOVZX operation
    ref_767367 = (ref_750979 & 0xFFFF) # MOVZX operation
    ref_767369 = (((ref_767367 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
    ref_767370 = ((ref_767367 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
    ref_792508 = (ref_731917 & 0xFFFF) # MOVZX operation
    ref_795045 = (ref_792508 & 0xFFFF) # MOVZX operation
    ref_795047 = (((ref_795045 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
    ref_795048 = ((ref_795045 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
    ref_818062 = ref_431767 # MOV operation
    ref_831032 = ((((((((ref_708324) << 8 | ref_708325) << 8 | ref_767369) << 8 | ref_767370) << 8 | ref_708328) << 8 | ref_708329) << 8 | ref_795047) << 8 | ref_795048) # MOV operation
    ref_833266 = ref_831032 # MOV operation
    ref_833268 = ref_833266 # MOV operation
    ref_833270 = (~(ref_833268) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_833278 = (ref_833270 | 0xF) # OR operation
    ref_833297 = ref_831032 # MOV operation
    ref_833299 = ((ref_833297 + ref_833278) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_833307 = ((ref_833299 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_835899 = ref_833307 # MOV operation
    ref_835907 = ref_835899 # MOV operation
    ref_835911 = ((ref_835907 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_835918 = ref_835911 # MOV operation
    ref_836945 = ref_818062 # MOV operation
    ref_836949 = ref_835918 # MOV operation
    ref_836951 = ((0x0 + ((ref_836945 + ((ref_836949 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
    ref_836963 = ref_818062 # MOV operation
    ref_836967 = ref_835918 # MOV operation
    ref_836969 = (ref_836967 & ref_836963) # AND operation
    ref_836976 = (~(ref_836969) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_836978 = ((ref_836976 + ref_836951) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_836986 = ((ref_836978 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_839706 = ref_836986 # MOV operation
    ref_867422 = ref_574443 # MOV operation
    ref_879240 = ref_574443 # MOV operation
    ref_881474 = ref_879240 # MOV operation
    ref_881476 = ref_881474 # MOV operation
    ref_881478 = (~(ref_881476) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_881486 = (ref_881478 | 0x1F) # OR operation
    ref_881505 = ref_879240 # MOV operation
    ref_881507 = ((ref_881505 + ref_881486) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_881515 = ((ref_881507 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_884107 = ref_881515 # MOV operation
    ref_884115 = ref_884107 # MOV operation
    ref_884119 = ((ref_884115 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_884126 = ref_884119 # MOV operation
    ref_885153 = ref_867422 # MOV operation
    ref_885157 = ref_884126 # MOV operation
    ref_885159 = ((0x0 + ((ref_885153 + ((ref_885157 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
    ref_885171 = ref_867422 # MOV operation
    ref_885175 = ref_884126 # MOV operation
    ref_885177 = (ref_885175 & ref_885171) # AND operation
    ref_885184 = (~(ref_885177) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_885186 = ((ref_885184 + ref_885159) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_885194 = ((ref_885186 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_887914 = ref_885194 # MOV operation
    ref_914235 = ref_839706 # MOV operation
    ref_927205 = ref_462288 # MOV operation
    ref_927864 = ref_914235 # MOV operation
    ref_927868 = ref_927205 # MOV operation
    ref_927870 = ((0x0 + ((ref_927864 + ((ref_927868 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
    ref_927882 = ref_914235 # MOV operation
    ref_927886 = ref_927205 # MOV operation
    ref_927888 = (ref_927886 & ref_927882) # AND operation
    ref_927895 = (~(ref_927888) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_927897 = ((ref_927895 + ref_927870) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_927905 = ((ref_927897 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_944522 = ((((((((ref_708324) << 8 | ref_708325) << 8 | ref_767369) << 8 | ref_767370) << 8 | ref_708328) << 8 | ref_708329) << 8 | ref_795047) << 8 | ref_795048) # MOV operation
    ref_960003 = ref_887914 # MOV operation
    ref_961710 = ref_944522 # MOV operation
    ref_961716 = ref_960003 # MOV operation
    ref_961718 = ref_961710 # MOV operation
    ref_961720 = (ref_961718 ^ ref_961716) # XOR operation
    ref_961739 = ref_944522 # MOV operation
    ref_961745 = ref_960003 # MOV operation
    ref_961747 = (ref_961745 & ref_961739) # AND operation
    ref_961754 = ((ref_961747 + ref_961747) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_961762 = ((ref_961754 + ref_961720) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_963358 = ref_961762 # MOV operation
    ref_963374 = ref_963358 # MOV operation
    ref_963378 = (ref_963374 >> (0x1 & 0x3F)) # SHR operation
    ref_963385 = ref_963378 # MOV operation
    ref_965979 = ref_963385 # MOV operation
    ref_965981 = ref_965979 # MOV operation
    ref_965983 = (~(ref_965981) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_965991 = (ref_965983 | 0xF) # OR operation
    ref_966010 = ref_963385 # MOV operation
    ref_966012 = ((ref_966010 + ref_965991) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_966020 = ((ref_966012 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_968033 = ref_966020 # MOV operation
    ref_968039 = ((0x0 + ((ref_968033 + ((0x1 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
    ref_968051 = ref_966020 # MOV operation
    ref_968057 = (0x1 & ref_968051) # AND operation
    ref_968064 = (~(ref_968057) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_968066 = ((ref_968064 + ref_968039) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_968074 = ((ref_968066 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_970462 = ref_968074 # MOV operation
    ref_970464 = (~(ref_970462) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_970466 = ((ref_970464 + 0x40) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_970474 = ((ref_970466 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_971531 = ref_927905 # MOV operation
    ref_971535 = ref_970474 # MOV operation
    ref_971537 = ref_971531 # MOV operation
    ref_971539 = (ref_971535 & 0xFFFFFFFF) # MOV operation
    ref_971541 = (ref_971537 >> ((ref_971539 & 0xFF) & 0x3F)) # SHR operation
    ref_971548 = ref_971541 # MOV operation
    ref_984676 = ref_462288 # MOV operation
    ref_997646 = ref_839706 # MOV operation
    ref_998297 = ref_997646 # MOV operation
    ref_998309 = ref_984676 # MOV operation
    ref_998311 = (~(ref_998309) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_998313 = (ref_998311 & ref_998297) # AND operation
    ref_998330 = ref_984676 # MOV operation
    ref_998332 = ((ref_998330 + ref_998313) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_1014957 = ((((((((ref_708324) << 8 | ref_708325) << 8 | ref_767369) << 8 | ref_767370) << 8 | ref_708328) << 8 | ref_708329) << 8 | ref_795047) << 8 | ref_795048) # MOV operation
    ref_1026775 = ref_887914 # MOV operation
    ref_1028482 = ref_1014957 # MOV operation
    ref_1028488 = ref_1026775 # MOV operation
    ref_1028490 = ref_1028482 # MOV operation
    ref_1028492 = (ref_1028490 ^ ref_1028488) # XOR operation
    ref_1028511 = ref_1014957 # MOV operation
    ref_1028517 = ref_1026775 # MOV operation
    ref_1028519 = (ref_1028517 & ref_1028511) # AND operation
    ref_1028526 = ((ref_1028519 + ref_1028519) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_1028534 = ((ref_1028526 + ref_1028492) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_1030555 = ref_1028534 # MOV operation
    ref_1030561 = ref_1030555 # MOV operation
    ref_1030565 = (ref_1030561 >> (0x1 & 0x3F)) # SHR operation
    ref_1030572 = ref_1030565 # MOV operation
    ref_1032964 = ref_1030572 # MOV operation
    ref_1032966 = ref_1032964 # MOV operation
    ref_1032968 = (~(ref_1032966) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_1032976 = (ref_1032968 | 0xF) # OR operation
    ref_1032995 = ref_1030572 # MOV operation
    ref_1032997 = ((ref_1032995 + ref_1032976) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_1033005 = ((ref_1032997 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_1034030 = ref_1033005 # MOV operation
    ref_1034046 = (0xFFFFFFFFFFFFFFFE & ref_1034030) # AND operation
    ref_1034065 = ((0x1 + ref_1034046) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_1035467 = ref_998332 # MOV operation
    ref_1035473 = ref_1034065 # MOV operation
    ref_1035475 = ref_1035467 # MOV operation
    ref_1035477 = (ref_1035473 & 0xFFFFFFFF) # MOV operation
    ref_1035479 = ((ref_1035475 << ((ref_1035477 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_1035486 = ref_1035479 # MOV operation
    ref_1036505 = ref_1035486 # MOV operation
    ref_1036517 = ref_971548 # MOV operation
    ref_1036519 = (~(ref_1036517) & 0xFFFFFFFFFFFFFFFF) # NOT operation
    ref_1036521 = (ref_1036519 & ref_1036505) # AND operation
    ref_1036538 = ref_971548 # MOV operation
    ref_1036540 = ((ref_1036538 + ref_1036521) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_1039268 = ref_1036540 # MOV operation
    ref_1041381 = ref_1039268 # MOV operation
    ref_1041383 = ref_1041381 # MOV operation
    endb = ref_1041383


print endb & 0xffffffffffffffff
