text
stringlengths
4
256k
label
stringclasses
104 values
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) int32_t putchar(int32_t c): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"AWAVATSHh"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(r15) 0x1182 1 push(r14) 0x1184 2 push(r12) 0x1186 3 push(rbx) 0x1187 4 rsp = rsp - 0x268 0x118e 5 r15d = 0 0x1191 6 r14 = rsp + 0x1a0 {var_e8} 0x1199 7 rdi = r14 {var_e8} 0x119c 8 eax = 0 0x119e 9 call(0x1050) 0x11a3 10 rdi = r14 {var_e8} 0x11a6 11 call(0x1040) 0x11ab 12 r14 = rax 0x11b1 13 if (r14d s<= 0) then 14 @ 0x11c8 else 18 @ 0x11b3 0x11c8 14 rax = sx.q(r14d) 0x11cb 15 [rsp + rax + 1].b = 0x20 {"@"} 0x11d0 16 [rsp {var_288}].b = 0x20 {"@"} 0x11d8 17 if (r14d s< -1) then 23 @ 0x1215 else 24 @ 0x11da 0x11b3 18 rdi = rsp + 1 {var_287} 0x11b8 19 edx = r14d 0x11bb 20 rsi = rsp + 0x1a0 {var_e8} 0x11c3 21 call(0x1030) 0x11c3 22 goto 14 @ 0x11c8 0x1215 23 if (r15d != 2) then 30 @ 0x122b else 34 @ 0x1217 0x11da 24 rax = rax + 1 0x11de 25 rax = sx.q(eax) 0x11e0 26 ecx = (r14 + 1).d 0x11e4 27 rax = rax + 1 0x11e8 28 r15d = 0 0x11eb 29 goto 38 @ 0x11fe 0x122b 30 ecx = sx.d([rsp + 0xd2 {var_1b6}].b) 0x1233 31 eax = sx.d([rsp + 0xd1 {var_1b7}].b) 0x123b 32 edx = (rcx + 1).d 0x1240 33 if (edx s>= eax) then 39 @ 0x1266 else 40 @ 0x1242 0x1217 34 rdi = rsp + 0x1a0 {var_e8} 0x121f 35 eax = 0 0x1221 36 call(0x1060) 0x1226 37 goto 44 @ 0x12b4 0x11fe 38 if ([rsp + rax - 1].b != 0x20) then 50 @ 0x11f0 else 54 @ 0x1200 0x1266 39 if (r15d s< 3) then 44 @ 0x12b4 else 58 @ 0x1268 0x1242 40 rbx = sx.q(ecx) 0x1245 41 r14 = sx.q(eax) 0x1248 42 rbx = rbx + 1 0x124c 43 goto 61 @ 0x1250 0x12b4 44 rsp = rsp + 0x268 0x12bb 45 rbx = pop 0x12bc 46 r12 = pop 0x12be 47 r14 = pop 0x12c0 48 r15 = pop 0x12c2 49 <return> jump(pop) 0x11f0 50 cl = cl - 1 0x11f3 51 temp0.q = rax 0x11f3 52 rax = rax - 1 0x11f7 53 if (temp0.q s<= 1) then 23 @ 0x1215 else 38 @ 0x11fe 0x1200 54 r15 = sx.q(r15d) 0x1203 55 [rsp + r15 + 0xd1].b = cl 0x120b 56 r15 = r15 + 1 0x120f 57 goto 50 @ 0x11f0 0x1268 58 r14d = r15d 0x126b 59 r15d = 2 0x1271 60 goto 65 @ 0x1285 0x1250 61 edi = sx.d([rsp + rbx].b) 0x1254 62 call(0x1070) 0x1259 63 rbx = rbx + 1 0x1260 64 if (r14 != rbx) then 61 @ 0x1250 else 39 @ 0x1266 0x1285 65 rbx = sx.q([rsp + r15 + 0xd1].b) 0x128e 66 r12 = sx.q([rsp + r15 + 0xd0].b) 0x1297 67 r15 = r15 + 1 0x129e 68 if (bl s>= r12b) then 69 @ 0x1283 else 70 @ 0x12a0 0x1283 69 if (r15 == r14) then 44 @ 0x12b4 else 65 @ 0x1285 0x12a0 70 edi = sx.d([rsp + rbx].b) 0x12a4 71 call(0x1070) 0x12a9 72 rbx = rbx + 1 0x12b0 73 if (r12 != rbx) then 70 @ 0x12a0 else 74 @ 0x12b2 0x12b2 74 goto 69 @ 0x1283 int64_t _fini(): 0x12c8 0 rsp = rsp - 8 0x12cc 1 rsp = rsp + 8 0x12d0 2 <return> jump(pop)
POJ_23
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHHpH="} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0x70 0x1178 3 rdi = 0x2004 {"%d\n"} 0x117f 4 rsi = rbp - 4 {var_c} 0x1183 5 al = 0 0x1185 6 call(0x1040) 0x118a 7 [rbp - 8 {var_10}].d = 0 0x118a 8 goto 9 @ 0x1191 0x1191 9 eax = [rbp - 8 {var_10}].d 0x1197 10 if (eax s>= [rbp - 4 {var_c}].d) then 11 @ 0x1233 else 14 @ 0x119d 0x1233 11 rsp = rsp + 0x70 0x1237 12 rbp = pop 0x1238 13 <return> jump(pop) 0x119d 14 rdi = rbp - 0x70 {var_78} 0x11a1 15 al = 0 0x11a3 16 call(0x1050) 0x11a8 17 rdi = rbp - 0x70 {var_78} 0x11ac 18 call(0x1030) 0x11b1 19 [rbp - 0xc {var_14_1}].d = eax 0x11b4 20 eax = [rbp - 0xc {var_14_1}].d 0x11b7 21 eax = eax - 1 0x11ba 22 [rbp - 0xc {var_14_2}].d = eax 0x11bd 23 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x11c1 24 eax = sx.d([rbp + rax - 0x70].b) 0x11c9 25 if (eax != 0x72) then 26 @ 0x11dc else 29 @ 0x11cf 0x11dc 26 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x11e0 27 eax = sx.d([rbp + rax - 0x70].b) 0x11e8 28 if (eax != 0x79) then 34 @ 0x11fb else 37 @ 0x11ee 0x11cf 29 eax = [rbp - 0xc {var_14_2}].d 0x11d2 30 eax = eax - 1 0x11d5 31 rax = sx.q(eax) 0x11d7 32 [rbp + rax - 0x70].b = 0 0x11d7 33 goto 26 @ 0x11dc 0x11fb 34 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x11ff 35 eax = sx.d([rbp + rax - 0x70].b) 0x1207 36 if (eax != 0x67) then 42 @ 0x121a else 49 @ 0x120d 0x11ee 37 eax = [rbp - 0xc {var_14_2}].d 0x11f1 38 eax = eax - 1 0x11f4 39 rax = sx.q(eax) 0x11f6 40 [rbp + rax - 0x70].b = 0 0x11f6 41 goto 34 @ 0x11fb 0x121a 42 rdi = rbp - 0x70 {var_78} 0x121e 43 al = 0 0x1220 44 call(0x1060) 0x1225 45 eax = [rbp - 8 {var_10}].d 0x1228 46 eax = eax + 1 0x122b 47 [rbp - 8 {var_10}].d = eax 0x122e 48 goto 9 @ 0x1191 0x120d 49 eax = [rbp - 0xc {var_14_2}].d 0x1210 50 eax = eax - 2 0x1213 51 rax = sx.q(eax) 0x1215 52 [rbp + rax - 0x70].b = 0 0x1215 53 goto 42 @ 0x121a int64_t _fini(): 0x1240 0 rsp = rsp - 8 0x1244 1 rsp = rsp + 8 0x1248 2 <return> jump(pop)
POJ_57
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHX"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x9c58 0x1161 7 rdi = 0x2007 {"%d"} 0x1168 8 rsi = rsp + 8 {var_9c80} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1174 11 temp0.d = [rsp + 8 {var_9c80}].d 0x1174 12 [rsp + 8 {var_9c80}].d = [rsp + 8 {var_9c80}].d - 1 0x1179 13 if (temp0.d u>= 1) then 14 @ 0x118d else 17 @ 0x117b 0x118d 14 rbx = 0x2007 {"%d"} 0x1194 15 r13 = 0x200a {"%d\n"} 0x119b 16 goto 25 @ 0x11b1 0x117b 17 rsp = rsp + 0x9c58 0x1182 18 rbx = pop 0x1183 19 r12 = pop 0x1185 20 r13 = pop 0x1187 21 r14 = pop 0x1189 22 r15 = pop 0x118b 23 rbp = pop 0x118c 24 <return> jump(pop) 0x11b1 25 rdi = 0x2004 {"%d %d"} 0x11b8 26 rsi = rsp + 0xc {var_9c7c} 0x11bd 27 rdx = rsp + 4 {var_9c84} 0x11c2 28 eax = 0 0x11c4 29 call(0x1040) 0x11c9 30 ecx = [rsp + 0xc {var_9c7c}].d 0x11cf 31 if (ecx s<= 0) then 32 @ 0x12b0 else 34 @ 0x11d5 0x12b0 32 esi = 0 0x12b2 33 goto 38 @ 0x12d0 0x11d5 34 eax = [rsp + 4 {var_9c84}].d 0x11d9 35 r14 = rsp + 0x10 {var_9c78} 0x11de 36 r15d = 0 0x11e1 37 goto 40 @ 0x1205 0x12d0 38 eax = [rsp + 4 {var_9c84}].d 0x12d7 39 if (eax s< 3) then 41 @ 0x11a0 else 47 @ 0x12dd 0x1205 40 if (eax s<= 0) then 53 @ 0x11f0 else 57 @ 0x1207 0x11a0 41 rdi = r13 0x11a3 42 eax = 0 0x11a5 43 call(0x1030) 0x11aa 44 temp1.d = [rsp + 8 {var_9c80}].d 0x11aa 45 [rsp + 8 {var_9c80}].d = [rsp + 8 {var_9c80}].d - 1 0x11af 46 if (temp1.d u< 1) then 17 @ 0x117b else 25 @ 0x11b1 0x12dd 47 eax = eax - 1 0x12e0 48 ecx = ecx - 1 0x12e3 49 r8 = sx.q(ecx) 0x12e6 50 r9 = rax - 1 0x12ea 51 edx = 1 0x12f3 52 if (r9 u< 8) then 60 @ 0x1402 else 65 @ 0x12f9 0x11f0 53 r15 = r15 + 1 0x11f4 54 rdx = sx.q(ecx) 0x11f7 55 r14 = r14 + 0x190 0x1201 56 if (r15 s>= rdx) then 73 @ 0x1243 else 40 @ 0x1205 0x1207 57 rbp = r14 0x120a 58 r12d = 0 0x120d 59 goto 74 @ 0x1210 0x1402 60 rcx = rsp + (rdx << 2) 0x1406 61 rcx = rcx + 0x10 0x140a 62 rdi = r8 * 0x190 0x1411 63 rax = rax - rdx 0x141e 64 goto 82 @ 0x1420 0x12f9 65 rdx = r9 0x12fc 66 rdx = rdx & 0xfffffffffffffff8 0x1300 67 xmm0 = esi 0x1304 68 rsi = rdx - 8 0x1308 69 rcx = rsi 0x130b 70 rcx = rcx u>> 3 0x130f 71 rcx = rcx + 1 0x1316 72 if (rsi == 0) then 88 @ 0x1434 else 91 @ 0x131c 0x1243 73 if (ecx s<= 1) then 99 @ 0x12c0 else 101 @ 0x1245 0x1210 74 rdi = rbx 0x1213 75 rsi = rbp 0x1216 76 eax = 0 0x1218 77 call(0x1040) 0x121d 78 r12 = r12 + 1 0x1221 79 rax = sx.q([rsp + 4 {var_9c84}].d) 0x1226 80 rbp = rbp + 4 0x122d 81 if (r12 s< rax) then 74 @ 0x1210 else 112 @ 0x122f 0x1420 82 esi = esi + [rcx].d 0x1422 83 esi = esi + [rcx + rdi].d 0x1425 84 rcx = rcx + 4 0x1429 85 temp2.q = rax 0x1429 86 rax = rax - 1 0x142d 87 if (temp2.q != 1) then 82 @ 0x1420 else 114 @ 0x142f 0x1434 88 xmm1 = 0 0x1438 89 esi = 0 0x143d 90 if ((cl & 1) != 0) then 115 @ 0x139e else 129 @ 0x1443 0x131c 91 rbp = rcx 0x131f 92 rbp = rbp & 0xfffffffffffffffe 0x1323 93 rdi = r8 * 0x190 0x132a 94 rsi = rsp + 0x44 {var_9c44} 0x132f 95 rdi = rdi + rsi 0x1332 96 xmm1 = 0 0x1336 97 esi = 0 0x1338 98 goto 130 @ 0x1340 0x12c0 99 esi = 0 0x12c5 100 if (ecx != 1) then 38 @ 0x12d0 else 150 @ 0x12c7 0x1245 101 rax = sx.q([rsp + 4 {var_9c84}].d) 0x124a 102 r8d = ecx 0x124d 103 rdx = rsp + 0xc {var_9c7c} 0x1252 104 rbp = rdx + (rax << 2) 0x1256 105 rax = rax - 1 0x125a 106 rdx = r8 0x125d 107 rdx = rdx u>> 1 0x1260 108 rdx = rdx * 0x320 0x1267 109 edi = 0 0x1269 110 esi = 0 0x126b 111 goto 152 @ 0x1270 0x122f 112 ecx = [rsp + 0xc {var_9c7c}].d 0x1233 113 goto 53 @ 0x11f0 0x142f 114 goto 41 @ 0x11a0 0x139e 115 rsi = rsi << 2 0x13a2 116 rsi = rsi | 4 0x13a6 117 xmm2 = [rsp + rsi + 0x10].o 0x13ac 118 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x13b0 119 xmm3 = [rsp + rsi + 0x20].o 0x13b6 120 xmm3 = _mm_add_epi32(xmm3, xmm1) 0x13ba 121 rcx = r8 * 0x190 0x13c1 122 rcx = rcx + rsp 0x13c4 123 rcx = rcx + 0x10 0x13c8 124 xmm0 = [rsi + rcx].o 0x13cd 125 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x13d1 126 xmm1 = [rsi + rcx + 0x10].o 0x13d7 127 xmm1 = _mm_add_epi32(xmm1, xmm3) 0x13d7 128 goto 158 @ 0x13db 0x1443 129 goto 158 @ 0x13db 0x1340 130 xmm2 = [rsp + (rsi << 2) + 0x14].o 0x1346 131 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x134a 132 xmm0 = [rsp + (rsi << 2) + 0x24].o 0x1350 133 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1354 134 xmm1 = [rsp + (rsi << 2) + 0x34].o 0x135a 135 xmm3 = [rsp + (rsi << 2) + 0x44].o 0x1360 136 xmm4 = [rdi + (rsi << 2) - 0x30].o 0x1366 137 xmm4 = _mm_add_epi32(xmm4, xmm1) 0x136a 138 xmm4 = _mm_add_epi32(xmm4, xmm2) 0x136e 139 xmm2 = [rdi + (rsi << 2) - 0x20].o 0x1374 140 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x1378 141 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x137c 142 xmm0 = [rdi + (rsi << 2) - 0x10].o 0x1382 143 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1386 144 xmm1 = [rdi + (rsi << 2)].o 0x138b 145 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x138f 146 rsi = rsi + 0x10 0x1393 147 temp3.q = rbp 0x1393 148 rbp = rbp - 2 0x1397 149 if (temp3.q != 2) then 130 @ 0x1340 else 165 @ 0x139c 0x12c7 150 esi = [rsp + 0x10 {var_9c78}].d 0x12cb 151 goto 38 @ 0x12d0 0x1270 152 esi = esi + [rsp + rdi + 0x10].d 0x1274 153 esi = esi + [rbp + rdi].d 0x1278 154 esi = esi + [rsp + rdi + 0x1a0].d 0x127f 155 esi = esi + [rbp + rdi + 0x190].d 0x1286 156 rdi = rdi + 0x320 0x1290 157 if (rdx != rdi) then 152 @ 0x1270 else 166 @ 0x1296 0x13db 158 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x13df 159 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x13e4 160 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x13e8 161 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x13ed 162 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x13f1 163 esi = xmm0.d 0x13f8 164 if (r9 == rdx) then 41 @ 0x11a0 else 167 @ 0x13fe 0x139c 165 if ((cl & 1) == 0) then 158 @ 0x13db else 115 @ 0x139e 0x1296 166 if ((r8b & 1) == 0) then 38 @ 0x12d0 else 169 @ 0x1298 0x13fe 167 rdx = rdx | 1 0x13fe 168 goto 60 @ 0x1402 0x1298 169 rdx = rsp + 0xc {var_9c7c} 0x129d 170 rax = rdx + (rax << 2) 0x12a1 171 esi = esi + [rsp + rdi + 0x10].d 0x12a5 172 esi = esi + [rdi + rax + 4].d 0x12a9 173 goto 38 @ 0x12d0 int64_t _fini(): 0x144c 0 rsp = rsp - 8 0x1450 1 rsp = rsp + 8 0x1454 2 <return> jump(pop)
POJ_6
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVAUATSHP "} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r13) 0x1156 3 push(r12) 0x1158 4 push(rbx) 0x1159 5 rsp = rsp - 0xb50 0x1160 6 rdi = 0x2004 {"%d%d"} 0x1167 7 rsi = rsp + 0xc {var_b6c} 0x116c 8 rdx = rsp + 8 {var_b70} 0x1171 9 eax = 0 0x1173 10 call(0x1040) 0x1178 11 eax = 0x104 {""} 0x117d 12 xmm0 = 0 0x117d 13 goto 14 @ 0x1180 0x1180 14 [rsp + rax + 0xdc].o = xmm0 0x1188 15 [rsp + rax + 0xd0].o = xmm0 0x1190 16 [rsp + rax + 0xc0].o = xmm0 0x1198 17 [rsp + rax + 0xb0].o = xmm0 0x11a0 18 [rsp + rax + 0xa0].o = xmm0 0x11a8 19 [rsp + rax + 0x90].o = xmm0 0x11b0 20 [rsp + rax + 0x80].o = xmm0 0x11b8 21 [rsp + rax + 0x70].o = xmm0 0x11bd 22 [rsp + rax + 0x60].o = xmm0 0x11c2 23 [rsp + rax + 0x50].o = xmm0 0x11c7 24 [rsp + rax + 0x40].o = xmm0 0x11cc 25 [rsp + rax + 0x30].o = xmm0 0x11d1 26 [rsp + rax + 0x20].o = xmm0 0x11d6 27 [rsp + rax + 0x10].o = xmm0 0x11db 28 rax = rax + 0xf0 0x11e7 29 if (rax != 0xb54) then 14 @ 0x1180 else 30 @ 0x11e9 0x11e9 30 eax = [rsp + 0xc {var_b6c}].d 0x11ed 31 [rsp + 0x628 {var_550}].d = eax 0x11f4 32 r8d = [rsp + 8 {var_b70}].d 0x11fc 33 if (r8d s<= 0) then 34 @ 0x129d else 39 @ 0x1202 0x129d 34 r13 = rsp + 0x218 {var_960} 0x12a5 35 r12d = 2 0x12ab 36 r15 = 0x2009 {"%d "} 0x12b2 37 r14 = 0x200d {"%d\n"} 0x12b9 38 goto 43 @ 0x12c0 0x1202 39 r8d = r8d + 1 0x1206 40 r9 = rsp + 0x31c {var_85c} 0x120e 41 edx = 1 0x121d 42 goto 45 @ 0x1220 0x12c0 43 rbx = -0xa0 0x12c7 44 goto 48 @ 0x12d0 0x1220 45 esi = 2 0x1225 46 rdi = r9 0x1228 47 goto 58 @ 0x1230 0x12d0 48 rax = sx.q([rsp + 8 {var_b70}].d) 0x12d5 49 rax = rax << 2 0x12dd 50 rax = rax + r13 0x12e0 51 esi = [rbx + rax + 0xa0].d 0x12e7 52 rdi = r15 0x12ea 53 eax = 0 0x12ec 54 call(0x1030) 0x12f1 55 temp0.q = rbx 0x12f1 56 rbx = rbx + 0x14 0x12f5 57 if (temp0.q != -0x14) then 48 @ 0x12d0 else 61 @ 0x12f7 0x1230 58 rsi = rsi + 1 0x1234 59 rbx = -0xb4 0x123b 60 goto 72 @ 0x1240 0x12f7 61 rax = sx.q([rsp + 8 {var_b70}].d) 0x12fc 62 rcx = r12 * 0xf0 0x1303 63 rcx = rcx + rsp 0x1306 64 rcx = rcx + 0x10 0x130a 65 esi = [rcx + (rax << 2) + 0xc8].d 0x1311 66 rdi = r14 0x1314 67 eax = 0 0x1316 68 call(0x1030) 0x131b 69 r12 = r12 + 1 0x131f 70 r13 = r13 + 0xf0 0x132a 71 if (r12 != 0xa) then 43 @ 0x12c0 else 86 @ 0x132c 0x1240 72 eax = [rdi + rbx - 0x140].d 0x1247 73 eax = eax + [rdi + rbx - 0x154].d 0x124e 74 eax = eax + [rdi + rbx - 0x12c].d 0x1255 75 eax = eax + [rdi + rbx - 0x64].d 0x1259 76 eax = eax + [rdi + rbx - 0x3c].d 0x125d 77 eax = eax + [rdi + rbx + 0x8c].d 0x1264 78 eax = eax + [rdi + rbx + 0xa0].d 0x126b 79 eax = eax + [rdi + rbx + 0xb4].d 0x1272 80 ecx = [rdi + rbx - 0x50].d 0x1276 81 eax = (rax + (rcx << 1)).d 0x1279 82 [rdi + rbx - 0x4c].d = eax 0x127d 83 temp1.q = rbx 0x127d 84 rbx = rbx + 0x14 0x1281 85 if (temp1.q != -0x14) then 72 @ 0x1240 else 90 @ 0x1283 0x132c 86 r14 = rsp + 0x998 {var_1e0} 0x1334 87 r15 = 0x2009 {"%d "} 0x133b 88 ebx = 0 0x133d 89 goto 92 @ 0x1340 0x1283 90 rdi = rdi + 0xf0 0x128e 91 if (rsi != 0xb) then 58 @ 0x1230 else 100 @ 0x1290 0x1340 92 rax = sx.q([rsp + 8 {var_b70}].d) 0x1345 93 rax = r14 + (rax << 2) 0x1349 94 esi = [rbx + rax].d 0x134c 95 rdi = r15 0x134f 96 eax = 0 0x1351 97 call(0x1030) 0x1356 98 rbx = rbx + 0x14 0x1361 99 if (rbx != 0xa0) then 92 @ 0x1340 else 103 @ 0x1363 0x1290 100 rdx = rdx + 1 0x1294 101 r9 = r9 + 4 0x129b 102 if (rdx != r8) then 45 @ 0x1220 else 34 @ 0x129d 0x1363 103 rax = sx.q([rsp + 8 {var_b70}].d) 0x1368 104 esi = [rsp + (rax << 2) + 0xa38].d 0x136f 105 rdi = 0x2006 {"%d"} 0x1376 106 eax = 0 0x1378 107 call(0x1030) 0x137d 108 eax = 0 0x137f 109 rsp = rsp + 0xb50 0x1386 110 rbx = pop 0x1387 111 r12 = pop 0x1389 112 r13 = pop 0x138b 113 r14 = pop 0x138d 114 r15 = pop 0x138f 115 <return> jump(pop) int64_t _fini(): 0x1394 0 rsp = rsp - 8 0x1398 1 rsp = rsp + 8 0x139c 2 <return> jump(pop)
POJ_48
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVATSH0"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r12) 0x1167 4 push(rbx) 0x1168 5 rsp = rsp - 0x330 0x116f 6 rdi = 0x2004 {"%d %d"} 0x1176 7 rsi = rsp + 8 {var_350} 0x117b 8 rdx = rsp + 0xc {var_34c} 0x1180 9 eax = 0 0x1182 10 call(0x1050) 0x1187 11 r15d = [rsp + 8 {var_350}].d 0x118f 12 if (r15d s<= 0) then 13 @ 0x11cf else 15 @ 0x1191 0x11cf 13 r12d = [rsp + 0xc {var_34c}].d 0x11d7 14 if (r12d s<= 0) then 19 @ 0x1214 else 21 @ 0x11d9 0x1191 15 rbx = rsp + 0x1a0 {var_1b8} 0x1199 16 r14 = 0x2007 {"%d"} 0x11a0 17 ebp = 0 0x11ac 18 goto 25 @ 0x11b0 0x1214 19 edx = r15d 0x121b 20 if (r15d s< 2) then 33 @ 0x1283 else 35 @ 0x121d 0x11d9 21 rbx = rsp + 0x10 {var_348} 0x11de 22 r14 = 0x2007 {"%d"} 0x11e5 23 ebp = 0 0x11e7 24 goto 40 @ 0x11f0 0x11b0 25 rdi = r14 0x11b3 26 rsi = rbx 0x11b6 27 eax = 0 0x11b8 28 call(0x1050) 0x11bd 29 rbp = rbp + 1 0x11c1 30 r15 = sx.q([rsp + 8 {var_350}].d) 0x11c6 31 rbx = rbx + 4 0x11cd 32 if (rbp s< r15) then 25 @ 0x11b0 else 13 @ 0x11cf 0x1283 33 r14d = r12d 0x128a 34 if (r12d s< 2) then 48 @ 0x12e0 else 49 @ 0x128c 0x121d 35 r8d = (r15 - 1).d 0x1221 36 rcx = rsp + 0x1a0 {var_1b8} 0x1229 37 r9d = 0 0x122c 38 rsi = rdx 0x122f 39 goto 54 @ 0x124d 0x11f0 40 rdi = r14 0x11f3 41 rsi = rbx 0x11f6 42 eax = 0 0x11f8 43 call(0x1050) 0x11fd 44 rbp = rbp + 1 0x1201 45 r12 = sx.q([rsp + 0xc {var_34c}].d) 0x1206 46 rbx = rbx + 4 0x120d 47 if (rbp s< r12) then 40 @ 0x11f0 else 57 @ 0x120f 0x12e0 48 if (r15d s<= 0) then 59 @ 0x12fd else 60 @ 0x12e2 0x128c 49 r8d = (r12 - 1).d 0x1291 50 rcx = rsp + 0x10 {var_348} 0x1296 51 r9d = 0 0x1299 52 rsi = r14 0x129c 53 goto 65 @ 0x12ad 0x124d 54 rdi = r9 0x1250 55 r9 = r9 + 1 0x1257 56 if (r9 u>= rdx) then 68 @ 0x1240 else 71 @ 0x1259 0x120f 57 r15d = [rsp + 8 {var_350}].d 0x120f 58 goto 19 @ 0x1214 0x12fd 59 if (r12d s<= 0) then 73 @ 0x131e else 76 @ 0x12ff 0x12e2 60 rdx = rdx << 2 0x12e6 61 rdi = 0x4050 {""} 0x12ed 62 rsi = rsp + 0x1a0 {var_1b8} 0x12f5 63 call(0x1040) 0x12f5 64 goto 59 @ 0x12fd 0x12ad 65 rdi = r9 0x12b0 66 r9 = r9 + 1 0x12b7 67 if (r9 u>= r14) then 84 @ 0x12a0 else 87 @ 0x12b9 0x1240 68 rcx = rcx + 4 0x1244 69 rsi = rsi - 1 0x124b 70 if (r9 == r8) then 33 @ 0x1283 else 54 @ 0x124d 0x1259 71 ebx = 1 0x125e 72 goto 89 @ 0x1269 0x131e 73 r14d = (r12 + r15).d 0x1322 74 r14d = r14d - 1 0x1329 75 if (r14d s<= 0) then 92 @ 0x1367 else 105 @ 0x132b 0x12ff 76 rax = sx.q(r15d) 0x1302 77 rcx = 0x4050 {""} 0x1309 78 rdi = rcx + (rax << 2) 0x130d 79 r14 = r14 << 2 0x1311 80 rsi = rsp + 0x10 {var_348} 0x1316 81 rdx = r14 0x1319 82 call(0x1040) 0x1319 83 goto 73 @ 0x131e 0x12a0 84 rcx = rcx + 4 0x12a4 85 rsi = rsi - 1 0x12ab 86 if (r9 == r8) then 48 @ 0x12e0 else 65 @ 0x12ad 0x12b9 87 ebx = 1 0x12be 88 goto 111 @ 0x12c9 0x1269 89 eax = [rsp + (rdi << 2) + 0x1a0].d 0x1270 90 ebp = [rcx + (rbx << 2)].d 0x1275 91 if (eax s<= ebp) then 114 @ 0x1260 else 116 @ 0x1277 0x1367 92 rax = sx.q(r14d) 0x136a 93 rcx = 0x4050 {""} 0x1371 94 esi = [rcx + (rax << 2)].d 0x1374 95 rdi = 0x200e {"%d\n"} 0x137b 96 eax = 0 0x137d 97 call(0x1030) 0x1382 98 rsp = rsp + 0x330 0x1389 99 rbx = pop 0x138a 100 r12 = pop 0x138c 101 r14 = pop 0x138e 102 r15 = pop 0x1390 103 rbp = pop 0x1391 104 <return> jump(pop) 0x132b 105 ebp = r14d 0x132e 106 rbp = rbp << 2 0x1332 107 r15 = 0x4050 {""} 0x1339 108 r12 = 0x200a {"%d "} 0x1340 109 ebx = 0 0x134c 110 goto 119 @ 0x1350 0x12c9 111 eax = [rsp + (rdi << 2) + 0x10].d 0x12cd 112 ebp = [rcx + (rbx << 2)].d 0x12d2 113 if (eax s<= ebp) then 125 @ 0x12c0 else 127 @ 0x12d4 0x1260 114 rbx = rbx + 1 0x1267 115 if (rsi == rbx) then 68 @ 0x1240 else 89 @ 0x1269 0x1277 116 [rsp + (rdi << 2) + 0x1a0].d = ebp 0x127e 117 [rcx + (rbx << 2)].d = eax 0x1281 118 goto 114 @ 0x1260 0x1350 119 esi = [rbx + r15].d 0x1354 120 rdi = r12 0x1357 121 eax = 0 0x1359 122 call(0x1030) 0x135e 123 rbx = rbx + 4 0x1365 124 if (rbp != rbx) then 119 @ 0x1350 else 92 @ 0x1367 0x12c0 125 rbx = rbx + 1 0x12c7 126 if (rsi == rbx) then 84 @ 0x12a0 else 111 @ 0x12c9 0x12d4 127 [rsp + (rdi << 2) + 0x10].d = ebp 0x12d8 128 [rcx + (rbx << 2)].d = eax 0x12db 129 goto 125 @ 0x12c0 void to(int64_t arg1, int64_t arg2, int32_t arg3, int32_t arg4): 0x13a0 0 push(rbp) 0x13a1 1 push(r14) 0x13a3 2 push(rbx) 0x13a7 3 if (edx s< 2) then 4 @ 0x1402 else 5 @ 0x13a9 0x1402 4 if (ecx s< 2) then 11 @ 0x145b else 15 @ 0x1404 0x13a9 5 r8d = edx 0x13ac 6 edx = edx - 1 0x13af 7 r10d = 0 0x13b2 8 r9 = r8 0x13b5 9 r11 = rdi 0x13b8 10 goto 21 @ 0x13cd 0x145b 11 rbx = pop 0x145c 12 r14 = pop 0x145e 13 rbp = pop 0x145f 14 <return> jump(pop) 0x1404 15 r8d = ecx 0x1407 16 ecx = ecx - 1 0x140a 17 r9d = 0 0x140d 18 r10 = r8 0x1410 19 rdi = rsi 0x1413 20 goto 24 @ 0x142d 0x13cd 21 r14 = r10 0x13d0 22 r10 = r10 + 1 0x13d7 23 if (r10 u>= r8) then 27 @ 0x13c0 else 30 @ 0x13d9 0x142d 24 rax = r9 0x1430 25 r9 = r9 + 1 0x1437 26 if (r9 u>= r8) then 32 @ 0x1420 else 35 @ 0x1439 0x13c0 27 r11 = r11 + 4 0x13c4 28 r9 = r9 - 1 0x13cb 29 if (r10 == rdx) then 4 @ 0x1402 else 21 @ 0x13cd 0x13d9 30 ebx = 1 0x13de 31 goto 37 @ 0x13e9 0x1420 32 rdi = rdi + 4 0x1424 33 r10 = r10 - 1 0x142b 34 if (r9 == rcx) then 11 @ 0x145b else 24 @ 0x142d 0x1439 35 ebx = 1 0x143e 36 goto 40 @ 0x1449 0x13e9 37 ebp = [rdi + (r14 << 2)].d 0x13ed 38 eax = [r11 + (rbx << 2)].d 0x13f3 39 if (ebp s<= eax) then 43 @ 0x13e0 else 45 @ 0x13f5 0x1449 40 ebp = [rsi + (rax << 2)].d 0x144c 41 edx = [rdi + (rbx << 2)].d 0x1451 42 if (ebp s<= edx) then 48 @ 0x1440 else 50 @ 0x1453 0x13e0 43 rbx = rbx + 1 0x13e7 44 if (r9 == rbx) then 27 @ 0x13c0 else 37 @ 0x13e9 0x13f5 45 [rdi + (r14 << 2)].d = eax 0x13f9 46 [r11 + (rbx << 2)].d = ebp 0x13fd 47 goto 43 @ 0x13e0 0x1440 48 rbx = rbx + 1 0x1447 49 if (r10 == rbx) then 32 @ 0x1420 else 40 @ 0x1449 0x1453 50 [rsi + (rax << 2)].d = edx 0x1456 51 [rdi + (rbx << 2)].d = ebp 0x1459 52 goto 48 @ 0x1440 void hebing(int64_t arg1, int64_t arg2, int32_t arg3, int32_t arg4): 0x1460 0 push(rbp) 0x1461 1 push(r14) 0x1463 2 push(rbx) 0x1466 3 if (edx s<= 0) then 4 @ 0x15fa else 5 @ 0x146c 0x15fa 4 if (ecx s<= 0) then 7 @ 0x1756 else 11 @ 0x1600 0x146c 5 r8d = edx 0x1472 6 if (edx u< 8) then 14 @ 0x1495 else 16 @ 0x1474 0x1756 7 rbx = pop 0x1757 8 r14 = pop 0x1759 9 rbp = pop 0x175a 10 <return> jump(pop) 0x1600 11 r9 = sx.q(edx) 0x1603 12 r11d = ecx 0x1609 13 if (ecx u< 8) then 19 @ 0x1634 else 21 @ 0x160b 0x1495 14 eax = 0 0x1495 15 goto 25 @ 0x1497 0x1474 16 r9 = 0x4050 {""} 0x147b 17 rax = rdi + (r8 << 2) 0x1482 18 if (rax u<= r9) then 31 @ 0x151c else 40 @ 0x1488 0x1634 19 ecx = 0 0x1634 20 goto 42 @ 0x1636 0x160b 21 r8 = 0x4050 {""} 0x1612 22 rax = r8 + (r9 << 2) 0x1616 23 rcx = rsi + (r11 << 2) 0x161d 24 if (rax u>= rcx) then 48 @ 0x16bc else 55 @ 0x1623 0x1497 25 r9 = rax 0x149a 26 r9 = not.q(r9) 0x149d 27 r9 = r9 + r8 0x14a0 28 r10 = r8 0x14a3 29 r10 = r10 & 3 0x14a7 30 if (r10 == 0) then 58 @ 0x14d8 else 59 @ 0x14a9 0x151c 31 eax = r8d 0x151f 32 eax = eax & 0xfffffff8 0x1522 33 rbx = rax - 8 0x1526 34 r11 = rbx 0x1529 35 r11 = r11 u>> 3 0x152d 36 r11 = r11 + 1 0x1531 37 r10d = r11d 0x1534 38 r10d = r10d & 3 0x153c 39 if (rbx u>= 0x18) then 64 @ 0x1542 else 67 @ 0x153e 0x1488 40 rax = r9 + (r8 << 2) 0x148f 41 if (rax u<= rdi) then 31 @ 0x151c else 14 @ 0x1495 0x1636 42 r8 = rcx 0x1639 43 r8 = not.q(r8) 0x163c 44 r8 = r8 + r11 0x163f 45 rdx = r11 0x1642 46 rdx = rdx & 3 0x1646 47 if (rdx == 0) then 69 @ 0x1676 else 70 @ 0x1648 0x16bc 48 ecx = r11d 0x16bf 49 ecx = ecx & 0xfffffff8 0x16c2 50 rax = rcx - 8 0x16c6 51 r10 = rax 0x16c9 52 r10 = r10 u>> 3 0x16cd 53 r10 = r10 + 1 0x16d4 54 if (rax == 0) then 76 @ 0x175b else 78 @ 0x16da 0x1623 55 rax = r9 + r11 0x1627 56 rax = r8 + (rax << 2) 0x162e 57 if (rax u<= rsi) then 48 @ 0x16bc else 19 @ 0x1634 0x14d8 58 if (r9 u< 3) then 4 @ 0x15fa else 85 @ 0x14de 0x14a9 59 rbx = 0x4050 {""} 0x14b0 60 r11 = rbx + (rax << 2) 0x14b4 61 r14 = rdi + (rax << 2) 0x14b8 62 ebx = 0 0x14ba 63 goto 87 @ 0x14c0 0x1542 64 r11 = r11 & 0xfffffffffffffffc 0x1546 65 ebx = 0 0x1548 66 goto 91 @ 0x1550 0x153e 67 ebx = 0 0x1540 68 goto 111 @ 0x15b3 0x1676 69 if (r8 u< 3) then 7 @ 0x1756 else 112 @ 0x167c 0x1648 70 rax = rcx + r9 0x164c 71 rdi = 0x4050 {""} 0x1653 72 rdi = rdi + (rax << 2) 0x1657 73 rax = rsi + (rcx << 2) 0x165b 74 ebx = 0 0x165d 75 goto 116 @ 0x1660 0x175b 76 ebx = 0 0x1761 77 if ((r10b & 1) != 0) then 120 @ 0x1736 else 126 @ 0x1763 0x16da 78 rdx = 0x3ffffffffffffffc {""} 0x16e4 79 rdx = rdx | 2 0x16e8 80 rdx = rdx & r10 0x16eb 81 rdi = r8 + (r9 << 2) 0x16ef 82 rdi = rdi + 0x30 0x16f3 83 ebx = 0 0x16ff 84 goto 127 @ 0x1700 0x14de 85 rbx = 0x4050 {""} 0x14ef 86 goto 139 @ 0x14f0 0x14c0 87 ebp = [r14 + (rbx << 2)].d 0x14c4 88 [r11 + (rbx << 2)].d = ebp 0x14c8 89 rbx = rbx + 1 0x14cf 90 if (r10 != rbx) then 87 @ 0x14c0 else 149 @ 0x14d1 0x1550 91 xmm0 = [rdi + (rbx << 2)].o 0x1554 92 xmm1 = [rdi + (rbx << 2) + 0x10].o 0x1559 93 [r9 + (rbx << 2)].o = xmm0 0x155e 94 [r9 + (rbx << 2) + 0x10].o = xmm1 0x1564 95 xmm0 = [rdi + (rbx << 2) + 0x20].o 0x1569 96 xmm1 = [rdi + (rbx << 2) + 0x30].o 0x156e 97 [r9 + (rbx << 2) + 0x20].o = xmm0 0x1574 98 [r9 + (rbx << 2) + 0x30].o = xmm1 0x157a 99 xmm0 = [rdi + (rbx << 2) + 0x40].o 0x157f 100 xmm1 = [rdi + (rbx << 2) + 0x50].o 0x1584 101 [r9 + (rbx << 2) + 0x40].o = xmm0 0x158a 102 [r9 + (rbx << 2) + 0x50].o = xmm1 0x1590 103 xmm0 = [rdi + (rbx << 2) + 0x60].o 0x1595 104 xmm1 = [rdi + (rbx << 2) + 0x70].o 0x159a 105 [r9 + (rbx << 2) + 0x60].o = xmm0 0x15a0 106 [r9 + (rbx << 2) + 0x70].o = xmm1 0x15a6 107 rbx = rbx + 0x20 0x15aa 108 temp0.q = r11 0x15aa 109 r11 = r11 - 4 0x15ae 110 if (temp0.q != 4) then 91 @ 0x1550 else 111 @ 0x15b3 0x15b3 111 if (r10 == 0) then 151 @ 0x15f2 else 152 @ 0x15b5 0x167c 112 rax = 0x4050 {""} 0x1683 113 rdx = rax + (r9 << 2) 0x1687 114 rdx = rdx + 0xc 0x168b 115 goto 159 @ 0x1690 0x1660 116 ebp = [rax + (rbx << 2)].d 0x1663 117 [rdi + (rbx << 2)].d = ebp 0x1666 118 rbx = rbx + 1 0x166d 119 if (rdx != rbx) then 116 @ 0x1660 else 169 @ 0x166f 0x1736 120 xmm0 = [rsi + (rbx << 2)].o 0x173a 121 xmm1 = [rsi + (rbx << 2) + 0x10].o 0x173f 122 rbx = rbx + r9 0x1742 123 [r8 + (rbx << 2)].o = xmm0 0x1747 124 [r8 + (rbx << 2) + 0x10].o = xmm1 0x1747 125 goto 171 @ 0x1750 0x1763 126 goto 171 @ 0x1750 0x1700 127 xmm0 = [rsi + (rbx << 2)].o 0x1704 128 xmm1 = [rsi + (rbx << 2) + 0x10].o 0x1709 129 [rdi + (rbx << 2) - 0x30].o = xmm0 0x170e 130 [rdi + (rbx << 2) - 0x20].o = xmm1 0x1713 131 xmm0 = [rsi + (rbx << 2) + 0x20].o 0x1718 132 xmm1 = [rsi + (rbx << 2) + 0x30].o 0x171d 133 [rdi + (rbx << 2) - 0x10].o = xmm0 0x1722 134 [rdi + (rbx << 2)].o = xmm1 0x1726 135 rbx = rbx + 0x10 0x172a 136 temp1.q = rdx 0x172a 137 rdx = rdx - 2 0x172e 138 if (temp1.q != 2) then 127 @ 0x1700 else 172 @ 0x1734 0x14f0 139 ebp = [rdi + (rax << 2)].d 0x14f3 140 [rbx + (rax << 2)].d = ebp 0x14f6 141 ebp = [rdi + (rax << 2) + 4].d 0x14fa 142 [rbx + (rax << 2) + 4].d = ebp 0x14fe 143 ebp = [rdi + (rax << 2) + 8].d 0x1502 144 [rbx + (rax << 2) + 8].d = ebp 0x1506 145 ebp = [rdi + (rax << 2) + 0xc].d 0x150a 146 [rbx + (rax << 2) + 0xc].d = ebp 0x150e 147 rax = rax + 4 0x1515 148 if (r8 != rax) then 139 @ 0x14f0 else 173 @ 0x1517 0x14d1 149 rax = rax + rbx 0x14d1 150 goto 58 @ 0x14d8 0x15f2 151 if (rax != r8) then 25 @ 0x1497 else 4 @ 0x15fa 0x15b5 152 r9 = r9 + (rbx << 2) 0x15b9 153 r9 = r9 + 0x10 0x15bd 154 r11 = rdi + (rbx << 2) 0x15c1 155 r11 = r11 + 0x10 0x15c5 156 r10 = r10 << 5 0x15c9 157 ebx = 0 0x15cb 158 goto 174 @ 0x15d0 0x1690 159 eax = [rsi + (rcx << 2)].d 0x1693 160 [rdx + (rcx << 2) - 0xc].d = eax 0x1697 161 eax = [rsi + (rcx << 2) + 4].d 0x169b 162 [rdx + (rcx << 2) - 8].d = eax 0x169f 163 eax = [rsi + (rcx << 2) + 8].d 0x16a3 164 [rdx + (rcx << 2) - 4].d = eax 0x16a7 165 eax = [rsi + (rcx << 2) + 0xc].d 0x16ab 166 [rdx + (rcx << 2)].d = eax 0x16ae 167 rcx = rcx + 4 0x16b5 168 if (r11 != rcx) then 159 @ 0x1690 else 180 @ 0x16b7 0x166f 169 rcx = rcx + rbx 0x166f 170 goto 69 @ 0x1676 0x1750 171 if (rcx != r11) then 42 @ 0x1636 else 7 @ 0x1756 0x1734 172 if ((r10b & 1) == 0) then 171 @ 0x1750 else 120 @ 0x1736 0x1517 173 goto 4 @ 0x15fa 0x15d0 174 xmm0 = [r11 + rbx - 0x10].o 0x15d6 175 xmm1 = [r11 + rbx].o 0x15db 176 [r9 + rbx - 0x10].o = xmm0 0x15e1 177 [r9 + rbx].o = xmm1 0x15e6 178 rbx = rbx + 0x20 0x15ed 179 if (r10 != rbx) then 174 @ 0x15d0 else 151 @ 0x15f2 0x16b7 180 goto 7 @ 0x1756 int64_t print(int64_t arg1, int32_t arg2, int32_t arg3): 0x1770 0 push(rbp) 0x1771 1 push(r15) 0x1773 2 push(r14) 0x1775 3 push(r12) 0x1777 4 push(rbx) 0x1778 5 r12 = rdi 0x177b 6 r15d = (rsi + rdx).d 0x177f 7 r15d = r15d - 1 0x1786 8 if (r15d s<= 0) then 9 @ 0x17b7 else 19 @ 0x1788 0x17b7 9 rax = sx.q(r15d) 0x17ba 10 esi = [r12 + (rax << 2)].d 0x17be 11 rdi = 0x200e {"%d\n"} 0x17c5 12 eax = 0 0x17c7 13 rbx = pop 0x17c8 14 r12 = pop 0x17ca 15 r14 = pop 0x17cc 16 r15 = pop 0x17ce 17 rbp = pop 0x17cf 18 <return> tailcall(0x1030) 0x1788 19 ebp = r15d 0x178b 20 r14 = 0x200a {"%d "} 0x1792 21 ebx = 0 0x179e 22 goto 23 @ 0x17a0 0x17a0 23 esi = [r12 + (rbx << 2)].d 0x17a4 24 rdi = r14 0x17a7 25 eax = 0 0x17a9 26 call(0x1030) 0x17ae 27 rbx = rbx + 1 0x17b5 28 if (rbp != rbx) then 23 @ 0x17a0 else 9 @ 0x17b7 int64_t _fini(): 0x17d8 0 rsp = rsp - 8 0x17dc 1 rsp = rsp + 8 0x17e0 2 <return> jump(pop)
POJ_8
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAVSH L5a"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r14) 0x1153 2 push(rbx) 0x1154 3 rsp = rsp - 0x20 0x1158 4 r14 = 0x20c0 {"%d%d%d"} 0x115f 5 ebx = 0 0x1161 6 rsi = rsp + 0x1c {var_1c} 0x1166 7 rdx = rsp + 0x18 {var_20} 0x116b 8 rcx = rsp + 0x14 {var_24} 0x1170 9 rdi = r14 0x1173 10 eax = 0 0x1175 11 call(0x1040) 0x117a 12 rsi = rsp + 0x10 {var_28} 0x117f 13 rdx = rsp + 0xc {var_2c} 0x1184 14 rcx = rsp + 8 {var_30} 0x1189 15 rdi = r14 0x118c 16 eax = 0 0x118e 17 call(0x1040) 0x1193 18 r9d = [rsp + 0x1c {var_1c}].d 0x1198 19 r8d = [rsp + 0x10 {var_28}].d 0x11a0 20 if (r9d s> r8d) then 21 @ 0x1394 else 23 @ 0x11a6 0x1394 21 eax = [rsp + 0x18 {var_20}].d 0x139b 22 if (eax s< 2) then 29 @ 0x14ff else 31 @ 0x13a5 0x11a6 23 r10d = (r8 + 1).d 0x11aa 24 edi = r10d 0x11ad 25 edi = edi - r9d 0x11b0 26 ebx = 0 0x11b2 27 esi = r9d 0x11b8 28 if (edi u< 8) then 44 @ 0x1354 else 60 @ 0x11be 0x14ff 29 r9d = [rsp + 0xc {var_2c}].d 0x1508 30 if (r9d s> 0xb) then 78 @ 0x1583 else 80 @ 0x150e 0x13a5 31 dil = (r9b & 3) == 0 0x13a9 32 ecx = r9d * -0x3d70a3d7 0x13b0 33 ecx = ecx + 0x51eb850 0x13b6 34 esi = ecx 0x13b8 35 esi = ror.d(esi, 2) 0x13c1 36 dl = esi u>= 0x28f5c29 0x13c4 37 dl = dl & dil 0x13c7 38 ecx = ror.d(ecx, 4) 0x13ca 39 flag:c = ecx u< 0xa3d70b 0x13d0 40 r10b = flag:c 0x13d4 41 r10b = r10b | dl 0x13d7 42 r9d = (rax - 1).d 0x13de 43 if (eax != 2) then 98 @ 0x13f4 else 105 @ 0x13e0 0x1354 44 al = (sil & 3) == 0 0x1357 45 ecx = esi * -0x3d70a3d7 0x135d 46 ecx = ecx + 0x51eb850 0x1363 47 edi = ecx 0x1365 48 edi = ror.d(edi, 2) 0x136e 49 dl = edi u>= 0x28f5c29 0x1371 50 ecx = ror.d(ecx, 4) 0x1374 51 dl = dl & al 0x1376 52 flag:c = ecx u< 0xa3d70b 0x137c 53 al = flag:c 0x137f 54 al = al | dl 0x1381 55 eax = zx.d(al) 0x1384 56 ebx = ebx + eax 0x1386 57 ebx = ebx + 0x16d 0x138c 58 esi = esi + 1 0x1392 59 if (r10d != esi) then 44 @ 0x1354 else 21 @ 0x1394 0x11be 60 eax = edi 0x11c0 61 eax = eax & 0xfffffff8 0x11c3 62 esi = (r9 + rax).d 0x11c7 63 xmm0 = r9d 0x11cc 64 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x11d1 65 xmm0 = __paddd_xmmdq_memdq(xmm0, [0x2010].o) 0x11d9 66 xmm12 = [0x2030].o 0x11e2 67 xmm5 = [0x2050].o 0x11ea 68 xmm14 = [0x2060].o 0x11f3 69 xmm11 = [0x2070].o 0x11fc 70 xmm15 = [0x2080].o 0x1205 71 xmm10 = _mm_cmpeq_epi32(xmm10, xmm10) 0x120a 72 xmm7 = [0x2090].o 0x1212 73 xmm13 = [0x20a0].o 0x121b 74 ebx = eax 0x121d 75 xmm3 = 0 0x1221 76 xmm2 = 0 0x122f 77 goto 107 @ 0x1230 0x1583 78 eax = (r9 - 1).d 0x158a 79 if (eax u>= 0xc) then 160 @ 0x159a else 175 @ 0x158c 0x150e 80 al = (r8b & 3) == 0 0x1511 81 ecx = r8d * -0x3d70a3d7 0x1518 82 ecx = ecx + 0x51eb850 0x151e 83 edx = ecx 0x1520 84 edx = ror.d(edx, 2) 0x1529 85 dl = edx u>= 0x28f5c29 0x152c 86 dl = dl & al 0x152e 87 ecx = ror.d(ecx, 4) 0x1531 88 flag:c = ecx u< 0xa3d70b 0x1537 89 al = flag:c 0x153a 90 al = al | dl 0x153c 91 ecx = zx.d(al) 0x153f 92 eax = 0xffffffe4 {""} 0x1544 93 eax = eax - ecx 0x1546 94 edx = 0xffd {""} 0x154b 95 r8 = 0x20c8 {";,"} 0x1552 96 edi = r9d 0x1555 97 goto 178 @ 0x1567 0x13f4 98 esi = r9d 0x13f7 99 esi = esi & 0xfffffffe 0x13fa 100 eax = zx.d(r10b) 0x13fe 101 r11d = 0xffffffe4 {""} 0x1404 102 r11d = r11d - eax 0x1407 103 eax = 1 0x140c 104 goto 182 @ 0x141d 0x13e0 105 edx = 1 0x13e9 106 if ((r9b & 1) != 0) then 188 @ 0x14bf else 192 @ 0x13ef 0x1230 107 xmm1 = xmm0 0x1234 108 xmm1 = _mm_mul_epu32(xmm1, xmm12) 0x1239 109 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x123e 110 xmm6 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1243 111 xmm6 = _mm_mul_epu32(xmm6, xmm12) 0x1248 112 xmm6 = _mm_shuffle_epi32(xmm6, 0xe8) 0x124d 113 xmm1 = _mm_unpacklo_epi32(xmm1, xmm6.q) 0x1251 114 xmm6 = xmm1 0x1255 115 xmm6 = __paddd_xmmdq_memdq(xmm6, [0x2040].o) 0x125d 116 xmm4 = xmm6 0x1261 117 xmm4 = _mm_srli_epi32(xmm4, 2) 0x1266 118 xmm9 = xmm6 0x126b 119 xmm9 = _mm_slli_epi32(xmm9, 0x1e) 0x1271 120 xmm9 = xmm9 | xmm4 0x1276 121 xmm1 = _mm_add_epi32(xmm1, xmm11) 0x127b 122 xmm4 = xmm1 0x127f 123 xmm4 = _mm_srli_epi32(xmm4, 2) 0x1284 124 xmm8 = xmm1 0x1289 125 xmm8 = _mm_slli_epi32(xmm8, 0x1e) 0x128f 126 xmm8 = xmm8 | xmm4 0x1294 127 xmm4 = xmm0 0x1298 128 xmm4 = xmm4 & [0x2020].o 0x12a0 129 xmm4 = __pcmpeqd_xmmdq_memdq(xmm4, [0x20b0].o) 0x12a8 130 xmm9 = xmm9 ^ xmm5 0x12ad 131 xmm9 = _mm_cmpgt_epi32(xmm9, xmm14) 0x12b2 132 xmm8 = xmm8 ^ xmm5 0x12b7 133 xmm8 = _mm_cmpgt_epi32(xmm8, xmm14) 0x12bc 134 xmm9 = xmm9 & xmm4 0x12c1 135 xmm8 = xmm8 & xmm4 0x12c6 136 xmm4 = xmm6 0x12ca 137 xmm4 = _mm_srli_epi32(xmm4, 4) 0x12cf 138 xmm6 = _mm_slli_epi32(xmm6, 0x1c) 0x12d4 139 xmm6 = xmm6 | xmm4 0x12d8 140 xmm6 = xmm6 ^ xmm5 0x12dc 141 xmm6 = _mm_cmpgt_epi32(xmm6, xmm15) 0x12e1 142 xmm6 = xmm6 ^ xmm10 0x12e6 143 xmm6 = xmm6 | xmm9 0x12eb 144 xmm3 = _mm_sub_epi32(xmm3, xmm6) 0x12ef 145 xmm4 = xmm1 0x12f3 146 xmm4 = _mm_srli_epi32(xmm4, 4) 0x12f8 147 xmm1 = _mm_slli_epi32(xmm1, 0x1c) 0x12fd 148 xmm1 = xmm1 | xmm4 0x1301 149 xmm1 = xmm1 ^ xmm5 0x1305 150 xmm1 = _mm_cmpgt_epi32(xmm1, xmm15) 0x130a 151 xmm1 = xmm1 ^ xmm10 0x130f 152 xmm1 = xmm1 | xmm8 0x1314 153 xmm2 = _mm_sub_epi32(xmm2, xmm1) 0x1318 154 xmm3 = _mm_add_epi32(xmm3, xmm7) 0x131c 155 xmm2 = _mm_add_epi32(xmm2, xmm7) 0x1320 156 xmm0 = _mm_add_epi32(xmm0, xmm13) 0x1325 157 temp0.d = ebx 0x1325 158 ebx = ebx - 8 0x1328 159 if (temp0.d != 8) then 107 @ 0x1230 else 193 @ 0x132e 0x159a 160 al = (r9b & 3) == 0 0x159d 161 ecx = r9d * -0x3d70a3d7 0x15a4 162 ecx = ecx + 0x51eb850 0x15aa 163 edx = ecx 0x15ac 164 edx = ror.d(edx, 2) 0x15b5 165 dl = edx u>= 0x28f5c29 0x15b8 166 dl = dl & al 0x15ba 167 ecx = ror.d(ecx, 4) 0x15bd 168 flag:c = ecx u< 0xa3d70b 0x15c3 169 al = flag:c 0x15c6 170 al = al | dl 0x15c8 171 ecx = zx.d(al) 0x15cb 172 eax = 0xffffffe4 {""} 0x15d0 173 eax = eax - ecx 0x15d2 174 goto 200 @ 0x15e0 0x158c 175 ecx = 0xffd {""} 0x1591 176 flag:c = test_bit(ecx, eax) 0x1594 177 if (flag:c) then 212 @ 0x15d4 else 160 @ 0x159a 0x1567 178 esi = edi 0x1569 179 edi = (rsi + 1).d 0x156c 180 ecx = eax 0x1571 181 if (esi u> 0xb) then 216 @ 0x1560 else 218 @ 0x1573 0x141d 182 edx = eax 0x141f 183 ecx = eax 0x1421 184 ecx = ecx & 0x7ffffffd 0x1427 185 edi = 0xffffffe1 {""} 0x142c 186 eax = 0xffffffe1 {""} 0x1434 187 if (ecx == 8) then 221 @ 0x1470 else 226 @ 0x1436 0x14bf 188 ecx = edx 0x14c1 189 ecx = ecx & 0x7ffffffd 0x14c7 190 eax = 0xffffffe1 {""} 0x14cf 191 if (ecx == 8) then 230 @ 0x14fd else 232 @ 0x14d1 0x13ef 192 goto 29 @ 0x14ff 0x132e 193 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x1332 194 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x1337 195 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x133b 196 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1340 197 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1344 198 ebx = xmm1.d 0x134a 199 if (edi == eax) then 21 @ 0x1394 else 235 @ 0x134c 0x15e0 200 ebx = ebx + eax 0x15e2 201 ebx = ebx + [rsp + 8 {var_30}].d 0x15e6 202 ebx = ebx - [rsp + 0x14 {var_24}].d 0x15ea 203 rdi = 0x20c4 {"%d"} 0x15f1 204 esi = ebx 0x15f3 205 eax = 0 0x15f5 206 call(0x1030) 0x15fa 207 rsp = rsp + 0x20 0x15fe 208 rbx = pop 0x15ff 209 r14 = pop 0x1601 210 rbp = pop 0x1602 211 <return> jump(pop) 0x15d4 212 rax = sx.q(eax) 0x15d6 213 rcx = 0x20c8 {";,"} 0x15dd 214 eax = [rcx + (rax << 2)].d 0x15dd 215 goto 200 @ 0x15e0 0x1560 216 ebx = ebx + ecx 0x1565 217 if (edi == 0xc) then 78 @ 0x1583 else 178 @ 0x1567 0x1573 218 flag:c = test_bit(edx, esi) 0x1576 219 ecx = eax 0x1578 220 if (not(flag:c)) then 216 @ 0x1560 else 236 @ 0x157a 0x1470 221 ebx = ebx + eax 0x1472 222 ecx = (rdx + 1).d 0x1475 223 eax = ecx 0x1477 224 eax = eax & 0x7ffffffd 0x147f 225 if (eax == 8) then 239 @ 0x1410 else 242 @ 0x1481 0x1436 226 ebp = edx 0x1438 227 ebp = ebp & 0x7ffffff9 0x143e 228 eax = 0xffffffe1 {""} 0x1446 229 if (ebp == 1) then 221 @ 0x1470 else 245 @ 0x1448 0x14fd 230 ebx = ebx + eax 0x14fd 231 goto 29 @ 0x14ff 0x14d1 232 esi = edx 0x14d3 233 esi = esi & 0x7ffffff9 0x14dc 234 if (esi == 1) then 230 @ 0x14fd else 247 @ 0x14e1 0x134c 235 goto 44 @ 0x1354 0x157a 236 rcx = sx.q(esi) 0x157d 237 ecx = [r8 + (rcx << 2)].d 0x1581 238 goto 216 @ 0x1560 0x1410 239 ebx = ebx + edi 0x1412 240 eax = (rcx + 1).d 0x1417 241 if (ecx == esi) then 248 @ 0x14b6 else 182 @ 0x141d 0x1481 242 ebp = ecx 0x1483 243 ebp = ebp & 0x7ffffff9 0x148c 244 if (ebp == 1) then 239 @ 0x1410 else 250 @ 0x1491 0x1448 245 eax = 0xffffffe1 {""} 0x1450 246 if (edx == 0xc) then 221 @ 0x1470 else 251 @ 0x1452 0x14e1 247 if (edx == 0xc) then 230 @ 0x14fd else 253 @ 0x14e3 0x14b6 248 edx = edx + 2 0x14bd 249 if ((r9b & 1) == 0) then 29 @ 0x14ff else 188 @ 0x14bf 0x1491 250 if (ecx == 0xc) then 239 @ 0x1410 else 255 @ 0x1497 0x1452 251 eax = 0xffffffe2 {""} 0x145a 252 if (ecx == 4) then 221 @ 0x1470 else 257 @ 0x145f 0x14e3 253 eax = 0xffffffe2 {""} 0x14eb 254 if (ecx == 4) then 230 @ 0x14fd else 258 @ 0x14f0 0x1497 255 edi = 0xffffffe2 {""} 0x149f 256 if (eax == 4) then 239 @ 0x1410 else 259 @ 0x14a8 0x145f 257 if (ecx == 9) then 221 @ 0x1470 else 260 @ 0x1461 0x14f0 258 if (ecx == 9) then 230 @ 0x14fd else 262 @ 0x14f2 0x14a8 259 if (eax == 9) then 239 @ 0x1410 else 266 @ 0x14ae 0x1461 260 eax = r11d 0x146e 261 goto 221 @ 0x1470 0x14f2 262 ecx = zx.d(r10b) 0x14f6 263 eax = 0xffffffe4 {""} 0x14fb 264 eax = eax - ecx 0x14fb 265 goto 230 @ 0x14fd 0x14ae 266 edi = r11d 0x14b1 267 goto 239 @ 0x1410 int64_t _fini(): 0x1608 0 rsp = rsp - 8 0x160c 1 rsp = rsp + 8 0x1610 2 <return> jump(pop)
POJ_80
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH H="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 rdi = 0x2005 {"%d"} 0x115f 4 rsi = rbp - 4 {var_c} 0x1163 5 al = 0 0x1165 6 call(0x1040) 0x116a 7 rdi = 0x2005 {"%d"} 0x1171 8 rsi = rbp - 8 {var_10} 0x1175 9 al = 0 0x1177 10 call(0x1040) 0x117c 11 [rbp - 0x14 {var_1c}].d = 0 0x117c 12 goto 13 @ 0x1183 0x1183 13 eax = [rbp - 4 {var_c}].d 0x1189 14 if (eax s> [rbp - 8 {var_10}].d) then 15 @ 0x1290 else 16 @ 0x1193 0x1290 15 if ([rbp - 0x14 {var_1c}].d != 0) then 17 @ 0x12a4 else 20 @ 0x1296 0x1193 16 if ([rbp - 4 {var_c}].d != 1) then 24 @ 0x119e else 26 @ 0x1199 0x12a4 17 rsp = rsp + 0x20 0x12a8 18 rbp = pop 0x12a9 19 <return> jump(pop) 0x1296 20 rdi = 0x2008 {"no"} 0x129d 21 al = 0 0x129f 22 call(0x1030) 0x129f 23 goto 17 @ 0x12a4 0x119e 24 [rbp - 0x10 {var_18_1}].d = 2 0x119e 25 goto 27 @ 0x11a5 0x1199 26 goto 29 @ 0x127e 0x11a5 27 eax = [rbp - 0x10 {var_18_1}].d 0x11ab 28 if (eax s>= [rbp - 4 {var_c}].d) then 33 @ 0x11e1 else 34 @ 0x11b1 0x127e 29 eax = [rbp - 4 {var_c}].d 0x1281 30 eax = eax + 1 0x1284 31 [rbp - 4 {var_c}].d = eax 0x1287 32 goto 13 @ 0x1183 0x11e1 33 if ([rbp - 0xc {var_14}].d == 0) then 48 @ 0x1279 else 49 @ 0x11e7 0x11b1 34 eax = [rbp - 4 {var_c}].d 0x11b4 35 temp2.d:temp3.d = sx.q(eax) 0x11b4 36 edx = temp2.d 0x11b4 37 eax = temp3.d 0x11b5 38 temp4.d = edx 0x11b5 39 temp5.d = eax 0x11b5 40 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0x10 {var_18_1}].d) 0x11b5 41 temp6.d = edx 0x11b5 42 temp7.d = eax 0x11b5 43 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0x10 {var_18_1}].d) 0x11b5 44 eax = temp0.d 0x11b5 45 edx = temp1.d 0x11b8 46 [rbp - 0xc {var_14}].d = edx 0x11bf 47 if ([rbp - 0xc {var_14}].d != 0) then 53 @ 0x11ca else 54 @ 0x11c5 0x1279 48 goto 29 @ 0x127e 0x11e7 49 eax = [rbp - 4 {var_c}].d 0x11ea 50 [rbp - 0x18 {var_20_1}].d = eax 0x11ed 51 [rbp - 0x20 {var_28_1}].d = 0 0x11ed 52 goto 55 @ 0x11f8 0x11ca 53 goto 56 @ 0x11cf 0x11c5 54 goto 33 @ 0x11e1 0x11f8 55 if ([rbp - 0x18 {var_20_1}].d s<= 0) then 60 @ 0x1229 else 62 @ 0x11fe 0x11cf 56 eax = [rbp - 0x10 {var_18_1}].d 0x11d2 57 eax = eax + 1 0x11d5 58 [rbp - 0x10 {var_18_1}].d = eax 0x11d8 59 goto 27 @ 0x11a5 0x1229 60 eax = [rbp - 4 {var_c}].d 0x122f 61 if (eax != [rbp - 0x20 {var_28_1}].d) then 94 @ 0x1274 else 95 @ 0x1235 0x11fe 62 eax = [rbp - 0x18 {var_20_1}].d 0x1201 63 ecx = 0xa {""} 0x1206 64 temp8.d:temp9.d = sx.q(eax) 0x1206 65 edx = temp8.d 0x1206 66 eax = temp9.d 0x1207 67 temp10.d = edx 0x1207 68 temp11.d = eax 0x1207 69 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x1207 70 temp12.d = edx 0x1207 71 temp13.d = eax 0x1207 72 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x1207 73 eax = temp0.d 0x1207 74 edx = temp1.d 0x1209 75 [rbp - 0x1c {var_24_1}].d = edx 0x120c 76 eax = [rbp - 0x20 {var_28_1}].d * 0xa 0x1210 77 eax = eax + [rbp - 0x1c {var_24_1}].d 0x1213 78 [rbp - 0x20 {var_28_1}].d = eax 0x1216 79 eax = [rbp - 0x18 {var_20_1}].d 0x1219 80 ecx = 0xa {""} 0x121e 81 temp14.d:temp15.d = sx.q(eax) 0x121e 82 edx = temp14.d 0x121e 83 eax = temp15.d 0x121f 84 temp16.d = edx 0x121f 85 temp17.d = eax 0x121f 86 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x121f 87 temp18.d = edx 0x121f 88 temp19.d = eax 0x121f 89 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x121f 90 eax = temp0.d 0x121f 91 edx = temp1.d 0x1221 92 [rbp - 0x18 {var_20_1}].d = eax 0x1224 93 goto 55 @ 0x11f8 0x1274 94 goto 48 @ 0x1279 0x1235 95 eax = [rbp - 0x14 {var_1c}].d 0x1238 96 eax = eax + 1 0x123b 97 [rbp - 0x14 {var_1c}].d = eax 0x1242 98 if ([rbp - 0x14 {var_1c}].d != 1) then 99 @ 0x125e else 104 @ 0x1248 0x125e 99 esi = [rbp - 4 {var_c}].d 0x1261 100 rdi = 0x2004 {",%d"} 0x1268 101 al = 0 0x126a 102 call(0x1030) 0x126a 103 goto 109 @ 0x126f 0x1248 104 esi = [rbp - 4 {var_c}].d 0x124b 105 rdi = 0x2005 {"%d"} 0x1252 106 al = 0 0x1254 107 call(0x1030) 0x1259 108 goto 109 @ 0x126f 0x126f 109 goto 94 @ 0x1274 int64_t _fini(): 0x12b0 0 rsp = rsp - 8 0x12b4 1 rsp = rsp + 8 0x12b8 2 <return> jump(pop)
POJ_74
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t scanf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t putchar(int32_t c): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"PH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rax) 0x1151 1 rdi = 0x2004 {"%d"} 0x1158 2 rsi = rsp + 4 {var_8+0x4} 0x115d 3 eax = 0 0x115f 4 call(0x1030) 0x1164 5 eax = [rsp + 4 {var_8+0x4}].d 0x1168 6 ecx = eax * -0x55555555 0x116e 7 ecx = ecx + 0x2aaaaaaa 0x117a 8 if (ecx u<= 0x55555554) then 9 @ 0x11af else 15 @ 0x117c 0x11af 9 edi = 0x33 {""} 0x11b4 10 call(0x1040) 0x11b9 11 eax = [rsp + 4 {var_8+0x4}].d 0x11bd 12 ecx = eax * -0x33333333 0x11c3 13 ecx = ecx + 0x19999999 0x11cf 14 if (ecx u>= 0x33333333) then 18 @ 0x11e9 else 21 @ 0x11d1 0x117c 15 ecx = eax * -0x33333333 0x1182 16 ecx = ecx + 0x19999999 0x118e 17 if (ecx u< 0x33333333) then 24 @ 0x11db else 28 @ 0x1190 0x11e9 18 eax = eax * -0x49249249 0x11ef 19 eax = eax + 0x12492492 0x11f9 20 if (eax u>= 0x24924925) then 34 @ 0x120f else 37 @ 0x11fb 0x11d1 21 edi = 0x20 {"@"} 0x11d6 22 call(0x1040) 0x11d6 23 goto 24 @ 0x11db 0x11db 24 edi = 0x35 {""} 0x11e0 25 call(0x1040) 0x11e5 26 eax = [rsp + 4 {var_8+0x4}].d 0x11e5 27 goto 18 @ 0x11e9 0x1190 28 eax = eax * -0x49249249 0x1196 29 eax = eax + 0x12492492 0x119b 30 cond:0 = eax u< 0x24924925 0x11a0 31 eax = 0x37 {""} 0x11a5 32 edi = 0x6e {""} 0x11aa 33 if (cond:0) then 41 else 43 @ 0x11ad 0x120f 34 eax = 0 0x1211 35 rcx = pop 0x1212 36 <return> jump(pop) 0x11fb 37 edi = 0x20 {"@"} 0x1200 38 call(0x1040) 0x1205 39 edi = 0x37 {""} 0x1205 40 goto 44 @ 0x120a 0x11aa 41 edi = eax 0x11aa 42 goto 43 @ 0x11ad 0x11ad 43 goto 44 @ 0x120a 0x120a 44 call(0x1040) 0x120a 45 goto 34 @ 0x120f int64_t _fini(): 0x1218 0 rsp = rsp - 8 0x121c 1 rsp = rsp + 8 0x1220 2 <return> jump(pop)
POJ_93
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t scanf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t puts(char const* str): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x12e8 0x1161 7 rdi = 0x2004 {"%d\n"} 0x1168 8 r13d = 0 0x116b 9 rsi = rsp + 0xc {var_130c} 0x1170 10 eax = 0 0x1172 11 call(0x1030) 0x1177 12 cond:0 = [rsp + 0xc {var_130c}].d s<= 0 0x117c 13 r12d = 0 0x1182 14 if (cond:0) then 15 @ 0x1215 else 17 @ 0x1188 0x1215 15 r14d = r13d 0x121b 16 if (r13d s<= 0) then 24 @ 0x1291 else 25 @ 0x121d 0x1188 17 rbx = rsp + 0xca0 {var_678} 0x1190 18 r14 = 0x2008 {"%s"} 0x1197 19 r15 = 0x200b {"%d"} 0x119e 20 ebp = 0 0x11a0 21 r12d = 0 0x11a3 22 r13d = 0 0x11a6 23 goto 30 @ 0x11e3 0x1291 24 if (r13d s<= 0) then 39 @ 0x12f4 else 40 @ 0x1293 0x121d 25 r8 = sx.q(r13d) 0x1220 26 rbx = rsp + 0x30 {var_12e8} 0x1225 27 edx = 1 0x122a 28 esi = 0 0x122c 29 goto 42 @ 0x123d 0x11e3 30 rdi = r14 0x11e6 31 rsi = rbx 0x11e9 32 eax = 0 0x11eb 33 call(0x1030) 0x11f0 34 rsi = rbx + 0xc 0x11f4 35 rdi = r15 0x11f7 36 eax = 0 0x11f9 37 call(0x1030) 0x1202 38 if ([rbx + 0xc].d s< 0x3c) then 45 @ 0x11b0 else 50 @ 0x1204 0x12f4 39 if (r12d s<= 0) then 55 @ 0x1322 else 63 @ 0x12f6 0x1293 40 r13d = 0 0x1296 41 goto 66 @ 0x12a9 0x123d 42 rcx = rsi 0x1240 43 rsi = rsi + 1 0x1247 44 if (rsi s>= r8) then 70 @ 0x1230 else 73 @ 0x1249 0x11b0 45 ecx = r12d 0x11b3 46 edx = (r12 + 1).d 0x11b8 47 rax = rsp + 0x660 {var_cb8} 0x11c0 48 r12d = edx 0x11c0 49 goto 79 @ 0x11c3 0x1204 50 ecx = r13d 0x1207 51 edx = (r13 + 1).d 0x120b 52 rax = rsp + 0x20 {var_12f8} 0x1210 53 r13d = edx 0x1213 54 goto 79 @ 0x11c3 0x1322 55 rsp = rsp + 0x12e8 0x1329 56 rbx = pop 0x132a 57 r12 = pop 0x132c 58 r13 = pop 0x132e 59 r14 = pop 0x1330 60 r15 = pop 0x1332 61 rbp = pop 0x1333 62 <return> jump(pop) 0x12f6 63 ebp = r12d 0x12f9 64 rbx = rsp + 0x660 {var_cb8} 0x130b 65 goto 87 @ 0x1310 0x12a9 66 rax = r13 0x12ac 67 rax = rax << 4 0x12b0 68 ebp = [rsp + rax + 0x2c].d 0x12b8 69 if (ebp == [rsp + rax + 0x1c].d) then 93 @ 0x12a0 else 95 @ 0x12bf 0x1230 70 rdx = rdx + 1 0x1234 71 rbx = rbx + 0x10 0x123b 72 if (rsi == r14) then 24 @ 0x1291 else 42 @ 0x123d 0x1249 73 rcx = rcx << 4 0x124d 74 rdi = rsp + rcx 0x1251 75 rdi = rdi + 0x2c 0x1255 76 rbp = r14 0x1258 77 rcx = rbx 0x125b 78 goto 96 @ 0x126d 0x11c3 79 rcx = sx.q(ecx) 0x11c6 80 rcx = rcx << 4 0x11ca 81 xmm0 = [rbx].o 0x11cd 82 [rax + rcx].o = xmm0 0x11d1 83 rbp = rbp + 1 0x11d5 84 rax = sx.q([rsp + 0xc {var_130c}].d) 0x11da 85 rbx = rbx + 0x10 0x11e1 86 if (rbp s>= rax) then 15 @ 0x1215 else 30 @ 0x11e3 0x1310 87 rdi = rbx 0x1313 88 call(0x1040) 0x1318 89 rbx = rbx + 0x10 0x131c 90 temp0.q = rbp 0x131c 91 rbp = rbp - 1 0x1320 92 if (temp0.q != 1) then 87 @ 0x1310 else 55 @ 0x1322 0x12a0 93 r13 = r13 + 1 0x12a7 94 if (r13 == r14) then 39 @ 0x12f4 else 66 @ 0x12a9 0x12bf 95 if ([rsp + 0xc {var_130c}].d s<= 0) then 93 @ 0x12a0 else 98 @ 0x12c1 0x126d 96 eax = [rcx + 0xc].d 0x1272 97 if (eax s<= [rdi].d) then 101 @ 0x1260 else 104 @ 0x1274 0x12c1 98 rbx = rsp + 0xca0 {var_678} 0x12c9 99 r15d = 0 0x12cc 100 goto 111 @ 0x12e5 0x1260 101 rcx = rcx + 0x10 0x1264 102 rbp = rbp - 1 0x126b 103 if (rdx == rbp) then 70 @ 0x1230 else 96 @ 0x126d 0x1274 104 xmm0 = [rdi - 0xc].o 0x1278 105 [rsp + 0x10 {var_1308}].o = xmm0 0x127d 106 xmm0 = [rcx].o 0x1280 107 [rdi - 0xc].o = xmm0 0x1284 108 xmm0 = [rsp + 0x10 {var_1308}].o 0x1289 109 [rcx].o = xmm0 0x128c 110 goto 101 @ 0x1260 0x12e5 111 if ([rbx + 0xc].d != ebp) then 112 @ 0x12d0 else 116 @ 0x12e7 0x12d0 112 r15 = r15 + 1 0x12d4 113 rax = sx.q([rsp + 0xc {var_130c}].d) 0x12d9 114 rbx = rbx + 0x10 0x12e0 115 if (r15 s>= rax) then 93 @ 0x12a0 else 111 @ 0x12e5 0x12e7 116 rdi = rbx 0x12ea 117 call(0x1040) 0x12ef 118 goto 112 @ 0x12d0 int64_t _fini(): 0x1338 0 rsp = rsp - 8 0x133c 1 rsp = rsp + 8 0x1340 2 <return> jump(pop)
POJ_9
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x9df8 0x1171 7 rdi = rsp + 0x20 {var_9e08} 0x1176 8 edx = 0x190 {""} 0x117b 9 esi = 0 0x117d 10 call(0x1040) 0x1182 11 rdi = 0x2006 {"%d"} 0x1189 12 rsi = rsp + 0xc {var_9e1c} 0x118e 13 eax = 0 0x1190 14 call(0x1050) 0x119a 15 if ([rsp + 0xc {var_9e1c}].d s<= 0) then 16 @ 0x1372 else 17 @ 0x11a0 0x1372 16 if ([rsp + 0xc {var_9e1c}].d s<= 0) then 21 @ 0x139c else 30 @ 0x1374 0x11a0 17 r13 = 0x2006 {"%d"} 0x11a7 18 r15d = 0 0x11aa 19 r14d = 0 0x11ad 20 goto 33 @ 0x11c7 0x139c 21 eax = 0 0x139e 22 rsp = rsp + 0x9df8 0x13a5 23 rbx = pop 0x13a6 24 r12 = pop 0x13a8 25 r13 = pop 0x13aa 26 r14 = pop 0x13ac 27 r15 = pop 0x13ae 28 rbp = pop 0x13af 29 <return> jump(pop) 0x1374 30 rbx = 0x2009 {"%d\n"} 0x137b 31 ebp = 0 0x137d 32 goto 40 @ 0x1380 0x11c7 33 rdi = 0x2004 {"%d%d"} 0x11ce 34 rsi = rsp + 0x14 {var_9e14} 0x11d3 35 rdx = rsp + 0x10 {var_9e18} 0x11d8 36 eax = 0 0x11da 37 call(0x1050) 0x11df 38 eax = [rsp + 0x14 {var_9e14}].d 0x11e5 39 if (eax s<= 0) then 47 @ 0x1265 else 49 @ 0x11eb 0x1380 40 esi = [rsp + (rbp << 2) + 0x20].d 0x1384 41 rdi = rbx 0x1387 42 eax = 0 0x1389 43 call(0x1030) 0x138e 44 rbp = rbp + 1 0x1392 45 rax = sx.q([rsp + 0xc {var_9e1c}].d) 0x139a 46 if (rbp s< rax) then 40 @ 0x1380 else 21 @ 0x139c 0x1265 47 ecx = [rsp + 0x10 {var_9e18}].d 0x126d 48 if (rcx == 1) then 53 @ 0x11b0 else 55 @ 0x1276 0x11eb 49 [rsp + 0x18 {var_9e10_1}].q = r15 0x11f0 50 r15 = rsp + 0x1b0 {var_9c78} 0x11f8 51 r12d = 0 0x11fb 52 goto 56 @ 0x121a 0x11b0 53 [rsp + (r15 << 2) + 0x20].d = r14d 0x11b0 54 goto 57 @ 0x11b5 0x1276 55 if (eax == 1) then 53 @ 0x11b0 else 60 @ 0x127c 0x121a 56 if ([rsp + 0x10 {var_9e18}].d s<= 0) then 62 @ 0x1200 else 66 @ 0x121c 0x11b5 57 r15 = r15 + 1 0x11b9 58 rax = sx.q([rsp + 0xc {var_9e1c}].d) 0x11c1 59 if (r15 s>= rax) then 16 @ 0x1372 else 33 @ 0x11c7 0x127c 60 esi = (rcx - 1).d 0x1282 61 if (ecx s< 2) then 69 @ 0x12a5 else 71 @ 0x1284 0x1200 62 r12 = r12 + 1 0x1204 63 rax = sx.q([rsp + 0x14 {var_9e14}].d) 0x1209 64 r15 = r15 + 0x190 0x1213 65 if (r12 s>= rax) then 75 @ 0x1260 else 56 @ 0x121a 0x121c 66 rbx = r15 0x121f 67 ebp = 0 0x122b 68 goto 77 @ 0x1230 0x12a5 69 edx = (rax - 1).d 0x12ab 70 if (eax s>= 2) then 86 @ 0x12c0 else 94 @ 0x12b0 0x1284 71 edx = [rsp + (r15 << 2) + 0x20].d 0x1289 72 edi = esi 0x128b 73 ebp = 0 0x128d 74 goto 95 @ 0x1290 0x1260 75 r15 = [rsp + 0x18 {var_9e10_1}].q 0x1260 76 goto 47 @ 0x1265 0x1230 77 rdi = r13 0x1233 78 rsi = rbx 0x1236 79 eax = 0 0x1238 80 call(0x1050) 0x123d 81 r14d = r14d + [rbx].d 0x1240 82 rbp = rbp + 1 0x1244 83 rax = sx.q([rsp + 0x10 {var_9e18}].d) 0x1249 84 rbx = rbx + 4 0x1250 85 if (rbp s< rax) then 77 @ 0x1230 else 98 @ 0x1252 0x12c0 86 rdi = sx.q(esi) 0x12c3 87 esi = [rsp + (r15 << 2) + 0x20].d 0x12c8 88 ebp = edx 0x12ca 89 rdi = rsp + (rdi << 2) 0x12ce 90 rdi = rdi + 0x1b0 0x12d5 91 rbp = rbp * 0x190 0x12dc 92 ebx = 0 0x12de 93 goto 99 @ 0x12e0 0x12b0 94 if (ecx s>= 2) then 102 @ 0x12f9 else 109 @ 0x12b5 0x1290 95 edx = edx + [rsp + (rbp << 2) + 0x1b0].d 0x1297 96 rbp = rbp + 1 0x129e 97 if (rdi != rbp) then 95 @ 0x1290 else 110 @ 0x12a0 0x1252 98 goto 62 @ 0x1200 0x12e0 99 esi = esi + [rdi + rbx].d 0x12e3 100 rbx = rbx + 0x190 0x12ed 101 if (rbp != rbx) then 99 @ 0x12e0 else 112 @ 0x12ef 0x12f9 102 rsi = sx.q(edx) 0x12fc 103 edx = [rsp + (r15 << 2) + 0x20].d 0x1301 104 rsi = rsi * 0x190 0x1308 105 rsi = rsi + rsp 0x130b 106 rsi = rsi + 0x1b0 0x1312 107 edi = 1 0x1317 108 goto 114 @ 0x1320 0x12b5 109 if (eax s< 2) then 57 @ 0x11b5 else 117 @ 0x12bb 0x12a0 110 [rsp + (r15 << 2) + 0x20].d = edx 0x12a0 111 goto 69 @ 0x12a5 0x12ef 112 [rsp + (r15 << 2) + 0x20].d = esi 0x12f7 113 if (ecx s< 2) then 109 @ 0x12b5 else 102 @ 0x12f9 0x1320 114 edx = edx + [rsi + (rdi << 2)].d 0x1323 115 rdi = rdi + 1 0x132a 116 if (rcx != rdi) then 114 @ 0x1320 else 118 @ 0x132c 0x12bb 117 goto 120 @ 0x133a 0x132c 118 [rsp + (r15 << 2) + 0x20].d = edx 0x1334 119 if (eax s< 2) then 57 @ 0x11b5 else 120 @ 0x133a 0x133a 120 ecx = [rsp + (r15 << 2) + 0x20].d 0x133f 121 eax = eax 0x1341 122 rax = rax * 0x190 0x1348 123 edx = 0x190 {""} 0x134d 124 goto 125 @ 0x1350 0x1350 125 ecx = ecx + [rsp + rdx + 0x1b0].d 0x1357 126 rdx = rdx + 0x190 0x1361 127 if (rax != rdx) then 125 @ 0x1350 else 128 @ 0x1363 0x1363 128 [rsp + (r15 << 2) + 0x20].d = ecx 0x1368 129 goto 57 @ 0x11b5 int64_t _fini(): 0x13b4 0 rsp = rsp - 8 0x13b8 1 rsp = rsp + 8 0x13bc 2 <return> jump(pop)
POJ_6
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0xfc0 0x115b 3 rdi = 0x2013 {"%d"} 0x1162 4 rsi = rbp - 0xfa4 {var_fac} 0x1169 5 al = 0 0x116b 6 call(0x1040) 0x1170 7 [rbp - 0xfa8 {var_fb0}].d = 0 0x1170 8 goto 9 @ 0x117a 0x117a 9 eax = [rbp - 0xfa8 {var_fb0}].d 0x1186 10 if (eax s>= [rbp - 0xfa4 {var_fac}].d) then 11 @ 0x1244 else 13 @ 0x118c 0x1244 11 [rbp - 0xfa8 {var_fb0_1}].d = 0 0x1244 12 goto 50 @ 0x124e 0x118c 13 rax = sx.q([rbp - 0xfa8 {var_fb0}].d) 0x1193 14 rsi = rbp - 0xfa0 {var_fa8} 0x119a 15 rax = rax * 0x28 0x119e 16 rsi = rsi + rax 0x11a1 17 rax = sx.q([rbp - 0xfa8 {var_fb0}].d) 0x11a8 18 rdx = rbp - 0xfa0 {var_fa8} 0x11af 19 rax = rax * 0x28 0x11b3 20 rdx = rdx + rax 0x11b6 21 rdx = rdx + 0x14 0x11ba 22 rax = sx.q([rbp - 0xfa8 {var_fb0}].d) 0x11c1 23 rcx = rbp - 0xfa0 {var_fa8} 0x11c8 24 rax = rax * 0x28 0x11cc 25 rcx = rcx + rax 0x11cf 26 rcx = rcx + 0x18 0x11d3 27 rax = sx.q([rbp - 0xfa8 {var_fb0}].d) 0x11da 28 r8 = rbp - 0xfa0 {var_fa8} 0x11e1 29 rax = rax * 0x28 0x11e5 30 r8 = r8 + rax 0x11e8 31 r8 = r8 + 0x1c 0x11ec 32 rax = sx.q([rbp - 0xfa8 {var_fb0}].d) 0x11f3 33 r9 = rbp - 0xfa0 {var_fa8} 0x11fa 34 rax = rax * 0x28 0x11fe 35 r9 = r9 + rax 0x1201 36 r9 = r9 + 0x1d 0x1205 37 rdi = sx.q([rbp - 0xfa8 {var_fb0}].d) 0x120c 38 rax = rbp - 0xfa0 {var_fa8} 0x1213 39 rdi = rdi * 0x28 0x1217 40 rax = rax + rdi 0x121a 41 rax = rax + 0x20 0x121e 42 rdi = 0x2004 {"%s %d %d %c %c %d"} 0x1225 43 [rsp {var_fc8_1}].q = rax 0x1229 44 al = 0 0x122b 45 call(0x1040) 0x1230 46 eax = [rbp - 0xfa8 {var_fb0}].d 0x1236 47 eax = eax + 1 0x1239 48 [rbp - 0xfa8 {var_fb0}].d = eax 0x123f 49 goto 9 @ 0x117a 0x124e 50 eax = [rbp - 0xfa8 {var_fb0_1}].d 0x125a 51 if (eax s>= [rbp - 0xfa4 {var_fac}].d) then 52 @ 0x14c0 else 55 @ 0x1260 0x14c0 52 [rbp - 0xfa8 {var_fb0_2}].d = 0 0x14ca 53 [rbp - 0xfac {var_fb4}].d = 0 0x14ca 54 goto 65 @ 0x14d4 0x1260 55 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x1267 56 rax = rbp - 0xfa0 {var_fa8} 0x126e 57 rcx = rcx * 0x28 0x1272 58 rax = rax + rcx 0x1275 59 [rax + 0x24].d = 0 0x127c 60 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x1283 61 rax = rbp - 0xfa0 {var_fa8} 0x128a 62 rcx = rcx * 0x28 0x128e 63 rax = rax + rcx 0x1295 64 if ([rax + 0x14].d s<= 0x50) then 67 @ 0x12f0 else 72 @ 0x129b 0x14d4 65 eax = [rbp - 0xfa8 {var_fb0_2}].d 0x14e0 66 if (eax s>= [rbp - 0xfa4 {var_fac}].d) then 77 @ 0x151e else 81 @ 0x14e6 0x12f0 67 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x12f7 68 rax = rbp - 0xfa0 {var_fa8} 0x12fe 69 rcx = rcx * 0x28 0x1302 70 rax = rax + rcx 0x1309 71 if ([rax + 0x14].d s<= 0x55) then 92 @ 0x1364 else 97 @ 0x130f 0x129b 72 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x12a2 73 rax = rbp - 0xfa0 {var_fa8} 0x12a9 74 rcx = rcx * 0x28 0x12ad 75 rax = rax + rcx 0x12b4 76 if ([rax + 0x20].d s< 1) then 67 @ 0x12f0 else 102 @ 0x12ba 0x151e 77 [rbp - 0xfa8 {var_fb0_3}].d = 1 0x1528 78 rax = rbp - 0xfa0 {var_fa8} 0x152f 79 [rbp - 0xfb8 {var_fc0}].q = rax {var_fa8} 0x152f 80 goto 114 @ 0x1536 0x14e6 81 eax = [rbp - 0xfac {var_fb4}].d 0x14ec 82 rdx = sx.q([rbp - 0xfa8 {var_fb0_2}].d) 0x14f3 83 rcx = rbp - 0xfa0 {var_fa8} 0x14fa 84 rdx = rdx * 0x28 0x14fe 85 rcx = rcx + rdx 0x1501 86 eax = eax + [rcx + 0x24].d 0x1504 87 [rbp - 0xfac {var_fb4}].d = eax 0x150a 88 eax = [rbp - 0xfa8 {var_fb0_2}].d 0x1510 89 eax = eax + 1 0x1513 90 [rbp - 0xfa8 {var_fb0_2}].d = eax 0x1519 91 goto 65 @ 0x14d4 0x1364 92 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x136b 93 rax = rbp - 0xfa0 {var_fa8} 0x1372 94 rcx = rcx * 0x28 0x1376 95 rax = rax + rcx 0x137d 96 if ([rax + 0x14].d s<= 0x5a) then 116 @ 0x13b9 else 121 @ 0x1383 0x130f 97 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x1316 98 rax = rbp - 0xfa0 {var_fa8} 0x131d 99 rcx = rcx * 0x28 0x1321 100 rax = rax + rcx 0x1328 101 if ([rax + 0x18].d s<= 0x50) then 92 @ 0x1364 else 133 @ 0x132e 0x12ba 102 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x12c1 103 rax = rbp - 0xfa0 {var_fa8} 0x12c8 104 rcx = rcx * 0x28 0x12cc 105 rax = rax + rcx 0x12cf 106 ecx = [rax + 0x24].d 0x12d2 107 ecx = ecx + 0x1f40 0x12d8 108 rdx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x12df 109 rax = rbp - 0xfa0 {var_fa8} 0x12e6 110 rdx = rdx * 0x28 0x12ea 111 rax = rax + rdx 0x12ed 112 [rax + 0x24].d = ecx 0x12ed 113 goto 67 @ 0x12f0 0x1536 114 eax = [rbp - 0xfa8 {var_fb0_3}].d 0x1542 115 if (eax s>= [rbp - 0xfa4 {var_fac}].d) then 145 @ 0x15a5 else 155 @ 0x1548 0x13b9 116 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x13c0 117 rax = rbp - 0xfa0 {var_fa8} 0x13c7 118 rcx = rcx * 0x28 0x13cb 119 rax = rax + rcx 0x13d2 120 if ([rax + 0x14].d s<= 0x55) then 162 @ 0x1430 else 167 @ 0x13d8 0x1383 121 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x138a 122 rax = rbp - 0xfa0 {var_fa8} 0x1391 123 rcx = rcx * 0x28 0x1395 124 rax = rax + rcx 0x1398 125 ecx = [rax + 0x24].d 0x139b 126 ecx = ecx + 0x7d0 0x13a1 127 rdx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x13a8 128 rax = rbp - 0xfa0 {var_fa8} 0x13af 129 rdx = rdx * 0x28 0x13b3 130 rax = rax + rdx 0x13b6 131 [rax + 0x24].d = ecx 0x13b6 132 goto 116 @ 0x13b9 0x132e 133 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x1335 134 rax = rbp - 0xfa0 {var_fa8} 0x133c 135 rcx = rcx * 0x28 0x1340 136 rax = rax + rcx 0x1343 137 ecx = [rax + 0x24].d 0x1346 138 ecx = ecx + 0xfa0 0x134c 139 rdx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x1353 140 rax = rbp - 0xfa0 {var_fa8} 0x135a 141 rdx = rdx * 0x28 0x135e 142 rax = rax + rdx 0x1361 143 [rax + 0x24].d = ecx 0x1361 144 goto 92 @ 0x1364 0x15a5 145 rsi = [rbp - 0xfb8 {var_fc0}].q 0x15ac 146 rax = [rbp - 0xfb8 {var_fc0}].q 0x15b3 147 edx = [rax + 0x24].d 0x15b6 148 ecx = [rbp - 0xfac {var_fb4}].d 0x15bc 149 rdi = 0x2016 {"%s\n%d\n%d\n"} 0x15c3 150 al = 0 0x15c5 151 call(0x1030) 0x15ca 152 rsp = rsp + 0xfc0 0x15d1 153 rbp = pop 0x15d2 154 <return> jump(pop) 0x1548 155 rcx = sx.q([rbp - 0xfa8 {var_fb0_3}].d) 0x154f 156 rax = rbp - 0xfa0 {var_fa8} 0x1556 157 rcx = rcx * 0x28 0x155a 158 rax = rax + rcx 0x155d 159 eax = [rax + 0x24].d 0x1560 160 rcx = [rbp - 0xfb8 {var_fc0}].q 0x156a 161 if (eax s<= [rcx + 0x24].d) then 173 @ 0x158c else 174 @ 0x1570 0x1430 162 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x1437 163 rax = rbp - 0xfa0 {var_fa8} 0x143e 164 rcx = rcx * 0x28 0x1442 165 rax = rax + rcx 0x1449 166 if ([rax + 0x18].d s<= 0x50) then 180 @ 0x14a7 else 181 @ 0x144f 0x13d8 167 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x13df 168 rax = rbp - 0xfa0 {var_fa8} 0x13e6 169 rcx = rcx * 0x28 0x13ea 170 rax = rax + rcx 0x13ed 171 eax = sx.d([rax + 0x1d].b) 0x13f4 172 if (eax != 0x59) then 162 @ 0x1430 else 187 @ 0x13fa 0x158c 173 goto 199 @ 0x1591 0x1570 174 rax = rbp - 0xfa0 {var_fa8} 0x1577 175 rcx = sx.q([rbp - 0xfa8 {var_fb0_3}].d) 0x157e 176 rcx = rcx * 0x28 0x1582 177 rax = rax + rcx 0x1585 178 [rbp - 0xfb8 {var_fc0}].q = rax 0x1585 179 goto 173 @ 0x158c 0x14a7 180 goto 203 @ 0x14ac 0x144f 181 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x1456 182 rax = rbp - 0xfa0 {var_fa8} 0x145d 183 rcx = rcx * 0x28 0x1461 184 rax = rax + rcx 0x1464 185 eax = sx.d([rax + 0x1c].b) 0x146b 186 if (eax != 0x59) then 180 @ 0x14a7 else 207 @ 0x1471 0x13fa 187 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x1401 188 rax = rbp - 0xfa0 {var_fa8} 0x1408 189 rcx = rcx * 0x28 0x140c 190 rax = rax + rcx 0x140f 191 ecx = [rax + 0x24].d 0x1412 192 ecx = ecx + 0x3e8 0x1418 193 rdx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x141f 194 rax = rbp - 0xfa0 {var_fa8} 0x1426 195 rdx = rdx * 0x28 0x142a 196 rax = rax + rdx 0x142d 197 [rax + 0x24].d = ecx 0x142d 198 goto 162 @ 0x1430 0x1591 199 eax = [rbp - 0xfa8 {var_fb0_3}].d 0x1597 200 eax = eax + 1 0x159a 201 [rbp - 0xfa8 {var_fb0_3}].d = eax 0x15a0 202 goto 114 @ 0x1536 0x14ac 203 eax = [rbp - 0xfa8 {var_fb0_1}].d 0x14b2 204 eax = eax + 1 0x14b5 205 [rbp - 0xfa8 {var_fb0_1}].d = eax 0x14bb 206 goto 50 @ 0x124e 0x1471 207 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x1478 208 rax = rbp - 0xfa0 {var_fa8} 0x147f 209 rcx = rcx * 0x28 0x1483 210 rax = rax + rcx 0x1486 211 ecx = [rax + 0x24].d 0x1489 212 ecx = ecx + 0x352 0x148f 213 rdx = sx.q([rbp - 0xfa8 {var_fb0_1}].d) 0x1496 214 rax = rbp - 0xfa0 {var_fa8} 0x149d 215 rdx = rdx * 0x28 0x14a1 216 rax = rax + rdx 0x14a4 217 [rax + 0x24].d = ecx 0x14a4 218 goto 180 @ 0x14a7 int64_t _fini(): 0x15d8 0 rsp = rsp - 8 0x15dc 1 rsp = rsp + 8 0x15e0 2 <return> jump(pop)
POJ_39
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) char* gets(char* buf): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0x186e0 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rdi = 0x2004 {"%d"} 0x1189 5 rsi = rbp - 8 {var_10} 0x118d 6 al = 0 0x118f 7 call(0x1050) 0x1194 8 rdi = rbp - 0x186ca {var_186d2} 0x119b 9 al = 0 0x119d 10 call(0x1060) 0x11a2 11 [rbp - 0xc {var_14}].d = 0 0x11a2 12 goto 13 @ 0x11a9 0x11a9 13 eax = [rbp - 0xc {var_14}].d 0x11af 14 if (eax s>= [rbp - 8 {var_10}].d) then 15 @ 0x12e8 else 19 @ 0x11b5 0x12e8 15 eax = 0 0x12ea 16 rsp = rsp + 0x186e0 0x12f1 17 rbp = pop 0x12f2 18 <return> jump(pop) 0x11b5 19 [rbp - 0x20 {var_28_1}].d = 0 0x11bc 20 rdi = rbp - 0x186c0 {var_186c8} 0x11c3 21 al = 0 0x11c5 22 call(0x1060) 0x11ca 23 [rbp - 0x10 {var_18_1}].d = 0 0x11ca 24 goto 25 @ 0x11d1 0x11d1 25 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x11d5 26 [rbp - 0x186d8 {var_186e0_1}].q = rax 0x11dc 27 rdi = rbp - 0x186c0 {var_186c8} 0x11e3 28 call(0x1040) 0x11e8 29 rcx = rax 0x11eb 30 rax = [rbp - 0x186d8 {var_186e0_1}].q 0x11f5 31 if (rax u>= rcx) then 32 @ 0x12a2 else 33 @ 0x11fb 0x12a2 32 if ([rbp - 0x20 {var_28_1}].d != 0) then 36 @ 0x12bb else 42 @ 0x12a8 0x11fb 33 [rbp - 0x18 {var_20_1}].d = 0 0x1202 34 [rbp - 0x14 {var_1c_1}].d = 0 0x1202 35 goto 46 @ 0x1209 0x12bb 36 rax = sx.q([rbp - 0x1c {var_24}].d) 0x12bf 37 esi = sx.d([rbp + rax - 0x186c0].b) 0x12c7 38 rdi = 0x200b {"%c\n"} 0x12ce 39 al = 0 0x12d0 40 call(0x1030) 0x12d0 41 goto 53 @ 0x12d5 0x12a8 42 rdi = 0x2007 {"no\n"} 0x12af 43 al = 0 0x12b1 44 call(0x1030) 0x12b6 45 goto 53 @ 0x12d5 0x1209 46 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x120d 47 [rbp - 0x186e0 {var_186e8_1}].q = rax 0x1214 48 rdi = rbp - 0x186c0 {var_186c8} 0x121b 49 call(0x1040) 0x1220 50 rcx = rax 0x1223 51 rax = [rbp - 0x186e0 {var_186e8_1}].q 0x122d 52 if (rax u>= rcx) then 54 @ 0x1273 else 55 @ 0x1233 0x12d5 53 goto 60 @ 0x12da 0x1273 54 if ([rbp - 0x18 {var_20_1}].d != 1) then 64 @ 0x128b else 65 @ 0x1279 0x1233 55 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x1237 56 eax = sx.d([rbp + rax - 0x186c0].b) 0x123f 57 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1243 58 ecx = sx.d([rbp + rcx - 0x186c0].b) 0x124d 59 if (eax != ecx) then 69 @ 0x125c else 70 @ 0x1253 0x12da 60 eax = [rbp - 0xc {var_14}].d 0x12dd 61 eax = eax + 1 0x12e0 62 [rbp - 0xc {var_14}].d = eax 0x12e3 63 goto 13 @ 0x11a9 0x128b 64 goto 74 @ 0x1290 0x1279 65 [rbp - 0x20 {var_28_1}].d = 1 0x1280 66 eax = [rbp - 0x10 {var_18_1}].d 0x1283 67 [rbp - 0x1c {var_24}].d = eax 0x1286 68 goto 32 @ 0x12a2 0x125c 69 goto 78 @ 0x1261 0x1253 70 eax = [rbp - 0x18 {var_20_1}].d 0x1256 71 eax = eax + 1 0x1259 72 [rbp - 0x18 {var_20_1}].d = eax 0x1259 73 goto 69 @ 0x125c 0x1290 74 eax = [rbp - 0x10 {var_18_1}].d 0x1293 75 eax = eax + 1 0x1296 76 [rbp - 0x10 {var_18_1}].d = eax 0x1299 77 goto 25 @ 0x11d1 0x1261 78 eax = [rbp - 0x14 {var_1c_1}].d 0x1264 79 eax = eax + 1 0x1267 80 [rbp - 0x14 {var_1c_1}].d = eax 0x126a 81 goto 46 @ 0x1209 int64_t _fini(): 0x12f8 0 rsp = rsp - 8 0x12fc 1 rsp = rsp + 8 0x1300 2 <return> jump(pop)
POJ_37
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x11a0 {"AWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int64_t survival(int64_t arg1, int32_t arg2, int32_t arg3): 0x1150 0 eax = 0 0x1155 1 if (esi u> 4) then 2 @ 0x119b else 3 @ 0x115a 0x119b 2 <return> jump(pop) 0x115a 3 if (edx u> 4) then 2 @ 0x119b else 4 @ 0x115c 0x115c 4 rax = sx.q(esi) 0x115f 5 rcx = sx.q(edx) 0x1162 6 rax = rax + (rax << 1) 0x1166 7 rax = rdi + (rax << 3) 0x116a 8 rcx = rcx + (rcx << 1) 0x116e 9 rcx = rdi + (rcx << 3) 0x1172 10 edx = 0 0x117e 11 goto 12 @ 0x1180 0x1180 12 esi = [rax + (rdx << 2)].d 0x1183 13 edi = [rcx + (rdx << 2)].d 0x1186 14 [rax + (rdx << 2)].d = edi 0x1189 15 [rcx + (rdx << 2)].d = esi 0x118c 16 rdx = rdx + 1 0x1194 17 if (rdx != 5) then 12 @ 0x1180 else 18 @ 0x1196 0x1196 18 eax = 1 0x1196 19 goto 2 @ 0x119b int32_t main(int32_t argc, char** argv, char** envp): 0x11a0 0 push(r15) 0x11a2 1 push(r14) 0x11a4 2 push(r13) 0x11a6 3 push(r12) 0x11a8 4 push(rbx) 0x11a9 5 rsp = rsp - 0xa0 0x11b0 6 r12 = rsp + 0x10 {var_b8} 0x11b5 7 r14 = 0x2006 {"%d"} 0x11bc 8 r15d = 0 0x11bf 9 goto 10 @ 0x11c0 0x11c0 10 ebx = 0 0x11cc 11 goto 12 @ 0x11d0 0x11d0 12 rsi = r12 + rbx 0x11d4 13 rdi = r14 0x11d7 14 eax = 0 0x11d9 15 call(0x1040) 0x11de 16 rbx = rbx + 4 0x11e6 17 if (rbx != 0x14) then 12 @ 0x11d0 else 18 @ 0x11e8 0x11e8 18 r15 = r15 + 1 0x11ec 19 r12 = r12 + 0x18 0x11f4 20 if (r15 != 5) then 10 @ 0x11c0 else 21 @ 0x11f6 0x11f6 21 rdi = 0x2004 {"%d%d"} 0x11fd 22 rsi = rsp + 0xc {var_bc} 0x1202 23 rdx = rsp + 8 {var_c0} 0x1207 24 eax = 0 0x1209 25 call(0x1040) 0x120e 26 rdx = sx.q([rsp + 0xc {var_bc}].d) 0x1217 27 bl = rdx u>= 5 0x121a 28 rcx = sx.q([rsp + 8 {var_c0}].d) 0x1223 29 al = rcx u>= 5 0x1226 30 al = al | bl 0x1228 31 if (al != 0) then 32 @ 0x126a else 36 @ 0x122a 0x126a 32 rdi = 0x2009 {"error"} 0x1271 33 eax = 0 0x1273 34 call(0x1030) 0x1278 35 goto 44 @ 0x12d9 0x122a 36 rcx = rcx + (rcx << 1) 0x122e 37 rcx = rsp + (rcx << 3) 0x1232 38 rcx = rcx + 0x10 0x1236 39 rdx = rdx + (rdx << 1) 0x123a 40 rdx = rsp + (rdx << 3) 0x123e 41 rdx = rdx + 0x10 0x1242 42 esi = 0 0x124e 43 goto 51 @ 0x1250 0x12d9 44 rsp = rsp + 0xa0 0x12e0 45 rbx = pop 0x12e1 46 r12 = pop 0x12e3 47 r13 = pop 0x12e5 48 r14 = pop 0x12e7 49 r15 = pop 0x12e9 50 <return> jump(pop) 0x1250 51 edi = [rdx + (rsi << 2)].d 0x1253 52 ebx = [rcx + (rsi << 2)].d 0x1256 53 [rdx + (rsi << 2)].d = ebx 0x1259 54 [rcx + (rsi << 2)].d = edi 0x125c 55 rsi = rsi + 1 0x1264 56 if (rsi != 5) then 51 @ 0x1250 else 57 @ 0x1268 0x1268 57 if (al == 0) then 58 @ 0x127a else 32 @ 0x126a 0x127a 58 r13 = rsp + 0x10 {var_b8} 0x127f 59 r15 = 0x200f {"%d "} 0x1286 60 r14 = 0x2013 {"%d\n"} 0x128d 61 r12d = 0 0x128d 62 goto 63 @ 0x1290 0x1290 63 ebx = 0 0x129c 64 goto 65 @ 0x12a0 0x12a0 65 esi = [r13 + (rbx << 2)].d 0x12a5 66 rdi = r15 0x12a8 67 eax = 0 0x12aa 68 call(0x1030) 0x12af 69 rbx = rbx + 1 0x12b7 70 if (rbx != 4) then 65 @ 0x12a0 else 71 @ 0x12b9 0x12b9 71 rax = r12 + (r12 << 1) 0x12bd 72 esi = [rsp + (rax << 3) + 0x20].d 0x12c1 73 rdi = r14 0x12c4 74 eax = 0 0x12c6 75 call(0x1030) 0x12cb 76 r12 = r12 + 1 0x12cf 77 r13 = r13 + 0x18 0x12d7 78 if (r12 != 5) then 63 @ 0x1290 else 44 @ 0x12d9 int64_t _fini(): 0x12f0 0 rsp = rsp - 8 0x12f4 1 rsp = rsp + 8 0x12f8 2 <return> jump(pop)
POJ_81
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) double sqrt(double x): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"AWAVAUATSH\t"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(r15) 0x1172 1 push(r14) 0x1174 2 push(r13) 0x1176 3 push(r12) 0x1178 4 push(rbx) 0x1179 5 rsp = rsp - 0x9b0 0x1180 6 rdi = rsp + 0x50 {var_988} 0x1185 7 edx = 0x320 {"d-linux-x86-64.so.2"} 0x118a 8 esi = 0 0x118c 9 call(0x1040) 0x1191 10 rdi = rsp + 0x370 {var_668} 0x1199 11 edx = 0x320 {"d-linux-x86-64.so.2"} 0x119e 12 esi = 0 0x11a0 13 call(0x1040) 0x11a5 14 rdi = rsp + 0x690 {var_348} 0x11ad 15 edx = 0x320 {"d-linux-x86-64.so.2"} 0x11b2 16 esi = 0 0x11b4 17 call(0x1040) 0x11b9 18 rdi = 0x2040 {"%d"} 0x11c0 19 rsi = rsp + 0xc {var_9cc} 0x11c5 20 eax = 0 0x11c7 21 call(0x1050) 0x11d1 22 if ([rsp + 0xc {var_9cc}].d s<= 0) then 23 @ 0x1232 else 24 @ 0x11d3 0x1232 23 if ([rsp + 0xc {var_9cc}].d s<= 0) then 30 @ 0x1461 else 38 @ 0x1238 0x11d3 24 r14 = rsp + 0x698 {var_340} 0x11db 25 r15 = rsp + 0x378 {var_660} 0x11e3 26 r13 = rsp + 0x58 {var_980} 0x11e8 27 r12 = 0x2043 {"%lf %lf %lf"} 0x11ef 28 ebx = 0 0x11fb 29 goto 45 @ 0x1200 0x1461 30 eax = 0 0x1463 31 rsp = rsp + 0x9b0 0x146a 32 rbx = pop 0x146b 33 r12 = pop 0x146d 34 r13 = pop 0x146f 35 r14 = pop 0x1471 36 r15 = pop 0x1473 37 <return> jump(pop) 0x1238 38 ebx = 0 0x123a 39 xmm2 = [0x2030].o 0x1242 40 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x1246 41 r12 = 0x204f {"x1=%.5f;x2=%.5f\n"} 0x124d 42 r14 = 0x2060 {"x1=%.5f+%.5fi;x2=%.5f-%.5fi\n"} 0x1254 43 r15 = 0x207d {"x1=x2=%.5f\n"} 0x125b 44 goto 57 @ 0x12ae 0x1200 45 rdi = r12 0x1203 46 rsi = r13 0x1206 47 rdx = r15 0x1209 48 rcx = r14 0x120c 49 eax = 0 0x120e 50 call(0x1050) 0x1213 51 rax = sx.q([rsp + 0xc {var_9cc}].d) 0x1218 52 rbx = rbx + 1 0x121c 53 r14 = r14 + 8 0x1220 54 r15 = r15 + 8 0x1224 55 r13 = r13 + 8 0x122b 56 if (rbx s< rax) then 45 @ 0x1200 else 23 @ 0x1232 0x12ae 57 xmm5 = zx.o([rsp + (rbx << 3) + 0x378].q) 0x12b7 58 xmm0 = zx.o([rsp + (rbx << 3) + 0x58].q) 0x12bd 59 xmm1 = xmm0 0x12c1 60 xmm1.q = xmm1.q f* fconvert.t([0x2008].q) 0x12c9 61 xmm1.q = xmm1.q f* fconvert.t([rsp + (rbx << 3) + 0x698].q) 0x12d2 62 xmm4 = xmm5 0x12d6 63 xmm4.q = xmm4.q f* xmm5.q 0x12da 64 xmm4.q = xmm4.q f+ xmm1.q 0x12de 65 xmm1 = zx.o([0x2010].q) 0x12e6 66 flag:p = is_unordered.q(xmm4.q, xmm1.q) 0x12e6 67 flag:c = xmm4.q f< xmm1.q | is_unordered.q(xmm4.q, xmm1.q) 0x12e6 68 flag:z = xmm4.q f== xmm1.q | is_unordered.q(xmm4.q, xmm1.q) 0x12e6 69 flag:s = 0 0x12e6 70 flag:o = 0 0x12e6 71 flag:a = 0 0x12ea 72 if (flag:z || flag:c) then 73 @ 0x13a0 else 92 @ 0x12f0 0x13a0 73 xmm5 = _mm_xor_pd(xmm5, xmm2) 0x13a4 74 xmm0.q = xmm0.q f+ xmm0.q 0x13a8 75 xmm5.q = xmm5.q f/ xmm0.q 0x13ac 76 xmm0 = xmm5 0x13b0 77 xmm0 = _mm_cmpeq_sd(xmm0.q, xmm1.q, 1) 0x13b5 78 xmm1 = zx.o([0x2018].q) 0x13bd 79 xmm3 = xmm1 0x13c1 80 xmm3 = _mm_cmpeq_sd(xmm3.q, xmm5.q, 1) 0x13c6 81 xmm3 = _mm_andnot_pd(xmm3, xmm5) 0x13ca 82 xmm3 = _mm_and_pd(xmm3, xmm0) 0x13ce 83 xmm0 = _mm_andnot_pd(xmm0, xmm5) 0x13d2 84 xmm3 = _mm_or_pd(xmm3, xmm0) 0x13d6 85 flag:p = is_unordered.q(xmm1.q, xmm4.q) 0x13d6 86 flag:c = xmm1.q f< xmm4.q | is_unordered.q(xmm1.q, xmm4.q) 0x13d6 87 flag:z = xmm1.q f== xmm4.q | is_unordered.q(xmm1.q, xmm4.q) 0x13d6 88 flag:s = 0 0x13d6 89 flag:o = 0 0x13d6 90 flag:a = 0 0x13da 91 if (flag:z || flag:c) then 103 @ 0x1400 else 110 @ 0x13dc 0x12f0 92 xmm0 = 0 0x12f3 93 xmm0 = _mm_sqrt_sd(xmm4.q) 0x12f7 94 flag:p = is_unordered.q(xmm4.q, xmm3.q) 0x12f7 95 flag:c = xmm4.q f< xmm3.q | is_unordered.q(xmm4.q, xmm3.q) 0x12f7 96 flag:z = xmm4.q f== xmm3.q | is_unordered.q(xmm4.q, xmm3.q) 0x12f7 97 flag:s = 0 0x12f7 98 flag:o = 0 0x12f7 99 flag:a = 0 0x12fb 100 xmm6 = xmm0 0x12ff 101 [rsp + 0x10 {var_9c8_1}].o = xmm5 0x1305 102 if (not(flag:c)) then 119 @ 0x133e else 128 @ 0x1307 0x1400 103 rdi = r15 0x1403 104 xmm0 = xmm3 0x1407 105 al = 1 0x1409 106 call(0x1030) 0x140e 107 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x1412 108 xmm2 = [0x2030].o 0x141a 109 goto 139 @ 0x129c 0x13dc 110 xmm0 = zx.o([0x2020].q) 0x13e4 111 flag:p = is_unordered.q(xmm0.q, xmm4.q) 0x13e4 112 flag:c = xmm0.q f< xmm4.q | is_unordered.q(xmm0.q, xmm4.q) 0x13e4 113 flag:z = xmm0.q f== xmm4.q | is_unordered.q(xmm0.q, xmm4.q) 0x13e4 114 flag:s = 0 0x13e4 115 flag:o = 0 0x13e4 116 flag:a = 0 0x13e8 117 xmm4 = _mm_xor_pd(xmm4, xmm2) 0x13ec 118 if (flag:c) then 142 @ 0x141f else 148 @ 0x13ee 0x133e 119 xmm7 = zx.o([rsp + (rbx << 3) + 0x58].q) 0x1344 120 xmm1 = zx.o([rsp + (rbx << 3) + 0x378].q) 0x134d 121 flag:p = is_unordered.q(xmm4.q, xmm3.q) 0x134d 122 flag:c = xmm4.q f< xmm3.q | is_unordered.q(xmm4.q, xmm3.q) 0x134d 123 flag:z = xmm4.q f== xmm3.q | is_unordered.q(xmm4.q, xmm3.q) 0x134d 124 flag:s = 0 0x134d 125 flag:o = 0 0x134d 126 flag:a = 0 0x1351 127 if (not(flag:c)) then 151 @ 0x1260 else 164 @ 0x1357 0x1307 128 [rsp + 0x20 {var_9b8}].q = xmm0.q 0x130d 129 xmm0 = xmm4 0x1311 130 [rsp + 0x30 {var_9a8}].o = xmm4 0x1317 131 call(0x1060) 0x131c 132 xmm5 = [rsp + 0x10 {var_9c8_1}].o 0x1322 133 xmm4 = [rsp + 0x30 {var_9a8}].o 0x1328 134 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x132c 135 xmm2 = [0x2030].o 0x1334 136 xmm6 = xmm0 0x1338 137 xmm0 = zx.o([rsp + 0x20 {var_9b8}].q) 0x1338 138 goto 119 @ 0x133e 0x129c 139 rax = sx.q([rsp + 0xc {var_9cc}].d) 0x12a1 140 rbx = rbx + 1 0x12a8 141 if (rbx s>= rax) then 30 @ 0x1461 else 57 @ 0x12ae 0x141f 142 xmm0 = xmm4 0x1423 143 [rsp + 0x10 {var_9c8_2}].o = xmm3 0x1429 144 call(0x1060) 0x142e 145 xmm3 = [rsp + 0x10 {var_9c8_2}].o 0x1434 146 xmm1 = xmm0 0x1434 147 goto 175 @ 0x1438 0x13ee 148 xmm1 = 0 0x13f1 149 xmm1 = _mm_sqrt_sd(xmm4.q) 0x13f5 150 goto 175 @ 0x1438 0x1260 151 xmm6.q = xmm6.q f- xmm5.q 0x1264 152 xmm7.q = xmm7.q f+ xmm7.q 0x1268 153 xmm6.q = xmm6.q f/ xmm7.q 0x126c 154 xmm1 = _mm_xor_pd(xmm1, xmm2) 0x1270 155 xmm1.q = xmm1.q f- xmm0.q 0x1274 156 xmm0 = zx.o([rsp + (rbx << 3) + 0x58].q) 0x127a 157 xmm0.q = xmm0.q f+ xmm0.q 0x127e 158 xmm1.q = xmm1.q f/ xmm0.q 0x1282 159 rdi = r12 0x1285 160 xmm0 = xmm6 0x1289 161 al = 2 0x128b 162 call(0x1030) 0x128b 163 goto 185 @ 0x1290 0x1357 164 xmm0 = xmm4 0x135b 165 [rsp + 0x30 {var_9a8[0]}].q = xmm6.q 0x1361 166 [rsp + 0x20 {var_9b8}].o = xmm1 0x1367 167 [rsp + 0x48 {var_990_1}].q = xmm7.q 0x136d 168 call(0x1060) 0x1372 169 xmm7 = zx.o([rsp + 0x48 {var_990_1}].q) 0x1378 170 xmm1 = [rsp + 0x20 {var_9b8}].o 0x137e 171 xmm6 = zx.o([rsp + 0x30 {var_9a8[0]}].q) 0x1384 172 xmm5 = [rsp + 0x10 {var_9c8_1}].o 0x138a 173 xmm2 = [0x2030].o 0x1392 174 goto 151 @ 0x1260 0x1438 175 xmm0 = zx.o([rsp + (rbx << 3) + 0x58].q) 0x143e 176 xmm0.q = xmm0.q f+ xmm0.q 0x1442 177 xmm1.q = xmm1.q f/ xmm0.q 0x1446 178 rdi = r14 0x1449 179 xmm0 = xmm3 0x144d 180 xmm2 = xmm3 0x1451 181 xmm3 = xmm1 0x1455 182 al = 4 0x1457 183 call(0x1030) 0x145c 184 goto 185 @ 0x1290 0x1290 185 xmm2 = [0x2030].o 0x1298 186 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x1298 187 goto 139 @ 0x129c int64_t _fini(): 0x1478 0 rsp = rsp - 8 0x147c 1 rsp = rsp + 8 0x1480 2 <return> jump(pop)
POJ_27
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0xfb0 0x115c 4 r14 = 0x2007 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_fbc} 0x1168 6 rdi = r14 0x116b 7 eax = 0 0x116d 8 call(0x1040) 0x1172 9 r15 = rsp + 0x10 {var_fb8} 0x1177 10 ebx = 0 0x1179 11 goto 12 @ 0x1180 0x1180 12 rdi = r14 0x1183 13 rsi = r15 0x1186 14 eax = 0 0x1188 15 call(0x1040) 0x118d 16 rbx = rbx + 1 0x1191 17 rax = sx.q([rsp + 0xc {var_fbc}].d) 0x1196 18 r15 = r15 + 4 0x119d 19 if (rbx s< rax) then 12 @ 0x1180 else 20 @ 0x119f 0x119f 20 eax = eax 0x11a1 21 ecx = [rsp + 0x10 {var_fb8}].d 0x11a5 22 esi = ecx 0x11aa 23 if (eax s< 2) then 24 @ 0x1326 else 25 @ 0x11b0 0x1326 24 if (eax s<= 0) then 29 @ 0x136a else 31 @ 0x1328 0x11b0 25 r8 = rax - 1 0x11b4 26 edx = 1 0x11b9 27 esi = ecx 0x11bf 28 if (r8 u< 8) then 35 @ 0x1307 else 37 @ 0x11c5 0x136a 29 edx = 0xffffd8f0 {""} 0x136f 30 goto 46 @ 0x13f8 0x1328 31 cond:0 = ecx == esi 0x132a 32 edi = 0xffffd8f0 {""} 0x132f 33 edx = ecx 0x1331 34 if (cond:0) then 55 else 57 @ 0x133a 0x1307 35 edi = esi 0x1309 36 goto 58 @ 0x1310 0x11c5 37 rdx = r8 0x11c8 38 rdx = rdx & 0xfffffffffffffff8 0x11cc 39 xmm0 = ecx 0x11d0 40 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x11d5 41 rsi = rdx - 8 0x11d9 42 rdi = rsi 0x11dc 43 rdi = rdi u>> 3 0x11e0 44 rdi = rdi + 1 0x11e7 45 if (rsi == 0) then 60 @ 0x1415 else 63 @ 0x11ed 0x13f8 46 rdi = 0x2004 {"%d\n%d"} 0x13ff 47 eax = 0 0x1401 48 call(0x1030) 0x1406 49 eax = 0 0x1408 50 rsp = rsp + 0xfb0 0x140f 51 rbx = pop 0x1410 52 r14 = pop 0x1412 53 r15 = pop 0x1414 54 <return> jump(pop) 0x1331 55 edx = edi 0x1331 56 goto 57 @ 0x133a 0x133a 57 if (ecx s< -0x2710) then 68 else 70 @ 0x1340 0x1310 58 esi = [rsp + (rdx << 2) + 0x10].d 0x1316 59 if (esi s< edi) then 71 else 73 @ 0x1319 0x1415 60 ebx = 1 0x141a 61 xmm1 = xmm0 0x1422 62 if ((dil & 1) != 0) then 76 @ 0x1278 else 91 @ 0x1428 0x11ed 63 rsi = rdi 0x11f0 64 rsi = rsi & 0xfffffffffffffffe 0x11f4 65 ebx = 1 0x11f9 66 xmm1 = xmm0 0x11fd 67 goto 92 @ 0x1200 0x133a 68 edx = edi 0x133a 69 goto 70 @ 0x1340 0x1340 70 if (eax == 1) then 46 @ 0x13f8 else 120 @ 0x1346 0x1316 71 esi = edi 0x1316 72 goto 73 @ 0x1319 0x1319 73 rdx = rdx + 1 0x131d 74 edi = esi 0x1322 75 if (rax != rdx) then 58 @ 0x1310 else 24 @ 0x1326 0x1278 76 xmm2 = [rsp + (rbx << 2) + 0x10].o 0x127e 77 xmm3 = [rsp + (rbx << 2) + 0x20].o 0x1284 78 xmm4 = xmm2 0x1288 79 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0) 0x128c 80 xmm2 = xmm2 & xmm4 0x1290 81 xmm4 = xmm4 & not.o(xmm0) 0x1294 82 xmm4 = xmm4 | xmm2 0x1298 83 xmm2 = xmm3 0x129c 84 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x12a0 85 xmm3 = xmm3 & xmm2 0x12a4 86 xmm2 = xmm2 & not.o(xmm1) 0x12a8 87 xmm2 = xmm2 | xmm3 0x12ac 88 xmm0 = xmm4 0x12b0 89 xmm1 = xmm2 0x12b0 90 goto 125 @ 0x12b4 0x1428 91 goto 125 @ 0x12b4 0x1200 92 xmm2 = [rsp + (rbx << 2) + 0x10].o 0x1206 93 xmm3 = [rsp + (rbx << 2) + 0x20].o 0x120c 94 xmm4 = [rsp + (rbx << 2) + 0x30].o 0x1212 95 xmm5 = [rsp + (rbx << 2) + 0x40].o 0x1218 96 xmm6 = xmm2 0x121c 97 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0) 0x1220 98 xmm2 = xmm2 & xmm6 0x1224 99 xmm6 = xmm6 & not.o(xmm0) 0x1228 100 xmm6 = xmm6 | xmm2 0x122c 101 xmm2 = xmm3 0x1230 102 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1234 103 xmm3 = xmm3 & xmm2 0x1238 104 xmm2 = xmm2 & not.o(xmm1) 0x123c 105 xmm2 = xmm2 | xmm3 0x1240 106 xmm0 = xmm4 0x1244 107 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6) 0x1248 108 xmm4 = xmm4 & xmm0 0x124c 109 xmm0 = xmm0 & not.o(xmm6) 0x1250 110 xmm0 = xmm0 | xmm4 0x1254 111 xmm1 = xmm5 0x1258 112 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x125c 113 xmm5 = xmm5 & xmm1 0x1260 114 xmm1 = xmm1 & not.o(xmm2) 0x1264 115 xmm1 = xmm1 | xmm5 0x1268 116 rbx = rbx + 0x10 0x126c 117 temp0.q = rsi 0x126c 118 rsi = rsi - 2 0x1270 119 if (temp0.q != 2) then 92 @ 0x1200 else 144 @ 0x1276 0x1346 120 rdi = rax - 1 0x134a 121 rax = rax - 2 0x134e 122 r8d = edi 0x1351 123 r8d = r8d & 3 0x1359 124 if (rax u>= 3) then 145 @ 0x1374 else 148 @ 0x135b 0x12b4 125 xmm2 = xmm0 0x12b8 126 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x12bc 127 xmm0 = xmm0 & xmm2 0x12c0 128 xmm2 = xmm2 & not.o(xmm1) 0x12c4 129 xmm2 = xmm2 | xmm0 0x12c8 130 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x12cd 131 xmm1 = xmm2 0x12d1 132 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x12d5 133 xmm2 = xmm2 & xmm1 0x12d9 134 xmm1 = xmm1 & not.o(xmm0) 0x12dd 135 xmm1 = xmm1 | xmm2 0x12e1 136 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x12e6 137 xmm2 = xmm1 0x12ea 138 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x12ee 139 xmm1 = xmm1 & xmm2 0x12f2 140 xmm2 = xmm2 & not.o(xmm0) 0x12f6 141 xmm2 = xmm2 | xmm1 0x12fa 142 esi = xmm2.d 0x1301 143 if (r8 == rdx) then 24 @ 0x1326 else 150 @ 0x1303 0x1276 144 if ((dil & 1) == 0) then 125 @ 0x12b4 else 76 @ 0x1278 0x1374 145 rdi = rdi & 0xfffffffffffffffc 0x1378 146 eax = 0 0x137a 147 goto 152 @ 0x1380 0x135b 148 eax = 1 0x1363 149 if (r8 != 0) then 156 @ 0x13d2 else 160 @ 0x1365 0x1303 150 rdx = rdx | 1 0x1303 151 goto 35 @ 0x1307 0x1380 152 ecx = [rsp + (rax << 2) + 0x14].d 0x1384 153 cond:1 = ecx == esi 0x1386 154 ebx = ecx 0x1388 155 if (cond:1) then 161 else 163 @ 0x138d 0x13d2 156 rax = rsp + (rax << 2) 0x13d6 157 rax = rax + 0x10 0x13da 158 edi = 0 0x13dc 159 goto 164 @ 0x13e0 0x1365 160 goto 46 @ 0x13f8 0x1388 161 ebx = edx 0x1388 162 goto 163 @ 0x138d 0x138d 163 if (ecx s< edx) then 168 else 170 @ 0x1390 0x13e0 164 ecx = [rax + (rdi << 2)].d 0x13e3 165 cond:5 = ecx == esi 0x13e5 166 ebx = ecx 0x13e7 167 if (cond:5) then 174 else 176 @ 0x13ec 0x138d 168 ebx = edx 0x138d 169 goto 170 @ 0x1390 0x1390 170 ecx = [rsp + (rax << 2) + 0x18].d 0x1394 171 cond:2 = ecx == esi 0x1396 172 edx = ecx 0x1398 173 if (cond:2) then 177 else 179 @ 0x139d 0x13e7 174 ebx = edx 0x13e7 175 goto 176 @ 0x13ec 0x13ec 176 if (ecx s>= edx) then 180 else 182 @ 0x13ef 0x1398 177 edx = ebx 0x1398 178 goto 179 @ 0x139d 0x139d 179 if (ecx s< ebx) then 184 else 186 @ 0x13a0 0x13ec 180 edx = ebx 0x13ec 181 goto 182 @ 0x13ef 0x13ef 182 rdi = rdi + 1 0x13f6 183 if (r8 != rdi) then 164 @ 0x13e0 else 46 @ 0x13f8 0x139d 184 edx = ebx 0x139d 185 goto 186 @ 0x13a0 0x13a0 186 ebx = [rsp + (rax << 2) + 0x1c].d 0x13a4 187 cond:3 = ebx == esi 0x13a6 188 ecx = ebx 0x13a8 189 if (cond:3) then 190 else 192 @ 0x13ad 0x13a8 190 ecx = edx 0x13a8 191 goto 192 @ 0x13ad 0x13ad 192 if (ebx s< edx) then 193 else 195 @ 0x13b0 0x13ad 193 ecx = edx 0x13ad 194 goto 195 @ 0x13b0 0x13b0 195 ebx = [rsp + (rax << 2) + 0x20].d 0x13b4 196 cond:4 = ebx == esi 0x13b6 197 edx = ebx 0x13b8 198 if (cond:4) then 199 else 201 @ 0x13bd 0x13b8 199 edx = ecx 0x13b8 200 goto 201 @ 0x13bd 0x13bd 201 if (ebx s< ecx) then 202 else 204 @ 0x13c0 0x13bd 202 edx = ecx 0x13bd 203 goto 204 @ 0x13c0 0x13c0 204 rax = rax + 4 0x13c7 205 if (rdi != rax) then 152 @ 0x1380 else 206 @ 0x13c9 0x13c9 206 rax = rax + 1 0x13d0 207 if (r8 == 0) then 46 @ 0x13f8 else 156 @ 0x13d2 int64_t _fini(): 0x1434 0 rsp = rsp - 8 0x1438 1 rsp = rsp + 8 0x143c 2 <return> jump(pop)
POJ_84
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 char* gets(char* buf): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t strcmp(char const* arg1, char const* arg2): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"H"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 rsp = rsp - 0xd8 0x1167 1 rdi = rsp + 0x70 {var_68} 0x116c 2 eax = 0 0x116e 3 call(0x1030) 0x1173 4 rdi = rsp {var_d8} 0x1176 5 eax = 0 0x1178 6 call(0x1030) 0x117d 7 cl = [rsp + 0x70 {var_68}].b 0x1183 8 if (cl == 0) then 9 @ 0x11b1 else 11 @ 0x1185 0x11b1 9 cl = [rsp {var_d8}].b 0x11b6 10 if (cl == 0) then 13 @ 0x11e1 else 17 @ 0x11b8 0x1185 11 rax = rsp + 0x71 {var_67} 0x118a 12 goto 19 @ 0x1190 0x11e1 13 rdi = rsp + 0x70 {var_68} 0x11e6 14 rsi = rsp {var_d8} 0x11e9 15 call(0x1040) 0x11f0 16 if (eax s<= 0) then 25 @ 0x11fe else 29 @ 0x11f2 0x11b8 17 rax = rsp + 1 {var_d7} 0x11bd 18 goto 32 @ 0x11c0 0x1190 19 edx = (rcx - 0x61).d 0x1193 20 esi = (rcx - 0x20).d 0x1196 21 cond:0 = dl u>= 0x1a 0x1199 22 ecx = zx.d(cl) 0x119c 23 edx = zx.d(sil) 0x11a0 24 if (cond:0) then 38 else 40 @ 0x11a3 0x11fe 25 rdi = rsp + 0x70 {var_68} 0x1203 26 rsi = rsp {var_d8} 0x1206 27 call(0x1040) 0x120d 28 if (eax s>= 0) then 44 @ 0x121b else 48 @ 0x120f 0x11f2 29 rdi = 0x2008 {">"} 0x11f9 30 call(0x1050) 0x11f9 31 goto 25 @ 0x11fe 0x11c0 32 edx = (rcx - 0x61).d 0x11c3 33 esi = (rcx - 0x20).d 0x11c6 34 cond:1 = dl u>= 0x1a 0x11c9 35 ecx = zx.d(cl) 0x11cc 36 edx = zx.d(sil) 0x11d0 37 if (cond:1) then 51 else 53 @ 0x11d3 0x11a0 38 edx = ecx 0x11a0 39 goto 40 @ 0x11a3 0x11a3 40 [rax - 1].b = dl 0x11a6 41 ecx = zx.d([rax].b) 0x11a9 42 rax = rax + 1 0x11af 43 if (cl != 0) then 19 @ 0x1190 else 9 @ 0x11b1 0x121b 44 rdi = rsp + 0x70 {var_68} 0x1220 45 rsi = rsp {var_d8} 0x1223 46 call(0x1040) 0x122a 47 if (eax == 0) then 57 @ 0x1236 else 62 @ 0x122c 0x120f 48 rdi = 0x2006 {"<"} 0x1216 49 call(0x1050) 0x1216 50 goto 44 @ 0x121b 0x11d0 51 edx = ecx 0x11d0 52 goto 53 @ 0x11d3 0x11d3 53 [rax - 1].b = dl 0x11d6 54 ecx = zx.d([rax].b) 0x11d9 55 rax = rax + 1 0x11df 56 if (cl != 0) then 32 @ 0x11c0 else 13 @ 0x11e1 0x1236 57 rdi = 0x2004 {"="} 0x123d 58 call(0x1050) 0x1242 59 eax = 0 0x1244 60 rsp = rsp + 0xd8 0x124b 61 <return> jump(pop) 0x122c 62 eax = 0 0x122e 63 rsp = rsp + 0xd8 0x1235 64 <return> jump(pop) int64_t _fini(): 0x1250 0 rsp = rsp - 8 0x1254 1 rsp = rsp + 8 0x1258 2 <return> jump(pop)
POJ_95
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0xf0 0x115b 3 rdi = 0x2004 {"%d"} 0x1162 4 rsi = rbp - 0xe8 {var_f0} 0x1169 5 al = 0 0x116b 6 call(0x1040) 0x1170 7 [rbp - 4 {var_c}].d = 0 0x1170 8 goto 9 @ 0x1177 0x1177 9 eax = [rbp - 4 {var_c}].d 0x117a 10 ecx = [rbp - 0xe8 {var_f0}].d 0x1180 11 ecx = ecx - 1 0x1185 12 if (eax s> ecx) then 13 @ 0x11c5 else 15 @ 0x118b 0x11c5 13 [rbp - 4 {var_c_1}].d = 1 0x11c5 14 goto 28 @ 0x11cc 0x118b 15 rax = sx.q([rbp - 4 {var_c}].d) 0x118f 16 rsi = rbp - 0x70 {var_78} 0x1193 17 rax = rax << 2 0x1197 18 rsi = rsi + rax 0x119a 19 rdi = 0x2004 {"%d"} 0x11a1 20 al = 0 0x11a3 21 call(0x1040) 0x11a8 22 rax = sx.q([rbp - 4 {var_c}].d) 0x11ac 23 [rbp + (rax << 2) - 0xe0].d = 1 0x11b7 24 eax = [rbp - 4 {var_c}].d 0x11ba 25 eax = eax + 1 0x11bd 26 [rbp - 4 {var_c}].d = eax 0x11c0 27 goto 9 @ 0x1177 0x11cc 28 eax = [rbp - 4 {var_c_1}].d 0x11cf 29 ecx = [rbp - 0xe8 {var_f0}].d 0x11d5 30 ecx = ecx - 1 0x11da 31 if (eax s> ecx) then 32 @ 0x125a else 35 @ 0x11e0 0x125a 32 [rbp - 0xe4 {var_ec}].d = 0 0x1264 33 [rbp - 4 {var_c_2}].d = 0 0x1264 34 goto 37 @ 0x126b 0x11e0 35 [rbp - 8 {var_10_1}].d = 0 0x11e0 36 goto 39 @ 0x11e7 0x126b 37 eax = [rbp - 4 {var_c_2}].d 0x1274 38 if (eax s>= [rbp - 0xe8 {var_f0}].d) then 41 @ 0x12a4 else 48 @ 0x127a 0x11e7 39 eax = [rbp - 8 {var_10_1}].d 0x11ed 40 if (eax s>= [rbp - 4 {var_c_1}].d) then 57 @ 0x1247 else 58 @ 0x11f3 0x12a4 41 esi = [rbp - 0xe4 {var_ec}].d 0x12aa 42 rdi = 0x2007 {"%d\n"} 0x12b1 43 al = 0 0x12b3 44 call(0x1030) 0x12b8 45 rsp = rsp + 0xf0 0x12bf 46 rbp = pop 0x12c0 47 <return> jump(pop) 0x127a 48 edi = [rbp - 0xe4 {var_ec}].d 0x1280 49 rax = sx.q([rbp - 4 {var_c_2}].d) 0x1284 50 esi = [rbp + (rax << 2) - 0xe0].d 0x128b 51 call(0x12d0) 0x1290 52 [rbp - 0xe4 {var_ec}].d = eax 0x1296 53 eax = [rbp - 4 {var_c_2}].d 0x1299 54 eax = eax + 1 0x129c 55 [rbp - 4 {var_c_2}].d = eax 0x129f 56 goto 37 @ 0x126b 0x1247 57 goto 62 @ 0x124c 0x11f3 58 rax = sx.q([rbp - 8 {var_10_1}].d) 0x11f7 59 eax = [rbp + (rax << 2) - 0x70].d 0x11fb 60 rcx = sx.q([rbp - 4 {var_c_1}].d) 0x1203 61 if (eax s< [rbp + (rcx << 2) - 0x70].d) then 66 @ 0x1234 else 67 @ 0x1209 0x124c 62 eax = [rbp - 4 {var_c_1}].d 0x124f 63 eax = eax + 1 0x1252 64 [rbp - 4 {var_c_1}].d = eax 0x1255 65 goto 28 @ 0x11cc 0x1234 66 goto 77 @ 0x1239 0x1209 67 rax = sx.q([rbp - 4 {var_c_1}].d) 0x120d 68 edi = [rbp + (rax << 2) - 0xe0].d 0x1214 69 rax = sx.q([rbp - 8 {var_10_1}].d) 0x1218 70 esi = [rbp + (rax << 2) - 0xe0].d 0x121f 71 esi = esi + 1 0x1222 72 call(0x12d0) 0x1227 73 ecx = eax 0x1229 74 rax = sx.q([rbp - 4 {var_c_1}].d) 0x122d 75 [rbp + (rax << 2) - 0xe0].d = ecx 0x122d 76 goto 66 @ 0x1234 0x1239 77 eax = [rbp - 8 {var_10_1}].d 0x123c 78 eax = eax + 1 0x123f 79 [rbp - 8 {var_10_1}].d = eax 0x1242 80 goto 39 @ 0x11e7 uint64_t max(int32_t arg1, int32_t arg2): 0x12d0 0 push(rbp) 0x12d1 1 rbp = rsp {__saved_rbp} 0x12d4 2 [rbp - 4 {var_c}].d = edi 0x12d7 3 [rbp - 8 {var_10}].d = esi 0x12da 4 eax = [rbp - 4 {var_c}].d 0x12e0 5 if (eax s<= [rbp - 8 {var_10}].d) then 6 @ 0x12f1 else 9 @ 0x12e6 0x12f1 6 eax = [rbp - 8 {var_10}].d 0x12f4 7 [rbp - 0x10 {var_18}].d = eax 0x12f4 8 goto 12 @ 0x12f7 0x12e6 9 eax = [rbp - 4 {var_c}].d 0x12e9 10 [rbp - 0x10 {var_18}].d = eax 0x12ec 11 goto 12 @ 0x12f7 0x12f7 12 eax = [rbp - 0x10 {var_18}].d 0x12fa 13 [rbp - 0xc {var_14}].d = eax 0x12fd 14 eax = [rbp - 0xc {var_14}].d 0x1300 15 rbp = pop 0x1301 16 <return> jump(pop) int64_t _fini(): 0x1308 0 rsp = rsp - 8 0x130c 1 rsp = rsp + 8 0x1310 2 <return> jump(pop)
POJ_10
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x1c0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 8 {var_10}].d = edi 0x1165 5 [rbp - 0x10 {var_18}].q = rsi 0x1169 6 rdi = 0x2004 {"%d"} 0x1170 7 rsi = rbp - 0x14 {var_1c} 0x1174 8 al = 0 0x1176 9 call(0x1040) 0x117b 10 [rbp - 0x1b4 {var_1bc}].d = 0 0x117b 11 goto 12 @ 0x1185 0x1185 12 eax = [rbp - 0x1b4 {var_1bc}].d 0x118e 13 if (eax s>= [rbp - 0x14 {var_1c}].d) then 14 @ 0x11cb else 18 @ 0x1194 0x11cb 14 eax = [rbp - 0x14 {var_1c}].d 0x11ce 15 eax = eax - 1 0x11d1 16 [rbp - 0x1b4 {var_1bc_1}].d = eax 0x11d1 17 goto 29 @ 0x11de 0x1194 18 rax = sx.q([rbp - 0x1b4 {var_1bc}].d) 0x119b 19 rsi = rbp - 0x1b0 {var_1b8} 0x11a2 20 rax = rax << 2 0x11a6 21 rsi = rsi + rax 0x11a9 22 rdi = 0x2004 {"%d"} 0x11b0 23 al = 0 0x11b2 24 call(0x1040) 0x11b7 25 eax = [rbp - 0x1b4 {var_1bc}].d 0x11bd 26 eax = eax + 1 0x11c0 27 [rbp - 0x1b4 {var_1bc}].d = eax 0x11c6 28 goto 12 @ 0x1185 0x11de 29 if ([rbp - 0x1b4 {var_1bc_1}].d s<= 0) then 30 @ 0x1214 else 39 @ 0x11e4 0x1214 30 rax = sx.q([rbp - 0x1b4 {var_1bc_1}].d) 0x121b 31 esi = [rbp + (rax << 2) - 0x1b0].d 0x1222 32 rdi = 0x200b {"%d\n"} 0x1229 33 al = 0 0x122b 34 call(0x1030) 0x1230 35 eax = 0 0x1232 36 rsp = rsp + 0x1c0 0x1239 37 rbp = pop 0x123a 38 <return> jump(pop) 0x11e4 39 rax = sx.q([rbp - 0x1b4 {var_1bc_1}].d) 0x11eb 40 esi = [rbp + (rax << 2) - 0x1b0].d 0x11f2 41 rdi = 0x2007 {"%d "} 0x11f9 42 al = 0 0x11fb 43 call(0x1030) 0x1200 44 eax = [rbp - 0x1b4 {var_1bc_1}].d 0x1206 45 eax = eax - 1 0x1209 46 [rbp - 0x1b4 {var_1bc_1}].d = eax 0x120f 47 goto 29 @ 0x11de int64_t _fini(): 0x1240 0 rsp = rsp - 8 0x1244 1 rsp = rsp + 8 0x1248 2 <return> jump(pop)
POJ_47
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHAWAVAUATSHL5"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 push(r15) 0x1156 3 push(r14) 0x1158 4 push(r13) 0x115a 5 push(r12) 0x115c 6 push(rbx) 0x115d 7 rsp = rsp - 0x18 0x1161 8 r14 = 0x2021 {"%d"} 0x1168 9 r12d = 0 0x116b 10 rsi = rbp - 0x2c {var_34} 0x116f 11 rdi = r14 0x1172 12 eax = 0 0x1174 13 call(0x1040) 0x1179 14 [rbp - 0x40 {var_48}].q = rsp {var_48} 0x117d 15 eax = [rbp - 0x2c {var_34}].d 0x1180 16 r15 = rsp {var_48} 0x1183 17 r13 = (rax << 2) + 0xf 0x118b 18 r13 = r13 & 0xfffffffffffffff0 0x118f 19 rbx = r15 {var_48} 0x1192 20 rbx = rbx - r13 0x1195 21 rsp = rbx 0x1198 22 r13 = neg.q(r13) 0x119b 23 rdi = r14 0x119e 24 rsi = rbx 0x11a1 25 eax = 0 0x11a3 26 call(0x1040) 0x11a8 27 esi = [r15 + r13].d 0x11ac 28 rdi = r14 0x11af 29 eax = 0 0x11b1 30 call(0x1030) 0x11ba 31 if ([rbp - 0x2c {var_34}].d s< 2) then 32 @ 0x137b else 42 @ 0x11c0 0x137b 32 rsp = [rbp - 0x40 {var_48}].q 0x137f 33 eax = 0 0x1381 34 rsp = rbp - 0x28 0x1385 35 rbx = pop 0x1386 36 r12 = pop 0x1388 37 r13 = pop 0x138a 38 r14 = pop 0x138c 39 r15 = pop 0x138e 40 rbp = pop 0x138f 41 <return> jump(pop) 0x11c0 42 r13d = 1 0x11c6 43 r15 = -7 0x11cd 44 r14d = 0 0x11d0 45 goto 46 @ 0x11f5 0x11f5 46 [rbp - 0x38 {var_40_1}].q = r15 0x11f9 47 r15 = r14 + 1 0x11fd 48 rsi = rbx + (r13 << 2) 0x1201 49 rdi = 0x2021 {"%d"} 0x1208 50 eax = 0 0x120a 51 call(0x1040) 0x120f 52 esi = [rbx + (r13 << 2)].d 0x1213 53 rdi = r15 0x121a 54 if (r15 u>= 8) then 55 @ 0x1230 else 62 @ 0x121c 0x1230 55 r14 = r14 - 7 0x1234 56 rax = r14 0x1237 57 rax = rax u>> 3 0x123b 58 rax = rax + 1 0x123f 59 xmm0 = esi 0x1243 60 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x124c 61 if (r14 u>= 8) then 67 @ 0x1270 else 77 @ 0x124e 0x121c 62 eax = 1 0x1221 63 ecx = 0 0x1223 64 r14 = rdi 0x1226 65 r15 = [rbp - 0x38 {var_40_1}].q 0x122a 66 goto 83 @ 0x1353 0x1270 67 r15 = [rbp - 0x38 {var_40_1}].q 0x1274 68 rcx = r15 0x1277 69 rcx = rcx u>> 3 0x127b 70 rcx = rcx + 1 0x127f 71 rcx = rcx & 0xfffffffffffffffe 0x1283 72 edx = 0 0x1285 73 xmm3 = [0x2010].o 0x128d 74 xmm4 = xmm3 0x1291 75 r14 = rdi 0x129e 76 goto 84 @ 0x12a0 0x124e 77 edx = 0 0x1250 78 xmm2 = [0x2010].o 0x1258 79 xmm1 = xmm2 0x125c 80 r14 = rdi 0x125f 81 r15 = [rbp - 0x38 {var_40_1}].q 0x1263 82 goto 102 @ 0x12e9 0x1353 83 if (esi == [rbx + (rcx << 2)].d) then 105 else 107 @ 0x1357 0x12a0 84 xmm2 = [rbx + (rdx << 2)].o 0x12a5 85 xmm2 = _mm_cmpeq_epi32(xmm2, xmm0) 0x12a9 86 xmm5 = [rbx + (rdx << 2) + 0x10].o 0x12af 87 xmm5 = _mm_cmpeq_epi32(xmm5, xmm0) 0x12b3 88 xmm1 = [rbx + (rdx << 2) + 0x20].o 0x12b9 89 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0) 0x12bd 90 xmm1 = xmm1 | xmm2 0x12c1 91 xmm1 = xmm1 & not.o(xmm4) 0x12c5 92 xmm2 = [rbx + (rdx << 2) + 0x30].o 0x12cb 93 xmm2 = _mm_cmpeq_epi32(xmm2, xmm0) 0x12cf 94 xmm2 = xmm2 | xmm5 0x12d3 95 xmm2 = xmm2 & not.o(xmm3) 0x12d7 96 rdx = rdx + 0x10 0x12db 97 xmm4 = xmm1 0x12df 98 xmm3 = xmm2 0x12e3 99 temp0.q = rcx 0x12e3 100 rcx = rcx - 2 0x12e7 101 if (temp0.q != 2) then 84 @ 0x12a0 else 102 @ 0x12e9 0x12e9 102 rcx = r14 0x12ec 103 rcx = rcx & 0xfffffffffffffff8 0x12f2 104 if ((al & 1) == 0) then 109 @ 0x1317 else 120 @ 0x12f4 0x1353 105 eax = r12d 0x1353 106 goto 107 @ 0x1357 0x1357 107 rcx = rcx + 1 0x135e 108 if (r13 != rcx) then 83 @ 0x1353 else 129 @ 0x1362 0x1317 109 xmm0 = xmm1 0x131b 110 xmm3 = [0x2010].o 0x1323 111 xmm0 = _mm_cmpeq_epi32(xmm0, xmm3) 0x1327 112 xmm2 = xmm2 & xmm0 0x132b 113 xmm0 = xmm0 & not.o(xmm1) 0x132f 114 xmm0 = xmm0 | xmm2 0x1333 115 xmm0 = _mm_cmpeq_epi32(xmm0, xmm3) 0x1337 116 edx = _mm_movemask_ps(xmm0) 0x133a 117 eax = 0 0x133f 118 al = edx == 0xf 0x1345 119 if (r14 == rcx) then 129 @ 0x1362 else 130 @ 0x1347 0x12f4 120 xmm3 = xmm0 0x12f8 121 xmm3 = __pcmpeqd_xmmdq_memdq(xmm3, [rbx + (rdx << 2)].o) 0x12fd 122 xmm3 = xmm3 & not.o(xmm1) 0x1301 123 xmm4 = [rbx + (rdx << 2) + 0x10].o 0x1307 124 xmm4 = _mm_cmpeq_epi32(xmm4, xmm0) 0x130b 125 xmm4 = xmm4 & not.o(xmm2) 0x130f 126 xmm1 = xmm3 0x1313 127 xmm2 = xmm4 0x1313 128 goto 109 @ 0x1317 0x1362 129 if (eax == 0) then 131 @ 0x11e0 else 135 @ 0x1368 0x1347 130 goto 83 @ 0x1353 0x11e0 131 r13 = r13 + 1 0x11e4 132 rax = sx.q([rbp - 0x2c {var_34}].d) 0x11e8 133 r15 = r15 + 1 0x11ef 134 if (r13 s>= rax) then 32 @ 0x137b else 46 @ 0x11f5 0x1368 135 rdi = 0x2020 {" %d"} 0x136f 136 eax = 0 0x1371 137 call(0x1030) 0x1376 138 goto 131 @ 0x11e0 int64_t _fini(): 0x1394 0 rsp = rsp - 8 0x1398 1 rsp = rsp + 8 0x139c 2 <return> jump(pop)
POJ_13
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0x1a8 0x115d 5 rdi = 0x2007 {"%d"} 0x1164 6 rsi = rsp + 0xc {var_1bc} 0x1169 7 eax = 0 0x116b 8 call(0x1040) 0x1170 9 rbx = rsp + 0x10 {var_1b8} 0x1175 10 r14 = 0x2006 {"\n%d"} 0x117c 11 ebp = 0 0x117e 12 goto 13 @ 0x1180 0x1180 13 rdi = r14 0x1183 14 rsi = rbx 0x1186 15 eax = 0 0x1188 16 call(0x1040) 0x118d 17 eax = [rbx].d 0x1192 18 if (eax s> r15d) then 19 else 21 @ 0x1196 0x1192 19 r15d = eax 0x1192 20 goto 21 @ 0x1196 0x1196 21 rbp = rbp + 1 0x119a 22 rax = sx.q([rsp + 0xc {var_1bc}].d) 0x119f 23 rbx = rbx + 4 0x11a6 24 if (rbp s< rax) then 13 @ 0x1180 else 25 @ 0x11a8 0x11a8 25 ecx = eax 0x11aa 26 rdx = rcx - 1 0x11ae 27 eax = ecx 0x11b0 28 eax = eax & 3 0x11b7 29 if (rdx u>= 3) then 30 @ 0x11bd else 33 @ 0x11b9 0x11bd 30 ecx = ecx & 0x7ffffffc 0x11c3 31 esi = 0 0x11cf 32 goto 35 @ 0x11d0 0x11b9 33 esi = 0 0x11bb 34 goto 39 @ 0x1220 0x11d0 35 edi = [rsp + (rsi << 2) + 0x10].d 0x11d4 36 cond:0 = edi s< r15d 0x11d7 37 ebp = edx 0x11d9 38 if (cond:0) then 40 else 42 @ 0x11de 0x1220 39 if (rax == 0) then 43 @ 0x1249 else 54 @ 0x1222 0x11d9 40 ebp = edi 0x11d9 41 goto 42 @ 0x11de 0x11de 42 if (edi s<= edx) then 58 else 60 @ 0x11e1 0x1249 43 rdi = 0x2004 {"%d\n%d"} 0x1250 44 esi = r15d 0x1253 45 eax = 0 0x1255 46 call(0x1030) 0x125a 47 eax = 0 0x125c 48 rsp = rsp + 0x1a8 0x1263 49 rbx = pop 0x1264 50 r14 = pop 0x1266 51 r15 = pop 0x1268 52 rbp = pop 0x1269 53 <return> jump(pop) 0x1222 54 rcx = rsp + (rsi << 2) 0x1226 55 rcx = rcx + 0x10 0x122a 56 esi = 0 0x122c 57 goto 64 @ 0x1230 0x11de 58 ebp = edx 0x11de 59 goto 60 @ 0x11e1 0x11e1 60 edx = [rsp + (rsi << 2) + 0x14].d 0x11e5 61 cond:1 = edx s< r15d 0x11e8 62 edi = ebp 0x11ea 63 if (cond:1) then 68 else 70 @ 0x11ef 0x1230 64 edi = [rcx + (rsi << 2)].d 0x1233 65 cond:4 = edi s< r15d 0x1236 66 ebp = edx 0x1238 67 if (cond:4) then 71 else 73 @ 0x123d 0x11ea 68 edi = edx 0x11ea 69 goto 70 @ 0x11ef 0x11ef 70 if (edx s<= ebp) then 74 else 76 @ 0x11f2 0x1238 71 ebp = edi 0x1238 72 goto 73 @ 0x123d 0x123d 73 if (edi s> edx) then 80 else 82 @ 0x1240 0x11ef 74 edi = ebp 0x11ef 75 goto 76 @ 0x11f2 0x11f2 76 edx = [rsp + (rsi << 2) + 0x18].d 0x11f6 77 cond:2 = edx s< r15d 0x11f9 78 ebp = edi 0x11fb 79 if (cond:2) then 84 else 86 @ 0x1200 0x123d 80 edx = ebp 0x123d 81 goto 82 @ 0x1240 0x1240 82 rsi = rsi + 1 0x1247 83 if (rax != rsi) then 64 @ 0x1230 else 43 @ 0x1249 0x11fb 84 ebp = edx 0x11fb 85 goto 86 @ 0x1200 0x1200 86 if (edx s<= edi) then 87 else 89 @ 0x1203 0x1200 87 ebp = edi 0x1200 88 goto 89 @ 0x1203 0x1203 89 edi = [rsp + (rsi << 2) + 0x1c].d 0x1207 90 cond:3 = edi s< r15d 0x120a 91 edx = ebp 0x120c 92 if (cond:3) then 93 else 95 @ 0x1211 0x120c 93 edx = edi 0x120c 94 goto 95 @ 0x1211 0x1211 95 if (edi s<= ebp) then 96 else 98 @ 0x1214 0x1211 96 edx = ebp 0x1211 97 goto 98 @ 0x1214 0x1214 98 rsi = rsi + 4 0x121b 99 if (rcx != rsi) then 35 @ 0x11d0 else 39 @ 0x1220 int64_t _fini(): 0x1270 0 rsp = rsp - 8 0x1274 1 rsp = rsp + 8 0x1278 2 <return> jump(pop)
POJ_84
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVATSHH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r12) 0x1167 4 push(rbx) 0x1168 5 rsp = rsp - 0x10 0x116c 6 rdi = 0x2040 {"%d"} 0x1173 7 rsi = rsp + 0xc {var_2c} 0x1178 8 eax = 0 0x117a 9 call(0x1040) 0x1184 10 if ([rsp + 0xc {var_2c}].d != 7) then 11 @ 0x1192 else 17 @ 0x1186 0x1192 11 r15d = 2 0x1198 12 ebx = 1 0x119d 13 r14 = 0x2043 {"%d\n"} 0x11a4 14 rbp = 0x2010 {""} 0x11ab 15 r12d = 0 0x11ae 16 goto 20 @ 0x11ca 0x1186 17 rdi = 0x2047 {"1"} 0x118d 18 call(0x1050) 0x118d 19 goto 11 @ 0x1192 0x11ca 20 if (r12 u>= 3) then 21 @ 0x11e0 else 26 @ 0x11cc 0x11e0 21 rdx = rbx 0x11e3 22 rdx = rdx & 0xfffffffffffffffc 0x11e7 23 ecx = 0 0x11e9 24 eax = 0 0x11eb 25 goto 29 @ 0x11f0 0x11cc 26 ecx = 0 0x11ce 27 eax = 0 0x11d0 28 goto 35 @ 0x120c 0x11f0 29 eax = eax + [rbp + (rcx << 2)].d 0x11f4 30 eax = eax + [rbp + (rcx << 2) + 4].d 0x11f8 31 eax = eax + [rbp + (rcx << 2) + 8].d 0x11fc 32 eax = eax + [rbp + (rcx << 2) + 0xc].d 0x1200 33 rcx = rcx + 4 0x1207 34 if (rdx != rcx) then 29 @ 0x11f0 else 35 @ 0x120c 0x120c 35 if ((bl & 3) == 0) then 36 @ 0x122c else 56 @ 0x120e 0x122c 36 ecx = [rsp + 0xc {var_2c}].d 0x1230 37 edx = eax 0x1232 38 edx = edx + 0xc 0x1235 39 rdx = sx.q(edx) 0x1238 40 rdx = rdx * -0x6db6db6d 0x123f 41 rdx = rdx u>> 0x20 0x1243 42 edx = edx + eax 0x1245 43 edx = edx + 0xc 0x1248 44 esi = edx 0x124a 45 esi = esi u>> 0x1f 0x124d 46 edx = edx s>> 2 0x1250 47 edx = edx + esi 0x1252 48 esi = (rdx << 3).d 0x1259 49 edx = edx - esi 0x125b 50 eax = eax + edx 0x125d 51 eax = eax + 0xc 0x1260 52 edx = (rcx + rax).d 0x1263 53 cond:0 = edx s< 8 0x1266 54 eax = (rcx + rax - 7).d 0x126a 55 if (cond:0) then 62 else 64 @ 0x1270 0x120e 56 edx = ebx 0x1210 57 edx = edx & 3 0x1213 58 rcx = rcx << 2 0x121b 59 rcx = rcx + rbp 0x121e 60 esi = 0 0x121e 61 goto 65 @ 0x1220 0x126a 62 eax = edx 0x126a 63 goto 64 @ 0x1270 0x1270 64 if (eax != 5) then 68 @ 0x11b0 else 72 @ 0x1276 0x1220 65 eax = eax + [rcx + (rsi << 2)].d 0x1223 66 rsi = rsi + 1 0x122a 67 if (rdx != rsi) then 65 @ 0x1220 else 36 @ 0x122c 0x11b0 68 r15d = r15d + 1 0x11b4 69 rbx = rbx + 1 0x11b8 70 r12 = r12 + 1 0x11c0 71 if (rbx == 0xc) then 77 @ 0x1288 else 20 @ 0x11ca 0x1276 72 rdi = r14 0x1279 73 esi = r15d 0x127c 74 eax = 0 0x127e 75 call(0x1030) 0x1283 76 goto 68 @ 0x11b0 0x1288 77 eax = 0 0x128a 78 rsp = rsp + 0x10 0x128e 79 rbx = pop 0x128f 80 r12 = pop 0x1291 81 r14 = pop 0x1293 82 r15 = pop 0x1295 83 rbp = pop 0x1296 84 <return> jump(pop) int64_t _fini(): 0x129c 0 rsp = rsp - 8 0x12a0 1 rsp = rsp + 8 0x12a4 2 <return> jump(pop)
POJ_50
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHX"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x358 0x1161 7 rdi = 0x2004 {"%d\n"} 0x1168 8 rsi = rsp + 0xc {var_37c} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1179 11 if ([rsp + 0xc {var_37c}].d s<= 0) then 12 @ 0x12b8 else 20 @ 0x117f 0x12b8 12 rsp = rsp + 0x358 0x12bf 13 rbx = pop 0x12c0 14 r12 = pop 0x12c2 15 r13 = pop 0x12c4 16 r14 = pop 0x12c6 17 r15 = pop 0x12c8 18 rbp = pop 0x12c9 19 <return> jump(pop) 0x117f 20 rbx = rsp + 0x10 {var_378} 0x1184 21 r14 = 0x2004 {"%d\n"} 0x118b 22 ebp = 0 0x118d 23 goto 24 @ 0x1190 0x1190 24 rdi = r14 0x1193 25 rsi = rbx 0x1196 26 eax = 0 0x1198 27 call(0x1040) 0x119d 28 rbp = rbp + 1 0x11a1 29 rax = sx.q([rsp + 0xc {var_37c}].d) 0x11a6 30 rbx = rbx + 0x54 0x11ad 31 if (rbp s< rax) then 24 @ 0x1190 else 32 @ 0x11b1 0x11b1 32 if (eax s<= 0) then 12 @ 0x12b8 else 33 @ 0x11b7 0x11b7 33 rbx = rsp + 0x14 {var_374} 0x11bc 34 r15 = rsp + 0x10 {var_378} 0x11c1 35 r12 = 0x100000001 {""} 0x11cb 36 r13 = -0x100000000 0x11d5 37 r14 = 0x2004 {"%d\n"} 0x11dc 38 ebp = 0 0x11de 39 goto 40 @ 0x121a 0x121a 40 r8 = rbp * 0x54 0x121e 41 [rsp + r8 + 0x14].q = r12 0x1223 42 rax = sx.q([rsp + r8 + 0x10].d) 0x1228 43 ecx = 3 0x1231 44 if (rax s< 3) then 45 @ 0x11e0 else 59 @ 0x1233 0x11e0 45 rcx = rcx << 0x20 0x11e4 46 rcx = rcx + r13 0x11e7 47 rcx = rcx s>> 0x1e 0x11eb 48 rax = rsp + r8 0x11ef 49 rax = rax + 0x10 0x11f3 50 esi = [rcx + rax].d 0x11f6 51 rdi = r14 0x11f9 52 eax = 0 0x11fb 53 call(0x1030) 0x1200 54 rbp = rbp + 1 0x1204 55 rax = sx.q([rsp + 0xc {var_37c}].d) 0x1209 56 rbx = rbx + 0x54 0x120d 57 r15 = r15 + 0x54 0x1214 58 if (rbp s>= rax) then 12 @ 0x12b8 else 40 @ 0x121a 0x1233 59 edx = [rsp + r8 + 0x18].d 0x1238 60 rdi = rax - 2 0x123c 61 rax = rax - 3 0x1240 62 esi = edi 0x1242 63 esi = esi & 3 0x1245 64 ecx = 3 0x124e 65 if (rax u< 3) then 66 @ 0x1292 else 67 @ 0x1250 0x1292 66 if (rsi == 0) then 45 @ 0x11e0 else 71 @ 0x1298 0x1250 67 rdi = rdi & 0xfffffffffffffffc 0x1254 68 rdi = neg.q(rdi) 0x1257 69 ecx = 3 0x125c 70 goto 72 @ 0x1260 0x1298 71 goto 85 @ 0x12a0 0x1260 72 edx = edx + [rbx + (rcx << 2) - 0xc].d 0x1264 73 [rbx + (rcx << 2) - 4].d = edx 0x1268 74 eax = [rbx + (rcx << 2) - 8].d 0x126c 75 eax = eax + edx 0x126e 76 [rbx + (rcx << 2)].d = eax 0x1271 77 edx = edx + eax 0x1273 78 [rbx + (rcx << 2) + 4].d = edx 0x1277 79 edx = edx + eax 0x1279 80 [rbx + (rcx << 2) + 8].d = edx 0x127d 81 rax = rdi + rcx 0x1281 82 rax = rax + 4 0x1285 83 rcx = rcx + 4 0x128d 84 if (rax != 3) then 72 @ 0x1260 else 66 @ 0x1292 0x12a0 85 edx = edx + [r15 + (rcx << 2) - 8].d 0x12a5 86 [r15 + (rcx << 2)].d = edx 0x12a9 87 rcx = rcx + 1 0x12ad 88 temp0.q = rsi 0x12ad 89 rsi = rsi - 1 0x12b1 90 if (temp0.q != 1) then 85 @ 0x12a0 else 91 @ 0x12b3 0x12b3 91 goto 45 @ 0x11e0 int64_t _fini(): 0x12d0 0 rsp = rsp - 8 0x12d4 1 rsp = rsp + 8 0x12d8 2 <return> jump(pop)
POJ_61
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x448 0x1171 7 rdi = 0x2004 {"%d "} 0x1178 8 rsi = rsp + 8 {var_470} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1184 11 eax = [rsp + 8 {var_470}].d 0x118a 12 if (eax s<= 0) then 13 @ 0x132d else 16 @ 0x1190 0x132d 13 r8d = (rax - 1).d 0x1331 14 r8d = r8d * eax 0x1339 15 if (r8d s< 4) then 22 @ 0x141a else 23 @ 0x133f 0x1190 16 r14 = rsp + 0x38 {var_440} 0x1195 17 r15 = rsp + 0x98 {var_3e0} 0x119d 18 rbx = rsp + 0xf8 {var_380} 0x11a5 19 r12 = 0x2008 {"%lf %lf %lf"} 0x11ac 20 ebp = 0 0x11ae 21 goto 30 @ 0x11b0 0x141a 22 if (r8d s< 2) then 42 @ 0x14a1 else 51 @ 0x1420 0x133f 23 r10d = r8d 0x1342 24 r10d = r10d u>> 1 0x1345 25 edx = (r8 + 1).d 0x1349 26 r9d = r8d 0x134c 27 r14d = 2 0x1352 28 r11d = 1 0x1358 29 goto 54 @ 0x136d 0x11b0 30 rdi = r12 0x11b3 31 rsi = rbx 0x11b6 32 rdx = r15 0x11b9 33 rcx = r14 0x11bc 34 eax = 0 0x11be 35 call(0x1040) 0x11c3 36 rax = sx.q([rsp + 8 {var_470}].d) 0x11c8 37 rbp = rbp + 1 0x11cc 38 r14 = r14 + 8 0x11d0 39 r15 = r15 + 8 0x11d4 40 rbx = rbx + 8 0x11db 41 if (rbp s< rax) then 30 @ 0x11b0 else 57 @ 0x11e0 0x14a1 42 eax = 0 0x14a3 43 rsp = rsp + 0x448 0x14aa 44 rbx = pop 0x14ab 45 r12 = pop 0x14ad 46 r13 = pop 0x14af 47 r14 = pop 0x14b1 48 r15 = pop 0x14b3 49 rbp = pop 0x14b4 50 <return> jump(pop) 0x1420 51 ebp = 0 0x1422 52 rbx = 0x2014 {"(%.0lf,%.0lf,%.0lf)-(%.0lf,%.0lf,%.0lf)=%.2lf\n"} 0x1429 53 goto 58 @ 0x1430 0x136d 54 rbp = r11 0x1370 55 r11 = r11 + 1 0x1377 56 if (rbp u>= r9) then 80 @ 0x1360 else 82 @ 0x1379 0x11e0 57 if (eax s< 2) then 13 @ 0x132d else 84 @ 0x11e6 0x1430 58 rax = sx.q([rsp + (rbp << 2) + 0x214].d) 0x1438 59 xmm0 = zx.o([rsp + (rax << 3) + 0xf0].q) 0x1441 60 xmm1 = zx.o([rsp + (rax << 3) + 0x90].q) 0x144a 61 xmm2 = zx.o([rsp + (rax << 3) + 0x30].q) 0x1450 62 rax = sx.q([rsp + (rbp << 2) + 0x154].d) 0x1458 63 xmm3 = zx.o([rsp + (rax << 3) + 0xf0].q) 0x1461 64 xmm4 = zx.o([rsp + (rax << 3) + 0x90].q) 0x146a 65 xmm5 = zx.o([rsp + (rax << 3) + 0x30].q) 0x1470 66 xmm6 = zx.o([rsp + (rbp << 3) + 0x2d8].q) 0x1479 67 rdi = rbx 0x147c 68 al = 7 0x147e 69 call(0x1030) 0x1483 70 eax = [rsp + 8 {var_470}].d 0x1487 71 ecx = (rax - 1).d 0x148a 72 ecx = ecx * eax 0x148d 73 eax = ecx 0x148f 74 eax = eax u>> 0x1f 0x1492 75 eax = eax + ecx 0x1494 76 eax = eax s>> 1 0x1496 77 rax = sx.q(eax) 0x1498 78 rbp = rbp + 1 0x149f 79 if (rbp s< rax) then 58 @ 0x1430 else 42 @ 0x14a1 0x1360 80 r14 = r14 + 1 0x1367 81 if (r11 == r10) then 22 @ 0x141a else 54 @ 0x136d 0x1379 82 rcx = r14 0x137c 83 goto 92 @ 0x1389 0x11e6 84 r12 = rsp + 0x40 {var_438} 0x11eb 85 r15 = rsp + 0xa0 {var_3d8} 0x11f3 86 rbx = rsp + 0x100 {var_378} 0x11fb 87 r8d = 1 0x1201 88 edx = 1 0x1206 89 ebp = 0 0x1208 90 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x120c 91 goto 100 @ 0x1238 0x1389 92 xmm0 = zx.o([rsp + (rcx << 3) + 0x2d0].q) 0x1392 93 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + (rbp << 3) + 0x2d0].q)) 0x1392 94 flag:c = xmm0.q f< fconvert.t([rsp + (rbp << 3) + 0x2d0].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (rbp << 3) + 0x2d0].q)) 0x1392 95 flag:z = xmm0.q f== fconvert.t([rsp + (rbp << 3) + 0x2d0].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (rbp << 3) + 0x2d0].q)) 0x1392 96 flag:s = 0 0x1392 97 flag:o = 0 0x1392 98 flag:a = 0 0x139b 99 if (flag:z || flag:c) then 104 @ 0x1380 else 106 @ 0x13a0 0x1238 100 r13 = rdx 0x123b 101 rdx = rdx + 1 0x123f 102 rcx = sx.q(eax) 0x1245 103 if (r13 s>= rcx) then 107 @ 0x121f else 112 @ 0x1247 0x1380 104 rcx = rcx + 1 0x1387 105 if (rcx == rdx) then 80 @ 0x1360 else 92 @ 0x1389 0x13a0 106 if (rcx u<= rbp) then 104 @ 0x1380 else 126 @ 0x13a2 0x121f 107 rbp = rbp + 1 0x1223 108 r12 = r12 + 8 0x1227 109 r15 = r15 + 8 0x122b 110 rbx = rbx + 8 0x1232 111 if (rdx s>= rcx) then 13 @ 0x132d else 100 @ 0x1238 0x1247 112 [rsp + 0x10 {var_468_1}].q = rdx 0x124c 113 [rsp + 0xc {var_46c_1}].d = r8d 0x1251 114 rax = sx.q(r8d) 0x1254 115 r8 = rsp + (rax << 3) 0x1258 116 r8 = r8 + 0x2d0 0x125f 117 rdi = rsp + (rax << 2) 0x1263 118 rdi = rdi + 0x210 0x126a 119 rsi = rsp + (rax << 2) 0x126e 120 rsi = rsi + 0x150 0x1275 121 r14d = 0 0x1278 122 [rsp + 0x28 {var_450_1}].q = r8 0x127d 123 [rsp + 0x20 {var_458_1}].q = rdi 0x1282 124 [rsp + 0x18 {var_460_1}].q = rsi 0x1287 125 goto 130 @ 0x12d9 0x13a2 126 esi = [rsp + (rcx << 2) + 0x210].d 0x13a9 127 eax = [rsp + (rcx << 2) + 0x150].d 0x13b0 128 rdi = rcx 0x13bd 129 goto 148 @ 0x13c0 0x12d9 130 xmm1 = zx.o([rsp + (r13 << 3) + 0xf0].q) 0x12e3 131 xmm1.q = xmm1.q f- fconvert.t([rbx + (r14 << 3)].q) 0x12e9 132 xmm0 = zx.o([rsp + (r13 << 3) + 0x90].q) 0x12f3 133 xmm0.q = xmm0.q f- fconvert.t([r15 + (r14 << 3)].q) 0x12f9 134 xmm0.q = xmm0.q f* xmm0.q 0x12fd 135 xmm1.q = xmm1.q f* xmm1.q 0x1301 136 xmm1.q = xmm1.q f+ xmm0.q 0x1305 137 xmm0 = zx.o([rsp + (r13 << 3) + 0x30].q) 0x130c 138 xmm0.q = xmm0.q f- fconvert.t([r12 + (r14 << 3)].q) 0x1312 139 xmm0.q = xmm0.q f* xmm0.q 0x1316 140 xmm0.q = xmm0.q f+ xmm1.q 0x131a 141 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x131a 142 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x131a 143 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x131a 144 flag:s = 0 0x131a 145 flag:o = 0 0x131a 146 flag:a = 0 0x131e 147 if (flag:c) then 160 @ 0x1290 else 166 @ 0x1324 0x13c0 148 xmm1 = zx.o([rsp + (rdi << 3) + 0x2c8].q) 0x13c9 149 [rsp + (rdi << 3) + 0x2d0].q = xmm1.q 0x13d2 150 [rsp + (rdi << 3) + 0x2c8].q = xmm0.q 0x13db 151 ebx = [rsp + (rdi << 2) + 0x20c].d 0x13e2 152 [rsp + (rdi << 2) + 0x210].d = ebx 0x13e9 153 [rsp + (rdi << 2) + 0x20c].d = esi 0x13f0 154 ebx = [rsp + (rdi << 2) + 0x14c].d 0x13f7 155 [rsp + (rdi << 2) + 0x150].d = ebx 0x13fe 156 [rsp + (rdi << 2) + 0x14c].d = eax 0x1405 157 rbx = rdi - 1 0x1409 158 rdi = rbx 0x140f 159 if (rbx s> rbp) then 148 @ 0x13c0 else 168 @ 0x1411 0x1290 160 call(0x1050) 0x1295 161 rsi = [rsp + 0x18 {var_460_1}].q 0x129a 162 rdi = [rsp + 0x20 {var_458_1}].q 0x129f 163 r8 = [rsp + 0x28 {var_450_1}].q 0x12a4 164 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x12a4 165 goto 169 @ 0x12a8 0x1324 166 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1328 167 goto 169 @ 0x12a8 0x1411 168 goto 104 @ 0x1380 0x12a8 169 [r8 + (r14 << 3)].q = xmm0.q 0x12ae 170 [rdi + (r14 << 2)].d = r13d 0x12b2 171 eax = (r14 + rbp).d 0x12b6 172 eax = eax + 2 0x12b9 173 [rsi + (r14 << 2)].d = eax 0x12bd 174 eax = [rsp + 8 {var_470}].d 0x12c1 175 rcx = sx.q(eax) 0x12c4 176 rdx = r14 + rbp 0x12c8 177 rdx = rdx + 2 0x12cc 178 r14 = r14 + 1 0x12d3 179 if (rdx s>= rcx) then 180 @ 0x1210 else 130 @ 0x12d9 0x1210 180 edx = [rsp + 0xc {var_46c_1}].d 0x1214 181 edx = edx + r14d 0x1217 182 r8d = edx 0x121a 183 rdx = [rsp + 0x10 {var_468_1}].q 0x121a 184 goto 107 @ 0x121f int64_t _fini(): 0x14bc 0 rsp = rsp - 8 0x14c0 1 rsp = rsp + 8 0x14c4 2 <return> jump(pop)
POJ_64
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHh"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x1168 0x1171 7 rdi = 0x2004 {"%d"} 0x1178 8 rsi = rsp + 0x14 {var_1184} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 0x14 {var_1184}].d s<= 0) then 12 @ 0x1423 else 20 @ 0x118f 0x1423 12 rsp = rsp + 0x1168 0x142a 13 rbx = pop 0x142b 14 r12 = pop 0x142d 15 r13 = pop 0x142f 16 r14 = pop 0x1431 17 r15 = pop 0x1433 18 rbp = pop 0x1434 19 <return> jump(pop) 0x118f 20 rbx = rsp + 0x350 {var_e48} 0x1197 21 r14 = 0x2004 {"%d"} 0x119e 22 ebp = 0 0x119e 23 goto 24 @ 0x11a0 0x11a0 24 rdi = r14 0x11a3 25 rsi = rbx 0x11a6 26 eax = 0 0x11a8 27 call(0x1040) 0x11ad 28 rsi = rbx + 4 0x11b1 29 rdi = r14 0x11b4 30 eax = 0 0x11b6 31 call(0x1040) 0x11bb 32 rsi = rbx + 8 0x11bf 33 rdi = r14 0x11c2 34 eax = 0 0x11c4 35 call(0x1040) 0x11c9 36 rbp = rbp + 1 0x11cd 37 rax = sx.q([rsp + 0x14 {var_1184}].d) 0x11d2 38 rbx = rbx + 0xc 0x11d9 39 if (rbp s< rax) then 24 @ 0x11a0 else 40 @ 0x11de 0x11de 40 if (eax s< 2) then 12 @ 0x1423 else 41 @ 0x11e4 0x11e4 41 rbx = rsp + 0x364 {var_e34} 0x11ec 42 edi = 0 0x11ee 43 ebp = 1 0x11f3 44 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x11f7 45 r8d = 0 0x11fa 46 goto 47 @ 0x1224 0x1224 47 rcx = rdi 0x1227 48 rdi = rdi + 1 0x122b 49 rdx = sx.q(eax) 0x1231 50 if (rdi s>= rdx) then 51 @ 0x120d else 56 @ 0x1233 0x120d 51 ecx = (rax - 1).d 0x1210 52 rcx = sx.q(ecx) 0x1213 53 rbp = rbp + 1 0x1217 54 rbx = rbx + 0xc 0x121e 55 if (rdi s>= rcx) then 71 @ 0x1331 else 47 @ 0x1224 0x1233 56 [rsp + 0x18 {var_1180_1}].q = rdi 0x1238 57 rax = rcx + (rcx << 1) 0x123c 58 rdi = rsp + (rax << 2) 0x1240 59 rdi = rdi + 0x350 0x1247 60 [rsp + 0x20 {var_1178_1}].q = r8 0x124c 61 rax = sx.q(r8d) 0x124f 62 r13 = rsp + (rax << 3) 0x1253 63 r13 = r13 + 0x30 0x1257 64 rax = rax + (rax << 1) 0x125b 65 r12 = rsp + (rax << 3) 0x125f 66 r12 = r12 + 0x800 0x1266 67 r15d = 0 0x1269 68 r14d = 0 0x126c 69 [rsp + 0x28 {var_1170_1}].q = rdi 0x1271 70 goto 72 @ 0x12ad 0x1331 71 if (r8d s< 2) then 107 @ 0x13d0 else 108 @ 0x1337 0x12ad 72 eax = [rdi].d 0x12af 73 [r12 + (r15 << 1)].d = eax 0x12b3 74 xmm0 = [rdi + 4].q 0x12b8 75 rcx = [rbx + r15 - 8].q 0x12bd 76 xmm1 = rcx 0x12c2 77 xmm2 = xmm0 0x12c6 78 xmm2 = _mm_unpacklo_epi64(xmm2, xmm1.q) 0x12ca 79 [r12 + (r15 << 1) + 4].o = xmm2 0x12d1 80 edx = [rbx + r15].d 0x12d5 81 [r12 + (r15 << 1) + 0x14].d = edx 0x12da 82 eax = eax - ecx 0x12dc 83 eax = eax * eax 0x12df 84 xmm2 = 0 0x12e2 85 xmm2.q = float.d(eax) 0x12e6 86 xmm1 = _mm_shuffle_epi32(xmm1, 0x55) 0x12eb 87 xmm3 = _mm_shuffle_epi32(xmm0, 0x55) 0x12f0 88 xmm0 = _mm_sub_epi32(xmm0, xmm1) 0x12f4 89 eax = xmm0.d 0x12f8 90 eax = eax * eax 0x12fb 91 xmm1 = 0 0x12fe 92 xmm1.q = float.d(eax) 0x1302 93 eax = xmm3.d 0x1306 94 eax = eax - edx 0x1308 95 eax = eax * eax 0x130b 96 xmm0 = 0 0x130e 97 xmm0.q = float.d(eax) 0x1312 98 xmm1.q = xmm1.q f+ xmm2.q 0x1316 99 xmm0.q = xmm0.q f+ xmm1.q 0x131a 100 flag:p = is_unordered.q(xmm0.q, xmm4.q) 0x131a 101 flag:c = xmm0.q f< xmm4.q | is_unordered.q(xmm0.q, xmm4.q) 0x131a 102 flag:z = xmm0.q f== xmm4.q | is_unordered.q(xmm0.q, xmm4.q) 0x131a 103 flag:s = 0 0x131a 104 flag:o = 0 0x131a 105 flag:a = 0 0x131e 106 if (flag:c) then 112 @ 0x1280 else 116 @ 0x1324 0x13d0 107 if (r8d s<= 0) then 12 @ 0x1423 else 118 @ 0x13d2 0x1337 108 eax = (r8 - 1).d 0x133b 109 ecx = 1 0x1340 110 rdx = rsp + 0x800 {var_998} 0x1348 111 goto 123 @ 0x135b 0x1280 112 call(0x1050) 0x1285 113 rdi = [rsp + 0x28 {var_1170_1}].q 0x128a 114 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x128a 115 goto 125 @ 0x128e 0x1324 116 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1328 117 goto 125 @ 0x128e 0x13d2 118 r15d = r8d 0x13d5 119 rbx = rsp + 0x814 {var_984} 0x13dd 120 ebp = 0 0x13df 121 r14 = 0x2007 {"(%d,%d,%d)-(%d,%d,%d)=%.2lf\n"} 0x13e6 122 goto 131 @ 0x13f0 0x135b 123 eax = eax 0x1360 124 if (r8d s<= ecx) then 145 @ 0x1350 else 148 @ 0x1362 0x128e 125 [r13 + (r14 << 3)].q = xmm0.q 0x1295 126 eax = [rsp + 0x14 {var_1184}].d 0x1299 127 r14 = r14 + 1 0x129d 128 r15 = r15 + 0xc 0x12a1 129 ecx = (r14 + rbp).d 0x12a7 130 if (eax s<= ecx) then 152 @ 0x1200 else 72 @ 0x12ad 0x13f0 131 esi = [rbx - 0x14].d 0x13f3 132 edx = [rbx - 0x10].d 0x13f6 133 ecx = [rbx - 0xc].d 0x13f9 134 r8d = [rbx - 8].d 0x13fd 135 r9d = [rbx - 4].d 0x1401 136 eax = [rbx].d 0x1403 137 xmm0 = zx.o([rsp + (rbp << 3) + 0x30].q) 0x1409 138 [rsp {var_1198}].d = eax 0x140c 139 rdi = r14 0x140f 140 al = 1 0x1411 141 call(0x1030) 0x1416 142 rbp = rbp + 1 0x141a 143 rbx = rbx + 0x18 0x1421 144 if (r15 != rbp) then 131 @ 0x13f0 else 12 @ 0x1423 0x1350 145 ecx = ecx + 1 0x1353 146 eax = eax - 1 0x1359 147 if (ecx == r8d) then 107 @ 0x13d0 else 123 @ 0x135b 0x1362 148 xmm0 = zx.o([rsp + 0x30 {var_1168}].q) 0x1368 149 rsi = rdx {var_998} 0x136b 150 edi = 0 0x136d 151 goto 156 @ 0x13ab 0x1200 152 r8 = [rsp + 0x20 {var_1178_1}].q 0x1205 153 r8d = r8d + r14d 0x1208 154 rdi = [rsp + 0x18 {var_1180_1}].q 0x1208 155 goto 51 @ 0x120d 0x13ab 156 rbp = rdi + 1 0x13af 157 xmm1 = zx.o([rsp + (rdi << 3) + 0x38].q) 0x13b5 158 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x13b5 159 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13b5 160 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13b5 161 flag:s = 0 0x13b5 162 flag:o = 0 0x13b5 163 flag:a = 0 0x13b9 164 if (not(flag:z) && not(flag:c)) then 165 @ 0x1370 else 178 @ 0x13bb 0x1370 165 xmm2 = [rsi + 8].o 0x1375 166 xmm3 = [rsi + 0x18].o 0x1379 167 xmm4 = [rsi].q 0x137d 168 [rsi].o = xmm3 0x1380 169 xmm3 = [rsi + 0x28].q 0x1385 170 xmm3 = _mm_unpacklo_epi64(xmm3, xmm4.q) 0x1389 171 [rsi + 0x10].o = xmm3 0x138e 172 [rsi + 0x20].o = xmm2 0x1393 173 [rsp + (rdi << 3) + 0x30].q = xmm1.q 0x1399 174 [rsp + (rdi << 3) + 0x38].q = xmm0.q 0x139f 175 rsi = rsi + 0x18 0x13a3 176 rdi = rbp 0x13a9 177 if (rax == rbp) then 145 @ 0x1350 else 156 @ 0x13ab 0x13bb 178 xmm0 = xmm1 0x13bf 179 rsi = rsi + 0x18 0x13c3 180 rdi = rbp 0x13c9 181 if (rax != rbp) then 156 @ 0x13ab else 182 @ 0x13cb 0x13cb 182 goto 145 @ 0x1350 int64_t _fini(): 0x143c 0 rsp = rsp - 8 0x1440 1 rsp = rsp + 8 0x1444 2 <return> jump(pop)
POJ_64
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x18 0x115e 7 rdi = 0x2004 {"%d"} 0x1165 8 rsi = rsp + 0xc {var_3c} 0x116a 9 eax = 0 0x116c 10 call(0x1040) 0x1171 11 r12d = [rsp + 0xc {var_3c}].d 0x1176 12 r14d = 0xffffffff {""} 0x117c 13 ebx = 0xffffffff {""} 0x1184 14 if (r12d s< 0) then 15 @ 0x11b3 else 26 @ 0x1186 0x11b3 15 rdi = 0x2007 {"%d\n"} 0x11ba 16 esi = ebx 0x11bc 17 eax = 0 0x11be 18 call(0x1030) 0x11c3 19 ebx = ebx * 0x64 0x11c6 20 ebp = r12d 0x11c9 21 temp0.d = ebp 0x11c9 22 ebp = ebp - ebx 0x11c9 23 cond:0 = temp0.d - ebx s< 0 0x11cb 24 eax = ebp 0x11cd 25 if (cond:0) then 29 @ 0x11fb else 42 @ 0x11cf 0x1186 26 cond:1 = r12d s< 0x63 0x118a 27 eax = 0x63 {""} 0x118f 28 if (cond:1) then 45 else 47 @ 0x1193 0x11fb 29 [rsp + 0xc {var_3c}].d = eax 0x11ff 30 rdi = 0x2007 {"%d\n"} 0x1206 31 esi = r14d 0x1209 32 eax = 0 0x120b 33 call(0x1030) 0x1210 34 r13d = r14d * 0x32 0x1214 35 eax = (rbx + r13).d 0x1218 36 ecx = r12d 0x121b 37 temp1.d = ecx 0x121b 38 ecx = ecx - eax 0x121b 39 cond:2 = temp1.d - eax s< 0 0x121d 40 r15d = 0xffffffff {""} 0x1223 41 if (cond:2) then 57 @ 0x1263 else 59 @ 0x1225 0x11cf 42 cond:3 = ebp s< 0x31 0x11d2 43 eax = 0x31 {""} 0x11d7 44 if (cond:3) then 62 else 64 @ 0x11da 0x118f 45 eax = r12d 0x118f 46 goto 47 @ 0x1193 0x1193 47 eax = neg.d(eax) 0x1195 48 eax = eax + r12d 0x1198 49 eax = eax + 0x63 0x119b 50 rbx = rax * 0x51eb851f 0x11a2 51 rbx = rbx u>> 0x25 0x11a6 52 eax = ebx * -0x64 0x11a9 53 eax = eax + r12d 0x11ac 54 eax = eax - 0x64 0x11af 55 [rsp + 0xc {var_3c}].d = eax 0x11af 56 goto 15 @ 0x11b3 0x1263 57 r14d = 0xffffffff {""} 0x1263 58 goto 75 @ 0x1269 0x1225 59 cond:4 = ecx s< 0x13 0x1228 60 edx = 0x13 {""} 0x122d 61 if (cond:4) then 88 else 90 @ 0x1230 0x11d7 62 eax = ebp 0x11d7 63 goto 64 @ 0x11da 0x11da 64 eax = eax + ebx 0x11dc 65 eax = neg.d(eax) 0x11de 66 eax = eax + r12d 0x11e1 67 eax = eax + 0x31 0x11e4 68 r14 = rax * 0x51eb851f 0x11eb 69 r14 = r14 u>> 0x24 0x11ef 70 eax = r14d * -0x32 0x11f3 71 eax = eax + r12d 0x11f6 72 eax = eax - ebx 0x11f8 73 eax = eax - 0x32 0x11f8 74 goto 29 @ 0x11fb 0x1269 75 [rsp + 0xc {var_3c}].d = ecx 0x126d 76 rdi = 0x2007 {"%d\n"} 0x1274 77 esi = r14d 0x1277 78 eax = 0 0x1279 79 call(0x1030) 0x127e 80 ebp = ebp - r13d 0x1281 81 r14d = r14d << 2 0x1285 82 eax = (r14 + (r14 << 2)).d 0x1289 83 temp2.d = ebp 0x1289 84 ebp = ebp - eax 0x1289 85 cond:7 = temp2.d - eax s< 0 0x128b 86 eax = ebp 0x128d 87 if (cond:7) then 105 @ 0x12d1 else 119 @ 0x128f 0x122d 88 edx = ecx 0x122d 89 goto 90 @ 0x1230 0x1230 90 edx = edx + r13d 0x1233 91 edx = edx + ebx 0x1235 92 edx = neg.d(edx) 0x1237 93 ecx = (r12 + rdx).d 0x123b 94 ecx = ecx + 0x13 0x123e 95 r14d = 0xcccccccd {""} 0x1244 96 r14 = r14 * rcx 0x1248 97 r14 = r14 u>> 0x24 0x124c 98 ecx = (r14 << 2).d 0x1254 99 edx = (rcx + (rcx << 2)).d 0x1257 100 ecx = r12d 0x125a 101 ecx = ecx - edx 0x125c 102 ecx = ecx - eax 0x125e 103 ecx = ecx - 0x14 0x1261 104 goto 75 @ 0x1269 0x12d1 105 [rsp + 0x10 {var_38}].q = rbx 0x12d6 106 [rsp + 0xc {var_3c}].d = eax 0x12da 107 rdi = 0x2007 {"%d\n"} 0x12e1 108 esi = r15d 0x12e4 109 eax = 0 0x12e6 110 call(0x1030) 0x12eb 111 r15d = r15d + r15d 0x12ee 112 eax = (r15 + (r15 << 2)).d 0x12f2 113 temp3.d = ebp 0x12f2 114 ebp = ebp - eax 0x12f2 115 cond:5 = temp3.d - eax s< 0 0x12f4 116 eax = ebp 0x12f6 117 ebx = 0xffffffff {""} 0x12fb 118 if (cond:5) then 122 @ 0x134a else 136 @ 0x12fd 0x128f 119 cond:6 = ebp s< 9 0x1292 120 eax = 9 0x1297 121 if (cond:6) then 139 else 141 @ 0x129a 0x134a 122 [rsp + 0xc {var_3c}].d = eax 0x134e 123 r14 = 0x2007 {"%d\n"} 0x1355 124 rdi = r14 0x1358 125 esi = ebx 0x135a 126 eax = 0 0x135c 127 call(0x1030) 0x1361 128 eax = (rbx + (rbx << 2)).d 0x1364 129 temp4.d = ebp 0x1364 130 ebp = ebp - eax 0x1364 131 cond:8 = temp4.d - eax s>= 0 0x1364 132 cond:9 = temp4.d - eax s< 0 0x1366 133 eax = ebp 0x1368 134 ecx = 0xffffffff {""} 0x136d 135 if (cond:8) then 160 else 162 @ 0x1370 0x12fd 136 cond:10 = ebp s< 4 0x1300 137 ecx = 4 0x1305 138 if (cond:10) then 164 else 166 @ 0x1308 0x1297 139 eax = ebp 0x1297 140 goto 141 @ 0x129a 0x129a 141 ecx = (r14 + (r14 << 2)).d 0x129e 142 eax = eax + ecx 0x12a0 143 eax = eax + r13d 0x12a3 144 eax = eax + ebx 0x12a5 145 eax = neg.d(eax) 0x12a7 146 eax = eax + r12d 0x12aa 147 eax = eax + 9 0x12ad 148 r15d = 0xcccccccd {""} 0x12b3 149 r15 = r15 * rax 0x12b7 150 r15 = r15 u>> 0x23 0x12bb 151 eax = (r15 + r15).d 0x12bf 152 edx = (rax + (rax << 2)).d 0x12c2 153 eax = r12d 0x12c5 154 eax = eax - edx 0x12c7 155 ecx = ecx + r13d 0x12ca 156 ecx = ecx + ebx 0x12cc 157 eax = eax - ecx 0x12ce 158 eax = eax - 0xa 0x12ce 159 goto 105 @ 0x12d1 0x136d 160 eax = ecx 0x136d 161 goto 162 @ 0x1370 0x1370 162 [rsp + 0xc {var_3c}].d = eax 0x1374 163 if (cond:9) then 188 else 190 @ 0x1377 0x1305 164 ecx = ebp 0x1305 165 goto 166 @ 0x1308 0x1308 166 eax = (r15 + (r15 << 2)).d 0x130c 167 ecx = ecx + eax 0x130e 168 edx = (r14 + (r14 << 2)).d 0x1312 169 ecx = ecx + edx 0x1314 170 ecx = ecx + r13d 0x1317 171 rsi = [rsp + 0x10 {var_38}].q 0x131c 172 ecx = ecx + esi 0x131e 173 ecx = neg.d(ecx) 0x1320 174 ecx = ecx + r12d 0x1323 175 ecx = ecx + 4 0x1326 176 ebx = 0xcccccccd {""} 0x132b 177 rbx = rbx * rcx 0x132f 178 rbx = rbx u>> 0x22 0x1333 179 eax = eax + edx 0x1335 180 ecx = (rbx + (rbx << 2)).d 0x1338 181 r12d = r12d - ecx 0x133b 182 eax = eax + r13d 0x133e 183 eax = eax + esi 0x1340 184 r12d = r12d - eax 0x1343 185 r12d = r12d - 5 0x1347 186 eax = r12d 0x1347 187 goto 122 @ 0x134a 0x1374 188 ebp = ecx 0x1374 189 goto 190 @ 0x1377 0x1377 190 rdi = r14 0x137a 191 esi = ebp 0x137c 192 eax = 0 0x137e 193 call(0x1030) 0x1383 194 eax = 0 0x1385 195 rsp = rsp + 0x18 0x1389 196 rbx = pop 0x138a 197 r12 = pop 0x138c 198 r13 = pop 0x138e 199 r14 = pop 0x1390 200 r15 = pop 0x1392 201 rbp = pop 0x1393 202 <return> jump(pop) int64_t _fini(): 0x1398 0 rsp = rsp - 8 0x139c 1 rsp = rsp + 8 0x13a0 2 <return> jump(pop)
POJ_97
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) char* gets(char* buf): 0x1070 0 <return> tailcall([0x4038].q) int32_t putchar(int32_t c): 0x1080 0 <return> tailcall([0x4040].q) void __cxa_finalize(void* d): 0x1090 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x10a4 0 ebp = 0 0x10a6 1 r9 = rdx 0x10a9 2 rsi = pop 0x10aa 3 rdx = rsp {arg_8} 0x10ad 4 rsp = rsp & 0xfffffffffffffff0 0x10b1 5 push(rax) 0x10b2 6 push(rsp) 0x10b3 7 r8d = 0 0x10b6 8 ecx = 0 0x10b8 9 rdi = 0x1190 {"UAWAVAUATSH8{"} 0x10bf 10 call([0x3ff8].q) 0x10bf 11 noreturn void deregister_tm_clones(): 0x10d0 0 rdi = 0x4058 {""} 0x10d7 1 rax = 0x4058 {""} 0x10e1 2 if (rax == rdi) then 3 @ 0x10f8 else 4 @ 0x10e3 0x10f8 3 <return> jump(pop) 0x10e3 4 rax = [0x3fd8].q 0x10ed 5 if (rax == 0) then 3 @ 0x10f8 else 6 @ 0x10ef 0x10ef 6 <return> tailcall(rax) void register_tm_clones(): 0x1100 0 rdi = 0x4058 {""} 0x1107 1 rsi = 0x4058 {""} 0x110e 2 rsi = rsi - rdi 0x1111 3 rax = rsi 0x1114 4 rsi = rsi u>> 0x3f 0x1118 5 rax = rax s>> 3 0x111c 6 rsi = rsi + rax 0x111f 7 rsi = rsi s>> 1 0x1122 8 if (rsi == 0) then 9 @ 0x1138 else 10 @ 0x1124 0x1138 9 <return> jump(pop) 0x1124 10 rax = [0x3ff0].q 0x112e 11 if (rax == 0) then 9 @ 0x1138 else 12 @ 0x1130 0x1130 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x114b 0 if ([0x4058].b != 0) then 1 @ 0x1178 else 2 @ 0x114d 0x1178 1 <return> jump(pop) 0x114d 2 push(rbp) 0x114e 3 cond:0 = [0x3fe0].q == 0 0x1156 4 rbp = rsp {__saved_rbp} 0x1159 5 if (cond:0) then 6 @ 0x1167 else 10 @ 0x115b 0x1167 6 call(0x10d0) 0x116c 7 [0x4058].b = 1 0x1173 8 rbp = pop 0x1174 9 <return> jump(pop) 0x115b 10 rdi = [0x4050].q 0x1162 11 call(0x1090) 0x1162 12 goto 6 @ 0x1167 int64_t frame_dummy(): 0x1184 0 <return> tailcall(0x1100) int32_t main(int32_t argc, char** argv, char** envp): 0x1190 0 push(rbp) 0x1191 1 push(r15) 0x1193 2 push(r14) 0x1195 3 push(r13) 0x1197 4 push(r12) 0x1199 5 push(rbx) 0x119a 6 rsp = rsp - 0x7b38 0x11a1 7 rdi = 0x2004 {"%d"} 0x11a8 8 rsi = rsp + 4 {var_7b64} 0x11ad 9 eax = 0 0x11af 10 call(0x1060) 0x11b4 11 eax = 0 0x11b6 12 call(0x1040) 0x11c0 13 if ([rsp + 4 {var_7b64}].d s<= 0) then 14 @ 0x123a else 15 @ 0x11c2 0x123a 14 if ([rsp + 4 {var_7b64}].d s<= 0) then 19 @ 0x13a8 else 27 @ 0x1240 0x11c2 15 r14 = rsp + 0x2c40 {var_4f28} 0x11ca 16 r15 = rsp + 0x53c0 {var_27a8} 0x11d2 17 ebx = 0 0x11de 18 goto 31 @ 0x11e0 0x13a8 19 rsp = rsp + 0x7b38 0x13af 20 rbx = pop 0x13b0 21 r12 = pop 0x13b2 22 r13 = pop 0x13b4 23 r14 = pop 0x13b6 24 r15 = pop 0x13b8 25 rbp = pop 0x13b9 26 <return> jump(pop) 0x1240 27 r12 = rsp + 0x4c0 {var_76a8} 0x1248 28 r11d = 0 0x124b 29 r14d = 0 0x124e 30 goto 52 @ 0x1290 0x11e0 31 rdi = r14 0x11e3 32 eax = 0 0x11e5 33 call(0x1070) 0x11ea 34 rdi = r15 0x11ed 35 eax = 0 0x11ef 36 call(0x1070) 0x11f4 37 eax = 0 0x11f6 38 call(0x1040) 0x11fb 39 rdi = r14 0x11fe 40 call(0x1050) 0x1203 41 eax = eax - 1 0x1206 42 [rsp + (rbx << 2) + 0x330].d = eax 0x120d 43 rdi = r15 0x1210 44 call(0x1050) 0x1215 45 eax = eax - 1 0x1218 46 [rsp + (rbx << 2) + 0x1a0].d = eax 0x121f 47 rbx = rbx + 1 0x1223 48 rax = sx.q([rsp + 4 {var_7b64}].d) 0x1228 49 r14 = r14 + 0x65 0x122c 50 r15 = r15 + 0x65 0x1233 51 if (rbx s< rax) then 31 @ 0x11e0 else 14 @ 0x123a 0x1290 52 r13 = sx.q([rsp + (r14 << 2) + 0x330].d) 0x129b 53 if (r13 s< 0) then 54 @ 0x1330 else 56 @ 0x12a1 0x1330 54 [rsp + (r14 << 2) + 0x10].d = 0 0x133c 55 if (r13d s< 0) then 68 @ 0x1366 else 71 @ 0x133e 0x12a1 56 r10 = sx.q([rsp + (r14 << 2) + 0x1a0].d) 0x12a9 57 r9d = (r13 + 1).d 0x12ad 58 edx = (r13 - 1).d 0x12b1 59 r8 = rsp + r10 0x12b5 60 r8 = r8 + 0x53c0 0x12bc 61 rdi = rsp + r13 0x12c0 62 rdi = rdi + 0x2c40 0x12c7 63 rsi = rsp + r13 0x12cb 64 rsi = rsi + 0x4c0 0x12d2 65 rbx = r11 0x12d5 66 ebp = 0 0x12d7 67 goto 74 @ 0x12fa 0x1366 68 [rsp + 8 {var_7b60_1}].q = r11 0x136b 69 rbx = sx.q([rsp + (r14 << 2) + 0x10].d) 0x1373 70 if (ebx s>= r13d) then 75 @ 0x1250 else 88 @ 0x1379 0x133e 71 eax = (r13 + 1).d 0x1342 72 ecx = 0 0x134e 73 goto 94 @ 0x1355 0x12fa 74 if (rbp s> r10) then 95 @ 0x12e0 else 98 @ 0x12fc 0x1250 75 rax = r14 * 0x65 0x1254 76 rax = rax + rsp 0x1257 77 rax = rax + 0x4c0 0x125d 78 esi = sx.d([r13 + rax].b) 0x1263 79 rdi = 0x2007 {"%c\n"} 0x126a 80 eax = 0 0x126c 81 call(0x1030) 0x1271 82 r14 = r14 + 1 0x1275 83 rax = sx.q([rsp + 4 {var_7b64}].d) 0x127a 84 r11 = [rsp + 8 {var_7b60_1}].q 0x127f 85 r11 = r11 + 0x65 0x1283 86 r12 = r12 + 0x65 0x128a 87 if (r14 s>= rax) then 19 @ 0x13a8 else 52 @ 0x1290 0x1379 88 eax = ebx 0x137b 89 rbx = rbx + r12 0x137e 90 ebp = r13d 0x1381 91 ebp = ebp - eax 0x1383 92 r15d = 0 0x1386 93 goto 103 @ 0x1390 0x1355 94 if ([r12 + rcx].b != 0x30) then 68 @ 0x1366 else 107 @ 0x1357 0x12e0 95 eax = zx.d([rdi + rbx].b) 0x12e4 96 [rsi + rbx].b = al 0x12e4 97 goto 110 @ 0x12e7 0x12fc 98 ecx = zx.d([rdi + rbx].b) 0x1300 99 cl = cl - [r8 + rbx].b 0x1304 100 eax = (rcx + 0x30).d 0x1307 101 [rsi + rbx].b = al 0x130d 102 if (cl u< 0x50) then 110 @ 0x12e7 else 114 @ 0x130f 0x1390 103 edi = sx.d([rbx + r15].b) 0x1395 104 call(0x1080) 0x139a 105 r15 = r15 + 1 0x13a1 106 if (ebp != r15d) then 103 @ 0x1390 else 122 @ 0x13a3 0x1357 107 [rsp + (r14 << 2) + 0x10].d = [rsp + (r14 << 2) + 0x10].d + 1 0x135d 108 rcx = rcx + 1 0x1364 109 if (rax != rcx) then 94 @ 0x1355 else 68 @ 0x1366 0x12e7 110 rbp = rbp + 1 0x12eb 111 edx = edx - 1 0x12ee 112 rbx = rbx - 1 0x12f5 113 if (r9 == rbp) then 54 @ 0x1330 else 74 @ 0x12fa 0x130f 114 cl = cl + 0x3a 0x1312 115 [rsi + rbx].b = cl 0x1315 116 rax = sx.q(edx) 0x1318 117 rcx = r14 * 0x65 0x131c 118 rcx = rcx + rsp 0x131f 119 rcx = rcx + 0x2c40 0x1326 120 [rax + rcx].b = [rax + rcx].b - 1 0x132a 121 goto 110 @ 0x12e7 0x13a3 122 goto 75 @ 0x1250 int64_t _fini(): 0x13c0 0 rsp = rsp - 8 0x13c4 1 rsp = rsp + 8 0x13c8 2 <return> jump(pop)
POJ_32
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r12) 0x1156 3 push(rbx) 0x1157 4 rsp = rsp - 0xe8 0x115e 5 xmm0 = 0 0x1161 6 [rsp + 0x60 {var_a8}].o = xmm0 0x1166 7 [rsp + 0x50 {var_b8}].o = xmm0 0x116b 8 [rsp + 0x40 {var_c8}].o = xmm0 0x1170 9 [rsp + 0x30 {var_d8}].o = xmm0 0x1175 10 [rsp + 0x20 {var_e8}].o = xmm0 0x117a 11 [rsp + 0x10 {var_f8}].o = xmm0 0x117f 12 [rsp + 0x70 {var_98}].d = 0 0x1187 13 rdi = 0x2020 {"%d"} 0x118e 14 rsi = rsp + 0xc {var_fc} 0x1193 15 eax = 0 0x1195 16 call(0x1040) 0x119a 17 ebx = 1 0x11a4 18 if ([rsp + 0xc {var_fc}].d s<= 0) then 19 @ 0x1362 else 29 @ 0x11aa 0x1362 19 rdi = 0x2023 {"%d\n"} 0x1369 20 esi = ebx 0x136b 21 eax = 0 0x136d 22 call(0x1030) 0x1372 23 rsp = rsp + 0xe8 0x1379 24 rbx = pop 0x137a 25 r12 = pop 0x137c 26 r14 = pop 0x137e 27 r15 = pop 0x1380 28 <return> jump(pop) 0x11aa 29 r14 = rsp + 0x80 {var_88} 0x11b2 30 r15 = 0x2020 {"%d"} 0x11b9 31 r12d = 0 0x11bc 32 goto 33 @ 0x11c0 0x11c0 33 rdi = r15 0x11c3 34 rsi = r14 0x11c6 35 eax = 0 0x11c8 36 call(0x1040) 0x11cd 37 r12 = r12 + 1 0x11d1 38 rax = sx.q([rsp + 0xc {var_fc}].d) 0x11d6 39 r14 = r14 + 4 0x11dd 40 if (r12 s< rax) then 33 @ 0x11c0 else 41 @ 0x11df 0x11df 41 r8d = eax 0x11e5 42 if (r8d s<= 0) then 19 @ 0x1362 else 43 @ 0x11ef 0x11ef 43 if (r8d u>= 8) then 44 @ 0x11f8 else 53 @ 0x11f1 0x11f8 44 ecx = r8d 0x11fb 45 ecx = ecx & 0xfffffff8 0x11fe 46 rax = rcx - 8 0x1202 47 rsi = rax 0x1205 48 rsi = rsi u>> 3 0x1209 49 rsi = rsi + 1 0x120d 50 edx = esi 0x120f 51 edx = edx & 7 0x1216 52 if (rax u>= 0x38) then 55 @ 0x121f else 59 @ 0x1218 0x11f1 53 ecx = 0 0x11f3 54 goto 61 @ 0x12e0 0x121f 55 rsi = rsi & 0xfffffffffffffff8 0x1223 56 edi = 0 0x1225 57 xmm0 = [0x2010].o 0x122c 58 goto 64 @ 0x1230 0x1218 59 edi = 0 0x121a 60 goto 84 @ 0x12a8 0x12e0 61 [rsp + (rcx << 2) + 0x10].d = 1 0x12e8 62 rcx = rcx + 1 0x12ef 63 if (r8 != rcx) then 61 @ 0x12e0 else 85 @ 0x12f5 0x1230 64 [rsp + (rdi << 2) + 0x10].o = xmm0 0x1235 65 [rsp + (rdi << 2) + 0x20].o = xmm0 0x123a 66 [rsp + (rdi << 2) + 0x30].o = xmm0 0x123f 67 [rsp + (rdi << 2) + 0x40].o = xmm0 0x1244 68 [rsp + (rdi << 2) + 0x50].o = xmm0 0x1249 69 [rsp + (rdi << 2) + 0x60].o = xmm0 0x124e 70 [rsp + (rdi << 2) + 0x70].o = xmm0 0x1253 71 [rsp + (rdi << 2) + 0x80].o = xmm0 0x125b 72 [rsp + (rdi << 2) + 0x90].o = xmm0 0x1263 73 [rsp + (rdi << 2) + 0xa0].o = xmm0 0x126b 74 [rsp + (rdi << 2) + 0xb0].o = xmm0 0x1273 75 [rsp + (rdi << 2) + 0xc0].o = xmm0 0x127b 76 [rsp + (rdi << 2) + 0xd0].o = xmm0 0x1283 77 [rsp + (rdi << 2) + 0xe0].o = xmm0 0x128b 78 [rsp + (rdi << 2) + 0xf0].o = xmm0 0x1293 79 [rsp + (rdi << 2) + 0x100].o = xmm0 0x129b 80 rdi = rdi + 0x40 0x129f 81 temp0.q = rsi 0x129f 82 rsi = rsi - 8 0x12a3 83 if (temp0.q != 8) then 64 @ 0x1230 else 84 @ 0x12a8 0x12a8 84 if (rdx == 0) then 86 @ 0x12d5 else 87 @ 0x12aa 0x12f5 85 if (r8d s< 2) then 19 @ 0x1362 else 93 @ 0x12f7 0x12d5 86 if (rcx == r8) then 85 @ 0x12f5 else 96 @ 0x12d7 0x12aa 87 rsi = rsp + (rdi << 2) 0x12ae 88 rsi = rsi + 0x20 0x12b2 89 rdx = rdx << 5 0x12b6 90 edi = 0 0x12b8 91 xmm0 = [0x2010].o 0x12bf 92 goto 97 @ 0x12c0 0x12f7 93 ebx = 1 0x12fc 94 ecx = 1 0x1301 95 goto 101 @ 0x1319 0x12d7 96 goto 61 @ 0x12e0 0x12c0 97 [rsi + rdi - 0x10].o = xmm0 0x12c5 98 [rsi + rdi].o = xmm0 0x12c9 99 rdi = rdi + 0x20 0x12d0 100 if (rdx != rdi) then 97 @ 0x12c0 else 86 @ 0x12d5 0x1319 101 edx = [rsp + (rcx << 2) + 0x80].d 0x1320 102 esi = 0 0x1322 103 goto 104 @ 0x1349 0x1349 104 if ([rsp + (rsi << 2) + 0x80].d s< edx) then 105 @ 0x1330 else 107 @ 0x134b 0x1330 105 edi = [rsp + (rcx << 2) + 0x10].d 0x1330 106 goto 110 @ 0x1336 0x134b 107 eax = [rsp + (rsi << 2) + 0x10].d 0x134f 108 edi = [rsp + (rcx << 2) + 0x10].d 0x1355 109 if (eax s< edi) then 110 @ 0x1336 else 111 @ 0x1357 0x1336 110 if (edi s> ebx) then 115 else 117 @ 0x1339 0x1357 111 eax = eax + 1 0x135a 112 [rsp + (rcx << 2) + 0x10].d = eax 0x135e 113 edi = eax 0x1360 114 goto 110 @ 0x1336 0x1336 115 ebx = edi 0x1336 116 goto 117 @ 0x1339 0x1339 117 rsi = rsi + 1 0x1340 118 if (rcx == rsi) then 119 @ 0x1310 else 104 @ 0x1349 0x1310 119 rcx = rcx + 1 0x1317 120 if (rcx == r8) then 19 @ 0x1362 else 101 @ 0x1319 int64_t _fini(): 0x1388 0 rsp = rsp - 8 0x138c 1 rsp = rsp + 8 0x1390 2 <return> jump(pop)
POJ_10
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH0'"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x2730 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 [rbp - 0x14 {var_1c}].d = 1 0x1179 5 rdi = 0x2004 {"%d"} 0x1180 6 rsi = rbp - 8 {var_10} 0x1184 7 al = 0 0x1186 8 call(0x1050) 0x118b 9 [rbp - 0xc {var_14}].d = 0 0x118b 10 goto 11 @ 0x1192 0x1192 11 eax = [rbp - 0xc {var_14}].d 0x1198 12 if (eax s>= [rbp - 8 {var_10}].d) then 13 @ 0x13eb else 17 @ 0x119e 0x13eb 13 eax = [rbp - 4 {var_c}].d 0x13ee 14 rsp = rsp + 0x2730 0x13f5 15 rbp = pop 0x13f6 16 <return> jump(pop) 0x119e 17 rax = sx.q([rbp - 0xc {var_14}].d) 0x11a2 18 rsi = rbp - 0x2730 {var_2738} 0x11a9 19 rax = rax * 0x14 0x11ad 20 rsi = rsi + rax 0x11b0 21 rdi = 0x2007 {"%s"} 0x11b7 22 al = 0 0x11b9 23 call(0x1050) 0x11be 24 [rbp - 0x14 {var_1c_1}].d = 1 0x11c5 25 rcx = sx.q([rbp - 0xc {var_14}].d) 0x11c9 26 rax = rbp - 0x2730 {var_2738} 0x11d0 27 rcx = rcx * 0x14 0x11d4 28 rax = rax + rcx 0x11d7 29 eax = sx.d([rax].b) 0x11dd 30 if (eax s< 0x41) then 31 @ 0x1201 else 37 @ 0x11e3 0x1201 31 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1205 32 rax = rbp - 0x2730 {var_2738} 0x120c 33 rcx = rcx * 0x14 0x1210 34 rax = rax + rcx 0x1213 35 eax = sx.d([rax].b) 0x1219 36 if (eax s< 0x61) then 43 @ 0x123d else 49 @ 0x121f 0x11e3 37 rcx = sx.q([rbp - 0xc {var_14}].d) 0x11e7 38 rax = rbp - 0x2730 {var_2738} 0x11ee 39 rcx = rcx * 0x14 0x11f2 40 rax = rax + rcx 0x11f5 41 eax = sx.d([rax].b) 0x11fb 42 if (eax s<= 0x5a) then 55 @ 0x126e else 31 @ 0x1201 0x123d 43 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1241 44 rax = rbp - 0x2730 {var_2738} 0x1248 45 rcx = rcx * 0x14 0x124c 46 rax = rax + rcx 0x124f 47 eax = sx.d([rax].b) 0x1255 48 if (eax == 0x5f) then 55 @ 0x126e else 63 @ 0x125b 0x121f 49 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1223 50 rax = rbp - 0x2730 {var_2738} 0x122a 51 rcx = rcx * 0x14 0x122e 52 rax = rax + rcx 0x1231 53 eax = sx.d([rax].b) 0x1237 54 if (eax s<= 0x7a) then 55 @ 0x126e else 43 @ 0x123d 0x126e 55 rax = sx.q([rbp - 0xc {var_14}].d) 0x1272 56 rdi = rbp - 0x2730 {var_2738} 0x1279 57 rax = rax * 0x14 0x127d 58 rdi = rdi + rax 0x1280 59 call(0x1040) 0x1285 60 [rbp - 0x20 {var_28_1}].q = rax 0x1289 61 [rbp - 0x10 {var_18_1}].d = 1 0x1289 62 goto 67 @ 0x1290 0x125b 63 rdi = 0x200a {"no\n"} 0x1262 64 al = 0 0x1264 65 call(0x1030) 0x1269 66 goto 69 @ 0x13dd 0x1290 67 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x1298 68 if (rax s>= [rbp - 0x20 {var_28_1}].q) then 73 @ 0x13c4 else 74 @ 0x129e 0x13dd 69 eax = [rbp - 0xc {var_14}].d 0x13e0 70 eax = eax + 1 0x13e3 71 [rbp - 0xc {var_14}].d = eax 0x13e6 72 goto 11 @ 0x1192 0x13c4 73 if ([rbp - 0x14 {var_1c_1}].d != 1) then 81 @ 0x13d8 else 82 @ 0x13ca 0x129e 74 rcx = sx.q([rbp - 0xc {var_14}].d) 0x12a2 75 rax = rbp - 0x2730 {var_2738} 0x12a9 76 rcx = rcx * 0x14 0x12ad 77 rax = rax + rcx 0x12b0 78 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x12b4 79 eax = sx.d([rax + rcx].b) 0x12bb 80 if (eax s< 0x41) then 86 @ 0x12e4 else 93 @ 0x12c1 0x13d8 81 goto 69 @ 0x13dd 0x13ca 82 rdi = 0x200e {"yes\n"} 0x13d1 83 al = 0 0x13d3 84 call(0x1030) 0x13d3 85 goto 81 @ 0x13d8 0x12e4 86 rcx = sx.q([rbp - 0xc {var_14}].d) 0x12e8 87 rax = rbp - 0x2730 {var_2738} 0x12ef 88 rcx = rcx * 0x14 0x12f3 89 rax = rax + rcx 0x12f6 90 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x12fa 91 eax = sx.d([rax + rcx].b) 0x1301 92 if (eax s< 0x61) then 100 @ 0x132a else 107 @ 0x1307 0x12c1 93 rcx = sx.q([rbp - 0xc {var_14}].d) 0x12c5 94 rax = rbp - 0x2730 {var_2738} 0x12cc 95 rcx = rcx * 0x14 0x12d0 96 rax = rax + rcx 0x12d3 97 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x12d7 98 eax = sx.d([rax + rcx].b) 0x12de 99 if (eax s<= 0x5a) then 114 @ 0x13ad else 86 @ 0x12e4 0x132a 100 rcx = sx.q([rbp - 0xc {var_14}].d) 0x132e 101 rax = rbp - 0x2730 {var_2738} 0x1335 102 rcx = rcx * 0x14 0x1339 103 rax = rax + rcx 0x133c 104 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1340 105 eax = sx.d([rax + rcx].b) 0x1347 106 if (eax == 0x5f) then 114 @ 0x13ad else 115 @ 0x134d 0x1307 107 rcx = sx.q([rbp - 0xc {var_14}].d) 0x130b 108 rax = rbp - 0x2730 {var_2738} 0x1312 109 rcx = rcx * 0x14 0x1316 110 rax = rax + rcx 0x1319 111 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x131d 112 eax = sx.d([rax + rcx].b) 0x1324 113 if (eax s<= 0x7a) then 114 @ 0x13ad else 100 @ 0x132a 0x13ad 114 goto 122 @ 0x13b2 0x134d 115 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1351 116 rax = rbp - 0x2730 {var_2738} 0x1358 117 rcx = rcx * 0x14 0x135c 118 rax = rax + rcx 0x135f 119 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1363 120 eax = sx.d([rax + rcx].b) 0x136a 121 if (eax s< 0x30) then 126 @ 0x1393 else 131 @ 0x1370 0x13b2 122 eax = [rbp - 0x10 {var_18_1}].d 0x13b5 123 eax = eax + 1 0x13b8 124 [rbp - 0x10 {var_18_1}].d = eax 0x13bb 125 goto 67 @ 0x1290 0x1393 126 rdi = 0x200a {"no\n"} 0x139a 127 al = 0 0x139c 128 call(0x1030) 0x13a1 129 [rbp - 0x14 {var_1c_1}].d = 0 0x13a8 130 goto 73 @ 0x13c4 0x1370 131 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1374 132 rax = rbp - 0x2730 {var_2738} 0x137b 133 rcx = rcx * 0x14 0x137f 134 rax = rax + rcx 0x1382 135 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1386 136 eax = sx.d([rax + rcx].b) 0x138d 137 if (eax s<= 0x39) then 114 @ 0x13ad else 126 @ 0x1393 int64_t _fini(): 0x13fc 0 rsp = rsp - 8 0x1400 1 rsp = rsp + 8 0x1404 2 <return> jump(pop)
POJ_85
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t putchar(int32_t c): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVAUATSH'\t"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0x927e8 0x1181 7 rdi = 0x2054 {"%d"} 0x1188 8 rsi = rsp + 0xc {var_9280c} 0x118d 9 eax = 0 0x118f 10 call(0x1050) 0x1199 11 if ([rsp + 0xc {var_9280c}].d s<= 0) then 12 @ 0x12c8 else 20 @ 0x119f 0x12c8 12 rsp = rsp + 0x927e8 0x12cf 13 rbx = pop 0x12d0 14 r12 = pop 0x12d2 15 r13 = pop 0x12d4 16 r14 = pop 0x12d6 17 r15 = pop 0x12d8 18 rbp = pop 0x12d9 19 <return> jump(pop) 0x119f 20 r14 = rsp + 0x20 {var_927f8} 0x11a4 21 r13 = rsp + 0x49400 {var_49418} 0x11ac 22 rbp = 0x2004 {"NRxRRRLRRRRRRRRRRRR|%d"} 0x11b3 23 ecx = 0 0x11b5 24 goto 25 @ 0x1206 0x1206 25 [rsp + 0x18 {var_92800_1}].q = rcx 0x120b 26 rax = rcx * 0x12c 0x1212 27 [rsp + 0x10 {var_92808_1}].q = rax 0x1217 28 r12 = rsp + rax 0x121b 29 r12 = r12 + 0x49400 0x1222 30 rdi = 0x2057 {"%s"} 0x1229 31 rsi = r12 0x122c 32 eax = 0 0x122e 33 call(0x1050) 0x1233 34 rdi = r12 0x1236 35 call(0x1040) 0x123d 36 if (eax s<= 0) then 37 @ 0x1290 else 39 @ 0x123f 0x1290 37 r12d = (rax - 1).d 0x1297 38 if (eax s< 2) then 42 @ 0x11c0 else 56 @ 0x129d 0x123f 39 esi = eax 0x1241 40 edx = 0 0x1243 41 goto 59 @ 0x125f 0x11c0 42 rax = sx.q(r12d) 0x11c3 43 rcx = [rsp + 0x10 {var_92808_1}].q 0x11c8 44 rcx = rcx + rsp 0x11cb 45 rcx = rcx + 0x20 0x11cf 46 esi = sx.d([rax + rcx].b) 0x11d3 47 rdi = 0x205a {"%c\n"} 0x11da 48 eax = 0 0x11dc 49 call(0x1030) 0x11e1 50 rcx = [rsp + 0x18 {var_92800_1}].q 0x11e6 51 rcx = rcx + 1 0x11ea 52 rax = sx.q([rsp + 0xc {var_9280c}].d) 0x11ef 53 r14 = r14 + 0x12c 0x11f6 54 r13 = r13 + 0x12c 0x1200 55 if (rcx s>= rax) then 12 @ 0x12c8 else 25 @ 0x1206 0x129d 56 r15d = r12d 0x12a0 57 ebx = 0 0x12ac 58 goto 62 @ 0x12b0 0x125f 59 ecx = zx.d([r13 + rdx].b) 0x1265 60 cl = cl - 0x41 0x126b 61 if (cl u> 0x13) then 66 @ 0x1256 else 68 @ 0x126d 0x12b0 62 edi = sx.d([r14 + rbx].b) 0x12b5 63 call(0x1060) 0x12ba 64 rbx = rbx + 1 0x12c1 65 if (r15 != rbx) then 62 @ 0x12b0 else 73 @ 0x12c3 0x1256 66 rdx = rdx + 1 0x125d 67 if (rsi == rdx) then 37 @ 0x1290 else 59 @ 0x125f 0x126d 68 bl = 0x54 {""} 0x126f 69 ecx = zx.d(cl) 0x1272 70 rcx = sx.q([rbp + (rcx << 2)].d) 0x1277 71 rcx = rcx + rbp 0x127a 72 jump(rcx => 74 @ 0x1250, 76 @ 0x1252, 66 @ 0x1256, 78 @ 0x127c, 80 @ 0x1280) 0x12c3 73 goto 42 @ 0x11c0 0x1250 74 bl = 0x43 {""} 0x1250 75 goto 76 @ 0x1252 0x1252 76 [r14 + rdx].b = bl 0x1252 77 goto 66 @ 0x1256 0x127c 78 bl = 0x47 {""} 0x127e 79 goto 76 @ 0x1252 0x1280 80 bl = 0x41 {""} 0x1282 81 goto 76 @ 0x1252 int64_t _fini(): 0x12e0 0 rsp = rsp - 8 0x12e4 1 rsp = rsp + 8 0x12e8 2 <return> jump(pop)
POJ_33
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"SH]"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0x5dd0 0x1158 2 rax = rsp + 0x10 {var_5dc8} 0x115d 3 [rsp {var_5dd8}].q = rax {var_5dc8} 0x1161 4 rbx = 0x2004 {"%d %d %d %d %d %d"} 0x1168 5 rsi = rsp + 0x4e30 {var_fa8} 0x1170 6 rdx = rsp + 0x3e90 {var_1f48} 0x1178 7 rcx = rsp + 0x2ef0 {var_2ee8} 0x1180 8 r8 = rsp + 0x1f50 {var_3e88} 0x1188 9 r9 = rsp + 0xfb0 {var_4e28} 0x1190 10 rdi = rbx 0x1193 11 eax = 0 0x1195 12 call(0x1040) 0x119a 13 rsi = rsp + 0x4e34 {var_fa4} 0x11a2 14 rdx = rsp + 0x3e94 {var_1f44} 0x11aa 15 rcx = rsp + 0x2ef4 {var_2ee4} 0x11b2 16 r8 = rsp + 0x1f54 {var_3e84} 0x11ba 17 r9 = rsp + 0xfb4 {var_4e24} 0x11c2 18 rax = rsp + 0x14 {var_5dc4} 0x11c7 19 [rsp {var_5dd8_1}].q = rax {var_5dc4} 0x11cb 20 rdi = rbx 0x11ce 21 eax = 0 0x11d0 22 call(0x1040) 0x11d5 23 rsi = rsp + 0x4e38 {var_fa0} 0x11dd 24 rdx = rsp + 0x3e98 {var_1f40} 0x11e5 25 rcx = rsp + 0x2ef8 {var_2ee0} 0x11ed 26 r8 = rsp + 0x1f58 {var_3e80} 0x11f5 27 r9 = rsp + 0xfb8 {var_4e20} 0x11fd 28 rax = rsp + 0x18 {var_5dc0} 0x1202 29 [rsp {var_5dd8_2}].q = rax {var_5dc0} 0x1206 30 rdi = rbx 0x1209 31 eax = 0 0x120b 32 call(0x1040) 0x1210 33 rsi = rsp + 0x4e3c {var_f9c} 0x1218 34 rdx = rsp + 0x3e9c {var_1f3c} 0x1220 35 rcx = rsp + 0x2efc {var_2edc} 0x1228 36 r8 = rsp + 0x1f5c {var_3e7c} 0x1230 37 r9 = rsp + 0xfbc {var_4e1c} 0x1238 38 rax = rsp + 0x1c {var_5dbc} 0x123d 39 [rsp {var_5dd8_3}].q = rax {var_5dbc} 0x1241 40 rdi = rbx 0x1244 41 eax = 0 0x1246 42 call(0x1040) 0x124b 43 rsi = rsp + 0x4e40 {var_f98} 0x1253 44 rdx = rsp + 0x3ea0 {var_1f38} 0x125b 45 rcx = rsp + 0x2f00 {var_2ed8} 0x1263 46 r8 = rsp + 0x1f60 {var_3e78} 0x126b 47 r9 = rsp + 0xfc0 {var_4e18} 0x1273 48 rax = rsp + 0x20 {var_5db8} 0x1278 49 [rsp {var_5dd8_4}].q = rax {var_5db8} 0x127c 50 rdi = rbx 0x127f 51 eax = 0 0x1281 52 call(0x1040) 0x1286 53 rsi = rsp + 0x4e44 {var_f94} 0x128e 54 rdx = rsp + 0x3ea4 {var_1f34} 0x1296 55 rcx = rsp + 0x2f04 {var_2ed4} 0x129e 56 r8 = rsp + 0x1f64 {var_3e74} 0x12a6 57 r9 = rsp + 0xfc4 {var_4e14} 0x12ae 58 rax = rsp + 0x24 {var_5db4} 0x12b3 59 [rsp {var_5dd8_5}].q = rax {var_5db4} 0x12b7 60 rdi = rbx 0x12ba 61 eax = 0 0x12bc 62 call(0x1040) 0x12c1 63 rsi = rsp + 0x4e48 {var_f90} 0x12c9 64 rdx = rsp + 0x3ea8 {var_1f30} 0x12d1 65 rcx = rsp + 0x2f08 {var_2ed0} 0x12d9 66 r8 = rsp + 0x1f68 {var_3e70} 0x12e1 67 r9 = rsp + 0xfc8 {var_4e10} 0x12e9 68 rax = rsp + 0x28 {var_5db0} 0x12ee 69 [rsp {var_5dd8_6}].q = rax {var_5db0} 0x12f2 70 rdi = rbx 0x12f5 71 eax = 0 0x12f7 72 call(0x1040) 0x12fc 73 rsi = rsp + 0x4e4c {var_f8c} 0x1304 74 rdx = rsp + 0x3eac {var_1f2c} 0x130c 75 rcx = rsp + 0x2f0c {var_2ecc} 0x1314 76 r8 = rsp + 0x1f6c {var_3e6c} 0x131c 77 r9 = rsp + 0xfcc {var_4e0c} 0x1324 78 rax = rsp + 0x2c {var_5dac} 0x1329 79 [rsp {var_5dd8_7}].q = rax {var_5dac} 0x132d 80 rdi = rbx 0x1330 81 eax = 0 0x1332 82 call(0x1040) 0x1337 83 rsi = rsp + 0x4e50 {var_f88} 0x133f 84 rdx = rsp + 0x3eb0 {var_1f28} 0x1347 85 rcx = rsp + 0x2f10 {var_2ec8} 0x134f 86 r8 = rsp + 0x1f70 {var_3e68} 0x1357 87 r9 = rsp + 0xfd0 {var_4e08} 0x135f 88 rax = rsp + 0x30 {var_5da8} 0x1364 89 [rsp {var_5dd8_8}].q = rax {var_5da8} 0x1368 90 rdi = rbx 0x136b 91 eax = 0 0x136d 92 call(0x1040) 0x1372 93 rsi = rsp + 0x4e54 {var_f84} 0x137a 94 rdx = rsp + 0x3eb4 {var_1f24} 0x1382 95 rcx = rsp + 0x2f14 {var_2ec4} 0x138a 96 r8 = rsp + 0x1f74 {var_3e64} 0x1392 97 r9 = rsp + 0xfd4 {var_4e04} 0x139a 98 rax = rsp + 0x34 {var_5da4} 0x139f 99 [rsp {var_5dd8_9}].q = rax {var_5da4} 0x13a3 100 rdi = rbx 0x13a6 101 eax = 0 0x13a8 102 call(0x1040) 0x13ad 103 rsi = rsp + 0x4e58 {var_f80} 0x13b5 104 rdx = rsp + 0x3eb8 {var_1f20} 0x13bd 105 rcx = rsp + 0x2f18 {var_2ec0} 0x13c5 106 r8 = rsp + 0x1f78 {var_3e60} 0x13cd 107 r9 = rsp + 0xfd8 {var_4e00} 0x13d5 108 rax = rsp + 0x38 {var_5da0} 0x13da 109 [rsp {var_5dd8_10}].q = rax {var_5da0} 0x13de 110 rdi = rbx 0x13e1 111 eax = 0 0x13e3 112 call(0x1040) 0x13e8 113 rsi = rsp + 0x4e5c {var_f7c} 0x13f0 114 rdx = rsp + 0x3ebc {var_1f1c} 0x13f8 115 rcx = rsp + 0x2f1c {var_2ebc} 0x1400 116 r8 = rsp + 0x1f7c {var_3e5c} 0x1408 117 r9 = rsp + 0xfdc {var_4dfc} 0x1410 118 rax = rsp + 0x3c {var_5d9c} 0x1415 119 [rsp {var_5dd8_11}].q = rax {var_5d9c} 0x1419 120 rdi = rbx 0x141c 121 eax = 0 0x141e 122 call(0x1040) 0x1423 123 eax = [rsp + 0x4e30 {var_fa8}].d 0x142c 124 if (eax == 0) then 125 @ 0x146f else 127 @ 0x142e 0x146f 125 eax = [rsp + 0x4e34 {var_fa4}].d 0x1478 126 if (eax == 0) then 141 @ 0x14bb else 143 @ 0x147a 0x142e 127 ecx = [rsp + 0x1f50 {var_3e88}].d 0x1435 128 ecx = ecx - eax 0x1437 129 eax = ecx * 0xe10 0x143d 130 eax = eax + [rsp + 0x10 {var_5dc8}].d 0x1441 131 ecx = [rsp + 0xfb0 {var_4e28}].d 0x1448 132 ecx = ecx - [rsp + 0x3e90 {var_1f48}].d 0x144f 133 esi = ecx * 0x3c 0x1452 134 esi = esi + eax 0x1454 135 esi = esi - [rsp + 0x2ef0 {var_2ee8}].d 0x145b 136 esi = esi + 0xa8c0 0x1461 137 rdi = 0x2016 {"%d\n"} 0x1468 138 eax = 0 0x146a 139 call(0x1030) 0x146a 140 goto 125 @ 0x146f 0x14bb 141 eax = [rsp + 0x4e38 {var_fa0}].d 0x14c4 142 if (eax == 0) then 157 @ 0x1507 else 159 @ 0x14c6 0x147a 143 ecx = [rsp + 0x1f54 {var_3e84}].d 0x1481 144 ecx = ecx - eax 0x1483 145 eax = ecx * 0xe10 0x1489 146 eax = eax + [rsp + 0x14 {var_5dc4}].d 0x148d 147 ecx = [rsp + 0xfb4 {var_4e24}].d 0x1494 148 ecx = ecx - [rsp + 0x3e94 {var_1f44}].d 0x149b 149 esi = ecx * 0x3c 0x149e 150 esi = esi + eax 0x14a0 151 esi = esi - [rsp + 0x2ef4 {var_2ee4}].d 0x14a7 152 esi = esi + 0xa8c0 0x14ad 153 rdi = 0x2016 {"%d\n"} 0x14b4 154 eax = 0 0x14b6 155 call(0x1030) 0x14b6 156 goto 141 @ 0x14bb 0x1507 157 eax = [rsp + 0x4e3c {var_f9c}].d 0x1510 158 if (eax == 0) then 173 @ 0x1553 else 175 @ 0x1512 0x14c6 159 ecx = [rsp + 0x1f58 {var_3e80}].d 0x14cd 160 ecx = ecx - eax 0x14cf 161 eax = ecx * 0xe10 0x14d5 162 eax = eax + [rsp + 0x18 {var_5dc0}].d 0x14d9 163 ecx = [rsp + 0xfb8 {var_4e20}].d 0x14e0 164 ecx = ecx - [rsp + 0x3e98 {var_1f40}].d 0x14e7 165 esi = ecx * 0x3c 0x14ea 166 esi = esi + eax 0x14ec 167 esi = esi - [rsp + 0x2ef8 {var_2ee0}].d 0x14f3 168 esi = esi + 0xa8c0 0x14f9 169 rdi = 0x2016 {"%d\n"} 0x1500 170 eax = 0 0x1502 171 call(0x1030) 0x1502 172 goto 157 @ 0x1507 0x1553 173 eax = [rsp + 0x4e40 {var_f98}].d 0x155c 174 if (eax == 0) then 189 @ 0x159f else 191 @ 0x155e 0x1512 175 ecx = [rsp + 0x1f5c {var_3e7c}].d 0x1519 176 ecx = ecx - eax 0x151b 177 eax = ecx * 0xe10 0x1521 178 eax = eax + [rsp + 0x1c {var_5dbc}].d 0x1525 179 ecx = [rsp + 0xfbc {var_4e1c}].d 0x152c 180 ecx = ecx - [rsp + 0x3e9c {var_1f3c}].d 0x1533 181 esi = ecx * 0x3c 0x1536 182 esi = esi + eax 0x1538 183 esi = esi - [rsp + 0x2efc {var_2edc}].d 0x153f 184 esi = esi + 0xa8c0 0x1545 185 rdi = 0x2016 {"%d\n"} 0x154c 186 eax = 0 0x154e 187 call(0x1030) 0x154e 188 goto 173 @ 0x1553 0x159f 189 eax = [rsp + 0x4e44 {var_f94}].d 0x15a8 190 if (eax == 0) then 205 @ 0x15eb else 207 @ 0x15aa 0x155e 191 ecx = [rsp + 0x1f60 {var_3e78}].d 0x1565 192 ecx = ecx - eax 0x1567 193 eax = ecx * 0xe10 0x156d 194 eax = eax + [rsp + 0x20 {var_5db8}].d 0x1571 195 ecx = [rsp + 0xfc0 {var_4e18}].d 0x1578 196 ecx = ecx - [rsp + 0x3ea0 {var_1f38}].d 0x157f 197 esi = ecx * 0x3c 0x1582 198 esi = esi + eax 0x1584 199 esi = esi - [rsp + 0x2f00 {var_2ed8}].d 0x158b 200 esi = esi + 0xa8c0 0x1591 201 rdi = 0x2016 {"%d\n"} 0x1598 202 eax = 0 0x159a 203 call(0x1030) 0x159a 204 goto 189 @ 0x159f 0x15eb 205 eax = [rsp + 0x4e48 {var_f90}].d 0x15f4 206 if (eax == 0) then 221 @ 0x1637 else 223 @ 0x15f6 0x15aa 207 ecx = [rsp + 0x1f64 {var_3e74}].d 0x15b1 208 ecx = ecx - eax 0x15b3 209 eax = ecx * 0xe10 0x15b9 210 eax = eax + [rsp + 0x24 {var_5db4}].d 0x15bd 211 ecx = [rsp + 0xfc4 {var_4e14}].d 0x15c4 212 ecx = ecx - [rsp + 0x3ea4 {var_1f34}].d 0x15cb 213 esi = ecx * 0x3c 0x15ce 214 esi = esi + eax 0x15d0 215 esi = esi - [rsp + 0x2f04 {var_2ed4}].d 0x15d7 216 esi = esi + 0xa8c0 0x15dd 217 rdi = 0x2016 {"%d\n"} 0x15e4 218 eax = 0 0x15e6 219 call(0x1030) 0x15e6 220 goto 205 @ 0x15eb 0x1637 221 eax = [rsp + 0x4e4c {var_f8c}].d 0x1640 222 if (eax == 0) then 237 @ 0x1683 else 239 @ 0x1642 0x15f6 223 ecx = [rsp + 0x1f68 {var_3e70}].d 0x15fd 224 ecx = ecx - eax 0x15ff 225 eax = ecx * 0xe10 0x1605 226 eax = eax + [rsp + 0x28 {var_5db0}].d 0x1609 227 ecx = [rsp + 0xfc8 {var_4e10}].d 0x1610 228 ecx = ecx - [rsp + 0x3ea8 {var_1f30}].d 0x1617 229 esi = ecx * 0x3c 0x161a 230 esi = esi + eax 0x161c 231 esi = esi - [rsp + 0x2f08 {var_2ed0}].d 0x1623 232 esi = esi + 0xa8c0 0x1629 233 rdi = 0x2016 {"%d\n"} 0x1630 234 eax = 0 0x1632 235 call(0x1030) 0x1632 236 goto 221 @ 0x1637 0x1683 237 eax = [rsp + 0x4e50 {var_f88}].d 0x168c 238 if (eax == 0) then 253 @ 0x16cf else 255 @ 0x168e 0x1642 239 ecx = [rsp + 0x1f6c {var_3e6c}].d 0x1649 240 ecx = ecx - eax 0x164b 241 eax = ecx * 0xe10 0x1651 242 eax = eax + [rsp + 0x2c {var_5dac}].d 0x1655 243 ecx = [rsp + 0xfcc {var_4e0c}].d 0x165c 244 ecx = ecx - [rsp + 0x3eac {var_1f2c}].d 0x1663 245 esi = ecx * 0x3c 0x1666 246 esi = esi + eax 0x1668 247 esi = esi - [rsp + 0x2f0c {var_2ecc}].d 0x166f 248 esi = esi + 0xa8c0 0x1675 249 rdi = 0x2016 {"%d\n"} 0x167c 250 eax = 0 0x167e 251 call(0x1030) 0x167e 252 goto 237 @ 0x1683 0x16cf 253 eax = [rsp + 0x4e54 {var_f84}].d 0x16d8 254 if (eax == 0) then 269 @ 0x171b else 271 @ 0x16da 0x168e 255 ecx = [rsp + 0x1f70 {var_3e68}].d 0x1695 256 ecx = ecx - eax 0x1697 257 eax = ecx * 0xe10 0x169d 258 eax = eax + [rsp + 0x30 {var_5da8}].d 0x16a1 259 ecx = [rsp + 0xfd0 {var_4e08}].d 0x16a8 260 ecx = ecx - [rsp + 0x3eb0 {var_1f28}].d 0x16af 261 esi = ecx * 0x3c 0x16b2 262 esi = esi + eax 0x16b4 263 esi = esi - [rsp + 0x2f10 {var_2ec8}].d 0x16bb 264 esi = esi + 0xa8c0 0x16c1 265 rdi = 0x2016 {"%d\n"} 0x16c8 266 eax = 0 0x16ca 267 call(0x1030) 0x16ca 268 goto 253 @ 0x16cf 0x171b 269 eax = [rsp + 0x4e58 {var_f80}].d 0x1724 270 if (eax == 0) then 285 @ 0x1767 else 289 @ 0x1726 0x16da 271 ecx = [rsp + 0x1f74 {var_3e64}].d 0x16e1 272 ecx = ecx - eax 0x16e3 273 eax = ecx * 0xe10 0x16e9 274 eax = eax + [rsp + 0x34 {var_5da4}].d 0x16ed 275 ecx = [rsp + 0xfd4 {var_4e04}].d 0x16f4 276 ecx = ecx - [rsp + 0x3eb4 {var_1f24}].d 0x16fb 277 esi = ecx * 0x3c 0x16fe 278 esi = esi + eax 0x1700 279 esi = esi - [rsp + 0x2f14 {var_2ec4}].d 0x1707 280 esi = esi + 0xa8c0 0x170d 281 rdi = 0x2016 {"%d\n"} 0x1714 282 eax = 0 0x1716 283 call(0x1030) 0x1716 284 goto 269 @ 0x171b 0x1767 285 eax = 0 0x1769 286 rsp = rsp + 0x5dd0 0x1770 287 rbx = pop 0x1771 288 <return> jump(pop) 0x1726 289 ecx = [rsp + 0x1f78 {var_3e60}].d 0x172d 290 ecx = ecx - eax 0x172f 291 eax = ecx * 0xe10 0x1735 292 eax = eax + [rsp + 0x38 {var_5da0}].d 0x1739 293 ecx = [rsp + 0xfd8 {var_4e00}].d 0x1740 294 ecx = ecx - [rsp + 0x3eb8 {var_1f20}].d 0x1747 295 esi = ecx * 0x3c 0x174a 296 esi = esi + eax 0x174c 297 esi = esi - [rsp + 0x2f18 {var_2ec0}].d 0x1753 298 esi = esi + 0xa8c0 0x1759 299 rdi = 0x2016 {"%d\n"} 0x1760 300 eax = 0 0x1762 301 call(0x1030) 0x1762 302 goto 285 @ 0x1767 int64_t _fini(): 0x1778 0 rsp = rsp - 8 0x177c 1 rsp = rsp + 8 0x1780 2 <return> jump(pop)
POJ_87
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0xd0 0x115c 4 rdi = 0x2060 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_dc} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 eax = [rsp + 0xc {var_dc}].d 0x1175 9 if (eax s<= 0) then 10 @ 0x11af else 21 @ 0x1177 0x11af 10 xmm0 = [0x2010].o 0x11b6 11 [rsp + 0x14 {var_d4}].o = xmm0 0x11bb 12 xmm0 = [0x2020].o 0x11c2 13 [rsp + 0x24 {var_c4}].o = xmm0 0x11c7 14 xmm0 = [0x2030].o 0x11ce 15 [rsp + 0x34 {var_b4}].o = xmm0 0x11d3 16 xmm0 = [0x2040].o 0x11da 17 [rsp + 0x44 {var_a4}].o = xmm0 0x11df 18 xmm0 = [0x2050].o 0x11e6 19 [rsp + 0x54 {var_94}].o = xmm0 0x11ed 20 if (eax s<= 0) then 25 @ 0x1221 else 31 @ 0x11ef 0x1177 21 r15 = rsp + 0x74 {var_74} 0x117c 22 r14 = 0x2060 {"%d"} 0x1183 23 ebx = 0 0x118f 24 goto 34 @ 0x1190 0x1221 25 eax = 0 0x1223 26 rsp = rsp + 0xd0 0x122a 27 rbx = pop 0x122b 28 r14 = pop 0x122d 29 r15 = pop 0x122f 30 <return> jump(pop) 0x11ef 31 r14 = 0x2063 {"%d\n"} 0x11f6 32 ebx = 0 0x11f8 33 goto 42 @ 0x1200 0x1190 34 rdi = r14 0x1193 35 rsi = r15 0x1196 36 eax = 0 0x1198 37 call(0x1040) 0x119d 38 rax = sx.q([rsp + 0xc {var_dc}].d) 0x11a2 39 rbx = rbx + 1 0x11a6 40 r15 = r15 + 4 0x11ad 41 if (rbx s< rax) then 34 @ 0x1190 else 10 @ 0x11af 0x1200 42 rax = sx.q([rsp + (rbx << 2) + 0x74].d) 0x1205 43 esi = [rsp + (rax << 2) + 0x10].d 0x1209 44 rdi = r14 0x120c 45 eax = 0 0x120e 46 call(0x1030) 0x1213 47 rax = sx.q([rsp + 0xc {var_dc}].d) 0x1218 48 rbx = rbx + 1 0x121f 49 if (rbx s< rax) then 42 @ 0x1200 else 25 @ 0x1221 int64_t _fini(): 0x1234 0 rsp = rsp - 8 0x1238 1 rsp = rsp + 8 0x123c 2 <return> jump(pop)
POJ_61
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSHx\t"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0x978 0x115d 5 rax = rsp + 0x10 {var_988} 0x1162 6 [rsp {var_998}].q = rax {var_988} 0x1166 7 r14 = 0x2004 {"%d %d %d %d %d %d"} 0x116d 8 rsi = rsp + 0x7e0 {var_1b8} 0x1175 9 rdx = rsp + 0x650 {var_348} 0x117d 10 rcx = rsp + 0x4c0 {var_4d8} 0x1185 11 r8 = rsp + 0x330 {var_668} 0x118d 12 r9 = rsp + 0x1a0 {var_7f8} 0x1195 13 rdi = r14 0x1198 14 eax = 0 0x119a 15 call(0x1040) 0x119f 16 r15d = 1 0x11a5 17 ebp = 0 0x11a7 18 goto 19 @ 0x11bd 0x11bd 19 rax = sx.q(ebp) 0x11c8 20 if ([rsp + (rax << 2) + 0x7e0].d != 0) then 21 @ 0x1200 else 23 @ 0x11d2 0x1200 21 bl = 1 0x1204 22 if (bl == 0) then 24 @ 0x11b2 else 26 @ 0x1206 0x11d2 23 if ([rsp + (rax << 2) + 0x650].d != 0) then 21 @ 0x1200 else 41 @ 0x11dc 0x11b2 24 al = ebp s>= 0 0x11b7 25 if ((bl & al) == 0) then 42 @ 0x1263 else 19 @ 0x11bd 0x1206 26 ebp = (rax + 1).d 0x1209 27 rsi = rsp + (rax << 2) 0x120d 28 rsi = rsi + 0x7e4 0x1214 29 rdx = rsp + (rax << 2) + 0x654 0x121c 30 rcx = rsp + (rax << 2) + 0x4c4 0x1224 31 r8 = rsp + (rax << 2) + 0x334 0x122c 32 r9 = rsp + (rax << 2) + 0x1a4 0x1234 33 rax = rsp + (rax << 2) 0x1238 34 rax = rax + 0x14 0x123c 35 [rsp {var_998}].q = rax 0x1240 36 rdi = r14 0x1243 37 eax = 0 0x1245 38 call(0x1040) 0x124a 39 r15d = r15d + 1 0x124e 40 goto 24 @ 0x11b2 0x11dc 41 if ([rsp + (rax << 2) + 0x4c0].d != 0) then 21 @ 0x1200 else 43 @ 0x11e6 0x1263 42 if (r15d s< 2) then 44 @ 0x12ce else 51 @ 0x1265 0x11e6 43 if ([rsp + (rax << 2) + 0x330].d != 0) then 21 @ 0x1200 else 55 @ 0x11f0 0x12ce 44 eax = 0 0x12d0 45 rsp = rsp + 0x978 0x12d7 46 rbx = pop 0x12d8 47 r14 = pop 0x12da 48 r15 = pop 0x12dc 49 rbp = pop 0x12dd 50 <return> jump(pop) 0x1265 51 r15d = r15d - 1 0x1269 52 r14 = 0x2016 {"%d\n"} 0x1270 53 ebx = 0 0x127c 54 goto 56 @ 0x1280 0x11f0 55 if ([rsp + (rax << 2) + 0x1a0].d != 0) then 21 @ 0x1200 else 72 @ 0x11f7 0x1280 56 eax = [rsp + (rbx << 2) + 0x330].d 0x1287 57 ecx = [rsp + (rbx << 2) + 0x1a0].d 0x128e 58 edx = [rsp + (rbx << 2) + 0x10].d 0x1292 59 ecx = ecx - [rsp + (rbx << 2) + 0x650].d 0x1299 60 ecx = ecx * 0x3c 0x129c 61 eax = eax - [rsp + (rbx << 2) + 0x7e0].d 0x12a3 62 eax = eax * 0xe10 0x12a9 63 edx = edx - [rsp + (rbx << 2) + 0x4c0].d 0x12b0 64 edx = edx + eax 0x12b2 65 esi = (rcx + rdx).d 0x12b5 66 esi = esi + 0xa8c0 0x12bb 67 rdi = r14 0x12be 68 eax = 0 0x12c0 69 call(0x1030) 0x12c5 70 rbx = rbx + 1 0x12cc 71 if (r15 != rbx) then 56 @ 0x1280 else 44 @ 0x12ce 0x11f7 72 if ([rsp + (rax << 2) + 0x10].d == 0) then 73 @ 0x1253 else 75 @ 0x11f9 0x1253 73 ebx = 0 0x1257 74 if (bl == 0) then 24 @ 0x11b2 else 76 @ 0x125d 0x11f9 75 goto 21 @ 0x1200 0x125d 76 goto 26 @ 0x1206 int64_t _fini(): 0x12e4 0 rsp = rsp - 8 0x12e8 1 rsp = rsp + 8 0x12ec 2 <return> jump(pop)
POJ_87
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 char* gets(char* buf): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t puts(char const* str): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x90 0x115b 3 rax = rbp - 0x80 {var_88} 0x115f 4 [rbp - 0x88 {var_90}].q = rax {var_88} 0x1166 5 rdi = [rbp - 0x88 {var_90}].q {var_88} 0x116d 6 al = 0 0x116f 7 call(0x1030) 0x1174 8 [rbp - 4 {var_c}].d = 0 0x1174 9 goto 10 @ 0x117b 0x117b 10 rax = [rbp - 0x88 {var_90}].q {var_88} 0x1182 11 rcx = sx.q([rbp - 4 {var_c}].d) 0x1186 12 eax = sx.d([rax + rcx].b) 0x118d 13 if (eax == 0) then 14 @ 0x1229 else 20 @ 0x1193 0x1229 14 rdi = [rbp - 0x88 {var_90}].q {var_88} 0x1230 15 al = 0 0x1232 16 call(0x1040) 0x1237 17 rsp = rsp + 0x90 0x123e 18 rbp = pop 0x123f 19 <return> jump(pop) 0x1193 20 rax = [rbp - 0x88 {var_90}].q {var_88} 0x119a 21 rcx = sx.q([rbp - 4 {var_c}].d) 0x119e 22 eax = sx.d([rax + rcx].b) 0x11a5 23 if (eax != 0x20) then 24 @ 0x1216 else 25 @ 0x11ab 0x1216 24 goto 29 @ 0x121b 0x11ab 25 rax = [rbp - 0x88 {var_90}].q {var_88} 0x11b2 26 rcx = sx.q([rbp - 4 {var_c}].d) 0x11b6 27 eax = sx.d([rax + rcx + 1].b) 0x11be 28 if (eax != 0x20) then 24 @ 0x1216 else 33 @ 0x11c4 0x121b 29 eax = [rbp - 4 {var_c}].d 0x121e 30 eax = eax + 1 0x1221 31 [rbp - 4 {var_c}].d = eax 0x1224 32 goto 10 @ 0x117b 0x11c4 33 eax = [rbp - 4 {var_c}].d 0x11c7 34 [rbp - 8 {var_10_1}].d = eax 0x11c7 35 goto 36 @ 0x11ca 0x11ca 36 rax = [rbp - 0x88 {var_90}].q {var_88} 0x11d1 37 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x11d5 38 eax = sx.d([rax + rcx].b) 0x11dc 39 if (eax == 0) then 40 @ 0x120d else 44 @ 0x11e2 0x120d 40 eax = [rbp - 4 {var_c}].d 0x1210 41 eax = eax - 1 0x1213 42 [rbp - 4 {var_c}].d = eax 0x1213 43 goto 24 @ 0x1216 0x11e2 44 rax = [rbp - 0x88 {var_90}].q {var_88} 0x11e9 45 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x11ed 46 dl = [rax + rcx + 1].b 0x11f1 47 rax = [rbp - 0x88 {var_90}].q {var_88} 0x11f8 48 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x11fc 49 [rax + rcx].b = dl 0x11ff 50 eax = [rbp - 8 {var_10_1}].d 0x1202 51 eax = eax + 1 0x1205 52 [rbp - 8 {var_10_1}].d = eax 0x1208 53 goto 36 @ 0x11ca int64_t _fini(): 0x1244 0 rsp = rsp - 8 0x1248 1 rsp = rsp + 8 0x124c 2 <return> jump(pop)
POJ_62
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x210 0x116b 3 rdi = rbp - 0x190 {var_198} 0x1172 4 esi = 0 0x1174 5 edx = 0x190 {""} 0x1179 6 call(0x1040) 0x117e 7 rdi = rbp - 0x1d0 {var_1d8} 0x1185 8 esi = 0 0x1187 9 edx = 0x28 {"H7"} 0x118c 10 call(0x1040) 0x1191 11 rdi = rbp - 0x200 {var_208} 0x1198 12 esi = 0 0x119a 13 edx = 0x28 {"H7"} 0x119f 14 call(0x1040) 0x11a4 15 [rbp - 0x204 {var_20c}].d = 0 0x11ae 16 [rbp - 0x208 {var_210}].d = 0 0x11b8 17 rdi = 0x2004 {"%d,%d"} 0x11bf 18 rsi = rbp - 0x194 {var_19c} 0x11c6 19 rdx = rbp - 0x198 {var_1a0} 0x11cd 20 al = 0 0x11cf 21 call(0x1050) 0x11d4 22 [rbp - 0x19c {var_1a4}].d = 0 0x11d4 23 goto 24 @ 0x11de 0x11de 24 eax = [rbp - 0x19c {var_1a4}].d 0x11ea 25 if (eax s>= [rbp - 0x194 {var_19c}].d) then 26 @ 0x126a else 28 @ 0x11f0 0x126a 26 [rbp - 0x19c {var_1a4_1}].d = 0 0x126a 27 goto 30 @ 0x1274 0x11f0 28 [rbp - 0x1a0 {var_1a8_1}].d = 0 0x11f0 29 goto 32 @ 0x11fa 0x1274 30 eax = [rbp - 0x19c {var_1a4_1}].d 0x1280 31 if (eax s>= [rbp - 0x194 {var_19c}].d) then 34 @ 0x13b0 else 36 @ 0x1286 0x11fa 32 eax = [rbp - 0x1a0 {var_1a8_1}].d 0x1206 33 if (eax s>= [rbp - 0x198 {var_1a0}].d) then 38 @ 0x1251 else 39 @ 0x120c 0x13b0 34 [rbp - 0x19c {var_1a4_2}].d = 0 0x13b0 35 goto 53 @ 0x13ba 0x1286 36 [rbp - 0x1a0 {var_1a8_2}].d = 0 0x1286 37 goto 55 @ 0x1290 0x1251 38 goto 57 @ 0x1256 0x120c 39 rax = sx.q([rbp - 0x19c {var_1a4}].d) 0x1213 40 rsi = rbp - 0x190 {var_198} 0x121a 41 rax = rax * 0x28 0x121e 42 rsi = rsi + rax 0x1221 43 rax = sx.q([rbp - 0x1a0 {var_1a8_1}].d) 0x1228 44 rax = rax << 2 0x122c 45 rsi = rsi + rax 0x122f 46 rdi = 0x200d {"%d"} 0x1236 47 al = 0 0x1238 48 call(0x1050) 0x123d 49 eax = [rbp - 0x1a0 {var_1a8_1}].d 0x1243 50 eax = eax + 1 0x1246 51 [rbp - 0x1a0 {var_1a8_1}].d = eax 0x124c 52 goto 32 @ 0x11fa 0x13ba 53 eax = [rbp - 0x19c {var_1a4_2}].d 0x13c6 54 if (eax s>= [rbp - 0x194 {var_19c}].d) then 61 @ 0x14ac else 63 @ 0x13cc 0x1290 55 eax = [rbp - 0x1a0 {var_1a8_2}].d 0x129c 56 if (eax s>= [rbp - 0x198 {var_1a0}].d) then 65 @ 0x131b else 67 @ 0x12a2 0x1256 57 eax = [rbp - 0x19c {var_1a4}].d 0x125c 58 eax = eax + 1 0x125f 59 [rbp - 0x19c {var_1a4}].d = eax 0x1265 60 goto 24 @ 0x11de 0x14ac 61 eax = [rbp - 0x208 {var_210}].d 0x14b8 62 if (eax != [rbp - 0x194 {var_19c}].d) then 75 @ 0x14cc else 78 @ 0x14be 0x13cc 63 [rbp - 0x1a0 {var_1a8_4}].d = 0 0x13cc 64 goto 82 @ 0x13d6 0x131b 65 [rbp - 0x1a0 {var_1a8_3}].d = 0 0x131b 66 goto 84 @ 0x1325 0x12a2 67 rcx = sx.q([rbp - 0x19c {var_1a4_1}].d) 0x12a9 68 rax = rbp - 0x190 {var_198} 0x12b0 69 rcx = rcx * 0x28 0x12b4 70 rax = rax + rcx 0x12b7 71 rcx = sx.q([rbp - 0x1a0 {var_1a8_2}].d) 0x12be 72 eax = [rax + (rcx << 2)].d 0x12c1 73 rcx = sx.q([rbp - 0x19c {var_1a4_1}].d) 0x12cf 74 if (eax s<= [rbp + (rcx << 2) - 0x1d0].d) then 86 @ 0x1302 else 87 @ 0x12d5 0x14cc 75 rsp = rsp + 0x210 0x14d3 76 rbp = pop 0x14d4 77 <return> jump(pop) 0x14be 78 rdi = 0x2010 {"No"} 0x14c5 79 al = 0 0x14c7 80 call(0x1030) 0x14c7 81 goto 75 @ 0x14cc 0x13d6 82 eax = [rbp - 0x1a0 {var_1a8_4}].d 0x13e2 83 if (eax s>= [rbp - 0x194 {var_19c}].d) then 96 @ 0x144d else 97 @ 0x13e8 0x1325 84 eax = [rbp - 0x1a0 {var_1a8_3}].d 0x1331 85 if (eax s>= [rbp - 0x198 {var_1a0}].d) then 106 @ 0x1397 else 107 @ 0x1337 0x1302 86 goto 115 @ 0x1307 0x12d5 87 rcx = sx.q([rbp - 0x19c {var_1a4_1}].d) 0x12dc 88 rax = rbp - 0x190 {var_198} 0x12e3 89 rcx = rcx * 0x28 0x12e7 90 rax = rax + rcx 0x12ea 91 rcx = sx.q([rbp - 0x1a0 {var_1a8_2}].d) 0x12f1 92 ecx = [rax + (rcx << 2)].d 0x12f4 93 rax = sx.q([rbp - 0x19c {var_1a4_1}].d) 0x12fb 94 [rbp + (rax << 2) - 0x1d0].d = ecx 0x12fb 95 goto 86 @ 0x1302 0x144d 96 if ([rbp - 0x204 {var_20c}].d != 0) then 119 @ 0x147a else 123 @ 0x1453 0x13e8 97 rax = sx.q([rbp - 0x19c {var_1a4_2}].d) 0x13ef 98 eax = [rbp + (rax << 2) - 0x1d0].d 0x13f6 99 rdx = sx.q([rbp - 0x1a0 {var_1a8_4}].d) 0x13fd 100 rcx = rbp - 0x190 {var_198} 0x1404 101 rdx = rdx * 0x28 0x1408 102 rcx = rcx + rdx 0x140b 103 rdx = sx.q([rbp - 0x19c {var_1a4_2}].d) 0x1412 104 rdx = sx.q([rbp + (rdx << 2) - 0x200].d) 0x141d 105 if (eax s<= [rcx + (rdx << 2)].d) then 130 @ 0x142d else 131 @ 0x1423 0x1397 106 goto 133 @ 0x139c 0x1337 107 rcx = sx.q([rbp - 0x19c {var_1a4_1}].d) 0x133e 108 rax = rbp - 0x190 {var_198} 0x1345 109 rcx = rcx * 0x28 0x1349 110 rax = rax + rcx 0x134c 111 rcx = sx.q([rbp - 0x1a0 {var_1a8_3}].d) 0x1353 112 eax = [rax + (rcx << 2)].d 0x1356 113 rcx = sx.q([rbp - 0x19c {var_1a4_1}].d) 0x1364 114 if (eax != [rbp + (rcx << 2) - 0x1d0].d) then 137 @ 0x137e else 138 @ 0x136a 0x1307 115 eax = [rbp - 0x1a0 {var_1a8_2}].d 0x130d 116 eax = eax + 1 0x1310 117 [rbp - 0x1a0 {var_1a8_2}].d = eax 0x1316 118 goto 55 @ 0x1290 0x147a 119 eax = [rbp - 0x208 {var_210}].d 0x1480 120 eax = eax + 1 0x1483 121 [rbp - 0x208 {var_210}].d = eax 0x1489 122 goto 142 @ 0x148e 0x1453 123 esi = [rbp - 0x19c {var_1a4_2}].d 0x1459 124 rax = sx.q([rbp - 0x19c {var_1a4_2}].d) 0x1460 125 edx = [rbp + (rax << 2) - 0x200].d 0x1467 126 rdi = 0x200a {"%d+%d"} 0x146e 127 al = 0 0x1470 128 call(0x1030) 0x1475 129 goto 61 @ 0x14ac 0x142d 130 goto 147 @ 0x1432 0x1423 131 [rbp - 0x204 {var_20c}].d = 1 0x1423 132 goto 130 @ 0x142d 0x139c 133 eax = [rbp - 0x19c {var_1a4_1}].d 0x13a2 134 eax = eax + 1 0x13a5 135 [rbp - 0x19c {var_1a4_1}].d = eax 0x13ab 136 goto 30 @ 0x1274 0x137e 137 goto 151 @ 0x1383 0x136a 138 ecx = [rbp - 0x1a0 {var_1a8_3}].d 0x1370 139 rax = sx.q([rbp - 0x19c {var_1a4_1}].d) 0x1377 140 [rbp + (rax << 2) - 0x200].d = ecx 0x1377 141 goto 137 @ 0x137e 0x148e 142 eax = [rbp - 0x19c {var_1a4_2}].d 0x1494 143 eax = eax + 1 0x1497 144 [rbp - 0x19c {var_1a4_2}].d = eax 0x149d 145 [rbp - 0x204 {var_20c}].d = 0 0x14a7 146 goto 53 @ 0x13ba 0x1432 147 eax = [rbp - 0x1a0 {var_1a8_4}].d 0x1438 148 eax = eax + 1 0x143b 149 [rbp - 0x1a0 {var_1a8_4}].d = eax 0x1441 150 goto 82 @ 0x13d6 0x1383 151 eax = [rbp - 0x1a0 {var_1a8_3}].d 0x1389 152 eax = eax + 1 0x138c 153 [rbp - 0x1a0 {var_1a8_3}].d = eax 0x1392 154 goto 84 @ 0x1325 int64_t _fini(): 0x14dc 0 rsp = rsp - 8 0x14e0 1 rsp = rsp + 8 0x14e4 2 <return> jump(pop)
POJ_35
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH0E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x30 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 xmm0 = 0 0x1162 5 [rbp - 0x20 {var_28}].q = xmm0.q 0x1167 6 rdi = 0x2004 {"%d"} 0x116e 7 rsi = rbp - 0x14 {var_1c} 0x1172 8 al = 0 0x1174 9 call(0x1040) 0x1179 10 [rbp - 0x10 {var_18}].d = 0 0x1179 11 goto 12 @ 0x1180 0x1180 12 eax = [rbp - 0x10 {var_18}].d 0x1186 13 if (eax s>= [rbp - 0x14 {var_1c}].d) then 14 @ 0x121b else 18 @ 0x118c 0x121b 14 eax = 0 0x121d 15 rsp = rsp + 0x30 0x1221 16 rbp = pop 0x1222 17 <return> jump(pop) 0x118c 18 xmm0 = 0 0x118f 19 [rbp - 0x20 {var_28_1}].q = xmm0.q 0x1194 20 rdi = 0x2004 {"%d"} 0x119b 21 rsi = rbp - 8 {var_10} 0x119f 22 al = 0 0x11a1 23 call(0x1040) 0x11a6 24 [rbp - 0xc {var_14_1}].d = 0 0x11a6 25 goto 26 @ 0x11ad 0x11ad 26 eax = [rbp - 0xc {var_14_1}].d 0x11b3 27 if (eax s>= [rbp - 8 {var_10}].d) then 28 @ 0x11fa else 36 @ 0x11b9 0x11fa 28 xmm0 = zx.o([rbp - 0x20 {var_28_1}].q) 0x11ff 29 rdi = 0x2007 {"%.3lf\n"} 0x1206 30 al = 1 0x1208 31 call(0x1030) 0x120d 32 eax = [rbp - 0x10 {var_18}].d 0x1210 33 eax = eax + 1 0x1213 34 [rbp - 0x10 {var_18}].d = eax 0x1216 35 goto 12 @ 0x1180 0x11b9 36 edi = [rbp - 0xc {var_14_1}].d 0x11bc 37 edi = edi + 1 0x11bf 38 call(0x1230) 0x11c4 39 xmm0.q = float.d(eax) 0x11c8 40 [rbp - 0x28 {var_30_1}].q = xmm0.q 0x11cd 41 edi = [rbp - 0xc {var_14_1}].d 0x11d0 42 call(0x1230) 0x11d5 43 xmm0 = zx.o([rbp - 0x28 {var_30_1}].q) 0x11da 44 xmm1.q = float.d(eax) 0x11de 45 xmm0.q = xmm0.q f/ xmm1.q 0x11e2 46 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x20 {var_28_1}].q) 0x11e7 47 [rbp - 0x20 {var_28_1}].q = xmm0.q 0x11ec 48 eax = [rbp - 0xc {var_14_1}].d 0x11ef 49 eax = eax + 1 0x11f2 50 [rbp - 0xc {var_14_1}].d = eax 0x11f5 51 goto 26 @ 0x11ad uint64_t shulie(int32_t arg1): 0x1230 0 push(rbp) 0x1231 1 rbp = rsp {__saved_rbp} 0x1234 2 rsp = rsp - 0x120 0x123b 3 [rbp - 4 {var_c}].d = edi 0x123e 4 [rbp - 0x1a0 {var_1a8}].d = 1 0x1248 5 [rbp - 0x19c {var_1a4}].d = 2 0x1252 6 [rbp - 8 {var_10}].d = 2 0x1252 7 goto 8 @ 0x1259 0x1259 8 eax = [rbp - 8 {var_10}].d 0x125f 9 if (eax s> [rbp - 4 {var_c}].d) then 10 @ 0x129c else 15 @ 0x1265 0x129c 10 rax = sx.q([rbp - 4 {var_c}].d) 0x12a0 11 eax = [rbp + (rax << 2) - 0x1a0].d 0x12a7 12 rsp = rsp + 0x120 0x12ae 13 rbp = pop 0x12af 14 <return> jump(pop) 0x1265 15 eax = [rbp - 8 {var_10}].d 0x1268 16 eax = eax - 1 0x126b 17 rax = sx.q(eax) 0x126d 18 ecx = [rbp + (rax << 2) - 0x1a0].d 0x1274 19 eax = [rbp - 8 {var_10}].d 0x1277 20 eax = eax - 2 0x127a 21 rax = sx.q(eax) 0x127c 22 ecx = ecx + [rbp + (rax << 2) - 0x1a0].d 0x1283 23 rax = sx.q([rbp - 8 {var_10}].d) 0x1287 24 [rbp + (rax << 2) - 0x1a0].d = ecx 0x128e 25 eax = [rbp - 8 {var_10}].d 0x1291 26 eax = eax + 1 0x1294 27 [rbp - 8 {var_10}].d = eax 0x1297 28 goto 8 @ 0x1259 int64_t _fini(): 0x12b4 0 rsp = rsp - 8 0x12b8 1 rsp = rsp + 8 0x12bc 2 <return> jump(pop)
POJ_29
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1160 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) uint64_t min(int32_t arg1, int32_t arg2): 0x1150 0 eax = esi 0x1154 1 if (edi s< esi) then 2 else 4 @ 0x1157 0x1154 2 eax = edi 0x1154 3 goto 4 @ 0x1157 0x1157 4 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x9c98 0x1171 7 rdi = 0x2004 {"%d%d"} 0x1178 8 rsi = rsp + 8 {var_9cc0} 0x117d 9 rdx = rsp + 0xc {var_9cbc} 0x1182 10 eax = 0 0x1184 11 call(0x1040) 0x1189 12 eax = [rsp + 8 {var_9cc0}].d 0x118f 13 if (eax s<= 0) then 14 @ 0x14da else 22 @ 0x1195 0x14da 14 rsp = rsp + 0x9c98 0x14e1 15 rbx = pop 0x14e2 16 r12 = pop 0x14e4 17 r13 = pop 0x14e6 18 r14 = pop 0x14e8 19 r15 = pop 0x14ea 20 rbp = pop 0x14eb 21 <return> jump(pop) 0x1195 22 r15d = [rsp + 0xc {var_9cbc}].d 0x119d 23 if (r15d s<= 0) then 14 @ 0x14da else 24 @ 0x11a3 0x11a3 24 r13 = rsp + 0x50 {var_9c78} 0x11a8 25 r14 = 0x2006 {"%d"} 0x11af 26 r12d = 0 0x11b2 27 goto 28 @ 0x11d6 0x11d6 28 if (r15d s<= 0) then 29 @ 0x11c0 else 33 @ 0x11d8 0x11c0 29 r12 = r12 + 1 0x11c4 30 rcx = sx.q(eax) 0x11c7 31 r13 = r13 + 0x190 0x11d1 32 if (r12 s>= rcx) then 36 @ 0x1207 else 28 @ 0x11d6 0x11d8 33 rbx = r13 0x11db 34 ebp = 0 0x11dd 35 goto 37 @ 0x11e0 0x1207 36 if (eax s<= 0) then 14 @ 0x14da else 45 @ 0x1210 0x11e0 37 rdi = r14 0x11e3 38 rsi = rbx 0x11e6 39 eax = 0 0x11e8 40 call(0x1040) 0x11ed 41 rbp = rbp + 1 0x11f1 42 r15 = sx.q([rsp + 0xc {var_9cbc}].d) 0x11f6 43 rbx = rbx + 4 0x11fd 44 if (rbp s< r15) then 37 @ 0x11e0 else 46 @ 0x11ff 0x1210 45 if (r15d s<= 0) then 14 @ 0x14da else 48 @ 0x1216 0x11ff 46 eax = [rsp + 8 {var_9cc0}].d 0x1203 47 goto 29 @ 0x11c0 0x1216 48 r13 = rsp + 0x370 {var_9958} 0x121e 49 ebx = 1 0x1223 50 r14d = 0xffffffff {""} 0x1229 51 edi = 0xfffffffe {""} 0x122e 52 rcx = rsp + 0x50 {var_9c78} 0x1233 53 [rsp + 0x18 {var_9cb0_1}].d = 2 0x123b 54 rbp = 0x2009 {"%d\n"} 0x1242 55 [rsp + 0x38 {var_9c90_1}].q = rcx {var_9c78} 0x1247 56 r12d = 0 0x124a 57 edx = eax 0x124c 58 [rsp + 0x1c {var_9cac_1}].d = eax 0x1250 59 edx = 0 0x125c 60 goto 61 @ 0x1260 0x1260 61 [rsp + 0x34 {var_9c94_1}].d = edx 0x1264 62 [rsp + 0x40 {var_9c88_1}].q = rcx 0x1269 63 rdx = sx.q(r15d) 0x126c 64 rdx = rdx - r12 0x126f 65 ecx = r15d 0x1272 66 cond:2 = r12 s>= rdx 0x1275 67 [rsp + 0x28 {var_9ca0_1}].q = rbx 0x127a 68 [rsp + 0x14 {var_9cb4_1}].d = edi 0x127e 69 [rsp + 0x20 {var_9ca8_1}].q = r13 0x1283 70 if (cond:2) then 71 @ 0x12c6 else 79 @ 0x1285 0x12c6 71 [rsp + 0x10 {var_9cb8_1}].d = r14d 0x12cb 72 rsi = r12 + 1 0x12d0 73 r14d = r12d 0x12d3 74 r14d = not.d(r14d) 0x12d6 75 edx = (rax + r14).d 0x12da 76 rdx = sx.q(edx) 0x12dd 77 [rsp + 0x48 {var_9c80_1}].q = rsi 0x12e5 78 if (rsi s>= rdx) then 82 @ 0x1372 else 85 @ 0x12eb 0x1285 79 ebx = 0 0x1287 80 r13 = [rsp + 0x40 {var_9c88_1}].q 0x128c 81 goto 100 @ 0x1290 0x1372 82 edx = (rcx + r14).d 0x1376 83 rdx = sx.q(edx) 0x137c 84 if (r12 s> rdx) then 110 @ 0x1420 else 113 @ 0x1387 0x12eb 85 ecx = ecx + r14d 0x12ee 86 rax = sx.q(ecx) 0x12f1 87 rcx = rbx * 0x190 0x12f8 88 rcx = rcx + rsp 0x12fb 89 rcx = rcx + 0x50 0x12ff 90 esi = [rcx + (rax << 2)].d 0x1302 91 rdi = 0x2009 {"%d\n"} 0x1309 92 eax = 0 0x130b 93 call(0x1030) 0x1310 94 ecx = (rbx + 1).d 0x1313 95 eax = [rsp + 8 {var_9cc0}].d 0x1317 96 edx = (rax + r14).d 0x131b 97 cond:0 = edx s<= ecx 0x131d 98 r13d = [rsp + 0x10 {var_9cb8_1}].d 0x1322 99 if (cond:0) then 114 @ 0x1360 else 119 @ 0x1324 0x1290 100 esi = [r13 + (rbx << 2)].d 0x1295 101 rdi = rbp 0x1298 102 eax = 0 0x129a 103 call(0x1030) 0x129f 104 ecx = [rsp + 0xc {var_9cbc}].d 0x12a3 105 eax = ecx 0x12a5 106 eax = eax - r12d 0x12a8 107 rbx = rbx + 1 0x12ac 108 edx = (rbx + r12).d 0x12b2 109 if (eax s> edx) then 100 @ 0x1290 else 122 @ 0x12b4 0x1420 110 r14d = [rsp + 0x10 {var_9cb8_1}].d 0x1425 111 rbp = 0x2009 {"%d\n"} 0x1425 112 goto 127 @ 0x142c 0x1387 113 if ([rsp + 0x1c {var_9cac_1}].d == 1) then 110 @ 0x1420 else 134 @ 0x138d 0x1360 114 ecx = [rsp + 0xc {var_9cbc}].d 0x1364 115 rbx = [rsp + 0x28 {var_9ca0_1}].q 0x1369 116 edi = [rsp + 0x14 {var_9cb4_1}].d 0x136d 117 r13 = [rsp + 0x20 {var_9ca8_1}].q 0x136d 118 goto 82 @ 0x1372 0x1324 119 rbx = [rsp + 0x20 {var_9ca8_1}].q 0x1329 120 ebp = [rsp + 0x18 {var_9cb0_1}].d 0x132d 121 goto 150 @ 0x1330 0x12b4 122 eax = [rsp + 8 {var_9cc0}].d 0x12b8 123 r13 = [rsp + 0x20 {var_9ca8_1}].q 0x12bd 124 rbx = [rsp + 0x28 {var_9ca0_1}].q 0x12c2 125 edi = [rsp + 0x14 {var_9cb4_1}].d 0x12c2 126 goto 71 @ 0x12c6 0x142c 127 ecx = eax 0x142e 128 ecx = ecx - r12d 0x1431 129 ecx = ecx - 2 0x1434 130 rcx = sx.q(ecx) 0x1437 131 cond:3 = r12 s>= rcx 0x143a 132 ecx = [rsp + 0x34 {var_9c94_1}].d 0x143e 133 if (cond:3) then 162 @ 0x1490 else 171 @ 0x1440 0x138d 134 rbx = r13 0x1390 135 ebp = [rsp + 0x10 {var_9cb8_1}].d 0x1394 136 ecx = ecx + ebp 0x1396 137 r13 = sx.q(ecx) 0x1399 138 eax = eax + r14d 0x139c 139 r14d = ebp 0x139f 140 rax = sx.q(eax) 0x13a1 141 rax = rax * 0x190 0x13a8 142 rax = rax + rsp 0x13ab 143 rax = rax + 0x50 0x13af 144 esi = [rax + (r13 << 2)].d 0x13b3 145 rbp = 0x2009 {"%d\n"} 0x13ba 146 rdi = rbp 0x13bd 147 eax = 0 0x13bf 148 call(0x1030) 0x13c7 149 if (r12 s>= r13) then 173 @ 0x13ff else 178 @ 0x13c9 0x1330 150 eax = [rsp + 0xc {var_9cbc}].d 0x1334 151 eax = eax + r13d 0x1337 152 rax = sx.q(eax) 0x1339 153 esi = [rbx + (rax << 2)].d 0x133c 154 rdi = 0x2009 {"%d\n"} 0x1343 155 eax = 0 0x1345 156 call(0x1030) 0x134a 157 eax = [rsp + 8 {var_9cc0}].d 0x134e 158 ecx = (rax + r14).d 0x1352 159 ebp = ebp + 1 0x1355 160 rbx = rbx + 0x190 0x135e 161 if (ecx s> ebp) then 150 @ 0x1330 else 114 @ 0x1360 0x1490 162 r12 = [rsp + 0x48 {var_9c80_1}].q 0x1495 163 edx = (r12 + r12).d 0x1499 164 ecx = eax 0x149b 165 temp0.d = ecx 0x149b 166 ecx = ecx - edx 0x149b 167 cond:1 = temp0.d s<= edx 0x149d 168 [rsp + 0x1c {var_9cac_1}].d = ecx 0x14a1 169 rcx = [rsp + 0x40 {var_9c88_1}].q 0x14a6 170 if (cond:1) then 14 @ 0x14da else 179 @ 0x14a8 0x1440 171 r15d = r15d - ecx 0x1447 172 if (r15d == 1) then 162 @ 0x1490 else 188 @ 0x1449 0x13ff 173 eax = [rsp + 8 {var_9cc0}].d 0x1403 174 r13 = rbx 0x1406 175 edi = [rsp + 0x14 {var_9cb4_1}].d 0x140a 176 rbx = [rsp + 0x28 {var_9ca0_1}].q 0x140f 177 goto 127 @ 0x142c 0x13c9 178 goto 195 @ 0x13d0 0x14a8 179 rbx = rbx + 1 0x14ac 180 r14d = r14d - 1 0x14b0 181 edi = edi - 1 0x14b3 182 rcx = rcx + 0x194 0x14ba 183 [rsp + 0x18 {var_9cb0_1}].d = [rsp + 0x18 {var_9cb0_1}].d + 1 0x14bf 184 r13 = r13 + 0x190 0x14c6 185 [rsp + 0x38 {var_9c90_1}].q = [rsp + 0x38 {var_9c90_1}].q + 4 0x14cc 186 r15d = [rsp + 0xc {var_9cbc}].d 0x14d4 187 if (r15d s> edx) then 61 @ 0x1260 else 14 @ 0x14da 0x1449 188 r15 = rbp 0x144c 189 r14 = rbx 0x144f 190 eax = eax + edi 0x1451 191 rbx = sx.q(eax) 0x1454 192 rbp = rbx * 0x190 0x145b 193 rbp = rbp + [rsp + 0x38 {var_9c90_1}].q 0x145b 194 goto 207 @ 0x1460 0x13d0 195 eax = [rsp + 8 {var_9cc0}].d 0x13d4 196 eax = eax + r14d 0x13d7 197 rax = sx.q(eax) 0x13d9 198 rax = rax * 0x190 0x13e0 199 rax = rax + rsp 0x13e3 200 rax = rax + 0x50 0x13e7 201 esi = [rax + (r13 << 2) - 4].d 0x13ec 202 r13 = r13 - 1 0x13f0 203 rdi = rbp 0x13f3 204 eax = 0 0x13f5 205 call(0x1030) 0x13fd 206 if (r13 s> r12) then 195 @ 0x13d0 else 173 @ 0x13ff 0x1460 207 esi = [rbp].d 0x1463 208 rdi = r15 0x1466 209 eax = 0 0x1468 210 call(0x1030) 0x146d 211 rbx = rbx - 1 0x1471 212 rbp = rbp - 0x190 0x147b 213 if (rbx s> r12) then 207 @ 0x1460 else 214 @ 0x147d 0x147d 214 eax = [rsp + 8 {var_9cc0}].d 0x1481 215 rbx = r14 0x1484 216 r14d = [rsp + 0x10 {var_9cb8_1}].d 0x1489 217 rbp = r15 0x148c 218 edi = [rsp + 0x14 {var_9cb4_1}].d 0x148c 219 goto 162 @ 0x1490 int64_t _fini(): 0x14f0 0 rsp = rsp - 8 0x14f4 1 rsp = rsp + 8 0x14f8 2 <return> jump(pop)
POJ_46
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) void __cxa_finalize(void* d): 0x1040 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1054 0 ebp = 0 0x1056 1 r9 = rdx 0x1059 2 rsi = pop 0x105a 3 rdx = rsp {arg_8} 0x105d 4 rsp = rsp & 0xfffffffffffffff0 0x1061 5 push(rax) 0x1062 6 push(rsp) 0x1063 7 r8d = 0 0x1066 8 ecx = 0 0x1068 9 rdi = 0x1140 {"UHH E"} 0x106f 10 call([0x3ff8].q) 0x106f 11 noreturn void deregister_tm_clones(): 0x1080 0 rdi = 0x4030 {""} 0x1087 1 rax = 0x4030 {""} 0x1091 2 if (rax == rdi) then 3 @ 0x10a8 else 4 @ 0x1093 0x10a8 3 <return> jump(pop) 0x1093 4 rax = [0x3fd8].q 0x109d 5 if (rax == 0) then 3 @ 0x10a8 else 6 @ 0x109f 0x109f 6 <return> tailcall(rax) void register_tm_clones(): 0x10b0 0 rdi = 0x4030 {""} 0x10b7 1 rsi = 0x4030 {""} 0x10be 2 rsi = rsi - rdi 0x10c1 3 rax = rsi 0x10c4 4 rsi = rsi u>> 0x3f 0x10c8 5 rax = rax s>> 3 0x10cc 6 rsi = rsi + rax 0x10cf 7 rsi = rsi s>> 1 0x10d2 8 if (rsi == 0) then 9 @ 0x10e8 else 10 @ 0x10d4 0x10e8 9 <return> jump(pop) 0x10d4 10 rax = [0x3ff0].q 0x10de 11 if (rax == 0) then 9 @ 0x10e8 else 12 @ 0x10e0 0x10e0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x10fb 0 if ([0x4030].b != 0) then 1 @ 0x1128 else 2 @ 0x10fd 0x1128 1 <return> jump(pop) 0x10fd 2 push(rbp) 0x10fe 3 cond:0 = [0x3fe0].q == 0 0x1106 4 rbp = rsp {__saved_rbp} 0x1109 5 if (cond:0) then 6 @ 0x1117 else 10 @ 0x110b 0x1117 6 call(0x1080) 0x111c 7 [0x4030].b = 1 0x1123 8 rbp = pop 0x1124 9 <return> jump(pop) 0x110b 10 rdi = [0x4028].q 0x1112 11 call(0x1040) 0x1112 12 goto 6 @ 0x1117 int64_t frame_dummy(): 0x1134 0 <return> tailcall(0x10b0) int32_t main(int32_t argc, char** argv, char** envp): 0x1140 0 push(rbp) 0x1141 1 rbp = rsp {__saved_rbp} 0x1144 2 rsp = rsp - 0x20 0x1148 3 [rbp - 4 {var_c}].d = 0 0x114f 4 [rbp - 0x20 {var_28}].d = 1 0x114f 5 goto 6 @ 0x115a 0x115a 6 if ([rbp - 0x20 {var_28}].d s> 5) then 7 @ 0x13e4 else 11 @ 0x1160 0x13e4 7 eax = [rbp - 4 {var_c}].d 0x13e7 8 rsp = rsp + 0x20 0x13eb 9 rbp = pop 0x13ec 10 <return> jump(pop) 0x1160 11 [rbp - 0x1c {var_24_1}].d = 1 0x1160 12 goto 13 @ 0x116b 0x116b 13 if ([rbp - 0x1c {var_24_1}].d s> 5) then 14 @ 0x13d1 else 15 @ 0x1171 0x13d1 14 goto 17 @ 0x13d6 0x1171 15 [rbp - 0x18 {var_20_1}].d = 1 0x1171 16 goto 21 @ 0x117c 0x13d6 17 eax = [rbp - 0x20 {var_28}].d 0x13d9 18 eax = eax + 1 0x13dc 19 [rbp - 0x20 {var_28}].d = eax 0x13df 20 goto 6 @ 0x115a 0x117c 21 if ([rbp - 0x18 {var_20_1}].d s> 5) then 22 @ 0x13be else 23 @ 0x1182 0x13be 22 goto 25 @ 0x13c3 0x1182 23 [rbp - 0x14 {var_1c_1}].d = 1 0x1182 24 goto 29 @ 0x118d 0x13c3 25 eax = [rbp - 0x1c {var_24_1}].d 0x13c6 26 eax = eax + 1 0x13c9 27 [rbp - 0x1c {var_24_1}].d = eax 0x13cc 28 goto 13 @ 0x116b 0x118d 29 if ([rbp - 0x14 {var_1c_1}].d s> 5) then 30 @ 0x13ab else 31 @ 0x1193 0x13ab 30 goto 33 @ 0x13b0 0x1193 31 [rbp - 0x10 {var_18_1}].d = 1 0x1193 32 goto 37 @ 0x119e 0x13b0 33 eax = [rbp - 0x18 {var_20_1}].d 0x13b3 34 eax = eax + 1 0x13b6 35 [rbp - 0x18 {var_20_1}].d = eax 0x13b9 36 goto 21 @ 0x117c 0x119e 37 if ([rbp - 0x10 {var_18_1}].d s> 5) then 38 @ 0x1398 else 39 @ 0x11a4 0x1398 38 goto 41 @ 0x139d 0x11a4 39 eax = [rbp - 0x20 {var_28}].d 0x11aa 40 if (eax == [rbp - 0x1c {var_24_1}].d) then 45 @ 0x121c else 46 @ 0x11b0 0x139d 41 eax = [rbp - 0x14 {var_1c_1}].d 0x13a0 42 eax = eax + 1 0x13a3 43 [rbp - 0x14 {var_1c_1}].d = eax 0x13a6 44 goto 29 @ 0x118d 0x121c 45 goto 48 @ 0x138a 0x11b0 46 eax = [rbp - 0x20 {var_28}].d 0x11b6 47 if (eax == [rbp - 0x18 {var_20_1}].d) then 45 @ 0x121c else 52 @ 0x11bc 0x138a 48 eax = [rbp - 0x10 {var_18_1}].d 0x138d 49 eax = eax + 1 0x1390 50 [rbp - 0x10 {var_18_1}].d = eax 0x1393 51 goto 37 @ 0x119e 0x11bc 52 eax = [rbp - 0x20 {var_28}].d 0x11c2 53 if (eax == [rbp - 0x14 {var_1c_1}].d) then 45 @ 0x121c else 54 @ 0x11c8 0x11c8 54 eax = [rbp - 0x20 {var_28}].d 0x11ce 55 if (eax == [rbp - 0x10 {var_18_1}].d) then 45 @ 0x121c else 56 @ 0x11d4 0x11d4 56 eax = [rbp - 0x1c {var_24_1}].d 0x11da 57 if (eax == [rbp - 0x18 {var_20_1}].d) then 45 @ 0x121c else 58 @ 0x11e0 0x11e0 58 eax = [rbp - 0x1c {var_24_1}].d 0x11e6 59 if (eax == [rbp - 0x14 {var_1c_1}].d) then 45 @ 0x121c else 60 @ 0x11ec 0x11ec 60 eax = [rbp - 0x1c {var_24_1}].d 0x11f2 61 if (eax == [rbp - 0x10 {var_18_1}].d) then 45 @ 0x121c else 62 @ 0x11f8 0x11f8 62 eax = [rbp - 0x18 {var_20_1}].d 0x11fe 63 if (eax == [rbp - 0x14 {var_1c_1}].d) then 45 @ 0x121c else 64 @ 0x1204 0x1204 64 eax = [rbp - 0x18 {var_20_1}].d 0x120a 65 if (eax == [rbp - 0x10 {var_18_1}].d) then 45 @ 0x121c else 66 @ 0x1210 0x1210 66 eax = [rbp - 0x14 {var_1c_1}].d 0x1216 67 if (eax != [rbp - 0x10 {var_18_1}].d) then 68 @ 0x1225 else 45 @ 0x121c 0x1225 68 if ([rbp - 0x10 {var_18_1}].d == 2) then 69 @ 0x1235 else 70 @ 0x122f 0x1235 69 goto 48 @ 0x138a 0x122f 70 if ([rbp - 0x10 {var_18_1}].d != 3) then 71 @ 0x123e else 69 @ 0x1235 0x123e 71 if ([rbp - 0x20 {var_28}].d == 1) then 72 @ 0x1252 else 73 @ 0x1248 0x1252 72 if ([rbp - 0x10 {var_18_1}].d == 1) then 74 @ 0x125d else 75 @ 0x1258 0x1248 73 if ([rbp - 0x20 {var_28}].d != 2) then 76 @ 0x1266 else 72 @ 0x1252 0x125d 74 goto 77 @ 0x127a 0x1258 75 goto 48 @ 0x138a 0x1266 76 if ([rbp - 0x10 {var_18_1}].d != 1) then 78 @ 0x1271 else 79 @ 0x126c 0x127a 77 if ([rbp - 0x1c {var_24_1}].d == 1) then 80 @ 0x128e else 81 @ 0x1284 0x1271 78 goto 77 @ 0x127a 0x126c 79 goto 48 @ 0x138a 0x128e 80 if ([rbp - 0x1c {var_24_1}].d == 2) then 82 @ 0x1299 else 83 @ 0x1294 0x1284 81 if ([rbp - 0x1c {var_24_1}].d != 2) then 84 @ 0x12a2 else 80 @ 0x128e 0x1299 82 goto 85 @ 0x12b6 0x1294 83 goto 48 @ 0x138a 0x12a2 84 if ([rbp - 0x1c {var_24_1}].d != 2) then 86 @ 0x12ad else 87 @ 0x12a8 0x12b6 85 if ([rbp - 0x18 {var_20_1}].d == 1) then 88 @ 0x12ca else 89 @ 0x12c0 0x12ad 86 goto 85 @ 0x12b6 0x12a8 87 goto 48 @ 0x138a 0x12ca 88 if ([rbp - 0x20 {var_28}].d == 5) then 90 @ 0x12d5 else 91 @ 0x12d0 0x12c0 89 if ([rbp - 0x18 {var_20_1}].d != 2) then 92 @ 0x12de else 88 @ 0x12ca 0x12d5 90 goto 93 @ 0x12f2 0x12d0 91 goto 48 @ 0x138a 0x12de 92 if ([rbp - 0x20 {var_28}].d != 5) then 94 @ 0x12e9 else 95 @ 0x12e4 0x12f2 93 if ([rbp - 0x14 {var_1c_1}].d == 1) then 96 @ 0x1306 else 97 @ 0x12fc 0x12e9 94 goto 93 @ 0x12f2 0x12e4 95 goto 48 @ 0x138a 0x1306 96 if ([rbp - 0x18 {var_20_1}].d != 1) then 98 @ 0x1311 else 99 @ 0x130c 0x12fc 97 if ([rbp - 0x14 {var_1c_1}].d != 2) then 100 @ 0x131a else 96 @ 0x1306 0x1311 98 goto 101 @ 0x132e 0x130c 99 goto 48 @ 0x138a 0x131a 100 if ([rbp - 0x18 {var_20_1}].d == 1) then 102 @ 0x1325 else 103 @ 0x1320 0x132e 101 if ([rbp - 0x10 {var_18_1}].d == 1) then 104 @ 0x1342 else 105 @ 0x1338 0x1325 102 goto 101 @ 0x132e 0x1320 103 goto 48 @ 0x138a 0x1342 104 if ([rbp - 0x14 {var_1c_1}].d == 1) then 106 @ 0x134d else 107 @ 0x1348 0x1338 105 if ([rbp - 0x10 {var_18_1}].d != 2) then 108 @ 0x1356 else 104 @ 0x1342 0x134d 106 goto 109 @ 0x1366 0x1348 107 goto 48 @ 0x138a 0x1356 108 if ([rbp - 0x14 {var_1c_1}].d != 1) then 118 @ 0x1361 else 119 @ 0x135c 0x1366 109 esi = [rbp - 0x20 {var_28}].d 0x1369 110 edx = [rbp - 0x1c {var_24_1}].d 0x136c 111 ecx = [rbp - 0x18 {var_20_1}].d 0x136f 112 r8d = [rbp - 0x14 {var_1c_1}].d 0x1373 113 r9d = [rbp - 0x10 {var_18_1}].d 0x1377 114 rdi = 0x2004 {"%d %d %d %d %d"} 0x137e 115 al = 0 0x1380 116 call(0x1030) 0x1385 117 goto 38 @ 0x1398 0x1361 118 goto 109 @ 0x1366 0x135c 119 goto 48 @ 0x138a int64_t _fini(): 0x13f4 0 rsp = rsp - 8 0x13f8 1 rsp = rsp + 8 0x13fc 2 <return> jump(pop)
POJ_41
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t atoi(char const* nptr): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) int32_t putchar(int32_t c): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"UAWAVSHX"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 push(r15) 0x1183 2 push(r14) 0x1185 3 push(rbx) 0x1186 4 rsp = rsp - 0x158 0x118d 5 rdi = 0x2004 {"%s %s %s"} 0x1194 6 rbx = rsp + 0xd {var_16b} 0x1199 7 r15 = rsp + 0x10 {var_168} 0x119e 8 rbp = rsp + 0xa {var_16e} 0x11a3 9 rsi = rbx {var_16b} 0x11a6 10 rdx = r15 {var_168} 0x11a9 11 rcx = rbp {var_16e} 0x11ac 12 eax = 0 0x11ae 13 call(0x1050) 0x11b3 14 rdi = rbx {var_16b} 0x11b6 15 eax = 0 0x11b8 16 call(0x1030) 0x11bd 17 ebx = eax 0x11bf 18 rdi = rbp {var_16e} 0x11c2 19 eax = 0 0x11c4 20 call(0x1030) 0x11c9 21 r14d = eax 0x11cc 22 rdi = r15 {var_168} 0x11cf 23 call(0x1040) 0x11d6 24 if (eax s<= 0) then 25 @ 0x1204 else 26 @ 0x11d8 0x1204 25 if (eax s<= 0) then 29 @ 0x1231 else 31 @ 0x1206 0x11d8 26 ecx = eax 0x11da 27 edx = 0 0x11dc 28 goto 34 @ 0x11e9 0x1231 29 ecx = 0 0x1235 30 if (eax s<= 0) then 37 @ 0x1274 else 39 @ 0x1237 0x1206 31 ecx = eax 0x1208 32 edx = 0 0x120a 33 goto 45 @ 0x1210 0x11e9 34 esi = zx.d([rsp + rdx + 0x10].b) 0x11ee 35 edi = (rsi - 0x41).d 0x11f5 36 if (dil u> 0x19) then 49 @ 0x11e0 else 51 @ 0x11f7 0x1274 37 eax = 0 0x1279 38 if (rax == 0) then 54 @ 0x1295 else 57 @ 0x127b 0x1237 39 rdx = sx.q(ebx) 0x123a 40 rsi = sx.q(eax) 0x123d 41 rsi = rsi + 1 0x1241 42 edi = 1 0x1246 43 eax = 0 0x1248 44 goto 60 @ 0x1250 0x1210 45 esi = sx.d([rsp + rdx + 0x10].b) 0x1215 46 edi = (rsi - 0x57).d 0x1218 47 ebp = (rsi - 0x30).d 0x121e 48 if (esi s>= 0x3a) then 66 else 68 @ 0x1221 0x11e0 49 rdx = rdx + 1 0x11e7 50 if (rcx == rdx) then 25 @ 0x1204 else 34 @ 0x11e9 0x11f7 51 sil = sil + 0x20 0x11fb 52 [rsp + rdx + 0x10].b = sil 0x1200 53 goto 49 @ 0x11e0 0x1295 54 temp2.d = ecx 0x1295 55 cond:0 = temp2.d s<= 0 0x1297 56 if (temp2.d == 0) then 71 @ 0x12fb else 74 @ 0x1299 0x127b 57 rsi = sx.q(r14d) 0x127e 58 ecx = 0 0x127e 59 goto 75 @ 0x1280 0x1250 60 rbp = sx.q([rsp + (rsi << 2) + 0x88].d) 0x1258 61 rbp = rbp * rdi 0x125c 62 rax = rax + rbp 0x125f 63 rdi = rdi * rdx 0x1263 64 rsi = rsi - 1 0x126b 65 if (rsi s> 1) then 60 @ 0x1250 else 83 @ 0x1270 0x121e 66 ebp = edi 0x121e 67 goto 68 @ 0x1221 0x1221 68 [rsp + (rdx << 2) + 0x90].d = ebp 0x1228 69 rdx = rdx + 1 0x122f 70 if (rcx != rdx) then 45 @ 0x1210 else 29 @ 0x1231 0x12fb 71 edi = 0x30 {""} 0x1300 72 call(0x1070) 0x1300 73 goto 84 @ 0x1305 0x1299 74 if (cond:0) then 91 @ 0x12e6 else 97 @ 0x129b 0x1280 75 rdx:rax = sx.o(rax) 0x1282 76 temp0.q = divs.dp.q(rdx:rax, rsi) 0x1282 77 temp1.q = mods.dp.q(rdx:rax, rsi) 0x1282 78 rax = temp0.q 0x1282 79 rdx = temp1.q 0x1285 80 [rsp + (rcx << 2) + 0x90].d = edx 0x128c 81 rcx = rcx + 1 0x1293 82 if (rax != 0) then 75 @ 0x1280 else 54 @ 0x1295 0x1270 83 if (rax != 0) then 57 @ 0x127b else 107 @ 0x1272 0x1305 84 eax = 0 0x1307 85 rsp = rsp + 0x158 0x130e 86 rbx = pop 0x130f 87 r14 = pop 0x1311 88 r15 = pop 0x1313 89 rbp = pop 0x1314 90 <return> jump(pop) 0x12e6 91 eax = ecx 0x12e8 92 [rsp + rax + 0x50].b = 0 0x12ed 93 rdi = rsp + 0x50 {var_128} 0x12f2 94 eax = 0 0x12f4 95 call(0x1060) 0x12f9 96 goto 84 @ 0x1305 0x129b 97 edx = (rcx - 1).d 0x129e 98 rax = sx.q(ecx) 0x12a1 99 rdx = sx.q(edx) 0x12a4 100 rdx = rdx - rax 0x12a7 101 rax = rax + 1 0x12ab 102 rsi = rsp + 0x50 {var_128} 0x12b0 103 rdx = rdx + rsi 0x12b3 104 rdx = rdx + 1 0x12b7 105 esi = 0x30 {""} 0x12bc 106 goto 108 @ 0x12c0 0x1272 107 goto 54 @ 0x1295 0x12c0 108 edi = [rsp + (rax << 2) + 0x88].d 0x12c7 109 cond:1 = edi s< 0xa 0x12ca 110 ebp = 0x37 {""} 0x12cf 111 if (cond:1) then 112 else 114 @ 0x12d2 0x12cf 112 ebp = esi 0x12cf 113 goto 114 @ 0x12d2 0x12d2 114 bpl = bpl + dil 0x12d5 115 [rdx].b = bpl 0x12d8 116 rax = rax - 1 0x12dc 117 rdx = rdx + 1 0x12e4 118 if (rax s> 1) then 108 @ 0x12c0 else 91 @ 0x12e6 int64_t _fini(): 0x131c 0 rsp = rsp - 8 0x1320 1 rsp = rsp + 8 0x1324 2 <return> jump(pop)
POJ_55
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) char* strcat(char* arg1, char const* arg2): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t strcmp(char const* arg1, char const* arg2): 0x1060 0 <return> tailcall([0x4030].q) int32_t puts(char const* str): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"UAWAVAUATSH*"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 push(r15) 0x1183 2 push(r14) 0x1185 3 push(r13) 0x1187 4 push(r12) 0x1189 5 push(rbx) 0x118a 6 rsp = rsp - 0x2a88 0x1191 7 xmm0 = 0 0x1194 8 [rsp + 0xf0 {var_29c8}].o = xmm0 0x119c 9 [rsp + 0x100 {var_29b8}].o = xmm0 0x11a4 10 [rsp + 0x110 {var_29a8}].o = xmm0 0x11ac 11 [rsp + 0x120 {var_2998}].o = xmm0 0x11b4 12 [rsp + 0x130 {var_2988}].o = xmm0 0x11bc 13 [rsp + 0x140 {var_2978}].o = xmm0 0x11c4 14 [rsp + 0x14d {var_2978+0xd}].q = 0 0x11d0 15 [rsp + 0x370 {var_2748}].o = xmm0 0x11d8 16 [rsp + 0x380 {var_2738}].o = xmm0 0x11e0 17 [rsp + 0x390 {var_2728}].o = xmm0 0x11e8 18 [rsp + 0x3a0 {var_2718}].o = xmm0 0x11f0 19 [rsp + 0x3b0 {var_2708}].o = xmm0 0x11f8 20 [rsp + 0x3c0 {var_26f8}].o = xmm0 0x1200 21 [rsp + 0x3cd {var_26f8+0xd}].q = 0 0x120c 22 [rsp + 0x10 {var_2aa8}].o = xmm0 0x1211 23 [rsp + 0x20 {var_2a98}].o = xmm0 0x1216 24 [rsp + 0x30 {var_2a88}].o = xmm0 0x121b 25 [rsp + 0x40 {var_2a78}].o = xmm0 0x1220 26 [rsp + 0x50 {var_2a68}].o = xmm0 0x1225 27 [rsp + 0x60 {var_2a58}].o = xmm0 0x122a 28 [rsp + 0x6d {var_2a58+0xd}].q = 0 0x1233 29 rbx = rsp + 0x10 {var_2aa8} 0x1238 30 rdi = rbx {var_2aa8} 0x123b 31 eax = 0 0x123d 32 call(0x1050) 0x1242 33 rdi = rsp + 0xf0 {var_29c8} 0x124a 34 eax = 0 0x124c 35 call(0x1050) 0x1251 36 rdi = rsp + 0x160 {var_2958} 0x1259 37 eax = 0 0x125b 38 call(0x1050) 0x1260 39 rdi = rbx {var_2aa8} 0x1263 40 call(0x1030) 0x1268 41 [rsp + 0x1d0 {var_28e8}].d = -1 0x1275 42 if (eax s<= 0) then 43 @ 0x12af else 45 @ 0x1277 0x12af 43 ebp = 1 0x12af 44 goto 49 @ 0x12b4 0x1277 45 ecx = eax 0x1279 46 ebp = 1 0x127e 47 edx = 0 0x1280 48 goto 53 @ 0x129e 0x12b4 49 r13 = sx.q(ebp) 0x12b7 50 [rsp + (r13 << 2) + 0x1d0].d = eax 0x12bf 51 [rsp + 0xe {var_2aaa}].w = 0x20 {"@"} 0x12c9 52 if (r13d s<= 0) then 54 @ 0x13c2 else 65 @ 0x12cf 0x129e 53 if ([rsp + rdx + 0x10].b != 0x20) then 70 @ 0x1290 else 72 @ 0x12a0 0x13c2 54 rdi = rsp + 0x370 {var_2748} 0x13ca 55 eax = 0 0x13cc 56 call(0x1070) 0x13d1 57 rsp = rsp + 0x2a88 0x13d8 58 rbx = pop 0x13d9 59 r12 = pop 0x13db 60 r13 = pop 0x13dd 61 r14 = pop 0x13df 62 r15 = pop 0x13e1 63 rbp = pop 0x13e2 64 <return> jump(pop) 0x12cf 65 ebp = ebp + 1 0x12d2 66 r14d = 1 0x12d8 67 r15 = rsp + 0x80 {var_2a38} 0x12e0 68 r12 = rsp + 0x370 {var_2748} 0x12e8 69 goto 76 @ 0x12fd 0x1290 70 rdx = rdx + 1 0x1297 71 if (rcx == rdx) then 49 @ 0x12b4 else 53 @ 0x129e 0x12a0 72 rbp = sx.q(ebp) 0x12a3 73 [rsp + (rbp << 2) + 0x1d0].d = edx 0x12aa 74 ebp = ebp + 1 0x12ad 75 goto 70 @ 0x1290 0x12fd 76 xmm0 = 0 0x1300 77 [rsp + 0xd0 {var_29e8_1}].o = xmm0 0x1308 78 [rsp + 0xc0 {var_29f8_1}].o = xmm0 0x1310 79 [rsp + 0xb0 {var_2a08_1}].o = xmm0 0x1318 80 [rsp + 0xa0 {var_2a18_1}].o = xmm0 0x1320 81 [rsp + 0x90 {var_2a28_1}].o = xmm0 0x1328 82 [rsp + 0x80 {var_2a38}].o = xmm0 0x1330 83 [rsp + 0xdd {var_29e8_1+0xd}].q = 0 0x133c 84 eax = [rsp + (r14 << 2) + 0x1cc].d 0x1344 85 ecx = [rsp + (r14 << 2) + 0x1d0].d 0x134c 86 edx = ecx 0x134e 87 edx = edx - eax 0x1350 88 temp0.d = edx 0x1350 89 edx = edx - 2 0x1353 90 if (temp0.d - 2 s< 0) then 91 @ 0x137e else 98 @ 0x1355 0x137e 91 rdi = rsp + 0xf0 {var_29c8} 0x1386 92 rsi = r15 {var_2a38} 0x1389 93 call(0x1060) 0x138e 94 cond:0 = eax == 0 0x1390 95 rsi = r15 {var_2a38} 0x1393 96 rax = rsp + 0x160 {var_2958} 0x139b 97 if (cond:0) then 104 else 106 @ 0x139f 0x1355 98 edx = eax 0x1357 99 edx = not.d(edx) 0x1359 100 ecx = ecx + edx 0x135b 101 eax = eax + 1 0x135e 102 edx = 0 0x135e 103 goto 109 @ 0x1360 0x139b 104 rsi = rax {var_2958} 0x139b 105 goto 106 @ 0x139f 0x139f 106 rdi = r12 {var_2748} 0x13a2 107 call(0x1040) 0x13aa 108 if (r14 s>= r13) then 116 @ 0x12f0 else 118 @ 0x13b0 0x1360 109 esi = (rax + rdx).d 0x1363 110 rsi = sx.q(esi) 0x1366 111 ebx = zx.d([rsp + rsi + 0x10].b) 0x136b 112 [rsp + rdx + 0x80].b = bl 0x1372 113 rsi = rdx + 1 0x1376 114 rdx = rsi 0x137c 115 if (rcx != rsi) then 109 @ 0x1360 else 91 @ 0x137e 0x12f0 116 r14 = r14 + 1 0x12f7 117 if (r14 == rbp) then 54 @ 0x13c2 else 76 @ 0x12fd 0x13b0 118 rdi = r12 {var_2748} 0x13b3 119 rsi = rsp + 0xe {var_2aaa} 0x13b8 120 call(0x1040) 0x13bd 121 goto 116 @ 0x12f0 int64_t _fini(): 0x13e8 0 rsp = rsp - 8 0x13ec 1 rsp = rsp + 8 0x13f0 2 <return> jump(pop)
POJ_19
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVAUATSH@IL="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r13) 0x1156 3 push(r12) 0x1158 4 push(rbx) 0x1159 5 rsp = rsp - 0x40 0x115d 6 r12 = rsp {var_68} 0x1160 7 r15 = 0x2004 {"%d"} 0x1167 8 r14 = 0x2007 {"%d\n"} 0x1167 9 goto 10 @ 0x116e 0x116e 10 xmm0 = 0 0x1171 11 [rsp + 0x30 {var_38_1}].o = xmm0 0x1176 12 [rsp + 0x20 {var_48_1}].o = xmm0 0x117b 13 [rsp + 0x10 {var_58_1}].o = xmm0 0x1180 14 [rsp {var_68}].o = xmm0 0x1184 15 rbx = r12 {var_68} 0x1187 16 r13d = 0 0x118a 17 goto 18 @ 0x1190 0x1190 18 rdi = r15 0x1193 19 rsi = rbx 0x1196 20 eax = 0 0x1198 21 call(0x1040) 0x119d 22 eax = [rbx].d 0x11a1 23 if (eax == 0) then 24 @ 0x1200 else 26 @ 0x11a6 0x1200 24 r13d = neg.d(r13d) 0x1206 25 if (r13d != 0) then 27 @ 0x11c1 else 31 @ 0x1208 0x11a6 26 if (eax == -1) then 33 @ 0x1219 else 41 @ 0x11a8 0x11c1 27 eax = r13d 0x11c4 28 ecx = 0 0x11c6 29 esi = 0 0x11c8 30 goto 44 @ 0x11d0 0x1208 31 esi = 0 0x1208 32 goto 48 @ 0x120a 0x1219 33 eax = 0 0x121b 34 rsp = rsp + 0x40 0x121f 35 rbx = pop 0x1220 36 r12 = pop 0x1222 37 r13 = pop 0x1224 38 r14 = pop 0x1226 39 r15 = pop 0x1228 40 <return> jump(pop) 0x11a8 41 r13 = r13 - 1 0x11ac 42 rbx = rbx + 4 0x11b4 43 if (r13 != -0x10) then 18 @ 0x1190 else 52 @ 0x11b6 0x11d0 44 edx = [rsp + (rcx << 2)].d 0x11d3 45 edx = edx + edx 0x11d5 46 edi = 0 0x11d7 47 goto 54 @ 0x11e0 0x120a 48 rdi = r14 0x120d 49 eax = 0 0x120f 50 call(0x1030) 0x1214 51 goto 10 @ 0x116e 0x11b6 52 r13d = 0x10 {""} 0x11bf 53 if (r13d == 0) then 31 @ 0x1208 else 27 @ 0x11c1 0x11e0 54 ebx = 0 0x11e5 55 bl = [rsp + (rdi << 2)].d == edx 0x11e8 56 esi = esi + ebx 0x11ea 57 rdi = rdi + 1 0x11f1 58 if (rax != rdi) then 54 @ 0x11e0 else 59 @ 0x11f3 0x11f3 59 rcx = rcx + 1 0x11fa 60 if (rcx != rax) then 44 @ 0x11d0 else 61 @ 0x11fc 0x11fc 61 goto 48 @ 0x120a int64_t _fini(): 0x1230 0 rsp = rsp - 8 0x1234 1 rsp = rsp + 8 0x1238 2 <return> jump(pop)
POJ_12
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) int32_t putchar(int32_t c): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"AWAVAUATSH"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(r15) 0x1182 1 push(r14) 0x1184 2 push(r13) 0x1186 3 push(r12) 0x1188 4 push(rbx) 0x1189 5 rsp = rsp - 0x300 0x1190 6 rbx = rsp {var_328} 0x1193 7 rdi = rbx {var_328} 0x1196 8 eax = 0 0x1198 9 call(0x1050) 0x119d 10 r14 = rsp + 0x200 {var_128} 0x11a5 11 rdi = r14 {var_128} 0x11a8 12 eax = 0 0x11aa 13 call(0x1050) 0x11af 14 rdi = rsp + 0x100 {var_228} 0x11b7 15 eax = 0 0x11b9 16 call(0x1050) 0x11be 17 rdi = rbx {var_328} 0x11c1 18 call(0x1040) 0x11c6 19 r15 = rax 0x11c9 20 rdi = r14 {var_128} 0x11cc 21 call(0x1040) 0x11d4 22 if (r15d s<= 0) then 23 @ 0x121c else 27 @ 0x11d6 0x121c 23 rdi = rsp {var_328} 0x121f 24 eax = 0 0x1221 25 call(0x1060) 0x1221 26 goto 30 @ 0x1226 0x11d6 27 r14 = rax 0x11d9 28 r10d = r15d 0x11e0 29 if (r14d != 1) then 38 @ 0x1239 else 45 @ 0x11e2 0x1226 30 eax = 0 0x1228 31 rsp = rsp + 0x300 0x122f 32 rbx = pop 0x1230 33 r12 = pop 0x1232 34 r13 = pop 0x1234 35 r14 = pop 0x1236 36 r15 = pop 0x1238 37 <return> jump(pop) 0x1239 38 r9d = (r14 - 1).d 0x123d 39 r8d = 1 0x1243 40 r8d = r8d - r14d 0x1246 41 edx = 0 0x1248 42 ecx = 0 0x124a 43 edi = 0 0x124c 44 goto 49 @ 0x1269 0x11e2 45 cl = [rsp + 0x200 {var_128}].b 0x11e9 46 r10 = neg.q(r10) 0x11ec 47 ebx = 1 0x11fb 48 goto 53 @ 0x1204 0x1269 49 rax = sx.q(edi) 0x126c 50 r11d = zx.d([rsp + rax + 0x200].b) 0x1275 51 eax = zx.d([rsp + rdx].b) 0x127b 52 if (ecx == 0) then 54 @ 0x1250 else 59 @ 0x127d 0x1204 53 if (cl == [rsp + rbx - 1].b) then 62 @ 0x129d else 63 @ 0x120a 0x1250 54 ebx = 0 0x1255 55 bl = r11b == al 0x1258 56 edi = edi + ebx 0x125a 57 esi = edi 0x125a 58 goto 67 @ 0x125c 0x127d 59 esi = 0 0x127f 60 ebx = 0 0x1287 61 if (r11b != al) then 67 @ 0x125c else 71 @ 0x128c 0x129d 62 if (ebx == 1) then 72 @ 0x12c3 else 77 @ 0x129f 0x120a 63 rax = r10 + rbx 0x120e 64 rax = rax + 1 0x1212 65 rbx = rbx + 1 0x121a 66 if (rax != 1) then 53 @ 0x1204 else 23 @ 0x121c 0x125c 67 rdx = rdx + 1 0x1260 68 ecx = ebx 0x1262 69 edi = esi 0x1267 70 if (r10 == rdx) then 23 @ 0x121c else 49 @ 0x1269 0x128c 71 if (edi == r9d) then 80 @ 0x1307 else 83 @ 0x128e 0x12c3 72 rdi = 0x2004 {"%s"} 0x12ca 73 rsi = rsp + 0x100 {var_228} 0x12d2 74 eax = 0 0x12d4 75 call(0x1030) 0x12dc 76 if (ebx s>= r15d) then 30 @ 0x1226 else 88 @ 0x12ec 0x129f 77 r14 = rbx - 1 0x12a3 78 r12d = 0 0x12a6 79 goto 89 @ 0x12b0 0x1307 80 r12d = r8d 0x130a 81 r12 = r12 + rdx 0x1310 82 if (r12d s<= 0) then 93 @ 0x1334 else 95 @ 0x1312 0x128e 83 ecx = ecx + 1 0x1291 84 edi = edi + 1 0x1294 85 esi = edi 0x1296 86 ebx = ecx 0x1298 87 goto 67 @ 0x125c 0x12ec 88 goto 98 @ 0x12f0 0x12b0 89 edi = sx.d([rsp + r12].b) 0x12b5 90 call(0x1070) 0x12ba 91 r12 = r12 + 1 0x12c1 92 if (r14 != r12) then 89 @ 0x12b0 else 72 @ 0x12c3 0x1334 93 r12d = 0 0x1334 94 goto 102 @ 0x1337 0x1312 95 r13d = r12d 0x1315 96 ebx = 0 0x1317 97 goto 108 @ 0x1320 0x12f0 98 edi = sx.d([rsp + rbx].b) 0x12f4 99 call(0x1070) 0x12f9 100 rbx = rbx + 1 0x1300 101 if (ebx s< r15d) then 98 @ 0x12f0 else 112 @ 0x1302 0x1337 102 rdi = 0x2004 {"%s"} 0x133e 103 rsi = rsp + 0x100 {var_228} 0x1346 104 eax = 0 0x1348 105 call(0x1030) 0x134d 106 r12d = r12d + r14d 0x1353 107 if (r12d s>= r15d) then 113 @ 0x1372 else 116 @ 0x1355 0x1320 108 edi = sx.d([rsp + rbx].b) 0x1324 109 call(0x1070) 0x1329 110 rbx = rbx + 1 0x1330 111 if (r13 != rbx) then 108 @ 0x1320 else 119 @ 0x1332 0x1302 112 goto 30 @ 0x1226 0x1372 113 edi = 0xa {""} 0x1377 114 call(0x1070) 0x137c 115 goto 30 @ 0x1226 0x1355 116 rbx = sx.q(r12d) 0x1358 117 r14 = sx.q(r15d) 0x135b 118 goto 120 @ 0x1360 0x1332 119 goto 102 @ 0x1337 0x1360 120 edi = sx.d([rsp + rbx].b) 0x1364 121 call(0x1070) 0x1369 122 rbx = rbx + 1 0x1370 123 if (rbx s< r14) then 120 @ 0x1360 else 113 @ 0x1372 int64_t _fini(): 0x1388 0 rsp = rsp - 8 0x138c 1 rsp = rsp + 8 0x1390 2 <return> jump(pop)
POJ_7
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 char* gets(char* buf): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t putchar(int32_t c): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"SH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0x3f0 0x1158 2 rdi = rsp {var_3f8} 0x115b 3 eax = 0 0x115d 4 call(0x1030) 0x1162 5 rbx = rsp + 1 {var_3f7} 0x1167 6 goto 7 @ 0x117e 0x117e 7 edi = sx.d([rbx - 1].b) 0x1185 8 if (edi != 0x20) then 9 @ 0x1173 else 10 @ 0x1187 0x1173 9 if (dil == 0) then 12 @ 0x1193 else 15 @ 0x1175 0x1187 10 edi = 0x20 {"@"} 0x118f 11 if ([rbx].b != 0x20) then 15 @ 0x1175 else 17 @ 0x1191 0x1193 12 rsp = rsp + 0x3f0 0x119a 13 rbx = pop 0x119b 14 <return> jump(pop) 0x1175 15 call(0x1040) 0x1175 16 goto 18 @ 0x117a 0x1191 17 goto 18 @ 0x117a 0x117a 18 rbx = rbx + 1 0x117a 19 goto 7 @ 0x117e int64_t _fini(): 0x11a0 0 rsp = rsp - 8 0x11a4 1 rsp = rsp + 8 0x11a8 2 <return> jump(pop)
POJ_62
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AVSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r14) 0x1162 1 push(rbx) 0x1163 2 rsp = rsp - 0xc8 0x116a 3 rdi = 0x2004 {"%d %s %d"} 0x1171 4 rsi = rsp + 0xc {var_cc} 0x1176 5 rbx = rsp + 0x90 {var_48} 0x117e 6 rcx = rsp + 8 {var_d0} 0x1183 7 rdx = rbx {var_48} 0x1186 8 eax = 0 0x1188 9 call(0x1040) 0x118d 10 rdi = rbx {var_48} 0x1190 11 call(0x1030) 0x1198 12 if (rax == 0) then 13 @ 0x1252 else 16 @ 0x119e 0x1252 13 edi = 0x30 {""} 0x1257 14 call(0x1050) 0x125c 15 goto 21 @ 0x1333 0x119e 16 r8 = rax 0x11a1 17 r9 = sx.q([rsp + 0xc {var_cc}].d) 0x11a6 18 esi = 0 0x11a8 19 eax = 0 0x11aa 20 goto 25 @ 0x11b0 0x1333 21 rsp = rsp + 0xc8 0x133a 22 rbx = pop 0x133b 23 r14 = pop 0x133d 24 <return> jump(pop) 0x11b0 25 rdi = sx.q([rsp + rsi + 0x90].b) 0x11b9 26 ebx = (rdi - 0x30).d 0x11bc 27 rcx = rax 0x11bf 28 rcx = rcx * r9 0x11c3 29 cond:0 = bl u>= 0xa 0x11c6 30 rbx = rdi + rcx - 0x30 0x11cb 31 if (cond:0) then 32 else 34 @ 0x11cf 0x11cb 32 rbx = rax 0x11cb 33 goto 34 @ 0x11cf 0x11cf 34 eax = (rdi - 0x41).d 0x11d2 35 rcx = rbx 0x11d5 36 rcx = rcx * r9 0x11d9 37 cond:1 = al u>= 0x1a 0x11db 38 rdx = rdi + rcx - 0x37 0x11e0 39 if (cond:1) then 40 else 42 @ 0x11e4 0x11e0 40 rdx = rbx 0x11e0 41 goto 42 @ 0x11e4 0x11e4 42 eax = (rdi - 0x61).d 0x11e7 43 rcx = rdx 0x11ea 44 rcx = rcx * r9 0x11ee 45 cond:2 = al u>= 0x1a 0x11f0 46 rax = rdi + rcx - 0x57 0x11f5 47 if (cond:2) then 48 else 50 @ 0x11f9 0x11f5 48 rax = rdx 0x11f5 49 goto 50 @ 0x11f9 0x11f9 50 rsi = rsi + 1 0x1200 51 if (r8 != rsi) then 25 @ 0x11b0 else 52 @ 0x1202 0x1202 52 temp3.q = rax 0x1202 53 cond:3 = temp3.q s<= 0 0x1205 54 if (temp3.q == 0) then 13 @ 0x1252 else 55 @ 0x1207 0x1207 55 if (cond:3) then 21 @ 0x1333 else 56 @ 0x120d 0x120d 56 rsi = sx.q([rsp + 8 {var_d0}].d) 0x1212 57 ecx = 0 0x1214 58 edi = 0x30 {""} 0x1219 59 goto 60 @ 0x123f 0x123f 60 rdx = rax 0x1242 61 rdx = rdx | rsi 0x1245 62 rdx = rdx u>> 0x20 0x1249 63 if (rdx == 0) then 64 @ 0x1220 else 75 @ 0x124b 0x1220 64 edx = 0 0x1222 65 temp2.d = esi 0x1222 66 temp4.d = edx 0x1222 67 temp5.d = eax 0x1222 68 temp0.d = divu.dp.d(temp4.d:temp5.d, temp2.d) 0x1222 69 temp6.d = edx 0x1222 70 temp7.d = eax 0x1222 71 temp1.d = modu.dp.d(temp6.d:temp7.d, temp2.d) 0x1222 72 eax = temp0.d 0x1222 73 edx = temp1.d 0x1222 74 goto 81 @ 0x1224 0x124b 75 rdx:rax = sx.o(rax) 0x124d 76 temp0.q = divs.dp.q(rdx:rax, rsi) 0x124d 77 temp1.q = mods.dp.q(rdx:rax, rsi) 0x124d 78 rax = temp0.q 0x124d 79 rdx = temp1.q 0x1250 80 goto 81 @ 0x1224 0x1224 81 cond:4 = rdx u< 0xa 0x1228 82 ebx = 0x37 {""} 0x122d 83 if (cond:4) then 84 else 86 @ 0x1230 0x122d 84 ebx = edi 0x122d 85 goto 86 @ 0x1230 0x1230 86 bl = bl + dl 0x1232 87 [rsp + rcx + 0x50].b = bl 0x1236 88 rcx = rcx + 1 0x123d 89 if (rax s<= 0) then 90 @ 0x1263 else 60 @ 0x123f 0x1263 90 if (ecx s<= 0) then 21 @ 0x1333 else 91 @ 0x1269 0x1269 91 r8d = ecx 0x1270 92 if (r8 u>= 8) then 93 @ 0x133e else 97 @ 0x1276 0x133e 93 rdx = r8 - 1 0x1342 94 esi = (rcx - 1).d 0x1345 95 eax = 0 0x1349 96 if (esi u< edx) then 99 @ 0x1278 else 101 @ 0x134f 0x1276 97 eax = 0 0x1276 98 goto 99 @ 0x1278 0x1278 99 r10 = r8 0x1278 100 goto 105 @ 0x127b 0x134f 101 rdx = rdx u>> 0x20 0x134f 102 cond:5 = rdx != 0 0x1353 103 r10 = r8 0x1356 104 if (cond:5) then 105 @ 0x127b else 111 @ 0x1360 0x127b 105 esi = ecx 0x127d 106 esi = esi - eax 0x127f 107 rdi = rax 0x1282 108 rdi = not.q(rdi) 0x1285 109 r8 = r8 + rdi 0x128c 110 if ((sil & 3) == 0) then 112 @ 0x12be else 113 @ 0x128e 0x1360 111 if (r8d u>= 0x20) then 118 @ 0x1369 else 128 @ 0x1362 0x12be 112 if (r8 u< 3) then 130 @ 0x1310 else 133 @ 0x12c0 0x128e 113 ebx = ecx 0x1290 114 bl = bl - al 0x1292 115 esi = zx.d(bl) 0x1295 116 esi = esi & 3 0x1298 117 goto 136 @ 0x12a0 0x1369 118 rdi = rcx - 1 0x136d 119 r9d = ecx 0x1370 120 r10d = ecx 0x1373 121 r10d = r10d & 0x1f 0x1377 122 rax = r8 0x137a 123 rax = rax - r10 0x137d 124 r9 = r9 - r10 0x1380 125 esi = 0 0x1382 126 xmm0 = 0 0x1386 127 goto 144 @ 0x1390 0x1362 128 eax = 0 0x1364 129 goto 172 @ 0x142a 0x1310 130 r14d = ecx 0x1313 131 ebx = 0 0x131f 132 goto 184 @ 0x1320 0x12c0 133 r8d = 0xfffffffe {""} 0x12c6 134 edi = ecx 0x12c8 135 goto 188 @ 0x12d0 0x12a0 136 r10 = r10 - 1 0x12a4 137 edi = r10d 0x12a7 138 ebx = zx.d([rsp + rdi + 0x50].b) 0x12ac 139 [rsp + rax + 0x10].b = bl 0x12b0 140 rax = rax + 1 0x12b4 141 temp8.q = rsi 0x12b4 142 rsi = rsi - 1 0x12b8 143 if (temp8.q != 1) then 136 @ 0x12a0 else 112 @ 0x12be 0x1390 144 ebx = edi 0x1392 145 xmm1 = [rsp + rbx + 0x31].o 0x1398 146 xmm2 = [rsp + rbx + 0x41].o 0x139e 147 xmm3 = xmm2 0x13a2 148 xmm3 = _mm_unpacklo_epi8(xmm3, xmm0.q) 0x13a6 149 xmm3 = _mm_shuffle_epi32(xmm3, 0x4e) 0x13ab 150 xmm3 = _mm_shufflelo_epi16(xmm3, 0x1b) 0x13b0 151 xmm3 = _mm_shufflehi_epi16(xmm3, 0x1b) 0x13b5 152 xmm2 = _mm_unpackhi_epi8(xmm2, xmm0.q) 0x13b9 153 xmm2 = _mm_shuffle_epi32(xmm2, 0x4e) 0x13be 154 xmm2 = _mm_shufflelo_epi16(xmm2, 0x1b) 0x13c3 155 xmm2 = _mm_shufflehi_epi16(xmm2, 0x1b) 0x13c8 156 xmm2 = _mm_packus_epi16(xmm2, xmm3) 0x13cc 157 xmm3 = xmm1 0x13d0 158 xmm3 = _mm_unpacklo_epi8(xmm3, xmm0.q) 0x13d4 159 xmm3 = _mm_shuffle_epi32(xmm3, 0x4e) 0x13d9 160 xmm3 = _mm_shufflelo_epi16(xmm3, 0x1b) 0x13de 161 xmm3 = _mm_shufflehi_epi16(xmm3, 0x1b) 0x13e3 162 xmm1 = _mm_unpackhi_epi8(xmm1, xmm0.q) 0x13e7 163 xmm1 = _mm_shuffle_epi32(xmm1, 0x4e) 0x13ec 164 xmm1 = _mm_shufflelo_epi16(xmm1, 0x1b) 0x13f1 165 xmm1 = _mm_shufflehi_epi16(xmm1, 0x1b) 0x13f6 166 xmm1 = _mm_packus_epi16(xmm1, xmm3) 0x13fa 167 [rsp + rsi + 0x10].o = xmm2 0x1400 168 [rsp + rsi + 0x20].o = xmm1 0x1406 169 rsi = rsi + 0x20 0x140a 170 rdi = rdi - 0x20 0x1411 171 if (r9 != rsi) then 144 @ 0x1390 else 204 @ 0x141a 0x142a 172 rbx = rax 0x142d 173 r9d = ecx 0x1430 174 r10d = ecx 0x1433 175 r10d = r10d & 7 0x1437 176 rax = r8 0x143a 177 rax = rax - r10 0x143d 178 rsi = rbx 0x1440 179 rsi = not.q(rsi) 0x1443 180 rsi = rsi + rcx 0x1446 181 r9 = r9 - r10 0x1449 182 xmm0 = 0 0x144d 183 goto 205 @ 0x1450 0x1320 184 edi = sx.d([rsp + rbx + 0x10].b) 0x1325 185 call(0x1050) 0x132a 186 rbx = rbx + 1 0x1331 187 if (r14 != rbx) then 184 @ 0x1320 else 21 @ 0x1333 0x12d0 188 rbx = r10 + r8 0x12d4 189 esi = (rbx + 1).d 0x12d7 190 edx = zx.d([rsp + rsi + 0x50].b) 0x12dc 191 [rsp + rax + 0x10].b = dl 0x12e0 192 edx = ebx 0x12e2 193 edx = zx.d([rsp + rdx + 0x50].b) 0x12e7 194 [rsp + rax + 0x11].b = dl 0x12eb 195 ebx = ebx - 1 0x12ee 196 edx = zx.d([rsp + rbx + 0x50].b) 0x12f3 197 [rsp + rax + 0x12].b = dl 0x12f7 198 r10 = r10 - 4 0x12fb 199 edx = r10d 0x12fe 200 edx = zx.d([rsp + rdx + 0x50].b) 0x1303 201 [rsp + rax + 0x13].b = dl 0x1307 202 rax = rax + 4 0x130e 203 if (rdi != rax) then 188 @ 0x12d0 else 130 @ 0x1310 0x141a 204 if (r10 == 0) then 130 @ 0x1310 else 216 @ 0x1424 0x1450 205 edi = esi 0x1452 206 xmm1 = [rsp + rdi + 0x49].q 0x1458 207 xmm1 = _mm_unpacklo_epi8(xmm1, xmm0.q) 0x145c 208 xmm1 = _mm_shuffle_epi32(xmm1, 0x4e) 0x1461 209 xmm1 = _mm_shufflelo_epi16(xmm1, 0x1b) 0x1466 210 xmm1 = _mm_shufflehi_epi16(xmm1, 0x1b) 0x146b 211 xmm1 = _mm_packus_epi16(xmm1, xmm1) 0x146f 212 [rsp + rbx + 0x10].q = xmm1.q 0x1475 213 rbx = rbx + 8 0x1479 214 rsi = rsi - 8 0x1480 215 if (r9 != rbx) then 205 @ 0x1450 else 217 @ 0x1485 0x1424 216 if (r10d u< 8) then 105 @ 0x127b else 172 @ 0x142a 0x1485 217 if (r10 != 0) then 105 @ 0x127b else 218 @ 0x148b 0x148b 218 goto 130 @ 0x1310 int64_t _fini(): 0x1494 0 rsp = rsp - 8 0x1498 1 rsp = rsp + 8 0x149c 2 <return> jump(pop)
POJ_55
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x1d0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x1ac {var_1b4}].d = 0 0x116c 5 [rbp - 0x1bc {var_1c4}].d = 0 0x1176 6 [rbp - 0x1c8 {var_1d0}].d = 0 0x1180 7 [rbp - 0x1cc {var_1d4}].d = 0 0x118a 8 rdi = 0x2004 {"%d,%d"} 0x1191 9 rsi = rbp - 0x1b4 {var_1bc} 0x1198 10 rdx = rbp - 0x1b8 {var_1c0} 0x119f 11 al = 0 0x11a1 12 call(0x1040) 0x11a6 13 [rbp - 0x1a4 {var_1ac}].d = 0 0x11a6 14 goto 15 @ 0x11b0 0x11b0 15 eax = [rbp - 0x1a4 {var_1ac}].d 0x11bc 16 if (eax s>= [rbp - 0x1b4 {var_1bc}].d) then 17 @ 0x123c else 19 @ 0x11c2 0x123c 17 [rbp - 0x1a4 {var_1ac_1}].d = 0 0x123c 18 goto 21 @ 0x1246 0x11c2 19 [rbp - 0x1a8 {var_1b0_1}].d = 0 0x11c2 20 goto 23 @ 0x11cc 0x1246 21 eax = [rbp - 0x1a4 {var_1ac_1}].d 0x1252 22 if (eax s>= [rbp - 0x1b4 {var_1bc}].d) then 25 @ 0x13f0 else 26 @ 0x1258 0x11cc 23 eax = [rbp - 0x1a8 {var_1b0_1}].d 0x11d8 24 if (eax s>= [rbp - 0x1b8 {var_1c0}].d) then 28 @ 0x1223 else 29 @ 0x11de 0x13f0 25 if ([rbp - 0x1cc {var_1d4}].d != -1) then 43 @ 0x1404 else 47 @ 0x13f6 0x1258 26 [rbp - 0x1a8 {var_1b0_2}].d = 0 0x1258 27 goto 51 @ 0x1262 0x1223 28 goto 53 @ 0x1228 0x11de 29 rax = sx.q([rbp - 0x1a4 {var_1ac}].d) 0x11e5 30 rsi = rbp - 0x1a0 {var_1a8} 0x11ec 31 rax = rax * 0x28 0x11f0 32 rsi = rsi + rax 0x11f3 33 rax = sx.q([rbp - 0x1a8 {var_1b0_1}].d) 0x11fa 34 rax = rax << 2 0x11fe 35 rsi = rsi + rax 0x1201 36 rdi = 0x200d {"%d"} 0x1208 37 al = 0 0x120a 38 call(0x1040) 0x120f 39 eax = [rbp - 0x1a8 {var_1b0_1}].d 0x1215 40 eax = eax + 1 0x1218 41 [rbp - 0x1a8 {var_1b0_1}].d = eax 0x121e 42 goto 23 @ 0x11cc 0x1404 43 eax = 0 0x1406 44 rsp = rsp + 0x1d0 0x140d 45 rbp = pop 0x140e 46 <return> jump(pop) 0x13f6 47 rdi = 0x2010 {"No"} 0x13fd 48 al = 0 0x13ff 49 call(0x1030) 0x13ff 50 goto 43 @ 0x1404 0x1262 51 eax = [rbp - 0x1a8 {var_1b0_2}].d 0x126e 52 if (eax s>= [rbp - 0x1b8 {var_1c0}].d) then 57 @ 0x12f5 else 62 @ 0x1274 0x1228 53 eax = [rbp - 0x1a4 {var_1ac}].d 0x122e 54 eax = eax + 1 0x1231 55 [rbp - 0x1a4 {var_1ac}].d = eax 0x1237 56 goto 15 @ 0x11b0 0x12f5 57 rax = sx.q([rbp - 0x1c4 {var_1cc}].d) 0x12fc 58 eax = [rbp + (rax << 2) - 0x1a0].d 0x1303 59 [rbp - 0x1b0 {var_1b8_1}].d = eax 0x1309 60 [rbp - 0x1ac {var_1b4_1}].d = 1 0x1309 61 goto 69 @ 0x1313 0x1274 62 rcx = sx.q([rbp - 0x1a4 {var_1ac_1}].d) 0x127b 63 rax = rbp - 0x1a0 {var_1a8} 0x1282 64 rcx = rcx * 0x28 0x1286 65 rax = rax + rcx 0x1289 66 rcx = sx.q([rbp - 0x1a8 {var_1b0_2}].d) 0x1290 67 eax = [rax + (rcx << 2)].d 0x1299 68 if (eax s<= [rbp - 0x1bc {var_1c4}].d) then 71 @ 0x12dc else 72 @ 0x129f 0x1313 69 eax = [rbp - 0x1ac {var_1b4_1}].d 0x131f 70 if (eax s>= [rbp - 0x1b4 {var_1bc}].d) then 84 @ 0x139a else 86 @ 0x1325 0x12dc 71 goto 93 @ 0x12e1 0x129f 72 rcx = sx.q([rbp - 0x1a4 {var_1ac_1}].d) 0x12a6 73 rax = rbp - 0x1a0 {var_1a8} 0x12ad 74 rcx = rcx * 0x28 0x12b1 75 rax = rax + rcx 0x12b4 76 rcx = sx.q([rbp - 0x1a8 {var_1b0_2}].d) 0x12bb 77 eax = [rax + (rcx << 2)].d 0x12be 78 [rbp - 0x1bc {var_1c4}].d = eax 0x12c4 79 eax = [rbp - 0x1a4 {var_1ac_1}].d 0x12ca 80 [rbp - 0x1c0 {var_1c8}].d = eax 0x12d0 81 eax = [rbp - 0x1a8 {var_1b0_2}].d 0x12d6 82 [rbp - 0x1c4 {var_1cc}].d = eax 0x12d6 83 goto 71 @ 0x12dc 0x139a 84 eax = [rbp - 0x1c8 {var_1d0}].d 0x13a6 85 if (eax != [rbp - 0x1c0 {var_1c8}].d) then 97 @ 0x13cb else 102 @ 0x13ac 0x1325 86 rcx = sx.q([rbp - 0x1ac {var_1b4_1}].d) 0x132c 87 rax = rbp - 0x1a0 {var_1a8} 0x1333 88 rcx = rcx * 0x28 0x1337 89 rax = rax + rcx 0x133a 90 rcx = sx.q([rbp - 0x1c4 {var_1cc}].d) 0x1341 91 eax = [rax + (rcx << 2)].d 0x134a 92 if (eax s>= [rbp - 0x1b0 {var_1b8_1}].d) then 108 @ 0x1381 else 109 @ 0x1350 0x12e1 93 eax = [rbp - 0x1a8 {var_1b0_2}].d 0x12e7 94 eax = eax + 1 0x12ea 95 [rbp - 0x1a8 {var_1b0_2}].d = eax 0x12f0 96 goto 51 @ 0x1262 0x13cb 97 [rbp - 0x1cc {var_1d4}].d = -1 0x13d5 98 eax = [rbp - 0x1a4 {var_1ac_1}].d 0x13db 99 eax = eax + 1 0x13de 100 [rbp - 0x1a4 {var_1ac_1}].d = eax 0x13e4 101 goto 21 @ 0x1246 0x13ac 102 esi = [rbp - 0x1c0 {var_1c8}].d 0x13b2 103 edx = [rbp - 0x1c4 {var_1cc}].d 0x13b8 104 rdi = 0x200a {"%d+%d"} 0x13bf 105 al = 0 0x13c1 106 call(0x1030) 0x13c6 107 goto 25 @ 0x13f0 0x1381 108 goto 119 @ 0x1386 0x1350 109 rcx = sx.q([rbp - 0x1ac {var_1b4_1}].d) 0x1357 110 rax = rbp - 0x1a0 {var_1a8} 0x135e 111 rcx = rcx * 0x28 0x1362 112 rax = rax + rcx 0x1365 113 rcx = sx.q([rbp - 0x1c4 {var_1cc}].d) 0x136c 114 eax = [rax + (rcx << 2)].d 0x136f 115 [rbp - 0x1b0 {var_1b8_1}].d = eax 0x1375 116 eax = [rbp - 0x1ac {var_1b4_1}].d 0x137b 117 [rbp - 0x1c8 {var_1d0}].d = eax 0x137b 118 goto 108 @ 0x1381 0x1386 119 eax = [rbp - 0x1ac {var_1b4_1}].d 0x138c 120 eax = eax + 1 0x138f 121 [rbp - 0x1ac {var_1b4_1}].d = eax 0x1395 122 goto 69 @ 0x1313 int64_t _fini(): 0x1414 0 rsp = rsp - 8 0x1418 1 rsp = rsp + 8 0x141c 2 <return> jump(pop)
POJ_35
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"AWAVATSH:"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(r15) 0x1172 1 push(r14) 0x1174 2 push(r12) 0x1176 3 push(rbx) 0x1177 4 rsp = rsp - 0x3aa8 0x117e 5 rbx = rsp + 0x10 {var_3ab8} 0x1183 6 edx = 0x3a98 {""} 0x1188 7 rdi = rbx {var_3ab8} 0x118b 8 esi = 0 0x118d 9 call(0x1040) 0x1192 10 [rsp + 0x10 {var_3ab8}].b = 0x30 {""} 0x1197 11 r14 = 0x2004 {"%s"} 0x119e 12 r15 = 0x2007 {"%c"} 0x11a5 13 r12 = rsp + 0xf {var_3ab9} 0x11aa 14 goto 15 @ 0x11b0 0x11b0 15 rdi = r14 0x11b3 16 rsi = rbx 0x11b6 17 eax = 0 0x11b8 18 call(0x1060) 0x11bd 19 rdi = r15 0x11c0 20 rsi = r12 {var_3ab9} 0x11c3 21 eax = 0 0x11c5 22 call(0x1060) 0x11ca 23 rbx = rbx + 0x32 0x11d3 24 if ([rsp + 0xf {var_3ab9}].b != 0xa) then 15 @ 0x11b0 else 25 @ 0x11d5 0x11d5 25 rdi = rsp + 0x10 {var_3ab8} 0x11da 26 call(0x1050) 0x11df 27 rdi = 0x200b {"%d"} 0x11e6 28 rsi = rax 0x11e9 29 eax = 0 0x11eb 30 call(0x1030) 0x11f0 31 ebx = 0x32 {""} 0x11f5 32 r14 = 0x200a {",%d"} 0x11fc 33 goto 34 @ 0x1200 0x1200 34 rdi = rsp + rbx 0x1204 35 rdi = rdi + 0x10 0x1208 36 call(0x1050) 0x1210 37 if (rax == 0) then 38 @ 0x122c else 45 @ 0x1212 0x122c 38 eax = 0 0x122e 39 rsp = rsp + 0x3aa8 0x1235 40 rbx = pop 0x1236 41 r12 = pop 0x1238 42 r14 = pop 0x123a 43 r15 = pop 0x123c 44 <return> jump(pop) 0x1212 45 rdi = r14 0x1215 46 rsi = rax 0x1218 47 eax = 0 0x121a 48 call(0x1030) 0x121f 49 rbx = rbx + 0x32 0x122a 50 if (rbx != 0x3a98) then 34 @ 0x1200 else 38 @ 0x122c int64_t _fini(): 0x1244 0 rsp = rsp - 8 0x1248 1 rsp = rsp + 8 0x124c 2 <return> jump(pop)
POJ_28
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x410 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = 0x2004 {"%d"} 0x1179 5 rsi = rbp - 8 {var_10} 0x117d 6 al = 0 0x117f 7 call(0x1050) 0x1184 8 [rbp - 0x404 {var_40c}].d = 0 0x1184 9 goto 10 @ 0x118e 0x118e 10 eax = [rbp - 0x404 {var_40c}].d 0x1194 11 ecx = [rbp - 8 {var_10}].d 0x1197 12 ecx = ecx - 1 0x119c 13 if (eax s> ecx) then 14 @ 0x11d9 else 16 @ 0x11a2 0x11d9 14 [rbp - 0x404 {var_40c_1}].d = 0 0x11d9 15 goto 27 @ 0x11e3 0x11a2 16 rax = sx.q([rbp - 0x404 {var_40c}].d) 0x11a9 17 rsi = rbp - 0x400 {var_408} 0x11b0 18 rax = rax * 0x14 0x11b4 19 rsi = rsi + rax 0x11b7 20 rdi = 0x2007 {"%s"} 0x11be 21 al = 0 0x11c0 22 call(0x1050) 0x11c5 23 eax = [rbp - 0x404 {var_40c}].d 0x11cb 24 eax = eax + 1 0x11ce 25 [rbp - 0x404 {var_40c}].d = eax 0x11d4 26 goto 10 @ 0x118e 0x11e3 27 eax = [rbp - 0x404 {var_40c_1}].d 0x11e9 28 ecx = [rbp - 8 {var_10}].d 0x11ec 29 ecx = ecx - 1 0x11f1 30 if (eax s> ecx) then 31 @ 0x14ed else 35 @ 0x11f7 0x14ed 31 eax = 0 0x14ef 32 rsp = rsp + 0x410 0x14f6 33 rbp = pop 0x14f7 34 <return> jump(pop) 0x11f7 35 rax = sx.q([rbp - 0x404 {var_40c_1}].d) 0x11fe 36 rdi = rbp - 0x400 {var_408} 0x1205 37 rax = rax * 0x14 0x1209 38 rdi = rdi + rax 0x120c 39 call(0x1040) 0x1211 40 [rbp - 0xc {var_14_1}].d = eax 0x1214 41 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x121b 42 rax = rbp - 0x400 {var_408} 0x1222 43 rcx = rcx * 0x14 0x1226 44 rax = rax + rcx 0x1229 45 ecx = [rbp - 0xc {var_14_1}].d 0x122c 46 ecx = ecx - 1 0x122f 47 rcx = sx.q(ecx) 0x1232 48 eax = sx.d([rax + rcx].b) 0x1239 49 if (eax != 0x72) then 50 @ 0x12d6 else 59 @ 0x123f 0x12d6 50 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x12dd 51 rax = rbp - 0x400 {var_408} 0x12e4 52 rcx = rcx * 0x14 0x12e8 53 rax = rax + rcx 0x12eb 54 ecx = [rbp - 0xc {var_14_1}].d 0x12ee 55 ecx = ecx - 1 0x12f1 56 rcx = sx.q(ecx) 0x12f4 57 eax = sx.d([rax + rcx].b) 0x12fb 58 if (eax != 0x79) then 68 @ 0x1398 else 77 @ 0x1301 0x123f 59 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x1246 60 rax = rbp - 0x400 {var_408} 0x124d 61 rcx = rcx * 0x14 0x1251 62 rax = rax + rcx 0x1254 63 ecx = [rbp - 0xc {var_14_1}].d 0x1257 64 ecx = ecx - 2 0x125a 65 rcx = sx.q(ecx) 0x125d 66 eax = sx.d([rax + rcx].b) 0x1264 67 if (eax != 0x65) then 50 @ 0x12d6 else 86 @ 0x126a 0x1398 68 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x139f 69 rax = rbp - 0x400 {var_408} 0x13a6 70 rcx = rcx * 0x14 0x13aa 71 rax = rax + rcx 0x13ad 72 ecx = [rbp - 0xc {var_14_1}].d 0x13b0 73 ecx = ecx - 1 0x13b3 74 rcx = sx.q(ecx) 0x13b6 75 eax = sx.d([rax + rcx].b) 0x13bd 76 if (eax != 0x67) then 110 @ 0x14a7 else 118 @ 0x13c3 0x1301 77 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x1308 78 rax = rbp - 0x400 {var_408} 0x130f 79 rcx = rcx * 0x14 0x1313 80 rax = rax + rcx 0x1316 81 ecx = [rbp - 0xc {var_14_1}].d 0x1319 82 ecx = ecx - 2 0x131c 83 rcx = sx.q(ecx) 0x131f 84 eax = sx.d([rax + rcx].b) 0x1326 85 if (eax != 0x6c) then 68 @ 0x1398 else 127 @ 0x132c 0x126a 86 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x1271 87 rax = rbp - 0x400 {var_408} 0x1278 88 rcx = rcx * 0x14 0x127c 89 rax = rax + rcx 0x127f 90 ecx = [rbp - 0xc {var_14_1}].d 0x1282 91 ecx = ecx - 1 0x1285 92 rcx = sx.q(ecx) 0x1288 93 [rax + rcx].b = 0 0x128c 94 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x1293 95 rax = rbp - 0x400 {var_408} 0x129a 96 rcx = rcx * 0x14 0x129e 97 rax = rax + rcx 0x12a1 98 ecx = [rbp - 0xc {var_14_1}].d 0x12a4 99 ecx = ecx - 2 0x12a7 100 rcx = sx.q(ecx) 0x12aa 101 [rax + rcx].b = 0 0x12ae 102 rax = sx.q([rbp - 0x404 {var_40c_1}].d) 0x12b5 103 rsi = rbp - 0x400 {var_408} 0x12bc 104 rax = rax * 0x14 0x12c0 105 rsi = rsi + rax 0x12c3 106 rdi = 0x200a {"%s\n"} 0x12ca 107 al = 0 0x12cc 108 call(0x1030) 0x12d1 109 goto 151 @ 0x14d4 0x14a7 110 rax = sx.q([rbp - 0x404 {var_40c_1}].d) 0x14ae 111 rsi = rbp - 0x400 {var_408} 0x14b5 112 rax = rax * 0x14 0x14b9 113 rsi = rsi + rax 0x14bc 114 rdi = 0x2007 {"%s"} 0x14c3 115 al = 0 0x14c5 116 call(0x1030) 0x14c5 117 goto 152 @ 0x14ca 0x13c3 118 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x13ca 119 rax = rbp - 0x400 {var_408} 0x13d1 120 rcx = rcx * 0x14 0x13d5 121 rax = rax + rcx 0x13d8 122 ecx = [rbp - 0xc {var_14_1}].d 0x13db 123 ecx = ecx - 2 0x13de 124 rcx = sx.q(ecx) 0x13e1 125 eax = sx.d([rax + rcx].b) 0x13e8 126 if (eax != 0x6e) then 110 @ 0x14a7 else 153 @ 0x13ee 0x132c 127 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x1333 128 rax = rbp - 0x400 {var_408} 0x133a 129 rcx = rcx * 0x14 0x133e 130 rax = rax + rcx 0x1341 131 ecx = [rbp - 0xc {var_14_1}].d 0x1344 132 ecx = ecx - 1 0x1347 133 rcx = sx.q(ecx) 0x134a 134 [rax + rcx].b = 0 0x134e 135 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x1355 136 rax = rbp - 0x400 {var_408} 0x135c 137 rcx = rcx * 0x14 0x1360 138 rax = rax + rcx 0x1363 139 ecx = [rbp - 0xc {var_14_1}].d 0x1366 140 ecx = ecx - 2 0x1369 141 rcx = sx.q(ecx) 0x136c 142 [rax + rcx].b = 0 0x1370 143 rax = sx.q([rbp - 0x404 {var_40c_1}].d) 0x1377 144 rsi = rbp - 0x400 {var_408} 0x137e 145 rax = rax * 0x14 0x1382 146 rsi = rsi + rax 0x1385 147 rdi = 0x200a {"%s\n"} 0x138c 148 al = 0 0x138e 149 call(0x1030) 0x1393 150 goto 162 @ 0x14cf 0x14d4 151 goto 163 @ 0x14d9 0x14ca 152 goto 162 @ 0x14cf 0x13ee 153 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x13f5 154 rax = rbp - 0x400 {var_408} 0x13fc 155 rcx = rcx * 0x14 0x1400 156 rax = rax + rcx 0x1403 157 ecx = [rbp - 0xc {var_14_1}].d 0x1406 158 ecx = ecx - 3 0x1409 159 rcx = sx.q(ecx) 0x140c 160 eax = sx.d([rax + rcx].b) 0x1413 161 if (eax != 0x69) then 110 @ 0x14a7 else 167 @ 0x1419 0x14cf 162 goto 151 @ 0x14d4 0x14d9 163 eax = [rbp - 0x404 {var_40c_1}].d 0x14df 164 eax = eax + 1 0x14e2 165 [rbp - 0x404 {var_40c_1}].d = eax 0x14e8 166 goto 27 @ 0x11e3 0x1419 167 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x1420 168 rax = rbp - 0x400 {var_408} 0x1427 169 rcx = rcx * 0x14 0x142b 170 rax = rax + rcx 0x142e 171 ecx = [rbp - 0xc {var_14_1}].d 0x1431 172 ecx = ecx - 1 0x1434 173 rcx = sx.q(ecx) 0x1437 174 [rax + rcx].b = 0 0x143b 175 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x1442 176 rax = rbp - 0x400 {var_408} 0x1449 177 rcx = rcx * 0x14 0x144d 178 rax = rax + rcx 0x1450 179 ecx = [rbp - 0xc {var_14_1}].d 0x1453 180 ecx = ecx - 2 0x1456 181 rcx = sx.q(ecx) 0x1459 182 [rax + rcx].b = 0 0x145d 183 rcx = sx.q([rbp - 0x404 {var_40c_1}].d) 0x1464 184 rax = rbp - 0x400 {var_408} 0x146b 185 rcx = rcx * 0x14 0x146f 186 rax = rax + rcx 0x1472 187 ecx = [rbp - 0xc {var_14_1}].d 0x1475 188 ecx = ecx - 3 0x1478 189 rcx = sx.q(ecx) 0x147b 190 [rax + rcx].b = 0 0x147f 191 rax = sx.q([rbp - 0x404 {var_40c_1}].d) 0x1486 192 rsi = rbp - 0x400 {var_408} 0x148d 193 rax = rax * 0x14 0x1491 194 rsi = rsi + rax 0x1494 195 rdi = 0x200a {"%s\n"} 0x149b 196 al = 0 0x149d 197 call(0x1030) 0x14a2 198 goto 152 @ 0x14ca int64_t _fini(): 0x14fc 0 rsp = rsp - 8 0x1500 1 rsp = rsp + 8 0x1504 2 <return> jump(pop)
POJ_57
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1050 0 <return> tailcall([0x4028].q) uint64_t strlen(char const* arg1): 0x1060 0 <return> tailcall([0x4030].q) int32_t scanf(char const* format, ...): 0x1070 0 <return> tailcall([0x4038].q) int32_t strcmp(char const* arg1, char const* arg2): 0x1080 0 <return> tailcall([0x4040].q) int32_t puts(char const* str): 0x1090 0 <return> tailcall([0x4048].q) void __cxa_finalize(void* d): 0x10a0 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x10b4 0 ebp = 0 0x10b6 1 r9 = rdx 0x10b9 2 rsi = pop 0x10ba 3 rdx = rsp {arg_8} 0x10bd 4 rsp = rsp & 0xfffffffffffffff0 0x10c1 5 push(rax) 0x10c2 6 push(rsp) 0x10c3 7 r8d = 0 0x10c6 8 ecx = 0 0x10c8 9 rdi = 0x11a0 {"UAWAVAUATSHH\n"} 0x10cf 10 call([0x3ff8].q) 0x10cf 11 noreturn void deregister_tm_clones(): 0x10e0 0 rdi = 0x4060 {""} 0x10e7 1 rax = 0x4060 {""} 0x10f1 2 if (rax == rdi) then 3 @ 0x1108 else 4 @ 0x10f3 0x1108 3 <return> jump(pop) 0x10f3 4 rax = [0x3fd8].q 0x10fd 5 if (rax == 0) then 3 @ 0x1108 else 6 @ 0x10ff 0x10ff 6 <return> tailcall(rax) void register_tm_clones(): 0x1110 0 rdi = 0x4060 {""} 0x1117 1 rsi = 0x4060 {""} 0x111e 2 rsi = rsi - rdi 0x1121 3 rax = rsi 0x1124 4 rsi = rsi u>> 0x3f 0x1128 5 rax = rax s>> 3 0x112c 6 rsi = rsi + rax 0x112f 7 rsi = rsi s>> 1 0x1132 8 if (rsi == 0) then 9 @ 0x1148 else 10 @ 0x1134 0x1148 9 <return> jump(pop) 0x1134 10 rax = [0x3ff0].q 0x113e 11 if (rax == 0) then 9 @ 0x1148 else 12 @ 0x1140 0x1140 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x115b 0 if ([0x4060].b != 0) then 1 @ 0x1188 else 2 @ 0x115d 0x1188 1 <return> jump(pop) 0x115d 2 push(rbp) 0x115e 3 cond:0 = [0x3fe0].q == 0 0x1166 4 rbp = rsp {__saved_rbp} 0x1169 5 if (cond:0) then 6 @ 0x1177 else 10 @ 0x116b 0x1177 6 call(0x10e0) 0x117c 7 [0x4060].b = 1 0x1183 8 rbp = pop 0x1184 9 <return> jump(pop) 0x116b 10 rdi = [0x4058].q 0x1172 11 call(0x10a0) 0x1172 12 goto 6 @ 0x1177 int64_t frame_dummy(): 0x1194 0 <return> tailcall(0x1110) int32_t main(int32_t argc, char** argv, char** envp): 0x11a0 0 push(rbp) 0x11a1 1 push(r15) 0x11a3 2 push(r14) 0x11a5 3 push(r13) 0x11a7 4 push(r12) 0x11a9 5 push(rbx) 0x11aa 6 rsp = rsp - 0x40a48 0x11b1 7 rdi = rsp + 0x250 {var_40828} 0x11b9 8 r12d = 0 0x11bc 9 edx = 0xff0 {""} 0x11c1 10 esi = 0 0x11c3 11 call(0x1050) 0x11c8 12 rdi = 0x2004 {"%d"} 0x11cf 13 rsi = rsp + 0x1c {var_40a5c} 0x11d4 14 eax = 0 0x11d6 15 call(0x1070) 0x11db 16 rdi = 0x2007 {"%s"} 0x11e2 17 rbx = rsp + 0x50 {var_40a28} 0x11e7 18 rsi = rbx {var_40a28} 0x11ea 19 eax = 0 0x11ec 20 call(0x1070) 0x11f1 21 rdi = rbx {var_40a28} 0x11f4 22 call(0x1060) 0x11f9 23 r14d = [rsp + 0x1c {var_40a5c}].d 0x11fe 24 r15d = 0xffffffff {""} 0x1207 25 if (r14d s> eax) then 26 @ 0x129d else 28 @ 0x120d 0x129d 26 [rsp + 8 {var_40a70_1}].q = r15 0x12a5 27 if (r15d s< 0) then 38 @ 0x133e else 40 @ 0x12ab 0x120d 28 rcx = sx.q(r14d) 0x1210 29 [rsp + 0x10 {var_40a68_1}].q = rcx 0x1215 30 eax = eax - r14d 0x1218 31 eax = eax + 1 0x121b 32 rbx = rsp + 0x1240 {var_3f838} 0x1223 33 r13d = 1 0x1229 34 ebp = r14d 0x122c 35 r15d = 0 0x122f 36 [rsp + 8 {var_40a70}].d = r14d 0x1234 37 goto 46 @ 0x1264 0x133e 38 rbx = [rsp + 8 {var_40a70_1}].q 0x1345 39 if (ebx s<= 0) then 49 @ 0x13b3 else 50 @ 0x1347 0x12ab 40 rax = [rsp + 8 {var_40a70_1}].q 0x12b0 41 r15d = (rax + 1).d 0x12b4 42 r13 = rsp + 0x1240 {var_3f838} 0x12bc 43 ebp = 0 0x12be 44 [rsp + 0x10 {var_40a68_2}].q = r15 0x12c3 45 goto 53 @ 0x12e6 0x1264 46 cond:0 = ebp s> r13d 0x1267 47 edx = r13d 0x126a 48 if (cond:0) then 62 else 64 @ 0x1270 0x13b3 49 if (ebx s< 0) then 65 @ 0x13ef else 67 @ 0x13b5 0x1347 50 eax = (rbx - 1).d 0x134a 51 ecx = 1 0x134f 52 goto 72 @ 0x136c 0x12e6 53 rax = rbp 0x12e9 54 rax = rax << 9 0x12ed 55 rax = rax - rbp 0x12f0 56 rax = rax - rbp 0x12f3 57 r14 = rsp + rax 0x12f7 58 r14 = r14 + 0x1240 0x12fe 59 r12 = r15 0x1301 60 rbx = r13 0x1304 61 goto 74 @ 0x131d 0x126a 62 edx = ebp 0x126a 63 goto 64 @ 0x1270 0x1270 64 if (r14d s<= 0) then 78 @ 0x1240 else 86 @ 0x1272 0x13ef 65 r14d = 0xffffffff {""} 0x13ef 66 goto 97 @ 0x13f5 0x13b5 67 eax = [rsp + 0x254 {var_40824}].d 0x13bc 68 ecx = (rbx + 1).d 0x13bf 69 r14d = 0xffffffff {""} 0x13c5 70 edx = 0 0x13c7 71 goto 99 @ 0x13e0 0x136c 72 eax = eax 0x1370 73 if (ebx s<= ecx) then 100 @ 0x1360 else 105 @ 0x1372 0x131d 74 rdi = r14 0x1320 75 rsi = rbx 0x1323 76 call(0x1080) 0x132a 77 if (eax != 0) then 107 @ 0x1310 else 111 @ 0x132c 0x1240 78 rcx = [rsp + 0x10 {var_40a68_1}].q 0x1245 79 [rbx + rcx].b = 0 0x1249 80 r15 = r15 + 1 0x124d 81 rbx = rbx + 0x1fe 0x1254 82 ebp = ebp + 1 0x1257 83 r13d = r13d + 1 0x125b 84 r12d = r12d - 1 0x1262 85 if (rax == r15) then 114 @ 0x1299 else 46 @ 0x1264 0x1272 86 edx = edx + r12d 0x1275 87 edx = edx - 1 0x1278 88 rdx = rdx + 1 0x127c 89 rsi = rsp + r15 0x1280 90 rsi = rsi + 0x50 0x1284 91 rdi = rbx 0x1287 92 r14 = rax 0x128a 93 call(0x1040) 0x128f 94 rax = r14 0x1292 95 r14d = [rsp + 8 {var_40a70}].d 0x1297 96 goto 78 @ 0x1240 0x13f5 97 esi = [rsp + 0x254 {var_40824}].d 0x13ff 98 if (esi s< 2) then 116 @ 0x1493 else 120 @ 0x1405 0x13e0 99 if ([rsp + (rdx << 3) + 0x250].d != eax) then 124 @ 0x13d0 else 126 @ 0x13e2 0x1360 100 edx = (rcx + 1).d 0x1363 101 eax = eax - 1 0x1366 102 cond:1 = ecx == ebx 0x1368 103 ecx = edx 0x136a 104 if (cond:1) then 49 @ 0x13b3 else 72 @ 0x136c 0x1372 105 edx = 0 0x1374 106 goto 130 @ 0x1388 0x1310 107 rbx = rbx + 0x1fe 0x1317 108 temp0.q = r12 0x1317 109 r12 = r12 - 1 0x131b 110 if (temp0.q == 1) then 134 @ 0x12d0 else 74 @ 0x131d 0x132c 111 [rsp + (rbp << 3) + 0x250].d = [rsp + (rbp << 3) + 0x250].d + 1 0x1334 112 [rsp + (rbp << 3) + 0x254].d = [rsp + (rbp << 3) + 0x254].d + 1 0x133c 113 goto 107 @ 0x1310 0x1299 114 r15d = r15d - 1 0x1299 115 goto 26 @ 0x129d 0x1493 116 rdi = 0x200e {"NO"} 0x149a 117 eax = 0 0x149c 118 call(0x1030) 0x149c 119 goto 138 @ 0x14a1 0x1405 120 rdi = 0x200a {"%d\n"} 0x140c 121 eax = 0 0x140e 122 call(0x1030) 0x1416 123 if (r14d s< 0) then 138 @ 0x14a1 else 147 @ 0x141c 0x13d0 124 rdx = rdx + 1 0x13d7 125 if (rcx == rdx) then 97 @ 0x13f5 else 99 @ 0x13e0 0x13e2 126 rsi = sx.q(r14d) 0x13e5 127 r14d = r14d + 1 0x13e9 128 [rsp + (rsi << 2) + 0x24].d = edx 0x13ed 129 goto 124 @ 0x13d0 0x1388 130 edi = [rsp + (rdx << 3) + 0x254].d 0x138f 131 ebp = [rsp + (rdx << 3) + 0x25c].d 0x1396 132 rsi = rdx + 1 0x139c 133 if (edi s>= ebp) then 156 @ 0x1380 else 158 @ 0x139e 0x12d0 134 rbp = rbp + 1 0x12d4 135 r13 = r13 + 0x1fe 0x12db 136 r15 = r15 - 1 0x12e4 137 if (rbp == [rsp + 0x10 {var_40a68_2}].q) then 38 @ 0x133e else 53 @ 0x12e6 0x14a1 138 eax = 0 0x14a3 139 rsp = rsp + 0x40a48 0x14aa 140 rbx = pop 0x14ab 141 r12 = pop 0x14ad 142 r13 = pop 0x14af 143 r14 = pop 0x14b1 144 r15 = pop 0x14b3 145 rbp = pop 0x14b4 146 <return> jump(pop) 0x141c 147 rax = [rsp + 8 {var_40a70_1}].q 0x1421 148 eax = eax + 1 0x1424 149 r14d = r14d + 1 0x1428 150 r12 = rax 0x142b 151 r12 = r12 << 9 0x142f 152 r12 = r12 - rax 0x1432 153 r12 = r12 - rax 0x1435 154 r15d = 0 0x1438 155 goto 162 @ 0x144e 0x1380 156 rdx = rsi 0x1386 157 if (rax == rsi) then 100 @ 0x1360 else 130 @ 0x1388 0x139e 158 rdx = rdx + rdx 0x13a1 159 [rsp + (rdx << 2) + 0x254].d = ebp 0x13a8 160 [rsp + (rdx << 2) + 0x25c].d = edi 0x13af 161 goto 156 @ 0x1380 0x144e 162 if ([rsp + 8 {var_40a70_1}].d s< 0) then 163 @ 0x1440 else 165 @ 0x1450 0x1440 163 r15 = r15 + 1 0x1447 164 if (r15 == r14) then 138 @ 0x14a1 else 162 @ 0x144e 0x1450 165 eax = [rsp + (r15 << 2) + 0x20].d 0x1455 166 rbx = rax 0x1458 167 rbx = rbx << 9 0x145c 168 rbx = rbx - rax 0x145f 169 rbx = rbx - rax 0x1462 170 ebp = 0 0x1464 171 goto 172 @ 0x147f 0x147f 172 if (rbx != rbp) then 173 @ 0x1470 else 175 @ 0x1481 0x1470 173 rbp = rbp + 0x1fe 0x147a 174 if (r12 == rbp) then 163 @ 0x1440 else 172 @ 0x147f 0x1481 175 rdi = rsp + rbp 0x1485 176 rdi = rdi + 0x1240 0x148c 177 call(0x1090) 0x1491 178 goto 173 @ 0x1470 int64_t _fini(): 0x14bc 0 rsp = rsp - 8 0x14c0 1 rsp = rsp + 8 0x14c4 2 <return> jump(pop)
POJ_51
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x118 0x1171 7 rdi = 0x2054 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_13c} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 0xc {var_13c}].d s<= 0) then 12 @ 0x1249 else 21 @ 0x118f 0x1249 12 eax = 0 0x124b 13 rsp = rsp + 0x118 0x1252 14 rbx = pop 0x1253 15 r12 = pop 0x1255 16 r13 = pop 0x1257 17 r14 = pop 0x1259 18 r15 = pop 0x125b 19 rbp = pop 0x125c 20 <return> jump(pop) 0x118f 21 r14 = 0x2057 {"%s"} 0x1196 22 r15 = rsp + 0x10 {var_138} 0x119b 23 r13 = 0x2004 {"&<%d"} 0x11a2 24 r12d = 0 0x11a5 25 goto 26 @ 0x11c9 0x11c9 26 rdi = r14 0x11cc 27 rsi = r15 {var_138} 0x11cf 28 eax = 0 0x11d1 29 call(0x1040) 0x11d6 30 rdi = r15 {var_138} 0x11d9 31 call(0x1030) 0x11e0 32 if (eax s<= 0) then 33 @ 0x11b0 else 37 @ 0x11e2 0x11b0 33 edi = 0xa {""} 0x11b5 34 call(0x1050) 0x11ba 35 r12d = r12d + 1 0x11c3 36 if (r12d s>= [rsp + 0xc {var_13c}].d) then 12 @ 0x1249 else 26 @ 0x11c9 0x11e2 37 ebp = eax 0x11e4 38 ebx = 0 0x11e6 39 goto 40 @ 0x1209 0x1209 40 ecx = zx.d([rsp + rbx + 0x10].b) 0x120e 41 cl = cl - 0x41 0x1214 42 if (cl u> 0x13) then 43 @ 0x1200 else 45 @ 0x1216 0x1200 43 rbx = rbx + 1 0x1207 44 if (rbp == rbx) then 33 @ 0x11b0 else 40 @ 0x1209 0x1216 45 edi = 0x54 {""} 0x121b 46 al = 0x54 {""} 0x121d 47 ecx = zx.d(cl) 0x1220 48 rcx = sx.q([r13 + (rcx << 2)].d) 0x1225 49 rcx = rcx + r13 0x1228 50 jump(rcx => 51 @ 0x11f0, 54 @ 0x11f7, 43 @ 0x1200, 57 @ 0x122a, 60 @ 0x1240) 0x11f0 51 edi = 0x43 {""} 0x11f5 52 al = 0x43 {""} 0x11f5 53 goto 54 @ 0x11f7 0x11f7 54 [rsp + rbx + 0x10].b = al 0x11fb 55 call(0x1050) 0x11fb 56 goto 43 @ 0x1200 0x122a 57 edi = 0x47 {""} 0x122f 58 al = 0x47 {""} 0x1231 59 goto 54 @ 0x11f7 0x1240 60 edi = 0x41 {""} 0x1245 61 al = 0x41 {""} 0x1247 62 goto 54 @ 0x11f7 int64_t _fini(): 0x1264 0 rsp = rsp - 8 0x1268 1 rsp = rsp + 8 0x126c 2 <return> jump(pop)
POJ_33
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVATSHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r12) 0x1156 3 push(rbx) 0x1157 4 rsp = rsp - 0x18 0x115b 5 rdi = 0x2006 {"%d"} 0x1162 6 rsi = rsp + 0xc {var_2c} 0x1167 7 eax = 0 0x1169 8 call(0x1040) 0x116e 9 eax = [rsp + 0xc {var_2c}].d 0x1172 10 ecx = (rax - 1).d 0x1175 11 [rsp + 0xc {var_2c}].d = ecx 0x117b 12 if (eax s<= 0) then 13 @ 0x11d8 else 20 @ 0x117d 0x11d8 13 eax = 0 0x11da 14 rsp = rsp + 0x18 0x11de 15 rbx = pop 0x11df 16 r12 = pop 0x11e1 17 r14 = pop 0x11e3 18 r15 = pop 0x11e5 19 <return> jump(pop) 0x117d 20 r14 = 0x2004 {"%d%d"} 0x1184 21 r15 = rsp + 0x14 {var_24} 0x1189 22 r12 = rsp + 0x10 {var_28} 0x118e 23 rbx = 0x2009 {"%d\n"} 0x119f 24 goto 25 @ 0x11a0 0x11a0 25 rdi = r14 0x11a3 26 rsi = r15 {var_24} 0x11a6 27 rdx = r12 {var_28} 0x11a9 28 eax = 0 0x11ab 29 call(0x1040) 0x11b0 30 edi = [rsp + 0x14 {var_24}].d 0x11b4 31 esi = [rsp + 0x10 {var_28}].d 0x11b8 32 call(0x11f0) 0x11bd 33 rdi = rbx 0x11c0 34 esi = eax 0x11c2 35 eax = 0 0x11c4 36 call(0x1030) 0x11c9 37 eax = [rsp + 0xc {var_2c}].d 0x11cd 38 ecx = (rax - 1).d 0x11d0 39 [rsp + 0xc {var_2c}].d = ecx 0x11d6 40 if (eax s> 0) then 25 @ 0x11a0 else 13 @ 0x11d8 uint64_t find(int32_t arg1, int32_t arg2): 0x11f0 0 push(rbp) 0x11f1 1 push(r15) 0x11f3 2 push(r14) 0x11f5 3 push(rbx) 0x11f6 4 push(rax) 0x11f7 5 r14d = 0 0x11fd 6 if (edi u< 2) then 7 @ 0x1278 else 15 @ 0x11ff 0x1278 7 r14d = r14d + 1 0x127c 8 eax = r14d 0x127f 9 rsp = rsp + 8 0x1283 10 rbx = pop 0x1284 11 r14 = pop 0x1286 12 r15 = pop 0x1288 13 rbp = pop 0x1289 14 <return> jump(pop) 0x11ff 15 ebx = esi 0x1204 16 if (esi == 1) then 7 @ 0x1278 else 17 @ 0x1206 0x1206 17 ebp = edi 0x1208 18 r14d = 0 0x120b 19 r15d = 0x20 {"@"} 0x120b 20 goto 21 @ 0x1211 0x1211 21 cond:1 = ebx s< ebp 0x1213 22 ecx = ebp 0x1215 23 if (cond:1) then 24 else 26 @ 0x1218 0x1215 24 ecx = ebx 0x1215 25 goto 26 @ 0x1218 0x1218 26 eax = ebx 0x121a 27 eax = eax - ecx 0x121c 28 ecx = (rbx - 2).d 0x1221 29 if (eax u>= ecx) then 30 else 32 @ 0x1224 0x1221 30 eax = ecx 0x1221 31 goto 32 @ 0x1224 0x1224 32 eax = eax + 1 0x122a 33 if (eax u< 0x21) then 34 @ 0x1252 else 35 @ 0x122c 0x1252 34 if (ebx s<= ebp) then 38 @ 0x1260 else 47 @ 0x1254 0x122c 35 ecx = eax 0x122e 36 ecx = ecx & 0x1f 0x1231 37 if (ecx == 0) then 49 else 51 @ 0x1235 0x1260 38 edi = ebp 0x1262 39 edi = edi - ebx 0x1264 40 esi = ebx 0x1266 41 call(0x11f0) 0x126b 42 ecx = (rbx - 1).d 0x126e 43 r14d = r14d + eax 0x1271 44 cond:0 = ebx != 2 0x1274 45 ebx = ecx 0x1276 46 if (cond:0) then 21 @ 0x1211 else 7 @ 0x1278 0x1254 47 ebx = ebx - 1 0x125a 48 if (ebx != 1) then 34 @ 0x1252 else 54 @ 0x125c 0x1231 49 ecx = r15d 0x1231 50 goto 51 @ 0x1235 0x1235 51 eax = eax - ecx 0x1237 52 ebx = ebx - eax 0x1239 53 goto 55 @ 0x1240 0x125c 54 goto 7 @ 0x1278 0x1240 55 temp0.d = eax 0x1240 56 eax = eax - 0x20 0x1243 57 if (temp0.d != 0x20) then 55 @ 0x1240 else 58 @ 0x124f 0x124f 58 goto 34 @ 0x1252 int64_t _fini(): 0x1290 0 rsp = rsp - 8 0x1294 1 rsp = rsp + 8 0x1298 2 <return> jump(pop)
POJ_90
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x9d18 0x1161 7 rdi = 0x2004 {"%d,%d"} 0x1168 8 rsi = rsp + 0xc {var_9d3c} 0x116d 9 rdx = rsp + 8 {var_9d40} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x1179 12 r12d = [rsp + 0xc {var_9d3c}].d 0x1181 13 if (r12d s<= 0) then 14 @ 0x12cd else 17 @ 0x1187 0x12cd 14 ecx = [rsp + 8 {var_9d40}].d 0x12d1 15 r9d = 0 0x12d1 16 goto 22 @ 0x12d6 0x1187 17 r15 = rsp + 0xd0 {var_9c78} 0x118f 18 eax = [rsp + 8 {var_9d40}].d 0x1193 19 r14 = 0x200d {"%d"} 0x119a 20 r13d = 0 0x119d 21 goto 23 @ 0x11b5 0x12d6 22 if (ecx s<= 0) then 24 @ 0x13b2 else 25 @ 0x12dc 0x11b5 23 if (eax s<= 0) then 34 @ 0x11a0 else 38 @ 0x11b7 0x13b2 24 if (r9b == 0) then 41 @ 0x1434 else 45 @ 0x13b8 0x12dc 25 r10d = ecx 0x12df 26 r8d = r12d 0x12e2 27 r8 = r8 - 1 0x12e6 28 rbp = rsp + 0x3f0 {var_9958} 0x12ee 29 r11 = r8 0x12f1 30 r11 = r11 & 0xfffffffffffffffe 0x12f5 31 r11 = neg.q(r11) 0x12f8 32 edx = 0 0x12fa 33 goto 49 @ 0x1314 0x11a0 34 r13 = r13 + 1 0x11a4 35 rcx = sx.q(r12d) 0x11a7 36 r15 = r15 + 0x190 0x11b1 37 if (r13 s>= rcx) then 50 @ 0x11e6 else 23 @ 0x11b5 0x11b7 38 rbx = r15 0x11ba 39 ebp = 0 0x11bc 40 goto 54 @ 0x11c0 0x1434 41 rdi = 0x2010 {"No"} 0x143b 42 eax = 0 0x143d 43 call(0x1030) 0x143d 44 goto 62 @ 0x1442 0x13b8 45 r14 = 0x200a {"%d+%d"} 0x13bf 46 r15d = 0 0x13c2 47 edx = 0 0x13c4 48 goto 71 @ 0x13e3 0x1314 49 if (r9b == 0) then 72 @ 0x1300 else 75 @ 0x1316 0x11e6 50 temp0.d = r12d 0x11e6 51 cond:0 = temp0.d s<= 0 0x11e9 52 r9b = temp0.d s> 0 0x11ed 53 if (cond:0) then 14 @ 0x12cd else 79 @ 0x11f3 0x11c0 54 rdi = r14 0x11c3 55 rsi = rbx 0x11c6 56 eax = 0 0x11c8 57 call(0x1040) 0x11cd 58 rbp = rbp + 1 0x11d1 59 rax = sx.q([rsp + 8 {var_9d40}].d) 0x11d6 60 rbx = rbx + 4 0x11dd 61 if (rbp s< rax) then 54 @ 0x11c0 else 89 @ 0x11df 0x1442 62 eax = 0 0x1444 63 rsp = rsp + 0x9d18 0x144b 64 rbx = pop 0x144c 65 r12 = pop 0x144e 66 r13 = pop 0x1450 67 r14 = pop 0x1452 68 r15 = pop 0x1454 69 rbp = pop 0x1455 70 <return> jump(pop) 0x13e3 71 if (ecx s<= 0) then 91 @ 0x13d5 else 94 @ 0x13e5 0x1300 72 rdx = rdx + 1 0x1304 73 rbp = rbp + 4 0x130b 74 if (rdx == r10) then 24 @ 0x13b2 else 49 @ 0x1314 0x1316 75 edi = [rsp + (rdx << 2) + 0xd0].d 0x131d 76 [rsp + (rdx << 2) + 0x40].d = edi 0x1321 77 [rsp + (rdx << 2) + 0x10].d = edx 0x1329 78 if (r12d == 1) then 72 @ 0x1300 else 97 @ 0x132b 0x11f3 79 ecx = [rsp + 8 {var_9d40}].d 0x11f7 80 r10d = r12d 0x11fa 81 r8 = rcx 0x11fd 82 r8 = r8 - 1 0x1201 83 rdx = rsp + 0xd4 {var_9c74} 0x1209 84 rdi = r8 0x120c 85 rdi = rdi & 0xfffffffffffffffe 0x1210 86 rdi = neg.q(rdi) 0x1213 87 ebx = 0 0x1215 88 goto 99 @ 0x1236 0x11df 89 r12d = [rsp + 0xc {var_9d3c}].d 0x11e4 90 goto 34 @ 0x11a0 0x13d5 91 r15 = r15 + 1 0x13d9 92 rax = sx.q(r12d) 0x13df 93 if (r15 s>= rax) then 100 @ 0x1432 else 71 @ 0x13e3 0x13e5 94 ebp = [rsp + (r15 << 2) + 0xa0].d 0x13ed 95 ebx = 0 0x13ef 96 goto 101 @ 0x1410 0x132b 97 eax = 1 0x1334 98 if (r12d != 2) then 102 @ 0x135d else 105 @ 0x133a 0x1236 99 if (ecx s<= 0) then 106 @ 0x1220 else 109 @ 0x1238 0x1432 100 if (edx != 0) then 62 @ 0x1442 else 41 @ 0x1434 0x1410 101 if (ebp != [rsp + (rbx << 2) + 0x40].d) then 114 @ 0x1400 else 117 @ 0x1412 0x135d 102 eax = 1 0x1362 103 rbx = rbp 0x1365 104 goto 125 @ 0x1389 0x133a 105 if ((r8b & 1) == 0) then 72 @ 0x1300 else 127 @ 0x133c 0x1220 106 rbx = rbx + 1 0x1224 107 rdx = rdx + 0x190 0x122e 108 if (rbx == r10) then 22 @ 0x12d6 else 99 @ 0x1236 0x1238 109 r11 = rbx * 0x190 0x123f 110 esi = [rsp + r11 + 0xd0].d 0x1247 111 [rsp + (rbx << 2) + 0xa0].d = esi 0x124e 112 [rsp + (rbx << 2) + 0x70].d = ebx 0x1255 113 if (ecx == 1) then 106 @ 0x1220 else 132 @ 0x1257 0x1400 114 rbx = rbx + 1 0x1404 115 rax = sx.q(ecx) 0x140a 116 if (rbx s>= rax) then 134 @ 0x13d0 else 101 @ 0x1410 0x1412 117 esi = [rsp + (r15 << 2) + 0x70].d 0x1417 118 edx = [rsp + (rbx << 2) + 0x10].d 0x141b 119 rdi = r14 0x141e 120 eax = 0 0x1420 121 call(0x1030) 0x1425 122 edx = 1 0x142a 123 ecx = [rsp + 8 {var_9d40}].d 0x142e 124 goto 114 @ 0x1400 0x1389 125 esi = [rbx - 0x190].d 0x1391 126 if (esi s>= edi) then 136 @ 0x139d else 138 @ 0x1393 0x133c 127 rax = rax * 0x190 0x1343 128 rax = rax + rsp 0x1346 129 rax = rax + 0xd0 0x134c 130 eax = [rax + (rdx << 2)].d 0x1351 131 if (eax s>= edi) then 72 @ 0x1300 else 142 @ 0x1353 0x1257 132 eax = 1 0x125f 133 if (ecx != 2) then 145 @ 0x1287 else 147 @ 0x1265 0x13d0 134 r12d = [rsp + 0xc {var_9d3c}].d 0x13d0 135 goto 91 @ 0x13d5 0x139d 136 esi = [rbx].d 0x13a1 137 if (esi s>= edi) then 148 @ 0x1370 else 153 @ 0x13a3 0x1393 138 [rsp + (rdx << 2) + 0x40].d = esi 0x1397 139 [rsp + (rdx << 2) + 0x10].d = edx 0x139b 140 edi = esi 0x139b 141 goto 136 @ 0x139d 0x1353 142 [rsp + (rdx << 2) + 0x40].d = eax 0x1357 143 [rsp + (rdx << 2) + 0x10].d = edx 0x135b 144 goto 72 @ 0x1300 0x1287 145 eax = 1 0x128c 146 goto 157 @ 0x12a2 0x1265 147 if ((r8b & 1) == 0) then 106 @ 0x1220 else 159 @ 0x1267 0x1370 148 rbx = rbx + 0x320 0x1377 149 rsi = r11 + rax 0x137b 150 rsi = rsi + 2 0x137f 151 rax = rax + 2 0x1387 152 if (rsi == 1) then 105 @ 0x133a else 125 @ 0x1389 0x13a3 153 [rsp + (rdx << 2) + 0x40].d = esi 0x13a7 154 [rsp + (rdx << 2) + 0x10].d = edx 0x13ab 155 edi = esi 0x13ad 156 goto 148 @ 0x1370 0x12a2 157 ebp = [rdx + (rax << 2) - 4].d 0x12a8 158 if (ebp s<= esi) then 163 @ 0x12b7 else 165 @ 0x12aa 0x1267 159 rbp = rsp + r11 0x126b 160 rbp = rbp + 0xd0 0x1272 161 eax = [rbp + (rax << 2)].d 0x1278 162 if (eax s<= esi) then 106 @ 0x1220 else 169 @ 0x127a 0x12b7 163 ebp = [rdx + (rax << 2)].d 0x12bc 164 if (ebp s<= esi) then 172 @ 0x1290 else 176 @ 0x12be 0x12aa 165 [rsp + (rbx << 2) + 0xa0].d = ebp 0x12b1 166 [rsp + (rbx << 2) + 0x70].d = ebx 0x12b5 167 esi = ebp 0x12b5 168 goto 163 @ 0x12b7 0x127a 169 [rsp + (rbx << 2) + 0xa0].d = eax 0x1281 170 [rsp + (rbx << 2) + 0x70].d = ebx 0x1285 171 goto 106 @ 0x1220 0x1290 172 rbp = rdi + rax 0x1294 173 rbp = rbp + 2 0x1298 174 rax = rax + 2 0x12a0 175 if (rbp == 1) then 147 @ 0x1265 else 157 @ 0x12a2 0x12be 176 [rsp + (rbx << 2) + 0xa0].d = ebp 0x12c5 177 [rsp + (rbx << 2) + 0x70].d = ebx 0x12c9 178 esi = ebp 0x12cb 179 goto 172 @ 0x1290 int64_t _fini(): 0x145c 0 rsp = rsp - 8 0x1460 1 rsp = rsp + 8 0x1464 2 <return> jump(pop)
POJ_35
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) double pow(double x, double y): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHX"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x658 0x1171 7 rdi = 0x2010 {"%d"} 0x1178 8 rsi = rsp {var_688} 0x117b 9 eax = 0 0x117d 10 call(0x1050) 0x1186 11 if ([rsp {var_688}].d s<= 0) then 12 @ 0x1287 else 13 @ 0x118c 0x1287 12 if ([rsp {var_688}].d s<= 0) then 18 @ 0x12bd else 27 @ 0x1289 0x118c 13 r14 = 0x2010 {"%d"} 0x1193 14 r15 = rsp + 4 {var_684} 0x1198 15 r12 = 0x2013 {"%lf"} 0x119f 16 ebp = 0 0x11a1 17 goto 30 @ 0x11d8 0x12bd 18 eax = 0 0x12bf 19 rsp = rsp + 0x658 0x12c6 20 rbx = pop 0x12c7 21 r12 = pop 0x12c9 22 r13 = pop 0x12cb 23 r14 = pop 0x12cd 24 r15 = pop 0x12cf 25 rbp = pop 0x12d0 26 <return> jump(pop) 0x1289 27 ebp = 0 0x128b 28 rbx = 0x2017 {"%.5lf\n"} 0x129c 29 goto 38 @ 0x12a0 0x11d8 30 rdi = r14 0x11db 31 rsi = r15 {var_684} 0x11de 32 eax = 0 0x11e0 33 call(0x1050) 0x11e5 34 eax = [rsp + 4 {var_684}].d 0x11e9 35 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11ed 36 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x11f3 37 if (eax s<= 0) then 45 @ 0x1243 else 48 @ 0x11f5 0x12a0 38 xmm0 = zx.o([rsp + (rbp << 3) + 0x10].q) 0x12a6 39 rdi = rbx 0x12a9 40 al = 1 0x12ab 41 call(0x1030) 0x12b0 42 rbp = rbp + 1 0x12b4 43 rax = sx.q([rsp {var_688}].d) 0x12bb 44 if (rbp s< rax) then 38 @ 0x12a0 else 18 @ 0x12bd 0x1243 45 xmm2 = 0 0x1246 46 xmm2.q = float.d(eax) 0x124c 47 if (eax s<= 0) then 52 @ 0x11b0 else 59 @ 0x1252 0x11f5 48 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x11f9 49 rbx = rsp + 0x330 {var_358} 0x1201 50 r13d = 0 0x120e 51 goto 64 @ 0x1210 0x11b0 52 xmm0.q = xmm0.q f/ xmm2.q 0x11b4 53 xmm1 = zx.o([0x2008].q) 0x11bc 54 call(0x1040) 0x11c1 55 [rsp + (rbp << 3) + 0x10].q = xmm0.q 0x11c7 56 rbp = rbp + 1 0x11cb 57 rax = sx.q([rsp {var_688}].d) 0x11d2 58 if (rbp s>= rax) then 12 @ 0x1287 else 30 @ 0x11d8 0x1252 59 xmm3.q = xmm3.q f/ xmm2.q 0x1256 60 eax = eax 0x1258 61 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x125c 62 ecx = 0 0x125e 63 goto 75 @ 0x1260 0x1210 64 [rsp + 8 {var_680_1}].q = xmm3.q 0x1216 65 rdi = r12 0x1219 66 rsi = rbx 0x121c 67 eax = 0 0x121e 68 call(0x1050) 0x1223 69 xmm3 = zx.o([rsp + 8 {var_680_1}].q) 0x1229 70 xmm3.q = xmm3.q f+ fconvert.t([rbx].q) 0x122d 71 r13 = r13 + 1 0x1231 72 rax = sx.q([rsp + 4 {var_684}].d) 0x1236 73 rbx = rbx + 8 0x123d 74 if (r13 s< rax) then 64 @ 0x1210 else 81 @ 0x123f 0x1260 75 xmm1 = zx.o([rsp + (rcx << 3) + 0x330].q) 0x1269 76 xmm1.q = xmm1.q f- xmm3.q 0x126d 77 xmm1.q = xmm1.q f* xmm1.q 0x1271 78 xmm0.q = xmm0.q f+ xmm1.q 0x1275 79 rcx = rcx + 1 0x127c 80 if (rax != rcx) then 75 @ 0x1260 else 83 @ 0x127e 0x123f 81 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x123f 82 goto 45 @ 0x1243 0x127e 83 goto 52 @ 0x11b0 int64_t _fini(): 0x12d8 0 rsp = rsp - 8 0x12dc 1 rsp = rsp + 8 0x12e0 2 <return> jump(pop)
POJ_38
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVSHX"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(rbx) 0x1166 4 rsp = rsp - 0x658 0x116d 5 rdi = 0x2006 {"%d"} 0x1174 6 r15d = 0 0x1177 7 rsi = rsp + 0xc {var_66c} 0x117c 8 eax = 0 0x117e 9 call(0x1040) 0x1183 10 ecx = [rsp + 0xc {var_66c}].d 0x1189 11 if (ecx s<= 0) then 12 @ 0x11c3 else 14 @ 0x118b 0x11c3 12 eax = 0 0x11ca 13 if (ecx s<= 0) then 18 @ 0x1241 else 19 @ 0x11cc 0x118b 14 rbx = rsp + 0x10 {var_668} 0x1190 15 r14 = 0x2004 {"%d%d"} 0x1197 16 ebp = 0 0x1199 17 goto 24 @ 0x11a0 0x1241 18 if (eax s<= r15d) then 33 @ 0x124f else 35 @ 0x1243 0x11cc 19 ecx = ecx 0x11ce 20 edx = 0 0x11d0 21 eax = 0 0x11d2 22 r15d = 0 0x11d5 23 goto 38 @ 0x11ec 0x11a0 24 rdx = rbx + 4 0x11a4 25 rdi = r14 0x11a7 26 rsi = rbx 0x11aa 27 eax = 0 0x11ac 28 call(0x1040) 0x11b1 29 rbp = rbp + 1 0x11b5 30 rcx = sx.q([rsp + 0xc {var_66c}].d) 0x11ba 31 rbx = rbx + 8 0x11c1 32 if (rbp s< rcx) then 24 @ 0x11a0 else 12 @ 0x11c3 0x124f 33 cond:0 = r15d != eax 0x1252 34 if (r15d s<= eax) then 40 @ 0x1260 else 41 @ 0x1254 0x1243 35 edi = 0x41 {""} 0x1248 36 call(0x1050) 0x124d 37 goto 44 @ 0x1270 0x11ec 38 esi = [rsp + (rdx << 3) + 0x10].d 0x11f2 39 if (esi != 0) then 51 @ 0x11fe else 52 @ 0x11f9 0x1260 40 if (cond:0) then 44 @ 0x1270 else 53 @ 0x1262 0x1254 41 edi = 0x42 {""} 0x1259 42 call(0x1050) 0x125e 43 goto 44 @ 0x1270 0x1270 44 eax = 0 0x1272 45 rsp = rsp + 0x658 0x1279 46 rbx = pop 0x127a 47 r14 = pop 0x127c 48 r15 = pop 0x127e 49 rbp = pop 0x127f 50 <return> jump(pop) 0x11fe 51 if (esi != 1) then 57 @ 0x120a else 58 @ 0x1205 0x11f9 52 if ([rsp + (rdx << 3) + 0x14].d == 1) then 59 @ 0x11e0 else 51 @ 0x11fe 0x1262 53 rdi = 0x2009 {"Tie"} 0x1269 54 eax = 0 0x126b 55 call(0x1030) 0x126b 56 goto 44 @ 0x1270 0x120a 57 if (esi != 2) then 61 @ 0x1213 else 63 @ 0x1211 0x1205 58 if ([rsp + (rdx << 3) + 0x14].d == 2) then 59 @ 0x11e0 else 57 @ 0x120a 0x11e0 59 eax = eax + 1 0x11e0 60 goto 64 @ 0x11e3 0x1213 61 edi = [rsp + (rdx << 3) + 0x14].d 0x1219 62 if (edi != 0) then 66 @ 0x1223 else 67 @ 0x121e 0x1211 63 if ([rsp + (rdx << 3) + 0x14].d == 0) then 59 @ 0x11e0 else 61 @ 0x1213 0x11e3 64 rdx = rdx + 1 0x11ea 65 if (rcx == rdx) then 18 @ 0x1241 else 38 @ 0x11ec 0x1223 66 if (edi != 1) then 68 @ 0x1233 else 69 @ 0x1228 0x121e 67 if (esi == 1) then 70 @ 0x122a else 66 @ 0x1223 0x1233 68 if (edi != 2) then 64 @ 0x11e3 else 72 @ 0x1235 0x1228 69 if (esi != 2) then 68 @ 0x1233 else 70 @ 0x122a 0x122a 70 r15d = r15d + 1 0x122e 71 goto 64 @ 0x11e3 0x1235 72 flag:c = esi u< 1 0x1238 73 r15d = adc.d(r15d, 0, flag:c) 0x123c 74 goto 64 @ 0x11e3 int64_t _fini(): 0x1284 0 rsp = rsp - 8 0x1288 1 rsp = rsp + 8 0x128c 2 <return> jump(pop)
POJ_65
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHHE"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x10 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 0x2004 {"%d"} 0x1166 5 rsi = rbp - 8 {var_10} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1171 8 eax = 6 0x1176 9 eax = eax - [rbp - 8 {var_10}].d 0x117c 10 if (eax s<= 0) then 11 @ 0x1192 else 15 @ 0x1182 0x1192 11 eax = 0xd {""} 0x1197 12 eax = eax - [rbp - 8 {var_10}].d 0x119a 13 [rbp - 0xc {var_14}].d = eax 0x119a 14 goto 19 @ 0x119d 0x1182 15 eax = 6 0x1187 16 eax = eax - [rbp - 8 {var_10}].d 0x118a 17 [rbp - 0xc {var_14}].d = eax 0x118d 18 goto 19 @ 0x119d 0x119d 19 eax = 0xd {""} 0x11a2 20 eax = eax - [rbp - 0xc {var_14}].d 0x11a5 21 ecx = 7 0x11aa 22 temp2.d:temp3.d = sx.q(eax) 0x11aa 23 edx = temp2.d 0x11aa 24 eax = temp3.d 0x11ab 25 temp4.d = edx 0x11ab 26 temp5.d = eax 0x11ab 27 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11ab 28 temp6.d = edx 0x11ab 29 temp7.d = eax 0x11ab 30 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11ab 31 eax = temp0.d 0x11ab 32 edx = temp1.d 0x11b0 33 if (edx != 0) then 34 @ 0x11c4 else 49 @ 0x11b6 0x11c4 34 eax = 0x2c {""} 0x11c9 35 eax = eax - [rbp - 0xc {var_14}].d 0x11cc 36 ecx = 7 0x11d1 37 temp8.d:temp9.d = sx.q(eax) 0x11d1 38 edx = temp8.d 0x11d1 39 eax = temp9.d 0x11d2 40 temp10.d = edx 0x11d2 41 temp11.d = eax 0x11d2 42 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11d2 43 temp12.d = edx 0x11d2 44 temp13.d = eax 0x11d2 45 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11d2 46 eax = temp0.d 0x11d2 47 edx = temp1.d 0x11d7 48 if (edx != 0) then 53 @ 0x11eb else 68 @ 0x11dd 0x11b6 49 rdi = 0x2021 {"1\n"} 0x11bd 50 al = 0 0x11bf 51 call(0x1030) 0x11bf 52 goto 34 @ 0x11c4 0x11eb 53 eax = 0x48 {"@"} 0x11f0 54 eax = eax - [rbp - 0xc {var_14}].d 0x11f3 55 ecx = 7 0x11f8 56 temp14.d:temp15.d = sx.q(eax) 0x11f8 57 edx = temp14.d 0x11f8 58 eax = temp15.d 0x11f9 59 temp16.d = edx 0x11f9 60 temp17.d = eax 0x11f9 61 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x11f9 62 temp18.d = edx 0x11f9 63 temp19.d = eax 0x11f9 64 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x11f9 65 eax = temp0.d 0x11f9 66 edx = temp1.d 0x11fe 67 if (edx != 0) then 72 @ 0x1212 else 87 @ 0x1204 0x11dd 68 rdi = 0x2025 {"2\n"} 0x11e4 69 al = 0 0x11e6 70 call(0x1030) 0x11e6 71 goto 53 @ 0x11eb 0x1212 72 eax = 0x67 {""} 0x1217 73 eax = eax - [rbp - 0xc {var_14}].d 0x121a 74 ecx = 7 0x121f 75 temp20.d:temp21.d = sx.q(eax) 0x121f 76 edx = temp20.d 0x121f 77 eax = temp21.d 0x1220 78 temp22.d = edx 0x1220 79 temp23.d = eax 0x1220 80 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x1220 81 temp24.d = edx 0x1220 82 temp25.d = eax 0x1220 83 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x1220 84 eax = temp0.d 0x1220 85 edx = temp1.d 0x1225 86 if (edx != 0) then 91 @ 0x1239 else 106 @ 0x122b 0x1204 87 rdi = 0x2007 {"3\n"} 0x120b 88 al = 0 0x120d 89 call(0x1030) 0x120d 90 goto 72 @ 0x1212 0x1239 91 eax = 0x85 {""} 0x123e 92 eax = eax - [rbp - 0xc {var_14}].d 0x1241 93 ecx = 7 0x1246 94 temp26.d:temp27.d = sx.q(eax) 0x1246 95 edx = temp26.d 0x1246 96 eax = temp27.d 0x1247 97 temp28.d = edx 0x1247 98 temp29.d = eax 0x1247 99 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx) 0x1247 100 temp30.d = edx 0x1247 101 temp31.d = eax 0x1247 102 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx) 0x1247 103 eax = temp0.d 0x1247 104 edx = temp1.d 0x124c 105 if (edx != 0) then 110 @ 0x1260 else 125 @ 0x1252 0x122b 106 rdi = 0x200a {"4\n"} 0x1232 107 al = 0 0x1234 108 call(0x1030) 0x1234 109 goto 91 @ 0x1239 0x1260 110 eax = 0xa4 {""} 0x1265 111 eax = eax - [rbp - 0xc {var_14}].d 0x1268 112 ecx = 7 0x126d 113 temp32.d:temp33.d = sx.q(eax) 0x126d 114 edx = temp32.d 0x126d 115 eax = temp33.d 0x126e 116 temp34.d = edx 0x126e 117 temp35.d = eax 0x126e 118 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx) 0x126e 119 temp36.d = edx 0x126e 120 temp37.d = eax 0x126e 121 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx) 0x126e 122 eax = temp0.d 0x126e 123 edx = temp1.d 0x1273 124 if (edx != 0) then 129 @ 0x1287 else 144 @ 0x1279 0x1252 125 rdi = 0x200d {"5\n"} 0x1259 126 al = 0 0x125b 127 call(0x1030) 0x125b 128 goto 110 @ 0x1260 0x1287 129 eax = 0xc2 {""} 0x128c 130 eax = eax - [rbp - 0xc {var_14}].d 0x128f 131 ecx = 7 0x1294 132 temp38.d:temp39.d = sx.q(eax) 0x1294 133 edx = temp38.d 0x1294 134 eax = temp39.d 0x1295 135 temp40.d = edx 0x1295 136 temp41.d = eax 0x1295 137 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx) 0x1295 138 temp42.d = edx 0x1295 139 temp43.d = eax 0x1295 140 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx) 0x1295 141 eax = temp0.d 0x1295 142 edx = temp1.d 0x129a 143 if (edx != 0) then 148 @ 0x12ae else 163 @ 0x12a0 0x1279 144 rdi = 0x2010 {"6\n"} 0x1280 145 al = 0 0x1282 146 call(0x1030) 0x1282 147 goto 129 @ 0x1287 0x12ae 148 eax = 0xe1 {""} 0x12b3 149 eax = eax - [rbp - 0xc {var_14}].d 0x12b6 150 ecx = 7 0x12bb 151 temp44.d:temp45.d = sx.q(eax) 0x12bb 152 edx = temp44.d 0x12bb 153 eax = temp45.d 0x12bc 154 temp46.d = edx 0x12bc 155 temp47.d = eax 0x12bc 156 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx) 0x12bc 157 temp48.d = edx 0x12bc 158 temp49.d = eax 0x12bc 159 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx) 0x12bc 160 eax = temp0.d 0x12bc 161 edx = temp1.d 0x12c1 162 if (edx != 0) then 167 @ 0x12d5 else 182 @ 0x12c7 0x12a0 163 rdi = 0x2013 {"7\n"} 0x12a7 164 al = 0 0x12a9 165 call(0x1030) 0x12a9 166 goto 148 @ 0x12ae 0x12d5 167 eax = 0x100 {""} 0x12da 168 eax = eax - [rbp - 0xc {var_14}].d 0x12dd 169 ecx = 7 0x12e2 170 temp50.d:temp51.d = sx.q(eax) 0x12e2 171 edx = temp50.d 0x12e2 172 eax = temp51.d 0x12e3 173 temp52.d = edx 0x12e3 174 temp53.d = eax 0x12e3 175 temp0.d = divs.dp.d(temp52.d:temp53.d, ecx) 0x12e3 176 temp54.d = edx 0x12e3 177 temp55.d = eax 0x12e3 178 temp1.d = mods.dp.d(temp54.d:temp55.d, ecx) 0x12e3 179 eax = temp0.d 0x12e3 180 edx = temp1.d 0x12e8 181 if (edx != 0) then 186 @ 0x12fc else 201 @ 0x12ee 0x12c7 182 rdi = 0x2016 {"8\n"} 0x12ce 183 al = 0 0x12d0 184 call(0x1030) 0x12d0 185 goto 167 @ 0x12d5 0x12fc 186 eax = 0x11e {""} 0x1301 187 eax = eax - [rbp - 0xc {var_14}].d 0x1304 188 ecx = 7 0x1309 189 temp56.d:temp57.d = sx.q(eax) 0x1309 190 edx = temp56.d 0x1309 191 eax = temp57.d 0x130a 192 temp58.d = edx 0x130a 193 temp59.d = eax 0x130a 194 temp0.d = divs.dp.d(temp58.d:temp59.d, ecx) 0x130a 195 temp60.d = edx 0x130a 196 temp61.d = eax 0x130a 197 temp1.d = mods.dp.d(temp60.d:temp61.d, ecx) 0x130a 198 eax = temp0.d 0x130a 199 edx = temp1.d 0x130f 200 if (edx != 0) then 205 @ 0x1323 else 220 @ 0x1315 0x12ee 201 rdi = 0x2019 {"9\n"} 0x12f5 202 al = 0 0x12f7 203 call(0x1030) 0x12f7 204 goto 186 @ 0x12fc 0x1323 205 eax = 0x13d {""} 0x1328 206 eax = eax - [rbp - 0xc {var_14}].d 0x132b 207 ecx = 7 0x1330 208 temp62.d:temp63.d = sx.q(eax) 0x1330 209 edx = temp62.d 0x1330 210 eax = temp63.d 0x1331 211 temp64.d = edx 0x1331 212 temp65.d = eax 0x1331 213 temp0.d = divs.dp.d(temp64.d:temp65.d, ecx) 0x1331 214 temp66.d = edx 0x1331 215 temp67.d = eax 0x1331 216 temp1.d = mods.dp.d(temp66.d:temp67.d, ecx) 0x1331 217 eax = temp0.d 0x1331 218 edx = temp1.d 0x1336 219 if (edx != 0) then 224 @ 0x134a else 239 @ 0x133c 0x1315 220 rdi = 0x201c {"10\n"} 0x131c 221 al = 0 0x131e 222 call(0x1030) 0x131e 223 goto 205 @ 0x1323 0x134a 224 eax = 0x15b {""} 0x134f 225 eax = eax - [rbp - 0xc {var_14}].d 0x1352 226 ecx = 7 0x1357 227 temp68.d:temp69.d = sx.q(eax) 0x1357 228 edx = temp68.d 0x1357 229 eax = temp69.d 0x1358 230 temp70.d = edx 0x1358 231 temp71.d = eax 0x1358 232 temp0.d = divs.dp.d(temp70.d:temp71.d, ecx) 0x1358 233 temp72.d = edx 0x1358 234 temp73.d = eax 0x1358 235 temp1.d = mods.dp.d(temp72.d:temp73.d, ecx) 0x1358 236 eax = temp0.d 0x1358 237 edx = temp1.d 0x135d 238 if (edx != 0) then 243 @ 0x1371 else 247 @ 0x1363 0x133c 239 rdi = 0x2020 {"11\n"} 0x1343 240 al = 0 0x1345 241 call(0x1030) 0x1345 242 goto 224 @ 0x134a 0x1371 243 eax = 0 0x1373 244 rsp = rsp + 0x10 0x1377 245 rbp = pop 0x1378 246 <return> jump(pop) 0x1363 247 rdi = 0x2024 {"12\n"} 0x136a 248 al = 0 0x136c 249 call(0x1030) 0x136c 250 goto 243 @ 0x1371 int64_t _fini(): 0x1380 0 rsp = rsp - 8 0x1384 1 rsp = rsp + 8 0x1388 2 <return> jump(pop)
POJ_50
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x108 0x1161 7 rdi = 0x2004 {"%d,%d"} 0x1168 8 rsi = rsp + 4 {var_134} 0x116d 9 rdx = rsp {var_138} 0x1170 10 eax = 0 0x1172 11 call(0x1040) 0x1177 12 r13d = [rsp + 4 {var_134}].d 0x117f 13 if (r13d s<= 0) then 14 @ 0x1629 else 26 @ 0x1185 0x1629 14 rdi = 0x2010 {"No"} 0x1630 15 eax = 0 0x1632 16 call(0x1030) 0x1637 17 eax = 0 0x1639 18 rsp = rsp + 0x108 0x1640 19 rbx = pop 0x1641 20 r12 = pop 0x1643 21 r13 = pop 0x1645 22 r14 = pop 0x1647 23 r15 = pop 0x1649 24 rbp = pop 0x164a 25 <return> jump(pop) 0x1185 26 eax = [rsp {var_138}].d 0x118a 27 if (eax s<= 0) then 28 @ 0x1520 else 40 @ 0x1190 0x1520 28 r9d = [rsp + 0x40 {var_f8}].d 0x1525 29 r14d = r13d 0x1528 30 r10 = r14 - 1 0x152c 31 r11d = r14d 0x152f 32 r11d = r11d & 3 0x1533 33 r14d = r14d & 0xfffffffc 0x1537 34 rax = r11 + (r11 << 3) 0x153b 35 r15 = rax + (rax << 1) 0x153f 36 r15 = r15 + r11 0x1542 37 esi = 0 0x1544 38 r8 = rsp + 0x40 {var_f8} 0x1549 39 goto 44 @ 0x1550 0x1190 40 r15 = rsp + 0x40 {var_f8} 0x1195 41 r14 = 0x200d {"%d"} 0x119c 42 r12d = 0 0x119f 43 goto 46 @ 0x11c2 0x1550 44 ebx = 0 0x1556 45 if (r10 u>= 3) then 47 @ 0x1560 else 51 @ 0x1558 0x11c2 46 if (eax s<= 0) then 54 @ 0x11b0 else 58 @ 0x11c4 0x1560 47 rdi = r8 {var_f8} 0x1563 48 edx = r9d 0x1566 49 eax = 0 0x1568 50 goto 61 @ 0x157f 0x1558 51 edx = r9d 0x155b 52 eax = 0 0x155d 53 goto 64 @ 0x15d6 0x11b0 54 r12 = r12 + 1 0x11b4 55 rcx = sx.q(r13d) 0x11b7 56 r15 = r15 + 0x1c 0x11be 57 if (r12 s>= rcx) then 65 @ 0x11f8 else 46 @ 0x11c2 0x11c4 58 rbx = r15 0x11c7 59 ebp = 0 0x11c9 60 goto 66 @ 0x11d0 0x157f 61 ecx = [rdi].d 0x1581 62 cond:0 = edx s> ecx 0x1583 63 if (edx s> ecx) then 74 else 76 @ 0x1586 0x15d6 64 if (r11 == 0) then 78 @ 0x1609 else 79 @ 0x15d8 0x11f8 65 if (r13d s<= 0) then 14 @ 0x1629 else 86 @ 0x11fe 0x11d0 66 rdi = r14 0x11d3 67 rsi = rbx 0x11d6 68 eax = 0 0x11d8 69 call(0x1040) 0x11dd 70 rbp = rbp + 1 0x11e1 71 rax = sx.q([rsp {var_138}].d) 0x11e5 72 rbx = rbx + 4 0x11ec 73 if (rbp s< rax) then 66 @ 0x11d0 else 88 @ 0x11ee 0x1583 74 eax = ebx 0x1583 75 goto 76 @ 0x1586 0x1586 76 ebp = [rdi + 0x1c].d 0x1589 77 if (cond:0) then 90 else 92 @ 0x158e 0x1609 78 if (esi == eax) then 93 @ 0x1619 else 95 @ 0x160b 0x15d8 79 rcx = rbx + (rbx << 3) 0x15dc 80 rcx = rcx + (rcx << 1) 0x15e0 81 rcx = rcx + rbx 0x15e3 82 rdi = rsp + rcx 0x15e7 83 rdi = rdi + 0x40 0x15eb 84 ecx = 0 0x15ed 85 goto 97 @ 0x15f0 0x11fe 86 ecx = [rsp {var_138}].d 0x1203 87 if (ecx s<= 0) then 28 @ 0x1520 else 100 @ 0x1209 0x11ee 88 r13d = [rsp + 4 {var_134}].d 0x11f3 89 goto 54 @ 0x11b0 0x1589 90 edx = ecx 0x1589 91 goto 92 @ 0x158e 0x158e 92 if (edx s> ebp) then 124 @ 0x15b0 else 127 @ 0x1590 0x1619 93 edx = 0 0x1619 94 goto 130 @ 0x161b 0x160b 95 esi = esi + 1 0x1611 96 if (esi != r13d) then 44 @ 0x1550 else 134 @ 0x1617 0x15f0 97 ebp = [rdi + rcx].d 0x15f3 98 cond:1 = edx s> ebp 0x15f5 99 if (edx s> ebp) then 135 else 137 @ 0x15f8 0x1209 100 eax = r13d 0x120c 101 r11 = rcx - 1 0x1210 102 rdx = rcx 0x1213 103 rdx = rdx - 2 0x1217 104 [rsp + 0x20 {var_118_1}].q = rdx 0x121c 105 r14 = rax - 1 0x1220 106 [rsp + 0x30 {var_108_1}].q = rax 0x1225 107 rax = rax - 2 0x1229 108 [rsp + 0x18 {var_120_1}].q = rax 0x122e 109 eax = r11d 0x1231 110 eax = eax & 3 0x1234 111 [rsp + 8 {var_130_1}].q = rax 0x1239 112 r11 = r11 & 0xfffffffffffffffc 0x123d 113 edx = r14d 0x1240 114 edx = edx & 3 0x1243 115 r14 = r14 & 0xfffffffffffffffc 0x1247 116 rax = rdx + (rdx << 3) 0x124b 117 r10 = rax + (rax << 1) 0x124f 118 [rsp + 0x10 {var_128_1}].q = rdx 0x1254 119 r10 = r10 + rdx 0x1257 120 r9 = rsp + 0x40 {var_f8} 0x125c 121 esi = 0 0x125e 122 [rsp + 0x38 {var_100_1}].q = rcx 0x126d 123 goto 138 @ 0x1270 0x15b0 124 eax = (rbx + 1).d 0x15b3 125 ecx = [rdi + 0x38].d 0x15b8 126 if (ebp s> ecx) then 140 @ 0x1599 else 143 @ 0x15ba 0x1590 127 ebp = edx 0x1592 128 ecx = [rdi + 0x38].d 0x1597 129 if (ebp s<= ecx) then 143 @ 0x15ba else 140 @ 0x1599 0x161b 130 rdi = 0x200a {"%d+%d"} 0x1622 131 eax = 0 0x1624 132 call(0x1030) 0x1624 133 goto 14 @ 0x1629 0x1617 134 goto 14 @ 0x1629 0x15f5 135 eax = ebx 0x15f5 136 goto 137 @ 0x15f8 0x15f8 137 if (cond:1) then 146 else 148 @ 0x15fb 0x1270 138 edx = 0 0x1278 139 if (ecx == 1) then 151 @ 0x12f0 else 153 @ 0x127a 0x1599 140 eax = (rbx + 2).d 0x159c 141 edx = [rdi + 0x54].d 0x15a1 142 if (ecx s<= edx) then 158 @ 0x1570 else 162 @ 0x15a3 0x15ba 143 ecx = ebp 0x15bc 144 edx = [rdi + 0x54].d 0x15c1 145 if (ecx s<= edx) then 158 @ 0x1570 else 163 @ 0x15c3 0x15f8 146 edx = ebp 0x15f8 147 goto 148 @ 0x15fb 0x15fb 148 ebx = ebx + 1 0x15fe 149 rcx = rcx + 0x1c 0x1605 150 if (r15 != rcx) then 97 @ 0x15f0 else 78 @ 0x1609 0x12f0 151 edi = 0 0x12f6 152 if (r13d == 1) then 167 @ 0x1390 else 169 @ 0x12fc 0x127a 153 rax = rsi + (rsi << 3) 0x127e 154 rax = rax + (rax << 1) 0x1282 155 rax = rax + rsi 0x1285 156 r15d = [rsp + rax + 0x40].d 0x1290 157 if ([rsp + 0x20 {var_118_1}].q u>= 3) then 174 @ 0x13c0 else 181 @ 0x1296 0x1570 158 edx = ecx 0x1572 159 rbx = rbx + 4 0x1576 160 rdi = rdi + 0x70 0x157d 161 if (rbx == r14) then 64 @ 0x15d6 else 61 @ 0x157f 0x15a3 162 goto 163 @ 0x15c3 0x15c3 163 eax = (rbx + 3).d 0x15c6 164 rbx = rbx + 4 0x15ca 165 rdi = rdi + 0x70 0x15d1 166 if (rbx != r14) then 61 @ 0x157f else 64 @ 0x15d6 0x1390 167 eax = edi 0x1395 168 if (rsi == rax) then 130 @ 0x161b else 186 @ 0x139b 0x12fc 169 rcx = sx.q(edx) 0x12ff 170 r8d = [rsp + (rcx << 2) + 0x40].d 0x1304 171 cond:2 = [rsp + 0x18 {var_120_1}].q u>= 3 0x130a 172 [rsp + 0x28 {var_110_1}].q = rcx 0x130f 173 if (cond:2) then 191 @ 0x1480 else 198 @ 0x1315 0x13c0 174 r12d = 0 0x13c3 175 ebp = 1 0x13c8 176 edx = 1 0x13cd 177 r8d = 0 0x13d0 178 ebx = r15d 0x13d3 179 eax = 0 0x13d5 180 goto 203 @ 0x13fb 0x1296 181 edi = 0 0x1298 182 ebp = 1 0x129d 183 r8d = 0 0x12a0 184 ebx = r15d 0x12a0 185 goto 204 @ 0x12a3 0x139b 186 rsi = rsi + 1 0x139f 187 r9 = r9 + 0x1c 0x13a3 188 cond:3 = rsi != [rsp + 0x30 {var_108_1}].q 0x13a8 189 rcx = [rsp + 0x38 {var_100_1}].q 0x13ad 190 if (cond:3) then 138 @ 0x1270 else 206 @ 0x13b3 0x1480 191 rax = rsp + 0xb0 {var_88} 0x1488 192 rcx = rax + (rcx << 2) 0x148c 193 r12d = 0 0x148f 194 ebp = 1 0x1494 195 eax = 0 0x1496 196 r15d = r8d 0x1499 197 goto 207 @ 0x14b3 0x1315 198 r12d = 0 0x1318 199 ebp = 1 0x131d 200 eax = 0 0x131f 201 r15d = r8d 0x131f 202 goto 208 @ 0x1322 0x13fb 203 if ((r8b & 1) == 0) then 210 @ 0x1430 else 214 @ 0x13fd 0x12a3 204 edx = edi 0x12ab 205 if ([rsp + 8 {var_130_1}].q == 0) then 151 @ 0x12f0 else 217 @ 0x12ad 0x13b3 206 goto 14 @ 0x1629 0x14b3 207 if ((al & 1) == 0) then 219 @ 0x14e0 else 223 @ 0x14b5 0x1322 208 edi = r12d 0x132b 209 if ([rsp + 0x10 {var_128_1}].q == 0) then 167 @ 0x1390 else 226 @ 0x132d 0x1430 210 ebx = r15d 0x1433 211 ecx = [r9 + (rbp << 2)].d 0x1437 212 edi = edx 0x143b 213 if (ebx s< ecx) then 236 @ 0x1407 else 238 @ 0x143d 0x13fd 214 ecx = [r9 + (rbp << 2)].d 0x1401 215 edi = edx 0x1405 216 if (ebx s>= ecx) then 238 @ 0x143d else 236 @ 0x1407 0x12ad 217 rax = [rsp + 8 {var_130_1}].q 0x12b2 218 goto 242 @ 0x12d0 0x14e0 219 r15d = r8d 0x14e3 220 eax = [rcx - 0x54].d 0x14e6 221 edi = ebp 0x14eb 222 if (r15d s> eax) then 243 @ 0x14bf else 245 @ 0x14ed 0x14b5 223 eax = [rcx - 0x54].d 0x14b8 224 edi = ebp 0x14bd 225 if (r15d s<= eax) then 245 @ 0x14ed else 243 @ 0x14bf 0x132d 226 rcx = rbp << 3 0x1335 227 rcx = rcx + rbp 0x1338 228 rcx = rcx + (rcx << 1) 0x133c 229 rcx = rcx + rbp 0x133f 230 rcx = rcx + rsp 0x1342 231 rcx = rcx + 0x40 0x1346 232 rdi = [rsp + 0x28 {var_110_1}].q 0x134b 233 rcx = rcx + (rdi << 2) 0x134f 234 ebx = 0 0x1351 235 goto 249 @ 0x1371 0x1407 236 ebx = [r9 + (rbp << 2) + 4].d 0x140e 237 if (ecx s< ebx) then 250 @ 0x144b else 253 @ 0x1410 0x143d 238 edi = r12d 0x1440 239 ecx = ebx 0x1442 240 ebx = [r9 + (rbp << 2) + 4].d 0x1449 241 if (ecx s>= ebx) then 253 @ 0x1410 else 250 @ 0x144b 0x12d0 242 if ((r8b & 1) != 0) then 256 else 258 @ 0x12d4 0x14bf 243 ebx = [rcx - 0x38].d 0x14c4 244 if (eax s> ebx) then 263 @ 0x14fa else 266 @ 0x14c6 0x14ed 245 edi = r12d 0x14f0 246 eax = r15d 0x14f3 247 ebx = [rcx - 0x38].d 0x14f8 248 if (eax s<= ebx) then 266 @ 0x14c6 else 263 @ 0x14fa 0x1371 249 if ((al & 1) != 0) then 269 else 271 @ 0x1375 0x144b 250 edi = (rbp + 1).d 0x144e 251 r15d = [r9 + (rbp << 2) + 8].d 0x1456 252 if (ebx s< r15d) then 276 @ 0x141c else 281 @ 0x1458 0x1410 253 ebx = ecx 0x1412 254 r15d = [r9 + (rbp << 2) + 8].d 0x141a 255 if (ebx s>= r15d) then 281 @ 0x1458 else 276 @ 0x141c 0x12d0 256 r15d = ebx 0x12d0 257 goto 258 @ 0x12d4 0x12d4 258 ebx = [r9 + (rbp << 2)].d 0x12d8 259 edx = ebp 0x12da 260 cond:4 = r15d s< ebx 0x12dd 261 r8b = r15d s< ebx 0x12e1 262 if (cond:4) then 286 @ 0x12c0 else 291 @ 0x12e3 0x14fa 263 edi = (rbp + 1).d 0x14fd 264 r8d = [rcx - 0x1c].d 0x1504 265 if (ebx s> r8d) then 293 @ 0x14d1 else 295 @ 0x1506 0x14c6 266 ebx = eax 0x14c8 267 r8d = [rcx - 0x1c].d 0x14cf 268 if (ebx s<= r8d) then 295 @ 0x1506 else 293 @ 0x14d1 0x1371 269 r8d = r15d 0x1371 270 goto 271 @ 0x1375 0x1375 271 r15d = [rcx + rbx].d 0x1379 272 edi = ebp 0x137b 273 cond:5 = r8d s> r15d 0x137e 274 al = r8d s> r15d 0x1381 275 if (cond:5) then 297 @ 0x1360 else 301 @ 0x1383 0x141c 276 edi = (rbp + 2).d 0x141f 277 ebx = [r9 + (rbp << 2) + 0xc].d 0x1424 278 cond:6 = r15d s>= ebx 0x1427 279 r8b = r15d s< ebx 0x142b 280 if (cond:6) then 303 @ 0x13e0 else 308 @ 0x142d 0x1458 281 r15d = ebx 0x145b 282 ebx = [r9 + (rbp << 2) + 0xc].d 0x1460 283 cond:7 = r15d s>= ebx 0x1463 284 r8b = r15d s< ebx 0x1467 285 if (cond:7) then 303 @ 0x13e0 else 309 @ 0x146d 0x12c0 286 rbp = rbp + 1 0x12c4 287 edi = edx 0x12c6 288 temp0.q = rax 0x12c6 289 rax = rax - 1 0x12ca 290 if (temp0.q == 1) then 151 @ 0x12f0 else 242 @ 0x12d0 0x12e3 291 edx = edi 0x12e5 292 goto 286 @ 0x12c0 0x14d1 293 edi = (rbp + 2).d 0x14d4 294 goto 311 @ 0x1509 0x1506 295 r8d = ebx 0x1506 296 goto 311 @ 0x1509 0x1360 297 ebp = ebp + 1 0x1363 298 rbx = rbx + 0x1c 0x1367 299 r12d = edi 0x136d 300 if (r10 == rbx) then 167 @ 0x1390 else 249 @ 0x1371 0x1383 301 edi = r12d 0x1386 302 goto 297 @ 0x1360 0x13e0 303 rbp = rbp + 4 0x13e4 304 rax = rax + 4 0x13e8 305 edx = edx + 4 0x13eb 306 r12d = edi 0x13f1 307 if (rax == r11) then 204 @ 0x12a3 else 203 @ 0x13fb 0x142d 308 goto 309 @ 0x146d 0x146d 309 edi = (rbp + 3).d 0x1470 310 goto 303 @ 0x13e0 0x1509 311 r15d = [rcx].d 0x150c 312 rbx = rbp + 3 0x1510 313 r12d = ebx 0x1513 314 cond:8 = r8d s> r15d 0x1516 315 al = r8d s> r15d 0x1519 316 if (cond:8) then 317 @ 0x14a0 else 320 @ 0x151b 0x14a0 317 rbp = rbp + 4 0x14a4 318 rcx = rcx + 0x70 0x14ab 319 if (rbx == r14) then 208 @ 0x1322 else 207 @ 0x14b3 0x151b 320 r12d = edi 0x151e 321 goto 317 @ 0x14a0 int64_t _fini(): 0x1650 0 rsp = rsp - 8 0x1654 1 rsp = rsp + 8 0x1658 2 <return> jump(pop)
POJ_35
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHXH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x58 0x116e 7 rdi = 0x2038 {"%d"} 0x1175 8 rsi = rsp + 0xc {var_7c} 0x117a 9 eax = 0 0x117c 10 call(0x1040) 0x1186 11 if ([rsp + 0xc {var_7c}].d s<= 0) then 12 @ 0x13ac else 21 @ 0x118c 0x13ac 12 eax = 0 0x13ae 13 rsp = rsp + 0x58 0x13b2 14 rbx = pop 0x13b3 15 r12 = pop 0x13b5 16 r13 = pop 0x13b7 17 r14 = pop 0x13b9 18 r15 = pop 0x13bb 19 rbp = pop 0x13bc 20 <return> jump(pop) 0x118c 21 r14 = 0x203b {"%f%f%f"} 0x1193 22 r15 = rsp + 4 {var_84} 0x1198 23 r12 = rsp + 8 {var_80} 0x119d 24 rbx = rsp + 0x2c {var_5c} 0x11a2 25 r13 = 0x2042 {"x1=x2=%.5f\n"} 0x11a9 26 ebp = 0 0x11ab 27 goto 28 @ 0x11dd 0x11dd 28 rdi = r14 0x11e0 29 rsi = r15 {var_84} 0x11e3 30 rdx = r12 {var_80} 0x11e6 31 rcx = rbx {var_5c} 0x11e9 32 eax = 0 0x11eb 33 call(0x1040) 0x11f0 34 xmm2 = [rsp + 8 {var_80}].d 0x11f6 35 xmm3 = [rsp + 4 {var_84}].d 0x11fc 36 xmm1 = xmm3 0x11ff 37 xmm1.d = xmm1.d f* fconvert.t([0x2004].d) 0x1207 38 xmm1.d = xmm1.d f* fconvert.t([rsp + 0x2c {var_5c}].d) 0x120d 39 xmm0 = xmm2 0x1210 40 xmm0.d = xmm0.d f* xmm2.d 0x1214 41 xmm0.d = xmm0.d f+ xmm1.d 0x1218 42 flag:p = is_unordered.d(xmm0.d, fconvert.t([0x2008].d)) 0x1218 43 flag:c = xmm0.d f< fconvert.t([0x2008].d) | is_unordered.d(xmm0.d, fconvert.t([0x2008].d)) 0x1218 44 flag:z = xmm0.d f== fconvert.t([0x2008].d) | is_unordered.d(xmm0.d, fconvert.t([0x2008].d)) 0x1218 45 flag:s = 0 0x1218 46 flag:o = 0 0x1218 47 flag:a = 0 0x121f 48 if (not(flag:z)) then 49 @ 0x1223 else 53 @ 0x1221 0x1223 49 xmm1 = 0 0x1226 50 xmm1.q = fconvert.d(xmm0.d) 0x122a 51 xmm2 = xmm2 ^ [0x2010].o 0x1231 52 if (flag:z || flag:c) then 54 @ 0x130b else 63 @ 0x1237 0x1221 53 if (not(flag:p)) then 75 @ 0x11b0 else 49 @ 0x1223 0x130b 54 xmm0 = zx.o([0x2030].q) 0x1313 55 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1313 56 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1313 57 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1313 58 flag:s = 0 0x1313 59 flag:o = 0 0x1313 60 flag:a = 0 0x1317 61 xmm1 = __xorpd_xmmxuq_memxuq(xmm1, [0x2020].o) 0x131f 62 if (flag:c) then 85 @ 0x1327 else 93 @ 0x1321 0x1237 63 xmm4 = 0 0x123a 64 xmm4 = _mm_sqrt_sd(xmm1.q) 0x123e 65 xmm0 = 0 0x1241 66 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x1241 67 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1241 68 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1241 69 flag:s = 0 0x1241 70 flag:o = 0 0x1241 71 flag:a = 0 0x1245 72 xmm3 = xmm4 0x1249 73 [rsp + 0x30 {var_58}].o = xmm2 0x124e 74 if (not(flag:c)) then 95 @ 0x1279 else 104 @ 0x1250 0x11b0 75 xmm2 = xmm2 ^ [0x2010].o 0x11b7 76 xmm3.d = xmm3.d f+ xmm3.d 0x11bb 77 xmm2.d = xmm2.d f/ xmm3.d 0x11bf 78 xmm0 = 0 0x11c2 79 xmm0.q = fconvert.d(xmm2.d) 0x11c6 80 rdi = r13 0x11c9 81 al = 1 0x11cb 82 call(0x1030) 0x11d0 83 ebp = ebp + 1 0x11d7 84 if (ebp s>= [rsp + 0xc {var_7c}].d) then 12 @ 0x13ac else 28 @ 0x11dd 0x1327 85 xmm0 = xmm1 0x132b 86 [rsp + 0x30 {var_58}].o = xmm2 0x1330 87 [rsp + 0x10 {var_78}].d = xmm3.d 0x1336 88 call(0x1050) 0x133b 89 xmm3 = [rsp + 0x10 {var_78}].d 0x1341 90 xmm2 = [rsp + 0x30 {var_58}].o 0x1346 91 xmm1 = xmm0 0x1346 92 goto 114 @ 0x134a 0x1321 93 xmm1 = _mm_sqrt_sd(xmm1.q) 0x1325 94 goto 114 @ 0x134a 0x1279 95 xmm6 = [rsp + 4 {var_84}].d 0x127f 96 xmm5 = [rsp + 8 {var_80}].d 0x1285 97 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x1285 98 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1285 99 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1285 100 flag:s = 0 0x1285 101 flag:o = 0 0x1285 102 flag:a = 0 0x1289 103 if (not(flag:c)) then 131 @ 0x12bd else 149 @ 0x128b 0x1250 104 xmm0 = xmm1 0x1253 105 [rsp + 0x10 {var_78}].o = xmm1 0x1258 106 [rsp + 0x40 {var_48}].q = xmm4.q 0x125e 107 call(0x1050) 0x1263 108 xmm4 = zx.o([rsp + 0x40 {var_48}].q) 0x1269 109 xmm1 = [rsp + 0x10 {var_78}].o 0x126e 110 xmm2 = [rsp + 0x30 {var_58}].o 0x1273 111 xmm3 = xmm0 0x1276 112 xmm0 = 0 0x1276 113 goto 95 @ 0x1279 0x134a 114 xmm3.d = xmm3.d f+ xmm3.d 0x134e 115 xmm2.d = xmm2.d f/ xmm3.d 0x1352 116 xmm0 = 0 0x1355 117 xmm0.q = fconvert.d(xmm2.d) 0x1359 118 [rsp + 0x30 {var_58[0]}].q = xmm0.q 0x135f 119 xmm2 = [rsp + 4 {var_84}].d 0x1365 120 xmm2.d = xmm2.d f+ xmm2.d 0x1369 121 xmm2.q = fconvert.d(xmm2.d) 0x136d 122 xmm1.q = xmm1.q f/ xmm2.q 0x1371 123 rdi = 0x205f {"x1=%.5f+%.5fi;"} 0x1378 124 [rsp + 0x10 {var_78}].q = xmm1.q 0x137e 125 al = 2 0x1380 126 call(0x1030) 0x1385 127 rdi = 0x206e {"x2=%.5f-%.5fi\n"} 0x138c 128 xmm0 = zx.o([rsp + 0x30 {var_58[0]}].q) 0x1392 129 xmm1 = zx.o([rsp + 0x10 {var_78}].q) 0x1392 130 goto 160 @ 0x1398 0x12bd 131 xmm0 = 0 0x12c0 132 xmm0.q = fconvert.d(xmm2.d) 0x12c4 133 xmm3.q = xmm3.q f+ xmm0.q 0x12c8 134 xmm6.d = xmm6.d f+ xmm6.d 0x12cc 135 xmm0 = 0 0x12cf 136 xmm0.q = fconvert.d(xmm6.d) 0x12d3 137 xmm3.q = xmm3.q f/ xmm0.q 0x12d7 138 xmm5 = xmm5 ^ [0x2010].o 0x12de 139 xmm1 = 0 0x12e1 140 xmm1.q = fconvert.d(xmm5.d) 0x12e5 141 xmm1.q = xmm1.q f- xmm4.q 0x12e9 142 xmm0 = [rsp + 4 {var_84}].d 0x12ef 143 xmm0.d = xmm0.d f+ xmm0.d 0x12f3 144 xmm0.q = fconvert.d(xmm0.d) 0x12f7 145 xmm1.q = xmm1.q f/ xmm0.q 0x12fb 146 rdi = 0x204e {"x1=%.5f;x2=%.5f\n"} 0x1302 147 xmm0 = xmm3 0x1306 148 goto 160 @ 0x1398 0x128b 149 xmm0 = xmm1 0x128e 150 [rsp + 0x10 {var_78}].q = xmm3.q 0x1294 151 [rsp + 0x40 {var_48}].o = xmm5 0x1299 152 [rsp + 0x28 {var_60_1}].d = xmm6.d 0x129f 153 call(0x1050) 0x12a4 154 xmm6 = [rsp + 0x28 {var_60_1}].d 0x12aa 155 xmm5 = [rsp + 0x40 {var_48}].o 0x12af 156 xmm3 = zx.o([rsp + 0x10 {var_78}].q) 0x12b5 157 xmm2 = [rsp + 0x30 {var_58}].o 0x12ba 158 xmm4 = xmm0 0x12ba 159 goto 131 @ 0x12bd 0x1398 160 al = 2 0x139a 161 call(0x1030) 0x139f 162 ebp = ebp + 1 0x13a6 163 if (ebp s< [rsp + 0xc {var_7c}].d) then 28 @ 0x11dd else 12 @ 0x13ac int64_t _fini(): 0x13c4 0 rsp = rsp - 8 0x13c8 1 rsp = rsp + 8 0x13cc 2 <return> jump(pop)
POJ_27
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r13) 0x1166 3 push(r12) 0x1168 4 push(rbx) 0x1169 5 rsp = rsp - 0x1f0 0x1170 6 rdi = 0x2004 {"%d"} 0x1177 7 rsi = rsp + 0xc {var_20c} 0x117c 8 eax = 0 0x117e 9 call(0x1040) 0x1188 10 if ([rsp + 0xc {var_20c}].d s<= 0) then 11 @ 0x12b2 else 19 @ 0x118e 0x12b2 11 eax = 0 0x12b4 12 rsp = rsp + 0x1f0 0x12bb 13 rbx = pop 0x12bc 14 r12 = pop 0x12be 15 r13 = pop 0x12c0 16 r14 = pop 0x12c2 17 r15 = pop 0x12c4 18 <return> jump(pop) 0x118e 19 rbx = rsp + 0x60 {var_1b8} 0x1193 20 r14 = 0x2007 {"%s"} 0x119a 21 r12d = 0 0x119d 22 goto 23 @ 0x11c5 0x11c5 23 r13 = r12 + (r12 << 2) 0x11c9 24 r15 = rsp + (r13 << 2) 0x11cd 25 r15 = r15 + 0x60 0x11d1 26 rdi = r14 0x11d4 27 rsi = r15 0x11d7 28 eax = 0 0x11d9 29 call(0x1040) 0x11de 30 rdi = r15 0x11e1 31 call(0x1030) 0x11e6 32 cl = [rsp + (r13 << 2) + 0x60].b 0x11eb 33 edx = (rcx - 0x61).d 0x11f1 34 if (dl u< 0x1a) then 35 @ 0x1203 else 36 @ 0x11f6 0x1203 35 if (eax s< 2) then 37 @ 0x11af else 41 @ 0x1205 0x11f6 36 if (cl == 0x5f) then 35 @ 0x1203 else 47 @ 0x11f8 0x11af 37 r12 = r12 + 1 0x11b3 38 rax = sx.q([rsp + 0xc {var_20c}].d) 0x11b8 39 rbx = rbx + 0x14 0x11bf 40 if (r12 s>= rax) then 49 @ 0x1270 else 23 @ 0x11c5 0x1205 41 edx = (rax - 1).d 0x1208 42 r8 = rsp + (r12 << 2) 0x120c 43 r8 = r8 + 0x10 0x1210 44 eax = eax 0x1212 45 esi = 1 0x1217 46 goto 50 @ 0x1229 0x11f8 47 cl = cl - 0x41 0x11fe 48 if (cl u> 0x19) then 53 @ 0x11a0 else 35 @ 0x1203 0x1270 49 if (eax s<= 0) then 11 @ 0x12b2 else 56 @ 0x1272 0x1229 50 edi = zx.d([rbx + rsi].b) 0x122d 51 ecx = (rdi - 0x61).d 0x1233 52 if (cl u< 0x1a) then 60 @ 0x1263 else 61 @ 0x1235 0x11a0 53 r8 = rsp + (r12 << 2) 0x11a4 54 r8 = r8 + 0x10 0x11a4 55 goto 63 @ 0x11a8 0x1272 56 ebx = 0 0x1274 57 r14 = 0x200e {"no"} 0x127b 58 r15 = 0x200a {"yes"} 0x1282 59 goto 65 @ 0x12a3 0x1263 60 if (rdx != rsi) then 68 @ 0x1220 else 70 @ 0x1265 0x1235 61 ecx = (rdi - 0x30).d 0x123b 62 if (cl u< 0xa) then 60 @ 0x1263 else 72 @ 0x1241 0x11a8 63 [r8].d = 0 0x11a8 64 goto 37 @ 0x11af 0x12a3 65 cond:0 = [rsp + (rbx << 2) + 0x10].d == 0 0x12a8 66 rdi = r14 0x12ab 67 if (cond:0) then 73 @ 0x1290 else 77 @ 0x12ad 0x1220 68 rsi = rsi + 1 0x1227 69 if (rax == rsi) then 37 @ 0x11af else 50 @ 0x1229 0x1265 70 [r8].d = 1 0x126c 71 goto 68 @ 0x1220 0x1241 72 if (dil == 0x5f) then 60 @ 0x1263 else 79 @ 0x1243 0x1290 73 call(0x1050) 0x1295 74 rbx = rbx + 1 0x1299 75 rax = sx.q([rsp + 0xc {var_20c}].d) 0x12a1 76 if (rbx s>= rax) then 11 @ 0x12b2 else 65 @ 0x12a3 0x12ad 77 rdi = r15 0x12b0 78 goto 73 @ 0x1290 0x1243 79 dil = dil - 0x41 0x124b 80 if (dil u> 0x19) then 63 @ 0x11a8 else 81 @ 0x125b 0x125b 81 goto 60 @ 0x1263 int64_t _fini(): 0x12cc 0 rsp = rsp - 8 0x12d0 1 rsp = rsp + 8 0x12d4 2 <return> jump(pop)
POJ_85
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVAUATSH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0xfc8 0x1181 7 rdi = rsp + 0x20 {var_fd8} 0x1186 8 r15d = 0 0x1189 9 edx = 0x190 {""} 0x118e 10 esi = 0 0x1190 11 call(0x1050) 0x1195 12 rdi = 0x2004 {"%d"} 0x119c 13 rsi = rsp + 4 {var_ff4} 0x11a1 14 eax = 0 0x11a3 15 call(0x1060) 0x11ad 16 if ([rsp + 4 {var_ff4}].d s<= 0) then 17 @ 0x1313 else 20 @ 0x11b3 0x1313 17 eax = 0 0x1315 18 ecx = 0 0x1315 19 goto 26 @ 0x1317 0x11b3 20 rbx = rsp + 0x1c4 {var_e34} 0x11bb 21 r13d = 0 0x11be 22 ecx = 0 0x11c0 23 r12d = 0 0x11c3 24 r15d = 0 0x11c6 25 goto 41 @ 0x11f9 0x1317 26 rax = rax + (rax << 3) 0x131b 27 rsi = rsp + (rax << 2) 0x131f 28 rsi = rsi + 0x1b0 0x1326 29 rdi = 0x200d {"%s\n%d\n%d\n"} 0x132d 30 edx = r15d 0x1330 31 eax = 0 0x1332 32 call(0x1030) 0x1337 33 rsp = rsp + 0xfc8 0x133e 34 rbx = pop 0x133f 35 r12 = pop 0x1341 36 r13 = pop 0x1343 37 r14 = pop 0x1345 38 r15 = pop 0x1347 39 rbp = pop 0x1348 40 <return> jump(pop) 0x11f9 41 [rsp + 0x18 {var_fe0_1}].q = rcx 0x11fe 42 rsi = rbx - 0x14 0x1202 43 rdi = 0x2007 {"%s"} 0x1209 44 eax = 0 0x120b 45 call(0x1060) 0x1210 46 rbp = 0x2004 {"%d"} 0x1217 47 rdi = rbp 0x121a 48 rsi = rbx 0x121d 49 eax = 0 0x121f 50 call(0x1060) 0x1224 51 r14 = rbx + 4 0x1228 52 rdi = rbp 0x122b 53 rsi = r14 0x122e 54 eax = 0 0x1230 55 call(0x1060) 0x1235 56 eax = 0 0x1237 57 call(0x1040) 0x123c 58 rsi = rbx + 8 0x1240 59 rbp = 0x200a {"%c"} 0x1247 60 rdi = rbp 0x124a 61 [rsp + 0x10 {var_fe8_1}].q = rsi 0x124f 62 eax = 0 0x1251 63 call(0x1060) 0x1256 64 eax = 0 0x1258 65 call(0x1040) 0x125d 66 rsi = rbx + 9 0x1261 67 rdi = rbp 0x1264 68 [rsp + 8 {var_ff0_1}].q = rsi 0x1269 69 eax = 0 0x126b 70 call(0x1060) 0x1270 71 rbp = rbx + 0xc 0x1274 72 rdi = 0x2004 {"%d"} 0x127b 73 rsi = rbp 0x127e 74 eax = 0 0x1280 75 call(0x1060) 0x1285 76 eax = [rbx].d 0x128a 77 if (eax s< 0x51) then 78 @ 0x12c0 else 81 @ 0x1290 0x12c0 78 cond:0 = [r14].d s< 0x51 0x12c4 79 rcx = [rsp + 0x18 {var_fe0_1}].q 0x12c9 80 if (cond:0) then 82 @ 0x11d0 else 86 @ 0x12cf 0x1290 81 if ([rbp].d s<= 0) then 88 @ 0x129e else 89 @ 0x1292 0x11d0 82 rax = sx.q([rsp + (r13 << 2) + 0x20].d) 0x11d5 83 rcx = rcx + rax 0x11d8 84 cond:1 = eax s> r15d 0x11db 85 if (eax s> r15d) then 91 else 93 @ 0x11df 0x12cf 86 rax = [rsp + 0x10 {var_fe8_1}].q 0x12d7 87 if ([rax].b != 0x59) then 82 @ 0x11d0 else 94 @ 0x12dd 0x129e 88 if (eax u< 0x56) then 78 @ 0x12c0 else 96 @ 0x12a4 0x1292 89 [rsp + (r13 << 2) + 0x20].d = [rsp + (r13 << 2) + 0x20].d + 0x1f40 0x1292 90 goto 88 @ 0x129e 0x11db 91 r15d = eax 0x11db 92 goto 93 @ 0x11df 0x11df 93 if (cond:1) then 97 else 99 @ 0x11e3 0x12dd 94 [rsp + (r13 << 2) + 0x20].d = [rsp + (r13 << 2) + 0x20].d + 0x352 0x12e6 95 goto 82 @ 0x11d0 0x12a4 96 if ([r14].d s>= 0x51) then 103 @ 0x12eb else 105 @ 0x12a9 0x11df 97 r12d = r13d 0x11df 98 goto 99 @ 0x11e3 0x11e3 99 r13 = r13 + 1 0x11e7 100 rax = sx.q([rsp + 4 {var_ff4}].d) 0x11ec 101 rbx = rbx + 0x24 0x11f3 102 if (r13 s>= rax) then 106 @ 0x130e else 41 @ 0x11f9 0x12eb 103 [rsp + (r13 << 2) + 0x20].d = [rsp + (r13 << 2) + 0x20].d + 0xfa0 0x12f7 104 if (eax u< 0x5b) then 108 @ 0x12ab else 110 @ 0x12f9 0x12a9 105 if (eax u>= 0x5b) then 110 @ 0x12f9 else 108 @ 0x12ab 0x130e 106 rax = sx.q(r12d) 0x1311 107 goto 26 @ 0x1317 0x12ab 108 rax = [rsp + 8 {var_ff0_1}].q 0x12b3 109 if ([rax].b != 0x59) then 78 @ 0x12c0 else 113 @ 0x12b5 0x12f9 110 [rsp + (r13 << 2) + 0x20].d = [rsp + (r13 << 2) + 0x20].d + 0x7d0 0x1302 111 rax = [rsp + 8 {var_ff0_1}].q 0x130a 112 if ([rax].b == 0x59) then 113 @ 0x12b5 else 115 @ 0x130c 0x12b5 113 [rsp + (r13 << 2) + 0x20].d = [rsp + (r13 << 2) + 0x20].d + 0x3e8 0x12be 114 goto 78 @ 0x12c0 0x130c 115 goto 78 @ 0x12c0 int64_t _fini(): 0x1350 0 rsp = rsp - 8 0x1354 1 rsp = rsp + 8 0x1358 2 <return> jump(pop)
POJ_39
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"PH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rax) 0x1161 1 rdi = 0x200a {"%d"} 0x1168 2 rsi = rsp + 4 {var_8+0x4} 0x116d 3 eax = 0 0x116f 4 call(0x1040) 0x1174 5 rax = sx.q([rsp + 4 {var_8+0x4}].d) 0x1179 6 edx = eax * -0x55555555 0x117f 7 edx = edx + 0x2aaaaaaa 0x1185 8 rcx = rax * 0x66666667 0x118c 9 rsi = rcx 0x118f 10 rsi = rsi u>> 0x3f 0x1193 11 rcx = rcx s>> 0x21 0x1197 12 ecx = ecx + esi 0x1199 13 esi = (rcx + (rcx << 2)).d 0x119c 14 ecx = eax 0x119e 15 ecx = ecx - esi 0x11a6 16 if (edx u<= 0x55555554) then 17 @ 0x11e1 else 31 @ 0x11a8 0x11e1 17 rdx = sx.q(eax) 0x11e4 18 rdx = rdx * -0x6db6db6d 0x11eb 19 rdx = rdx u>> 0x20 0x11ef 20 edx = edx + eax 0x11f1 21 esi = edx 0x11f3 22 esi = esi u>> 0x1f 0x11f6 23 edx = edx s>> 2 0x11f9 24 edx = edx + esi 0x11fb 25 esi = (rdx << 3).d 0x1202 26 edx = edx - esi 0x1204 27 edx = edx + eax 0x1206 28 eax = ecx 0x1208 29 eax = eax | edx 0x120a 30 if (eax == 0) then 43 @ 0x1247 else 51 @ 0x120e 0x11a8 31 rdx = sx.q(eax) 0x11ab 32 rdx = rdx * -0x6db6db6d 0x11b2 33 rdx = rdx u>> 0x20 0x11b6 34 edx = edx + eax 0x11b8 35 esi = edx 0x11ba 36 esi = esi u>> 0x1f 0x11bd 37 edx = edx s>> 2 0x11c0 38 edx = edx + esi 0x11c2 39 esi = (rdx << 3).d 0x11c9 40 edx = edx - esi 0x11cb 41 edx = edx + eax 0x11cf 42 if (ecx == 0) then 52 @ 0x1229 else 53 @ 0x11d3 0x1247 43 rdi = 0x2004 {"%d %d %d"} 0x124e 44 esi = 3 0x1253 45 edx = 5 0x1258 46 ecx = 7 0x125d 47 eax = 0 0x125f 48 call(0x1030) 0x1264 49 rax = pop 0x1265 50 <return> jump(pop) 0x120e 51 if (ecx != 0) then 54 @ 0x1268 else 55 @ 0x1212 0x1229 52 if (edx == 0) then 56 @ 0x127c else 59 @ 0x122b 0x11d3 53 if (edx == 0) then 62 @ 0x1239 else 65 @ 0x11d5 0x1268 54 if (ecx == 0) then 69 @ 0x1296 else 72 @ 0x126c 0x1212 55 if (edx == 0) then 54 @ 0x1268 else 73 @ 0x1214 0x127c 56 rdi = 0x2007 {"%d %d"} 0x1283 57 esi = 5 0x1283 58 goto 77 @ 0x1288 0x122b 59 rdi = 0x200a {"%d"} 0x1232 60 esi = 5 0x1237 61 goto 79 @ 0x12a2 0x1239 62 rdi = 0x200a {"%d"} 0x1240 63 esi = 7 0x1245 64 goto 79 @ 0x12a2 0x11d5 65 edi = 0x6e {""} 0x11da 66 call(0x1050) 0x11df 67 rax = pop 0x11e0 68 <return> jump(pop) 0x1296 69 rdi = 0x200a {"%d"} 0x129d 70 esi = 3 0x129d 71 goto 79 @ 0x12a2 0x126c 72 if (edx != 0) then 69 @ 0x1296 else 83 @ 0x126e 0x1214 73 rdi = 0x2007 {"%d %d"} 0x121b 74 esi = 3 0x1220 75 edx = 5 0x1225 76 goto 86 @ 0x128d 0x1288 77 edx = 7 0x1288 78 goto 86 @ 0x128d 0x12a2 79 eax = 0 0x12a4 80 call(0x1030) 0x12a9 81 rax = pop 0x12aa 82 <return> jump(pop) 0x126e 83 rdi = 0x2007 {"%d %d"} 0x1275 84 esi = 3 0x127a 85 goto 77 @ 0x1288 0x128d 86 eax = 0 0x128f 87 call(0x1030) 0x1294 88 rax = pop 0x1295 89 <return> jump(pop) int64_t _fini(): 0x12b0 0 rsp = rsp - 8 0x12b4 1 rsp = rsp + 8 0x12b8 2 <return> jump(pop)
POJ_93
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHx\t"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x978 0x1161 7 r15 = 0x2004 {"%d%d%d%d%d%d"} 0x1168 8 r14d = 0 0x116b 9 goto 10 @ 0x1170 0x1170 10 r13 = rsp + r14 0x1174 11 r13 = r13 + 0x10 0x1178 12 rbx = rsp + r14 + 0x14 0x117d 13 rcx = rsp + r14 + 0x18 0x1182 14 r12 = rsp + r14 + 0x1c 0x1187 15 rbp = rsp + r14 + 0x20 0x118c 16 rax = rsp + r14 + 0x24 0x1191 17 [rsp {var_9a8}].q = rax 0x1195 18 rdi = r15 0x1198 19 rsi = r13 0x119b 20 rdx = rbx 0x119e 21 r8 = r12 0x11a1 22 r9 = rbp 0x11a4 23 eax = 0 0x11a6 24 call(0x1040) 0x11ab 25 [rsp + r14 + 0x1c].d = [rsp + r14 + 0x1c].d + 0xc 0x11b1 26 eax = [rsp + r14 + 0x18].d 0x11b6 27 esi = [rsp + r14 + 0x24].d 0x11bd 28 if (esi s>= eax) then 29 @ 0x11c6 else 32 @ 0x11bf 0x11c6 29 ecx = [rbp].d 0x11c9 30 edx = [rbx].d 0x11cd 31 if (ecx s>= edx) then 35 @ 0x11d7 else 37 @ 0x11cf 0x11bf 32 esi = esi + 0x3c 0x11c2 33 [rbp].d = [rbp].d - 1 0x11c2 34 goto 29 @ 0x11c6 0x11d7 35 edi = [r13].d 0x11dd 36 if (edi == 0) then 40 @ 0x1216 else 49 @ 0x11df 0x11cf 37 ecx = ecx + 0x3c 0x11d2 38 [r12].d = [r12].d - 1 0x11d2 39 goto 35 @ 0x11d7 0x1216 40 eax = 0 0x1218 41 rsp = rsp + 0x978 0x121f 42 rbx = pop 0x1220 43 r12 = pop 0x1222 44 r13 = pop 0x1224 45 r14 = pop 0x1226 46 r15 = pop 0x1228 47 rbp = pop 0x1229 48 <return> jump(pop) 0x11df 49 ebp = [rsp + r14 + 0x1c].d 0x11e4 50 ebp = ebp - edi 0x11e6 51 edi = ebp * 0xe10 0x11ec 52 ecx = ecx - edx 0x11ee 53 ecx = ecx * 0x3c 0x11f1 54 esi = esi - eax 0x11f3 55 esi = esi + ecx 0x11f5 56 esi = esi + edi 0x11f7 57 rdi = 0x2011 {"%d\n"} 0x11fe 58 eax = 0 0x1200 59 call(0x1030) 0x1205 60 r14 = r14 + 0x18 0x1210 61 if (r14 != 0x960) then 10 @ 0x1170 else 40 @ 0x1216 int64_t _fini(): 0x1230 0 rsp = rsp - 8 0x1234 1 rsp = rsp + 8 0x1238 2 <return> jump(pop)
POJ_87
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH("} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x4e228 0x1161 7 rdi = 0x2004 {"%d %d"} 0x1168 8 rsi = rsp + 4 {var_4e254} 0x116d 9 rdx = rsp + 8 {var_4e250} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x1179 12 ecx = [rsp + 4 {var_4e254}].d 0x117f 13 if (ecx s<= 0) then 14 @ 0x11e9 else 21 @ 0x1181 0x11e9 14 rdi = 0x2004 {"%d %d"} 0x11f0 15 rsi = rsp + 0xc {var_4e24c} 0x11f5 16 rdx = rsp {var_4e258} 0x11f8 17 eax = 0 0x11fa 18 call(0x1040) 0x11ff 19 ecx = [rsp + 0xc {var_4e24c}].d 0x1205 20 if (ecx s<= 0) then 27 @ 0x1278 else 29 @ 0x1207 0x1181 21 rbp = rsp + 0x20 {var_4e238} 0x1186 22 eax = [rsp + 8 {var_4e250}].d 0x118a 23 r14 = 0x2007 {"%d"} 0x1191 24 r12 = rsp + 0x14 {var_4e244} 0x1196 25 r15d = 0 0x1199 26 goto 35 @ 0x11b5 0x1278 27 ecx = [rsp + 4 {var_4e254}].d 0x127e 28 if (ecx s<= 0) then 36 @ 0x145e else 45 @ 0x1284 0x1207 29 rbp = rsp + 0x27120 {var_27138} 0x120f 30 eax = [rsp {var_4e258}].d 0x1212 31 r14 = 0x2007 {"%d"} 0x1219 32 r12 = rsp + 0x10 {var_4e248} 0x121e 33 r15d = 0 0x1221 34 goto 51 @ 0x1245 0x11b5 35 if (eax s<= 0) then 52 @ 0x11a0 else 56 @ 0x11b7 0x145e 36 eax = 0 0x1460 37 rsp = rsp + 0x4e228 0x1467 38 rbx = pop 0x1468 39 r12 = pop 0x146a 40 r13 = pop 0x146c 41 r14 = pop 0x146e 42 r15 = pop 0x1470 43 rbp = pop 0x1471 44 <return> jump(pop) 0x1284 45 eax = [rsp {var_4e258}].d 0x1287 46 rbx = rsp + 0x30 {var_4e228} 0x128c 47 r14 = rsp + 0x20 {var_4e238} 0x1291 48 r13 = 0x200a {"%d "} 0x1298 49 esi = 0 0x129a 50 goto 58 @ 0x12c9 0x1245 51 if (eax s<= 0) then 59 @ 0x1230 else 63 @ 0x1247 0x11a0 52 r15 = r15 + 1 0x11a4 53 rdx = sx.q(ecx) 0x11a7 54 rbp = rbp + 0x320 0x11b1 55 if (r15 s>= rdx) then 14 @ 0x11e9 else 35 @ 0x11b5 0x11b7 56 ebx = 0 0x11b9 57 goto 65 @ 0x11c0 0x12c9 58 if (eax s<= 0) then 74 @ 0x12a9 else 79 @ 0x12cb 0x1230 59 r15 = r15 + 1 0x1234 60 rdx = sx.q(ecx) 0x1237 61 rbp = rbp + 0x320 0x1241 62 if (r15 s>= rdx) then 27 @ 0x1278 else 51 @ 0x1245 0x1247 63 ebx = 0 0x1249 64 goto 83 @ 0x1250 0x11c0 65 rdi = r14 0x11c3 66 rsi = r12 {var_4e244} 0x11c6 67 eax = 0 0x11c8 68 call(0x1040) 0x11cd 69 eax = [rsp + 0x14 {var_4e244}].d 0x11d1 70 [rbp + (rbx << 2)].d = eax 0x11d5 71 rbx = rbx + 1 0x11d9 72 rax = sx.q([rsp + 8 {var_4e250}].d) 0x11e1 73 if (rbx s< rax) then 65 @ 0x11c0 else 92 @ 0x11e3 0x12a9 74 rsi = rsi + 1 0x12ad 75 rdx = sx.q(ecx) 0x12b0 76 rbx = rbx + 0x320 0x12b7 77 r14 = r14 + 0x320 0x12c1 78 if (rsi s>= rdx) then 36 @ 0x145e else 58 @ 0x12c9 0x12cb 79 [rsp + 0x18 {var_4e240_1}].q = rsi 0x12d0 80 r15 = rsp + 0x27120 {var_27138} 0x12d8 81 r12d = 0 0x12db 82 goto 94 @ 0x130e 0x1250 83 rdi = r14 0x1253 84 rsi = r12 {var_4e248} 0x1256 85 eax = 0 0x1258 86 call(0x1040) 0x125d 87 eax = [rsp + 0x10 {var_4e248}].d 0x1261 88 [rbp + (rbx << 2)].d = eax 0x1265 89 rbx = rbx + 1 0x1269 90 rax = sx.q([rsp {var_4e258}].d) 0x1270 91 if (rbx s< rax) then 83 @ 0x1250 else 96 @ 0x1272 0x11e3 92 ecx = [rsp + 4 {var_4e254}].d 0x11e7 93 goto 52 @ 0x11a0 0x130e 94 ecx = [rsp + 8 {var_4e250}].d 0x1314 95 if (ecx s<= 0) then 98 @ 0x12e0 else 100 @ 0x1319 0x1272 96 ecx = [rsp + 0xc {var_4e24c}].d 0x1276 97 goto 59 @ 0x1230 0x12e0 98 esi = 0 0x12e0 99 goto 101 @ 0x12e2 0x1319 100 if (ecx u>= 8) then 106 @ 0x1330 else 115 @ 0x131b 0x12e2 101 eax = eax - 1 0x12e5 102 cond:0 = r12 == rax 0x12e8 103 rdi = r13 0x12eb 104 rax = 0x200e {"%d\n"} 0x12f2 105 if (cond:0) then 118 else 120 @ 0x12f6 0x1330 106 edx = ecx 0x1332 107 edx = edx & 0xfffffff8 0x1335 108 rsi = rcx << 2 0x133d 109 rsi = rsi & 0xffffffffffffffe0 0x1341 110 xmm0 = 0 0x1345 111 edi = 0 0x1347 112 rbp = r15 0x134a 113 xmm1 = 0 0x134e 114 goto 126 @ 0x1350 0x131b 115 edx = 0 0x131d 116 esi = 0 0x131f 117 goto 161 @ 0x142f 0x12f2 118 rdi = rax 0x12f2 119 goto 120 @ 0x12f6 0x12f6 120 eax = 0 0x12f8 121 call(0x1030) 0x12fd 122 r12 = r12 + 1 0x1301 123 rax = sx.q([rsp {var_4e258}].d) 0x1305 124 r15 = r15 + 4 0x130c 125 if (r12 s>= rax) then 164 @ 0x12a0 else 94 @ 0x130e 0x1350 126 xmm3 = [rbx + rdi - 0x10].o 0x1356 127 xmm2 = [rbx + rdi].o 0x135b 128 xmm4 = [rbp + 0x960].d 0x1363 129 xmm5 = [rbp + 0x640].d 0x136b 130 xmm5 = _mm_unpacklo_epi32(xmm5, xmm4.q) 0x136f 131 xmm4 = [rbp + 0x320].d 0x1377 132 xmm6 = [rbp].d 0x137c 133 xmm6 = _mm_unpacklo_epi32(xmm6, xmm4.q) 0x1380 134 xmm6 = _mm_unpacklo_epi64(xmm6, xmm5.q) 0x1384 135 xmm4 = [rbp + 0x15e0].d 0x138c 136 xmm5 = [rbp + 0x12c0].d 0x1394 137 xmm5 = _mm_unpacklo_epi32(xmm5, xmm4.q) 0x1398 138 xmm4 = [rbp + 0xfa0].d 0x13a0 139 xmm7 = [rbp + 0xc80].d 0x13a8 140 xmm7 = _mm_unpacklo_epi32(xmm7, xmm4.q) 0x13ac 141 xmm7 = _mm_unpacklo_epi64(xmm7, xmm5.q) 0x13b0 142 xmm4 = _mm_shuffle_epi32(xmm6, 0xf5) 0x13b5 143 xmm6 = _mm_mul_epu32(xmm6, xmm3) 0x13b9 144 xmm5 = _mm_shuffle_epi32(xmm6, 0xe8) 0x13be 145 xmm3 = _mm_shuffle_epi32(xmm3, 0xf5) 0x13c3 146 xmm3 = _mm_mul_epu32(xmm3, xmm4) 0x13c7 147 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x13cc 148 xmm5 = _mm_unpacklo_epi32(xmm5, xmm3.q) 0x13d0 149 xmm0 = _mm_add_epi32(xmm0, xmm5) 0x13d4 150 xmm3 = _mm_shuffle_epi32(xmm7, 0xf5) 0x13d9 151 xmm7 = _mm_mul_epu32(xmm7, xmm2) 0x13dd 152 xmm4 = _mm_shuffle_epi32(xmm7, 0xe8) 0x13e2 153 xmm2 = _mm_shuffle_epi32(xmm2, 0xf5) 0x13e7 154 xmm2 = _mm_mul_epu32(xmm2, xmm3) 0x13eb 155 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x13f0 156 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x13f4 157 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x13f8 158 rbp = rbp + 0x1900 0x13ff 159 rdi = rdi + 0x20 0x1406 160 if (rsi != rdi) then 126 @ 0x1350 else 167 @ 0x140c 0x142f 161 rdi = rdx * 0x320 0x1436 162 rdi = rdi + r15 0x1439 163 goto 174 @ 0x1440 0x12a0 164 ecx = [rsp + 4 {var_4e254}].d 0x12a4 165 rsi = [rsp + 0x18 {var_4e240_1}].q 0x12a4 166 goto 74 @ 0x12a9 0x140c 167 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1410 168 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x1415 169 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1419 170 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x141e 171 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1422 172 esi = xmm1.d 0x1429 173 if (rdx == rcx) then 101 @ 0x12e2 else 161 @ 0x142f 0x1440 174 ebp = [rdi].d 0x1442 175 ebp = ebp * [r14 + (rdx << 2)].d 0x1447 176 esi = esi + ebp 0x1449 177 rdx = rdx + 1 0x144d 178 rdi = rdi + 0x320 0x1457 179 if (rcx != rdx) then 174 @ 0x1440 else 180 @ 0x1459 0x1459 180 goto 101 @ 0x12e2 int64_t _fini(): 0x1478 0 rsp = rsp - 8 0x147c 1 rsp = rsp + 8 0x1480 2 <return> jump(pop)
POJ_63
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) int32_t strcmp(char const* arg1, char const* arg2): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"UHHE"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 rbp = rsp {__saved_rbp} 0x1184 2 rsp = rsp - 0x10 0x1188 3 [rbp - 0x10 {var_18}].d = 0 0x118f 4 rdi = 0x2004 {"%d %d"} 0x1196 5 rsi = rbp - 4 {var_c} 0x119a 6 rdx = rbp - 8 {var_10} 0x119e 7 al = 0 0x11a0 8 call(0x1060) 0x11a5 9 eax = [rbp - 4 {var_c}].d 0x11a8 10 [rbp - 0xc {var_14}].d = eax 0x11a8 11 goto 12 @ 0x11ab 0x11ab 12 eax = [rbp - 0xc {var_14}].d 0x11b1 13 if (eax s> [rbp - 8 {var_10}].d) then 14 @ 0x122d else 15 @ 0x11b7 0x122d 14 if ([rbp - 0x10 {var_18}].d != 0) then 18 @ 0x1241 else 21 @ 0x1233 0x11b7 15 edi = [rbp - 0xc {var_14}].d 0x11ba 16 call(0x1250) 0x11c2 17 if (eax == 0) then 25 @ 0x1216 else 26 @ 0x11c8 0x1241 18 rsp = rsp + 0x10 0x1245 19 rbp = pop 0x1246 20 <return> jump(pop) 0x1233 21 rdi = 0x200e {"no"} 0x123a 22 al = 0 0x123c 23 call(0x1030) 0x123c 24 goto 18 @ 0x1241 0x1216 25 goto 29 @ 0x121b 0x11c8 26 edi = [rbp - 0xc {var_14}].d 0x11cb 27 call(0x1350) 0x11d3 28 if (eax == 0) then 25 @ 0x1216 else 33 @ 0x11dd 0x121b 29 eax = [rbp - 0xc {var_14}].d 0x121e 30 eax = eax + 1 0x1221 31 [rbp - 0xc {var_14}].d = eax 0x1224 32 goto 12 @ 0x11ab 0x11dd 33 if ([rbp - 0x10 {var_18}].d != 0) then 34 @ 0x1200 else 39 @ 0x11e3 0x1200 34 esi = [rbp - 0xc {var_14}].d 0x1203 35 rdi = 0x200a {",%d"} 0x120a 36 al = 0 0x120c 37 call(0x1030) 0x120c 38 goto 45 @ 0x1211 0x11e3 39 [rbp - 0x10 {var_18}].d = 1 0x11ea 40 esi = [rbp - 0xc {var_14}].d 0x11ed 41 rdi = 0x2007 {"%d"} 0x11f4 42 al = 0 0x11f6 43 call(0x1030) 0x11fb 44 goto 45 @ 0x1211 0x1211 45 goto 25 @ 0x1216 uint64_t huiwen(int32_t arg1): 0x1250 0 push(rbp) 0x1251 1 rbp = rsp {__saved_rbp} 0x1254 2 rsp = rsp - 0xf0 0x125b 3 [rbp - 8 {var_10}].d = edi 0x125e 4 rdi = rbp - 0x80 {var_88} 0x1262 5 esi = 0 0x1264 6 edx = 0x64 {""} 0x1269 7 call(0x1040) 0x126e 8 rdi = rbp - 0xf0 {var_f8} 0x1275 9 esi = 0 0x1277 10 edx = 0x64 {""} 0x127c 11 call(0x1040) 0x1281 12 [rbp - 0xc {var_14}].d = 0 0x1281 13 goto 14 @ 0x128c 0x128c 14 if ([rbp - 8 {var_10}].d != 0) then 15 @ 0x1297 else 50 @ 0x1292 0x1297 15 eax = [rbp - 8 {var_10}].d 0x129a 16 ecx = 0xa {""} 0x129f 17 temp2.d:temp3.d = sx.q(eax) 0x129f 18 edx = temp2.d 0x129f 19 eax = temp3.d 0x12a0 20 temp4.d = edx 0x12a0 21 temp5.d = eax 0x12a0 22 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x12a0 23 temp6.d = edx 0x12a0 24 temp7.d = eax 0x12a0 25 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x12a0 26 eax = temp0.d 0x12a0 27 edx = temp1.d 0x12a2 28 edx = edx + 0x30 0x12a5 29 cl = dl 0x12a7 30 rax = sx.q([rbp - 0xc {var_14}].d) 0x12ab 31 [rbp + rax - 0x80].b = cl 0x12af 32 eax = [rbp - 8 {var_10}].d 0x12b2 33 ecx = 0xa {""} 0x12b7 34 temp8.d:temp9.d = sx.q(eax) 0x12b7 35 edx = temp8.d 0x12b7 36 eax = temp9.d 0x12b8 37 temp10.d = edx 0x12b8 38 temp11.d = eax 0x12b8 39 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x12b8 40 temp12.d = edx 0x12b8 41 temp13.d = eax 0x12b8 42 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x12b8 43 eax = temp0.d 0x12b8 44 edx = temp1.d 0x12ba 45 [rbp - 8 {var_10}].d = eax 0x12bd 46 eax = [rbp - 0xc {var_14}].d 0x12c0 47 eax = eax + 1 0x12c3 48 [rbp - 0xc {var_14}].d = eax 0x12c6 49 goto 14 @ 0x128c 0x1292 50 goto 51 @ 0x12cb 0x12cb 51 rdi = rbp - 0x80 {var_88} 0x12cf 52 call(0x1050) 0x12d4 53 [rbp - 0x10 {var_18}].d = eax 0x12d7 54 [rbp - 0xc {var_14_1}].d = 0 0x12d7 55 goto 56 @ 0x12de 0x12de 56 eax = [rbp - 0xc {var_14_1}].d 0x12e1 57 ecx = [rbp - 0x10 {var_18}].d 0x12e4 58 ecx = ecx - 1 0x12e9 59 if (eax s> ecx) then 60 @ 0x1317 else 64 @ 0x12ef 0x1317 60 rdi = rbp - 0xf0 {var_f8} 0x131e 61 rsi = rbp - 0x80 {var_88} 0x1322 62 call(0x1070) 0x132a 63 if (eax != 0) then 75 @ 0x133c else 77 @ 0x1330 0x12ef 64 eax = [rbp - 0x10 {var_18}].d 0x12f2 65 eax = eax - 1 0x12f5 66 eax = eax - [rbp - 0xc {var_14_1}].d 0x12f8 67 rax = sx.q(eax) 0x12fa 68 cl = [rbp + rax - 0x80].b 0x12fe 69 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x1302 70 [rbp + rax - 0xf0].b = cl 0x1309 71 eax = [rbp - 0xc {var_14_1}].d 0x130c 72 eax = eax + 1 0x130f 73 [rbp - 0xc {var_14_1}].d = eax 0x1312 74 goto 56 @ 0x12de 0x133c 75 [rbp - 4 {var_c}].d = 0 0x133c 76 goto 79 @ 0x1343 0x1330 77 [rbp - 4 {var_c}].d = 1 0x1337 78 goto 79 @ 0x1343 0x1343 79 eax = [rbp - 4 {var_c}].d 0x1346 80 rsp = rsp + 0xf0 0x134d 81 rbp = pop 0x134e 82 <return> jump(pop) uint64_t sushu(int32_t arg1): 0x1350 0 push(rbp) 0x1351 1 rbp = rsp {__saved_rbp} 0x1354 2 [rbp - 8 {var_10}].d = edi 0x1357 3 [rbp - 0xc {var_14}].d = 2 0x1357 4 goto 5 @ 0x135e 0x135e 5 eax = [rbp - 0xc {var_14}].d 0x1364 6 if (eax s>= [rbp - 8 {var_10}].d) then 7 @ 0x1392 else 9 @ 0x136a 0x1392 7 eax = [rbp - 0xc {var_14}].d 0x1398 8 if (eax != [rbp - 8 {var_10}].d) then 22 @ 0x13aa else 24 @ 0x139e 0x136a 9 eax = [rbp - 8 {var_10}].d 0x136d 10 temp2.d:temp3.d = sx.q(eax) 0x136d 11 edx = temp2.d 0x136d 12 eax = temp3.d 0x136e 13 temp4.d = edx 0x136e 14 temp5.d = eax 0x136e 15 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0xc {var_14}].d) 0x136e 16 temp6.d = edx 0x136e 17 temp7.d = eax 0x136e 18 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0xc {var_14}].d) 0x136e 19 eax = temp0.d 0x136e 20 edx = temp1.d 0x1374 21 if (edx != 0) then 26 @ 0x137f else 27 @ 0x137a 0x13aa 22 [rbp - 4 {var_c}].d = 0 0x13aa 23 goto 28 @ 0x13b1 0x139e 24 [rbp - 4 {var_c}].d = 1 0x13a5 25 goto 28 @ 0x13b1 0x137f 26 goto 31 @ 0x1384 0x137a 27 goto 7 @ 0x1392 0x13b1 28 eax = [rbp - 4 {var_c}].d 0x13b4 29 rbp = pop 0x13b5 30 <return> jump(pop) 0x1384 31 eax = [rbp - 0xc {var_14}].d 0x1387 32 eax = eax + 1 0x138a 33 [rbp - 0xc {var_14}].d = eax 0x138d 34 goto 5 @ 0x135e int64_t _fini(): 0x13bc 0 rsp = rsp - 8 0x13c0 1 rsp = rsp + 8 0x13c4 2 <return> jump(pop)
POJ_74
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void ldexp(int32_t exp, double value): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVSPH="} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4050].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4050].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(rbx) 0x1176 4 push(rax) 0x1177 5 rdi = 0x2010 {"%d %d"} 0x117e 6 rsi = 0x406c {""} 0x1185 7 rdx = 0x4078 {""} 0x118c 8 eax = 0 0x118e 9 call(0x1040) 0x1193 10 esi = [0x406c].d 0x1199 11 eax = [0x4078].d 0x11a1 12 if (esi != eax) then 13 @ 0x11be else 14 @ 0x11a3 0x11be 13 if (esi == 1) then 16 @ 0x11d7 else 23 @ 0x11c3 0x11a3 14 rdi = 0x2016 {"%d\n"} 0x11a3 15 goto 24 @ 0x11aa 0x11d7 16 rdi = 0x201a {"1"} 0x11de 17 rsp = rsp + 8 0x11e2 18 rbx = pop 0x11e3 19 r14 = pop 0x11e5 20 r15 = pop 0x11e7 21 rbp = pop 0x11e8 22 <return> tailcall(0x1060) 0x11c3 23 if (eax == 1) then 16 @ 0x11d7 else 31 @ 0x11c7 0x11aa 24 eax = 0 0x11ac 25 rsp = rsp + 8 0x11b0 26 rbx = pop 0x11b1 27 r14 = pop 0x11b3 28 r15 = pop 0x11b5 29 rbp = pop 0x11b6 30 <return> tailcall(0x1030) 0x11c7 31 if (esi s>= eax) then 32 @ 0x11ed else 34 @ 0x11c9 0x11ed 32 eax = esi 0x11ed 33 goto 37 @ 0x11ef 0x11c9 34 [0x406c].d = eax 0x11cf 35 [0x4078].d = esi 0x11d5 36 goto 37 @ 0x11ef 0x11ef 37 r14d = 0 0x11f2 38 ebx = 2 0x11f7 39 xmm0 = zx.o([0x2008].q) 0x11ff 40 r15d = 0 0x120c 41 goto 42 @ 0x1210 0x1210 42 ebp = (rbx - 1).d 0x1213 43 xmm1 = 0 0x1216 44 xmm1.q = float.d(eax) 0x121a 45 [rsp {var_28_1}].q = xmm1.q 0x121f 46 edi = ebp 0x1221 47 call(0x1050) 0x1226 48 xmm1 = zx.o([rsp {var_28_1}].q) 0x122b 49 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x122b 50 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x122b 51 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x122b 52 flag:s = 0 0x122b 53 flag:o = 0 0x122b 54 flag:a = 0 0x122f 55 if (flag:c) then 56 @ 0x1263 else 70 @ 0x1231 0x1263 56 xmm0 = 0 0x1266 57 xmm0.q = float.d([0x4078].d) 0x126e 58 [rsp {var_28_3}].q = xmm0.q 0x1273 59 xmm0 = zx.o([0x2008].q) 0x127b 60 edi = ebp 0x127d 61 call(0x1050) 0x1282 62 xmm1 = zx.o([rsp {var_28_3}].q) 0x1287 63 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x1287 64 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1287 65 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1287 66 flag:s = 0 0x1287 67 flag:o = 0 0x1287 68 flag:a = 0 0x128b 69 if (flag:c) then 83 @ 0x12c2 else 84 @ 0x128d 0x1231 70 xmm0 = 0 0x1234 71 xmm0.q = float.d([0x406c].d) 0x123c 72 [rsp {var_28_2}].q = xmm0.q 0x1241 73 xmm0 = zx.o([0x2008].q) 0x1249 74 edi = ebx 0x124b 75 call(0x1050) 0x1250 76 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp {var_28_2}].q)) 0x1250 77 flag:c = xmm0.q f< fconvert.t([rsp {var_28_2}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp {var_28_2}].q)) 0x1250 78 flag:z = xmm0.q f== fconvert.t([rsp {var_28_2}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp {var_28_2}].q)) 0x1250 79 flag:s = 0 0x1250 80 flag:o = 0 0x1250 81 flag:a = 0 0x1255 82 if (flag:z || flag:c) then 56 @ 0x1263 else 97 @ 0x1257 0x12c2 83 if (r15d == 0) then 100 @ 0x12cc else 101 @ 0x12c7 0x128d 84 xmm0 = 0 0x1290 85 xmm0.q = float.d([0x4078].d) 0x1298 86 [rsp {var_28_4}].q = xmm0.q 0x129d 87 xmm0 = zx.o([0x2008].q) 0x12a5 88 edi = ebx 0x12a7 89 call(0x1050) 0x12ac 90 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp {var_28_4}].q)) 0x12ac 91 flag:c = xmm0.q f< fconvert.t([rsp {var_28_4}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp {var_28_4}].q)) 0x12ac 92 flag:z = xmm0.q f== fconvert.t([rsp {var_28_4}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp {var_28_4}].q)) 0x12ac 93 flag:s = 0 0x12ac 94 flag:o = 0 0x12ac 95 flag:a = 0 0x12b1 96 if (flag:z || flag:c) then 83 @ 0x12c2 else 102 @ 0x12b3 0x1257 97 [0x4070].d = ebx 0x125d 98 r15d = 1 0x125d 99 goto 56 @ 0x1263 0x12cc 100 if (ebx == 0xb) then 105 @ 0x12e4 else 111 @ 0x12ce 0x12c7 101 if (r14d != 0) then 105 @ 0x12e4 else 100 @ 0x12cc 0x12b3 102 [0x407c].d = ebx 0x12b9 103 r14d = 1 0x12b9 104 goto 83 @ 0x12c2 0x12e4 105 esi = [0x406c].d 0x12ea 106 [0x4074].d = esi 0x12f0 107 eax = [0x4078].d 0x12f6 108 [0x4080].d = eax 0x12fc 109 ecx = [0x4070].d 0x1304 110 if (ecx s<= 0) then 115 @ 0x1360 else 121 @ 0x1306 0x12ce 111 eax = [0x406c].d 0x12d4 112 ebx = ebx + 1 0x12d7 113 xmm0 = zx.o([0x2008].q) 0x12df 114 goto 42 @ 0x1210 0x1360 115 rsp = rsp + 8 0x1364 116 rbx = pop 0x1365 117 r14 = pop 0x1367 118 r15 = pop 0x1369 119 rbp = pop 0x136a 120 <return> jump(pop) 0x1306 121 edx = [0x407c].d 0x130c 122 edi = edx 0x130e 123 goto 124 @ 0x1319 0x1319 124 ebp = ecx 0x131b 125 esi = esi s>> 1 0x131d 126 ecx = (rbp - 1).d 0x1322 127 if (ecx == edx) then 128 @ 0x1312 else 129 @ 0x1326 0x1312 128 if (esi == eax) then 130 @ 0x136b else 134 @ 0x1317 0x1326 129 if (ebp s> edx) then 134 @ 0x1317 else 135 @ 0x1328 0x136b 130 [0x4074].d = eax 0x1371 131 rdi = 0x2016 {"%d\n"} 0x1378 132 esi = eax 0x137a 133 goto 24 @ 0x11aa 0x1317 134 if (ebp s<= 1) then 138 @ 0x135a else 124 @ 0x1319 0x1328 135 cond:0 = edi s< ebp 0x132a 136 ebx = ebp 0x132c 137 if (cond:0) then 140 else 142 @ 0x132f 0x135a 138 [0x4074].d = esi 0x135a 139 goto 115 @ 0x1360 0x132c 140 ebx = edi 0x132c 141 goto 142 @ 0x132f 0x132f 142 edi = edi + 1 0x133c 143 goto 144 @ 0x1340 0x1340 144 eax = eax s>> 1 0x1342 145 edi = edi - 1 0x1347 146 if (edi s> ebp) then 144 @ 0x1340 else 147 @ 0x1349 0x1349 147 [0x4080].d = eax 0x1351 148 if (eax == esi) then 149 @ 0x137f else 151 @ 0x1353 0x137f 149 [0x4074].d = esi 0x1385 150 goto 14 @ 0x11a3 0x1353 151 ebx = ebx - 1 0x1356 152 edi = ebx 0x1358 153 goto 134 @ 0x1317 int64_t _fini(): 0x1390 0 rsp = rsp - 8 0x1394 1 rsp = rsp + 8 0x1398 2 <return> jump(pop)
POJ_104
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x80 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = 0x2004 {"%d"} 0x1179 5 rsi = rbp - 0x10 {var_18} 0x117d 6 al = 0 0x117f 7 call(0x1050) 0x1184 8 [rbp - 8 {var_10}].d = 0 0x1184 9 goto 10 @ 0x118b 0x118b 10 eax = [rbp - 8 {var_10}].d 0x1191 11 if (eax s>= [rbp - 0x10 {var_18}].d) then 12 @ 0x1278 else 16 @ 0x1197 0x1278 12 eax = 0 0x127a 13 rsp = rsp + 0x80 0x1281 14 rbp = pop 0x1282 15 <return> jump(pop) 0x1197 16 rsi = rbp - 0x80 {var_88} 0x119b 17 rdi = 0x2007 {"%s"} 0x11a2 18 al = 0 0x11a4 19 call(0x1050) 0x11a9 20 rdi = rbp - 0x80 {var_88} 0x11ad 21 call(0x1040) 0x11b2 22 [rbp - 0x14 {var_1c_1}].d = eax 0x11b5 23 eax = [rbp - 0x14 {var_1c_1}].d 0x11b8 24 eax = eax - 1 0x11bb 25 rax = sx.q(eax) 0x11bd 26 eax = sx.d([rbp + rax - 0x80].b) 0x11c5 27 if (eax != 0x72) then 28 @ 0x11e1 else 33 @ 0x11cb 0x11e1 28 eax = [rbp - 0x14 {var_1c_1}].d 0x11e4 29 eax = eax - 1 0x11e7 30 rax = sx.q(eax) 0x11e9 31 eax = sx.d([rbp + rax - 0x80].b) 0x11f1 32 if (eax != 0x79) then 38 @ 0x121b else 42 @ 0x11f7 0x11cb 33 eax = [rbp - 0x14 {var_1c_1}].d 0x11ce 34 eax = eax - 2 0x11d1 35 rax = sx.q(eax) 0x11d3 36 eax = sx.d([rbp + rax - 0x80].b) 0x11db 37 if (eax == 0x65) then 47 @ 0x120d else 28 @ 0x11e1 0x121b 38 eax = [rbp - 0x14 {var_1c_1}].d 0x121e 39 eax = eax - 3 0x1221 40 [rbp - 0x14 {var_1c_2}].d = eax 0x1221 41 goto 51 @ 0x1224 0x11f7 42 eax = [rbp - 0x14 {var_1c_1}].d 0x11fa 43 eax = eax - 2 0x11fd 44 rax = sx.q(eax) 0x11ff 45 eax = sx.d([rbp + rax - 0x80].b) 0x1207 46 if (eax != 0x6c) then 38 @ 0x121b else 47 @ 0x120d 0x120d 47 eax = [rbp - 0x14 {var_1c_1}].d 0x1210 48 eax = eax - 2 0x1213 49 [rbp - 0x14 {var_1c_2}].d = eax 0x1216 50 goto 51 @ 0x1224 0x1224 51 [rbp - 0xc {var_14_1}].d = 0 0x1224 52 goto 53 @ 0x122b 0x122b 53 eax = [rbp - 0xc {var_14_1}].d 0x1231 54 if (eax s>= [rbp - 0x14 {var_1c_2}].d) then 55 @ 0x125c else 62 @ 0x1237 0x125c 55 rdi = 0x200d {"\n"} 0x1263 56 al = 0 0x1265 57 call(0x1030) 0x126a 58 eax = [rbp - 8 {var_10}].d 0x126d 59 eax = eax + 1 0x1270 60 [rbp - 8 {var_10}].d = eax 0x1273 61 goto 10 @ 0x118b 0x1237 62 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x123b 63 esi = sx.d([rbp + rax - 0x80].b) 0x1240 64 rdi = 0x200a {"%c"} 0x1247 65 al = 0 0x1249 66 call(0x1030) 0x124e 67 eax = [rbp - 0xc {var_14_1}].d 0x1251 68 eax = eax + 1 0x1254 69 [rbp - 0xc {var_14_1}].d = eax 0x1257 70 goto 53 @ 0x122b int64_t _fini(): 0x1288 0 rsp = rsp - 8 0x128c 1 rsp = rsp + 8 0x1290 2 <return> jump(pop)
POJ_57
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0xfd0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0xfc4 {var_fcc}].d = 0 0x116c 5 rdi = 0x2004 {"%d "} 0x1173 6 rsi = rbp - 8 {var_10} 0x1177 7 al = 0 0x1179 8 call(0x1040) 0x117e 9 [rbp - 0xc {var_14}].d = 0 0x117e 10 goto 11 @ 0x1185 0x1185 11 eax = [rbp - 0xc {var_14}].d 0x118b 12 if (eax s>= [rbp - 8 {var_10}].d) then 13 @ 0x1212 else 15 @ 0x1191 0x1212 13 [rbp - 0x7e8 {var_7f0}].d = 0 0x1212 14 goto 38 @ 0x121c 0x1191 15 rax = sx.q([rbp - 0xc {var_14}].d) 0x1195 16 rsi = rbp - 0x7e0 {var_7e8} 0x119c 17 rax = rax << 2 0x11a0 18 rsi = rsi + rax 0x11a3 19 rdi = 0x2008 {"%d"} 0x11aa 20 al = 0 0x11ac 21 call(0x1040) 0x11b1 22 rax = sx.q([rbp - 0xc {var_14}].d) 0x11b5 23 eax = [rbp + (rax << 2) - 0x7e0].d 0x11bc 24 ecx = 2 0x11c1 25 temp2.d:temp3.d = sx.q(eax) 0x11c1 26 edx = temp2.d 0x11c1 27 eax = temp3.d 0x11c2 28 temp4.d = edx 0x11c2 29 temp5.d = eax 0x11c2 30 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11c2 31 temp6.d = edx 0x11c2 32 temp7.d = eax 0x11c2 33 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11c2 34 eax = temp0.d 0x11c2 35 edx = temp1.d 0x11c4 36 [rbp - 0x7e4 {var_7ec_1}].d = edx 0x11d1 37 if ([rbp - 0x7e4 {var_7ec_1}].d != 1) then 40 @ 0x11ff else 41 @ 0x11d7 0x121c 38 eax = [rbp - 0x7e8 {var_7f0}].d 0x1228 39 if (eax s>= [rbp - 0xfc4 {var_fcc}].d) then 49 @ 0x12d6 else 51 @ 0x122e 0x11ff 40 goto 55 @ 0x1204 0x11d7 41 rax = sx.q([rbp - 0xc {var_14}].d) 0x11db 42 ecx = [rbp + (rax << 2) - 0x7e0].d 0x11e2 43 rax = sx.q([rbp - 0xfc4 {var_fcc}].d) 0x11e9 44 [rbp + (rax << 2) - 0xfc0].d = ecx 0x11f0 45 eax = [rbp - 0xfc4 {var_fcc}].d 0x11f6 46 eax = eax + 1 0x11f9 47 [rbp - 0xfc4 {var_fcc}].d = eax 0x11f9 48 goto 40 @ 0x11ff 0x12d6 49 [rbp - 0xc {var_14_2}].d = 0 0x12d6 50 goto 59 @ 0x12dd 0x122e 51 eax = [rbp - 0xfc4 {var_fcc}].d 0x1234 52 eax = eax - 1 0x1237 53 [rbp - 0xc {var_14_1}].d = eax 0x1237 54 goto 63 @ 0x123a 0x1204 55 eax = [rbp - 0xc {var_14}].d 0x1207 56 eax = eax + 1 0x120a 57 [rbp - 0xc {var_14}].d = eax 0x120d 58 goto 11 @ 0x1185 0x12dd 59 eax = [rbp - 0xc {var_14_2}].d 0x12e0 60 ecx = [rbp - 0xfc4 {var_fcc}].d 0x12e6 61 ecx = ecx - 1 0x12eb 62 if (eax s>= ecx) then 65 @ 0x1318 else 76 @ 0x12f1 0x123a 63 eax = [rbp - 0xc {var_14_1}].d 0x1243 64 if (eax s<= [rbp - 0x7e8 {var_7f0}].d) then 85 @ 0x12bd else 86 @ 0x1249 0x1318 65 eax = [rbp - 0xfc4 {var_fcc}].d 0x131e 66 eax = eax - 1 0x1321 67 rax = sx.q(eax) 0x1323 68 esi = [rbp + (rax << 2) - 0xfc0].d 0x132a 69 rdi = 0x2008 {"%d"} 0x1331 70 al = 0 0x1333 71 call(0x1030) 0x1338 72 eax = 0 0x133a 73 rsp = rsp + 0xfd0 0x1341 74 rbp = pop 0x1342 75 <return> jump(pop) 0x12f1 76 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x12f5 77 esi = [rbp + (rax << 2) - 0xfc0].d 0x12fc 78 rdi = 0x200b {"%d,"} 0x1303 79 al = 0 0x1305 80 call(0x1030) 0x130a 81 eax = [rbp - 0xc {var_14_2}].d 0x130d 82 eax = eax + 1 0x1310 83 [rbp - 0xc {var_14_2}].d = eax 0x1313 84 goto 59 @ 0x12dd 0x12bd 85 goto 92 @ 0x12c2 0x1249 86 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x124d 87 eax = [rbp + (rax << 2) - 0xfc0].d 0x1254 88 ecx = [rbp - 0xc {var_14_1}].d 0x1257 89 ecx = ecx - 1 0x125a 90 rcx = sx.q(ecx) 0x1264 91 if (eax s>= [rbp + (rcx << 2) - 0xfc0].d) then 96 @ 0x12aa else 97 @ 0x126a 0x12c2 92 eax = [rbp - 0x7e8 {var_7f0}].d 0x12c8 93 eax = eax + 1 0x12cb 94 [rbp - 0x7e8 {var_7f0}].d = eax 0x12d1 95 goto 38 @ 0x121c 0x12aa 96 goto 112 @ 0x12af 0x126a 97 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x126e 98 eax = [rbp + (rax << 2) - 0xfc0].d 0x1275 99 [rbp - 0xfc8 {var_fd0_1}].d = eax 0x127b 100 eax = [rbp - 0xc {var_14_1}].d 0x127e 101 eax = eax - 1 0x1281 102 rax = sx.q(eax) 0x1283 103 ecx = [rbp + (rax << 2) - 0xfc0].d 0x128a 104 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x128e 105 [rbp + (rax << 2) - 0xfc0].d = ecx 0x1295 106 ecx = [rbp - 0xfc8 {var_fd0_1}].d 0x129b 107 eax = [rbp - 0xc {var_14_1}].d 0x129e 108 eax = eax - 1 0x12a1 109 rax = sx.q(eax) 0x12a3 110 [rbp + (rax << 2) - 0xfc0].d = ecx 0x12a3 111 goto 96 @ 0x12aa 0x12af 112 eax = [rbp - 0xc {var_14_1}].d 0x12b2 113 eax = eax - 1 0x12b5 114 [rbp - 0xc {var_14_1}].d = eax 0x12b8 115 goto 63 @ 0x123a int64_t _fini(): 0x1348 0 rsp = rsp - 8 0x134c 1 rsp = rsp + 8 0x1350 2 <return> jump(pop)
POJ_94
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH "} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0xb08 0x1161 7 r14 = rsp + 0x970 {var_1c8} 0x1169 8 r15 = rsp + 0x7e0 {var_358} 0x1171 9 r12 = rsp + 0x4c0 {var_678} 0x1179 10 rbx = rsp + 0x330 {var_808} 0x1181 11 rbp = rsp + 0x1a0 {var_998} 0x1189 12 r13 = rsp + 0x10 {var_b28} 0x118e 13 goto 14 @ 0x1190 0x1190 14 [rsp {var_b38_1}].q = rbp 0x1194 15 rdi = 0x2004 {"%d %d %d %d %d %d\n"} 0x119b 16 rsi = r13 0x119e 17 rdx = r14 0x11a1 18 rcx = r15 0x11a4 19 r8 = r12 0x11a7 20 r9 = rbx 0x11aa 21 eax = 0 0x11ac 22 call(0x1040) 0x11b1 23 r14 = r14 + 4 0x11b5 24 r15 = r15 + 4 0x11b9 25 r12 = r12 + 4 0x11bd 26 rbx = rbx + 4 0x11c1 27 rbp = rbp + 4 0x11c5 28 cond:0 = [r13 + 4].d != 0 0x11ca 29 r13 = r13 + 4 0x11ce 30 if (cond:0) then 14 @ 0x1190 else 31 @ 0x11d0 0x11d0 31 r8d = [rsp + 0x10 {var_b28}].d 0x11d8 32 if (r8d == 0) then 33 @ 0x129c else 42 @ 0x11de 0x129c 33 eax = 0 0x129e 34 rsp = rsp + 0xb08 0x12a5 35 rbx = pop 0x12a6 36 r12 = pop 0x12a8 37 r13 = pop 0x12aa 38 r14 = pop 0x12ac 39 r15 = pop 0x12ae 40 rbp = pop 0x12af 41 <return> jump(pop) 0x11de 42 ecx = 0 0x11e0 43 esi = r8d 0x11e3 44 goto 45 @ 0x1246 0x1246 45 edx = [rsp + rcx + 0x1a0].d 0x124d 46 r9d = [rsp + rcx + 0x7e0].d 0x1255 47 ebp = [rsp + rcx + 0x330].d 0x125f 48 if (edx s<= r9d) then 49 @ 0x11f0 else 55 @ 0x1261 0x11f0 49 ebx = [rsp + rcx + 0x970].d 0x11f7 50 eax = (rbp + 0x3c).d 0x11fa 51 edi = 0 0x11fc 52 cond:1 = ebx s>= ebp 0x11fe 53 dil = ebx s< ebp 0x1202 54 if (cond:1) then 59 else 61 @ 0x1205 0x1261 55 ebp = ebp - 1 0x1264 56 edx = edx + 0x3c 0x1267 57 [rsp + rcx + 0x1a0].d = edx 0x126e 58 goto 49 @ 0x11f0 0x1202 59 eax = ebp 0x1202 60 goto 61 @ 0x1205 0x1205 61 ebp = [rsp + rcx + 0x4c0].d 0x120c 62 ebp = ebp - edi 0x120e 63 ebp = ebp - esi 0x1210 64 ebp = ebp + 0xc 0x1213 65 [rsp + rcx + 0x4c0].d = ebp 0x121a 66 esi = ebp * 0xe10 0x1220 67 eax = eax - ebx 0x1222 68 [rsp + rcx + 0x330].d = eax 0x1229 69 eax = eax * 0x3c 0x122c 70 eax = eax + esi 0x122e 71 edx = edx - r9d 0x1231 72 edx = edx + eax 0x1233 73 [rsp + rcx + 0x650].d = edx 0x123a 74 esi = [rsp + rcx + 0x14].d 0x123e 75 rcx = rcx + 4 0x1244 76 if (esi == 0) then 77 @ 0x1273 else 45 @ 0x1246 0x1273 77 if (r8d == 0) then 33 @ 0x129c else 78 @ 0x1275 0x1275 78 rbx = 0x2013 {"%d\n"} 0x127c 79 ebp = 0 0x127e 80 goto 81 @ 0x1280 0x1280 81 esi = [rsp + rbp + 0x650].d 0x1287 82 rdi = rbx 0x128a 83 eax = 0 0x128c 84 call(0x1030) 0x1291 85 cond:2 = [rsp + rbp + 0x14].d != 0 0x1296 86 rbp = rbp + 4 0x129a 87 if (cond:2) then 81 @ 0x1280 else 33 @ 0x129c int64_t _fini(): 0x12b4 0 rsp = rsp - 8 0x12b8 1 rsp = rsp + 8 0x12bc 2 <return> jump(pop)
POJ_87
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH0"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x330 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rsi = rbp - 0x110 {var_118} 0x1179 5 rdi = 0x2004 {"%s"} 0x1180 6 al = 0 0x1182 7 call(0x1050) 0x1187 8 rsi = rbp - 0x210 {var_218} 0x118e 9 rdi = 0x2004 {"%s"} 0x1195 10 al = 0 0x1197 11 call(0x1050) 0x119c 12 rdi = rbp - 0x110 {var_118} 0x11a3 13 call(0x1040) 0x11a8 14 [rbp - 0x324 {var_32c}].d = eax 0x11ae 15 [rbp - 0x314 {var_31c}].d = 0 0x11ae 16 goto 17 @ 0x11b8 0x11b8 17 eax = [rbp - 0x314 {var_31c}].d 0x11c4 18 if (eax s> [rbp - 0x324 {var_32c}].d) then 19 @ 0x1207 else 21 @ 0x11ca 0x1207 19 [rbp - 0x314 {var_31c}].d = 0 0x1207 20 goto 33 @ 0x1211 0x11ca 21 eax = [rbp - 0x324 {var_32c}].d 0x11d0 22 eax = eax - [rbp - 0x314 {var_31c}].d 0x11d6 23 rax = sx.q(eax) 0x11d8 24 cl = [rbp + rax - 0x110].b 0x11df 25 eax = 0xfe {""} 0x11e4 26 eax = eax - [rbp - 0x314 {var_31c}].d 0x11ea 27 rax = sx.q(eax) 0x11ec 28 [rbp + rax - 0x110].b = cl 0x11f3 29 eax = [rbp - 0x314 {var_31c}].d 0x11f9 30 eax = eax + 1 0x11fc 31 [rbp - 0x314 {var_31c}].d = eax 0x1202 32 goto 17 @ 0x11b8 0x1211 33 eax = [rbp - 0x314 {var_31c}].d 0x1217 34 ecx = 0xfd {""} 0x121c 35 ecx = ecx - [rbp - 0x324 {var_32c}].d 0x1224 36 if (eax s> ecx) then 37 @ 0x124d else 42 @ 0x122a 0x124d 37 rdi = rbp - 0x210 {var_218} 0x1254 38 call(0x1040) 0x1259 39 [rbp - 0x324 {var_32c_1}].d = eax 0x125f 40 [rbp - 0x314 {var_31c}].d = 0 0x125f 41 goto 48 @ 0x1269 0x122a 42 rax = sx.q([rbp - 0x314 {var_31c}].d) 0x1231 43 [rbp + rax - 0x110].b = 0x30 {""} 0x1239 44 eax = [rbp - 0x314 {var_31c}].d 0x123f 45 eax = eax + 1 0x1242 46 [rbp - 0x314 {var_31c}].d = eax 0x1248 47 goto 33 @ 0x1211 0x1269 48 eax = [rbp - 0x314 {var_31c}].d 0x1275 49 if (eax s> [rbp - 0x324 {var_32c_1}].d) then 50 @ 0x12b8 else 52 @ 0x127b 0x12b8 50 [rbp - 0x314 {var_31c}].d = 0 0x12b8 51 goto 64 @ 0x12c2 0x127b 52 eax = [rbp - 0x324 {var_32c_1}].d 0x1281 53 eax = eax - [rbp - 0x314 {var_31c}].d 0x1287 54 rax = sx.q(eax) 0x1289 55 cl = [rbp + rax - 0x210].b 0x1290 56 eax = 0xfe {""} 0x1295 57 eax = eax - [rbp - 0x314 {var_31c}].d 0x129b 58 rax = sx.q(eax) 0x129d 59 [rbp + rax - 0x210].b = cl 0x12a4 60 eax = [rbp - 0x314 {var_31c}].d 0x12aa 61 eax = eax + 1 0x12ad 62 [rbp - 0x314 {var_31c}].d = eax 0x12b3 63 goto 48 @ 0x1269 0x12c2 64 eax = [rbp - 0x314 {var_31c}].d 0x12c8 65 ecx = 0xfd {""} 0x12cd 66 ecx = ecx - [rbp - 0x324 {var_32c_1}].d 0x12d5 67 if (eax s> ecx) then 68 @ 0x12fe else 71 @ 0x12db 0x12fe 68 [rbp - 0x324 {var_32c_2}].d = 0 0x1308 69 [rbp - 0x314 {var_31c}].d = 0xfd {""} 0x1308 70 goto 77 @ 0x1319 0x12db 71 rax = sx.q([rbp - 0x314 {var_31c}].d) 0x12e2 72 [rbp + rax - 0x210].b = 0x30 {""} 0x12ea 73 eax = [rbp - 0x314 {var_31c}].d 0x12f0 74 eax = eax + 1 0x12f3 75 [rbp - 0x314 {var_31c}].d = eax 0x12f9 76 goto 64 @ 0x12c2 0x1319 77 if ([rbp - 0x314 {var_31c}].d s< 0) then 78 @ 0x13a6 else 81 @ 0x131f 0x13a6 78 [rbp - 0x212 {var_21a}].b = 0 0x13ad 79 [rbp - 0x314 {var_31c}].d = 0 0x13ad 80 goto 127 @ 0x13b7 0x131f 81 rax = sx.q([rbp - 0x314 {var_31c}].d) 0x1326 82 eax = sx.d([rbp + rax - 0x110].b) 0x132e 83 eax = eax - 0x30 0x1331 84 rcx = sx.q([rbp - 0x314 {var_31c}].d) 0x1338 85 ecx = sx.d([rbp + rcx - 0x210].b) 0x1340 86 eax = eax + ecx 0x1342 87 eax = eax - 0x30 0x1345 88 eax = eax + [rbp - 0x324 {var_32c_2}].d 0x134b 89 [rbp - 0x31c {var_324_1}].d = eax 0x1351 90 eax = [rbp - 0x31c {var_324_1}].d 0x1357 91 ecx = 0xa {""} 0x135c 92 temp2.d:temp3.d = sx.q(eax) 0x135c 93 edx = temp2.d 0x135c 94 eax = temp3.d 0x135d 95 temp4.d = edx 0x135d 96 temp5.d = eax 0x135d 97 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x135d 98 temp6.d = edx 0x135d 99 temp7.d = eax 0x135d 100 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x135d 101 eax = temp0.d 0x135d 102 edx = temp1.d 0x135f 103 [rbp - 0x320 {var_328_1}].d = edx 0x1365 104 eax = [rbp - 0x31c {var_324_1}].d 0x136b 105 ecx = 0xa {""} 0x1370 106 temp8.d:temp9.d = sx.q(eax) 0x1370 107 edx = temp8.d 0x1370 108 eax = temp9.d 0x1371 109 temp10.d = edx 0x1371 110 temp11.d = eax 0x1371 111 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x1371 112 temp12.d = edx 0x1371 113 temp13.d = eax 0x1371 114 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x1371 115 eax = temp0.d 0x1371 116 edx = temp1.d 0x1373 117 [rbp - 0x324 {var_32c_2}].d = eax 0x1379 118 eax = [rbp - 0x320 {var_328_1}].d 0x137f 119 eax = eax + 0x30 0x1382 120 cl = al 0x1384 121 rax = sx.q([rbp - 0x314 {var_31c}].d) 0x138b 122 [rbp + rax - 0x310].b = cl 0x1392 123 eax = [rbp - 0x314 {var_31c}].d 0x1398 124 eax = eax - 1 0x139b 125 [rbp - 0x314 {var_31c}].d = eax 0x13a1 126 goto 77 @ 0x1319 0x13b7 127 rax = sx.q([rbp - 0x314 {var_31c}].d) 0x13be 128 eax = sx.d([rbp + rax - 0x310].b) 0x13c9 129 if (eax != 0x30) then 130 @ 0x1422 else 133 @ 0x13cf 0x1422 130 rdi = rbp - 0x310 {var_318} 0x1429 131 call(0x1040) 0x1432 132 if (rax != 0) then 135 @ 0x144b else 140 @ 0x1438 0x13cf 133 [rbp - 0x318 {var_320_1}].d = 0 0x13cf 134 goto 144 @ 0x13e3 0x144b 135 rsi = rbp - 0x310 {var_318} 0x1452 136 rdi = 0x2004 {"%s"} 0x1459 137 al = 0 0x145b 138 call(0x1030) 0x145b 139 goto 145 @ 0x1460 0x1438 140 rdi = 0x2007 {"0"} 0x143f 141 al = 0 0x1441 142 call(0x1030) 0x1446 143 goto 145 @ 0x1460 0x13e3 144 if ([rbp - 0x318 {var_320_1}].d s>= 0xfe) then 153 @ 0x141d else 154 @ 0x13e9 0x1460 145 rdi = 0x2009 {"%d"} 0x1467 146 rsi = rbp - 0x314 {var_31c} 0x146e 147 al = 0 0x1470 148 call(0x1050) 0x1475 149 eax = 0 0x1477 150 rsp = rsp + 0x330 0x147e 151 rbp = pop 0x147f 152 <return> jump(pop) 0x141d 153 goto 127 @ 0x13b7 0x13e9 154 eax = [rbp - 0x318 {var_320_1}].d 0x13ef 155 eax = eax + 1 0x13f2 156 rax = sx.q(eax) 0x13f4 157 cl = [rbp + rax - 0x310].b 0x13fb 158 rax = sx.q([rbp - 0x318 {var_320_1}].d) 0x1402 159 [rbp + rax - 0x310].b = cl 0x1409 160 eax = [rbp - 0x318 {var_320_1}].d 0x140f 161 eax = eax + 1 0x1412 162 [rbp - 0x318 {var_320_1}].d = eax 0x1418 163 goto 144 @ 0x13e3 int64_t _fini(): 0x1484 0 rsp = rsp - 8 0x1488 1 rsp = rsp + 8 0x148c 2 <return> jump(pop)
POJ_69
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r13) 0x1156 3 push(r12) 0x1158 4 push(rbx) 0x1159 5 rsp = rsp - 0x1a0 0x1160 6 r14 = 0x2004 {"%d %d"} 0x1167 7 r15 = rsp + 8 {var_1c0} 0x116c 8 r12 = rsp + 0xc {var_1bc} 0x1171 9 eax = 0 0x1173 10 goto 11 @ 0x1192 0x1192 11 r13 = rax 0x1195 12 rdi = r14 0x1198 13 rsi = r15 {var_1c0} 0x119b 14 rdx = r12 {var_1bc} 0x119e 15 eax = 0 0x11a0 16 call(0x1040) 0x11a5 17 r9d = [rsp + 8 {var_1c0}].d 0x11aa 18 edx = 1 0x11af 19 esi = [rsp + 0xc {var_1bc}].d 0x11b7 20 if (r9d s< 2) then 21 @ 0x1180 else 25 @ 0x11b9 0x1180 21 [rsp + (r13 << 2) + 0x10].d = edx 0x1185 22 rax = r13 + 1 0x1189 23 esi = esi | r9d 0x118c 24 if (esi == 0) then 27 @ 0x121c else 11 @ 0x1192 0x11b9 25 r8d = (r9 - 1).d 0x11c1 26 if (r9d != 2) then 28 @ 0x11d0 else 33 @ 0x11c3 0x121c 27 if (r13d == 0) then 36 @ 0x1247 else 43 @ 0x121e 0x11d0 28 ebx = r8d 0x11d3 29 ebx = ebx & 0xfffffffe 0x11d6 30 edx = 1 0x11db 31 edi = 2 0x11db 32 goto 47 @ 0x11e0 0x11c3 33 edx = 1 0x11c8 34 edi = 2 0x11cd 35 goto 77 @ 0x1202 0x1247 36 rsp = rsp + 0x1a0 0x124e 37 rbx = pop 0x124f 38 r12 = pop 0x1251 39 r13 = pop 0x1253 40 r14 = pop 0x1255 41 r15 = pop 0x1257 42 <return> jump(pop) 0x121e 43 r15d = r13d 0x1221 44 r14 = 0x200a {"%d\n"} 0x1228 45 ebx = 0 0x122a 46 goto 78 @ 0x1230 0x11e0 47 ecx = edi 0x11e2 48 eax = (rdx + rsi).d 0x11e5 49 eax = eax - 1 0x11e8 50 temp2.d:temp3.d = sx.q(eax) 0x11e8 51 edx = temp2.d 0x11e8 52 eax = temp3.d 0x11e9 53 temp4.d = edx 0x11e9 54 temp5.d = eax 0x11e9 55 temp0.d = divs.dp.d(temp4.d:temp5.d, edi) 0x11e9 56 temp6.d = edx 0x11e9 57 temp7.d = eax 0x11e9 58 temp1.d = mods.dp.d(temp6.d:temp7.d, edi) 0x11e9 59 eax = temp0.d 0x11e9 60 edx = temp1.d 0x11eb 61 eax = (rdx + rsi).d 0x11ee 62 edi = (rcx + 1).d 0x11f1 63 temp8.d:temp9.d = sx.q(eax) 0x11f1 64 edx = temp8.d 0x11f1 65 eax = temp9.d 0x11f2 66 temp10.d = edx 0x11f2 67 temp11.d = eax 0x11f2 68 temp0.d = divs.dp.d(temp10.d:temp11.d, edi) 0x11f2 69 temp12.d = edx 0x11f2 70 temp13.d = eax 0x11f2 71 temp1.d = mods.dp.d(temp12.d:temp13.d, edi) 0x11f2 72 eax = temp0.d 0x11f2 73 edx = temp1.d 0x11f4 74 edx = edx + 1 0x11f7 75 edi = (rcx + 2).d 0x11fc 76 if (ecx != ebx) then 47 @ 0x11e0 else 77 @ 0x1202 0x1202 77 if ((r8b & 1) == 0) then 21 @ 0x1180 else 84 @ 0x1208 0x1230 78 esi = [rsp + (rbx << 2) + 0x10].d 0x1234 79 rdi = r14 0x1237 80 eax = 0 0x1239 81 call(0x1030) 0x123e 82 rbx = rbx + 1 0x1245 83 if (r15 != rbx) then 78 @ 0x1230 else 36 @ 0x1247 0x1208 84 eax = (rdx + rsi).d 0x120b 85 eax = eax - 1 0x120e 86 temp14.d:temp15.d = sx.q(eax) 0x120e 87 edx = temp14.d 0x120e 88 eax = temp15.d 0x120f 89 temp16.d = edx 0x120f 90 temp17.d = eax 0x120f 91 temp0.d = divs.dp.d(temp16.d:temp17.d, edi) 0x120f 92 temp18.d = edx 0x120f 93 temp19.d = eax 0x120f 94 temp1.d = mods.dp.d(temp18.d:temp19.d, edi) 0x120f 95 eax = temp0.d 0x120f 96 edx = temp1.d 0x1211 97 edx = edx + 1 0x1214 98 goto 21 @ 0x1180 int64_t _fini(): 0x125c 0 rsp = rsp - 8 0x1260 1 rsp = rsp + 8 0x1264 2 <return> jump(pop)
POJ_79
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x18 0x115e 7 rdi = 0x2004 {"%d"} 0x1165 8 ebx = 0 0x1167 9 rsi = rsp + 0xc {var_3c} 0x116c 10 eax = 0 0x116e 11 call(0x1040) 0x1178 12 if ([rsp + 0xc {var_3c}].d s<= 0) then 13 @ 0x121b else 15 @ 0x117e 0x121b 13 eax = 0xffffffff {""} 0x1223 14 if (ecx s< 2) then 19 @ 0x123d else 32 @ 0x1225 0x117e 15 eax = 0xffffffff {""} 0x1183 16 r13d = 1 0x1189 17 ecx = 0xffffffff {""} 0x118e 18 goto 35 @ 0x11a3 0x123d 19 rdi = 0x2007 {"%d\n"} 0x1244 20 esi = ebx 0x1246 21 eax = 0 0x1248 22 call(0x1030) 0x124d 23 eax = 0 0x124f 24 rsp = rsp + 0x18 0x1253 25 rbx = pop 0x1254 26 r12 = pop 0x1256 27 r13 = pop 0x1258 28 r14 = pop 0x125a 29 r15 = pop 0x125c 30 rbp = pop 0x125d 31 <return> jump(pop) 0x1225 32 ebp = [rsp + 0x10 {var_38}].d 0x1229 33 ebp = ebp - eax 0x122e 34 if (ebp s< 2) then 19 @ 0x123d else 36 @ 0x1230 0x11a3 35 if ([rsp + 0xc {var_3c}].d s<= 0) then 42 @ 0x1190 else 46 @ 0x11a5 0x1230 36 eax = ebp 0x1232 37 ecx = ecx - 1 0x1235 38 eax = eax - 1 0x1238 39 eax = eax * ecx 0x123b 40 ebx = eax 0x123b 41 goto 19 @ 0x123d 0x1190 42 edx = (r13 + 1).d 0x1194 43 cond:0 = r13d s>= [rsp + 0xc {var_3c}].d 0x1199 44 r13d = edx 0x119c 45 if (cond:0) then 50 @ 0x120e else 35 @ 0x11a3 0x11a5 46 r14d = 0 0x11a8 47 r15d = eax 0x11ab 48 r12d = ecx 0x11ae 49 goto 54 @ 0x11bd 0x120e 50 ebp = ebp - ecx 0x1210 51 ecx = ebp 0x1212 52 ebx = 0 0x1217 53 if (ecx s>= 2) then 32 @ 0x1225 else 65 @ 0x1219 0x11bd 54 r14d = r14d + 1 0x11c1 55 rdi = 0x2004 {"%d"} 0x11c8 56 rsi = rsp + 0x14 {var_34} 0x11cd 57 eax = 0 0x11cf 58 call(0x1040) 0x11d8 59 al = r12d == -1 0x11db 60 temp0.d = [rsp + 0x14 {var_34}].d 0x11db 61 cond:1 = temp0.d == 0 0x11db 62 cond:2 = temp0.d == 0 0x11e0 63 dl = temp0.d == 0 0x11e3 64 if (cond:1) then 66 else 68 @ 0x11e7 0x1219 65 goto 19 @ 0x123d 0x11e3 66 ebp = r13d 0x11e3 67 goto 68 @ 0x11e7 0x11e7 68 ecx = [rsp + 0x10 {var_38}].d 0x11eb 69 if (cond:2) then 70 else 72 @ 0x11ef 0x11eb 70 ecx = r14d 0x11eb 71 goto 72 @ 0x11ef 0x11ef 72 [rsp + 0x10 {var_38}].d = ecx 0x11f3 73 dl = dl & al 0x11f9 74 bl = r15d == -1 0x11fc 75 ecx = r13d 0x11ff 76 eax = r14d 0x1204 77 if ((dl & bl) != 0) then 78 @ 0x11b0 else 81 @ 0x1206 0x11b0 78 r15d = eax 0x11b3 79 r12d = ecx 0x11bb 80 if (r14d s>= [rsp + 0xc {var_3c}].d) then 42 @ 0x1190 else 54 @ 0x11bd 0x1206 81 ecx = r12d 0x1209 82 eax = r15d 0x120c 83 goto 78 @ 0x11b0 int64_t _fini(): 0x1264 0 rsp = rsp - 8 0x1268 1 rsp = rsp + 8 0x126c 2 <return> jump(pop)
POJ_15
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AVSPH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r14) 0x1152 1 push(rbx) 0x1153 2 push(rax) 0x1154 3 rdi = 0x2004 {"%d"} 0x115b 4 rsi = rsp + 4 {var_18+0x4} 0x1160 5 eax = 0 0x1162 6 call(0x1040) 0x1167 7 rax = sx.q([rsp + 4 {var_18+0x4}].d) 0x116c 8 rbx = rax * 0x51eb851f 0x1173 9 rax = rbx 0x1176 10 rax = rax u>> 0x3f 0x117a 11 rbx = rbx s>> 0x25 0x117e 12 ebx = ebx + eax 0x1180 13 r14 = 0x2007 {"%d\n"} 0x1187 14 rdi = r14 0x118a 15 esi = ebx 0x118c 16 eax = 0 0x118e 17 call(0x1030) 0x1193 18 eax = ebx * -0x64 0x1196 19 eax = eax + [rsp + 4 {var_18+0x4}].d 0x119a 20 [rsp + 4 {var_18+0x4}].d = eax 0x119e 21 rax = sx.q(eax) 0x11a0 22 rbx = rax * 0x51eb851f 0x11a7 23 rax = rbx 0x11aa 24 rax = rax u>> 0x3f 0x11ae 25 rbx = rbx s>> 0x24 0x11b2 26 ebx = ebx + eax 0x11b4 27 rdi = r14 0x11b7 28 esi = ebx 0x11b9 29 eax = 0 0x11bb 30 call(0x1030) 0x11c0 31 eax = ebx * -0x32 0x11c3 32 eax = eax + [rsp + 4 {var_18+0x4}].d 0x11c7 33 [rsp + 4 {var_18+0x4}].d = eax 0x11cb 34 rax = sx.q(eax) 0x11cd 35 rbx = rax * 0x66666667 0x11d4 36 rax = rbx 0x11d7 37 rax = rax u>> 0x3f 0x11db 38 rbx = rbx s>> 0x23 0x11df 39 ebx = ebx + eax 0x11e1 40 rdi = r14 0x11e4 41 esi = ebx 0x11e6 42 eax = 0 0x11e8 43 call(0x1030) 0x11ed 44 ebx = ebx << 2 0x11f0 45 eax = (rbx + (rbx << 2)).d 0x11f3 46 ecx = [rsp + 4 {var_18+0x4}].d 0x11f7 47 ecx = ecx - eax 0x11f9 48 [rsp + 4 {var_18+0x4}].d = ecx 0x11fd 49 rax = sx.q(ecx) 0x1200 50 rbx = rax * 0x66666667 0x1207 51 rax = rbx 0x120a 52 rax = rax u>> 0x3f 0x120e 53 rbx = rbx s>> 0x22 0x1212 54 ebx = ebx + eax 0x1214 55 rdi = r14 0x1217 56 esi = ebx 0x1219 57 eax = 0 0x121b 58 call(0x1030) 0x1220 59 ebx = ebx + ebx 0x1222 60 eax = (rbx + (rbx << 2)).d 0x1225 61 ecx = [rsp + 4 {var_18+0x4}].d 0x1229 62 ecx = ecx - eax 0x122b 63 [rsp + 4 {var_18+0x4}].d = ecx 0x122f 64 rax = sx.q(ecx) 0x1232 65 rbx = rax * 0x66666667 0x1239 66 rax = rbx 0x123c 67 rax = rax u>> 0x3f 0x1240 68 rbx = rbx s>> 0x21 0x1244 69 ebx = ebx + eax 0x1246 70 rdi = r14 0x1249 71 esi = ebx 0x124b 72 eax = 0 0x124d 73 call(0x1030) 0x1252 74 eax = (rbx + (rbx << 2)).d 0x1255 75 esi = [rsp + 4 {var_18+0x4}].d 0x1259 76 esi = esi - eax 0x125b 77 [rsp + 4 {var_18+0x4}].d = esi 0x125f 78 rdi = r14 0x1262 79 eax = 0 0x1264 80 call(0x1030) 0x1269 81 eax = 0 0x126b 82 rsp = rsp + 8 0x126f 83 rbx = pop 0x1270 84 r14 = pop 0x1272 85 <return> jump(pop) int64_t _fini(): 0x1278 0 rsp = rsp - 8 0x127c 1 rsp = rsp + 8 0x1280 2 <return> jump(pop)
POJ_97
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1850 {"UAWAVAUATSH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) uint64_t cifang(int32_t arg1): 0x1172 0 if (edi s<= 0) then 1 @ 0x1185 else 3 @ 0x1177 0x1185 1 eax = 1 0x118a 2 <return> jump(pop) 0x1177 3 if (edi u>= 8) then 4 @ 0x118b else 13 @ 0x1179 0x118b 4 ecx = edi 0x118d 5 ecx = ecx & 0xfffffff8 0x1190 6 esi = (rcx - 8).d 0x1193 7 edx = esi 0x1195 8 edx = edx u>> 3 0x1198 9 edx = edx + 1 0x119b 10 eax = edx 0x119d 11 eax = eax & 7 0x11a3 12 if (esi u>= 0x38) then 16 @ 0x11b3 else 21 @ 0x11a5 0x1179 13 ecx = 0 0x117b 14 eax = 1 0x1180 15 goto 24 @ 0x128b 0x11b3 16 edx = edx & 0xfffffff8 0x11b6 17 xmm0 = [0x2010].o 0x11be 18 xmm2 = [0x2020].o 0x11c6 19 xmm1 = xmm0 0x11ca 20 goto 26 @ 0x11d0 0x11a5 21 xmm0 = [0x2010].o 0x11ad 22 xmm1 = xmm0 0x11b1 23 goto 41 @ 0x120d 0x128b 24 edi = edi - ecx 0x128d 25 goto 42 @ 0x1290 0x11d0 26 xmm3 = _mm_shuffle_epi32(xmm0, 0xf5) 0x11d5 27 xmm0 = _mm_mul_epu32(xmm0, xmm2) 0x11d9 28 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8) 0x11de 29 xmm3 = _mm_mul_epu32(xmm3, xmm2) 0x11e2 30 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x11e7 31 xmm0 = _mm_unpacklo_epi32(xmm0, xmm3.q) 0x11eb 32 xmm3 = _mm_shuffle_epi32(xmm1, 0xf5) 0x11f0 33 xmm1 = _mm_mul_epu32(xmm1, xmm2) 0x11f4 34 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x11f9 35 xmm3 = _mm_mul_epu32(xmm3, xmm2) 0x11fd 36 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x1202 37 xmm1 = _mm_unpacklo_epi32(xmm1, xmm3.q) 0x1206 38 temp0.d = edx 0x1206 39 edx = edx - 8 0x1209 40 if (temp0.d != 8) then 26 @ 0x11d0 else 41 @ 0x120d 0x120d 41 if (eax == 0) then 47 @ 0x125b else 58 @ 0x120f 0x1290 42 eax = eax + eax 0x1292 43 eax = (rax + (rax << 2)).d 0x1295 44 temp1.d = edi 0x1295 45 edi = edi - 1 0x1298 46 if (temp1.d != 1) then 42 @ 0x1290 else 60 @ 0x129a 0x125b 47 xmm2 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1260 48 xmm3 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1265 49 xmm3 = _mm_mul_epu32(xmm3, xmm2) 0x1269 50 xmm1 = _mm_mul_epu32(xmm1, xmm0) 0x126d 51 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x1272 52 xmm0 = _mm_mul_epu32(xmm0, xmm1) 0x1276 53 xmm1 = _mm_shuffle_epi32(xmm3, 0xaa) 0x127b 54 xmm1 = _mm_mul_epu32(xmm1, xmm3) 0x127f 55 xmm1 = _mm_mul_epu32(xmm1, xmm0) 0x1283 56 eax = xmm1.d 0x1289 57 if (ecx == edi) then 60 @ 0x129a else 24 @ 0x128b 0x120f 58 xmm2 = [0x2030].o 0x1217 59 goto 61 @ 0x1220 0x129a 60 <return> jump(pop) 0x1220 61 xmm3 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1225 62 xmm0 = _mm_mul_epu32(xmm0, xmm2) 0x1229 63 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8) 0x122e 64 xmm3 = _mm_mul_epu32(xmm3, xmm2) 0x1232 65 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x1237 66 xmm0 = _mm_unpacklo_epi32(xmm0, xmm3.q) 0x123b 67 xmm3 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1240 68 xmm1 = _mm_mul_epu32(xmm1, xmm2) 0x1244 69 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x1249 70 xmm3 = _mm_mul_epu32(xmm3, xmm2) 0x124d 71 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x1252 72 xmm1 = _mm_unpacklo_epi32(xmm1, xmm3.q) 0x1256 73 temp2.d = eax 0x1256 74 eax = eax - 1 0x1259 75 if (temp2.d != 1) then 61 @ 0x1220 else 47 @ 0x125b uint64_t reverse(int32_t arg1): 0x12a0 0 push(rbp) 0x12a1 1 push(r15) 0x12a3 2 push(r14) 0x12a5 3 push(rbx) 0x12a6 4 rsp = rsp - 0x198 0x12ad 5 r15d = edi 0x12b0 6 rdi = rsp {var_1b8} 0x12b3 7 ebp = 0 0x12b5 8 edx = 0x190 {""} 0x12ba 9 esi = 0 0x12bc 10 call(0x1050) 0x12c4 11 if (r15d == 0) then 12 @ 0x1837 else 19 @ 0x12ca 0x1837 12 eax = ebp 0x1839 13 rsp = rsp + 0x198 0x1840 14 rbx = pop 0x1841 15 r14 = pop 0x1843 16 r15 = pop 0x1845 17 rbp = pop 0x1846 18 <return> jump(pop) 0x12ca 19 r9d = 0 0x12cd 20 edx = 0xfffffff8 {""} 0x12d2 21 r11d = 0xfffffff9 {""} 0x12d8 22 r8d = [rsp {var_1b8}].d 0x12dc 23 xmm2 = [0x2010].o 0x12e4 24 xmm0 = [0x2030].o 0x12ec 25 xmm1 = [0x2020].o 0x12f4 26 ecx = 0 0x12f6 27 goto 28 @ 0x1323 0x1323 28 rsi = rcx 0x1326 29 r10d = edx 0x1329 30 eax = (rcx + 1).d 0x132c 31 edi = 1 0x1331 32 ecx = 0 0x1339 33 if (eax u< 8) then 34 @ 0x142b else 37 @ 0x133f 0x142b 34 eax = ecx 0x142d 35 rax = rax - 1 0x143b 36 goto 46 @ 0x1440 0x133f 37 edx = r11d 0x1342 38 edx = edx u>> 3 0x1345 39 ecx = (rsi - 7).d 0x1348 40 edi = ecx 0x134a 41 edi = edi u>> 3 0x134d 42 edi = edi + 1 0x1350 43 xmm4 = xmm2 0x1354 44 xmm3 = xmm2 0x135b 45 if (ecx u< 0x38) then 50 @ 0x13ab else 53 @ 0x135d 0x1440 46 edi = edi + edi 0x1442 47 edi = (rdi + (rdi << 2)).d 0x1445 48 rax = rax + 1 0x144c 49 if (rsi != rax) then 46 @ 0x1440 else 58 @ 0x144e 0x13ab 50 ecx = eax 0x13ad 51 ecx = ecx & 0xfffffff8 0x13b4 52 if ((dil & 7) == 0) then 72 @ 0x13fb else 83 @ 0x13b6 0x135d 53 ecx = (rdx + 1).d 0x1360 54 ecx = ecx & 0xfffffff8 0x1363 55 xmm4 = xmm2 0x1367 56 xmm3 = xmm2 0x136b 57 goto 87 @ 0x1370 0x144e 58 eax = r15d 0x1451 59 temp2.d:temp3.d = sx.q(eax) 0x1451 60 edx = temp2.d 0x1451 61 eax = temp3.d 0x1452 62 temp4.d = edx 0x1452 63 temp5.d = eax 0x1452 64 temp0.d = divs.dp.d(temp4.d:temp5.d, edi) 0x1452 65 temp6.d = edx 0x1452 66 temp7.d = eax 0x1452 67 temp1.d = mods.dp.d(temp6.d:temp7.d, edi) 0x1452 68 eax = temp0.d 0x1452 69 edx = temp1.d 0x1454 70 eax = edx 0x1459 71 if (rsi == 0) then 102 @ 0x1300 else 106 @ 0x145f 0x13fb 72 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x1400 73 xmm6 = _mm_shuffle_epi32(xmm3, 0xf5) 0x1405 74 xmm6 = _mm_mul_epu32(xmm6, xmm5) 0x1409 75 xmm3 = _mm_mul_epu32(xmm3, xmm4) 0x140d 76 xmm4 = _mm_shuffle_epi32(xmm3, 0xee) 0x1412 77 xmm4 = _mm_mul_epu32(xmm4, xmm3) 0x1416 78 xmm3 = _mm_shuffle_epi32(xmm6, 0xaa) 0x141b 79 xmm3 = _mm_mul_epu32(xmm3, xmm6) 0x141f 80 xmm3 = _mm_mul_epu32(xmm3, xmm4) 0x1423 81 edi = xmm3.d 0x1429 82 if (eax == ecx) then 58 @ 0x144e else 34 @ 0x142b 0x13b6 83 dl = dl + 1 0x13b9 84 edx = zx.d(dl) 0x13bc 85 edx = edx & 7 0x13bf 86 goto 118 @ 0x13c0 0x1370 87 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x1375 88 xmm4 = _mm_mul_epu32(xmm4, xmm1) 0x1379 89 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x137e 90 xmm5 = _mm_mul_epu32(xmm5, xmm1) 0x1382 91 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x1387 92 xmm4 = _mm_unpacklo_epi32(xmm4, xmm5.q) 0x138b 93 xmm5 = _mm_shuffle_epi32(xmm3, 0xf5) 0x1390 94 xmm3 = _mm_mul_epu32(xmm3, xmm1) 0x1394 95 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x1399 96 xmm5 = _mm_mul_epu32(xmm5, xmm1) 0x139d 97 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x13a2 98 xmm3 = _mm_unpacklo_epi32(xmm3, xmm5.q) 0x13a6 99 temp8.d = ecx 0x13a6 100 ecx = ecx - 8 0x13a9 101 if (temp8.d != 8) then 87 @ 0x1370 else 50 @ 0x13ab 0x1300 102 ecx = 1 0x1305 103 r8d = eax 0x1308 104 r9d = eax 0x1308 105 goto 133 @ 0x130b 0x145f 106 edi = r10d 0x1462 107 edi = edi u>> 3 0x1465 108 r14d = (rsi - 8).d 0x1469 109 ecx = (rdi + 1).d 0x146c 110 edi = edi + 1 0x146f 111 ebp = r14d 0x1472 112 ebp = ebp u>> 3 0x1475 113 ecx = zx.d(cl) 0x1478 114 ecx = ecx & 7 0x147b 115 edi = edi & 0xfffffff8 0x147e 116 ebp = ebp + 1 0x1484 117 if (esi u>= 8) then 140 @ 0x14a0 else 143 @ 0x1486 0x13c0 118 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x13c5 119 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x13c9 120 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x13ce 121 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x13d2 122 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x13d7 123 xmm4 = _mm_unpacklo_epi32(xmm4, xmm5.q) 0x13db 124 xmm5 = _mm_shuffle_epi32(xmm3, 0xf5) 0x13e0 125 xmm3 = _mm_mul_epu32(xmm3, xmm0) 0x13e4 126 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x13e9 127 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x13ed 128 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x13f2 129 xmm3 = _mm_unpacklo_epi32(xmm3, xmm5.q) 0x13f6 130 temp9.d = edx 0x13f6 131 edx = edx - 1 0x13f9 132 if (temp9.d != 1) then 118 @ 0x13c0 else 72 @ 0x13fb 0x130b 133 eax = eax * ecx 0x130e 134 rcx = rsi + 1 0x1312 135 edx = (r10 + 1).d 0x1316 136 r11d = r11d + 1 0x131a 137 temp10.d = r15d 0x131a 138 r15d = r15d - eax 0x131d 139 if (temp10.d == eax) then 146 @ 0x16b3 else 28 @ 0x1323 0x14a0 140 xmm4 = xmm2 0x14a4 141 xmm3 = xmm2 0x14ac 142 if (r14d u< 0x38) then 148 @ 0x14fb else 151 @ 0x14ae 0x1486 143 edx = 0 0x1488 144 ebx = 1 0x148d 145 goto 155 @ 0x157b 0x16b3 146 [rsp {var_1b8}].d = r8d 0x16b9 147 if (ecx == 0) then 157 @ 0x1835 else 159 @ 0x16bf 0x14fb 148 edx = esi 0x14fd 149 edx = edx & 0xfffffff8 0x1504 150 if ((bpl & 7) == 0) then 170 @ 0x154b else 181 @ 0x1506 0x14ae 151 edx = edi 0x14b0 152 xmm4 = xmm2 0x14b4 153 xmm3 = xmm2 0x14b8 154 goto 183 @ 0x14c0 0x157b 155 edx = edx 0x157d 156 goto 198 @ 0x1580 0x1835 157 ebp = 0 0x1835 158 goto 12 @ 0x1837 0x16bf 159 r8d = ecx 0x16c2 160 r11d = esi 0x16c5 161 r11d = neg.d(r11d) 0x16c8 162 edi = 0 0x16ca 163 xmm2 = [0x2010].o 0x16d2 164 ebp = 0 0x16d4 165 eax = edi 0x16d6 166 eax = not.d(eax) 0x16d8 167 temp11.d = eax 0x16d8 168 eax = eax + ecx 0x16da 169 if (temp11.d s<= neg.d(ecx)) then 202 @ 0x1700 else 204 @ 0x16dc 0x154b 170 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x1550 171 xmm6 = _mm_shuffle_epi32(xmm3, 0xf5) 0x1555 172 xmm6 = _mm_mul_epu32(xmm6, xmm5) 0x1559 173 xmm3 = _mm_mul_epu32(xmm3, xmm4) 0x155d 174 xmm4 = _mm_shuffle_epi32(xmm3, 0xee) 0x1562 175 xmm4 = _mm_mul_epu32(xmm4, xmm3) 0x1566 176 xmm3 = _mm_shuffle_epi32(xmm6, 0xaa) 0x156b 177 xmm3 = _mm_mul_epu32(xmm3, xmm6) 0x156f 178 xmm3 = _mm_mul_epu32(xmm3, xmm4) 0x1573 179 ebx = xmm3.d 0x1579 180 if (edx == esi) then 205 @ 0x158e else 155 @ 0x157b 0x1506 181 ebx = ecx 0x1508 182 goto 218 @ 0x1510 0x14c0 183 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x14c5 184 xmm4 = _mm_mul_epu32(xmm4, xmm1) 0x14c9 185 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x14ce 186 xmm5 = _mm_mul_epu32(xmm5, xmm1) 0x14d2 187 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x14d7 188 xmm4 = _mm_unpacklo_epi32(xmm4, xmm5.q) 0x14db 189 xmm5 = _mm_shuffle_epi32(xmm3, 0xf5) 0x14e0 190 xmm3 = _mm_mul_epu32(xmm3, xmm1) 0x14e4 191 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x14e9 192 xmm5 = _mm_mul_epu32(xmm5, xmm1) 0x14ed 193 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x14f2 194 xmm3 = _mm_unpacklo_epi32(xmm3, xmm5.q) 0x14f6 195 temp12.d = edx 0x14f6 196 edx = edx - 8 0x14f9 197 if (temp12.d != 8) then 183 @ 0x14c0 else 148 @ 0x14fb 0x1580 198 ebx = ebx + ebx 0x1582 199 ebx = (rbx + (rbx << 2)).d 0x1585 200 rdx = rdx + 1 0x158c 201 if (rsi != rdx) then 198 @ 0x1580 else 205 @ 0x158e 0x1700 202 edx = 1 0x1705 203 goto 233 @ 0x1809 0x16dc 204 goto 237 @ 0x16e0 0x158e 205 temp13.d:temp14.d = sx.q(eax) 0x158e 206 edx = temp13.d 0x158e 207 eax = temp14.d 0x158f 208 temp15.d = edx 0x158f 209 temp16.d = eax 0x158f 210 temp0.d = divs.dp.d(temp15.d:temp16.d, ebx) 0x158f 211 temp17.d = edx 0x158f 212 temp18.d = eax 0x158f 213 temp1.d = mods.dp.d(temp17.d:temp18.d, ebx) 0x158f 214 eax = temp0.d 0x158f 215 edx = temp1.d 0x1591 216 [rsp + (rsi << 2)].d = eax 0x1597 217 if (esi u>= 8) then 240 @ 0x15b0 else 243 @ 0x1599 0x1510 218 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x1515 219 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x1519 220 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x151e 221 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x1522 222 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x1527 223 xmm4 = _mm_unpacklo_epi32(xmm4, xmm5.q) 0x152b 224 xmm5 = _mm_shuffle_epi32(xmm3, 0xf5) 0x1530 225 xmm3 = _mm_mul_epu32(xmm3, xmm0) 0x1534 226 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x1539 227 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x153d 228 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x1542 229 xmm3 = _mm_unpacklo_epi32(xmm3, xmm5.q) 0x1546 230 temp19.d = ebx 0x1546 231 ebx = ebx - 1 0x1549 232 if (temp19.d != 1) then 218 @ 0x1510 else 170 @ 0x154b 0x1809 233 edx = edx * r9d 0x180d 234 ebp = ebp + edx 0x180f 235 rdi = rdi + 1 0x1816 236 if (rdi == r8) then 12 @ 0x1837 else 246 @ 0x1818 0x16e0 237 ebx = esi 0x16e2 238 ebx = ebx - edi 0x16e7 239 if (ebx u>= 8) then 254 @ 0x1710 else 263 @ 0x16e9 0x15b0 240 xmm4 = xmm2 0x15b4 241 xmm3 = xmm2 0x15bc 242 if (r14d u< 0x38) then 266 @ 0x160b else 269 @ 0x15be 0x1599 243 edx = 0 0x159b 244 ecx = 1 0x15a0 245 goto 272 @ 0x168f 0x1818 246 r9d = [rsp + (rdi << 2)].d 0x181c 247 r10d = r10d - 1 0x1820 248 r11d = r11d + 1 0x1824 249 eax = edi 0x1826 250 eax = not.d(eax) 0x1828 251 temp20.d = eax 0x1828 252 eax = eax + ecx 0x182a 253 if (temp20.d s> neg.d(ecx)) then 237 @ 0x16e0 else 274 @ 0x1830 0x1710 254 r14d = r10d 0x1713 255 r14d = r14d u>> 3 0x1717 256 eax = (rbx - 8).d 0x171a 257 edx = eax 0x171c 258 edx = edx u>> 3 0x171f 259 edx = edx + 1 0x1722 260 xmm4 = xmm2 0x1726 261 xmm3 = xmm2 0x172d 262 if (eax u< 0x38) then 275 @ 0x177b else 278 @ 0x172f 0x16e9 263 eax = 0 0x16eb 264 edx = 1 0x16f0 265 goto 283 @ 0x17fb 0x160b 266 edx = esi 0x160d 267 edx = edx & 0xfffffff8 0x1614 268 if ((bpl & 7) == 0) then 285 @ 0x165b else 296 @ 0x1616 0x15be 269 xmm4 = xmm2 0x15c2 270 xmm3 = xmm2 0x15c6 271 goto 297 @ 0x15d0 0x168f 272 edx = edx 0x169b 273 goto 312 @ 0x16a0 0x1830 274 goto 202 @ 0x1700 0x177b 275 eax = ebx 0x177d 276 eax = eax & 0xfffffff8 0x1783 277 if ((dl & 7) == 0) then 316 @ 0x17cb else 327 @ 0x1785 0x172f 278 eax = (r14 + 1).d 0x1733 279 eax = eax & 0xfffffff8 0x1736 280 xmm4 = xmm2 0x173a 281 xmm3 = xmm2 0x173e 282 goto 331 @ 0x1740 0x17fb 283 eax = eax + r11d 0x17fe 284 goto 346 @ 0x1800 0x165b 285 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x1660 286 xmm6 = _mm_shuffle_epi32(xmm3, 0xf5) 0x1665 287 xmm6 = _mm_mul_epu32(xmm6, xmm5) 0x1669 288 xmm3 = _mm_mul_epu32(xmm3, xmm4) 0x166d 289 xmm4 = _mm_shuffle_epi32(xmm3, 0xee) 0x1672 290 xmm4 = _mm_mul_epu32(xmm4, xmm3) 0x1676 291 xmm3 = _mm_shuffle_epi32(xmm6, 0xaa) 0x167b 292 xmm3 = _mm_mul_epu32(xmm3, xmm6) 0x167f 293 xmm3 = _mm_mul_epu32(xmm3, xmm4) 0x1683 294 ecx = xmm3.d 0x1689 295 if (edx == esi) then 133 @ 0x130b else 272 @ 0x168f 0x1616 296 goto 351 @ 0x1620 0x15d0 297 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x15d5 298 xmm4 = _mm_mul_epu32(xmm4, xmm1) 0x15d9 299 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x15de 300 xmm5 = _mm_mul_epu32(xmm5, xmm1) 0x15e2 301 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x15e7 302 xmm4 = _mm_unpacklo_epi32(xmm4, xmm5.q) 0x15eb 303 xmm5 = _mm_shuffle_epi32(xmm3, 0xf5) 0x15f0 304 xmm3 = _mm_mul_epu32(xmm3, xmm1) 0x15f4 305 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x15f9 306 xmm5 = _mm_mul_epu32(xmm5, xmm1) 0x15fd 307 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x1602 308 xmm3 = _mm_unpacklo_epi32(xmm3, xmm5.q) 0x1606 309 temp21.d = edi 0x1606 310 edi = edi - 8 0x1609 311 if (temp21.d != 8) then 297 @ 0x15d0 else 266 @ 0x160b 0x16a0 312 ecx = ecx + ecx 0x16a2 313 ecx = (rcx + (rcx << 2)).d 0x16a5 314 rdx = rdx + 1 0x16ac 315 if (rsi != rdx) then 312 @ 0x16a0 else 366 @ 0x16ae 0x17cb 316 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x17d0 317 xmm6 = _mm_shuffle_epi32(xmm3, 0xf5) 0x17d5 318 xmm6 = _mm_mul_epu32(xmm6, xmm5) 0x17d9 319 xmm3 = _mm_mul_epu32(xmm3, xmm4) 0x17dd 320 xmm4 = _mm_shuffle_epi32(xmm3, 0xee) 0x17e2 321 xmm4 = _mm_mul_epu32(xmm4, xmm3) 0x17e6 322 xmm3 = _mm_shuffle_epi32(xmm6, 0xaa) 0x17eb 323 xmm3 = _mm_mul_epu32(xmm3, xmm6) 0x17ef 324 xmm3 = _mm_mul_epu32(xmm3, xmm4) 0x17f3 325 edx = xmm3.d 0x17f9 326 if (eax == ebx) then 233 @ 0x1809 else 283 @ 0x17fb 0x1785 327 r14b = r14b + 1 0x1789 328 edx = zx.d(r14b) 0x178d 329 edx = edx & 7 0x178d 330 goto 367 @ 0x1790 0x1740 331 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x1745 332 xmm4 = _mm_mul_epu32(xmm4, xmm1) 0x1749 333 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x174e 334 xmm5 = _mm_mul_epu32(xmm5, xmm1) 0x1752 335 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x1757 336 xmm4 = _mm_unpacklo_epi32(xmm4, xmm5.q) 0x175b 337 xmm5 = _mm_shuffle_epi32(xmm3, 0xf5) 0x1760 338 xmm3 = _mm_mul_epu32(xmm3, xmm1) 0x1764 339 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x1769 340 xmm5 = _mm_mul_epu32(xmm5, xmm1) 0x176d 341 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x1772 342 xmm3 = _mm_unpacklo_epi32(xmm3, xmm5.q) 0x1776 343 temp22.d = eax 0x1776 344 eax = eax - 8 0x1779 345 if (temp22.d != 8) then 331 @ 0x1740 else 275 @ 0x177b 0x1800 346 edx = edx + edx 0x1802 347 edx = (rdx + (rdx << 2)).d 0x1805 348 temp23.d = eax 0x1805 349 eax = eax + 1 0x1807 350 if (temp23.d != -1) then 346 @ 0x1800 else 233 @ 0x1809 0x1620 351 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x1625 352 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x1629 353 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x162e 354 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x1632 355 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x1637 356 xmm4 = _mm_unpacklo_epi32(xmm4, xmm5.q) 0x163b 357 xmm5 = _mm_shuffle_epi32(xmm3, 0xf5) 0x1640 358 xmm3 = _mm_mul_epu32(xmm3, xmm0) 0x1644 359 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x1649 360 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x164d 361 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x1652 362 xmm3 = _mm_unpacklo_epi32(xmm3, xmm5.q) 0x1656 363 temp24.d = ecx 0x1656 364 ecx = ecx - 1 0x1659 365 if (temp24.d != 1) then 351 @ 0x1620 else 285 @ 0x165b 0x16ae 366 goto 133 @ 0x130b 0x1790 367 xmm5 = _mm_shuffle_epi32(xmm4, 0xf5) 0x1795 368 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x1799 369 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x179e 370 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x17a2 371 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x17a7 372 xmm4 = _mm_unpacklo_epi32(xmm4, xmm5.q) 0x17ab 373 xmm5 = _mm_shuffle_epi32(xmm3, 0xf5) 0x17b0 374 xmm3 = _mm_mul_epu32(xmm3, xmm0) 0x17b4 375 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x17b9 376 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x17bd 377 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x17c2 378 xmm3 = _mm_unpacklo_epi32(xmm3, xmm5.q) 0x17c6 379 temp25.d = edx 0x17c6 380 edx = edx - 1 0x17c9 381 if (temp25.d != 1) then 367 @ 0x1790 else 316 @ 0x17cb int32_t main(int32_t argc, char** argv, char** envp): 0x1850 0 push(rbp) 0x1851 1 push(r15) 0x1853 2 push(r14) 0x1855 3 push(r13) 0x1857 4 push(r12) 0x1859 5 push(rbx) 0x185a 6 rsp = rsp - 0x1a8 0x1861 7 eax = 6 0x1866 8 goto 9 @ 0x1891 0x1891 9 [rsp + 8 {var_1d0_1}].q = rax 0x1896 10 rdi = 0x2040 {"%d"} 0x189d 11 rsi = rsp + 4 {var_1d4} 0x18a2 12 eax = 0 0x18a4 13 call(0x1060) 0x18a9 14 ebp = [rsp + 4 {var_1d4}].d 0x18ad 15 edx = 0x190 {""} 0x18b2 16 rdi = rsp + 0x10 {var_1c8} 0x18b7 17 esi = 0 0x18b9 18 call(0x1050) 0x18be 19 esi = 0 0x18c5 20 if (ebp == 0) then 21 @ 0x1872 else 27 @ 0x18c7 0x1872 21 rdi = 0x2043 {"%d\n"} 0x1879 22 eax = 0 0x187b 23 call(0x1030) 0x1880 24 rcx = [rsp + 8 {var_1d0_1}].q 0x1885 25 eax = (rcx - 1).d 0x188b 26 if (ecx u<= 1) then 36 @ 0x1e5b else 9 @ 0x1891 0x18c7 27 r9d = 0 0x18ca 28 rsi = -7 0x18d1 29 rdx = -8 0x18d8 30 r8d = 0 0x18db 31 r11d = 0 0x18de 32 xmm4 = [0x2010].o 0x18e6 33 xmm5 = [0x2030].o 0x18ee 34 xmm6 = [0x2020].o 0x18f6 35 goto 49 @ 0x191e 0x1e5b 36 eax = 0 0x1e5d 37 call(0x1040) 0x1e62 38 eax = 0 0x1e64 39 call(0x1040) 0x1e69 40 eax = 0 0x1e6b 41 rsp = rsp + 0x1a8 0x1e72 42 rbx = pop 0x1e73 43 r12 = pop 0x1e75 44 r13 = pop 0x1e77 45 r14 = pop 0x1e79 46 r15 = pop 0x1e7b 47 rbp = pop 0x1e7c 48 <return> jump(pop) 0x191e 49 rcx = r11 0x1921 50 r10 = rdx 0x1924 51 r11 = r11 + 1 0x192c 52 if (r11 u>= 8) then 53 @ 0x1940 else 62 @ 0x192e 0x1940 53 rdx = rsi 0x1943 54 rdx = rdx u>> 3 0x1947 55 rax = rcx - 7 0x194b 56 rdi = rax 0x194e 57 rdi = rdi u>> 3 0x1952 58 rdi = rdi + 1 0x1956 59 xmm1 = xmm4 0x195a 60 xmm0 = xmm4 0x1962 61 if (rax u< 0x38) then 65 @ 0x19bc else 68 @ 0x1964 0x192e 62 edi = 1 0x1933 63 eax = 0 0x1935 64 goto 73 @ 0x1a4d 0x19bc 65 rax = r11 0x19bf 66 rax = rax & 0xfffffffffffffff8 0x19c7 67 if ((dil & 7) == 0) then 75 @ 0x1a1c else 86 @ 0x19c9 0x1964 68 rax = rdx + 1 0x1968 69 rax = rax & 0xfffffffffffffff8 0x196c 70 xmm1 = xmm4 0x1970 71 xmm0 = xmm4 0x197e 72 goto 90 @ 0x1980 0x1a4d 73 rax = rax - 1 0x1a5b 74 goto 105 @ 0x1a60 0x1a1c 75 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1a21 76 xmm3 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1a26 77 xmm3 = _mm_mul_epu32(xmm3, xmm2) 0x1a2a 78 xmm0 = _mm_mul_epu32(xmm0, xmm1) 0x1a2e 79 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1a33 80 xmm1 = _mm_mul_epu32(xmm1, xmm0) 0x1a37 81 xmm0 = _mm_shuffle_epi32(xmm3, 0xaa) 0x1a3c 82 xmm0 = _mm_mul_epu32(xmm0, xmm3) 0x1a40 83 xmm0 = _mm_mul_epu32(xmm0, xmm1) 0x1a44 84 edi = xmm0.d 0x1a4b 85 if (r11 == rax) then 109 @ 0x1a6e else 73 @ 0x1a4d 0x19c9 86 dl = dl + 1 0x19cc 87 edx = zx.d(dl) 0x19cf 88 edx = edx & 7 0x19dc 89 goto 123 @ 0x19e0 0x1980 90 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1985 91 xmm1 = _mm_mul_epu32(xmm1, xmm6) 0x1989 92 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x198e 93 xmm2 = _mm_mul_epu32(xmm2, xmm6) 0x1992 94 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1997 95 xmm1 = _mm_unpacklo_epi32(xmm1, xmm2.q) 0x199b 96 xmm2 = _mm_shuffle_epi32(xmm0, 0xf5) 0x19a0 97 xmm0 = _mm_mul_epu32(xmm0, xmm6) 0x19a4 98 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8) 0x19a9 99 xmm2 = _mm_mul_epu32(xmm2, xmm6) 0x19ad 100 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x19b2 101 xmm0 = _mm_unpacklo_epi32(xmm0, xmm2.q) 0x19b6 102 temp2.q = rax 0x19b6 103 rax = rax - 8 0x19ba 104 if (temp2.q != 8) then 90 @ 0x1980 else 65 @ 0x19bc 0x1a60 105 edi = edi + edi 0x1a62 106 edi = (rdi + (rdi << 2)).d 0x1a65 107 rax = rax + 1 0x1a6c 108 if (rcx != rax) then 105 @ 0x1a60 else 109 @ 0x1a6e 0x1a6e 109 eax = ebp 0x1a70 110 temp3.d:temp4.d = sx.q(eax) 0x1a70 111 edx = temp3.d 0x1a70 112 eax = temp4.d 0x1a71 113 temp5.d = edx 0x1a71 114 temp6.d = eax 0x1a71 115 temp0.d = divs.dp.d(temp5.d:temp6.d, edi) 0x1a71 116 temp7.d = edx 0x1a71 117 temp8.d = eax 0x1a71 118 temp1.d = mods.dp.d(temp7.d:temp8.d, edi) 0x1a71 119 eax = temp0.d 0x1a71 120 edx = temp1.d 0x1a73 121 eax = edx 0x1a78 122 if (rcx == 0) then 138 @ 0x1900 else 142 @ 0x1a7e 0x19e0 123 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x19e5 124 xmm1 = _mm_mul_epu32(xmm1, xmm5) 0x19e9 125 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x19ee 126 xmm2 = _mm_mul_epu32(xmm2, xmm5) 0x19f2 127 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x19f7 128 xmm1 = _mm_unpacklo_epi32(xmm1, xmm2.q) 0x19fb 129 xmm2 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1a00 130 xmm0 = _mm_mul_epu32(xmm0, xmm5) 0x1a04 131 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8) 0x1a09 132 xmm2 = _mm_mul_epu32(xmm2, xmm5) 0x1a0d 133 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1a12 134 xmm0 = _mm_unpacklo_epi32(xmm0, xmm2.q) 0x1a16 135 temp9.q = rdx 0x1a16 136 rdx = rdx - 1 0x1a1a 137 if (temp9.q != 1) then 123 @ 0x19e0 else 75 @ 0x1a1c 0x1900 138 edi = 1 0x1905 139 r9d = eax 0x1908 140 r8d = eax 0x1908 141 goto 154 @ 0x190b 0x1a7e 142 rdi = r10 0x1a81 143 rdi = rdi u>> 3 0x1a85 144 r12 = rcx - 8 0x1a89 145 edx = (rdi + 1).d 0x1a8c 146 rdi = rdi + 1 0x1a90 147 r15 = r12 0x1a93 148 r15 = r15 u>> 3 0x1a97 149 r14d = zx.d(dl) 0x1a9b 150 r14d = r14d & 7 0x1a9f 151 rdi = rdi & 0xfffffffffffffff8 0x1aa3 152 r15 = r15 + 1 0x1aab 153 if (rcx u>= 8) then 160 @ 0x1ac0 else 163 @ 0x1aad 0x190b 154 eax = eax * edi 0x190e 155 rsi = rsi + 1 0x1912 156 rdx = r10 + 1 0x1916 157 temp10.d = ebp 0x1916 158 ebp = ebp - eax 0x1918 159 if (temp10.d == eax) then 166 @ 0x1cd0 else 49 @ 0x191e 0x1ac0 160 xmm1 = xmm4 0x1ac4 161 xmm0 = xmm4 0x1acc 162 if (r12 u< 0x38) then 168 @ 0x1b1c else 171 @ 0x1ace 0x1aad 163 r13d = 1 0x1ab3 164 edx = 0 0x1ab5 165 goto 175 @ 0x1ba0 0x1cd0 166 [rsp + 0x10 {var_1c8}].d = r9d 0x1cd8 167 if (r11d == 0) then 179 @ 0x1870 else 181 @ 0x1cde 0x1b1c 168 rdx = rcx 0x1b1f 169 rdx = rdx & 0xfffffffffffffff8 0x1b27 170 if ((r15b & 7) == 0) then 191 @ 0x1b6c else 202 @ 0x1b29 0x1ace 171 rdx = rdi 0x1ad1 172 xmm1 = xmm4 0x1ad5 173 xmm0 = xmm4 0x1ad9 174 goto 204 @ 0x1ae0 0x1ba0 175 r13d = r13d + r13d 0x1ba3 176 r13d = (r13 + (r13 << 2)).d 0x1ba8 177 rdx = rdx + 1 0x1ba8 178 goto 219 @ 0x1baf 0x1870 179 esi = 0 0x1870 180 goto 21 @ 0x1872 0x1cde 181 r9d = r11d 0x1ce1 182 r15d = ecx 0x1ce4 183 r15d = neg.d(r15d) 0x1ce7 184 edi = 0 0x1ce9 185 esi = 0 0x1ceb 186 eax = edi 0x1ced 187 eax = not.d(eax) 0x1cef 188 temp11.d = eax 0x1cef 189 eax = eax + r11d 0x1cf2 190 if (temp11.d s<= neg.d(r11d)) then 220 @ 0x1d20 else 222 @ 0x1cfe 0x1b6c 191 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1b71 192 xmm3 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1b76 193 xmm3 = _mm_mul_epu32(xmm3, xmm2) 0x1b7a 194 xmm0 = _mm_mul_epu32(xmm0, xmm1) 0x1b7e 195 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1b83 196 xmm1 = _mm_mul_epu32(xmm1, xmm0) 0x1b87 197 xmm0 = _mm_shuffle_epi32(xmm3, 0xaa) 0x1b8c 198 xmm0 = _mm_mul_epu32(xmm0, xmm3) 0x1b90 199 xmm0 = _mm_mul_epu32(xmm0, xmm1) 0x1b94 200 r13d = xmm0.d 0x1b99 201 goto 219 @ 0x1baf 0x1b29 202 rbx = r14 0x1b2c 203 goto 223 @ 0x1b30 0x1ae0 204 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1ae5 205 xmm1 = _mm_mul_epu32(xmm1, xmm6) 0x1ae9 206 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x1aee 207 xmm2 = _mm_mul_epu32(xmm2, xmm6) 0x1af2 208 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1af7 209 xmm1 = _mm_unpacklo_epi32(xmm1, xmm2.q) 0x1afb 210 xmm2 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1b00 211 xmm0 = _mm_mul_epu32(xmm0, xmm6) 0x1b04 212 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8) 0x1b09 213 xmm2 = _mm_mul_epu32(xmm2, xmm6) 0x1b0d 214 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1b12 215 xmm0 = _mm_unpacklo_epi32(xmm0, xmm2.q) 0x1b16 216 temp12.q = rdx 0x1b16 217 rdx = rdx - 8 0x1b1a 218 if (temp12.q != 8) then 204 @ 0x1ae0 else 168 @ 0x1b1c 0x1baf 219 if (rcx != rdx) then 175 @ 0x1ba0 else 238 @ 0x1bb1 0x1d20 220 eax = 1 0x1d25 221 goto 251 @ 0x1e29 0x1cfe 222 goto 255 @ 0x1d00 0x1b30 223 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1b35 224 xmm1 = _mm_mul_epu32(xmm1, xmm5) 0x1b39 225 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x1b3e 226 xmm2 = _mm_mul_epu32(xmm2, xmm5) 0x1b42 227 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1b47 228 xmm1 = _mm_unpacklo_epi32(xmm1, xmm2.q) 0x1b4b 229 xmm2 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1b50 230 xmm0 = _mm_mul_epu32(xmm0, xmm5) 0x1b54 231 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8) 0x1b59 232 xmm2 = _mm_mul_epu32(xmm2, xmm5) 0x1b5d 233 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1b62 234 xmm0 = _mm_unpacklo_epi32(xmm0, xmm2.q) 0x1b66 235 temp13.q = rbx 0x1b66 236 rbx = rbx - 1 0x1b6a 237 if (temp13.q != 1) then 223 @ 0x1b30 else 191 @ 0x1b6c 0x1bb1 238 temp14.d:temp15.d = sx.q(eax) 0x1bb1 239 edx = temp14.d 0x1bb1 240 eax = temp15.d 0x1bb2 241 temp16.d = edx 0x1bb2 242 temp17.d = eax 0x1bb2 243 temp0.d = divs.dp.d(temp16.d:temp17.d, r13d) 0x1bb2 244 temp18.d = edx 0x1bb2 245 temp19.d = eax 0x1bb2 246 temp1.d = mods.dp.d(temp18.d:temp19.d, r13d) 0x1bb2 247 eax = temp0.d 0x1bb2 248 edx = temp1.d 0x1bb5 249 [rsp + (rcx << 2) + 0x10].d = eax 0x1bbd 250 if (rcx u>= 8) then 258 @ 0x1bd0 else 261 @ 0x1bbf 0x1e29 251 eax = eax * r8d 0x1e2d 252 esi = esi + eax 0x1e2f 253 rdi = rdi + 1 0x1e36 254 if (rdi == r9) then 21 @ 0x1872 else 264 @ 0x1e3c 0x1d00 255 ebp = ecx 0x1d02 256 ebp = ebp - edi 0x1d07 257 if (ebp u>= 8) then 272 @ 0x1d30 else 281 @ 0x1d09 0x1bd0 258 xmm1 = xmm4 0x1bd4 259 xmm0 = xmm4 0x1bdc 260 if (r12 u< 0x38) then 284 @ 0x1c2c else 287 @ 0x1bde 0x1bbf 261 edi = 1 0x1bc4 262 edx = 0 0x1bc6 263 goto 290 @ 0x1cb0 0x1e3c 264 r8d = [rsp + (rdi << 2) + 0x10].d 0x1e41 265 r10d = r10d - 1 0x1e45 266 r15d = r15d + 1 0x1e49 267 eax = edi 0x1e4b 268 eax = not.d(eax) 0x1e4d 269 temp20.d = eax 0x1e4d 270 eax = eax + r11d 0x1e50 271 if (temp20.d s> neg.d(r11d)) then 255 @ 0x1d00 else 294 @ 0x1e56 0x1d30 272 eax = r10d 0x1d33 273 eax = eax u>> 3 0x1d36 274 ebx = (rbp - 8).d 0x1d39 275 edx = ebx 0x1d3b 276 edx = edx u>> 3 0x1d3e 277 edx = edx + 1 0x1d41 278 xmm1 = xmm4 0x1d45 279 xmm0 = xmm4 0x1d4c 280 if (ebx u< 0x38) then 295 @ 0x1d9b else 298 @ 0x1d4e 0x1d09 281 ebx = 0 0x1d0b 282 eax = 1 0x1d10 283 goto 303 @ 0x1e1b 0x1c2c 284 rdx = rcx 0x1c2f 285 rdx = rdx & 0xfffffffffffffff8 0x1c37 286 if ((r15b & 7) == 0) then 305 @ 0x1c7c else 316 @ 0x1c39 0x1bde 287 xmm1 = xmm4 0x1be2 288 xmm0 = xmm4 0x1be6 289 goto 317 @ 0x1bf0 0x1cb0 290 edi = edi + edi 0x1cb2 291 edi = (rdi + (rdi << 2)).d 0x1cb5 292 rdx = rdx + 1 0x1cb5 293 goto 332 @ 0x1cbc 0x1e56 294 goto 220 @ 0x1d20 0x1d9b 295 ebx = ebp 0x1d9d 296 ebx = ebx & 0xfffffff8 0x1da3 297 if ((dl & 7) == 0) then 333 @ 0x1deb else 344 @ 0x1da5 0x1d4e 298 ebx = (rax + 1).d 0x1d51 299 ebx = ebx & 0xfffffff8 0x1d54 300 xmm1 = xmm4 0x1d58 301 xmm0 = xmm4 0x1d5c 302 goto 348 @ 0x1d60 0x1e1b 303 ebx = ebx + r15d 0x1e1e 304 goto 363 @ 0x1e20 0x1c7c 305 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1c81 306 xmm3 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1c86 307 xmm3 = _mm_mul_epu32(xmm3, xmm2) 0x1c8a 308 xmm0 = _mm_mul_epu32(xmm0, xmm1) 0x1c8e 309 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1c93 310 xmm1 = _mm_mul_epu32(xmm1, xmm0) 0x1c97 311 xmm0 = _mm_shuffle_epi32(xmm3, 0xaa) 0x1c9c 312 xmm0 = _mm_mul_epu32(xmm0, xmm3) 0x1ca0 313 xmm0 = _mm_mul_epu32(xmm0, xmm1) 0x1ca4 314 edi = xmm0.d 0x1ca8 315 goto 332 @ 0x1cbc 0x1c39 316 goto 368 @ 0x1c40 0x1bf0 317 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1bf5 318 xmm1 = _mm_mul_epu32(xmm1, xmm6) 0x1bf9 319 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x1bfe 320 xmm2 = _mm_mul_epu32(xmm2, xmm6) 0x1c02 321 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1c07 322 xmm1 = _mm_unpacklo_epi32(xmm1, xmm2.q) 0x1c0b 323 xmm2 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1c10 324 xmm0 = _mm_mul_epu32(xmm0, xmm6) 0x1c14 325 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8) 0x1c19 326 xmm2 = _mm_mul_epu32(xmm2, xmm6) 0x1c1d 327 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1c22 328 xmm0 = _mm_unpacklo_epi32(xmm0, xmm2.q) 0x1c26 329 temp21.q = rdi 0x1c26 330 rdi = rdi - 8 0x1c2a 331 if (temp21.q != 8) then 317 @ 0x1bf0 else 284 @ 0x1c2c 0x1cbc 332 if (rcx != rdx) then 290 @ 0x1cb0 else 383 @ 0x1cbe 0x1deb 333 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1df0 334 xmm3 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1df5 335 xmm3 = _mm_mul_epu32(xmm3, xmm2) 0x1df9 336 xmm0 = _mm_mul_epu32(xmm0, xmm1) 0x1dfd 337 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1e02 338 xmm1 = _mm_mul_epu32(xmm1, xmm0) 0x1e06 339 xmm0 = _mm_shuffle_epi32(xmm3, 0xaa) 0x1e0b 340 xmm0 = _mm_mul_epu32(xmm0, xmm3) 0x1e0f 341 xmm0 = _mm_mul_epu32(xmm0, xmm1) 0x1e13 342 eax = xmm0.d 0x1e19 343 if (ebx == ebp) then 251 @ 0x1e29 else 303 @ 0x1e1b 0x1da5 344 al = al + 1 0x1da7 345 eax = zx.d(al) 0x1daa 346 eax = eax & 7 0x1dad 347 goto 384 @ 0x1db0 0x1d60 348 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1d65 349 xmm1 = _mm_mul_epu32(xmm1, xmm6) 0x1d69 350 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x1d6e 351 xmm2 = _mm_mul_epu32(xmm2, xmm6) 0x1d72 352 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1d77 353 xmm1 = _mm_unpacklo_epi32(xmm1, xmm2.q) 0x1d7b 354 xmm2 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1d80 355 xmm0 = _mm_mul_epu32(xmm0, xmm6) 0x1d84 356 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8) 0x1d89 357 xmm2 = _mm_mul_epu32(xmm2, xmm6) 0x1d8d 358 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1d92 359 xmm0 = _mm_unpacklo_epi32(xmm0, xmm2.q) 0x1d96 360 temp22.d = ebx 0x1d96 361 ebx = ebx - 8 0x1d99 362 if (temp22.d != 8) then 348 @ 0x1d60 else 295 @ 0x1d9b 0x1e20 363 eax = eax + eax 0x1e22 364 eax = (rax + (rax << 2)).d 0x1e25 365 temp23.d = ebx 0x1e25 366 ebx = ebx + 1 0x1e27 367 if (temp23.d != -1) then 363 @ 0x1e20 else 251 @ 0x1e29 0x1c40 368 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1c45 369 xmm1 = _mm_mul_epu32(xmm1, xmm5) 0x1c49 370 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x1c4e 371 xmm2 = _mm_mul_epu32(xmm2, xmm5) 0x1c52 372 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1c57 373 xmm1 = _mm_unpacklo_epi32(xmm1, xmm2.q) 0x1c5b 374 xmm2 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1c60 375 xmm0 = _mm_mul_epu32(xmm0, xmm5) 0x1c64 376 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8) 0x1c69 377 xmm2 = _mm_mul_epu32(xmm2, xmm5) 0x1c6d 378 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1c72 379 xmm0 = _mm_unpacklo_epi32(xmm0, xmm2.q) 0x1c76 380 temp24.q = r14 0x1c76 381 r14 = r14 - 1 0x1c7a 382 if (temp24.q != 1) then 368 @ 0x1c40 else 305 @ 0x1c7c 0x1cbe 383 goto 154 @ 0x190b 0x1db0 384 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x1db5 385 xmm1 = _mm_mul_epu32(xmm1, xmm5) 0x1db9 386 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x1dbe 387 xmm2 = _mm_mul_epu32(xmm2, xmm5) 0x1dc2 388 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1dc7 389 xmm1 = _mm_unpacklo_epi32(xmm1, xmm2.q) 0x1dcb 390 xmm2 = _mm_shuffle_epi32(xmm0, 0xf5) 0x1dd0 391 xmm0 = _mm_mul_epu32(xmm0, xmm5) 0x1dd4 392 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8) 0x1dd9 393 xmm2 = _mm_mul_epu32(xmm2, xmm5) 0x1ddd 394 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1de2 395 xmm0 = _mm_unpacklo_epi32(xmm0, xmm2.q) 0x1de6 396 temp25.d = eax 0x1de6 397 eax = eax - 1 0x1de9 398 if (temp25.d != 1) then 384 @ 0x1db0 else 333 @ 0x1deb int64_t _fini(): 0x1e84 0 rsp = rsp - 8 0x1e88 1 rsp = rsp + 8 0x1e8c 2 <return> jump(pop)
POJ_44
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH8"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x1e9438 0x1171 7 rdi = 0x20f4 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_1e945c} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 0xc {var_1e945c}].d s<= 0) then 12 @ 0x134d else 21 @ 0x118f 0x134d 12 eax = 0 0x134f 13 rsp = rsp + 0x1e9438 0x1356 14 rbx = pop 0x1357 15 r12 = pop 0x1359 16 r13 = pop 0x135b 17 r14 = pop 0x135d 18 r15 = pop 0x135f 19 rbp = pop 0x1360 20 <return> jump(pop) 0x118f 21 r15 = rsp + 0xf51f0 {var_f4278} 0x1197 22 r14 = 0x20f7 {"%s"} 0x119e 23 ebx = 0 0x119e 24 goto 25 @ 0x11a0 0x11a0 25 rdi = r14 0x11a3 26 rsi = r15 0x11a6 27 eax = 0 0x11a8 28 call(0x1040) 0x11ad 29 rdi = r15 0x11b0 30 call(0x1030) 0x11b5 31 [rsp + (rbx << 2) + 0x10].d = eax 0x11b9 32 rbx = rbx + 1 0x11bd 33 rax = sx.q([rsp + 0xc {var_1e945c}].d) 0x11c2 34 r15 = r15 + 0x3e8 0x11cc 35 if (rbx s< rax) then 25 @ 0x11a0 else 36 @ 0x11ce 0x11ce 36 r9d = eax 0x11d4 37 if (r9d s<= 0) then 12 @ 0x134d else 38 @ 0x11da 0x11da 38 rcx = rsp + 0xf51f1 {var_f4277} 0x11e2 39 rbp = rsp + 0xfb1 {var_1e84b7} 0x11ea 40 r11d = 0 0x11ed 41 r8 = 0x20a4 {"bffffsffffffffffff`%d"} 0x11f4 42 r12 = 0x2054 {">BBBBBBBBBBBBBBBB<bffffsffffffffffff`%d"} 0x11fb 43 r13 = 0x2004 {">BBBBBBBBBBBBBBBB<bffffsffffffffffff`%d"} 0x1202 44 goto 45 @ 0x1228 0x1228 45 r14d = [rsp + (r11 << 2) + 0x10].d 0x1230 46 if (r14d s<= 0) then 47 @ 0x120d else 51 @ 0x1232 0x120d 47 r11 = r11 + 1 0x1211 48 rcx = rcx + 0x3e8 0x1218 49 rbp = rbp + 0x3e8 0x1222 50 if (r11 == r9) then 56 @ 0x1321 else 45 @ 0x1228 0x1232 51 r15 = r11 * 0x3e8 0x1239 52 r10 = rsp + r15 0x123d 53 r10 = r10 + 0xfb0 0x1244 54 rax = r10 + r14 0x124c 55 if (r14d != 1) then 57 @ 0x1280 else 61 @ 0x124e 0x1321 56 if (r9d s<= 0) then 12 @ 0x134d else 63 @ 0x1323 0x1280 57 edi = r14d 0x1283 58 edi = edi & 0xfffffffe 0x1286 59 esi = 0 0x1288 60 goto 66 @ 0x12a2 0x124e 61 esi = 0 0x124e 62 goto 69 @ 0x1254 0x1323 63 r14 = rsp + 0xfb0 {var_1e84b8} 0x132b 64 ebx = 0 0x132d 65 goto 70 @ 0x1330 0x12a2 66 edx = zx.d([rcx + rsi - 1].b) 0x12a7 67 dl = dl - 0x41 0x12ad 68 if (dl u> 0x13) then 76 @ 0x12e6 else 80 @ 0x12af 0x1254 69 if ((r14b & 1) == 0) then 47 @ 0x120d else 85 @ 0x1256 0x1330 70 rdi = r14 0x1333 71 call(0x1050) 0x1338 72 rbx = rbx + 1 0x133c 73 rax = sx.q([rsp + 0xc {var_1e945c}].d) 0x1341 74 r14 = r14 + 0x3e8 0x134b 75 if (rbx s< rax) then 70 @ 0x1330 else 12 @ 0x134d 0x12e6 76 [rax].b = 0 0x12e9 77 edx = zx.d([rcx + rsi].b) 0x12ed 78 dl = dl - 0x41 0x12f3 79 if (dl u> 0x13) then 90 @ 0x1296 else 93 @ 0x12f5 0x12af 80 bl = 0x54 {""} 0x12b1 81 edx = zx.d(dl) 0x12b4 82 rdx = sx.q([r13 + (rdx << 2)].d) 0x12b9 83 rdx = rdx + r13 0x12bc 84 jump(rdx => 98 @ 0x12be, 100 @ 0x12d0, 102 @ 0x12e0, 104 @ 0x12e2, 76 @ 0x12e6) 0x1256 85 rdx = rsp + r15 0x125a 86 rdx = rdx + 0xf51f0 0x1261 87 dl = [rsi + rdx].b 0x1264 88 dl = dl - 0x41 0x126a 89 if (dl u> 0x13) then 106 @ 0x120a else 108 @ 0x126c 0x1296 90 [rax].b = 0 0x1299 91 rsi = rsi + 2 0x12a0 92 if (rdi == rsi) then 69 @ 0x1254 else 66 @ 0x12a2 0x12f5 93 bl = 0x54 {""} 0x12f7 94 edx = zx.d(dl) 0x12fa 95 rdx = sx.q([r12 + (rdx << 2)].d) 0x12fe 96 rdx = rdx + r12 0x1301 97 jump(rdx => 113 @ 0x1290, 115 @ 0x1292, 90 @ 0x1296, 117 @ 0x1303, 119 @ 0x1310) 0x12be 98 bl = 0x47 {""} 0x12c0 99 goto 104 @ 0x12e2 0x12d0 100 bl = 0x43 {""} 0x12d2 101 goto 104 @ 0x12e2 0x12e0 102 bl = 0x41 {""} 0x12e0 103 goto 104 @ 0x12e2 0x12e2 104 [rbp + rsi - 1].b = bl 0x12e2 105 goto 76 @ 0x12e6 0x120a 106 [rax].b = 0 0x120a 107 goto 47 @ 0x120d 0x126c 108 bl = 0x54 {""} 0x126e 109 edx = zx.d(dl) 0x1271 110 rdx = sx.q([r8 + (rdx << 2)].d) 0x1275 111 rdx = rdx + r8 0x1278 112 jump(rdx => 121 @ 0x1204, 123 @ 0x1206, 106 @ 0x120a, 125 @ 0x127a, 127 @ 0x1317) 0x1290 113 bl = 0x41 {""} 0x1290 114 goto 115 @ 0x1292 0x1292 115 [rbp + rsi].b = bl 0x1292 116 goto 90 @ 0x1296 0x1303 117 bl = 0x47 {""} 0x1305 118 goto 115 @ 0x1292 0x1310 119 bl = 0x43 {""} 0x1312 120 goto 115 @ 0x1292 0x1204 121 bl = 0x41 {""} 0x1204 122 goto 123 @ 0x1206 0x1206 123 [rsi + r10].b = bl 0x1206 124 goto 106 @ 0x120a 0x127a 125 bl = 0x47 {""} 0x127c 126 goto 123 @ 0x1206 0x1317 127 bl = 0x43 {""} 0x1319 128 goto 123 @ 0x1206 int64_t _fini(): 0x1368 0 rsp = rsp - 8 0x136c 1 rsp = rsp + 8 0x1370 2 <return> jump(pop)
POJ_33
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHX"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x9c58 0x1161 7 rdi = 0x2004 {"%d\n"} 0x1168 8 rsi = rsp + 0xc {var_9c7c} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1179 11 if ([rsp + 0xc {var_9c7c}].d s<= 0) then 12 @ 0x12d8 else 21 @ 0x117f 0x12d8 12 eax = 0 0x12da 13 rsp = rsp + 0x9c58 0x12e1 14 rbx = pop 0x12e2 15 r12 = pop 0x12e4 16 r13 = pop 0x12e6 17 r14 = pop 0x12e8 18 r15 = pop 0x12ea 19 rbp = pop 0x12eb 20 <return> jump(pop) 0x117f 21 r14 = rsp + 0x10 {var_9c78} 0x1184 22 rbx = 0x200b {"%d"} 0x118b 23 r15d = 0 0x118e 24 goto 25 @ 0x11ad 0x11ad 25 rdi = 0x2008 {"%d %d"} 0x11b4 26 rsi = rsp + 8 {var_9c80} 0x11b9 27 rdx = rsp + 4 {var_9c84} 0x11be 28 eax = 0 0x11c0 29 call(0x1040) 0x11c5 30 eax = [rsp + 8 {var_9c80}].d 0x11cb 31 if (eax s<= 0) then 32 @ 0x1245 else 34 @ 0x11cd 0x1245 32 ecx = [rsp + 4 {var_9c84}].d 0x124b 33 if (ecx s<= 0) then 36 @ 0x1290 else 38 @ 0x124d 0x11cd 34 r13d = 0 0x11d0 35 goto 45 @ 0x11fa 0x1290 36 esi = 0 0x1295 37 if (eax s< 3) then 46 @ 0x1190 else 51 @ 0x129b 0x124d 38 edx = (rax - 1).d 0x1250 39 rdx = sx.q(edx) 0x1253 40 rdx = rdx * 0x190 0x125a 41 esi = 0 0x125c 42 rdi = rcx 0x125f 43 rbp = r14 {var_9c78} 0x126c 44 goto 58 @ 0x1270 0x11fa 45 if ([rsp + 4 {var_9c84}].d s<= 0) then 64 @ 0x11e0 else 68 @ 0x11fc 0x1190 46 rdi = 0x2004 {"%d\n"} 0x1197 47 eax = 0 0x1199 48 call(0x1030) 0x119e 49 r15d = r15d + 1 0x11a7 50 if (r15d s>= [rsp + 0xc {var_9c7c}].d) then 12 @ 0x12d8 else 25 @ 0x11ad 0x129b 51 eax = eax - 1 0x129e 52 rcx = sx.q(ecx) 0x12a1 53 rcx = rsp + (rcx << 2) 0x12a5 54 rcx = rcx + 0xc 0x12a9 55 rax = rax * 0x190 0x12b0 56 edx = 0x190 {""} 0x12bf 57 goto 71 @ 0x12c0 0x1270 58 esi = esi + [rbp].d 0x1273 59 esi = esi + [rbp + rdx].d 0x1277 60 rbp = rbp + 4 0x127b 61 temp0.q = rdi 0x127b 62 rdi = rdi - 1 0x127f 63 if (temp0.q != 1) then 58 @ 0x1270 else 75 @ 0x1284 0x11e0 64 r13 = r13 + 1 0x11e4 65 rax = sx.q([rsp + 8 {var_9c80}].d) 0x11e9 66 r14 = r14 + 0x190 0x11f3 67 if (r13 s>= rax) then 76 @ 0x1240 else 45 @ 0x11fa 0x11fc 68 rbp = r14 0x11ff 69 r12d = 0 0x120c 70 goto 78 @ 0x1210 0x12c0 71 esi = esi + [rsp + rdx + 0x10].d 0x12c4 72 esi = esi + [rcx + rdx].d 0x12c7 73 rdx = rdx + 0x190 0x12d1 74 if (rax != rdx) then 71 @ 0x12c0 else 86 @ 0x12d3 0x1284 75 if (eax s< 3) then 46 @ 0x1190 else 87 @ 0x128a 0x1240 76 r14 = rsp + 0x10 {var_9c78} 0x1240 77 goto 32 @ 0x1245 0x1210 78 rdi = rbx 0x1213 79 rsi = rbp 0x1216 80 eax = 0 0x1218 81 call(0x1040) 0x121d 82 r12 = r12 + 1 0x1221 83 rax = sx.q([rsp + 4 {var_9c84}].d) 0x1226 84 rbp = rbp + 4 0x122d 85 if (r12 s< rax) then 78 @ 0x1210 else 88 @ 0x122f 0x12d3 86 goto 46 @ 0x1190 0x128a 87 goto 51 @ 0x129b 0x122f 88 goto 64 @ 0x11e0 int64_t _fini(): 0x12f0 0 rsp = rsp - 8 0x12f4 1 rsp = rsp + 8 0x12f8 2 <return> jump(pop)
POJ_6
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSPH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4040].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4040].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 push(rax) 0x115b 7 rdi = 0x2050 {"%d"} 0x1162 8 rsi = rsp {var_38} 0x1165 9 eax = 0 0x1167 10 call(0x1040) 0x1170 11 if ([rsp {var_38}].d s<= 0) then 12 @ 0x11ae else 20 @ 0x1172 0x11ae 12 rdi = 0x2050 {"%d"} 0x11b5 13 r14d = 0 0x11b8 14 rsi = rsp + 4 {var_38+0x4} 0x11bd 15 eax = 0 0x11bf 16 call(0x1040) 0x11c4 17 r10d = [rsp + 4 {var_38+0x4}].d 0x11c9 18 eax = [rsp {var_38}].d 0x11d0 19 if (r10d s< 2) then 24 @ 0x14d4 else 25 @ 0x11d6 0x1172 20 rbx = 0x4050 {""} 0x1179 21 r14 = 0x2053 {"%s"} 0x1180 22 ebp = 0 0x118c 23 goto 35 @ 0x1190 0x14d4 24 if (eax s<= 0) then 43 @ 0x1689 else 56 @ 0x14da 0x11d6 25 r10d = r10d - 1 0x11da 26 r13d = eax 0x11dd 27 r13d = r13d & 0xfffffff0 0x11e1 28 r11d = 0 0x11e4 29 r9 = 0x4058 {""} 0x11eb 30 r8 = 0x4050 {""} 0x11f2 31 r12 = 0x6760 {""} 0x11f9 32 xmm0 = [0x2010].o 0x1201 33 xmm1 = [0x2020].o 0x1209 34 goto 72 @ 0x121f 0x1190 35 rdi = r14 0x1193 36 rsi = rbx 0x1196 37 eax = 0 0x1198 38 call(0x1040) 0x119d 39 rbp = rbp + 1 0x11a1 40 rax = sx.q([rsp {var_38}].d) 0x11a5 41 rbx = rbx + 0x64 0x11ac 42 if (rbp s< rax) then 35 @ 0x1190 else 12 @ 0x11ae 0x1689 43 rdi = 0x2050 {"%d"} 0x1690 44 esi = r14d 0x1693 45 eax = 0 0x1695 46 call(0x1030) 0x169a 47 eax = 0 0x169c 48 rsp = rsp + 8 0x16a0 49 rbx = pop 0x16a1 50 r12 = pop 0x16a3 51 r13 = pop 0x16a5 52 r14 = pop 0x16a7 53 r15 = pop 0x16a9 54 rbp = pop 0x16aa 55 <return> jump(pop) 0x14da 56 r15d = eax 0x14dd 57 r15d = r15d & 0xfffffff8 0x14e1 58 r10 = r15 - 8 0x14e5 59 r11 = r10 0x14e8 60 r11 = r11 u>> 3 0x14ec 61 r11 = r11 + 1 0x14f0 62 r9 = r11 0x14f3 63 r9 = r9 & 0xfffffffffffffffe 0x14f7 64 ebp = 0 0x14f9 65 rbx = 0x405c {""} 0x1500 66 r8 = 0x4050 {""} 0x1507 67 xmm0 = [0x2030].o 0x150f 68 xmm1 = [0x2040].o 0x1517 69 r12 = r8 0x151a 70 r14d = 0 0x151d 71 goto 73 @ 0x1538 0x121f 72 if (eax s<= 0) then 74 @ 0x1210 else 76 @ 0x1221 0x1538 73 if (eax u>= 8) then 81 @ 0x1550 else 84 @ 0x153a 0x1210 74 r11d = r11d + 1 0x1217 75 if (r11d == r10d) then 24 @ 0x14d4 else 72 @ 0x121f 0x1221 76 esi = 0 0x1223 77 rbx = r9 0x1226 78 rbp = 0x676f {""} 0x122d 79 r15d = 0 0x1230 80 goto 86 @ 0x1259 0x1550 81 xmm3 = r14d 0x1555 82 xmm2 = 0 0x155c 83 if (r10 == 0) then 88 @ 0x167b else 90 @ 0x1562 0x153a 84 ecx = 0 0x153c 85 goto 93 @ 0x1648 0x1259 86 ecx = 0 0x125e 87 if (eax u< 0x10) then 98 @ 0x141d else 100 @ 0x1264 0x167b 88 edx = 0 0x1681 89 if ((r11b & 1) != 0) then 101 @ 0x15e7 else 116 @ 0x1687 0x1562 90 rsi = r9 0x1565 91 edx = 0 0x1567 92 goto 117 @ 0x1570 0x1648 93 rdx = r12 + rcx 0x164c 94 rsi = rax 0x164f 95 rsi = rsi - rcx 0x1652 96 ecx = 0 0x165e 97 goto 145 @ 0x1660 0x141d 98 rdx = rsi + rcx 0x1426 99 if ([r8 + rdx].b != 0x40) then 150 @ 0x1410 else 152 @ 0x1428 0x1264 100 goto 154 @ 0x127d 0x15e7 101 rcx = rbp * 0x64 0x15eb 102 rcx = rcx + r8 0x15ee 103 xmm4 = [rdx + rcx].d 0x15f3 104 xmm5 = [rdx + rcx + 4].d 0x15f9 105 xmm4 = _mm_cmpeq_epi8(xmm4, xmm0) 0x15fd 106 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x1601 107 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x1605 108 xmm4 = xmm4 & xmm1 0x1609 109 xmm3 = _mm_add_epi32(xmm3, xmm4) 0x160d 110 xmm5 = _mm_cmpeq_epi8(xmm5, xmm0) 0x1611 111 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q) 0x1615 112 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q) 0x1619 113 xmm5 = xmm5 & xmm1 0x161d 114 xmm2 = _mm_add_epi32(xmm2, xmm5) 0x161d 115 goto 159 @ 0x1621 0x1687 116 goto 159 @ 0x1621 0x1570 117 xmm5 = [rbx + rdx - 0xc].d 0x1576 118 xmm4 = [rbx + rdx - 8].d 0x157c 119 xmm5 = _mm_cmpeq_epi8(xmm5, xmm0) 0x1580 120 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q) 0x1584 121 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q) 0x1588 122 xmm5 = xmm5 & xmm1 0x158c 123 xmm5 = _mm_add_epi32(xmm5, xmm3) 0x1590 124 xmm4 = _mm_cmpeq_epi8(xmm4, xmm0) 0x1594 125 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x1598 126 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x159c 127 xmm4 = xmm4 & xmm1 0x15a0 128 xmm4 = _mm_add_epi32(xmm4, xmm2) 0x15a4 129 xmm3 = [rbx + rdx - 4].d 0x15aa 130 xmm2 = [rbx + rdx].d 0x15af 131 xmm3 = _mm_cmpeq_epi8(xmm3, xmm0) 0x15b3 132 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x15b7 133 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x15bb 134 xmm3 = xmm3 & xmm1 0x15bf 135 xmm3 = _mm_add_epi32(xmm3, xmm5) 0x15c3 136 xmm2 = _mm_cmpeq_epi8(xmm2, xmm0) 0x15c7 137 xmm2 = _mm_unpacklo_epi8(xmm2, xmm2.q) 0x15cb 138 xmm2 = _mm_unpacklo_epi16(xmm2, xmm2.q) 0x15cf 139 xmm2 = xmm2 & xmm1 0x15d3 140 xmm2 = _mm_add_epi32(xmm2, xmm4) 0x15d7 141 rdx = rdx + 0x10 0x15db 142 temp0.q = rsi 0x15db 143 rsi = rsi - 2 0x15df 144 if (temp0.q != 2) then 117 @ 0x1570 else 167 @ 0x15e5 0x1660 145 edi = 0 0x1666 146 dil = [rdx + rcx].b == 0x40 0x166a 147 r14d = r14d + edi 0x166d 148 rcx = rcx + 1 0x1674 149 if (rsi != rcx) then 145 @ 0x1660 else 168 @ 0x1676 0x1410 150 rcx = rcx + 1 0x1417 151 if (rax == rcx) then 169 @ 0x1240 else 98 @ 0x141d 0x1428 152 [r12 + rdx].b = 1 0x142d 153 goto 150 @ 0x1410 0x127d 154 xmm3 = [rbx + rcx - 8].q 0x1283 155 xmm2 = xmm3 0x1287 156 xmm2 = _mm_cmpeq_epi8(xmm2, xmm0) 0x128b 157 edx = xmm2.d 0x1292 158 if ((dl & 1) == 0) then 174 @ 0x1299 else 179 @ 0x1294 0x1621 159 xmm3 = _mm_add_epi32(xmm3, xmm2) 0x1625 160 xmm2 = _mm_shuffle_epi32(xmm3, 0xee) 0x162a 161 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x162e 162 xmm3 = _mm_shuffle_epi32(xmm2, 0x55) 0x1633 163 xmm3 = _mm_add_epi32(xmm3, xmm2) 0x1637 164 r14d = xmm3.d 0x163c 165 rcx = r15 0x1642 166 if (r15 == rax) then 181 @ 0x1520 else 93 @ 0x1648 0x15e5 167 if ((r11b & 1) == 0) then 159 @ 0x1621 else 101 @ 0x15e7 0x1676 168 goto 181 @ 0x1520 0x1240 169 r15 = r15 + 1 0x1244 170 rbp = rbp + 0x64 0x1248 171 rbx = rbx + 0x64 0x124c 172 rsi = rsi + 0x64 0x1253 173 if (r15 == rax) then 185 @ 0x1432 else 86 @ 0x1259 0x1299 174 xmm4 = xmm2 0x129d 175 xmm4 = _mm_slli_epi32(xmm4, 8) 0x12a2 176 edx = xmm4.d 0x12a6 177 edx = edx u>> 0x10 0x12ac 178 if ((dl & 1) == 0) then 186 @ 0x12b3 else 190 @ 0x12ae 0x1294 179 [rbp + rcx - 0xf].b = 1 0x1294 180 goto 174 @ 0x1299 0x1520 181 rbp = rbp + 1 0x1524 182 rbx = rbx + 0x64 0x1528 183 r12 = r12 + 0x64 0x152f 184 if (rbp == rax) then 43 @ 0x1689 else 73 @ 0x1538 0x1432 185 if (eax s<= 0) then 74 @ 0x1210 else 192 @ 0x1438 0x12b3 186 xmm4 = _mm_shufflelo_epi16(xmm3, 0x55) 0x12b8 187 xmm4 = _mm_cmpeq_epi8(xmm4, xmm0) 0x12bc 188 edx = _mm_extract_epi16(xmm4, 2) 0x12c4 189 if ((dl & 1) == 0) then 194 @ 0x12cb else 198 @ 0x12c6 0x12ae 190 [rbp + rcx - 0xe].b = 1 0x12ae 191 goto 186 @ 0x12b3 0x1438 192 ecx = 0 0x143a 193 goto 200 @ 0x144c 0x12cb 194 xmm4 = xmm2 0x12cf 195 xmm4 = _mm_slli_epi64(xmm4, 0x18) 0x12d4 196 edx = _mm_extract_epi16(xmm4, 3) 0x12dc 197 if ((dl & 1) == 0) then 204 @ 0x12e3 else 208 @ 0x12de 0x12c6 198 [rbp + rcx - 0xd].b = 1 0x12c6 199 goto 194 @ 0x12cb 0x144c 200 rbx = rcx - 1 0x1450 201 rsi = rcx + 1 0x1454 202 ebp = 0 0x1456 203 goto 210 @ 0x146f 0x12e3 204 xmm3 = _mm_shuffle_epi32(xmm3, 0x55) 0x12e8 205 xmm3 = _mm_cmpeq_epi8(xmm3, xmm1) 0x12ec 206 edx = _mm_extract_epi16(xmm3, 4) 0x12f4 207 if ((dl & 1) == 0) then 213 @ 0x12fb else 217 @ 0x12f6 0x12de 208 [rbp + rcx - 0xc].b = 1 0x12de 209 goto 204 @ 0x12e3 0x146f 210 rdx = rcx * 0x64 0x1473 211 rdi = r12 + rdx 0x147c 212 if ([rbp + rdi].b != 1) then 219 @ 0x1460 else 222 @ 0x147e 0x12fb 213 xmm3 = xmm2 0x12ff 214 xmm3 = _mm_slli_si128(xmm3, 5) 0x1304 215 edx = _mm_extract_epi16(xmm3, 5) 0x130c 216 if ((dl & 1) == 0) then 225 @ 0x1313 else 227 @ 0x130e 0x12f6 217 [rbp + rcx - 0xb].b = 1 0x12f6 218 goto 213 @ 0x12fb 0x1460 219 rbp = rbp + 1 0x1464 220 rdi = rbp 0x1464 221 goto 229 @ 0x1467 0x147e 222 rdi = rbx * 0x64 0x1482 223 rdi = rdi + r8 0x148a 224 if ([rbp + rdi].b != 0x2e) then 231 @ 0x1492 else 233 @ 0x148c 0x1313 225 edx = _mm_extract_epi16(xmm2, 3) 0x131b 226 if ((dl & 1) == 0) then 236 @ 0x1322 else 239 @ 0x131d 0x130e 227 [rbp + rcx - 0xa].b = 1 0x130e 228 goto 225 @ 0x1313 0x1467 229 rbp = rdi 0x146d 230 if (rdi == rax) then 241 @ 0x1440 else 210 @ 0x146f 0x1492 231 rdx = rdx + r8 0x149a 232 if ([rbp + rdx - 1].b != 0x2e) then 243 @ 0x14a7 else 246 @ 0x149c 0x148c 233 rdi = rdi + rbp 0x148f 234 [rdi].b = 0x40 {""} 0x148f 235 goto 231 @ 0x1492 0x1322 236 xmm2 = _mm_slli_si128(xmm2, 7) 0x1327 237 edx = _mm_extract_epi16(xmm2, 7) 0x132f 238 if ((dl & 1) == 0) then 250 @ 0x1336 else 255 @ 0x1331 0x131d 239 [rbp + rcx - 9].b = 1 0x131d 240 goto 236 @ 0x1322 0x1440 241 rcx = rsi 0x1446 242 if (rsi == rax) then 74 @ 0x1210 else 200 @ 0x144c 0x14a7 243 rdi = rsi * 0x64 0x14ab 244 rdi = rdi + r8 0x14b3 245 if ([rbp + rdi].b != 0x2e) then 257 @ 0x14bb else 259 @ 0x14b5 0x149c 246 rdi = rdx + rbp 0x14a0 247 rdi = rdi - 1 0x14a4 248 [rdi].b = 0x40 {""} 0x14a4 249 goto 243 @ 0x14a7 0x1336 250 xmm3 = [rbx + rcx].q 0x133b 251 xmm2 = xmm3 0x133f 252 xmm2 = _mm_cmpeq_epi8(xmm2, xmm0) 0x1343 253 edx = xmm2.d 0x134a 254 if ((dl & 1) == 0) then 262 @ 0x1351 else 267 @ 0x134c 0x1331 255 [rbp + rcx - 8].b = 1 0x1331 256 goto 250 @ 0x1336 0x14bb 257 rdi = rbp + 1 0x14c4 258 if ([rbp + rdx + 1].b != 0x2e) then 229 @ 0x1467 else 269 @ 0x14c6 0x14b5 259 rdi = rdi + rbp 0x14b8 260 [rdi].b = 0x40 {""} 0x14b8 261 goto 257 @ 0x14bb 0x1351 262 xmm4 = xmm2 0x1355 263 xmm4 = _mm_slli_epi32(xmm4, 8) 0x135a 264 edx = xmm4.d 0x135e 265 edx = edx u>> 0x10 0x1364 266 if ((dl & 1) == 0) then 273 @ 0x136b else 277 @ 0x1366 0x134c 267 [rbp + rcx - 7].b = 1 0x134c 268 goto 262 @ 0x1351 0x14c6 269 rdx = rdx + rbp 0x14c9 270 rdx = rdx + 1 0x14cd 271 [rdx].b = 0x40 {""} 0x14d0 272 goto 229 @ 0x1467 0x136b 273 xmm4 = _mm_shufflelo_epi16(xmm3, 0x55) 0x1370 274 xmm4 = _mm_cmpeq_epi8(xmm4, xmm0) 0x1374 275 edx = _mm_extract_epi16(xmm4, 2) 0x137c 276 if ((dl & 1) == 0) then 279 @ 0x1383 else 283 @ 0x137e 0x1366 277 [rbp + rcx - 6].b = 1 0x1366 278 goto 273 @ 0x136b 0x1383 279 xmm4 = xmm2 0x1387 280 xmm4 = _mm_slli_epi64(xmm4, 0x18) 0x138c 281 edx = _mm_extract_epi16(xmm4, 3) 0x1394 282 if ((dl & 1) == 0) then 285 @ 0x139b else 289 @ 0x1396 0x137e 283 [rbp + rcx - 5].b = 1 0x137e 284 goto 279 @ 0x1383 0x139b 285 xmm3 = _mm_shuffle_epi32(xmm3, 0x55) 0x13a0 286 xmm3 = _mm_cmpeq_epi8(xmm3, xmm1) 0x13a4 287 edx = _mm_extract_epi16(xmm3, 4) 0x13ac 288 if ((dl & 1) == 0) then 291 @ 0x13b3 else 295 @ 0x13ae 0x1396 289 [rbp + rcx - 4].b = 1 0x1396 290 goto 285 @ 0x139b 0x13b3 291 xmm3 = xmm2 0x13b7 292 xmm3 = _mm_slli_si128(xmm3, 5) 0x13bc 293 edx = _mm_extract_epi16(xmm3, 5) 0x13c4 294 if ((dl & 1) == 0) then 297 @ 0x13cb else 299 @ 0x13c6 0x13ae 295 [rbp + rcx - 3].b = 1 0x13ae 296 goto 291 @ 0x13b3 0x13cb 297 edx = _mm_extract_epi16(xmm2, 3) 0x13d3 298 if ((dl & 1) == 0) then 301 @ 0x13da else 304 @ 0x13d5 0x13c6 299 [rbp + rcx - 2].b = 1 0x13c6 300 goto 297 @ 0x13cb 0x13da 301 xmm2 = _mm_slli_si128(xmm2, 7) 0x13df 302 edx = _mm_extract_epi16(xmm2, 7) 0x13e7 303 if ((dl & 1) == 0) then 306 @ 0x1270 else 308 @ 0x13ed 0x13d5 304 [rbp + rcx - 1].b = 1 0x13d5 305 goto 301 @ 0x13da 0x1270 306 rcx = rcx + 0x10 0x1277 307 if (r13 == rcx) then 310 @ 0x1400 else 154 @ 0x127d 0x13ed 308 [rbp + rcx].b = 1 0x13f2 309 goto 306 @ 0x1270 0x1400 310 rcx = r13 0x1406 311 if (r13 != rax) then 98 @ 0x141d else 312 @ 0x1408 0x1408 312 goto 169 @ 0x1240 int64_t change(int32_t arg1, int32_t arg2): 0x16b0 0 eax = (rdi - 1).d 0x16b3 1 rcx = sx.q(eax) 0x16b6 2 rax = sx.q(esi) 0x16b9 3 rdx = rcx * 0x64 0x16bd 4 rcx = 0x4050 {""} 0x16c4 5 rdx = rdx + rcx 0x16cb 6 if ([rax + rdx].b != 0x2e) then 7 @ 0x16d3 else 11 @ 0x16cd 0x16d3 7 rdx = sx.q(edi) 0x16d6 8 rdx = rdx * 0x64 0x16da 9 rdx = rdx + rcx 0x16e2 10 if ([rax + rdx - 1].b != 0x2e) then 14 @ 0x16ef else 19 @ 0x16e4 0x16cd 11 rdx = rdx + rax 0x16d0 12 [rdx].b = 0x40 {""} 0x16d0 13 goto 7 @ 0x16d3 0x16ef 14 edi = edi + 1 0x16f2 15 rsi = sx.q(edi) 0x16f5 16 rsi = rsi * 0x64 0x16f9 17 rcx = rcx + rsi 0x1700 18 if ([rax + rcx].b == 0x2e) then 23 @ 0x170a else 26 @ 0x1707 0x16e4 19 rsi = rax + rdx 0x16e8 20 rsi = rsi - 1 0x16ec 21 [rsi].b = 0x40 {""} 0x16ec 22 goto 14 @ 0x16ef 0x170a 23 rcx = rcx + rax 0x170d 24 [rcx].b = 0x40 {""} 0x1715 25 if ([rax + rdx + 1].b != 0x2e) then 27 @ 0x1709 else 28 @ 0x1717 0x1707 26 if ([rax + rdx + 1].b == 0x2e) then 28 @ 0x1717 else 27 @ 0x1709 0x1709 27 <return> jump(pop) 0x1717 28 rax = rax + rdx 0x171a 29 rax = rax + 1 0x171e 30 [rax].b = 0x40 {""} 0x1721 31 <return> jump(pop) int64_t _fini(): 0x1728 0 rsp = rsp - 8 0x172c 1 rsp = rsp + 8 0x1730 2 <return> jump(pop)
POJ_59
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x18 0x116e 7 rdi = 0x2018 {"%u"} 0x1175 8 rsi = rsp + 0x10 {var_38} 0x117a 9 eax = 0 0x117c 10 call(0x1040) 0x1186 11 if ([rsp + 0x10 {var_38}].d u>= 6) then 12 @ 0x1197 else 14 @ 0x1188 0x1197 12 r12d = 6 0x119d 13 goto 22 @ 0x11be 0x1188 14 rsp = rsp + 0x18 0x118c 15 rbx = pop 0x118d 16 r12 = pop 0x118f 17 r13 = pop 0x1191 18 r14 = pop 0x1193 19 r15 = pop 0x1195 20 rbp = pop 0x1196 21 <return> jump(pop) 0x11be 22 rdi = 0x201b {"%u="} 0x11c5 23 esi = r12d 0x11c8 24 eax = 0 0x11ca 25 call(0x1030) 0x11cf 26 eax = r12d 0x11d2 27 xmm0 = 0 0x11d5 28 xmm0.q = float.d(rax) 0x11da 29 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x11da 30 flag:c = xmm0.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x11da 31 flag:z = xmm0.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x11da 32 flag:s = 0 0x11da 33 flag:o = 0 0x11da 34 flag:a = 0 0x11e2 35 if (flag:c) then 36 @ 0x11f0 else 38 @ 0x11e4 0x11f0 36 call(0x1050) 0x11f0 37 goto 40 @ 0x11f5 0x11e4 38 xmm0 = _mm_sqrt_sd(xmm0.q) 0x11e8 39 goto 40 @ 0x11f5 0x11f5 40 rcx = int.q(ftrunc(xmm0.q)) 0x11fa 41 esi = (r12 - 2).d 0x11ff 42 eax = 2 0x1207 43 if (ecx u>= 2) then 44 @ 0x13e0 else 46 @ 0x120f 0x13e0 44 edi = 2 0x13e5 45 goto 47 @ 0x13fd 0x120f 46 if (eax u>= esi) then 60 @ 0x1223 else 61 @ 0x1211 0x13fd 47 eax = esi 0x13ff 48 edx = 0 0x1401 49 temp2.d = edi 0x1401 50 temp3.d = edx 0x1401 51 temp4.d = eax 0x1401 52 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1401 53 temp5.d = edx 0x1401 54 temp6.d = eax 0x1401 55 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1401 56 eax = temp0.d 0x1401 57 edx = temp1.d 0x1403 58 eax = esi 0x1407 59 if (edx == 0) then 65 @ 0x13f0 else 68 @ 0x1409 0x1223 60 if (r12d u< 6) then 70 @ 0x11b3 else 72 @ 0x1225 0x1211 61 rdi = 0x201f {"2+%u\n"} 0x1218 62 eax = 0 0x121a 63 call(0x1030) 0x121a 64 goto 60 @ 0x1223 0x13f0 65 eax = eax + 1 0x13f3 66 edi = eax 0x13f7 67 if (eax u> ecx) then 46 @ 0x120f else 47 @ 0x13fd 0x1409 68 eax = edi 0x140b 69 goto 65 @ 0x13f0 0x11b3 70 r12d = r12d + 2 0x11bc 71 if (r12d u> [rsp + 0x10 {var_38}].d) then 14 @ 0x1188 else 22 @ 0x11be 0x1225 72 eax = r12d 0x1228 73 eax = eax u>> 1 0x122a 74 [rsp + 0x14 {var_34_1}].d = eax 0x122e 75 ebp = 3 0x123d 76 goto 77 @ 0x1240 0x1240 77 r13d = r12d 0x1243 78 r13d = r13d - ebp 0x1246 79 xmm2 = 0 0x1249 80 xmm2.q = float.d(r13) 0x124e 81 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x124e 82 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x124e 83 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x124e 84 flag:s = 0 0x124e 85 flag:o = 0 0x124e 86 flag:a = 0 0x1256 87 [rsp + 8 {var_40_1}].q = xmm2.q 0x125c 88 if (flag:c) then 89 @ 0x1280 else 100 @ 0x125e 0x1280 89 xmm0 = xmm2 0x1284 90 call(0x1050) 0x1289 91 xmm2 = zx.o([rsp + 8 {var_40_1}].q) 0x128f 92 r15d = 3 0x1295 93 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1295 94 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1295 95 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1295 96 flag:s = 0 0x1295 97 flag:o = 0 0x1295 98 flag:a = 0 0x129d 99 if (flag:c) then 110 @ 0x1304 else 120 @ 0x129f 0x125e 100 xmm0 = 0 0x1261 101 xmm0 = _mm_sqrt_sd(xmm2.q) 0x1265 102 r15d = 3 0x126b 103 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x126b 104 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x126b 105 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x126b 106 flag:s = 0 0x126b 107 flag:o = 0 0x126b 108 flag:a = 0 0x1273 109 if (not(flag:c)) then 120 @ 0x129f else 123 @ 0x1275 0x1304 110 xmm2 = 0 0x1307 111 xmm2.q = float.d(ebp) 0x130b 112 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x130b 113 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x130b 114 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x130b 115 flag:s = 0 0x130b 116 flag:o = 0 0x130b 117 flag:a = 0 0x1313 118 [rsp + 8 {var_40_2}].q = xmm2.q 0x1319 119 if (flag:c) then 124 @ 0x1340 else 134 @ 0x131b 0x129f 120 ebx = (r13 + 4).d 0x12a3 121 r15d = 3 0x12a9 122 goto 143 @ 0x12cd 0x1275 123 goto 110 @ 0x1304 0x1340 124 xmm0 = xmm2 0x1344 125 call(0x1050) 0x1349 126 xmm2 = zx.o([rsp + 8 {var_40_2}].q) 0x134f 127 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x134f 128 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x134f 129 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x134f 130 flag:s = 0 0x134f 131 flag:o = 0 0x134f 132 flag:a = 0 0x1357 133 if (flag:c) then 156 @ 0x13c2 else 157 @ 0x1359 0x131b 134 xmm0 = 0 0x131e 135 xmm0 = _mm_sqrt_sd(xmm2.q) 0x1322 136 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1322 137 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1322 138 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1322 139 flag:s = 0 0x1322 140 flag:o = 0 0x1322 141 flag:a = 0 0x132a 142 if (not(flag:c)) then 157 @ 0x1359 else 160 @ 0x132c 0x12cd 143 eax = r13d 0x12d0 144 edx = 0 0x12d2 145 temp2.d = r15d 0x12d2 146 temp7.d = edx 0x12d2 147 temp8.d = eax 0x12d2 148 temp0.d = divu.dp.d(temp7.d:temp8.d, temp2.d) 0x12d2 149 temp9.d = edx 0x12d2 150 temp10.d = eax 0x12d2 151 temp1.d = modu.dp.d(temp9.d:temp10.d, temp2.d) 0x12d2 152 eax = temp0.d 0x12d2 153 edx = temp1.d 0x12d5 154 eax = ebx 0x12d9 155 if (edx == 0) then 161 @ 0x12de else 170 @ 0x12db 0x13c2 156 if (r15d u<= r13d) then 172 @ 0x11a0 else 178 @ 0x13c8 0x1359 157 r14d = (r13 + 4).d 0x135d 158 ebx = 5 0x1362 159 goto 180 @ 0x138f 0x132c 160 goto 156 @ 0x13c2 0x12de 161 r15d = eax 0x12e1 162 r15d = r15d + 2 0x12e5 163 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12e5 164 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12e5 165 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12e5 166 flag:s = 0 0x12e5 167 flag:o = 0 0x12e5 168 flag:a = 0 0x12ed 169 if (flag:c) then 193 @ 0x12b0 else 205 @ 0x12ef 0x12db 170 eax = r15d 0x12db 171 goto 161 @ 0x12de 0x11a0 172 rdi = 0x2025 {"%d+%u\n"} 0x11a7 173 esi = ebp 0x11a9 174 edx = r13d 0x11ac 175 eax = 0 0x11ae 176 call(0x1030) 0x11ae 177 goto 70 @ 0x11b3 0x13c8 178 ebp = ebp + 2 0x13cf 179 if (ebp u<= [rsp + 0x14 {var_34_1}].d) then 77 @ 0x1240 else 216 @ 0x13d5 0x138f 180 ecx = (rbx - 2).d 0x1392 181 eax = ebp 0x1394 182 edx = 0 0x1396 183 temp2.d = ecx 0x1396 184 temp11.d = edx 0x1396 185 temp12.d = eax 0x1396 186 temp0.d = divu.dp.d(temp11.d:temp12.d, temp2.d) 0x1396 187 temp13.d = edx 0x1396 188 temp14.d = eax 0x1396 189 temp1.d = modu.dp.d(temp13.d:temp14.d, temp2.d) 0x1396 190 eax = temp0.d 0x1396 191 edx = temp1.d 0x139a 192 if (edx == 0) then 217 else 219 @ 0x139e 0x12b0 193 xmm0 = xmm2 0x12b4 194 call(0x1050) 0x12b9 195 xmm2 = zx.o([rsp + 8 {var_40_1}].q) 0x12bf 196 xmm1 = 0 0x12c2 197 xmm1.q = float.d(r15d) 0x12c7 198 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x12c7 199 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12c7 200 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12c7 201 flag:s = 0 0x12c7 202 flag:o = 0 0x12c7 203 flag:a = 0 0x12cb 204 if (flag:c) then 110 @ 0x1304 else 143 @ 0x12cd 0x12ef 205 xmm0 = 0 0x12f2 206 xmm0 = _mm_sqrt_sd(xmm2.q) 0x12f6 207 xmm1 = 0 0x12f9 208 xmm1.q = float.d(r15d) 0x12fe 209 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x12fe 210 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12fe 211 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12fe 212 flag:s = 0 0x12fe 213 flag:o = 0 0x12fe 214 flag:a = 0 0x1302 215 if (not(flag:c)) then 143 @ 0x12cd else 110 @ 0x1304 0x13d5 216 goto 70 @ 0x11b3 0x139a 217 r15d = r14d 0x139a 218 goto 219 @ 0x139e 0x139e 219 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x139e 220 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x139e 221 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x139e 222 flag:s = 0 0x139e 223 flag:o = 0 0x139e 224 flag:a = 0 0x13a6 225 if (flag:c) then 226 @ 0x1370 else 239 @ 0x13a8 0x1370 226 xmm0 = xmm2 0x1374 227 call(0x1050) 0x1379 228 xmm2 = zx.o([rsp + 8 {var_40_2}].q) 0x137f 229 xmm1 = 0 0x1382 230 xmm1.q = float.d(ebx) 0x1386 231 ebx = ebx + 2 0x1389 232 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1389 233 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1389 234 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1389 235 flag:s = 0 0x1389 236 flag:o = 0 0x1389 237 flag:a = 0 0x138d 238 if (flag:c) then 156 @ 0x13c2 else 180 @ 0x138f 0x13a8 239 xmm0 = 0 0x13ab 240 xmm0 = _mm_sqrt_sd(xmm2.q) 0x13af 241 xmm1 = 0 0x13b2 242 xmm1.q = float.d(ebx) 0x13b6 243 ebx = ebx + 2 0x13b9 244 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x13b9 245 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13b9 246 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13b9 247 flag:s = 0 0x13b9 248 flag:o = 0 0x13b9 249 flag:a = 0 0x13bd 250 if (not(flag:c)) then 180 @ 0x138f else 156 @ 0x13c2 int64_t _fini(): 0x1414 0 rsp = rsp - 8 0x1418 1 rsp = rsp + 8 0x141c 2 <return> jump(pop)
POJ_68
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSHx\t"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0x978 0x115d 5 rbx = 0x2004 {"%d"} 0x1164 6 r14d = 0 0x1167 7 rsi = rsp + 0xc {var_98c} 0x116c 8 rdi = rbx 0x116f 9 eax = 0 0x1171 10 call(0x1040) 0x1176 11 rsi = rsp + 0x4c0 {var_4d8} 0x117e 12 rdi = rbx 0x1181 13 eax = 0 0x1183 14 call(0x1040) 0x1188 15 eax = [rsp + 0x4c0 {var_4d8}].d 0x118f 16 [rsp + 0x10 {var_988}].d = eax 0x1198 17 if ([rsp + 0xc {var_98c}].d s< 2) then 18 @ 0x1257 else 30 @ 0x119e 0x1257 18 rax = sx.q(r14d) 0x125a 19 esi = [rsp + (rax << 2) + 0x10].d 0x125e 20 rdi = 0x2004 {"%d"} 0x1265 21 eax = 0 0x1267 22 call(0x1030) 0x126c 23 eax = 0 0x126e 24 rsp = rsp + 0x978 0x1275 25 rbx = pop 0x1276 26 r14 = pop 0x1278 27 r15 = pop 0x127a 28 rbp = pop 0x127b 29 <return> jump(pop) 0x119e 30 ebx = 1 0x11a3 31 r15d = 1 0x11a9 32 r14 = 0x2004 {"%d"} 0x11b0 33 eax = 0 0x11b2 34 goto 35 @ 0x11ce 0x11ce 35 rbp = rax 0x11d1 36 rsi = rsp + (r15 << 2) 0x11d5 37 rsi = rsi + 0x4c0 0x11dc 38 rdi = r14 0x11df 39 eax = 0 0x11e1 40 call(0x1040) 0x11e6 41 ecx = [rsp + (r15 << 2) + 0x4c0].d 0x11ee 42 rax = rbp + 1 0x11f2 43 edx = 0 0x11f4 44 goto 45 @ 0x120d 0x120d 45 if (ecx == [rsp + (rdx << 2) + 0x10].d) then 46 @ 0x11c0 else 49 @ 0x1212 0x11c0 46 r15 = r15 + 1 0x11c4 47 rcx = sx.q([rsp + 0xc {var_98c}].d) 0x11cc 48 if (r15 s>= rcx) then 50 @ 0x1220 else 35 @ 0x11ce 0x1212 49 if (rbp != rdx) then 52 @ 0x1200 else 54 @ 0x1214 0x1220 50 r14d = (rbx - 1).d 0x1227 51 if (ebx s< 2) then 18 @ 0x1257 else 58 @ 0x1229 0x1200 52 rdx = rdx + 1 0x1207 53 if (rax == rdx) then 46 @ 0x11c0 else 45 @ 0x120d 0x1214 54 rbx = sx.q(ebx) 0x1217 55 [rsp + (rbx << 2) + 0x10].d = ecx 0x121b 56 ebx = ebx + 1 0x121e 57 goto 52 @ 0x1200 0x1229 58 ebp = r14d 0x122c 59 r15 = 0x2007 {"%d,"} 0x1233 60 ebx = 0 0x123f 61 goto 62 @ 0x1240 0x1240 62 esi = [rsp + (rbx << 2) + 0x10].d 0x1244 63 rdi = r15 0x1247 64 eax = 0 0x1249 65 call(0x1030) 0x124e 66 rbx = rbx + 1 0x1255 67 if (rbp != rbx) then 62 @ 0x1240 else 18 @ 0x1257 int64_t _fini(): 0x1280 0 rsp = rsp - 8 0x1284 1 rsp = rsp + 8 0x1288 2 <return> jump(pop)
POJ_53
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1180 {"AWAVATSHx\t"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) void f(double arg1, double arg2 @ zmm0, uint64_t arg3[0x2] @ zmm1): 0x1160 0 xmm1.q = xmm1.q f* xmm1.q 0x1164 1 xmm0.q = xmm0.q f* xmm0.q 0x1168 2 xmm0.q = xmm0.q f+ xmm1.q 0x116c 3 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1170 4 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1170 5 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1170 6 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1170 7 flag:s = 0 0x1170 8 flag:o = 0 0x1170 9 flag:a = 0 0x1174 10 if (flag:c) then 11 @ 0x117b else 12 @ 0x1176 0x117b 11 <return> tailcall(0x1050) 0x1176 12 xmm0 = _mm_sqrt_sd(xmm0.q) 0x117a 13 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(r15) 0x1182 1 push(r14) 0x1184 2 push(r12) 0x1186 3 push(rbx) 0x1187 4 rsp = rsp - 0x978 0x118e 5 rdi = 0x2004 {"%d"} 0x1195 6 rsi = rsp + 4 {var_994} 0x119a 7 eax = 0 0x119c 8 call(0x1040) 0x11a1 9 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11aa 10 if ([rsp + 4 {var_994}].d s<= 0) then 11 @ 0x13c6 else 20 @ 0x11b0 0x13c6 11 rdi = 0x200e {"%.4f"} 0x13cd 12 al = 1 0x13cf 13 call(0x1030) 0x13d4 14 rsp = rsp + 0x978 0x13db 15 rbx = pop 0x13dc 16 r12 = pop 0x13de 17 r14 = pop 0x13e0 18 r15 = pop 0x13e2 19 <return> jump(pop) 0x11b0 20 r14 = rsp + 0x330 {var_668} 0x11b8 21 r12 = rsp + 0x650 {var_348} 0x11c0 22 r15 = 0x2007 {"%lf%lf"} 0x11c7 23 ebx = 0 0x11c9 24 goto 25 @ 0x11d0 0x11d0 25 rdi = r15 0x11d3 26 rsi = r12 0x11d6 27 rdx = r14 0x11d9 28 eax = 0 0x11db 29 call(0x1040) 0x11e0 30 rbx = rbx + 1 0x11e4 31 rax = sx.q([rsp + 4 {var_994}].d) 0x11e9 32 r14 = r14 + 8 0x11ed 33 r12 = r12 + 8 0x11f4 34 if (rbx s< rax) then 25 @ 0x11d0 else 35 @ 0x11f6 0x11f6 35 cond:0 = eax s< 2 0x11f9 36 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11fd 37 if (cond:0) then 11 @ 0x13c6 else 38 @ 0x1203 0x1203 38 r15d = 1 0x1209 39 r14d = 0 0x120c 40 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1210 41 goto 42 @ 0x123a 0x123a 42 r12 = r14 0x123d 43 [rsp + (r14 << 3) + 0x10].q = 0 0x1246 44 r14 = r14 + 1 0x124a 45 rcx = sx.q(eax) 0x1250 46 if (r14 s>= rcx) then 47 @ 0x1227 else 51 @ 0x1252 0x1227 47 ecx = (rax - 1).d 0x122a 48 rdx = sx.q(ecx) 0x122d 49 r15 = r15 + 1 0x1234 50 if (r14 s>= rdx) then 54 @ 0x1323 else 42 @ 0x123a 0x1252 51 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x1256 52 rbx = r15 0x1259 53 goto 56 @ 0x1279 0x1323 54 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x132a 55 if (eax s< 2) then 11 @ 0x13c6 else 70 @ 0x1330 0x1279 56 xmm0 = zx.o([rsp + (rbx << 3) + 0x650].q) 0x1282 57 xmm0.q = xmm0.q f- fconvert.t([rsp + (r12 << 3) + 0x650].q) 0x128c 58 xmm1 = zx.o([rsp + (rbx << 3) + 0x330].q) 0x1295 59 xmm1.q = xmm1.q f- fconvert.t([rsp + (r12 << 3) + 0x330].q) 0x129f 60 xmm1.q = xmm1.q f* xmm1.q 0x12a3 61 xmm0.q = xmm0.q f* xmm0.q 0x12a7 62 xmm0.q = xmm0.q f+ xmm1.q 0x12ab 63 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x12ab 64 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x12ab 65 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x12ab 66 flag:s = 0 0x12ab 67 flag:o = 0 0x12ab 68 flag:a = 0 0x12af 69 if (flag:c) then 75 @ 0x12c0 else 86 @ 0x12b1 0x1330 70 ecx = ecx 0x1332 71 rdx = rcx - 1 0x1336 72 eax = ecx 0x1338 73 eax = eax & 3 0x133f 74 if (rdx u>= 3) then 94 @ 0x1349 else 98 @ 0x1341 0x12c0 75 [rsp + 8 {var_990_1}].q = xmm3.q 0x12c6 76 call(0x1050) 0x12cb 77 xmm3 = zx.o([rsp + 8 {var_990_1}].q) 0x12d1 78 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x12d5 79 flag:p = is_unordered.q(xmm0.q, xmm3.q) 0x12d5 80 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x12d5 81 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x12d5 82 flag:s = 0 0x12d5 83 flag:o = 0 0x12d5 84 flag:a = 0 0x12d9 85 if (flag:z || flag:c) then 101 @ 0x126d else 104 @ 0x12db 0x12b1 86 xmm0 = _mm_sqrt_sd(xmm0.q) 0x12b5 87 flag:p = is_unordered.q(xmm0.q, xmm3.q) 0x12b5 88 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x12b5 89 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x12b5 90 flag:s = 0 0x12b5 91 flag:o = 0 0x12b5 92 flag:a = 0 0x12b9 93 if (flag:z || flag:c) then 101 @ 0x126d else 118 @ 0x12bb 0x1349 94 ecx = ecx & 0xfffffffc 0x134c 95 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1350 96 edx = 0 0x135c 97 goto 119 @ 0x1360 0x1341 98 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1345 99 edx = 0 0x1347 100 goto 129 @ 0x1391 0x126d 101 rbx = rbx + 1 0x1271 102 eax = [rsp + 4 {var_994}].d 0x1277 103 if (eax s<= ebx) then 131 @ 0x1220 else 56 @ 0x1279 0x12db 104 xmm0 = zx.o([rsp + (rbx << 3) + 0x650].q) 0x12e4 105 xmm0.q = xmm0.q f- fconvert.t([rsp + (r12 << 3) + 0x650].q) 0x12ee 106 xmm1 = zx.o([rsp + (rbx << 3) + 0x330].q) 0x12f7 107 xmm1.q = xmm1.q f- fconvert.t([rsp + (r12 << 3) + 0x330].q) 0x1301 108 xmm1.q = xmm1.q f* xmm1.q 0x1305 109 xmm0.q = xmm0.q f* xmm0.q 0x1309 110 xmm0.q = xmm0.q f+ xmm1.q 0x130d 111 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x130d 112 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x130d 113 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x130d 114 flag:s = 0 0x130d 115 flag:o = 0 0x130d 116 flag:a = 0 0x1311 117 if (flag:c) then 133 @ 0x1260 else 137 @ 0x1317 0x12bb 118 goto 104 @ 0x12db 0x1360 119 xmm1 = zx.o([rsp + (rdx << 3) + 0x10].q) 0x1366 120 xmm1 = _mm_max_sd(xmm1.q, xmm2.q) 0x136a 121 xmm0 = zx.o([rsp + (rdx << 3) + 0x18].q) 0x1370 122 xmm0 = _mm_max_sd(xmm0.q, xmm1.q) 0x1374 123 xmm1 = zx.o([rsp + (rdx << 3) + 0x20].q) 0x137a 124 xmm1 = _mm_max_sd(xmm1.q, xmm0.q) 0x137e 125 xmm2 = zx.o([rsp + (rdx << 3) + 0x28].q) 0x1384 126 xmm2 = _mm_max_sd(xmm2.q, xmm1.q) 0x1388 127 rdx = rdx + 4 0x138f 128 if (rcx != rdx) then 119 @ 0x1360 else 129 @ 0x1391 0x1391 129 xmm0 = xmm2 0x1398 130 if (rax == 0) then 11 @ 0x13c6 else 140 @ 0x139a 0x1220 131 [rsp + (r12 << 3) + 0x10].q = xmm3.q 0x1220 132 goto 47 @ 0x1227 0x1260 133 call(0x1050) 0x1265 134 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1269 135 xmm3 = xmm0 0x1269 136 goto 101 @ 0x126d 0x1317 137 xmm3 = 0 0x131a 138 xmm3 = _mm_sqrt_sd(xmm0.q) 0x131e 139 goto 101 @ 0x126d 0x139a 140 rcx = rsp + (rdx << 3) 0x139e 141 rcx = rcx + 0x10 0x13a2 142 edx = 0 0x13ae 143 goto 144 @ 0x13b0 0x13b0 144 xmm0 = zx.o([rcx + (rdx << 3)].q) 0x13b5 145 xmm0 = _mm_max_sd(xmm0.q, xmm2.q) 0x13b9 146 rdx = rdx + 1 0x13bd 147 xmm2 = xmm0 0x13c4 148 if (rax != rdx) then 144 @ 0x13b0 else 11 @ 0x13c6 int64_t _fini(): 0x13e8 0 rsp = rsp - 8 0x13ec 1 rsp = rsp + 8 0x13f0 2 <return> jump(pop)
POJ_70
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) char* gets(char* buf): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AVSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r14) 0x1162 1 push(rbx) 0x1163 2 rsp = rsp - 0x208 0x116a 3 rbx = rsp {var_218} 0x116d 4 rdi = rbx {var_218} 0x1170 5 eax = 0 0x1172 6 call(0x1040) 0x1177 7 [rsp + 0x70 {var_1a8}].q = rbx {var_218} 0x117c 8 rcx = rsp + 1 {var_217} 0x1181 9 eax = 1 0x1186 10 goto 11 @ 0x11a3 0x11a3 11 edx = zx.d([rcx - 1].b) 0x11aa 12 if (dl == 0x20) then 13 @ 0x1190 else 18 @ 0x11ae 0x1190 13 [rcx - 1].b = 0 0x1194 14 rdx = sx.q(eax) 0x1197 15 eax = eax + 1 0x119a 16 [rsp + (rdx << 3) + 0x70].q = rcx 0x119a 17 goto 19 @ 0x119f 0x11ae 18 if (dl != 0) then 19 @ 0x119f else 21 @ 0x11b2 0x119f 19 rcx = rcx + 1 0x119f 20 goto 11 @ 0x11a3 0x11b2 21 if (eax s<= 0) then 22 @ 0x1202 else 26 @ 0x11b4 0x1202 22 rsp = rsp + 0x208 0x1209 23 rbx = pop 0x120a 24 r14 = pop 0x120c 25 <return> jump(pop) 0x11b4 26 ebx = eax 0x11b6 27 rbx = rbx - 1 0x11ba 28 r14 = 0x2004 {"%s"} 0x11c1 29 goto 30 @ 0x11e1 0x11e1 30 eax = ebx 0x11e3 31 rsi = [rsp + (rax << 3) + 0x70].q 0x11e8 32 rdi = r14 0x11eb 33 eax = 0 0x11ed 34 call(0x1030) 0x11f4 35 if (ebx == 0) then 36 @ 0x11d0 else 41 @ 0x11f6 0x11d0 36 rax = rbx - 1 0x11d4 37 rbx = rbx + 1 0x11d8 38 cond:0 = rbx u<= 1 0x11dc 39 rbx = rax 0x11df 40 if (cond:0) then 22 @ 0x1202 else 30 @ 0x11e1 0x11f6 41 edi = 0x20 {"@"} 0x11fb 42 call(0x1050) 0x1200 43 goto 36 @ 0x11d0 int64_t _fini(): 0x1214 0 rsp = rsp - 8 0x1218 1 rsp = rsp + 8 0x121c 2 <return> jump(pop)
POJ_23
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH "} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x120 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rdi = 0x2004 {"%d"} 0x1169 5 rsi = rbp - 8 {var_10} 0x116d 6 al = 0 0x116f 7 call(0x1040) 0x1174 8 [rbp - 0xc {var_14}].d = 0 0x1174 9 goto 10 @ 0x117b 0x117b 10 eax = [rbp - 0xc {var_14}].d 0x1181 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x12b0 else 16 @ 0x1187 0x12b0 12 eax = 0 0x12b2 13 rsp = rsp + 0x120 0x12b9 14 rbp = pop 0x12ba 15 <return> jump(pop) 0x1187 16 rdi = 0x2007 {"%s"} 0x118e 17 rsi = rbp - 0x110 {var_118} 0x1195 18 al = 0 0x1197 19 call(0x1040) 0x119c 20 [rbp - 0x114 {var_11c_1}].d = 0 0x119c 21 goto 22 @ 0x11b0 0x11b0 22 if ([rbp - 0x114 {var_11c_1}].d s>= 0x100) then 23 @ 0x129d else 24 @ 0x11b6 0x129d 23 goto 27 @ 0x12a2 0x11b6 24 rax = sx.q([rbp - 0x114 {var_11c_1}].d) 0x11bd 25 eax = sx.d([rbp + rax - 0x110].b) 0x11c8 26 if (eax != 0x41) then 31 @ 0x11e1 else 34 @ 0x11ce 0x12a2 27 eax = [rbp - 0xc {var_14}].d 0x12a5 28 eax = eax + 1 0x12a8 29 [rbp - 0xc {var_14}].d = eax 0x12ab 30 goto 10 @ 0x117b 0x11e1 31 rax = sx.q([rbp - 0x114 {var_11c_1}].d) 0x11e8 32 eax = sx.d([rbp + rax - 0x110].b) 0x11f3 33 if (eax != 0x54) then 38 @ 0x120c else 41 @ 0x11f9 0x11ce 34 rdi = 0x200a {"T"} 0x11d5 35 al = 0 0x11d7 36 call(0x1030) 0x11dc 37 goto 45 @ 0x1284 0x120c 38 rax = sx.q([rbp - 0x114 {var_11c_1}].d) 0x1213 39 eax = sx.d([rbp + rax - 0x110].b) 0x121e 40 if (eax != 0x43) then 46 @ 0x1237 else 49 @ 0x1224 0x11f9 41 rdi = 0x200c {"A"} 0x1200 42 al = 0 0x1202 43 call(0x1030) 0x1207 44 goto 53 @ 0x127f 0x1284 45 goto 54 @ 0x1289 0x1237 46 rax = sx.q([rbp - 0x114 {var_11c_1}].d) 0x123e 47 eax = sx.d([rbp + rax - 0x110].b) 0x1249 48 if (eax != 0x47) then 58 @ 0x1262 else 62 @ 0x124f 0x1224 49 rdi = 0x200e {"G"} 0x122b 50 al = 0 0x122d 51 call(0x1030) 0x1232 52 goto 66 @ 0x127a 0x127f 53 goto 45 @ 0x1284 0x1289 54 eax = [rbp - 0x114 {var_11c_1}].d 0x128f 55 eax = eax + 1 0x1292 56 [rbp - 0x114 {var_11c_1}].d = eax 0x1298 57 goto 22 @ 0x11b0 0x1262 58 rdi = 0x2012 {"\n"} 0x1269 59 al = 0 0x126b 60 call(0x1030) 0x1270 61 goto 23 @ 0x129d 0x124f 62 rdi = 0x2010 {"C"} 0x1256 63 al = 0 0x1258 64 call(0x1030) 0x125d 65 goto 67 @ 0x1275 0x127a 66 goto 53 @ 0x127f 0x1275 67 goto 66 @ 0x127a int64_t _fini(): 0x12c0 0 rsp = rsp - 8 0x12c4 1 rsp = rsp + 8 0x12c8 2 <return> jump(pop)
POJ_33
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(rbx) 0x1165 3 rsp = rsp - 0x390 0x116c 4 r15d = 0 0x116f 5 rdi = rsp {var_3a8} 0x1172 6 eax = 0 0x1174 7 call(0x1050) 0x117d 8 if ([rsp {var_3a8}].b == 0) then 9 @ 0x1218 else 13 @ 0x1183 0x1218 9 al = [rsp {var_3a8}].b 0x121b 10 [rsp + 0x70 {var_338}].b = al 0x121f 11 [rsp + 0x74 {var_334}].d = 1 0x1227 12 goto 16 @ 0x122c 0x1183 13 ebx = 0 0x1185 14 r14 = rsp {var_3a8} 0x1188 15 goto 20 @ 0x11a1 0x122c 16 r15d = r15d + 1 0x1230 17 r14 = 0x2004 {"(%c%c%d)"} 0x1237 18 ebx = 0 0x1239 19 goto 23 @ 0x1240 0x11a1 20 eax = zx.d([rsp + rbx].b) 0x11a5 21 ecx = (rax - 0x61).d 0x11ab 22 if (cl u> 0x19) then 32 @ 0x1190 else 36 @ 0x11ad 0x1240 23 esi = sx.d([rsp + (rbx << 3) + 0x70].b) 0x1245 24 ecx = [rsp + (rbx << 3) + 0x74].d 0x1249 25 ecx = ecx - 1 0x124c 26 rdi = r14 0x124f 27 edx = 0x2c {""} 0x1254 28 eax = 0 0x1256 29 call(0x1030) 0x125b 30 rbx = rbx + 1 0x1262 31 if (r15 != rbx) then 23 @ 0x1240 else 39 @ 0x1264 0x1190 32 rbx = rbx + 1 0x1194 33 rdi = r14 {var_3a8} 0x1197 34 call(0x1040) 0x119f 35 if (rax u<= rbx) then 45 @ 0x11b4 else 20 @ 0x11a1 0x11ad 36 al = al - 0x20 0x11af 37 [rsp + rbx].b = al 0x11b2 38 goto 32 @ 0x1190 0x1264 39 eax = 0 0x1266 40 rsp = rsp + 0x390 0x126d 41 rbx = pop 0x126e 42 r14 = pop 0x1270 43 r15 = pop 0x1272 44 <return> jump(pop) 0x11b4 45 bl = [rsp {var_3a8}].b 0x11b7 46 [rsp + 0x70 {var_338}].b = bl 0x11bb 47 [rsp + 0x74 {var_334}].d = 1 0x11c6 48 if (rax == 0) then 49 @ 0x1229 else 51 @ 0x11c8 0x1229 49 r15d = 0 0x1229 50 goto 16 @ 0x122c 0x11c8 51 edx = 0 0x11ca 52 r15d = 0 0x11cd 53 goto 54 @ 0x11e1 0x11e1 54 ecx = ebx 0x11e3 55 ebx = zx.d([rsp + rdx + 1].b) 0x11ea 56 if (bl == cl) then 57 @ 0x11d0 else 61 @ 0x11ec 0x11d0 57 rcx = sx.q(r15d) 0x11d3 58 [rsp + (rcx << 3) + 0x74].d = [rsp + (rcx << 3) + 0x74].d + 1 0x11d8 59 rdx = rdx + 1 0x11df 60 if (rax == rdx) then 64 @ 0x1214 else 54 @ 0x11e1 0x11ec 61 rsi = sx.q(r15d) 0x11ef 62 [rsp + (rsi << 3) + 0x74].d = [rsp + (rsi << 3) + 0x74].d + 1 0x11f6 63 if (bl == 0) then 64 @ 0x1214 else 65 @ 0x11f8 0x1214 64 if (r15d s>= 0) then 16 @ 0x122c else 70 @ 0x1216 0x11f8 65 r15d = (rsi + 1).d 0x11fc 66 [rsp + (rsi << 3) + 0x78].b = bl 0x1200 67 [rsp + (rsi << 3) + 0x7c].d = 1 0x1208 68 rdx = rdx + 1 0x120f 69 if (rax != rdx) then 54 @ 0x11e1 else 64 @ 0x1214 0x1216 70 goto 39 @ 0x1264 int64_t _fini(): 0x1278 0 rsp = rsp - 8 0x127c 1 rsp = rsp + 8 0x1280 2 <return> jump(pop)
POJ_103
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH`"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x9c60 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rdi = 0x2007 {"%d"} 0x1169 5 rsi = rbp - 8 {var_10} 0x116d 6 al = 0 0x116f 7 call(0x1040) 0x116f 8 goto 9 @ 0x1178 0x1178 9 if ([rbp - 8 {var_10}].d s<= 0) then 10 @ 0x13bf else 14 @ 0x117e 0x13bf 10 eax = [rbp - 4 {var_c}].d 0x13c2 11 rsp = rsp + 0x9c60 0x13c9 12 rbp = pop 0x13ca 13 <return> jump(pop) 0x117e 14 rdi = 0x2004 {"%d %d"} 0x1185 15 rsi = rbp - 0xc {var_14} 0x1189 16 rdx = rbp - 0x10 {var_18} 0x118d 17 al = 0 0x118f 18 call(0x1040) 0x1194 19 [rbp - 0x9c5c {var_9c64_1}].d = 0 0x119e 20 [rbp - 0x9c54 {var_9c5c_1}].d = 0 0x119e 21 goto 22 @ 0x11a8 0x11a8 22 eax = [rbp - 0x9c54 {var_9c5c_1}].d 0x11b1 23 if (eax s>= [rbp - 0xc {var_14}].d) then 24 @ 0x1223 else 26 @ 0x11b7 0x1223 24 [rbp - 0x9c54 {var_9c5c_2}].d = 0 0x1223 25 goto 28 @ 0x122d 0x11b7 26 [rbp - 0x9c58 {var_9c60_1}].d = 0 0x11b7 27 goto 30 @ 0x11c1 0x122d 28 eax = [rbp - 0x9c54 {var_9c5c_2}].d 0x1236 29 if (eax s>= [rbp - 0xc {var_14}].d) then 32 @ 0x12b6 else 34 @ 0x123c 0x11c1 30 eax = [rbp - 0x9c58 {var_9c60_1}].d 0x11ca 31 if (eax s>= [rbp - 0x10 {var_18}].d) then 36 @ 0x120a else 37 @ 0x11d0 0x12b6 32 [rbp - 0x9c58 {var_9c60_3}].d = 0 0x12b6 33 goto 47 @ 0x12c0 0x123c 34 [rbp - 0x9c58 {var_9c60_2}].d = 0 0x123c 35 goto 49 @ 0x1246 0x120a 36 goto 51 @ 0x120f 0x11d0 37 rcx = sx.q([rbp - 0x9c54 {var_9c5c_1}].d) 0x11d7 38 rax = rbp - 0x9c50 {var_9c58} 0x11de 39 rcx = rcx * 0x190 0x11e5 40 rax = rax + rcx 0x11e8 41 rcx = sx.q([rbp - 0x9c58 {var_9c60_1}].d) 0x11ef 42 [rax + (rcx << 2)].d = 0 0x11f6 43 eax = [rbp - 0x9c58 {var_9c60_1}].d 0x11fc 44 eax = eax + 1 0x11ff 45 [rbp - 0x9c58 {var_9c60_1}].d = eax 0x1205 46 goto 30 @ 0x11c1 0x12c0 47 eax = [rbp - 0x9c58 {var_9c60_3}].d 0x12c9 48 if (eax s>= [rbp - 0x10 {var_18}].d) then 55 @ 0x1321 else 57 @ 0x12cf 0x1246 49 eax = [rbp - 0x9c58 {var_9c60_2}].d 0x124f 50 if (eax s>= [rbp - 0x10 {var_18}].d) then 73 @ 0x129d else 74 @ 0x1255 0x120f 51 eax = [rbp - 0x9c54 {var_9c5c_1}].d 0x1215 52 eax = eax + 1 0x1218 53 [rbp - 0x9c54 {var_9c5c_1}].d = eax 0x121e 54 goto 22 @ 0x11a8 0x1321 55 [rbp - 0x9c54 {var_9c5c_3}].d = 1 0x1321 56 goto 88 @ 0x132b 0x12cf 57 eax = [rbp - 0x9c5c {var_9c64_1}].d 0x12d5 58 rcx = sx.q([rbp - 0x9c58 {var_9c60_3}].d) 0x12dc 59 eax = eax + [rbp + (rcx << 2) - 0x9c50].d 0x12e3 60 ecx = [rbp - 0xc {var_14}].d 0x12e6 61 ecx = ecx - 1 0x12e9 62 rdx = sx.q(ecx) 0x12ec 63 rcx = rbp - 0x9c50 {var_9c58} 0x12f3 64 rdx = rdx * 0x190 0x12fa 65 rcx = rcx + rdx 0x12fd 66 rdx = sx.q([rbp - 0x9c58 {var_9c60_3}].d) 0x1304 67 eax = eax + [rcx + (rdx << 2)].d 0x1307 68 [rbp - 0x9c5c {var_9c64_1}].d = eax 0x130d 69 eax = [rbp - 0x9c58 {var_9c60_3}].d 0x1313 70 eax = eax + 1 0x1316 71 [rbp - 0x9c58 {var_9c60_3}].d = eax 0x131c 72 goto 47 @ 0x12c0 0x129d 73 goto 92 @ 0x12a2 0x1255 74 rax = sx.q([rbp - 0x9c54 {var_9c5c_2}].d) 0x125c 75 rsi = rbp - 0x9c50 {var_9c58} 0x1263 76 rax = rax * 0x190 0x126a 77 rsi = rsi + rax 0x126d 78 rax = sx.q([rbp - 0x9c58 {var_9c60_2}].d) 0x1274 79 rax = rax << 2 0x1278 80 rsi = rsi + rax 0x127b 81 rdi = 0x2007 {"%d"} 0x1282 82 al = 0 0x1284 83 call(0x1040) 0x1289 84 eax = [rbp - 0x9c58 {var_9c60_2}].d 0x128f 85 eax = eax + 1 0x1292 86 [rbp - 0x9c58 {var_9c60_2}].d = eax 0x1298 87 goto 49 @ 0x1246 0x132b 88 eax = [rbp - 0x9c54 {var_9c5c_3}].d 0x1331 89 ecx = [rbp - 0xc {var_14}].d 0x1334 90 ecx = ecx - 1 0x1339 91 if (eax s>= ecx) then 96 @ 0x139d else 104 @ 0x133f 0x12a2 92 eax = [rbp - 0x9c54 {var_9c5c_2}].d 0x12a8 93 eax = eax + 1 0x12ab 94 [rbp - 0x9c54 {var_9c5c_2}].d = eax 0x12b1 95 goto 28 @ 0x122d 0x139d 96 esi = [rbp - 0x9c5c {var_9c64_1}].d 0x13a3 97 rdi = 0x200a {"%d\n"} 0x13aa 98 al = 0 0x13ac 99 call(0x1030) 0x13b1 100 eax = [rbp - 8 {var_10}].d 0x13b4 101 eax = eax - 1 0x13b7 102 [rbp - 8 {var_10}].d = eax 0x13ba 103 goto 9 @ 0x1178 0x133f 104 eax = [rbp - 0x9c5c {var_9c64_1}].d 0x1345 105 rdx = sx.q([rbp - 0x9c54 {var_9c5c_3}].d) 0x134c 106 rcx = rbp - 0x9c50 {var_9c58} 0x1353 107 rdx = rdx * 0x190 0x135a 108 rcx = rcx + rdx 0x135d 109 eax = eax + [rcx].d 0x135f 110 rdx = sx.q([rbp - 0x9c54 {var_9c5c_3}].d) 0x1366 111 rcx = rbp - 0x9c50 {var_9c58} 0x136d 112 rdx = rdx * 0x190 0x1374 113 rcx = rcx + rdx 0x1377 114 edx = [rbp - 0x10 {var_18}].d 0x137a 115 edx = edx - 1 0x137d 116 rdx = sx.q(edx) 0x1380 117 eax = eax + [rcx + (rdx << 2)].d 0x1383 118 [rbp - 0x9c5c {var_9c64_1}].d = eax 0x1389 119 eax = [rbp - 0x9c54 {var_9c5c_3}].d 0x138f 120 eax = eax + 1 0x1392 121 [rbp - 0x9c54 {var_9c5c_3}].d = eax 0x1398 122 goto 88 @ 0x132b int64_t _fini(): 0x13d0 0 rsp = rsp - 8 0x13d4 1 rsp = rsp + 8 0x13d8 2 <return> jump(pop)
POJ_6
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVAUATSHV"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4050].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4050].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0x5608 0x1181 7 rdi = 0x2004 {"%d"} 0x1188 8 rsi = rsp + 0xc {var_562c} 0x118d 9 eax = 0 0x118f 10 call(0x1040) 0x1194 11 rdi = 0x2009 {"\n"} 0x119b 12 eax = 0 0x119d 13 call(0x1040) 0x11a7 14 if ([rsp + 0xc {var_562c}].d s<= 0) then 15 @ 0x12bb else 16 @ 0x11ad 0x12bb 15 if ([rsp + 0xc {var_562c}].d s<= 0) then 20 @ 0x1342 else 29 @ 0x12c1 0x11ad 16 rbx = rsp + 0x1a0 {var_5498} 0x11b5 17 r15 = 0x4060 {""} 0x11bc 18 r12d = 0 0x11bf 19 goto 33 @ 0x11ee 0x1342 20 eax = 0 0x1344 21 rsp = rsp + 0x5608 0x134b 22 rbx = pop 0x134c 23 r12 = pop 0x134e 24 r13 = pop 0x1350 25 r14 = pop 0x1352 26 r15 = pop 0x1354 27 rbp = pop 0x1355 28 <return> jump(pop) 0x12c1 29 r13 = rsp + 0x1a4 {var_5494} 0x12c9 30 r15 = 0x200b {"no"} 0x12d0 31 r12d = 0 0x12d3 32 goto 45 @ 0x1309 0x11ee 33 rbp = r12 * 0x186a0 0x11f5 34 r14 = r15 + rbp 0x11f9 35 rdi = r14 0x11fc 36 eax = 0 0x11fe 37 call(0x1050) 0x1203 38 al = [rbp + r15].b 0x1208 39 r8 = r12 * 0xd8 0x120f 40 [rsp + r8 + 0x1a4].b = al 0x1217 41 [rsp + r8 + 0x1a0].d = 1 0x1223 42 [rsp + (r12 << 2) + 0x10].d = 1 0x122c 43 al = [rbp + r15 + 1].b 0x1233 44 if (al == 0) then 47 @ 0x11d5 else 51 @ 0x1235 0x1309 45 ebx = [rsp + (r12 << 2) + 0x10].d 0x1310 46 if (ebx s<= 0) then 54 @ 0x12f4 else 58 @ 0x1312 0x11d5 47 r12 = r12 + 1 0x11d9 48 rax = sx.q([rsp + 0xc {var_562c}].d) 0x11de 49 rbx = rbx + 0xd8 0x11e8 50 if (r12 s>= rax) then 15 @ 0x12bb else 33 @ 0x11ee 0x1235 51 r9d = [rsp + (r12 << 2) + 0x10].d 0x123a 52 edx = 1 0x123f 53 goto 61 @ 0x1264 0x12f4 54 r12 = r12 + 1 0x12f8 55 rax = sx.q([rsp + 0xc {var_562c}].d) 0x12fd 56 r13 = r13 + 0xd8 0x1307 57 if (r12 s>= rax) then 20 @ 0x1342 else 45 @ 0x1309 0x1312 58 rbp = rbx - 1 0x1316 59 eax = 0 0x1318 60 goto 62 @ 0x132e 0x1264 61 if (r9d s<= 0) then 63 @ 0x1290 else 65 @ 0x1266 0x132e 62 if ([r13 + (rax << 3) - 4].d == 1) then 69 @ 0x12e0 else 74 @ 0x1330 0x1290 63 esi = 0 0x1290 64 goto 76 @ 0x1295 0x1266 65 edi = r9d 0x1269 66 ecx = 0 0x126b 67 esi = 0 0x126d 68 goto 77 @ 0x1280 0x12e0 69 esi = sx.d([r13 + (rax << 3)].b) 0x12e6 70 rdi = 0x2007 {"%c\n"} 0x12ed 71 eax = 0 0x12ef 72 call(0x1030) 0x12ef 73 goto 54 @ 0x12f4 0x1330 74 r14 = rax + 1 0x1336 75 if (ebp != eax) then 78 @ 0x1320 else 80 @ 0x1338 0x1295 76 if (esi != r9d) then 83 @ 0x1250 else 86 @ 0x1297 0x1280 77 if (al != [rbx + (rcx << 3) + 4].b) then 93 @ 0x1270 else 95 @ 0x1282 0x1320 78 rax = r14 0x1326 79 if (rbx == r14) then 54 @ 0x12f4 else 62 @ 0x132e 0x1338 80 rdi = r15 0x133b 81 call(0x1060) 0x1340 82 goto 78 @ 0x1320 0x1250 83 al = [rdx + r14 + 1].b 0x1255 84 rdx = rdx + 1 0x125b 85 if (al == 0) then 97 @ 0x11d0 else 61 @ 0x1264 0x1297 86 rcx = sx.q(r9d) 0x129a 87 r9d = r9d + 1 0x129e 88 rsi = rsp + r8 0x12a2 89 rsi = rsi + 0x1a0 0x12a9 90 [rsi + (rcx << 3) + 4].b = al 0x12ad 91 [rsi + (rcx << 3)].d = 1 0x12b4 92 goto 83 @ 0x1250 0x1270 93 esi = esi + 1 0x1270 94 goto 99 @ 0x1273 0x1282 95 [rbx + (rcx << 3)].d = [rbx + (rcx << 3)].d + 1 0x1286 96 goto 99 @ 0x1273 0x11d0 97 [rsp + (r12 << 2) + 0x10].d = r9d 0x11d0 98 goto 47 @ 0x11d5 0x1273 99 rcx = rcx + 1 0x127a 100 if (rdi == rcx) then 76 @ 0x1295 else 77 @ 0x1280 int64_t _fini(): 0x135c 0 rsp = rsp - 8 0x1360 1 rsp = rsp + 8 0x1364 2 <return> jump(pop)
POJ_37
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r12) 0x1167 4 push(rbx) 0x1168 5 rsp = rsp - 0x7f0 0x116f 6 rdi = 0x2054 {"%d"} 0x1176 7 rsi = rsp + 0xc {var_80c} 0x117b 8 eax = 0 0x117d 9 call(0x1040) 0x1187 10 if ([rsp + 0xc {var_80c}].d s<= 0) then 11 @ 0x1224 else 19 @ 0x118d 0x1224 11 eax = 0 0x1226 12 rsp = rsp + 0x7f0 0x122d 13 rbx = pop 0x122e 14 r12 = pop 0x1230 15 r14 = pop 0x1232 16 r15 = pop 0x1234 17 rbp = pop 0x1235 18 <return> jump(pop) 0x118d 19 r14 = rsp + 0x400 {var_418} 0x1195 20 r12 = rsp + 0x10 {var_808} 0x119a 21 r15 = 0x2057 {"%s"} 0x11a1 22 rbx = 0x2004 {"%d"} 0x11a8 23 ebp = 0 0x11aa 24 goto 25 @ 0x11b0 0x11b0 25 edx = 0x3e8 {""} 0x11b5 26 rdi = r14 {var_418} 0x11b8 27 esi = 0 0x11ba 28 call(0x1030) 0x11bf 29 edx = 0x3e8 {""} 0x11c4 30 rdi = r12 {var_808} 0x11c7 31 esi = 0 0x11c9 32 call(0x1030) 0x11ce 33 rdi = r15 0x11d1 34 rsi = r14 {var_418} 0x11d4 35 eax = 0 0x11d6 36 call(0x1040) 0x11db 37 eax = 0 0x11dd 38 goto 39 @ 0x11e9 0x11e9 39 ecx = zx.d([rsp + rax + 0x400].b) 0x11f1 40 edx = (rcx - 0x41).d 0x11f7 41 if (dl u> 0x13) then 42 @ 0x1211 else 43 @ 0x11f9 0x1211 42 if (cl != 0) then 48 @ 0x11e5 else 50 @ 0x1213 0x11f9 43 cl = 0x54 {""} 0x11fb 44 edx = zx.d(dl) 0x11fe 45 rdx = sx.q([rbx + (rdx << 2)].d) 0x1202 46 rdx = rdx + rbx 0x1205 47 jump(rdx => 54 @ 0x11df, 56 @ 0x11e1, 48 @ 0x11e5, 58 @ 0x1207, 60 @ 0x120b) 0x11e5 48 rax = rax + 1 0x11e5 49 goto 39 @ 0x11e9 0x1213 50 rdi = r12 {var_808} 0x1216 51 call(0x1050) 0x121b 52 ebp = ebp + 1 0x1222 53 if (ebp s< [rsp + 0xc {var_80c}].d) then 25 @ 0x11b0 else 11 @ 0x1224 0x11df 54 cl = 0x43 {""} 0x11df 55 goto 56 @ 0x11e1 0x11e1 56 [rsp + rax + 0x10].b = cl 0x11e1 57 goto 48 @ 0x11e5 0x1207 58 cl = 0x47 {""} 0x1209 59 goto 56 @ 0x11e1 0x120b 60 cl = 0x41 {""} 0x120d 61 goto 56 @ 0x11e1 int64_t _fini(): 0x123c 0 rsp = rsp - 8 0x1240 1 rsp = rsp + 8 0x1244 2 <return> jump(pop)
POJ_33
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSPH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 push(rax) 0x1157 5 rdi = 0x2004 {"%d"} 0x115e 6 rsi = rsp {var_28} 0x1161 7 eax = 0 0x1163 8 call(0x1040) 0x116c 9 if ([rsp {var_28}].d s<= 0) then 10 @ 0x1255 else 17 @ 0x1172 0x1255 10 eax = 0 0x1257 11 rsp = rsp + 8 0x125b 12 rbx = pop 0x125c 13 r14 = pop 0x125e 14 r15 = pop 0x1260 15 rbp = pop 0x1261 16 <return> jump(pop) 0x1172 17 r14 = 0x2004 {"%d"} 0x1179 18 r15 = rsp + 4 {var_28+0x4} 0x117e 19 rbx = 0x2007 {"%.3lf\n"} 0x1185 20 ebp = 0 0x1187 21 goto 22 @ 0x11aa 0x11aa 22 rdi = r14 0x11ad 23 rsi = r15 {var_28+0x4} 0x11b0 24 eax = 0 0x11b2 25 call(0x1040) 0x11b7 26 eax = [rsp + 4 {var_28+0x4}].d 0x11bd 27 if (eax s<= 0) then 28 @ 0x1190 else 30 @ 0x11c2 0x1190 28 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1190 29 goto 31 @ 0x1194 0x11c2 30 if (eax != 1) then 36 @ 0x11e0 else 42 @ 0x11c4 0x1194 31 rdi = rbx 0x1197 32 al = 1 0x1199 33 call(0x1030) 0x119e 34 ebp = ebp + 1 0x11a4 35 if (ebp s>= [rsp {var_28}].d) then 10 @ 0x1255 else 22 @ 0x11aa 0x11e0 36 esi = eax 0x11e2 37 esi = esi & 0xfffffffe 0x11e5 38 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11e9 39 ecx = 2 0x11ee 40 edx = 1 0x11fd 41 goto 46 @ 0x1200 0x11c4 42 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11c8 43 ecx = 2 0x11cd 44 edx = 1 0x11d2 45 goto 62 @ 0x1234 0x1200 46 xmm1 = 0 0x1203 47 xmm1.q = float.d(ecx) 0x1207 48 xmm2 = 0 0x120a 49 xmm2.q = float.d(edx) 0x120e 50 xmm3 = xmm1 0x1212 51 xmm3.q = xmm3.q f/ xmm2.q 0x1216 52 xmm3.q = xmm3.q f+ xmm0.q 0x121a 53 edx = edx + ecx 0x121c 54 xmm0 = 0 0x121f 55 xmm0.q = float.d(edx) 0x1223 56 xmm0.q = xmm0.q f/ xmm1.q 0x1227 57 xmm0.q = xmm0.q f+ xmm3.q 0x122b 58 ecx = ecx + edx 0x122d 59 temp0.d = esi 0x122d 60 esi = esi - 2 0x1230 61 if (temp0.d != 2) then 46 @ 0x1200 else 62 @ 0x1234 0x1234 62 if ((al & 1) == 0) then 31 @ 0x1194 else 63 @ 0x123a 0x123a 63 xmm1 = 0 0x123d 64 xmm1.q = float.d(ecx) 0x1241 65 xmm2 = 0 0x1244 66 xmm2.q = float.d(edx) 0x1248 67 xmm1.q = xmm1.q f/ xmm2.q 0x124c 68 xmm0.q = xmm0.q f+ xmm1.q 0x1250 69 goto 31 @ 0x1194 int64_t _fini(): 0x1268 0 rsp = rsp - 8 0x126c 1 rsp = rsp + 8 0x1270 2 <return> jump(pop)
POJ_29
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVATSH>"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x3e98 0x116e 5 rdi = 0x2012 {"%d"} 0x1175 6 rsi = rsp + 4 {var_3eb4} 0x117a 7 eax = 0 0x117c 8 call(0x1040) 0x1186 9 if ([rsp + 4 {var_3eb4}].d s<= 0) then 10 @ 0x1275 else 17 @ 0x118c 0x1275 10 eax = 0 0x1277 11 rsp = rsp + 0x3e98 0x127e 12 rbx = pop 0x127f 13 r12 = pop 0x1281 14 r14 = pop 0x1283 15 r15 = pop 0x1285 16 <return> jump(pop) 0x118c 17 rbx = rsp + 0x1f54 {var_1f64} 0x1194 18 r14 = 0x2010 {"%d%d"} 0x119b 19 r15d = 0 0x119e 20 goto 21 @ 0x11a0 0x11a0 21 rsi = rbx - 4 0x11a4 22 rdi = r14 0x11a7 23 rdx = rbx 0x11aa 24 eax = 0 0x11ac 25 call(0x1040) 0x11b1 26 xmm0 = 0 0x11b4 27 xmm0.q = float.d([rbx].d) 0x11b8 28 xmm1 = 0 0x11bb 29 xmm1.q = float.d([rbx - 4].d) 0x11c0 30 xmm0.q = xmm0.q f/ xmm1.q 0x11c4 31 [rsp + (r15 << 3) + 0x10].q = xmm0.q 0x11cb 32 r15 = r15 + 1 0x11cf 33 rax = sx.q([rsp + 4 {var_3eb4}].d) 0x11d4 34 rbx = rbx + 8 0x11db 35 if (r15 s< rax) then 21 @ 0x11a0 else 36 @ 0x11e0 0x11e0 36 if (eax s< 2) then 10 @ 0x1275 else 37 @ 0x11e6 0x11e6 37 ebx = 1 0x11eb 38 xmm2 = zx.o([rsp + 0x10 {var_3ea8}].q) 0x11f1 39 xmm3 = zx.o([0x2008].q) 0x11f9 40 r14 = 0x201c {"worse"} 0x1200 41 r15 = 0x2022 {"same"} 0x1207 42 r12 = 0x2015 {"better"} 0x120e 43 [rsp + 8 {var_3eb0_1}].q = xmm2.q 0x1214 44 goto 45 @ 0x1259 0x1259 45 xmm0 = zx.o([rsp + (rbx << 3) + 0x10].q) 0x125f 46 xmm1 = xmm2 0x1263 47 xmm1.q = xmm1.q f- xmm0.q 0x1267 48 flag:p = is_unordered.q(xmm1.q, xmm3.q) 0x1267 49 flag:c = xmm1.q f< xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x1267 50 flag:z = xmm1.q f== xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x1267 51 flag:s = 0 0x1267 52 flag:o = 0 0x1267 53 flag:a = 0 0x126b 54 rdi = r14 0x126e 55 if (not(flag:z) && not(flag:c)) then 56 @ 0x1220 else 64 @ 0x1270 0x1220 56 xmm0.q = xmm0.q f- xmm2.q 0x1224 57 flag:p = is_unordered.q(xmm0.q, xmm3.q) 0x1224 58 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x1224 59 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x1224 60 flag:s = 0 0x1224 61 flag:o = 0 0x1224 62 flag:a = 0 0x1228 63 if (not(flag:z) && not(flag:c)) then 66 else 68 @ 0x122c 0x1270 64 rdi = r15 0x1273 65 goto 56 @ 0x1220 0x1228 66 rdi = r12 0x1228 67 goto 68 @ 0x122c 0x122c 68 eax = 0 0x122e 69 call(0x1030) 0x1233 70 edi = 0xa {""} 0x1238 71 call(0x1050) 0x123d 72 xmm3 = zx.o([0x2008].q) 0x1245 73 xmm2 = zx.o([rsp + 8 {var_3eb0_1}].q) 0x124b 74 rbx = rbx + 1 0x124f 75 rax = sx.q([rsp + 4 {var_3eb4}].d) 0x1257 76 if (rbx s>= rax) then 10 @ 0x1275 else 45 @ 0x1259 int64_t _fini(): 0x128c 0 rsp = rsp - 8 0x1290 1 rsp = rsp + 8 0x1294 2 <return> jump(pop)
POJ_67
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHHp}"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0x7d70 0x117b 3 rdi = rbp - 0x7d50 {var_7d58} 0x1182 4 esi = 0 0x1184 5 edx = 0x68 {""} 0x1189 6 call(0x1040) 0x118e 7 rdi = 0x2004 {"%d"} 0x1195 8 rsi = rbp - 0x7ce4 {var_7cec} 0x119c 9 al = 0 0x119e 10 call(0x1060) 0x11a3 11 [rbp - 0x7d58 {var_7d60}].d = 0 0x11a3 12 goto 13 @ 0x11ad 0x11ad 13 eax = [rbp - 0x7d58 {var_7d60}].d 0x11b9 14 if (eax s>= [rbp - 0x7ce4 {var_7cec}].d) then 15 @ 0x120f else 17 @ 0x11bf 0x120f 15 [rbp - 0x7d58 {var_7d60_1}].d = 0 0x120f 16 goto 33 @ 0x1219 0x11bf 17 rax = sx.q([rbp - 0x7d58 {var_7d60}].d) 0x11c6 18 rsi = rbp - 0x7ce0 {var_7ce8} 0x11cd 19 rax = rax << 5 0x11d1 20 rsi = rsi + rax 0x11d4 21 rax = sx.q([rbp - 0x7d58 {var_7d60}].d) 0x11db 22 rdx = rbp - 0x7ce0 {var_7ce8} 0x11e2 23 rax = rax << 5 0x11e6 24 rdx = rdx + rax 0x11e9 25 rdx = rdx + 4 0x11ed 26 rdi = 0x2007 {"%d %s"} 0x11f4 27 al = 0 0x11f6 28 call(0x1060) 0x11fb 29 eax = [rbp - 0x7d58 {var_7d60}].d 0x1201 30 eax = eax + 1 0x1204 31 [rbp - 0x7d58 {var_7d60}].d = eax 0x120a 32 goto 13 @ 0x11ad 0x1219 33 eax = [rbp - 0x7d58 {var_7d60_1}].d 0x1225 34 if (eax s>= [rbp - 0x7ce4 {var_7cec}].d) then 35 @ 0x1317 else 39 @ 0x122b 0x1317 35 eax = [rbp - 0x7d50 {var_7d58}].d 0x131d 36 [rbp - 0x7d68 {var_7d70}].d = eax 0x1323 37 [rbp - 0x7d60 {var_7d68_2}].d = 0 0x1323 38 goto 48 @ 0x1334 0x122b 39 rax = sx.q([rbp - 0x7d58 {var_7d60_1}].d) 0x1232 40 rdi = rbp - 0x7ce0 {var_7ce8} 0x1239 41 rax = rax << 5 0x123d 42 rdi = rdi + rax 0x1240 43 rdi = rdi + 4 0x1244 44 call(0x1050) 0x1249 45 [rbp - 0x7d64 {var_7d6c_1}].d = eax 0x124f 46 [rbp - 0x7d5c {var_7d64_1}].d = 0 0x124f 47 goto 49 @ 0x1259 0x1334 48 if ([rbp - 0x7d60 {var_7d68_2}].d s>= 0x1a) then 51 @ 0x138d else 60 @ 0x133a 0x1259 49 eax = [rbp - 0x7d5c {var_7d64_1}].d 0x1265 50 if (eax s>= [rbp - 0x7d64 {var_7d6c_1}].d) then 63 @ 0x12fe else 64 @ 0x126b 0x138d 51 esi = [rbp - 0x7d54 {var_7d5c}].d 0x1393 52 esi = esi + 0x41 0x1396 53 rax = sx.q([rbp - 0x7d54 {var_7d5c}].d) 0x139d 54 edx = [rbp + (rax << 2) - 0x7d50].d 0x13a4 55 rdi = 0x200d {"%c\n%d\n"} 0x13ab 56 al = 0 0x13ad 57 call(0x1030) 0x13b2 58 [rbp - 0x7d58 {var_7d60_2}].d = 0 0x13b2 59 goto 66 @ 0x13bc 0x133a 60 rax = sx.q([rbp - 0x7d60 {var_7d68_2}].d) 0x1341 61 eax = [rbp + (rax << 2) - 0x7d50].d 0x134e 62 if (eax s< [rbp - 0x7d68 {var_7d70}].d) then 68 @ 0x1374 else 69 @ 0x1354 0x12fe 63 goto 75 @ 0x1303 0x126b 64 [rbp - 0x7d60 {var_7d68_1}].d = 0 0x126b 65 goto 79 @ 0x127c 0x13bc 66 eax = [rbp - 0x7d58 {var_7d60_2}].d 0x13c8 67 if (eax s>= [rbp - 0x7ce4 {var_7cec}].d) then 80 @ 0x1497 else 83 @ 0x13ce 0x1374 68 goto 92 @ 0x1379 0x1354 69 eax = [rbp - 0x7d60 {var_7d68_2}].d 0x135a 70 [rbp - 0x7d54 {var_7d5c}].d = eax 0x1360 71 rax = sx.q([rbp - 0x7d60 {var_7d68_2}].d) 0x1367 72 eax = [rbp + (rax << 2) - 0x7d50].d 0x136e 73 [rbp - 0x7d68 {var_7d70}].d = eax 0x136e 74 goto 68 @ 0x1374 0x1303 75 eax = [rbp - 0x7d58 {var_7d60_1}].d 0x1309 76 eax = eax + 1 0x130c 77 [rbp - 0x7d58 {var_7d60_1}].d = eax 0x1312 78 goto 33 @ 0x1219 0x127c 79 if ([rbp - 0x7d60 {var_7d68_1}].d s>= 0x1a) then 96 @ 0x12e5 else 97 @ 0x1282 0x1497 80 rsp = rsp + 0x7d70 0x149e 81 rbp = pop 0x149f 82 <return> jump(pop) 0x13ce 83 rax = sx.q([rbp - 0x7d58 {var_7d60_2}].d) 0x13d5 84 rdi = rbp - 0x7ce0 {var_7ce8} 0x13dc 85 rax = rax << 5 0x13e0 86 rdi = rdi + rax 0x13e3 87 rdi = rdi + 4 0x13e7 88 call(0x1050) 0x13ec 89 [rbp - 0x7d64 {var_7d6c_2}].d = eax 0x13f2 90 [rbp - 0x7d5c {var_7d64_2}].d = 0 0x13f2 91 goto 106 @ 0x13fc 0x1379 92 eax = [rbp - 0x7d60 {var_7d68_2}].d 0x137f 93 eax = eax + 1 0x1382 94 [rbp - 0x7d60 {var_7d68_2}].d = eax 0x1388 95 goto 48 @ 0x1334 0x12e5 96 goto 108 @ 0x12ea 0x1282 97 rcx = sx.q([rbp - 0x7d58 {var_7d60_1}].d) 0x1289 98 rax = rbp - 0x7ce0 {var_7ce8} 0x1290 99 rcx = rcx << 5 0x1294 100 rax = rax + rcx 0x1297 101 rcx = sx.q([rbp - 0x7d5c {var_7d64_1}].d) 0x129e 102 eax = sx.d([rax + rcx + 4].b) 0x12a3 103 ecx = [rbp - 0x7d60 {var_7d68_1}].d 0x12a9 104 ecx = ecx + 0x41 0x12ae 105 if (eax != ecx) then 112 @ 0x12cc else 113 @ 0x12b4 0x13fc 106 eax = [rbp - 0x7d5c {var_7d64_2}].d 0x1408 107 if (eax s>= [rbp - 0x7d64 {var_7d6c_2}].d) then 118 @ 0x147e else 119 @ 0x140e 0x12ea 108 eax = [rbp - 0x7d5c {var_7d64_1}].d 0x12f0 109 eax = eax + 1 0x12f3 110 [rbp - 0x7d5c {var_7d64_1}].d = eax 0x12f9 111 goto 49 @ 0x1259 0x12cc 112 goto 128 @ 0x12d1 0x12b4 113 rax = sx.q([rbp - 0x7d60 {var_7d68_1}].d) 0x12bb 114 ecx = [rbp + (rax << 2) - 0x7d50].d 0x12c2 115 ecx = ecx + 1 0x12c5 116 [rbp + (rax << 2) - 0x7d50].d = ecx 0x12c5 117 goto 112 @ 0x12cc 0x147e 118 goto 132 @ 0x1483 0x140e 119 rcx = sx.q([rbp - 0x7d58 {var_7d60_2}].d) 0x1415 120 rax = rbp - 0x7ce0 {var_7ce8} 0x141c 121 rcx = rcx << 5 0x1420 122 rax = rax + rcx 0x1423 123 rcx = sx.q([rbp - 0x7d5c {var_7d64_2}].d) 0x142a 124 eax = sx.d([rax + rcx + 4].b) 0x142f 125 ecx = [rbp - 0x7d54 {var_7d5c}].d 0x1435 126 ecx = ecx + 0x41 0x143a 127 if (eax != ecx) then 136 @ 0x1465 else 137 @ 0x1440 0x12d1 128 eax = [rbp - 0x7d60 {var_7d68_1}].d 0x12d7 129 eax = eax + 1 0x12da 130 [rbp - 0x7d60 {var_7d68_1}].d = eax 0x12e0 131 goto 79 @ 0x127c 0x1483 132 eax = [rbp - 0x7d58 {var_7d60_2}].d 0x1489 133 eax = eax + 1 0x148c 134 [rbp - 0x7d58 {var_7d60_2}].d = eax 0x1492 135 goto 66 @ 0x13bc 0x1465 136 goto 146 @ 0x146a 0x1440 137 rcx = sx.q([rbp - 0x7d58 {var_7d60_2}].d) 0x1447 138 rax = rbp - 0x7ce0 {var_7ce8} 0x144e 139 rcx = rcx << 5 0x1452 140 rax = rax + rcx 0x1455 141 esi = [rax].d 0x1457 142 rdi = 0x2010 {"%d\n"} 0x145e 143 al = 0 0x1460 144 call(0x1030) 0x1460 145 goto 136 @ 0x1465 0x146a 146 eax = [rbp - 0x7d5c {var_7d64_2}].d 0x1470 147 eax = eax + 1 0x1473 148 [rbp - 0x7d5c {var_7d64_2}].d = eax 0x1479 149 goto 106 @ 0x13fc int64_t _fini(): 0x14a4 0 rsp = rsp - 8 0x14a8 1 rsp = rsp + 8 0x14ac 2 <return> jump(pop)
POJ_2
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r13) 0x1156 3 push(r12) 0x1158 4 push(rbx) 0x1159 5 rsp = rsp - 0x1a0 0x1160 6 al = 1 0x1162 7 rbx = rsp + 0x10 {var_1b8} 0x1167 8 r14 = 0x2004 {"%d%c"} 0x116e 9 r15 = rsp + 0xf {var_1b9} 0x1173 10 r12d = 0 0x1176 11 goto 12 @ 0x1180 0x1180 12 r13d = eax 0x1183 13 rdi = r14 0x1186 14 rsi = rbx 0x1189 15 rdx = r15 {var_1b9} 0x118c 16 eax = 0 0x118e 17 call(0x1040) 0x1193 18 r12 = r12 + 1 0x1197 19 eax = (r13 + 1).d 0x119b 20 rbx = rbx + 4 0x11a4 21 if ([rsp + 0xf {var_1b9}].b != 0xa) then 12 @ 0x1180 else 22 @ 0x11a6 0x11a6 22 ecx = r12d 0x11ad 23 if (rcx u>= 8) then 24 @ 0x11b8 else 34 @ 0x11af 0x11b8 24 eax = r12d 0x11bb 25 esi = r12d 0x11be 26 esi = esi & 7 0x11c1 27 rdx = rcx 0x11c4 28 rdx = rdx - rsi 0x11c7 29 rax = rax - rsi 0x11ca 30 xmm0 = 0 0x11ce 31 edi = 0 0x11d0 32 xmm1 = 0 0x11de 33 goto 37 @ 0x11e0 0x11af 34 edx = 0 0x11b1 35 eax = 0 0x11b3 36 goto 53 @ 0x1274 0x11e0 37 xmm2 = [rsp + (rdi << 2) + 0x10].o 0x11e6 38 xmm3 = [rsp + (rdi << 2) + 0x20].o 0x11ec 39 xmm4 = xmm2 0x11f0 40 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0) 0x11f4 41 xmm2 = xmm2 & xmm4 0x11f8 42 xmm4 = xmm4 & not.o(xmm0) 0x11fc 43 xmm0 = xmm4 0x1200 44 xmm0 = xmm0 | xmm2 0x1204 45 xmm2 = xmm3 0x1208 46 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x120c 47 xmm3 = xmm3 & xmm2 0x1210 48 xmm2 = xmm2 & not.o(xmm1) 0x1214 49 xmm1 = xmm2 0x1218 50 xmm1 = xmm1 | xmm3 0x121c 51 rdi = rdi + 8 0x1223 52 if (rax != rdi) then 37 @ 0x11e0 else 56 @ 0x1225 0x1274 53 esi = r12d 0x1277 54 edi = eax 0x1279 55 goto 75 @ 0x1280 0x1225 56 xmm2 = xmm0 0x1229 57 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x122d 58 xmm0 = xmm0 & xmm2 0x1231 59 xmm2 = xmm2 & not.o(xmm1) 0x1235 60 xmm2 = xmm2 | xmm0 0x1239 61 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x123e 62 xmm1 = xmm2 0x1242 63 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x1246 64 xmm2 = xmm2 & xmm1 0x124a 65 xmm1 = xmm1 & not.o(xmm0) 0x124e 66 xmm1 = xmm1 | xmm2 0x1252 67 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1257 68 xmm2 = xmm1 0x125b 69 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x125f 70 xmm1 = xmm1 & xmm2 0x1263 71 xmm2 = xmm2 & not.o(xmm0) 0x1267 72 xmm2 = xmm2 | xmm1 0x126b 73 eax = xmm2.d 0x1272 74 if (rsi == 0) then 77 @ 0x1294 else 53 @ 0x1274 0x1280 75 eax = [rsp + (rdx << 2) + 0x10].d 0x1286 76 if (eax s< edi) then 80 else 82 @ 0x1289 0x1294 77 rcx = rcx - 1 0x1298 78 r8d = zx.d(r13b) 0x12a0 79 if (rcx u>= 3) then 85 @ 0x12a8 else 92 @ 0x12a2 0x1286 80 eax = edi 0x1286 81 goto 82 @ 0x1289 0x1289 82 rdx = rdx + 1 0x128d 83 edi = eax 0x1292 84 if (rsi != rdx) then 75 @ 0x1280 else 77 @ 0x1294 0x12a8 85 r9d = r12d 0x12ab 86 ecx = r8d 0x12ae 87 ecx = ecx & 3 0x12b1 88 r9 = r9 - rcx 0x12b4 89 ecx = 0 0x12b6 90 esi = 0 0x12b8 91 goto 95 @ 0x12c0 0x12a2 92 ecx = 0 0x12a4 93 esi = 0 0x12a6 94 goto 99 @ 0x130d 0x12c0 95 ebx = [rsp + (rcx << 2) + 0x10].d 0x12c4 96 cond:0 = ebx s< eax 0x12c6 97 edx = esi 0x12c8 98 if (cond:0) then 100 else 102 @ 0x12cd 0x130d 99 if ((r12b & 3) == 0) then 103 @ 0x133a else 104 @ 0x130f 0x12c8 100 edx = ebx 0x12c8 101 goto 102 @ 0x12cd 0x12cd 102 if (ebx s< esi) then 109 else 111 @ 0x12d0 0x133a 103 if (esi == 0) then 115 @ 0x134c else 119 @ 0x133c 0x130f 104 rcx = rsp + (rcx << 2) 0x1313 105 rcx = rcx + 0x10 0x1317 106 r8d = r8d & 3 0x131b 107 edi = 0 0x131d 108 goto 123 @ 0x1320 0x12cd 109 edx = esi 0x12cd 110 goto 111 @ 0x12d0 0x12d0 111 esi = [rsp + (rcx << 2) + 0x14].d 0x12d4 112 cond:1 = esi s< eax 0x12d6 113 ebx = edx 0x12d8 114 if (cond:1) then 127 else 129 @ 0x12dd 0x134c 115 rdi = 0x2009 {"No"} 0x1353 116 eax = 0 0x1355 117 call(0x1030) 0x1355 118 goto 130 @ 0x135a 0x133c 119 rdi = 0x200c {"%d"} 0x1343 120 eax = 0 0x1345 121 call(0x1030) 0x134a 122 goto 130 @ 0x135a 0x1320 123 edx = [rcx + (rdi << 2)].d 0x1323 124 cond:4 = edx s< eax 0x1325 125 ebx = esi 0x1327 126 if (cond:4) then 138 else 140 @ 0x132c 0x12d8 127 ebx = esi 0x12d8 128 goto 129 @ 0x12dd 0x12dd 129 if (esi s< edx) then 141 else 143 @ 0x12e0 0x135a 130 eax = 0 0x135c 131 rsp = rsp + 0x1a0 0x1363 132 rbx = pop 0x1364 133 r12 = pop 0x1366 134 r13 = pop 0x1368 135 r14 = pop 0x136a 136 r15 = pop 0x136c 137 <return> jump(pop) 0x1327 138 ebx = edx 0x1327 139 goto 140 @ 0x132c 0x132c 140 if (edx s>= esi) then 147 else 149 @ 0x132f 0x12dd 141 ebx = edx 0x12dd 142 goto 143 @ 0x12e0 0x12e0 143 edx = [rsp + (rcx << 2) + 0x18].d 0x12e4 144 cond:2 = edx s< eax 0x12e6 145 edi = ebx 0x12e8 146 if (cond:2) then 151 else 153 @ 0x12ed 0x132c 147 esi = ebx 0x132c 148 goto 149 @ 0x132f 0x132f 149 rdi = rdi + 1 0x1336 150 if (r8 != rdi) then 123 @ 0x1320 else 103 @ 0x133a 0x12e8 151 edi = edx 0x12e8 152 goto 153 @ 0x12ed 0x12ed 153 if (edx s< ebx) then 154 else 156 @ 0x12f0 0x12ed 154 edi = ebx 0x12ed 155 goto 156 @ 0x12f0 0x12f0 156 edx = [rsp + (rcx << 2) + 0x1c].d 0x12f4 157 cond:3 = edx s< eax 0x12f6 158 esi = edi 0x12f8 159 if (cond:3) then 160 else 162 @ 0x12fd 0x12f8 160 esi = edx 0x12f8 161 goto 162 @ 0x12fd 0x12fd 162 if (edx s< edi) then 163 else 165 @ 0x1300 0x12fd 163 esi = edi 0x12fd 164 goto 165 @ 0x1300 0x1300 165 rcx = rcx + 4 0x1307 166 if (r9 != rcx) then 95 @ 0x12c0 else 99 @ 0x130d int64_t _fini(): 0x1374 0 rsp = rsp - 8 0x1378 1 rsp = rsp + 8 0x137c 2 <return> jump(pop)
POJ_22
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x118 0x1161 7 rdi = 0x2004 {"%d%c%d"} 0x1168 8 r14d = 0 0x116b 9 rsi = rsp + 4 {var_144} 0x1170 10 rdx = rsp + 0xf {var_139} 0x1175 11 rcx = rsp + 8 {var_140} 0x117a 12 eax = 0 0x117c 13 call(0x1040) 0x1186 14 if ([rsp + 4 {var_144}].d s<= 0) then 15 @ 0x11e1 else 17 @ 0x1188 0x11e1 15 eax = [rsp + 4 {var_144}].d 0x11e7 16 if (eax s<= 0) then 21 @ 0x1290 else 22 @ 0x11ed 0x1188 17 r12 = rsp + 0x10 {var_138} 0x118d 18 r15 = 0x200e {"%d"} 0x1194 19 r13d = 0 0x1197 20 goto 26 @ 0x11b7 0x1290 21 if (r14d != [rsp + 4 {var_144}].d) then 27 @ 0x12a0 else 36 @ 0x1292 0x11ed 22 ecx = [rsp + 8 {var_140}].d 0x11f1 23 rsi = rsp + 0x10 {var_138} 0x11f6 24 r14d = 0 0x11f9 25 goto 40 @ 0x1200 0x11b7 26 if ([rsp + 8 {var_140}].d s<= 0) then 42 @ 0x11a0 else 46 @ 0x11b9 0x12a0 27 eax = 0 0x12a2 28 rsp = rsp + 0x118 0x12a9 29 rbx = pop 0x12aa 30 r12 = pop 0x12ac 31 r13 = pop 0x12ae 32 r14 = pop 0x12b0 33 r15 = pop 0x12b2 34 rbp = pop 0x12b3 35 <return> jump(pop) 0x1292 36 rdi = 0x2011 {"No"} 0x1299 37 eax = 0 0x129b 38 call(0x1030) 0x129b 39 goto 27 @ 0x12a0 0x1200 40 edx = 0 0x1208 41 if (ecx s< 2) then 49 @ 0x1234 else 59 @ 0x120a 0x11a0 42 r13 = r13 + 1 0x11a4 43 rax = sx.q([rsp + 4 {var_144}].d) 0x11a9 44 r12 = r12 + 0x20 0x11b0 45 if (r13 s>= rax) then 15 @ 0x11e1 else 26 @ 0x11b7 0x11b9 46 rbx = r12 0x11bc 47 ebp = 0 0x11be 48 goto 65 @ 0x11c0 0x1234 49 rdi = sx.q(edx) 0x1237 50 rbp = r14 0x123a 51 rbp = rbp << 5 0x123e 52 rbp = rbp + rsp 0x1241 53 rbp = rbp + 0x10 0x1245 54 ebp = [rbp + (rdi << 2)].d 0x1249 55 rbx = rsp + (rdi << 2) 0x124d 56 rbx = rbx + 0x10 0x1251 57 edi = 0 0x125d 58 goto 73 @ 0x1262 0x120a 59 rdx = r14 0x120d 60 rdx = rdx << 5 0x1211 61 edi = [rsp + rdx + 0x10].d 0x1215 62 edx = 0 0x1217 63 ebx = 1 0x121c 64 goto 74 @ 0x1220 0x11c0 65 rdi = r15 0x11c3 66 rsi = rbx 0x11c6 67 eax = 0 0x11c8 68 call(0x1040) 0x11cd 69 rbp = rbp + 1 0x11d1 70 rax = sx.q([rsp + 8 {var_140}].d) 0x11d6 71 rbx = rbx + 4 0x11dd 72 if (rbp s< rax) then 65 @ 0x11c0 else 77 @ 0x11df 0x1262 73 if (ebp s> [rbx].d) then 78 @ 0x1275 else 79 @ 0x1264 0x1220 74 ebp = [rsi + (rbx << 2)].d 0x1223 75 cond:0 = ebp s> edi 0x1225 76 if (ebp s> edi) then 82 else 84 @ 0x1228 0x11df 77 goto 42 @ 0x11a0 0x1275 78 if (edi == eax) then 85 @ 0x12b4 else 90 @ 0x1277 0x1264 79 rdi = rdi + 1 0x1268 80 rbx = rbx + 0x20 0x126f 81 if (rax != rdi) then 73 @ 0x1262 else 93 @ 0x1271 0x1225 82 edi = ebp 0x1225 83 goto 84 @ 0x1228 0x1228 84 if (cond:0) then 95 else 97 @ 0x122b 0x12b4 85 rdi = 0x200b {"%d+%d"} 0x12bb 86 esi = r14d 0x12be 87 eax = 0 0x12c0 88 call(0x1030) 0x12ca 89 if (r14d == [rsp + 4 {var_144}].d) then 36 @ 0x1292 else 99 @ 0x12cc 0x1277 90 r14 = r14 + 1 0x127b 91 rsi = rsi + 0x20 0x1282 92 if (r14 != rax) then 40 @ 0x1200 else 100 @ 0x1288 0x1271 93 edi = eax 0x1271 94 goto 78 @ 0x1275 0x1228 95 edx = ebx 0x1228 96 goto 97 @ 0x122b 0x122b 97 rbx = rbx + 1 0x1232 98 if (rcx != rbx) then 74 @ 0x1220 else 49 @ 0x1234 0x12cc 99 goto 27 @ 0x12a0 0x1288 100 r14d = eax 0x1288 101 goto 21 @ 0x1290 int64_t _fini(): 0x12d4 0 rsp = rsp - 8 0x12d8 1 rsp = rsp + 8 0x12dc 2 <return> jump(pop)
POJ_35
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 [rbp - 0x14 {var_1c}].d = 0 0x1166 5 [rbp - 0x18 {var_20}].d = 0 0x116d 6 [rbp - 0x1c {var_24}].d = 0 0x1174 7 [rbp - 0x20 {var_28}].d = 0 0x117b 8 rdi = 0x2010 {"%d"} 0x1182 9 rsi = rbp - 8 {var_10} 0x1186 10 al = 0 0x1188 11 call(0x1040) 0x118d 12 [rbp - 0xc {var_14}].d = 0 0x118d 13 goto 14 @ 0x1194 0x1194 14 eax = [rbp - 0xc {var_14}].d 0x119a 15 if (eax s>= [rbp - 8 {var_10}].d) then 16 @ 0x1225 else 43 @ 0x11a0 0x1225 16 xmm0.q = float.d([rbp - 0x14 {var_1c}].d) 0x122a 17 xmm1.q = float.d([rbp - 8 {var_10}].d) 0x122f 18 xmm0.q = xmm0.q f/ xmm1.q 0x1233 19 xmm1 = zx.o([0x2008].q) 0x123b 20 xmm0.q = xmm0.q f* xmm1.q 0x123f 21 xmm1.q = float.d([rbp - 0x18 {var_20}].d) 0x1244 22 xmm2.q = float.d([rbp - 8 {var_10}].d) 0x1249 23 xmm1.q = xmm1.q f/ xmm2.q 0x124d 24 xmm2 = zx.o([0x2008].q) 0x1255 25 xmm1.q = xmm1.q f* xmm2.q 0x1259 26 xmm2.q = float.d([rbp - 0x1c {var_24}].d) 0x125e 27 xmm3.q = float.d([rbp - 8 {var_10}].d) 0x1263 28 xmm2.q = xmm2.q f/ xmm3.q 0x1267 29 xmm3 = zx.o([0x2008].q) 0x126f 30 xmm2.q = xmm2.q f* xmm3.q 0x1273 31 xmm3.q = float.d([rbp - 0x20 {var_28}].d) 0x1278 32 xmm4.q = float.d([rbp - 8 {var_10}].d) 0x127d 33 xmm3.q = xmm3.q f/ xmm4.q 0x1281 34 xmm4 = zx.o([0x2008].q) 0x1289 35 xmm3.q = xmm3.q f* xmm4.q 0x128d 36 rdi = 0x2013 {"1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\nOver60: %.2lf%%\n"} 0x1294 37 al = 4 0x1296 38 call(0x1030) 0x129b 39 eax = 0 0x129d 40 rsp = rsp + 0x20 0x12a1 41 rbp = pop 0x12a2 42 <return> jump(pop) 0x11a0 43 rdi = 0x2010 {"%d"} 0x11a7 44 rsi = rbp - 0x10 {var_18} 0x11ab 45 al = 0 0x11ad 46 call(0x1040) 0x11b6 47 if ([rbp - 0x10 {var_18}].d s> 0x12) then 48 @ 0x11c9 else 49 @ 0x11bc 0x11c9 48 if ([rbp - 0x10 {var_18}].d s<= 0x12) then 53 @ 0x11e6 else 54 @ 0x11d3 0x11bc 49 eax = [rbp - 0x14 {var_1c}].d 0x11bf 50 eax = eax + 1 0x11c2 51 [rbp - 0x14 {var_1c}].d = eax 0x11c2 52 goto 48 @ 0x11c9 0x11e6 53 if ([rbp - 0x10 {var_18}].d s<= 0x23) then 55 @ 0x1203 else 56 @ 0x11f0 0x11d3 54 if ([rbp - 0x10 {var_18}].d s> 0x23) then 53 @ 0x11e6 else 57 @ 0x11d9 0x1203 55 if ([rbp - 0x10 {var_18}].d s<= 0x3c) then 61 @ 0x1212 else 62 @ 0x1209 0x11f0 56 if ([rbp - 0x10 {var_18}].d s> 0x3c) then 55 @ 0x1203 else 66 @ 0x11f6 0x11d9 57 eax = [rbp - 0x18 {var_20}].d 0x11dc 58 eax = eax + 1 0x11df 59 [rbp - 0x18 {var_20}].d = eax 0x11df 60 goto 53 @ 0x11e6 0x1212 61 goto 70 @ 0x1217 0x1209 62 eax = [rbp - 0x20 {var_28}].d 0x120c 63 eax = eax + 1 0x120f 64 [rbp - 0x20 {var_28}].d = eax 0x120f 65 goto 61 @ 0x1212 0x11f6 66 eax = [rbp - 0x1c {var_24}].d 0x11f9 67 eax = eax + 1 0x11fc 68 [rbp - 0x1c {var_24}].d = eax 0x11fc 69 goto 55 @ 0x1203 0x1217 70 eax = [rbp - 0xc {var_14}].d 0x121a 71 eax = eax + 1 0x121d 72 [rbp - 0xc {var_14}].d = eax 0x1220 73 goto 14 @ 0x1194 int64_t _fini(): 0x12a8 0 rsp = rsp - 8 0x12ac 1 rsp = rsp + 8 0x12b0 2 <return> jump(pop)
POJ_99
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVAUATSH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0xfc8 0x1181 7 rdi = rsp + 0x20 {var_fd8} 0x1186 8 r14d = 0 0x1189 9 edx = 0x190 {""} 0x118e 10 esi = 0 0x1190 11 call(0x1040) 0x1195 12 rdi = 0x2013 {"%d"} 0x119c 13 rsi = rsp + 0x14 {var_fe4} 0x11a1 14 eax = 0 0x11a3 15 call(0x1050) 0x11a8 16 eax = [rsp + 0x14 {var_fe4}].d 0x11ae 17 if (eax s<= 0) then 18 @ 0x1291 else 19 @ 0x11b4 0x1291 18 if (eax s<= 0) then 22 @ 0x12be else 25 @ 0x1293 0x11b4 19 rbx = rsp + 0x1c4 {var_e34} 0x11bc 20 r15d = 0 0x11bf 21 goto 30 @ 0x11e6 0x12be 22 eax = 0 0x12c0 23 ebx = 0 0x12c0 24 goto 45 @ 0x12c2 0x1293 25 eax = eax 0x1295 26 ecx = 0 0x1297 27 ebx = 0 0x1299 28 r14d = 0 0x129c 29 goto 66 @ 0x12a0 0x11e6 30 rsi = rbx - 0x14 0x11ea 31 r13 = rbx + 4 0x11ee 32 r8 = rbx + 8 0x11f2 33 rbp = rbx + 9 0x11f6 34 r12 = rbx + 0xc 0x11fa 35 [rsp {var_ff8}].q = r12 0x11fe 36 rdi = 0x2004 {"%s %d %d %c %c %d"} 0x1205 37 rdx = rbx 0x1208 38 rcx = r13 0x120b 39 [rsp + 0x18 {var_fe0_1}].q = r8 0x1210 40 r9 = rbp 0x1213 41 eax = 0 0x1215 42 call(0x1050) 0x121a 43 eax = [rbx].d 0x121f 44 if (eax s< 0x51) then 69 @ 0x1234 else 70 @ 0x1226 0x12c2 45 rax = rax + (rax << 3) 0x12c6 46 rdi = rsp + (rax << 2) 0x12ca 47 rdi = rdi + 0x1b0 0x12d1 48 call(0x1060) 0x12d6 49 rdi = 0x2016 {"%d\n"} 0x12dd 50 esi = r14d 0x12e0 51 eax = 0 0x12e2 52 call(0x1030) 0x12e7 53 rdi = 0x2013 {"%d"} 0x12ee 54 esi = ebx 0x12f0 55 eax = 0 0x12f2 56 call(0x1030) 0x12f7 57 eax = 0 0x12f9 58 rsp = rsp + 0xfc8 0x1300 59 rbx = pop 0x1301 60 r12 = pop 0x1303 61 r13 = pop 0x1305 62 r14 = pop 0x1307 63 r15 = pop 0x1309 64 rbp = pop 0x130a 65 <return> jump(pop) 0x12a0 66 esi = [rsp + (rcx << 2) + 0x20].d 0x12a4 67 cond:0 = esi s> r14d 0x12a7 68 if (esi s> r14d) then 71 else 73 @ 0x12ab 0x1234 69 if (eax s< 0x56) then 74 @ 0x1249 else 75 @ 0x123b 0x1226 70 if ([r12].d s<= 0) then 69 @ 0x1234 else 76 @ 0x1228 0x12a7 71 r14d = esi 0x12a7 72 goto 73 @ 0x12ab 0x12ab 73 if (cond:0) then 78 else 80 @ 0x12ae 0x1249 74 if (eax s< 0x5b) then 83 @ 0x1257 else 84 @ 0x124b 0x123b 75 if ([r13].d s< 0x51) then 74 @ 0x1249 else 86 @ 0x123d 0x1228 76 [rsp + (r15 << 2) + 0x20].d = [rsp + (r15 << 2) + 0x20].d + 0x1f40 0x1228 77 goto 69 @ 0x1234 0x12ab 78 edx = ecx 0x12ab 79 goto 80 @ 0x12ae 0x12ae 80 ebx = ebx + esi 0x12b0 81 rcx = rcx + 1 0x12b7 82 if (rax != rcx) then 66 @ 0x12a0 else 88 @ 0x12b9 0x1257 83 if (eax s< 0x56) then 90 @ 0x126d else 91 @ 0x125d 0x124b 84 [rsp + (r15 << 2) + 0x20].d = [rsp + (r15 << 2) + 0x20].d + 0x7d0 0x124b 85 goto 83 @ 0x1257 0x123d 86 [rsp + (r15 << 2) + 0x20].d = [rsp + (r15 << 2) + 0x20].d + 0xfa0 0x123d 87 goto 74 @ 0x1249 0x12b9 88 rax = sx.q(edx) 0x12bc 89 goto 45 @ 0x12c2 0x126d 90 if ([r13].d s< 0x51) then 92 @ 0x11d0 else 96 @ 0x1273 0x125d 91 if ([rbp].b != 0x59) then 90 @ 0x126d else 98 @ 0x125f 0x11d0 92 r15 = r15 + 1 0x11d4 93 rax = sx.q([rsp + 0x14 {var_fe4}].d) 0x11d9 94 rbx = rbx + 0x24 0x11e0 95 if (r15 s>= rax) then 18 @ 0x1291 else 30 @ 0x11e6 0x1273 96 rax = [rsp + 0x18 {var_fe0_1}].q 0x127b 97 if ([rax].b != 0x59) then 92 @ 0x11d0 else 100 @ 0x1281 0x125f 98 [rsp + (r15 << 2) + 0x20].d = [rsp + (r15 << 2) + 0x20].d + 0x3e8 0x125f 99 goto 90 @ 0x126d 0x1281 100 [rsp + (r15 << 2) + 0x20].d = [rsp + (r15 << 2) + 0x20].d + 0x352 0x128a 101 goto 92 @ 0x11d0 int64_t _fini(): 0x1310 0 rsp = rsp - 8 0x1314 1 rsp = rsp + 8 0x1318 2 <return> jump(pop)
POJ_39
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) char* gets(char* buf): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"UAWAVAUATSH"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 push(r15) 0x1183 2 push(r14) 0x1185 3 push(r13) 0x1187 4 push(r12) 0x1189 5 push(rbx) 0x118a 6 rsp = rsp - 0x3f8 0x1191 7 rdi = 0x2004 {"%d"} 0x1198 8 rsi = rsp + 0xc {var_41c} 0x119d 9 eax = 0 0x119f 10 call(0x1060) 0x11a4 11 eax = 0 0x11a6 12 call(0x1040) 0x11b0 13 if ([rsp + 0xc {var_41c}].d s<= 0) then 14 @ 0x1287 else 23 @ 0x11b6 0x1287 14 eax = 0 0x1289 15 rsp = rsp + 0x3f8 0x1290 16 rbx = pop 0x1291 17 r12 = pop 0x1293 18 r13 = pop 0x1295 19 r14 = pop 0x1297 20 r15 = pop 0x1299 21 rbp = pop 0x129a 22 <return> jump(pop) 0x11b6 23 r12 = rsp + 0x10 {var_418} 0x11bb 24 r15d = 0x2f {""} 0x11c1 25 r14 = 0x2007 {"%d\n"} 0x11c8 26 ebx = 0 0x11ca 27 goto 28 @ 0x11f0 0x11f0 28 r13d = 0 0x11f3 29 rdi = r12 {var_418} 0x11f6 30 eax = 0 0x11f8 31 call(0x1070) 0x11fd 32 bpl = [rsp + 0x10 {var_418}].b 0x1206 33 if (bpl == 0x5f) then 34 @ 0x1212 else 37 @ 0x1208 0x1212 34 rdi = r12 {var_418} 0x1215 35 call(0x1050) 0x121d 36 if (rax == 0) then 41 @ 0x11d0 else 43 @ 0x1223 0x1208 37 eax = ebp 0x120a 38 al = al & 0xdf 0x120c 39 al = al - 0x41 0x1210 40 if (al u> 0x19) then 44 @ 0x11d6 else 34 @ 0x1212 0x11d0 41 r13d = 1 0x11d0 42 goto 44 @ 0x11d6 0x1223 43 if (bpl s< 0x30) then 44 @ 0x11d6 else 50 @ 0x1225 0x11d6 44 rdi = r14 0x11d9 45 esi = r13d 0x11dc 46 eax = 0 0x11de 47 call(0x1030) 0x11e3 48 ebx = ebx + 1 0x11ea 49 if (ebx s>= [rsp + 0xc {var_41c}].d) then 14 @ 0x1287 else 28 @ 0x11f0 0x1225 50 ecx = (rbp - 0x3a).d 0x122b 51 if (cl u< 7) then 44 @ 0x11d6 else 52 @ 0x122d 0x122d 52 ecx = 1 0x123c 53 goto 54 @ 0x1244 0x1244 54 if (bpl u> 0x7a) then 44 @ 0x11d6 else 55 @ 0x1246 0x1246 55 bpl = bpl - 0x5b 0x124e 56 if (bpl u>= 6) then 57 @ 0x1261 else 58 @ 0x1250 0x1261 57 if (rax == rcx) then 41 @ 0x11d0 else 61 @ 0x1267 0x1250 58 edx = zx.d(bpl) 0x1254 59 flag:c = test_bit(r15d, edx) 0x1258 60 if (flag:c) then 44 @ 0x11d6 else 57 @ 0x1261 0x1267 61 ebp = zx.d([rsp + rcx + 0x10].b) 0x1270 62 if (bpl s< 0x30) then 44 @ 0x11d6 else 63 @ 0x1276 0x1276 63 edx = (rbp - 0x3a).d 0x1279 64 rcx = rcx + 1 0x1280 65 if (dl u>= 7) then 54 @ 0x1244 else 66 @ 0x1282 0x1282 66 goto 44 @ 0x11d6 int64_t _fini(): 0x12a0 0 rsp = rsp - 8 0x12a4 1 rsp = rsp + 8 0x12a8 2 <return> jump(pop)
POJ_58
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int64_t malloc(uint64_t bytes): 0x1050 0 <return> tailcall([0x4028].q) int32_t putchar(int32_t c): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"AWAVAUATSp"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(r15) 0x1172 1 push(r14) 0x1174 2 push(r13) 0x1176 3 push(r12) 0x1178 4 push(rbx) 0x1179 5 edi = 0x70 {""} 0x117e 6 call(0x1050) 0x1183 7 [0x4050].q = rax 0x118a 8 [0x4058].q = rax 0x1191 9 r14 = 0x2004 {"%s "} 0x1198 10 rdi = r14 0x119b 11 rsi = rax 0x119e 12 eax = 0 0x11a0 13 call(0x1040) 0x11a5 14 rsi = [0x4058].q 0x11ac 15 rsi = rsi + 0x1e 0x11b0 16 rdi = r14 0x11b3 17 eax = 0 0x11b5 18 call(0x1040) 0x11ba 19 rsi = [0x4058].q 0x11c1 20 rsi = rsi + 0x3c 0x11c5 21 r15 = 0x2008 {"%c"} 0x11cc 22 rdi = r15 0x11cf 23 eax = 0 0x11d1 24 call(0x1040) 0x11d6 25 rsi = [0x4058].q 0x11dd 26 rsi = rsi + 0x40 0x11e1 27 r12 = 0x200c {"%d"} 0x11e8 28 rdi = r12 0x11eb 29 eax = 0 0x11ed 30 call(0x1040) 0x11f2 31 rsi = [0x4058].q 0x11f9 32 rsi = rsi + 0x44 0x11fd 33 r13 = 0x2010 {"%g"} 0x1204 34 rdi = r13 0x1207 35 eax = 0 0x1209 36 call(0x1040) 0x120e 37 rsi = [0x4058].q 0x1215 38 rsi = rsi + 0x48 0x1219 39 rbx = 0x2014 {"%s"} 0x1220 40 rdi = rbx 0x1223 41 eax = 0 0x1225 42 call(0x1040) 0x122a 43 rax = [0x4058].q 0x1231 44 [0x4060].q = rax 0x1238 45 [rax + 0x68].q = 0 0x1240 46 goto 47 @ 0x12c0 0x12c0 47 edi = 0x70 {""} 0x12c5 48 call(0x1050) 0x12ca 49 [0x4058].q = rax 0x12d1 50 rcx = [0x4050].q 0x12d8 51 [rcx + 0x68].q = rax 0x12dc 52 rdi = rbx 0x12df 53 rsi = rax 0x12e2 54 eax = 0 0x12e4 55 call(0x1040) 0x12e9 56 rsi = [0x4058].q 0x12f3 57 if ([rsi].b != 0x65) then 58 @ 0x1250 else 85 @ 0x12fd 0x1250 58 rsi = rsi + 0x1e 0x1254 59 rdi = r14 0x1257 60 eax = 0 0x1259 61 call(0x1040) 0x125e 62 rsi = [0x4058].q 0x1265 63 rsi = rsi + 0x3c 0x1269 64 rdi = r15 0x126c 65 eax = 0 0x126e 66 call(0x1040) 0x1273 67 rsi = [0x4058].q 0x127a 68 rsi = rsi + 0x40 0x127e 69 rdi = r12 0x1281 70 eax = 0 0x1283 71 call(0x1040) 0x1288 72 rsi = [0x4058].q 0x128f 73 rsi = rsi + 0x44 0x1293 74 rdi = r13 0x1296 75 eax = 0 0x1298 76 call(0x1040) 0x129d 77 rsi = [0x4058].q 0x12a4 78 rsi = rsi + 0x48 0x12a8 79 rdi = rbx 0x12ab 80 eax = 0 0x12ad 81 call(0x1040) 0x12b2 82 rax = [0x4058].q 0x12b9 83 [0x4050].q = rax 0x12b9 84 goto 47 @ 0x12c0 0x12fd 85 if ([rsi + 1].b != 0x6e) then 58 @ 0x1250 else 86 @ 0x1307 0x1307 86 if ([rsi + 2].b != 0x64) then 58 @ 0x1250 else 87 @ 0x130d 0x130d 87 rax = [0x4050].q 0x1314 88 [rax + 0x68].q = 0 0x131c 89 rdi = [0x4060].q 0x1323 90 call(0x1340) 0x1328 91 eax = 0 0x132a 92 rbx = pop 0x132b 93 r12 = pop 0x132d 94 r13 = pop 0x132f 95 r14 = pop 0x1331 96 r15 = pop 0x1333 97 <return> jump(pop) int64_t result(void* arg1): 0x1340 0 push(r14) 0x1342 1 push(rbx) 0x1343 2 push(rax) 0x1344 3 rbx = rdi 0x1347 4 rdi = [rdi + 0x68].q 0x134e 5 if (rdi == 0) then 6 @ 0x13bf else 34 @ 0x1350 0x13bf 6 r14 = 0x2004 {"%s "} 0x13c6 7 rdi = r14 0x13c9 8 rsi = rbx 0x13cc 9 eax = 0 0x13ce 10 call(0x1030) 0x13d3 11 rsi = rbx + 0x1e 0x13d7 12 rdi = r14 0x13da 13 eax = 0 0x13dc 14 call(0x1030) 0x13e1 15 edi = sx.d([rbx + 0x3c].b) 0x13e5 16 call(0x1060) 0x13ea 17 esi = [rbx + 0x40].d 0x13ed 18 rdi = 0x200b {" %d"} 0x13f4 19 eax = 0 0x13f6 20 call(0x1030) 0x13fb 21 xmm0 = [rbx + 0x44].d 0x1400 22 xmm0.q = fconvert.d(xmm0.d) 0x1404 23 rdi = 0x200f {" %g"} 0x140b 24 al = 1 0x140d 25 call(0x1030) 0x1412 26 rbx = rbx + 0x48 0x1416 27 rdi = 0x2013 {" %s"} 0x141d 28 rsi = rbx 0x1420 29 eax = 0 0x1422 30 call(0x1030) 0x1427 31 edi = 0xa {""} 0x142c 32 call(0x1060) 0x142c 33 goto 61 @ 0x1431 0x1350 34 call(0x1340) 0x1355 35 r14 = 0x2004 {"%s "} 0x135c 36 rdi = r14 0x135f 37 rsi = rbx 0x1362 38 eax = 0 0x1364 39 call(0x1030) 0x1369 40 rsi = rbx + 0x1e 0x136d 41 rdi = r14 0x1370 42 eax = 0 0x1372 43 call(0x1030) 0x1377 44 edi = sx.d([rbx + 0x3c].b) 0x137b 45 call(0x1060) 0x1380 46 esi = [rbx + 0x40].d 0x1383 47 rdi = 0x200b {" %d"} 0x138a 48 eax = 0 0x138c 49 call(0x1030) 0x1391 50 xmm0 = [rbx + 0x44].d 0x1396 51 xmm0.q = fconvert.d(xmm0.d) 0x139a 52 rdi = 0x200f {" %g"} 0x13a1 53 al = 1 0x13a3 54 call(0x1030) 0x13a8 55 rbx = rbx + 0x48 0x13ac 56 rdi = 0x2013 {" %s"} 0x13b3 57 rsi = rbx 0x13b6 58 eax = 0 0x13b8 59 call(0x1030) 0x13bd 60 goto 61 @ 0x1431 0x1431 61 edi = 0xa {""} 0x1436 62 call(0x1060) 0x143b 63 rsp = rsp + 8 0x143f 64 rbx = pop 0x1440 65 r14 = pop 0x1442 66 <return> jump(pop) int64_t _fini(): 0x1448 0 rsp = rsp - 8 0x144c 1 rsp = rsp + 8 0x1450 2 <return> jump(pop)
POJ_31
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x180 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = rbp - 0x70 {var_78} 0x1176 5 al = 0 0x1178 6 call(0x1050) 0x117d 7 rdi = rbp - 0xe0 {var_e8} 0x1184 8 al = 0 0x1186 9 call(0x1050) 0x118b 10 rdi = rbp - 0x150 {var_158} 0x1192 11 al = 0 0x1194 12 call(0x1050) 0x1199 13 [rbp - 0x154 {var_15c}].d = 0 0x1199 14 goto 15 @ 0x11a3 0x11a3 15 rax = sx.q([rbp - 0x154 {var_15c}].d) 0x11aa 16 [rbp - 0x168 {var_170_1}].q = rax 0x11b1 17 rdi = rbp - 0x70 {var_78} 0x11b5 18 call(0x1040) 0x11ba 19 rcx = rax 0x11bd 20 rax = [rbp - 0x168 {var_170_1}].q 0x11c7 21 if (rax u>= rcx) then 22 @ 0x12ab else 26 @ 0x11cd 0x12ab 22 eax = [rbp - 0x158 {var_160}].d 0x12b1 23 ecx = [rbp - 0x154 {var_15c}].d 0x12b7 24 ecx = ecx - 1 0x12bc 25 if (eax == ecx) then 30 @ 0x138a else 35 @ 0x12c2 0x11cd 26 [rbp - 0x15c {var_164_1}].d = 0 0x11d7 27 eax = [rbp - 0x154 {var_15c}].d 0x11dd 28 [rbp - 0x158 {var_160}].d = eax 0x11dd 29 goto 37 @ 0x11e3 0x138a 30 rsi = rbp - 0x70 {var_78} 0x138e 31 rdi = 0x2007 {"%s"} 0x1395 32 al = 0 0x1397 33 call(0x1030) 0x1397 34 goto 42 @ 0x139c 0x12c2 35 [rbp - 0x160 {var_168_1}].d = 0 0x12c2 36 goto 46 @ 0x12cc 0x11e3 37 rax = sx.q([rbp - 0x158 {var_160}].d) 0x11ea 38 eax = sx.d([rbp + rax - 0x70].b) 0x11ef 39 rcx = sx.q([rbp - 0x15c {var_164_1}].d) 0x11f6 40 ecx = sx.d([rbp + rcx - 0xe0].b) 0x1200 41 if (eax != ecx) then 48 @ 0x1260 else 55 @ 0x1206 0x139c 42 eax = 0 0x139e 43 rsp = rsp + 0x180 0x13a5 44 rbp = pop 0x13a6 45 <return> jump(pop) 0x12cc 46 eax = [rbp - 0x160 {var_168_1}].d 0x12d8 47 if (eax s>= [rbp - 0x154 {var_15c}].d) then 62 @ 0x130c else 69 @ 0x12de 0x1260 48 rax = sx.q([rbp - 0x15c {var_164_1}].d) 0x1267 49 [rbp - 0x178 {var_180_1}].q = rax 0x126e 50 rdi = rbp - 0xe0 {var_e8} 0x1275 51 call(0x1040) 0x127a 52 rcx = rax 0x127d 53 rax = [rbp - 0x178 {var_180_1}].q 0x1287 54 if (rax != rcx) then 78 @ 0x1292 else 79 @ 0x128d 0x1206 55 rax = sx.q([rbp - 0x15c {var_164_1}].d) 0x120d 56 [rbp - 0x170 {var_178_1}].q = rax 0x1214 57 rdi = rbp - 0xe0 {var_e8} 0x121b 58 call(0x1040) 0x1220 59 rcx = rax 0x1223 60 rax = [rbp - 0x170 {var_178_1}].q 0x122d 61 if (rax != rcx) then 80 @ 0x1238 else 81 @ 0x1233 0x130c 62 rsi = rbp - 0x150 {var_158} 0x1313 63 rdi = 0x2007 {"%s"} 0x131a 64 al = 0 0x131c 65 call(0x1030) 0x1321 66 eax = [rbp - 0x158 {var_160}].d 0x1327 67 [rbp - 0x160 {var_168_2}].d = eax 0x1327 68 goto 82 @ 0x132d 0x12de 69 rax = sx.q([rbp - 0x160 {var_168_1}].d) 0x12e5 70 esi = sx.d([rbp + rax - 0x70].b) 0x12ea 71 rdi = 0x2004 {"%c"} 0x12f1 72 al = 0 0x12f3 73 call(0x1030) 0x12f8 74 eax = [rbp - 0x160 {var_168_1}].d 0x12fe 75 eax = eax + 1 0x1301 76 [rbp - 0x160 {var_168_1}].d = eax 0x1307 77 goto 46 @ 0x12cc 0x1292 78 goto 89 @ 0x1297 0x128d 79 goto 22 @ 0x12ab 0x1238 80 goto 93 @ 0x123d 0x1233 81 goto 48 @ 0x1260 0x132d 82 rax = sx.q([rbp - 0x160 {var_168_2}].d) 0x1334 83 [rbp - 0x180 {var_188_1}].q = rax 0x133b 84 rdi = rbp - 0x70 {var_78} 0x133f 85 call(0x1040) 0x1344 86 rcx = rax 0x1347 87 rax = [rbp - 0x180 {var_188_1}].q 0x1351 88 if (rax u>= rcx) then 100 @ 0x1385 else 101 @ 0x1357 0x1297 89 eax = [rbp - 0x154 {var_15c}].d 0x129d 90 eax = eax + 1 0x12a0 91 [rbp - 0x154 {var_15c}].d = eax 0x12a6 92 goto 15 @ 0x11a3 0x123d 93 eax = [rbp - 0x158 {var_160}].d 0x1243 94 eax = eax + 1 0x1246 95 [rbp - 0x158 {var_160}].d = eax 0x124c 96 eax = [rbp - 0x15c {var_164_1}].d 0x1252 97 eax = eax + 1 0x1255 98 [rbp - 0x15c {var_164_1}].d = eax 0x125b 99 goto 37 @ 0x11e3 0x1385 100 goto 42 @ 0x139c 0x1357 101 rax = sx.q([rbp - 0x160 {var_168_2}].d) 0x135e 102 esi = sx.d([rbp + rax - 0x70].b) 0x1363 103 rdi = 0x2004 {"%c"} 0x136a 104 al = 0 0x136c 105 call(0x1030) 0x1371 106 eax = [rbp - 0x160 {var_168_2}].d 0x1377 107 eax = eax + 1 0x137a 108 [rbp - 0x160 {var_168_2}].d = eax 0x1380 109 goto 82 @ 0x132d int64_t _fini(): 0x13ac 0 rsp = rsp - 8 0x13b0 1 rsp = rsp + 8 0x13b4 2 <return> jump(pop)
POJ_7
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1240 {"SHH= "} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) uint64_t div(int32_t arg1): 0x1150 0 eax = edi 0x1152 1 eax = eax u>> 0x1f 0x1155 2 eax = eax + edi 0x1157 3 eax = eax & 0xfffffffe 0x115a 4 ecx = edi 0x115c 5 ecx = ecx - eax 0x115e 6 eax = 0 0x1163 7 al = ecx == 1 0x1166 8 edi = edi - eax 0x1168 9 eax = edi 0x116a 10 eax = eax u>> 0x1f 0x116d 11 eax = eax + edi 0x116f 12 eax = eax s>> 1 0x1171 13 <return> jump(pop) uint64_t compare(int32_t arg1, int32_t arg2, int64_t arg3, int64_t arg4, int32_t arg5): 0x1180 0 ecx = 0 0x1180 1 goto 2 @ 0x1182 0x1182 2 eax = r8d 0x1185 3 r9d = ecx 0x1188 4 goto 5 @ 0x1190 0x1190 5 r8d = eax 0x1193 6 eax = edi 0x1197 7 if (edi s<= esi) then 8 @ 0x11d2 else 9 @ 0x1199 0x11d2 8 if (eax s>= esi) then 27 @ 0x1230 else 28 @ 0x11d4 0x1199 9 ecx = eax 0x119b 10 ecx = ecx u>> 0x1f 0x119e 11 ecx = ecx + eax 0x11a0 12 ecx = ecx & 0xfffffffe 0x11a3 13 edi = eax 0x11a5 14 edi = edi - ecx 0x11a7 15 ecx = 0 0x11ac 16 cl = edi == 1 0x11af 17 edx = eax 0x11b1 18 edx = edx - ecx 0x11b3 19 edi = edx 0x11b5 20 edi = edi u>> 0x1f 0x11b8 21 edi = edi + edx 0x11ba 22 edi = edi s>> 1 0x11bc 23 cl = 1 0x11be 24 cond:0 = (r9b & 1) == 0 0x11c2 25 r9b = 1 0x11c5 26 if (cond:0) then 5 @ 0x1190 else 42 @ 0x11c7 0x1230 27 if ((r9b & 1) != 0) then 43 else 45 @ 0x1234 0x11d4 28 ecx = esi 0x11d6 29 ecx = ecx u>> 0x1f 0x11d9 30 ecx = ecx + esi 0x11db 31 ecx = ecx & 0xfffffffe 0x11de 32 edx = esi 0x11e0 33 edx = edx - ecx 0x11e2 34 ecx = 0 0x11e7 35 cl = edx == 1 0x11ea 36 esi = esi - ecx 0x11ec 37 ecx = esi 0x11ee 38 ecx = ecx u>> 0x1f 0x11f1 39 esi = esi + ecx 0x11f3 40 esi = esi s>> 1 0x11f9 41 if ((r9b & 1) == 0) then 46 else 48 @ 0x11fd 0x11c7 42 goto 2 @ 0x1182 0x1230 43 eax = r8d 0x1230 44 goto 45 @ 0x1234 0x1234 45 <return> jump(pop) 0x11f9 46 r8d = eax 0x11f9 47 goto 48 @ 0x11fd 0x11fd 48 r9b = 1 0x1202 49 if (eax s<= esi) then 8 @ 0x11d2 else 50 @ 0x1204 0x1204 50 ecx = eax 0x1206 51 ecx = ecx u>> 0x1f 0x1209 52 ecx = ecx + eax 0x120b 53 ecx = ecx & 0xfffffffe 0x120e 54 edx = eax 0x1210 55 edx = edx - ecx 0x1212 56 ecx = 0 0x1217 57 cl = edx == 1 0x121a 58 eax = eax - ecx 0x121c 59 edi = eax 0x121e 60 edi = edi u>> 0x1f 0x1221 61 edi = edi + eax 0x1223 62 edi = edi s>> 1 0x1225 63 cl = 1 0x1227 64 goto 2 @ 0x1182 int32_t main(int32_t argc, char** argv, char** envp): 0x1240 0 push(rbx) 0x1241 1 rsp = rsp - 0x10 0x1245 2 rdi = 0x2004 {"%d%d"} 0x124c 3 ebx = 0 0x124e 4 rsi = rsp + 8 {var_10} 0x1253 5 rdx = rsp + 0xc {var_c} 0x1258 6 eax = 0 0x125a 7 call(0x1040) 0x125f 8 edi = [rsp + 8 {var_10}].d 0x1263 9 eax = [rsp + 0xc {var_c}].d 0x1263 10 goto 11 @ 0x1267 0x1267 11 esi = ecx 0x1269 12 edx = ebx 0x126b 13 goto 14 @ 0x1270 0x1270 14 ecx = esi 0x1272 15 esi = edi 0x1276 16 if (edi s<= eax) then 17 @ 0x12b2 else 18 @ 0x1278 0x12b2 17 if (esi s>= eax) then 36 @ 0x130d else 37 @ 0x12b4 0x1278 18 edi = esi 0x127a 19 edi = edi u>> 0x1f 0x127d 20 edi = edi + esi 0x127f 21 edi = edi & 0xfffffffe 0x1282 22 ebx = esi 0x1284 23 ebx = ebx - edi 0x1286 24 edi = 0 0x128b 25 dil = ebx == 1 0x128f 26 ebx = esi 0x1291 27 ebx = ebx - edi 0x1293 28 edi = ebx 0x1295 29 edi = edi u>> 0x1f 0x1298 30 edi = edi + ebx 0x129a 31 edi = edi s>> 1 0x129c 32 bl = 1 0x129e 33 cond:0 = (dl & 1) == 0 0x12a1 34 dl = 1 0x12a3 35 if (cond:0) then 14 @ 0x1270 else 51 @ 0x12a5 0x130d 36 if ((dl & 1) != 0) then 52 else 54 @ 0x1310 0x12b4 37 edi = eax 0x12b6 38 edi = edi u>> 0x1f 0x12b9 39 edi = edi + eax 0x12bb 40 edi = edi & 0xfffffffe 0x12be 41 ebx = eax 0x12c0 42 ebx = ebx - edi 0x12c2 43 edi = 0 0x12c7 44 dil = ebx == 1 0x12cb 45 eax = eax - edi 0x12cd 46 edi = eax 0x12cf 47 edi = edi u>> 0x1f 0x12d2 48 eax = eax + edi 0x12d4 49 eax = eax s>> 1 0x12d9 50 if ((dl & 1) == 0) then 61 else 63 @ 0x12dc 0x12a5 51 goto 11 @ 0x1267 0x130d 52 esi = ecx 0x130d 53 goto 54 @ 0x1310 0x1310 54 [rsp + 8 {var_10}].d = esi 0x1314 55 rdi = 0x2006 {"%d"} 0x131b 56 eax = 0 0x131d 57 call(0x1030) 0x1322 58 rsp = rsp + 0x10 0x1326 59 rbx = pop 0x1327 60 <return> jump(pop) 0x12d9 61 ecx = esi 0x12d9 62 goto 63 @ 0x12dc 0x12dc 63 dl = 1 0x12e0 64 if (esi s<= eax) then 17 @ 0x12b2 else 65 @ 0x12e2 0x12e2 65 edx = esi 0x12e4 66 edx = edx u>> 0x1f 0x12e7 67 edx = edx + esi 0x12e9 68 edx = edx & 0xfffffffe 0x12ec 69 edi = esi 0x12ee 70 edi = edi - edx 0x12f0 71 edx = 0 0x12f5 72 dl = edi == 1 0x12f8 73 esi = esi - edx 0x12fa 74 edi = esi 0x12fc 75 edi = edi u>> 0x1f 0x12ff 76 edi = edi + esi 0x1301 77 edi = edi s>> 1 0x1303 78 bl = 1 0x1305 79 goto 11 @ 0x1267 int64_t _fini(): 0x132c 0 rsp = rsp - 8 0x1330 1 rsp = rsp + 8 0x1334 2 <return> jump(pop)
POJ_104
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) char* gets(char* buf): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0x1790 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 [rbp - 0x14 {var_1c}].d = 0 0x1189 5 rdi = rbp - 0x400 {var_408} 0x1190 6 al = 0 0x1192 7 call(0x1060) 0x1197 8 rdi = rbp - 0x400 {var_408} 0x119e 9 call(0x1050) 0x11a3 10 [rbp - 0x10 {var_18}].d = eax 0x11a6 11 al = [rbp - 0x400 {var_408}].b 0x11ac 12 [rbp - 0x7f0 {var_7f8}].b = al 0x11b2 13 [rbp - 0x1790 {var_1798}].d = 1 0x11bc 14 [rbp - 8 {var_10}].d = 1 0x11bc 15 goto 16 @ 0x11c3 0x11c3 16 eax = [rbp - 8 {var_10}].d 0x11c9 17 if (eax s>= [rbp - 0x10 {var_18}].d) then 18 @ 0x12ff else 20 @ 0x11cf 0x12ff 18 [rbp - 0xc {var_14}].d = 0 0x12ff 19 goto 27 @ 0x1306 0x11cf 20 rax = sx.q([rbp - 8 {var_10}].d) 0x11d3 21 eax = sx.d([rbp + rax - 0x400].b) 0x11db 22 ecx = [rbp - 8 {var_10}].d 0x11de 23 ecx = ecx - 1 0x11e1 24 rcx = sx.q(ecx) 0x11e4 25 ecx = sx.d([rbp + rcx - 0x400].b) 0x11ee 26 if (eax == ecx) then 29 @ 0x1243 else 32 @ 0x11f4 0x1306 27 eax = [rbp - 0xc {var_14}].d 0x130c 28 if (eax s> [rbp - 0x14 {var_1c}].d) then 40 @ 0x138c else 48 @ 0x1312 0x1243 29 rax = sx.q([rbp - 8 {var_10}].d) 0x1247 30 eax = sx.d([rbp + rax - 0x400].b) 0x1252 31 if (eax s>= 0x5b) then 51 @ 0x1273 else 58 @ 0x1258 0x11f4 32 rax = sx.q([rbp - 8 {var_10}].d) 0x11f8 33 eax = sx.d([rbp + rax - 0x400].b) 0x1200 34 ecx = [rbp - 8 {var_10}].d 0x1203 35 ecx = ecx - 1 0x1206 36 rcx = sx.q(ecx) 0x1209 37 ecx = sx.d([rbp + rcx - 0x400].b) 0x1211 38 eax = eax - ecx 0x1216 39 if (eax == 0x20) then 29 @ 0x1243 else 63 @ 0x121c 0x138c 40 al = 0 0x138e 41 call(0x1040) 0x1393 42 al = 0 0x1395 43 call(0x1040) 0x139a 44 eax = [rbp - 4 {var_c}].d 0x139d 45 rsp = rsp + 0x1790 0x13a4 46 rbp = pop 0x13a5 47 <return> jump(pop) 0x1312 48 rax = sx.q([rbp - 0xc {var_14}].d) 0x1316 49 eax = sx.d([rbp + rax - 0x7f0].b) 0x1321 50 if (eax s>= 0x5b) then 71 @ 0x1351 else 80 @ 0x1327 0x1273 51 rax = sx.q([rbp - 8 {var_10}].d) 0x1277 52 eax = sx.d([rbp + rax - 0x400].b) 0x127f 53 eax = eax - 0x20 0x1282 54 cl = al 0x1284 55 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x1288 56 [rbp + rax - 0x7f0].b = cl 0x1288 57 goto 88 @ 0x128f 0x1258 58 rax = sx.q([rbp - 8 {var_10}].d) 0x125c 59 cl = [rbp + rax - 0x400].b 0x1263 60 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x1267 61 [rbp + rax - 0x7f0].b = cl 0x126e 62 goto 88 @ 0x128f 0x121c 63 eax = [rbp - 8 {var_10}].d 0x121f 64 eax = eax - 1 0x1222 65 rax = sx.q(eax) 0x1224 66 eax = sx.d([rbp + rax - 0x400].b) 0x122c 67 rcx = sx.q([rbp - 8 {var_10}].d) 0x1230 68 ecx = sx.d([rbp + rcx - 0x400].b) 0x1238 69 eax = eax - ecx 0x123d 70 if (eax != 0x20) then 93 @ 0x12a9 else 29 @ 0x1243 0x1351 71 rax = sx.q([rbp - 0xc {var_14}].d) 0x1355 72 esi = sx.d([rbp + rax - 0x7f0].b) 0x135d 73 esi = esi - 0x20 0x1360 74 rax = sx.q([rbp - 0xc {var_14}].d) 0x1364 75 edx = [rbp + (rax << 2) - 0x1790].d 0x136b 76 rdi = 0x2004 {"(%c,%d)"} 0x1372 77 al = 0 0x1374 78 call(0x1030) 0x1374 79 goto 107 @ 0x1379 0x1327 80 rax = sx.q([rbp - 0xc {var_14}].d) 0x132b 81 esi = sx.d([rbp + rax - 0x7f0].b) 0x1333 82 rax = sx.q([rbp - 0xc {var_14}].d) 0x1337 83 edx = [rbp + (rax << 2) - 0x1790].d 0x133e 84 rdi = 0x2004 {"(%c,%d)"} 0x1345 85 al = 0 0x1347 86 call(0x1030) 0x134c 87 goto 107 @ 0x1379 0x128f 88 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x1293 89 ecx = [rbp + (rax << 2) - 0x1790].d 0x129a 90 ecx = ecx + 1 0x129d 91 [rbp + (rax << 2) - 0x1790].d = ecx 0x12a4 92 goto 108 @ 0x12ec 0x12a9 93 eax = [rbp - 0x14 {var_1c}].d 0x12ac 94 eax = eax + 1 0x12af 95 [rbp - 0x14 {var_1c}].d = eax 0x12b2 96 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x12b6 97 [rbp + (rax << 2) - 0x1790].d = 0 0x12c1 98 rax = sx.q([rbp - 8 {var_10}].d) 0x12c5 99 cl = [rbp + rax - 0x400].b 0x12cc 100 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x12d0 101 [rbp + rax - 0x7f0].b = cl 0x12d7 102 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x12db 103 ecx = [rbp + (rax << 2) - 0x1790].d 0x12e2 104 ecx = ecx + 1 0x12e5 105 [rbp + (rax << 2) - 0x1790].d = ecx 0x12e5 106 goto 108 @ 0x12ec 0x1379 107 goto 109 @ 0x137e 0x12ec 108 goto 113 @ 0x12f1 0x137e 109 eax = [rbp - 0xc {var_14}].d 0x1381 110 eax = eax + 1 0x1384 111 [rbp - 0xc {var_14}].d = eax 0x1387 112 goto 27 @ 0x1306 0x12f1 113 eax = [rbp - 8 {var_10}].d 0x12f4 114 eax = eax + 1 0x12f7 115 [rbp - 8 {var_10}].d = eax 0x12fa 116 goto 16 @ 0x11c3 int64_t _fini(): 0x13ac 0 rsp = rsp - 8 0x13b0 1 rsp = rsp + 8 0x13b4 2 <return> jump(pop)
POJ_103
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AVSHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r14) 0x1152 1 push(rbx) 0x1153 2 rsp = rsp - 0x18 0x1157 3 rdi = 0x2110 {"%d%d%d"} 0x115e 4 r14d = 0 0x1161 5 rsi = rsp + 0xc {var_1c} 0x1166 6 rdx = rsp + 0x14 {var_14} 0x116b 7 rcx = rsp + 0x10 {var_18} 0x1170 8 eax = 0 0x1172 9 call(0x1040) 0x1177 10 rax = sx.q([rsp + 0xc {var_1c}].d) 0x117c 11 rcx = rax * 0x51eb851f 0x1183 12 rdx = rcx 0x1186 13 rdx = rdx u>> 0x3f 0x118a 14 rcx = rcx s>> 0x27 0x118e 15 ecx = ecx + edx 0x1190 16 ecx = ecx * 0x190 0x1196 17 temp0.d = eax 0x1196 18 eax = eax - ecx 0x1196 19 cond:0 = temp0.d != ecx 0x1198 20 r8d = 5 0x119e 21 if (cond:0) then 22 else 24 @ 0x11a2 0x119e 22 r8d = eax 0x119e 23 goto 24 @ 0x11a2 0x11a2 24 [rsp + 0xc {var_1c}].d = r8d 0x11a7 25 edi = 0 0x11b0 26 if (r8d s< 2) then 27 @ 0x13b6 else 30 @ 0x11b6 0x13b6 27 esi = (rdi + (r14 << 1)).d 0x13ba 28 r9d = [rsp + 0x14 {var_14}].d 0x13c3 29 if (r9d s< 2) then 32 @ 0x1566 else 34 @ 0x13c9 0x11b6 30 edx = (r8 - 1).d 0x11bd 31 if (edx u>= 8) then 36 @ 0x11ce else 51 @ 0x11bf 0x1566 32 edx = esi 0x1566 33 goto 55 @ 0x1568 0x13c9 34 edx = (rsi + 0x1f).d 0x13d0 35 if ((r8b & 3) != 0) then 68 @ 0x155b else 69 @ 0x13d6 0x11ce 36 esi = edx 0x11d0 37 esi = esi & 0xfffffff8 0x11d3 38 eax = (rsi + 1).d 0x11d6 39 xmm12 = [0x2010].o 0x11df 40 xmm11 = [0x2030].o 0x11e8 41 xmm15 = [0x2040].o 0x11f1 42 xmm13 = [0x2050].o 0x11fa 43 xmm14 = [0x2070].o 0x1203 44 xmm3 = _mm_cmpeq_epi32(xmm3, xmm3) 0x1207 45 edi = esi 0x1209 46 xmm1 = 0 0x120d 47 xmm0 = 0 0x1211 48 xmm7 = 0 0x1215 49 xmm5 = 0 0x1219 50 goto 79 @ 0x1220 0x11bf 51 eax = 1 0x11c4 52 edi = 0 0x11c6 53 r14d = 0 0x11c9 54 goto 133 @ 0x1370 0x1568 55 edx = edx + [rsp + 0x10 {var_18}].d 0x156c 56 rcx = sx.q(edx) 0x156f 57 rax = rcx * -0x6db6db6d 0x1576 58 rax = rax u>> 0x20 0x157a 59 eax = eax + ecx 0x157c 60 edx = eax 0x157e 61 edx = edx u>> 0x1f 0x1581 62 eax = eax s>> 2 0x1584 63 eax = eax + edx 0x1586 64 edx = (rax << 3).d 0x158d 65 eax = eax - edx 0x158f 66 eax = eax + ecx 0x1594 67 if (eax u> 6) then 152 @ 0x15ad else 156 @ 0x1596 0x155b 68 if (r9d == 2) then 55 @ 0x1568 else 163 @ 0x155d 0x13d6 69 rcx = sx.q(r8d) 0x13d9 70 rcx = rcx * 0x51eb851f 0x13e0 71 rdi = rcx 0x13e3 72 rdi = rdi u>> 0x3f 0x13e7 73 rcx = rcx s>> 0x25 0x13eb 74 ecx = ecx + edi 0x13ed 75 ecx = ecx * 0x64 0x13f0 76 temp1.d = r8d 0x13f0 77 r8d = r8d - ecx 0x13f3 78 if (temp1.d == ecx) then 68 @ 0x155b else 165 @ 0x13fd 0x1220 79 xmm4 = xmm12 0x1225 80 xmm4 = _mm_mul_epu32(xmm4, xmm11) 0x122a 81 xmm6 = _mm_shuffle_epi32(xmm4, 0xe8) 0x122f 82 xmm4 = _mm_shuffle_epi32(xmm12, 0xf5) 0x1235 83 xmm4 = _mm_mul_epu32(xmm4, xmm11) 0x123a 84 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x123f 85 xmm6 = _mm_unpacklo_epi32(xmm6, xmm4.q) 0x1243 86 xmm4 = xmm6 0x1247 87 xmm4 = _mm_srli_epi32(xmm4, 2) 0x124c 88 xmm9 = xmm6 0x1251 89 xmm9 = _mm_slli_epi32(xmm9, 0x1e) 0x1257 90 xmm9 = xmm9 | xmm4 0x125c 91 xmm4 = xmm6 0x1260 92 xmm4 = __paddd_xmmdq_memdq(xmm4, [0x2060].o) 0x1268 93 xmm10 = xmm4 0x126d 94 xmm10 = _mm_srli_epi32(xmm10, 2) 0x1273 95 xmm8 = xmm4 0x1278 96 xmm8 = _mm_slli_epi32(xmm8, 0x1e) 0x127e 97 xmm8 = xmm8 | xmm10 0x1283 98 xmm2 = xmm12 0x1288 99 xmm2 = xmm2 & [0x2020].o 0x1290 100 xmm2 = __pcmpeqd_xmmdq_memdq(xmm2, [0x2100].o) 0x1298 101 xmm9 = xmm9 ^ xmm15 0x129d 102 xmm9 = _mm_cmpgt_epi32(xmm9, xmm13) 0x12a2 103 xmm8 = xmm8 ^ xmm15 0x12a7 104 xmm8 = _mm_cmpgt_epi32(xmm8, xmm13) 0x12ac 105 xmm9 = xmm9 & xmm2 0x12b1 106 xmm8 = xmm8 & xmm2 0x12b6 107 xmm2 = xmm6 0x12ba 108 xmm2 = _mm_srli_epi32(xmm2, 4) 0x12bf 109 xmm6 = _mm_slli_epi32(xmm6, 0x1c) 0x12c4 110 xmm6 = xmm6 | xmm2 0x12c8 111 xmm6 = xmm6 ^ xmm15 0x12cd 112 xmm6 = _mm_cmpgt_epi32(xmm6, xmm14) 0x12d2 113 xmm6 = xmm6 ^ xmm3 0x12d6 114 xmm6 = xmm6 | xmm9 0x12db 115 xmm2 = xmm4 0x12df 116 xmm2 = _mm_srli_epi32(xmm2, 4) 0x12e4 117 xmm4 = _mm_slli_epi32(xmm4, 0x1c) 0x12e9 118 xmm4 = xmm4 | xmm2 0x12ed 119 xmm4 = xmm4 ^ xmm15 0x12f2 120 xmm4 = _mm_cmpgt_epi32(xmm4, xmm14) 0x12f7 121 xmm4 = xmm4 ^ xmm3 0x12fb 122 xmm4 = xmm4 | xmm8 0x1300 123 xmm7 = _mm_sub_epi32(xmm7, xmm6) 0x1304 124 xmm1 = _mm_add_epi32(xmm1, xmm6) 0x1308 125 xmm5 = _mm_sub_epi32(xmm5, xmm4) 0x130c 126 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1310 127 xmm1 = _mm_sub_epi32(xmm1, xmm3) 0x1314 128 xmm0 = _mm_sub_epi32(xmm0, xmm3) 0x1318 129 xmm12 = __paddd_xmmdq_memdq(xmm12, [0x2080].o) 0x1321 130 temp2.d = edi 0x1321 131 edi = edi - 8 0x1324 132 if (temp2.d != 8) then 79 @ 0x1220 else 166 @ 0x132a 0x1370 133 edx = eax 0x1372 134 rdx = rdx * 0x51eb851f 0x1379 135 rsi = rdx 0x137c 136 rsi = rsi u>> 0x25 0x1380 137 esi = esi * 0x64 0x1383 138 rdx = rdx u>> 0x27 0x1387 139 edx = edx * 0x190 0x138f 140 cl = (al & 3) == 0 0x1394 141 bl = esi != eax 0x1397 142 bl = bl & cl 0x139b 143 cl = edx == eax 0x139e 144 cl = cl | bl 0x13a0 145 ecx = zx.d(cl) 0x13a3 146 r14d = r14d + ecx 0x13a6 147 cl = cl ^ 1 0x13a9 148 ecx = zx.d(cl) 0x13ac 149 edi = edi + ecx 0x13ae 150 eax = eax + 1 0x13b4 151 if (r8d != eax) then 133 @ 0x1370 else 27 @ 0x13b6 0x15ad 152 rsp = rsp + 0x18 0x15b1 153 rbx = pop 0x15b2 154 r14 = pop 0x15b4 155 <return> jump(pop) 0x1596 156 rax = sx.q(eax) 0x1598 157 rcx = 0x213c {";,"} 0x159f 158 rdi = sx.q([rcx + (rax << 2)].d) 0x15a3 159 rdi = rdi + rcx 0x15a6 160 eax = 0 0x15a8 161 call(0x1030) 0x15a8 162 goto 152 @ 0x15ad 0x155d 163 esi = esi + 0x3b 0x1564 164 if (r9d != 3) then 179 @ 0x15b5 else 32 @ 0x1566 0x13fd 165 if (r9d == 2) then 55 @ 0x1568 else 182 @ 0x1403 0x132a 166 xmm5 = _mm_add_epi32(xmm5, xmm7) 0x132e 167 xmm2 = _mm_shuffle_epi32(xmm5, 0xee) 0x1333 168 xmm2 = _mm_add_epi32(xmm2, xmm5) 0x1337 169 xmm3 = _mm_shuffle_epi32(xmm2, 0x55) 0x133c 170 xmm3 = _mm_add_epi32(xmm3, xmm2) 0x1340 171 r14d = xmm3.d 0x1345 172 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1349 173 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x134e 174 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1352 175 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1357 176 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x135b 177 edi = xmm0.d 0x1361 178 if (edx == esi) then 27 @ 0x13b6 else 184 @ 0x136d 0x15b5 179 edi = (r9 - 3).d 0x15b9 180 ecx = 3 0x15c1 181 if (edi u< 8) then 185 @ 0x16bf else 187 @ 0x15c7 0x1403 182 esi = esi + 0x3c 0x140a 183 if (r9d == 3) then 32 @ 0x1566 else 202 @ 0x1410 0x136d 184 goto 133 @ 0x1370 0x16bf 185 edx = esi 0x16cb 186 goto 205 @ 0x16d0 0x15c7 187 ebx = edi 0x15c9 188 ebx = ebx & 0xfffffff8 0x15cc 189 ecx = (rbx + 3).d 0x15cf 190 xmm1 = esi 0x15d3 191 xmm4 = [0x2090].o 0x15db 192 xmm0 = 0 0x15df 193 xmm8 = [0x20a0].o 0x15e8 194 xmm9 = [0x20b0].o 0x15f1 195 xmm10 = [0x20c0].o 0x15fa 196 xmm11 = [0x20d0].o 0x1603 197 xmm14 = [0x2080].o 0x160c 198 xmm12 = [0x20e0].o 0x1615 199 xmm13 = [0x20f0].o 0x161e 200 edx = ebx 0x161e 201 goto 219 @ 0x1620 0x1410 202 edi = (r9 - 3).d 0x1414 203 ecx = 3 0x141c 204 if (edi u< 8) then 248 @ 0x151b else 250 @ 0x1422 0x16d0 205 esi = ecx 0x16d2 206 esi = esi & 0x7ffffff9 0x16db 207 bl = esi == 1 0x16de 208 esi = ecx 0x16e0 209 esi = esi & 0x7ffffffd 0x16e9 210 al = esi == 8 0x16ec 211 al = al | bl 0x16f1 212 bl = ecx == 0xc 0x16f4 213 bl = bl | al 0x16f6 214 eax = zx.d(bl) 0x16f9 215 edx = edx + eax 0x16fb 216 edx = edx + 0x1e 0x16fe 217 ecx = ecx + 1 0x1704 218 if (r9d != ecx) then 205 @ 0x16d0 else 265 @ 0x1706 0x1620 219 xmm3 = xmm4 0x1624 220 xmm3 = _mm_add_epi32(xmm3, xmm8) 0x1629 221 xmm5 = xmm4 0x162d 222 xmm5 = xmm5 & xmm9 0x1632 223 xmm7 = xmm3 0x1636 224 xmm7 = xmm7 & xmm9 0x163b 225 xmm5 = _mm_cmpeq_epi32(xmm5, xmm10) 0x1640 226 xmm7 = _mm_cmpeq_epi32(xmm7, xmm10) 0x1645 227 xmm6 = xmm4 0x1649 228 xmm6 = xmm6 & xmm11 0x164e 229 xmm2 = xmm3 0x1652 230 xmm2 = xmm2 & xmm11 0x1657 231 xmm6 = _mm_cmpeq_epi32(xmm6, xmm14) 0x165c 232 xmm6 = xmm6 | xmm5 0x1660 233 xmm2 = _mm_cmpeq_epi32(xmm2, xmm14) 0x1665 234 xmm2 = xmm2 | xmm7 0x1669 235 xmm5 = xmm4 0x166d 236 xmm5 = _mm_cmpeq_epi32(xmm5, xmm12) 0x1672 237 xmm5 = xmm5 | xmm6 0x1676 238 xmm1 = _mm_sub_epi32(xmm1, xmm5) 0x167a 239 xmm3 = _mm_cmpeq_epi32(xmm3, xmm12) 0x167f 240 xmm3 = xmm3 | xmm2 0x1683 241 xmm0 = _mm_sub_epi32(xmm0, xmm3) 0x1687 242 xmm1 = _mm_add_epi32(xmm1, xmm13) 0x168c 243 xmm0 = _mm_add_epi32(xmm0, xmm13) 0x1691 244 xmm4 = _mm_add_epi32(xmm4, xmm14) 0x1696 245 temp3.d = edx 0x1696 246 edx = edx - 8 0x1699 247 if (temp3.d != 8) then 219 @ 0x1620 else 266 @ 0x169b 0x151b 248 edx = esi 0x151d 249 goto 274 @ 0x1520 0x1422 250 ebx = edi 0x1424 251 ebx = ebx & 0xfffffff8 0x1427 252 ecx = (rbx + 3).d 0x142a 253 xmm1 = esi 0x142e 254 xmm4 = [0x2090].o 0x1436 255 xmm0 = 0 0x143a 256 xmm8 = [0x20a0].o 0x1443 257 xmm9 = [0x20b0].o 0x144c 258 xmm10 = [0x20c0].o 0x1455 259 xmm11 = [0x20d0].o 0x145e 260 xmm14 = [0x2080].o 0x1467 261 xmm12 = [0x20e0].o 0x1470 262 xmm13 = [0x20f0].o 0x1479 263 edx = ebx 0x147b 264 goto 288 @ 0x1480 0x1706 265 goto 55 @ 0x1568 0x169b 266 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x169f 267 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x16a4 268 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x16a8 269 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x16ad 270 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x16b1 271 esi = xmm0.d 0x16b5 272 edx = esi 0x16b9 273 if (edi == ebx) then 55 @ 0x1568 else 185 @ 0x16bf 0x1520 274 eax = ecx 0x1522 275 eax = eax & 0x7ffffff9 0x152a 276 al = eax == 1 0x152d 277 esi = ecx 0x152f 278 esi = esi & 0x7ffffffd 0x1538 279 bl = esi == 8 0x153b 280 bl = bl | al 0x1540 281 al = ecx == 0xc 0x1543 282 al = al | bl 0x1545 283 eax = zx.d(al) 0x1548 284 edx = edx + eax 0x154a 285 edx = edx + 0x1e 0x154d 286 ecx = ecx + 1 0x1553 287 if (r9d != ecx) then 274 @ 0x1520 else 317 @ 0x1555 0x1480 288 xmm3 = xmm4 0x1484 289 xmm3 = _mm_add_epi32(xmm3, xmm8) 0x1489 290 xmm5 = xmm4 0x148d 291 xmm5 = xmm5 & xmm9 0x1492 292 xmm7 = xmm3 0x1496 293 xmm7 = xmm7 & xmm9 0x149b 294 xmm5 = _mm_cmpeq_epi32(xmm5, xmm10) 0x14a0 295 xmm7 = _mm_cmpeq_epi32(xmm7, xmm10) 0x14a5 296 xmm6 = xmm4 0x14a9 297 xmm6 = xmm6 & xmm11 0x14ae 298 xmm2 = xmm3 0x14b2 299 xmm2 = xmm2 & xmm11 0x14b7 300 xmm6 = _mm_cmpeq_epi32(xmm6, xmm14) 0x14bc 301 xmm6 = xmm6 | xmm5 0x14c0 302 xmm2 = _mm_cmpeq_epi32(xmm2, xmm14) 0x14c5 303 xmm2 = xmm2 | xmm7 0x14c9 304 xmm5 = xmm4 0x14cd 305 xmm5 = _mm_cmpeq_epi32(xmm5, xmm12) 0x14d2 306 xmm5 = xmm5 | xmm6 0x14d6 307 xmm1 = _mm_sub_epi32(xmm1, xmm5) 0x14da 308 xmm3 = _mm_cmpeq_epi32(xmm3, xmm12) 0x14df 309 xmm3 = xmm3 | xmm2 0x14e3 310 xmm0 = _mm_sub_epi32(xmm0, xmm3) 0x14e7 311 xmm1 = _mm_add_epi32(xmm1, xmm13) 0x14ec 312 xmm0 = _mm_add_epi32(xmm0, xmm13) 0x14f1 313 xmm4 = _mm_add_epi32(xmm4, xmm14) 0x14f6 314 temp4.d = edx 0x14f6 315 edx = edx - 8 0x14f9 316 if (temp4.d != 8) then 288 @ 0x1480 else 318 @ 0x14fb 0x1555 317 goto 55 @ 0x1568 0x14fb 318 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x14ff 319 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1504 320 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1508 321 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x150d 322 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1511 323 esi = xmm0.d 0x1515 324 edx = esi 0x1519 325 if (edi == ebx) then 55 @ 0x1568 else 248 @ 0x151b int64_t _fini(): 0x1710 0 rsp = rsp - 8 0x1714 1 rsp = rsp + 8 0x1718 2 <return> jump(pop)
POJ_66
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x4e8 0x1161 7 rdi = 0x2006 {"%d"} 0x1168 8 r15d = 0 0x116b 9 rsi = rsp + 0xc {var_50c} 0x1170 10 eax = 0 0x1172 11 call(0x1040) 0x1177 12 eax = [rsp + 0xc {var_50c}].d 0x117d 13 if (eax s<= 0) then 14 @ 0x11f4 else 16 @ 0x117f 0x11f4 14 esi = [rsp + 0x14 {var_504}].d 0x11fa 15 if (eax s<= 0) then 20 @ 0x1222 else 32 @ 0x11fc 0x117f 16 ebp = 1 0x1184 17 r14 = 0x2004 {"%d%d"} 0x118b 18 ebx = 0 0x118d 19 goto 35 @ 0x11a9 0x1222 20 rdi = 0x2009 {"%d\n"} 0x1229 21 eax = 0 0x122b 22 call(0x1030) 0x1230 23 eax = 0 0x1232 24 rsp = rsp + 0x4e8 0x1239 25 rbx = pop 0x123a 26 r12 = pop 0x123c 27 r13 = pop 0x123e 28 r14 = pop 0x1240 29 r15 = pop 0x1242 30 rbp = pop 0x1243 31 <return> jump(pop) 0x11fc 32 eax = eax + 1 0x11ff 33 ecx = 1 0x120e 34 goto 47 @ 0x1210 0x11a9 35 rsi = rsp + (rbp << 2) 0x11ad 36 rsi = rsi + 0x1b0 0x11b4 37 r12 = rsp + (rbp << 2) 0x11b8 38 r12 = r12 + 0x350 0x11bf 39 r13d = 0 0x11c2 40 rdi = r14 0x11c5 41 rdx = r12 0x11c8 42 eax = 0 0x11ca 43 call(0x1040) 0x11cf 44 eax = [rsp + (rbp << 2) + 0x1b0].d 0x11d6 45 eax = eax - 0x5a 0x11dc 46 if (eax u> 0x32) then 49 @ 0x1190 else 56 @ 0x11de 0x1210 47 edx = [rsp + (rcx << 2) + 0x10].d 0x1216 48 if (esi s< edx) then 60 else 62 @ 0x1219 0x1190 49 [rsp + (rbp << 2) + 0x10].d = r13d 0x1195 50 rcx = rbp + 1 0x1199 51 rax = sx.q([rsp + 0xc {var_50c}].d) 0x119e 52 ebx = r13d 0x11a1 53 cond:0 = rbp s>= rax 0x11a4 54 rbp = rcx 0x11a7 55 if (cond:0) then 14 @ 0x11f4 else 35 @ 0x11a9 0x11de 56 eax = [r12].d 0x11e2 57 eax = eax - 0x3c 0x11e5 58 ebx = ebx + 1 0x11eb 59 if (eax u>= 0x1f) then 64 else 66 @ 0x11ef 0x1216 60 esi = edx 0x1216 61 goto 62 @ 0x1219 0x1219 62 rcx = rcx + 1 0x1220 63 if (rax != rcx) then 47 @ 0x1210 else 20 @ 0x1222 0x11eb 64 ebx = r15d 0x11eb 65 goto 66 @ 0x11ef 0x11ef 66 r13d = ebx 0x11f2 67 goto 49 @ 0x1190 int64_t _fini(): 0x1248 0 rsp = rsp - 8 0x124c 1 rsp = rsp + 8 0x1250 2 <return> jump(pop)
POJ_82
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) double sqrt(double x): 0x1060 0 <return> tailcall([0x4030].q) int64_t malloc(uint64_t bytes): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"UAWAVAUATSH"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 push(r15) 0x1183 2 push(r14) 0x1185 3 push(r13) 0x1187 4 push(r12) 0x1189 5 push(rbx) 0x118a 6 rsp = rsp - 0x1a8 0x1191 7 rdi = 0x2010 {"%d"} 0x1198 8 rsi = rsp + 4 {var_1d4} 0x119d 9 eax = 0 0x119f 10 call(0x1050) 0x11a4 11 rdi = rsp + 0x10 {var_1c8} 0x11a9 12 edx = 0x190 {""} 0x11ae 13 esi = 0 0x11b0 14 call(0x1040) 0x11ba 15 if ([rsp + 4 {var_1d4}].d s<= 0) then 16 @ 0x12bf else 24 @ 0x11c0 0x12bf 16 rsp = rsp + 0x1a8 0x12c6 17 rbx = pop 0x12c7 18 r12 = pop 0x12c9 19 r13 = pop 0x12cb 20 r14 = pop 0x12cd 21 r15 = pop 0x12cf 22 rbp = pop 0x12d0 23 <return> jump(pop) 0x11c0 24 r15 = rsp {var_1d8} 0x11c3 25 r13 = 0x2013 {"%lf"} 0x11ca 26 r12 = 0x2017 {"%.5lf\n"} 0x11d1 27 ebp = 0 0x11d3 28 goto 29 @ 0x11fc 0x11fc 29 rdi = 0x2010 {"%d"} 0x1203 30 rsi = r15 {var_1d8} 0x1206 31 eax = 0 0x1208 32 call(0x1050) 0x120d 33 eax = [rsp {var_1d8}].d 0x1210 34 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x1216 35 if (eax s<= 0) then 36 @ 0x125c else 39 @ 0x1218 0x125c 36 xmm1 = 0 0x125f 37 xmm1.q = float.d(eax) 0x1265 38 if (eax s<= 0) then 42 @ 0x12a0 else 44 @ 0x1267 0x1218 39 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x121c 40 r14d = 0 0x121f 41 goto 49 @ 0x1220 0x12a0 42 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x12a0 43 goto 63 @ 0x12a4 0x1267 44 xmm3.q = xmm3.q f/ xmm1.q 0x126b 45 eax = eax 0x126d 46 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1271 47 ecx = 0 0x127d 48 goto 71 @ 0x1280 0x1220 49 [rsp + 8 {var_1d0_1}].q = xmm3.q 0x1226 50 edi = 8 0x122b 51 call(0x1070) 0x1230 52 rbx = rax 0x1233 53 rdi = r13 0x1236 54 rsi = rax 0x1239 55 eax = 0 0x123b 56 call(0x1050) 0x1240 57 xmm3 = zx.o([rsp + 8 {var_1d0_1}].q) 0x1246 58 xmm3.q = xmm3.q f+ fconvert.t([rbx].q) 0x124a 59 [rsp + (r14 << 3) + 0x10].q = rbx 0x124f 60 r14 = r14 + 1 0x1253 61 rax = sx.q([rsp {var_1d8}].d) 0x125a 62 if (r14 s< rax) then 49 @ 0x1220 else 36 @ 0x125c 0x12a4 63 xmm0.q = xmm0.q f/ xmm1.q 0x12a8 64 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12a8 65 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12a8 66 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12a8 67 flag:s = 0 0x12a8 68 flag:o = 0 0x12a8 69 flag:a = 0 0x12b0 70 if (flag:c) then 78 @ 0x11e0 else 80 @ 0x12b6 0x1280 71 rdx = [rsp + (rcx << 3) + 0x10].q 0x1285 72 xmm2 = zx.o([rdx].q) 0x1289 73 xmm2.q = xmm2.q f- xmm3.q 0x128d 74 xmm2.q = xmm2.q f* xmm2.q 0x1291 75 xmm0.q = xmm0.q f+ xmm2.q 0x1295 76 rcx = rcx + 1 0x129c 77 if (rax != rcx) then 71 @ 0x1280 else 82 @ 0x129e 0x11e0 78 call(0x1060) 0x11e0 79 goto 83 @ 0x11e5 0x12b6 80 xmm0 = _mm_sqrt_sd(xmm0.q) 0x12ba 81 goto 83 @ 0x11e5 0x129e 82 goto 63 @ 0x12a4 0x11e5 83 rdi = r12 0x11e8 84 al = 1 0x11ea 85 call(0x1030) 0x11ef 86 ebp = ebp + 1 0x11f6 87 if (ebp s>= [rsp + 4 {var_1d4}].d) then 16 @ 0x12bf else 29 @ 0x11fc int64_t _fini(): 0x12d8 0 rsp = rsp - 8 0x12dc 1 rsp = rsp + 8 0x12e0 2 <return> jump(pop)
POJ_38
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH0H="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x30 0x1158 3 rdi = 0x200a {"%d"} 0x115f 4 rsi = rbp - 4 {var_c} 0x1163 5 al = 0 0x1165 6 call(0x1040) 0x116e 7 if ([rbp - 4 {var_c}].d s>= 0xa) then 8 @ 0x118e else 9 @ 0x1174 0x118e 8 if ([rbp - 4 {var_c}].d s>= 0x64) then 14 @ 0x11db else 15 @ 0x1194 0x1174 9 esi = [rbp - 4 {var_c}].d 0x1177 10 rdi = 0x200a {"%d"} 0x117e 11 al = 0 0x1180 12 call(0x1030) 0x1185 13 goto 63 @ 0x130c 0x11db 14 if ([rbp - 4 {var_c}].d s>= 0x3e8) then 66 @ 0x1254 else 67 @ 0x11e1 0x1194 15 eax = [rbp - 4 {var_c}].d 0x1197 16 ecx = 0xa {""} 0x119c 17 temp2.d:temp3.d = sx.q(eax) 0x119c 18 edx = temp2.d 0x119c 19 eax = temp3.d 0x119d 20 temp4.d = edx 0x119d 21 temp5.d = eax 0x119d 22 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x119d 23 temp6.d = edx 0x119d 24 temp7.d = eax 0x119d 25 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x119d 26 eax = temp0.d 0x119d 27 edx = temp1.d 0x119f 28 esi = edx 0x11a1 29 eax = [rbp - 4 {var_c}].d 0x11a4 30 [rbp - 8 {var_10_1}].d = eax 0x11a7 31 eax = [rbp - 4 {var_c}].d 0x11aa 32 ecx = 0xa {""} 0x11af 33 temp8.d:temp9.d = sx.q(eax) 0x11af 34 edx = temp8.d 0x11af 35 eax = temp9.d 0x11b0 36 temp10.d = edx 0x11b0 37 temp11.d = eax 0x11b0 38 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11b0 39 temp12.d = edx 0x11b0 40 temp13.d = eax 0x11b0 41 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11b0 42 eax = temp0.d 0x11b0 43 edx = temp1.d 0x11b2 44 eax = [rbp - 8 {var_10_1}].d 0x11b5 45 eax = eax - edx 0x11b7 46 ecx = 0xa {""} 0x11bc 47 temp14.d:temp15.d = sx.q(eax) 0x11bc 48 edx = temp14.d 0x11bc 49 eax = temp15.d 0x11bd 50 temp16.d = edx 0x11bd 51 temp17.d = eax 0x11bd 52 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x11bd 53 temp18.d = edx 0x11bd 54 temp19.d = eax 0x11bd 55 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x11bd 56 eax = temp0.d 0x11bd 57 edx = temp1.d 0x11bf 58 edx = eax 0x11c1 59 rdi = 0x2008 {"%d%d"} 0x11c8 60 al = 0 0x11ca 61 call(0x1030) 0x11cf 62 goto 158 @ 0x1307 0x130c 63 rsp = rsp + 0x30 0x1310 64 rbp = pop 0x1311 65 <return> jump(pop) 0x1254 66 if ([rbp - 4 {var_c}].d s>= 0x2710) then 159 @ 0x12ef else 163 @ 0x125a 0x11e1 67 eax = [rbp - 4 {var_c}].d 0x11e4 68 ecx = 0xa {""} 0x11e9 69 temp20.d:temp21.d = sx.q(eax) 0x11e9 70 edx = temp20.d 0x11e9 71 eax = temp21.d 0x11ea 72 temp22.d = edx 0x11ea 73 temp23.d = eax 0x11ea 74 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x11ea 75 temp24.d = edx 0x11ea 76 temp25.d = eax 0x11ea 77 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x11ea 78 eax = temp0.d 0x11ea 79 edx = temp1.d 0x11ec 80 esi = edx 0x11ee 81 eax = [rbp - 4 {var_c}].d 0x11f1 82 ecx = 0x64 {""} 0x11f6 83 temp26.d:temp27.d = sx.q(eax) 0x11f6 84 edx = temp26.d 0x11f6 85 eax = temp27.d 0x11f7 86 temp28.d = edx 0x11f7 87 temp29.d = eax 0x11f7 88 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx) 0x11f7 89 temp30.d = edx 0x11f7 90 temp31.d = eax 0x11f7 91 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx) 0x11f7 92 eax = temp0.d 0x11f7 93 edx = temp1.d 0x11f9 94 [rbp - 0x14 {var_1c_1}].d = edx 0x11fc 95 eax = [rbp - 4 {var_c}].d 0x11ff 96 ecx = 0xa {""} 0x1204 97 temp32.d:temp33.d = sx.q(eax) 0x1204 98 edx = temp32.d 0x1204 99 eax = temp33.d 0x1205 100 temp34.d = edx 0x1205 101 temp35.d = eax 0x1205 102 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx) 0x1205 103 temp36.d = edx 0x1205 104 temp37.d = eax 0x1205 105 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx) 0x1205 106 eax = temp0.d 0x1205 107 edx = temp1.d 0x1207 108 eax = [rbp - 0x14 {var_1c_1}].d 0x120a 109 eax = eax - edx 0x120c 110 ecx = 0xa {""} 0x1211 111 temp38.d:temp39.d = sx.q(eax) 0x1211 112 edx = temp38.d 0x1211 113 eax = temp39.d 0x1212 114 temp40.d = edx 0x1212 115 temp41.d = eax 0x1212 116 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx) 0x1212 117 temp42.d = edx 0x1212 118 temp43.d = eax 0x1212 119 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx) 0x1212 120 eax = temp0.d 0x1212 121 edx = temp1.d 0x1214 122 [rbp - 0xc {var_14_1}].d = eax 0x1217 123 eax = [rbp - 4 {var_c}].d 0x121a 124 [rbp - 0x10 {var_18_1}].d = eax 0x121d 125 eax = [rbp - 4 {var_c}].d 0x1220 126 ecx = 0x64 {""} 0x1225 127 temp44.d:temp45.d = sx.q(eax) 0x1225 128 edx = temp44.d 0x1225 129 eax = temp45.d 0x1226 130 temp46.d = edx 0x1226 131 temp47.d = eax 0x1226 132 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx) 0x1226 133 temp48.d = edx 0x1226 134 temp49.d = eax 0x1226 135 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx) 0x1226 136 eax = temp0.d 0x1226 137 edx = temp1.d 0x1228 138 eax = [rbp - 0x10 {var_18_1}].d 0x122b 139 eax = eax - edx 0x122d 140 ecx = 0x64 {""} 0x1232 141 temp50.d:temp51.d = sx.q(eax) 0x1232 142 edx = temp50.d 0x1232 143 eax = temp51.d 0x1233 144 temp52.d = edx 0x1233 145 temp53.d = eax 0x1233 146 temp0.d = divs.dp.d(temp52.d:temp53.d, ecx) 0x1233 147 temp54.d = edx 0x1233 148 temp55.d = eax 0x1233 149 temp1.d = mods.dp.d(temp54.d:temp55.d, ecx) 0x1233 150 eax = temp0.d 0x1233 151 edx = temp1.d 0x1235 152 edx = [rbp - 0xc {var_14_1}].d 0x1238 153 ecx = eax 0x123a 154 rdi = 0x2006 {"%d%d%d"} 0x1241 155 al = 0 0x1243 156 call(0x1030) 0x1248 157 goto 296 @ 0x1302 0x1307 158 goto 63 @ 0x130c 0x12ef 159 rdi = 0x200d {"00001"} 0x12f6 160 al = 0 0x12f8 161 call(0x1030) 0x12f8 162 goto 297 @ 0x12fd 0x125a 163 eax = [rbp - 4 {var_c}].d 0x125d 164 ecx = 0xa {""} 0x1262 165 temp56.d:temp57.d = sx.q(eax) 0x1262 166 edx = temp56.d 0x1262 167 eax = temp57.d 0x1263 168 temp58.d = edx 0x1263 169 temp59.d = eax 0x1263 170 temp0.d = divs.dp.d(temp58.d:temp59.d, ecx) 0x1263 171 temp60.d = edx 0x1263 172 temp61.d = eax 0x1263 173 temp1.d = mods.dp.d(temp60.d:temp61.d, ecx) 0x1263 174 eax = temp0.d 0x1263 175 edx = temp1.d 0x1265 176 esi = edx 0x1267 177 eax = [rbp - 4 {var_c}].d 0x126a 178 ecx = 0x64 {""} 0x126f 179 temp62.d:temp63.d = sx.q(eax) 0x126f 180 edx = temp62.d 0x126f 181 eax = temp63.d 0x1270 182 temp64.d = edx 0x1270 183 temp65.d = eax 0x1270 184 temp0.d = divs.dp.d(temp64.d:temp65.d, ecx) 0x1270 185 temp66.d = edx 0x1270 186 temp67.d = eax 0x1270 187 temp1.d = mods.dp.d(temp66.d:temp67.d, ecx) 0x1270 188 eax = temp0.d 0x1270 189 edx = temp1.d 0x1272 190 [rbp - 0x24 {var_2c_1}].d = edx 0x1275 191 eax = [rbp - 4 {var_c}].d 0x1278 192 ecx = 0xa {""} 0x127d 193 temp68.d:temp69.d = sx.q(eax) 0x127d 194 edx = temp68.d 0x127d 195 eax = temp69.d 0x127e 196 temp70.d = edx 0x127e 197 temp71.d = eax 0x127e 198 temp0.d = divs.dp.d(temp70.d:temp71.d, ecx) 0x127e 199 temp72.d = edx 0x127e 200 temp73.d = eax 0x127e 201 temp1.d = mods.dp.d(temp72.d:temp73.d, ecx) 0x127e 202 eax = temp0.d 0x127e 203 edx = temp1.d 0x1280 204 eax = [rbp - 0x24 {var_2c_1}].d 0x1283 205 eax = eax - edx 0x1285 206 ecx = 0xa {""} 0x128a 207 temp74.d:temp75.d = sx.q(eax) 0x128a 208 edx = temp74.d 0x128a 209 eax = temp75.d 0x128b 210 temp76.d = edx 0x128b 211 temp77.d = eax 0x128b 212 temp0.d = divs.dp.d(temp76.d:temp77.d, ecx) 0x128b 213 temp78.d = edx 0x128b 214 temp79.d = eax 0x128b 215 temp1.d = mods.dp.d(temp78.d:temp79.d, ecx) 0x128b 216 eax = temp0.d 0x128b 217 edx = temp1.d 0x128d 218 [rbp - 0x18 {var_20_1}].d = eax 0x1290 219 eax = [rbp - 4 {var_c}].d 0x1293 220 ecx = 0x3e8 {""} 0x1298 221 temp80.d:temp81.d = sx.q(eax) 0x1298 222 edx = temp80.d 0x1298 223 eax = temp81.d 0x1299 224 temp82.d = edx 0x1299 225 temp83.d = eax 0x1299 226 temp0.d = divs.dp.d(temp82.d:temp83.d, ecx) 0x1299 227 temp84.d = edx 0x1299 228 temp85.d = eax 0x1299 229 temp1.d = mods.dp.d(temp84.d:temp85.d, ecx) 0x1299 230 eax = temp0.d 0x1299 231 edx = temp1.d 0x129b 232 [rbp - 0x20 {var_28_1}].d = edx 0x129e 233 eax = [rbp - 4 {var_c}].d 0x12a1 234 ecx = 0x64 {""} 0x12a6 235 temp86.d:temp87.d = sx.q(eax) 0x12a6 236 edx = temp86.d 0x12a6 237 eax = temp87.d 0x12a7 238 temp88.d = edx 0x12a7 239 temp89.d = eax 0x12a7 240 temp0.d = divs.dp.d(temp88.d:temp89.d, ecx) 0x12a7 241 temp90.d = edx 0x12a7 242 temp91.d = eax 0x12a7 243 temp1.d = mods.dp.d(temp90.d:temp91.d, ecx) 0x12a7 244 eax = temp0.d 0x12a7 245 edx = temp1.d 0x12a9 246 eax = [rbp - 0x20 {var_28_1}].d 0x12ac 247 eax = eax - edx 0x12ae 248 ecx = 0x64 {""} 0x12b3 249 temp92.d:temp93.d = sx.q(eax) 0x12b3 250 edx = temp92.d 0x12b3 251 eax = temp93.d 0x12b4 252 temp94.d = edx 0x12b4 253 temp95.d = eax 0x12b4 254 temp0.d = divs.dp.d(temp94.d:temp95.d, ecx) 0x12b4 255 temp96.d = edx 0x12b4 256 temp97.d = eax 0x12b4 257 temp1.d = mods.dp.d(temp96.d:temp97.d, ecx) 0x12b4 258 eax = temp0.d 0x12b4 259 edx = temp1.d 0x12b6 260 ecx = eax 0x12b8 261 eax = [rbp - 4 {var_c}].d 0x12bb 262 [rbp - 0x1c {var_24_1}].d = eax 0x12be 263 eax = [rbp - 4 {var_c}].d 0x12c1 264 edi = 0x3e8 {""} 0x12c6 265 temp98.d:temp99.d = sx.q(eax) 0x12c6 266 edx = temp98.d 0x12c6 267 eax = temp99.d 0x12c7 268 temp100.d = edx 0x12c7 269 temp101.d = eax 0x12c7 270 temp0.d = divs.dp.d(temp100.d:temp101.d, edi) 0x12c7 271 temp102.d = edx 0x12c7 272 temp103.d = eax 0x12c7 273 temp1.d = mods.dp.d(temp102.d:temp103.d, edi) 0x12c7 274 eax = temp0.d 0x12c7 275 edx = temp1.d 0x12c9 276 eax = [rbp - 0x1c {var_24_1}].d 0x12cc 277 eax = eax - edx 0x12ce 278 edi = 0x3e8 {""} 0x12d3 279 temp104.d:temp105.d = sx.q(eax) 0x12d3 280 edx = temp104.d 0x12d3 281 eax = temp105.d 0x12d4 282 temp106.d = edx 0x12d4 283 temp107.d = eax 0x12d4 284 temp0.d = divs.dp.d(temp106.d:temp107.d, edi) 0x12d4 285 temp108.d = edx 0x12d4 286 temp109.d = eax 0x12d4 287 temp1.d = mods.dp.d(temp108.d:temp109.d, edi) 0x12d4 288 eax = temp0.d 0x12d4 289 edx = temp1.d 0x12d6 290 edx = [rbp - 0x18 {var_20_1}].d 0x12d9 291 r8d = eax 0x12dc 292 rdi = 0x2004 {"%d%d%d%d"} 0x12e3 293 al = 0 0x12e5 294 call(0x1030) 0x12ea 295 goto 297 @ 0x12fd 0x1302 296 goto 158 @ 0x1307 0x12fd 297 goto 296 @ 0x1302 int64_t _fini(): 0x1318 0 rsp = rsp - 8 0x131c 1 rsp = rsp + 8 0x1320 2 <return> jump(pop)
POJ_16
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0xe8 0x115d 5 rdi = 0x2020 {"%d"} 0x1164 6 rsi = rsp + 0xc {var_fc} 0x1169 7 eax = 0 0x116b 8 call(0x1040) 0x1170 9 r15d = 1 0x117b 10 if ([rsp + 0xc {var_fc}].d s<= 0) then 11 @ 0x1434 else 21 @ 0x1181 0x1434 11 rdi = 0x2020 {"%d"} 0x143b 12 esi = r15d 0x143e 13 eax = 0 0x1440 14 call(0x1030) 0x1445 15 rsp = rsp + 0xe8 0x144c 16 rbx = pop 0x144d 17 r14 = pop 0x144f 18 r15 = pop 0x1451 19 rbp = pop 0x1452 20 <return> jump(pop) 0x1181 21 rbx = rsp + 0x84 {var_84} 0x1189 22 r14 = 0x2020 {"%d"} 0x1190 23 ebp = 0 0x119c 24 goto 25 @ 0x11a0 0x11a0 25 rdi = r14 0x11a3 26 rsi = rbx 0x11a6 27 eax = 0 0x11a8 28 call(0x1040) 0x11ad 29 [rsp + (rbp << 2) + 0x14].d = 1 0x11b5 30 rax = sx.q([rsp + 0xc {var_fc}].d) 0x11ba 31 rbp = rbp + 1 0x11be 32 rbx = rbx + 4 0x11c5 33 if (rbp s< rax) then 25 @ 0x11a0 else 34 @ 0x11c7 0x11c7 34 r8d = eax 0x11ce 35 if (r8d s>= 2) then 36 @ 0x11f3 else 43 @ 0x11d3 0x11f3 36 r9 = r8 + 1 0x11f7 37 rdx = rsp + 0x84 {var_84} 0x11ff 38 rsi = rsp + 0x14 {var_f4} 0x1204 39 edi = 2 0x1209 40 r11d = 1 0x120f 41 r10d = 0 0x1212 42 goto 44 @ 0x1235 0x11d3 43 if (r8d s<= 0) then 11 @ 0x1434 else 49 @ 0x11dd 0x1235 44 rbx = r10 0x1238 45 r10 = r10 + 1 0x123c 46 ecx = [rsp + (rdi << 2) + 0x80].d 0x1243 47 eax = 1 0x124b 48 if (rbx == 0) then 50 @ 0x12a7 else 51 @ 0x124d 0x11dd 49 if (r8d u>= 8) then 55 @ 0x12da else 62 @ 0x11e3 0x12a7 50 if ((r10b & 1) == 0) then 65 @ 0x1220 else 70 @ 0x12ad 0x124d 51 rbx = r11 0x1250 52 rbx = rbx & 0xfffffffffffffffe 0x1254 53 rax = -1 0x125b 54 goto 73 @ 0x1276 0x12da 55 ecx = r8d 0x12dd 56 ecx = ecx & 0xfffffff8 0x12e0 57 rdx = rcx - 8 0x12e4 58 rax = rdx 0x12e7 59 rax = rax u>> 3 0x12eb 60 rax = rax + 1 0x12f2 61 if (rdx == 0) then 74 @ 0x1453 else 78 @ 0x12f8 0x11e3 62 r15d = 1 0x11e9 63 ecx = 1 0x11ee 64 goto 84 @ 0x1416 0x1220 65 rdi = rdi + 1 0x1224 66 rdx = rdx + 4 0x1228 67 rsi = rsi + 4 0x122c 68 r11 = r11 + 1 0x1233 69 if (rdi == r9) then 43 @ 0x11d3 else 44 @ 0x1235 0x12ad 70 rbx = rdi 0x12b0 71 rbx = rbx - rax 0x12ba 72 if ([rsp + (rbx << 2) + 0x80].d s< ecx) then 65 @ 0x1220 else 86 @ 0x12c0 0x1276 73 if ([rdx + (rax << 2) + 4].d s< ecx) then 88 @ 0x128c else 89 @ 0x1278 0x1453 74 xmm0 = [0x2010].o 0x145b 75 edx = 1 0x1460 76 xmm1 = xmm0 0x1466 77 if ((al & 1) != 0) then 91 @ 0x1386 else 106 @ 0x146c 0x12f8 78 rsi = rax 0x12fb 79 rsi = rsi & 0xfffffffffffffffe 0x12ff 80 xmm0 = [0x2010].o 0x1307 81 edx = 1 0x130c 82 xmm1 = xmm0 0x130c 83 goto 107 @ 0x1310 0x1416 84 r8 = r8 + 1 0x141a 85 goto 135 @ 0x1420 0x12c0 86 eax = [rsp + (rbx << 2) + 0x10].d 0x12c8 87 if (eax s< [rsp + (rdi << 2) + 0x10].d) then 65 @ 0x1220 else 137 @ 0x12ce 0x128c 88 if ([rdx + (rax << 2)].d s< ecx) then 140 @ 0x1260 else 144 @ 0x128e 0x1278 89 ebp = [rsi + (rax << 2) + 4].d 0x1280 90 if (ebp s< [rsp + (rdi << 2) + 0x10].d) then 88 @ 0x128c else 146 @ 0x1282 0x1386 91 xmm2 = [rsp + (rdx << 2) + 0x10].o 0x138c 92 xmm3 = [rsp + (rdx << 2) + 0x20].o 0x1392 93 xmm4 = xmm2 0x1396 94 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0) 0x139a 95 xmm2 = xmm2 & xmm4 0x139e 96 xmm4 = xmm4 & not.o(xmm0) 0x13a2 97 xmm4 = xmm4 | xmm2 0x13a6 98 xmm2 = xmm3 0x13aa 99 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x13ae 100 xmm3 = xmm3 & xmm2 0x13b2 101 xmm2 = xmm2 & not.o(xmm1) 0x13b6 102 xmm2 = xmm2 | xmm3 0x13ba 103 xmm0 = xmm4 0x13be 104 xmm1 = xmm2 0x13be 105 goto 149 @ 0x13c2 0x146c 106 goto 149 @ 0x13c2 0x1310 107 xmm2 = [rsp + (rdx << 2) + 0x10].o 0x1316 108 xmm3 = [rsp + (rdx << 2) + 0x20].o 0x131c 109 xmm4 = [rsp + (rdx << 2) + 0x30].o 0x1322 110 xmm5 = [rsp + (rdx << 2) + 0x40].o 0x1328 111 xmm6 = xmm2 0x132c 112 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0) 0x1330 113 xmm2 = xmm2 & xmm6 0x1334 114 xmm6 = xmm6 & not.o(xmm0) 0x1338 115 xmm6 = xmm6 | xmm2 0x133c 116 xmm2 = xmm3 0x1340 117 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1344 118 xmm3 = xmm3 & xmm2 0x1348 119 xmm2 = xmm2 & not.o(xmm1) 0x134c 120 xmm2 = xmm2 | xmm3 0x1350 121 xmm0 = xmm4 0x1354 122 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6) 0x1358 123 xmm4 = xmm4 & xmm0 0x135c 124 xmm0 = xmm0 & not.o(xmm6) 0x1360 125 xmm0 = xmm0 | xmm4 0x1364 126 xmm1 = xmm5 0x1368 127 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x136c 128 xmm5 = xmm5 & xmm1 0x1370 129 xmm1 = xmm1 & not.o(xmm2) 0x1374 130 xmm1 = xmm1 | xmm5 0x1378 131 rdx = rdx + 0x10 0x137c 132 temp0.q = rsi 0x137c 133 rsi = rsi - 2 0x1380 134 if (temp0.q != 2) then 107 @ 0x1310 else 168 @ 0x1384 0x1420 135 eax = [rsp + (rcx << 2) + 0x10].d 0x1427 136 if (eax s> r15d) then 169 else 171 @ 0x142b 0x12ce 137 eax = eax + 1 0x12d1 138 [rsp + (rdi << 2) + 0x10].d = eax 0x12d5 139 goto 65 @ 0x1220 0x1260 140 rbp = rbx + rax 0x1264 141 rbp = rbp - 2 0x1268 142 rax = rax - 2 0x1270 143 if (rbp == -1) then 173 @ 0x12a0 else 73 @ 0x1276 0x128e 144 ebp = [rsi + (rax << 2)].d 0x1295 145 if (ebp s< [rsp + (rdi << 2) + 0x10].d) then 140 @ 0x1260 else 175 @ 0x1297 0x1282 146 ebp = ebp + 1 0x1285 147 [rsp + (rdi << 2) + 0x10].d = ebp 0x1285 148 goto 88 @ 0x128c 0x13c2 149 xmm2 = xmm0 0x13c6 150 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x13ca 151 xmm0 = xmm0 & xmm2 0x13ce 152 xmm2 = xmm2 & not.o(xmm1) 0x13d2 153 xmm2 = xmm2 | xmm0 0x13d6 154 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x13db 155 xmm1 = xmm2 0x13df 156 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x13e3 157 xmm2 = xmm2 & xmm1 0x13e7 158 xmm1 = xmm1 & not.o(xmm0) 0x13eb 159 xmm1 = xmm1 | xmm2 0x13ef 160 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x13f4 161 xmm2 = xmm1 0x13f8 162 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x13fc 163 xmm1 = xmm1 & xmm2 0x1400 164 xmm2 = xmm2 & not.o(xmm0) 0x1404 165 xmm2 = xmm2 | xmm1 0x1408 166 r15d = xmm2.d 0x1410 167 if (r8 == rcx) then 11 @ 0x1434 else 178 @ 0x1412 0x1384 168 if ((al & 1) == 0) then 149 @ 0x13c2 else 91 @ 0x1386 0x1427 169 r15d = eax 0x1427 170 goto 171 @ 0x142b 0x142b 171 rcx = rcx + 1 0x1432 172 if (r8 != rcx) then 135 @ 0x1420 else 11 @ 0x1434 0x12a0 173 rax = neg.q(rax) 0x12a0 174 goto 50 @ 0x12a7 0x1297 175 ebp = ebp + 1 0x129a 176 [rsp + (rdi << 2) + 0x10].d = ebp 0x129e 177 goto 140 @ 0x1260 0x1412 178 rcx = rcx | 1 0x1412 179 goto 84 @ 0x1416 int64_t _fini(): 0x1478 0 rsp = rsp - 8 0x147c 1 rsp = rsp + 8 0x1480 2 <return> jump(pop)
POJ_10
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH0\t="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x3d0930 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rdi = 0x2004 {"%d"} 0x1169 5 rsi = rbp - 0x3d0914 {var_3d091c} 0x1170 6 al = 0 0x1172 7 call(0x1040) 0x1177 8 [rbp - 0x3d0920 {var_3d0928}].d = 0 0x1181 9 [rbp - 0x3d0924 {var_3d092c}].d = 0 0x118b 10 [rbp - 0x3d0928 {var_3d0930}].d = 0 0x1195 11 [rbp - 0x3d092c {var_3d0934}].d = 0 0x119f 12 [rbp - 0x3d0918 {var_3d0920}].d = 0 0x119f 13 goto 14 @ 0x11a9 0x11a9 14 eax = [rbp - 0x3d0918 {var_3d0920}].d 0x11b5 15 if (eax s>= [rbp - 0x3d0914 {var_3d091c}].d) then 16 @ 0x1238 else 18 @ 0x11bb 0x1238 16 [rbp - 0x3d0918 {var_3d0920_1}].d = 0 0x1238 17 goto 20 @ 0x1242 0x11bb 18 [rbp - 0x3d091c {var_3d0924_1}].d = 0 0x11bb 19 goto 22 @ 0x11c5 0x1242 20 eax = [rbp - 0x3d0918 {var_3d0920_1}].d 0x124e 21 if (eax s>= [rbp - 0x3d0914 {var_3d091c}].d) then 24 @ 0x1307 else 28 @ 0x1254 0x11c5 22 eax = [rbp - 0x3d091c {var_3d0924_1}].d 0x11d1 23 if (eax s>= [rbp - 0x3d0914 {var_3d091c}].d) then 30 @ 0x121f else 31 @ 0x11d7 0x1307 24 eax = [rbp - 0x3d0914 {var_3d091c}].d 0x130d 25 eax = eax - 1 0x1310 26 [rbp - 0x3d0918 {var_3d0920_2}].d = eax 0x1310 27 goto 45 @ 0x131d 0x1254 28 [rbp - 0x3d091c {var_3d0924_2}].d = 0 0x1254 29 goto 46 @ 0x125e 0x121f 30 goto 48 @ 0x1224 0x11d7 31 rax = sx.q([rbp - 0x3d0918 {var_3d0920}].d) 0x11de 32 rsi = rbp - 0x3d0910 {var_3d0918} 0x11e5 33 rax = rax * 0xfa0 0x11ec 34 rsi = rsi + rax 0x11ef 35 rax = sx.q([rbp - 0x3d091c {var_3d0924_1}].d) 0x11f6 36 rax = rax << 2 0x11fa 37 rsi = rsi + rax 0x11fd 38 rdi = 0x2004 {"%d"} 0x1204 39 al = 0 0x1206 40 call(0x1040) 0x120b 41 eax = [rbp - 0x3d091c {var_3d0924_1}].d 0x1211 42 eax = eax + 1 0x1214 43 [rbp - 0x3d091c {var_3d0924_1}].d = eax 0x121a 44 goto 22 @ 0x11c5 0x131d 45 if ([rbp - 0x3d0918 {var_3d0920_2}].d s< 0) then 52 @ 0x13d6 else 68 @ 0x1323 0x125e 46 eax = [rbp - 0x3d091c {var_3d0924_2}].d 0x126a 47 if (eax s>= [rbp - 0x3d0914 {var_3d091c}].d) then 72 @ 0x12d6 else 73 @ 0x1270 0x1224 48 eax = [rbp - 0x3d0918 {var_3d0920}].d 0x122a 49 eax = eax + 1 0x122d 50 [rbp - 0x3d0918 {var_3d0920}].d = eax 0x1233 51 goto 14 @ 0x11a9 0x13d6 52 eax = [rbp - 0x3d092c {var_3d0934}].d 0x13dc 53 eax = eax - [rbp - 0x3d0924 {var_3d092c}].d 0x13e2 54 eax = eax - 1 0x13e5 55 ecx = [rbp - 0x3d0928 {var_3d0930}].d 0x13eb 56 ecx = ecx - [rbp - 0x3d0920 {var_3d0928}].d 0x13f1 57 ecx = ecx - 1 0x13f4 58 eax = eax * ecx 0x13f7 59 [rbp - 0x3d0930 {var_3d0938}].d = eax 0x13fd 60 esi = [rbp - 0x3d0930 {var_3d0938}].d 0x1403 61 rdi = 0x2004 {"%d"} 0x140a 62 al = 0 0x140c 63 call(0x1030) 0x1411 64 eax = 0 0x1413 65 rsp = rsp + 0x3d0930 0x141a 66 rbp = pop 0x141b 67 <return> jump(pop) 0x1323 68 eax = [rbp - 0x3d0914 {var_3d091c}].d 0x1329 69 eax = eax - 1 0x132c 70 [rbp - 0x3d091c {var_3d0924_3}].d = eax 0x132c 71 goto 79 @ 0x1339 0x12d6 72 if ([rbp - 0x3d0920 {var_3d0928}].d == 0) then 80 @ 0x12ee else 81 @ 0x12e3 0x1270 73 rcx = sx.q([rbp - 0x3d0918 {var_3d0920_1}].d) 0x1277 74 rax = rbp - 0x3d0910 {var_3d0918} 0x127e 75 rcx = rcx * 0xfa0 0x1285 76 rax = rax + rcx 0x1288 77 rcx = sx.q([rbp - 0x3d091c {var_3d0924_2}].d) 0x1293 78 if ([rax + (rcx << 2)].d != 0) then 82 @ 0x12b6 else 83 @ 0x1299 0x1339 79 if ([rbp - 0x3d091c {var_3d0924_3}].d s< 0) then 88 @ 0x13a5 else 89 @ 0x133f 0x12ee 80 goto 95 @ 0x12f3 0x12e3 81 if ([rbp - 0x3d0924 {var_3d092c}].d == 0) then 80 @ 0x12ee else 99 @ 0x12e9 0x12b6 82 goto 100 @ 0x12bb 0x1299 83 eax = [rbp - 0x3d0918 {var_3d0920_1}].d 0x129f 84 [rbp - 0x3d0920 {var_3d0928}].d = eax 0x12a5 85 eax = [rbp - 0x3d091c {var_3d0924_2}].d 0x12ab 86 [rbp - 0x3d0924 {var_3d092c}].d = eax 0x12b1 87 goto 72 @ 0x12d6 0x13a5 88 if ([rbp - 0x3d0928 {var_3d0930}].d == 0) then 104 @ 0x13bd else 105 @ 0x13b2 0x133f 89 rcx = sx.q([rbp - 0x3d0918 {var_3d0920_2}].d) 0x1346 90 rax = rbp - 0x3d0910 {var_3d0918} 0x134d 91 rcx = rcx * 0xfa0 0x1354 92 rax = rax + rcx 0x1357 93 rcx = sx.q([rbp - 0x3d091c {var_3d0924_3}].d) 0x1362 94 if ([rax + (rcx << 2)].d != 0) then 106 @ 0x1385 else 107 @ 0x1368 0x12f3 95 eax = [rbp - 0x3d0918 {var_3d0920_1}].d 0x12f9 96 eax = eax + 1 0x12fc 97 [rbp - 0x3d0918 {var_3d0920_1}].d = eax 0x1302 98 goto 20 @ 0x1242 0x12e9 99 goto 24 @ 0x1307 0x12bb 100 eax = [rbp - 0x3d091c {var_3d0924_2}].d 0x12c1 101 eax = eax + 1 0x12c4 102 [rbp - 0x3d091c {var_3d0924_2}].d = eax 0x12ca 103 goto 46 @ 0x125e 0x13bd 104 goto 112 @ 0x13c2 0x13b2 105 if ([rbp - 0x3d092c {var_3d0934}].d == 0) then 104 @ 0x13bd else 116 @ 0x13b8 0x1385 106 goto 117 @ 0x138a 0x1368 107 eax = [rbp - 0x3d0918 {var_3d0920_2}].d 0x136e 108 [rbp - 0x3d0928 {var_3d0930}].d = eax 0x1374 109 eax = [rbp - 0x3d091c {var_3d0924_3}].d 0x137a 110 [rbp - 0x3d092c {var_3d0934}].d = eax 0x1380 111 goto 88 @ 0x13a5 0x13c2 112 eax = [rbp - 0x3d0918 {var_3d0920_2}].d 0x13c8 113 eax = eax - 1 0x13cb 114 [rbp - 0x3d0918 {var_3d0920_2}].d = eax 0x13d1 115 goto 45 @ 0x131d 0x13b8 116 goto 52 @ 0x13d6 0x138a 117 eax = [rbp - 0x3d091c {var_3d0924_3}].d 0x1390 118 eax = eax - 1 0x1393 119 [rbp - 0x3d091c {var_3d0924_3}].d = eax 0x1399 120 goto 79 @ 0x1339 int64_t _fini(): 0x1420 0 rsp = rsp - 8 0x1424 1 rsp = rsp + 8 0x1428 2 <return> jump(pop)
POJ_15