#!/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_263 = SymVar_0
ref_278 = ref_263 # MOV operation
ref_5500 = ref_278 # MOV operation
ref_5542 = ref_5500 # MOV operation
ref_5548 = (0x1D2C27F0 | ref_5542) # OR operation
ref_5585 = ref_5548 # MOV operation
ref_5599 = ((ref_5585 << (0x9 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_6023 = ref_278 # MOV operation
ref_6065 = ref_6023 # MOV operation
ref_6071 = (0x1D2C27F0 | ref_6065) # OR operation
ref_6118 = ref_6071 # MOV operation
ref_6126 = (ref_6118 >> (0x37 & 0x3F)) # SHR operation
ref_6133 = ref_6126 # MOV operation
ref_6165 = ref_5599 # MOV operation
ref_6177 = ref_6133 # MOV operation
ref_6179 = (ref_6177 | ref_6165) # OR operation
ref_6218 = ref_6179 # MOV operation
ref_7075 = ref_278 # MOV operation
ref_7451 = ref_6218 # MOV operation
ref_7475 = ref_7451 # MOV operation
ref_7483 = ((ref_7475 << (0xD & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_7490 = ref_7483 # MOV operation
ref_7850 = ref_6218 # MOV operation
ref_7900 = ref_7850 # MOV operation
ref_7914 = (ref_7900 >> (0x33 & 0x3F)) # SHR operation
ref_8051 = ref_7490 # MOV operation
ref_8055 = ref_7914 # MOV operation
ref_8057 = (ref_8055 | ref_8051) # OR operation
ref_8094 = ref_7075 # MOV operation
ref_8106 = ref_8057 # MOV operation
ref_8108 = (ref_8106 | ref_8094) # OR operation
ref_8147 = ref_8108 # MOV operation
ref_9002 = ref_278 # MOV operation
ref_9034 = ref_9002 # MOV operation
ref_9048 = ((0x6402BE2 + ref_9034) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9088 = ref_9048 # MOV operation
ref_9925 = ref_278 # MOV operation
ref_9967 = ref_9925 # MOV operation
ref_9973 = (0x3544223F | ref_9967) # OR operation
ref_10354 = ref_9088 # MOV operation
ref_10734 = ref_8147 # MOV operation
ref_10750 = ref_10354 # MOV operation
ref_10762 = ref_10734 # MOV operation
ref_10764 = (((sx(0x40, ref_10762) * sx(0x40, ref_10750)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_10796 = ref_10764 # MOV operation
ref_10798 = (((sx(0x40, ref_10796) * sx(0x40, 0x3BE31211)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_10932 = ref_9973 # MOV operation
ref_10936 = ref_10798 # MOV operation
ref_10938 = (((sx(0x40, ref_10936) * sx(0x40, ref_10932)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_10974 = ref_10938 # MOV operation
ref_11590 = ref_9088 # MOV operation
ref_12006 = ref_10974 # MOV operation
ref_12030 = ref_12006 # MOV operation
ref_12036 = (0x1F & ref_12030) # AND operation
ref_12059 = ref_12036 # MOV operation
ref_12073 = ((ref_12059 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_12210 = ref_11590 # MOV operation
ref_12214 = ref_12073 # MOV operation
ref_12216 = (ref_12214 | ref_12210) # OR operation
ref_12255 = ref_12216 # MOV operation
ref_12831 = ref_8147 # MOV operation
ref_12881 = ref_12831 # MOV operation
ref_12895 = (ref_12881 >> (0x1 & 0x3F)) # SHR operation
ref_13024 = ref_12895 # MOV operation
ref_13038 = (0xF & ref_13024) # AND operation
ref_13085 = ref_13038 # MOV operation
ref_13091 = (0x1 | ref_13085) # OR operation
ref_13476 = ref_6218 # MOV operation
ref_13500 = ref_13476 # MOV operation
ref_13504 = ref_13091 # MOV operation
ref_13506 = (ref_13504 & 0xFFFFFFFF) # MOV operation
ref_13508 = ((ref_13500 << ((ref_13506 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_13515 = ref_13508 # MOV operation
ref_13875 = ref_6218 # MOV operation
ref_14273 = ref_8147 # MOV operation
ref_14323 = ref_14273 # MOV operation
ref_14337 = (ref_14323 >> (0x1 & 0x3F)) # SHR operation
ref_14466 = ref_14337 # MOV operation
ref_14480 = (0xF & ref_14466) # AND operation
ref_14527 = ref_14480 # MOV operation
ref_14533 = (0x1 | ref_14527) # OR operation
ref_14584 = ref_14533 # MOV operation
ref_14586 = ((0x40 - ref_14584) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_14594 = ref_14586 # MOV operation
ref_14626 = ref_13875 # MOV operation
ref_14638 = ref_14594 # MOV operation
ref_14640 = (ref_14626 >> ((ref_14638 & 0xFF) & 0x3F)) # SHR operation
ref_14677 = ref_13515 # MOV operation
ref_14689 = ref_14640 # MOV operation
ref_14691 = (ref_14689 | ref_14677) # OR operation
ref_15076 = ref_12255 # MOV operation
ref_15474 = ref_10974 # MOV operation
ref_15524 = ref_15474 # MOV operation
ref_15538 = (ref_15524 >> (0x3 & 0x3F)) # SHR operation
ref_15667 = ref_15538 # MOV operation
ref_15681 = (0x7 & ref_15667) # AND operation
ref_15728 = ref_15681 # MOV operation
ref_15734 = (0x1 | ref_15728) # OR operation
ref_15771 = ref_15076 # MOV operation
ref_15783 = ref_15734 # MOV operation
ref_15785 = (ref_15771 >> ((ref_15783 & 0xFF) & 0x3F)) # SHR operation
ref_15816 = ref_14691 # MOV operation
ref_15828 = ref_15785 # MOV operation
ref_15830 = ((ref_15816 - ref_15828) & 0xFFFFFFFFFFFFFFFF) # CMP operation
ref_15832 = ((((ref_15816 ^ (ref_15828 ^ ref_15830)) ^ ((ref_15816 ^ ref_15830) & (ref_15816 ^ ref_15828))) >> 63) & 0x1) # Carry flag
ref_15836 = (0x1 if (ref_15830 == 0x0) else 0x0) # Zero flag
ref_15838 = ((((ref_15828 >> 8) & 0xFFFFFFFFFFFFFF)) << 8 | (0x1 if ((ref_15832 | ref_15836) == 0x1) else 0x0)) # SETBE operation
ref_15840 = (ref_15838 & 0xFF) # MOVZX operation
ref_15858 = (ref_15840 & 0xFFFFFFFF) # MOV operation
ref_15860 = ((ref_15858 & 0xFFFFFFFF) & (ref_15858 & 0xFFFFFFFF)) # TEST operation
ref_15865 = (0x1 if (ref_15860 == 0x0) else 0x0) # Zero flag
ref_15867 = (0x1FD6 if (ref_15865 == 0x1) else 0x1FB4) # Program Counter


if (ref_15865 == 0x1):
    ref_263 = SymVar_0
    ref_278 = ref_263 # MOV operation
    ref_5500 = ref_278 # MOV operation
    ref_5542 = ref_5500 # MOV operation
    ref_5548 = (0x1D2C27F0 | ref_5542) # OR operation
    ref_5585 = ref_5548 # MOV operation
    ref_5599 = ((ref_5585 << (0x9 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_6023 = ref_278 # MOV operation
    ref_6065 = ref_6023 # MOV operation
    ref_6071 = (0x1D2C27F0 | ref_6065) # OR operation
    ref_6118 = ref_6071 # MOV operation
    ref_6126 = (ref_6118 >> (0x37 & 0x3F)) # SHR operation
    ref_6133 = ref_6126 # MOV operation
    ref_6165 = ref_5599 # MOV operation
    ref_6177 = ref_6133 # MOV operation
    ref_6179 = (ref_6177 | ref_6165) # OR operation
    ref_6218 = ref_6179 # MOV operation
    ref_7075 = ref_278 # MOV operation
    ref_7451 = ref_6218 # MOV operation
    ref_7475 = ref_7451 # MOV operation
    ref_7483 = ((ref_7475 << (0xD & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_7490 = ref_7483 # MOV operation
    ref_7850 = ref_6218 # MOV operation
    ref_7900 = ref_7850 # MOV operation
    ref_7914 = (ref_7900 >> (0x33 & 0x3F)) # SHR operation
    ref_8051 = ref_7490 # MOV operation
    ref_8055 = ref_7914 # MOV operation
    ref_8057 = (ref_8055 | ref_8051) # OR operation
    ref_8094 = ref_7075 # MOV operation
    ref_8106 = ref_8057 # MOV operation
    ref_8108 = (ref_8106 | ref_8094) # OR operation
    ref_8147 = ref_8108 # MOV operation
    ref_9002 = ref_278 # MOV operation
    ref_9034 = ref_9002 # MOV operation
    ref_9048 = ((0x6402BE2 + ref_9034) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_9088 = ref_9048 # MOV operation
    ref_9925 = ref_278 # MOV operation
    ref_9967 = ref_9925 # MOV operation
    ref_9973 = (0x3544223F | ref_9967) # OR operation
    ref_10354 = ref_9088 # MOV operation
    ref_10734 = ref_8147 # MOV operation
    ref_10750 = ref_10354 # MOV operation
    ref_10762 = ref_10734 # MOV operation
    ref_10764 = (((sx(0x40, ref_10762) * sx(0x40, ref_10750)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_10796 = ref_10764 # MOV operation
    ref_10798 = (((sx(0x40, ref_10796) * sx(0x40, 0x3BE31211)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_10932 = ref_9973 # MOV operation
    ref_10936 = ref_10798 # MOV operation
    ref_10938 = (((sx(0x40, ref_10936) * sx(0x40, ref_10932)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_10974 = ref_10938 # MOV operation
    ref_11590 = ref_9088 # MOV operation
    ref_12006 = ref_10974 # MOV operation
    ref_12030 = ref_12006 # MOV operation
    ref_12036 = (0x1F & ref_12030) # AND operation
    ref_12059 = ref_12036 # MOV operation
    ref_12073 = ((ref_12059 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_12210 = ref_11590 # MOV operation
    ref_12214 = ref_12073 # MOV operation
    ref_12216 = (ref_12214 | ref_12210) # OR operation
    ref_12255 = ref_12216 # MOV operation
    ref_16680 = ref_8147 # MOV operation
    ref_17096 = ref_8147 # MOV operation
    ref_17120 = ref_17096 # MOV operation
    ref_17126 = (0xF & ref_17120) # AND operation
    ref_17149 = ref_17126 # MOV operation
    ref_17163 = ((ref_17149 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_17300 = ref_16680 # MOV operation
    ref_17304 = ref_17163 # MOV operation
    ref_17306 = (ref_17304 | ref_17300) # OR operation
    ref_17345 = ref_17306 # MOV operation
    ref_18309 = ref_17345 # MOV operation
    ref_18359 = ref_18309 # MOV operation
    ref_18373 = (ref_18359 >> (0x3 & 0x3F)) # SHR operation
    ref_18502 = ref_18373 # MOV operation
    ref_18516 = (0xF & ref_18502) # AND operation
    ref_18563 = ref_18516 # MOV operation
    ref_18569 = (0x1 | ref_18563) # OR operation
    ref_18954 = ref_6218 # MOV operation
    ref_18978 = ref_18954 # MOV operation
    ref_18982 = ref_18569 # MOV operation
    ref_18984 = (ref_18982 & 0xFFFFFFFF) # MOV operation
    ref_18986 = ((ref_18978 << ((ref_18984 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_18993 = ref_18986 # MOV operation
    ref_19353 = ref_6218 # MOV operation
    ref_19751 = ref_17345 # MOV operation
    ref_19801 = ref_19751 # MOV operation
    ref_19815 = (ref_19801 >> (0x3 & 0x3F)) # SHR operation
    ref_19944 = ref_19815 # MOV operation
    ref_19958 = (0xF & ref_19944) # AND operation
    ref_20005 = ref_19958 # MOV operation
    ref_20011 = (0x1 | ref_20005) # OR operation
    ref_20062 = ref_20011 # MOV operation
    ref_20064 = ((0x40 - ref_20062) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_20072 = ref_20064 # MOV operation
    ref_20104 = ref_19353 # MOV operation
    ref_20116 = ref_20072 # MOV operation
    ref_20118 = (ref_20104 >> ((ref_20116 & 0xFF) & 0x3F)) # SHR operation
    ref_20155 = ref_18993 # MOV operation
    ref_20167 = ref_20118 # MOV operation
    ref_20169 = (ref_20167 | ref_20155) # OR operation
    ref_20554 = ref_12255 # MOV operation
    ref_20952 = ref_10974 # MOV operation
    ref_20976 = ref_20952 # MOV operation
    ref_20982 = ((0x369A4780 + ref_20976) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_21014 = ref_20554 # MOV operation
    ref_21018 = ref_20982 # MOV operation
    ref_21020 = (((sx(0x40, ref_21018) * sx(0x40, ref_21014)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_21154 = ref_20169 # MOV operation
    ref_21158 = ref_21020 # MOV operation
    ref_21160 = (((sx(0x40, ref_21158) * sx(0x40, ref_21154)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_21196 = ref_21160 # MOV operation
    ref_21423 = ref_21196 # MOV operation
    ref_21425 = ref_21423 # MOV operation
    endb = ref_21425


else:
    ref_21745 = SymVar_0
    ref_21760 = ref_21745 # MOV operation
    ref_26987 = ref_21760 # MOV operation
    ref_27029 = ref_26987 # MOV operation
    ref_27035 = (0x1D2C27F0 | ref_27029) # OR operation
    ref_27072 = ref_27035 # MOV operation
    ref_27086 = ((ref_27072 << (0x9 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_27510 = ref_21760 # MOV operation
    ref_27552 = ref_27510 # MOV operation
    ref_27558 = (0x1D2C27F0 | ref_27552) # OR operation
    ref_27605 = ref_27558 # MOV operation
    ref_27613 = (ref_27605 >> (0x37 & 0x3F)) # SHR operation
    ref_27620 = ref_27613 # MOV operation
    ref_27652 = ref_27086 # MOV operation
    ref_27664 = ref_27620 # MOV operation
    ref_27666 = (ref_27664 | ref_27652) # OR operation
    ref_27705 = ref_27666 # MOV operation
    ref_28562 = ref_21760 # MOV operation
    ref_28938 = ref_27705 # MOV operation
    ref_28962 = ref_28938 # MOV operation
    ref_28970 = ((ref_28962 << (0xD & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_28977 = ref_28970 # MOV operation
    ref_29337 = ref_27705 # MOV operation
    ref_29387 = ref_29337 # MOV operation
    ref_29401 = (ref_29387 >> (0x33 & 0x3F)) # SHR operation
    ref_29538 = ref_28977 # MOV operation
    ref_29542 = ref_29401 # MOV operation
    ref_29544 = (ref_29542 | ref_29538) # OR operation
    ref_29581 = ref_28562 # MOV operation
    ref_29593 = ref_29544 # MOV operation
    ref_29595 = (ref_29593 | ref_29581) # OR operation
    ref_29634 = ref_29595 # MOV operation
    ref_29636 = ((ref_29634 >> 56) & 0xFF) # Byte reference - MOV operation
    ref_29637 = ((ref_29634 >> 48) & 0xFF) # Byte reference - MOV operation
    ref_29638 = ((ref_29634 >> 40) & 0xFF) # Byte reference - MOV operation
    ref_29639 = ((ref_29634 >> 32) & 0xFF) # Byte reference - MOV operation
    ref_29640 = ((ref_29634 >> 24) & 0xFF) # Byte reference - MOV operation
    ref_29641 = ((ref_29634 >> 16) & 0xFF) # Byte reference - MOV operation
    ref_29642 = ((ref_29634 >> 8) & 0xFF) # Byte reference - MOV operation
    ref_29643 = (ref_29634 & 0xFF) # Byte reference - MOV operation
    ref_30489 = ref_21760 # MOV operation
    ref_30521 = ref_30489 # MOV operation
    ref_30535 = ((0x6402BE2 + ref_30521) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_30575 = ref_30535 # MOV operation
    ref_31412 = ref_21760 # MOV operation
    ref_31454 = ref_31412 # MOV operation
    ref_31460 = (0x3544223F | ref_31454) # OR operation
    ref_31841 = ref_30575 # MOV operation
    ref_32221 = ref_29634 # MOV operation
    ref_32237 = ref_31841 # MOV operation
    ref_32249 = ref_32221 # MOV operation
    ref_32251 = (((sx(0x40, ref_32249) * sx(0x40, ref_32237)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_32283 = ref_32251 # MOV operation
    ref_32285 = (((sx(0x40, ref_32283) * sx(0x40, 0x3BE31211)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_32419 = ref_31460 # MOV operation
    ref_32423 = ref_32285 # MOV operation
    ref_32425 = (((sx(0x40, ref_32423) * sx(0x40, ref_32419)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_32461 = ref_32425 # MOV operation
    ref_33077 = ref_30575 # MOV operation
    ref_33493 = ref_32461 # MOV operation
    ref_33517 = ref_33493 # MOV operation
    ref_33523 = (0x1F & ref_33517) # AND operation
    ref_33546 = ref_33523 # MOV operation
    ref_33560 = ((ref_33546 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_33697 = ref_33077 # MOV operation
    ref_33701 = ref_33560 # MOV operation
    ref_33703 = (ref_33701 | ref_33697) # OR operation
    ref_33742 = ref_33703 # MOV operation
    ref_38108 = ref_32461 # MOV operation
    ref_38132 = ref_38108 # MOV operation
    ref_38140 = ((((0x0) << 64 | ref_38132) / 0x8) & 0xFFFFFFFFFFFFFFFF) # DIV operation
    ref_38167 = ref_38140 # MOV operation
    ref_38169 = ((ref_38167 >> 56) & 0xFF) # Byte reference - MOV operation
    ref_38170 = ((ref_38167 >> 48) & 0xFF) # Byte reference - MOV operation
    ref_38171 = ((ref_38167 >> 40) & 0xFF) # Byte reference - MOV operation
    ref_38172 = ((ref_38167 >> 32) & 0xFF) # Byte reference - MOV operation
    ref_38173 = ((ref_38167 >> 24) & 0xFF) # Byte reference - MOV operation
    ref_38174 = ((ref_38167 >> 16) & 0xFF) # Byte reference - MOV operation
    ref_38175 = ((ref_38167 >> 8) & 0xFF) # Byte reference - MOV operation
    ref_38176 = (ref_38167 & 0xFF) # Byte reference - MOV operation
    ref_38807 = ref_29641 # MOVZX operation
    ref_38941 = (ref_38807 & 0xFF) # MOVZX operation
    ref_39425 = ref_29638 # MOVZX operation
    ref_40045 = (ref_39425 & 0xFF) # MOVZX operation
    ref_40047 = (ref_40045 & 0xFF) # Byte reference - MOV operation
    ref_40201 = (ref_38941 & 0xFF) # MOVZX operation
    ref_40735 = (ref_40201 & 0xFF) # MOVZX operation
    ref_40737 = (ref_40735 & 0xFF) # Byte reference - MOV operation
    ref_41367 = ref_29636 # MOVZX operation
    ref_41501 = (ref_41367 & 0xFF) # MOVZX operation
    ref_41985 = ref_29643 # MOVZX operation
    ref_42605 = (ref_41985 & 0xFF) # MOVZX operation
    ref_42607 = (ref_42605 & 0xFF) # Byte reference - MOV operation
    ref_42761 = (ref_41501 & 0xFF) # MOVZX operation
    ref_43295 = (ref_42761 & 0xFF) # MOVZX operation
    ref_43297 = (ref_43295 & 0xFF) # Byte reference - MOV operation
    ref_43927 = ref_38172 # MOVZX operation
    ref_44061 = (ref_43927 & 0xFF) # MOVZX operation
    ref_44545 = ref_38176 # MOVZX operation
    ref_45165 = (ref_44545 & 0xFF) # MOVZX operation
    ref_45167 = (ref_45165 & 0xFF) # Byte reference - MOV operation
    ref_45321 = (ref_44061 & 0xFF) # MOVZX operation
    ref_45855 = (ref_45321 & 0xFF) # MOVZX operation
    ref_45857 = (ref_45855 & 0xFF) # Byte reference - MOV operation
    ref_46831 = ((((((((ref_42607) << 8 | ref_29637) << 8 | ref_40737) << 8 | ref_29639) << 8 | ref_29640) << 8 | ref_40047) << 8 | ref_29642) << 8 | ref_43297) # MOV operation
    ref_46881 = ref_46831 # MOV operation
    ref_46895 = (ref_46881 >> (0x3 & 0x3F)) # SHR operation
    ref_47024 = ref_46895 # MOV operation
    ref_47038 = (0xF & ref_47024) # AND operation
    ref_47085 = ref_47038 # MOV operation
    ref_47091 = (0x1 | ref_47085) # OR operation
    ref_47476 = ((((((((ref_38169) << 8 | ref_38170) << 8 | ref_38171) << 8 | ref_45167) << 8 | ref_38173) << 8 | ref_38174) << 8 | ref_38175) << 8 | ref_45857) # MOV operation
    ref_47500 = ref_47476 # MOV operation
    ref_47504 = ref_47091 # MOV operation
    ref_47506 = (ref_47504 & 0xFFFFFFFF) # MOV operation
    ref_47508 = ((ref_47500 << ((ref_47506 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_47515 = ref_47508 # MOV operation
    ref_47875 = ((((((((ref_38169) << 8 | ref_38170) << 8 | ref_38171) << 8 | ref_45167) << 8 | ref_38173) << 8 | ref_38174) << 8 | ref_38175) << 8 | ref_45857) # MOV operation
    ref_48273 = ((((((((ref_42607) << 8 | ref_29637) << 8 | ref_40737) << 8 | ref_29639) << 8 | ref_29640) << 8 | ref_40047) << 8 | ref_29642) << 8 | ref_43297) # MOV operation
    ref_48323 = ref_48273 # MOV operation
    ref_48337 = (ref_48323 >> (0x3 & 0x3F)) # SHR operation
    ref_48466 = ref_48337 # MOV operation
    ref_48480 = (0xF & ref_48466) # AND operation
    ref_48527 = ref_48480 # MOV operation
    ref_48533 = (0x1 | ref_48527) # OR operation
    ref_48584 = ref_48533 # MOV operation
    ref_48586 = ((0x40 - ref_48584) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_48594 = ref_48586 # MOV operation
    ref_48626 = ref_47875 # MOV operation
    ref_48638 = ref_48594 # MOV operation
    ref_48640 = (ref_48626 >> ((ref_48638 & 0xFF) & 0x3F)) # SHR operation
    ref_48677 = ref_47515 # MOV operation
    ref_48689 = ref_48640 # MOV operation
    ref_48691 = (ref_48689 | ref_48677) # OR operation
    ref_49076 = ref_33742 # MOV operation
    ref_49474 = ref_32461 # MOV operation
    ref_49498 = ref_49474 # MOV operation
    ref_49504 = ((0x369A4780 + ref_49498) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_49536 = ref_49076 # MOV operation
    ref_49540 = ref_49504 # MOV operation
    ref_49542 = (((sx(0x40, ref_49540) * sx(0x40, ref_49536)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_49676 = ref_48691 # MOV operation
    ref_49680 = ref_49542 # MOV operation
    ref_49682 = (((sx(0x40, ref_49680) * sx(0x40, ref_49676)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_49718 = ref_49682 # MOV operation
    ref_49945 = ref_49718 # MOV operation
    ref_49947 = ref_49945 # MOV operation
    endb = ref_49947


print endb & 0xffffffffffffffff
