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 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) double cos(double arg1): 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@H="} 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 - 0x40 0x1178 3 rdi = 0x2020 {"%lf"} 0x117f 4 rsi = rbp - 8 {var_10} 0x1183 5 al = 0 0x1185 6 call(0x1040) 0x118a 7 rdi = 0x2020 {"%lf"} 0x1191 8 rsi = rbp - 0x10 {var_18} 0x1195 9 al = 0 0x1197 10 call(0x1040) 0x119c 11 rdi = 0x2020 {"%lf"} 0x11a3 12 rsi = rbp - 0x18 {var_20} 0x11a7 13 al = 0 0x11a9 14 call(0x1040) 0x11ae 15 rdi = 0x2020 {"%lf"} 0x11b5 16 rsi = rbp - 0x20 {var_28} 0x11b9 17 al = 0 0x11bb 18 call(0x1040) 0x11c0 19 rdi = 0x2020 {"%lf"} 0x11c7 20 rsi = rbp - 0x28 {var_30} 0x11cb 21 al = 0 0x11cd 22 call(0x1040) 0x11d2 23 xmm0 = zx.o([rbp - 8 {var_10}].q) 0x11d7 24 xmm1 = zx.o([rbp - 0x10 {var_18}].q) 0x11dc 25 xmm2 = zx.o([rbp - 0x18 {var_20}].q) 0x11e1 26 xmm3 = zx.o([rbp - 0x20 {var_28}].q) 0x11e6 27 xmm4 = zx.o([rbp - 0x28 {var_30}].q) 0x11eb 28 call(0x1250) 0x11f0 29 [rbp - 0x30 {var_38}].q = xmm0.q 0x11f5 30 xmm0 = zx.o([rbp - 0x30 {var_38}].q) 0x11fa 31 xmm1 = 0 0x11fd 32 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x11fd 33 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11fd 34 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11fd 35 flag:s = 0 0x11fd 36 flag:o = 0 0x11fd 37 flag:a = 0 0x1201 38 if (flag:c) then 39 @ 0x122e else 43 @ 0x1207 0x122e 39 rdi = 0x202a {"Invalid input\n"} 0x1235 40 al = 0 0x1237 41 call(0x1030) 0x1237 42 goto 51 @ 0x123c 0x1207 43 xmm0 = zx.o([rbp - 0x30 {var_38}].q) 0x120c 44 call(0x1050) 0x1211 45 [rbp - 0x38 {var_40_1}].q = xmm0.q 0x1216 46 xmm0 = zx.o([rbp - 0x38 {var_40_1}].q) 0x121b 47 rdi = 0x2024 {"%.4lf"} 0x1222 48 al = 1 0x1224 49 call(0x1030) 0x1229 50 goto 51 @ 0x123c 0x123c 51 rsp = rsp + 0x40 0x1240 52 rbp = pop 0x1241 53 <return> jump(pop) double f(double arg1, double arg2 @ zmm0, double arg3 @ zmm1, double arg4 @ zmm2, double arg5 @ zmm3, double arg6 @ zmm4): 0x1250 0 push(rbp) 0x1251 1 rbp = rsp {__saved_rbp} 0x1254 2 rsp = rsp - 0x60 0x1258 3 [rbp - 8 {var_10}].q = xmm0.q 0x125d 4 [rbp - 0x10 {var_18}].q = xmm1.q 0x1262 5 [rbp - 0x18 {var_20}].q = xmm2.q 0x1267 6 [rbp - 0x20 {var_28}].q = xmm3.q 0x126c 7 [rbp - 0x28 {var_30}].q = xmm4.q 0x1271 8 xmm0 = zx.o([0x2018].q) 0x1279 9 [rbp - 0x40 {var_48}].q = xmm0.q 0x127e 10 xmm0 = zx.o([rbp - 8 {var_10}].q) 0x1283 11 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x10 {var_18}].q) 0x1288 12 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x18 {var_20}].q) 0x128d 13 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x20 {var_28}].q) 0x1292 14 xmm1 = zx.o([0x2010].q) 0x129a 15 xmm0.q = xmm0.q f/ xmm1.q 0x129e 16 [rbp - 0x30 {var_38}].q = xmm0.q 0x12a3 17 xmm0 = zx.o([rbp - 0x28 {var_30}].q) 0x12a8 18 xmm1 = zx.o([0x2008].q) 0x12b0 19 xmm0.q = xmm0.q f/ xmm1.q 0x12b4 20 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x40 {var_48}].q) 0x12b9 21 [rbp - 0x28 {var_30_1}].q = xmm0.q 0x12be 22 xmm0 = zx.o([rbp - 0x30 {var_38}].q) 0x12c3 23 xmm0.q = xmm0.q f- fconvert.t([rbp - 8 {var_10}].q) 0x12c8 24 xmm1 = zx.o([rbp - 0x30 {var_38}].q) 0x12cd 25 xmm1.q = xmm1.q f- fconvert.t([rbp - 0x10 {var_18}].q) 0x12d2 26 xmm0.q = xmm0.q f* xmm1.q 0x12d6 27 xmm1 = zx.o([rbp - 0x30 {var_38}].q) 0x12db 28 xmm1.q = xmm1.q f- fconvert.t([rbp - 0x18 {var_20}].q) 0x12e0 29 xmm0.q = xmm0.q f* xmm1.q 0x12e4 30 [rbp - 0x48 {var_50}].q = xmm0.q 0x12e9 31 xmm0 = zx.o([rbp - 0x30 {var_38}].q) 0x12ee 32 xmm0.q = xmm0.q f- fconvert.t([rbp - 0x20 {var_28}].q) 0x12f3 33 [rbp - 0x50 {var_58}].q = xmm0.q 0x12f8 34 xmm0 = zx.o([rbp - 8 {var_10}].q) 0x12fd 35 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x1302 36 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x18 {var_20}].q) 0x1307 37 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x20 {var_28}].q) 0x130c 38 [rbp - 0x60 {var_68}].q = xmm0.q 0x1311 39 xmm0 = zx.o([rbp - 0x28 {var_30_1}].q) 0x1316 40 call(0x1060) 0x131b 41 xmm1 = xmm0 0x131e 42 xmm0 = zx.o([rbp - 0x60 {var_68}].q) 0x1323 43 xmm0.q = xmm0.q f* xmm1.q 0x1327 44 [rbp - 0x58 {var_60}].q = xmm0.q 0x132c 45 xmm0 = zx.o([rbp - 0x28 {var_30_1}].q) 0x1331 46 call(0x1060) 0x1336 47 xmm1 = zx.o([rbp - 0x58 {var_60}].q) 0x133b 48 xmm2 = zx.o([rbp - 0x50 {var_58}].q) 0x1340 49 xmm3 = xmm0 0x1343 50 xmm0 = zx.o([rbp - 0x48 {var_50}].q) 0x1348 51 xmm1.q = xmm1.q f* xmm3.q 0x134c 52 rax = xmm1.q 0x1351 53 rcx = -0x8000000000000000 0x135b 54 rax = rax ^ rcx 0x135e 55 xmm1 = rax 0x1363 56 xmm0.q = xmm0.q f* xmm2.q 0x1367 57 xmm0.q = xmm0.q f+ xmm1.q 0x136b 58 [rbp - 0x38 {var_40}].q = xmm0.q 0x1370 59 xmm0 = zx.o([rbp - 0x38 {var_40}].q) 0x1375 60 rsp = rsp + 0x60 0x1379 61 rbp = pop 0x137a 62 <return> jump(pop) int64_t _fini(): 0x1380 0 rsp = rsp - 8 0x1384 1 rsp = rsp + 8 0x1388 2 <return> jump(pop)
POJ_40
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 {"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 - 0x410 0x116c 4 rdi = 0x2030 {"%lf"} 0x1173 5 rsi = rsp + 8 {var_420} 0x1178 6 eax = 0 0x117a 7 call(0x1050) 0x117f 8 rdi = 0x2034 {"%s%s"} 0x1186 9 rbx = rsp + 0x10 {var_418} 0x118b 10 r15 = rsp + 0x210 {var_218} 0x1193 11 rsi = rbx {var_418} 0x1196 12 rdx = r15 {var_218} 0x1199 13 eax = 0 0x119b 14 call(0x1050) 0x11a0 15 rdi = rbx {var_418} 0x11a3 16 call(0x1040) 0x11a8 17 r14 = rax 0x11ab 18 rdi = r15 {var_218} 0x11ae 19 call(0x1040) 0x11b3 20 rdi = 0x2039 {"error"} 0x11bd 21 if (r14 != rax) then 22 @ 0x1293 else 30 @ 0x11c3 0x1293 22 eax = 0 0x1295 23 call(0x1030) 0x129a 24 eax = 0 0x129c 25 rsp = rsp + 0x410 0x12a3 26 rbx = pop 0x12a4 27 r14 = pop 0x12a6 28 r15 = pop 0x12a8 29 <return> jump(pop) 0x11c3 30 eax = 0x80045 {""} 0x11c8 31 goto 32 @ 0x11d0 0x11d0 32 ecx = zx.d([rbx].b) 0x11d3 33 edx = (rcx - 0x41).d 0x11d9 34 if (dl u> 0x13) then 35 @ 0x11ec else 36 @ 0x11db 0x11ec 35 if (cl != 0) then 22 @ 0x1293 else 39 @ 0x11f2 0x11db 36 edx = zx.d(dl) 0x11de 37 flag:c = test_bit(rax, rdx) 0x11e2 38 if (not(flag:c)) then 35 @ 0x11ec else 41 @ 0x11e4 0x11f2 39 eax = 0x80045 {""} 0x11f7 40 goto 43 @ 0x1200 0x11e4 41 rbx = rbx + 1 0x11e8 42 goto 32 @ 0x11d0 0x1200 43 ecx = zx.d([r15].b) 0x1204 44 edx = (rcx - 0x41).d 0x120a 45 if (dl u> 0x13) then 46 @ 0x121d else 47 @ 0x120c 0x121d 46 if (cl != 0) then 22 @ 0x1293 else 50 @ 0x121f 0x120c 47 edx = zx.d(dl) 0x120f 48 flag:c = test_bit(rax, rdx) 0x1213 49 if (not(flag:c)) then 46 @ 0x121d else 52 @ 0x1215 0x121f 50 cl = [rsp + 0x10 {var_418}].b 0x1225 51 if (cl == 0) then 54 @ 0x1252 else 56 @ 0x1227 0x1215 52 r15 = r15 + 1 0x1219 53 goto 43 @ 0x1200 0x1252 54 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1252 55 goto 59 @ 0x1256 0x1227 56 eax = 0 0x1229 57 edx = 0 0x122b 58 goto 75 @ 0x1230 0x1256 59 xmm1 = r14 0x125b 60 xmm1 = __punpckldq_xmmdq_memdq(xmm1, [0x2010].o) 0x1263 61 xmm1 = __subpd_xmmpd_mempd(xmm1, [0x2020].o) 0x126b 62 xmm2 = xmm1 0x126f 63 xmm2 = _mm_unpackhi_pd(xmm2, xmm1.q) 0x1273 64 xmm2.q = xmm2.q f+ xmm1.q 0x1277 65 xmm0.q = xmm0.q f/ xmm2.q 0x127b 66 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_420}].q)) 0x127b 67 flag:c = xmm0.q f< fconvert.t([rsp + 8 {var_420}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_420}].q)) 0x127b 68 flag:z = xmm0.q f== fconvert.t([rsp + 8 {var_420}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_420}].q)) 0x127b 69 flag:s = 0 0x127b 70 flag:o = 0 0x127b 71 flag:a = 0 0x1281 72 rax = 0x203f {"yes"} 0x1288 73 rdi = 0x2043 {"no"} 0x128f 74 if (not(flag:z) && not(flag:c)) then 81 else 83 0x1230 75 esi = 0 0x1239 76 sil = cl == [rsp + rax + 0x210].b 0x123d 77 edx = edx + esi 0x123f 78 ecx = zx.d([rsp + rax + 0x11].b) 0x1244 79 rax = rax + 1 0x124a 80 if (cl != 0) then 75 @ 0x1230 else 84 @ 0x124c 0x128f 81 rdi = rax 0x128f 82 goto 83 0x128f 83 goto 22 @ 0x1293 0x124c 84 xmm0.q = float.d(edx) 0x1250 85 goto 59 @ 0x1256 int64_t _fini(): 0x12b0 0 rsp = rsp - 8 0x12b4 1 rsp = rsp + 8 0x12b8 2 <return> jump(pop)
POJ_5
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 {"UAWAVAUATSPH="} 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 push(rax) 0x116b 7 rdi = 0x2018 {"%d %d"} 0x1172 8 rsi = rsp + 4 {var_38+0x4} 0x1177 9 rdx = rsp {var_38} 0x117a 10 eax = 0 0x117c 11 call(0x1040) 0x1181 12 ebx = [rsp + 4 {var_38+0x4}].d 0x1188 13 if (ebx s> [rsp {var_38}].d) then 14 @ 0x12a4 else 18 @ 0x118e 0x12a4 14 rdi = 0x2022 {"no"} 0x12ab 15 eax = 0 0x12ad 16 call(0x1030) 0x12ad 17 goto 24 @ 0x12b2 0x118e 18 xmm2 = zx.o([0x2008].q) 0x1196 19 r14d = 0xcccccccd {""} 0x119c 20 r15 = 0x201b {"%d"} 0x11a3 21 r12 = 0x201e {",%d"} 0x11aa 22 r13d = 0 0x11ad 23 goto 32 @ 0x11de 0x12b2 24 rsp = rsp + 8 0x12b6 25 rbx = pop 0x12b7 26 r12 = pop 0x12b9 27 r13 = pop 0x12bb 28 r14 = pop 0x12bd 29 r15 = pop 0x12bf 30 rbp = pop 0x12c0 31 <return> jump(pop) 0x11de 32 xmm0 = 0 0x11e1 33 xmm0.q = float.d(ebx) 0x11e5 34 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x11e5 35 flag:c = xmm0.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x11e5 36 flag:z = xmm0.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x11e5 37 flag:s = 0 0x11e5 38 flag:o = 0 0x11e5 39 flag:a = 0 0x11ed 40 if (flag:c) then 41 @ 0x1200 else 51 @ 0x11ef 0x1200 41 call(0x1050) 0x1205 42 xmm2 = zx.o([0x2008].q) 0x120d 43 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x120d 44 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x120d 45 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x120d 46 flag:s = 0 0x120d 47 flag:o = 0 0x120d 48 flag:a = 0 0x1211 49 xmm1 = xmm2 0x1215 50 if (flag:c) then 60 @ 0x1249 else 67 @ 0x1217 0x11ef 51 xmm0 = _mm_sqrt_sd(xmm0.q) 0x11f3 52 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x11f3 53 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x11f3 54 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x11f3 55 flag:s = 0 0x11f3 56 flag:o = 0 0x11f3 57 flag:a = 0 0x11f7 58 xmm1 = xmm2 0x11fb 59 if (not(flag:c)) then 67 @ 0x1217 else 71 @ 0x11fd 0x1249 60 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x1249 61 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1249 62 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1249 63 flag:s = 0 0x1249 64 flag:o = 0 0x1249 65 flag:a = 0 0x124d 66 if (flag:z || flag:c) then 72 @ 0x11d0 else 76 @ 0x124f 0x1217 67 eax = ebx 0x1219 68 xmm1 = xmm2 0x121d 69 eax = eax & 1 0x1220 70 if (eax == 0) then 60 @ 0x1249 else 78 @ 0x1222 0x11fd 71 goto 60 @ 0x1249 0x11d0 72 eax = (rbx + 1).d 0x11d3 73 cond:0 = ebx s>= [rsp {var_38}].d 0x11d6 74 ebx = eax 0x11d8 75 if (cond:0) then 80 @ 0x12a2 else 32 @ 0x11de 0x124f 76 eax = 0 0x1253 77 if (ebx s<= 0) then 81 @ 0x127b else 82 @ 0x1255 0x1222 78 ecx = 3 0x1227 79 goto 84 @ 0x1230 0x12a2 80 if (r13d != 0) then 24 @ 0x12b2 else 14 @ 0x12a4 0x127b 81 if (eax != ebx) then 72 @ 0x11d0 else 93 @ 0x1281 0x1255 82 ecx = ebx 0x1257 83 goto 97 @ 0x1260 0x1230 84 xmm1 = 0 0x1233 85 xmm1.q = float.d(ecx) 0x1237 86 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1237 87 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1237 88 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1237 89 flag:s = 0 0x1237 90 flag:o = 0 0x1237 91 flag:a = 0 0x123b 92 if (flag:c) then 60 @ 0x1249 else 106 @ 0x123d 0x1281 93 ebp = (r13 + 1).d 0x1285 94 temp2.d = r13d 0x1285 95 cond:2 = temp2.d s> 0 0x1288 96 if (temp2.d == 0) then 120 @ 0x11af else 123 @ 0x128e 0x1260 97 edx = ecx 0x1262 98 rdx = rdx * r14 0x1266 99 rdx = rdx u>> 0x23 0x126a 100 eax = eax - edx 0x126c 101 eax = (rax + (rax << 2)).d 0x126f 102 eax = (rcx + (rax << 1)).d 0x1272 103 cond:1 = ecx u> 9 0x1275 104 ecx = edx 0x1277 105 if (cond:1) then 97 @ 0x1260 else 81 @ 0x127b 0x123d 106 eax = ebx 0x123f 107 temp3.d:temp4.d = sx.q(eax) 0x123f 108 edx = temp3.d 0x123f 109 eax = temp4.d 0x1240 110 temp5.d = edx 0x1240 111 temp6.d = eax 0x1240 112 temp0.d = divs.dp.d(temp5.d:temp6.d, ecx) 0x1240 113 temp7.d = edx 0x1240 114 temp8.d = eax 0x1240 115 temp1.d = mods.dp.d(temp7.d:temp8.d, ecx) 0x1240 116 eax = temp0.d 0x1240 117 edx = temp1.d 0x1242 118 ecx = ecx + 1 0x1247 119 if (edx != 0) then 84 @ 0x1230 else 60 @ 0x1249 0x11af 120 ebp = 1 0x11b4 121 rdi = r15 0x11b4 122 goto 126 @ 0x11b7 0x128e 123 rdi = r12 0x1291 124 r13d = ebp 0x1294 125 if (cond:2) then 126 @ 0x11b7 else 132 @ 0x129a 0x11b7 126 esi = ebx 0x11b9 127 eax = 0 0x11bb 128 call(0x1030) 0x11c0 129 xmm2 = zx.o([0x2008].q) 0x11c8 130 r13d = ebp 0x11cb 131 goto 72 @ 0x11d0 0x129a 132 goto 72 @ 0x11d0 int64_t _fini(): 0x12c8 0 rsp = rsp - 8 0x12cc 1 rsp = rsp + 8 0x12d0 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 __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 = 0x2010 {"%d"} 0x1158 2 rsi = rsp + 4 {var_8+0x4} 0x115d 3 eax = 0 0x115f 4 call(0x1040) 0x1164 5 eax = [rsp + 4 {var_8+0x4}].d 0x116a 6 if (eax s<= 0) then 7 @ 0x1183 else 8 @ 0x116c 0x1183 7 goto 12 @ 0x11db 0x116c 8 edx = (rax - 1).d 0x116f 9 ecx = eax 0x1171 10 ecx = ecx & 7 0x1177 11 if (edx u>= 7) then 13 @ 0x1185 else 17 @ 0x1179 0x11db 12 if (eax != 0) then 19 @ 0x11e5 else 25 @ 0x11dd 0x1185 13 edx = eax 0x1187 14 edx = edx & 0xfffffff8 0x118a 15 xmm0 = zx.o([0x2008].q) 0x119c 16 goto 27 @ 0x11a0 0x1179 17 xmm0 = zx.o([0x2008].q) 0x1181 18 goto 38 @ 0x11c7 0x11e5 19 rdi = 0x2013 {"%.0lf"} 0x11ec 20 al = 1 0x11ee 21 call(0x1030) 0x11f3 22 eax = 0 0x11f5 23 rcx = pop 0x11f6 24 <return> jump(pop) 0x11dd 25 xmm0 = zx.o([0x2008].q) 0x11dd 26 goto 19 @ 0x11e5 0x11a0 27 xmm0.q = xmm0.q f+ xmm0.q 0x11a4 28 xmm0.q = xmm0.q f+ xmm0.q 0x11a8 29 xmm0.q = xmm0.q f+ xmm0.q 0x11ac 30 xmm0.q = xmm0.q f+ xmm0.q 0x11b0 31 xmm0.q = xmm0.q f+ xmm0.q 0x11b4 32 xmm0.q = xmm0.q f+ xmm0.q 0x11b8 33 xmm0.q = xmm0.q f+ xmm0.q 0x11bc 34 xmm0.q = xmm0.q f+ xmm0.q 0x11c0 35 temp0.d = edx 0x11c0 36 edx = edx - 8 0x11c3 37 if (temp0.d != 8) then 27 @ 0x11a0 else 38 @ 0x11c7 0x11c7 38 if (ecx == 0) then 12 @ 0x11db else 39 @ 0x11c9 0x11c9 39 goto 40 @ 0x11d0 0x11d0 40 xmm0.q = xmm0.q f+ xmm0.q 0x11d4 41 temp1.d = ecx 0x11d4 42 ecx = ecx - 1 0x11d7 43 if (temp1.d != 1) then 40 @ 0x11d0 else 12 @ 0x11db int64_t _fini(): 0x11fc 0 rsp = rsp - 8 0x1200 1 rsp = rsp + 8 0x1204 2 <return> jump(pop)
POJ_25
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) 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 E"} 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 - 0x20 0x1168 3 [rbp - 4 {var_c}].d = 0 0x116f 4 rdi = 0x2004 {"%d%d"} 0x1176 5 rsi = rbp - 0xc {var_14} 0x117a 6 rdx = rbp - 8 {var_10} 0x117e 7 al = 0 0x1180 8 call(0x1040) 0x1185 9 rdi = sx.q([rbp - 0xc {var_14}].d) 0x1189 10 rdi = rdi << 2 0x118d 11 call(0x1050) 0x1192 12 [rbp - 0x18 {var_20}].q = rax 0x1196 13 eax = [rbp - 8 {var_10}].d 0x1199 14 [rbp - 0x10 {var_18}].d = eax 0x1199 15 goto 16 @ 0x119c 0x119c 16 eax = [rbp - 0x10 {var_18}].d 0x11a2 17 if (eax s>= [rbp - 0xc {var_14}].d) then 18 @ 0x11d3 else 20 @ 0x11a8 0x11d3 18 [rbp - 0x10 {var_18_1}].d = 0 0x11d3 19 goto 31 @ 0x11da 0x11a8 20 rsi = [rbp - 0x18 {var_20}].q 0x11ac 21 rax = sx.q([rbp - 0x10 {var_18}].d) 0x11b0 22 rax = rax << 2 0x11b4 23 rsi = rsi + rax 0x11b7 24 rdi = 0x2006 {"%d"} 0x11be 25 al = 0 0x11c0 26 call(0x1040) 0x11c5 27 eax = [rbp - 0x10 {var_18}].d 0x11c8 28 eax = eax + 1 0x11cb 29 [rbp - 0x10 {var_18}].d = eax 0x11ce 30 goto 16 @ 0x119c 0x11da 31 eax = [rbp - 0x10 {var_18_1}].d 0x11e0 32 if (eax s>= [rbp - 8 {var_10}].d) then 33 @ 0x1211 else 35 @ 0x11e6 0x1211 33 [rbp - 0x10 {var_18_2}].d = 0 0x1211 34 goto 46 @ 0x1218 0x11e6 35 rsi = [rbp - 0x18 {var_20}].q 0x11ea 36 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x11ee 37 rax = rax << 2 0x11f2 38 rsi = rsi + rax 0x11f5 39 rdi = 0x2006 {"%d"} 0x11fc 40 al = 0 0x11fe 41 call(0x1040) 0x1203 42 eax = [rbp - 0x10 {var_18_1}].d 0x1206 43 eax = eax + 1 0x1209 44 [rbp - 0x10 {var_18_1}].d = eax 0x120c 45 goto 31 @ 0x11da 0x1218 46 eax = [rbp - 0x10 {var_18_2}].d 0x121e 47 if (eax s>= [rbp - 0xc {var_14}].d) then 48 @ 0x127f else 52 @ 0x1224 0x127f 48 eax = 0 0x1281 49 rsp = rsp + 0x20 0x1285 50 rbp = pop 0x1286 51 <return> jump(pop) 0x1224 52 eax = [rbp - 0x10 {var_18_2}].d 0x1227 53 ecx = [rbp - 0xc {var_14}].d 0x122a 54 ecx = ecx - 1 0x122f 55 if (eax s>= ecx) then 56 @ 0x1253 else 63 @ 0x1235 0x1253 56 rax = [rbp - 0x18 {var_20}].q 0x1257 57 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x125b 58 esi = [rax + (rcx << 2)].d 0x125e 59 rdi = 0x2006 {"%d"} 0x1265 60 al = 0 0x1267 61 call(0x1030) 0x1267 62 goto 70 @ 0x126c 0x1235 63 rax = [rbp - 0x18 {var_20}].q 0x1239 64 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x123d 65 esi = [rax + (rcx << 2)].d 0x1240 66 rdi = 0x2009 {"%d "} 0x1247 67 al = 0 0x1249 68 call(0x1030) 0x124e 69 goto 70 @ 0x126c 0x126c 70 goto 71 @ 0x1271 0x1271 71 eax = [rbp - 0x10 {var_18_2}].d 0x1274 72 eax = eax + 1 0x1277 73 [rbp - 0x10 {var_18_2}].d = eax 0x127a 74 goto 46 @ 0x1218 int64_t _fini(): 0x128c 0 rsp = rsp - 8 0x1290 1 rsp = rsp + 8 0x1294 2 <return> jump(pop)
POJ_52
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 - 0x300 0x116b 3 rdi = rbp - 0x220 {var_228} 0x1172 4 al = 0 0x1174 5 call(0x1050) 0x1179 6 rdi = rbp - 0x290 {var_298} 0x1180 7 al = 0 0x1182 8 call(0x1050) 0x1187 9 rdi = rbp - 0x300 {var_308} 0x118e 10 al = 0 0x1190 11 call(0x1050) 0x1195 12 rdi = rbp - 0x220 {var_228} 0x119c 13 call(0x1040) 0x11a1 14 [rbp - 4 {var_c}].d = eax 0x11a4 15 rdi = rbp - 0x290 {var_298} 0x11ab 16 call(0x1040) 0x11b0 17 [rbp - 8 {var_10}].d = eax 0x11b3 18 rdi = rbp - 0x300 {var_308} 0x11ba 19 call(0x1040) 0x11bf 20 [rbp - 0xc {var_14}].d = eax 0x11c2 21 [rbp - 0x10 {var_18}].d = 0 0x11c2 22 goto 23 @ 0x11c9 0x11c9 23 eax = [rbp - 0x10 {var_18}].d 0x11cf 24 if (eax s>= [rbp - 4 {var_c}].d) then 25 @ 0x11f2 else 27 @ 0x11d5 0x11f2 25 [rbp - 0x10 {var_18_1}].d = 0 0x11f2 26 goto 33 @ 0x11f9 0x11d5 27 rax = sx.q([rbp - 0x10 {var_18}].d) 0x11d9 28 [rbp + (rax << 2) - 0x1b0].d = 0 0x11e4 29 eax = [rbp - 0x10 {var_18}].d 0x11e7 30 eax = eax + 1 0x11ea 31 [rbp - 0x10 {var_18}].d = eax 0x11ed 32 goto 23 @ 0x11c9 0x11f9 33 eax = [rbp - 0x10 {var_18_1}].d 0x11ff 34 if (eax s>= [rbp - 4 {var_c}].d) then 35 @ 0x1324 else 37 @ 0x1205 0x1324 35 [rbp - 0x10 {var_18_2}].d = 0 0x1324 36 goto 43 @ 0x132b 0x1205 37 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x1209 38 eax = [rbp + (rax << 2) - 0x1b0].d 0x1210 39 [rbp - 0x1b4 {var_1bc_1}].d = eax 0x1216 40 eax = [rbp - 0x10 {var_18_1}].d 0x1219 41 [rbp - 0x14 {var_1c_1}].d = eax 0x1219 42 goto 45 @ 0x121c 0x132b 43 eax = [rbp - 0x10 {var_18_2}].d 0x1331 44 if (eax s>= [rbp - 4 {var_c}].d) then 49 @ 0x13c8 else 52 @ 0x1337 0x121c 45 eax = [rbp - 0x14 {var_1c_1}].d 0x121f 46 ecx = [rbp - 0x10 {var_18_1}].d 0x1222 47 ecx = ecx + [rbp - 8 {var_10}].d 0x1227 48 if (eax s>= ecx) then 54 @ 0x128f else 59 @ 0x122d 0x13c8 49 rsp = rsp + 0x300 0x13cf 50 rbp = pop 0x13d0 51 <return> jump(pop) 0x1337 52 rax = sx.q([rbp - 0x10 {var_18_2}].d) 0x1343 53 if ([rbp + (rax << 2) - 0x1b0].d != 1) then 66 @ 0x1389 else 68 @ 0x1349 0x128f 54 eax = [rbp - 0x10 {var_18_1}].d 0x1292 55 eax = eax - 1 0x1295 56 rax = sx.q(eax) 0x1297 57 eax = sx.d([rbp + rax - 0x220].b) 0x12a2 58 if (eax == 0x20) then 70 @ 0x12c3 else 72 @ 0x12ac 0x122d 59 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1231 60 eax = sx.d([rbp + rax - 0x220].b) 0x1239 61 ecx = [rbp - 0x14 {var_1c_1}].d 0x123c 62 ecx = ecx - [rbp - 0x10 {var_18_1}].d 0x123f 63 rcx = sx.q(ecx) 0x1242 64 ecx = sx.d([rbp + rcx - 0x290].b) 0x124c 65 if (eax != ecx) then 73 @ 0x1266 else 77 @ 0x1252 0x1389 66 rax = sx.q([rbp - 0x10 {var_18_2}].d) 0x1395 67 if ([rbp + (rax << 2) - 0x1b0].d != 0) then 80 @ 0x13b5 else 81 @ 0x139b 0x1349 68 [rbp - 0x14 {var_1c_3}].d = 0 0x1349 69 goto 87 @ 0x1350 0x12c3 70 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x12cf 71 if ([rbp + (rax << 2) - 0x1b0].d != 1) then 89 @ 0x1311 else 90 @ 0x12d5 0x12ac 72 if ([rbp - 0x10 {var_18_1}].d == 0) then 70 @ 0x12c3 else 94 @ 0x12b2 0x1266 73 ecx = [rbp - 0x1b4 {var_1bc_1}].d 0x126c 74 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x1270 75 [rbp + (rax << 2) - 0x1b0].d = ecx 0x1277 76 goto 54 @ 0x128f 0x1252 77 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x1256 78 [rbp + (rax << 2) - 0x1b0].d = 1 0x1261 79 goto 98 @ 0x127c 0x13b5 80 goto 99 @ 0x13ba 0x139b 81 rax = sx.q([rbp - 0x10 {var_18_2}].d) 0x139f 82 esi = sx.d([rbp + rax - 0x220].b) 0x13a7 83 rdi = 0x2004 {"%c"} 0x13ae 84 al = 0 0x13b0 85 call(0x1030) 0x13b0 86 goto 80 @ 0x13b5 0x1350 87 eax = [rbp - 0x14 {var_1c_3}].d 0x1356 88 if (eax s>= [rbp - 0xc {var_14}].d) then 103 @ 0x1384 else 104 @ 0x135c 0x1311 89 goto 113 @ 0x1316 0x12d5 90 eax = [rbp - 0x10 {var_18_1}].d 0x12d8 91 eax = eax + 1 0x12db 92 [rbp - 0x14 {var_1c_2}].d = eax 0x12db 93 goto 117 @ 0x12de 0x12b2 94 ecx = [rbp - 0x1b4 {var_1bc_1}].d 0x12b8 95 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x12bc 96 [rbp + (rax << 2) - 0x1b0].d = ecx 0x12bc 97 goto 70 @ 0x12c3 0x127c 98 goto 121 @ 0x1281 0x13ba 99 eax = [rbp - 0x10 {var_18_2}].d 0x13bd 100 eax = eax + 1 0x13c0 101 [rbp - 0x10 {var_18_2}].d = eax 0x13c3 102 goto 43 @ 0x132b 0x1384 103 goto 66 @ 0x1389 0x135c 104 rax = sx.q([rbp - 0x14 {var_1c_3}].d) 0x1360 105 esi = sx.d([rbp + rax - 0x300].b) 0x1368 106 rdi = 0x2004 {"%c"} 0x136f 107 al = 0 0x1371 108 call(0x1030) 0x1376 109 eax = [rbp - 0x14 {var_1c_3}].d 0x1379 110 eax = eax + 1 0x137c 111 [rbp - 0x14 {var_1c_3}].d = eax 0x137f 112 goto 87 @ 0x1350 0x1316 113 eax = [rbp - 0x10 {var_18_1}].d 0x1319 114 eax = eax + 1 0x131c 115 [rbp - 0x10 {var_18_1}].d = eax 0x131f 116 goto 33 @ 0x11f9 0x12de 117 eax = [rbp - 0x14 {var_1c_2}].d 0x12e1 118 ecx = [rbp - 0x10 {var_18_1}].d 0x12e4 119 ecx = ecx + [rbp - 8 {var_10}].d 0x12e9 120 if (eax s>= ecx) then 125 @ 0x130c else 126 @ 0x12ef 0x1281 121 eax = [rbp - 0x14 {var_1c_1}].d 0x1284 122 eax = eax + 1 0x1287 123 [rbp - 0x14 {var_1c_1}].d = eax 0x128a 124 goto 45 @ 0x121c 0x130c 125 goto 89 @ 0x1311 0x12ef 126 rax = sx.q([rbp - 0x14 {var_1c_2}].d) 0x12f3 127 [rbp + (rax << 2) - 0x1b0].d = 2 0x12fe 128 eax = [rbp - 0x14 {var_1c_2}].d 0x1301 129 eax = eax + 1 0x1304 130 [rbp - 0x14 {var_1c_2}].d = eax 0x1307 131 goto 117 @ 0x12de int64_t _fini(): 0x13d8 0 rsp = rsp - 8 0x13dc 1 rsp = rsp + 8 0x13e0 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 {"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 %d"} 0x1168 8 rsi = rsp + 0xc {var_9c7c} 0x116d 9 rdx = rsp + 8 {var_9c80} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x1179 12 ecx = [rsp + 0xc {var_9c7c}].d 0x117d 13 eax = [rsp + 8 {var_9c80}].d 0x1183 14 if (ecx s<= 0) then 15 @ 0x11e5 else 18 @ 0x1187 0x11e5 15 edx = (rcx + rax).d 0x11e8 16 edx = edx - 1 0x11ed 17 if (edx s<= 0) then 19 @ 0x12a1 else 28 @ 0x11f5 0x1187 18 if (eax s<= 0) then 15 @ 0x11e5 else 29 @ 0x1189 0x12a1 19 eax = 0 0x12a3 20 rsp = rsp + 0x9c58 0x12aa 21 rbx = pop 0x12ab 22 r12 = pop 0x12ad 23 r13 = pop 0x12af 24 r14 = pop 0x12b1 25 r15 = pop 0x12b3 26 rbp = pop 0x12b4 27 <return> jump(pop) 0x11f5 28 if (ecx s<= 0) then 19 @ 0x12a1 else 33 @ 0x11fb 0x1189 29 r15 = rsp + 0x10 {var_9c78} 0x118e 30 r14 = 0x2007 {"%d"} 0x1195 31 r12d = 0 0x1198 32 goto 36 @ 0x11b5 0x11fb 33 r15 = 0x200a {"%d\n"} 0x1202 34 r14d = 0 0x1205 35 goto 37 @ 0x1224 0x11b5 36 if (eax s<= 0) then 38 @ 0x11a0 else 42 @ 0x11b7 0x1224 37 if (ecx s<= 0) then 45 @ 0x1210 else 50 @ 0x1228 0x11a0 38 r12 = r12 + 1 0x11a4 39 rdx = sx.q(ecx) 0x11a7 40 r15 = r15 + 0x190 0x11b1 41 if (r12 s>= rdx) then 15 @ 0x11e5 else 36 @ 0x11b5 0x11b7 42 rbx = r15 0x11ba 43 ebp = 0 0x11bc 44 goto 51 @ 0x11c0 0x1210 45 r14 = r14 + 1 0x1214 46 edx = (rcx + rax).d 0x1217 47 edx = edx - 1 0x121a 48 rdx = sx.q(edx) 0x1220 49 if (r14 s>= rdx) then 19 @ 0x12a1 else 37 @ 0x1224 0x1228 50 if (eax s<= 0) then 45 @ 0x1210 else 59 @ 0x122a 0x11c0 51 rdi = r14 0x11c3 52 rsi = rbx 0x11c6 53 eax = 0 0x11c8 54 call(0x1040) 0x11cd 55 rbp = rbp + 1 0x11d1 56 rax = sx.q([rsp + 8 {var_9c80}].d) 0x11d6 57 rbx = rbx + 4 0x11dd 58 if (rbp s< rax) then 51 @ 0x11c0 else 62 @ 0x11df 0x122a 59 rbx = r14 0x122d 60 r12d = 0 0x1230 61 goto 64 @ 0x1256 0x11df 62 ecx = [rsp + 0xc {var_9c7c}].d 0x11e3 63 goto 38 @ 0x11a0 0x1256 64 if (eax s<= 0) then 65 @ 0x1244 else 69 @ 0x1258 0x1244 65 r12 = r12 + 1 0x1248 66 rdx = sx.q(ecx) 0x124b 67 rbx = rbx - 1 0x1252 68 if (r12 s>= rdx) then 45 @ 0x1210 else 64 @ 0x1256 0x1258 69 rdx = r14 0x125b 70 temp0.q = rdx 0x125b 71 rdx = rdx - r12 0x125e 72 if (temp0.q - r12 s< 0) then 65 @ 0x1244 else 73 @ 0x1260 0x1260 73 rcx = r12 * 0x190 0x1267 74 edx = edx 0x1269 75 rcx = rcx + rsp 0x126c 76 rcx = rcx + 0x10 0x1270 77 r13 = rcx + (rdx << 2) 0x1274 78 ebp = 0 0x1276 79 goto 80 @ 0x128b 0x128b 80 if (rbx != rbp) then 81 @ 0x1280 else 83 @ 0x128d 0x1280 81 rbp = rbp + 1 0x1286 82 if (ebp s>= eax) then 89 @ 0x1240 else 80 @ 0x128b 0x128d 83 esi = [r13].d 0x1291 84 rdi = r15 0x1294 85 eax = 0 0x1296 86 call(0x1030) 0x129b 87 eax = [rsp + 8 {var_9c80}].d 0x129f 88 goto 81 @ 0x1280 0x1240 89 ecx = [rsp + 0xc {var_9c7c}].d 0x1240 90 goto 65 @ 0x1244 int64_t _fini(): 0x12bc 0 rsp = rsp - 8 0x12c0 1 rsp = rsp + 8 0x12c4 2 <return> jump(pop)
POJ_4
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 - 0x1a0 0x115c 4 rdi = 0x200b {"%d"} 0x1163 5 rsi = rsp + 0xc {var_1ac} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 ecx = [rsp + 0xc {var_1ac}].d 0x1175 9 if (ecx s<= 0) then 10 @ 0x11af else 13 @ 0x1177 0x11af 10 edx = [rsp + 0x10 {var_1a8}].d 0x11b3 11 eax = ecx 0x11b8 12 if (ecx s< 2) then 17 @ 0x11da else 19 @ 0x11ba 0x1177 13 r15 = rsp + 0x10 {var_1a8} 0x117c 14 r14 = 0x2004 {"%d\n"} 0x1183 15 ebx = 0 0x118f 16 goto 21 @ 0x1190 0x11da 17 esi = edx 0x11de 18 if (ecx s<= 0) then 29 @ 0x1209 else 31 @ 0x11e0 0x11ba 19 edi = 1 0x11bf 20 goto 33 @ 0x11c0 0x1190 21 rdi = r14 0x1193 22 rsi = r15 0x1196 23 eax = 0 0x1198 24 call(0x1040) 0x119d 25 rbx = rbx + 1 0x11a1 26 rcx = sx.q([rsp + 0xc {var_1ac}].d) 0x11a6 27 r15 = r15 + 4 0x11ad 28 if (rbx s< rcx) then 21 @ 0x1190 else 10 @ 0x11af 0x1209 29 edx = [rsp + 0x10 {var_1a8}].d 0x1210 30 if (ecx s< 2) then 35 @ 0x1232 else 44 @ 0x1212 0x11e0 31 edx = 0 0x11e2 32 goto 46 @ 0x11fd 0x11c0 33 esi = [rsp + (rdi << 2) + 0x10].d 0x11c6 34 if (edx s> esi) then 47 else 49 @ 0x11c9 0x1232 35 rdi = 0x2008 {"%d\n%d"} 0x1239 36 eax = 0 0x123b 37 call(0x1030) 0x1240 38 eax = 0 0x1242 39 rsp = rsp + 0x1a0 0x1249 40 rbx = pop 0x124a 41 r14 = pop 0x124c 42 r15 = pop 0x124e 43 <return> jump(pop) 0x1212 44 ecx = 1 0x1217 45 goto 52 @ 0x1220 0x11fd 46 if ([rsp + (rdx << 2) + 0x10].d != esi) then 54 @ 0x11f0 else 56 @ 0x11ff 0x11c6 47 esi = edx 0x11c6 48 goto 49 @ 0x11c9 0x11c9 49 rdi = rdi + 1 0x11cd 50 edx = esi 0x11d2 51 if (rax != rdi) then 33 @ 0x11c0 else 58 @ 0x11d6 0x1220 52 edi = [rsp + (rcx << 2) + 0x10].d 0x1226 53 if (edx s<= edi) then 59 else 61 @ 0x1229 0x11f0 54 rdx = rdx + 1 0x11f7 55 if (rax == rdx) then 29 @ 0x1209 else 46 @ 0x11fd 0x11ff 56 [rsp + (rdx << 2) + 0x10].d = -0x186a0 0x1207 57 goto 54 @ 0x11f0 0x11d6 58 if (ecx s> 0) then 31 @ 0x11e0 else 63 @ 0x11d8 0x1226 59 edx = edi 0x1226 60 goto 61 @ 0x1229 0x1229 61 rcx = rcx + 1 0x1230 62 if (rax != rcx) then 52 @ 0x1220 else 35 @ 0x1232 0x11d8 63 goto 29 @ 0x1209 uint64_t max(int32_t arg1, int32_t arg2): 0x1250 0 eax = esi 0x1254 1 if (edi s> esi) then 2 else 4 @ 0x1257 0x1254 2 eax = edi 0x1254 3 goto 4 @ 0x1257 0x1257 4 <return> jump(pop) int64_t _fini(): 0x125c 0 rsp = rsp - 8 0x1260 1 rsp = rsp + 8 0x1264 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 getchar(): 0x1040 0 <return> tailcall([0x4020].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 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 {"UAVSH"} 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(r14) 0x1163 2 push(rbx) 0x1164 3 rsp = rsp - 0x4b0 0x116b 4 rdi = rsp + 4 {var_4c4} 0x1170 5 r14d = 0 0x1173 6 edx = 0x4ac {""} 0x1178 7 esi = 0 0x117a 8 call(0x1050) 0x117f 9 ebx = 0 0x1181 10 ebp = 0 0x1183 11 goto 12 @ 0x1199 0x1199 12 eax = 0 0x119b 13 call(0x1040) 0x11a0 14 eax = eax << 0x18 0x11a8 15 if (eax == 0x20000000) then 16 @ 0x1195 else 17 @ 0x11af 0x1195 16 if (eax == 0x20000000) then 18 else 20 0x11af 17 if (eax == 0xa000000) then 21 @ 0x11c5 else 26 @ 0x11b1 0x1195 18 ebp = r14d 0x1195 19 goto 20 0x1195 20 goto 12 @ 0x1199 0x11c5 21 esi = [rsp + 4 {var_4c4}].d 0x11c9 22 rdi = 0x2005 {"%d"} 0x11d0 23 eax = 0 0x11d2 24 call(0x1030) 0x11da 25 if (ebx s< 2) then 32 @ 0x1206 else 37 @ 0x11dc 0x11b1 26 flag:c = ebp u< 1 0x11b4 27 ebx = adc.d(ebx, 0, flag:c) 0x11b7 28 rcx = sx.q(ebx) 0x11ba 29 [rsp + (rcx << 2)].d = [rsp + (rcx << 2)].d + 1 0x11be 30 ebp = 1 0x11c3 31 goto 16 @ 0x1195 0x1206 32 rsp = rsp + 0x4b0 0x120d 33 rbx = pop 0x120e 34 r14 = pop 0x1210 35 rbp = pop 0x1211 36 <return> jump(pop) 0x11dc 37 ebx = ebx + 1 0x11df 38 ebp = 2 0x11e4 39 r14 = 0x2004 {",%d"} 0x11eb 40 goto 41 @ 0x11f0 0x11f0 41 esi = [rsp + (rbp << 2)].d 0x11f3 42 rdi = r14 0x11f6 43 eax = 0 0x11f8 44 call(0x1030) 0x11fd 45 rbp = rbp + 1 0x1204 46 if (rbx != rbp) then 41 @ 0x11f0 else 32 @ 0x1206 int64_t _fini(): 0x1218 0 rsp = rsp - 8 0x121c 1 rsp = rsp + 8 0x1220 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) 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,%d"} 0x1168 8 rsi = rsp + 0xc {var_13c} 0x116d 9 rdx = rsp + 8 {var_140} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x1179 12 r14d = [rsp + 0xc {var_13c}].d 0x1181 13 if (r14d s<= 0) then 14 @ 0x146a else 18 @ 0x1187 0x146a 14 rdi = 0x2011 {"No"} 0x1471 15 eax = 0 0x1473 16 call(0x1030) 0x1473 17 goto 23 @ 0x1478 0x1187 18 r15 = rsp + 0x10 {var_138} 0x118c 19 eax = [rsp + 8 {var_140}].d 0x1190 20 r13 = 0x2007 {"%d"} 0x1197 21 r12d = 0 0x119a 22 goto 31 @ 0x11b2 0x1478 23 rsp = rsp + 0x118 0x147f 24 rbx = pop 0x1480 25 r12 = pop 0x1482 26 r13 = pop 0x1484 27 r14 = pop 0x1486 28 r15 = pop 0x1488 29 rbp = pop 0x1489 30 <return> jump(pop) 0x11b2 31 if (eax s<= 0) then 32 @ 0x11a0 else 36 @ 0x11b4 0x11a0 32 r12 = r12 + 1 0x11a4 33 rcx = sx.q(r14d) 0x11a7 34 r15 = r15 + 0x20 0x11ae 35 if (r12 s>= rcx) then 39 @ 0x11e9 else 31 @ 0x11b2 0x11b4 36 rbp = r15 0x11b7 37 ebx = 0 0x11b9 38 goto 40 @ 0x11c0 0x11e9 39 if (r14d s<= 0) then 14 @ 0x146a else 48 @ 0x11ef 0x11c0 40 rdi = r13 0x11c3 41 rsi = rbp 0x11c6 42 eax = 0 0x11c8 43 call(0x1040) 0x11cd 44 rbx = rbx + 1 0x11d1 45 rax = sx.q([rsp + 8 {var_140}].d) 0x11d6 46 rbp = rbp + 4 0x11dd 47 if (rbx s< rax) then 40 @ 0x11c0 else 53 @ 0x11df 0x11ef 48 r15d = 1 0x11f5 49 r12 = 0x200a {"%d+%d\n"} 0x11fc 50 esi = 0 0x11fe 51 r8d = 0 0x1201 52 goto 55 @ 0x1237 0x11df 53 r14d = [rsp + 0xc {var_13c}].d 0x11e4 54 goto 32 @ 0x11a0 0x1237 55 r9 = sx.q(esi) 0x123a 56 r9 = r9 << 5 0x123e 57 r11d = [rsp + r9 + 0x10].d 0x1243 58 eax = [rsp + 8 {var_140}].d 0x124a 59 if (eax s< 2) then 60 @ 0x129b else 61 @ 0x124c 0x129b 60 if (r14d s<= 0) then 67 @ 0x1210 else 69 @ 0x12a1 0x124c 61 r10 = rax - 1 0x1250 62 rax = rax - 2 0x1254 63 edx = r10d 0x1257 64 edx = edx & 3 0x125a 65 edi = 1 0x1263 66 if (rax u>= 3) then 72 @ 0x13f0 else 78 @ 0x126c 0x1210 67 r14d = 0 0x1210 68 goto 79 @ 0x1213 0x12a1 69 r9 = sx.q(r13d) 0x12a4 70 eax = r14d 0x12ab 71 if (r14d u>= 9) then 88 @ 0x12c0 else 93 @ 0x12ad 0x13f0 72 r10 = r10 & 0xfffffffffffffffc 0x13f4 73 rax = rsp + r9 0x13f8 74 rax = rax + 0x10 0x13fc 75 edi = 1 0x1401 76 ebx = 0 0x1403 77 goto 96 @ 0x1424 0x126c 78 if (rdx == 0) then 60 @ 0x129b else 99 @ 0x126e 0x1213 79 rdi = r12 0x1216 80 edx = r13d 0x1219 81 eax = 0 0x121b 82 call(0x1030) 0x1220 83 esi = r14d 0x1223 84 esi = esi + 1 0x1226 85 r14d = [rsp + 0xc {var_13c}].d 0x122b 86 r8b = 1 0x1231 87 if (esi s>= r14d) then 23 @ 0x1478 else 55 @ 0x1237 0x12c0 88 ecx = eax 0x12c2 89 ecx = ecx & 7 0x12c5 90 cond:0 = rcx == 0 0x12c8 91 edx = 8 0x12cd 92 if (cond:0) then 102 else 104 @ 0x12d1 0x12ad 93 edx = 0 0x12af 94 edi = 0 0x12b1 95 goto 114 @ 0x13b1 0x1424 96 ebp = [rax + (rdi << 2)].d 0x1427 97 cond:1 = r11d s< ebp 0x142a 98 if (r11d s< ebp) then 120 else 122 @ 0x142e 0x126e 99 rax = rsp + r9 0x1272 100 rax = rax + 0x10 0x1276 101 goto 124 @ 0x1280 0x12cd 102 rcx = rdx 0x12cd 103 goto 104 @ 0x12d1 0x12d1 104 rdx = rax 0x12d4 105 rdx = rdx - rcx 0x12d7 106 xmm0 = r11d 0x12dc 107 xmm2 = _mm_shuffle_epi32(xmm0, 0) 0x12e1 108 rcx = rsp + 0xf0 {var_58} 0x12e9 109 rbx = rcx + (r9 << 2) 0x12ed 110 xmm0 = 0 0x12f1 111 rdi = rdx 0x12f4 112 xmm1 = 0 0x12f8 113 goto 127 @ 0x1300 0x13b1 114 rax = rax - rdx 0x13b4 115 rdx = rdx << 5 0x13b8 116 rcx = rsp + rdx 0x13bc 117 rcx = rcx + 0x10 0x13c0 118 rdx = rcx + (r9 << 2) 0x13ce 119 goto 157 @ 0x13d3 0x142a 120 r13d = edi 0x142a 121 goto 122 @ 0x142e 0x142e 122 ecx = [rax + (rdi << 2) + 4].d 0x1432 123 if (cond:1) then 158 else 160 @ 0x1439 0x1280 124 ecx = [rax + (rdi << 2)].d 0x1283 125 cond:2 = r11d s< ecx 0x1286 126 if (r11d s< ecx) then 161 else 163 @ 0x128a 0x1300 127 xmm3 = [rbx - 0x80].d 0x1305 128 xmm4 = [rbx - 0xa0].d 0x130d 129 xmm4 = _mm_unpacklo_epi32(xmm4, xmm3.q) 0x1311 130 xmm3 = [rbx - 0xc0].d 0x1319 131 xmm5 = [rbx - 0xe0].d 0x1321 132 xmm5 = _mm_unpacklo_epi32(xmm5, xmm3.q) 0x1325 133 xmm5 = _mm_unpacklo_epi64(xmm5, xmm4.q) 0x1329 134 xmm3 = [rbx].d 0x132d 135 xmm4 = [rbx - 0x20].d 0x1332 136 xmm4 = _mm_unpacklo_epi32(xmm4, xmm3.q) 0x1336 137 xmm3 = [rbx - 0x40].d 0x133b 138 xmm6 = [rbx - 0x60].d 0x1340 139 xmm6 = _mm_unpacklo_epi32(xmm6, xmm3.q) 0x1344 140 xmm6 = _mm_unpacklo_epi64(xmm6, xmm4.q) 0x1348 141 xmm3 = xmm2 0x134c 142 xmm3 = _mm_cmpgt_epi32(xmm3, xmm5) 0x1350 143 xmm4 = xmm2 0x1354 144 xmm4 = _mm_cmpgt_epi32(xmm4, xmm6) 0x1358 145 xmm5 = xmm3 0x135c 146 xmm5 = xmm5 & not.o(xmm0) 0x1360 147 xmm0 = xmm5 0x1364 148 xmm0 = _mm_sub_epi32(xmm0, xmm3) 0x1368 149 xmm3 = xmm4 0x136c 150 xmm3 = xmm3 & not.o(xmm1) 0x1370 151 xmm1 = xmm3 0x1374 152 xmm1 = _mm_sub_epi32(xmm1, xmm4) 0x1378 153 rbx = rbx + 0x100 0x137f 154 temp0.q = rdi 0x137f 155 rdi = rdi - 8 0x1383 156 if (temp0.q != 8) then 127 @ 0x1300 else 164 @ 0x1389 0x13d3 157 if ([rdx].d s< r11d) then 175 else 177 @ 0x13d7 0x1432 158 r11d = ebp 0x1432 159 goto 160 @ 0x1439 0x1439 160 if (r11d s< ecx) then 181 @ 0x1440 else 183 @ 0x143b 0x1286 161 r13d = edi 0x1286 162 goto 163 @ 0x128a 0x128a 163 if (cond:2) then 185 else 187 @ 0x128e 0x1389 164 xmm2 = xmm0 0x138d 165 xmm3 = 0 0x1391 166 xmm2 = _mm_cmpeq_epi32(xmm2, xmm3) 0x1395 167 xmm1 = xmm1 & xmm2 0x1399 168 xmm2 = xmm2 & not.o(xmm0) 0x139d 169 xmm2 = xmm2 | xmm1 0x13a1 170 xmm2 = _mm_cmpeq_epi32(xmm2, xmm3) 0x13a5 171 ecx = _mm_movemask_ps(xmm2) 0x13a8 172 edi = 0 0x13ad 173 dil = ecx != 0xf 0x13ad 174 goto 114 @ 0x13b1 0x13d3 175 edi = r15d 0x13d3 176 goto 177 @ 0x13d7 0x13d7 177 rdx = rdx + 0x20 0x13db 178 temp1.q = rax 0x13db 179 rax = rax - 1 0x13df 180 if (temp1.q != 1) then 157 @ 0x13d3 else 191 @ 0x13e4 0x1440 181 r13d = (rdi + 1).d 0x1440 182 goto 192 @ 0x1444 0x143b 183 ecx = r11d 0x143e 184 goto 192 @ 0x1444 0x128a 185 r11d = ecx 0x128a 186 goto 187 @ 0x128e 0x128e 187 rdi = rdi + 1 0x1292 188 temp2.q = rdx 0x1292 189 rdx = rdx - 1 0x1296 190 if (temp2.q != 1) then 124 @ 0x1280 else 60 @ 0x129b 0x13e4 191 if (edi != 1) then 79 @ 0x1213 else 194 @ 0x13ea 0x1444 192 ebp = [rax + (rdi << 2) + 8].d 0x144a 193 if (ecx s< ebp) then 195 @ 0x1450 else 197 @ 0x144c 0x13ea 194 goto 199 @ 0x1468 0x1450 195 r13d = (rdi + 2).d 0x1450 196 goto 200 @ 0x1454 0x144c 197 ebp = ecx 0x144e 198 goto 200 @ 0x1454 0x1468 199 if ((r8b & 1) != 0) then 23 @ 0x1478 else 14 @ 0x146a 0x1454 200 r11d = [rax + (rdi << 2) + 0xc].d 0x145c 201 if (ebp s>= r11d) then 202 @ 0x1410 else 204 @ 0x145e 0x1410 202 r11d = ebp 0x1410 203 goto 206 @ 0x1413 0x145e 204 r13d = (rdi + 3).d 0x1462 205 goto 206 @ 0x1413 0x1413 206 rdi = rdi + 4 0x1417 207 rbx = rbx + 4 0x141e 208 if (rbx == r10) then 78 @ 0x126c else 96 @ 0x1424 int64_t _fini(): 0x1490 0 rsp = rsp - 8 0x1494 1 rsp = rsp + 8 0x1498 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 = 0x14b0 {"UAWAVAUATSHhH=[ "} 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) uint64_t min1(int32_t arg1, int32_t arg2): 0x1152 0 if (esi s<= 0) then 1 @ 0x116e else 3 @ 0x1154 0x116e 1 eax = 0x2710 {""} 0x1173 2 <return> jump(pop) 0x1154 3 r8 = sx.q(edi) 0x1157 4 ecx = esi 0x115c 5 if (esi u>= 8) then 6 @ 0x1174 else 13 @ 0x115e 0x1174 6 r9d = ecx 0x1177 7 r9d = r9d & 0xfffffff8 0x117b 8 rax = r9 - 8 0x117f 9 rdx = rax 0x1182 10 rdx = rdx u>> 3 0x1186 11 rdx = rdx + 1 0x118d 12 if (rax == 0) then 16 @ 0x1302 else 20 @ 0x1193 0x115e 13 eax = 0x2710 {""} 0x1163 14 r9d = 1 0x1169 15 goto 29 @ 0x12cd 0x1302 16 xmm0 = [0x2010].o 0x130a 17 edi = 1 0x130f 18 xmm1 = xmm0 0x1316 19 if ((dl & 1) != 0) then 37 @ 0x1236 else 53 @ 0x131c 0x1193 20 rax = rdx 0x1196 21 rax = rax & 0xfffffffffffffffe 0x119a 22 rdi = r8 * 0xfa0 0x11a1 23 rsi = 0x4050 {""} 0x11a8 24 rsi = rsi + rdi 0x11ab 25 xmm0 = [0x2010].o 0x11b3 26 edi = 1 0x11b8 27 xmm1 = xmm0 0x11bc 28 goto 54 @ 0x11c0 0x12cd 29 rcx = rcx + 1 0x12d1 30 rdx = r8 * 0xfa0 0x12d8 31 rsi = 0x4050 {""} 0x12df 32 rsi = rsi + rdx 0x12e2 33 rdx = rsi + (r9 << 2) 0x12e6 34 rcx = rcx - r9 0x12e9 35 esi = 0 0x12eb 36 goto 82 @ 0x12f0 0x1236 37 rax = r8 * 0xfa0 0x123d 38 rdx = 0x4050 {""} 0x1244 39 rdx = rdx + rax 0x1247 40 xmm2 = [rdx + (rdi << 2)].o 0x124c 41 xmm3 = [rdx + (rdi << 2) + 0x10].o 0x1252 42 xmm4 = xmm2 0x1256 43 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0) 0x125a 44 xmm0 = xmm0 & xmm4 0x125e 45 xmm4 = xmm4 & not.o(xmm2) 0x1262 46 xmm0 = xmm0 | xmm4 0x1266 47 xmm2 = xmm3 0x126a 48 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x126e 49 xmm1 = xmm1 & xmm2 0x1272 50 xmm2 = xmm2 & not.o(xmm3) 0x1276 51 xmm1 = xmm1 | xmm2 0x1276 52 goto 84 @ 0x127a 0x131c 53 goto 84 @ 0x127a 0x11c0 54 xmm2 = [rsi + (rdi << 2)].o 0x11c5 55 xmm3 = [rsi + (rdi << 2) + 0x10].o 0x11cb 56 xmm4 = [rsi + (rdi << 2) + 0x20].o 0x11d1 57 xmm5 = [rsi + (rdi << 2) + 0x30].o 0x11d7 58 xmm6 = xmm2 0x11db 59 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0) 0x11df 60 xmm0 = xmm0 & xmm6 0x11e3 61 xmm6 = xmm6 & not.o(xmm2) 0x11e7 62 xmm6 = xmm6 | xmm0 0x11eb 63 xmm2 = xmm3 0x11ef 64 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x11f3 65 xmm1 = xmm1 & xmm2 0x11f7 66 xmm2 = xmm2 & not.o(xmm3) 0x11fb 67 xmm2 = xmm2 | xmm1 0x11ff 68 xmm0 = xmm4 0x1203 69 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6) 0x1207 70 xmm6 = xmm6 & xmm0 0x120b 71 xmm0 = xmm0 & not.o(xmm4) 0x120f 72 xmm0 = xmm0 | xmm6 0x1213 73 xmm1 = xmm5 0x1217 74 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x121b 75 xmm2 = xmm2 & xmm1 0x121f 76 xmm1 = xmm1 & not.o(xmm5) 0x1223 77 xmm1 = xmm1 | xmm2 0x1227 78 rdi = rdi + 0x10 0x122b 79 temp0.q = rax 0x122b 80 rax = rax - 2 0x122f 81 if (temp0.q != 2) then 54 @ 0x11c0 else 103 @ 0x1234 0x12f0 82 edi = [rdx + (rsi << 2)].d 0x12f5 83 if (eax s> edi) then 104 else 106 @ 0x12f8 0x127a 84 xmm2 = xmm1 0x127e 85 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x1282 86 xmm0 = xmm0 & xmm2 0x1286 87 xmm2 = xmm2 & not.o(xmm1) 0x128a 88 xmm2 = xmm2 | xmm0 0x128e 89 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x1293 90 xmm1 = xmm0 0x1297 91 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x129b 92 xmm2 = xmm2 & xmm1 0x129f 93 xmm1 = xmm1 & not.o(xmm0) 0x12a3 94 xmm1 = xmm1 | xmm2 0x12a7 95 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x12ac 96 xmm2 = xmm0 0x12b0 97 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x12b4 98 xmm1 = xmm1 & xmm2 0x12b8 99 xmm2 = xmm2 & not.o(xmm0) 0x12bc 100 xmm2 = xmm2 | xmm1 0x12c0 101 eax = xmm2.d 0x12c7 102 if (rcx == r9) then 108 @ 0x1301 else 109 @ 0x12c9 0x1234 103 if ((dl & 1) == 0) then 84 @ 0x127a else 37 @ 0x1236 0x12f5 104 eax = edi 0x12f5 105 goto 106 @ 0x12f8 0x12f8 106 rsi = rsi + 1 0x12ff 107 if (rcx != rsi) then 82 @ 0x12f0 else 108 @ 0x1301 0x1301 108 <return> jump(pop) 0x12c9 109 r9 = r9 | 1 0x12c9 110 goto 29 @ 0x12cd uint64_t min2(int32_t arg1, int32_t arg2): 0x1332 0 if (esi s<= 0) then 1 @ 0x134d else 3 @ 0x1334 0x134d 1 eax = 0x2710 {""} 0x1352 2 <return> jump(pop) 0x1334 3 r8 = sx.q(edi) 0x1337 4 ecx = esi 0x133c 5 if (esi u>= 8) then 6 @ 0x1353 else 16 @ 0x133e 0x1353 6 edx = ecx 0x1355 7 edx = edx & 0xfffffff8 0x1358 8 rsi = rdx + 1 0x135c 9 rax = 0x4050 {""} 0x1363 10 rax = rax + (r8 << 2) 0x1367 11 rax = rax + 0x7d00 0x136d 12 xmm0 = [0x2010].o 0x1375 13 rdi = rdx 0x1378 14 xmm1 = xmm0 0x137c 15 goto 19 @ 0x1380 0x133e 16 eax = 0x2710 {""} 0x1343 17 esi = 1 0x1348 18 goto 51 @ 0x146b 0x1380 19 xmm2 = [rax - 0x3e80].d 0x1388 20 xmm3 = [rax - 0x4e20].d 0x1390 21 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1394 22 xmm2 = [rax - 0x5dc0].d 0x139c 23 xmm4 = [rax - 0x6d60].d 0x13a4 24 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x13a8 25 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x13ac 26 xmm2 = [rax].d 0x13b0 27 xmm3 = [rax - 0xfa0].d 0x13b8 28 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x13bc 29 xmm2 = [rax - 0x1f40].d 0x13c4 30 xmm5 = [rax - 0x2ee0].d 0x13cc 31 xmm5 = _mm_unpacklo_epi32(xmm5, xmm2.q) 0x13d0 32 xmm5 = _mm_unpacklo_epi64(xmm5, xmm3.q) 0x13d4 33 xmm2 = xmm4 0x13d8 34 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x13dc 35 xmm3 = xmm0 0x13e0 36 xmm3 = xmm3 & xmm2 0x13e4 37 xmm2 = xmm2 & not.o(xmm4) 0x13e8 38 xmm0 = xmm2 0x13ec 39 xmm0 = xmm0 | xmm3 0x13f0 40 xmm2 = xmm5 0x13f4 41 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x13f8 42 xmm3 = xmm1 0x13fc 43 xmm3 = xmm3 & xmm2 0x1400 44 xmm2 = xmm2 & not.o(xmm5) 0x1404 45 xmm1 = xmm2 0x1408 46 xmm1 = xmm1 | xmm3 0x140c 47 rax = rax + 0x7d00 0x1412 48 temp0.q = rdi 0x1412 49 rdi = rdi - 8 0x1416 50 if (temp0.q != 8) then 19 @ 0x1380 else 58 @ 0x141c 0x146b 51 rcx = rcx + 1 0x146f 52 rdx = rsi * 0xfa0 0x1476 53 rdi = 0x4050 {""} 0x147d 54 rdi = rdi + rdx 0x1480 55 rdx = rdi + (r8 << 2) 0x1484 56 rcx = rcx - rsi 0x1487 57 goto 77 @ 0x1490 0x141c 58 xmm2 = xmm1 0x1420 59 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x1424 60 xmm0 = xmm0 & xmm2 0x1428 61 xmm2 = xmm2 & not.o(xmm1) 0x142c 62 xmm2 = xmm2 | xmm0 0x1430 63 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x1435 64 xmm1 = xmm0 0x1439 65 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x143d 66 xmm2 = xmm2 & xmm1 0x1441 67 xmm1 = xmm1 & not.o(xmm0) 0x1445 68 xmm1 = xmm1 | xmm2 0x1449 69 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x144e 70 xmm2 = xmm0 0x1452 71 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1456 72 xmm1 = xmm1 & xmm2 0x145a 73 xmm2 = xmm2 & not.o(xmm0) 0x145e 74 xmm2 = xmm2 | xmm1 0x1462 75 eax = xmm2.d 0x1469 76 if (rcx == rdx) then 79 @ 0x14a4 else 51 @ 0x146b 0x1490 77 esi = [rdx].d 0x1494 78 if (eax s> esi) then 80 else 82 @ 0x1497 0x14a4 79 <return> jump(pop) 0x1494 80 eax = esi 0x1494 81 goto 82 @ 0x1497 0x1497 82 rdx = rdx + 0xfa0 0x149e 83 temp1.q = rcx 0x149e 84 rcx = rcx - 1 0x14a2 85 if (temp1.q != 1) then 77 @ 0x1490 else 79 @ 0x14a4 int32_t main(int32_t argc, char** argv, char** envp): 0x14b0 0 push(rbp) 0x14b1 1 push(r15) 0x14b3 2 push(r14) 0x14b5 3 push(r13) 0x14b7 4 push(r12) 0x14b9 5 push(rbx) 0x14ba 6 rsp = rsp - 0x68 0x14be 7 rdi = 0x2020 {"%d"} 0x14c5 8 rsi = rsp + 0xc {var_8c} 0x14ca 9 eax = 0 0x14cc 10 call(0x1040) 0x14d1 11 ecx = [rsp + 0xc {var_8c}].d 0x14d7 12 if (ecx s<= 0) then 13 @ 0x1cfd else 22 @ 0x14dd 0x1cfd 13 eax = 0 0x1cff 14 rsp = rsp + 0x68 0x1d03 15 rbx = pop 0x1d04 16 r12 = pop 0x1d06 17 r13 = pop 0x1d08 18 r14 = pop 0x1d0a 19 r15 = pop 0x1d0c 20 rbp = pop 0x1d0d 21 <return> jump(pop) 0x14dd 22 r12 = 0x4050 {""} 0x14e4 23 xmm7 = [0x2010].o 0x14ec 24 r13 = 0x2020 {"%d"} 0x14f3 25 eax = 0 0x14f5 26 goto 27 @ 0x1529 0x1529 27 esi = 0 0x152b 28 cond:0 = ecx s<= 0 0x152d 29 [rsp + 0x38 {var_60_1}].d = eax 0x1531 30 if (cond:0) then 31 @ 0x1500 else 39 @ 0x1533 0x1500 31 rdi = 0x2023 {"%d\n"} 0x1507 32 eax = 0 0x1509 33 call(0x1030) 0x150e 34 xmm7 = [0x2010].o 0x1516 35 eax = [rsp + 0x38 {var_60_1}].d 0x151a 36 eax = eax + 1 0x151d 37 ecx = [rsp + 0xc {var_8c}].d 0x1523 38 if (eax s>= ecx) then 13 @ 0x1cfd else 27 @ 0x1529 0x1533 39 r14d = 1 0x1539 40 r15 = 0x4ff4 {""} 0x1540 41 goto 42 @ 0x1568 0x1568 42 if (ecx s<= 0) then 43 @ 0x1550 else 49 @ 0x156a 0x1550 43 rax = sx.q(ecx) 0x1553 44 rdx = r14 + 1 0x1557 45 r15 = r15 + 0xfa0 0x155e 46 cond:1 = r14 s>= rax 0x1561 47 r14 = rdx 0x1564 48 if (cond:1) then 52 @ 0x15a0 else 42 @ 0x1568 0x156a 49 rbp = r15 0x156d 50 ebx = 0 0x156f 51 goto 55 @ 0x1570 0x15a0 52 cond:2 = ecx s< 2 0x15a3 53 esi = 0 0x15a8 54 if (cond:2) then 31 @ 0x1500 else 63 @ 0x15ae 0x1570 55 rdi = r13 0x1573 56 rsi = rbp 0x1576 57 eax = 0 0x1578 58 call(0x1040) 0x157d 59 rcx = sx.q([rsp + 0xc {var_8c}].d) 0x1582 60 rbx = rbx + 1 0x1586 61 rbp = rbp + 4 0x158d 62 if (rbx s< rcx) then 55 @ 0x1570 else 68 @ 0x158f 0x15ae 63 eax = ecx 0x15b0 64 ecx = ecx + 1 0x15b3 65 r10 = rax - 8 0x15b7 66 esi = 0 0x15b9 67 goto 70 @ 0x15c0 0x158f 68 xmm7 = [0x2010].o 0x1597 69 goto 43 @ 0x1550 0x15c0 70 [rsp + 0x3c {var_5c_1}].d = esi 0x15c4 71 r15d = ecx 0x15c7 72 r13 = r15 - 9 0x15cb 73 rdx = r13 0x15ce 74 rdx = rdx u>> 3 0x15d2 75 rdx = rdx + 1 0x15d6 76 rcx = rdx 0x15d9 77 rcx = rcx & 0xfffffffffffffffe 0x15dd 78 [rsp + 0x40 {var_58_1}].q = rcx 0x15e2 79 ecx = eax 0x15e4 80 ecx = ecx & 3 0x15e7 81 rsi = rcx * 0xfa0 0x15ee 82 rbp = r15 - 1 0x15f2 83 r11 = rbp 0x15f5 84 r11 = r11 & 0xfffffffffffffffc 0x15f9 85 r11 = neg.q(r11) 0x15fc 86 rdi = rax 0x15ff 87 rdi = rdi & 0xfffffffffffffff8 0x1603 88 [rsp + 0x50 {var_48_1}].q = r10 0x1608 89 r10 = r10 u>> 3 0x160c 90 r10 = r10 + 1 0x1610 91 r10 = r10 & 0xfffffffffffffffe 0x1614 92 [rsp + 0x60 {var_38_1}].q = r10 0x1619 93 rcx = r15 - 2 0x161d 94 [rsp + 0x58 {var_40_1}].q = rcx 0x1622 95 rcx = rax - 8 0x1626 96 [rsp + 0x28 {var_70_1}].q = rcx 0x162b 97 rcx = rcx u>> 3 0x162f 98 rcx = rcx + 1 0x1633 99 [rsp + 0x48 {var_50_1}].q = rdi 0x1638 100 rdi = rdi + 1 0x163c 101 [rsp + 0x20 {var_78_1}].q = rdi 0x1641 102 rdi = rbp 0x1644 103 [rsp + 0x10 {var_88_1}].q = rbp 0x1649 104 rbp = rbp & 0xfffffffffffffff8 0x164d 105 [rsp + 0x30 {var_68_1}].q = rbp 0x1652 106 rdi = rbp + 1 0x1656 107 [rsp + 0x18 {var_80_1}].q = rdi 0x165b 108 r10 = rax + 1 0x165f 109 r9d = 1 0x1665 110 r8 = 0x4ff0 {""} 0x166c 111 r14 = 0x5024 {""} 0x1673 112 goto 113 @ 0x169b 0x169b 113 edi = 0x2710 {""} 0x16a0 114 ebx = 1 0x16a9 115 if (rax u< 8) then 116 @ 0x1800 else 118 @ 0x16b5 0x1800 116 ebp = [r8 + (rbx << 2)].d 0x1806 117 if (edi s> ebp) then 119 else 121 @ 0x1809 0x16b5 118 if ([rsp + 0x28 {var_70_1}].q u>= 8) then 123 @ 0x16d0 else 128 @ 0x16b7 0x1806 119 edi = ebp 0x1806 120 goto 121 @ 0x1809 0x1809 121 rbx = rbx + 1 0x1810 122 if (r10 != rbx) then 116 @ 0x1800 else 132 @ 0x1812 0x16d0 123 rbx = [rsp + 0x60 {var_38_1}].q 0x16d5 124 edi = 0 0x16d7 125 xmm0 = xmm7 0x16db 126 xmm1 = xmm7 0x16df 127 goto 134 @ 0x16e0 0x16b7 128 edi = 0 0x16b9 129 xmm0 = xmm7 0x16bd 130 xmm1 = xmm7 0x16c1 131 goto 162 @ 0x1758 0x1812 132 ebx = 1 0x181d 133 if ([rsp + 0x10 {var_88_1}].q u< 8) then 163 @ 0x18f0 else 166 @ 0x1823 0x16e0 134 xmm2 = [r14 + (rdi << 2) - 0x30].o 0x16e7 135 xmm3 = [r14 + (rdi << 2) - 0x20].o 0x16ee 136 xmm4 = [r14 + (rdi << 2) - 0x10].o 0x16f5 137 xmm5 = [r14 + (rdi << 2)].o 0x16fb 138 xmm6 = xmm2 0x16ff 139 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0) 0x1703 140 xmm0 = xmm0 & xmm6 0x1707 141 xmm6 = xmm6 & not.o(xmm2) 0x170b 142 xmm6 = xmm6 | xmm0 0x170f 143 xmm2 = xmm3 0x1713 144 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1717 145 xmm1 = xmm1 & xmm2 0x171b 146 xmm2 = xmm2 & not.o(xmm3) 0x171f 147 xmm2 = xmm2 | xmm1 0x1723 148 xmm0 = xmm4 0x1727 149 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6) 0x172b 150 xmm6 = xmm6 & xmm0 0x172f 151 xmm0 = xmm0 & not.o(xmm4) 0x1733 152 xmm0 = xmm0 | xmm6 0x1737 153 xmm1 = xmm5 0x173b 154 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x173f 155 xmm2 = xmm2 & xmm1 0x1743 156 xmm1 = xmm1 & not.o(xmm5) 0x1747 157 xmm1 = xmm1 | xmm2 0x174b 158 rdi = rdi + 0x10 0x174f 159 temp0.q = rbx 0x174f 160 rbx = rbx - 2 0x1753 161 if (temp0.q != 2) then 134 @ 0x16e0 else 162 @ 0x1758 0x1758 162 if ((cl & 1) == 0) then 169 @ 0x179f else 189 @ 0x175a 0x18f0 163 [r8 + (rbx << 2)].d = [r8 + (rbx << 2)].d - edi 0x18f4 164 rbx = rbx + 1 0x18fb 165 if (r15 != rbx) then 163 @ 0x18f0 else 206 @ 0x18fd 0x1823 166 xmm0 = edi 0x1827 167 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x1830 168 if (r13 u>= 8) then 207 @ 0x1840 else 210 @ 0x1832 0x179f 169 xmm2 = xmm1 0x17a3 170 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x17a7 171 xmm0 = xmm0 & xmm2 0x17ab 172 xmm2 = xmm2 & not.o(xmm1) 0x17af 173 xmm2 = xmm2 | xmm0 0x17b3 174 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x17b8 175 xmm1 = xmm0 0x17bc 176 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x17c0 177 xmm2 = xmm2 & xmm1 0x17c4 178 xmm1 = xmm1 & not.o(xmm0) 0x17c8 179 xmm1 = xmm1 | xmm2 0x17cc 180 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x17d1 181 xmm2 = xmm0 0x17d5 182 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x17d9 183 xmm1 = xmm1 & xmm2 0x17dd 184 xmm2 = xmm2 & not.o(xmm0) 0x17e1 185 xmm2 = xmm2 | xmm1 0x17e5 186 edi = xmm2.d 0x17e9 187 rbx = [rsp + 0x20 {var_78_1}].q 0x17f3 188 if (rax == [rsp + 0x48 {var_50_1}].q) then 132 @ 0x1812 else 212 @ 0x17ff 0x175a 189 rdi = rdi << 2 0x175e 190 rbx = r9 * 0xfa0 0x1765 191 rbx = rbx + r12 0x1768 192 rdi = rdi | 4 0x176c 193 xmm2 = [rdi + rbx].o 0x1771 194 xmm3 = [rdi + rbx + 0x10].o 0x1777 195 xmm4 = xmm2 0x177b 196 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0) 0x177f 197 xmm0 = xmm0 & xmm4 0x1783 198 xmm4 = xmm4 & not.o(xmm2) 0x1787 199 xmm0 = xmm0 | xmm4 0x178b 200 xmm2 = xmm3 0x178f 201 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1793 202 xmm1 = xmm1 & xmm2 0x1797 203 xmm2 = xmm2 & not.o(xmm3) 0x179b 204 xmm1 = xmm1 | xmm2 0x179b 205 goto 169 @ 0x179f 0x18fd 206 goto 213 @ 0x1680 0x1840 207 rbp = [rsp + 0x40 {var_58_1}].q 0x1845 208 ebx = 0 0x1847 209 goto 217 @ 0x1850 0x1832 210 ebx = 0 0x1834 211 goto 233 @ 0x18a3 0x17ff 212 goto 116 @ 0x1800 0x1680 213 r9 = r9 + 1 0x1684 214 r14 = r14 + 0xfa0 0x168b 215 r8 = r8 + 0xfa0 0x1695 216 if (r9 == r15) then 234 @ 0x1910 else 113 @ 0x169b 0x1850 217 xmm1 = [r14 + (rbx << 2) - 0x30].o 0x1857 218 xmm2 = [r14 + (rbx << 2) - 0x20].o 0x185e 219 xmm3 = [r14 + (rbx << 2) - 0x10].o 0x1865 220 xmm4 = [r14 + (rbx << 2)].o 0x186b 221 xmm1 = _mm_sub_epi32(xmm1, xmm0) 0x186f 222 xmm2 = _mm_sub_epi32(xmm2, xmm0) 0x1873 223 [r14 + (rbx << 2) - 0x30].o = xmm1 0x187a 224 [r14 + (rbx << 2) - 0x20].o = xmm2 0x1881 225 xmm3 = _mm_sub_epi32(xmm3, xmm0) 0x1885 226 xmm4 = _mm_sub_epi32(xmm4, xmm0) 0x1889 227 [r14 + (rbx << 2) - 0x10].o = xmm3 0x1890 228 [r14 + (rbx << 2)].o = xmm4 0x1896 229 rbx = rbx + 0x10 0x189a 230 temp1.q = rbp 0x189a 231 rbp = rbp - 2 0x189e 232 if (temp1.q != 2) then 217 @ 0x1850 else 233 @ 0x18a3 0x18a3 233 if ((dl & 1) == 0) then 246 @ 0x18d5 else 249 @ 0x18a5 0x1910 234 [rsp + 0x18 {var_80_2}].q = rdx 0x1915 235 [rsp + 0x20 {var_78_2}].q = r13 0x191a 236 r9 = rax 0x191d 237 r9 = r9 & 0xfffffffffffffff8 0x1921 238 rcx = r9 + 1 0x1925 239 [rsp + 0x28 {var_70_2}].q = rcx 0x192a 240 r13d = 1 0x1930 241 r10 = 0x7ed4 {""} 0x1937 242 r8 = 0x4054 {""} 0x193e 243 r14 = 0xbd54 {""} 0x1945 244 rdx = [rsp + 0x58 {var_40_1}].q 0x194a 245 goto 260 @ 0x1969 0x18d5 246 rbx = [rsp + 0x18 {var_80_1}].q 0x18da 247 rbp = [rsp + 0x30 {var_68_1}].q 0x18e4 248 if ([rsp + 0x10 {var_88_1}].q == rbp) then 213 @ 0x1680 else 263 @ 0x18ea 0x18a5 249 rbx = rbx << 2 0x18a9 250 rbp = r9 * 0xfa0 0x18b0 251 rbp = rbp + r12 0x18b3 252 rbx = rbx | 4 0x18b7 253 xmm1 = [rbx + rbp].o 0x18bc 254 xmm2 = [rbx + rbp + 0x10].o 0x18c2 255 xmm1 = _mm_sub_epi32(xmm1, xmm0) 0x18c6 256 xmm2 = _mm_sub_epi32(xmm2, xmm0) 0x18ca 257 [rbx + rbp].o = xmm1 0x18cf 258 [rbx + rbp + 0x10].o = xmm2 0x18cf 259 goto 246 @ 0x18d5 0x1969 260 edi = 0x2710 {""} 0x196e 261 ecx = 1 0x1977 262 if (rax u< 8) then 264 @ 0x1a81 else 268 @ 0x197d 0x18ea 263 goto 163 @ 0x18f0 0x1a81 264 r12 = rcx * 0xfa0 0x1a88 265 rcx = rcx - 1 0x1a8c 266 r12 = r12 + r8 0x1a8f 267 goto 273 @ 0x1a90 0x197d 268 rdi = [rsp + 0x48 {var_50_1}].q 0x1982 269 rcx = r14 0x1985 270 xmm0 = xmm7 0x1989 271 xmm1 = xmm7 0x198d 272 goto 275 @ 0x1990 0x1a90 273 ebx = [r12].d 0x1a96 274 if (edi s> ebx) then 307 else 309 @ 0x1a99 0x1990 275 xmm2 = [rcx - 0x3e80].d 0x1998 276 xmm3 = [rcx - 0x4e20].d 0x19a0 277 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x19a4 278 xmm2 = [rcx - 0x5dc0].d 0x19ac 279 xmm4 = [rcx - 0x6d60].d 0x19b4 280 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x19b8 281 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x19bc 282 xmm2 = [rcx].d 0x19c0 283 xmm3 = [rcx - 0xfa0].d 0x19c8 284 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x19cc 285 xmm2 = [rcx - 0x1f40].d 0x19d4 286 xmm5 = [rcx - 0x2ee0].d 0x19dc 287 xmm5 = _mm_unpacklo_epi32(xmm5, xmm2.q) 0x19e0 288 xmm5 = _mm_unpacklo_epi64(xmm5, xmm3.q) 0x19e4 289 xmm2 = xmm4 0x19e8 290 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x19ec 291 xmm3 = xmm0 0x19f0 292 xmm3 = xmm3 & xmm2 0x19f4 293 xmm2 = xmm2 & not.o(xmm4) 0x19f8 294 xmm0 = xmm2 0x19fc 295 xmm0 = xmm0 | xmm3 0x1a00 296 xmm2 = xmm5 0x1a04 297 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1a08 298 xmm3 = xmm1 0x1a0c 299 xmm3 = xmm3 & xmm2 0x1a10 300 xmm2 = xmm2 & not.o(xmm5) 0x1a14 301 xmm1 = xmm2 0x1a18 302 xmm1 = xmm1 | xmm3 0x1a1c 303 rcx = rcx + 0x7d00 0x1a23 304 temp2.q = rdi 0x1a23 305 rdi = rdi - 8 0x1a27 306 if (temp2.q != 8) then 275 @ 0x1990 else 312 @ 0x1a2d 0x1a96 307 edi = ebx 0x1a96 308 goto 309 @ 0x1a99 0x1a99 309 rcx = rcx + 1 0x1a9d 310 r12 = r12 + 0xfa0 0x1aa7 311 if (rax != rcx) then 273 @ 0x1a90 else 332 @ 0x1aa9 0x1a2d 312 xmm2 = xmm1 0x1a31 313 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x1a35 314 xmm0 = xmm0 & xmm2 0x1a39 315 xmm2 = xmm2 & not.o(xmm1) 0x1a3d 316 xmm2 = xmm2 | xmm0 0x1a41 317 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x1a46 318 xmm1 = xmm0 0x1a4a 319 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x1a4e 320 xmm2 = xmm2 & xmm1 0x1a52 321 xmm1 = xmm1 & not.o(xmm0) 0x1a56 322 xmm1 = xmm1 | xmm2 0x1a5a 323 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1a5f 324 xmm2 = xmm0 0x1a63 325 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1a67 326 xmm1 = xmm1 & xmm2 0x1a6b 327 xmm2 = xmm2 & not.o(xmm0) 0x1a6f 328 xmm2 = xmm2 | xmm1 0x1a73 329 edi = xmm2.d 0x1a77 330 rcx = [rsp + 0x28 {var_70_2}].q 0x1a7f 331 if (rax == r9) then 332 @ 0x1aa9 else 264 @ 0x1a81 0x1aa9 332 ecx = 1 0x1ab2 333 if (rdx u< 3) then 334 @ 0x1af2 else 335 @ 0x1ab4 0x1af2 334 if (([rsp + 0x10 {var_88_1}].b & 3) == 0) then 338 @ 0x1950 else 343 @ 0x1af8 0x1ab4 335 ecx = 1 0x1ab9 336 rbx = r10 0x1abc 337 goto 347 @ 0x1ac0 0x1950 338 r13 = r13 + 1 0x1954 339 r14 = r14 + 4 0x1958 340 r8 = r8 + 4 0x195c 341 r10 = r10 + 4 0x1963 342 if (r13 == r15) then 356 @ 0x1b30 else 260 @ 0x1969 0x1af8 343 rcx = rcx * 0xfa0 0x1aff 344 rcx = rcx + r8 0x1b02 345 ebx = 0 0x1b0e 346 goto 361 @ 0x1b10 0x1ac0 347 [rbx - 0x2ee0].d = [rbx - 0x2ee0].d - edi 0x1ac6 348 [rbx - 0x1f40].d = [rbx - 0x1f40].d - edi 0x1acc 349 [rbx - 0xfa0].d = [rbx - 0xfa0].d - edi 0x1ad2 350 [rbx].d = [rbx].d - edi 0x1ad4 351 rbx = rbx + 0x3e80 0x1adb 352 rbp = r11 + rcx 0x1adf 353 rbp = rbp + 4 0x1ae3 354 rcx = rcx + 4 0x1aeb 355 if (rbp != 1) then 347 @ 0x1ac0 else 334 @ 0x1af2 0x1b30 356 esi = [rsp + 0x3c {var_5c_1}].d 0x1b34 357 esi = esi + [0x5f98].d 0x1b3a 358 cond:3 = rax s< 3 0x1b3e 359 r13 = 0x2020 {"%d"} 0x1b45 360 if (cond:3) then 364 @ 0x14f7 else 366 @ 0x1b4b 0x1b10 361 [rcx + rbx].d = [rcx + rbx].d - edi 0x1b13 362 rbx = rbx + 0xfa0 0x1b1d 363 if (rsi != rbx) then 361 @ 0x1b10 else 374 @ 0x1b1f 0x14f7 364 r12 = 0x4050 {""} 0x14fe 365 goto 31 @ 0x1500 0x1b4b 366 r10 = [rsp + 0x50 {var_48_1}].q 0x1b50 367 rcx = [rsp + 0x30 {var_68_1}].q 0x1b55 368 r8 = rcx + 1 0x1b59 369 ebp = 2 0x1b5e 370 r12 = 0x4050 {""} 0x1b65 371 rdx = r12 0x1b68 372 rdi = 0x6f64 {""} 0x1b6f 373 goto 375 @ 0x1b9a 0x1b1f 374 goto 338 @ 0x1950 0x1b9a 375 r9 = rbp + 1 0x1b9e 376 ecx = 1 0x1ba9 377 if ([rsp + 0x10 {var_88_1}].q u< 8) then 378 @ 0x1c70 else 382 @ 0x1bb5 0x1c70 378 ebp = [rdx + (rcx << 2) + 0x2ee0].d 0x1c77 379 [rdx + (rcx << 2) + 0x1f40].d = ebp 0x1c7e 380 rcx = rcx + 1 0x1c85 381 if (r15 != rcx) then 378 @ 0x1c70 else 383 @ 0x1c87 0x1bb5 382 if ([rsp + 0x20 {var_78_2}].q u>= 8) then 384 @ 0x1bc0 else 387 @ 0x1bb7 0x1c87 383 goto 389 @ 0x1b80 0x1bc0 384 rbx = [rsp + 0x40 {var_58_1}].q 0x1bc5 385 ecx = 0 0x1bc7 386 goto 393 @ 0x1bd0 0x1bb7 387 ecx = 0 0x1bb9 388 goto 405 @ 0x1c1a 0x1b80 389 rdi = rdi + 0xfa0 0x1b87 390 rdx = rdx + 0xfa0 0x1b8e 391 rbp = r9 0x1b94 392 if (r9 == rax) then 406 @ 0x1c94 else 375 @ 0x1b9a 0x1bd0 393 xmm0 = [rdi + (rcx << 2) - 0x30].o 0x1bd6 394 xmm1 = [rdi + (rcx << 2) - 0x20].o 0x1bdc 395 xmm2 = [rdi + (rcx << 2) - 0x10].o 0x1be2 396 xmm3 = [rdi + (rcx << 2)].o 0x1be7 397 [rdi + (rcx << 2) - 0xfd0].o = xmm0 0x1bf0 398 [rdi + (rcx << 2) - 0xfc0].o = xmm1 0x1bf9 399 [rdi + (rcx << 2) - 0xfb0].o = xmm2 0x1c02 400 [rdi + (rcx << 2) - 0xfa0].o = xmm3 0x1c0b 401 rcx = rcx + 0x10 0x1c0f 402 temp3.q = rbx 0x1c0f 403 rbx = rbx - 2 0x1c13 404 if (temp3.q != 2) then 393 @ 0x1bd0 else 405 @ 0x1c1a 0x1c1a 405 if (([rsp + 0x18 {var_80_2}].b & 1) == 0) then 407 @ 0x1c4e else 410 @ 0x1c1c 0x1c94 406 if (rax s< 3) then 31 @ 0x1500 else 421 @ 0x1c9a 0x1c4e 407 rcx = r8 0x1c51 408 rbp = [rsp + 0x30 {var_68_1}].q 0x1c5b 409 if ([rsp + 0x10 {var_88_1}].q == rbp) then 389 @ 0x1b80 else 424 @ 0x1c6b 0x1c1c 410 rcx = rcx << 2 0x1c20 411 rbx = r9 * 0xfa0 0x1c27 412 rbx = rbx + r12 0x1c2a 413 rcx = rcx | 4 0x1c2e 414 xmm0 = [rcx + rbx].o 0x1c33 415 xmm1 = [rcx + rbx + 0x10].o 0x1c39 416 rbp = rbp * 0xfa0 0x1c40 417 rbp = rbp + r12 0x1c43 418 [rcx + rbp].o = xmm0 0x1c48 419 [rcx + rbp + 0x10].o = xmm1 0x1c48 420 goto 407 @ 0x1c4e 0x1c9a 421 edx = 2 0x1c9f 422 rcx = 0x4ffc {""} 0x1ca6 423 goto 425 @ 0x1cb0 0x1c6b 424 goto 378 @ 0x1c70 0x1cb0 425 rdx = rdx + 1 0x1cb4 426 edi = 1 0x1cb9 427 rbp = rcx 0x1cbc 428 goto 429 @ 0x1cc0 0x1cc0 429 ebx = [rbp].d 0x1cc3 430 [rbp - 4].d = ebx 0x1cc6 431 rdi = rdi + 1 0x1cca 432 rbp = rbp + 0xfa0 0x1cd4 433 if (rax != rdi) then 429 @ 0x1cc0 else 434 @ 0x1cd6 0x1cd6 434 rcx = rcx + 4 0x1cdd 435 if (rdx != rax) then 425 @ 0x1cb0 else 436 @ 0x1cdf 0x1cdf 436 rdi = rax - 1 0x1ce3 437 ecx = (r15 - 1).d 0x1ce7 438 r10 = r10 - 1 0x1ceb 439 cond:4 = rax s> 2 0x1cef 440 rax = rdi 0x1cf2 441 if (cond:4) then 70 @ 0x15c0 else 442 @ 0x1cf8 0x1cf8 442 goto 31 @ 0x1500 int64_t _fini(): 0x1d14 0 rsp = rsp - 8 0x1d18 1 rsp = rsp + 8 0x1d1c 2 <return> jump(pop)
POJ_18
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 {"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 - 0x208 0x1171 7 rdi = 0x2004 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_22c} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 0xc {var_22c}].d s<= 0) then 12 @ 0x1261 else 13 @ 0x118f 0x1261 12 if ([rsp + 0xc {var_22c}].d s<= 0) then 20 @ 0x128a else 28 @ 0x1263 0x118f 13 rbx = rsp + 0x10 {var_228} 0x1194 14 r15 = -0x200000000 0x119e 15 r14 = 0x2007 {"%s"} 0x11a5 16 r12 = -0x100000000 0x11af 17 r13 = -0x300000000 0x11b9 18 ebp = 0 0x11bb 19 goto 31 @ 0x11d6 0x128a 20 rsp = rsp + 0x208 0x1291 21 rbx = pop 0x1292 22 r12 = pop 0x1294 23 r13 = pop 0x1296 24 r14 = pop 0x1298 25 r15 = pop 0x129a 26 rbp = pop 0x129b 27 <return> jump(pop) 0x1263 28 rbx = rsp + 0x10 {var_228} 0x1268 29 ebp = 0 0x126a 30 goto 41 @ 0x1270 0x11d6 31 rdi = r14 0x11d9 32 rsi = rbx 0x11dc 33 eax = 0 0x11de 34 call(0x1040) 0x11e3 35 rdi = rbx 0x11e6 36 call(0x1030) 0x11eb 37 rax = rax << 0x20 0x11ef 38 rcx = rax + r12 0x11f3 39 rcx = rcx s>> 0x20 0x11fb 40 if ([rbx + rcx].b == 0x72) then 47 @ 0x1210 else 52 @ 0x1201 0x1270 41 rdi = rbx 0x1273 42 call(0x1050) 0x1278 43 rbp = rbp + 1 0x127c 44 rax = sx.q([rsp + 0xc {var_22c}].d) 0x1281 45 rbx = rbx + 0xa 0x1288 46 if (rbp s< rax) then 41 @ 0x1270 else 20 @ 0x128a 0x1210 47 rdx = rax + r15 0x1214 48 rdx = rdx s>> 0x20 0x1218 49 [rbx + rdx].b = 0 0x121c 50 [rbx + rcx].b = 0 0x1224 51 if ([rbx + rcx].b != 0x79) then 53 @ 0x1207 else 54 @ 0x1226 0x1201 52 if ([rbx + rcx].b == 0x79) then 54 @ 0x1226 else 53 @ 0x1207 0x1207 53 if ([rbx + rcx].b != 0x67) then 59 @ 0x11c0 else 63 @ 0x1209 0x1226 54 rdx = rax + r15 0x122a 55 rdx = rdx s>> 0x20 0x122e 56 [rbx + rdx].b = 0 0x1232 57 [rbx + rcx].b = 0 0x123a 58 if ([rbx + rcx].b != 0x67) then 59 @ 0x11c0 else 64 @ 0x123c 0x11c0 59 rbp = rbp + 1 0x11c4 60 rax = sx.q([rsp + 0xc {var_22c}].d) 0x11c9 61 rbx = rbx + 0xa 0x11d0 62 if (rbp s>= rax) then 12 @ 0x1261 else 31 @ 0x11d6 0x1209 63 goto 64 @ 0x123c 0x123c 64 rdx = rax + r13 0x1240 65 rdx = rdx s>> 0x20 0x1244 66 [rbx + rdx].b = 0 0x1248 67 rax = rax + r15 0x124b 68 rax = rax s>> 0x20 0x124f 69 [rbx + rax].b = 0 0x1253 70 [rbx + rcx].b = 0 0x1257 71 goto 59 @ 0x11c0 int64_t _fini(): 0x12a0 0 rsp = rsp - 8 0x12a4 1 rsp = rsp + 8 0x12a8 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) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int64_t malloc(uint64_t bytes): 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 E"} 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 - 0x20 0x1178 3 [rbp - 4 {var_c}].d = 0 0x117f 4 rdi = 0x2004 {"%d"} 0x1186 5 rsi = rbp - 8 {var_10} 0x118a 6 al = 0 0x118c 7 call(0x1040) 0x1191 8 rdi = sx.q([rbp - 8 {var_10}].d) 0x1195 9 rdi = rdi << 3 0x1199 10 call(0x1060) 0x119e 11 [rbp - 0x18 {var_20}].q = rax 0x11a2 12 [rbp - 0xc {var_14}].d = 0 0x11a2 13 goto 14 @ 0x11a9 0x11a9 14 eax = [rbp - 0xc {var_14}].d 0x11ac 15 ecx = [rbp - 8 {var_10}].d 0x11af 16 ecx = ecx + 1 0x11b4 17 if (eax s>= ecx) then 18 @ 0x11f4 else 20 @ 0x11ba 0x11f4 18 [rbp - 0xc {var_14_1}].d = 1 0x11f4 19 goto 35 @ 0x11fb 0x11ba 20 edi = 0x64 {""} 0x11bf 21 call(0x1060) 0x11c4 22 rdx = rax 0x11c7 23 rax = [rbp - 0x18 {var_20}].q 0x11cb 24 rcx = sx.q([rbp - 0xc {var_14}].d) 0x11cf 25 [rax + (rcx << 3)].q = rdx 0x11d3 26 rax = [rbp - 0x18 {var_20}].q 0x11d7 27 rcx = sx.q([rbp - 0xc {var_14}].d) 0x11db 28 rdi = [rax + (rcx << 3)].q 0x11df 29 al = 0 0x11e1 30 call(0x1050) 0x11e6 31 eax = [rbp - 0xc {var_14}].d 0x11e9 32 eax = eax + 1 0x11ec 33 [rbp - 0xc {var_14}].d = eax 0x11ef 34 goto 14 @ 0x11a9 0x11fb 35 eax = [rbp - 0xc {var_14_1}].d 0x11fe 36 ecx = [rbp - 8 {var_10}].d 0x1201 37 ecx = ecx + 1 0x1206 38 if (eax s>= ecx) then 39 @ 0x123b else 43 @ 0x120c 0x123b 39 eax = [rbp - 4 {var_c}].d 0x123e 40 rsp = rsp + 0x20 0x1242 41 rbp = pop 0x1243 42 <return> jump(pop) 0x120c 43 rax = [rbp - 0x18 {var_20}].q 0x1210 44 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1214 45 rdi = [rax + (rcx << 3)].q 0x1218 46 call(0x1250) 0x121d 47 esi = eax 0x121f 48 rdi = 0x2007 {"%d\n"} 0x1226 49 al = 0 0x1228 50 call(0x1030) 0x122d 51 eax = [rbp - 0xc {var_14_1}].d 0x1230 52 eax = eax + 1 0x1233 53 [rbp - 0xc {var_14_1}].d = eax 0x1236 54 goto 35 @ 0x11fb uint64_t judge(char* arg1): 0x1250 0 push(rbp) 0x1251 1 rbp = rsp {__saved_rbp} 0x1254 2 [rbp - 8 {var_10}].q = rdi 0x1258 3 [rbp - 0x10 {var_18}].d = 0 0x125f 4 rax = [rbp - 8 {var_10}].q 0x1263 5 eax = sx.d([rax].b) 0x1269 6 if (eax == 0x5f) then 7 @ 0x12af else 9 @ 0x126f 0x12af 7 [rbp - 0x10 {var_18}].d = 1 0x12af 8 goto 12 @ 0x12b6 0x126f 9 rax = [rbp - 8 {var_10}].q 0x1273 10 eax = sx.d([rax].b) 0x1279 11 if (eax s< 0x61) then 14 @ 0x128f else 17 @ 0x127f 0x12b6 12 [rbp - 0xc {var_14}].d = 1 0x12b6 13 goto 20 @ 0x12bd 0x128f 14 rax = [rbp - 8 {var_10}].q 0x1293 15 eax = sx.d([rax].b) 0x1299 16 if (eax s< 0x41) then 12 @ 0x12b6 else 27 @ 0x129f 0x127f 17 rax = [rbp - 8 {var_10}].q 0x1283 18 eax = sx.d([rax].b) 0x1289 19 if (eax s<= 0x7a) then 7 @ 0x12af else 14 @ 0x128f 0x12bd 20 rax = [rbp - 8 {var_10}].q 0x12c1 21 rcx = sx.q([rbp - 0xc {var_14}].d) 0x12c5 22 ecx = sx.d([rax + rcx].b) 0x12c9 23 eax = 0 0x12cb 24 cond:3 = ecx == 0 0x12ce 25 [rbp - 0x11 {var_19_1}].b = al 0x12d1 26 if (cond:3) then 30 @ 0x12e1 else 32 @ 0x12db 0x129f 27 rax = [rbp - 8 {var_10}].q 0x12a3 28 eax = sx.d([rax].b) 0x12a9 29 if (eax s> 0x5a) then 12 @ 0x12b6 else 7 @ 0x12af 0x12e1 30 al = [rbp - 0x11 {var_19_1}].b 0x12e6 31 if ((al & 1) != 0) then 35 @ 0x12f1 else 39 @ 0x12ec 0x12db 32 al = [rbp - 0x10 {var_18}].d == 1 0x12de 33 [rbp - 0x11 {var_19_1}].b = al 0x12de 34 goto 30 @ 0x12e1 0x12f1 35 rax = [rbp - 8 {var_10}].q 0x12f5 36 rcx = sx.q([rbp - 0xc {var_14}].d) 0x12f9 37 eax = sx.d([rax + rcx].b) 0x1300 38 if (eax s< 0x61) then 40 @ 0x1320 else 44 @ 0x1306 0x12ec 39 goto 51 @ 0x13be 0x1320 40 rax = [rbp - 8 {var_10}].q 0x1324 41 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1328 42 eax = sx.d([rax + rcx].b) 0x132f 43 if (eax s< 0x41) then 54 @ 0x134f else 58 @ 0x1335 0x1306 44 rax = [rbp - 8 {var_10}].q 0x130a 45 rcx = sx.q([rbp - 0xc {var_14}].d) 0x130e 46 ecx = sx.d([rax + rcx].b) 0x1312 47 al = 1 0x1314 48 cond:0 = ecx s<= 0x7a 0x1317 49 [rbp - 0x12 {var_1a_1}].b = al 0x131a 50 if (cond:0) then 65 @ 0x1393 else 40 @ 0x1320 0x13be 51 eax = [rbp - 0x10 {var_18}].d 0x13c1 52 rbp = pop 0x13c2 53 <return> jump(pop) 0x134f 54 rax = [rbp - 8 {var_10}].q 0x1353 55 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1357 56 eax = sx.d([rax + rcx].b) 0x135e 57 if (eax s< 0x30) then 69 @ 0x137e else 75 @ 0x1364 0x1335 58 rax = [rbp - 8 {var_10}].q 0x1339 59 rcx = sx.q([rbp - 0xc {var_14}].d) 0x133d 60 ecx = sx.d([rax + rcx].b) 0x1341 61 al = 1 0x1343 62 cond:1 = ecx s<= 0x5a 0x1346 63 [rbp - 0x12 {var_1a_1}].b = al 0x1349 64 if (cond:1) then 65 @ 0x1393 else 54 @ 0x134f 0x1393 65 al = [rbp - 0x12 {var_1a_1}].b 0x1396 66 al = al & 1 0x1398 67 eax = zx.d(al) 0x139e 68 if (eax == 1) then 82 @ 0x13ab else 83 @ 0x13a4 0x137e 69 rax = [rbp - 8 {var_10}].q 0x1382 70 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1386 71 eax = sx.d([rax + rcx].b) 0x138d 72 al = eax == 0x5f 0x1390 73 [rbp - 0x12 {var_1a_1}].b = al 0x1390 74 goto 65 @ 0x1393 0x1364 75 rax = [rbp - 8 {var_10}].q 0x1368 76 rcx = sx.q([rbp - 0xc {var_14}].d) 0x136c 77 ecx = sx.d([rax + rcx].b) 0x1370 78 al = 1 0x1372 79 cond:2 = ecx s<= 0x39 0x1375 80 [rbp - 0x12 {var_1a_1}].b = al 0x1378 81 if (cond:2) then 65 @ 0x1393 else 69 @ 0x137e 0x13ab 82 goto 85 @ 0x13b0 0x13a4 83 [rbp - 0x10 {var_18}].d = 0 0x13a4 84 goto 82 @ 0x13ab 0x13b0 85 eax = [rbp - 0xc {var_14}].d 0x13b3 86 eax = eax + 1 0x13b6 87 [rbp - 0xc {var_14}].d = eax 0x13b9 88 goto 20 @ 0x12bd int64_t _fini(): 0x13c8 0 rsp = rsp - 8 0x13cc 1 rsp = rsp + 8 0x13d0 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) 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 {"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 - 0x680 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 [rbp - 8 {var_10}].d = edi 0x1175 5 [rbp - 0x10 {var_18}].q = rsi 0x1179 6 rdi = 0x2004 {"%d"} 0x1180 7 rsi = rbp - 0x66c {var_674} 0x1187 8 al = 0 0x1189 9 call(0x1040) 0x118e 10 [rbp - 0x670 {var_678}].d = 0 0x118e 11 goto 12 @ 0x1198 0x1198 12 eax = [rbp - 0x670 {var_678}].d 0x11a4 13 if (eax s>= [rbp - 0x66c {var_674}].d) then 14 @ 0x11f6 else 28 @ 0x11aa 0x11f6 14 xmm0 = zx.o([rbp - 0x330 {var_338}].q) 0x11fe 15 xmm0.q = xmm0.q f- fconvert.t([rbp - 0x328 {var_330}].q) 0x1206 16 xmm2 = zx.o([rbp - 0x330 {var_338}].q) 0x120e 17 xmm2.q = xmm2.q f- fconvert.t([rbp - 0x328 {var_330}].q) 0x1216 18 xmm1 = zx.o([rbp - 0x650 {var_658}].q) 0x121e 19 xmm1.q = xmm1.q f- fconvert.t([rbp - 0x648 {var_650}].q) 0x1226 20 xmm3 = zx.o([rbp - 0x650 {var_658}].q) 0x122e 21 xmm3.q = xmm3.q f- fconvert.t([rbp - 0x648 {var_650}].q) 0x1236 22 xmm1.q = xmm1.q f* xmm3.q 0x123a 23 xmm0.q = xmm0.q f* xmm2.q 0x123e 24 xmm0.q = xmm0.q f+ xmm1.q 0x1242 25 [rbp - 0x668 {var_670}].q = xmm0.q 0x124a 26 [rbp - 0x674 {var_67c}].d = 2 0x124a 27 goto 43 @ 0x1254 0x11aa 28 rax = sx.q([rbp - 0x670 {var_678}].d) 0x11b1 29 rsi = rbp - 0x330 {var_338} 0x11b8 30 rax = rax << 3 0x11bc 31 rsi = rsi + rax 0x11bf 32 rax = sx.q([rbp - 0x670 {var_678}].d) 0x11c6 33 rdx = rbp - 0x650 {var_658} 0x11cd 34 rax = rax << 3 0x11d1 35 rdx = rdx + rax 0x11d4 36 rdi = 0x2007 {"%lf%lf"} 0x11db 37 al = 0 0x11dd 38 call(0x1040) 0x11e2 39 eax = [rbp - 0x670 {var_678}].d 0x11e8 40 eax = eax + 1 0x11eb 41 [rbp - 0x670 {var_678}].d = eax 0x11f1 42 goto 12 @ 0x1198 0x1254 43 eax = [rbp - 0x674 {var_67c}].d 0x1260 44 if (eax s>= [rbp - 0x66c {var_674}].d) then 45 @ 0x14b0 else 54 @ 0x1266 0x14b0 45 xmm0 = zx.o([rbp - 0x668 {var_670}].q) 0x14b8 46 call(0x1050) 0x14bd 47 rdi = 0x200e {"%.4f"} 0x14c4 48 al = 1 0x14c6 49 call(0x1030) 0x14cb 50 eax = 0 0x14cd 51 rsp = rsp + 0x680 0x14d4 52 rbp = pop 0x14d5 53 <return> jump(pop) 0x1266 54 [rbp - 0x670 {var_678_1}].d = 2 0x1266 55 goto 56 @ 0x1270 0x1270 56 eax = [rbp - 0x670 {var_678_1}].d 0x127c 57 if (eax s> [rbp - 0x674 {var_67c}].d) then 58 @ 0x1497 else 59 @ 0x1282 0x1497 58 goto 123 @ 0x149c 0x1282 59 rax = sx.q([rbp - 0x670 {var_678_1}].d) 0x1289 60 xmm0 = zx.o([rbp + (rax << 3) - 0x330].q) 0x1292 61 eax = [rbp - 0x670 {var_678_1}].d 0x1298 62 eax = eax - 1 0x129b 63 rax = sx.q(eax) 0x129d 64 xmm0.q = xmm0.q f- fconvert.t([rbp + (rax << 3) - 0x330].q) 0x12a6 65 rax = sx.q([rbp - 0x670 {var_678_1}].d) 0x12ad 66 xmm2 = zx.o([rbp + (rax << 3) - 0x330].q) 0x12b6 67 eax = [rbp - 0x670 {var_678_1}].d 0x12bc 68 eax = eax - 1 0x12bf 69 rax = sx.q(eax) 0x12c1 70 xmm2.q = xmm2.q f- fconvert.t([rbp + (rax << 3) - 0x330].q) 0x12ca 71 rax = sx.q([rbp - 0x670 {var_678_1}].d) 0x12d1 72 xmm1 = zx.o([rbp + (rax << 3) - 0x650].q) 0x12da 73 eax = [rbp - 0x670 {var_678_1}].d 0x12e0 74 eax = eax - 1 0x12e3 75 rax = sx.q(eax) 0x12e5 76 xmm1.q = xmm1.q f- fconvert.t([rbp + (rax << 3) - 0x650].q) 0x12ee 77 rax = sx.q([rbp - 0x670 {var_678_1}].d) 0x12f5 78 xmm3 = zx.o([rbp + (rax << 3) - 0x650].q) 0x12fe 79 eax = [rbp - 0x670 {var_678_1}].d 0x1304 80 eax = eax - 1 0x1307 81 rax = sx.q(eax) 0x1309 82 xmm3.q = xmm3.q f- fconvert.t([rbp + (rax << 3) - 0x650].q) 0x1312 83 xmm1.q = xmm1.q f* xmm3.q 0x1316 84 xmm0.q = xmm0.q f* xmm2.q 0x131a 85 xmm0.q = xmm0.q f+ xmm1.q 0x131e 86 [rbp - 0x658 {var_660_1}].q = xmm0.q 0x1326 87 rax = sx.q([rbp - 0x670 {var_678_1}].d) 0x132d 88 xmm0 = zx.o([rbp + (rax << 3) - 0x330].q) 0x1336 89 eax = [rbp - 0x670 {var_678_1}].d 0x133c 90 eax = eax - 2 0x133f 91 rax = sx.q(eax) 0x1341 92 xmm0.q = xmm0.q f- fconvert.t([rbp + (rax << 3) - 0x330].q) 0x134a 93 rax = sx.q([rbp - 0x670 {var_678_1}].d) 0x1351 94 xmm2 = zx.o([rbp + (rax << 3) - 0x330].q) 0x135a 95 eax = [rbp - 0x670 {var_678_1}].d 0x1360 96 eax = eax - 2 0x1363 97 rax = sx.q(eax) 0x1365 98 xmm2.q = xmm2.q f- fconvert.t([rbp + (rax << 3) - 0x330].q) 0x136e 99 rax = sx.q([rbp - 0x670 {var_678_1}].d) 0x1375 100 xmm1 = zx.o([rbp + (rax << 3) - 0x650].q) 0x137e 101 eax = [rbp - 0x670 {var_678_1}].d 0x1384 102 eax = eax - 2 0x1387 103 rax = sx.q(eax) 0x1389 104 xmm1.q = xmm1.q f- fconvert.t([rbp + (rax << 3) - 0x650].q) 0x1392 105 rax = sx.q([rbp - 0x670 {var_678_1}].d) 0x1399 106 xmm3 = zx.o([rbp + (rax << 3) - 0x650].q) 0x13a2 107 eax = [rbp - 0x670 {var_678_1}].d 0x13a8 108 eax = eax - 2 0x13ab 109 rax = sx.q(eax) 0x13ad 110 xmm3.q = xmm3.q f- fconvert.t([rbp + (rax << 3) - 0x650].q) 0x13b6 111 xmm1.q = xmm1.q f* xmm3.q 0x13ba 112 xmm0.q = xmm0.q f* xmm2.q 0x13be 113 xmm0.q = xmm0.q f+ xmm1.q 0x13c2 114 [rbp - 0x660 {var_668_1}].q = xmm0.q 0x13ca 115 xmm0 = zx.o([rbp - 0x658 {var_660_1}].q) 0x13d2 116 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x660 {var_668_1}].q)) 0x13d2 117 flag:c = xmm0.q f< fconvert.t([rbp - 0x660 {var_668_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x660 {var_668_1}].q)) 0x13d2 118 flag:z = xmm0.q f== fconvert.t([rbp - 0x660 {var_668_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x660 {var_668_1}].q)) 0x13d2 119 flag:s = 0 0x13d2 120 flag:o = 0 0x13d2 121 flag:a = 0 0x13da 122 if (flag:c) then 127 @ 0x1406 else 135 @ 0x13e0 0x149c 123 eax = [rbp - 0x674 {var_67c}].d 0x14a2 124 eax = eax + 1 0x14a5 125 [rbp - 0x674 {var_67c}].d = eax 0x14ab 126 goto 43 @ 0x1254 0x1406 127 xmm0 = zx.o([rbp - 0x660 {var_668_1}].q) 0x140e 128 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x658 {var_660_1}].q)) 0x140e 129 flag:c = xmm0.q f< fconvert.t([rbp - 0x658 {var_660_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x658 {var_660_1}].q)) 0x140e 130 flag:z = xmm0.q f== fconvert.t([rbp - 0x658 {var_660_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x658 {var_660_1}].q)) 0x140e 131 flag:s = 0 0x140e 132 flag:o = 0 0x140e 133 flag:a = 0 0x1416 134 if (flag:z || flag:c) then 143 @ 0x1442 else 151 @ 0x141c 0x13e0 135 xmm0 = zx.o([rbp - 0x658 {var_660_1}].q) 0x13e8 136 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x668 {var_670}].q)) 0x13e8 137 flag:c = xmm0.q f< fconvert.t([rbp - 0x668 {var_670}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x668 {var_670}].q)) 0x13e8 138 flag:z = xmm0.q f== fconvert.t([rbp - 0x668 {var_670}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x668 {var_670}].q)) 0x13e8 139 flag:s = 0 0x13e8 140 flag:o = 0 0x13e8 141 flag:a = 0 0x13f0 142 if (flag:c) then 127 @ 0x1406 else 159 @ 0x13f6 0x1442 143 xmm0 = zx.o([rbp - 0x668 {var_670}].q) 0x144a 144 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x658 {var_660_1}].q)) 0x144a 145 flag:c = xmm0.q f< fconvert.t([rbp - 0x658 {var_660_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x658 {var_660_1}].q)) 0x144a 146 flag:z = xmm0.q f== fconvert.t([rbp - 0x658 {var_660_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x658 {var_660_1}].q)) 0x144a 147 flag:s = 0 0x144a 148 flag:o = 0 0x144a 149 flag:a = 0 0x1452 150 if (flag:z || flag:c) then 162 @ 0x147e else 163 @ 0x1458 0x141c 151 xmm0 = zx.o([rbp - 0x660 {var_668_1}].q) 0x1424 152 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x668 {var_670}].q)) 0x1424 153 flag:c = xmm0.q f< fconvert.t([rbp - 0x668 {var_670}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x668 {var_670}].q)) 0x1424 154 flag:z = xmm0.q f== fconvert.t([rbp - 0x668 {var_670}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x668 {var_670}].q)) 0x1424 155 flag:s = 0 0x1424 156 flag:o = 0 0x1424 157 flag:a = 0 0x142c 158 if (flag:c) then 143 @ 0x1442 else 171 @ 0x1432 0x13f6 159 xmm0 = zx.o([rbp - 0x658 {var_660_1}].q) 0x13fe 160 [rbp - 0x668 {var_670}].q = xmm0.q 0x13fe 161 goto 127 @ 0x1406 0x147e 162 goto 174 @ 0x1483 0x1458 163 xmm0 = zx.o([rbp - 0x668 {var_670}].q) 0x1460 164 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x660 {var_668_1}].q)) 0x1460 165 flag:c = xmm0.q f< fconvert.t([rbp - 0x660 {var_668_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x660 {var_668_1}].q)) 0x1460 166 flag:z = xmm0.q f== fconvert.t([rbp - 0x660 {var_668_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x660 {var_668_1}].q)) 0x1460 167 flag:s = 0 0x1460 168 flag:o = 0 0x1460 169 flag:a = 0 0x1468 170 if (flag:z || flag:c) then 162 @ 0x147e else 178 @ 0x146e 0x1432 171 xmm0 = zx.o([rbp - 0x660 {var_668_1}].q) 0x143a 172 [rbp - 0x668 {var_670}].q = xmm0.q 0x143a 173 goto 143 @ 0x1442 0x1483 174 eax = [rbp - 0x670 {var_678_1}].d 0x1489 175 eax = eax + 1 0x148c 176 [rbp - 0x670 {var_678_1}].d = eax 0x1492 177 goto 56 @ 0x1270 0x146e 178 xmm0 = zx.o([rbp - 0x668 {var_670}].q) 0x1476 179 [rbp - 0x668 {var_670}].q = xmm0.q 0x1476 180 goto 162 @ 0x147e int64_t _fini(): 0x14dc 0 rsp = rsp - 8 0x14e0 1 rsp = rsp + 8 0x14e4 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) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 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 - 0x2bc0 0x116c 4 r14 = rsp {var_2bd8} 0x116f 5 edx = 0x4b0 {"P"} 0x1174 6 rdi = r14 {var_2bd8} 0x1177 7 esi = 0 0x1179 8 call(0x1040) 0x117e 9 rbx = rsp + 0x4b0 {var_2728} 0x1186 10 rdi = rbx {var_2728} 0x1189 11 eax = 0 0x118b 12 call(0x1050) 0x1190 13 r15 = r14 {var_2bd8} 0x1193 14 goto 15 @ 0x11ac 0x11ac 15 eax = zx.d([rbx].b) 0x11b1 16 if (al == 0x20) then 17 @ 0x11a0 else 21 @ 0x11b5 0x11a0 17 r14 = r14 + 4 0x11a4 18 r15 = r15 + 4 0x11a8 19 rbx = rbx + 1 0x11a8 20 goto 15 @ 0x11ac 0x11b5 21 if (al == 0) then 22 @ 0x11c1 else 24 @ 0x11b7 0x11c1 22 rbx = rsp {var_2bd8} 0x11c7 23 if (rbx u>= r15) then 27 @ 0x11fb else 36 @ 0x11c9 0x11b7 24 [r14].d = [r14].d + 1 0x11bb 25 rbx = rbx + 1 0x11bf 26 goto 15 @ 0x11ac 0x11fb 27 esi = [r15].d 0x11fe 28 rdi = 0x2008 {"%d\n"} 0x1205 29 eax = 0 0x1207 30 call(0x1030) 0x120c 31 rsp = rsp + 0x2bc0 0x1213 32 rbx = pop 0x1214 33 r14 = pop 0x1216 34 r15 = pop 0x1218 35 <return> jump(pop) 0x11c9 36 r14 = 0x2004 {"%d,"} 0x11d0 37 goto 38 @ 0x11e9 0x11e9 38 esi = [rbx].d 0x11ed 39 if (esi == 0) then 40 @ 0x11e0 else 42 @ 0x11ef 0x11e0 40 rbx = rbx + 4 0x11e7 41 if (rbx u>= r15) then 27 @ 0x11fb else 38 @ 0x11e9 0x11ef 42 rdi = r14 0x11f2 43 eax = 0 0x11f4 44 call(0x1030) 0x11f9 45 goto 40 @ 0x11e0 int64_t _fini(): 0x1220 0 rsp = rsp - 8 0x1224 1 rsp = rsp + 8 0x1228 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) 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 - 0x90 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x7c {var_84}].d = 0 0x1162 5 goto 6 @ 0x116d 0x116d 6 if ([rbp - 0x7c {var_84}].d s>= 5) then 7 @ 0x11cd else 18 @ 0x1173 0x11cd 7 rdi = 0x2004 {"%d%d"} 0x11d4 8 rsi = rbp - 0x74 {var_7c} 0x11d8 9 rdx = rbp - 0x78 {var_80} 0x11dc 10 al = 0 0x11de 11 call(0x1040) 0x11e3 12 edi = [rbp - 0x74 {var_7c}].d 0x11e6 13 esi = [rbp - 0x78 {var_80}].d 0x11e9 14 rdx = rbp - 0x70 {var_78} 0x11ed 15 call(0x12c0) 0x11f2 16 [rbp - 0x84 {var_8c}].d = eax 0x11ff 17 if ([rbp - 0x84 {var_8c}].d != 0) then 20 @ 0x1218 else 22 @ 0x1205 0x1173 18 [rbp - 0x80 {var_88_1}].d = 0 0x1173 19 goto 26 @ 0x117e 0x1218 20 [rbp - 0x7c {var_84_1}].d = 0 0x1218 21 goto 27 @ 0x1223 0x1205 22 rdi = 0x2009 {"error"} 0x120c 23 al = 0 0x120e 24 call(0x1030) 0x1213 25 goto 28 @ 0x12ad 0x117e 26 if ([rbp - 0x80 {var_88_1}].d s>= 5) then 32 @ 0x11ba else 33 @ 0x1184 0x1223 27 if ([rbp - 0x7c {var_84_1}].d s>= 5) then 47 @ 0x12a8 else 48 @ 0x1229 0x12ad 28 eax = 0 0x12af 29 rsp = rsp + 0x90 0x12b6 30 rbp = pop 0x12b7 31 <return> jump(pop) 0x11ba 32 goto 50 @ 0x11bf 0x1184 33 rax = sx.q([rbp - 0x7c {var_84}].d) 0x1188 34 rsi = rbp - 0x70 {var_78} 0x118c 35 rax = rax * 0x14 0x1190 36 rsi = rsi + rax 0x1193 37 rax = sx.q([rbp - 0x80 {var_88_1}].d) 0x1197 38 rax = rax << 2 0x119b 39 rsi = rsi + rax 0x119e 40 rdi = 0x2006 {"%d"} 0x11a5 41 al = 0 0x11a7 42 call(0x1040) 0x11ac 43 eax = [rbp - 0x80 {var_88_1}].d 0x11af 44 eax = eax + 1 0x11b2 45 [rbp - 0x80 {var_88_1}].d = eax 0x11b5 46 goto 26 @ 0x117e 0x12a8 47 goto 28 @ 0x12ad 0x1229 48 [rbp - 0x80 {var_88_2}].d = 0 0x1229 49 goto 54 @ 0x1234 0x11bf 50 eax = [rbp - 0x7c {var_84}].d 0x11c2 51 eax = eax + 1 0x11c5 52 [rbp - 0x7c {var_84}].d = eax 0x11c8 53 goto 6 @ 0x116d 0x1234 54 if ([rbp - 0x80 {var_88_2}].d s>= 4) then 55 @ 0x126c else 70 @ 0x123a 0x126c 55 rcx = sx.q([rbp - 0x7c {var_84_1}].d) 0x1270 56 rax = rbp - 0x70 {var_78} 0x1274 57 rcx = rcx * 0x14 0x1278 58 rax = rax + rcx 0x127b 59 esi = [rax + 0x10].d 0x127e 60 rdi = 0x2006 {"%d"} 0x1285 61 al = 0 0x1287 62 call(0x1030) 0x128c 63 rdi = 0x2013 {"\n"} 0x1293 64 al = 0 0x1295 65 call(0x1030) 0x129a 66 eax = [rbp - 0x7c {var_84_1}].d 0x129d 67 eax = eax + 1 0x12a0 68 [rbp - 0x7c {var_84_1}].d = eax 0x12a3 69 goto 27 @ 0x1223 0x123a 70 rcx = sx.q([rbp - 0x7c {var_84_1}].d) 0x123e 71 rax = rbp - 0x70 {var_78} 0x1242 72 rcx = rcx * 0x14 0x1246 73 rax = rax + rcx 0x1249 74 rcx = sx.q([rbp - 0x80 {var_88_2}].d) 0x124d 75 esi = [rax + (rcx << 2)].d 0x1250 76 rdi = 0x200f {"%d "} 0x1257 77 al = 0 0x1259 78 call(0x1030) 0x125e 79 eax = [rbp - 0x80 {var_88_2}].d 0x1261 80 eax = eax + 1 0x1264 81 [rbp - 0x80 {var_88_2}].d = eax 0x1267 82 goto 54 @ 0x1234 uint64_t haha(int32_t arg1, int32_t arg2, int64_t arg3): 0x12c0 0 push(rbp) 0x12c1 1 rbp = rsp {__saved_rbp} 0x12c4 2 [rbp - 8 {var_10}].d = edi 0x12c7 3 [rbp - 0xc {var_14}].d = esi 0x12ca 4 [rbp - 0x18 {var_20}].q = rdx 0x12d2 5 if ([rbp - 8 {var_10}].d s< 0) then 6 @ 0x12f6 else 8 @ 0x12dc 0x12f6 6 [rbp - 4 {var_c}].d = 0 0x12fd 7 goto 9 @ 0x1390 0x12dc 8 if ([rbp - 8 {var_10}].d s> 4) then 6 @ 0x12f6 else 12 @ 0x12e6 0x1390 9 eax = [rbp - 4 {var_c}].d 0x1393 10 rbp = pop 0x1394 11 <return> jump(pop) 0x12e6 12 if ([rbp - 0xc {var_14}].d s< 0) then 6 @ 0x12f6 else 13 @ 0x12f0 0x12f0 13 if ([rbp - 0xc {var_14}].d s<= 4) then 14 @ 0x1302 else 6 @ 0x12f6 0x1302 14 [rbp - 0x34 {var_3c_1}].d = 0 0x1302 15 goto 16 @ 0x130d 0x130d 16 if ([rbp - 0x34 {var_3c_1}].d s>= 5) then 17 @ 0x1389 else 19 @ 0x1313 0x1389 17 [rbp - 4 {var_c}].d = 1 0x1389 18 goto 9 @ 0x1390 0x1313 19 rax = [rbp - 0x18 {var_20}].q 0x1317 20 rcx = sx.q([rbp - 8 {var_10}].d) 0x131b 21 rcx = rcx * 0x14 0x131f 22 rax = rax + rcx 0x1322 23 rcx = sx.q([rbp - 0x34 {var_3c_1}].d) 0x1326 24 ecx = [rax + (rcx << 2)].d 0x1329 25 rax = sx.q([rbp - 0x34 {var_3c_1}].d) 0x132d 26 [rbp + (rax << 2) - 0x30].d = ecx 0x1331 27 rax = [rbp - 0x18 {var_20}].q 0x1335 28 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1339 29 rcx = rcx * 0x14 0x133d 30 rax = rax + rcx 0x1340 31 rcx = sx.q([rbp - 0x34 {var_3c_1}].d) 0x1344 32 edx = [rax + (rcx << 2)].d 0x1347 33 rax = [rbp - 0x18 {var_20}].q 0x134b 34 rcx = sx.q([rbp - 8 {var_10}].d) 0x134f 35 rcx = rcx * 0x14 0x1353 36 rax = rax + rcx 0x1356 37 rcx = sx.q([rbp - 0x34 {var_3c_1}].d) 0x135a 38 [rax + (rcx << 2)].d = edx 0x135d 39 rax = sx.q([rbp - 0x34 {var_3c_1}].d) 0x1361 40 edx = [rbp + (rax << 2) - 0x30].d 0x1365 41 rax = [rbp - 0x18 {var_20}].q 0x1369 42 rcx = sx.q([rbp - 0xc {var_14}].d) 0x136d 43 rcx = rcx * 0x14 0x1371 44 rax = rax + rcx 0x1374 45 rcx = sx.q([rbp - 0x34 {var_3c_1}].d) 0x1378 46 [rax + (rcx << 2)].d = edx 0x137b 47 eax = [rbp - 0x34 {var_3c_1}].d 0x137e 48 eax = eax + 1 0x1381 49 [rbp - 0x34 {var_3c_1}].d = eax 0x1384 50 goto 16 @ 0x130d int64_t _fini(): 0x139c 0 rsp = rsp - 8 0x13a0 1 rsp = rsp + 8 0x13a4 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) 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 - 0x1d8 0x115e 5 rdi = 0x2004 {"%d%d"} 0x1165 6 r14d = 0 0x1168 7 rsi = rsp + 0xc {var_1ec} 0x116d 8 rdx = rsp + 8 {var_1f0} 0x1172 9 eax = 0 0x1174 10 call(0x1040) 0x1179 11 ecx = [rsp + 0xc {var_1ec}].d 0x117d 12 r8d = [rsp + 8 {var_1f0}].d 0x1185 13 if (ecx s<= r8d) then 14 @ 0x11e1 else 17 @ 0x118a 0x11e1 14 r14d = 0 0x11e4 15 r9d = 1 0x11ea 16 goto 18 @ 0x11fa 0x118a 17 if (r14d == 0) then 20 @ 0x13c9 else 24 @ 0x1194 0x11fa 18 edx = 1 0x1202 19 if (ecx s< 3) then 25 @ 0x123a else 26 @ 0x1204 0x13c9 20 rdi = 0x2009 {"no"} 0x13d0 21 eax = 0 0x13d2 22 call(0x1030) 0x13d2 23 goto 29 @ 0x13d7 0x1194 24 if (r14d s< 2) then 35 @ 0x11c7 else 41 @ 0x1196 0x123a 25 if (edx == 0) then 45 @ 0x11f0 else 49 @ 0x123c 0x1204 26 ebx = 2 0x1209 27 esi = 0 0x120b 28 goto 132 @ 0x1219 0x13d7 29 rsp = rsp + 0x1d8 0x13de 30 rbx = pop 0x13df 31 r12 = pop 0x13e1 32 r14 = pop 0x13e3 33 r15 = pop 0x13e5 34 <return> jump(pop) 0x11c7 35 rax = sx.q(r14d) 0x11ca 36 esi = [rsp + (rax << 2) + 0x3c].d 0x11ce 37 rdi = 0x2006 {"%d"} 0x11d5 38 eax = 0 0x11d7 39 call(0x1030) 0x11dc 40 goto 29 @ 0x13d7 0x1196 41 r12d = (r14 - 1).d 0x119a 42 r15 = 0x200c {"%d,"} 0x11a1 43 ebx = 0 0x11ad 44 goto 146 @ 0x11b0 0x11f0 45 eax = (rcx + 1).d 0x11f3 46 cond:0 = ecx == r8d 0x11f6 47 ecx = eax 0x11f8 48 if (cond:0) then 17 @ 0x118a else 18 @ 0x11fa 0x123c 49 rax = sx.q(ecx) 0x123f 50 rdx = rax * 0x66666667 0x1246 51 rsi = rdx 0x1249 52 rsi = rsi u>> 0x3f 0x124d 53 rdx = rdx s>> 0x22 0x1251 54 edx = edx + esi 0x1253 55 esi = (rdx + rdx).d 0x1256 56 esi = (rsi + (rsi << 2)).d 0x1259 57 ebx = ecx 0x125b 58 ebx = ebx - esi 0x125d 59 [rsp + 0x14 {var_1e4_1}].d = ebx 0x1261 60 rdx = sx.q(edx) 0x1264 61 rsi = rdx * 0x66666667 0x126b 62 rbx = rsi 0x126e 63 rbx = rbx u>> 0x3f 0x1272 64 rsi = rsi s>> 0x22 0x1276 65 esi = esi + ebx 0x1278 66 esi = esi + esi 0x127a 67 esi = (rsi + (rsi << 2)).d 0x127d 68 edx = edx - esi 0x127f 69 [rsp + 0x18 {var_1e0_1}].d = edx 0x1283 70 rdx = rax * 0x51eb851f 0x128a 71 rsi = rdx 0x128d 72 rsi = rsi u>> 0x3f 0x1291 73 rdx = rdx s>> 0x25 0x1295 74 edx = edx + esi 0x1297 75 rdx = sx.q(edx) 0x129a 76 rsi = rdx * 0x66666667 0x12a1 77 rbx = rsi 0x12a4 78 rbx = rbx u>> 0x3f 0x12a8 79 rsi = rsi s>> 0x22 0x12ac 80 esi = esi + ebx 0x12ae 81 esi = esi + esi 0x12b0 82 esi = (rsi + (rsi << 2)).d 0x12b3 83 edx = edx - esi 0x12b5 84 [rsp + 0x1c {var_1dc_1}].d = edx 0x12b9 85 rdx = rax * 0x10624dd3 0x12c0 86 rsi = rdx 0x12c3 87 rsi = rsi u>> 0x3f 0x12c7 88 rdx = rdx s>> 0x26 0x12cb 89 edx = edx + esi 0x12cd 90 rdx = sx.q(edx) 0x12d0 91 rsi = rdx * 0x66666667 0x12d7 92 rbx = rsi 0x12da 93 rbx = rbx u>> 0x3f 0x12de 94 rsi = rsi s>> 0x22 0x12e2 95 esi = esi + ebx 0x12e4 96 esi = esi + esi 0x12e6 97 esi = (rsi + (rsi << 2)).d 0x12e9 98 edx = edx - esi 0x12eb 99 [rsp + 0x20 {var_1d8_1}].d = edx 0x12ef 100 rdx = rax * 0x68db8bad 0x12f6 101 rsi = rdx 0x12f9 102 rsi = rsi u>> 0x3f 0x12fd 103 rdx = rdx s>> 0x2c 0x1301 104 edx = edx + esi 0x1303 105 rdx = sx.q(edx) 0x1306 106 rsi = rdx * 0x66666667 0x130d 107 rbx = rsi 0x1310 108 rbx = rbx u>> 0x3f 0x1314 109 rsi = rsi s>> 0x22 0x1318 110 esi = esi + ebx 0x131a 111 esi = esi + esi 0x131c 112 esi = (rsi + (rsi << 2)).d 0x131f 113 edx = edx - esi 0x1321 114 [rsp + 0x24 {var_1d4_1}].d = edx 0x1325 115 rax = rax * 0x14f8b589 0x132c 116 rdx = rax 0x132f 117 rdx = rdx u>> 0x3f 0x1333 118 rax = rax s>> 0x2d 0x1337 119 eax = eax + edx 0x1339 120 rax = sx.q(eax) 0x133b 121 rdx = rax * 0x66666667 0x1342 122 rsi = rdx 0x1345 123 rsi = rsi u>> 0x3f 0x1349 124 rdx = rdx s>> 0x22 0x134d 125 edx = edx + esi 0x134f 126 edx = edx + edx 0x1351 127 edx = (rdx + (rdx << 2)).d 0x1354 128 eax = eax - edx 0x1356 129 [rsp + 0x28 {var_1d0_1}].d = eax 0x135a 130 edx = 1 0x135f 131 goto 152 @ 0x1365 0x1219 132 eax = ecx 0x121b 133 temp2.d:temp3.d = sx.q(eax) 0x121b 134 edx = temp2.d 0x121b 135 eax = temp3.d 0x121c 136 temp4.d = edx 0x121c 137 temp5.d = eax 0x121c 138 temp0.d = divs.dp.d(temp4.d:temp5.d, ebx) 0x121c 139 temp6.d = edx 0x121c 140 temp7.d = eax 0x121c 141 temp1.d = mods.dp.d(temp6.d:temp7.d, ebx) 0x121c 142 eax = temp0.d 0x121c 143 edx = temp1.d 0x121e 144 eax = 1 0x1225 145 if (edx == 0) then 153 @ 0x1210 else 156 @ 0x1227 0x11b0 146 esi = [rsp + (rbx << 2) + 0x40].d 0x11b4 147 rdi = r15 0x11b7 148 eax = 0 0x11b9 149 call(0x1030) 0x11be 150 rbx = rbx + 1 0x11c5 151 if (r12 != rbx) then 146 @ 0x11b0 else 35 @ 0x11c7 0x1365 152 if ([rsp + (rdx << 2) + 0x10].d != 0) then 158 else 160 @ 0x1368 0x1210 153 ebx = ebx + 1 0x1213 154 esi = eax 0x1217 155 if (ecx == ebx) then 162 @ 0x1230 else 132 @ 0x1219 0x1227 156 eax = esi 0x1229 157 goto 153 @ 0x1210 0x1365 158 eax = edx 0x1365 159 goto 160 @ 0x1368 0x1368 160 rdx = rdx + 1 0x1370 161 if (rdx != 7) then 152 @ 0x1365 else 165 @ 0x1374 0x1230 162 edx = 0 0x1235 163 dl = eax != 1 0x1235 164 goto 25 @ 0x123a 0x1374 165 if (eax s<= 0) then 166 @ 0x13ab else 168 @ 0x1376 0x13ab 166 eax = 1 0x13b2 167 if (eax == 0) then 45 @ 0x11f0 else 172 @ 0x13b8 0x1376 168 ebx = (rax + 1).d 0x1379 169 edx = 0 0x137b 170 esi = 1 0x137b 171 goto 176 @ 0x1380 0x13b8 172 r14 = sx.q(r14d) 0x13bb 173 [rsp + (r14 << 2) + 0x40].d = ecx 0x13c0 174 r14d = r14d + 1 0x13c4 175 goto 45 @ 0x11f0 0x1380 176 rax = sx.q(eax) 0x1382 177 edi = [rsp + (rax << 2) + 0x10].d 0x138a 178 if (edi != [rsp + (rsi << 2) + 0x10].d) then 179 else 181 @ 0x138e 0x138a 179 edx = r9d 0x138a 180 goto 181 @ 0x138e 0x138e 181 rsi = rsi + 1 0x1392 182 eax = eax - 1 0x1398 183 if (rbx != rsi) then 176 @ 0x1380 else 184 @ 0x139a 0x139a 184 eax = 0 0x139e 185 al = edx == 0 0x13a3 186 if (eax == 0) then 45 @ 0x11f0 else 187 @ 0x13a9 0x13a9 187 goto 172 @ 0x13b8 int64_t ss(int32_t arg1): 0x13f0 0 eax = 1 0x13f8 1 if (edi s< 3) then 2 @ 0x1435 else 3 @ 0x13fa 0x1435 2 <return> jump(pop) 0x13fa 3 r8d = edi 0x13fd 4 ecx = 2 0x1402 5 esi = 0 0x1404 6 goto 7 @ 0x141a 0x141a 7 eax = r8d 0x141d 8 temp2.d:temp3.d = sx.q(eax) 0x141d 9 edx = temp2.d 0x141d 10 eax = temp3.d 0x141e 11 temp4.d = edx 0x141e 12 temp5.d = eax 0x141e 13 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x141e 14 temp6.d = edx 0x141e 15 temp7.d = eax 0x141e 16 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x141e 17 eax = temp0.d 0x141e 18 edx = temp1.d 0x1420 19 edi = 1 0x1427 20 if (edx == 0) then 21 @ 0x1410 else 24 @ 0x1429 0x1410 21 ecx = ecx + 1 0x1413 22 esi = edi 0x1418 23 if (r8d == ecx) then 26 @ 0x142d else 7 @ 0x141a 0x1429 24 edi = esi 0x142b 25 goto 21 @ 0x1410 0x142d 26 eax = 0 0x1432 27 al = edi != 1 0x1432 28 goto 2 @ 0x1435 int64_t hw(int32_t arg1): 0x1440 0 push(rbx) 0x1441 1 r9 = sx.q(edi) 0x1444 2 r10 = r9 * 0x66666667 0x144b 3 rcx = r10 0x144e 4 rcx = rcx u>> 0x3f 0x1452 5 r10 = r10 s>> 0x22 0x1456 6 r10d = r10d + ecx 0x1459 7 ecx = (r10 + r10).d 0x145d 8 r8d = (rcx + (rcx << 2)).d 0x1461 9 r11 = r9 * 0x51eb851f 0x1468 10 rbx = r9 * 0x10624dd3 0x146f 11 rdx = r9 * 0x68db8bad 0x1476 12 rcx = r9 * 0x14f8b589 0x147d 13 eax = r9d 0x1480 14 eax = eax - r8d 0x1483 15 [rsp - 0x2c {var_34}].d = eax 0x1487 16 rax = sx.q(r10d) 0x148a 17 rsi = rax * 0x66666667 0x1491 18 rdi = rsi 0x1494 19 rdi = rdi u>> 0x3f 0x1498 20 rsi = rsi s>> 0x22 0x149c 21 esi = esi + edi 0x149e 22 esi = esi + esi 0x14a0 23 esi = (rsi + (rsi << 2)).d 0x14a3 24 eax = eax - esi 0x14a5 25 [rsp - 0x28 {var_30}].d = eax 0x14a9 26 rax = r11 0x14ac 27 rax = rax u>> 0x3f 0x14b0 28 r11 = r11 s>> 0x25 0x14b4 29 r11d = r11d + eax 0x14b7 30 rax = sx.q(r11d) 0x14ba 31 rsi = rax * 0x66666667 0x14c1 32 rdi = rsi 0x14c4 33 rdi = rdi u>> 0x3f 0x14c8 34 rsi = rsi s>> 0x22 0x14cc 35 esi = esi + edi 0x14ce 36 esi = esi + esi 0x14d0 37 esi = (rsi + (rsi << 2)).d 0x14d3 38 eax = eax - esi 0x14d5 39 [rsp - 0x24 {var_2c}].d = eax 0x14d9 40 rax = rbx 0x14dc 41 rax = rax u>> 0x3f 0x14e0 42 rbx = rbx s>> 0x26 0x14e4 43 ebx = ebx + eax 0x14e6 44 rax = sx.q(ebx) 0x14e9 45 rsi = rax * 0x66666667 0x14f0 46 rdi = rsi 0x14f3 47 rdi = rdi u>> 0x3f 0x14f7 48 rsi = rsi s>> 0x22 0x14fb 49 esi = esi + edi 0x14fd 50 esi = esi + esi 0x14ff 51 esi = (rsi + (rsi << 2)).d 0x1502 52 eax = eax - esi 0x1504 53 [rsp - 0x20 {var_28}].d = eax 0x1508 54 rax = rdx 0x150b 55 rax = rax u>> 0x3f 0x150f 56 rdx = rdx s>> 0x2c 0x1513 57 edx = edx + eax 0x1515 58 rax = sx.q(edx) 0x1518 59 rdx = rax * 0x66666667 0x151f 60 rsi = rdx 0x1522 61 rsi = rsi u>> 0x3f 0x1526 62 rdx = rdx s>> 0x22 0x152a 63 edx = edx + esi 0x152c 64 edx = edx + edx 0x152e 65 edx = (rdx + (rdx << 2)).d 0x1531 66 eax = eax - edx 0x1533 67 [rsp - 0x1c {var_24}].d = eax 0x1537 68 rax = rcx 0x153a 69 rax = rax u>> 0x3f 0x153e 70 rcx = rcx s>> 0x2d 0x1542 71 ecx = ecx + eax 0x1544 72 rax = sx.q(ecx) 0x1547 73 rcx = rax * 0x66666667 0x154e 74 rdx = rcx 0x1551 75 rdx = rdx u>> 0x3f 0x1555 76 rcx = rcx s>> 0x22 0x1559 77 ecx = ecx + edx 0x155b 78 ecx = ecx + ecx 0x155d 79 ecx = (rcx + (rcx << 2)).d 0x1560 80 eax = eax - ecx 0x1562 81 [rsp - 0x18 {var_20}].d = eax 0x1566 82 ecx = 1 0x156b 83 goto 84 @ 0x1575 0x1575 84 if ([rsp + (rcx << 2) - 0x30].d != 0) then 85 else 87 @ 0x1578 0x1575 85 eax = ecx 0x1575 86 goto 87 @ 0x1578 0x1578 87 rcx = rcx + 1 0x1580 88 if (rcx != 7) then 84 @ 0x1575 else 89 @ 0x1584 0x1584 89 if (eax s<= 0) then 90 @ 0x15c2 else 93 @ 0x1586 0x15c2 90 eax = 1 0x15c7 91 rbx = pop 0x15c8 92 <return> jump(pop) 0x1586 93 edx = (rax + 1).d 0x1589 94 ecx = 0 0x158b 95 esi = 1 0x1590 96 edi = 1 0x159f 97 goto 98 @ 0x15a0 0x15a0 98 rax = sx.q(eax) 0x15a2 99 ebx = [rsp + (rax << 2) - 0x30].d 0x15aa 100 if (ebx != [rsp + (rsi << 2) - 0x30].d) then 101 else 103 @ 0x15ad 0x15aa 101 ecx = edi 0x15aa 102 goto 103 @ 0x15ad 0x15ad 103 rsi = rsi + 1 0x15b1 104 eax = eax - 1 0x15b7 105 if (rdx != rsi) then 98 @ 0x15a0 else 106 @ 0x15b9 0x15b9 106 eax = 0 0x15bd 107 al = ecx == 0 0x15c0 108 rbx = pop 0x15c1 109 <return> jump(pop) int64_t _fini(): 0x15d0 0 rsp = rsp - 8 0x15d4 1 rsp = rsp + 8 0x15d8 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) 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) 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 {"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 - 0x460 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rdi = rbp - 0x240 {var_248} 0x1189 5 rsi = 0x2010 {"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"} 0x1190 6 edx = 0x25 {""} 0x1195 7 call(0x1040) 0x119a 8 rdi = rbp - 0x440 {var_448} 0x11a1 9 esi = 0 0x11a3 10 edx = 0xff {""} 0x11a8 11 call(0x1050) 0x11ad 12 [rbp - 0x440 {var_448}].b = 0x30 {""} 0x11b4 13 [rbp - 0x450 {var_458}].d = 0 0x11be 14 [rbp - 0x458 {var_460}].q = 0 0x11c9 15 [rbp - 0x444 {var_44c}].d = 0x30 {""} 0x11c9 16 goto 17 @ 0x11da 0x11da 17 if ([rbp - 0x444 {var_44c}].d s> 0x39) then 18 @ 0x120b else 20 @ 0x11e0 0x120b 18 [rbp - 0x444 {var_44c_1}].d = 0x41 {""} 0x120b 19 goto 28 @ 0x121c 0x11e0 20 ecx = [rbp - 0x444 {var_44c}].d 0x11e6 21 ecx = ecx - 0x30 0x11e9 22 rax = sx.q([rbp - 0x444 {var_44c}].d) 0x11f0 23 [rbp + (rax << 2) - 0x210].d = ecx 0x11f7 24 eax = [rbp - 0x444 {var_44c}].d 0x11fd 25 eax = eax + 1 0x1200 26 [rbp - 0x444 {var_44c}].d = eax 0x1206 27 goto 17 @ 0x11da 0x121c 28 if ([rbp - 0x444 {var_44c_1}].d s> 0x5a) then 29 @ 0x1250 else 31 @ 0x1222 0x1250 29 [rbp - 0x444 {var_44c_2}].d = 0x61 {""} 0x1250 30 goto 40 @ 0x1261 0x1222 31 ecx = [rbp - 0x444 {var_44c_1}].d 0x1228 32 ecx = ecx - 0x41 0x122b 33 ecx = ecx + 0xa 0x122e 34 rax = sx.q([rbp - 0x444 {var_44c_1}].d) 0x1235 35 [rbp + (rax << 2) - 0x210].d = ecx 0x123c 36 eax = [rbp - 0x444 {var_44c_1}].d 0x1242 37 eax = eax + 1 0x1245 38 [rbp - 0x444 {var_44c_1}].d = eax 0x124b 39 goto 28 @ 0x121c 0x1261 40 if ([rbp - 0x444 {var_44c_2}].d s>= 0x7a) then 41 @ 0x1295 else 49 @ 0x1267 0x1295 41 rdx = rbp - 0x340 {var_348} 0x129c 42 rdi = 0x2035 {"%d %s %d"} 0x12a3 43 rsi = rbp - 0x448 {var_450} 0x12aa 44 rcx = rbp - 0x44c {var_454} 0x12b1 45 al = 0 0x12b3 46 call(0x1060) 0x12b8 47 [rbp - 0x444 {var_44c_3}].d = 0 0x12b8 48 goto 58 @ 0x12c2 0x1267 49 ecx = [rbp - 0x444 {var_44c_2}].d 0x126d 50 ecx = ecx - 0x61 0x1270 51 ecx = ecx + 0xa 0x1273 52 rax = sx.q([rbp - 0x444 {var_44c_2}].d) 0x127a 53 [rbp + (rax << 2) - 0x210].d = ecx 0x1281 54 eax = [rbp - 0x444 {var_44c_2}].d 0x1287 55 eax = eax + 1 0x128a 56 [rbp - 0x444 {var_44c_2}].d = eax 0x1290 57 goto 40 @ 0x1261 0x12c2 58 rax = sx.q([rbp - 0x444 {var_44c_3}].d) 0x12c9 59 eax = sx.d([rbp + rax - 0x340].b) 0x12d4 60 if (eax == 0) then 61 @ 0x1322 else 65 @ 0x12da 0x1322 61 rdx = [rbp - 0x458 {var_460}].q 0x1329 62 eax = 0 0x132b 63 ecx = 1 0x1334 64 if (rdx == 0) then 77 else 79 @ 0x1337 0x12da 65 rax = [rbp - 0x458 {var_460}].q 0x12e1 66 rcx = sx.q([rbp - 0x448 {var_450}].d) 0x12e8 67 rax = rax * rcx 0x12ec 68 rcx = sx.q([rbp - 0x444 {var_44c_3}].d) 0x12f3 69 rcx = sx.q([rbp + rcx - 0x340].b) 0x12fc 70 rcx = sx.q([rbp + (rcx << 2) - 0x210].d) 0x1304 71 rax = rax + rcx 0x1307 72 [rbp - 0x458 {var_460}].q = rax 0x130e 73 eax = [rbp - 0x444 {var_44c_3}].d 0x1314 74 eax = eax + 1 0x1317 75 [rbp - 0x444 {var_44c_3}].d = eax 0x131d 76 goto 58 @ 0x12c2 0x1334 77 eax = ecx 0x1334 78 goto 79 @ 0x1337 0x1337 79 [rbp - 0x450 {var_458_1}].d = eax 0x1337 80 goto 81 @ 0x1345 0x1345 81 if ([rbp - 0x458 {var_460}].q s<= 0) then 82 @ 0x139e else 86 @ 0x134b 0x139e 82 eax = [rbp - 0x450 {var_458_1}].d 0x13a4 83 eax = eax - 1 0x13a7 84 [rbp - 0x444 {var_44c_4}].d = eax 0x13a7 85 goto 109 @ 0x13b4 0x134b 86 rax = [rbp - 0x458 {var_460}].q 0x1352 87 rcx = sx.q([rbp - 0x44c {var_454}].d) 0x1359 88 rdx:rax = sx.o(rax) 0x135b 89 temp0.q = divs.dp.q(rdx:rax, rcx) 0x135b 90 temp1.q = mods.dp.q(rdx:rax, rcx) 0x135b 91 rax = temp0.q 0x135b 92 rdx = temp1.q 0x135e 93 cl = [rbp + rdx - 0x240].b 0x1365 94 eax = [rbp - 0x450 {var_458_1}].d 0x136b 95 edx = eax 0x136d 96 edx = edx + 1 0x1370 97 [rbp - 0x450 {var_458_1}].d = edx 0x1376 98 rax = sx.q(eax) 0x1378 99 [rbp + rax - 0x440].b = cl 0x137f 100 rax = [rbp - 0x458 {var_460}].q 0x1386 101 rcx = sx.q([rbp - 0x44c {var_454}].d) 0x138d 102 rdx:rax = sx.o(rax) 0x138f 103 temp0.q = divs.dp.q(rdx:rax, rcx) 0x138f 104 temp1.q = mods.dp.q(rdx:rax, rcx) 0x138f 105 rax = temp0.q 0x138f 106 rdx = temp1.q 0x1392 107 [rbp - 0x458 {var_460}].q = rax 0x1399 108 goto 81 @ 0x1345 0x13b4 109 if ([rbp - 0x444 {var_44c_4}].d s< 0) then 110 @ 0x13eb else 114 @ 0x13ba 0x13eb 110 eax = 0 0x13ed 111 rsp = rsp + 0x460 0x13f4 112 rbp = pop 0x13f5 113 <return> jump(pop) 0x13ba 114 rax = sx.q([rbp - 0x444 {var_44c_4}].d) 0x13c1 115 esi = sx.d([rbp + rax - 0x440].b) 0x13c9 116 rdi = 0x203e {"%c"} 0x13d0 117 al = 0 0x13d2 118 call(0x1030) 0x13d7 119 eax = [rbp - 0x444 {var_44c_4}].d 0x13dd 120 eax = eax - 1 0x13e0 121 [rbp - 0x444 {var_44c_4}].d = eax 0x13e6 122 goto 109 @ 0x13b4 int64_t _fini(): 0x13fc 0 rsp = rsp - 8 0x1400 1 rsp = rsp + 8 0x1404 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) 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 {"AWAVSH"} 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(rbx) 0x1175 3 rsp = rsp - 0xfb0 0x117c 4 rdi = rsp + 0x10 {var_fb8} 0x1181 5 edx = 0x190 {""} 0x1186 6 esi = 0 0x1188 7 call(0x1040) 0x118d 8 rdi = 0x2013 {"%d"} 0x1194 9 rsi = rsp + 0xc {var_fbc} 0x1199 10 eax = 0 0x119b 11 call(0x1050) 0x11a0 12 ecx = [rsp + 0xc {var_fbc}].d 0x11a6 13 if (ecx s<= 0) then 14 @ 0x11f7 else 16 @ 0x11a8 0x11f7 14 eax = ecx 0x11fb 15 if (ecx s<= 0) then 20 @ 0x127b else 23 @ 0x11fd 0x11a8 16 rbx = rsp + 0x1a0 {var_e28} 0x11b0 17 r14 = 0x2004 {"%s %d %d %c %c %d"} 0x11b7 18 r15d = 0 0x11ba 19 goto 26 @ 0x11c0 0x127b 20 r9d = 0 0x127e 21 ebx = 0 0x1285 22 if (eax s<= 0) then 40 @ 0x129d else 43 @ 0x1287 0x11fd 23 rcx = rsp + 0x1c0 {var_e08} 0x1205 24 edx = 0 0x1207 25 goto 46 @ 0x121d 0x11c0 26 rdx = rbx + 0x14 0x11c4 27 rcx = rbx + 0x18 0x11c8 28 r8 = rbx + 0x1c 0x11cc 29 r9 = rbx + 0x1d 0x11d0 30 rax = rbx + 0x20 0x11d4 31 [rsp {var_fc8}].q = rax 0x11d8 32 rdi = r14 0x11db 33 rsi = rbx 0x11de 34 eax = 0 0x11e0 35 call(0x1050) 0x11e5 36 r15 = r15 + 1 0x11e9 37 rcx = sx.q([rsp + 0xc {var_fbc}].d) 0x11ee 38 rbx = rbx + 0x24 0x11f5 39 if (r15 s< rcx) then 26 @ 0x11c0 else 14 @ 0x11f7 0x129d 40 cond:0 = eax s> 0 0x129f 41 r8d = 0 0x12a5 42 if (cond:0) then 48 else 50 @ 0x12a9 0x1287 43 ecx = 0 0x1289 44 ebx = 0 0x128b 45 goto 52 @ 0x1290 0x121d 46 esi = [rcx - 0xc].d 0x1223 47 if (esi s< 0x51) then 55 @ 0x1235 else 56 @ 0x1228 0x12a5 48 r8d = eax 0x12a5 49 goto 50 @ 0x12a9 0x12a9 50 esi = 1 0x12ae 51 goto 57 @ 0x12bb 0x1290 52 ebx = ebx + [rsp + (rcx << 2) + 0x10].d 0x1294 53 rcx = rcx + 1 0x129b 54 if (rax != rcx) then 52 @ 0x1290 else 40 @ 0x129d 0x1235 55 if (esi s< 0x56) then 58 @ 0x1248 else 59 @ 0x123b 0x1228 56 if ([rcx].d s<= 0) then 55 @ 0x1235 else 60 @ 0x122a 0x12bb 57 if (r9 == r8) then 62 @ 0x12f5 else 80 @ 0x12bd 0x1248 58 if (esi s< 0x5b) then 84 @ 0x1255 else 85 @ 0x124a 0x123b 59 if ([rcx - 8].d s< 0x51) then 58 @ 0x1248 else 87 @ 0x123d 0x122a 60 [rsp + (rdx << 2) + 0x10].d = [rsp + (rdx << 2) + 0x10].d + 0x1f40 0x122a 61 goto 55 @ 0x1235 0x12f5 62 r14d = r8d 0x12f8 63 rax = r14 + (r14 << 3) 0x12fc 64 rdi = rsp + (rax << 2) 0x1300 65 rdi = rdi + 0x1a0 0x1307 66 call(0x1060) 0x130c 67 esi = [rsp + (r14 << 2) + 0x10].d 0x1311 68 rdi = 0x2016 {"%d\n"} 0x1318 69 eax = 0 0x131a 70 call(0x1030) 0x131f 71 rdi = 0x2013 {"%d"} 0x1326 72 esi = ebx 0x1328 73 eax = 0 0x132a 74 call(0x1030) 0x132f 75 rsp = rsp + 0xfb0 0x1336 76 rbx = pop 0x1337 77 r14 = pop 0x1339 78 r15 = pop 0x133b 79 <return> jump(pop) 0x12bd 80 rdi = r9 0x12c0 81 r9 = r9 + 1 0x12c4 82 ecx = r9d 0x12ca 83 if (eax s<= r9d) then 89 @ 0x12b0 else 91 @ 0x12cc 0x1255 84 if (esi s< 0x56) then 94 @ 0x1269 else 95 @ 0x125b 0x124a 85 [rsp + (rdx << 2) + 0x10].d = [rsp + (rdx << 2) + 0x10].d + 0x7d0 0x124a 86 goto 84 @ 0x1255 0x123d 87 [rsp + (rdx << 2) + 0x10].d = [rsp + (rdx << 2) + 0x10].d + 0xfa0 0x123d 88 goto 58 @ 0x1248 0x12b0 89 rsi = rsi + 1 0x12b6 90 if (ecx == eax) then 96 @ 0x12f2 else 57 @ 0x12bb 0x12cc 91 edx = [rsp + (rdi << 2) + 0x10].d 0x12d0 92 rcx = rsi 0x12dd 93 goto 98 @ 0x12e4 0x1269 94 if ([rcx - 8].d s< 0x51) then 99 @ 0x1210 else 102 @ 0x126f 0x125b 95 if ([rcx - 3].b != 0x59) then 94 @ 0x1269 else 103 @ 0x125d 0x12f2 96 r8d = edi 0x12f2 97 goto 62 @ 0x12f5 0x12e4 98 if ([rsp + (rcx << 2) + 0x10].d s> edx) then 89 @ 0x12b0 else 105 @ 0x12e6 0x1210 99 rdx = rdx + 1 0x1214 100 rcx = rcx + 0x24 0x121b 101 if (rax == rdx) then 20 @ 0x127b else 46 @ 0x121d 0x126f 102 if ([rcx - 4].b != 0x59) then 99 @ 0x1210 else 107 @ 0x1271 0x125d 103 [rsp + (rdx << 2) + 0x10].d = [rsp + (rdx << 2) + 0x10].d + 0x3e8 0x125d 104 goto 94 @ 0x1269 0x12e6 105 rcx = rcx + 1 0x12ec 106 if (eax != ecx) then 98 @ 0x12e4 else 109 @ 0x12ee 0x1271 107 [rsp + (rdx << 2) + 0x10].d = [rsp + (rdx << 2) + 0x10].d + 0x352 0x1279 108 goto 99 @ 0x1210 0x12ee 109 ecx = eax 0x12f0 110 goto 89 @ 0x12b0 int64_t _fini(): 0x1340 0 rsp = rsp - 8 0x1344 1 rsp = rsp + 8 0x1348 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) 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 {"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 - 0x4b0 0x116f 6 r12d = 0xfffffffe {""} 0x1175 7 r15 = -1 0x117c 8 rbx = rsp {var_4d8} 0x117f 9 r14 = 0x2004 {"%d"} 0x1186 10 goto 11 @ 0x1190 0x1190 11 rdi = r14 0x1193 12 rsi = rbx 0x1196 13 eax = 0 0x1198 14 call(0x1050) 0x119d 15 eax = 0 0x119f 16 call(0x1040) 0x11a4 17 r12d = r12d + 1 0x11a8 18 r15 = r15 + 1 0x11ac 19 rbx = rbx + 4 0x11b2 20 if (al != 0xa) then 11 @ 0x1190 else 21 @ 0x11b4 0x11b4 21 r8d = r12d 0x11b7 22 temp0.d = r8d 0x11b7 23 r8d = r8d + 1 0x11ba 24 if (temp0.d == -1) then 25 @ 0x1367 else 29 @ 0x11c0 0x1367 25 rdi = 0x2007 {"No"} 0x136e 26 eax = 0 0x1370 27 call(0x1030) 0x1370 28 goto 33 @ 0x1375 0x11c0 29 ecx = 0 0x11c2 30 cond:0 = r12d s> 0 0x11c5 31 esi = 0 0x11ca 32 if (cond:0) then 41 else 43 @ 0x11ce 0x1375 33 eax = 0 0x1377 34 rsp = rsp + 0x4b0 0x137e 35 rbx = pop 0x137f 36 r12 = pop 0x1381 37 r14 = pop 0x1383 38 r15 = pop 0x1385 39 rbp = pop 0x1386 40 <return> jump(pop) 0x11ca 41 esi = r12d 0x11ca 42 goto 43 @ 0x11ce 0x11ce 43 edi = [rsp {var_4d8}].d 0x11d4 44 if (esi u>= 7) then 45 @ 0x11df else 54 @ 0x11d6 0x11df 45 esi = esi + 1 0x11e2 46 edx = esi 0x11e4 47 edx = edx & 0xfffffff8 0x11e7 48 xmm0 = edi 0x11eb 49 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x11f0 50 eax = 0 0x11f2 51 cond:1 = r12d s> 0 0x11f5 52 edi = 0 0x11fa 53 if (cond:1) then 57 else 59 @ 0x11fe 0x11d6 54 edx = 0 0x11d8 55 eax = 0 0x11da 56 goto 64 @ 0x126e 0x11fa 57 edi = r12d 0x11fa 58 goto 59 @ 0x11fe 0x11fe 59 edi = edi + 1 0x1201 60 edi = edi & 0xfffffff8 0x1204 61 xmm1 = 0 0x1208 62 xmm2 = 0 0x120c 63 goto 65 @ 0x1210 0x126e 64 if (r12d s> 0) then 77 else 79 @ 0x1272 0x1210 65 xmm3 = [rsp + (rax << 2) + 4].o 0x1215 66 xmm0 = _mm_shuffle_ps(xmm0, xmm3, 3) 0x1219 67 xmm0 = _mm_shuffle_ps(xmm0, xmm3, 0x98) 0x121d 68 xmm0 = _mm_cmpeq_epi32(xmm0, xmm3) 0x1221 69 xmm1 = _mm_sub_epi32(xmm1, xmm0) 0x1225 70 xmm0 = [rsp + (rax << 2) + 0x14].o 0x122a 71 xmm3 = _mm_shuffle_ps(xmm3, xmm0, 3) 0x122e 72 xmm3 = _mm_shuffle_ps(xmm3, xmm0, 0x98) 0x1232 73 xmm3 = _mm_cmpeq_epi32(xmm3, xmm0) 0x1236 74 xmm2 = _mm_sub_epi32(xmm2, xmm3) 0x123a 75 rax = rax + 8 0x1241 76 if (rdi != rax) then 65 @ 0x1210 else 81 @ 0x1243 0x126e 77 ecx = r12d 0x126e 78 goto 79 @ 0x1272 0x1272 79 rcx = rcx + 1 0x1276 80 goto 88 @ 0x1280 0x1243 81 xmm2 = _mm_add_epi32(xmm2, xmm1) 0x1247 82 xmm1 = _mm_shuffle_epi32(xmm2, 0xee) 0x124c 83 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x1250 84 xmm2 = _mm_shuffle_epi32(xmm1, 0x55) 0x1255 85 xmm2 = _mm_add_epi32(xmm2, xmm1) 0x1259 86 eax = xmm2.d 0x1260 87 if (rdx == rsi) then 95 @ 0x1299 else 98 @ 0x1262 0x1280 88 esi = [rsp + (rdx << 2) + 4].d 0x1284 89 rdx = rdx + 1 0x1288 90 ebp = 0 0x128c 91 bpl = edi == esi 0x1290 92 eax = eax + ebp 0x1292 93 edi = esi 0x1297 94 if (rcx != rdx) then 88 @ 0x1280 else 95 @ 0x1299 0x1299 95 ecx = r12d 0x129c 96 ecx = ecx - eax 0x12a1 97 if (ecx == -1) then 25 @ 0x1367 else 101 @ 0x12a7 0x1262 98 xmm0 = _mm_shuffle_epi32(xmm0, 0xff) 0x1267 99 edi = xmm0.d 0x1267 100 goto 64 @ 0x126e 0x12a7 101 cond:2 = r8d u>= 2 0x12ab 102 r11d = 1 0x12b1 103 r9d = 1 0x12b7 104 if (cond:2) then 105 else 107 @ 0x12bb 0x12b7 105 r9d = r8d 0x12b7 106 goto 107 @ 0x12bb 0x12bb 107 ecx = (r12 + 1).d 0x12c0 108 edi = 0 0x12c2 109 goto 110 @ 0x12e9 0x12e9 110 if (r11d s> r8d) then 111 @ 0x12d0 else 117 @ 0x12eb 0x12d0 111 eax = (r11 + 1).d 0x12d4 112 edi = edi + 1 0x12d7 113 ecx = ecx - 1 0x12da 114 cond:3 = r11d == r9d 0x12dd 115 r11d = eax 0x12e0 116 if (cond:3) then 122 @ 0x1387 else 110 @ 0x12e9 0x12eb 117 r10d = r12d 0x12ee 118 r10d = r10d - edi 0x12f1 119 r10d = r10d + 1 0x12f5 120 ebx = [rsp {var_4d8}].d 0x12fb 121 if (edi != r12d) then 125 @ 0x1320 else 129 @ 0x12fd 0x1387 122 eax = r15d 0x138a 123 ecx = 0 0x138c 124 goto 131 @ 0x1393 0x1320 125 esi = ecx 0x1322 126 esi = esi & 0xfffffffe 0x1325 127 eax = 0 0x1327 128 goto 132 @ 0x1340 0x12fd 129 edx = 0 0x12fd 130 goto 134 @ 0x1303 0x1393 131 if (rcx u> rax) then 33 @ 0x1375 else 135 @ 0x1395 0x1340 132 edx = [rsp + (rax << 2) + 4].d 0x1346 133 if (ebx s<= edx) then 140 @ 0x1350 else 143 @ 0x1348 0x1303 134 if ((r10b & 1) == 0) then 111 @ 0x12d0 else 145 @ 0x1305 0x1395 135 esi = [rsp + (rcx << 2) + 4].d 0x1399 136 rdx = rcx + 1 0x139d 137 cond:4 = [rsp + (rcx << 2)].d == esi 0x13a0 138 rcx = rdx 0x13a3 139 if (cond:4) then 131 @ 0x1393 else 147 @ 0x13a5 0x1350 140 [rsp + (rax << 2) + 4].d = ebx 0x1354 141 [rsp + (rax << 2)].d = edx 0x1354 142 goto 151 @ 0x1357 0x1348 143 ebx = edx 0x134a 144 goto 151 @ 0x1357 0x1305 145 eax = [rsp + (rdx << 2) + 4].d 0x130b 146 if (ebx s> eax) then 111 @ 0x12d0 else 154 @ 0x130d 0x13a5 147 rdi = 0x2004 {"%d"} 0x13ac 148 eax = 0 0x13ae 149 call(0x1030) 0x13b3 150 goto 33 @ 0x1375 0x1357 151 rdx = rax + 2 0x135b 152 ebp = [rsp + (rax << 2) + 8].d 0x1361 153 if (ebx s<= ebp) then 157 @ 0x1330 else 160 @ 0x1363 0x130d 154 [rsp + (rdx << 2) + 4].d = ebx 0x1311 155 [rsp + (rdx << 2)].d = eax 0x1314 156 goto 111 @ 0x12d0 0x1330 157 [rsp + (rax << 2) + 8].d = ebx 0x1334 158 [rsp + (rax << 2) + 4].d = ebp 0x1334 159 goto 162 @ 0x1338 0x1363 160 ebx = ebp 0x1365 161 goto 162 @ 0x1338 0x1338 162 rax = rdx 0x133e 163 if (rsi == rdx) then 134 @ 0x1303 else 132 @ 0x1340 int64_t _fini(): 0x13bc 0 rsp = rsp - 8 0x13c0 1 rsp = rsp + 8 0x13c4 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 {"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 - 0x3d18b8 0x115d 5 rdi = 0x2004 {"%d %d"} 0x1164 6 r15d = 0 0x1167 7 rsi = rsp + 8 {var_3d18d0} 0x116c 8 rdx = rsp + 0xc {var_3d18cc} 0x1171 9 eax = 0 0x1173 10 call(0x1040) 0x1178 11 ecx = [rsp + 8 {var_3d18d0}].d 0x117e 12 if (ecx s<= 0) then 13 @ 0x11b1 else 14 @ 0x1180 0x11b1 13 if (ecx s<= 0) then 18 @ 0x1216 else 20 @ 0x11b3 0x1180 14 rbx = rsp + 0x10 {var_3d18c8} 0x1185 15 r14 = 0x2007 {"%d"} 0x118c 16 ebp = 0 0x118e 17 goto 27 @ 0x1190 0x1216 18 eax = r15d 0x121c 19 if (r15d s<= 0) then 35 @ 0x1250 else 36 @ 0x121e 0x11b3 20 r8 = sx.q(ecx) 0x11b6 21 r9d = ecx 0x11b9 22 rdx = rsp + 0x14 {var_3d18c4} 0x11be 23 rsi = r9 - 1 0x11c2 24 edi = 0 0x11c4 25 r15d = 0 0x11c7 26 goto 39 @ 0x11dd 0x1190 27 rdi = r14 0x1193 28 rsi = rbx 0x1196 29 eax = 0 0x1198 30 call(0x1040) 0x119d 31 rbp = rbp + 1 0x11a1 32 rcx = sx.q([rsp + 8 {var_3d18d0}].d) 0x11a6 33 rbx = rbx + 4 0x11ad 34 if (rbp s< rcx) then 27 @ 0x1190 else 13 @ 0x11b1 0x1250 35 if (r15d s<= 0) then 42 @ 0x1286 else 44 @ 0x1252 0x121e 36 ecx = [rsp + 0xc {var_3d18cc}].d 0x1222 37 edx = 0 0x122e 38 goto 47 @ 0x1230 0x11dd 39 rax = rdi 0x11e0 40 rdi = rdi + 1 0x11e7 41 if (rdi s>= r8) then 52 @ 0x11d0 else 55 @ 0x11e9 0x1286 42 rdi = 0x200a {"no"} 0x1286 43 goto 61 @ 0x128d 0x1252 44 ecx = 0 0x1254 45 edx = 0 0x1256 46 goto 70 @ 0x1260 0x1230 47 esi = 0 0x1239 48 sil = [rsp + (rdx << 2) + 0xfb0].d == ecx 0x123d 49 [rsp + (rdx << 2) + 0xfb0].d = esi 0x1244 50 rdx = rdx + 1 0x124b 51 if (rax != rdx) then 47 @ 0x1230 else 35 @ 0x1250 0x11d0 52 rdx = rdx + 4 0x11d4 53 rsi = rsi - 1 0x11db 54 if (rdi == r9) then 18 @ 0x1216 else 39 @ 0x11dd 0x11e9 55 ebp = [rsp + (rax << 2) + 0x10].d 0x11ed 56 rax = sx.q(r15d) 0x11f0 57 rax = rsp + (rax << 2) 0x11f4 58 rax = rax + 0xfb0 0x11fa 59 ebx = 0 0x11fc 60 goto 73 @ 0x1200 0x128d 61 eax = 0 0x128f 62 call(0x1030) 0x1294 63 eax = 0 0x1296 64 rsp = rsp + 0x3d18b8 0x129d 65 rbx = pop 0x129e 66 r14 = pop 0x12a0 67 r15 = pop 0x12a2 68 rbp = pop 0x12a3 69 <return> jump(pop) 0x1260 70 edx = edx + [rsp + (rcx << 2) + 0xfb0].d 0x1267 71 rcx = rcx + 1 0x126e 72 if (rax != rcx) then 70 @ 0x1260 else 78 @ 0x1270 0x1200 73 ecx = [rdx + (rbx << 2)].d 0x1203 74 ecx = ecx + ebp 0x1205 75 [rax + (rbx << 2)].d = ecx 0x1208 76 rbx = rbx + 1 0x120f 77 if (rsi != rbx) then 73 @ 0x1200 else 82 @ 0x1211 0x1270 78 cond:0 = edx == 0 0x1272 79 rax = 0x200a {"no"} 0x1279 80 rdi = 0x200d {"yes"} 0x1280 81 if (cond:0) then 84 else 86 @ 0x1284 0x1211 82 r15d = r15d + ebx 0x1214 83 goto 52 @ 0x11d0 0x1280 84 rdi = rax 0x1280 85 goto 86 @ 0x1284 0x1284 86 goto 61 @ 0x128d int64_t _fini(): 0x12a8 0 rsp = rsp - 8 0x12ac 1 rsp = rsp + 8 0x12b0 2 <return> jump(pop)
POJ_3
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) 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 {"AWAVATSH8"} 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 - 0x338 0x116e 5 ebx = 0 0x116e 6 goto 7 @ 0x1170 0x1170 7 edi = 0x190 {""} 0x1175 8 call(0x1050) 0x117a 9 [rsp + (rbx << 3) + 0x10].q = rax 0x117f 10 rbx = rbx + 1 0x1187 11 if (rbx != 0x64) then 7 @ 0x1170 else 12 @ 0x1189 0x1189 12 rdi = 0x2004 {"%d %d"} 0x1190 13 rsi = rsp + 0xc {var_34c} 0x1195 14 rdx = rsp + 8 {var_350} 0x119a 15 eax = 0 0x119c 16 call(0x1040) 0x11a1 17 ecx = [rsp + 0xc {var_34c}].d 0x11a5 18 eax = [rsp + 8 {var_350}].d 0x11ab 19 if (ecx s<= 0) then 20 @ 0x1205 else 24 @ 0x11ad 0x1205 20 edx = (rcx + rax).d 0x1208 21 temp0.d = edx 0x1208 22 edx = edx - 2 0x120b 23 if (temp0.d - 2 s< 0) then 27 @ 0x1285 else 33 @ 0x120d 0x11ad 24 r14 = 0x2007 {"%d"} 0x11b4 25 r15d = 0 0x11b7 26 goto 36 @ 0x11ce 0x1285 27 rsp = rsp + 0x338 0x128c 28 rbx = pop 0x128d 29 r12 = pop 0x128f 30 r14 = pop 0x1291 31 r15 = pop 0x1293 32 <return> jump(pop) 0x120d 33 r15 = 0x200a {"%d\n"} 0x1214 34 r14d = 0 0x1217 35 goto 37 @ 0x123d 0x11ce 36 if (eax s<= 0) then 40 @ 0x11c0 else 43 @ 0x11d0 0x123d 37 rbx = r14 0x1240 38 r12d = 0 0x124d 39 goto 46 @ 0x1250 0x11c0 40 r15 = r15 + 1 0x11c4 41 rdx = sx.q(ecx) 0x11ca 42 if (r15 s>= rdx) then 20 @ 0x1205 else 36 @ 0x11ce 0x11d0 43 r12 = [rsp + (r15 << 3) + 0x10].q 0x11d5 44 ebx = 0 0x11d7 45 goto 48 @ 0x11e0 0x1250 46 rcx = sx.q(ecx) 0x1256 47 if (r12 s>= rcx) then 56 @ 0x1271 else 59 @ 0x1258 0x11e0 48 rdi = r14 0x11e3 49 rsi = r12 0x11e6 50 eax = 0 0x11e8 51 call(0x1040) 0x11ed 52 rbx = rbx + 1 0x11f1 53 rax = sx.q([rsp + 8 {var_350}].d) 0x11f6 54 r12 = r12 + 4 0x11fd 55 if (rbx s< rax) then 48 @ 0x11e0 else 61 @ 0x11ff 0x1271 56 temp1.q = rbx 0x1271 57 rbx = rbx - 1 0x1275 58 if (temp1.q u< 1) then 63 @ 0x1220 else 72 @ 0x1277 0x1258 59 rax = sx.q(eax) 0x125d 60 if (rbx s>= rax) then 56 @ 0x1271 else 76 @ 0x125f 0x11ff 61 ecx = [rsp + 0xc {var_34c}].d 0x1203 62 goto 40 @ 0x11c0 0x1220 63 rdx = r14 + 1 0x1224 64 ecx = [rsp + 0xc {var_34c}].d 0x1228 65 eax = [rsp + 8 {var_350}].d 0x122c 66 esi = (rcx + rax).d 0x122f 67 esi = esi - 2 0x1232 68 rsi = sx.q(esi) 0x1235 69 cond:0 = r14 s>= rsi 0x1238 70 r14 = rdx 0x123b 71 if (cond:0) then 27 @ 0x1285 else 37 @ 0x123d 0x1277 72 ecx = [rsp + 0xc {var_34c}].d 0x127b 73 eax = [rsp + 8 {var_350}].d 0x127f 74 r12 = r12 + 1 0x1283 75 goto 46 @ 0x1250 0x125f 76 rax = [rsp + (r12 << 3) + 0x10].q 0x1264 77 esi = [rax + (rbx << 2)].d 0x1267 78 rdi = r15 0x126a 79 eax = 0 0x126c 80 call(0x1030) 0x126c 81 goto 56 @ 0x1271 int64_t _fini(): 0x1298 0 rsp = rsp - 8 0x129c 1 rsp = rsp + 8 0x12a0 2 <return> jump(pop)
POJ_4
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 {"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 - 0xf0 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 [rbp - 0x14 {var_1c}].d = 0 0x1179 5 [rbp - 0x1c {var_24}].d = 0 0x1180 6 rdi = rbp - 0xf0 {var_f8} 0x1187 7 rsi = 0x2010 {"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"} 0x118e 8 edx = 0x25 {""} 0x1193 9 call(0x1040) 0x1198 10 rdx = rbp - 0x70 {var_78} 0x119c 11 rdi = 0x2035 {"%d %s %d"} 0x11a3 12 rsi = rbp - 8 {var_10} 0x11a7 13 rcx = rbp - 0xc {var_14} 0x11ab 14 al = 0 0x11ad 15 call(0x1050) 0x11b2 16 [rbp - 0x10 {var_18}].d = 0 0x11b2 17 goto 18 @ 0x11b9 0x11b9 18 rax = sx.q([rbp - 0x10 {var_18}].d) 0x11bd 19 eax = sx.d([rbp + rax - 0x70].b) 0x11c5 20 if (eax == 0) then 21 @ 0x1270 else 23 @ 0x11cb 0x1270 21 [rbp - 0x10 {var_18_1}].d = 0x4f {""} 0x1270 22 goto 25 @ 0x127b 0x11cb 23 [rbp - 0x18 {var_20_1}].d = 0 0x11cb 24 goto 26 @ 0x11d6 0x127b 25 if ([rbp - 0x10 {var_18_1}].d s<= 0) then 27 @ 0x12d2 else 31 @ 0x1281 0x11d6 26 if ([rbp - 0x18 {var_20_1}].d s>= 0x25) then 64 @ 0x125d else 65 @ 0x11dc 0x12d2 27 eax = 0x50 {"@"} 0x12d7 28 eax = eax - [rbp - 0x1c {var_24}].d 0x12da 29 [rbp - 0x10 {var_18_2}].d = eax 0x12da 30 goto 70 @ 0x12e1 0x1281 31 eax = [rbp - 0x14 {var_1c}].d 0x1284 32 temp2.d:temp3.d = sx.q(eax) 0x1284 33 edx = temp2.d 0x1284 34 eax = temp3.d 0x1285 35 temp4.d = edx 0x1285 36 temp5.d = eax 0x1285 37 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0xc {var_14}].d) 0x1285 38 temp6.d = edx 0x1285 39 temp7.d = eax 0x1285 40 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0xc {var_14}].d) 0x1285 41 eax = temp0.d 0x1285 42 edx = temp1.d 0x1288 43 rax = sx.q(edx) 0x128b 44 cl = [rbp + rax - 0xf0].b 0x1292 45 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x1296 46 [rbp + rax - 0xc0].b = cl 0x129d 47 eax = [rbp - 0x1c {var_24}].d 0x12a0 48 eax = eax + 1 0x12a3 49 [rbp - 0x1c {var_24}].d = eax 0x12a6 50 eax = [rbp - 0x14 {var_1c}].d 0x12a9 51 temp8.d:temp9.d = sx.q(eax) 0x12a9 52 edx = temp8.d 0x12a9 53 eax = temp9.d 0x12aa 54 temp10.d = edx 0x12aa 55 temp11.d = eax 0x12aa 56 temp0.d = divs.dp.d(temp10.d:temp11.d, [rbp - 0xc {var_14}].d) 0x12aa 57 temp12.d = edx 0x12aa 58 temp13.d = eax 0x12aa 59 temp1.d = mods.dp.d(temp12.d:temp13.d, [rbp - 0xc {var_14}].d) 0x12aa 60 eax = temp0.d 0x12aa 61 edx = temp1.d 0x12ad 62 [rbp - 0x14 {var_1c}].d = eax 0x12b4 63 if ([rbp - 0x14 {var_1c}].d != 0) then 71 @ 0x12bf else 72 @ 0x12ba 0x125d 64 goto 73 @ 0x1262 0x11dc 65 rax = sx.q([rbp - 0x10 {var_18}].d) 0x11e0 66 eax = sx.d([rbp + rax - 0x70].b) 0x11e5 67 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x11e9 68 ecx = sx.d([rbp + rcx - 0xf0].b) 0x11f3 69 if (eax == ecx) then 77 @ 0x123d else 82 @ 0x11f9 0x12e1 70 if ([rbp - 0x10 {var_18_2}].d s>= 0x50) then 88 @ 0x130f else 92 @ 0x12e7 0x12bf 71 goto 101 @ 0x12c4 0x12ba 72 goto 27 @ 0x12d2 0x1262 73 eax = [rbp - 0x10 {var_18}].d 0x1265 74 eax = eax + 1 0x1268 75 [rbp - 0x10 {var_18}].d = eax 0x126b 76 goto 18 @ 0x11b9 0x123d 77 eax = [rbp - 0x14 {var_1c}].d 0x1240 78 eax = eax * [rbp - 8 {var_10}].d 0x1244 79 eax = eax + [rbp - 0x18 {var_20_1}].d 0x1247 80 [rbp - 0x14 {var_1c}].d = eax 0x1247 81 goto 105 @ 0x124a 0x11f9 82 rax = sx.q([rbp - 0x10 {var_18}].d) 0x11fd 83 eax = sx.d([rbp + rax - 0x70].b) 0x1202 84 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x1206 85 ecx = sx.d([rbp + rcx - 0xf0].b) 0x120e 86 ecx = ecx + 0x20 0x1213 87 if (eax != ecx) then 105 @ 0x124a else 106 @ 0x1219 0x130f 88 eax = 0 0x1311 89 rsp = rsp + 0xf0 0x1318 90 rbp = pop 0x1319 91 <return> jump(pop) 0x12e7 92 rax = sx.q([rbp - 0x10 {var_18_2}].d) 0x12eb 93 esi = sx.d([rbp + rax - 0xc0].b) 0x12f3 94 rdi = 0x203e {"%c"} 0x12fa 95 al = 0 0x12fc 96 call(0x1030) 0x1301 97 eax = [rbp - 0x10 {var_18_2}].d 0x1304 98 eax = eax + 1 0x1307 99 [rbp - 0x10 {var_18_2}].d = eax 0x130a 100 goto 70 @ 0x12e1 0x12c4 101 eax = [rbp - 0x10 {var_18_1}].d 0x12c7 102 eax = eax - 1 0x12ca 103 [rbp - 0x10 {var_18_1}].d = eax 0x12cd 104 goto 25 @ 0x127b 0x124a 105 goto 109 @ 0x124f 0x1219 106 rax = sx.q([rbp - 0x10 {var_18}].d) 0x121d 107 eax = sx.d([rbp + rax - 0x70].b) 0x1225 108 if (eax s< 0x61) then 105 @ 0x124a else 113 @ 0x122b 0x124f 109 eax = [rbp - 0x18 {var_20_1}].d 0x1252 110 eax = eax + 1 0x1255 111 [rbp - 0x18 {var_20_1}].d = eax 0x1258 112 goto 26 @ 0x11d6 0x122b 113 rax = sx.q([rbp - 0x10 {var_18}].d) 0x122f 114 eax = sx.d([rbp + rax - 0x70].b) 0x1237 115 if (eax s> 0x7a) then 105 @ 0x124a else 77 @ 0x123d int64_t _fini(): 0x1320 0 rsp = rsp - 8 0x1324 1 rsp = rsp + 8 0x1328 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) 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 {"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 - 0x92800 0x116f 6 rdi = 0x2038 {"%d"} 0x1176 7 ebx = 0 0x1178 8 rsi = rsp + 0xc {var_9281c} 0x117d 9 eax = 0 0x117f 10 call(0x1050) 0x1184 11 r14d = 0xc351 {""} 0x118f 12 if ([rsp + 0xc {var_9281c}].d s<= 0) then 13 @ 0x1692 else 19 @ 0x1195 0x1692 13 rdi = 0x2035 {"%d %d"} 0x1699 14 esi = r14d 0x169c 15 edx = ebx 0x169e 16 eax = 0 0x16a0 17 call(0x1030) 0x16a0 18 goto 24 @ 0x16a5 0x1195 19 r12 = rsp + 0x10 {var_92818} 0x119a 20 rbp = rsp + 0x30d60 {var_61ac8} 0x11a2 21 r15 = 0x2030 {"%d%d"} 0x11a9 22 ebx = 0 0x11ab 23 goto 32 @ 0x11b0 0x16a5 24 eax = 0 0x16a7 25 rsp = rsp + 0x92800 0x16ae 26 rbx = pop 0x16af 27 r12 = pop 0x16b1 28 r14 = pop 0x16b3 29 r15 = pop 0x16b5 30 rbp = pop 0x16b6 31 <return> jump(pop) 0x11b0 32 rdi = r15 0x11b3 33 rsi = rbp 0x11b6 34 rdx = r12 0x11b9 35 eax = 0 0x11bb 36 call(0x1050) 0x11c0 37 rbx = rbx + 1 0x11c4 38 rax = sx.q([rsp + 0xc {var_9281c}].d) 0x11c9 39 r12 = r12 + 4 0x11cd 40 rbp = rbp + 4 0x11d4 41 if (rbx s< rax) then 32 @ 0x11b0 else 42 @ 0x11d6 0x11d6 42 r15d = eax 0x11dc 43 if (r15d s<= 0) then 44 @ 0x11f1 else 46 @ 0x11e2 0x11f1 44 ebx = 0 0x11f3 45 goto 13 @ 0x1692 0x11e2 46 if (r15d u>= 8) then 47 @ 0x11f8 else 54 @ 0x11e4 0x11f8 47 eax = r15d 0x11fb 48 eax = eax & 0xfffffff8 0x11fe 49 rdx = rax - 8 0x1202 50 rcx = rdx 0x1205 51 rcx = rcx u>> 3 0x1209 52 rcx = rcx + 1 0x1210 53 if (rdx == 0) then 57 @ 0x1525 else 61 @ 0x1216 0x11e4 54 r14d = 0xc351 {""} 0x11ea 55 eax = 0 0x11ec 56 goto 67 @ 0x1350 0x1525 57 xmm0 = [0x2010].o 0x152d 58 edx = 0 0x152f 59 xmm1 = xmm0 0x1536 60 if ((cl & 1) != 0) then 69 @ 0x12b3 else 84 @ 0x153c 0x1216 61 rsi = rcx 0x1219 62 rsi = rsi & 0xfffffffffffffffe 0x121d 63 xmm0 = [0x2010].o 0x1225 64 edx = 0 0x1227 65 xmm1 = xmm0 0x122b 66 goto 85 @ 0x1230 0x1350 67 ecx = [rsp + (rax << 2) + 0x30d60].d 0x135a 68 if (ecx s< r14d) then 113 else 115 @ 0x135e 0x12b3 69 xmm2 = [rsp + (rdx << 2) + 0x30d60].o 0x12bc 70 xmm3 = [rsp + (rdx << 2) + 0x30d70].o 0x12c5 71 xmm4 = xmm0 0x12c9 72 xmm4 = _mm_cmpgt_epi32(xmm4, xmm2) 0x12cd 73 xmm2 = xmm2 & xmm4 0x12d1 74 xmm4 = xmm4 & not.o(xmm0) 0x12d5 75 xmm4 = xmm4 | xmm2 0x12d9 76 xmm2 = xmm1 0x12dd 77 xmm2 = _mm_cmpgt_epi32(xmm2, xmm3) 0x12e1 78 xmm3 = xmm3 & xmm2 0x12e5 79 xmm2 = xmm2 & not.o(xmm1) 0x12e9 80 xmm2 = xmm2 | xmm3 0x12ed 81 xmm0 = xmm4 0x12f1 82 xmm1 = xmm2 0x12f1 83 goto 117 @ 0x12f5 0x153c 84 goto 117 @ 0x12f5 0x1230 85 xmm2 = [rsp + (rdx << 2) + 0x30d60].o 0x1239 86 xmm3 = [rsp + (rdx << 2) + 0x30d70].o 0x1242 87 xmm4 = [rsp + (rdx << 2) + 0x30d80].o 0x124b 88 xmm5 = [rsp + (rdx << 2) + 0x30d90].o 0x1254 89 xmm6 = xmm0 0x1258 90 xmm6 = _mm_cmpgt_epi32(xmm6, xmm2) 0x125c 91 xmm2 = xmm2 & xmm6 0x1260 92 xmm6 = xmm6 & not.o(xmm0) 0x1264 93 xmm6 = xmm6 | xmm2 0x1268 94 xmm2 = xmm1 0x126c 95 xmm2 = _mm_cmpgt_epi32(xmm2, xmm3) 0x1270 96 xmm3 = xmm3 & xmm2 0x1274 97 xmm2 = xmm2 & not.o(xmm1) 0x1278 98 xmm2 = xmm2 | xmm3 0x127c 99 xmm0 = xmm6 0x1280 100 xmm0 = _mm_cmpgt_epi32(xmm0, xmm4) 0x1284 101 xmm4 = xmm4 & xmm0 0x1288 102 xmm0 = xmm0 & not.o(xmm6) 0x128c 103 xmm0 = xmm0 | xmm4 0x1290 104 xmm1 = xmm2 0x1294 105 xmm1 = _mm_cmpgt_epi32(xmm1, xmm5) 0x1298 106 xmm5 = xmm5 & xmm1 0x129c 107 xmm1 = xmm1 & not.o(xmm2) 0x12a0 108 xmm1 = xmm1 | xmm5 0x12a4 109 rdx = rdx + 0x10 0x12a8 110 temp0.q = rsi 0x12a8 111 rsi = rsi - 2 0x12ac 112 if (temp0.q != 2) then 85 @ 0x1230 else 136 @ 0x12b1 0x135a 113 r14d = ecx 0x135a 114 goto 115 @ 0x135e 0x135e 115 rax = rax + 1 0x1365 116 if (r15 != rax) then 67 @ 0x1350 else 137 @ 0x136a 0x12f5 117 xmm2 = xmm1 0x12f9 118 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x12fd 119 xmm0 = xmm0 & xmm2 0x1301 120 xmm2 = xmm2 & not.o(xmm1) 0x1305 121 xmm2 = xmm2 | xmm0 0x1309 122 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x130e 123 xmm1 = xmm0 0x1312 124 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x1316 125 xmm2 = xmm2 & xmm1 0x131a 126 xmm1 = xmm1 & not.o(xmm0) 0x131e 127 xmm1 = xmm1 | xmm2 0x1322 128 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1327 129 xmm2 = xmm0 0x132b 130 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x132f 131 xmm1 = xmm1 & xmm2 0x1333 132 xmm2 = xmm2 & not.o(xmm0) 0x1337 133 xmm2 = xmm2 | xmm1 0x133b 134 r14d = xmm2.d 0x1343 135 if (rax == r15) then 137 @ 0x136a else 138 @ 0x134f 0x12b1 136 if ((cl & 1) == 0) then 117 @ 0x12f5 else 69 @ 0x12b3 0x136a 137 if (r15d s<= 0) then 139 @ 0x137b else 141 @ 0x1370 0x134f 138 goto 67 @ 0x1350 0x137b 139 ebx = 0 0x137d 140 goto 142 @ 0x14e2 0x1370 141 if (r15d u>= 8) then 146 @ 0x1382 else 153 @ 0x1372 0x14e2 142 ecx = ebx 0x14e4 143 temp1.d = ecx 0x14e4 144 ecx = ecx - r14d 0x14e7 145 if (temp1.d s< r14d) then 156 @ 0x1626 else 157 @ 0x14ed 0x1382 146 eax = r15d 0x1385 147 eax = eax & 0xfffffff8 0x1388 148 rdx = rax - 8 0x138c 149 rcx = rdx 0x138f 150 rcx = rcx u>> 3 0x1393 151 rcx = rcx + 1 0x139a 152 if (rdx == 0) then 159 @ 0x1541 else 163 @ 0x13a0 0x1372 153 eax = 0 0x1374 154 ebx = 0 0x1376 155 goto 169 @ 0x14d0 0x1626 156 if (r15d s<= 0) then 171 @ 0x1668 else 175 @ 0x162c 0x14ed 157 rax = sx.q(r14d) 0x14f3 158 if (ecx u< 7) then 176 @ 0x15fc else 179 @ 0x14f9 0x1541 159 xmm0 = 0 0x1545 160 edx = 0 0x1547 161 xmm1 = 0 0x154e 162 if ((cl & 1) != 0) then 189 @ 0x1437 else 204 @ 0x1554 0x13a0 163 rsi = rcx 0x13a3 164 rsi = rsi & 0xfffffffffffffffe 0x13a7 165 xmm0 = 0 0x13ab 166 edx = 0 0x13ad 167 xmm1 = 0 0x13bb 168 goto 205 @ 0x13c0 0x14d0 169 ecx = [rsp + (rax << 2) + 0x10].d 0x14d6 170 if (ecx s> ebx) then 233 else 235 @ 0x14d9 0x1668 171 eax = ebx 0x166a 172 temp2.d = eax 0x166a 173 eax = eax - r14d 0x166d 174 if (temp2.d s<= r14d) then 13 @ 0x1692 else 237 @ 0x166f 0x162c 175 if (r15d != 1) then 242 @ 0x16b7 else 246 @ 0x1632 0x15fc 176 ecx = (rbx + 1).d 0x15ff 177 ecx = ecx 0x160b 178 goto 248 @ 0x1610 0x14f9 179 rcx = rcx + 1 0x14fd 180 r8 = rcx 0x1500 181 r8 = r8 & 0xfffffffffffffff8 0x1504 182 rdx = r8 - 8 0x1508 183 rdi = rdx 0x150b 184 rdi = rdi u>> 3 0x150f 185 rdi = rdi + 1 0x1513 186 esi = edi 0x1515 187 esi = esi & 3 0x151c 188 if (rdx u>= 0x18) then 251 @ 0x1559 else 259 @ 0x151e 0x1437 189 xmm2 = [rsp + (rdx << 2) + 0x10].o 0x143d 190 xmm3 = [rsp + (rdx << 2) + 0x20].o 0x1443 191 xmm4 = xmm2 0x1447 192 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0) 0x144b 193 xmm2 = xmm2 & xmm4 0x144f 194 xmm4 = xmm4 & not.o(xmm0) 0x1453 195 xmm4 = xmm4 | xmm2 0x1457 196 xmm2 = xmm3 0x145b 197 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x145f 198 xmm3 = xmm3 & xmm2 0x1463 199 xmm2 = xmm2 & not.o(xmm1) 0x1467 200 xmm2 = xmm2 | xmm3 0x146b 201 xmm0 = xmm4 0x146f 202 xmm1 = xmm2 0x146f 203 goto 261 @ 0x1473 0x1554 204 goto 261 @ 0x1473 0x13c0 205 xmm2 = [rsp + (rdx << 2) + 0x10].o 0x13c6 206 xmm3 = [rsp + (rdx << 2) + 0x20].o 0x13cc 207 xmm4 = [rsp + (rdx << 2) + 0x30].o 0x13d2 208 xmm5 = [rsp + (rdx << 2) + 0x40].o 0x13d8 209 xmm6 = xmm2 0x13dc 210 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0) 0x13e0 211 xmm2 = xmm2 & xmm6 0x13e4 212 xmm6 = xmm6 & not.o(xmm0) 0x13e8 213 xmm6 = xmm6 | xmm2 0x13ec 214 xmm2 = xmm3 0x13f0 215 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x13f4 216 xmm3 = xmm3 & xmm2 0x13f8 217 xmm2 = xmm2 & not.o(xmm1) 0x13fc 218 xmm2 = xmm2 | xmm3 0x1400 219 xmm0 = xmm4 0x1404 220 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6) 0x1408 221 xmm4 = xmm4 & xmm0 0x140c 222 xmm0 = xmm0 & not.o(xmm6) 0x1410 223 xmm0 = xmm0 | xmm4 0x1414 224 xmm1 = xmm5 0x1418 225 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x141c 226 xmm5 = xmm5 & xmm1 0x1420 227 xmm1 = xmm1 & not.o(xmm2) 0x1424 228 xmm1 = xmm1 | xmm5 0x1428 229 rdx = rdx + 0x10 0x142c 230 temp3.q = rsi 0x142c 231 rsi = rsi - 2 0x1430 232 if (temp3.q != 2) then 205 @ 0x13c0 else 280 @ 0x1435 0x14d6 233 ebx = ecx 0x14d6 234 goto 235 @ 0x14d9 0x14d9 235 rax = rax + 1 0x14e0 236 if (r15 != rax) then 169 @ 0x14d0 else 142 @ 0x14e2 0x166f 237 rcx = sx.q(r14d) 0x1672 238 rcx = rsp + (rcx << 2) 0x1676 239 rcx = rcx + 0x61ab0 0x167d 240 edx = 0 0x167f 241 goto 281 @ 0x1684 0x16b7 242 r12d = r15d 0x16ba 243 r12d = r12d & 0xfffffffe 0x16be 244 ebp = 0 0x16c0 245 goto 282 @ 0x16dd 0x1632 246 ebp = 0 0x1632 247 goto 285 @ 0x1638 0x1610 248 [rsp + (rax << 2) + 0x61ab0].d = 1 0x161b 249 rax = rax + 1 0x1621 250 if (ecx != eax) then 248 @ 0x1610 else 156 @ 0x1626 0x1559 251 rdx = 0x3ffffffffffffffe {""} 0x1563 252 rdx = rdx - 2 0x1567 253 rdi = rdi & rdx 0x156a 254 rdx = rsp + (rax << 2) 0x156e 255 rdx = rdx + 0x61b20 0x1575 256 ebp = 0 0x1577 257 xmm0 = [0x2020].o 0x157f 258 goto 286 @ 0x1580 0x151e 259 ebp = 0 0x1520 260 goto 298 @ 0x15bc 0x1473 261 xmm2 = xmm0 0x1477 262 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x147b 263 xmm0 = xmm0 & xmm2 0x147f 264 xmm2 = xmm2 & not.o(xmm1) 0x1483 265 xmm2 = xmm2 | xmm0 0x1487 266 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x148c 267 xmm1 = xmm2 0x1490 268 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x1494 269 xmm2 = xmm2 & xmm1 0x1498 270 xmm1 = xmm1 & not.o(xmm0) 0x149c 271 xmm1 = xmm1 | xmm2 0x14a0 272 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x14a5 273 xmm2 = xmm1 0x14a9 274 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x14ad 275 xmm1 = xmm1 & xmm2 0x14b1 276 xmm2 = xmm2 & not.o(xmm0) 0x14b5 277 xmm2 = xmm2 | xmm1 0x14b9 278 ebx = xmm2.d 0x14c0 279 if (rax == r15) then 142 @ 0x14e2 else 299 @ 0x14cc 0x1435 280 if ((cl & 1) == 0) then 261 @ 0x1473 else 189 @ 0x1437 0x1684 281 if ([rcx + (rdx << 2)].d == 1) then 300 @ 0x173b else 304 @ 0x168a 0x16dd 282 rax = sx.q([rsp + (rbp << 2) + 0x30d60].d) 0x16e5 283 ecx = [rsp + (rbp << 2) + 0x10].d 0x16eb 284 if (eax s>= ecx) then 306 @ 0x170b else 309 @ 0x16ed 0x1638 285 if ((r15b & 1) == 0) then 171 @ 0x1668 else 317 @ 0x163a 0x1580 286 [rdx + (rbp << 2) - 0x70].o = xmm0 0x1586 287 [rdx + (rbp << 2) - 0x60].o = xmm0 0x158c 288 [rdx + (rbp << 2) - 0x50].o = xmm0 0x1592 289 [rdx + (rbp << 2) - 0x40].o = xmm0 0x1598 290 [rdx + (rbp << 2) - 0x30].o = xmm0 0x159e 291 [rdx + (rbp << 2) - 0x20].o = xmm0 0x15a4 292 [rdx + (rbp << 2) - 0x10].o = xmm0 0x15aa 293 [rdx + (rbp << 2)].o = xmm0 0x15af 294 rbp = rbp + 0x20 0x15b3 295 temp4.q = rdi 0x15b3 296 rdi = rdi - 4 0x15b7 297 if (temp4.q != 4) then 286 @ 0x1580 else 298 @ 0x15bc 0x15bc 298 if (rsi == 0) then 320 @ 0x15f7 else 321 @ 0x15be 0x14cc 299 goto 169 @ 0x14d0 0x173b 300 rdi = 0x203b {"no"} 0x1742 301 eax = 0 0x1744 302 call(0x1030) 0x1749 303 goto 24 @ 0x16a5 0x168a 304 rdx = rdx + 1 0x1690 305 if (eax != edx) then 281 @ 0x1684 else 13 @ 0x1692 0x170b 306 rax = sx.q([rsp + (rbp << 2) + 0x30d64].d) 0x1713 307 ecx = [rsp + (rbp << 2) + 0x14].d 0x1719 308 if (eax s>= ecx) then 328 @ 0x16d0 else 330 @ 0x171b 0x16ed 309 rdi = rsp + (rax << 2) 0x16f1 310 rdi = rdi + 0x61ab0 0x16f8 311 eax = not.d(eax) 0x16fa 312 ecx = ecx + eax 0x16fc 313 rdx = (rcx << 2) + 4 0x1704 314 esi = 0 0x1706 315 call(0x1040) 0x1706 316 goto 306 @ 0x170b 0x163a 317 rax = sx.q([rsp + (rbp << 2) + 0x30d60].d) 0x1642 318 ecx = [rsp + (rbp << 2) + 0x10].d 0x1648 319 if (eax s>= ecx) then 171 @ 0x1668 else 338 @ 0x164a 0x15f7 320 if (rcx == r8) then 156 @ 0x1626 else 346 @ 0x15f9 0x15be 321 rbp = rbp + rax 0x15c1 322 rdx = rsp + (rbp << 2) 0x15c5 323 rdx = rdx + 0x61ac0 0x15cc 324 rsi = rsi << 5 0x15d0 325 edi = 0 0x15d2 326 xmm0 = [0x2020].o 0x15da 327 goto 348 @ 0x15e0 0x16d0 328 rbp = rbp + 2 0x16d7 329 if (r12 == rbp) then 285 @ 0x1638 else 282 @ 0x16dd 0x171b 330 rdi = rsp + (rax << 2) 0x171f 331 rdi = rdi + 0x61ab0 0x1726 332 eax = not.d(eax) 0x1728 333 ecx = ecx + eax 0x172a 334 rdx = (rcx << 2) + 4 0x1732 335 esi = 0 0x1734 336 call(0x1040) 0x1739 337 goto 328 @ 0x16d0 0x164a 338 rdi = rsp + (rax << 2) 0x164e 339 rdi = rdi + 0x61ab0 0x1655 340 eax = not.d(eax) 0x1657 341 ecx = ecx + eax 0x1659 342 rdx = (rcx << 2) + 4 0x1661 343 esi = 0 0x1663 344 call(0x1040) 0x1663 345 goto 171 @ 0x1668 0x15f9 346 rax = rax + r8 0x15f9 347 goto 176 @ 0x15fc 0x15e0 348 [rdx + rdi - 0x10].o = xmm0 0x15e6 349 [rdx + rdi].o = xmm0 0x15eb 350 rdi = rdi + 0x20 0x15f2 351 if (rsi != rdi) then 348 @ 0x15e0 else 320 @ 0x15f7 int64_t _fini(): 0x1754 0 rsp = rsp - 8 0x1758 1 rsp = rsp + 8 0x175c 2 <return> jump(pop)
POJ_76
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 {"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 = 0x200c {"%d"} 0x1158 2 rsi = rsp + 4 {var_8+0x4} 0x115d 3 eax = 0 0x115f 4 call(0x1040) 0x1164 5 esi = [rsp + 4 {var_8+0x4}].d 0x116e 6 if (esi s<= 0x270f) then 7 @ 0x120b else 8 @ 0x1174 0x120b 7 if (esi s<= 0x3e7) then 47 @ 0x128e else 48 @ 0x120d 0x1174 8 eax = esi 0x1176 9 r9d = 0xd1b71759 {""} 0x117c 10 r9 = r9 * rax 0x1180 11 r9 = r9 u>> 0x2d 0x1184 12 ecx = r9d * -0x2710 0x118b 13 ecx = ecx + esi 0x118d 14 rcx = sx.q(ecx) 0x1190 15 r8 = rcx * 0x10624dd3 0x1197 16 rdx = r8 0x119a 17 rdx = rdx u>> 0x3f 0x119e 18 r8 = r8 s>> 0x26 0x11a2 19 r8d = r8d + edx 0x11a5 20 edx = r8d * -0x3e8 0x11ac 21 ecx = ecx + edx 0x11ae 22 rdx = sx.q(ecx) 0x11b1 23 rcx = rdx * 0x51eb851f 0x11b8 24 rdi = rcx 0x11bb 25 rdi = rdi u>> 0x3f 0x11bf 26 rcx = rcx s>> 0x25 0x11c3 27 ecx = ecx + edi 0x11c5 28 edi = ecx * -0x64 0x11c8 29 edx = edx + edi 0x11ca 30 rdx = sx.q(edx) 0x11cd 31 rdx = rdx * 0x66666667 0x11d4 32 rdi = rdx 0x11d7 33 rdi = rdi u>> 0x3f 0x11db 34 rdx = rdx s>> 0x22 0x11df 35 edx = edx + edi 0x11e1 36 edi = 0xcccccccd {""} 0x11e6 37 rdi = rdi * rax 0x11ea 38 rdi = rdi u>> 0x23 0x11ee 39 edi = edi + edi 0x11f0 40 eax = (rdi + (rdi << 2)).d 0x11f3 41 esi = esi - eax 0x11f5 42 rdi = 0x2004 {"%d%d%d%d%d"} 0x11fc 43 eax = 0 0x11fe 44 call(0x1030) 0x1203 45 rax = pop 0x1204 46 <return> jump(pop) 0x128e 47 if (esi s<= 0x63) then 85 @ 0x130a else 86 @ 0x1290 0x120d 48 eax = zx.d(si) 0x1210 49 edi = eax * 0xcccd 0x1216 50 eax = eax u>> 4 0x1219 51 eax = eax * 0x347 0x121f 52 eax = eax u>> 0x13 0x1222 53 eax = eax * -0x2710 0x1228 54 eax = eax + esi 0x122a 55 ecx = zx.d(ax) 0x122d 56 ecx = ecx u>> 3 0x1230 57 r8d = ecx * 0x20c5 0x1237 58 r8d = r8d u>> 0x14 0x123b 59 edx = r8d * -0x3e8 0x1242 60 edx = edx + eax 0x1244 61 eax = sx.d(dx) 0x1247 62 ecx = eax * 0x147b 0x124d 63 eax = ecx 0x124f 64 eax = eax u>> 0x1f 0x1252 65 ecx = ecx s>> 0x13 0x1255 66 ecx = ecx + eax 0x1257 67 eax = ecx * -0x64 0x125a 68 eax = eax + edx 0x125c 69 eax = sx.d(ax) 0x125d 70 edx = eax * 0x6667 0x1263 71 eax = edx 0x1265 72 eax = eax u>> 0x1f 0x1268 73 edx = edx s>> 0x12 0x126b 74 edx = edx + eax 0x126d 75 edi = edi u>> 0x12 0x1270 76 edi = edi & 0xfffffffe 0x1273 77 eax = (rdi + (rdi << 2)).d 0x1276 78 esi = esi - eax 0x1278 79 esi = zx.d(si) 0x127b 80 rdi = 0x2006 {"%d%d%d%d"} 0x1282 81 eax = 0 0x1284 82 call(0x1030) 0x1289 83 rax = pop 0x128a 84 <return> jump(pop) 0x130a 85 if (esi s<= 9) then 121 @ 0x1382 else 135 @ 0x130c 0x1290 86 eax = zx.d(si) 0x1293 87 edi = eax * 0xcccd 0x1299 88 eax = eax u>> 4 0x129c 89 eax = eax * 0x347 0x12a2 90 eax = eax u>> 0x13 0x12a5 91 eax = eax * -0x2710 0x12ab 92 eax = eax + esi 0x12ad 93 ecx = zx.d(ax) 0x12b0 94 ecx = ecx u>> 3 0x12b3 95 ecx = ecx * 0x20c5 0x12b9 96 ecx = ecx u>> 0x14 0x12bc 97 edx = ecx * -0x3e8 0x12c2 98 edx = edx + eax 0x12c4 99 eax = zx.d(dx) 0x12c7 100 eax = eax u>> 2 0x12ca 101 ecx = eax * 0x147b 0x12d0 102 ecx = ecx u>> 0x11 0x12d3 103 eax = ecx * -0x64 0x12d6 104 eax = eax + edx 0x12d8 105 eax = sx.d(ax) 0x12d9 106 edx = eax * 0x6667 0x12df 107 eax = edx 0x12e1 108 eax = eax u>> 0x1f 0x12e4 109 edx = edx s>> 0x12 0x12e7 110 edx = edx + eax 0x12e9 111 edi = edi u>> 0x12 0x12ec 112 edi = edi & 0xfffffffe 0x12ef 113 eax = (rdi + (rdi << 2)).d 0x12f2 114 esi = esi - eax 0x12f4 115 esi = zx.d(si) 0x12f7 116 rdi = 0x2008 {"%d%d%d"} 0x12fe 117 eax = 0 0x1300 118 call(0x1030) 0x1305 119 rax = pop 0x1306 120 <return> jump(pop) 0x1382 121 rax = sx.q(esi) 0x1385 122 rax = rax * 0x66666667 0x138c 123 rcx = rax 0x138f 124 rcx = rcx u>> 0x3f 0x1393 125 rax = rax s>> 0x22 0x1397 126 eax = eax + ecx 0x1399 127 eax = eax + eax 0x139b 128 eax = (rax + (rax << 2)).d 0x139e 129 esi = esi - eax 0x13a0 130 rdi = 0x200c {"%d"} 0x13a7 131 eax = 0 0x13a9 132 call(0x1030) 0x13ae 133 rax = pop 0x13af 134 <return> jump(pop) 0x130c 135 eax = zx.d(si) 0x130f 136 eax = eax u>> 4 0x1312 137 eax = eax * 0x347 0x1318 138 eax = eax u>> 0x13 0x131b 139 eax = eax * -0x2710 0x1321 140 eax = eax + esi 0x1323 141 ecx = zx.d(ax) 0x1326 142 ecx = ecx u>> 3 0x1329 143 ecx = ecx * 0x20c5 0x132f 144 ecx = ecx u>> 0x14 0x1332 145 ecx = ecx * -0x3e8 0x1338 146 ecx = ecx + eax 0x133a 147 eax = zx.d(cl) 0x133d 148 edx = (rax + (rax << 2)).d 0x1340 149 eax = (rax + (rdx << 3)).d 0x1343 150 eax = zx.d(ax) 0x1346 151 eax = eax u>> 0xc 0x1349 152 eax = eax * -0x64 0x134c 153 eax = eax + ecx 0x134e 154 eax = zx.d(al) 0x1351 155 edx = eax * 0xcd 0x1357 156 edx = edx u>> 0xb 0x135a 157 eax = zx.d(sil) 0x135e 158 ecx = eax * 0xcd 0x1364 159 ecx = ecx u>> 0xa 0x1367 160 ecx = ecx & 0xfffffffe 0x136a 161 ecx = (rcx + (rcx << 2)).d 0x136d 162 al = al - cl 0x136f 163 esi = zx.d(al) 0x1372 164 rdi = 0x200a {"%d%d"} 0x1379 165 eax = 0 0x137b 166 call(0x1030) 0x1380 167 rax = pop 0x1381 168 <return> jump(pop) int64_t _fini(): 0x13b4 0 rsp = rsp - 8 0x13b8 1 rsp = rsp + 8 0x13bc 2 <return> jump(pop)
POJ_56
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%d"} 0x1168 8 rsi = rsp + 8 {var_9c80} 0x116d 9 rdx = rsp + 0xc {var_9c7c} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x117e 12 if ([rsp + 8 {var_9c80}].d s<= 0) then 13 @ 0x11f6 else 14 @ 0x1180 0x11f6 13 if ([rsp + 0xc {var_9c7c}].d s<= 0) then 18 @ 0x125f else 19 @ 0x11f8 0x1180 14 r15 = rsp + 0x10 {var_9c78} 0x1185 15 r14 = 0x2006 {"%d"} 0x118c 16 r12d = 0 0x118f 17 goto 23 @ 0x11ba 0x125f 18 if ([rsp + 8 {var_9c80}].d s< 2) then 24 @ 0x12da else 33 @ 0x1261 0x11f8 19 r14 = rsp + 0x10 {var_9c78} 0x11fd 20 r15 = 0x2009 {"%d\n"} 0x1204 21 r12d = 0 0x1207 22 goto 37 @ 0x121f 0x11ba 23 if ([rsp + 0xc {var_9c7c}].d s<= 0) then 40 @ 0x11a0 else 44 @ 0x11bc 0x12da 24 eax = 0 0x12dc 25 rsp = rsp + 0x9c58 0x12e3 26 rbx = pop 0x12e4 27 r12 = pop 0x12e6 28 r13 = pop 0x12e8 29 r14 = pop 0x12ea 30 r15 = pop 0x12ec 31 rbp = pop 0x12ed 32 <return> jump(pop) 0x1261 33 r15 = rsp + 0x19c {var_9aec} 0x1269 34 r14d = 1 0x126f 35 r12d = 0 0x1272 36 goto 47 @ 0x129b 0x121f 37 rbx = r14 0x1222 38 ebp = 0 0x122e 39 goto 48 @ 0x1230 0x11a0 40 r12 = r12 + 1 0x11a4 41 rax = sx.q([rsp + 8 {var_9c80}].d) 0x11a9 42 r15 = r15 + 0x190 0x11b3 43 if (r12 s>= rax) then 13 @ 0x11f6 else 23 @ 0x11ba 0x11bc 44 rbx = r15 0x11bf 45 ebp = 0 0x11cb 46 goto 55 @ 0x11d0 0x129b 47 if ([rsp + 8 {var_9c80}].d s<= r14d) then 63 @ 0x1280 else 67 @ 0x129d 0x1230 48 esi = [rbx].d 0x1232 49 rdi = r15 0x1235 50 eax = 0 0x1237 51 call(0x1030) 0x123c 52 rax = rbp + 1 0x1240 53 ecx = [rsp + 8 {var_9c80}].d 0x1247 54 if (rax == rcx) then 72 @ 0x1210 else 75 @ 0x1249 0x11d0 55 rdi = r14 0x11d3 56 rsi = rbx 0x11d6 57 eax = 0 0x11d8 58 call(0x1040) 0x11dd 59 rbp = rbp + 1 0x11e1 60 rax = sx.q([rsp + 0xc {var_9c7c}].d) 0x11e6 61 rbx = rbx + 4 0x11ed 62 if (rbp s< rax) then 55 @ 0x11d0 else 79 @ 0x11ef 0x1280 63 r14 = r14 + 1 0x1284 64 r12d = r12d + 1 0x1288 65 r15 = r15 + 0x190 0x1294 66 if ([rsp + 8 {var_9c80}].d s<= r14d) then 24 @ 0x12da else 47 @ 0x129b 0x129d 67 rax = sx.q([rsp + 0xc {var_9c7c}].d) 0x12a2 68 ebx = (rax + r12).d 0x12a6 69 rbp = r15 + (rax << 2) 0x12aa 70 r13 = r14 0x12ad 71 goto 80 @ 0x12b0 0x1210 72 r12 = r12 + 1 0x1214 73 r14 = r14 + 4 0x121d 74 if ([rsp + 0xc {var_9c7c}].d s<= r12d) then 18 @ 0x125f else 37 @ 0x121f 0x1249 75 rbx = rbx + 0x18c 0x1250 76 cond:0 = r12 != rbp 0x1253 77 rbp = rax 0x1256 78 if (cond:0) then 48 @ 0x1230 else 85 @ 0x1258 0x11ef 79 goto 40 @ 0x11a0 0x12b0 80 esi = [rbp].d 0x12b3 81 rdi = 0x2009 {"%d\n"} 0x12ba 82 eax = 0 0x12bc 83 call(0x1030) 0x12c4 84 if (rbx == r13) then 63 @ 0x1280 else 86 @ 0x12c6 0x1258 85 goto 72 @ 0x1210 0x12c6 86 r13 = r13 + 1 0x12ca 87 rbp = rbp + 0x18c 0x12d6 88 if ([rsp + 8 {var_9c80}].d s> r13d) then 80 @ 0x12b0 else 89 @ 0x12d8 0x12d8 89 goto 63 @ 0x1280 int64_t _fini(): 0x12f4 0 rsp = rsp - 8 0x12f8 1 rsp = rsp + 8 0x12fc 2 <return> jump(pop)
POJ_4
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) 0x116c 8 goto 9 @ 0x1175 0x1175 9 if ([rbp - 8 {var_10}].d != 1) then 10 @ 0x118e else 24 @ 0x117b 0x118e 10 eax = [rbp - 8 {var_10}].d 0x1191 11 ecx = 2 0x1196 12 temp2.d:temp3.d = sx.q(eax) 0x1196 13 edx = temp2.d 0x1196 14 eax = temp3.d 0x1197 15 temp4.d = edx 0x1197 16 temp5.d = eax 0x1197 17 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x1197 18 temp6.d = edx 0x1197 19 temp7.d = eax 0x1197 20 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x1197 21 eax = temp0.d 0x1197 22 edx = temp1.d 0x119c 23 if (edx != 0) then 28 @ 0x11cc else 42 @ 0x11a2 0x117b 24 rdi = 0x2007 {"End"} 0x1182 25 al = 0 0x1184 26 call(0x1030) 0x1189 27 goto 63 @ 0x120c 0x11cc 28 eax = [rbp - 8 {var_10}].d 0x11cf 29 ecx = 2 0x11d4 30 temp8.d:temp9.d = sx.q(eax) 0x11d4 31 edx = temp8.d 0x11d4 32 eax = temp9.d 0x11d5 33 temp10.d = edx 0x11d5 34 temp11.d = eax 0x11d5 35 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11d5 36 temp12.d = edx 0x11d5 37 temp13.d = eax 0x11d5 38 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11d5 39 eax = temp0.d 0x11d5 40 edx = temp1.d 0x11da 41 if (edx == 0) then 67 @ 0x1207 else 68 @ 0x11e0 0x11a2 42 eax = [rbp - 8 {var_10}].d 0x11a5 43 ecx = 2 0x11aa 44 temp14.d:temp15.d = sx.q(eax) 0x11aa 45 edx = temp14.d 0x11aa 46 eax = temp15.d 0x11ab 47 temp16.d = edx 0x11ab 48 temp17.d = eax 0x11ab 49 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x11ab 50 temp18.d = edx 0x11ab 51 temp19.d = eax 0x11ab 52 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x11ab 53 eax = temp0.d 0x11ab 54 edx = temp1.d 0x11ad 55 [rbp - 8 {var_10}].d = eax 0x11b0 56 esi = [rbp - 8 {var_10}].d 0x11b3 57 esi = esi << 1 0x11b6 58 edx = [rbp - 8 {var_10}].d 0x11b9 59 rdi = 0x200b {"%d/2=%d\n"} 0x11c0 60 al = 0 0x11c2 61 call(0x1030) 0x11c7 62 goto 9 @ 0x1175 0x120c 63 eax = 0 0x120e 64 rsp = rsp + 0x10 0x1212 65 rbp = pop 0x1213 66 <return> jump(pop) 0x1207 67 goto 9 @ 0x1175 0x11e0 68 esi = [rbp - 8 {var_10}].d 0x11e3 69 edx = [rbp - 8 {var_10}].d * 3 0x11e7 70 edx = edx + 1 0x11ea 71 rdi = 0x2014 {"%d*3+1=%d\n"} 0x11f1 72 al = 0 0x11f3 73 call(0x1030) 0x11f8 74 eax = [rbp - 8 {var_10}].d * 3 0x11fc 75 eax = eax + 1 0x11ff 76 [rbp - 8 {var_10}].d = eax 0x1202 77 goto 9 @ 0x1175 int64_t _fini(): 0x1218 0 rsp = rsp - 8 0x121c 1 rsp = rsp + 8 0x1220 2 <return> jump(pop)
POJ_34
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 {"UHAWAVAUATSHH="} 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 rdi = 0x2010 {"%d"} 0x1168 9 rsi = rbp - 0x2c {var_34} 0x116c 10 eax = 0 0x116e 11 call(0x1040) 0x1173 12 [rbp - 0x40 {var_48}].q = rsp {var_48} 0x1177 13 eax = [rbp - 0x2c {var_34}].d 0x117a 14 rcx = rsp {var_48} 0x117d 15 rax = (rax << 2) + 0xf 0x1185 16 rax = rax & 0xfffffffffffffff0 0x1189 17 rcx = rcx - rax 0x118c 18 [rbp - 0x38 {var_40}].q = rcx 0x1190 19 rsp = rcx 0x1193 20 eax = [rbp - 0x2c {var_34}].d 0x1196 21 r13 = rsp 0x1199 22 rcx = (rax << 2) + 0xf 0x11a1 23 rcx = rcx & 0xfffffffffffffff0 0x11a5 24 r13 = r13 - rcx 0x11a8 25 rsp = r13 0x11ab 26 r15 = rsp 0x11ae 27 rcx = (rax << 3) + 0xf 0x11b6 28 rcx = rcx & 0xfffffffffffffff0 0x11ba 29 r15 = r15 - rcx 0x11bd 30 rsp = r15 0x11c2 31 if (eax s<= 0) then 32 @ 0x11fe else 34 @ 0x11c4 0x11fe 32 ecx = [rbp - 0x2c {var_34}].d 0x1203 33 if (ecx s<= 0) then 38 @ 0x123e else 40 @ 0x1205 0x11c4 34 r14 = 0x2010 {"%d"} 0x11cb 35 rbx = [rbp - 0x38 {var_40}].q 0x11cf 36 r12d = 0 0x11dc 37 goto 44 @ 0x11e0 0x123e 38 eax = (rcx - 1).d 0x1244 39 if (eax u> 8) then 52 @ 0x1391 else 54 @ 0x124a 0x1205 40 r14 = 0x2010 {"%d"} 0x120c 41 r12 = r13 0x120f 42 ebx = 0 0x121b 43 goto 57 @ 0x1220 0x11e0 44 rdi = r14 0x11e3 45 rsi = rbx 0x11e6 46 eax = 0 0x11e8 47 call(0x1040) 0x11ed 48 r12 = r12 + 1 0x11f1 49 rax = sx.q([rbp - 0x2c {var_34}].d) 0x11f5 50 rbx = rbx + 4 0x11fc 51 if (r12 s< rax) then 44 @ 0x11e0 else 32 @ 0x11fe 0x1391 52 xmm0 = zx.o([0x2008].q) 0x1399 53 goto 65 @ 0x13a7 0x124a 54 cond:0 = ecx s>= 2 0x124d 55 eax = 1 0x1252 56 if (cond:0) then 78 else 80 @ 0x1255 0x1220 57 rdi = r14 0x1223 58 rsi = r12 0x1226 59 eax = 0 0x1228 60 call(0x1040) 0x122d 61 rbx = rbx + 1 0x1231 62 rcx = sx.q([rbp - 0x2c {var_34}].d) 0x1235 63 r12 = r12 + 4 0x123c 64 if (rbx s< rcx) then 57 @ 0x1220 else 38 @ 0x123e 0x13a7 65 rdi = 0x2013 {"%.2lf"} 0x13ae 66 al = 1 0x13b0 67 call(0x1030) 0x13b5 68 rsp = [rbp - 0x40 {var_48}].q 0x13b9 69 eax = 0 0x13bb 70 rsp = rbp - 0x28 0x13bf 71 rbx = pop 0x13c0 72 r12 = pop 0x13c2 73 r13 = pop 0x13c4 74 r14 = pop 0x13c6 75 r15 = pop 0x13c8 76 rbp = pop 0x13c9 77 <return> jump(pop) 0x1252 78 eax = ecx 0x1252 79 goto 80 @ 0x1255 0x1255 80 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1259 81 ecx = 0 0x125b 82 rdx = 0x4010000000000000 {""} 0x1265 83 rsi = 0x400d99999999999a {""} 0x126f 84 rdi = 0x400a666666666666 {""} 0x1279 85 r12 = 0x4008000000000000 {""} 0x1283 86 r8 = 0x400599999999999a {""} 0x128d 87 r9 = 0x4002666666666666 {""} 0x1297 88 r10 = 0x4000000000000000 {""} 0x12a1 89 r14d = 0 0x12a4 90 goto 91 @ 0x12dc 0x12dc 91 r11d = [r13 + (rcx << 2)].d 0x12e1 92 ebx = (r11 - 0x5a).d 0x12e8 93 if (ebx u<= 0xa) then 94 @ 0x12b0 else 96 @ 0x12ea 0x12b0 94 [r15 + (rcx << 3)].q = rdx 0x12b0 95 goto 98 @ 0x12b4 0x12ea 96 ebx = (r11 - 0x55).d 0x12f1 97 if (ebx u> 4) then 107 @ 0x1300 else 109 @ 0x12f3 0x12b4 98 rbx = [rbp - 0x38 {var_40}].q 0x12b8 99 ebx = [rbx + (rcx << 2)].d 0x12bb 100 xmm1 = 0 0x12be 101 xmm1.q = float.d(ebx) 0x12c2 102 xmm1.q = xmm1.q f* fconvert.t([r15 + (rcx << 3)].q) 0x12c8 103 r14d = r14d + ebx 0x12cb 104 xmm0.q = xmm0.q f+ xmm1.q 0x12cf 105 rcx = rcx + 1 0x12d6 106 if (rax == rcx) then 111 @ 0x139b else 91 @ 0x12dc 0x1300 107 ebx = (r11 - 0x52).d 0x1307 108 if (ebx u> 2) then 115 @ 0x130f else 117 @ 0x1309 0x12f3 109 [r15 + (rcx << 3)].q = rsi 0x12f7 110 goto 98 @ 0x12b4 0x139b 111 xmm1 = 0 0x139e 112 xmm1.q = float.d(r14d) 0x13a3 113 xmm0.q = xmm0.q f/ xmm1.q 0x13a3 114 goto 65 @ 0x13a7 0x130f 115 ebx = (r11 - 0x4e).d 0x1316 116 if (ebx u> 3) then 119 @ 0x131e else 121 @ 0x1318 0x1309 117 [r15 + (rcx << 3)].q = rdi 0x130d 118 goto 98 @ 0x12b4 0x131e 119 ebx = (r11 - 0x4b).d 0x1325 120 if (ebx u> 2) then 123 @ 0x132d else 125 @ 0x1327 0x1318 121 [r15 + (rcx << 3)].q = r12 0x131c 122 goto 98 @ 0x12b4 0x132d 123 ebx = (r11 - 0x48).d 0x1334 124 if (ebx u> 2) then 127 @ 0x133f else 129 @ 0x1336 0x1327 125 [r15 + (rcx << 3)].q = r8 0x132b 126 goto 98 @ 0x12b4 0x133f 127 r11d = r11d & 0xfffffffc 0x1347 128 if (r11d != 0x44) then 131 @ 0x1356 else 132 @ 0x1349 0x1336 129 [r15 + (rcx << 3)].q = r9 0x133a 130 goto 98 @ 0x12b4 0x1356 131 if (r11d != 0x40) then 134 @ 0x136f else 135 @ 0x1358 0x1349 132 [r15 + (rcx << 3)].q = r10 0x134d 133 goto 98 @ 0x12b4 0x136f 134 if (r11d != 0x3c) then 138 @ 0x1384 else 140 @ 0x1371 0x1358 135 rbx = 0x3ff8000000000000 {""} 0x1362 136 [r15 + (rcx << 3)].q = rbx 0x1366 137 goto 98 @ 0x12b4 0x1384 138 [r15 + (rcx << 3)].q = 0 0x138c 139 goto 98 @ 0x12b4 0x1371 140 rbx = 0x3ff0000000000000 {""} 0x137b 141 [r15 + (rcx << 3)].q = rbx 0x137f 142 goto 98 @ 0x12b4 int64_t _fini(): 0x13d0 0 rsp = rsp - 8 0x13d4 1 rsp = rsp + 8 0x13d8 2 <return> jump(pop)
POJ_83
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%d"} 0x1168 8 rsi = rsp + 8 {var_9c80} 0x116d 9 rdx = rsp + 0xc {var_9c7c} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x117e 12 if ([rsp + 8 {var_9c80}].d s<= 0) then 13 @ 0x11f1 else 18 @ 0x1180 0x11f1 13 esi = [rsp + 0x10 {var_9c78}].d 0x11f5 14 rdi = 0x2009 {"%d\n"} 0x11fc 15 eax = 0 0x11fe 16 call(0x1030) 0x1208 17 if ([rsp + 0xc {var_9c7c}].d s< 2) then 22 @ 0x126e else 23 @ 0x120a 0x1180 18 r15 = rsp + 0x10 {var_9c78} 0x1185 19 r14 = 0x2006 {"%d"} 0x118c 20 r12d = 0 0x118f 21 goto 27 @ 0x11ba 0x126e 22 if ([rsp + 8 {var_9c80}].d s< 2) then 28 @ 0x12fd else 37 @ 0x1274 0x120a 23 r14 = rsp + 0x14 {var_9c74} 0x120f 24 r12d = 1 0x1215 25 r15 = 0x2009 {"%d\n"} 0x121c 26 goto 41 @ 0x1237 0x11ba 27 if ([rsp + 0xc {var_9c7c}].d s<= 0) then 42 @ 0x11a0 else 46 @ 0x11bc 0x12fd 28 eax = 0 0x12ff 29 rsp = rsp + 0x9c58 0x1306 30 rbx = pop 0x1307 31 r12 = pop 0x1309 32 r13 = pop 0x130b 33 r14 = pop 0x130d 34 r15 = pop 0x130f 35 rbp = pop 0x1310 36 <return> jump(pop) 0x1274 37 r15 = rsp + 0x1a0 {var_9ae8} 0x127c 38 r12d = 1 0x1282 39 r14 = 0x2009 {"%d\n"} 0x1289 40 goto 49 @ 0x12a5 0x1237 41 if ([rsp + 8 {var_9c80}].d s<= 0) then 51 @ 0x1220 else 55 @ 0x1239 0x11a0 42 r12 = r12 + 1 0x11a4 43 rax = sx.q([rsp + 8 {var_9c80}].d) 0x11a9 44 r15 = r15 + 0x190 0x11b3 45 if (r12 s>= rax) then 13 @ 0x11f1 else 27 @ 0x11ba 0x11bc 46 rbx = r15 0x11bf 47 ebp = 0 0x11cb 48 goto 58 @ 0x11d0 0x12a5 49 eax = [rsp + 0xc {var_9c7c}].d 0x12ab 50 if (eax s<= 0) then 66 @ 0x1290 else 70 @ 0x12ad 0x1220 51 r12 = r12 + 1 0x1224 52 rax = sx.q([rsp + 0xc {var_9c7c}].d) 0x1229 53 r14 = r14 + 4 0x1230 54 if (r12 s>= rax) then 22 @ 0x126e else 41 @ 0x1237 0x1239 55 rbp = r14 0x123c 56 ebx = 0 0x123e 57 goto 74 @ 0x1240 0x11d0 58 rdi = r14 0x11d3 59 rsi = rbx 0x11d6 60 eax = 0 0x11d8 61 call(0x1040) 0x11dd 62 rbp = rbp + 1 0x11e1 63 rax = sx.q([rsp + 0xc {var_9c7c}].d) 0x11e6 64 rbx = rbx + 4 0x11ed 65 if (rbp s< rax) then 58 @ 0x11d0 else 79 @ 0x11ef 0x1290 66 r12 = r12 + 1 0x1294 67 rax = sx.q([rsp + 8 {var_9c80}].d) 0x1299 68 r15 = r15 + 0x190 0x12a3 69 if (r12 s>= rax) then 28 @ 0x12fd else 49 @ 0x12a5 0x12ad 70 r13d = 0xffffffff {""} 0x12b3 71 rbx = r15 0x12b6 72 ebp = 0 0x12b8 73 goto 80 @ 0x12c0 0x1240 74 esi = [rbp].d 0x1243 75 rdi = r15 0x1246 76 eax = 0 0x1248 77 call(0x1030) 0x1250 78 if (r12 u<= rbx) then 51 @ 0x1220 else 84 @ 0x1252 0x11ef 79 goto 42 @ 0x11a0 0x12c0 80 rcx = sx.q([rsp + 8 {var_9c80}].d) 0x12c5 81 rdx = sx.q(r12d) 0x12c8 82 rcx = rcx - rdx 0x12ce 83 if (rbp s>= rcx) then 66 @ 0x1290 else 88 @ 0x12d0 0x1252 84 rbx = rbx + 1 0x1256 85 rbp = rbp + 0x18c 0x125d 86 rax = sx.q([rsp + 8 {var_9c80}].d) 0x1265 87 if (rbx s< rax) then 74 @ 0x1240 else 99 @ 0x1267 0x12d0 88 eax = eax + r13d 0x12d3 89 rax = sx.q(eax) 0x12d5 90 esi = [rbx + (rax << 2)].d 0x12d8 91 rdi = r14 0x12db 92 eax = 0 0x12dd 93 call(0x1030) 0x12e2 94 rbp = rbp + 1 0x12e6 95 rax = sx.q([rsp + 0xc {var_9c7c}].d) 0x12eb 96 r13d = r13d - 1 0x12ef 97 rbx = rbx + 0x190 0x12f9 98 if (rbp s< rax) then 80 @ 0x12c0 else 100 @ 0x12fb 0x1267 99 goto 51 @ 0x1220 0x12fb 100 goto 66 @ 0x1290 int64_t _fini(): 0x1318 0 rsp = rsp - 8 0x131c 1 rsp = rsp + 8 0x1320 2 <return> jump(pop)
POJ_4
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 - 0x9e10 0x115b 3 [rbp - 0x9c5c {var_9c64}].d = 0 0x1165 4 [rbp - 0x9c60 {var_9c68}].d = 0 0x116f 5 [rbp - 0x9c64 {var_9c6c}].d = 0 0x1179 6 [rbp - 0x9e00 {var_9e08}].d = -1 0x1183 7 rdi = 0x2004 {"%d%d"} 0x118a 8 rsi = rbp - 4 {var_c} 0x118e 9 rdx = rbp - 8 {var_10} 0x1192 10 al = 0 0x1194 11 call(0x1040) 0x1199 12 eax = [rbp - 4 {var_c}].d 0x119c 13 [rbp - 0x9c54 {var_9c5c}].d = eax 0x119c 14 goto 15 @ 0x11a2 0x11a2 15 eax = [rbp - 0x9c54 {var_9c5c}].d 0x11ab 16 if (eax s> [rbp - 8 {var_10}].d) then 17 @ 0x124f else 19 @ 0x11b1 0x124f 17 [rbp - 0x9c54 {var_9c5c_1}].d = 0 0x124f 18 goto 21 @ 0x1259 0x11b1 19 [rbp - 0x9c58 {var_9c60_1}].d = 2 0x11b1 20 goto 23 @ 0x11bb 0x1259 21 eax = [rbp - 0x9c54 {var_9c5c_1}].d 0x1265 22 if (eax s>= [rbp - 0x9c5c {var_9c64}].d) then 25 @ 0x1338 else 26 @ 0x126b 0x11bb 23 eax = [rbp - 0x9c58 {var_9c60_1}].d 0x11c7 24 if (eax s> [rbp - 0x9c54 {var_9c5c}].d) then 30 @ 0x1201 else 32 @ 0x11cd 0x1338 25 if ([rbp - 0x9e00 {var_9e08}].d s<= 0) then 45 @ 0x13b4 else 49 @ 0x133e 0x126b 26 rax = sx.q([rbp - 0x9c54 {var_9c5c_1}].d) 0x1272 27 eax = [rbp + (rax << 2) - 0x9c50].d 0x1279 28 [rbp - 0x9c68 {var_9c70_1}].d = eax 0x1279 29 goto 51 @ 0x1286 0x1201 30 eax = [rbp - 0x9c54 {var_9c5c}].d 0x120d 31 if (eax != [rbp - 0x9c58 {var_9c60_1}].d) then 52 @ 0x1236 else 53 @ 0x1213 0x11cd 32 eax = [rbp - 0x9c54 {var_9c5c}].d 0x11d3 33 temp2.d:temp3.d = sx.q(eax) 0x11d3 34 edx = temp2.d 0x11d3 35 eax = temp3.d 0x11d4 36 temp4.d = edx 0x11d4 37 temp5.d = eax 0x11d4 38 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0x9c58 {var_9c60_1}].d) 0x11d4 39 temp6.d = edx 0x11d4 40 temp7.d = eax 0x11d4 41 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0x9c58 {var_9c60_1}].d) 0x11d4 42 eax = temp0.d 0x11d4 43 edx = temp1.d 0x11dd 44 if (edx != 0) then 60 @ 0x11e8 else 61 @ 0x11e3 0x13b4 45 rdi = 0x200d {"no"} 0x13bb 46 al = 0 0x13bd 47 call(0x1030) 0x13bd 48 goto 62 @ 0x13c2 0x133e 49 [rbp - 0x9c54 {var_9c5c_2}].d = 0 0x133e 50 goto 65 @ 0x1348 0x1286 51 if ([rbp - 0x9c68 {var_9c70_1}].d s<= 0) then 69 @ 0x12ce else 72 @ 0x128c 0x1236 52 goto 105 @ 0x123b 0x1213 53 ecx = [rbp - 0x9c54 {var_9c5c}].d 0x1219 54 rax = sx.q([rbp - 0x9c5c {var_9c64}].d) 0x1220 55 [rbp + (rax << 2) - 0x9c50].d = ecx 0x1227 56 eax = [rbp - 0x9c5c {var_9c64}].d 0x122d 57 eax = eax + 1 0x1230 58 [rbp - 0x9c5c {var_9c64}].d = eax 0x1230 59 goto 52 @ 0x1236 0x11e8 60 goto 109 @ 0x11ed 0x11e3 61 goto 30 @ 0x1201 0x13c2 62 rsp = rsp + 0x9e10 0x13c9 63 rbp = pop 0x13ca 64 <return> jump(pop) 0x1348 65 eax = [rbp - 0x9c54 {var_9c5c_2}].d 0x134e 66 ecx = [rbp - 0x9c64 {var_9c6c}].d 0x1354 67 ecx = ecx - 1 0x1359 68 if (eax s>= ecx) then 113 @ 0x138f else 121 @ 0x135f 0x12ce 69 eax = [rbp - 0x9c60 {var_9c68}].d 0x12d4 70 rcx = sx.q([rbp - 0x9c54 {var_9c5c_1}].d) 0x12e2 71 if (eax != [rbp + (rcx << 2) - 0x9c50].d) then 130 @ 0x1313 else 135 @ 0x12e8 0x128c 72 eax = [rbp - 0x9c60 {var_9c68}].d * 0xa 0x1293 73 [rbp - 0x9e04 {var_9e0c_1}].d = eax 0x1299 74 eax = [rbp - 0x9c68 {var_9c70_1}].d 0x129f 75 ecx = 0xa {""} 0x12a4 76 temp8.d:temp9.d = sx.q(eax) 0x12a4 77 edx = temp8.d 0x12a4 78 eax = temp9.d 0x12a5 79 temp10.d = edx 0x12a5 80 temp11.d = eax 0x12a5 81 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x12a5 82 temp12.d = edx 0x12a5 83 temp13.d = eax 0x12a5 84 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x12a5 85 eax = temp0.d 0x12a5 86 edx = temp1.d 0x12a7 87 eax = [rbp - 0x9e04 {var_9e0c_1}].d 0x12ad 88 eax = eax + edx 0x12af 89 [rbp - 0x9c60 {var_9c68}].d = eax 0x12b5 90 eax = [rbp - 0x9c68 {var_9c70_1}].d 0x12bb 91 ecx = 0xa {""} 0x12c0 92 temp14.d:temp15.d = sx.q(eax) 0x12c0 93 edx = temp14.d 0x12c0 94 eax = temp15.d 0x12c1 95 temp16.d = edx 0x12c1 96 temp17.d = eax 0x12c1 97 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x12c1 98 temp18.d = edx 0x12c1 99 temp19.d = eax 0x12c1 100 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x12c1 101 eax = temp0.d 0x12c1 102 edx = temp1.d 0x12c3 103 [rbp - 0x9c68 {var_9c70_1}].d = eax 0x12c9 104 goto 51 @ 0x1286 0x123b 105 eax = [rbp - 0x9c54 {var_9c5c}].d 0x1241 106 eax = eax + 1 0x1244 107 [rbp - 0x9c54 {var_9c5c}].d = eax 0x124a 108 goto 15 @ 0x11a2 0x11ed 109 eax = [rbp - 0x9c58 {var_9c60_1}].d 0x11f3 110 eax = eax + 1 0x11f6 111 [rbp - 0x9c58 {var_9c60_1}].d = eax 0x11fc 112 goto 23 @ 0x11bb 0x138f 113 eax = [rbp - 0x9c64 {var_9c6c}].d 0x1395 114 eax = eax - 1 0x1398 115 rax = sx.q(eax) 0x139a 116 esi = [rbp + (rax << 2) - 0x9e00].d 0x13a1 117 rdi = 0x2006 {"%d"} 0x13a8 118 al = 0 0x13aa 119 call(0x1030) 0x13af 120 goto 62 @ 0x13c2 0x135f 121 rax = sx.q([rbp - 0x9c54 {var_9c5c_2}].d) 0x1366 122 esi = [rbp + (rax << 2) - 0x9e00].d 0x136d 123 rdi = 0x2009 {"%d,"} 0x1374 124 al = 0 0x1376 125 call(0x1030) 0x137b 126 eax = [rbp - 0x9c54 {var_9c5c_2}].d 0x1381 127 eax = eax + 1 0x1384 128 [rbp - 0x9c54 {var_9c5c_2}].d = eax 0x138a 129 goto 65 @ 0x1348 0x1313 130 [rbp - 0x9c60 {var_9c68}].d = 0 0x131d 131 eax = [rbp - 0x9c54 {var_9c5c_1}].d 0x1323 132 eax = eax + 1 0x1326 133 [rbp - 0x9c54 {var_9c5c_1}].d = eax 0x132c 134 goto 21 @ 0x1259 0x12e8 135 rax = sx.q([rbp - 0x9c54 {var_9c5c_1}].d) 0x12ef 136 ecx = [rbp + (rax << 2) - 0x9c50].d 0x12f6 137 rax = sx.q([rbp - 0x9c64 {var_9c6c}].d) 0x12fd 138 [rbp + (rax << 2) - 0x9e00].d = ecx 0x1304 139 eax = [rbp - 0x9c64 {var_9c6c}].d 0x130a 140 eax = eax + 1 0x130d 141 [rbp - 0x9c64 {var_9c6c}].d = eax 0x130d 142 goto 130 @ 0x1313 int64_t _fini(): 0x13d0 0 rsp = rsp - 8 0x13d4 1 rsp = rsp + 8 0x13d8 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) double sqrt(double x): 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 = 0x1220 {"UAWAVAUATSHH= "} 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) int64_t ss(double arg1, uint64_t arg2[0x2] @ zmm0, uint64_t arg3[0x2] @ zmm3): 0x1170 0 push(rbp) 0x1171 1 push(rbx) 0x1172 2 rsp = rsp - 0x18 0x1176 3 ebx = edi 0x1178 4 xmm1.q = float.d(edi) 0x117c 5 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1180 6 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x1180 7 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1180 8 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1180 9 flag:s = 0 0x1180 10 flag:o = 0 0x1180 11 flag:a = 0 0x1184 12 [rsp + 8 {var_20}].q = xmm1.q 0x118a 13 if (flag:c) then 14 @ 0x1195 else 18 @ 0x118c 0x1195 14 xmm0 = xmm1 0x1199 15 call(0x1050) 0x119e 16 xmm1 = zx.o([rsp + 8 {var_20}].q) 0x119e 17 goto 21 @ 0x11a4 0x118c 18 xmm0 = 0 0x118f 19 xmm0 = _mm_sqrt_sd(xmm1.q) 0x1193 20 goto 21 @ 0x11a4 0x11a4 21 ecx = int.d(ftrunc(xmm0.q)) 0x11a8 22 eax = 1 0x11b0 23 if (ecx s< 2) then 24 @ 0x1212 else 28 @ 0x11b2 0x1212 24 rsp = rsp + 0x18 0x1216 25 rbx = pop 0x1217 26 rbp = pop 0x1218 27 <return> jump(pop) 0x11b2 28 ebp = 1 0x11b7 29 xmm2 = _mm_sqrt_sd(xmm1.q) 0x11bb 30 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x11bf 31 [rsp + 0x10 {var_18_1}].q = xmm2.q 0x11c5 32 goto 33 @ 0x11d8 0x11d8 33 ebp = ebp + 1 0x11db 34 eax = ebx 0x11dd 35 temp2.d:temp3.d = sx.q(eax) 0x11dd 36 edx = temp2.d 0x11dd 37 eax = temp3.d 0x11de 38 temp4.d = edx 0x11de 39 temp5.d = eax 0x11de 40 temp0.d = divs.dp.d(temp4.d:temp5.d, ebp) 0x11de 41 temp6.d = edx 0x11de 42 temp7.d = eax 0x11de 43 temp1.d = mods.dp.d(temp6.d:temp7.d, ebp) 0x11de 44 eax = temp0.d 0x11de 45 edx = temp1.d 0x11e2 46 if (edx == 0) then 47 @ 0x1210 else 49 @ 0x11e4 0x1210 47 eax = 0 0x1210 48 goto 24 @ 0x1212 0x11e4 49 flag:p = is_unordered.q(xmm1.q, xmm3.q) 0x11e4 50 flag:c = xmm1.q f< xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x11e4 51 flag:z = xmm1.q f== xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x11e4 52 flag:s = 0 0x11e4 53 flag:o = 0 0x11e4 54 flag:a = 0 0x11e8 55 xmm0 = xmm2 0x11ec 56 if (not(flag:c)) then 57 @ 0x11d0 else 59 @ 0x11ee 0x11d0 57 eax = int.d(ftrunc(xmm0.q)) 0x11d6 58 if (ebp s>= eax) then 65 @ 0x1209 else 33 @ 0x11d8 0x11ee 59 xmm0 = xmm1 0x11f2 60 call(0x1050) 0x11f7 61 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x11fb 62 xmm2 = zx.o([rsp + 0x10 {var_18_1}].q) 0x1201 63 xmm1 = zx.o([rsp + 8 {var_20}].q) 0x1207 64 goto 57 @ 0x11d0 0x1209 65 eax = 1 0x120e 66 goto 24 @ 0x1212 int32_t main(int32_t argc, char** argv, char** envp): 0x1220 0 push(rbp) 0x1221 1 push(r15) 0x1223 2 push(r14) 0x1225 3 push(r13) 0x1227 4 push(r12) 0x1229 5 push(rbx) 0x122a 6 rsp = rsp - 0x18 0x122e 7 rdi = 0x2010 {"%d"} 0x1235 8 rsi = rsp + 0x14 {var_34} 0x123a 9 eax = 0 0x123c 10 call(0x1040) 0x1246 11 if ([rsp + 0x14 {var_34}].d s>= 6) then 12 @ 0x1259 else 15 @ 0x1248 0x1259 12 r15d = 6 0x125f 13 r14 = 0x2013 {"%d=%d+%d\n"} 0x1266 14 goto 24 @ 0x12a8 0x1248 15 eax = 0 0x124a 16 rsp = rsp + 0x18 0x124e 17 rbx = pop 0x124f 18 r12 = pop 0x1251 19 r13 = pop 0x1253 20 r14 = pop 0x1255 21 r15 = pop 0x1257 22 rbp = pop 0x1258 23 <return> jump(pop) 0x12a8 24 r13d = 3 0x12ae 25 goto 26 @ 0x12b9 0x12b9 26 xmm1 = 0 0x12bc 27 xmm1.q = float.d(r13d) 0x12c1 28 flag:p = is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x12c1 29 flag:c = xmm1.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x12c1 30 flag:z = xmm1.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x12c1 31 flag:s = 0 0x12c1 32 flag:o = 0 0x12c1 33 flag:a = 0 0x12c9 34 [rsp + 8 {var_40_1}].q = xmm1.q 0x12cf 35 if (flag:c) then 36 @ 0x12e0 else 40 @ 0x12d1 0x12e0 36 xmm0 = xmm1 0x12e4 37 call(0x1050) 0x12e9 38 xmm1 = zx.o([rsp + 8 {var_40_1}].q) 0x12e9 39 goto 43 @ 0x12ef 0x12d1 40 xmm0 = 0 0x12d4 41 xmm0 = _mm_sqrt_sd(xmm1.q) 0x12d8 42 goto 43 @ 0x12ef 0x12ef 43 eax = int.d(ftrunc(xmm0.q)) 0x12f6 44 if (eax s>= 2) then 45 @ 0x1320 else 47 @ 0x12f8 0x1320 45 ebx = 2 0x1325 46 goto 59 @ 0x134a 0x12f8 47 ebx = r15d 0x12fb 48 ebx = ebx - r13d 0x12fe 49 xmm1 = 0 0x1301 50 xmm1.q = float.d(ebx) 0x1305 51 flag:p = is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x1305 52 flag:c = xmm1.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x1305 53 flag:z = xmm1.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x1305 54 flag:s = 0 0x1305 55 flag:o = 0 0x1305 56 flag:a = 0 0x130d 57 [rsp + 8 {var_40_2}].q = xmm1.q 0x1313 58 if (flag:c) then 71 @ 0x1370 else 75 @ 0x1315 0x134a 59 eax = r13d 0x134d 60 edx = 0 0x134f 61 temp2.d = ebx 0x134f 62 temp3.d = edx 0x134f 63 temp4.d = eax 0x134f 64 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x134f 65 temp5.d = edx 0x134f 66 temp6.d = eax 0x134f 67 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x134f 68 eax = temp0.d 0x134f 69 edx = temp1.d 0x1353 70 if (edx == 0) then 78 @ 0x12b0 else 80 @ 0x1359 0x1370 71 xmm0 = xmm1 0x1374 72 call(0x1050) 0x1379 73 xmm1 = zx.o([rsp + 8 {var_40_2}].q) 0x1379 74 goto 88 @ 0x137f 0x1315 75 xmm0 = 0 0x1318 76 xmm0 = _mm_sqrt_sd(xmm1.q) 0x131c 77 goto 88 @ 0x137f 0x12b0 78 r13d = r13d + 1 0x12b7 79 if (r13d == r15d) then 90 @ 0x129d else 26 @ 0x12b9 0x1359 80 ebx = ebx + 1 0x135c 81 flag:p = is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x135c 82 flag:c = xmm1.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x135c 83 flag:z = xmm1.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x135c 84 flag:s = 0 0x135c 85 flag:o = 0 0x135c 86 flag:a = 0 0x1364 87 if (flag:c) then 92 @ 0x1330 else 96 @ 0x1366 0x137f 88 eax = int.d(ftrunc(xmm0.q)) 0x1386 89 if (eax s< 2) then 99 @ 0x1270 else 109 @ 0x138c 0x129d 90 r15d = r15d + 2 0x12a6 91 if (r15d s> [rsp + 0x14 {var_34}].d) then 15 @ 0x1248 else 24 @ 0x12a8 0x1330 92 xmm0 = xmm1 0x1334 93 call(0x1050) 0x1339 94 xmm1 = zx.o([rsp + 8 {var_40_1}].q) 0x1339 95 goto 111 @ 0x133f 0x1366 96 xmm0 = 0 0x1369 97 xmm0 = _mm_sqrt_sd(xmm1.q) 0x136d 98 goto 111 @ 0x133f 0x1270 99 rdi = r14 0x1273 100 esi = r15d 0x1276 101 edx = r13d 0x1279 102 ecx = ebx 0x127b 103 eax = 0 0x127d 104 call(0x1030) 0x1282 105 r12d = r12d + 1 0x1286 106 eax = r12d * -0x33333333 0x128d 107 eax = eax + 0x19999999 0x1297 108 if (eax u<= 0x33333332) then 114 @ 0x13e0 else 90 @ 0x129d 0x138c 109 ebp = 1 0x1391 110 goto 118 @ 0x13bb 0x133f 111 eax = int.d(ftrunc(xmm0.q)) 0x1343 112 ecx = (rbx - 1).d 0x1348 113 if (ecx s>= eax) then 47 @ 0x12f8 else 59 @ 0x134a 0x13e0 114 edi = 0xd {""} 0x13e5 115 eax = 0 0x13e7 116 call(0x1060) 0x13ec 117 goto 90 @ 0x129d 0x13bb 118 ebp = ebp + 1 0x13be 119 eax = ebx 0x13c0 120 temp7.d:temp8.d = sx.q(eax) 0x13c0 121 edx = temp7.d 0x13c0 122 eax = temp8.d 0x13c1 123 temp9.d = edx 0x13c1 124 temp10.d = eax 0x13c1 125 temp0.d = divs.dp.d(temp9.d:temp10.d, ebp) 0x13c1 126 temp11.d = edx 0x13c1 127 temp12.d = eax 0x13c1 128 temp1.d = mods.dp.d(temp11.d:temp12.d, ebp) 0x13c1 129 eax = temp0.d 0x13c1 130 edx = temp1.d 0x13c5 131 if (edx == 0) then 78 @ 0x12b0 else 132 @ 0x13cb 0x13cb 132 flag:p = is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x13cb 133 flag:c = xmm1.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x13cb 134 flag:z = xmm1.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q)) 0x13cb 135 flag:s = 0 0x13cb 136 flag:o = 0 0x13cb 137 flag:a = 0 0x13d3 138 if (flag:c) then 139 @ 0x13a0 else 143 @ 0x13d5 0x13a0 139 xmm0 = xmm1 0x13a4 140 call(0x1050) 0x13a9 141 xmm1 = zx.o([rsp + 8 {var_40_2}].q) 0x13a9 142 goto 146 @ 0x13af 0x13d5 143 xmm0 = 0 0x13d8 144 xmm0 = _mm_sqrt_sd(xmm1.q) 0x13dc 145 goto 146 @ 0x13af 0x13af 146 eax = int.d(ftrunc(xmm0.q)) 0x13b5 147 if (ebp s>= eax) then 99 @ 0x1270 else 118 @ 0x13bb int64_t _fini(): 0x13f8 0 rsp = rsp - 8 0x13fc 1 rsp = rsp + 8 0x1400 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) 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 {"UAWAVAUATSHJ"} 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 - 0xf4ac8 0x1171 7 xmm0 = 0 0x1174 8 [rsp + 0x90 {var_f4a68}].o = xmm0 0x117c 9 [rsp + 0x80 {var_f4a78}].o = xmm0 0x1184 10 [rsp + 0x70 {var_f4a88}].o = xmm0 0x1189 11 [rsp + 0x60 {var_f4a98}].o = xmm0 0x118e 12 [rsp + 0x50 {var_f4aa8}].o = xmm0 0x1193 13 [rsp + 0x40 {var_f4ab8}].o = xmm0 0x1198 14 [rsp + 0xa0 {var_f4a58}].q = 0 0x11a4 15 rdi = 0x2004 {"%d\n"} 0x11ab 16 eax = 0 0x11ad 17 [rsp {var_f4af8}].q = rax 0x11b1 18 rsi = rsp + 8 {var_f4af0} 0x11b6 19 eax = 0 0x11b8 20 call(0x1050) 0x11c2 21 if ([rsp + 8 {var_f4af0}].d s<= 0) then 22 @ 0x12cc else 27 @ 0x11c8 0x12cc 22 esi = [rsp + 0x40 {var_f4ab8}].d 0x12d0 23 ecx = [rsp + 0x44 {var_f4ab8+0x4}].d 0x12d4 24 cond:0 = esi s>= 0 0x12d6 25 eax = 0 0x12db 26 if (cond:0) then 32 else 34 @ 0x12e0 0x11c8 27 r14 = rsp + 0xb0 {var_f4a48} 0x11d0 28 rbx = rsp + 0x1050 {var_f3aa8} 0x11d8 29 r15 = 0x2008 {"%d %s"} 0x11df 30 ebp = 0 0x11eb 31 goto 35 @ 0x11f0 0x12db 32 eax = esi 0x12db 33 goto 34 @ 0x12e0 0x12e0 34 if (eax s< ecx) then 45 else 47 @ 0x12e3 0x11f0 35 rdi = r15 0x11f3 36 rsi = r14 0x11f6 37 rdx = rbx 0x11f9 38 eax = 0 0x11fb 39 call(0x1050) 0x1200 40 rbp = rbp + 1 0x1204 41 rax = sx.q([rsp + 8 {var_f4af0}].d) 0x1209 42 r14 = r14 + 4 0x120d 43 rbx = rbx + 0x3e7 0x1217 44 if (rbp s< rax) then 35 @ 0x11f0 else 49 @ 0x1219 0x12e0 45 eax = ecx 0x12e0 46 goto 47 @ 0x12e3 0x12e3 47 edx = [rsp + 0x48 {var_f4ab8+0x8}].d 0x12e9 48 if (eax s< edx) then 51 else 53 @ 0x12ec 0x1219 49 r14d = eax 0x121f 50 if (r14d s<= 0) then 22 @ 0x12cc else 55 @ 0x1225 0x12e9 51 eax = edx 0x12e9 52 goto 53 @ 0x12ec 0x12ec 53 ecx = [rsp + 0x4c {var_f4ab8+0xc}].d 0x12f2 54 if (eax s< ecx) then 58 else 60 @ 0x12f5 0x1225 55 rbp = rsp + 0x1051 {var_f3aa7} 0x122d 56 ebx = 0 0x122f 57 goto 62 @ 0x1250 0x12f2 58 eax = ecx 0x12f2 59 goto 60 @ 0x12f5 0x12f5 60 ebp = [rsp + 0x50 {var_f4aa8}].d 0x12fb 61 if (eax s< ebp) then 68 else 70 @ 0x12fe 0x1250 62 rax = rbx * 0x3e7 0x1257 63 r15 = rsp + rax 0x125b 64 r15 = r15 + 0x1050 0x1262 65 rdi = r15 0x1265 66 call(0x1040) 0x126c 67 if (eax s<= 0) then 72 @ 0x1240 else 75 @ 0x126e 0x12fb 68 eax = ebp 0x12fb 69 goto 70 @ 0x12fe 0x12fe 70 edi = [rsp + 0x54 {var_f4aa8+0x4}].d 0x1304 71 if (eax s< edi) then 78 else 80 @ 0x1307 0x1240 72 rbx = rbx + 1 0x1244 73 rbp = rbp + 0x3e7 0x124e 74 if (rbx == r14) then 22 @ 0x12cc else 62 @ 0x1250 0x126e 75 ecx = eax 0x1270 76 eax = eax & 1 0x1277 77 if (rcx != 1) then 82 @ 0x1280 else 85 @ 0x1279 0x1304 78 eax = edi 0x1304 79 goto 80 @ 0x1307 0x1307 80 r13d = [rsp + 0x58 {var_f4aa8+0x8}].d 0x130f 81 if (eax s< r13d) then 87 else 89 @ 0x1313 0x1280 82 rcx = rcx - rax 0x1283 83 edx = 0 0x128f 84 goto 91 @ 0x1290 0x1279 85 edx = 0 0x127b 86 goto 97 @ 0x12b8 0x130f 87 eax = r13d 0x130f 88 goto 89 @ 0x1313 0x1313 89 r15d = [rsp + 0x5c {var_f4aa8+0xc}].d 0x131b 90 if (eax s< r15d) then 98 else 100 @ 0x131f 0x1290 91 rsi = sx.q([rbp + rdx - 1].b) 0x1296 92 [rsp + (rsi << 2) - 0xc4].d = [rsp + (rsi << 2) - 0xc4].d + 1 0x129e 93 rsi = sx.q([rbp + rdx].b) 0x12a4 94 [rsp + (rsi << 2) - 0xc4].d = [rsp + (rsi << 2) - 0xc4].d + 1 0x12ac 95 rdx = rdx + 2 0x12b3 96 if (rcx != rdx) then 91 @ 0x1290 else 97 @ 0x12b8 0x12b8 97 if (rax == 0) then 72 @ 0x1240 else 102 @ 0x12ba 0x131b 98 eax = r15d 0x131b 99 goto 100 @ 0x131f 0x131f 100 r14d = [rsp + 0x60 {var_f4a98}].d 0x1327 101 if (eax s< r14d) then 105 else 107 @ 0x132b 0x12ba 102 rax = sx.q([rdx + r15].b) 0x12bf 103 [rsp + (rax << 2) - 0xc4].d = [rsp + (rax << 2) - 0xc4].d + 1 0x12c7 104 goto 72 @ 0x1240 0x1327 105 eax = r14d 0x1327 106 goto 107 @ 0x132b 0x132b 107 r11d = [rsp + 0x64 {var_f4a98+0x4}].d 0x1333 108 if (eax s< r11d) then 109 else 111 @ 0x1337 0x1333 109 eax = r11d 0x1333 110 goto 111 @ 0x1337 0x1337 111 r10d = [rsp + 0x68 {var_f4a98+0x8}].d 0x133f 112 if (eax s< r10d) then 113 else 115 @ 0x1343 0x133f 113 eax = r10d 0x133f 114 goto 115 @ 0x1343 0x1343 115 r9d = [rsp + 0x6c {var_f4a98+0xc}].d 0x134b 116 if (eax s< r9d) then 117 else 119 @ 0x134f 0x134b 117 eax = r9d 0x134b 118 goto 119 @ 0x134f 0x134f 119 r8d = [rsp + 0x70 {var_f4a88}].d 0x1357 120 if (eax s< r8d) then 121 else 123 @ 0x135b 0x1357 121 eax = r8d 0x1357 122 goto 123 @ 0x135b 0x135b 123 ebx = [rsp + 0x74 {var_f4a88+0x4}].d 0x135f 124 cond:1 = eax s< ebx 0x1361 125 [rsp + 0x3c {var_f4abc}].d = ebx 0x1365 126 if (cond:1) then 127 else 129 @ 0x1368 0x1365 127 eax = ebx 0x1365 128 goto 129 @ 0x1368 0x1368 129 ebx = [rsp + 0x78 {var_f4a88+0x8}].d 0x136c 130 cond:2 = eax s< ebx 0x136e 131 [rsp + 0x38 {var_f4ac0}].d = ebx 0x1372 132 if (cond:2) then 133 else 135 @ 0x1375 0x1372 133 eax = ebx 0x1372 134 goto 135 @ 0x1375 0x1375 135 ebx = [rsp + 0x7c {var_f4a88+0xc}].d 0x1379 136 cond:3 = eax s< ebx 0x137b 137 [rsp + 0x34 {var_f4ac4}].d = ebx 0x137f 138 if (cond:3) then 139 else 141 @ 0x1382 0x137f 139 eax = ebx 0x137f 140 goto 141 @ 0x1382 0x1382 141 ebx = [rsp + 0x80 {var_f4a78}].d 0x1389 142 cond:4 = eax s< ebx 0x138b 143 [rsp + 0x30 {var_f4ac8}].d = ebx 0x138f 144 if (cond:4) then 145 else 147 @ 0x1392 0x138f 145 eax = ebx 0x138f 146 goto 147 @ 0x1392 0x1392 147 ebx = [rsp + 0x84 {var_f4a78+0x4}].d 0x1399 148 cond:5 = eax s< ebx 0x139b 149 [rsp + 0x2c {var_f4acc}].d = ebx 0x139f 150 if (cond:5) then 151 else 153 @ 0x13a2 0x139f 151 eax = ebx 0x139f 152 goto 153 @ 0x13a2 0x13a2 153 ebx = [rsp + 0x88 {var_f4a78+0x8}].d 0x13a9 154 cond:6 = eax s< ebx 0x13ab 155 [rsp + 0x28 {var_f4ad0}].d = ebx 0x13af 156 if (cond:6) then 157 else 159 @ 0x13b2 0x13af 157 eax = ebx 0x13af 158 goto 159 @ 0x13b2 0x13b2 159 ebx = [rsp + 0x8c {var_f4a78+0xc}].d 0x13b9 160 cond:7 = eax s< ebx 0x13bb 161 [rsp + 0x24 {var_f4ad4}].d = ebx 0x13bf 162 if (cond:7) then 163 else 165 @ 0x13c2 0x13bf 163 eax = ebx 0x13bf 164 goto 165 @ 0x13c2 0x13c2 165 ebx = [rsp + 0x90 {var_f4a68}].d 0x13c9 166 cond:8 = eax s< ebx 0x13cb 167 [rsp + 0x20 {var_f4ad8}].d = ebx 0x13cf 168 if (cond:8) then 169 else 171 @ 0x13d2 0x13cf 169 eax = ebx 0x13cf 170 goto 171 @ 0x13d2 0x13d2 171 ebx = [rsp + 0x94 {var_f4a68+0x4}].d 0x13d9 172 cond:9 = eax s< ebx 0x13db 173 [rsp + 0x1c {var_f4adc}].d = ebx 0x13df 174 if (cond:9) then 175 else 177 @ 0x13e2 0x13df 175 eax = ebx 0x13df 176 goto 177 @ 0x13e2 0x13e2 177 ebx = [rsp + 0x98 {var_f4a68+0x8}].d 0x13e9 178 cond:10 = eax s< ebx 0x13eb 179 [rsp + 0x18 {var_f4ae0}].d = ebx 0x13ef 180 if (cond:10) then 181 else 183 @ 0x13f2 0x13ef 181 eax = ebx 0x13ef 182 goto 183 @ 0x13f2 0x13f2 183 ebx = [rsp + 0x9c {var_f4a68+0xc}].d 0x13f9 184 cond:11 = eax s< ebx 0x13fb 185 [rsp + 0x14 {var_f4ae4}].d = ebx 0x13ff 186 if (cond:11) then 187 else 189 @ 0x1402 0x13ff 187 eax = ebx 0x13ff 188 goto 189 @ 0x1402 0x1402 189 ebx = [rsp + 0xa0 {var_f4a58}].d 0x1409 190 cond:12 = eax s< ebx 0x140b 191 [rsp + 0xc {var_f4aec}].d = ebx 0x140f 192 if (cond:12) then 193 else 195 @ 0x1412 0x140f 193 eax = ebx 0x140f 194 goto 195 @ 0x1412 0x1412 195 r12d = [rsp + 0xa4 {var_f4a58+0x4}].d 0x141a 196 cond:13 = eax s< r12d 0x141d 197 ebx = eax 0x141f 198 [rsp + 0x10 {var_f4ae8}].d = r12d 0x1424 199 if (cond:13) then 200 else 202 @ 0x142a 0x1424 200 ebx = r12d 0x1424 201 goto 202 @ 0x142a 0x142a 202 if (esi == ebx) then 203 @ 0x15de else 210 @ 0x1430 0x15de 203 rbp = [rsp {var_f4af8}].q 0x15e2 204 esi = (rbp + 0x41).d 0x15e5 205 rdi = 0x200e {"%c\n"} 0x15ec 206 eax = 0 0x15ee 207 call(0x1030) 0x15f3 208 r15d = ebp 0x15f3 209 goto 213 @ 0x15f6 0x1430 210 esi = 1 0x1435 211 [rsp {var_f4af8}].q = rsi 0x143d 212 if ([rsp + 0x44 {var_f4ab8+0x4}].d == ebx) then 203 @ 0x15de else 219 @ 0x1443 0x15f6 213 rdi = 0x2004 {"%d\n"} 0x15fd 214 esi = ebx 0x15ff 215 eax = 0 0x1601 216 call(0x1030) 0x1606 217 ebx = [rsp + 8 {var_f4af0}].d 0x160c 218 if (ebx s<= 0) then 222 @ 0x169a else 230 @ 0x1612 0x1443 219 esi = 2 0x1448 220 [rsp {var_f4af8}].q = rsi 0x144e 221 if (edx == ebx) then 203 @ 0x15de else 234 @ 0x1454 0x169a 222 rsp = rsp + 0xf4ac8 0x16a1 223 rbx = pop 0x16a2 224 r12 = pop 0x16a4 225 r13 = pop 0x16a6 226 r14 = pop 0x16a8 227 r15 = pop 0x16aa 228 rbp = pop 0x16ab 229 <return> jump(pop) 0x1612 230 r12 = rsp + 0x1050 {var_f3aa8} 0x161a 231 r14 = 0x2004 {"%d\n"} 0x1621 232 r13d = 0 0x1624 233 goto 237 @ 0x1647 0x1454 234 edx = 3 0x1459 235 [rsp {var_f4af8}].q = rdx 0x145f 236 if (ecx == ebx) then 203 @ 0x15de else 242 @ 0x1465 0x1647 237 rax = r13 * 0x3e7 0x164e 238 rdi = rsp + rax 0x1652 239 rdi = rdi + 0x1050 0x1659 240 call(0x1040) 0x1660 241 if (eax s<= 0) then 245 @ 0x1634 else 249 @ 0x1662 0x1465 242 ecx = 4 0x146a 243 [rsp {var_f4af8}].q = rcx 0x1470 244 if (ebp == ebx) then 203 @ 0x15de else 252 @ 0x1476 0x1634 245 r13 = r13 + 1 0x1638 246 rax = sx.q(ebx) 0x163b 247 r12 = r12 + 0x3e7 0x1645 248 if (r13 s>= rax) then 222 @ 0x169a else 237 @ 0x1647 0x1662 249 ebp = eax 0x1664 250 ebx = 0 0x1666 251 goto 255 @ 0x1679 0x1476 252 ecx = 5 0x147b 253 [rsp {var_f4af8}].q = rcx 0x1481 254 if (edi == ebx) then 203 @ 0x15de else 258 @ 0x1487 0x1679 255 eax = sx.d([r12 + rbx].b) 0x167e 256 eax = eax - 0x41 0x1684 257 if (eax != r15d) then 261 @ 0x1670 else 263 @ 0x1686 0x1487 258 ecx = 6 0x148c 259 [rsp {var_f4af8}].q = rcx 0x1493 260 if (r13d == ebx) then 203 @ 0x15de else 268 @ 0x1499 0x1670 261 rbx = rbx + 1 0x1677 262 if (rbp == rbx) then 271 @ 0x1630 else 255 @ 0x1679 0x1686 263 esi = [rsp + (r13 << 2) + 0xb0].d 0x168e 264 rdi = r14 0x1691 265 eax = 0 0x1693 266 call(0x1030) 0x1698 267 goto 261 @ 0x1670 0x1499 268 ecx = 7 0x149e 269 [rsp {var_f4af8}].q = rcx 0x14a5 270 if (r15d == ebx) then 203 @ 0x15de else 273 @ 0x14ab 0x1630 271 ebx = [rsp + 8 {var_f4af0}].d 0x1630 272 goto 245 @ 0x1634 0x14ab 273 ecx = 8 0x14b0 274 [rsp {var_f4af8}].q = rcx 0x14b7 275 if (r14d == ebx) then 203 @ 0x15de else 276 @ 0x14bd 0x14bd 276 ecx = 9 0x14c2 277 [rsp {var_f4af8}].q = rcx 0x14c9 278 if (r11d == ebx) then 203 @ 0x15de else 279 @ 0x14cf 0x14cf 279 ecx = 0xa {""} 0x14d4 280 [rsp {var_f4af8}].q = rcx 0x14db 281 if (r10d == ebx) then 203 @ 0x15de else 282 @ 0x14e1 0x14e1 282 ecx = 0xb {""} 0x14e6 283 [rsp {var_f4af8}].q = rcx 0x14ed 284 if (r9d == ebx) then 203 @ 0x15de else 285 @ 0x14f3 0x14f3 285 ecx = 0xc {""} 0x14f8 286 [rsp {var_f4af8}].q = rcx 0x14ff 287 if (r8d == ebx) then 203 @ 0x15de else 288 @ 0x1505 0x1505 288 ecx = 0xd {""} 0x150a 289 [rsp {var_f4af8}].q = rcx 0x1512 290 if ([rsp + 0x3c {var_f4abc}].d == ebx) then 203 @ 0x15de else 291 @ 0x1518 0x1518 291 ecx = 0xe {""} 0x151d 292 [rsp {var_f4af8}].q = rcx 0x1525 293 if ([rsp + 0x38 {var_f4ac0}].d == ebx) then 203 @ 0x15de else 294 @ 0x152b 0x152b 294 ecx = 0xf {""} 0x1530 295 [rsp {var_f4af8}].q = rcx 0x1538 296 if ([rsp + 0x34 {var_f4ac4}].d == ebx) then 203 @ 0x15de else 297 @ 0x153e 0x153e 297 ecx = 0x10 {""} 0x1543 298 [rsp {var_f4af8}].q = rcx 0x154b 299 if ([rsp + 0x30 {var_f4ac8}].d == ebx) then 203 @ 0x15de else 300 @ 0x1551 0x1551 300 ecx = 0x11 {""} 0x1556 301 [rsp {var_f4af8}].q = rcx 0x155e 302 if ([rsp + 0x2c {var_f4acc}].d == ebx) then 203 @ 0x15de else 303 @ 0x1560 0x1560 303 ecx = 0x12 {">"} 0x1565 304 [rsp {var_f4af8}].q = rcx 0x156d 305 if ([rsp + 0x28 {var_f4ad0}].d == ebx) then 203 @ 0x15de else 306 @ 0x156f 0x156f 306 ecx = 0x13 {""} 0x1574 307 [rsp {var_f4af8}].q = rcx 0x157c 308 if ([rsp + 0x24 {var_f4ad4}].d == ebx) then 203 @ 0x15de else 309 @ 0x157e 0x157e 309 ecx = 0x14 {""} 0x1583 310 [rsp {var_f4af8}].q = rcx 0x158b 311 if ([rsp + 0x20 {var_f4ad8}].d == ebx) then 203 @ 0x15de else 312 @ 0x158d 0x158d 312 ecx = 0x15 {""} 0x1592 313 [rsp {var_f4af8}].q = rcx 0x159a 314 if ([rsp + 0x1c {var_f4adc}].d == ebx) then 203 @ 0x15de else 315 @ 0x159c 0x159c 315 ecx = 0x16 {""} 0x15a1 316 [rsp {var_f4af8}].q = rcx 0x15a9 317 if ([rsp + 0x18 {var_f4ae0}].d == ebx) then 203 @ 0x15de else 318 @ 0x15ab 0x15ab 318 ecx = 0x17 {""} 0x15b0 319 [rsp {var_f4af8}].q = rcx 0x15b8 320 if ([rsp + 0x14 {var_f4ae4}].d == ebx) then 203 @ 0x15de else 321 @ 0x15ba 0x15ba 321 ecx = 0x18 {"p"} 0x15bf 322 [rsp {var_f4af8}].q = rcx 0x15c7 323 if ([rsp + 0xc].d == ebx) then 203 @ 0x15de else 324 @ 0x15c9 0x15c9 324 ecx = 0x19 {""} 0x15ce 325 [rsp {var_f4af8}].q = rcx 0x15d2 326 r15d = 0x1a {""} 0x15dc 327 if ([rsp + 0x10].d s< eax) then 213 @ 0x15f6 else 203 @ 0x15de int64_t _fini(): 0x16b0 0 rsp = rsp - 8 0x16b4 1 rsp = rsp + 8 0x16b8 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) 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 {"UHH0E"} 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 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0x30 0x1178 3 [rbp - 4 {var_c}].d = 0 0x117f 4 [rbp - 0x1c {var_24}].d = 0 0x1186 5 [rbp - 0x20 {var_28}].d = 0 0x118d 6 rdi = 0x2004 {"%s"} 0x1194 7 rsi = 0x4060 {""} 0x119b 8 al = 0 0x119d 9 call(0x1060) 0x11a2 10 rdi = 0x4100 {""} 0x11a9 11 esi = 0 0x11ab 12 edx = 0x258 {" "} 0x11b0 13 call(0x1040) 0x11b5 14 rdi = 0x4360 {""} 0x11bc 15 esi = 0 0x11be 16 edx = 0x258 {" "} 0x11c3 17 call(0x1040) 0x11c8 18 rdi = 0x45c0 {""} 0x11cf 19 esi = 0 0x11d1 20 edx = 0x3e8 {""} 0x11d6 21 call(0x1040) 0x11db 22 rdi = 0x49b0 {""} 0x11e2 23 esi = 0 0x11e4 24 edx = 0x320 {"d-linux-x86-64.so.2"} 0x11e9 25 call(0x1040) 0x11ee 26 rdi = 0x4060 {""} 0x11f5 27 call(0x1050) 0x11fa 28 rax = rax - 1 0x11fe 29 [rbp - 8 {var_10}].d = eax 0x1201 30 [rbp - 0xc {var_14}].d = 0 0x1201 31 goto 32 @ 0x120c 0x120c 32 if ([rbp - 8 {var_10}].d s< 0) then 33 @ 0x124a else 56 @ 0x1212 0x124a 33 [0x4360].d = 3 0x1254 34 [0x4364].d = 1 0x125e 35 [0x45c0].d = 3 0x1268 36 [0x45c4].d = 1 0x1272 37 rdi = 0x4100 {""} 0x1279 38 call(0x14d0) 0x127e 39 [rbp - 0x28 {var_30}].d = eax 0x1281 40 rdi = 0x4360 {""} 0x1288 41 call(0x14d0) 0x128d 42 ecx = eax 0x128f 43 eax = [rbp - 0x28 {var_30}].d 0x1292 44 eax = eax - ecx 0x1294 45 [rbp - 0x10 {var_18}].d = eax 0x1297 46 eax = [rbp - 0x10 {var_18}].d 0x129a 47 [rbp - 0x18 {var_20}].d = eax 0x129d 48 rdi = 0x4100 {""} 0x12a4 49 rsi = 0x4360 {""} 0x12ab 50 call(0x1530) 0x12b0 51 [rbp - 0x24 {var_2c}].d = eax 0x12b3 52 esi = [rbp - 0x10 {var_18}].d 0x12b6 53 rdi = 0x45c0 {""} 0x12bd 54 call(0x1620) 0x12bd 55 goto 71 @ 0x12c2 0x1212 56 rcx = sx.q([rbp - 8 {var_10}].d) 0x1216 57 rax = 0x4060 {""} 0x121d 58 edx = sx.d([rax + rcx].b) 0x1221 59 edx = edx - 0x30 0x1224 60 eax = [rbp - 0xc {var_14}].d 0x1227 61 ecx = eax 0x1229 62 ecx = ecx + 1 0x122c 63 [rbp - 0xc {var_14}].d = ecx 0x122f 64 rcx = sx.q(eax) 0x1232 65 rax = 0x4100 {""} 0x1239 66 [rax + (rcx << 2)].d = edx 0x123c 67 eax = [rbp - 8 {var_10}].d 0x123f 68 eax = eax - 1 0x1242 69 [rbp - 8 {var_10}].d = eax 0x1245 70 goto 32 @ 0x120c 0x12c2 71 rdi = 0x4100 {""} 0x12c9 72 rsi = 0x4360 {""} 0x12d0 73 call(0x1530) 0x12d8 74 if (eax == 0) then 75 @ 0x1396 else 76 @ 0x12de 0x1396 75 if ([0x49b0].d != 0) then 77 @ 0x13e5 else 78 @ 0x139c 0x12de 76 goto 80 @ 0x12e3 0x13e5 77 if ([0x49b0].d s<= 0) then 84 @ 0x142d else 85 @ 0x13eb 0x139c 78 [rbp - 8 {var_10_1}].d = 1 0x139c 79 goto 87 @ 0x13a3 0x12e3 80 rdi = 0x4100 {""} 0x12ea 81 rsi = 0x45c0 {""} 0x12f1 82 call(0x1530) 0x12f9 83 if (eax == 0) then 89 @ 0x1320 else 107 @ 0x12ff 0x142d 84 goto 114 @ 0x1436 0x13eb 85 [rbp - 8 {var_10_2}].d = 0 0x13eb 86 goto 115 @ 0x13f2 0x13a3 87 eax = [rbp - 8 {var_10_1}].d 0x13a9 88 if (eax s> [rbp - 0x18 {var_20}].d) then 117 @ 0x13d9 else 118 @ 0x13af 0x1320 89 edx = [rbp - 0x20 {var_28}].d 0x1323 90 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x1327 91 rax = 0x49b0 {""} 0x132e 92 [rax + (rcx << 2)].d = edx 0x1331 93 eax = [rbp - 0x1c {var_24}].d 0x1334 94 eax = eax + 1 0x1337 95 [rbp - 0x1c {var_24}].d = eax 0x133a 96 [rbp - 0x20 {var_28}].d = 0 0x1341 97 rdi = 0x45c0 {""} 0x1348 98 esi = 0 0x134a 99 edx = 0x3e8 {""} 0x134f 100 call(0x1040) 0x1354 101 [0x45c0].d = 3 0x135e 102 [0x45c4].d = 1 0x1368 103 eax = [rbp - 0x10 {var_18}].d 0x136b 104 eax = eax - 1 0x136e 105 [rbp - 0x10 {var_18}].d = eax 0x1375 106 if ([rbp - 0x10 {var_18}].d s< 1) then 128 @ 0x138a else 129 @ 0x137b 0x12ff 107 rdi = 0x4100 {""} 0x1306 108 rsi = 0x45c0 {""} 0x130d 109 call(0x16a0) 0x1312 110 eax = [rbp - 0x20 {var_28}].d 0x1315 111 eax = eax + 1 0x1318 112 [rbp - 0x20 {var_28}].d = eax 0x131b 113 goto 80 @ 0x12e3 0x1436 114 if ([rbp - 0x24 {var_2c}].d != 0) then 133 @ 0x144a else 137 @ 0x143c 0x13f2 115 eax = [rbp - 8 {var_10_2}].d 0x13f8 116 if (eax s> [rbp - 0x18 {var_20}].d) then 141 @ 0x1428 else 142 @ 0x13fe 0x13d9 117 goto 114 @ 0x1436 0x13af 118 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x13b3 119 rax = 0x49b0 {""} 0x13ba 120 esi = [rax + (rcx << 2)].d 0x13bd 121 rdi = 0x2007 {"%d"} 0x13c4 122 al = 0 0x13c6 123 call(0x1030) 0x13cb 124 eax = [rbp - 8 {var_10_1}].d 0x13ce 125 eax = eax + 1 0x13d1 126 [rbp - 8 {var_10_1}].d = eax 0x13d4 127 goto 87 @ 0x13a3 0x138a 128 goto 71 @ 0x12c2 0x137b 129 esi = [rbp - 0x10 {var_18}].d 0x137e 130 rdi = 0x45c0 {""} 0x1385 131 call(0x1620) 0x1385 132 goto 128 @ 0x138a 0x144a 133 rdi = 0x200c {"\n"} 0x1451 134 al = 0 0x1453 135 call(0x1030) 0x145f 136 if ([0x4104].d != 1) then 152 @ 0x14a5 else 157 @ 0x1465 0x143c 137 rdi = 0x200a {"0"} 0x1443 138 al = 0 0x1445 139 call(0x1030) 0x1445 140 goto 133 @ 0x144a 0x1428 141 goto 84 @ 0x142d 0x13fe 142 rcx = sx.q([rbp - 8 {var_10_2}].d) 0x1402 143 rax = 0x49b0 {""} 0x1409 144 esi = [rax + (rcx << 2)].d 0x140c 145 rdi = 0x2007 {"%d"} 0x1413 146 al = 0 0x1415 147 call(0x1030) 0x141a 148 eax = [rbp - 8 {var_10_2}].d 0x141d 149 eax = eax + 1 0x1420 150 [rbp - 8 {var_10_2}].d = eax 0x1423 151 goto 115 @ 0x13f2 0x14a5 152 esi = [0x4100].d 0x14ab 153 rdi = 0x2007 {"%d"} 0x14b2 154 al = 0 0x14b4 155 call(0x1030) 0x14b4 156 goto 159 @ 0x14b9 0x1465 157 [rbp - 8 {var_10_3}].d = 1 0x1465 158 goto 163 @ 0x1470 0x14b9 159 eax = 0 0x14bb 160 rsp = rsp + 0x30 0x14bf 161 rbp = pop 0x14c0 162 <return> jump(pop) 0x1470 163 if ([rbp - 8 {var_10_3}].d s< 0) then 164 @ 0x14a0 else 165 @ 0x1476 0x14a0 164 goto 159 @ 0x14b9 0x1476 165 rcx = sx.q([rbp - 8 {var_10_3}].d) 0x147a 166 rax = 0x4100 {""} 0x1481 167 esi = [rax + (rcx << 2)].d 0x1484 168 rdi = 0x2007 {"%d"} 0x148b 169 al = 0 0x148d 170 call(0x1030) 0x1492 171 eax = [rbp - 8 {var_10_3}].d 0x1495 172 eax = eax - 1 0x1498 173 [rbp - 8 {var_10_3}].d = eax 0x149b 174 goto 163 @ 0x1470 uint64_t wei(int64_t arg1): 0x14d0 0 push(rbp) 0x14d1 1 rbp = rsp {__saved_rbp} 0x14d4 2 [rbp - 0x10 {var_18}].q = rdi 0x14d8 3 [rbp - 0x14 {var_1c}].d = 0x95 {""} 0x14d8 4 goto 5 @ 0x14e3 0x14e3 5 if ([rbp - 0x14 {var_1c}].d s< 0) then 6 @ 0x1522 else 9 @ 0x14e9 0x1522 6 eax = [rbp - 4 {var_c}].d 0x1525 7 rbp = pop 0x1526 8 <return> jump(pop) 0x14e9 9 rax = [rbp - 0x10 {var_18}].q 0x14ed 10 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x14f5 11 if ([rax + (rcx << 2)].d s<= 0) then 12 @ 0x150f else 13 @ 0x14fb 0x150f 12 goto 19 @ 0x1514 0x14fb 13 eax = [rbp - 0x14 {var_1c}].d 0x14fe 14 eax = eax + 1 0x1501 15 [rbp - 0x18 {var_20_1}].d = eax 0x1504 16 eax = [rbp - 0x18 {var_20_1}].d 0x1507 17 [rbp - 4 {var_c}].d = eax 0x150a 18 goto 6 @ 0x1522 0x1514 19 eax = [rbp - 0x14 {var_1c}].d 0x1517 20 eax = eax - 1 0x151a 21 [rbp - 0x14 {var_1c}].d = eax 0x151d 22 goto 5 @ 0x14e3 uint64_t compare(int64_t arg1, int64_t arg2): 0x1530 0 push(rbp) 0x1531 1 rbp = rsp {__saved_rbp} 0x1534 2 rsp = rsp - 0x30 0x1538 3 [rbp - 0x10 {var_18}].q = rdi 0x153c 4 [rbp - 0x18 {var_20}].q = rsi 0x1540 5 rdi = [rbp - 0x10 {var_18}].q 0x1544 6 call(0x14d0) 0x1549 7 [rbp - 0x20 {var_28}].d = eax 0x154c 8 rdi = [rbp - 0x18 {var_20}].q 0x1550 9 call(0x14d0) 0x1555 10 ecx = eax 0x1557 11 eax = [rbp - 0x20 {var_28}].d 0x155c 12 if (eax s<= ecx) then 13 @ 0x156e else 21 @ 0x1562 0x156e 13 rdi = [rbp - 0x10 {var_18}].q 0x1572 14 call(0x14d0) 0x1577 15 [rbp - 0x24 {var_2c_1}].d = eax 0x157a 16 rdi = [rbp - 0x18 {var_20}].q 0x157e 17 call(0x14d0) 0x1583 18 ecx = eax 0x1585 19 eax = [rbp - 0x24 {var_2c_1}].d 0x158a 20 if (eax s>= ecx) then 23 @ 0x159c else 25 @ 0x1590 0x1562 21 [rbp - 4 {var_c}].d = 1 0x1569 22 goto 27 @ 0x160b 0x159c 23 [rbp - 0x1c {var_24_1}].d = 0x95 {""} 0x159c 24 goto 31 @ 0x15a3 0x1590 25 [rbp - 4 {var_c}].d = 0 0x1597 26 goto 27 @ 0x160b 0x160b 27 eax = [rbp - 4 {var_c}].d 0x160e 28 rsp = rsp + 0x30 0x1612 29 rbp = pop 0x1613 30 <return> jump(pop) 0x15a3 31 rax = [rbp - 0x10 {var_18}].q 0x15a7 32 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x15ab 33 eax = [rax + (rcx << 2)].d 0x15ae 34 rcx = [rbp - 0x18 {var_20}].q 0x15b2 35 rdx = sx.q([rbp - 0x1c {var_24_1}].d) 0x15b9 36 if (eax s<= [rcx + (rdx << 2)].d) then 37 @ 0x15cb else 43 @ 0x15bf 0x15cb 37 rax = [rbp - 0x10 {var_18}].q 0x15cf 38 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x15d3 39 eax = [rax + (rcx << 2)].d 0x15d6 40 rcx = [rbp - 0x18 {var_20}].q 0x15da 41 rdx = sx.q([rbp - 0x1c {var_24_1}].d) 0x15e1 42 if (eax s>= [rcx + (rdx << 2)].d) then 45 @ 0x15f3 else 46 @ 0x15e7 0x15bf 43 [rbp - 4 {var_c}].d = 1 0x15c6 44 goto 27 @ 0x160b 0x15f3 45 goto 48 @ 0x15f8 0x15e7 46 [rbp - 4 {var_c}].d = 0 0x15ee 47 goto 27 @ 0x160b 0x15f8 48 goto 49 @ 0x15fd 0x15fd 49 eax = [rbp - 0x1c {var_24_1}].d 0x1600 50 eax = eax - 1 0x1603 51 [rbp - 0x1c {var_24_1}].d = eax 0x1606 52 goto 31 @ 0x15a3 uint64_t fangda(int64_t arg1, int32_t arg2): 0x1620 0 push(rbp) 0x1621 1 rbp = rsp {__saved_rbp} 0x1624 2 [rbp - 8 {var_10}].q = rdi 0x1628 3 [rbp - 0xc {var_14}].d = esi 0x162b 4 [rbp - 0x10 {var_18}].d = 0x64 {""} 0x162b 5 goto 6 @ 0x1636 0x1636 6 if ([rbp - 0x10 {var_18}].d s< 0) then 7 @ 0x1665 else 9 @ 0x163c 0x1665 7 [rbp - 0x10 {var_18_1}].d = 0 0x1665 8 goto 21 @ 0x166c 0x163c 9 rax = [rbp - 8 {var_10}].q 0x1640 10 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x1644 11 edx = [rax + (rcx << 2)].d 0x1647 12 rax = [rbp - 8 {var_10}].q 0x164b 13 ecx = [rbp - 0x10 {var_18}].d 0x164e 14 ecx = ecx + [rbp - 0xc {var_14}].d 0x1651 15 rcx = sx.q(ecx) 0x1654 16 [rax + (rcx << 2)].d = edx 0x1657 17 eax = [rbp - 0x10 {var_18}].d 0x165a 18 eax = eax - 1 0x165d 19 [rbp - 0x10 {var_18}].d = eax 0x1660 20 goto 6 @ 0x1636 0x166c 21 eax = [rbp - 0x10 {var_18_1}].d 0x1672 22 if (eax s>= [rbp - 0xc {var_14}].d) then 23 @ 0x1695 else 25 @ 0x1678 0x1695 23 rbp = pop 0x1696 24 <return> jump(pop) 0x1678 25 rax = [rbp - 8 {var_10}].q 0x167c 26 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1680 27 [rax + (rcx << 2)].d = 0 0x1687 28 eax = [rbp - 0x10 {var_18_1}].d 0x168a 29 eax = eax + 1 0x168d 30 [rbp - 0x10 {var_18_1}].d = eax 0x1690 31 goto 21 @ 0x166c void subtract(int64_t arg1, int64_t arg2): 0x16a0 0 push(rbp) 0x16a1 1 rbp = rsp {__saved_rbp} 0x16a4 2 [rbp - 8 {var_10}].q = rdi 0x16a8 3 [rbp - 0x10 {var_18}].q = rsi 0x16ac 4 [rbp - 0x14 {var_1c}].d = 0 0x16ac 5 goto 6 @ 0x16b7 0x16b7 6 if ([rbp - 0x14 {var_1c}].d s>= 0x78) then 7 @ 0x172a else 9 @ 0x16bd 0x172a 7 rbp = pop 0x172b 8 <return> jump(pop) 0x16bd 9 rax = [rbp - 8 {var_10}].q 0x16c1 10 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x16c5 11 edx = [rax + (rcx << 2)].d 0x16c8 12 rax = [rbp - 0x10 {var_18}].q 0x16cc 13 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x16d0 14 edx = edx - [rax + (rcx << 2)].d 0x16d3 15 rax = [rbp - 8 {var_10}].q 0x16d7 16 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x16db 17 [rax + (rcx << 2)].d = edx 0x16de 18 rax = [rbp - 8 {var_10}].q 0x16e2 19 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x16ea 20 if ([rax + (rcx << 2)].d s>= 0) then 21 @ 0x1717 else 22 @ 0x16f0 0x1717 21 goto 35 @ 0x171c 0x16f0 22 rax = [rbp - 8 {var_10}].q 0x16f4 23 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x16f8 24 edx = [rax + (rcx << 2)].d 0x16fb 25 edx = edx + 0xa 0x16fe 26 [rax + (rcx << 2)].d = edx 0x1701 27 rax = [rbp - 8 {var_10}].q 0x1705 28 ecx = [rbp - 0x14 {var_1c}].d 0x1708 29 ecx = ecx + 1 0x170b 30 rcx = sx.q(ecx) 0x170e 31 edx = [rax + (rcx << 2)].d 0x1711 32 edx = edx - 1 0x1714 33 [rax + (rcx << 2)].d = edx 0x1714 34 goto 21 @ 0x1717 0x171c 35 eax = [rbp - 0x14 {var_1c}].d 0x171f 36 eax = eax + 1 0x1722 37 [rbp - 0x14 {var_1c}].d = eax 0x1725 38 goto 6 @ 0x16b7 int64_t _fini(): 0x1730 0 rsp = rsp - 8 0x1734 1 rsp = rsp + 8 0x1738 2 <return> jump(pop)
POJ_96
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 {"AWAVSHPH="} 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 - 0x50 0x1169 4 rdi = 0x2004 {"%d %s %d"} 0x1170 5 r15d = 0 0x1173 6 rsi = rsp + 0xc {var_5c} 0x1178 7 r14 = rsp + 0x30 {var_38} 0x117d 8 rcx = rsp + 8 {var_60} 0x1182 9 rdx = r14 {var_38} 0x1185 10 eax = 0 0x1187 11 call(0x1040) 0x118c 12 rdi = r14 {var_38} 0x118f 13 call(0x1030) 0x1196 14 if (eax s<= 0) then 15 @ 0x1220 else 16 @ 0x119c 0x1220 15 if (r15 == 0) then 22 @ 0x126c else 25 @ 0x1225 0x119c 16 rcx = sx.q([rsp + 0xc {var_5c}].d) 0x11a1 17 r8d = eax 0x11a4 18 r11d = 0 0x11a7 19 edi = eax 0x11a9 20 r15d = 0 0x11ac 21 goto 26 @ 0x11bf 0x126c 22 edi = 0x30 {""} 0x1271 23 call(0x1050) 0x1279 24 if (r15 s> 0) then 30 @ 0x1227 else 34 @ 0x127b 0x1225 25 if (r15 s<= 0) then 34 @ 0x127b else 30 @ 0x1227 0x11bf 26 edx = sx.d([rsp + r11 + 0x30].b) 0x11c5 27 r10d = (rdx - 0x30).d 0x11c9 28 ebx = (rdx - 0x30).d 0x11d0 29 if (r10b u>= 0xa) then 36 else 38 @ 0x11d4 0x1227 30 rsi = sx.q([rsp + 8 {var_60}].d) 0x122c 31 ecx = 0 0x122e 32 edi = 0x30 {""} 0x123d 33 goto 41 @ 0x1240 0x127b 34 ecx = 0 0x127f 35 if (ecx s<= 0) then 50 @ 0x12a4 else 55 @ 0x1281 0x11d0 36 ebx = r9d 0x11d0 37 goto 38 @ 0x11d4 0x11d4 38 r9d = (rdx - 0x61).d 0x11d8 39 esi = (rdx - 0x57).d 0x11df 40 if (r9b u>= 0x1a) then 58 else 60 @ 0x11e2 0x1240 41 rax = r15 0x1243 42 rdx:rax = sx.o(rax) 0x1245 43 temp0.q = divs.dp.q(rdx:rax, rsi) 0x1245 44 temp1.q = mods.dp.q(rdx:rax, rsi) 0x1245 45 rax = temp0.q 0x1245 46 rdx = temp1.q 0x1248 47 cond:1 = rdx s< 0xa 0x124c 48 ebx = 0x37 {""} 0x1251 49 if (cond:1) then 65 else 67 @ 0x1254 0x12a4 50 rsp = rsp + 0x50 0x12a8 51 rbx = pop 0x12a9 52 r14 = pop 0x12ab 53 r15 = pop 0x12ad 54 <return> jump(pop) 0x1281 55 rbx = sx.q(ecx) 0x1284 56 rbx = rbx + 1 0x1288 57 goto 72 @ 0x1290 0x11df 58 esi = ebx 0x11df 59 goto 60 @ 0x11e2 0x11e2 60 ebx = (rdx - 0x41).d 0x11e5 61 edx = edx - 0x37 0x11e8 62 cond:0 = bl u>= 0x1a 0x11eb 63 r9d = edx 0x11ee 64 if (cond:0) then 76 else 78 @ 0x11f2 0x1251 65 ebx = edi 0x1251 66 goto 67 @ 0x1254 0x1254 67 bl = bl + dl 0x1256 68 [rsp + rcx + 0x10].b = bl 0x125a 69 rcx = rcx + 1 0x125e 70 r15 = rax 0x1264 71 if (rax s> 0) then 41 @ 0x1240 else 82 @ 0x1268 0x1290 72 edi = sx.d([rsp + rbx + 0xe].b) 0x1295 73 call(0x1050) 0x129a 74 rbx = rbx - 1 0x12a2 75 if (rbx s> 1) then 72 @ 0x1290 else 50 @ 0x12a4 0x11ee 76 r9d = esi 0x11ee 77 goto 78 @ 0x11f2 0x11f2 78 rdx = sx.q(r9d) 0x11f5 79 esi = eax 0x11f7 80 esi = esi - r11d 0x11fd 81 if (esi s< 2) then 83 @ 0x11b0 else 87 @ 0x11ff 0x1268 82 if (ecx s> 0) then 55 @ 0x1281 else 89 @ 0x126a 0x11b0 83 r15 = r15 + rdx 0x11b3 84 r11 = r11 + 1 0x11b7 85 edi = edi - 1 0x11bd 86 if (r11 == r8) then 15 @ 0x1220 else 26 @ 0x11bf 0x11ff 87 ebx = 1 0x120e 88 goto 90 @ 0x1210 0x126a 89 goto 50 @ 0x12a4 0x1210 90 rdx = rdx * rcx 0x1214 91 ebx = ebx + 1 0x1219 92 if (edi != ebx) then 90 @ 0x1210 else 93 @ 0x121b 0x121b 93 goto 83 @ 0x11b0 int64_t _fini(): 0x12b4 0 rsp = rsp - 8 0x12b8 1 rsp = rsp + 8 0x12bc 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 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 rdi = 0x2007 {"%d"} 0x1166 5 rsi = rbp - 8 {var_10} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1171 8 [rbp - 0x18 {var_20}].d = 1 0x1178 9 [rbp - 0x10 {var_18}].d = 0 0x117f 10 [rbp - 0x14 {var_1c}].d = 0 0x117f 11 goto 12 @ 0x1186 0x1186 12 eax = [rbp - 0x18 {var_20}].d 0x118c 13 if (eax s> [rbp - 8 {var_10}].d) then 14 @ 0x1209 else 27 @ 0x1192 0x1209 14 esi = [rbp - 0x10 {var_18}].d 0x120c 15 edx = [rbp - 0x14 {var_1c}].d 0x120f 16 rdi = 0x2004 {"%d\n%d"} 0x1216 17 al = 0 0x1218 18 call(0x1030) 0x121d 19 rdi = 0x2007 {"%d"} 0x1224 20 rsi = rbp - 8 {var_10} 0x1228 21 al = 0 0x122a 22 call(0x1040) 0x122f 23 eax = 0 0x1231 24 rsp = rsp + 0x20 0x1235 25 rbp = pop 0x1236 26 <return> jump(pop) 0x1192 27 rdi = 0x2007 {"%d"} 0x1199 28 rsi = rbp - 0xc {var_14} 0x119d 29 al = 0 0x119f 30 call(0x1040) 0x11a4 31 eax = [rbp - 0xc {var_14}].d 0x11aa 32 if (eax s< [rbp - 0x10 {var_18}].d) then 33 @ 0x11ca else 35 @ 0x11b0 0x11ca 33 eax = [rbp - 0xc {var_14}].d 0x11d0 34 if (eax s>= [rbp - 0x10 {var_18}].d) then 43 @ 0x11f6 else 47 @ 0x11d6 0x11b0 35 eax = [rbp - 0x10 {var_18}].d 0x11b3 36 [rbp - 0x14 {var_1c}].d = eax 0x11b6 37 eax = [rbp - 0xc {var_14}].d 0x11b9 38 [rbp - 0x10 {var_18}].d = eax 0x11bc 39 eax = [rbp - 0x18 {var_20}].d 0x11bf 40 eax = eax + 1 0x11c2 41 [rbp - 0x18 {var_20}].d = eax 0x11c5 42 goto 49 @ 0x1204 0x11f6 43 eax = [rbp - 0x18 {var_20}].d 0x11f9 44 eax = eax + 1 0x11fc 45 [rbp - 0x18 {var_20}].d = eax 0x11fc 46 goto 50 @ 0x11ff 0x11d6 47 eax = [rbp - 0xc {var_14}].d 0x11dc 48 if (eax s< [rbp - 0x14 {var_1c}].d) then 43 @ 0x11f6 else 51 @ 0x11e2 0x1204 49 goto 12 @ 0x1186 0x11ff 50 goto 49 @ 0x1204 0x11e2 51 eax = [rbp - 0xc {var_14}].d 0x11e5 52 [rbp - 0x14 {var_1c}].d = eax 0x11e8 53 eax = [rbp - 0x18 {var_20}].d 0x11eb 54 eax = eax + 1 0x11ee 55 [rbp - 0x18 {var_20}].d = eax 0x11f1 56 goto 50 @ 0x11ff int64_t _fini(): 0x123c 0 rsp = rsp - 8 0x1240 1 rsp = rsp + 8 0x1244 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) 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 - 0x9fa0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x9f84 {var_9f8c}].d = 0 0x116c 5 [rbp - 0x9f88 {var_9f90}].d = 0 0x1176 6 rdi = 0x2004 {"%d %d"} 0x117d 7 rsi = rbp - 8 {var_10} 0x1181 8 rdx = rbp - 0xc {var_14} 0x1185 9 al = 0 0x1187 10 call(0x1040) 0x118c 11 [rbp - 0x1c {var_24}].d = 0 0x118c 12 goto 13 @ 0x1193 0x1193 13 eax = [rbp - 0x1c {var_24}].d 0x1199 14 if (eax s>= [rbp - 8 {var_10}].d) then 15 @ 0x1201 else 17 @ 0x119f 0x1201 15 [rbp - 0x14 {var_1c}].d = 0 0x1201 16 goto 19 @ 0x1208 0x119f 17 [rbp - 0x18 {var_20_1}].d = 0 0x119f 18 goto 21 @ 0x11a6 0x1208 19 eax = [rbp - 0x14 {var_1c}].d 0x120e 20 if (eax s>= [rbp - 8 {var_10}].d) then 23 @ 0x13ed else 27 @ 0x1214 0x11a6 21 eax = [rbp - 0x18 {var_20_1}].d 0x11ac 22 if (eax s>= [rbp - 0xc {var_14}].d) then 29 @ 0x11ee else 30 @ 0x11b2 0x13ed 23 eax = 0 0x13ef 24 rsp = rsp + 0x9fa0 0x13f6 25 rbp = pop 0x13f7 26 <return> jump(pop) 0x1214 27 [rbp - 0x10 {var_18_1}].d = 0 0x1214 28 goto 44 @ 0x121b 0x11ee 29 goto 46 @ 0x11f3 0x11b2 30 rax = sx.q([rbp - 0x1c {var_24}].d) 0x11b6 31 rsi = rbp - 0x9c60 {var_9c68} 0x11bd 32 rax = rax * 0x190 0x11c4 33 rsi = rsi + rax 0x11c7 34 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x11cb 35 rax = rax << 2 0x11cf 36 rsi = rsi + rax 0x11d2 37 rdi = 0x2007 {"%d"} 0x11d9 38 al = 0 0x11db 39 call(0x1040) 0x11e0 40 eax = [rbp - 0x18 {var_20_1}].d 0x11e3 41 eax = eax + 1 0x11e6 42 [rbp - 0x18 {var_20_1}].d = eax 0x11e9 43 goto 21 @ 0x11a6 0x121b 44 eax = [rbp - 0x10 {var_18_1}].d 0x1221 45 if (eax s>= [rbp - 0xc {var_14}].d) then 50 @ 0x13da else 51 @ 0x1227 0x11f3 46 eax = [rbp - 0x1c {var_24}].d 0x11f6 47 eax = eax + 1 0x11f9 48 [rbp - 0x1c {var_24}].d = eax 0x11fc 49 goto 13 @ 0x1193 0x13da 50 goto 61 @ 0x13df 0x1227 51 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x122b 52 rax = rbp - 0x9c60 {var_9c68} 0x1232 53 rcx = rcx * 0x190 0x1239 54 rax = rax + rcx 0x123c 55 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1240 56 eax = [rax + (rcx << 2)].d 0x1243 57 [rbp - 0x9f8c {var_9f94_1}].d = eax 0x1249 58 eax = [rbp - 0x14 {var_1c}].d 0x124c 59 eax = eax - 1 0x1252 60 if (eax s<= 0) then 65 @ 0x1269 else 68 @ 0x1258 0x13df 61 eax = [rbp - 0x14 {var_1c}].d 0x13e2 62 eax = eax + 1 0x13e5 63 [rbp - 0x14 {var_1c}].d = eax 0x13e8 64 goto 19 @ 0x1208 0x1269 65 eax = 0 0x126b 66 [rbp - 0x9f90 {var_9f98_1}].d = eax 0x1271 67 goto 72 @ 0x1276 0x1258 68 eax = [rbp - 0x14 {var_1c}].d 0x125b 69 eax = eax - 1 0x125e 70 [rbp - 0x9f90 {var_9f98_1}].d = eax 0x1264 71 goto 72 @ 0x1276 0x1276 72 eax = [rbp - 0x9f8c {var_9f94_1}].d 0x127c 73 ecx = [rbp - 0x9f90 {var_9f98_1}].d 0x1282 74 rdx = sx.q(ecx) 0x1285 75 rcx = rbp - 0x9c60 {var_9c68} 0x128c 76 rdx = rdx * 0x190 0x1293 77 rcx = rcx + rdx 0x1296 78 rdx = sx.q([rbp - 0x10 {var_18_1}].d) 0x129d 79 if (eax s< [rcx + (rdx << 2)].d) then 80 @ 0x13c7 else 81 @ 0x12a3 0x13c7 80 goto 95 @ 0x13cc 0x12a3 81 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x12a7 82 rax = rbp - 0x9c60 {var_9c68} 0x12ae 83 rcx = rcx * 0x190 0x12b5 84 rax = rax + rcx 0x12b8 85 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x12bc 86 eax = [rax + (rcx << 2)].d 0x12bf 87 ecx = [rbp - 0x14 {var_1c}].d 0x12c2 88 ecx = ecx + 1 0x12c5 89 rdx = sx.q(ecx) 0x12c8 90 rcx = rbp - 0x9c60 {var_9c68} 0x12cf 91 rdx = rdx * 0x190 0x12d6 92 rcx = rcx + rdx 0x12d9 93 rdx = sx.q([rbp - 0x10 {var_18_1}].d) 0x12e0 94 if (eax s< [rcx + (rdx << 2)].d) then 80 @ 0x13c7 else 99 @ 0x12e6 0x13cc 95 eax = [rbp - 0x10 {var_18_1}].d 0x13cf 96 eax = eax + 1 0x13d2 97 [rbp - 0x10 {var_18_1}].d = eax 0x13d5 98 goto 44 @ 0x121b 0x12e6 99 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x12ea 100 rax = rbp - 0x9c60 {var_9c68} 0x12f1 101 rcx = rcx * 0x190 0x12f8 102 rax = rax + rcx 0x12fb 103 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x12ff 104 eax = [rax + (rcx << 2)].d 0x1302 105 [rbp - 0x9f9c {var_9fa4_1}].d = eax 0x1308 106 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x130c 107 rax = rbp - 0x9c60 {var_9c68} 0x1313 108 rcx = rcx * 0x190 0x131a 109 rax = rax + rcx 0x131d 110 [rbp - 0x9f98 {var_9fa0_1}].q = rax 0x1324 111 eax = [rbp - 0x10 {var_18_1}].d 0x1327 112 eax = eax - 1 0x132d 113 if (eax s<= 0) then 114 @ 0x1344 else 117 @ 0x1333 0x1344 114 eax = 0 0x1346 115 [rbp - 0x9fa0 {var_9fa8_1}].d = eax 0x134c 116 goto 121 @ 0x1351 0x1333 117 eax = [rbp - 0x10 {var_18_1}].d 0x1336 118 eax = eax - 1 0x1339 119 [rbp - 0x9fa0 {var_9fa8_1}].d = eax 0x133f 120 goto 121 @ 0x1351 0x1351 121 eax = [rbp - 0x9f9c {var_9fa4_1}].d 0x1357 122 rcx = [rbp - 0x9f98 {var_9fa0_1}].q 0x135e 123 edx = [rbp - 0x9fa0 {var_9fa8_1}].d 0x1364 124 rdx = sx.q(edx) 0x136a 125 if (eax s< [rcx + (rdx << 2)].d) then 80 @ 0x13c7 else 126 @ 0x1370 0x1370 126 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x1374 127 rax = rbp - 0x9c60 {var_9c68} 0x137b 128 rcx = rcx * 0x190 0x1382 129 rax = rax + rcx 0x1385 130 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1389 131 eax = [rax + (rcx << 2)].d 0x138c 132 rdx = sx.q([rbp - 0x14 {var_1c}].d) 0x1390 133 rcx = rbp - 0x9c60 {var_9c68} 0x1397 134 rdx = rdx * 0x190 0x139e 135 rcx = rcx + rdx 0x13a1 136 edx = [rbp - 0x10 {var_18_1}].d 0x13a4 137 edx = edx + 1 0x13a7 138 rdx = sx.q(edx) 0x13ad 139 if (eax s< [rcx + (rdx << 2)].d) then 80 @ 0x13c7 else 140 @ 0x13b3 0x13b3 140 esi = [rbp - 0x14 {var_1c}].d 0x13b6 141 edx = [rbp - 0x10 {var_18_1}].d 0x13b9 142 rdi = 0x200a {"%d %d\n"} 0x13c0 143 al = 0 0x13c2 144 call(0x1030) 0x13c2 145 goto 80 @ 0x13c7 int64_t _fini(): 0x13fc 0 rsp = rsp - 8 0x1400 1 rsp = rsp + 8 0x1404 2 <return> jump(pop)
POJ_72
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 - 0x1b0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 xmm0 = 0 0x1165 5 [rbp - 0x1c {var_24}].d = xmm0.d 0x116a 6 rdi = 0x2004 {"%d"} 0x1171 7 rsi = rbp - 8 {var_10} 0x1175 8 al = 0 0x1177 9 call(0x1040) 0x117c 10 [rbp - 0xc {var_14}].d = 0 0x117c 11 goto 12 @ 0x1183 0x1183 12 eax = [rbp - 0xc {var_14}].d 0x1189 13 if (eax s>= [rbp - 8 {var_10}].d) then 14 @ 0x11d4 else 20 @ 0x118f 0x11d4 14 xmm0 = [rbp - 0x1c {var_24}].d 0x11d9 15 xmm1.d = float.s([rbp - 8 {var_10}].d) 0x11de 16 xmm0.d = xmm0.d f/ xmm1.d 0x11e2 17 [rbp - 0x14 {var_1c}].d = xmm0.d 0x11e7 18 [rbp - 0xc {var_14_1}].d = 0 0x11e7 19 goto 35 @ 0x11ee 0x118f 20 rax = sx.q([rbp - 0xc {var_14}].d) 0x1193 21 rsi = rbp - 0x1b0 {var_1b8} 0x119a 22 rax = rax << 2 0x119e 23 rsi = rsi + rax 0x11a1 24 rdi = 0x2007 {"%f"} 0x11a8 25 al = 0 0x11aa 26 call(0x1040) 0x11af 27 rax = sx.q([rbp - 0xc {var_14}].d) 0x11b3 28 xmm0 = [rbp + (rax << 2) - 0x1b0].d 0x11bc 29 xmm0.d = xmm0.d f+ fconvert.t([rbp - 0x1c {var_24}].d) 0x11c1 30 [rbp - 0x1c {var_24}].d = xmm0.d 0x11c6 31 eax = [rbp - 0xc {var_14}].d 0x11c9 32 eax = eax + 1 0x11cc 33 [rbp - 0xc {var_14}].d = eax 0x11cf 34 goto 12 @ 0x1183 0x11ee 35 eax = [rbp - 0xc {var_14_1}].d 0x11f4 36 if (eax s>= [rbp - 8 {var_10}].d) then 37 @ 0x12a1 else 51 @ 0x11fa 0x12a1 37 xmm1 = [rbp - 0x14 {var_1c}].d 0x12a6 38 xmm1.d = xmm1.d f- fconvert.t([rbp - 0x1b0 {var_1b8}].d) 0x12ae 39 eax = [rbp - 8 {var_10}].d 0x12b1 40 eax = eax - 1 0x12b4 41 rax = sx.q(eax) 0x12b6 42 xmm0 = [rbp + (rax << 2) - 0x1b0].d 0x12bf 43 xmm0.d = xmm0.d f- fconvert.t([rbp - 0x14 {var_1c}].d) 0x12c4 44 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x12c4 45 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x12c4 46 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x12c4 47 flag:s = 0 0x12c4 48 flag:o = 0 0x12c4 49 flag:a = 0 0x12c7 50 if (flag:z || flag:c) then 53 @ 0x12f1 else 67 @ 0x12cd 0x11fa 51 [rbp - 0x10 {var_18_1}].d = 0 0x11fa 52 goto 75 @ 0x1201 0x12f1 53 xmm0 = [rbp - 0x14 {var_1c}].d 0x12f6 54 xmm0.d = xmm0.d f- fconvert.t([rbp - 0x1b0 {var_1b8}].d) 0x12fe 55 eax = [rbp - 8 {var_10}].d 0x1301 56 eax = eax - 1 0x1304 57 rax = sx.q(eax) 0x1306 58 xmm1 = [rbp + (rax << 2) - 0x1b0].d 0x130f 59 xmm1.d = xmm1.d f- fconvert.t([rbp - 0x14 {var_1c}].d) 0x1314 60 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x1314 61 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x1314 62 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x1314 63 flag:s = 0 0x1314 64 flag:o = 0 0x1314 65 flag:a = 0 0x1317 66 if (flag:z || flag:c) then 79 @ 0x1338 else 88 @ 0x131d 0x12cd 67 eax = [rbp - 8 {var_10}].d 0x12d0 68 eax = eax - 1 0x12d3 69 rax = sx.q(eax) 0x12d5 70 esi = int.d(ftrunc(fconvert.t([rbp + (rax << 2) - 0x1b0].d))) 0x12de 71 rdi = 0x200d {"%d\n"} 0x12e5 72 al = 0 0x12e7 73 call(0x1030) 0x12ec 74 goto 93 @ 0x1364 0x1201 75 eax = [rbp - 0x10 {var_18_1}].d 0x1204 76 ecx = [rbp - 8 {var_10}].d 0x1207 77 ecx = ecx - 1 0x120c 78 if (eax s>= ecx) then 97 @ 0x128e else 98 @ 0x1212 0x1338 79 esi = int.d(ftrunc(fconvert.t([rbp - 0x1b0 {var_1b8}].d))) 0x1340 80 eax = [rbp - 8 {var_10}].d 0x1343 81 eax = eax - 1 0x1346 82 rax = sx.q(eax) 0x1348 83 edx = int.d(ftrunc(fconvert.t([rbp + (rax << 2) - 0x1b0].d))) 0x1351 84 rdi = 0x200a {"%d,%d\n"} 0x1358 85 al = 0 0x135a 86 call(0x1030) 0x135a 87 goto 110 @ 0x135f 0x131d 88 esi = int.d(ftrunc(fconvert.t([rbp - 0x1b0 {var_1b8}].d))) 0x1325 89 rdi = 0x200d {"%d\n"} 0x132c 90 al = 0 0x132e 91 call(0x1030) 0x1333 92 goto 110 @ 0x135f 0x1364 93 eax = [rbp - 4 {var_c}].d 0x1367 94 rsp = rsp + 0x1b0 0x136e 95 rbp = pop 0x136f 96 <return> jump(pop) 0x128e 97 goto 111 @ 0x1293 0x1212 98 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x1216 99 xmm0 = [rbp + (rax << 2) - 0x1b0].d 0x121f 100 eax = [rbp - 0x10 {var_18_1}].d 0x1222 101 eax = eax + 1 0x1225 102 rax = sx.q(eax) 0x1227 103 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x1b0].d)) 0x1227 104 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0x1b0].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x1b0].d)) 0x1227 105 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0x1b0].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x1b0].d)) 0x1227 106 flag:s = 0 0x1227 107 flag:o = 0 0x1227 108 flag:a = 0 0x122f 109 if (flag:z || flag:c) then 115 @ 0x127b else 116 @ 0x1235 0x135f 110 goto 93 @ 0x1364 0x1293 111 eax = [rbp - 0xc {var_14_1}].d 0x1296 112 eax = eax + 1 0x1299 113 [rbp - 0xc {var_14_1}].d = eax 0x129c 114 goto 35 @ 0x11ee 0x127b 115 goto 131 @ 0x1280 0x1235 116 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x1239 117 xmm0 = [rbp + (rax << 2) - 0x1b0].d 0x1242 118 [rbp - 0x18 {var_20_1}].d = xmm0.d 0x1247 119 eax = [rbp - 0x10 {var_18_1}].d 0x124a 120 eax = eax + 1 0x124d 121 rax = sx.q(eax) 0x124f 122 xmm0 = [rbp + (rax << 2) - 0x1b0].d 0x1258 123 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x125c 124 [rbp + (rax << 2) - 0x1b0].d = xmm0.d 0x1265 125 xmm0 = [rbp - 0x18 {var_20_1}].d 0x126a 126 eax = [rbp - 0x10 {var_18_1}].d 0x126d 127 eax = eax + 1 0x1270 128 rax = sx.q(eax) 0x1272 129 [rbp + (rax << 2) - 0x1b0].d = xmm0.d 0x1272 130 goto 115 @ 0x127b 0x1280 131 eax = [rbp - 0x10 {var_18_1}].d 0x1283 132 eax = eax + 1 0x1286 133 [rbp - 0x10 {var_18_1}].d = eax 0x1289 134 goto 75 @ 0x1201 int64_t _fini(): 0x1374 0 rsp = rsp - 8 0x1378 1 rsp = rsp + 8 0x137c 2 <return> jump(pop)
POJ_21
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) 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 - 0xe0 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = rbp - 0x70 {var_78} 0x1176 5 esi = 0 0x1178 6 edx = 0x64 {""} 0x117d 7 call(0x1040) 0x1182 8 rdi = rbp - 0xe0 {var_e8} 0x1189 9 esi = 0 0x118b 10 edx = 0x64 {""} 0x1190 11 call(0x1040) 0x1195 12 rdi = rbp - 0x70 {var_78} 0x1199 13 al = 0 0x119b 14 call(0x1050) 0x11a0 15 rdi = rbp - 0xe0 {var_e8} 0x11a7 16 al = 0 0x11a9 17 call(0x1050) 0x11ae 18 [rbp - 0xc {var_14}].d = 0 0x11ae 19 goto 20 @ 0x11b9 0x11b9 20 if ([rbp - 0xc {var_14}].d s> 0x63) then 21 @ 0x133b else 22 @ 0x11bf 0x133b 21 if ([rbp - 8 {var_10}].d s>= 0) then 25 @ 0x1353 else 26 @ 0x1341 0x11bf 22 rax = sx.q([rbp - 0xc {var_14}].d) 0x11c3 23 eax = sx.d([rbp + rax - 0x70].b) 0x11cb 24 if (eax s< 0x41) then 30 @ 0x11e3 else 33 @ 0x11d1 0x1353 25 if ([rbp - 8 {var_10}].d s<= 0) then 36 @ 0x136b else 37 @ 0x1359 0x1341 26 rdi = 0x2004 {"<"} 0x1348 27 al = 0 0x134a 28 call(0x1030) 0x134a 29 goto 25 @ 0x1353 0x11e3 30 rax = sx.q([rbp - 0xc {var_14}].d) 0x11e7 31 eax = sx.d([rbp + rax - 0x70].b) 0x11ef 32 if (eax s< 0x61) then 41 @ 0x125b else 48 @ 0x11f5 0x11d1 33 rax = sx.q([rbp - 0xc {var_14}].d) 0x11d5 34 eax = sx.d([rbp + rax - 0x70].b) 0x11dd 35 if (eax s<= 0x5a) then 51 @ 0x1207 else 30 @ 0x11e3 0x136b 36 if ([rbp - 8 {var_10}].d != 0) then 54 @ 0x137f else 58 @ 0x1371 0x1359 37 rdi = 0x2006 {">"} 0x1360 38 al = 0 0x1362 39 call(0x1030) 0x1362 40 goto 36 @ 0x136b 0x125b 41 rax = sx.q([rbp - 0xc {var_14}].d) 0x125f 42 eax = sx.d([rbp + rax - 0x70].b) 0x1264 43 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1268 44 ecx = sx.d([rbp + rcx - 0xe0].b) 0x1270 45 eax = eax - ecx 0x1272 46 [rbp - 8 {var_10_1}].d = eax 0x1272 47 goto 62 @ 0x1275 0x11f5 48 rax = sx.q([rbp - 0xc {var_14}].d) 0x11f9 49 eax = sx.d([rbp + rax - 0x70].b) 0x1201 50 if (eax s> 0x7a) then 41 @ 0x125b else 51 @ 0x1207 0x1207 51 rax = sx.q([rbp - 0xc {var_14}].d) 0x120b 52 eax = sx.d([rbp + rax - 0xe0].b) 0x1216 53 if (eax s< 0x41) then 65 @ 0x1231 else 68 @ 0x121c 0x137f 54 eax = 0 0x1381 55 rsp = rsp + 0xe0 0x1388 56 rbp = pop 0x1389 57 <return> jump(pop) 0x1371 58 rdi = 0x2008 {"="} 0x1378 59 al = 0 0x137a 60 call(0x1030) 0x137a 61 goto 54 @ 0x137f 0x1275 62 rax = sx.q([rbp - 0xc {var_14}].d) 0x1279 63 eax = sx.d([rbp + rax - 0x70].b) 0x1281 64 if (eax s< 0x61) then 71 @ 0x12b2 else 74 @ 0x1287 0x1231 65 rax = sx.q([rbp - 0xc {var_14}].d) 0x1235 66 eax = sx.d([rbp + rax - 0xe0].b) 0x1240 67 if (eax s< 0x61) then 41 @ 0x125b else 77 @ 0x1246 0x121c 68 rax = sx.q([rbp - 0xc {var_14}].d) 0x1220 69 eax = sx.d([rbp + rax - 0xe0].b) 0x122b 70 if (eax s<= 0x5a) then 62 @ 0x1275 else 65 @ 0x1231 0x12b2 71 rax = sx.q([rbp - 0xc {var_14}].d) 0x12b6 72 eax = sx.d([rbp + rax - 0xe0].b) 0x12c1 73 if (eax s< 0x61) then 80 @ 0x12fb else 87 @ 0x12c7 0x1287 74 rax = sx.q([rbp - 0xc {var_14}].d) 0x128b 75 eax = sx.d([rbp + rax - 0x70].b) 0x1293 76 if (eax s> 0x7a) then 71 @ 0x12b2 else 90 @ 0x1299 0x1246 77 rax = sx.q([rbp - 0xc {var_14}].d) 0x124a 78 eax = sx.d([rbp + rax - 0xe0].b) 0x1255 79 if (eax s<= 0x7a) then 62 @ 0x1275 else 41 @ 0x125b 0x12fb 80 rax = sx.q([rbp - 0xc {var_14}].d) 0x12ff 81 eax = sx.d([rbp + rax - 0x70].b) 0x1304 82 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1308 83 ecx = sx.d([rbp + rcx - 0xe0].b) 0x1310 84 eax = eax - ecx 0x1312 85 [rbp - 8 {var_10}].d = eax 0x1319 86 if ([rbp - 8 {var_10}].d == 0) then 98 @ 0x1324 else 99 @ 0x131f 0x12c7 87 rax = sx.q([rbp - 0xc {var_14}].d) 0x12cb 88 eax = sx.d([rbp + rax - 0xe0].b) 0x12d6 89 if (eax s> 0x7a) then 80 @ 0x12fb else 100 @ 0x12dc 0x1299 90 rax = sx.q([rbp - 0xc {var_14}].d) 0x129d 91 eax = sx.d([rbp + rax - 0x70].b) 0x12a2 92 eax = eax - 0x61 0x12a5 93 eax = eax + 0x41 0x12a8 94 cl = al 0x12aa 95 rax = sx.q([rbp - 0xc {var_14}].d) 0x12ae 96 [rbp + rax - 0x70].b = cl 0x12ae 97 goto 71 @ 0x12b2 0x1324 98 goto 108 @ 0x1329 0x131f 99 goto 21 @ 0x133b 0x12dc 100 rax = sx.q([rbp - 0xc {var_14}].d) 0x12e0 101 eax = sx.d([rbp + rax - 0xe0].b) 0x12e8 102 eax = eax - 0x61 0x12eb 103 eax = eax + 0x41 0x12ee 104 cl = al 0x12f0 105 rax = sx.q([rbp - 0xc {var_14}].d) 0x12f4 106 [rbp + rax - 0xe0].b = cl 0x12f4 107 goto 80 @ 0x12fb 0x1329 108 eax = [rbp - 0xc {var_14}].d 0x132c 109 eax = eax + 1 0x132f 110 [rbp - 0xc {var_14}].d = eax 0x1332 111 goto 20 @ 0x11b9 int64_t _fini(): 0x1390 0 rsp = rsp - 8 0x1394 1 rsp = rsp + 8 0x1398 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) 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 {"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 - 0x410 0x116f 6 rdi = 0x2004 {"%lf"} 0x1176 7 r12d = 0 0x1179 8 rsi = rsp + 8 {var_430} 0x117e 9 eax = 0 0x1180 10 call(0x1050) 0x1185 11 rbp = 0x2008 {"%s"} 0x118c 12 r14 = rsp + 0x210 {var_228} 0x1194 13 rdi = rbp 0x1197 14 rsi = r14 {var_228} 0x119a 15 eax = 0 0x119c 16 call(0x1050) 0x11a1 17 r15 = rsp + 0x10 {var_428} 0x11a6 18 rdi = rbp 0x11a9 19 rsi = r15 {var_428} 0x11ac 20 eax = 0 0x11ae 21 call(0x1050) 0x11b3 22 rdi = r14 {var_228} 0x11b6 23 call(0x1040) 0x11bb 24 rbp = rax 0x11be 25 rdi = r15 {var_428} 0x11c1 26 call(0x1040) 0x11c6 27 rdi = 0x200b {"error"} 0x11cf 28 if (ebp != eax) then 29 @ 0x1268 else 39 @ 0x11d7 0x1268 29 eax = 0 0x126a 30 call(0x1030) 0x126f 31 eax = 0 0x1271 32 rsp = rsp + 0x410 0x1278 33 rbx = pop 0x1279 34 r12 = pop 0x127b 35 r14 = pop 0x127d 36 r15 = pop 0x127f 37 rbp = pop 0x1280 38 <return> jump(pop) 0x11d7 39 if (eax s<= 0) then 40 @ 0x1241 else 41 @ 0x11d9 0x1241 40 if (r12d == -1) then 29 @ 0x1268 else 46 @ 0x1243 0x11d9 41 r8d = eax 0x11dc 42 edx = 0 0x11de 43 r9d = 0x80045 {""} 0x11e4 44 ebp = 0 0x11e6 45 goto 58 @ 0x11f0 0x1243 46 xmm0.q = float.d(r12d) 0x1248 47 xmm1.q = float.d(eax) 0x124c 48 xmm0.q = xmm0.q f/ xmm1.q 0x1250 49 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_430}].q)) 0x1250 50 flag:c = xmm0.q f< fconvert.t([rsp + 8 {var_430}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_430}].q)) 0x1250 51 flag:z = xmm0.q f== fconvert.t([rsp + 8 {var_430}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_430}].q)) 0x1250 52 flag:s = 0 0x1250 53 flag:o = 0 0x1250 54 flag:a = 0 0x1256 55 rax = 0x2011 {"yes"} 0x125d 56 rdi = 0x2015 {"no"} 0x1264 57 if (not(flag:z) && not(flag:c)) then 62 else 64 0x11f0 58 ecx = zx.d([rsp + rdx + 0x210].b) 0x11f8 59 r12d = 0xffffffff {""} 0x11fe 60 esi = (rcx - 0x41).d 0x1205 61 if (sil u> 0x13) then 40 @ 0x1241 else 65 @ 0x1207 0x1264 62 rdi = rax 0x1264 63 goto 64 0x1264 64 goto 29 @ 0x1268 0x1207 65 esi = zx.d(sil) 0x120b 66 flag:c = test_bit(r9, rsi) 0x120f 67 if (not(flag:c)) then 40 @ 0x1241 else 68 @ 0x1211 0x1211 68 esi = zx.d([rsp + rdx + 0x10].b) 0x1216 69 ebx = (rsi - 0x41).d 0x121c 70 if (bl u> 0x13) then 40 @ 0x1241 else 71 @ 0x121e 0x121e 71 ebx = zx.d(bl) 0x1221 72 flag:c = test_bit(r9, rbx) 0x1225 73 if (not(flag:c)) then 40 @ 0x1241 else 74 @ 0x1227 0x1227 74 ebx = 0 0x122c 75 bl = cl == sil 0x122f 76 ebp = ebp + ebx 0x1231 77 rdx = rdx + 1 0x1235 78 r12d = ebp 0x123b 79 if (r8 != rdx) then 58 @ 0x11f0 else 40 @ 0x1241 int64_t _fini(): 0x1288 0 rsp = rsp - 8 0x128c 1 rsp = rsp + 8 0x1290 2 <return> jump(pop)
POJ_5
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 {"UHHp"} 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 - 0x670 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 8 {var_10}].d = 0 0x1169 5 [rbp - 0x664 {var_66c}].d = 1 0x1173 6 [rbp - 0x4d0 {var_4d8}].d = -1 0x117d 7 rdi = 0x2007 {"%d"} 0x1184 8 rsi = rbp - 0x334 {var_33c} 0x118b 9 al = 0 0x118d 10 call(0x1040) 0x1192 11 [rbp - 8 {var_10_1}].d = 0 0x1192 12 goto 13 @ 0x1199 0x1199 13 eax = [rbp - 8 {var_10_1}].d 0x11a2 14 if (eax s>= [rbp - 0x334 {var_33c}].d) then 15 @ 0x11e8 else 17 @ 0x11a8 0x11e8 15 [rbp - 8 {var_10_2}].d = 0 0x11e8 16 goto 32 @ 0x11ef 0x11a8 17 rax = sx.q([rbp - 8 {var_10_1}].d) 0x11ac 18 rsi = rbp - 0x1a0 {var_1a8} 0x11b3 19 rax = rax << 2 0x11b7 20 rsi = rsi + rax 0x11ba 21 rax = sx.q([rbp - 8 {var_10_1}].d) 0x11be 22 rdx = rbp - 0x330 {var_338} 0x11c5 23 rax = rax << 2 0x11c9 24 rdx = rdx + rax 0x11cc 25 rdi = 0x2004 {"%d %d"} 0x11d3 26 al = 0 0x11d5 27 call(0x1040) 0x11da 28 eax = [rbp - 8 {var_10_1}].d 0x11dd 29 eax = eax + 1 0x11e0 30 [rbp - 8 {var_10_1}].d = eax 0x11e3 31 goto 13 @ 0x1199 0x11ef 32 eax = [rbp - 8 {var_10_2}].d 0x11f8 33 if (eax s>= [rbp - 0x334 {var_33c}].d) then 34 @ 0x1283 else 35 @ 0x11fe 0x1283 34 if ([rbp - 0x334 {var_33c}].d != 1) then 37 @ 0x12bc else 41 @ 0x1290 0x11fe 35 rax = sx.q([rbp - 8 {var_10_2}].d) 0x120a 36 if ([rbp + (rax << 2) - 0x1a0].d s< 0x5a) then 42 @ 0x1249 else 49 @ 0x1210 0x12bc 37 ecx = [rbp - 0x334 {var_33c}].d 0x12c2 38 rax = sx.q([rbp - 0x664 {var_66c}].d) 0x12c9 39 [rbp + (rax << 2) - 0x4d0].d = ecx 0x12d7 40 if ([rbp - 0x664 {var_66c}].d s<= 1) then 51 @ 0x13ab else 56 @ 0x12dd 0x1290 41 if ([rbp - 0x664 {var_66c}].d != 2) then 60 @ 0x12a9 else 64 @ 0x1296 0x1249 42 ecx = [rbp - 8 {var_10_2}].d 0x124c 43 rax = sx.q([rbp - 0x664 {var_66c}].d) 0x1253 44 [rbp + (rax << 2) - 0x4d0].d = ecx 0x125a 45 eax = [rbp - 0x664 {var_66c}].d 0x1260 46 eax = eax + 1 0x1263 47 [rbp - 0x664 {var_66c}].d = eax 0x1263 48 goto 68 @ 0x1269 0x1210 49 rax = sx.q([rbp - 8 {var_10_2}].d) 0x121f 50 if ([rbp + (rax << 2) - 0x1a0].d s> 0x8c) then 42 @ 0x1249 else 69 @ 0x1225 0x13ab 51 esi = [rbp - 0x334 {var_33c}].d 0x13b1 52 rdi = 0x2007 {"%d"} 0x13b8 53 al = 0 0x13ba 54 call(0x1030) 0x13ba 55 goto 71 @ 0x13bf 0x12dd 56 eax = [rbp - 0x664 {var_66c}].d 0x12e3 57 [rbp - 0x668 {var_670_1}].d = eax 0x12e9 58 [rbp - 8 {var_10_3}].d = 0 0x12e9 59 goto 72 @ 0x12f0 0x12a9 60 rdi = 0x200c {"1"} 0x12b0 61 al = 0 0x12b2 62 call(0x1030) 0x12b2 63 goto 74 @ 0x12b7 0x1296 64 rdi = 0x200a {"0"} 0x129d 65 al = 0 0x129f 66 call(0x1030) 0x12a4 67 goto 74 @ 0x12b7 0x1269 68 goto 75 @ 0x126e 0x1225 69 rax = sx.q([rbp - 8 {var_10_2}].d) 0x1231 70 if ([rbp + (rax << 2) - 0x330].d s< 0x3c) then 42 @ 0x1249 else 79 @ 0x1237 0x13bf 71 goto 81 @ 0x13c4 0x12f0 72 eax = [rbp - 8 {var_10_3}].d 0x12f9 73 if (eax s>= [rbp - 0x668 {var_670_1}].d) then 85 @ 0x1332 else 89 @ 0x12ff 0x12b7 74 goto 81 @ 0x13c4 0x126e 75 eax = [rbp - 8 {var_10_2}].d 0x1271 76 eax = eax + 1 0x1274 77 [rbp - 8 {var_10_2}].d = eax 0x1277 78 goto 32 @ 0x11ef 0x1237 79 rax = sx.q([rbp - 8 {var_10_2}].d) 0x1243 80 if ([rbp + (rax << 2) - 0x330].d s<= 0x5a) then 68 @ 0x1269 else 42 @ 0x1249 0x13c4 81 eax = 0 0x13c6 82 rsp = rsp + 0x670 0x13cd 83 rbp = pop 0x13ce 84 <return> jump(pop) 0x1332 85 eax = [rbp - 0x660 {var_668}].d 0x1338 86 [rbp - 0x66c {var_674_1}].d = eax 0x133e 87 [rbp - 8 {var_10_4}].d = 0 0x133e 88 goto 101 @ 0x1345 0x12ff 89 eax = [rbp - 8 {var_10_3}].d 0x1302 90 eax = eax + 1 0x1305 91 rax = sx.q(eax) 0x1307 92 ecx = [rbp + (rax << 2) - 0x4d0].d 0x130e 93 rax = sx.q([rbp - 8 {var_10_3}].d) 0x1312 94 ecx = ecx - [rbp + (rax << 2) - 0x4d0].d 0x1319 95 rax = sx.q([rbp - 8 {var_10_3}].d) 0x131d 96 [rbp + (rax << 2) - 0x660].d = ecx 0x1324 97 eax = [rbp - 8 {var_10_3}].d 0x1327 98 eax = eax + 1 0x132a 99 [rbp - 8 {var_10_3}].d = eax 0x132d 100 goto 72 @ 0x12f0 0x1345 101 eax = [rbp - 8 {var_10_4}].d 0x134e 102 if (eax s>= [rbp - 0x668 {var_670_1}].d) then 103 @ 0x138f else 109 @ 0x1354 0x138f 103 esi = [rbp - 0x66c {var_674_1}].d 0x1395 104 esi = esi - 1 0x1398 105 rdi = 0x2007 {"%d"} 0x139f 106 al = 0 0x13a1 107 call(0x1030) 0x13a6 108 goto 71 @ 0x13bf 0x1354 109 eax = [rbp - 0x66c {var_674_1}].d 0x135a 110 rcx = sx.q([rbp - 8 {var_10_4}].d) 0x1365 111 if (eax s>= [rbp + (rcx << 2) - 0x660].d) then 112 @ 0x137c else 113 @ 0x136b 0x137c 112 goto 117 @ 0x1381 0x136b 113 rax = sx.q([rbp - 8 {var_10_4}].d) 0x136f 114 eax = [rbp + (rax << 2) - 0x660].d 0x1376 115 [rbp - 0x66c {var_674_1}].d = eax 0x1376 116 goto 112 @ 0x137c 0x1381 117 eax = [rbp - 8 {var_10_4}].d 0x1384 118 eax = eax + 1 0x1387 119 [rbp - 8 {var_10_4}].d = eax 0x138a 120 goto 101 @ 0x1345 int64_t _fini(): 0x13d4 0 rsp = rsp - 8 0x13d8 1 rsp = rsp + 8 0x13dc 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 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) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 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 {"UAWAVATSHp"} 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(r12) 0x1177 4 push(rbx) 0x1178 5 rsp = rsp - 0xc670 0x117f 6 rdi = rsp {var_c698} 0x1182 7 r15d = 0 0x1185 8 edx = 0x320 {"d-linux-x86-64.so.2"} 0x118a 9 esi = 0 0x118c 10 call(0x1030) 0x1191 11 r14 = rsp + 0x320 {var_c378} 0x1199 12 rdi = r14 {var_c378} 0x119c 13 eax = 0 0x119e 14 call(0x1050) 0x11a3 15 rdi = r14 {var_c378} 0x11a6 16 call(0x1040) 0x11ab 17 r14 = rax 0x11b1 18 if (r14d s<= 0) then 19 @ 0x1224 else 20 @ 0x11b3 0x1224 19 if (r15d s< 0) then 23 @ 0x1283 else 24 @ 0x1226 0x11b3 20 r15d = 0 0x11b6 21 eax = 0 0x11b8 22 goto 27 @ 0x11d7 0x1283 23 if (r14d s<= 0) then 30 @ 0x12b1 else 33 @ 0x1285 0x1226 24 r15d = r15d + 1 0x122a 25 eax = 0 0x122c 26 goto 36 @ 0x1240 0x11d7 27 rcx = sx.q(eax) 0x11da 28 edx = zx.d([rsp + rcx + 0x320].b) 0x11e5 29 if (dl == 0x20) then 39 @ 0x11c0 else 42 @ 0x11ea 0x12b1 30 edi = 0xa {""} 0x12b6 31 call(0x1060) 0x12be 32 if (r14d s<= 0) then 43 @ 0x12f2 else 51 @ 0x12c0 0x1285 33 r15d = r14d 0x1288 34 ebp = 0 0x128a 35 goto 54 @ 0x12a0 0x1240 36 ebx = 0 0x1245 37 r12d = 0 0x124e 38 if (rax == 0) then 55 @ 0x1232 else 59 @ 0x1250 0x11c0 39 r15d = r15d + 1 0x11c4 40 [rsp + (rcx << 2) + 0x2a30].d = -1 0x11c4 41 goto 62 @ 0x11cf 0x11ea 42 if (dl != 0x2c) then 64 @ 0x1210 else 68 @ 0x11ec 0x12f2 43 eax = 0 0x12f4 44 rsp = rsp + 0xc670 0x12fb 45 rbx = pop 0x12fc 46 r12 = pop 0x12fe 47 r14 = pop 0x1300 48 r15 = pop 0x1302 49 rbp = pop 0x1303 50 <return> jump(pop) 0x12c0 51 ebx = r14d 0x12c3 52 ebp = 0 0x12c5 53 goto 73 @ 0x12e1 0x12a0 54 if ([rsp + (rbp << 2) + 0x2a30].d != ebx) then 74 @ 0x1290 else 76 @ 0x12a2 0x1232 55 rax = rax + 1 0x1236 56 ecx = r12d 0x1239 57 edx = ebx 0x123e 58 if (r15 == rax) then 23 @ 0x1283 else 36 @ 0x1240 0x1250 59 esi = [rsp + (rax << 2)].d 0x1253 60 rdi = sx.q(edx) 0x1259 61 if (esi s<= [rsp + (rdi << 2)].d) then 79 @ 0x1270 else 82 @ 0x125b 0x11cf 62 eax = eax + 1 0x11d5 63 if (eax s>= r14d) then 19 @ 0x1224 else 27 @ 0x11d7 0x1210 64 [rsp + (rcx << 2) + 0x2a30].d = r15d 0x1218 65 rcx = sx.q(r15d) 0x121b 66 [rsp + (rcx << 2)].d = [rsp + (rcx << 2)].d + 1 0x121f 67 goto 62 @ 0x11cf 0x11ec 68 [rsp + (rcx << 2) + 0x2a30].d = -1 0x11f7 69 r15d = r15d + 1 0x11fb 70 eax = (rcx + 1).d 0x11fe 71 [rsp + (rcx << 2) + 0x2a34].d = -1 0x1209 72 goto 62 @ 0x11cf 0x12e1 73 if ([rsp + (rbp << 2) + 0x2a30].d != r12d) then 85 @ 0x12d0 else 87 @ 0x12e3 0x1290 74 rbp = rbp + 1 0x1297 75 if (r15 == rbp) then 30 @ 0x12b1 else 54 @ 0x12a0 0x12a2 76 edi = sx.d([rsp + rbp + 0x320].b) 0x12aa 77 call(0x1060) 0x12af 78 goto 74 @ 0x1290 0x1270 79 rdi = sx.q(ecx) 0x1273 80 r12d = eax 0x1279 81 if (esi s< [rsp + (rdi << 2)].d) then 90 @ 0x1230 else 92 @ 0x127b 0x125b 82 ebx = eax 0x125d 83 r12d = ecx 0x1260 84 goto 55 @ 0x1232 0x12d0 85 rbp = rbp + 1 0x12d7 86 if (rbx == rbp) then 43 @ 0x12f2 else 73 @ 0x12e1 0x12e3 87 edi = sx.d([rsp + rbp + 0x320].b) 0x12eb 88 call(0x1060) 0x12f0 89 goto 85 @ 0x12d0 0x1230 90 ebx = edx 0x1230 91 goto 55 @ 0x1232 0x127b 92 r12d = ecx 0x127e 93 goto 90 @ 0x1230 int64_t _fini(): 0x1308 0 rsp = rsp - 8 0x130c 1 rsp = rsp + 8 0x1310 2 <return> jump(pop)
POJ_24
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\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(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x3d0910 0x115c 4 rdi = 0x2004 {"%d"} 0x1163 5 rsi = rsp + 8 {var_3d0920} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x1174 8 if ([rsp + 8 {var_3d0920}].d s<= 0) then 9 @ 0x11af else 15 @ 0x1176 0x11af 9 rdi = 0x2004 {"%d"} 0x11b6 10 rsi = rsp + 0xc {var_3d091c} 0x11bb 11 eax = 0 0x11bd 12 call(0x1040) 0x11c2 13 eax = [rsp + 8 {var_3d0920}].d 0x11c8 14 if (eax s<= 0) then 19 @ 0x130c else 29 @ 0x11ce 0x1176 15 r15 = rsp + 0x14 {var_3d0914} 0x117b 16 r14 = 0x2004 {"%d"} 0x1182 17 ebx = 0 0x118e 18 goto 33 @ 0x1190 0x130c 19 rax = sx.q(eax) 0x130e 20 esi = [rsp + (rax << 2) + 0x10].d 0x1312 21 rdi = 0x2004 {"%d"} 0x1319 22 eax = 0 0x131b 23 call(0x1030) 0x1320 24 rsp = rsp + 0x3d0910 0x1327 25 rbx = pop 0x1328 26 r14 = pop 0x132a 27 r15 = pop 0x132c 28 <return> jump(pop) 0x11ce 29 r9d = [rsp + 0xc {var_3d091c}].d 0x11d3 30 esi = 1 0x11d8 31 r8 = rsp + 0x44 {var_3d08e4} 0x11dd 32 goto 41 @ 0x11f7 0x1190 33 rdi = r14 0x1193 34 rsi = r15 0x1196 35 eax = 0 0x1198 36 call(0x1040) 0x119d 37 rax = sx.q([rsp + 8 {var_3d0920}].d) 0x11a2 38 rbx = rbx + 1 0x11a6 39 r15 = r15 + 4 0x11ad 40 if (rbx s< rax) then 33 @ 0x1190 else 9 @ 0x11af 0x11f7 41 rdi = sx.q(esi) 0x11ff 42 if ([rsp + (rdi << 2) + 0x10].d != r9d) then 43 @ 0x11ea else 47 @ 0x1201 0x11ea 43 ecx = (rsi + 1).d 0x11ed 44 cond:0 = esi s>= eax 0x11ef 45 esi = ecx 0x11f1 46 if (cond:0) then 51 @ 0x12d5 else 41 @ 0x11f7 0x1201 47 r14d = eax 0x1204 48 temp0.d = r14d 0x1204 49 r14d = r14d - esi 0x1207 50 if (temp0.d s< esi) then 52 @ 0x11e0 else 56 @ 0x120d 0x12d5 51 if (eax s< 2) then 19 @ 0x130c else 57 @ 0x12d7 0x11e0 52 esi = esi - 1 0x11e3 53 eax = eax - 1 0x11e6 54 [rsp + 8 {var_3d0920}].d = eax 0x11e6 55 goto 43 @ 0x11ea 0x120d 56 if (r14d u< 7) then 60 @ 0x12aa else 63 @ 0x1213 0x12d7 57 ebx = 1 0x12dc 58 r14 = 0x2007 {"%d "} 0x12ed 59 goto 71 @ 0x12f0 0x12aa 60 ecx = (rax + 1).d 0x12ad 61 ecx = ecx 0x12af 62 goto 78 @ 0x12b0 0x1213 63 r14 = r14 + 1 0x1217 64 r10 = r14 0x121a 65 r10 = r10 & 0xfffffffffffffff8 0x121e 66 rcx = r10 - 8 0x1222 67 r11 = rcx 0x1225 68 r11 = r11 u>> 3 0x1229 69 r11 = r11 + 1 0x1230 70 if (rcx == 0) then 83 @ 0x12c8 else 85 @ 0x1236 0x12f0 71 esi = [rsp + (rbx << 2) + 0x10].d 0x12f4 72 rdi = r14 0x12f7 73 eax = 0 0x12f9 74 call(0x1030) 0x12fe 75 rbx = rbx + 1 0x1302 76 rax = sx.q([rsp + 8 {var_3d0920}].d) 0x130a 77 if (rbx s< rax) then 71 @ 0x12f0 else 19 @ 0x130c 0x12b0 78 edx = [rsp + (rdi << 2) + 0x14].d 0x12b4 79 [rsp + (rdi << 2) + 0x10].d = edx 0x12b8 80 rdx = rdi + 1 0x12bc 81 rdi = rdx 0x12c1 82 if (ecx != edx) then 78 @ 0x12b0 else 90 @ 0x12c3 0x12c8 83 edx = 0 0x12ce 84 if ((r11b & 1) != 0) then 91 @ 0x1287 else 97 @ 0x12d0 0x1236 85 rcx = r11 0x1239 86 rcx = rcx & 0xfffffffffffffffe 0x123d 87 rbx = r8 + (rdi << 2) 0x1241 88 edx = 0 0x124d 89 goto 98 @ 0x1250 0x12c3 90 goto 52 @ 0x11e0 0x1287 91 rdx = rdx + rdi 0x128a 92 xmm0 = [rsp + (rdx << 2) + 0x14].o 0x128f 93 xmm1 = [rsp + (rdx << 2) + 0x24].o 0x1294 94 [rsp + (rdx << 2) + 0x10].o = xmm0 0x1299 95 [rsp + (rdx << 2) + 0x20].o = xmm1 0x1299 96 goto 110 @ 0x12a1 0x12d0 97 goto 110 @ 0x12a1 0x1250 98 xmm0 = [rbx + (rdx << 2) - 0x30].o 0x1255 99 xmm1 = [rbx + (rdx << 2) - 0x20].o 0x125a 100 xmm2 = [rbx + (rdx << 2) - 0x10].o 0x125f 101 xmm3 = [rbx + (rdx << 2)].o 0x1263 102 [rbx + (rdx << 2) - 0x34].o = xmm0 0x1268 103 [rbx + (rdx << 2) - 0x24].o = xmm1 0x126d 104 [rbx + (rdx << 2) - 0x14].o = xmm2 0x1272 105 [rbx + (rdx << 2) - 4].o = xmm3 0x1277 106 rdx = rdx + 0x10 0x127b 107 temp1.q = rcx 0x127b 108 rcx = rcx - 2 0x127f 109 if (temp1.q != 2) then 98 @ 0x1250 else 111 @ 0x1285 0x12a1 110 if (r14 == r10) then 52 @ 0x11e0 else 112 @ 0x12a7 0x1285 111 if ((r11b & 1) == 0) then 110 @ 0x12a1 else 91 @ 0x1287 0x12a7 112 rdi = rdi + r10 0x12a7 113 goto 60 @ 0x12aa int64_t _fini(): 0x1334 0 rsp = rsp - 8 0x1338 1 rsp = rsp + 8 0x133c 2 <return> jump(pop)
POJ_42
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 - 0x4e0 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = rbp - 0x4c0 {var_4c8} 0x1179 5 esi = 0 0x117b 6 edx = 0x4b0 {"Q"} 0x1180 7 call(0x1040) 0x1185 8 [rbp - 0x4c4 {var_4cc}].d = 0 0x118f 9 [rbp - 0x4d0 {var_4d8}].d = 0 0x1199 10 [rbp - 0x4d4 {var_4dc}].d = 0 0x11a3 11 rsi = rbp - 0x4c0 {var_4c8} 0x11aa 12 rdi = 0x2005 {"%d"} 0x11b1 13 al = 0 0x11b3 14 call(0x1050) 0x11b8 15 [rbp - 0x4c4 {var_4cc_1}].d = 1 0x11b8 16 goto 17 @ 0x11cc 0x11cc 17 if ([rbp - 0x4c4 {var_4cc_1}].d s>= 0x12c) then 18 @ 0x1209 else 21 @ 0x11d2 0x1209 18 [rbp - 0x4d8 {var_4e0}].d = 0 0x1213 19 [rbp - 0x4c4 {var_4cc_2}].d = 0 0x1213 20 goto 32 @ 0x1227 0x11d2 21 rax = sx.q([rbp - 0x4c4 {var_4cc_1}].d) 0x11d9 22 rsi = rbp - 0x4c0 {var_4c8} 0x11e0 23 rax = rax << 2 0x11e4 24 rsi = rsi + rax 0x11e7 25 rdi = 0x2004 {",%d"} 0x11ee 26 al = 0 0x11f0 27 call(0x1050) 0x11f5 28 eax = [rbp - 0x4c4 {var_4cc_1}].d 0x11fb 29 eax = eax + 1 0x11fe 30 [rbp - 0x4c4 {var_4cc_1}].d = eax 0x1204 31 goto 17 @ 0x11cc 0x1227 32 if ([rbp - 0x4c4 {var_4cc_2}].d s>= 0x12c) then 33 @ 0x1345 else 34 @ 0x122d 0x1345 33 if ([rbp - 0x4d8 {var_4e0}].d != 0) then 38 @ 0x1359 else 42 @ 0x134b 0x122d 34 [rbp - 0x4d0 {var_4d8_1}].d = 0 0x1237 35 [rbp - 0x4cc {var_4d4_1}].d = 0x2710 {""} 0x1241 36 [rbp - 0x4c8 {var_4d0_1}].d = 0 0x1241 37 goto 46 @ 0x1255 0x1359 38 eax = 0 0x135b 39 rsp = rsp + 0x4e0 0x1362 40 rbp = pop 0x1363 41 <return> jump(pop) 0x134b 42 rdi = 0x2008 {"No"} 0x1352 43 al = 0 0x1354 44 call(0x1030) 0x1354 45 goto 38 @ 0x1359 0x1255 46 if ([rbp - 0x4c8 {var_4d0_1}].d s>= 0x12c) then 47 @ 0x12da else 48 @ 0x125b 0x12da 47 if ([rbp - 0x4d0 {var_4d8_1}].d != 1) then 52 @ 0x1325 else 53 @ 0x12e0 0x125b 48 rax = sx.q([rbp - 0x4c8 {var_4d0_1}].d) 0x1262 49 eax = [rbp + (rax << 2) - 0x4c0].d 0x1269 50 rcx = sx.q([rbp - 0x4c4 {var_4cc_2}].d) 0x1277 51 if (eax s<= [rbp + (rcx << 2) - 0x4c0].d) then 55 @ 0x12ba else 56 @ 0x127d 0x1325 52 goto 59 @ 0x132a 0x12e0 53 rax = sx.q([rbp - 0x4c4 {var_4cc_2}].d) 0x12ef 54 if ([rbp + (rax << 2) - 0x4c0].d == 0) then 52 @ 0x1325 else 63 @ 0x12f5 0x12ba 55 goto 72 @ 0x12bf 0x127d 56 rax = sx.q([rbp - 0x4c8 {var_4d0_1}].d) 0x1284 57 eax = [rbp + (rax << 2) - 0x4c0].d 0x1291 58 if (eax == [rbp - 0x4cc {var_4d4_1}].d) then 55 @ 0x12ba else 76 @ 0x1297 0x132a 59 eax = [rbp - 0x4c4 {var_4cc_2}].d 0x1330 60 eax = eax + 1 0x1333 61 [rbp - 0x4c4 {var_4cc_2}].d = eax 0x1339 62 goto 32 @ 0x1227 0x12f5 63 rax = sx.q([rbp - 0x4c4 {var_4cc_2}].d) 0x12fc 64 esi = [rbp + (rax << 2) - 0x4c0].d 0x1303 65 rdi = 0x2005 {"%d"} 0x130a 66 al = 0 0x130c 67 call(0x1030) 0x1311 68 eax = [rbp - 0x4d8 {var_4e0}].d 0x1317 69 eax = eax + 1 0x131a 70 [rbp - 0x4d8 {var_4e0}].d = eax 0x1320 71 goto 33 @ 0x1345 0x12bf 72 eax = [rbp - 0x4c8 {var_4d0_1}].d 0x12c5 73 eax = eax + 1 0x12c8 74 [rbp - 0x4c8 {var_4d0_1}].d = eax 0x12ce 75 goto 46 @ 0x1255 0x1297 76 eax = [rbp - 0x4d0 {var_4d8_1}].d 0x129d 77 eax = eax + 1 0x12a0 78 [rbp - 0x4d0 {var_4d8_1}].d = eax 0x12a6 79 rax = sx.q([rbp - 0x4c8 {var_4d0_1}].d) 0x12ad 80 eax = [rbp + (rax << 2) - 0x4c0].d 0x12b4 81 [rbp - 0x4cc {var_4d4_1}].d = eax 0x12b4 82 goto 55 @ 0x12ba int64_t _fini(): 0x1368 0 rsp = rsp - 8 0x136c 1 rsp = rsp + 8 0x1370 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 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 {"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 - 0x1e8498 0x116e 5 rbx = rsp + 0x10 {var_1e84a8} 0x1173 6 edx = 0xf4240 {""} 0x1178 7 rdi = rbx {var_1e84a8} 0x117b 8 esi = 0 0x117d 9 call(0x1030) 0x1182 10 rdi = 0x2054 {"%d"} 0x1189 11 rsi = rsp + 0xc {var_1e84ac} 0x118e 12 eax = 0 0x1190 13 call(0x1040) 0x119a 14 if ([rsp + 0xc {var_1e84ac}].d s<= 0) then 15 @ 0x129d else 22 @ 0x11a0 0x129d 15 eax = 0 0x129f 16 rsp = rsp + 0x1e8498 0x12a6 17 rbx = pop 0x12a7 18 r12 = pop 0x12a9 19 r14 = pop 0x12ab 20 r15 = pop 0x12ad 21 <return> jump(pop) 0x11a0 22 r14 = rsp + 0xf4250 {var_f4268} 0x11a8 23 r15 = 0x2057 {"%s"} 0x11af 24 r12d = 0 0x11bc 25 goto 26 @ 0x11c0 0x11c0 26 rdi = r15 0x11c3 27 rsi = r14 0x11c6 28 eax = 0 0x11c8 29 call(0x1040) 0x11cd 30 r12 = r12 + 1 0x11d1 31 rax = sx.q([rsp + 0xc {var_1e84ac}].d) 0x11d6 32 r14 = r14 + 0x3e8 0x11e0 33 if (r12 s< rax) then 26 @ 0x11c0 else 34 @ 0x11e2 0x11e2 34 r8d = eax 0x11e8 35 if (r8d s<= 0) then 15 @ 0x129d else 36 @ 0x11ee 0x11ee 36 rcx = rsp + 0xf4250 {var_f4268} 0x11f6 37 r9d = 0 0x11f9 38 rsi = 0x2004 {"> _ < l%d"} 0x1200 39 goto 40 @ 0x123b 0x123b 40 edi = 0 0x123d 41 goto 42 @ 0x1249 0x1249 42 edx = zx.d([rcx + rdi].b) 0x124d 43 dl = dl - 0x41 0x1253 44 if (dl u> 0x13) then 45 @ 0x1210 else 54 @ 0x1255 0x1210 45 eax = edi 0x1212 46 rdx = r9 * 0x3e8 0x1219 47 rdx = rdx + rsp 0x121c 48 rdx = rdx + 0x10 0x1220 49 [rax + rdx].b = 0 0x1224 50 r9 = r9 + 1 0x1228 51 rbx = rbx + 0x3e8 0x122f 52 rcx = rcx + 0x3e8 0x1239 53 if (r9 == r8) then 59 @ 0x1277 else 40 @ 0x123b 0x1255 54 al = 0x54 {""} 0x1257 55 edx = zx.d(dl) 0x125a 56 rdx = sx.q([rsi + (rdx << 2)].d) 0x125e 57 rdx = rdx + rsi 0x1261 58 jump(rdx => 45 @ 0x1210, 60 @ 0x1240, 62 @ 0x1242, 65 @ 0x1263, 67 @ 0x1270) 0x1277 59 if (r8d s<= 0) then 15 @ 0x129d else 69 @ 0x1279 0x1240 60 al = 0x43 {""} 0x1240 61 goto 62 @ 0x1242 0x1242 62 [rbx + rdi].b = al 0x1245 63 rdi = rdi + 1 0x1245 64 goto 42 @ 0x1249 0x1263 65 al = 0x47 {""} 0x1265 66 goto 62 @ 0x1242 0x1270 67 al = 0x41 {""} 0x1272 68 goto 62 @ 0x1242 0x1279 69 r14 = rsp + 0x10 {var_1e84a8} 0x127e 70 ebx = 0 0x127e 71 goto 72 @ 0x1280 0x1280 72 rdi = r14 0x1283 73 call(0x1050) 0x1288 74 rbx = rbx + 1 0x128c 75 rax = sx.q([rsp + 0xc {var_1e84ac}].d) 0x1291 76 r14 = r14 + 0x3e8 0x129b 77 if (rbx s< rax) then 72 @ 0x1280 else 15 @ 0x129d int64_t _fini(): 0x12b4 0 rsp = rsp - 8 0x12b8 1 rsp = rsp + 8 0x12bc 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) 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) char* gets(char* buf): 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 = 0x1850 {"SH"} 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) uint64_t min(char* arg1, int32_t arg2[0x4] @ zmm2): 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 - 0x7d8 0x1191 7 r14 = rdi 0x1194 8 rdi = rsp + 0x3f0 {var_418} 0x119c 9 ebx = 0 0x119e 10 edx = 0x3e8 {""} 0x11a3 11 esi = 0 0x11a5 12 call(0x1040) 0x11aa 13 rdi = rsp {var_808} 0x11ad 14 edx = 0x3e8 {""} 0x11b2 15 esi = 0 0x11b4 16 call(0x1040) 0x11b9 17 rdi = r14 0x11bc 18 call(0x1050) 0x11c3 19 if (eax s<= 0) then 20 @ 0x1518 else 21 @ 0x11c9 0x1518 20 if (ebx != eax) then 23 @ 0x1539 else 24 @ 0x151a 0x11c9 21 ecx = eax 0x11cf 22 if (rcx u>= 0x10) then 33 @ 0x11d8 else 42 @ 0x11d1 0x1539 23 if (eax s<= 0) then 44 @ 0x17e2 else 52 @ 0x153f 0x151a 24 rdi = 0x2057 {"No"} 0x1521 25 rsp = rsp + 0x7d8 0x1528 26 rbx = pop 0x1529 27 r12 = pop 0x152b 28 r13 = pop 0x152d 29 r14 = pop 0x152f 30 r15 = pop 0x1531 31 rbp = pop 0x1532 32 <return> tailcall(0x1070) 0x11d8 33 esi = eax 0x11da 34 esi = esi & 0xf 0x11dd 35 rdx = rcx 0x11e0 36 rdx = rdx - rsi 0x11e3 37 edi = 0 0x11e5 38 xmm0 = [0x2010].o 0x11ed 39 xmm1 = [0x2020].o 0x11f5 40 xmm2 = _mm_cmpeq_epi32(xmm2, xmm2) 0x11f9 41 goto 60 @ 0x120d 0x11d1 42 edx = 0 0x11d3 43 goto 68 @ 0x1459 0x17e2 44 rsp = rsp + 0x7d8 0x17e9 45 rbx = pop 0x17ea 46 r12 = pop 0x17ec 47 r13 = pop 0x17ee 48 r14 = pop 0x17f0 49 r15 = pop 0x17f2 50 rbp = pop 0x17f3 51 <return> jump(pop) 0x153f 52 r8d = eax 0x1542 53 rdx = r14 + 8 0x1546 54 r10d = 0 0x1549 55 xmm0 = [0x2040].o 0x1551 56 rdi = r14 0x1554 57 ecx = eax 0x1556 58 r9d = 0 0x1559 59 goto 71 @ 0x158a 0x120d 60 xmm3 = [r14 + rdi].q 0x1213 61 xmm3 = _mm_add_epi8(xmm3, xmm0) 0x1217 62 xmm4 = xmm3 0x121b 63 xmm4 = _mm_max_epu8(xmm4, xmm1) 0x121f 64 xmm4 = _mm_cmpeq_epi8(xmm4, xmm3) 0x1223 65 ebp = xmm4.d 0x1227 66 bpl = not.b(bpl) 0x122e 67 if ((bpl & 1) == 0) then 74 @ 0x1235 else 81 @ 0x1230 0x1459 68 ebx = zx.d([r14 + rdx].b) 0x145e 69 bl = bl - 0x7b 0x1464 70 if (bl u> -0x1b) then 83 @ 0x1450 else 85 @ 0x1466 0x158a 71 ecx = ecx 0x158c 72 r13b = [r14 + r10].b 0x1594 73 if (r13b == 0x30) then 87 @ 0x1572 else 92 @ 0x1596 0x1235 74 xmm3 = xmm4 0x1239 75 xmm3 = xmm3 ^ xmm2 0x123d 76 xmm5 = xmm3 0x1241 77 xmm5 = _mm_slli_epi32(xmm5, 8) 0x1246 78 ebp = xmm5.d 0x124a 79 ebp = ebp u>> 0x10 0x1251 80 if ((bpl & 1) == 0) then 96 @ 0x1259 else 100 @ 0x1253 0x1230 81 [r14 + rdi].b = 0x30 {""} 0x1230 82 goto 74 @ 0x1235 0x1450 83 rdx = rdx + 1 0x1457 84 if (rcx == rdx) then 102 @ 0x143d else 68 @ 0x1459 0x1466 85 [r14 + rdx].b = 0x30 {""} 0x146b 86 goto 83 @ 0x1450 0x1572 87 r10 = r10 + 1 0x1576 88 ecx = ecx - 1 0x1579 89 rdx = rdx + 1 0x157d 90 rdi = rdi + 1 0x1584 91 if (r10 == r8) then 103 @ 0x171e else 71 @ 0x158a 0x1596 92 esi = eax 0x1598 93 esi = esi - r10d 0x159b 94 ebx = 0 0x15a0 95 if (esi s< 2) then 104 @ 0x1560 else 109 @ 0x15a2 0x1259 96 xmm5 = _mm_shufflelo_epi16(xmm4, 0x55) 0x125e 97 xmm5 = xmm5 ^ xmm2 0x1262 98 ebp = _mm_extract_epi16(xmm5, 2) 0x126b 99 if ((bpl & 1) == 0) then 113 @ 0x1273 else 117 @ 0x126d 0x1253 100 [r14 + rdi + 1].b = 0x30 {""} 0x1253 101 goto 96 @ 0x1259 0x143d 102 if (eax s<= 0) then 119 @ 0x146d else 121 @ 0x1442 0x171e 103 if (eax s<= 0) then 44 @ 0x17e2 else 122 @ 0x1724 0x1560 104 bl = bl + 1 0x1563 105 r9 = sx.q(r9d) 0x1566 106 [rsp + r9 + 0x3f0].b = bl 0x156e 107 r9d = r9d + 1 0x156e 108 goto 87 @ 0x1572 0x15a2 109 r11d = eax 0x15a5 110 r11d = r11d - r10d 0x15a8 111 r11 = r11 - 1 0x15b0 112 if (r11 u>= 8) then 124 @ 0x15be else 137 @ 0x15b2 0x1273 113 xmm5 = xmm3 0x1277 114 xmm5 = _mm_slli_epi64(xmm5, 0x18) 0x127c 115 ebp = _mm_extract_epi16(xmm5, 3) 0x1285 116 if ((bpl & 1) == 0) then 140 @ 0x128d else 144 @ 0x1287 0x126d 117 [r14 + rdi + 2].b = 0x30 {""} 0x126d 118 goto 113 @ 0x1273 0x146d 119 ebx = 0 0x146f 120 goto 20 @ 0x1518 0x1442 121 if (ecx u>= 8) then 146 @ 0x1474 else 156 @ 0x1444 0x1724 122 eax = eax & 1 0x172b 123 if (r8d != 1) then 159 @ 0x17f4 else 163 @ 0x1731 0x15be 124 r12 = rcx - 1 0x15c2 125 r12 = r12 & 0xfffffffffffffff8 0x15c6 126 r15 = r11 0x15c9 127 r15 = r15 & 0xfffffffffffffff8 0x15cd 128 rsi = r15 + 1 0x15d1 129 ebx = zx.d(r13b) 0x15d5 130 xmm1 = ebx 0x15d9 131 xmm1 = _mm_unpacklo_epi8(xmm1, xmm1.q) 0x15dd 132 xmm3 = _mm_shufflelo_epi16(xmm1, 0) 0x15e2 133 xmm1 = 0 0x15e6 134 ebx = 0 0x15e8 135 xmm2 = 0 0x15ec 136 goto 166 @ 0x161d 0x15b2 137 ebx = 0 0x15b4 138 esi = 1 0x15b9 139 goto 170 @ 0x1711 0x128d 140 xmm4 = _mm_shuffle_epi32(xmm4, 0x55) 0x1292 141 xmm4 = xmm4 ^ xmm2 0x1296 142 ebp = _mm_extract_epi16(xmm4, 4) 0x129f 143 if ((bpl & 1) == 0) then 171 @ 0x12a7 else 175 @ 0x12a1 0x1287 144 [r14 + rdi + 3].b = 0x30 {""} 0x1287 145 goto 140 @ 0x128d 0x1474 146 esi = eax 0x1476 147 esi = esi & 7 0x1479 148 rdx = rcx 0x147c 149 rdx = rdx - rsi 0x147f 150 xmm0 = 0 0x1483 151 edi = 0 0x1485 152 xmm2 = [0x2030].o 0x148d 153 xmm3 = [0x2040].o 0x1495 154 xmm1 = 0 0x1499 155 goto 177 @ 0x14a0 0x1444 156 edx = 0 0x1446 157 ebx = 0 0x1448 158 goto 191 @ 0x1500 0x17f4 159 r8 = r8 - rax 0x17f7 160 edx = 0 0x17f9 161 ebp = 0 0x17fb 162 goto 196 @ 0x180d 0x1731 163 edx = 0 0x1733 164 ebp = 0 0x1733 165 goto 198 @ 0x1738 0x161d 166 xmm4 = [rdx + rbx - 7].d 0x1623 167 xmm4 = _mm_cmpeq_epi8(xmm4, xmm3) 0x1627 168 ebp = xmm4.d 0x162f 169 if ((bpl & 1) == 0) then 199 @ 0x1636 else 203 @ 0x1631 0x1711 170 if (r13b != [rdi + rsi].b) then 205 @ 0x1700 else 207 @ 0x1713 0x12a7 171 xmm4 = xmm3 0x12ab 172 xmm4 = _mm_slli_si128(xmm4, 5) 0x12b0 173 ebp = _mm_extract_epi16(xmm4, 5) 0x12b9 174 if ((bpl & 1) != 0) then 210 @ 0x13c0 else 213 @ 0x12bf 0x12a1 175 [r14 + rdi + 4].b = 0x30 {""} 0x12a1 176 goto 171 @ 0x12a7 0x14a0 177 xmm4 = [r14 + rdi].d 0x14a6 178 xmm5 = [r14 + rdi + 4].d 0x14ad 179 xmm4 = _mm_cmpeq_epi8(xmm4, xmm2) 0x14b1 180 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x14b5 181 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x14b9 182 xmm4 = xmm4 & xmm3 0x14bd 183 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x14c1 184 xmm5 = _mm_cmpeq_epi8(xmm5, xmm2) 0x14c5 185 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q) 0x14c9 186 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q) 0x14cd 187 xmm5 = xmm5 & xmm3 0x14d1 188 xmm1 = _mm_add_epi32(xmm1, xmm5) 0x14d5 189 rdi = rdi + 8 0x14dc 190 if (rdx != rdi) then 177 @ 0x14a0 else 215 @ 0x14de 0x1500 191 esi = 0 0x1507 192 sil = [r14 + rdx].b == 0x30 0x150b 193 ebx = ebx + esi 0x150d 194 rdx = rdx + 1 0x1514 195 if (rcx != rdx) then 191 @ 0x1500 else 20 @ 0x1518 0x180d 196 ecx = zx.d([r14 + rdx].b) 0x1815 197 if (cl != 0x30) then 222 @ 0x1830 else 227 @ 0x1817 0x1738 198 if (rax == 0) then 229 @ 0x174d else 230 @ 0x173a 0x1636 199 xmm5 = xmm4 0x163a 200 xmm5 = _mm_slli_epi64(xmm5, 0x18) 0x163f 201 ebp = _mm_extract_epi16(xmm5, 2) 0x1648 202 if ((bpl & 1) == 0) then 232 @ 0x164f else 234 @ 0x164a 0x1631 203 [rdx + rbx - 7].b = 0x30 {""} 0x1631 204 goto 199 @ 0x1636 0x1700 205 rsi = rsi + 1 0x1707 206 if (rcx == rsi) then 104 @ 0x1560 else 170 @ 0x1711 0x1713 207 [rdi + rsi].b = 0x30 {""} 0x1717 208 ebx = ebx + 1 0x171a 209 goto 205 @ 0x1700 0x13c0 210 [r14 + rdi + 5].b = 0x30 {""} 0x13c6 211 ebp = _mm_extract_epi16(xmm3, 3) 0x13cf 212 if ((bpl & 1) == 0) then 236 @ 0x12ce else 239 @ 0x13d5 0x12bf 213 ebp = _mm_extract_epi16(xmm3, 3) 0x12c8 214 if ((bpl & 1) != 0) then 239 @ 0x13d5 else 236 @ 0x12ce 0x14de 215 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x14e2 216 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x14e7 217 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x14eb 218 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x14f0 219 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x14f4 220 ebx = xmm1.d 0x14fb 221 if (rsi == 0) then 20 @ 0x1518 else 243 @ 0x14fd 0x1830 222 rbp = sx.q(ebp) 0x1833 223 [rsp + rbp].b = cl 0x1836 224 ebp = ebp + 1 0x1839 225 ecx = zx.d([r14 + rdx + 1].b) 0x1842 226 if (cl == 0x30) then 244 @ 0x1800 else 246 @ 0x1844 0x1817 227 ecx = zx.d([r14 + rdx + 1].b) 0x1820 228 if (cl == 0x30) then 244 @ 0x1800 else 250 @ 0x1822 0x174d 229 if (ebp s<= 0) then 44 @ 0x17e2 else 251 @ 0x1753 0x173a 230 al = [r14 + rdx].b 0x1740 231 if (al == 0x30) then 229 @ 0x174d else 254 @ 0x1742 0x164f 232 ebp = _mm_extract_epi16(xmm4, 1) 0x1658 233 if ((bpl & 1) == 0) then 258 @ 0x165f else 262 @ 0x165a 0x164a 234 [rdx + rbx - 6].b = 0x30 {""} 0x164a 235 goto 232 @ 0x164f 0x12ce 236 xmm3 = _mm_slli_si128(xmm3, 7) 0x12d3 237 ebp = _mm_extract_epi16(xmm3, 7) 0x12dc 238 if ((bpl & 1) == 0) then 264 @ 0x12e4 else 272 @ 0x12de 0x13d5 239 [r14 + rdi + 6].b = 0x30 {""} 0x13db 240 xmm3 = _mm_slli_si128(xmm3, 7) 0x13e0 241 ebp = _mm_extract_epi16(xmm3, 7) 0x13e9 242 if ((bpl & 1) != 0) then 272 @ 0x12de else 274 @ 0x13ef 0x14fd 243 goto 191 @ 0x1500 0x1800 244 rdx = rdx + 2 0x1807 245 if (r8 == rdx) then 198 @ 0x1738 else 196 @ 0x180d 0x1844 246 rbp = sx.q(ebp) 0x1847 247 [rsp + rbp].b = cl 0x184a 248 ebp = ebp + 1 0x184d 249 goto 244 @ 0x1800 0x1822 250 goto 246 @ 0x1844 0x1753 251 eax = 0 0x1755 252 edx = ebp 0x1757 253 goto 275 @ 0x176a 0x1742 254 rbp = sx.q(ebp) 0x1745 255 [rsp + rbp].b = al 0x1748 256 ebp = ebp + 1 0x1748 257 goto 229 @ 0x174d 0x165f 258 xmm5 = xmm4 0x1663 259 xmm5 = _mm_slli_si128(xmm5, 9) 0x1668 260 ebp = _mm_extract_epi16(xmm5, 6) 0x1671 261 if ((bpl & 1) == 0) then 277 @ 0x1678 else 281 @ 0x1673 0x165a 262 [rdx + rbx - 5].b = 0x30 {""} 0x165a 263 goto 258 @ 0x165f 0x12e4 264 xmm3 = [r14 + rdi + 8].q 0x12eb 265 xmm3 = _mm_add_epi8(xmm3, xmm0) 0x12ef 266 xmm4 = xmm3 0x12f3 267 xmm4 = _mm_max_epu8(xmm4, xmm1) 0x12f7 268 xmm4 = _mm_cmpeq_epi8(xmm4, xmm3) 0x12fb 269 ebp = xmm4.d 0x12ff 270 bpl = not.b(bpl) 0x1306 271 if ((bpl & 1) == 0) then 283 @ 0x130e else 290 @ 0x1308 0x12de 272 [r14 + rdi + 7].b = 0x30 {""} 0x12de 273 goto 264 @ 0x12e4 0x13ef 274 goto 264 @ 0x12e4 0x176a 275 edx = edx 0x176e 276 if (ebp s<= eax) then 292 @ 0x1760 else 295 @ 0x1770 0x1678 277 xmm5 = [rdx + rbx - 3].d 0x167e 278 xmm5 = _mm_cmpeq_epi8(xmm5, xmm3) 0x1682 279 ebp = xmm5.d 0x168a 280 if ((bpl & 1) == 0) then 298 @ 0x1691 else 302 @ 0x168c 0x1673 281 [rdx + rbx - 4].b = 0x30 {""} 0x1673 282 goto 277 @ 0x1678 0x130e 283 xmm3 = xmm4 0x1312 284 xmm3 = xmm3 ^ xmm2 0x1316 285 xmm5 = xmm3 0x131a 286 xmm5 = _mm_slli_epi32(xmm5, 8) 0x131f 287 ebp = xmm5.d 0x1323 288 ebp = ebp u>> 0x10 0x132a 289 if ((bpl & 1) == 0) then 304 @ 0x1332 else 308 @ 0x132c 0x1308 290 [r14 + rdi + 8].b = 0x30 {""} 0x1308 291 goto 283 @ 0x130e 0x1760 292 eax = eax + 1 0x1763 293 edx = edx - 1 0x1768 294 if (eax == ebp) then 310 @ 0x17b3 else 275 @ 0x176a 0x1770 295 cl = [rsp {var_808}].b 0x1773 296 edi = 0 0x1775 297 goto 311 @ 0x1798 0x1691 298 xmm6 = xmm5 0x1695 299 xmm6 = _mm_slli_epi64(xmm6, 0x18) 0x169a 300 ebp = _mm_extract_epi16(xmm6, 2) 0x16a3 301 if ((bpl & 1) == 0) then 314 @ 0x16aa else 316 @ 0x16a5 0x168c 302 [rdx + rbx - 3].b = 0x30 {""} 0x168c 303 goto 298 @ 0x1691 0x1332 304 xmm5 = _mm_shufflelo_epi16(xmm4, 0x55) 0x1337 305 xmm5 = xmm5 ^ xmm2 0x133b 306 ebp = _mm_extract_epi16(xmm5, 2) 0x1344 307 if ((bpl & 1) == 0) then 318 @ 0x134c else 322 @ 0x1346 0x132c 308 [r14 + rdi + 9].b = 0x30 {""} 0x132c 309 goto 304 @ 0x1332 0x17b3 310 if (ebp s<= 0) then 44 @ 0x17e2 else 324 @ 0x17b5 0x1798 311 rsi = rdi + 1 0x179c 312 ebx = zx.d([rsp + rdi + 1].b) 0x17a3 313 if (cl s< bl) then 327 @ 0x1780 else 332 @ 0x17a5 0x16aa 314 ebp = _mm_extract_epi16(xmm5, 1) 0x16b3 315 if ((bpl & 1) == 0) then 335 @ 0x16ba else 339 @ 0x16b5 0x16a5 316 [rdx + rbx - 2].b = 0x30 {""} 0x16a5 317 goto 314 @ 0x16aa 0x134c 318 xmm5 = xmm3 0x1350 319 xmm5 = _mm_slli_epi64(xmm5, 0x18) 0x1355 320 ebp = _mm_extract_epi16(xmm5, 3) 0x135e 321 if ((bpl & 1) == 0) then 341 @ 0x1366 else 345 @ 0x1360 0x1346 322 [r14 + rdi + 0xa].b = 0x30 {""} 0x1346 323 goto 318 @ 0x134c 0x17b5 324 ebp = ebp 0x17b7 325 rbx = 0x2050 {"%c=%d\n"} 0x17be 326 goto 347 @ 0x17c0 0x1780 327 [rsp + rdi].b = bl 0x1783 328 [rsp + rdi + 1].b = cl 0x1787 329 [rsp + rdi + 0x3f0].w = rol.w([rsp + rdi + 0x3f0].w, 8) 0x1790 330 rdi = rsi 0x1796 331 if (rdx == rsi) then 292 @ 0x1760 else 311 @ 0x1798 0x17a5 332 ecx = ebx 0x17a7 333 rdi = rsi 0x17ad 334 if (rdx != rsi) then 311 @ 0x1798 else 355 @ 0x17af 0x16ba 335 xmm6 = xmm5 0x16be 336 xmm6 = _mm_slli_si128(xmm6, 9) 0x16c3 337 ebp = _mm_extract_epi16(xmm6, 6) 0x16cc 338 if ((bpl & 1) == 0) then 356 @ 0x15f0 else 366 @ 0x16d2 0x16b5 339 [rdx + rbx - 1].b = 0x30 {""} 0x16b5 340 goto 335 @ 0x16ba 0x1366 341 xmm4 = _mm_shuffle_epi32(xmm4, 0x55) 0x136b 342 xmm4 = xmm4 ^ xmm2 0x136f 343 ebp = _mm_extract_epi16(xmm4, 4) 0x1378 344 if ((bpl & 1) == 0) then 368 @ 0x1380 else 372 @ 0x137a 0x1360 345 [r14 + rdi + 0xb].b = 0x30 {""} 0x1360 346 goto 341 @ 0x1366 0x17c0 347 rbp = rbp - 1 0x17c4 348 rax = sx.q(ebp) 0x17c7 349 esi = sx.d([rsp + rax].b) 0x17cb 350 edx = sx.d([rsp + rax + 0x3f0].b) 0x17d3 351 rdi = rbx 0x17d6 352 eax = 0 0x17d8 353 call(0x1030) 0x17e0 354 if (rbp != 0) then 347 @ 0x17c0 else 44 @ 0x17e2 0x17af 355 goto 292 @ 0x1760 0x15f0 356 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x15f4 357 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x15f8 358 xmm4 = xmm4 & xmm0 0x15fc 359 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1600 360 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q) 0x1604 361 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q) 0x1608 362 xmm5 = xmm5 & xmm0 0x160c 363 xmm2 = _mm_add_epi32(xmm2, xmm5) 0x1610 364 rbx = rbx + 8 0x1617 365 if (r12 == rbx) then 374 @ 0x16db else 166 @ 0x161d 0x16d2 366 [rdx + rbx].b = 0x30 {""} 0x16d6 367 goto 356 @ 0x15f0 0x1380 368 xmm4 = xmm3 0x1384 369 xmm4 = _mm_slli_si128(xmm4, 5) 0x1389 370 ebp = _mm_extract_epi16(xmm4, 5) 0x1392 371 if ((bpl & 1) != 0) then 381 @ 0x1400 else 384 @ 0x1394 0x137a 372 [r14 + rdi + 0xc].b = 0x30 {""} 0x137a 373 goto 368 @ 0x1380 0x16db 374 xmm2 = _mm_add_epi32(xmm2, xmm1) 0x16df 375 xmm1 = _mm_shuffle_epi32(xmm2, 0xee) 0x16e4 376 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x16e8 377 xmm2 = _mm_shuffle_epi32(xmm1, 0x55) 0x16ed 378 xmm2 = _mm_add_epi32(xmm2, xmm1) 0x16f1 379 ebx = xmm2.d 0x16f8 380 if (r11 != r15) then 170 @ 0x1711 else 386 @ 0x16fa 0x1400 381 [r14 + rdi + 0xd].b = 0x30 {""} 0x1406 382 ebp = _mm_extract_epi16(xmm3, 3) 0x140f 383 if ((bpl & 1) == 0) then 387 @ 0x139f else 390 @ 0x1411 0x1394 384 ebp = _mm_extract_epi16(xmm3, 3) 0x139d 385 if ((bpl & 1) != 0) then 390 @ 0x1411 else 387 @ 0x139f 0x16fa 386 goto 104 @ 0x1560 0x139f 387 xmm3 = _mm_slli_si128(xmm3, 7) 0x13a4 388 ebp = _mm_extract_epi16(xmm3, 7) 0x13ad 389 if ((bpl & 1) == 0) then 394 @ 0x1200 else 396 @ 0x13b3 0x1411 390 [r14 + rdi + 0xe].b = 0x30 {""} 0x1417 391 xmm3 = _mm_slli_si128(xmm3, 7) 0x141c 392 ebp = _mm_extract_epi16(xmm3, 7) 0x1425 393 if ((bpl & 1) == 0) then 394 @ 0x1200 else 397 @ 0x142b 0x1200 394 rdi = rdi + 0x10 0x1207 395 if (rdx == rdi) then 399 @ 0x1439 else 60 @ 0x120d 0x13b3 396 goto 397 @ 0x142b 0x142b 397 [r14 + rdi + 0xf].b = 0x30 {""} 0x1431 398 goto 394 @ 0x1200 0x1439 399 if (rsi != 0) then 68 @ 0x1459 else 102 @ 0x143d int32_t main(int32_t argc, char** argv, char** envp): 0x1850 0 push(rbx) 0x1851 1 rsp = rsp - 0x3f0 0x1858 2 rbx = rsp {var_3f8} 0x185b 3 edx = 0x3e8 {""} 0x1860 4 rdi = rbx {var_3f8} 0x1863 5 esi = 0 0x1865 6 call(0x1040) 0x186a 7 rdi = rbx {var_3f8} 0x186d 8 eax = 0 0x186f 9 call(0x1060) 0x1874 10 rdi = rbx {var_3f8} 0x1877 11 call(0x1180) 0x187c 12 rsp = rsp + 0x3f0 0x1883 13 rbx = pop 0x1884 14 <return> jump(pop) int64_t _fini(): 0x188c 0 rsp = rsp - 8 0x1890 1 rsp = rsp + 8 0x1894 2 <return> jump(pop)
POJ_100
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 {"UAWAVATSH 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 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r12) 0x1157 4 push(rbx) 0x1158 5 rsp = rsp - 0x20 0x115c 6 rbx = 0x2004 {"%d"} 0x1163 7 rsi = rsp {var_48} 0x1166 8 rdi = rbx 0x1169 9 eax = 0 0x116b 10 call(0x1040) 0x1170 11 rsi = rsp + 4 {var_44} 0x1175 12 rdi = rbx 0x1178 13 eax = 0 0x117a 14 call(0x1040) 0x117f 15 rsi = rsp + 8 {var_40} 0x1184 16 rdi = rbx 0x1187 17 eax = 0 0x1189 18 call(0x1040) 0x118e 19 rsi = rsp + 0xc {var_3c} 0x1193 20 rdi = rbx 0x1196 21 eax = 0 0x1198 22 call(0x1040) 0x119d 23 rsi = rsp + 0x10 {var_38} 0x11a2 24 rdi = rbx 0x11a5 25 eax = 0 0x11a7 26 call(0x1040) 0x11ac 27 rsi = rsp + 0x14 {var_34} 0x11b1 28 rdi = rbx 0x11b4 29 eax = 0 0x11b6 30 call(0x1040) 0x11bb 31 r14d = 0xffffffff {""} 0x11c1 32 r15 = 0x2007 {"%d\n"} 0x11c8 33 r12d = 0 0x11cb 34 goto 35 @ 0x1200 0x1200 35 eax = [rsp + (r12 << 2)].d 0x1204 36 r9d = 0 0x1207 37 temp0.d = eax 0x1207 38 cond:0 = temp0.d s< 0 0x1209 39 r9b = temp0.d != 0 0x120d 40 if (cond:0) then 41 else 43 @ 0x1211 0x120d 41 r9d = r14d 0x120d 42 goto 43 @ 0x1211 0x1211 43 eax = eax * r9d 0x1215 44 rsi = sx.q(eax) 0x1218 45 rax = rsi * 0x66666667 0x121f 46 rdx = rax 0x1222 47 rdx = rdx u>> 0x3f 0x1226 48 rax = rax s>> 0x22 0x122a 49 eax = eax + edx 0x122c 50 edx = (rax + rax).d 0x122f 51 r8d = (rdx + (rdx << 2)).d 0x1233 52 rdx = rsi * 0x51eb851f 0x123a 53 rdi = rsi * 0x10624dd3 0x1241 54 rbx = rsi * 0x68db8bad 0x1248 55 rcx = rsi * 0x14f8b589 0x124f 56 r10d = esi 0x1252 57 r10d = r10d - r8d 0x1255 58 rsi = rdx 0x1258 59 rsi = rsi u>> 0x3f 0x125c 60 rdx = rdx s>> 0x25 0x1260 61 edx = edx + esi 0x1262 62 esi = (rdx + rdx).d 0x1265 63 esi = (rsi + (rsi << 2)).d 0x1268 64 eax = eax - esi 0x126a 65 rsi = rdi 0x126d 66 rsi = rsi u>> 0x3f 0x1271 67 rdi = rdi s>> 0x26 0x1275 68 edi = edi + esi 0x1277 69 esi = (rdi + rdi).d 0x127a 70 esi = (rsi + (rsi << 2)).d 0x127d 71 edx = edx - esi 0x127f 72 rsi = rbx 0x1282 73 rsi = rsi u>> 0x3f 0x1286 74 rbx = rbx s>> 0x2c 0x128a 75 ebx = ebx + esi 0x128c 76 esi = (rbx + rbx).d 0x128f 77 esi = (rsi + (rsi << 2)).d 0x1292 78 edi = edi - esi 0x1294 79 rsi = rcx 0x1297 80 rsi = rsi u>> 0x3f 0x129b 81 rcx = rcx s>> 0x2d 0x129f 82 ecx = ecx + esi 0x12a1 83 ecx = ecx + ecx 0x12a3 84 ecx = (rcx + (rcx << 2)).d 0x12a6 85 ebx = ebx - ecx 0x12a8 86 ecx = r10d * 0x2710 0x12af 87 esi = eax * 0x3e8 0x12b5 88 ebp = edx * 0x64 0x12b8 89 r8d = (rdi + (rdi << 2)).d 0x12bc 90 ecx = ecx + ebx 0x12be 91 ecx = ecx + esi 0x12c0 92 ecx = ecx + ebp 0x12c2 93 esi = (rcx + (r8 << 1)).d 0x12c6 94 esi = esi * r9d 0x12cc 95 if (ebx != 0) then 96 @ 0x11e4 else 102 @ 0x12d2 0x11e4 96 [rsp + (r12 << 2)].d = esi 0x11e8 97 rdi = r15 0x11eb 98 eax = 0 0x11ed 99 call(0x1030) 0x11f2 100 r12 = r12 + 1 0x11fa 101 if (r12 == 6) then 104 @ 0x1346 else 35 @ 0x1200 0x12d2 102 rcx = sx.q(esi) 0x12d7 103 if (edi != 0) then 111 @ 0x11d0 else 116 @ 0x12df 0x1346 104 rsp = rsp + 0x20 0x134a 105 rbx = pop 0x134b 106 r12 = pop 0x134d 107 r14 = pop 0x134f 108 r15 = pop 0x1351 109 rbp = pop 0x1352 110 <return> jump(pop) 0x11d0 111 rsi = rcx * 0x66666667 0x11d7 112 rax = rsi 0x11da 113 rax = rax u>> 0x3f 0x11de 114 rsi = rsi s>> 0x22 0x11de 115 goto 117 @ 0x11e2 0x12df 116 if (edx == 0) then 119 @ 0x12fa else 120 @ 0x12e1 0x11e2 117 esi = esi + eax 0x11e2 118 goto 96 @ 0x11e4 0x12fa 119 if (eax == 0) then 125 @ 0x1316 else 126 @ 0x12fc 0x12e1 120 rsi = rcx * 0x51eb851f 0x12e8 121 rax = rsi 0x12eb 122 rax = rax u>> 0x3f 0x12ef 123 rsi = rsi s>> 0x25 0x12f3 124 goto 117 @ 0x11e2 0x1316 125 if (r10d == 0) then 131 @ 0x132f else 136 @ 0x1318 0x12fc 126 rsi = rcx * 0x10624dd3 0x1303 127 rax = rsi 0x1306 128 rax = rax u>> 0x3f 0x130a 129 rsi = rsi s>> 0x26 0x130e 130 goto 117 @ 0x11e2 0x132f 131 rsi = rcx * 0x14f8b589 0x1336 132 rax = rsi 0x1339 133 rax = rax u>> 0x3f 0x133d 134 rsi = rsi s>> 0x2d 0x1341 135 goto 117 @ 0x11e2 0x1318 136 rsi = rcx * 0x68db8bad 0x131f 137 rax = rsi 0x1322 138 rax = rax u>> 0x3f 0x1326 139 rsi = rsi s>> 0x2c 0x132a 140 goto 117 @ 0x11e2 uint64_t rvs(int32_t arg1): 0x1360 0 eax = 0 0x1362 1 temp0.d = edi 0x1362 2 cond:0 = temp0.d s>= 0 0x1364 3 al = temp0.d != 0 0x1367 4 r9d = 0xffffffff {""} 0x136d 5 if (cond:0) then 6 else 8 @ 0x1371 0x136d 6 r9d = eax 0x136d 7 goto 8 @ 0x1371 0x1371 8 edi = edi * r9d 0x1375 9 rax = sx.q(edi) 0x1378 10 r11 = rax * 0x66666667 0x137f 11 rdx = r11 0x1382 12 rdx = rdx u>> 0x3f 0x1386 13 r11 = r11 s>> 0x22 0x138a 14 r11d = r11d + edx 0x138d 15 edx = (r11 + r11).d 0x1391 16 r8d = (rdx + (rdx << 2)).d 0x1395 17 rsi = rax * 0x51eb851f 0x139c 18 rdi = rax * 0x10624dd3 0x13a3 19 rdx = rax * 0x68db8bad 0x13aa 20 rcx = rax * 0x14f8b589 0x13b1 21 r10d = eax 0x13b4 22 r10d = r10d - r8d 0x13b7 23 rax = rsi 0x13ba 24 rax = rax u>> 0x3f 0x13be 25 rsi = rsi s>> 0x25 0x13c2 26 esi = esi + eax 0x13c4 27 eax = (rsi + rsi).d 0x13c7 28 eax = (rax + (rax << 2)).d 0x13ca 29 r11d = r11d - eax 0x13cd 30 rax = rdi 0x13d0 31 rax = rax u>> 0x3f 0x13d4 32 rdi = rdi s>> 0x26 0x13d8 33 edi = edi + eax 0x13da 34 eax = (rdi + rdi).d 0x13dd 35 eax = (rax + (rax << 2)).d 0x13e0 36 esi = esi - eax 0x13e2 37 rax = rdx 0x13e5 38 rax = rax u>> 0x3f 0x13e9 39 rdx = rdx s>> 0x2c 0x13ed 40 edx = edx + eax 0x13ef 41 eax = (rdx + rdx).d 0x13f2 42 eax = (rax + (rax << 2)).d 0x13f5 43 edi = edi - eax 0x13f7 44 rax = rcx 0x13fa 45 rax = rax u>> 0x3f 0x13fe 46 rcx = rcx s>> 0x2d 0x1402 47 ecx = ecx + eax 0x1404 48 ecx = ecx + ecx 0x1406 49 eax = (rcx + (rcx << 2)).d 0x1409 50 edx = edx - eax 0x140b 51 eax = r10d * 0x2710 0x1412 52 ecx = r11d * 0x3e8 0x1419 53 ecx = ecx + eax 0x141b 54 eax = esi * 0x64 0x141e 55 eax = eax + ecx 0x1420 56 ecx = (rdi + (rdi << 2)).d 0x1423 57 eax = (rax + (rcx << 1)).d 0x1426 58 eax = eax + edx 0x1428 59 eax = eax * r9d 0x142e 60 if (edx == 0) then 61 @ 0x1431 else 63 @ 0x1430 0x1431 61 rax = sx.q(eax) 0x1435 62 if (edi == 0) then 64 @ 0x144e else 65 @ 0x1437 0x1430 63 <return> jump(pop) 0x144e 64 if (esi == 0) then 71 @ 0x1468 else 72 @ 0x1450 0x1437 65 rax = rax * 0x66666667 0x143e 66 rcx = rax 0x1441 67 rcx = rcx u>> 0x3f 0x1445 68 rax = rax s>> 0x22 0x1449 69 eax = eax + ecx 0x144b 70 <return> jump(pop) 0x1468 71 if (r11d == 0) then 78 @ 0x1482 else 79 @ 0x146a 0x1450 72 rax = rax * 0x51eb851f 0x1457 73 rcx = rax 0x145a 74 rcx = rcx u>> 0x3f 0x145e 75 rax = rax s>> 0x25 0x1462 76 eax = eax + ecx 0x1464 77 <return> jump(pop) 0x1482 78 if (r10d == 0) then 85 @ 0x1499 else 91 @ 0x1484 0x146a 79 rax = rax * 0x10624dd3 0x1471 80 rcx = rax 0x1474 81 rcx = rcx u>> 0x3f 0x1478 82 rax = rax s>> 0x26 0x147c 83 eax = eax + ecx 0x147e 84 <return> jump(pop) 0x1499 85 rax = rax * 0x14f8b589 0x14a0 86 rcx = rax 0x14a3 87 rcx = rcx u>> 0x3f 0x14a7 88 rax = rax s>> 0x2d 0x14ab 89 eax = eax + ecx 0x14ad 90 <return> jump(pop) 0x1484 91 rax = rax * 0x68db8bad 0x148b 92 rcx = rax 0x148e 93 rcx = rcx u>> 0x3f 0x1492 94 rax = rax s>> 0x2c 0x1496 95 eax = eax + ecx 0x1498 96 <return> jump(pop) int64_t _fini(): 0x14b4 0 rsp = rsp - 8 0x14b8 1 rsp = rsp + 8 0x14bc 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 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 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 {"UAWAVAUATSHx("} 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 - 0x2878 0x1181 7 ebp = 0 0x1183 8 rbx = rsp + 0x10 {var_2898} 0x1188 9 rdi = rbx {var_2898} 0x118b 10 eax = 0 0x118d 11 call(0x1050) 0x1192 12 r14 = rsp + 0xf0 {var_27b8} 0x119a 13 rdi = r14 {var_27b8} 0x119d 14 eax = 0 0x119f 15 call(0x1050) 0x11a4 16 rdi = rsp + 0x80 {var_2828} 0x11ac 17 eax = 0 0x11ae 18 call(0x1050) 0x11b3 19 rdi = rbx {var_2898} 0x11b6 20 call(0x1040) 0x11bb 21 r15 = rax 0x11be 22 rdi = r14 {var_27b8} 0x11c1 23 call(0x1040) 0x11c6 24 [rsp + 8 {var_28a0}].q = rax 0x11cb 25 rax = sx.q(r15d) 0x11ce 26 [rsp + rax + 0x10].b = 0 0x11d3 27 esi = 0xffffffff {""} 0x11d8 28 rcx = rsp + 0x160 {var_2748} 0x11e0 29 r8 = rsp + 0x11 {var_2897} 0x11e5 30 goto 31 @ 0x1200 0x1200 31 r9 = rbp 0x1206 32 if (esi s>= r15d) then 33 @ 0x11f0 else 35 @ 0x1208 0x11f0 33 edx = (rsi + 1).d 0x11f0 34 goto 41 @ 0x11f3 0x1208 35 rdx = sx.q(esi) 0x120b 36 rdx = rdx + r8 0x120e 37 ebx = r15d 0x1211 38 ebx = ebx - esi 0x1213 39 edi = 0 0x121f 40 goto 44 @ 0x1220 0x11f3 41 rbp = r9 + 1 0x11f7 42 rcx = rcx + 0x64 0x11fe 43 if (edx s> r15d) then 46 @ 0x1261 else 31 @ 0x1200 0x1220 44 eax = zx.d([rdx + rdi].b) 0x1226 45 if ((al & 0xdf) == 0) then 47 @ 0x1240 else 56 @ 0x1228 0x1261 46 if (r9d == 0) then 59 @ 0x1329 else 67 @ 0x1267 0x1240 47 edx = (rsi + rdi).d 0x1243 48 edx = edx + 1 0x1246 49 eax = edi 0x1248 50 rsi = r9 * 0x64 0x124c 51 rsi = rsi + rsp 0x124f 52 rsi = rsi + 0x160 0x1256 53 [rax + rsi].b = 0 0x125a 54 esi = edx 0x125c 55 goto 41 @ 0x11f3 0x1228 56 [rcx + rdi].b = al 0x122b 57 rdi = rdi + 1 0x1232 58 if (rbx != rdi) then 44 @ 0x1220 else 74 @ 0x1234 0x1329 59 rsp = rsp + 0x2878 0x1330 60 rbx = pop 0x1331 61 r12 = pop 0x1333 62 r13 = pop 0x1335 63 r14 = pop 0x1337 64 r15 = pop 0x1339 65 rbp = pop 0x133a 66 <return> jump(pop) 0x1267 67 eax = (r9 - 1).d 0x126b 68 r13 = sx.q(eax) 0x126e 69 ebp = r9d 0x1271 70 r15d = [rsp + 8 {var_28a0}].d 0x1276 71 r14 = rsp + 0x160 {var_2748} 0x127e 72 r12d = 0 0x1281 73 goto 77 @ 0x12a1 0x1234 74 edx = (rsi + rdi).d 0x1237 75 edx = edx + 1 0x123a 76 goto 41 @ 0x11f3 0x12a1 77 rax = r12 * 0x64 0x12a5 78 rbx = rsp + rax 0x12a9 79 rbx = rbx + 0x160 0x12b0 80 rdi = rbx 0x12b3 81 call(0x1040) 0x12b8 82 rcx = [rsp + 8 {var_28a0}].q 0x12bf 83 if (ecx != eax) then 84 @ 0x1300 else 87 @ 0x12c1 0x1300 84 rdi = 0x2004 {"%s"} 0x1307 85 rsi = rbx 0x1307 86 goto 89 @ 0x130a 0x12c1 87 rax = rcx 0x12c6 88 if (eax s<= 0) then 92 @ 0x12e7 else 95 @ 0x12c8 0x130a 89 eax = 0 0x130c 90 call(0x1030) 0x1314 91 if (r12 s>= r13) then 97 @ 0x1290 else 100 @ 0x131a 0x12e7 92 rdi = 0x2004 {"%s"} 0x12ee 93 rsi = rsp + 0x80 {var_2828} 0x12f6 94 goto 89 @ 0x130a 0x12c8 95 eax = 0 0x12ca 96 goto 103 @ 0x12d0 0x1290 97 r12 = r12 + 1 0x1294 98 r14 = r14 + 0x64 0x129b 99 if (r12 == rbp) then 59 @ 0x1329 else 77 @ 0x12a1 0x131a 100 edi = 0x20 {"@"} 0x131f 101 call(0x1060) 0x1324 102 goto 97 @ 0x1290 0x12d0 103 ecx = zx.d([r14 + rax].b) 0x12dc 104 if (cl != [rsp + rax + 0xf0].b) then 84 @ 0x1300 else 105 @ 0x12de 0x12de 105 rax = rax + 1 0x12e5 106 if (r15 != rax) then 103 @ 0x12d0 else 92 @ 0x12e7 int64_t _fini(): 0x1340 0 rsp = rsp - 8 0x1344 1 rsp = rsp + 8 0x1348 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 {"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(0x1040) 0x1164 5 eax = [rsp + 4 {var_8+0x4}].d 0x116d 6 if (eax s<= 0x270f) then 7 @ 0x11fc else 8 @ 0x1173 0x11fc 7 if (eax s<= 0x3e7) then 44 @ 0x1275 else 45 @ 0x11fe 0x1173 8 ecx = eax 0x1175 9 r9d = 0xd1b71759 {""} 0x117b 10 r9 = r9 * rcx 0x117f 11 r9 = r9 u>> 0x2d 0x1183 12 ecx = r9d * -0x2710 0x118a 13 ecx = ecx + eax 0x118c 14 rax = sx.q(ecx) 0x118f 15 r8 = rax * 0x10624dd3 0x1196 16 rcx = r8 0x1199 17 rcx = rcx u>> 0x3f 0x119d 18 r8 = r8 s>> 0x26 0x11a1 19 r8d = r8d + ecx 0x11a4 20 ecx = r8d * -0x3e8 0x11ab 21 eax = eax + ecx 0x11ad 22 rax = sx.q(eax) 0x11af 23 rcx = rax * 0x51eb851f 0x11b6 24 rdx = rcx 0x11b9 25 rdx = rdx u>> 0x3f 0x11bd 26 rcx = rcx s>> 0x25 0x11c1 27 ecx = ecx + edx 0x11c3 28 edx = ecx * -0x64 0x11c6 29 eax = eax + edx 0x11c8 30 rsi = sx.q(eax) 0x11cb 31 rdx = rsi * 0x66666667 0x11d2 32 rax = rdx 0x11d5 33 rax = rax u>> 0x3f 0x11d9 34 rdx = rdx s>> 0x22 0x11dd 35 edx = edx + eax 0x11df 36 eax = (rdx + rdx).d 0x11e2 37 eax = (rax + (rax << 2)).d 0x11e5 38 esi = esi - eax 0x11e7 39 rdi = 0x2007 {"%d%d%d%d%d\n"} 0x11ee 40 eax = 0 0x11f0 41 call(0x1030) 0x11f5 42 rax = pop 0x11f6 43 <return> jump(pop) 0x1275 44 if (eax s<= 0x63) then 79 @ 0x12e7 else 80 @ 0x1277 0x11fe 45 ecx = zx.d(ax) 0x1201 46 ecx = ecx u>> 4 0x1204 47 ecx = ecx * 0x347 0x120a 48 ecx = ecx u>> 0x13 0x120d 49 ecx = ecx * -0x2710 0x1213 50 ecx = ecx + eax 0x1215 51 eax = zx.d(cx) 0x1218 52 eax = eax u>> 3 0x121b 53 r8d = eax * 0x20c5 0x1222 54 r8d = r8d u>> 0x14 0x1226 55 eax = r8d * -0x3e8 0x122d 56 eax = eax + ecx 0x122f 57 ecx = sx.d(ax) 0x1232 58 ecx = ecx * 0x147b 0x1238 59 edx = ecx 0x123a 60 edx = edx u>> 0x1f 0x123d 61 ecx = ecx s>> 0x13 0x1240 62 ecx = ecx + edx 0x1242 63 esi = ecx * -0x64 0x1245 64 esi = esi + eax 0x1247 65 eax = sx.d(si) 0x124a 66 edx = eax * 0x6667 0x1250 67 eax = edx 0x1252 68 eax = eax u>> 0x1f 0x1255 69 edx = edx s>> 0x12 0x1258 70 edx = edx + eax 0x125a 71 eax = (rdx + rdx).d 0x125d 72 eax = (rax + (rax << 2)).d 0x1260 73 esi = esi - eax 0x1262 74 rdi = 0x2009 {"%d%d%d%d\n"} 0x1269 75 eax = 0 0x126b 76 call(0x1030) 0x1270 77 rax = pop 0x1271 78 <return> jump(pop) 0x12e7 79 if (eax s<= 9) then 112 @ 0x1350 else 156 @ 0x12e9 0x1277 80 ecx = zx.d(ax) 0x127a 81 ecx = ecx u>> 4 0x127d 82 ecx = ecx * 0x347 0x1283 83 ecx = ecx u>> 0x13 0x1286 84 ecx = ecx * -0x2710 0x128c 85 ecx = ecx + eax 0x128e 86 eax = zx.d(cx) 0x1291 87 eax = eax u>> 3 0x1294 88 eax = eax * 0x20c5 0x129a 89 eax = eax u>> 0x14 0x129d 90 eax = eax * -0x3e8 0x12a3 91 eax = eax + ecx 0x12a5 92 ecx = zx.d(ax) 0x12a8 93 ecx = ecx u>> 2 0x12ab 94 ecx = ecx * 0x147b 0x12b1 95 ecx = ecx u>> 0x11 0x12b4 96 esi = ecx * -0x64 0x12b7 97 esi = esi + eax 0x12b9 98 eax = sx.d(si) 0x12bc 99 edx = eax * 0x6667 0x12c2 100 eax = edx 0x12c4 101 eax = eax u>> 0x1f 0x12c7 102 edx = edx s>> 0x12 0x12ca 103 edx = edx + eax 0x12cc 104 eax = (rdx + rdx).d 0x12cf 105 eax = (rax + (rax << 2)).d 0x12d2 106 esi = esi - eax 0x12d4 107 rdi = 0x200b {"%d%d%d\n"} 0x12db 108 eax = 0 0x12dd 109 call(0x1030) 0x12e2 110 rax = pop 0x12e3 111 <return> jump(pop) 0x1350 112 rcx = sx.q(eax) 0x1353 113 rcx = rcx * 0x68db8bad 0x135a 114 rdx = rcx 0x135d 115 rdx = rdx u>> 0x3f 0x1361 116 rcx = rcx s>> 0x2c 0x1365 117 ecx = ecx + edx 0x1367 118 ecx = ecx * 0x2710 0x136d 119 eax = eax - ecx 0x136f 120 ecx = sx.d(ax) 0x1372 121 ecx = ecx * -0x7ced 0x1378 122 ecx = ecx u>> 0x10 0x137b 123 ecx = ecx + eax 0x137d 124 ecx = zx.d(cx) 0x1380 125 edx = sx.d(cx) 0x1383 126 ecx = ecx u>> 0xf 0x1386 127 edx = edx s>> 9 0x1389 128 edx = edx + ecx 0x138b 129 ecx = edx * 0x3e8 0x1391 130 eax = eax - ecx 0x1393 131 ecx = sx.d(ax) 0x1396 132 ecx = ecx * 0x147b 0x139c 133 edx = ecx 0x139e 134 edx = edx u>> 0x1f 0x13a1 135 ecx = ecx s>> 0x13 0x13a4 136 ecx = ecx + edx 0x13a6 137 ecx = ecx * 0x64 0x13a9 138 eax = eax - ecx 0x13ab 139 ecx = sx.d(al) 0x13ae 140 ecx = ecx * 0x67 0x13b1 141 ecx = zx.d(cx) 0x13b4 142 edx = sx.d(cx) 0x13b7 143 ecx = ecx u>> 0xf 0x13ba 144 edx = edx u>> 0xa 0x13bd 145 dl = dl + cl 0x13bf 146 ecx = zx.d(dl) 0x13c2 147 ecx = ecx + ecx 0x13c4 148 ecx = (rcx + (rcx << 2)).d 0x13c7 149 al = al - cl 0x13c9 150 esi = sx.d(al) 0x13cc 151 rdi = 0x200f {"%d\n"} 0x13d3 152 eax = 0 0x13d5 153 call(0x1030) 0x13da 154 rax = pop 0x13db 155 <return> jump(pop) 0x12e9 156 ecx = zx.d(ax) 0x12ec 157 ecx = ecx u>> 4 0x12ef 158 ecx = ecx * 0x347 0x12f5 159 ecx = ecx u>> 0x13 0x12f8 160 ecx = ecx * -0x2710 0x12fe 161 ecx = ecx + eax 0x1300 162 eax = zx.d(cx) 0x1303 163 eax = eax u>> 3 0x1306 164 eax = eax * 0x20c5 0x130c 165 eax = eax u>> 0x14 0x130f 166 eax = eax * -0x3e8 0x1315 167 eax = eax + ecx 0x1317 168 ecx = zx.d(al) 0x131a 169 edx = (rcx + (rcx << 2)).d 0x131d 170 ecx = (rcx + (rdx << 3)).d 0x1320 171 ecx = zx.d(cx) 0x1323 172 ecx = ecx u>> 0xc 0x1326 173 esi = ecx * -0x64 0x1329 174 esi = esi + eax 0x132b 175 eax = zx.d(sil) 0x132f 176 edx = eax * 0xcd 0x1335 177 edx = edx u>> 0xb 0x1338 178 eax = (rdx + rdx).d 0x133b 179 eax = (rax + (rax << 2)).d 0x133e 180 esi = esi - eax 0x1340 181 rdi = 0x200d {"%d%d\n"} 0x1347 182 eax = 0 0x1349 183 call(0x1030) 0x134e 184 rax = pop 0x134f 185 <return> jump(pop) int64_t _fini(): 0x13e0 0 rsp = rsp - 8 0x13e4 1 rsp = rsp + 8 0x13e8 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) 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 {"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 - 0xe78 0x1171 7 [rsp + 0xc {var_e9c}].d = 1 0x1179 8 [rsp + 8 {var_ea0}].d = 1 0x1181 9 eax = 7 0x1186 10 xmm7 = rax 0x118b 11 ebx = 0 0x118d 12 [rsp + 0x30 {var_e78}].o = xmm7 0x119d 13 goto 14 @ 0x11a0 0x11a0 14 rdi = 0x2050 {"%d%d"} 0x11a7 15 rsi = rsp + 0xc {var_e9c} 0x11ac 16 rdx = rsp + 8 {var_ea0} 0x11b1 17 eax = 0 0x11b3 18 call(0x1050) 0x11b8 19 esi = [rsp + 0xc {var_e9c}].d 0x11bc 20 ecx = [rsp + 8 {var_ea0}].d 0x11c0 21 eax = esi 0x11c2 22 [rsp + 4 {var_ea4_1}].d = ecx 0x11c6 23 eax = eax | ecx 0x11c8 24 if (eax == 0) then 25 @ 0x14b1 else 26 @ 0x11ce 0x14b1 25 if (ebx == 0) then 35 @ 0x14ea else 44 @ 0x14b3 0x11ce 26 rbx = rbx + 1 0x11d2 27 [rsp + 0x18 {var_e90_1}].q = rbx 0x11d7 28 cond:0 = esi s<= 0 0x11d9 29 xmm5 = [0x2010].o 0x11e1 30 xmm6 = [0x2020].o 0x11e9 31 xmm7 = [rsp + 0x30 {var_e78}].o 0x11ef 32 xmm8 = [0x2030].o 0x11f8 33 xmm9 = [0x2040].o 0x1201 34 if (cond:0) then 48 @ 0x1490 else 52 @ 0x120a 0x14ea 35 eax = 0 0x14ec 36 rsp = rsp + 0xe78 0x14f3 37 rbx = pop 0x14f4 38 r12 = pop 0x14f6 39 r13 = pop 0x14f8 40 r14 = pop 0x14fa 41 r15 = pop 0x14fc 42 rbp = pop 0x14fd 43 <return> jump(pop) 0x14b3 44 ebx = ebx + 1 0x14b6 45 ebp = 1 0x14bb 46 r14 = 0x2055 {"%d\n"} 0x14cc 47 goto 53 @ 0x14d0 0x1490 48 eax = [rsp + 0x44 {var_e64}].d 0x1494 49 rbx = [rsp + 0x18 {var_e90_1}].q 0x1499 50 [rsp + (rbx << 2) + 0x9c0].d = eax 0x14a2 51 if (esi == 0) then 25 @ 0x14b1 else 59 @ 0x14a9 0x120a 52 if (esi u>= 8) then 60 @ 0x1210 else 64 @ 0x120c 0x14d0 53 esi = [rsp + (rbp << 2) + 0x9c0].d 0x14d7 54 rdi = r14 0x14da 55 eax = 0 0x14dc 56 call(0x1030) 0x14e1 57 rbp = rbp + 1 0x14e8 58 if (rbx != rbp) then 53 @ 0x14d0 else 35 @ 0x14ea 0x14a9 59 if ([rsp + 4 {var_ea4_1}].d != 0) then 14 @ 0x11a0 else 25 @ 0x14b1 0x1210 60 eax = esi 0x1212 61 eax = eax & 0xfffffff8 0x1215 62 ecx = 0 0x1217 63 goto 66 @ 0x1220 0x120c 64 eax = 0 0x120e 65 goto 86 @ 0x127d 0x1220 66 xmm0 = rcx 0x1225 67 xmm1 = _mm_shuffle_epi32(xmm0, 0x44) 0x122a 68 xmm2 = xmm1 0x122e 69 xmm2 = xmm2 | xmm5 0x1232 70 xmm3 = xmm1 0x1236 71 xmm3 = xmm3 | xmm6 0x123a 72 xmm0 = xmm0 | xmm7 0x123e 73 xmm4 = xmm1 0x1242 74 xmm4 = xmm4 | xmm8 0x1247 75 xmm1 = _mm_add_epi64(xmm1, xmm9) 0x124c 76 xmm1.q = xmm0.q 0x1250 77 xmm4 = _mm_shuffle_ps(xmm4, xmm1, 0x88) 0x1254 78 rdx = xmm3.q 0x1259 79 xmm3 = _mm_shuffle_ps(xmm3, xmm2, 0x88) 0x125d 80 xmm0 = edx 0x1261 81 xmm3.d = xmm0.d 0x1265 82 [rsp + (rdx << 2) + 0x40].o = xmm3 0x126a 83 [rsp + (rdx << 2) + 0x50].o = xmm4 0x126f 84 rcx = rcx + 8 0x1276 85 if (rax != rcx) then 66 @ 0x1220 else 90 @ 0x127b 0x127d 86 rcx = rsi 0x1280 87 rcx = neg.q(rcx) 0x1283 88 rax = rax + 1 0x1287 89 goto 91 @ 0x1290 0x127b 90 if (rax == rsi) then 96 @ 0x12a9 else 86 @ 0x127d 0x1290 91 [rsp + (rax << 2) + 0x40].d = eax 0x1294 92 rdx = rcx + rax 0x1298 93 rdx = rdx + 1 0x129c 94 rax = rax + 1 0x12a4 95 if (rdx != 1) then 91 @ 0x1290 else 96 @ 0x12a9 0x12a9 96 if (esi s< 2) then 48 @ 0x1490 else 97 @ 0x12af 0x12af 97 eax = (rsi + 1).d 0x12b2 98 [rsp + 0x10 {var_e98_1}].d = eax 0x12b6 99 r15d = (rsi - 1).d 0x12ba 100 r13d = 1 0x12c0 101 r10d = esi 0x12c3 102 r14d = 0 0x12c6 103 [rsp + 0x28 {var_e80_1}].q = rsi 0x12cb 104 [rsp + 0x20 {var_e88_1}].q = r15 0x12d0 105 goto 106 @ 0x12ff 0x12ff 106 ebp = r15d 0x1302 107 ebp = ebp - r14d 0x1305 108 ebx = esi 0x1307 109 ebx = ebx - r13d 0x130a 110 ecx = (rbx + 1).d 0x130d 111 eax = [rsp + 4 {var_ea4_1}].d 0x1311 112 temp2.d:temp3.d = sx.q(eax) 0x1311 113 edx = temp2.d 0x1311 114 eax = temp3.d 0x1312 115 temp4.d = edx 0x1312 116 temp5.d = eax 0x1312 117 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x1312 118 temp6.d = edx 0x1312 119 temp7.d = eax 0x1312 120 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x1312 121 eax = temp0.d 0x1312 122 edx = temp1.d 0x1314 123 r12d = edx 0x1317 124 ecx = [rsp + 0x10 {var_e98_1}].d 0x131b 125 ecx = ecx - r13d 0x131e 126 ecx = ecx - r12d 0x1321 127 [rsp + 0x14 {var_e94_1}].d = ecx 0x1327 128 if (ecx s<= 0) then 129 @ 0x1358 else 130 @ 0x1329 0x1358 129 if (r12d s< 2) then 141 @ 0x1452 else 142 @ 0x135e 0x1329 130 rax = sx.q(r12d) 0x132c 131 rsi = rsp + (rax << 2) 0x1330 132 rsi = rsi + 0x44 0x1334 133 eax = ebp 0x1336 134 eax = eax - r12d 0x1339 135 rdx = (rax << 2) + 4 0x1341 136 rdi = rsp + 0x504 {var_9a4} 0x1349 137 r15d = r10d 0x134c 138 call(0x1040) 0x1351 139 r10d = r15d 0x1351 140 goto 129 @ 0x1358 0x1452 141 if (ebx s<= 0) then 146 @ 0x12e0 else 153 @ 0x1458 0x135e 142 eax = r12d 0x1361 143 r8 = rax - 1 0x1365 144 ecx = 1 0x136e 145 if (r8 u< 8) then 161 @ 0x1426 else 167 @ 0x1374 0x12e0 146 r13d = r13d + 1 0x12e4 147 r14 = r14 + 1 0x12e8 148 r10d = r10d - 1 0x12ec 149 r15 = [rsp + 0x20 {var_e88_1}].q 0x12f1 150 cond:1 = r14 == r15 0x12f4 151 rsi = [rsp + 0x28 {var_e80_1}].q 0x12f9 152 if (cond:1) then 48 @ 0x1490 else 106 @ 0x12ff 0x1458 153 rbp = rbp << 2 0x145c 154 rdi = rsp + 0x44 {var_e64} 0x1461 155 rsi = rsp + 0x504 {var_9a4} 0x1469 156 rdx = rbp 0x146c 157 ebx = r10d 0x146f 158 call(0x1040) 0x1474 159 r10d = ebx 0x1477 160 goto 146 @ 0x12e0 0x1426 161 edx = r10d 0x1429 162 edx = edx - r12d 0x142c 163 rdx = sx.q(edx) 0x142f 164 rdx = rsp + (rdx << 2) 0x1433 165 rdx = rdx + 0x500 0x143a 166 goto 174 @ 0x1440 0x1374 167 rcx = r8 0x1377 168 rcx = rcx & 0xfffffffffffffff8 0x137b 169 rdx = rcx - 8 0x137f 170 r9 = rdx 0x1382 171 r9 = r9 u>> 3 0x1386 172 r9 = r9 + 1 0x138d 173 if (rdx == 0) then 178 @ 0x147c else 180 @ 0x1393 0x1440 174 esi = [rsp + (rcx << 2) + 0x40].d 0x1444 175 [rdx + (rcx << 2)].d = esi 0x1447 176 rcx = rcx + 1 0x144e 177 if (rax != rcx) then 174 @ 0x1440 else 141 @ 0x1452 0x147c 178 edi = 0 0x1482 179 if ((r9b & 1) != 0) then 190 @ 0x13f7 else 198 @ 0x1488 0x1393 180 rsi = r9 0x1396 181 rsi = rsi & 0xfffffffffffffffe 0x139a 182 edx = r10d 0x139d 183 edx = edx - r12d 0x13a0 184 rdx = sx.q(edx) 0x13a3 185 rdi = rsp + 0x504 {var_9a4} 0x13ab 186 rdx = rdi + (rdx << 2) 0x13af 187 rdx = rdx + 0x30 0x13b3 188 edi = 0 0x13bf 189 goto 199 @ 0x13c0 0x13f7 190 rdx = sx.q([rsp + 0x14 {var_e94_1}].d) 0x13fc 191 rdi = rdi | 1 0x1400 192 xmm0 = [rsp + (rdi << 2) + 0x40].o 0x1405 193 xmm1 = [rsp + (rdi << 2) + 0x50].o 0x140a 194 rdi = rdi + rdx 0x140d 195 [rsp + (rdi << 2) + 0x500].o = xmm0 0x1415 196 [rsp + (rdi << 2) + 0x510].o = xmm1 0x1415 197 goto 211 @ 0x1420 0x1488 198 goto 211 @ 0x1420 0x13c0 199 xmm0 = [rsp + (rdi << 2) + 0x44].o 0x13c5 200 xmm1 = [rsp + (rdi << 2) + 0x54].o 0x13ca 201 [rdx + (rdi << 2) - 0x30].o = xmm0 0x13cf 202 [rdx + (rdi << 2) - 0x20].o = xmm1 0x13d4 203 xmm0 = [rsp + (rdi << 2) + 0x64].o 0x13d9 204 xmm1 = [rsp + (rdi << 2) + 0x74].o 0x13de 205 [rdx + (rdi << 2) - 0x10].o = xmm0 0x13e3 206 [rdx + (rdi << 2)].o = xmm1 0x13e7 207 rdi = rdi + 0x10 0x13eb 208 temp8.q = rsi 0x13eb 209 rsi = rsi - 2 0x13ef 210 if (temp8.q != 2) then 199 @ 0x13c0 else 212 @ 0x13f5 0x1420 211 if (r8 == rcx) then 141 @ 0x1452 else 213 @ 0x1422 0x13f5 212 if ((r9b & 1) == 0) then 211 @ 0x1420 else 190 @ 0x13f7 0x1422 213 rcx = rcx | 1 0x1422 214 goto 161 @ 0x1426 int64_t _fini(): 0x1504 0 rsp = rsp - 8 0x1508 1 rsp = rsp + 8 0x150c 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 {"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 - 0xfb8 0x115d 5 rdi = 0x2004 {"%d"} 0x1164 6 rsi = rsp + 0xc {var_fcc} 0x1169 7 eax = 0 0x116b 8 call(0x1040) 0x1170 9 rax = sx.q([rsp + 0xc {var_fcc}].d) 0x1179 10 if (rax s< 2) then 11 @ 0x11b5 else 13 @ 0x117b 0x11b5 11 rax = rax - 1 0x11b5 12 goto 17 @ 0x11b9 0x117b 13 rbx = rsp + 0x7e0 {var_7f8} 0x1183 14 r14 = 0x2007 {"%d "} 0x118a 15 ebp = 0 0x118c 16 goto 25 @ 0x1190 0x11b9 17 rsi = rsp + (rax << 2) 0x11bd 18 rsi = rsi + 0x7e0 0x11c4 19 rdi = 0x2004 {"%d"} 0x11cb 20 r15d = 0 0x11ce 21 eax = 0 0x11d0 22 call(0x1040) 0x11d5 23 eax = [rsp + 0xc {var_fcc}].d 0x11db 24 if (eax s<= 0) then 34 @ 0x12cb else 37 @ 0x11e4 0x1190 25 rdi = r14 0x1193 26 rsi = rbx 0x1196 27 eax = 0 0x1198 28 call(0x1040) 0x119d 29 rbp = rbp + 1 0x11a1 30 rax = sx.q([rsp + 0xc {var_fcc}].d) 0x11a6 31 rax = rax - 1 0x11aa 32 rbx = rbx + 4 0x11b1 33 if (rbp s< rax) then 25 @ 0x1190 else 38 @ 0x11b3 0x12cb 34 r15d = r15d - 1 0x12cf 35 r14d = r15d 0x12d2 36 goto 39 @ 0x1307 0x11e4 37 if (eax != 1) then 51 @ 0x132c else 56 @ 0x11ea 0x11b3 38 goto 17 @ 0x11b9 0x1307 39 rax = sx.q(r14d) 0x130a 40 esi = [rsp + (rax << 2) + 0x10].d 0x130e 41 rdi = 0x2004 {"%d"} 0x1315 42 eax = 0 0x1317 43 call(0x1030) 0x131c 44 eax = 0 0x131e 45 rsp = rsp + 0xfb8 0x1325 46 rbx = pop 0x1326 47 r14 = pop 0x1328 48 r15 = pop 0x132a 49 rbp = pop 0x132b 50 <return> jump(pop) 0x132c 51 edx = eax 0x132e 52 edx = edx & 0xfffffffe 0x1331 53 ecx = 0 0x1333 54 r15d = 0 0x1336 55 goto 59 @ 0x134d 0x11ea 56 ecx = 0 0x11ec 57 r15d = 0 0x11ec 58 goto 61 @ 0x11f1 0x134d 59 esi = [rsp + (rcx << 2) + 0x7e0].d 0x1358 60 if ((sil & 1) != 0) then 62 @ 0x1370 else 67 @ 0x135a 0x11f1 61 if ((al & 1) == 0) then 69 @ 0x120d else 70 @ 0x11f3 0x1370 62 r15 = sx.q(r15d) 0x1373 63 [rsp + (r15 << 2) + 0x10].d = esi 0x1378 64 r15d = r15d + 1 0x137c 65 esi = [rsp + (rcx << 2) + 0x7e4].d 0x1387 66 if ((sil & 1) == 0) then 72 @ 0x1340 else 74 @ 0x1389 0x135a 67 esi = [rsp + (rcx << 2) + 0x7e4].d 0x1365 68 if ((sil & 1) == 0) then 72 @ 0x1340 else 78 @ 0x1367 0x120d 69 if (r15d s<= 0) then 34 @ 0x12cb else 79 @ 0x1213 0x11f3 70 eax = [rsp + (rcx << 2) + 0x7e0].d 0x11fc 71 if ((al & 1) == 0) then 69 @ 0x120d else 83 @ 0x11fe 0x1340 72 rcx = rcx + 2 0x1347 73 if (rdx == rcx) then 61 @ 0x11f1 else 59 @ 0x134d 0x1389 74 r15 = sx.q(r15d) 0x138c 75 [rsp + (r15 << 2) + 0x10].d = esi 0x1391 76 r15d = r15d + 1 0x1395 77 goto 72 @ 0x1340 0x1367 78 goto 74 @ 0x1389 0x1213 79 r14d = (r15 - 1).d 0x1217 80 eax = 0 0x1219 81 ecx = r14d 0x121c 82 goto 87 @ 0x122f 0x11fe 83 r15 = sx.q(r15d) 0x1201 84 [rsp + (r15 << 2) + 0x10].d = eax 0x1206 85 r15d = r15d + 1 0x1206 86 goto 69 @ 0x120d 0x122f 87 edx = eax 0x1231 88 edx = not.d(edx) 0x1233 89 edx = edx + r15d 0x1238 90 if (edx s<= 0) then 91 @ 0x1220 else 94 @ 0x123a 0x1220 91 eax = eax + 1 0x1223 92 ecx = ecx - 1 0x1229 93 if (eax == r15d) then 98 @ 0x12d8 else 87 @ 0x122f 0x123a 94 r8d = r14d 0x123d 95 r8d = r8d - eax 0x1240 96 esi = [rsp + 0x10 {var_fc8}].d 0x1248 97 if (r8d != 1) then 99 @ 0x1250 else 103 @ 0x124a 0x12d8 98 if (r15d s< 2) then 39 @ 0x1307 else 105 @ 0x12da 0x1250 99 edi = ecx 0x1252 100 edi = edi & 0xfffffffe 0x1255 101 ebp = 0 0x1257 102 goto 109 @ 0x1270 0x124a 103 ebx = 0 0x124c 104 goto 111 @ 0x12ac 0x12da 105 ebp = r14d 0x12dd 106 r15 = 0x200b {"%d,"} 0x12e4 107 ebx = 0 0x12e6 108 goto 112 @ 0x12f0 0x1270 109 edx = [rsp + (rbp << 2) + 0x14].d 0x1276 110 if (esi s<= edx) then 118 @ 0x1290 else 122 @ 0x1278 0x12ac 111 if ((r8b & 1) == 0) then 91 @ 0x1220 else 127 @ 0x12b2 0x12f0 112 esi = [rsp + (rbx << 2) + 0x10].d 0x12f4 113 rdi = r15 0x12f7 114 eax = 0 0x12f9 115 call(0x1030) 0x12fe 116 rbx = rbx + 1 0x1305 117 if (rbp != rbx) then 112 @ 0x12f0 else 39 @ 0x1307 0x1290 118 esi = edx 0x1292 119 rbx = rbp + 2 0x1296 120 edx = [rsp + (rbp << 2) + 0x18].d 0x129c 121 if (esi s> edx) then 129 @ 0x1260 else 133 @ 0x129e 0x1278 122 [rsp + (rbp << 2) + 0x10].d = edx 0x127c 123 [rsp + (rbp << 2) + 0x14].d = esi 0x1280 124 rbx = rbp + 2 0x1284 125 edx = [rsp + (rbp << 2) + 0x18].d 0x128a 126 if (esi s> edx) then 129 @ 0x1260 else 136 @ 0x128c 0x12b2 127 edx = [rsp + (rbx << 2) + 0x14].d 0x12b8 128 if (esi s<= edx) then 91 @ 0x1220 else 137 @ 0x12be 0x1260 129 [rsp + (rbp << 2) + 0x14].d = edx 0x1264 130 [rsp + (rbp << 2) + 0x18].d = esi 0x1268 131 rbp = rbx 0x126e 132 if (rdi == rbx) then 111 @ 0x12ac else 109 @ 0x1270 0x129e 133 esi = edx 0x12a0 134 rbp = rbx 0x12a6 135 if (rdi != rbx) then 109 @ 0x1270 else 111 @ 0x12ac 0x128c 136 goto 133 @ 0x129e 0x12be 137 [rsp + (rbx << 2) + 0x10].d = edx 0x12c2 138 [rsp + (rbx << 2) + 0x14].d = esi 0x12c6 139 goto 91 @ 0x1220 int64_t _fini(): 0x139c 0 rsp = rsp - 8 0x13a0 1 rsp = rsp + 8 0x13a4 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 {"UHHp"} 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 - 0x9c70 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 [rbp - 0x9c5c {var_9c64}].d = 0 0x1169 7 goto 8 @ 0x117a 0x117a 8 if ([rbp - 0x9c5c {var_9c64}].d s> 4) then 9 @ 0x11f8 else 15 @ 0x1180 0x11f8 9 rdi = 0x2004 {"%d%d"} 0x11ff 10 rsi = rbp - 0x9c54 {var_9c5c} 0x1206 11 rdx = rbp - 0x9c58 {var_9c60} 0x120d 12 al = 0 0x120f 13 call(0x1040) 0x121b 14 if ([rbp - 0x9c54 {var_9c5c}].d s> 4) then 17 @ 0x13c8 else 21 @ 0x1228 0x1180 15 [rbp - 0x9c60 {var_9c68_1}].d = 0 0x1180 16 goto 22 @ 0x1191 0x13c8 17 rdi = 0x200f {"error"} 0x13cf 18 al = 0 0x13d1 19 call(0x1030) 0x13d1 20 goto 23 @ 0x13d6 0x1228 21 if ([rbp - 0x9c58 {var_9c60}].d s> 4) then 17 @ 0x13c8 else 27 @ 0x122e 0x1191 22 if ([rbp - 0x9c60 {var_9c68_1}].d s> 4) then 29 @ 0x11df else 30 @ 0x1197 0x13d6 23 eax = 0 0x13d8 24 rsp = rsp + 0x9c70 0x13df 25 rbp = pop 0x13e0 26 <return> jump(pop) 0x122e 27 eax = [rbp - 0x9c54 {var_9c5c}].d 0x123a 28 if (eax == [rbp - 0x9c58 {var_9c60}].d) then 17 @ 0x13c8 else 44 @ 0x1240 0x11df 29 goto 46 @ 0x11e4 0x1197 30 rax = sx.q([rbp - 0x9c5c {var_9c64}].d) 0x119e 31 rsi = rbp - 0x9c50 {var_9c58} 0x11a5 32 rax = rax * 0x190 0x11ac 33 rsi = rsi + rax 0x11af 34 rax = sx.q([rbp - 0x9c60 {var_9c68_1}].d) 0x11b6 35 rax = rax << 2 0x11ba 36 rsi = rsi + rax 0x11bd 37 rdi = 0x2006 {"%d"} 0x11c4 38 al = 0 0x11c6 39 call(0x1040) 0x11cb 40 eax = [rbp - 0x9c60 {var_9c68_1}].d 0x11d1 41 eax = eax + 1 0x11d4 42 [rbp - 0x9c60 {var_9c68_1}].d = eax 0x11da 43 goto 22 @ 0x1191 0x1240 44 [rbp - 0x9c60 {var_9c68_2}].d = 0 0x1240 45 goto 50 @ 0x1251 0x11e4 46 eax = [rbp - 0x9c5c {var_9c64}].d 0x11ea 47 eax = eax + 1 0x11ed 48 [rbp - 0x9c5c {var_9c64}].d = eax 0x11f3 49 goto 8 @ 0x117a 0x1251 50 if ([rbp - 0x9c60 {var_9c68_2}].d s>= 5) then 51 @ 0x12ff else 53 @ 0x1257 0x12ff 51 [rbp - 0x9c5c {var_9c64_1}].d = 0 0x12ff 52 goto 83 @ 0x1310 0x1257 53 rcx = sx.q([rbp - 0x9c54 {var_9c5c}].d) 0x125e 54 rax = rbp - 0x9c50 {var_9c58} 0x1265 55 rcx = rcx * 0x190 0x126c 56 rax = rax + rcx 0x126f 57 rcx = sx.q([rbp - 0x9c60 {var_9c68_2}].d) 0x1276 58 eax = [rax + (rcx << 2)].d 0x1279 59 [rbp - 0x9c64 {var_9c6c_1}].d = eax 0x127f 60 rcx = sx.q([rbp - 0x9c58 {var_9c60}].d) 0x1286 61 rax = rbp - 0x9c50 {var_9c58} 0x128d 62 rcx = rcx * 0x190 0x1294 63 rax = rax + rcx 0x1297 64 rcx = sx.q([rbp - 0x9c60 {var_9c68_2}].d) 0x129e 65 edx = [rax + (rcx << 2)].d 0x12a1 66 rcx = sx.q([rbp - 0x9c54 {var_9c5c}].d) 0x12a8 67 rax = rbp - 0x9c50 {var_9c58} 0x12af 68 rcx = rcx * 0x190 0x12b6 69 rax = rax + rcx 0x12b9 70 rcx = sx.q([rbp - 0x9c60 {var_9c68_2}].d) 0x12c0 71 [rax + (rcx << 2)].d = edx 0x12c3 72 edx = [rbp - 0x9c64 {var_9c6c_1}].d 0x12c9 73 rcx = sx.q([rbp - 0x9c58 {var_9c60}].d) 0x12d0 74 rax = rbp - 0x9c50 {var_9c58} 0x12d7 75 rcx = rcx * 0x190 0x12de 76 rax = rax + rcx 0x12e1 77 rcx = sx.q([rbp - 0x9c60 {var_9c68_2}].d) 0x12e8 78 [rax + (rcx << 2)].d = edx 0x12eb 79 eax = [rbp - 0x9c60 {var_9c68_2}].d 0x12f1 80 eax = eax + 1 0x12f4 81 [rbp - 0x9c60 {var_9c68_2}].d = eax 0x12fa 82 goto 50 @ 0x1251 0x1310 83 if ([rbp - 0x9c5c {var_9c64_1}].d s>= 5) then 84 @ 0x13c3 else 85 @ 0x1316 0x13c3 84 goto 23 @ 0x13d6 0x1316 85 [rbp - 0x9c60 {var_9c68_3}].d = 0 0x1316 86 goto 87 @ 0x1327 0x1327 87 if ([rbp - 0x9c60 {var_9c68_3}].d s>= 4) then 88 @ 0x1371 else 104 @ 0x132d 0x1371 88 rcx = sx.q([rbp - 0x9c5c {var_9c64_1}].d) 0x1378 89 rax = rbp - 0x9c50 {var_9c58} 0x137f 90 rcx = rcx * 0x190 0x1386 91 rax = rax + rcx 0x1389 92 rcx = sx.q([rbp - 0x9c60 {var_9c68_3}].d) 0x1390 93 esi = [rax + (rcx << 2)].d 0x1393 94 rdi = 0x2006 {"%d"} 0x139a 95 al = 0 0x139c 96 call(0x1030) 0x13a1 97 rdi = 0x200d {"\n"} 0x13a8 98 al = 0 0x13aa 99 call(0x1030) 0x13af 100 eax = [rbp - 0x9c5c {var_9c64_1}].d 0x13b5 101 eax = eax + 1 0x13b8 102 [rbp - 0x9c5c {var_9c64_1}].d = eax 0x13be 103 goto 83 @ 0x1310 0x132d 104 rcx = sx.q([rbp - 0x9c5c {var_9c64_1}].d) 0x1334 105 rax = rbp - 0x9c50 {var_9c58} 0x133b 106 rcx = rcx * 0x190 0x1342 107 rax = rax + rcx 0x1345 108 rcx = sx.q([rbp - 0x9c60 {var_9c68_3}].d) 0x134c 109 esi = [rax + (rcx << 2)].d 0x134f 110 rdi = 0x2009 {"%d "} 0x1356 111 al = 0 0x1358 112 call(0x1030) 0x135d 113 eax = [rbp - 0x9c60 {var_9c68_3}].d 0x1363 114 eax = eax + 1 0x1366 115 [rbp - 0x9c60 {var_9c68_3}].d = eax 0x136c 116 goto 87 @ 0x1327 int64_t _fini(): 0x13e8 0 rsp = rsp - 8 0x13ec 1 rsp = rsp + 8 0x13f0 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) 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 {"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 - 0xfb8 0x1171 7 rdi = 0x2010 {"%d"} 0x1178 8 rsi = rsp + 4 {var_fe4} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 4 {var_fe4}].d s<= 0) then 12 @ 0x1351 else 21 @ 0x118f 0x1351 12 eax = 0 0x1353 13 rsp = rsp + 0xfb8 0x135a 14 rbx = pop 0x135b 15 r12 = pop 0x135d 16 r13 = pop 0x135f 17 r14 = pop 0x1361 18 r15 = pop 0x1363 19 rbp = pop 0x1364 20 <return> jump(pop) 0x118f 21 r14 = 0x2010 {"%d"} 0x1196 22 r15 = 0x2013 {"%lf"} 0x119d 23 ebp = 0 0x119f 24 goto 25 @ 0x11d0 0x11d0 25 r12 = rsp + (rbp << 2) 0x11d4 26 r12 = r12 + 0x650 0x11db 27 rdi = r14 0x11de 28 rsi = r12 0x11e1 29 eax = 0 0x11e3 30 call(0x1040) 0x11e8 31 eax = [rsp + (rbp << 2) + 0x650].d 0x11f1 32 if (eax s<= 0) then 33 @ 0x1260 else 36 @ 0x11f3 0x1260 33 xmm1 = 0 0x1263 34 xmm1.q = float.d(eax) 0x1263 35 goto 40 @ 0x1267 0x11f3 36 xmm4 = 0 0x11f6 37 rbx = rsp + 0x10 {var_fd8} 0x11fb 38 r13d = 0 0x11fe 39 goto 42 @ 0x1200 0x1267 40 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x126b 41 goto 53 @ 0x12fa 0x1200 42 [rsp + 8 {var_fe0_1}].q = xmm4.q 0x1206 43 rdi = r15 0x1209 44 rsi = rbx 0x120c 45 eax = 0 0x120e 46 call(0x1040) 0x1213 47 xmm4 = zx.o([rsp + 8 {var_fe0_1}].q) 0x1219 48 xmm4.q = xmm4.q f+ fconvert.t([rbx].q) 0x121d 49 r13 = r13 + 1 0x1221 50 rax = sx.q([r12].d) 0x1225 51 rbx = rbx + 8 0x122c 52 if (r13 s< rax) then 42 @ 0x1200 else 61 @ 0x122e 0x12fa 53 xmm0.q = xmm0.q f/ xmm1.q 0x12fe 54 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12fe 55 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12fe 56 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12fe 57 flag:s = 0 0x12fe 58 flag:o = 0 0x12fe 59 flag:a = 0 0x1306 60 if (flag:c) then 65 @ 0x11b0 else 67 @ 0x130c 0x122e 61 ecx = eax 0x1230 62 xmm1 = 0 0x1233 63 xmm1.q = float.d(ecx) 0x1239 64 if (ecx s<= 0) then 40 @ 0x1267 else 69 @ 0x123b 0x11b0 65 call(0x1050) 0x11b0 66 goto 74 @ 0x11b5 0x130c 67 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1310 68 goto 74 @ 0x11b5 0x123b 69 xmm4.q = xmm4.q f/ xmm1.q 0x123f 70 rdx = rcx - 1 0x1243 71 eax = ecx 0x1245 72 eax = eax & 3 0x124c 73 if (rdx u>= 3) then 78 @ 0x1270 else 82 @ 0x124e 0x11b5 74 [rsp + (rbp << 3) + 0x970].q = xmm0.q 0x11be 75 rbp = rbp + 1 0x11c2 76 rax = sx.q([rsp + 4 {var_fe4}].d) 0x11ca 77 if (rbp s>= rax) then 85 @ 0x1317 else 25 @ 0x11d0 0x1270 78 ecx = ecx & 0xfffffffc 0x1273 79 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1277 80 edx = 0 0x1279 81 goto 86 @ 0x1280 0x124e 82 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1252 83 edx = 0 0x1254 84 goto 104 @ 0x12d4 0x1317 85 if (eax s<= 0) then 12 @ 0x1351 else 105 @ 0x1319 0x1280 86 xmm2 = zx.o([rsp + (rdx << 3) + 0x10].q) 0x1286 87 xmm3 = zx.o([rsp + (rdx << 3) + 0x18].q) 0x128c 88 xmm2.q = xmm2.q f- xmm4.q 0x1290 89 xmm2.q = xmm2.q f* xmm2.q 0x1294 90 xmm2.q = xmm2.q f+ xmm0.q 0x1298 91 xmm3.q = xmm3.q f- xmm4.q 0x129c 92 xmm3.q = xmm3.q f* xmm3.q 0x12a0 93 xmm3.q = xmm3.q f+ xmm2.q 0x12a4 94 xmm2 = zx.o([rsp + (rdx << 3) + 0x20].q) 0x12aa 95 xmm2.q = xmm2.q f- xmm4.q 0x12ae 96 xmm2.q = xmm2.q f* xmm2.q 0x12b2 97 xmm2.q = xmm2.q f+ xmm3.q 0x12b6 98 xmm0 = zx.o([rsp + (rdx << 3) + 0x28].q) 0x12bc 99 xmm0.q = xmm0.q f- xmm4.q 0x12c0 100 xmm0.q = xmm0.q f* xmm0.q 0x12c4 101 xmm0.q = xmm0.q f+ xmm2.q 0x12c8 102 rdx = rdx + 4 0x12cf 103 if (rcx != rdx) then 86 @ 0x1280 else 104 @ 0x12d4 0x12d4 104 if (rax == 0) then 53 @ 0x12fa else 108 @ 0x12d6 0x1319 105 ebp = 0 0x131b 106 rbx = 0x2017 {"%.5lf\n"} 0x132c 107 goto 112 @ 0x1330 0x12d6 108 rcx = rsp + (rdx << 3) 0x12da 109 rcx = rcx + 0x10 0x12de 110 edx = 0 0x12de 111 goto 119 @ 0x12e0 0x1330 112 xmm0 = zx.o([rsp + (rbp << 3) + 0x970].q) 0x1339 113 rdi = rbx 0x133c 114 al = 1 0x133e 115 call(0x1030) 0x1343 116 rbp = rbp + 1 0x1347 117 rax = sx.q([rsp + 4 {var_fe4}].d) 0x134f 118 if (rbp s< rax) then 112 @ 0x1330 else 12 @ 0x1351 0x12e0 119 xmm2 = zx.o([rcx + (rdx << 3)].q) 0x12e5 120 xmm2.q = xmm2.q f- xmm4.q 0x12e9 121 xmm2.q = xmm2.q f* xmm2.q 0x12ed 122 xmm0.q = xmm0.q f+ xmm2.q 0x12f1 123 rdx = rdx + 1 0x12f8 124 if (rax != rdx) then 119 @ 0x12e0 else 53 @ 0x12fa int64_t _fini(): 0x136c 0 rsp = rsp - 8 0x1370 1 rsp = rsp + 8 0x1374 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) 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 {"UAWAVAUATSPH="} 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 push(rax) 0x117b 7 rdi = 0x2004 {"%d"} 0x1182 8 rsi = 0x4060 {""} 0x1189 9 r13d = 0 0x118c 10 eax = 0 0x118e 11 call(0x1050) 0x1193 12 rdi = 0x2007 {"%s"} 0x119a 13 r12 = 0x4070 {""} 0x11a1 14 rsi = r12 0x11a4 15 eax = 0 0x11a6 16 call(0x1050) 0x11ab 17 rdi = r12 0x11ae 18 call(0x1040) 0x11b3 19 r14 = rax 0x11b6 20 eax = [0x4060].d 0x11bf 21 if (eax s<= r14d) then 22 @ 0x11de else 26 @ 0x11c5 0x11de 22 ecx = 0 0x11e0 23 r8 = 0x6780 {""} 0x11e7 24 r13d = 0 0x11ea 25 goto 27 @ 0x11fc 0x11c5 26 if (r13d != 1) then 30 @ 0x124e else 35 @ 0x11cb 0x11fc 27 esi = [r8 + (rcx << 2)].d 0x1200 28 rdi = rcx 0x1203 29 goto 39 @ 0x122c 0x124e 30 rdi = 0x2004 {"%d"} 0x1255 31 esi = r13d 0x1258 32 eax = 0 0x125a 33 call(0x1030) 0x1262 34 if (r14d s<= 0) then 40 @ 0x12d0 else 49 @ 0x1264 0x11cb 35 rdi = 0x200a {"NO"} 0x11d2 36 eax = 0 0x11d4 37 call(0x1030) 0x11d9 38 goto 40 @ 0x12d0 0x122c 39 if (eax s<= 0) then 53 @ 0x1210 else 56 @ 0x122e 0x12d0 40 eax = 0 0x12d2 41 rsp = rsp + 8 0x12d6 42 rbx = pop 0x12d7 43 r12 = pop 0x12d9 44 r13 = pop 0x12db 45 r14 = pop 0x12dd 46 r15 = pop 0x12df 47 rbp = pop 0x12e0 48 <return> jump(pop) 0x1264 49 r14d = r14d 0x1267 50 r15d = 0 0x126a 51 rbx = 0x6780 {""} 0x1271 52 goto 58 @ 0x128d 0x1210 53 esi = esi + 1 0x1213 54 [r8 + (rcx << 2)].d = esi 0x1213 55 goto 59 @ 0x121a 0x122e 56 edx = 0 0x122e 57 goto 60 @ 0x1230 0x128d 58 if ([rbx + (r15 << 2)].d != r13d) then 64 @ 0x1280 else 66 @ 0x128f 0x121a 59 if (esi s> r13d) then 69 else 71 @ 0x121e 0x1230 60 rbp = rcx + rdx 0x1234 61 ebx = zx.d([r12 + rbp].b) 0x1239 62 rbp = rdi + rdx 0x1241 63 if (bl != [r12 + rbp].b) then 59 @ 0x121a else 74 @ 0x1243 0x1280 64 r15 = r15 + 1 0x1287 65 if (r15 == r14) then 40 @ 0x12d0 else 58 @ 0x128d 0x128f 66 edi = 0xa {""} 0x1294 67 call(0x1060) 0x12a0 68 if ([0x4060].d s<= 0) then 64 @ 0x1280 else 76 @ 0x12a2 0x121a 69 r13d = esi 0x121a 70 goto 71 @ 0x121e 0x121e 71 rdi = rdi + 1 0x1222 72 edx = (rdi + rax).d 0x1228 73 if (edx s> r14d) then 78 @ 0x11f0 else 39 @ 0x122c 0x1243 74 rdx = rdx + 1 0x124a 75 if (rax != rdx) then 60 @ 0x1230 else 81 @ 0x124c 0x12a2 76 ebp = 0 0x12ae 77 goto 82 @ 0x12b0 0x11f0 78 rcx = rcx + 1 0x11f4 79 edx = (rcx + rax).d 0x11fa 80 if (edx s> r14d) then 26 @ 0x11c5 else 27 @ 0x11fc 0x124c 81 goto 53 @ 0x1210 0x12b0 82 rax = r15 + rbp 0x12b4 83 edi = sx.d([r12 + rax].b) 0x12b9 84 call(0x1060) 0x12be 85 rbp = rbp + 1 0x12c2 86 rax = sx.q([0x4060].d) 0x12cc 87 if (rbp s< rax) then 82 @ 0x12b0 else 88 @ 0x12ce 0x12ce 88 goto 64 @ 0x1280 int64_t _fini(): 0x12e8 0 rsp = rsp - 8 0x12ec 1 rsp = rsp + 8 0x12f0 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 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 {"UAWAVSH8"} 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 - 0x138 0x116d 5 ebp = 0 0x116f 6 rbx = rsp {var_158} 0x1172 7 rdi = rbx {var_158} 0x1175 8 eax = 0 0x1177 9 call(0x1050) 0x117c 10 rdi = rbx {var_158} 0x117f 11 call(0x1040) 0x1184 12 r15 = rax 0x118a 13 if (r15d s<= 0) then 14 @ 0x11bd else 18 @ 0x118c 0x11bd 14 rdi = 0x2004 {"No"} 0x11c4 15 eax = 0 0x11c6 16 call(0x1030) 0x11c6 17 goto 22 @ 0x11cb 0x118c 18 eax = r15d 0x118f 19 ecx = 1 0x1194 20 edx = 0 0x1196 21 goto 26 @ 0x11a0 0x11cb 22 ebx = r15d 0x11ce 23 ebp = 0x41 {""} 0x11d3 24 r14 = 0x2007 {"%c=%d\n"} 0x11da 25 goto 30 @ 0x11e8 0x11a0 26 ebx = zx.d([rsp + rdx].b) 0x11a4 27 bl = bl & 0xdf 0x11a7 28 bl = bl - 0x41 0x11ad 29 if (bl u< 0x1a) then 32 else 34 @ 0x11b0 0x11e8 30 edx = 0 0x11f0 31 if (r15d s<= 0) then 36 @ 0x1219 else 37 @ 0x11f2 0x11ad 32 ebp = ecx 0x11ad 33 goto 34 @ 0x11b0 0x11b0 34 rdx = rdx + 1 0x11b7 35 if (rax != rdx) then 26 @ 0x11a0 else 40 @ 0x11bb 0x1219 36 if (edx == 0) then 41 @ 0x11e0 else 43 @ 0x121b 0x11f2 37 eax = 0 0x11f4 38 edx = 0 0x11f6 39 goto 48 @ 0x1200 0x11bb 40 if (ebp != 0) then 22 @ 0x11cb else 14 @ 0x11bd 0x11e0 41 ebp = ebp + 1 0x11e6 42 if (ebp == 0x5b) then 54 @ 0x1229 else 30 @ 0x11e8 0x121b 43 rdi = r14 0x121e 44 esi = ebp 0x1220 45 eax = 0 0x1222 46 call(0x1030) 0x1227 47 goto 41 @ 0x11e0 0x1200 48 ecx = sx.d([rsp + rax].b) 0x1204 49 esi = 0 0x1208 50 sil = ebp == ecx 0x120c 51 edx = edx + esi 0x120e 52 rax = rax + 1 0x1215 53 if (rbx != rax) then 48 @ 0x1200 else 36 @ 0x1219 0x1229 54 ebx = r15d 0x122c 55 ebp = 0x61 {""} 0x1231 56 r14 = 0x2007 {"%c=%d\n"} 0x1238 57 goto 58 @ 0x1248 0x1248 58 edx = 0 0x1250 59 if (r15d s<= 0) then 60 @ 0x1279 else 61 @ 0x1252 0x1279 60 if (edx == 0) then 64 @ 0x1240 else 66 @ 0x127b 0x1252 61 eax = 0 0x1254 62 edx = 0 0x1256 63 goto 71 @ 0x1260 0x1240 64 ebp = ebp + 1 0x1246 65 if (ebp == 0x7b) then 77 @ 0x1289 else 58 @ 0x1248 0x127b 66 rdi = r14 0x127e 67 esi = ebp 0x1280 68 eax = 0 0x1282 69 call(0x1030) 0x1287 70 goto 64 @ 0x1240 0x1260 71 ecx = sx.d([rsp + rax].b) 0x1264 72 esi = 0 0x1268 73 sil = ebp == ecx 0x126c 74 edx = edx + esi 0x126e 75 rax = rax + 1 0x1275 76 if (rbx != rax) then 71 @ 0x1260 else 60 @ 0x1279 0x1289 77 rsp = rsp + 0x138 0x1290 78 rbx = pop 0x1291 79 r14 = pop 0x1293 80 r15 = pop 0x1295 81 rbp = pop 0x1296 82 <return> jump(pop) int64_t _fini(): 0x129c 0 rsp = rsp - 8 0x12a0 1 rsp = rsp + 8 0x12a4 2 <return> jump(pop)
POJ_100
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) 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 - 0x1c8 0x1181 7 xmm0 = 0 0x1184 8 [rsp + 0x60 {var_198}].o = xmm0 0x1189 9 [rsp + 0x50 {var_1a8}].o = xmm0 0x118e 10 [rsp + 0x40 {var_1b8}].o = xmm0 0x1193 11 [rsp + 0x30 {var_1c8}].o = xmm0 0x1198 12 [rsp + 0x20 {var_1d8}].o = xmm0 0x119d 13 [rsp + 0x10 {var_1e8}].o = xmm0 0x11a2 14 [rsp + 0x70 {var_188}].d = 0 0x11aa 15 [rsp + 0x140 {var_b8}].o = xmm0 0x11b2 16 [rsp + 0x130 {var_c8}].o = xmm0 0x11ba 17 [rsp + 0x120 {var_d8}].o = xmm0 0x11c2 18 [rsp + 0x110 {var_e8}].o = xmm0 0x11ca 19 [rsp + 0x100 {var_f8}].o = xmm0 0x11d2 20 [rsp + 0xf0 {var_108}].o = xmm0 0x11da 21 [rsp + 0x150 {var_a8}].d = 0 0x11e5 22 [rsp + 0x1b0 {var_48}].o = xmm0 0x11ed 23 [rsp + 0x1a0 {var_58}].o = xmm0 0x11f5 24 [rsp + 0x190 {var_68}].o = xmm0 0x11fd 25 [rsp + 0x180 {var_78}].o = xmm0 0x1205 26 [rsp + 0x170 {var_88}].o = xmm0 0x120d 27 [rsp + 0x160 {var_98}].o = xmm0 0x1215 28 [rsp + 0x1c0 {var_38}].d = 0 0x1220 29 [rsp + 0xd0 {var_128}].o = xmm0 0x1228 30 [rsp + 0xc0 {var_138}].o = xmm0 0x1230 31 [rsp + 0xb0 {var_148}].o = xmm0 0x1238 32 [rsp + 0xa0 {var_158}].o = xmm0 0x1240 33 [rsp + 0x90 {var_168}].o = xmm0 0x1248 34 [rsp + 0x80 {var_178}].o = xmm0 0x1250 35 [rsp + 0xe0 {var_118}].d = 0 0x125b 36 r12 = rsp + 0x10 {var_1e8} 0x1260 37 rdi = r12 {var_1e8} 0x1263 38 eax = 0 0x1265 39 call(0x1050) 0x126a 40 r14 = rsp + 0xf0 {var_108} 0x1272 41 rdi = r14 {var_108} 0x1275 42 eax = 0 0x1277 43 call(0x1050) 0x127c 44 r15 = rsp + 0x160 {var_98} 0x1284 45 rdi = r15 {var_98} 0x1287 46 eax = 0 0x1289 47 call(0x1050) 0x128e 48 rdi = r14 {var_108} 0x1291 49 call(0x1040) 0x1296 50 r13 = rax 0x1299 51 rdi = r15 {var_98} 0x129c 52 call(0x1040) 0x12a1 53 r8b = [rsp + 0x10 {var_1e8}].b 0x12a9 54 if (r8b == 0) then 55 @ 0x13c3 else 66 @ 0x12af 0x13c3 55 rdi = rsp + 0x80 {var_178} 0x13cb 56 eax = 0 0x13cd 57 call(0x1060) 0x13d2 58 rsp = rsp + 0x1c8 0x13d9 59 rbx = pop 0x13da 60 r12 = pop 0x13dc 61 r13 = pop 0x13de 62 r14 = pop 0x13e0 63 r15 = pop 0x13e2 64 rbp = pop 0x13e3 65 <return> jump(pop) 0x12af 66 r14b = [rsp + 0xf0 {var_108}].b 0x12b7 67 r11 = sx.q(r13d) 0x12bc 68 if (eax s<= 0) then 69 @ 0x13e4 else 74 @ 0x12c2 0x13e4 69 r15d = r13d 0x13e7 70 r15d = r15d - eax 0x13ea 71 temp0.d = r13d 0x13ea 72 cond:0 = temp0.d == 0 0x13ed 73 if (temp0.d s<= 0) then 85 @ 0x148d else 86 @ 0x13f3 0x12c2 74 rcx = rsp + 0x10 {var_1e8} 0x12c7 75 edx = eax 0x12c9 76 [rsp + 8 {var_1f0_1}].q = rdx 0x12ce 77 r12d = r13d 0x12d1 78 dl = [rsp + 0xf0 {var_108}].b 0x12d8 79 [rsp + 7 {var_1f1_1}].b = dl 0x12dc 80 r12 = r12 - 1 0x12e0 81 r15d = 0 0x12e3 82 ebp = 0 0x12e5 83 [rsp + 6 {var_1f2_1}].b = r14b 0x12ea 84 goto 93 @ 0x12f3 0x148d 85 if (cond:0) then 94 @ 0x14bc else 97 @ 0x148f 0x13f3 86 rsi = rsp + 0x10 {var_1e8} 0x13f8 87 r10d = r13d 0x13fb 88 r9b = [rsp + 0xf0 {var_108}].b 0x1403 89 r10 = r10 - 1 0x1407 90 edi = 0 0x1409 91 ebp = 0 0x140b 92 goto 99 @ 0x1439 0x12f3 93 if (r8b != r14b) then 100 @ 0x1390 else 105 @ 0x12f9 0x14bc 94 ecx = 0 0x14be 95 edx = 0 0x14c0 96 goto 108 @ 0x14fe 0x148f 97 ecx = 0 0x149b 98 goto 109 @ 0x14a0 0x1439 99 if (r8b != r14b) then 113 @ 0x1410 else 118 @ 0x143b 0x1390 100 rcx = sx.q(r15d) 0x1393 101 [rsp + rcx + 0x80].b = r8b 0x139b 102 edx = 1 0x13a0 103 ecx = 1 0x13a0 104 goto 121 @ 0x13a5 0x12f9 105 temp1.d = ebp 0x12f9 106 cond:1 = temp1.d != 0 0x12fb 107 if (temp1.d s<= 0) then 128 @ 0x1301 else 129 @ 0x12fd 0x14fe 108 if (r8b != r14b) then 131 @ 0x14d0 else 136 @ 0x1500 0x14a0 109 [rsp + rcx + 0x80].b = r8b 0x14a8 110 r8d = zx.d([rsp + rcx + 0x11].b) 0x14ae 111 rcx = rcx + 1 0x14b5 112 if (r8b != 0) then 109 @ 0x14a0 else 139 @ 0x14b7 0x1410 113 rdi = sx.q(edi) 0x1413 114 [rsp + rdi + 0x80].b = r8b 0x141b 115 edi = edi + 1 0x141e 116 ebp = ebp + 1 0x141e 117 goto 140 @ 0x1421 0x143b 118 temp2.d = ebp 0x143b 119 cond:2 = temp2.d == 0 0x143d 120 if (temp2.d s<= 0) then 145 @ 0x140d else 146 @ 0x1443 0x13a5 121 ebp = ebp + edx 0x13a7 122 r15d = r15d + ecx 0x13aa 123 rdx = sx.q(ebp) 0x13ad 124 rcx = rsp + rdx 0x13b1 125 rcx = rcx + 0x10 0x13b5 126 r8b = [rsp + rdx + 0x10].b 0x13bd 127 if (r8b != 0) then 93 @ 0x12f3 else 55 @ 0x13c3 0x1301 128 if (cond:1) then 100 @ 0x1390 else 147 @ 0x130c 0x12fd 129 cond:1 = [rcx - 1].b != 0x20 0x12fd 130 goto 128 @ 0x1301 0x14d0 131 rcx = sx.q(ecx) 0x14d3 132 [rsp + rcx + 0x80].b = r8b 0x14db 133 ecx = ecx + 1 0x14de 134 edx = edx + 1 0x14de 135 goto 148 @ 0x14e1 0x1500 136 temp3.d = edx 0x1500 137 cond:3 = temp3.d == 0 0x1502 138 if (temp3.d s<= 0) then 153 @ 0x14c2 else 154 @ 0x150a 0x14b7 139 goto 55 @ 0x13c3 0x1421 140 rax = sx.q(ebp) 0x1424 141 rsi = rsp + rax 0x1428 142 rsi = rsi + 0x10 0x142c 143 r8b = [rsp + rax + 0x10].b 0x1434 144 if (r8b == 0) then 55 @ 0x13c3 else 99 @ 0x1439 0x140d 145 if (cond:2) then 155 @ 0x144a else 156 @ 0x140f 0x1443 146 if ([rsi - 1].b != 0x20) then 113 @ 0x1410 else 155 @ 0x144a 0x130c 147 if (([rcx + r11].b & 0xdf) != 0) then 100 @ 0x1390 else 157 @ 0x1315 0x14e1 148 rax = sx.q(edx) 0x14e4 149 r12 = rsp + rax 0x14e8 150 r12 = r12 + 0x10 0x14ec 151 r8d = zx.d([rsp + rax + 0x10].b) 0x14f5 152 if (r8b == 0) then 55 @ 0x13c3 else 108 @ 0x14fe 0x14c2 153 if (cond:3) then 158 @ 0x1511 else 159 @ 0x14ce 0x150a 154 if ([r12 - 1].b != 0x20) then 131 @ 0x14d0 else 158 @ 0x1511 0x144a 155 if (([rsi + r11].b & 0xdf) != 0) then 113 @ 0x1410 else 160 @ 0x144f 0x140f 156 goto 113 @ 0x1410 0x1315 157 if (r13d s<= 0) then 161 @ 0x137d else 163 @ 0x131c 0x1511 158 if (([r12 + r11].b & 0xdf) != 0) then 131 @ 0x14d0 else 164 @ 0x1513 0x14ce 159 goto 131 @ 0x14d0 0x144f 160 if (r14b != r9b) then 166 @ 0x1481 else 168 @ 0x1451 0x137d 161 edx = 0 0x1382 162 if (edx == r13d) then 170 @ 0x133f else 186 @ 0x138e 0x131c 163 if (r14b != [rsp + 7 {var_1f1_1}].b) then 161 @ 0x137d else 187 @ 0x131e 0x1513 164 edx = edx + r15d 0x1516 165 goto 148 @ 0x14e1 0x1481 166 edx = 0 0x1486 167 if (edx != r13d) then 113 @ 0x1410 else 189 @ 0x1488 0x1451 168 ecx = 0 0x145d 169 goto 191 @ 0x1463 0x133f 170 rcx = sx.q(r15d) 0x1342 171 r14 = r13 0x1345 172 r13 = rax 0x1348 173 rdi = rsp + rcx 0x134c 174 rdi = rdi + 0x80 0x1353 175 rsi = rsp + 0x160 {var_98} 0x135b 176 rdx = [rsp + 8 {var_1f0_1}].q 0x1360 177 rbx = r11 0x1363 178 call(0x1030) 0x1368 179 rax = r13 0x136b 180 r13 = r14 0x136e 181 r14b = [rsp + 6 {var_1f2_1}].b 0x1373 182 r11 = rbx 0x1376 183 edx = r13d 0x1379 184 ecx = eax 0x137b 185 goto 121 @ 0x13a5 0x138e 186 goto 100 @ 0x1390 0x131e 187 esi = 0 0x131e 188 goto 192 @ 0x1323 0x1488 189 ebp = ebp + r15d 0x148b 190 goto 140 @ 0x1421 0x1463 191 if (r10 == rcx) then 189 @ 0x1488 else 193 @ 0x1465 0x1323 192 if (r12 == rsi) then 170 @ 0x133f else 198 @ 0x1325 0x1465 193 ebx = zx.d([rsi + rcx + 1].b) 0x146a 194 rdx = rcx + 1 0x146e 195 cond:5 = bl == [rsp + rcx + 0xf1].b 0x1475 196 rcx = rdx 0x1478 197 if (cond:5) then 191 @ 0x1463 else 203 @ 0x147d 0x1325 198 ebx = zx.d([rcx + rsi + 1].b) 0x132a 199 rdx = rsi + 1 0x132e 200 cond:4 = bl == [rsp + rsi + 0xf1].b 0x1335 201 rsi = rdx 0x1338 202 if (cond:4) then 192 @ 0x1323 else 204 @ 0x133d 0x147d 203 if (edx != r13d) then 113 @ 0x1410 else 205 @ 0x147f 0x133d 204 if (edx != r13d) then 100 @ 0x1390 else 170 @ 0x133f 0x147f 205 goto 189 @ 0x1488 int64_t _fini(): 0x151c 0 rsp = rsp - 8 0x1520 1 rsp = rsp + 8 0x1524 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 {"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 - 0x1f60 0x115b 3 rdi = 0x2004 {"%d %d"} 0x1162 4 rsi = rbp - 0xc {var_14} 0x1166 5 rdx = rbp - 0x10 {var_18} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1171 8 [rbp - 4 {var_c}].d = 0 0x1171 9 goto 10 @ 0x1178 0x1178 10 eax = [rbp - 4 {var_c}].d 0x117e 11 if (eax s>= [rbp - 0xc {var_14}].d) then 12 @ 0x11b2 else 14 @ 0x1184 0x11b2 12 [rbp - 4 {var_c_1}].d = 0 0x11b2 13 goto 25 @ 0x11b9 0x1184 14 rax = sx.q([rbp - 4 {var_c}].d) 0x1188 15 rsi = rbp - 0xfc0 {var_fc8} 0x118f 16 rax = rax << 2 0x1193 17 rsi = rsi + rax 0x1196 18 rdi = 0x2007 {"%d"} 0x119d 19 al = 0 0x119f 20 call(0x1040) 0x11a4 21 eax = [rbp - 4 {var_c}].d 0x11a7 22 eax = eax + 1 0x11aa 23 [rbp - 4 {var_c}].d = eax 0x11ad 24 goto 10 @ 0x1178 0x11b9 25 eax = [rbp - 4 {var_c_1}].d 0x11bf 26 if (eax s>= [rbp - 0x10 {var_18}].d) then 27 @ 0x11f3 else 29 @ 0x11c5 0x11f3 27 [rbp - 8 {var_10}].d = 0 0x11f3 28 goto 40 @ 0x11fa 0x11c5 29 rax = sx.q([rbp - 4 {var_c_1}].d) 0x11c9 30 rsi = rbp - 0x1f60 {var_1f68} 0x11d0 31 rax = rax << 2 0x11d4 32 rsi = rsi + rax 0x11d7 33 rdi = 0x2007 {"%d"} 0x11de 34 al = 0 0x11e0 35 call(0x1040) 0x11e5 36 eax = [rbp - 4 {var_c_1}].d 0x11e8 37 eax = eax + 1 0x11eb 38 [rbp - 4 {var_c_1}].d = eax 0x11ee 39 goto 25 @ 0x11b9 0x11fa 40 eax = [rbp - 8 {var_10}].d 0x11fd 41 ecx = [rbp - 0xc {var_14}].d 0x1200 42 ecx = ecx - 1 0x1205 43 if (eax s>= ecx) then 44 @ 0x12a7 else 46 @ 0x120b 0x12a7 44 [rbp - 8 {var_10_1}].d = 0 0x12a7 45 goto 48 @ 0x12ae 0x120b 46 [rbp - 4 {var_c_2}].d = 0 0x120b 47 goto 52 @ 0x1212 0x12ae 48 eax = [rbp - 8 {var_10_1}].d 0x12b1 49 ecx = [rbp - 0x10 {var_18}].d 0x12b4 50 ecx = ecx - 1 0x12b9 51 if (eax s>= ecx) then 57 @ 0x135b else 59 @ 0x12bf 0x1212 52 eax = [rbp - 4 {var_c_2}].d 0x1215 53 ecx = [rbp - 0xc {var_14}].d 0x1218 54 ecx = ecx - 1 0x121b 55 ecx = ecx - [rbp - 8 {var_10}].d 0x1220 56 if (eax s>= ecx) then 61 @ 0x1294 else 62 @ 0x1226 0x135b 57 [rbp - 4 {var_c_4}].d = 0 0x135b 58 goto 68 @ 0x1362 0x12bf 59 [rbp - 4 {var_c_3}].d = 0 0x12bf 60 goto 70 @ 0x12c6 0x1294 61 goto 75 @ 0x1299 0x1226 62 rax = sx.q([rbp - 4 {var_c_2}].d) 0x122a 63 eax = [rbp + (rax << 2) - 0xfc0].d 0x1231 64 ecx = [rbp - 4 {var_c_2}].d 0x1234 65 ecx = ecx + 1 0x1237 66 rcx = sx.q(ecx) 0x1241 67 if (eax s<= [rbp + (rcx << 2) - 0xfc0].d) then 79 @ 0x1281 else 80 @ 0x1247 0x1362 68 eax = [rbp - 4 {var_c_4}].d 0x1368 69 if (eax s>= [rbp - 0xc {var_14}].d) then 95 @ 0x1395 else 97 @ 0x136e 0x12c6 70 eax = [rbp - 4 {var_c_3}].d 0x12c9 71 ecx = [rbp - 0x10 {var_18}].d 0x12cc 72 ecx = ecx - 1 0x12cf 73 ecx = ecx - [rbp - 8 {var_10_1}].d 0x12d4 74 if (eax s>= ecx) then 106 @ 0x1348 else 107 @ 0x12da 0x1299 75 eax = [rbp - 8 {var_10}].d 0x129c 76 eax = eax + 1 0x129f 77 [rbp - 8 {var_10}].d = eax 0x12a2 78 goto 40 @ 0x11fa 0x1281 79 goto 113 @ 0x1286 0x1247 80 rax = sx.q([rbp - 4 {var_c_2}].d) 0x124b 81 eax = [rbp + (rax << 2) - 0xfc0].d 0x1252 82 [rbp - 0x14 {var_1c_1}].d = eax 0x1255 83 eax = [rbp - 4 {var_c_2}].d 0x1258 84 eax = eax + 1 0x125b 85 rax = sx.q(eax) 0x125d 86 ecx = [rbp + (rax << 2) - 0xfc0].d 0x1264 87 rax = sx.q([rbp - 4 {var_c_2}].d) 0x1268 88 [rbp + (rax << 2) - 0xfc0].d = ecx 0x126f 89 ecx = [rbp - 0x14 {var_1c_1}].d 0x1272 90 eax = [rbp - 4 {var_c_2}].d 0x1275 91 eax = eax + 1 0x1278 92 rax = sx.q(eax) 0x127a 93 [rbp + (rax << 2) - 0xfc0].d = ecx 0x127a 94 goto 79 @ 0x1281 0x1395 95 [rbp - 4 {var_c_5}].d = 0 0x1395 96 goto 117 @ 0x139c 0x136e 97 rax = sx.q([rbp - 4 {var_c_4}].d) 0x1372 98 esi = [rbp + (rax << 2) - 0xfc0].d 0x1379 99 rdi = 0x200a {"%d "} 0x1380 100 al = 0 0x1382 101 call(0x1030) 0x1387 102 eax = [rbp - 4 {var_c_4}].d 0x138a 103 eax = eax + 1 0x138d 104 [rbp - 4 {var_c_4}].d = eax 0x1390 105 goto 68 @ 0x1362 0x1348 106 goto 121 @ 0x134d 0x12da 107 rax = sx.q([rbp - 4 {var_c_3}].d) 0x12de 108 eax = [rbp + (rax << 2) - 0x1f60].d 0x12e5 109 ecx = [rbp - 4 {var_c_3}].d 0x12e8 110 ecx = ecx + 1 0x12eb 111 rcx = sx.q(ecx) 0x12f5 112 if (eax s<= [rbp + (rcx << 2) - 0x1f60].d) then 125 @ 0x1335 else 126 @ 0x12fb 0x1286 113 eax = [rbp - 4 {var_c_2}].d 0x1289 114 eax = eax + 1 0x128c 115 [rbp - 4 {var_c_2}].d = eax 0x128f 116 goto 52 @ 0x1212 0x139c 117 eax = [rbp - 4 {var_c_5}].d 0x139f 118 ecx = [rbp - 0x10 {var_18}].d 0x13a2 119 ecx = ecx - 1 0x13a7 120 if (eax s>= ecx) then 141 @ 0x13d4 else 151 @ 0x13ad 0x134d 121 eax = [rbp - 8 {var_10_1}].d 0x1350 122 eax = eax + 1 0x1353 123 [rbp - 8 {var_10_1}].d = eax 0x1356 124 goto 48 @ 0x12ae 0x1335 125 goto 160 @ 0x133a 0x12fb 126 rax = sx.q([rbp - 4 {var_c_3}].d) 0x12ff 127 eax = [rbp + (rax << 2) - 0x1f60].d 0x1306 128 [rbp - 0x14 {var_1c_2}].d = eax 0x1309 129 eax = [rbp - 4 {var_c_3}].d 0x130c 130 eax = eax + 1 0x130f 131 rax = sx.q(eax) 0x1311 132 ecx = [rbp + (rax << 2) - 0x1f60].d 0x1318 133 rax = sx.q([rbp - 4 {var_c_3}].d) 0x131c 134 [rbp + (rax << 2) - 0x1f60].d = ecx 0x1323 135 ecx = [rbp - 0x14 {var_1c_2}].d 0x1326 136 eax = [rbp - 4 {var_c_3}].d 0x1329 137 eax = eax + 1 0x132c 138 rax = sx.q(eax) 0x132e 139 [rbp + (rax << 2) - 0x1f60].d = ecx 0x132e 140 goto 125 @ 0x1335 0x13d4 141 eax = [rbp - 0x10 {var_18}].d 0x13d7 142 eax = eax - 1 0x13da 143 rax = sx.q(eax) 0x13dc 144 esi = [rbp + (rax << 2) - 0x1f60].d 0x13e3 145 rdi = 0x2007 {"%d"} 0x13ea 146 al = 0 0x13ec 147 call(0x1030) 0x13f1 148 rsp = rsp + 0x1f60 0x13f8 149 rbp = pop 0x13f9 150 <return> jump(pop) 0x13ad 151 rax = sx.q([rbp - 4 {var_c_5}].d) 0x13b1 152 esi = [rbp + (rax << 2) - 0x1f60].d 0x13b8 153 rdi = 0x200a {"%d "} 0x13bf 154 al = 0 0x13c1 155 call(0x1030) 0x13c6 156 eax = [rbp - 4 {var_c_5}].d 0x13c9 157 eax = eax + 1 0x13cc 158 [rbp - 4 {var_c_5}].d = eax 0x13cf 159 goto 117 @ 0x139c 0x133a 160 eax = [rbp - 4 {var_c_3}].d 0x133d 161 eax = eax + 1 0x1340 162 [rbp - 4 {var_c_3}].d = eax 0x1343 163 goto 70 @ 0x12c6 int64_t _fini(): 0x1400 0 rsp = rsp - 8 0x1404 1 rsp = rsp + 8 0x1408 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) 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 - 0x90 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 [rbp - 0x7c {var_84}].d = 0 0x1179 5 rdi = rbp - 0x70 {var_78} 0x117d 6 al = 0 0x117f 7 call(0x1050) 0x1184 8 rdi = rbp - 0x70 {var_78} 0x1188 9 call(0x1040) 0x118d 10 [rbp - 0x78 {var_80}].d = eax 0x1190 11 [rbp - 0x84 {var_8c}].d = 0 0x1190 12 goto 13 @ 0x119a 0x119a 13 eax = [rbp - 0x84 {var_8c}].d 0x11a3 14 if (eax s>= [rbp - 0x78 {var_80}].d) then 15 @ 0x128f else 17 @ 0x11a9 0x128f 15 [rbp - 0x90 {var_98}].d = 0 0x128f 16 goto 20 @ 0x1299 0x11a9 17 rax = sx.q([rbp - 0x84 {var_8c}].d) 0x11b0 18 eax = sx.d([rbp + rax - 0x70].b) 0x11b8 19 if (eax != 0x20) then 22 @ 0x1276 else 23 @ 0x11be 0x1299 20 eax = [rbp - 0x90 {var_98}].d 0x12a2 21 if (eax s>= [rbp - 0x78 {var_80}].d) then 27 @ 0x12d6 else 31 @ 0x12a8 0x1276 22 goto 40 @ 0x127b 0x11be 23 eax = [rbp - 0x84 {var_8c}].d 0x11c4 24 eax = eax + 1 0x11c7 25 [rbp - 0x88 {var_90_1}].d = eax 0x11c7 26 goto 44 @ 0x11cd 0x12d6 27 eax = 0 0x12d8 28 rsp = rsp + 0x90 0x12df 29 rbp = pop 0x12e0 30 <return> jump(pop) 0x12a8 31 rax = sx.q([rbp - 0x90 {var_98}].d) 0x12af 32 esi = sx.d([rbp + rax - 0x70].b) 0x12b4 33 rdi = 0x2004 {"%c"} 0x12bb 34 al = 0 0x12bd 35 call(0x1030) 0x12c2 36 eax = [rbp - 0x90 {var_98}].d 0x12c8 37 eax = eax + 1 0x12cb 38 [rbp - 0x90 {var_98}].d = eax 0x12d1 39 goto 20 @ 0x1299 0x127b 40 eax = [rbp - 0x84 {var_8c}].d 0x1281 41 eax = eax + 1 0x1284 42 [rbp - 0x84 {var_8c}].d = eax 0x128a 43 goto 13 @ 0x119a 0x11cd 44 rax = sx.q([rbp - 0x88 {var_90_1}].d) 0x11d4 45 eax = sx.d([rbp + rax - 0x70].b) 0x11dc 46 if (eax != 0x20) then 47 @ 0x1271 else 48 @ 0x11e2 0x1271 47 goto 22 @ 0x1276 0x11e2 48 rax = sx.q([rbp - 0x88 {var_90_1}].d) 0x11e9 49 eax = sx.d([rbp + rax - 0x70].b) 0x11f1 50 if (eax != 0x20) then 51 @ 0x1258 else 52 @ 0x11f7 0x1258 51 goto 55 @ 0x125d 0x11f7 52 eax = [rbp - 0x88 {var_90_1}].d 0x11fd 53 [rbp - 0x8c {var_94_1}].d = eax 0x11fd 54 goto 59 @ 0x1203 0x125d 55 eax = [rbp - 0x88 {var_90_1}].d 0x1263 56 eax = eax + 1 0x1266 57 [rbp - 0x88 {var_90_1}].d = eax 0x126c 58 goto 44 @ 0x11cd 0x1203 59 eax = [rbp - 0x8c {var_94_1}].d 0x1209 60 ecx = [rbp - 0x78 {var_80}].d 0x120c 61 ecx = ecx - 1 0x1211 62 if (eax s>= ecx) then 63 @ 0x1245 else 68 @ 0x1217 0x1245 63 eax = [rbp - 0x78 {var_80}].d 0x1248 64 eax = eax - 1 0x124b 65 [rbp - 0x78 {var_80}].d = eax 0x124e 66 [rbp - 0x84 {var_8c}].d = 0 0x124e 67 goto 51 @ 0x1258 0x1217 68 eax = [rbp - 0x8c {var_94_1}].d 0x121d 69 eax = eax + 1 0x1220 70 rax = sx.q(eax) 0x1222 71 cl = [rbp + rax - 0x70].b 0x1226 72 rax = sx.q([rbp - 0x8c {var_94_1}].d) 0x122d 73 [rbp + rax - 0x70].b = cl 0x1231 74 eax = [rbp - 0x8c {var_94_1}].d 0x1237 75 eax = eax + 1 0x123a 76 [rbp - 0x8c {var_94_1}].d = eax 0x1240 77 goto 59 @ 0x1203 int64_t _fini(): 0x12e8 0 rsp = rsp - 8 0x12ec 1 rsp = rsp + 8 0x12f0 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) 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 - 0x1f60 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rax = rbp - 0xfb0 {var_fb8} 0x1169 5 [rbp - 0x1f58 {var_1f60}].q = rax {var_fb8} 0x1170 6 rax = rbp - 0x1f50 {var_1f58} 0x1177 7 [rbp - 0x1f60 {var_1f68}].q = rax {var_1f58} 0x117e 8 [rbp - 0x10 {var_18}].d = 0 0x117e 9 goto 10 @ 0x1185 0x1185 10 rdi = 0x2004 {"%d"} 0x118c 11 rsi = rbp - 8 {var_10} 0x1190 12 al = 0 0x1192 13 call(0x1040) 0x119b 14 if ([rbp - 8 {var_10}].d != 0) then 15 @ 0x11a6 else 17 @ 0x11a1 0x11a6 15 [rbp - 0xc {var_14_1}].d = 0 0x11a6 16 goto 18 @ 0x11ad 0x11a1 17 goto 20 @ 0x124c 0x11ad 18 eax = [rbp - 0xc {var_14_1}].d 0x11b3 19 if (eax s>= [rbp - 8 {var_10}].d) then 24 @ 0x11e7 else 26 @ 0x11b9 0x124c 20 eax = 0 0x124e 21 rsp = rsp + 0x1f60 0x1255 22 rbp = pop 0x1256 23 <return> jump(pop) 0x11e7 24 [rbp - 0xc {var_14_2}].d = 0 0x11e7 25 goto 37 @ 0x11ee 0x11b9 26 rsi = [rbp - 0x1f58 {var_1f60}].q {var_fb8} 0x11c0 27 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x11c4 28 rax = rax << 2 0x11c8 29 rsi = rsi + rax 0x11cb 30 rdi = 0x2004 {"%d"} 0x11d2 31 al = 0 0x11d4 32 call(0x1040) 0x11d9 33 eax = [rbp - 0xc {var_14_1}].d 0x11dc 34 eax = eax + 1 0x11df 35 [rbp - 0xc {var_14_1}].d = eax 0x11e2 36 goto 18 @ 0x11ad 0x11ee 37 eax = [rbp - 0xc {var_14_2}].d 0x11f4 38 if (eax s>= [rbp - 8 {var_10}].d) then 39 @ 0x1228 else 47 @ 0x11fa 0x1228 39 rdi = [rbp - 0x1f58 {var_1f60}].q {var_fb8} 0x122f 40 rsi = [rbp - 0x1f60 {var_1f68}].q {var_1f58} 0x1236 41 edx = [rbp - 8 {var_10}].d 0x1239 42 call(0x1260) 0x123e 43 eax = [rbp - 0x10 {var_18}].d 0x1241 44 eax = eax + 1 0x1244 45 [rbp - 0x10 {var_18}].d = eax 0x1247 46 goto 10 @ 0x1185 0x11fa 47 rsi = [rbp - 0x1f60 {var_1f68}].q {var_1f58} 0x1201 48 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1205 49 rax = rax << 2 0x1209 50 rsi = rsi + rax 0x120c 51 rdi = 0x2004 {"%d"} 0x1213 52 al = 0 0x1215 53 call(0x1040) 0x121a 54 eax = [rbp - 0xc {var_14_2}].d 0x121d 55 eax = eax + 1 0x1220 56 [rbp - 0xc {var_14_2}].d = eax 0x1223 57 goto 37 @ 0x11ee int64_t saima(int64_t arg1, int64_t arg2, int64_t arg3): 0x1260 0 push(rbp) 0x1261 1 rbp = rsp {__saved_rbp} 0x1264 2 rsp = rsp - 0x30 0x1268 3 [rbp - 8 {var_10}].q = rdi 0x126c 4 [rbp - 0x10 {var_18}].q = rsi 0x1270 5 [rbp - 0x14 {var_1c}].d = edx 0x1273 6 [rbp - 0x24 {var_2c}].d = 0 0x127a 7 [rbp - 0x28 {var_30}].d = 0 0x1281 8 [rbp - 0x2c {var_34}].d = 0 0x1288 9 eax = [rbp - 0x14 {var_1c}].d 0x128b 10 eax = eax - 1 0x128e 11 [rbp - 0x18 {var_20}].d = eax 0x128e 12 goto 13 @ 0x1295 0x1295 13 if ([rbp - 0x18 {var_20}].d s< 0) then 14 @ 0x1376 else 16 @ 0x129b 0x1376 14 [rbp - 0x18 {var_20_1}].d = 0 0x1376 15 goto 18 @ 0x137d 0x129b 16 [rbp - 0x1c {var_24_1}].d = 0 0x129b 17 goto 20 @ 0x12a2 0x137d 18 eax = [rbp - 0x18 {var_20_1}].d 0x1383 19 if (eax s>= [rbp - 0x14 {var_1c}].d) then 22 @ 0x1435 else 24 @ 0x1389 0x12a2 20 eax = [rbp - 0x1c {var_24_1}].d 0x12a8 21 if (eax s>= [rbp - 0x18 {var_20}].d) then 27 @ 0x1363 else 28 @ 0x12ae 0x1435 22 [rbp - 0x18 {var_20_2}].d = 0 0x1435 23 goto 34 @ 0x143c 0x1389 24 rax = [rbp - 8 {var_10}].q 0x138d 25 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x1395 26 if ([rax + (rcx << 2)].d == -1) then 36 @ 0x1422 else 37 @ 0x139b 0x1363 27 goto 41 @ 0x1368 0x12ae 28 rax = [rbp - 8 {var_10}].q 0x12b2 29 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x12b6 30 eax = [rax + (rcx << 2)].d 0x12b9 31 rcx = [rbp - 8 {var_10}].q 0x12bd 32 rdx = sx.q([rbp - 0x1c {var_24_1}].d) 0x12c5 33 if (eax s<= [rcx + (rdx << 2) + 4].d) then 45 @ 0x12ff else 51 @ 0x12cb 0x143c 34 eax = [rbp - 0x18 {var_20_2}].d 0x1442 35 if (eax s>= [rbp - 0x14 {var_1c}].d) then 66 @ 0x14f4 else 80 @ 0x1448 0x1422 36 goto 83 @ 0x1427 0x139b 37 eax = [rbp - 0x14 {var_1c}].d 0x139e 38 eax = eax - 1 0x13a1 39 [rbp - 0x1c {var_24_2}].d = eax 0x13a1 40 goto 87 @ 0x13a8 0x1368 41 eax = [rbp - 0x18 {var_20}].d 0x136b 42 eax = eax - 1 0x136e 43 [rbp - 0x18 {var_20}].d = eax 0x1371 44 goto 13 @ 0x1295 0x12ff 45 rax = [rbp - 0x10 {var_18}].q 0x1303 46 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x1307 47 eax = [rax + (rcx << 2)].d 0x130a 48 rcx = [rbp - 0x10 {var_18}].q 0x130e 49 rdx = sx.q([rbp - 0x1c {var_24_1}].d) 0x1316 50 if (eax s<= [rcx + (rdx << 2) + 4].d) then 88 @ 0x1350 else 89 @ 0x131c 0x12cb 51 rax = [rbp - 8 {var_10}].q 0x12cf 52 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x12d3 53 eax = [rax + (rcx << 2)].d 0x12d6 54 [rbp - 0x20 {var_28_1}].d = eax 0x12d9 55 rax = [rbp - 8 {var_10}].q 0x12dd 56 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x12e1 57 edx = [rax + (rcx << 2) + 4].d 0x12e5 58 rax = [rbp - 8 {var_10}].q 0x12e9 59 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x12ed 60 [rax + (rcx << 2)].d = edx 0x12f0 61 edx = [rbp - 0x20 {var_28_1}].d 0x12f3 62 rax = [rbp - 8 {var_10}].q 0x12f7 63 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x12fb 64 [rax + (rcx << 2) + 4].d = edx 0x12fb 65 goto 45 @ 0x12ff 0x14f4 66 eax = [rbp - 0x24 {var_2c}].d 0x14f7 67 ecx = [rbp - 0x14 {var_1c}].d 0x14fa 68 ecx = ecx - [rbp - 0x24 {var_2c}].d 0x14fd 69 ecx = ecx - [rbp - 0x28 {var_30}].d 0x1500 70 eax = eax - ecx 0x1502 71 eax = eax * 0xc8 0x1508 72 [rbp - 0x30 {var_38}].d = eax 0x150b 73 esi = [rbp - 0x30 {var_38}].d 0x150e 74 rdi = 0x2007 {"%d\n"} 0x1515 75 al = 0 0x1517 76 call(0x1030) 0x151c 77 rsp = rsp + 0x30 0x1520 78 rbp = pop 0x1521 79 <return> jump(pop) 0x1448 80 rax = [rbp - 8 {var_10}].q 0x144c 81 rcx = sx.q([rbp - 0x18 {var_20_2}].d) 0x1454 82 if ([rax + (rcx << 2)].d == -1) then 104 @ 0x14e1 else 105 @ 0x145a 0x1427 83 eax = [rbp - 0x18 {var_20_1}].d 0x142a 84 eax = eax + 1 0x142d 85 [rbp - 0x18 {var_20_1}].d = eax 0x1430 86 goto 18 @ 0x137d 0x13a8 87 if ([rbp - 0x1c {var_24_2}].d s< 0) then 109 @ 0x141d else 110 @ 0x13ae 0x1350 88 goto 116 @ 0x1355 0x131c 89 rax = [rbp - 0x10 {var_18}].q 0x1320 90 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x1324 91 eax = [rax + (rcx << 2)].d 0x1327 92 [rbp - 0x20 {var_28_2}].d = eax 0x132a 93 rax = [rbp - 0x10 {var_18}].q 0x132e 94 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x1332 95 edx = [rax + (rcx << 2) + 4].d 0x1336 96 rax = [rbp - 0x10 {var_18}].q 0x133a 97 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x133e 98 [rax + (rcx << 2)].d = edx 0x1341 99 edx = [rbp - 0x20 {var_28_2}].d 0x1344 100 rax = [rbp - 0x10 {var_18}].q 0x1348 101 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x134c 102 [rax + (rcx << 2) + 4].d = edx 0x134c 103 goto 88 @ 0x1350 0x14e1 104 goto 120 @ 0x14e6 0x145a 105 eax = [rbp - 0x14 {var_1c}].d 0x145d 106 eax = eax - 1 0x1460 107 [rbp - 0x1c {var_24_3}].d = eax 0x1460 108 goto 124 @ 0x1467 0x141d 109 goto 36 @ 0x1422 0x13ae 110 rax = [rbp - 8 {var_10}].q 0x13b2 111 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x13b6 112 eax = [rax + (rcx << 2)].d 0x13b9 113 rcx = [rbp - 0x10 {var_18}].q 0x13bd 114 rdx = sx.q([rbp - 0x1c {var_24_2}].d) 0x13c4 115 if (eax s<= [rcx + (rdx << 2)].d) then 125 @ 0x140a else 126 @ 0x13ca 0x1355 116 eax = [rbp - 0x1c {var_24_1}].d 0x1358 117 eax = eax + 1 0x135b 118 [rbp - 0x1c {var_24_1}].d = eax 0x135e 119 goto 20 @ 0x12a2 0x14e6 120 eax = [rbp - 0x18 {var_20_2}].d 0x14e9 121 eax = eax + 1 0x14ec 122 [rbp - 0x18 {var_20_2}].d = eax 0x14ef 123 goto 34 @ 0x143c 0x1467 124 if ([rbp - 0x1c {var_24_3}].d s< 0) then 129 @ 0x14dc else 130 @ 0x146d 0x140a 125 goto 136 @ 0x140f 0x13ca 126 rax = [rbp - 0x10 {var_18}].q 0x13ce 127 rcx = sx.q([rbp - 0x1c {var_24_2}].d) 0x13d6 128 if ([rax + (rcx << 2)].d == -1) then 125 @ 0x140a else 140 @ 0x13dc 0x14dc 129 goto 104 @ 0x14e1 0x146d 130 rax = [rbp - 8 {var_10}].q 0x1471 131 rcx = sx.q([rbp - 0x18 {var_20_2}].d) 0x1475 132 eax = [rax + (rcx << 2)].d 0x1478 133 rcx = [rbp - 0x10 {var_18}].q 0x147c 134 rdx = sx.q([rbp - 0x1c {var_24_3}].d) 0x1483 135 if (eax != [rcx + (rdx << 2)].d) then 151 @ 0x14c9 else 152 @ 0x1489 0x140f 136 eax = [rbp - 0x1c {var_24_2}].d 0x1412 137 eax = eax - 1 0x1415 138 [rbp - 0x1c {var_24_2}].d = eax 0x1418 139 goto 87 @ 0x13a8 0x13dc 140 eax = [rbp - 0x24 {var_2c}].d 0x13df 141 eax = eax + 1 0x13e2 142 [rbp - 0x24 {var_2c}].d = eax 0x13e5 143 rax = [rbp - 8 {var_10}].q 0x13e9 144 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x13ed 145 [rax + (rcx << 2)].d = -1 0x13f4 146 rax = [rbp - 0x10 {var_18}].q 0x13f8 147 rcx = sx.q([rbp - 0x1c {var_24_2}].d) 0x13fc 148 [rax + (rcx << 2)].d = -1 0x1403 149 [rbp - 0x1c {var_24_2}].d = -1 0x1403 150 goto 125 @ 0x140a 0x14c9 151 goto 155 @ 0x14ce 0x1489 152 rax = [rbp - 0x10 {var_18}].q 0x148d 153 rcx = sx.q([rbp - 0x1c {var_24_3}].d) 0x1495 154 if ([rax + (rcx << 2)].d == -1) then 151 @ 0x14c9 else 159 @ 0x149b 0x14ce 155 eax = [rbp - 0x1c {var_24_3}].d 0x14d1 156 eax = eax - 1 0x14d4 157 [rbp - 0x1c {var_24_3}].d = eax 0x14d7 158 goto 124 @ 0x1467 0x149b 159 eax = [rbp - 0x28 {var_30}].d 0x149e 160 eax = eax + 1 0x14a1 161 [rbp - 0x28 {var_30}].d = eax 0x14a4 162 rax = [rbp - 8 {var_10}].q 0x14a8 163 rcx = sx.q([rbp - 0x18 {var_20_2}].d) 0x14ac 164 [rax + (rcx << 2)].d = -1 0x14b3 165 rax = [rbp - 0x10 {var_18}].q 0x14b7 166 rcx = sx.q([rbp - 0x1c {var_24_3}].d) 0x14bb 167 [rax + (rcx << 2)].d = -1 0x14c2 168 [rbp - 0x1c {var_24_3}].d = -1 0x14c2 169 goto 151 @ 0x14c9 int64_t _fini(): 0x1528 0 rsp = rsp - 8 0x152c 1 rsp = rsp + 8 0x1530 2 <return> jump(pop)
POJ_92
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 ([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 rsp = rsp - 0x18 0x115e 7 rdi = 0x2004 {"%d%d"} 0x1165 8 rsi = rsp + 8 {var_40} 0x116a 9 rdx = rsp + 0xc {var_3c} 0x116f 10 eax = 0 0x1171 11 call(0x1040) 0x117b 12 if ([rsp + 8 {var_40}].d s<= 0) then 13 @ 0x13d9 else 15 @ 0x1181 0x13d9 13 rdi = 0x200d {"no"} 0x13d9 14 goto 19 @ 0x13e0 0x1181 15 rbx = 0x4050 {""} 0x1188 16 r14 = 0x2006 {"%d"} 0x118f 17 ebp = 0 0x119b 18 goto 30 @ 0x11a0 0x13e0 19 eax = 0 0x13e2 20 call(0x1030) 0x13e7 21 eax = 0 0x13e9 22 rsp = rsp + 0x18 0x13ed 23 rbx = pop 0x13ee 24 r12 = pop 0x13f0 25 r13 = pop 0x13f2 26 r14 = pop 0x13f4 27 r15 = pop 0x13f6 28 rbp = pop 0x13f7 29 <return> jump(pop) 0x11a0 30 rdi = r14 0x11a3 31 rsi = rbx 0x11a6 32 eax = 0 0x11a8 33 call(0x1040) 0x11ad 34 rbp = rbp + 1 0x11b1 35 rax = sx.q([rsp + 8 {var_40}].d) 0x11b6 36 rbx = rbx + 4 0x11bd 37 if (rbp s< rax) then 30 @ 0x11a0 else 38 @ 0x11bf 0x11bf 38 r10d = eax 0x11c6 39 if (r10d s< 2) then 13 @ 0x13d9 else 40 @ 0x11cc 0x11cc 40 r12d = (r10 - 1).d 0x11d0 41 r8d = [rsp + 0xc {var_3c}].d 0x11d5 42 xmm0 = r8d 0x11da 43 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x11df 44 r13 = r10 - 9 0x11e3 45 edi = 0 0x11e5 46 rbx = 0x4084 {""} 0x11ec 47 r15 = 0x4050 {""} 0x11f3 48 r11d = 1 0x11f9 49 eax = 0 0x11fb 50 [rsp + 0x10 {var_38_1}].q = r12 0x1200 51 goto 52 @ 0x1228 0x1228 52 if (rdi u>= r10) then 53 @ 0x1210 else 57 @ 0x122a 0x1210 53 rdi = rdi + 1 0x1214 54 rbx = rbx + 4 0x1218 55 r13 = r13 - 1 0x121f 56 if (rdi == r12) then 60 @ 0x13ce else 52 @ 0x1228 0x122a 57 r9d = [r15 + (rdi << 2)].d 0x122e 58 edx = (r9 + r9).d 0x1235 59 if (edx == r8d) then 61 else 63 @ 0x1239 0x13ce 60 if (eax == 0) then 13 @ 0x13d9 else 65 @ 0x13d0 0x1235 61 eax = r11d 0x1235 62 goto 63 @ 0x1239 0x1239 63 r14 = rdi + 1 0x1240 64 if (r14 == r10) then 53 @ 0x1210 else 67 @ 0x1242 0x13d0 65 rdi = 0x2009 {"yes"} 0x13d7 66 goto 19 @ 0x13e0 0x1242 67 rcx = r15 0x1245 68 rdx = rdi 0x1248 69 rdx = not.q(rdx) 0x124b 70 r15 = rdx + r10 0x1253 71 if (r15 u< 8) then 72 @ 0x13a0 else 78 @ 0x1259 0x13a0 72 rsi = r10 0x13a3 73 rsi = rsi - r14 0x13a6 74 r15 = rcx 0x13a9 75 rbp = rcx + (r14 << 2) 0x13ad 76 edx = 0 0x13af 77 goto 88 @ 0x13b0 0x1259 78 rdx = rdx + r10 0x125c 79 rdx = rdx - 8 0x1260 80 r12 = rdx 0x1263 81 r12 = r12 u>> 3 0x1267 82 r12 = r12 + 1 0x126b 83 xmm8 = eax 0x1270 84 xmm3 = _mm_shuffle_epi32(xmm8, 0) 0x1276 85 xmm2 = r9d 0x127b 86 xmm2 = _mm_shuffle_epi32(xmm2, 0) 0x1284 87 if (rdx u>= 8) then 91 @ 0x1291 else 99 @ 0x1286 0x13b0 88 ecx = [rbp + (rdx << 2)].d 0x13b4 89 ecx = ecx + r9d 0x13ba 90 if (ecx == r8d) then 102 else 104 @ 0x13be 0x1291 91 rbp = r13 0x1294 92 rbp = rbp u>> 3 0x1298 93 rbp = rbp + 1 0x129c 94 rbp = rbp & 0xfffffffffffffffe 0x12a0 95 esi = 0 0x12a2 96 xmm6 = xmm3 0x12a6 97 xmm5 = xmm3 0x12aa 98 goto 106 @ 0x12b0 0x1286 99 esi = 0 0x1288 100 xmm4 = xmm3 0x128c 101 goto 132 @ 0x1319 0x13ba 102 eax = r11d 0x13ba 103 goto 104 @ 0x13be 0x13be 104 rdx = rdx + 1 0x13c5 105 if (rsi != rdx) then 88 @ 0x13b0 else 135 @ 0x13c7 0x12b0 106 xmm3 = [rbx + (rsi << 2) - 0x30].o 0x12b6 107 xmm4 = [rbx + (rsi << 2) - 0x20].o 0x12bc 108 xmm7 = [rbx + (rsi << 2) - 0x10].o 0x12c2 109 xmm1 = [rbx + (rsi << 2)].o 0x12c7 110 xmm3 = _mm_add_epi32(xmm3, xmm2) 0x12cb 111 xmm4 = _mm_add_epi32(xmm4, xmm2) 0x12cf 112 xmm3 = _mm_cmpeq_epi32(xmm3, xmm0) 0x12d3 113 xmm4 = _mm_cmpeq_epi32(xmm4, xmm0) 0x12d7 114 xmm7 = _mm_add_epi32(xmm7, xmm2) 0x12db 115 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x12df 116 xmm7 = _mm_cmpeq_epi32(xmm7, xmm0) 0x12e3 117 xmm7 = xmm7 | xmm3 0x12e7 118 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0) 0x12eb 119 xmm1 = xmm1 | xmm4 0x12ef 120 xmm3 = xmm7 0x12f3 121 xmm3 = xmm3 & not.o(xmm6) 0x12f7 122 xmm3 = _mm_sub_epi32(xmm3, xmm7) 0x12fb 123 xmm4 = xmm1 0x12ff 124 xmm4 = xmm4 & not.o(xmm5) 0x1303 125 xmm4 = _mm_sub_epi32(xmm4, xmm1) 0x1307 126 rsi = rsi + 0x10 0x130b 127 xmm6 = xmm3 0x130f 128 xmm5 = xmm4 0x1313 129 temp0.q = rbp 0x1313 130 rbp = rbp - 2 0x1317 131 if (temp0.q != 2) then 106 @ 0x12b0 else 132 @ 0x1319 0x1319 132 rbp = r15 0x131c 133 rbp = rbp & 0xfffffffffffffff8 0x1324 134 if ((r12b & 1) == 0) then 136 @ 0x1367 else 145 @ 0x1326 0x13c7 135 goto 53 @ 0x1210 0x1367 136 xmm1 = _mm_shuffle_epi32(xmm8, 0) 0x136d 137 xmm2 = xmm3 0x1371 138 xmm2 = _mm_cmpeq_epi32(xmm2, xmm1) 0x1375 139 xmm4 = xmm4 & xmm2 0x1379 140 xmm2 = xmm2 & not.o(xmm3) 0x137d 141 xmm2 = xmm2 | xmm4 0x1381 142 xmm2 = _mm_cmpeq_epi32(xmm2, xmm1) 0x1385 143 edx = _mm_movemask_ps(xmm2) 0x138b 144 if (edx != 0xf) then 162 else 164 @ 0x138f 0x1326 145 rsi = rsi + r14 0x1329 146 rdx = rcx 0x132c 147 xmm1 = [rcx + (rsi << 2)].o 0x1331 148 xmm5 = [rcx + (rsi << 2) + 0x10].o 0x1337 149 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x133b 150 xmm5 = _mm_add_epi32(xmm5, xmm2) 0x133f 151 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0) 0x1343 152 xmm5 = _mm_cmpeq_epi32(xmm5, xmm0) 0x1347 153 xmm2 = xmm1 0x134b 154 xmm2 = xmm2 & not.o(xmm3) 0x134f 155 xmm2 = _mm_sub_epi32(xmm2, xmm1) 0x1353 156 xmm1 = xmm5 0x1357 157 xmm1 = xmm1 & not.o(xmm4) 0x135b 158 xmm1 = _mm_sub_epi32(xmm1, xmm5) 0x135f 159 xmm3 = xmm2 0x1363 160 xmm4 = xmm1 0x1363 161 goto 136 @ 0x1367 0x138b 162 eax = r11d 0x138b 163 goto 164 @ 0x138f 0x138f 164 cond:0 = r15 == rbp 0x1392 165 r12 = [rsp + 0x10 {var_38_1}].q 0x1397 166 if (cond:0) then 167 @ 0x1202 else 169 @ 0x139d 0x1202 167 r15 = rcx 0x120f 168 goto 53 @ 0x1210 0x139d 169 r14 = r14 + rbp 0x139d 170 goto 72 @ 0x13a0 int64_t _fini(): 0x13fc 0 rsp = rsp - 8 0x1400 1 rsp = rsp + 8 0x1404 2 <return> jump(pop)
POJ_3
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 {"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 = 0x2004 {"%d"} 0x1178 8 rsi = rsp + 4 {var_684} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1184 11 eax = [rsp + 4 {var_684}].d 0x118a 12 if (eax s<= 0) then 13 @ 0x11d6 else 18 @ 0x118c 0x11d6 13 r14d = 1 0x11dc 14 r12d = 1 0x11e2 15 r15d = 0 0x11e5 16 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x11e9 17 goto 23 @ 0x1213 0x118c 18 r14 = rsp + 0x18 {var_670} 0x1191 19 rbx = rsp + 0x338 {var_350} 0x1199 20 r15 = 0x2007 {"%lf%lf"} 0x11a0 21 ebp = 0 0x11ac 22 goto 24 @ 0x11b0 0x1213 23 if (r12 u< 2) then 34 @ 0x11f7 else 40 @ 0x1215 0x11b0 24 rdi = r15 0x11b3 25 rsi = rbx 0x11b6 26 rdx = r14 0x11b9 27 eax = 0 0x11bb 28 call(0x1040) 0x11c0 29 rax = sx.q([rsp + 4 {var_684}].d) 0x11c5 30 rbp = rbp + 1 0x11c9 31 r14 = r14 + 8 0x11cd 32 rbx = rbx + 8 0x11d4 33 if (rbp s< rax) then 24 @ 0x11b0 else 13 @ 0x11d6 0x11f7 34 rcx = r12 + 1 0x11fc 35 rdx = sx.q(eax) 0x11ff 36 r15 = r15 + 1 0x1203 37 cond:0 = r12 s>= rdx 0x1206 38 r12 = rcx 0x1209 39 if (cond:0) then 43 @ 0x12be else 23 @ 0x1213 0x1215 40 r13d = r14d 0x1218 41 ebp = 0 0x121a 42 goto 56 @ 0x1229 0x12be 43 rdi = 0x200e {"%.4lf\n"} 0x12c5 44 xmm0 = xmm3 0x12c9 45 al = 1 0x12cb 46 call(0x1030) 0x12d0 47 eax = 0 0x12d2 48 rsp = rsp + 0x658 0x12d9 49 rbx = pop 0x12da 50 r12 = pop 0x12dc 51 r13 = pop 0x12de 52 r14 = pop 0x12e0 53 r15 = pop 0x12e2 54 rbp = pop 0x12e3 55 <return> jump(pop) 0x1229 56 rbx = r13 0x122c 57 rbx = rbx + rbp 0x122f 58 xmm1 = zx.o([rsp + (r12 << 3) + 0x330].q) 0x1239 59 xmm1 = xmm1.q | [rsp + (r12 << 3) + 0x10].q << 0x40 0x1240 60 xmm0 = zx.o([rsp + (rbp << 3) + 0x338].q) 0x1249 61 xmm0 = xmm0.q | [rsp + (rbp << 3) + 0x18].q << 0x40 0x124f 62 xmm1 = _mm_sub_pd(xmm1, xmm0) 0x1253 63 xmm1 = _mm_mul_pd(xmm1, xmm1) 0x1257 64 xmm0 = xmm1 0x125b 65 xmm0 = _mm_unpackhi_pd(xmm0, xmm1.q) 0x125f 66 xmm0.q = xmm0.q f+ xmm1.q 0x1263 67 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x1263 68 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x1263 69 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x1263 70 flag:s = 0 0x1263 71 flag:o = 0 0x1263 72 flag:a = 0 0x1267 73 if (flag:c) then 74 @ 0x1280 else 79 @ 0x1269 0x1280 74 [rsp + 8 {var_680_1}].q = xmm3.q 0x1286 75 call(0x1050) 0x128b 76 xmm3 = zx.o([rsp + 8 {var_680_1}].q) 0x1291 77 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1298 78 if (ebx s>= 2) then 81 @ 0x1272 else 83 @ 0x129a 0x1269 79 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1270 80 if (ebx s< 2) then 83 @ 0x129a else 81 @ 0x1272 0x1272 81 xmm0 = _mm_max_sd(xmm0.q, xmm3.q) 0x1276 82 goto 85 @ 0x129e 0x129a 83 xmm0 = xmm3 0x129a 84 goto 85 @ 0x129e 0x129e 85 rax = rbp - 1 0x12a6 86 rax = rax + r13 0x12a9 87 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x12af 88 if (eax == 0) then 89 @ 0x1220 else 91 @ 0x12b5 0x1220 89 rbp = rbp + 1 0x1227 90 if (r15 == rbp) then 93 @ 0x11f0 else 56 @ 0x1229 0x12b5 91 xmm3 = xmm0 0x12b9 92 goto 89 @ 0x1220 0x11f0 93 r14d = r14d + r15d 0x11f3 94 eax = [rsp + 4 {var_684}].d 0x11f3 95 goto 34 @ 0x11f7 int64_t _fini(): 0x12e8 0 rsp = rsp - 8 0x12ec 1 rsp = rsp + 8 0x12f0 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) 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 - 0xfb8 0x115d 5 rdi = 0x2004 {"%d %d"} 0x1164 6 rsi = rsp + 8 {var_fd0} 0x1169 7 rdx = rsp + 0xc {var_fcc} 0x116e 8 eax = 0 0x1170 9 call(0x1040) 0x1175 10 eax = [rsp + 8 {var_fd0}].d 0x117b 11 if (eax s<= 0) then 12 @ 0x11b1 else 13 @ 0x117d 0x11b1 12 if (eax s< 0) then 17 @ 0x1224 else 24 @ 0x11b3 0x117d 13 rbx = rsp + 0x10 {var_fc8} 0x1182 14 r14 = 0x2007 {"%d"} 0x1189 15 ebp = 0 0x118b 16 goto 28 @ 0x1190 0x1224 17 eax = 0 0x1226 18 rsp = rsp + 0xfb8 0x122d 19 rbx = pop 0x122e 20 r14 = pop 0x1230 21 r15 = pop 0x1232 22 rbp = pop 0x1233 23 <return> jump(pop) 0x11b3 24 r15d = 1 0x11b9 25 r14 = 0x200e {"no"} 0x11c0 26 ebx = 0 0x11c2 27 goto 36 @ 0x11da 0x1190 28 rdi = r14 0x1193 29 rsi = rbx 0x1196 30 eax = 0 0x1198 31 call(0x1040) 0x119d 32 rbp = rbp + 1 0x11a1 33 rax = sx.q([rsp + 8 {var_fd0}].d) 0x11a6 34 rbx = rbx + 4 0x11ad 35 if (rbp s< rax) then 28 @ 0x1190 else 12 @ 0x11b1 0x11da 36 ebp = (rbx + 1).d 0x11df 37 if (ebp s>= eax) then 38 @ 0x1204 else 39 @ 0x11e1 0x1204 38 if (ebx != eax) then 44 @ 0x11d0 else 48 @ 0x1206 0x11e1 39 ecx = ebx 0x11e3 40 ecx = [rsp + (rcx << 2) + 0x10].d 0x11e7 41 edx = [rsp + 0xc {var_fcc}].d 0x11eb 42 rsi = r15 0x11ee 43 goto 53 @ 0x11f0 0x11d0 44 r15 = r15 + 1 0x11d4 45 cond:0 = ebx s>= eax 0x11d6 46 ebx = ebp 0x11d8 47 if (cond:0) then 17 @ 0x1224 else 36 @ 0x11da 0x1206 48 rdi = r14 0x1209 49 eax = 0 0x120b 50 call(0x1030) 0x1210 51 eax = [rsp + 8 {var_fd0}].d 0x1214 52 goto 44 @ 0x11d0 0x11f0 53 edi = [rsp + (rsi << 2) + 0x10].d 0x11f4 54 edi = edi + ecx 0x11f8 55 if (edi == edx) then 56 @ 0x1216 else 60 @ 0x11fa 0x1216 56 rdi = 0x200a {"yes"} 0x121d 57 eax = 0 0x121f 58 call(0x1030) 0x121f 59 goto 17 @ 0x1224 0x11fa 60 rsi = rsi + 1 0x1200 61 if (esi s< eax) then 53 @ 0x11f0 else 38 @ 0x1204 int64_t _fini(): 0x1238 0 rsp = rsp - 8 0x123c 1 rsp = rsp + 8 0x1240 2 <return> jump(pop)
POJ_3
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 strcmp(char const* arg1, char const* arg2): 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 {"UAWAVAUATSHX"} 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 - 0x158 0x1181 7 [rsp + 0x10 {var_178}].d = 0 0x1189 8 rbx = rsp + 0x20 {var_168} 0x118e 9 rdi = rbx {var_168} 0x1191 10 eax = 0 0x1193 11 call(0x1050) 0x1198 12 rdi = rbx {var_168} 0x119b 13 call(0x1040) 0x11a0 14 rcx = rax 0x11a6 15 if (ecx s< 3) then 16 @ 0x123a else 20 @ 0x11ac 0x123a 16 bl = [rsp + 0x20 {var_168}].b 0x123e 17 al = [rsp + 0xe {var_17a}].b 0x1242 18 edx = 1 0x124a 19 if (ecx s< 2) then 28 @ 0x12c1 else 30 @ 0x124c 0x11ac 20 eax = (rcx - 2).d 0x11af 21 [rsp + 0x10 {var_178}].d = eax 0x11b3 22 edx = 0 0x11b5 23 r15 = rsp + 0xe {var_17a} 0x11ba 24 rbx = rsp + 0xf {var_179} 0x11bf 25 ebp = ecx 0x11c1 26 [rsp + 0x18 {var_170}].q = rcx 0x11c6 27 goto 35 @ 0x11e5 0x12c1 28 ecx = ebx 0x12c1 29 goto 40 @ 0x12c3 0x124c 30 r15d = ecx 0x124f 31 edx = 1 0x1254 32 ebp = 1 0x1259 33 r14 = 0x2004 {"%c=%d\n"} 0x1260 34 goto 44 @ 0x1287 0x11e5 35 ebp = ebp 0x11e7 36 eax = ecx 0x11e9 37 [rsp + 0x14 {var_174_1}].d = edx 0x11ed 38 eax = eax - edx 0x11f2 39 if (eax s< 2) then 46 @ 0x11d0 else 52 @ 0x11f4 0x12c3 40 [rsp + 0xe {var_17a}].b = al 0x12c7 41 al = al & 0xdf 0x12c9 42 al = al - 0x41 0x12cd 43 if (al u> 0x19) then 54 @ 0x12ed else 55 @ 0x12cf 0x1287 44 ecx = zx.d([rsp + rbp + 0x20].b) 0x1290 45 if (cl != [rsp + rbp + 0x1f].b) then 61 @ 0x12a0 else 65 @ 0x1292 0x11d0 46 edx = [rsp + 0x14 {var_174_1}].d 0x11d4 47 edx = edx + 1 0x11d7 48 ebp = ebp - 1 0x11da 49 cond:0 = edx == [rsp + 0x10 {var_178}].d 0x11de 50 rcx = [rsp + 0x18 {var_170}].q 0x11e3 51 if (cond:0) then 16 @ 0x123a else 35 @ 0x11e5 0x11f4 52 r12d = 1 0x11fa 53 goto 67 @ 0x1209 0x12ed 54 if ([rsp + 0x10 {var_178}].d == 0) then 75 @ 0x12fd else 84 @ 0x12ef 0x12cf 55 esi = sx.d(cl) 0x12d2 56 rdi = 0x2004 {"%c=%d\n"} 0x12d9 57 [rsp + 0x10 {var_178}].d = 0 0x12e1 58 eax = 0 0x12e3 59 call(0x1030) 0x12e3 60 goto 54 @ 0x12ed 0x12a0 61 eax = ebx 0x12a2 62 al = al & 0xdf 0x12a4 63 al = al - 0x41 0x12a8 64 if (al u> 0x19) then 88 @ 0x1270 else 92 @ 0x12aa 0x1292 65 edx = edx + 1 0x1295 66 goto 98 @ 0x127c 0x1209 67 r13d = zx.d([rsp + r12 + 0x1f].b) 0x120f 68 r14d = zx.d([rsp + r12 + 0x20].b) 0x1215 69 [rsp + 0xe {var_17a}].b = r14b 0x121a 70 [rsp + 0xf {var_179}].b = r13b 0x121f 71 rdi = r15 {var_17a} 0x1222 72 rsi = rbx {var_179} 0x1225 73 call(0x1060) 0x122c 74 if (eax s>= 0) then 101 @ 0x1200 else 103 @ 0x122e 0x12fd 75 eax = 0 0x12ff 76 rsp = rsp + 0x158 0x1306 77 rbx = pop 0x1307 78 r12 = pop 0x1309 79 r13 = pop 0x130b 80 r14 = pop 0x130d 81 r15 = pop 0x130f 82 rbp = pop 0x1310 83 <return> jump(pop) 0x12ef 84 rdi = 0x200b {"No"} 0x12f6 85 eax = 0 0x12f8 86 call(0x1030) 0x12f8 87 goto 75 @ 0x12fd 0x1270 88 ecx = zx.d([rsp + rbp + 0x20].b) 0x1275 89 edx = 1 0x127a 90 eax = ebx 0x127a 91 goto 98 @ 0x127c 0x12aa 92 esi = sx.d(bl) 0x12ad 93 [rsp + 0x10 {var_178}].d = 0 0x12b5 94 rdi = r14 0x12b8 95 eax = 0 0x12ba 96 call(0x1030) 0x12bf 97 goto 88 @ 0x1270 0x127c 98 rbp = rbp + 1 0x1280 99 ebx = ecx 0x1285 100 if (r15 == rbp) then 40 @ 0x12c3 else 44 @ 0x1287 0x1200 101 r12 = r12 + 1 0x1207 102 if (rbp == r12) then 46 @ 0x11d0 else 67 @ 0x1209 0x122e 103 [rsp + r12 + 0x20].b = r13b 0x1233 104 [rsp + r12 + 0x1f].b = r14b 0x1238 105 goto 101 @ 0x1200 int64_t _fini(): 0x1318 0 rsp = rsp - 8 0x131c 1 rsp = rsp + 8 0x1320 2 <return> jump(pop)
POJ_100
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 {"UAWAVAUATSHhW)D$P)D$@)D$0)D$ )D$)$D$`"} 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 - 0x68 0x116e 7 xmm0 = 0 0x1171 8 [rsp + 0x50 {var_48}].o = xmm0 0x1176 9 [rsp + 0x40 {var_58}].o = xmm0 0x117b 10 [rsp + 0x30 {var_68}].o = xmm0 0x1180 11 [rsp + 0x20 {var_78}].o = xmm0 0x1185 12 [rsp + 0x10 {var_88}].o = xmm0 0x118a 13 [rsp {var_98}].o = xmm0 0x118e 14 [rsp + 0x60 {var_38}].d = 0 0x1196 15 rdi = 0x2004 {"%s"} 0x119d 16 r14 = rsp {var_98} 0x11a0 17 rsi = r14 {var_98} 0x11a3 18 eax = 0 0x11a5 19 call(0x1050) 0x11aa 20 bl = [rsp {var_98}].b 0x11ad 21 rdi = r14 {var_98} 0x11b0 22 call(0x1040) 0x11b5 23 [rsp + rax].b = 0 0x11bc 24 if (eax s< 2) then 25 @ 0x1245 else 34 @ 0x11c2 0x1245 25 eax = 0 0x1247 26 rsp = rsp + 0x68 0x124b 27 rbx = pop 0x124c 28 r12 = pop 0x124e 29 r13 = pop 0x1250 30 r14 = pop 0x1252 31 r15 = pop 0x1254 32 rbp = pop 0x1255 33 <return> jump(pop) 0x11c2 34 r15d = eax 0x11c5 35 r15d = r15d u>> 0x1f 0x11c9 36 r15d = r15d + eax 0x11cc 37 r15d = r15d s>> 1 0x11cf 38 ebp = eax 0x11d1 39 r14 = 0x2007 {"%d %d\n"} 0x11d8 40 r12d = 0 0x11db 41 goto 42 @ 0x11fe 0x11fe 42 edx = 0 0x1200 43 goto 44 @ 0x1219 0x1219 44 eax = zx.d([rsp + rdx].b) 0x121f 45 if (al == bl) then 46 @ 0x1210 else 48 @ 0x1223 0x1210 46 rdx = rdx + 1 0x1217 47 if (rbp == rdx) then 49 @ 0x11f5 else 44 @ 0x1219 0x1223 48 if (al == 0) then 46 @ 0x1210 else 51 @ 0x1225 0x11f5 49 r12d = r12d + 1 0x11fc 50 if (r12d == r15d) then 25 @ 0x1245 else 42 @ 0x11fe 0x1225 51 rax = rdx 0x1228 52 goto 53 @ 0x1233 0x1233 53 if (rax s<= 0) then 54 @ 0x11e0 else 61 @ 0x1235 0x11e0 54 [rsp + rdx].b = 0 0x11e4 55 rsi = sx.q(r13d) 0x11e7 56 [rsp + rsi].b = 0 0x11eb 57 rdi = r14 0x11ee 58 eax = 0 0x11f0 59 call(0x1030) 0x11f0 60 goto 49 @ 0x11f5 0x1235 61 rax = rax - 1 0x1239 62 ecx = eax 0x123e 63 if ([rsp + rcx].b != bl) then 53 @ 0x1233 else 64 @ 0x1240 0x1240 64 r13d = eax 0x1243 65 goto 54 @ 0x11e0 int64_t _fini(): 0x125c 0 rsp = rsp - 8 0x1260 1 rsp = rsp + 8 0x1264 2 <return> jump(pop)
POJ_77
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 {"AWAVSHp\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(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x970 0x115c 4 r15 = 0x2004 {"%d%d%d%d%d%d"} 0x1163 5 r14 = 0x2011 {"%d\n"} 0x116a 6 ebx = 0 0x116c 7 goto 8 @ 0x1170 0x1170 8 rsi = rsp + rbx 0x1174 9 rsi = rsi + 0x7e0 0x117b 10 rdx = rsp + rbx + 0x650 0x1183 11 rcx = rsp + rbx + 0x4c0 0x118b 12 r8 = rsp + rbx + 0x10 0x1190 13 r9 = rsp + rbx + 0x330 0x1198 14 rax = rsp + rbx 0x119c 15 rax = rax + 0x1a0 0x11a2 16 [rsp {var_988}].q = rax 0x11a6 17 rdi = r15 0x11a9 18 eax = 0 0x11ab 19 call(0x1040) 0x11b0 20 eax = [rsp + rbx + 0x7e0].d 0x11b9 21 if (eax == 0) then 22 @ 0x120a else 28 @ 0x11bb 0x120a 22 eax = 0 0x120c 23 rsp = rsp + 0x970 0x1213 24 rbx = pop 0x1214 25 r14 = pop 0x1216 26 r15 = pop 0x1218 27 <return> jump(pop) 0x11bb 28 ecx = [rsp + rbx + 0x10].d 0x11bf 29 ecx = ecx + 0xc 0x11c2 30 [rsp + rbx + 0x10].d = ecx 0x11c6 31 ecx = ecx - eax 0x11c8 32 esi = ecx * 0xe10 0x11ce 33 eax = [rsp + rbx + 0x330].d 0x11d5 34 eax = eax - [rsp + rbx + 0x650].d 0x11dc 35 esi = esi + [rsp + rbx + 0x1a0].d 0x11e3 36 eax = eax * 0x3c 0x11e6 37 esi = esi + eax 0x11e8 38 esi = esi - [rsp + rbx + 0x4c0].d 0x11ef 39 rdi = r14 0x11f2 40 eax = 0 0x11f4 41 call(0x1030) 0x11f9 42 rbx = rbx + 4 0x1204 43 if (rbx != 0x190) then 8 @ 0x1170 else 22 @ 0x120a int64_t _fini(): 0x1220 0 rsp = rsp - 8 0x1224 1 rsp = rsp + 8 0x1228 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 - 0x6b6d8 0x1161 7 rdi = 0x2004 {"%d"} 0x1168 8 rsi = rsp + 8 {var_6b700} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1179 11 if ([rsp + 8 {var_6b700}].d s<= 0) then 12 @ 0x1256 else 13 @ 0x117f 0x1256 12 if ([rsp + 8 {var_6b700}].d s<= 0) then 18 @ 0x128c else 27 @ 0x1258 0x117f 13 r15 = 0x2004 {"%d"} 0x1186 14 r14 = rsp + 0xc {var_6b6fc} 0x118b 15 r12 = rsp + 0x9c50 {var_61ab8} 0x1193 16 r13d = 0 0x1196 17 goto 30 @ 0x11b9 0x128c 18 eax = 0 0x128e 19 rsp = rsp + 0x6b6d8 0x1295 20 rbx = pop 0x1296 21 r12 = pop 0x1298 22 r13 = pop 0x129a 23 r14 = pop 0x129c 24 r15 = pop 0x129e 25 rbp = pop 0x129f 26 <return> jump(pop) 0x1258 27 rbx = 0x2007 {"%d\n"} 0x125f 28 ebp = 0 0x126b 29 goto 36 @ 0x1270 0x11b9 30 rdi = r15 0x11bc 31 rsi = r14 {var_6b6fc} 0x11bf 32 eax = 0 0x11c1 33 call(0x1040) 0x11c6 34 edx = [rsp + 0xc {var_6b6fc}].d 0x11cc 35 if (edx s<= 0) then 43 @ 0x11ff else 45 @ 0x11ce 0x1270 36 esi = [rsp + (rbp << 2) + 0x10].d 0x1274 37 rdi = rbx 0x1277 38 eax = 0 0x1279 39 call(0x1030) 0x127e 40 rbp = rbp + 1 0x1282 41 rax = sx.q([rsp + 8 {var_6b700}].d) 0x128a 42 if (rbp s< rax) then 36 @ 0x1270 else 18 @ 0x128c 0x11ff 43 [rsp + (r13 << 2) + 0x10].d = 0x3c {""} 0x120a 44 if (edx s<= 0) then 48 @ 0x11a7 else 51 @ 0x120c 0x11ce 45 rbx = r12 {var_61ab8} 0x11d1 46 ebp = 0 0x11dd 47 goto 58 @ 0x11e0 0x11a7 48 r13 = r13 + 1 0x11ab 49 rax = sx.q([rsp + 8 {var_6b700}].d) 0x11b3 50 if (r13 s>= rax) then 12 @ 0x1256 else 30 @ 0x11b9 0x120c 51 eax = [rsp + (r13 << 2) + 0x10].d 0x1211 52 esi = (rdx + (rdx << 1)).d 0x1214 53 ecx = eax 0x1216 54 ecx = ecx - esi 0x1218 55 edx = edx 0x121a 56 esi = 0 0x121c 57 goto 66 @ 0x1220 0x11e0 58 rdi = r15 0x11e3 59 rsi = rbx 0x11e6 60 eax = 0 0x11e8 61 call(0x1040) 0x11ed 62 rbp = rbp + 1 0x11f1 63 rdx = sx.q([rsp + 0xc {var_6b6fc}].d) 0x11f6 64 rbx = rbx + 4 0x11fd 65 if (rbp s< rdx) then 58 @ 0x11e0 else 43 @ 0x11ff 0x1220 66 ebp = [rsp + (rsi << 2) + 0x9c50].d 0x1227 67 edi = eax 0x1229 68 edi = edi - ebp 0x122e 69 if (edi u< 4) then 70 @ 0x11a0 else 72 @ 0x1234 0x11a0 70 eax = ebp 0x11a0 71 goto 74 @ 0x11a2 0x1234 72 edi = (rax - 3).d 0x1239 73 if (edi s< ebp) then 74 @ 0x11a2 else 76 @ 0x123f 0x11a2 74 [rsp + (r13 << 2) + 0x10].d = eax 0x11a2 75 goto 48 @ 0x11a7 0x123f 76 rsi = rsi + 1 0x1243 77 eax = edi 0x1248 78 if (rdx != rsi) then 66 @ 0x1220 else 79 @ 0x124a 0x124a 79 eax = ecx 0x124c 80 goto 74 @ 0x11a2 int64_t _fini(): 0x12a4 0 rsp = rsp - 8 0x12a8 1 rsp = rsp + 8 0x12ac 2 <return> jump(pop)
POJ_86
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 {"HH="} 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 rsp = rsp - 0x18 0x1154 1 rdi = 0x2004 {"%d%d%d"} 0x115b 2 rsi = rsp + 0x14 {var_4} 0x1160 3 rdx = rsp + 0x10 {var_8} 0x1165 4 rcx = rsp + 0xc {var_c} 0x116a 5 eax = 0 0x116c 6 call(0x1040) 0x1171 7 ecx = [rsp + 0x14 {var_4}].d 0x1175 8 eax = (rcx - 1).d 0x1178 9 edx = [rsp + 0xc {var_c}].d 0x117c 10 edx = edx + eax 0x117e 11 esi = (rcx + 2).d 0x1183 12 if (eax s>= 0) then 13 else 15 @ 0x1186 0x1183 13 esi = eax 0x1183 14 goto 15 @ 0x1186 0x1186 15 esi = esi s>> 2 0x1189 16 esi = esi + edx 0x118b 17 rax = sx.q(eax) 0x118d 18 rdx = rax * 0x51eb851f 0x1194 19 rdi = rdx 0x1197 20 rdi = rdi u>> 0x3f 0x119b 21 rdx = rdx s>> 0x27 0x119f 22 edx = edx + edi 0x11a1 23 edx = edx + esi 0x11a3 24 rax = rax * -0x51eb851f 0x11aa 25 rsi = rax 0x11ad 26 rsi = rsi u>> 0x3f 0x11b1 27 rax = rax s>> 0x25 0x11b5 28 eax = eax + esi 0x11b7 29 eax = eax + edx 0x11bc 30 dl = (cl & 3) == 0 0x11bf 31 ecx = ecx * -0x3d70a3d7 0x11c5 32 ecx = ecx + 0x51eb850 0x11cb 33 esi = ecx 0x11cd 34 esi = ror.d(esi, 2) 0x11d6 35 sil = esi u>= 0x28f5c29 0x11da 36 ecx = ror.d(ecx, 4) 0x11dd 37 flag:c = ecx u< 0xa3d70b 0x11e3 38 dil = flag:c 0x11e7 39 ecx = [rsp + 0x10 {var_8}].d 0x11ee 40 if (ecx s< 2) then 41 @ 0x1221 else 53 @ 0x11f0 0x1221 41 rcx = sx.q(eax) 0x1224 42 rax = rcx * -0x6db6db6d 0x122b 43 rax = rax u>> 0x20 0x122f 44 eax = eax + ecx 0x1231 45 edx = eax 0x1233 46 edx = edx u>> 0x1f 0x1236 47 eax = eax s>> 2 0x1239 48 eax = eax + edx 0x123b 49 edx = (rax << 3).d 0x1242 50 eax = eax - edx 0x1244 51 eax = eax + ecx 0x1249 52 if (eax u> 5) then 55 @ 0x125d else 57 @ 0x124b 0x11f0 53 eax = eax + 0x1f 0x11f6 54 if (ecx == 2) then 41 @ 0x1221 else 62 @ 0x11f8 0x125d 55 rdi = 0x2029 {"Sat."} 0x125d 56 goto 69 @ 0x1264 0x124b 57 rax = sx.q(eax) 0x124d 58 rcx = 0x2030 {";,"} 0x1254 59 rdi = sx.q([rcx + (rax << 2)].d) 0x1258 60 rdi = rdi + rcx 0x125b 61 goto 69 @ 0x1264 0x11f8 62 dl = dl & sil 0x11fb 63 dl = dl | dil 0x11fe 64 edx = zx.d(dl) 0x1201 65 edx = edx | 0x1c 0x1204 66 eax = eax + edx 0x1206 67 cond:0 = ecx != 4 0x1209 68 if (ecx u< 4) then 41 @ 0x1221 else 74 @ 0x120b 0x1264 69 eax = 0 0x1266 70 call(0x1030) 0x126b 71 eax = 0 0x126d 72 rsp = rsp + 0x18 0x1271 73 <return> jump(pop) 0x120b 74 if (cond:0) then 75 @ 0x1212 else 77 @ 0x120d 0x1212 75 cond:1 = ecx != 6 0x1215 76 if (ecx u< 6) then 79 @ 0x121e else 81 @ 0x1217 0x120d 77 eax = eax + 0x1f 0x1210 78 goto 41 @ 0x1221 0x121e 79 eax = eax + 0x3d 0x121e 80 goto 41 @ 0x1221 0x1217 81 if (cond:1) then 82 @ 0x1272 else 84 @ 0x1219 0x1272 82 cond:2 = ecx != 8 0x1275 83 if (ecx u< 8) then 86 @ 0x1280 else 88 @ 0x1277 0x1219 84 eax = eax + 0x5c 0x121c 85 goto 41 @ 0x1221 0x1280 86 eax = eax + 0x7a 0x1283 87 goto 41 @ 0x1221 0x1277 88 if (cond:2) then 89 @ 0x1285 else 91 @ 0x1279 0x1285 89 cond:3 = ecx != 0xa 0x1288 90 if (ecx u< 0xa) then 93 @ 0x1293 else 95 @ 0x128a 0x1279 91 eax = eax + 0x99 0x127e 92 goto 41 @ 0x1221 0x1293 93 eax = eax + 0xb8 0x1298 94 goto 41 @ 0x1221 0x128a 95 if (cond:3) then 96 @ 0x129a else 99 @ 0x128c 0x129a 96 edx = (rax + 0xf5).d 0x12a0 97 eax = eax + 0x113 0x12a8 98 if (ecx u< 0xc) then 101 else 103 @ 0x12ab 0x128c 99 eax = eax + 0xd6 0x1291 100 goto 41 @ 0x1221 0x12a8 101 eax = edx 0x12a8 102 goto 103 @ 0x12ab 0x12ab 103 goto 41 @ 0x1221 int64_t _fini(): 0x12b4 0 rsp = rsp - 8 0x12b8 1 rsp = rsp + 8 0x12bc 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) 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 - 0xf0 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rdi = rbp - 0x70 {var_78} 0x1186 5 al = 0 0x1188 6 call(0x1060) 0x118d 7 rdi = rbp - 0x70 {var_78} 0x1191 8 call(0x1040) 0x1196 9 [rbp - 0xe8 {var_f0}].d = eax 0x119c 10 [rbp - 0xe4 {var_ec}].d = 0 0x119c 11 goto 12 @ 0x11a6 0x11a6 12 eax = [rbp - 0xe4 {var_ec}].d 0x11b2 13 if (eax s>= [rbp - 0xe8 {var_f0}].d) then 14 @ 0x123e else 16 @ 0x11b8 0x123e 14 [rbp - 0xe4 {var_ec_1}].d = 0 0x123e 15 goto 20 @ 0x1248 0x11b8 16 eax = [rbp - 0xe4 {var_ec}].d 0x11be 17 ecx = [rbp - 0xe8 {var_f0}].d 0x11c4 18 ecx = ecx - 1 0x11c9 19 if (eax s>= ecx) then 22 @ 0x1203 else 30 @ 0x11cf 0x1248 20 eax = [rbp - 0xe4 {var_ec_1}].d 0x1254 21 if (eax s>= [rbp - 0xe8 {var_f0}].d) then 41 @ 0x128b else 49 @ 0x125a 0x1203 22 rax = sx.q([rbp - 0xe4 {var_ec}].d) 0x120a 23 eax = sx.d([rbp + rax - 0x70].b) 0x120f 24 ecx = sx.d([rbp - 0x70 {var_78}].b) 0x1213 25 eax = eax + ecx 0x1215 26 cl = al 0x1217 27 rax = sx.q([rbp - 0xe4 {var_ec}].d) 0x121e 28 [rbp + rax - 0xe0].b = cl 0x121e 29 goto 58 @ 0x1225 0x11cf 30 rax = sx.q([rbp - 0xe4 {var_ec}].d) 0x11d6 31 eax = sx.d([rbp + rax - 0x70].b) 0x11db 32 ecx = [rbp - 0xe4 {var_ec}].d 0x11e1 33 ecx = ecx + 1 0x11e4 34 rcx = sx.q(ecx) 0x11e7 35 ecx = sx.d([rbp + rcx - 0x70].b) 0x11ec 36 eax = eax + ecx 0x11ee 37 cl = al 0x11f0 38 rax = sx.q([rbp - 0xe4 {var_ec}].d) 0x11f7 39 [rbp + rax - 0xe0].b = cl 0x11fe 40 goto 58 @ 0x1225 0x128b 41 rdi = 0x2007 {"%d"} 0x1292 42 rsi = rbp - 0xe8 {var_f0} 0x1299 43 al = 0 0x129b 44 call(0x1050) 0x12a0 45 eax = 0 0x12a2 46 rsp = rsp + 0xf0 0x12a9 47 rbp = pop 0x12aa 48 <return> jump(pop) 0x125a 49 rax = sx.q([rbp - 0xe4 {var_ec_1}].d) 0x1261 50 esi = sx.d([rbp + rax - 0xe0].b) 0x1269 51 rdi = 0x2004 {"%c"} 0x1270 52 al = 0 0x1272 53 call(0x1030) 0x1277 54 eax = [rbp - 0xe4 {var_ec_1}].d 0x127d 55 eax = eax + 1 0x1280 56 [rbp - 0xe4 {var_ec_1}].d = eax 0x1286 57 goto 20 @ 0x1248 0x1225 58 goto 59 @ 0x122a 0x122a 59 eax = [rbp - 0xe4 {var_ec}].d 0x1230 60 eax = eax + 1 0x1233 61 [rbp - 0xe4 {var_ec}].d = eax 0x1239 62 goto 12 @ 0x11a6 int64_t _fini(): 0x12b0 0 rsp = rsp - 8 0x12b4 1 rsp = rsp + 8 0x12b8 2 <return> jump(pop)
POJ_91
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 {"UHHPE"} 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 - 0x50 0x1168 3 [rbp - 4 {var_c}].d = 0 0x116f 4 rdi = 0x2004 {"%d"} 0x1176 5 rsi = rbp - 8 {var_10} 0x117a 6 al = 0 0x117c 7 call(0x1050) 0x1181 8 [rbp - 0x10 {var_18}].d = 0 0x1181 9 goto 10 @ 0x1188 0x1188 10 eax = [rbp - 0x10 {var_18}].d 0x118e 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x1290 else 16 @ 0x1194 0x1290 12 eax = 0 0x1292 13 rsp = rsp + 0x50 0x1296 14 rbp = pop 0x1297 15 <return> jump(pop) 0x1194 16 rsi = rbp - 0x50 {var_58} 0x1198 17 rdi = 0x2007 {"%s"} 0x119f 18 al = 0 0x11a1 19 call(0x1050) 0x11a6 20 rdi = rbp - 0x50 {var_58} 0x11aa 21 call(0x1040) 0x11af 22 [rbp - 0xc {var_14_1}].d = eax 0x11b2 23 eax = [rbp - 0xc {var_14_1}].d 0x11b5 24 eax = eax - 1 0x11b8 25 rax = sx.q(eax) 0x11ba 26 eax = sx.d([rbp + rax - 0x50].b) 0x11c2 27 if (eax != 0x67) then 28 @ 0x1225 else 30 @ 0x11c8 0x1225 28 [rbp - 0x14 {var_1c_2}].d = 0 0x1225 29 goto 32 @ 0x122c 0x11c8 30 [rbp - 0x14 {var_1c_1}].d = 0 0x11c8 31 goto 36 @ 0x11cf 0x122c 32 eax = [rbp - 0x14 {var_1c_2}].d 0x122f 33 ecx = [rbp - 0xc {var_14_1}].d 0x1232 34 ecx = ecx - 3 0x1237 35 if (eax s>= ecx) then 40 @ 0x1262 else 48 @ 0x123d 0x11cf 36 eax = [rbp - 0x14 {var_1c_1}].d 0x11d2 37 ecx = [rbp - 0xc {var_14_1}].d 0x11d5 38 ecx = ecx - 4 0x11da 39 if (eax s>= ecx) then 57 @ 0x1205 else 65 @ 0x11e0 0x1262 40 eax = [rbp - 0xc {var_14_1}].d 0x1265 41 eax = eax - 3 0x1268 42 rax = sx.q(eax) 0x126a 43 esi = sx.d([rbp + rax - 0x50].b) 0x126f 44 rdi = 0x200d {"%c\n"} 0x1276 45 al = 0 0x1278 46 call(0x1030) 0x1278 47 goto 74 @ 0x127d 0x123d 48 rax = sx.q([rbp - 0x14 {var_1c_2}].d) 0x1241 49 esi = sx.d([rbp + rax - 0x50].b) 0x1246 50 rdi = 0x200a {"%c"} 0x124d 51 al = 0 0x124f 52 call(0x1030) 0x1254 53 eax = [rbp - 0x14 {var_1c_2}].d 0x1257 54 eax = eax + 1 0x125a 55 [rbp - 0x14 {var_1c_2}].d = eax 0x125d 56 goto 32 @ 0x122c 0x1205 57 eax = [rbp - 0xc {var_14_1}].d 0x1208 58 eax = eax - 4 0x120b 59 rax = sx.q(eax) 0x120d 60 esi = sx.d([rbp + rax - 0x50].b) 0x1212 61 rdi = 0x200d {"%c\n"} 0x1219 62 al = 0 0x121b 63 call(0x1030) 0x1220 64 goto 74 @ 0x127d 0x11e0 65 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x11e4 66 esi = sx.d([rbp + rax - 0x50].b) 0x11e9 67 rdi = 0x200a {"%c"} 0x11f0 68 al = 0 0x11f2 69 call(0x1030) 0x11f7 70 eax = [rbp - 0x14 {var_1c_1}].d 0x11fa 71 eax = eax + 1 0x11fd 72 [rbp - 0x14 {var_1c_1}].d = eax 0x1200 73 goto 36 @ 0x11cf 0x127d 74 goto 75 @ 0x1282 0x1282 75 eax = [rbp - 0x10 {var_18}].d 0x1285 76 eax = eax + 1 0x1288 77 [rbp - 0x10 {var_18}].d = eax 0x128b 78 goto 10 @ 0x1188 int64_t _fini(): 0x129c 0 rsp = rsp - 8 0x12a0 1 rsp = rsp + 8 0x12a4 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 {"UHHPE"} 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 - 0x50 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 0x2007 {"%d"} 0x1166 5 eax = 0 0x1168 6 rsi = rbp - 8 {var_10} 0x116c 7 call(0x1040) 0x1171 8 eax = [rbp - 8 {var_10}].d 0x1174 9 rcx = rsp {var_58} 0x1177 10 [rbp - 0x30 {var_38}].q = rcx {var_58} 0x117b 11 rdx = (rax << 2) + 0xf 0x1183 12 rdx = rdx & 0xfffffffffffffff0 0x1187 13 rcx = rsp {var_58} 0x118a 14 rcx = rcx - rdx 0x118d 15 [rbp - 0x50 {var_58}].q = rcx 0x1191 16 rsp = rcx 0x1194 17 [rbp - 0x38 {var_40}].q = rax 0x1198 18 eax = [rbp - 8 {var_10}].d 0x119b 19 rdx = (rax << 2) + 0xf 0x11a3 20 rdx = rdx & 0xfffffffffffffff0 0x11a7 21 rcx = rsp 0x11aa 22 rcx = rcx - rdx 0x11ad 23 [rbp - 0x48 {var_50}].q = rcx 0x11b1 24 rsp = rcx 0x11b4 25 [rbp - 0x40 {var_48}].q = rax 0x11b8 26 [rbp - 0x24 {var_2c}].d = 1 0x11bf 27 [rbp - 0xc {var_14}].d = 0 0x11bf 28 goto 29 @ 0x11c6 0x11c6 29 eax = [rbp - 0xc {var_14}].d 0x11cc 30 if (eax s>= [rbp - 8 {var_10}].d) then 31 @ 0x120c else 33 @ 0x11d2 0x120c 31 [rbp - 0xc {var_14_1}].d = 0 0x120c 32 goto 48 @ 0x1213 0x11d2 33 rdx = [rbp - 0x48 {var_50}].q 0x11d6 34 rsi = [rbp - 0x50 {var_58}].q 0x11da 35 rax = sx.q([rbp - 0xc {var_14}].d) 0x11de 36 rax = rax << 2 0x11e2 37 rsi = rsi + rax 0x11e5 38 rax = sx.q([rbp - 0xc {var_14}].d) 0x11e9 39 rax = rax << 2 0x11ed 40 rdx = rdx + rax 0x11f0 41 rdi = 0x2004 {"%d %d"} 0x11f7 42 al = 0 0x11f9 43 call(0x1040) 0x11fe 44 eax = [rbp - 0xc {var_14}].d 0x1201 45 eax = eax + 1 0x1204 46 [rbp - 0xc {var_14}].d = eax 0x1207 47 goto 29 @ 0x11c6 0x1213 48 eax = [rbp - 0xc {var_14_1}].d 0x1216 49 ecx = [rbp - 8 {var_10}].d 0x1219 50 ecx = ecx - 1 0x121e 51 if (eax s>= ecx) then 52 @ 0x12e2 else 57 @ 0x1224 0x12e2 52 rax = [rbp - 0x48 {var_50}].q 0x12e6 53 eax = [rax].d 0x12e8 54 [rbp - 0x20 {var_28}].d = eax 0x12eb 55 [rbp - 0xc {var_14_2}].d = 0 0x12eb 56 goto 59 @ 0x12f2 0x1224 57 [rbp - 0x14 {var_1c_1}].d = 0 0x1224 58 goto 63 @ 0x122b 0x12f2 59 eax = [rbp - 0xc {var_14_2}].d 0x12f5 60 ecx = [rbp - 8 {var_10}].d 0x12f8 61 ecx = ecx - 1 0x12fd 62 if (eax s>= ecx) then 68 @ 0x1392 else 69 @ 0x1303 0x122b 63 eax = [rbp - 0x14 {var_1c_1}].d 0x122e 64 ecx = [rbp - 8 {var_10}].d 0x1231 65 ecx = ecx - [rbp - 0xc {var_14_1}].d 0x1234 66 ecx = ecx - 1 0x1239 67 if (eax s>= ecx) then 75 @ 0x12cf else 76 @ 0x123f 0x1392 68 if ([rbp - 0x24 {var_2c}].d != 1) then 83 @ 0x13af else 94 @ 0x1398 0x1303 69 rcx = [rbp - 0x50 {var_58}].q 0x1307 70 eax = [rbp - 0x20 {var_28}].d 0x130a 71 edx = [rbp - 0xc {var_14_2}].d 0x130d 72 edx = edx + 1 0x1310 73 rdx = sx.q(edx) 0x1316 74 if (eax s>= [rcx + (rdx << 2)].d) then 101 @ 0x1336 else 107 @ 0x131c 0x12cf 75 goto 112 @ 0x12d4 0x123f 76 rcx = [rbp - 0x50 {var_58}].q 0x1243 77 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1247 78 eax = [rcx + (rax << 2)].d 0x124a 79 edx = [rbp - 0x14 {var_1c_1}].d 0x124d 80 edx = edx + 1 0x1250 81 rdx = sx.q(edx) 0x1256 82 if (eax s<= [rcx + (rdx << 2)].d) then 116 @ 0x12bc else 117 @ 0x125c 0x13af 83 rdi = 0x2007 {"%d"} 0x13b6 84 rsi = rbp - 8 {var_10} 0x13ba 85 al = 0 0x13bc 86 call(0x1040) 0x13c1 87 [rbp - 4 {var_c_1}].d = 0 0x13c8 88 rax = [rbp - 0x30].q {var_58} 0x13cc 89 rsp = rax 0x13cf 90 eax = [rbp - 4 {var_c_1}].d 0x13d2 91 rsp = rbp 0x13d5 92 rbp = pop 0x13d6 93 <return> jump(pop) 0x1398 94 rax = [rbp - 0x50 {var_58}].q 0x139c 95 esi = [rax].d 0x139e 96 edx = [rbp - 0x20 {var_28}].d 0x13a1 97 rdi = 0x2004 {"%d %d"} 0x13a8 98 al = 0 0x13aa 99 call(0x1030) 0x13aa 100 goto 83 @ 0x13af 0x1336 101 rcx = [rbp - 0x50 {var_58}].q 0x133a 102 eax = [rbp - 0x20 {var_28}].d 0x133d 103 edx = [rbp - 0xc {var_14_2}].d 0x1340 104 edx = edx + 1 0x1343 105 rdx = sx.q(edx) 0x1349 106 if (eax s< [rcx + (rdx << 2)].d) then 148 @ 0x137b else 149 @ 0x134f 0x131c 107 rdi = 0x200a {"no"} 0x1323 108 al = 0 0x1325 109 call(0x1030) 0x132a 110 [rbp - 0x24 {var_2c}].d = 2 0x1331 111 goto 68 @ 0x1392 0x12d4 112 eax = [rbp - 0xc {var_14_1}].d 0x12d7 113 eax = eax + 1 0x12da 114 [rbp - 0xc {var_14_1}].d = eax 0x12dd 115 goto 48 @ 0x1213 0x12bc 116 goto 155 @ 0x12c1 0x125c 117 rax = [rbp - 0x48 {var_50}].q 0x1260 118 rcx = [rbp - 0x50 {var_58}].q 0x1264 119 rdx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1268 120 edx = [rcx + (rdx << 2)].d 0x126b 121 [rbp - 0x18 {var_20_1}].d = edx 0x126e 122 rdx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1272 123 edx = [rax + (rdx << 2)].d 0x1275 124 [rbp - 0x10 {var_18_1}].d = edx 0x1278 125 edx = [rbp - 0x14 {var_1c_1}].d 0x127b 126 edx = edx + 1 0x127e 127 rdx = sx.q(edx) 0x1281 128 esi = [rcx + (rdx << 2)].d 0x1284 129 rdx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1288 130 [rcx + (rdx << 2)].d = esi 0x128b 131 edx = [rbp - 0x14 {var_1c_1}].d 0x128e 132 edx = edx + 1 0x1291 133 rdx = sx.q(edx) 0x1294 134 esi = [rax + (rdx << 2)].d 0x1297 135 rdx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x129b 136 [rax + (rdx << 2)].d = esi 0x129e 137 esi = [rbp - 0x18 {var_20_1}].d 0x12a1 138 edx = [rbp - 0x14 {var_1c_1}].d 0x12a4 139 edx = edx + 1 0x12a7 140 rdx = sx.q(edx) 0x12aa 141 [rcx + (rdx << 2)].d = esi 0x12ad 142 edx = [rbp - 0x10 {var_18_1}].d 0x12b0 143 ecx = [rbp - 0x14 {var_1c_1}].d 0x12b3 144 ecx = ecx + 1 0x12b6 145 rcx = sx.q(ecx) 0x12b9 146 [rax + (rcx << 2)].d = edx 0x12b9 147 goto 116 @ 0x12bc 0x137b 148 goto 159 @ 0x1380 0x134f 149 rcx = [rbp - 0x48 {var_50}].q 0x1353 150 eax = [rbp - 0x20 {var_28}].d 0x1356 151 edx = [rbp - 0xc {var_14_2}].d 0x1359 152 edx = edx + 1 0x135c 153 rdx = sx.q(edx) 0x1362 154 if (eax s>= [rcx + (rdx << 2)].d) then 148 @ 0x137b else 163 @ 0x1368 0x12c1 155 eax = [rbp - 0x14 {var_1c_1}].d 0x12c4 156 eax = eax + 1 0x12c7 157 [rbp - 0x14 {var_1c_1}].d = eax 0x12ca 158 goto 63 @ 0x122b 0x1380 159 eax = [rbp - 0xc {var_14_2}].d 0x1383 160 eax = eax + 1 0x1386 161 [rbp - 0xc {var_14_2}].d = eax 0x1389 162 goto 59 @ 0x12f2 0x1368 163 rax = [rbp - 0x48 {var_50}].q 0x136c 164 ecx = [rbp - 0xc {var_14_2}].d 0x136f 165 ecx = ecx + 1 0x1372 166 rcx = sx.q(ecx) 0x1375 167 eax = [rax + (rcx << 2)].d 0x1378 168 [rbp - 0x20 {var_28}].d = eax 0x1378 169 goto 148 @ 0x137b int64_t _fini(): 0x13dc 0 rsp = rsp - 8 0x13e0 1 rsp = rsp + 8 0x13e4 2 <return> jump(pop)
POJ_76
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 {"UAWAVAUATSH8N"} 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 - 0x4e38 0x1171 7 rdi = 0x2080 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_4e5c} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 0xc {var_4e5c}].d s<= 0) then 12 @ 0x1409 else 21 @ 0x118f 0x1409 12 eax = 0 0x140b 13 rsp = rsp + 0x4e38 0x1412 14 rbx = pop 0x1413 15 r12 = pop 0x1415 16 r13 = pop 0x1417 17 r14 = pop 0x1419 18 r15 = pop 0x141b 19 rbp = pop 0x141c 20 <return> jump(pop) 0x118f 21 r15 = rsp + 0x10 {var_4e58} 0x1194 22 r14 = 0x2083 {"%s"} 0x119b 23 ebx = 0 0x119d 24 goto 25 @ 0x11a0 0x11a0 25 rdi = r14 0x11a3 26 rsi = r15 0x11a6 27 eax = 0 0x11a8 28 call(0x1040) 0x11ad 29 rbx = rbx + 1 0x11b1 30 rax = sx.q([rsp + 0xc {var_4e5c}].d) 0x11b6 31 r15 = r15 + 0x14 0x11bd 32 if (rbx s< rax) then 25 @ 0x11a0 else 33 @ 0x11c1 0x11c1 33 if (eax s<= 0) then 12 @ 0x1409 else 34 @ 0x11c7 0x11c7 34 r13 = rsp + 0x15 {var_4e53} 0x11cc 35 r14 = rsp + 0x10 {var_4e58} 0x11d1 36 r15d = 0 0x11d4 37 r12 = 0x2086 {"no"} 0x11db 38 goto 39 @ 0x1212 0x1212 39 rbp = r15 + (r15 << 2) 0x1216 40 rdi = rsp + (rbp << 2) 0x121a 41 rdi = rdi + 0x10 0x121e 42 call(0x1030) 0x1223 43 cl = [rsp + (rbp << 2) + 0x10].b 0x1227 44 edx = ecx 0x1229 45 dl = dl & 0xdf 0x122c 46 dl = dl - 0x41 0x1232 47 if (dl u< 0x1a) then 48 @ 0x123c else 50 @ 0x1234 0x123c 48 esi = 0 0x1241 49 if (eax s< 2) then 52 @ 0x11e0 else 57 @ 0x1243 0x1234 50 rdi = r12 0x123a 51 if (cl != 0x5f) then 60 @ 0x11f3 else 48 @ 0x123c 0x11e0 52 eax = eax - 1 0x11e3 53 cond:0 = esi == eax 0x11e5 54 rdi = r12 0x11e8 55 rax = 0x2089 {"yes"} 0x11ef 56 if (cond:0) then 66 else 68 0x1243 57 r9d = eax 0x1246 58 r8 = r9 - 1 0x124e 59 if (r8 u>= 8) then 69 @ 0x125c else 84 @ 0x1250 0x11f3 60 call(0x1050) 0x11f8 61 r15 = r15 + 1 0x11fc 62 rax = sx.q([rsp + 0xc {var_4e5c}].d) 0x1201 63 r13 = r13 + 0x14 0x1205 64 r14 = r14 + 0x14 0x120c 65 if (r15 s>= rax) then 12 @ 0x1409 else 39 @ 0x1212 0x11ef 66 rdi = rax 0x11ef 67 goto 68 0x11ef 68 goto 60 @ 0x11f3 0x125c 69 rdi = r8 0x125f 70 rdi = rdi & 0xfffffffffffffff8 0x1263 71 rbp = rdi + 1 0x1267 72 xmm0 = 0 0x126b 73 esi = 0 0x126d 74 xmm1 = 0 0x1271 75 xmm8 = [0x2010].o 0x127a 76 xmm9 = [0x2020].o 0x1283 77 xmm10 = [0x2030].o 0x128c 78 xmm11 = [0x2040].o 0x1295 79 xmm12 = _mm_cmpeq_epi32(xmm12, xmm12) 0x129a 80 xmm13 = [0x2050].o 0x12a3 81 xmm14 = [0x2060].o 0x12ac 82 xmm15 = [0x2070].o 0x12bf 83 goto 87 @ 0x12c0 0x1250 84 esi = 0 0x1252 85 ebp = 1 0x1257 86 goto 139 @ 0x13d0 0x12c0 87 xmm4 = [r13 + rsi - 4].d 0x12c7 88 xmm2 = [r13 + rsi].d 0x12ce 89 xmm3 = xmm4 0x12d2 90 xmm5 = xmm4 0x12d6 91 xmm5 = xmm5 & xmm9 0x12db 92 xmm7 = xmm2 0x12df 93 xmm7 = xmm7 & xmm9 0x12e4 94 xmm5 = _mm_add_epi8(xmm5, xmm10) 0x12e9 95 xmm7 = _mm_add_epi8(xmm7, xmm10) 0x12ee 96 xmm6 = xmm5 0x12f2 97 xmm6 = _mm_max_epu8(xmm6, xmm11) 0x12f7 98 xmm6 = _mm_cmpeq_epi8(xmm6, xmm5) 0x12fb 99 xmm5 = xmm7 0x12ff 100 xmm5 = _mm_max_epu8(xmm5, xmm11) 0x1304 101 xmm5 = _mm_cmpeq_epi8(xmm5, xmm7) 0x1308 102 xmm4 = _mm_add_epi8(xmm4, xmm13) 0x130d 103 xmm7 = xmm4 0x1311 104 xmm7 = _mm_max_epu8(xmm7, xmm14) 0x1316 105 xmm7 = _mm_cmpeq_epi8(xmm7, xmm4) 0x131a 106 xmm3 = _mm_cmpeq_epi8(xmm3, xmm8) 0x131f 107 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x1323 108 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x1327 109 xmm7 = xmm7 ^ xmm12 0x132c 110 xmm7 = _mm_unpacklo_epi8(xmm7, xmm7.q) 0x1330 111 xmm7 = _mm_unpacklo_epi16(xmm7, xmm7.q) 0x1334 112 xmm7 = xmm7 | xmm3 0x1338 113 xmm3 = xmm2 0x133c 114 xmm6 = xmm6 ^ xmm12 0x1341 115 xmm6 = _mm_unpacklo_epi8(xmm6, xmm6.q) 0x1345 116 xmm6 = _mm_unpacklo_epi16(xmm6, xmm6.q) 0x1349 117 xmm2 = _mm_add_epi8(xmm2, xmm13) 0x134e 118 xmm7 = xmm7 | xmm6 0x1352 119 xmm4 = xmm2 0x1356 120 xmm4 = _mm_max_epu8(xmm4, xmm14) 0x135b 121 xmm4 = _mm_cmpeq_epi8(xmm4, xmm2) 0x135f 122 xmm3 = _mm_cmpeq_epi8(xmm3, xmm8) 0x1364 123 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x1368 124 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x136c 125 xmm4 = xmm4 ^ xmm12 0x1371 126 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x1375 127 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x1379 128 xmm4 = xmm4 | xmm3 0x137d 129 xmm5 = xmm5 ^ xmm12 0x1382 130 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q) 0x1386 131 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q) 0x138a 132 xmm4 = xmm4 | xmm5 0x138e 133 xmm7 = xmm7 & xmm15 0x1393 134 xmm0 = _mm_add_epi32(xmm0, xmm7) 0x1397 135 xmm4 = xmm4 & xmm15 0x139c 136 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x13a0 137 rsi = rsi + 8 0x13a7 138 if (rdi != rsi) then 87 @ 0x12c0 else 155 @ 0x13ad 0x13d0 139 edx = zx.d([r14 + rbp].b) 0x13d8 140 bl = dl == 0x5f 0x13db 141 ecx = edx 0x13dd 142 cl = cl & 0xdf 0x13e0 143 cl = cl - 0x41 0x13e3 144 flag:c = cl u< 0x1a 0x13e6 145 cl = flag:c 0x13e9 146 dl = dl - 0x30 0x13ec 147 flag:c = dl u< 0xa 0x13ef 148 dl = flag:c 0x13f2 149 dl = dl | bl 0x13f4 150 dl = dl | cl 0x13f6 151 ecx = zx.d(dl) 0x13f9 152 esi = esi + ecx 0x13fb 153 rbp = rbp + 1 0x1402 154 if (r9 != rbp) then 139 @ 0x13d0 else 162 @ 0x1404 0x13ad 155 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x13b1 156 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x13b6 157 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x13ba 158 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x13bf 159 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x13c3 160 esi = xmm1.d 0x13ca 161 if (r8 == rdi) then 52 @ 0x11e0 else 139 @ 0x13d0 0x1404 162 goto 52 @ 0x11e0 int64_t _fini(): 0x1424 0 rsp = rsp - 8 0x1428 1 rsp = rsp + 8 0x142c 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 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 {"AWAVATSH8"} 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 - 0x138a8 0x115e 5 rdi = 0x200f {"%d"} 0x1165 6 rsi = rsp + 0xc {var_138bc} 0x116a 7 eax = 0 0x116c 8 call(0x1040) 0x1171 9 eax = [rsp + 0xc {var_138bc}].d 0x1177 10 if (eax s<= 0) then 11 @ 0x11b6 else 13 @ 0x1179 0x11b6 11 r9 = sx.q(eax) 0x11bb 12 if (eax s<= 0) then 18 @ 0x1224 else 20 @ 0x11bd 0x1179 13 r14 = rsp + 0x10 {var_138b8} 0x117e 14 r12 = rsp + 0x9c60 {var_9c68} 0x1186 15 r15 = 0x2004 {"%d%d"} 0x118d 16 ebx = 0 0x118f 17 goto 23 @ 0x1190 0x1224 18 ecx = eax 0x1229 19 if (eax s< 2) then 33 @ 0x1267 else 36 @ 0x122b 0x11bd 20 r8d = (r9 + 1).d 0x11c1 21 esi = 1 0x11c6 22 goto 38 @ 0x11d9 0x1190 23 rdi = r15 0x1193 24 rsi = r12 0x1196 25 rdx = r14 0x1199 26 eax = 0 0x119b 27 call(0x1040) 0x11a0 28 rbx = rbx + 1 0x11a4 29 rax = sx.q([rsp + 0xc {var_138bc}].d) 0x11a9 30 r14 = r14 + 4 0x11ad 31 r12 = r12 + 4 0x11b4 32 if (rbx s< rax) then 23 @ 0x1190 else 11 @ 0x11b6 0x1267 33 esi = [rsp + 0x9c60 {var_9c68}].d 0x126e 34 edx = [rsp + (r9 << 2) + 0xc].d 0x1275 35 if (eax s<= 0) then 40 @ 0x12c4 else 44 @ 0x1277 0x122b 36 esi = 1 0x1230 37 goto 49 @ 0x1249 0x11d9 38 rdi = r9 0x11df 39 if (rsi s< r9) then 51 @ 0x11f8 else 55 @ 0x11e1 0x12c4 40 rdi = 0x200c {"%d %d"} 0x12cb 41 eax = 0 0x12cd 42 call(0x1030) 0x12d2 43 goto 56 @ 0x12e2 0x1277 44 eax = eax - 1 0x127a 45 r9d = [rsp + 0x10 {var_138b8}].d 0x127f 46 r8d = eax 0x1282 47 eax = 0 0x1284 48 goto 63 @ 0x129b 0x1249 49 edi = [rsp + (rsi << 2) + 0xc].d 0x1251 50 if ([rsp + (rsi << 2) + 0x10].d s>= edi) then 64 @ 0x1240 else 66 @ 0x1253 0x11f8 51 rbx = rdi - 1 0x11fc 52 ecx = [rsp + (rdi << 2) + 0x9c58].d 0x1203 53 edx = [rsp + (rdi << 2) + 0x9c5c].d 0x120c 54 if (edx s>= ecx) then 70 @ 0x11f0 else 72 @ 0x120e 0x11e1 55 goto 76 @ 0x11d0 0x12e2 56 eax = 0 0x12e4 57 rsp = rsp + 0x138a8 0x12eb 58 rbx = pop 0x12ec 59 r12 = pop 0x12ee 60 r14 = pop 0x12f0 61 r15 = pop 0x12f2 62 <return> jump(pop) 0x129b 63 if (rax == 0) then 78 else 80 @ 0x129f 0x1240 64 rsi = rsi + 1 0x1247 65 if (rcx == rsi) then 33 @ 0x1267 else 49 @ 0x1249 0x1253 66 edx = [rsp + (rsi << 2) + 0x9c5c].d 0x125a 67 [rsp + (rsi << 2) + 0x9c60].d = edx 0x1261 68 [rsp + (rsi << 2) + 0x10].d = edi 0x1265 69 goto 64 @ 0x1240 0x11f0 70 rdi = rbx 0x11f6 71 if (rbx s<= rsi) then 76 @ 0x11d0 else 51 @ 0x11f8 0x120e 72 [rsp + (rdi << 2) + 0x9c58].d = edx 0x1215 73 [rsp + (rdi << 2) + 0x9c5c].d = ecx 0x121c 74 [rsp + (rdi << 2) + 8].q = rol.q([rsp + (rdi << 2) + 8].q, 0x20) 0x1222 75 goto 70 @ 0x11f0 0x11d0 76 rsi = rsi + 1 0x11d7 77 if (rsi == r8) then 18 @ 0x1224 else 38 @ 0x11d9 0x129b 78 ebx = r9d 0x129b 79 goto 80 @ 0x129f 0x129f 80 edi = [rsp + (rax << 2) + 0x10].d 0x12aa 81 if (edi s>= [rsp + (rax << 2) + 0x9c64].d) then 82 @ 0x12b0 else 84 @ 0x12ae 0x12b0 82 rdi = rax + 1 0x12b7 83 if (r8 == rax) then 85 @ 0x1290 else 87 @ 0x12b9 0x12ae 84 if (edi s>= ebx) then 89 @ 0x12d4 else 82 @ 0x12b0 0x1290 85 rax = rdi 0x1296 86 if (rcx == rdi) then 40 @ 0x12c4 else 63 @ 0x129b 0x12b9 87 eax = [rsp + (rax << 2) + 0x14].d 0x12bf 88 if (eax s> ebx) then 93 else 95 @ 0x12c2 0x12d4 89 rdi = 0x2009 {"no"} 0x12db 90 eax = 0 0x12dd 91 call(0x1030) 0x12dd 92 goto 56 @ 0x12e2 0x12bf 93 ebx = eax 0x12bf 94 goto 95 @ 0x12c2 0x12c2 95 goto 85 @ 0x1290 int64_t _fini(): 0x12f8 0 rsp = rsp - 8 0x12fc 1 rsp = rsp + 8 0x1300 2 <return> jump(pop)
POJ_76
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 {"UHH8"} 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 - 0x138b0 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = rbp - 0x9c50 {var_9c58} 0x1179 5 esi = 0 0x117b 6 edx = 0x9c40 {""} 0x1180 7 call(0x1040) 0x1185 8 rdi = rbp - 0x13890 {var_13898} 0x118c 9 esi = 0 0x118e 10 edx = 0x9c40 {""} 0x1193 11 call(0x1040) 0x1198 12 rdi = 0x2004 {"%d%d"} 0x119f 13 rsi = rbp - 0x1389c {var_138a4} 0x11a6 14 rdx = rbp - 0x138a0 {var_138a8} 0x11ad 15 al = 0 0x11af 16 call(0x1050) 0x11b4 17 eax = [rbp - 0x1389c {var_138a4}].d 0x11c0 18 if (eax != [rbp - 0x138a0 {var_138a8}].d) then 19 @ 0x11df else 21 @ 0x11c6 0x11df 19 eax = [rbp - 0x1389c {var_138a4}].d 0x11eb 20 if (eax s<= [rbp - 0x138a0 {var_138a8}].d) then 26 @ 0x1215 else 28 @ 0x11f1 0x11c6 21 esi = [rbp - 0x1389c {var_138a4}].d 0x11cc 22 rdi = 0x2006 {"%d"} 0x11d3 23 al = 0 0x11d5 24 call(0x1030) 0x11da 25 goto 35 @ 0x13a9 0x1215 26 [rbp - 0x13894 {var_1389c_1}].d = 0 0x1215 27 goto 39 @ 0x121f 0x11f1 28 eax = [rbp - 0x1389c {var_138a4}].d 0x11f7 29 [rbp - 0x138a4 {var_138ac_1}].d = eax 0x11fd 30 eax = [rbp - 0x138a0 {var_138a8}].d 0x1203 31 [rbp - 0x1389c {var_138a4}].d = eax 0x1209 32 eax = [rbp - 0x138a4 {var_138ac_1}].d 0x120f 33 [rbp - 0x138a0 {var_138a8}].d = eax 0x120f 34 goto 26 @ 0x1215 0x13a9 35 eax = 0 0x13ab 36 rsp = rsp + 0x138b0 0x13b2 37 rbp = pop 0x13b3 38 <return> jump(pop) 0x121f 39 ecx = [rbp - 0x1389c {var_138a4}].d 0x1225 40 rax = sx.q([rbp - 0x13894 {var_1389c_1}].d) 0x122c 41 [rbp + (rax << 2) - 0x9c50].d = ecx 0x1233 42 eax = [rbp - 0x1389c {var_138a4}].d 0x1239 43 ecx = 2 0x123e 44 temp2.d:temp3.d = sx.q(eax) 0x123e 45 edx = temp2.d 0x123e 46 eax = temp3.d 0x123f 47 temp4.d = edx 0x123f 48 temp5.d = eax 0x123f 49 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x123f 50 temp6.d = edx 0x123f 51 temp7.d = eax 0x123f 52 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x123f 53 eax = temp0.d 0x123f 54 edx = temp1.d 0x1241 55 [rbp - 0x1389c {var_138a4}].d = eax 0x1247 56 rax = sx.q([rbp - 0x13894 {var_1389c_1}].d) 0x1256 57 if ([rbp + (rax << 2) - 0x9c50].d != 0) then 58 @ 0x1261 else 59 @ 0x125c 0x1261 58 goto 60 @ 0x1266 0x125c 59 goto 64 @ 0x127a 0x1266 60 eax = [rbp - 0x13894 {var_1389c_1}].d 0x126c 61 eax = eax + 1 0x126f 62 [rbp - 0x13894 {var_1389c_1}].d = eax 0x1275 63 goto 39 @ 0x121f 0x127a 64 [rbp - 0x13894 {var_1389c_2}].d = 0 0x127a 65 goto 66 @ 0x1284 0x1284 66 ecx = [rbp - 0x138a0 {var_138a8}].d 0x128a 67 rax = sx.q([rbp - 0x13894 {var_1389c_2}].d) 0x1291 68 [rbp + (rax << 2) - 0x13890].d = ecx 0x1298 69 eax = [rbp - 0x138a0 {var_138a8}].d 0x129e 70 ecx = 2 0x12a3 71 temp8.d:temp9.d = sx.q(eax) 0x12a3 72 edx = temp8.d 0x12a3 73 eax = temp9.d 0x12a4 74 temp10.d = edx 0x12a4 75 temp11.d = eax 0x12a4 76 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x12a4 77 temp12.d = edx 0x12a4 78 temp13.d = eax 0x12a4 79 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x12a4 80 eax = temp0.d 0x12a4 81 edx = temp1.d 0x12a6 82 [rbp - 0x138a0 {var_138a8}].d = eax 0x12ac 83 rax = sx.q([rbp - 0x13894 {var_1389c_2}].d) 0x12bb 84 if ([rbp + (rax << 2) - 0x13890].d != 0) then 85 @ 0x12c6 else 86 @ 0x12c1 0x12c6 85 goto 87 @ 0x12cb 0x12c1 86 goto 91 @ 0x12df 0x12cb 87 eax = [rbp - 0x13894 {var_1389c_2}].d 0x12d1 88 eax = eax + 1 0x12d4 89 [rbp - 0x13894 {var_1389c_2}].d = eax 0x12da 90 goto 66 @ 0x1284 0x12df 91 [rbp - 0x13894 {var_1389c_3}].d = 0 0x12df 92 goto 93 @ 0x12e9 0x12e9 93 [rbp - 0x13898 {var_138a0_1}].d = 0 0x12e9 94 goto 95 @ 0x12f3 0x12f3 95 rax = sx.q([rbp - 0x13894 {var_1389c_3}].d) 0x12fa 96 eax = [rbp + (rax << 2) - 0x9c50].d 0x1301 97 rcx = sx.q([rbp - 0x13898 {var_138a0_1}].d) 0x130f 98 if (eax != [rbp + (rcx << 2) - 0x13890].d) then 99 @ 0x131a else 101 @ 0x1315 0x131a 99 rax = sx.q([rbp - 0x13898 {var_138a0_1}].d) 0x1329 100 if ([rbp + (rax << 2) - 0x13890].d != 0) then 102 @ 0x1334 else 103 @ 0x132f 0x1315 101 goto 104 @ 0x134d 0x1334 102 goto 108 @ 0x1339 0x132f 103 goto 104 @ 0x134d 0x134d 104 rax = sx.q([rbp - 0x13894 {var_1389c_3}].d) 0x1354 105 eax = [rbp + (rax << 2) - 0x9c50].d 0x135b 106 rcx = sx.q([rbp - 0x13898 {var_138a0_1}].d) 0x1369 107 if (eax != [rbp + (rcx << 2) - 0x13890].d) then 112 @ 0x1374 else 113 @ 0x136f 0x1339 108 eax = [rbp - 0x13898 {var_138a0_1}].d 0x133f 109 eax = eax + 1 0x1342 110 [rbp - 0x13898 {var_138a0_1}].d = eax 0x1348 111 goto 95 @ 0x12f3 0x1374 112 goto 114 @ 0x1379 0x136f 113 goto 118 @ 0x138d 0x1379 114 eax = [rbp - 0x13894 {var_1389c_3}].d 0x137f 115 eax = eax + 1 0x1382 116 [rbp - 0x13894 {var_1389c_3}].d = eax 0x1388 117 goto 93 @ 0x12e9 0x138d 118 rax = sx.q([rbp - 0x13894 {var_1389c_3}].d) 0x1394 119 esi = [rbp + (rax << 2) - 0x9c50].d 0x139b 120 rdi = 0x2006 {"%d"} 0x13a2 121 al = 0 0x13a4 122 call(0x1030) 0x13a4 123 goto 35 @ 0x13a9 int64_t _fini(): 0x13b8 0 rsp = rsp - 8 0x13bc 1 rsp = rsp + 8 0x13c0 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 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 {"HH=i"} 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 rsp = rsp - 0x18 0x1154 1 rdi = 0x20c4 {"%d%d%d"} 0x115b 2 rsi = rsp + 0x14 {var_4} 0x1160 3 rdx = rsp + 0x10 {var_8} 0x1165 4 rcx = rsp + 0xc {var_c} 0x116a 5 eax = 0 0x116c 6 call(0x1040) 0x1171 7 eax = [rsp + 0x14 {var_4}].d 0x1177 8 if ((al & 3) == 0) then 9 @ 0x1199 else 14 @ 0x1179 0x1199 9 ecx = eax * -0x3d70a3d7 0x119f 10 ecx = ecx + 0x51eb850 0x11a5 11 eax = ecx 0x11a7 12 eax = ror.d(eax, 4) 0x11af 13 if (eax u<= 0xa3d70a) then 20 @ 0x11d3 else 26 @ 0x11b1 0x1179 14 eax = [rsp + 0x10 {var_8}].d 0x117d 15 eax = eax - 1 0x1180 16 rcx = 0x2004 {"#,3:AHOV\-6?FMT[bi,rV\t%d%d%d"} 0x1187 17 rax = sx.q([rcx + (rax << 2)].d) 0x118b 18 rax = rax + rcx 0x118e 19 jump(rax) 0x11d3 20 eax = [rsp + 0x10 {var_8}].d 0x11d7 21 eax = eax - 1 0x11da 22 rcx = 0x2094 {"rV\t%d%d%d"} 0x11e1 23 rax = sx.q([rcx + (rax << 2)].d) 0x11e5 24 rax = rax + rcx 0x11e8 25 jump(rax) 0x11b1 26 ecx = ror.d(ecx, 2) 0x11b4 27 eax = [rsp + 0x10 {var_8}].d 0x11b8 28 eax = eax - 1 0x11c1 29 if (ecx u<= 0x28f5c28) then 30 @ 0x11f6 else 34 @ 0x11c3 0x11f6 30 rcx = 0x2064 {",rV\t%d%d%d"} 0x11fd 31 rax = sx.q([rcx + (rax << 2)].d) 0x1201 32 rax = rax + rcx 0x1204 33 jump(rax) 0x11c3 34 rcx = 0x2034 {"\-6?FMT[bi,rV\t%d%d%d"} 0x11ca 35 rax = sx.q([rcx + (rax << 2)].d) 0x11ce 36 rax = rax + rcx 0x11d1 37 jump(rax) int64_t _fini(): 0x12c0 0 rsp = rsp - 8 0x12c4 1 rsp = rsp + 8 0x12c8 2 <return> jump(pop)
POJ_11
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 - 0x4c8 0x1161 7 rdi = 0x2070 {"%d%d"} 0x1168 8 rsi = rsp + 8 {var_4f0} 0x116d 9 rdx = rsp + 0xc {var_4ec} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x1179 12 ecx = [rsp + 8 {var_4f0}].d 0x117f 13 if (ecx == 0) then 14 @ 0x139f else 23 @ 0x1185 0x139f 14 eax = 0 0x13a1 15 rsp = rsp + 0x4c8 0x13a8 16 rbx = pop 0x13a9 17 r12 = pop 0x13ab 18 r13 = pop 0x13ad 19 r14 = pop 0x13af 20 r15 = pop 0x13b1 21 rbp = pop 0x13b2 22 <return> jump(pop) 0x1185 23 r13 = 0x2075 {"%d\n"} 0x118c 24 r15 = rsp + 8 {var_4f0} 0x1191 25 r12 = rsp + 0xc {var_4ec} 0x1196 26 goto 27 @ 0x11c2 0x11c2 27 if (ecx s<= 0) then 28 @ 0x11a0 else 35 @ 0x11c4 0x11a0 28 rdi = 0x2070 {"%d%d"} 0x11a7 29 rsi = r15 {var_4f0} 0x11aa 30 rdx = r12 {var_4ec} 0x11ad 31 eax = 0 0x11af 32 call(0x1040) 0x11b4 33 ecx = [rsp + 8 {var_4f0}].d 0x11ba 34 if (ecx == 0) then 14 @ 0x139f else 27 @ 0x11c2 0x11c4 35 eax = ecx 0x11c9 36 if (ecx u>= 8) then 37 @ 0x11e0 else 47 @ 0x11cb 0x11e0 37 edx = eax 0x11e2 38 edx = edx & 0xfffffff8 0x11e5 39 rsi = rdx - 8 0x11e9 40 rbp = rsi 0x11ec 41 rbp = rbp u>> 3 0x11f0 42 rbp = rbp + 1 0x11f4 43 cond:0 = rsi == 0 0x11f7 44 xmm9 = _mm_cmpeq_epi32(xmm9, xmm9) 0x11fc 45 xmm8 = [0x2030].o 0x1205 46 if (cond:0) then 49 @ 0x137e else 53 @ 0x120b 0x11cb 47 edx = 0 0x11cd 48 goto 62 @ 0x12c0 0x137e 49 edi = 0 0x1380 50 xmm0 = [0x2020].o 0x1388 51 xmm1 = [0x2010].o 0x1394 52 if ((bpl & 1) != 0) then 66 @ 0x1292 else 73 @ 0x139a 0x120b 53 rsi = rbp 0x120e 54 rsi = rsi & 0xfffffffffffffffe 0x1212 55 edi = 0 0x1214 56 xmm0 = [0x2020].o 0x121b 57 xmm1 = [0x2010].o 0x1222 58 xmm7 = [0x2040].o 0x122a 59 xmm6 = [0x2050].o 0x1232 60 xmm5 = [0x2060].o 0x123a 61 goto 74 @ 0x1240 0x12c0 62 rsi = rdx + 1 0x12c4 63 [rsp + (rdx << 2) + 0x10].d = esi 0x12c8 64 rdx = rsi 0x12ce 65 if (rax != rsi) then 62 @ 0x12c0 else 93 @ 0x12d2 0x1292 66 xmm0 = _mm_shuffle_ps(xmm0, xmm1, 0x88) 0x1296 67 xmm1 = xmm0 0x1299 68 xmm1 = _mm_sub_epi32(xmm1, xmm9) 0x129e 69 xmm0 = _mm_add_epi32(xmm0, xmm8) 0x12a3 70 [rsp + (rdi << 2) + 0x10].o = xmm1 0x12a9 71 [rsp + (rdi << 2) + 0x20].o = xmm0 0x12a9 72 goto 94 @ 0x12b2 0x139a 73 goto 94 @ 0x12b2 0x1240 74 xmm2 = xmm0 0x1243 75 xmm2 = _mm_shuffle_ps(xmm2, xmm1, 0x88) 0x1247 76 xmm3 = xmm2 0x124a 77 xmm3 = _mm_sub_epi32(xmm3, xmm9) 0x124f 78 xmm4 = xmm2 0x1252 79 xmm4 = _mm_add_epi32(xmm4, xmm8) 0x1257 80 [rsp + (rdi << 2) + 0x10].o = xmm3 0x125d 81 [rsp + (rdi << 2) + 0x20].o = xmm4 0x1263 82 xmm3 = xmm2 0x1266 83 xmm3 = _mm_add_epi32(xmm3, xmm7) 0x126a 84 xmm2 = _mm_add_epi32(xmm2, xmm6) 0x126e 85 [rsp + (rdi << 2) + 0x30].o = xmm3 0x1274 86 [rsp + (rdi << 2) + 0x40].o = xmm2 0x127a 87 rdi = rdi + 0x10 0x127e 88 xmm0 = _mm_add_epi64(xmm0, xmm5) 0x1282 89 xmm1 = _mm_add_epi64(xmm1, xmm5) 0x1286 90 temp2.q = rsi 0x1286 91 rsi = rsi - 2 0x128a 92 if (temp2.q != 2) then 74 @ 0x1240 else 95 @ 0x1290 0x12d2 93 if (ecx s<= 0) then 28 @ 0x11a0 else 96 @ 0x12d8 0x12b2 94 if (rdx == rax) then 93 @ 0x12d2 else 99 @ 0x12be 0x1290 95 if ((bpl & 1) == 0) then 94 @ 0x12b2 else 66 @ 0x1292 0x12d8 96 ebp = 0 0x12da 97 ebx = 0 0x12dc 98 goto 100 @ 0x12f4 0x12be 99 goto 62 @ 0x12c0 0x12f4 100 esi = [rsp + 0xc {var_4ec}].d 0x12fa 101 if (esi s<= 0) then 102 @ 0x1352 else 103 @ 0x12fc 0x1352 102 if (ebp s<= 0) then 106 else 108 @ 0x1355 0x12fc 103 edi = 0 0x12fe 104 rax = sx.q(ebp) 0x1306 105 if ([rsp + (rax << 2) + 0x10].d == 0) then 112 @ 0x1330 else 128 @ 0x1308 0x1352 106 ebp = ecx 0x1352 107 goto 108 @ 0x1355 0x1355 108 ebp = ebp - 1 0x1358 109 eax = (rcx - 1).d 0x135b 110 r14 = sx.q(ebp) 0x1360 111 if (ebx != eax) then 129 @ 0x12e0 else 132 @ 0x1366 0x1330 112 ebp = ebp + 1 0x1333 113 eax = ebp 0x1335 114 temp3.d:temp4.d = sx.q(eax) 0x1335 115 edx = temp3.d 0x1335 116 eax = temp4.d 0x1336 117 temp5.d = edx 0x1336 118 temp6.d = eax 0x1336 119 temp0.d = divs.dp.d(temp5.d:temp6.d, ecx) 0x1336 120 temp7.d = edx 0x1336 121 temp8.d = eax 0x1336 122 temp1.d = mods.dp.d(temp7.d:temp8.d, ecx) 0x1336 123 eax = temp0.d 0x1336 124 edx = temp1.d 0x1338 125 ebp = edx 0x133a 126 rax = sx.q(edx) 0x1342 127 if ([rsp + (rax << 2) + 0x10].d == 0) then 112 @ 0x1330 else 138 @ 0x1344 0x1308 128 goto 139 @ 0x1310 0x12e0 129 [rsp + (r14 << 2) + 0x10].d = 0 0x12e9 130 ebx = ebx + 1 0x12ee 131 if (ebx s>= ecx) then 28 @ 0x11a0 else 100 @ 0x12f4 0x1366 132 esi = [rsp + (r14 << 2) + 0x10].d 0x136b 133 rdi = r13 0x136e 134 eax = 0 0x1370 135 call(0x1030) 0x1375 136 ecx = [rsp + 8 {var_4f0}].d 0x1379 137 goto 129 @ 0x12e0 0x1344 138 goto 139 @ 0x1310 0x1310 139 edi = edi + 1 0x1313 140 ebp = ebp + 1 0x1316 141 eax = ebp 0x1318 142 temp9.d:temp10.d = sx.q(eax) 0x1318 143 edx = temp9.d 0x1318 144 eax = temp10.d 0x1319 145 temp11.d = edx 0x1319 146 temp12.d = eax 0x1319 147 temp0.d = divs.dp.d(temp11.d:temp12.d, ecx) 0x1319 148 temp13.d = edx 0x1319 149 temp14.d = eax 0x1319 150 temp1.d = mods.dp.d(temp13.d:temp14.d, ecx) 0x1319 151 eax = temp0.d 0x1319 152 edx = temp1.d 0x131b 153 ebp = edx 0x131f 154 if (edi == esi) then 102 @ 0x1352 else 155 @ 0x1321 0x1321 155 rax = sx.q(ebp) 0x1329 156 if ([rsp + (rax << 2) + 0x10].d != 0) then 139 @ 0x1310 else 157 @ 0x132b 0x132b 157 goto 112 @ 0x1330 int64_t _fini(): 0x13b8 0 rsp = rsp - 8 0x13bc 1 rsp = rsp + 8 0x13c0 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 = 0x1220 {"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) uint64_t core(int32_t arg1, int32_t arg2, uint64_t arg3): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 push(rax) 0x1157 5 r15d = esi 0x115a 6 ebx = edi 0x115f 7 sil = esi == 1 0x1166 8 if (edi != 1) then 9 @ 0x1187 else 11 @ 0x1168 0x1187 9 r14d = 0 0x118a 10 goto 13 @ 0x1192 0x1168 11 r14d = 0 0x116f 12 if (r15d != 1) then 9 @ 0x1187 else 14 @ 0x1171 0x1192 13 if (ebx s<= 0) then 16 @ 0x119e else 17 @ 0x1194 0x1171 14 eax = 1 0x1171 15 goto 21 @ 0x1176 0x119e 16 if (ebx == 1) then 23 @ 0x11a5 else 25 @ 0x11a3 0x1194 17 ebp = r15d 0x1197 18 temp0.d = ebp 0x1197 19 ebp = ebp - ebx 0x1199 20 if (temp0.d s> ebx) then 26 @ 0x11c9 else 16 @ 0x119e 0x1176 21 r14d = r14d + eax 0x1176 22 goto 36 @ 0x1179 0x11a5 23 eax = 0 0x11aa 24 if (r15d s>= ebx) then 21 @ 0x1176 else 43 @ 0x11af 0x11a3 25 if (r15d == ebx) then 44 @ 0x1200 else 23 @ 0x11a5 0x11c9 26 edi = (rbx - 1).d 0x11cc 27 esi = r15d 0x11cf 28 call(0x1150) 0x11d4 29 edx = r15d 0x11d7 30 edx = edx - 1 0x11da 31 eax = eax + r14d 0x11df 32 sil = edx == ebx 0x11e3 33 r15d = ebp 0x11e6 34 r14d = eax 0x11ec 35 if (ebx != 1) then 13 @ 0x1192 else 50 @ 0x11ee 0x1179 36 eax = r14d 0x117c 37 rsp = rsp + 8 0x1180 38 rbx = pop 0x1181 39 r14 = pop 0x1183 40 r15 = pop 0x1185 41 rbp = pop 0x1186 42 <return> jump(pop) 0x11af 43 if (r15d s<= 0) then 21 @ 0x1176 else 53 @ 0x11b1 0x1200 44 edi = (r15 - 1).d 0x1204 45 esi = r15d 0x1207 46 call(0x1150) 0x120c 47 r14d = r14d + eax 0x120f 48 r14d = r14d + 1 0x1213 49 goto 36 @ 0x1179 0x11ee 50 r15d = ebp 0x11f1 51 r14d = eax 0x11f6 52 if (edx != ebx) then 13 @ 0x1192 else 61 @ 0x11f8 0x11b1 53 cond:0 = ebx != 2 0x11b4 54 eax = (rbx - 1).d 0x11b7 55 dl = cond:0 0x11ba 56 ecx = esi 0x11bc 57 cl = not.b(cl) 0x11be 58 cl = cl | dl 0x11c0 59 ebx = eax 0x11c5 60 if ((cl & 1) != 0) then 13 @ 0x1192 else 63 @ 0x11c7 0x11f8 61 r14d = eax 0x11fb 62 goto 14 @ 0x1171 0x11c7 63 goto 14 @ 0x1171 int32_t main(int32_t argc, char** argv, char** envp): 0x1220 0 push(r15) 0x1222 1 push(r14) 0x1224 2 push(r12) 0x1226 3 push(rbx) 0x1227 4 rsp = rsp - 0x1a8 0x122e 5 rdi = 0x2007 {"%d"} 0x1235 6 rsi = rsp + 4 {var_1c4} 0x123a 7 eax = 0 0x123c 8 call(0x1040) 0x1246 9 if ([rsp + 4 {var_1c4}].d s<= 0) then 10 @ 0x12bc else 16 @ 0x1248 0x12bc 10 rsp = rsp + 0x1a8 0x12c3 11 rbx = pop 0x12c4 12 r12 = pop 0x12c6 13 r14 = pop 0x12c8 14 r15 = pop 0x12ca 15 <return> jump(pop) 0x1248 16 r14 = 0x2004 {"%d %d"} 0x124f 17 r15 = rsp + 8 {var_1c0} 0x1254 18 r12 = rsp + 0xc {var_1bc} 0x1259 19 ebx = 0 0x125b 20 goto 21 @ 0x1260 0x1260 21 rdi = r14 0x1263 22 rsi = r15 {var_1c0} 0x1266 23 rdx = r12 {var_1bc} 0x1269 24 eax = 0 0x126b 25 call(0x1040) 0x1270 26 edi = [rsp + 0xc {var_1bc}].d 0x1274 27 esi = [rsp + 8 {var_1c0}].d 0x1278 28 call(0x1150) 0x127d 29 [rsp + (rbx << 2) + 0x10].d = eax 0x1281 30 rbx = rbx + 1 0x1285 31 rax = sx.q([rsp + 4 {var_1c4}].d) 0x128d 32 if (rbx s< rax) then 21 @ 0x1260 else 33 @ 0x1291 0x1291 33 if (eax s<= 0) then 10 @ 0x12bc else 34 @ 0x1293 0x1293 34 r14 = 0x200a {"%d\n"} 0x129a 35 ebx = 0 0x129c 36 goto 37 @ 0x12a0 0x12a0 37 esi = [rsp + (rbx << 2) + 0x10].d 0x12a4 38 rdi = r14 0x12a7 39 eax = 0 0x12a9 40 call(0x1030) 0x12ae 41 rbx = rbx + 1 0x12b2 42 rax = sx.q([rsp + 4 {var_1c4}].d) 0x12ba 43 if (rbx s< rax) then 37 @ 0x12a0 else 10 @ 0x12bc int64_t _fini(): 0x12d0 0 rsp = rsp - 8 0x12d4 1 rsp = rsp + 8 0x12d8 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 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) 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) 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 - 0x528 0x1181 7 r14 = rsp + 0xd0 {var_488} 0x1189 8 edx = 0x1f4 {""} 0x118e 9 rdi = r14 {var_488} 0x1191 10 esi = 0 0x1193 11 call(0x1030) 0x1198 12 r12 = rsp + 0x2d0 {var_288} 0x11a0 13 edx = 0x258 {" "} 0x11a5 14 rdi = r12 {var_288} 0x11a8 15 esi = 0 0x11aa 16 call(0x1030) 0x11af 17 rdi = r14 {var_488} 0x11b2 18 eax = 0 0x11b4 19 call(0x1050) 0x11b9 20 eax = 2 0x11be 21 goto 22 @ 0x11d4 0x11d4 22 if ([rsp + rax + 0xce].b != 0x20) then 23 @ 0x11e8 else 24 @ 0x11de 0x11e8 23 if ([rsp + rax + 0xcf].b != 0x20) then 25 @ 0x11c0 else 27 @ 0x11f2 0x11de 24 if ([rsp + rax + 0xcf].b == 0) then 28 @ 0x11fe else 23 @ 0x11e8 0x11c0 25 rax = rax + 2 0x11ca 26 if (rax == 0x1f6) then 30 @ 0x1212 else 22 @ 0x11d4 0x11f2 27 if ([rsp + rax + 0xd0].b != 0) then 25 @ 0x11c0 else 34 @ 0x11f4 0x11fe 28 [rsp + rax + 0xce].b = 0 0x120e 29 if ([rsp + rax + 0xcf].b != 0x20) then 25 @ 0x11c0 else 36 @ 0x1210 0x1212 30 ecx = 0 0x1214 31 eax = 1 0x1219 32 r14d = 0 0x121c 33 goto 37 @ 0x1232 0x11f4 34 [rsp + rax + 0xcf].b = 0 0x11fc 35 goto 25 @ 0x11c0 0x1210 36 goto 27 @ 0x11f2 0x1232 37 edx = zx.d([rsp + rax + 0xcf].b) 0x123d 38 if (dl != 0x20) then 39 @ 0x1260 else 48 @ 0x123f 0x1260 39 rsi = sx.q(r14d) 0x1263 40 rcx = sx.q(ecx) 0x1266 41 rsi = rsi + (rsi << 2) 0x126a 42 rsi = rsp + (rsi << 2) 0x126e 43 rsi = rsi + 0x2d0 0x1275 44 [rcx + rsi].b = dl 0x1278 45 ecx = ecx + 1 0x127b 46 edx = zx.d([rsp + rax + 0xd0].b) 0x1286 47 if (dl == 0x20) then 52 @ 0x1220 else 56 @ 0x1288 0x123f 48 r14d = r14d + 1 0x1243 49 ecx = 0 0x1245 50 edx = zx.d([rsp + rax + 0xd0].b) 0x1250 51 if (dl == 0x20) then 52 @ 0x1220 else 65 @ 0x1252 0x1220 52 r14d = r14d + 1 0x1224 53 ecx = 0 0x1226 54 rax = rax + 2 0x1230 55 if (rax == 0x1f5) then 66 @ 0x12b2 else 37 @ 0x1232 0x1288 56 rsi = sx.q(r14d) 0x128b 57 rcx = sx.q(ecx) 0x128e 58 rsi = rsi + (rsi << 2) 0x1292 59 rsi = rsp + (rsi << 2) 0x1296 60 rsi = rsi + 0x2d0 0x129d 61 [rcx + rsi].b = dl 0x12a0 62 ecx = ecx + 1 0x12a3 63 rax = rax + 2 0x12ad 64 if (rax != 0x1f5) then 37 @ 0x1232 else 66 @ 0x12b2 0x1252 65 goto 56 @ 0x1288 0x12b2 66 if (r14d s< 0) then 67 @ 0x159f else 76 @ 0x12b8 0x159f 67 eax = 0 0x15a1 68 rsp = rsp + 0x528 0x15a8 69 rbx = pop 0x15a9 70 r12 = pop 0x15ab 71 r13 = pop 0x15ad 72 r14 = pop 0x15af 73 r15 = pop 0x15b1 74 rbp = pop 0x15b2 75 <return> jump(pop) 0x12b8 76 r15d = (r14 + 1).d 0x12bc 77 ebx = 0 0x12be 78 goto 79 @ 0x12c0 0x12c0 79 rdi = r12 0x12c3 80 call(0x1040) 0x12c8 81 [rsp + (rbx << 2)].d = eax 0x12cb 82 rbx = rbx + 1 0x12cf 83 r12 = r12 + 0x14 0x12d6 84 if (r15 != rbx) then 79 @ 0x12c0 else 85 @ 0x12db 0x12db 85 if (r14d s< 0) then 67 @ 0x159f else 86 @ 0x12e1 0x12e1 86 r12 = 0x3ffffffffffffffe {""} 0x12eb 87 eax = r15d 0x12ee 88 eax = eax & 0xfffffff8 0x12f1 89 r13 = rax - 8 0x12f5 90 rbp = r13 0x12f8 91 rbp = rbp u>> 3 0x12fc 92 rbp = rbp + 1 0x1300 93 r8 = rbp 0x1303 94 r8 = r8 & 0xfffffffffffffffe 0x1307 95 ecx = 0 0x1309 96 xmm8 = _mm_cmpeq_epi32(xmm8, xmm8) 0x130e 97 xmm0 = [0x2010].o 0x1316 98 goto 99 @ 0x1320 0x1320 99 esi = [rsp + (rcx << 2)].d 0x1327 100 if (r14d u>= 7) then 101 @ 0x1340 else 104 @ 0x1329 0x1340 101 xmm1 = esi 0x1344 102 xmm1 = _mm_shuffle_epi32(xmm1, 0) 0x134c 103 if (r13 == 0) then 107 @ 0x1427 else 111 @ 0x1352 0x1329 104 edi = 0 0x132b 105 edx = 0 0x132d 106 goto 116 @ 0x1400 0x1427 107 xmm2 = 0 0x142b 108 edi = 0 0x142d 109 xmm3 = 0 0x1435 110 if ((bpl & 1) != 0) then 121 @ 0x13b7 else 130 @ 0x1437 0x1352 111 xmm4 = 0 0x1356 112 rdx = r8 0x1359 113 edi = 0 0x135b 114 xmm5 = 0 0x135f 115 goto 131 @ 0x1360 0x1400 116 ebx = 0 0x1405 117 bl = esi s>= [rsp + (rdi << 2)].d 0x1408 118 edx = edx + ebx 0x140a 119 rdi = rdi + 1 0x1411 120 if (r15 != rdi) then 116 @ 0x1400 else 151 @ 0x1416 0x13b7 121 xmm4 = [rsp + (rdi << 2)].o 0x13bc 122 xmm5 = [rsp + (rdi << 2) + 0x10].o 0x13c2 123 xmm4 = _mm_cmpgt_epi32(xmm4, xmm1) 0x13c6 124 xmm2 = _mm_add_epi32(xmm2, xmm4) 0x13ca 125 xmm5 = _mm_cmpgt_epi32(xmm5, xmm1) 0x13ce 126 xmm3 = _mm_add_epi32(xmm3, xmm5) 0x13d2 127 xmm2 = _mm_sub_epi32(xmm2, xmm8) 0x13d7 128 xmm3 = _mm_sub_epi32(xmm3, xmm8) 0x13d7 129 goto 152 @ 0x13dc 0x1437 130 goto 152 @ 0x13dc 0x1360 131 xmm6 = [rsp + (rdi << 2)].o 0x1365 132 xmm7 = [rsp + (rdi << 2) + 0x10].o 0x136b 133 xmm2 = [rsp + (rdi << 2) + 0x20].o 0x1371 134 xmm3 = [rsp + (rdi << 2) + 0x30].o 0x1377 135 xmm6 = _mm_cmpgt_epi32(xmm6, xmm1) 0x137b 136 xmm6 = _mm_add_epi32(xmm6, xmm4) 0x137f 137 xmm7 = _mm_cmpgt_epi32(xmm7, xmm1) 0x1383 138 xmm7 = _mm_add_epi32(xmm7, xmm5) 0x1387 139 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x138b 140 xmm3 = _mm_cmpgt_epi32(xmm3, xmm1) 0x138f 141 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x1393 142 xmm2 = _mm_add_epi32(xmm2, xmm6) 0x1397 143 xmm3 = _mm_add_epi32(xmm3, xmm0) 0x139b 144 xmm3 = _mm_add_epi32(xmm3, xmm7) 0x139f 145 rdi = rdi + 0x10 0x13a3 146 xmm4 = xmm2 0x13a7 147 xmm5 = xmm3 0x13ab 148 temp0.q = rdx 0x13ab 149 rdx = rdx - 2 0x13af 150 if (temp0.q != 2) then 131 @ 0x1360 else 160 @ 0x13b5 0x1416 151 if (edx s> r14d) then 161 @ 0x1439 else 168 @ 0x1418 0x13dc 152 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x13e0 153 xmm1 = _mm_shuffle_epi32(xmm2, 0xee) 0x13e5 154 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x13e9 155 xmm2 = _mm_shuffle_epi32(xmm1, 0x55) 0x13ee 156 xmm2 = _mm_add_epi32(xmm2, xmm1) 0x13f2 157 edx = xmm2.d 0x13f6 158 rdi = rax 0x13fc 159 if (rax == r15) then 151 @ 0x1416 else 170 @ 0x13fe 0x13b5 160 if ((bpl & 1) == 0) then 152 @ 0x13dc else 121 @ 0x13b7 0x1439 161 eax = ecx 0x143b 162 rax = rax + (rax << 2) 0x143f 163 rdi = rsp + (rax << 2) 0x1443 164 rdi = rdi + 0x2d0 0x144a 165 call(0x1060) 0x144f 166 xmm0 = [0x2010].o 0x144f 167 goto 171 @ 0x145a 0x1418 168 rcx = rcx + 1 0x141f 169 if (rcx != r15) then 99 @ 0x1320 else 172 @ 0x1425 0x13fe 170 goto 116 @ 0x1400 0x145a 171 if (r14d s< 0) then 67 @ 0x159f else 173 @ 0x1460 0x1425 172 goto 171 @ 0x145a 0x1460 173 eax = r15d 0x1463 174 eax = eax & 0xfffffff8 0x1466 175 r12 = r12 & rbp 0x1469 176 ecx = 0 0x146b 177 xmm6 = _mm_cmpeq_epi32(xmm6, xmm6) 0x146f 178 goto 179 @ 0x1470 0x1470 179 edx = [rsp + (rcx << 2)].d 0x1477 180 if (r14d u>= 7) then 181 @ 0x1490 else 185 @ 0x1479 0x1490 181 xmm1 = edx 0x1494 182 xmm2 = _mm_shuffle_epi32(xmm1, 0) 0x1499 183 xmm1 = 0 0x14a0 184 if (r13 == 0) then 188 @ 0x1577 else 191 @ 0x14a6 0x1479 185 edi = 0 0x147b 186 esi = 0 0x147d 187 goto 195 @ 0x1550 0x1577 188 esi = 0 0x1579 189 xmm3 = 0 0x1581 190 if ((bpl & 1) != 0) then 200 @ 0x14ff else 209 @ 0x1587 0x14a6 191 rdi = r12 0x14a9 192 esi = 0 0x14ab 193 xmm3 = 0 0x14af 194 goto 210 @ 0x14b0 0x1550 195 ebx = 0 0x1555 196 bl = edx s<= [rsp + (rdi << 2)].d 0x1558 197 esi = esi + ebx 0x155a 198 rdi = rdi + 1 0x1561 199 if (r15 != rdi) then 195 @ 0x1550 else 228 @ 0x1566 0x14ff 200 xmm4 = xmm2 0x1503 201 xmm4 = __pcmpgtd_xmmdq_memdq(xmm4, [rsp + (rsi << 2)].o) 0x1508 202 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x150c 203 xmm4 = [rsp + (rsi << 2) + 0x10].o 0x1512 204 xmm2 = _mm_cmpgt_epi32(xmm2, xmm4) 0x1516 205 xmm3 = _mm_add_epi32(xmm3, xmm2) 0x151a 206 xmm1 = _mm_sub_epi32(xmm1, xmm6) 0x151e 207 xmm3 = _mm_sub_epi32(xmm3, xmm6) 0x151e 208 goto 229 @ 0x1522 0x1587 209 goto 229 @ 0x1522 0x14b0 210 xmm4 = xmm2 0x14b4 211 xmm4 = __pcmpgtd_xmmdq_memdq(xmm4, [rsp + (rsi << 2)].o) 0x14b9 212 xmm5 = xmm2 0x14bd 213 xmm5 = __pcmpgtd_xmmdq_memdq(xmm5, [rsp + (rsi << 2) + 0x10].o) 0x14c3 214 xmm4 = _mm_add_epi32(xmm4, xmm1) 0x14c7 215 xmm5 = _mm_add_epi32(xmm5, xmm3) 0x14cb 216 xmm1 = xmm2 0x14cf 217 xmm1 = __pcmpgtd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x20].o) 0x14d5 218 xmm3 = xmm2 0x14d9 219 xmm3 = __pcmpgtd_xmmdq_memdq(xmm3, [rsp + (rsi << 2) + 0x30].o) 0x14df 220 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x14e3 221 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x14e7 222 xmm3 = _mm_add_epi32(xmm3, xmm0) 0x14eb 223 xmm3 = _mm_add_epi32(xmm3, xmm5) 0x14ef 224 rsi = rsi + 0x10 0x14f3 225 temp1.q = rdi 0x14f3 226 rdi = rdi - 2 0x14f7 227 if (temp1.q != 2) then 210 @ 0x14b0 else 237 @ 0x14fd 0x1566 228 if (esi s> r14d) then 238 @ 0x1589 else 244 @ 0x1568 0x1522 229 xmm1 = _mm_add_epi32(xmm1, xmm3) 0x1526 230 xmm2 = _mm_shuffle_epi32(xmm1, 0xee) 0x152b 231 xmm2 = _mm_add_epi32(xmm2, xmm1) 0x152f 232 xmm1 = _mm_shuffle_epi32(xmm2, 0x55) 0x1534 233 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x1538 234 esi = xmm1.d 0x153c 235 rdi = rax 0x1542 236 if (rax == r15) then 228 @ 0x1566 else 246 @ 0x154e 0x14fd 237 if ((bpl & 1) == 0) then 229 @ 0x1522 else 200 @ 0x14ff 0x1589 238 eax = ecx 0x158b 239 rax = rax + (rax << 2) 0x158f 240 rdi = rsp + (rax << 2) 0x1593 241 rdi = rdi + 0x2d0 0x159a 242 call(0x1060) 0x159a 243 goto 67 @ 0x159f 0x1568 244 rcx = rcx + 1 0x156f 245 if (rcx != r15) then 179 @ 0x1470 else 247 @ 0x1575 0x154e 246 goto 195 @ 0x1550 0x1575 247 goto 67 @ 0x159f int64_t _fini(): 0x15b8 0 rsp = rsp - 8 0x15bc 1 rsp = rsp + 8 0x15c0 2 <return> jump(pop)
POJ_24
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) 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 {"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 - 0x49408 0x1191 7 rbx = rsp + 0x186c0 {var_30d78} 0x1199 8 edx = 0x186a0 {""} 0x119e 9 rdi = rbx {var_30d78} 0x11a1 10 esi = 0 0x11a3 11 call(0x1030) 0x11a8 12 rdi = 0x2004 {"%d"} 0x11af 13 rsi = rsp + 0xc {var_4942c} 0x11b4 14 eax = 0 0x11b6 15 call(0x1050) 0x11c0 16 if ([rsp + 0xc {var_4942c}].d s<= 0) then 17 @ 0x14ea else 25 @ 0x11c6 0x14ea 17 rsp = rsp + 0x49408 0x14f1 18 rbx = pop 0x14f2 19 r12 = pop 0x14f4 20 r13 = pop 0x14f6 21 r14 = pop 0x14f8 22 r15 = pop 0x14fa 23 rbp = pop 0x14fb 24 <return> jump(pop) 0x11c6 25 r13 = rsp + 0x30d60 {var_186d8} 0x11ce 26 r14 = rsp + 0x20 {var_49418} 0x11d3 27 ecx = 0 0x11d5 28 goto 29 @ 0x1203 0x1203 29 [rsp + 0x18 {var_49420_1}].q = rbx 0x1208 30 [rsp + 0x10 {var_49428_1}].q = rcx 0x120d 31 rbx = rcx * 0x64 0x1211 32 r15 = rsp + rbx 0x1215 33 r15 = r15 + 0x20 0x1219 34 r12 = rsp + rbx + 0x30d60 0x1221 35 rdi = 0x2007 {"%s%s"} 0x1228 36 rsi = r12 0x122b 37 rdx = r15 0x122e 38 eax = 0 0x1230 39 call(0x1050) 0x1235 40 edi = 0xa {""} 0x123a 41 call(0x1070) 0x123f 42 rdi = r12 0x1242 43 call(0x1040) 0x1247 44 r12 = rax 0x124a 45 rdi = r15 0x124d 46 call(0x1040) 0x1254 47 if (eax s<= 0) then 48 @ 0x12f7 else 49 @ 0x125a 0x12f7 48 if (r12d s<= eax) then 51 @ 0x1312 else 54 @ 0x12f9 0x125a 49 r8d = eax 0x1261 50 if (r8 u>= 8) then 62 @ 0x1360 else 67 @ 0x1267 0x1312 51 cond:0 = r12d s<= 0 0x1315 52 rbx = [rsp + 0x18 {var_49420_1}].q 0x131a 53 if (cond:0) then 69 @ 0x11e0 else 76 @ 0x1320 0x12f9 54 eax = not.d(eax) 0x12fb 55 eax = eax + r12d 0x12fe 56 rax = rax + 1 0x1302 57 rdi = r15 0x1305 58 esi = 0x30 {""} 0x130a 59 rdx = rax 0x130d 60 call(0x1030) 0x130d 61 goto 51 @ 0x1312 0x1360 62 r9 = r8 - 1 0x1364 63 esi = (r12 - 1).d 0x1369 64 edx = esi 0x136b 65 edx = edx - r9d 0x1370 66 if (edx s> esi) then 67 @ 0x1267 else 79 @ 0x1376 0x1267 67 r9d = 0 0x1267 68 goto 82 @ 0x126a 0x11e0 69 rcx = [rsp + 0x10 {var_49428_1}].q 0x11e5 70 rcx = rcx + 1 0x11e9 71 rax = sx.q([rsp + 0xc {var_4942c}].d) 0x11ee 72 r13 = r13 + 0x64 0x11f2 73 rbx = rbx + 0x64 0x11f6 74 r14 = r14 + 0x64 0x11fd 75 if (rcx s>= rax) then 86 @ 0x14bc else 29 @ 0x1203 0x1320 76 rax = sx.q(r12d) 0x1323 77 rax = rax + 1 0x1327 78 goto 87 @ 0x1345 0x1376 79 rdx = r9 0x1379 80 rdx = rdx u>> 0x20 0x137d 81 if (rdx != 0) then 67 @ 0x1267 else 92 @ 0x1383 0x126a 82 edx = eax 0x126c 83 edx = edx - r9d 0x126f 84 rcx = r9 + 1 0x1276 85 if ((dl & 1) == 0) then 96 @ 0x1296 else 97 @ 0x1278 0x14bc 86 if (eax s<= 0) then 17 @ 0x14ea else 106 @ 0x14be 0x1345 87 ecx = zx.d([r13 + rax - 2].b) 0x134b 88 temp0.b = cl 0x134b 89 temp1.b = [r14 + rax - 2].b 0x134b 90 cl = cl - [r14 + rax - 2].b 0x1350 91 if (temp0.b - temp1.b s>= 0) then 109 @ 0x1330 else 113 @ 0x1352 0x1383 92 edi = (rax - 1).d 0x1386 93 ecx = edi 0x1388 94 ecx = ecx - r9d 0x138d 95 if (ecx s> edi) then 67 @ 0x1267 else 116 @ 0x1396 0x1296 96 if (r8 == rcx) then 48 @ 0x12f7 else 117 @ 0x1298 0x1278 97 r9d = not.d(r9d) 0x127b 98 edx = (r9 + rax).d 0x127f 99 rdx = sx.q(edx) 0x1282 100 dl = [rdx + r15].b 0x1286 101 r9d = r9d + r12d 0x1289 102 rsi = sx.q(r9d) 0x128c 103 [rsi + r15].b = dl 0x1290 104 r9 = rcx 0x1290 105 goto 96 @ 0x1296 0x14be 106 rbx = rsp + 0x186c0 {var_30d78} 0x14c6 107 ebp = 0 0x14c8 108 goto 130 @ 0x14d0 0x1330 109 cl = cl + 0x30 0x1333 110 [rbx + rax - 2].b = cl 0x1337 111 rax = rax - 1 0x133f 112 if (rax s<= 1) then 69 @ 0x11e0 else 87 @ 0x1345 0x1352 113 [r13 + rax - 3].b = [r13 + rax - 3].b - 1 0x1358 114 cl = cl + 0xa 0x135b 115 goto 109 @ 0x1330 0x1396 116 if (rdx != 0) then 67 @ 0x1267 else 136 @ 0x139c 0x1298 117 esi = r9d 0x129b 118 r10d = eax 0x129e 119 r10d = r10d - r9d 0x12a1 120 r10d = r10d - 2 0x12a5 121 ecx = r12d 0x12a8 122 ecx = ecx - r9d 0x12ab 123 ecx = ecx - 2 0x12ae 124 r9 = r9 - r8 0x12b1 125 esi = not.d(esi) 0x12b3 126 ebp = (rsi + rax).d 0x12b6 127 esi = esi + r12d 0x12b9 128 edx = 0 0x12bb 129 goto 142 @ 0x12c0 0x14d0 130 rdi = rbx 0x14d3 131 call(0x1060) 0x14d8 132 rbp = rbp + 1 0x14dc 133 rax = sx.q([rsp + 0xc {var_4942c}].d) 0x14e1 134 rbx = rbx + 0x64 0x14e8 135 if (rbp s< rax) then 130 @ 0x14d0 else 17 @ 0x14ea 0x139c 136 rdx = sx.q(esi) 0x139f 137 rdx = rdx + r15 0x13a2 138 ecx = 1 0x13a7 139 rcx = rcx - r8 0x13aa 140 rbp = rdx + rcx 0x13b1 141 if (rbp u> rdx) then 67 @ 0x1267 else 156 @ 0x13b7 0x12c0 142 ebx = (rdx + rbp).d 0x12c3 143 rbx = sx.q(ebx) 0x12c6 144 ebx = zx.d([rbx + r15].b) 0x12cb 145 edi = (rsi + rdx).d 0x12ce 146 rdi = sx.q(edi) 0x12d1 147 [rdi + r15].b = bl 0x12d5 148 edi = (r10 + rdx).d 0x12d9 149 rdi = sx.q(edi) 0x12dc 150 ebx = zx.d([rdi + r15].b) 0x12e1 151 edi = (rcx + rdx).d 0x12e4 152 rdi = sx.q(edi) 0x12e7 153 [rdi + r15].b = bl 0x12eb 154 rdx = rdx - 2 0x12f2 155 if (r9 != rdx) then 142 @ 0x12c0 else 48 @ 0x12f7 0x13b7 156 rdx = sx.q(edi) 0x13ba 157 rdx = rdx + r15 0x13bd 158 rcx = rcx + rdx 0x13c0 159 r9d = 0 0x13c9 160 if (rcx u> rdx) then 82 @ 0x126a else 161 @ 0x13cf 0x13cf 161 r9 = rsp + rbx 0x13d3 162 r9 = r9 + 0x21 0x13d7 163 rdx = r12 0x13da 164 rdx = rdx << 0x20 0x13de 165 rcx = -0x100000000 0x13e8 166 rdx = rdx + rcx 0x13eb 167 rdx = rdx s>> 0x20 0x13ef 168 r10 = rdx 0x13f2 169 r10 = r10 - r8 0x13f5 170 r10 = r10 + r9 0x13f8 171 rbp = rax 0x13fb 172 rbp = rbp << 0x20 0x13ff 173 rbp = rbp + rcx 0x1402 174 rbp = rbp s>> 0x20 0x1406 175 rcx = r9 + rbp 0x140d 176 if (r10 u>= rcx) then 177 @ 0x1425 else 178 @ 0x140f 0x1425 177 if (r8d u>= 0x10) then 182 @ 0x142c else 188 @ 0x1427 0x140f 178 rdx = rdx + r9 0x1412 179 rbp = rbp - r8 0x1415 180 rbp = rbp + r9 0x141b 181 if (rbp u< rdx) then 67 @ 0x1267 else 177 @ 0x1425 0x142c 182 ecx = eax 0x142e 183 ecx = ecx & 0xf 0x1431 184 r9 = r8 0x1434 185 r9 = r9 - rcx 0x1437 186 rdx = r9 0x143a 187 goto 190 @ 0x1440 0x1427 188 r9d = 0 0x142a 189 goto 199 @ 0x1470 0x1440 190 rdi = sx.q(edi) 0x1443 191 xmm0 = [rdi + r15 - 0xf].o 0x1449 192 rsi = sx.q(esi) 0x144c 193 [rsi + r15 - 0xf].o = xmm0 0x1452 194 esi = esi - 0x10 0x1455 195 edi = edi - 0x10 0x1458 196 temp2.q = rdx 0x1458 197 rdx = rdx - 0x10 0x145c 198 if (temp2.q != 0x10) then 190 @ 0x1440 else 210 @ 0x1461 0x1470 199 rcx = r9 0x1473 200 r9d = eax 0x1476 201 esi = eax 0x1478 202 esi = esi & 7 0x147b 203 r9 = r9 - rsi 0x147e 204 rdi = rcx + rsi 0x1482 205 rdi = rdi - r8 0x1485 206 ecx = not.d(ecx) 0x1487 207 edx = (rcx + r12).d 0x148b 208 ecx = ecx + eax 0x148d 209 goto 211 @ 0x1490 0x1461 210 if (rcx == 0) then 48 @ 0x12f7 else 220 @ 0x146a 0x1490 211 rcx = sx.q(ecx) 0x1493 212 rbp = [rcx + r15 - 7].q 0x1498 213 rdx = sx.q(edx) 0x149b 214 [rdx + r15 - 7].q = rbp 0x14a0 215 edx = edx - 8 0x14a3 216 ecx = ecx - 8 0x14a6 217 temp3.q = rdi 0x14a6 218 rdi = rdi + 8 0x14aa 219 if (temp3.q != -8) then 211 @ 0x1490 else 221 @ 0x14af 0x146a 220 if (ecx u< 8) then 82 @ 0x126a else 199 @ 0x1470 0x14af 221 if (rsi != 0) then 82 @ 0x126a else 222 @ 0x14b5 0x14b5 222 goto 48 @ 0x12f7 int64_t _fini(): 0x1500 0 rsp = rsp - 8 0x1504 1 rsp = rsp + 8 0x1508 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) double pow(double x, double y): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) double log10(int64_t arg1, int64_t arg2, 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 = 0x12b0 {"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 num(int64_t arg1, int64_t arg2, double arg3): 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 - 0x1b8 0x1181 7 r14d = edi 0x1184 8 r13d = edi 0x1187 9 r13d = neg.d(r13d) 0x118a 10 if (r13d s< 0) then 11 else 13 @ 0x118e 0x118a 11 r13d = edi 0x118a 12 goto 13 @ 0x118e 0x118e 13 xmm0.q = float.d(r13d) 0x1193 14 call(0x1060) 0x1198 15 r15d = int.d(ftrunc(xmm0.q)) 0x11a0 16 if (r15d s< 0) then 17 @ 0x122b else 18 @ 0x11a6 0x122b 17 if (r15d s< 0) then 22 @ 0x1289 else 24 @ 0x122d 0x11a6 18 r12d = (r15 + 1).d 0x11aa 19 ebx = 0 0x11ac 20 ebp = r15d 0x11af 21 goto 28 @ 0x11b0 0x1289 22 ecx = 0 0x1289 23 goto 53 @ 0x128b 0x122d 24 r15d = r15d + 1 0x1231 25 ebx = 0 0x1233 26 ecx = 0 0x123f 27 goto 59 @ 0x1240 0x11b0 28 xmm0 = 0 0x11b3 29 xmm0.q = float.d(r13d) 0x11b8 30 [rsp {var_1e8_1}].q = xmm0.q 0x11bd 31 xmm1 = 0 0x11c0 32 xmm1.q = float.d(ebp) 0x11c4 33 [rsp + 8 {var_1e0_1}].q = xmm1.q 0x11ca 34 xmm0 = zx.o([0x2008].q) 0x11d2 35 call(0x1040) 0x11d7 36 xmm1 = zx.o([rsp {var_1e8_1}].q) 0x11dc 37 xmm1.q = xmm1.q f/ xmm0.q 0x11e0 38 eax = int.d(ftrunc(xmm1.q)) 0x11e4 39 [rsp + (rbx << 2) + 0x20].d = eax 0x11e8 40 rbx = rbx + 1 0x11ec 41 xmm0 = _mm_cvttpd_epi32(xmm1) 0x11f0 42 xmm0 = _mm_cvtepi32_pd(xmm0.q) 0x11f4 43 [rsp + 0x10 {var_1d8_1}].o = xmm0 0x11f9 44 xmm0 = zx.o([0x2008].q) 0x1201 45 xmm1 = zx.o([rsp + 8 {var_1e0_1}].q) 0x1207 46 call(0x1040) 0x120c 47 xmm0.q = xmm0.q f* fconvert.t([rsp + 0x10 {var_1d8_1}].q) 0x1212 48 xmm1 = zx.o([rsp {var_1e8_1}].q) 0x1217 49 xmm1.q = xmm1.q f- xmm0.q 0x121b 50 r13d = int.d(ftrunc(xmm1.q)) 0x1220 51 ebp = ebp - 1 0x1226 52 if (r12 != rbx) then 28 @ 0x11b0 else 17 @ 0x122b 0x128b 53 edx = 0 0x128d 54 temp0.d = r14d 0x128d 55 cond:0 = temp0.d s>= 0 0x1290 56 dl = temp0.d s> 0 0x1293 57 eax = 0xffffffff {""} 0x1298 58 if (cond:0) then 74 else 76 @ 0x129b 0x1240 59 xmm0 = 0 0x1243 60 xmm0.q = float.d(ecx) 0x1247 61 [rsp {var_1e8_2}].q = xmm0.q 0x124c 62 xmm0 = 0 0x124f 63 xmm0.q = float.d([rsp + (rbx << 2) + 0x20].d) 0x1255 64 [rsp + 8 {var_1e0_2}].q = xmm0.q 0x125b 65 xmm1 = 0 0x125e 66 xmm1.q = float.d(ebx) 0x1262 67 xmm0 = zx.o([0x2008].q) 0x126a 68 call(0x1040) 0x126f 69 xmm0.q = xmm0.q f* fconvert.t([rsp + 8 {var_1e0_2}].q) 0x1275 70 xmm0.q = xmm0.q f+ fconvert.t([rsp {var_1e8_2}].q) 0x127a 71 ecx = int.d(ftrunc(xmm0.q)) 0x127e 72 rbx = rbx + 1 0x1285 73 if (r15 != rbx) then 59 @ 0x1240 else 85 @ 0x1287 0x1298 74 eax = edx 0x1298 75 goto 76 @ 0x129b 0x129b 76 eax = eax * ecx 0x129e 77 rsp = rsp + 0x1b8 0x12a5 78 rbx = pop 0x12a6 79 r12 = pop 0x12a8 80 r13 = pop 0x12aa 81 r14 = pop 0x12ac 82 r15 = pop 0x12ae 83 rbp = pop 0x12af 84 <return> jump(pop) 0x1287 85 goto 53 @ 0x128b int32_t main(int32_t argc, char** argv, char** envp): 0x12b0 0 push(rbp) 0x12b1 1 push(r15) 0x12b3 2 push(r14) 0x12b5 3 push(r13) 0x12b7 4 push(r12) 0x12b9 5 push(rbx) 0x12ba 6 rsp = rsp - 0x1c8 0x12c1 7 goto 8 @ 0x12f4 0x12f4 8 rdi = 0x2010 {"%d"} 0x12fb 9 rsi = rsp + 0xc {var_1ec} 0x1300 10 eax = 0 0x1302 11 call(0x1050) 0x130a 12 if (eax != 1) then 13 @ 0x141e else 22 @ 0x1310 0x141e 13 eax = 0 0x1420 14 rsp = rsp + 0x1c8 0x1427 15 rbx = pop 0x1428 16 r12 = pop 0x142a 17 r13 = pop 0x142c 18 r14 = pop 0x142e 19 r15 = pop 0x1430 20 rbp = pop 0x1431 21 <return> jump(pop) 0x1310 22 r13d = [rsp + 0xc {var_1ec}].d 0x1315 23 ebp = r13d 0x1318 24 ebp = neg.d(ebp) 0x131a 25 if (ebp s< 0) then 26 else 28 @ 0x131e 0x131a 26 ebp = r13d 0x131a 27 goto 28 @ 0x131e 0x131e 28 xmm0 = 0 0x1321 29 xmm0.q = float.d(ebp) 0x1325 30 call(0x1060) 0x132a 31 ebx = int.d(ftrunc(xmm0.q)) 0x1330 32 if (ebx s< 0) then 33 @ 0x13be else 34 @ 0x1336 0x13be 33 if (ebx s< 0) then 38 @ 0x12d0 else 40 @ 0x13c4 0x1336 34 r12d = (rbx + 1).d 0x133a 35 r14d = 0 0x133d 36 r15d = ebx 0x133d 37 goto 44 @ 0x1340 0x12d0 38 eax = 0 0x12d0 39 goto 69 @ 0x12d2 0x13c4 40 ebx = ebx + 1 0x13c7 41 ebp = 0 0x13c9 42 eax = 0 0x13cb 43 goto 75 @ 0x13d0 0x1340 44 xmm0 = 0 0x1343 45 xmm0.q = float.d(ebp) 0x1347 46 [rsp + 0x10 {var_1e8_1}].q = xmm0.q 0x134d 47 xmm1 = 0 0x1350 48 xmm1.q = float.d(r15d) 0x1355 49 [rsp + 0x18 {var_1e0_1}].q = xmm1.q 0x135b 50 xmm0 = zx.o([0x2008].q) 0x1363 51 call(0x1040) 0x1368 52 xmm1 = zx.o([rsp + 0x10 {var_1e8_1}].q) 0x136e 53 xmm1.q = xmm1.q f/ xmm0.q 0x1372 54 eax = int.d(ftrunc(xmm1.q)) 0x1376 55 [rsp + (r14 << 2) + 0x30].d = eax 0x137b 56 r14 = r14 + 1 0x137f 57 xmm0 = _mm_cvttpd_epi32(xmm1) 0x1383 58 xmm0 = _mm_cvtepi32_pd(xmm0.q) 0x1387 59 [rsp + 0x20 {var_1d8_1}].o = xmm0 0x138c 60 xmm0 = zx.o([0x2008].q) 0x1394 61 xmm1 = zx.o([rsp + 0x18 {var_1e0_1}].q) 0x139a 62 call(0x1040) 0x139f 63 xmm0.q = xmm0.q f* fconvert.t([rsp + 0x20 {var_1d8_1}].q) 0x13a5 64 xmm1 = zx.o([rsp + 0x10 {var_1e8_1}].q) 0x13ab 65 xmm1.q = xmm1.q f- xmm0.q 0x13af 66 ebp = int.d(ftrunc(xmm1.q)) 0x13b3 67 r15d = r15d - 1 0x13ba 68 if (r12 != r14) then 44 @ 0x1340 else 33 @ 0x13be 0x12d2 69 esi = 0 0x12d4 70 temp0.d = r13d 0x12d4 71 cond:0 = temp0.d s< 0 0x12d7 72 sil = temp0.d s> 0 0x12db 73 ecx = 0xffffffff {""} 0x12e0 74 if (cond:0) then 90 else 92 @ 0x12e3 0x13d0 75 xmm0 = 0 0x13d3 76 xmm0.q = float.d(eax) 0x13d7 77 [rsp + 0x10 {var_1e8_2}].q = xmm0.q 0x13dd 78 xmm0 = 0 0x13e0 79 xmm0.q = float.d([rsp + (rbp << 2) + 0x30].d) 0x13e6 80 [rsp + 0x18 {var_1e0_2}].q = xmm0.q 0x13ec 81 xmm1 = 0 0x13ef 82 xmm1.q = float.d(ebp) 0x13f3 83 xmm0 = zx.o([0x2008].q) 0x13fb 84 call(0x1040) 0x1400 85 xmm0.q = xmm0.q f* fconvert.t([rsp + 0x18 {var_1e0_2}].q) 0x1406 86 xmm0.q = xmm0.q f+ fconvert.t([rsp + 0x10 {var_1e8_2}].q) 0x140c 87 eax = int.d(ftrunc(xmm0.q)) 0x1410 88 rbp = rbp + 1 0x1417 89 if (rbx != rbp) then 75 @ 0x13d0 else 97 @ 0x1419 0x12e0 90 esi = ecx 0x12e0 91 goto 92 @ 0x12e3 0x12e3 92 esi = esi * eax 0x12e6 93 rdi = 0x2013 {"%d\n"} 0x12ed 94 eax = 0 0x12ef 95 call(0x1030) 0x12ef 96 goto 8 @ 0x12f4 0x1419 97 goto 69 @ 0x12d2 int64_t _fini(): 0x1438 0 rsp = rsp - 8 0x143c 1 rsp = rsp + 8 0x1440 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 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 - 0x15fc0 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 - 0x15fa4 {var_15fac}].d = 0 0x1184 9 goto 10 @ 0x118e 0x118e 10 eax = [rbp - 0x15fa4 {var_15fac}].d 0x1197 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11d4 else 15 @ 0x119d 0x11d4 12 [rbp - 0x15fa8 {var_15fb0}].d = 0 0x11de 13 [rbp - 0x15fa4 {var_15fac_1}].d = 0 0x11de 14 goto 26 @ 0x11e8 0x119d 15 rax = sx.q([rbp - 0x15fa4 {var_15fac}].d) 0x11a4 16 rsi = rbp - 0x15fa0 {var_15fa8} 0x11ab 17 rax = rax * 0x5a 0x11af 18 rsi = rsi + rax 0x11b2 19 rdi = 0x2007 {"%s"} 0x11b9 20 al = 0 0x11bb 21 call(0x1050) 0x11c0 22 eax = [rbp - 0x15fa4 {var_15fac}].d 0x11c6 23 eax = eax + 1 0x11c9 24 [rbp - 0x15fa4 {var_15fac}].d = eax 0x11cf 25 goto 10 @ 0x118e 0x11e8 26 eax = [rbp - 0x15fa4 {var_15fac_1}].d 0x11f1 27 if (eax s>= [rbp - 8 {var_10}].d) then 28 @ 0x131a else 32 @ 0x11f7 0x131a 28 eax = 0 0x131c 29 rsp = rsp + 0x15fc0 0x1323 30 rbp = pop 0x1324 31 <return> jump(pop) 0x11f7 32 goto 33 @ 0x1203 0x1203 33 if ([rbp - 0x15fa8 {var_15fb0}].d s>= 0x50) then 34 @ 0x12fd else 39 @ 0x1209 0x12fd 34 rdi = 0x200c {"\n"} 0x1304 35 al = 0 0x1306 36 call(0x1030) 0x130b 37 [rbp - 0x15fa8 {var_15fb0}].d = 0 0x1315 38 goto 26 @ 0x11e8 0x1209 39 rax = sx.q([rbp - 0x15fa8 {var_15fb0}].d) 0x1210 40 [rbp - 0x15fb0 {var_15fb8_1}].q = rax 0x1217 41 rax = sx.q([rbp - 0x15fa4 {var_15fac_1}].d) 0x121e 42 rdi = rbp - 0x15fa0 {var_15fa8} 0x1225 43 rax = rax * 0x5a 0x1229 44 rdi = rdi + rax 0x122c 45 call(0x1040) 0x1231 46 rcx = rax 0x1234 47 rax = [rbp - 0x15fb0 {var_15fb8_1}].q 0x123b 48 rax = rax + rcx 0x1242 49 if (rax u< 0x50) then 50 @ 0x1254 else 51 @ 0x1248 0x1254 50 if ([rbp - 0x15fa8 {var_15fb0}].d == 0) then 52 @ 0x1277 else 75 @ 0x125a 0x1248 51 goto 34 @ 0x12fd 0x1277 52 rax = sx.q([rbp - 0x15fa4 {var_15fac_1}].d) 0x127e 53 rsi = rbp - 0x15fa0 {var_15fa8} 0x1285 54 rax = rax * 0x5a 0x1289 55 rsi = rsi + rax 0x128c 56 rdi = 0x2007 {"%s"} 0x1293 57 al = 0 0x1295 58 call(0x1030) 0x129a 59 rax = sx.q([rbp - 0x15fa8 {var_15fb0}].d) 0x12a1 60 [rbp - 0x15fb8 {var_15fc0_1}].q = rax 0x12a8 61 rax = sx.q([rbp - 0x15fa4 {var_15fac_1}].d) 0x12af 62 rdi = rbp - 0x15fa0 {var_15fa8} 0x12b6 63 rax = rax * 0x5a 0x12ba 64 rdi = rdi + rax 0x12bd 65 call(0x1040) 0x12c2 66 rcx = rax 0x12c5 67 rax = [rbp - 0x15fb8 {var_15fc0_1}].q 0x12cc 68 rax = rax + rcx 0x12cf 69 [rbp - 0x15fa8 {var_15fb0}].d = eax 0x12d5 70 eax = [rbp - 0x15fa4 {var_15fac_1}].d 0x12db 71 eax = eax + 1 0x12de 72 [rbp - 0x15fa4 {var_15fac_1}].d = eax 0x12e4 73 eax = [rbp - 0x15fa4 {var_15fac_1}].d 0x12ed 74 if (eax s< [rbp - 8 {var_10}].d) then 82 @ 0x12f8 else 83 @ 0x12f3 0x125a 75 rdi = 0x200a {" "} 0x1261 76 al = 0 0x1263 77 call(0x1030) 0x1268 78 eax = [rbp - 0x15fa8 {var_15fb0}].d 0x126e 79 eax = eax + 1 0x1271 80 [rbp - 0x15fa8 {var_15fb0}].d = eax 0x1271 81 goto 52 @ 0x1277 0x12f8 82 goto 33 @ 0x1203 0x12f3 83 goto 34 @ 0x12fd int64_t _fini(): 0x132c 0 rsp = rsp - 8 0x1330 1 rsp = rsp + 8 0x1334 2 <return> jump(pop)
POJ_98
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\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) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x990 0x116b 3 [rbp - 0x1c {var_24}].d = 0 0x1172 4 [rbp - 0x20 {var_28}].d = 0 0x1179 5 [rbp - 0x24 {var_2c}].d = 0 0x1180 6 [rbp - 0x28 {var_30}].d = 0 0x1187 7 rdi = rbp - 0x4e0 {var_4e8} 0x118e 8 esi = 0 0x1190 9 edx = 0x4b0 {"Q"} 0x1195 10 call(0x1040) 0x119a 11 rdi = 0x2004 {"%d %d"} 0x11a1 12 rsi = rbp - 4 {var_c} 0x11a5 13 rdx = rbp - 8 {var_10} 0x11a9 14 al = 0 0x11ab 15 call(0x1050) 0x11b0 16 eax = [rbp - 4 {var_c}].d 0x11b3 17 [rbp - 0xc {var_14}].d = eax 0x11b3 18 goto 19 @ 0x11b6 0x11b6 19 eax = [rbp - 0xc {var_14}].d 0x11b9 20 ecx = [rbp - 8 {var_10}].d 0x11bc 21 ecx = ecx + 1 0x11c1 22 if (eax s>= ecx) then 23 @ 0x123f else 25 @ 0x11c7 0x123f 23 [rbp - 0x14 {var_1c}].d = 0 0x123f 24 goto 29 @ 0x1246 0x11c7 25 eax = [rbp - 0xc {var_14}].d 0x11ca 26 [rbp - 0x18 {var_20_1}].d = eax 0x11cd 27 [rbp - 0x30 {var_38_1}].d = 0 0x11cd 28 goto 31 @ 0x11d8 0x1246 29 eax = [rbp - 0x14 {var_1c}].d 0x124c 30 if (eax s>= [rbp - 0x24 {var_2c}].d) then 32 @ 0x12e0 else 34 @ 0x1252 0x11d8 31 if ([rbp - 0x18 {var_20_1}].d == 0) then 37 @ 0x1209 else 39 @ 0x11de 0x12e0 32 [rbp - 0xc {var_14_2}].d = 0 0x12e0 33 goto 71 @ 0x12e7 0x1252 34 [rbp - 0x2c {var_34_1}].d = 0 0x1259 35 [rbp - 0xc {var_14_1}].d = 2 0x1259 36 goto 73 @ 0x1260 0x1209 37 eax = [rbp - 0x30 {var_38_1}].d 0x120f 38 if (eax != [rbp - 0xc {var_14}].d) then 76 @ 0x122c else 77 @ 0x1215 0x11de 39 eax = [rbp - 0x18 {var_20_1}].d 0x11e1 40 ecx = 0xa {""} 0x11e6 41 temp2.d:temp3.d = sx.q(eax) 0x11e6 42 edx = temp2.d 0x11e6 43 eax = temp3.d 0x11e7 44 temp4.d = edx 0x11e7 45 temp5.d = eax 0x11e7 46 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11e7 47 temp6.d = edx 0x11e7 48 temp7.d = eax 0x11e7 49 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11e7 50 eax = temp0.d 0x11e7 51 edx = temp1.d 0x11e9 52 [rbp - 0x10 {var_18_1}].d = edx 0x11ec 53 eax = [rbp - 0x30 {var_38_1}].d * 0xa 0x11f0 54 eax = eax + [rbp - 0x10 {var_18_1}].d 0x11f3 55 [rbp - 0x30 {var_38_1}].d = eax 0x11f6 56 eax = [rbp - 0x18 {var_20_1}].d 0x11f9 57 ecx = 0xa {""} 0x11fe 58 temp8.d:temp9.d = sx.q(eax) 0x11fe 59 edx = temp8.d 0x11fe 60 eax = temp9.d 0x11ff 61 temp10.d = edx 0x11ff 62 temp11.d = eax 0x11ff 63 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11ff 64 temp12.d = edx 0x11ff 65 temp13.d = eax 0x11ff 66 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11ff 67 eax = temp0.d 0x11ff 68 edx = temp1.d 0x1201 69 [rbp - 0x18 {var_20_1}].d = eax 0x1204 70 goto 31 @ 0x11d8 0x12e7 71 eax = [rbp - 0xc {var_14_2}].d 0x12ed 72 if (eax s>= [rbp - 0x24 {var_2c}].d) then 85 @ 0x133b else 86 @ 0x12f3 0x1260 73 eax = [rbp - 0xc {var_14_1}].d 0x1263 74 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x126e 75 if (eax s>= [rbp + (rcx << 2) - 0x4e0].d) then 88 @ 0x12be else 89 @ 0x1274 0x122c 76 goto 103 @ 0x1231 0x1215 77 ecx = [rbp - 0x30 {var_38_1}].d 0x1218 78 eax = [rbp - 0x24 {var_2c}].d 0x121b 79 edx = eax 0x121d 80 edx = edx + 1 0x1220 81 [rbp - 0x24 {var_2c}].d = edx 0x1223 82 rax = sx.q(eax) 0x1225 83 [rbp + (rax << 2) - 0x4e0].d = ecx 0x1225 84 goto 76 @ 0x122c 0x133b 85 if ([rbp - 0x28 {var_30}].d == 0) then 107 @ 0x13a2 else 111 @ 0x1341 0x12f3 86 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x12ff 87 if ([rbp + (rax << 2) - 0x4e0].d == 0) then 113 @ 0x1324 else 114 @ 0x1305 0x12be 88 if ([rbp - 0x2c {var_34_1}].d != 0) then 123 @ 0x12cd else 124 @ 0x12c4 0x1274 89 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x1278 90 eax = [rbp + (rax << 2) - 0x4e0].d 0x127f 91 temp14.d:temp15.d = sx.q(eax) 0x127f 92 edx = temp14.d 0x127f 93 eax = temp15.d 0x1280 94 temp16.d = edx 0x1280 95 temp17.d = eax 0x1280 96 temp0.d = divs.dp.d(temp16.d:temp17.d, [rbp - 0xc {var_14_1}].d) 0x1280 97 temp18.d = edx 0x1280 98 temp19.d = eax 0x1280 99 temp1.d = mods.dp.d(temp18.d:temp19.d, [rbp - 0xc {var_14_1}].d) 0x1280 100 eax = temp0.d 0x1280 101 edx = temp1.d 0x1286 102 if (edx != 0) then 128 @ 0x12a7 else 129 @ 0x128c 0x1231 103 eax = [rbp - 0xc {var_14}].d 0x1234 104 eax = eax + 1 0x1237 105 [rbp - 0xc {var_14}].d = eax 0x123a 106 goto 19 @ 0x11b6 0x13a2 107 rdi = 0x200e {"no"} 0x13a9 108 al = 0 0x13ab 109 call(0x1030) 0x13ab 110 goto 133 @ 0x13b0 0x1341 111 [rbp - 0xc {var_14_3}].d = 0 0x1341 112 goto 136 @ 0x1348 0x1324 113 goto 140 @ 0x1329 0x1305 114 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1309 115 ecx = [rbp + (rax << 2) - 0x4e0].d 0x1310 116 eax = [rbp - 0x28 {var_30}].d 0x1313 117 edx = eax 0x1315 118 edx = edx + 1 0x1318 119 [rbp - 0x28 {var_30}].d = edx 0x131b 120 rax = sx.q(eax) 0x131d 121 [rbp + (rax << 2) - 0x990].d = ecx 0x131d 122 goto 113 @ 0x1324 0x12cd 123 goto 144 @ 0x12d2 0x12c4 124 eax = [rbp - 0x1c {var_24}].d 0x12c7 125 eax = eax + 1 0x12ca 126 [rbp - 0x1c {var_24}].d = eax 0x12ca 127 goto 123 @ 0x12cd 0x12a7 128 goto 148 @ 0x12ac 0x128c 129 [rbp - 0x2c {var_34_1}].d = 1 0x1293 130 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x1297 131 [rbp + (rax << 2) - 0x4e0].d = 0 0x12a2 132 goto 88 @ 0x12be 0x13b0 133 rsp = rsp + 0x990 0x13b7 134 rbp = pop 0x13b8 135 <return> jump(pop) 0x1348 136 eax = [rbp - 0xc {var_14_3}].d 0x134b 137 ecx = [rbp - 0x28 {var_30}].d 0x134e 138 ecx = ecx - 1 0x1353 139 if (eax s>= ecx) then 152 @ 0x1380 else 160 @ 0x1359 0x1329 140 eax = [rbp - 0xc {var_14_2}].d 0x132c 141 eax = eax + 1 0x132f 142 [rbp - 0xc {var_14_2}].d = eax 0x1332 143 goto 71 @ 0x12e7 0x12d2 144 eax = [rbp - 0x14 {var_1c}].d 0x12d5 145 eax = eax + 1 0x12d8 146 [rbp - 0x14 {var_1c}].d = eax 0x12db 147 goto 29 @ 0x1246 0x12ac 148 eax = [rbp - 0xc {var_14_1}].d 0x12af 149 eax = eax + 1 0x12b2 150 [rbp - 0xc {var_14_1}].d = eax 0x12b5 151 goto 73 @ 0x1260 0x1380 152 eax = [rbp - 0x28 {var_30}].d 0x1383 153 eax = eax - 1 0x1386 154 rax = sx.q(eax) 0x1388 155 esi = [rbp + (rax << 2) - 0x990].d 0x138f 156 rdi = 0x2007 {"%d"} 0x1396 157 al = 0 0x1398 158 call(0x1030) 0x139d 159 goto 133 @ 0x13b0 0x1359 160 rax = sx.q([rbp - 0xc {var_14_3}].d) 0x135d 161 esi = [rbp + (rax << 2) - 0x990].d 0x1364 162 rdi = 0x200a {"%d,"} 0x136b 163 al = 0 0x136d 164 call(0x1030) 0x1372 165 eax = [rbp - 0xc {var_14_3}].d 0x1375 166 eax = eax + 1 0x1378 167 [rbp - 0xc {var_14_3}].d = eax 0x137b 168 goto 136 @ 0x1348 int64_t _fini(): 0x13c0 0 rsp = rsp - 8 0x13c4 1 rsp = rsp + 8 0x13c8 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) 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 - 8 {var_10} 0x117d 6 al = 0 0x117f 7 call(0x1050) 0x1184 8 [rbp - 0x10 {var_18}].d = 0 0x1184 9 goto 10 @ 0x118b 0x118b 10 eax = [rbp - 0x10 {var_18}].d 0x118e 11 ecx = [rbp - 8 {var_10}].d 0x1191 12 ecx = ecx - 1 0x1196 13 if (eax s>= ecx) then 14 @ 0x12f9 else 24 @ 0x119c 0x12f9 14 [rbp - 0x18 {var_20_2}].d = 0 0x1300 15 rsi = rbp - 0x80 {var_88} 0x1304 16 rdi = 0x2007 {"%s"} 0x130b 17 al = 0 0x130d 18 call(0x1050) 0x1312 19 rdi = rbp - 0x80 {var_88} 0x1316 20 call(0x1040) 0x131b 21 [rbp - 0xc {var_14_2}].d = eax 0x131e 22 eax = sx.d([rbp - 0x80 {var_88}].b) 0x1325 23 if (eax == 0x5f) then 34 @ 0x135f else 36 @ 0x132b 0x119c 24 [rbp - 0x18 {var_20_1}].d = 0 0x11a3 25 rsi = rbp - 0x80 {var_88} 0x11a7 26 rdi = 0x2007 {"%s"} 0x11ae 27 al = 0 0x11b0 28 call(0x1050) 0x11b5 29 rdi = rbp - 0x80 {var_88} 0x11b9 30 call(0x1040) 0x11be 31 [rbp - 0xc {var_14_1}].d = eax 0x11c1 32 eax = sx.d([rbp - 0x80 {var_88}].b) 0x11c8 33 if (eax == 0x5f) then 38 @ 0x1202 else 40 @ 0x11ce 0x135f 34 [rbp - 0x14 {var_1c_2}].d = 1 0x135f 35 goto 42 @ 0x1366 0x132b 36 eax = sx.d([rbp - 0x80 {var_88}].b) 0x1332 37 if (eax s< 0x61) then 44 @ 0x1345 else 46 @ 0x1338 0x1202 38 [rbp - 0x14 {var_1c_1}].d = 1 0x1202 39 goto 48 @ 0x1209 0x11ce 40 eax = sx.d([rbp - 0x80 {var_88}].b) 0x11d5 41 if (eax s< 0x61) then 50 @ 0x11e8 else 52 @ 0x11db 0x1366 42 eax = [rbp - 0x14 {var_1c_2}].d 0x136c 43 if (eax s>= [rbp - 0xc {var_14_2}].d) then 54 @ 0x140c else 55 @ 0x1372 0x1345 44 eax = sx.d([rbp - 0x80 {var_88}].b) 0x134c 45 if (eax s< 0x41) then 58 @ 0x1411 else 62 @ 0x1352 0x1338 46 eax = sx.d([rbp - 0x80 {var_88}].b) 0x133f 47 if (eax s<= 0x7a) then 34 @ 0x135f else 44 @ 0x1345 0x1209 48 eax = [rbp - 0x14 {var_1c_1}].d 0x120f 49 if (eax s>= [rbp - 0xc {var_14_1}].d) then 64 @ 0x12af else 65 @ 0x1215 0x11e8 50 eax = sx.d([rbp - 0x80 {var_88}].b) 0x11ef 51 if (eax s< 0x41) then 68 @ 0x12b4 else 72 @ 0x11f5 0x11db 52 eax = sx.d([rbp - 0x80 {var_88}].b) 0x11e2 53 if (eax s<= 0x7a) then 38 @ 0x1202 else 50 @ 0x11e8 0x140c 54 goto 58 @ 0x1411 0x1372 55 rax = sx.q([rbp - 0x14 {var_1c_2}].d) 0x1376 56 eax = sx.d([rbp + rax - 0x80].b) 0x137e 57 if (eax == 0x5f) then 74 @ 0x13f0 else 78 @ 0x1384 0x1411 58 eax = [rbp - 0x18 {var_20_2}].d 0x1414 59 ecx = [rbp - 0xc {var_14_2}].d 0x1417 60 ecx = ecx - 1 0x141c 61 if (eax != ecx) then 81 @ 0x1435 else 85 @ 0x1422 0x1352 62 eax = sx.d([rbp - 0x80 {var_88}].b) 0x1359 63 if (eax s> 0x5a) then 58 @ 0x1411 else 34 @ 0x135f 0x12af 64 goto 68 @ 0x12b4 0x1215 65 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1219 66 eax = sx.d([rbp + rax - 0x80].b) 0x1221 67 if (eax == 0x5f) then 89 @ 0x1293 else 93 @ 0x1227 0x12b4 68 eax = [rbp - 0x18 {var_20_1}].d 0x12b7 69 ecx = [rbp - 0xc {var_14_1}].d 0x12ba 70 ecx = ecx - 1 0x12bf 71 if (eax != ecx) then 96 @ 0x12d8 else 100 @ 0x12c5 0x11f5 72 eax = sx.d([rbp - 0x80 {var_88}].b) 0x11fc 73 if (eax s> 0x5a) then 68 @ 0x12b4 else 38 @ 0x1202 0x13f0 74 eax = [rbp - 0x18 {var_20_2}].d 0x13f3 75 eax = eax + 1 0x13f6 76 [rbp - 0x18 {var_20_2}].d = eax 0x13f6 77 goto 104 @ 0x13f9 0x1384 78 rax = sx.q([rbp - 0x14 {var_1c_2}].d) 0x1388 79 eax = sx.d([rbp + rax - 0x80].b) 0x1390 80 if (eax s< 0x61) then 105 @ 0x13a8 else 108 @ 0x1396 0x1435 81 rdi = 0x2017 {"no"} 0x143c 82 al = 0 0x143e 83 call(0x1030) 0x143e 84 goto 111 @ 0x1443 0x1422 85 rdi = 0x2013 {"yes"} 0x1429 86 al = 0 0x142b 87 call(0x1030) 0x1430 88 goto 111 @ 0x1443 0x1293 89 eax = [rbp - 0x18 {var_20_1}].d 0x1296 90 eax = eax + 1 0x1299 91 [rbp - 0x18 {var_20_1}].d = eax 0x1299 92 goto 115 @ 0x129c 0x1227 93 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x122b 94 eax = sx.d([rbp + rax - 0x80].b) 0x1233 95 if (eax s< 0x61) then 116 @ 0x124b else 119 @ 0x1239 0x12d8 96 rdi = 0x200f {"no\n"} 0x12df 97 al = 0 0x12e1 98 call(0x1030) 0x12e1 99 goto 122 @ 0x12e6 0x12c5 100 rdi = 0x200a {"yes\n"} 0x12cc 101 al = 0 0x12ce 102 call(0x1030) 0x12d3 103 goto 122 @ 0x12e6 0x13f9 104 goto 123 @ 0x13fe 0x13a8 105 rax = sx.q([rbp - 0x14 {var_1c_2}].d) 0x13ac 106 eax = sx.d([rbp + rax - 0x80].b) 0x13b4 107 if (eax s< 0x41) then 127 @ 0x13cc else 130 @ 0x13ba 0x1396 108 rax = sx.q([rbp - 0x14 {var_1c_2}].d) 0x139a 109 eax = sx.d([rbp + rax - 0x80].b) 0x13a2 110 if (eax s<= 0x7a) then 74 @ 0x13f0 else 105 @ 0x13a8 0x1443 111 eax = 0 0x1445 112 rsp = rsp + 0x80 0x144c 113 rbp = pop 0x144d 114 <return> jump(pop) 0x129c 115 goto 133 @ 0x12a1 0x124b 116 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x124f 117 eax = sx.d([rbp + rax - 0x80].b) 0x1257 118 if (eax s< 0x41) then 137 @ 0x126f else 140 @ 0x125d 0x1239 119 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x123d 120 eax = sx.d([rbp + rax - 0x80].b) 0x1245 121 if (eax s<= 0x7a) then 89 @ 0x1293 else 116 @ 0x124b 0x12e6 122 goto 143 @ 0x12eb 0x13fe 123 eax = [rbp - 0x14 {var_1c_2}].d 0x1401 124 eax = eax + 1 0x1404 125 [rbp - 0x14 {var_1c_2}].d = eax 0x1407 126 goto 42 @ 0x1366 0x13cc 127 rax = sx.q([rbp - 0x14 {var_1c_2}].d) 0x13d0 128 eax = sx.d([rbp + rax - 0x80].b) 0x13d8 129 if (eax s< 0x30) then 104 @ 0x13f9 else 147 @ 0x13de 0x13ba 130 rax = sx.q([rbp - 0x14 {var_1c_2}].d) 0x13be 131 eax = sx.d([rbp + rax - 0x80].b) 0x13c6 132 if (eax s<= 0x5a) then 74 @ 0x13f0 else 127 @ 0x13cc 0x12a1 133 eax = [rbp - 0x14 {var_1c_1}].d 0x12a4 134 eax = eax + 1 0x12a7 135 [rbp - 0x14 {var_1c_1}].d = eax 0x12aa 136 goto 48 @ 0x1209 0x126f 137 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1273 138 eax = sx.d([rbp + rax - 0x80].b) 0x127b 139 if (eax s< 0x30) then 115 @ 0x129c else 150 @ 0x1281 0x125d 140 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1261 141 eax = sx.d([rbp + rax - 0x80].b) 0x1269 142 if (eax s<= 0x5a) then 89 @ 0x1293 else 137 @ 0x126f 0x12eb 143 eax = [rbp - 0x10 {var_18}].d 0x12ee 144 eax = eax + 1 0x12f1 145 [rbp - 0x10 {var_18}].d = eax 0x12f4 146 goto 10 @ 0x118b 0x13de 147 rax = sx.q([rbp - 0x14 {var_1c_2}].d) 0x13e2 148 eax = sx.d([rbp + rax - 0x80].b) 0x13ea 149 if (eax s> 0x39) then 104 @ 0x13f9 else 74 @ 0x13f0 0x1281 150 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1285 151 eax = sx.d([rbp + rax - 0x80].b) 0x128d 152 if (eax s> 0x39) then 115 @ 0x129c else 89 @ 0x1293 int64_t _fini(): 0x1454 0 rsp = rsp - 8 0x1458 1 rsp = rsp + 8 0x145c 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 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 {"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 rsp = rsp - 0xd8 0x1157 1 rdi = 0x200a {"%s"} 0x115e 2 rsi = rsp {var_d8} 0x1161 3 eax = 0 0x1163 4 call(0x1040) 0x1168 5 eax = sx.d([rsp + 1 {var_d7}].b) 0x116f 6 if (eax == 0) then 7 @ 0x1185 else 12 @ 0x1171 0x1185 7 rdi = 0x2008 {"0\n%s"} 0x118c 8 rsi = rsp {var_d8} 0x118f 9 eax = 0 0x1191 10 call(0x1030) 0x1196 11 goto 14 @ 0x12aa 0x1171 12 ecx = sx.d([rsp {var_d8}].b) 0x1178 13 if (ecx != 0x31) then 17 @ 0x119b else 23 @ 0x117c 0x12aa 14 eax = 0 0x12ac 15 rsp = rsp + 0xd8 0x12b3 16 <return> jump(pop) 0x119b 17 ecx = (rcx + (rcx << 2)).d 0x119e 18 esi = (rax + (rcx << 1)).d 0x11a1 19 esi = esi - 0x1e0 0x11a7 20 edx = (rax + (rcx << 1)).d 0x11aa 21 edx = edx - 0x210 0x11b3 22 if (esi s> 0x3c) then 24 @ 0x1219 else 38 @ 0x11b5 0x117c 23 if (al s> 0x32) then 17 @ 0x119b else 41 @ 0x1183 0x1219 24 rdx = sx.q(edx) 0x121c 25 rax = rdx * 0x4ec4ec4f 0x1223 26 rcx = rax 0x1226 27 rcx = rcx u>> 0x3f 0x122a 28 rax = rax s>> 0x22 0x122e 29 eax = eax + ecx 0x1230 30 ecx = (rax + 0x30).d 0x1233 31 [rsp + 0x70 {var_68}].b = cl 0x1237 32 ecx = (rax + (rax << 1)).d 0x123a 33 eax = (rax + (rcx << 2)).d 0x123d 34 edx = edx - eax 0x123f 35 cl = [rsp + 2 {var_d6}].b 0x1243 36 eax = 1 0x124a 37 if (cl == 0) then 42 @ 0x1292 else 48 @ 0x124c 0x11b5 38 cl = [rsp + 2 {var_d6}].b 0x11b9 39 eax = 0 0x11bd 40 if (cl == 0) then 42 @ 0x1292 else 49 @ 0x11c3 0x1183 41 if ([rsp + 2 {var_d6}].b != 0) then 17 @ 0x119b else 7 @ 0x1185 0x1292 42 [rsp + rax + 0x70].b = 0 0x1297 43 rdi = 0x200d {"%s\n%d"} 0x129e 44 rsi = rsp + 0x70 {var_68} 0x12a3 45 eax = 0 0x12a5 46 call(0x1030) 0x12a5 47 goto 14 @ 0x12aa 0x124c 48 goto 52 @ 0x1250 0x11c3 49 r8 = 0x100000000 {""} 0x11cd 50 esi = 0 0x11cf 51 goto 70 @ 0x11d0 0x1250 52 ecx = sx.d(cl) 0x1253 53 edx = (rdx + (rdx << 2)).d 0x1256 54 ecx = (rcx + (rdx << 1)).d 0x1259 55 ecx = ecx - 0x30 0x125c 56 rdx = sx.q(ecx) 0x125f 57 rcx = rdx * 0x4ec4ec4f 0x1266 58 rsi = rcx 0x1269 59 rsi = rsi u>> 0x3f 0x126d 60 rcx = rcx s>> 0x22 0x1271 61 ecx = ecx + esi 0x1273 62 esi = (rcx + 0x30).d 0x1276 63 [rsp + rax + 0x70].b = sil 0x127b 64 esi = (rcx + (rcx << 1)).d 0x127e 65 ecx = (rcx + (rsi << 2)).d 0x1281 66 edx = edx - ecx 0x1283 67 ecx = zx.d([rsp + rax + 2].b) 0x1288 68 rax = rax + 1 0x128e 69 if (cl != 0) then 52 @ 0x1250 else 89 @ 0x1290 0x11d0 70 rax = rax + r8 0x11d3 71 ecx = sx.d(cl) 0x11d6 72 edx = (rdx + (rdx << 2)).d 0x11d9 73 ecx = (rcx + (rdx << 1)).d 0x11dc 74 ecx = ecx - 0x30 0x11df 75 rdx = sx.q(ecx) 0x11e2 76 rcx = rdx * 0x4ec4ec4f 0x11e9 77 rdi = rcx 0x11ec 78 rdi = rdi u>> 0x3f 0x11f0 79 rcx = rcx s>> 0x22 0x11f4 80 ecx = ecx + edi 0x11f6 81 edi = (rcx + 0x30).d 0x11f9 82 [rsp + rsi + 0x70].b = dil 0x11fe 83 edi = (rcx + (rcx << 1)).d 0x1201 84 ecx = (rcx + (rdi << 2)).d 0x1204 85 edx = edx - ecx 0x1206 86 ecx = zx.d([rsp + rsi + 3].b) 0x120b 87 rsi = rsi + 1 0x1211 88 if (cl != 0) then 70 @ 0x11d0 else 91 @ 0x1213 0x1290 89 eax = eax 0x1290 90 goto 42 @ 0x1292 0x1213 91 rax = rax s>> 0x20 0x1217 92 goto 42 @ 0x1292 int64_t _fini(): 0x12b8 0 rsp = rsp - 8 0x12bc 1 rsp = rsp + 8 0x12c0 2 <return> jump(pop)
POJ_96
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* 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 = 0x1260 {"SH-"} 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) int64_t search(int32_t arg1, void* arg2 @ rbx, void* arg3 @ r14, char* arg4 @ r15): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 push(rax) 0x116a 5 if (edi s< 0) then 6 @ 0x1219 else 9 @ 0x1170 0x1219 6 edi = 0xa {""} 0x121e 7 call(0x1050) 0x122d 8 goto 16 @ 0x1230 0x1170 9 r8 = sx.q(edi) 0x1173 10 rdx = 0x4050 {""} 0x117a 11 r8 = r8 + rdx 0x117d 12 eax = 0 0x117f 13 r14d = 0x64 {""} 0x1185 14 rsi = rdx 0x1188 15 goto 20 @ 0x11c0 0x1230 16 edi = sx.d([rbx].b) 0x1233 17 call(0x1050) 0x1238 18 rbx = rbx + 1 0x123f 19 if (rbx u< r14) then 16 @ 0x1230 else 22 @ 0x1241 0x11c0 20 edi = zx.d([rdx].b) 0x11c7 21 if (dil s< 0x41) then 29 @ 0x1190 else 34 @ 0x11c9 0x1241 22 edi = 0xa {""} 0x1246 23 rsp = rsp + 8 0x124a 24 rbx = pop 0x124b 25 r12 = pop 0x124d 26 r14 = pop 0x124f 27 r15 = pop 0x1251 28 <return> tailcall(0x1050) 0x1190 29 rcx = rdx 0x1193 30 rcx = rcx - rsi 0x1196 31 rax = sx.q(eax) 0x1198 32 cond:0 = rcx s> rax 0x119b 33 if (rcx s> rax) then 36 else 38 @ 0x119f 0x11c9 34 ecx = (rdi - 0x5b).d 0x11cf 35 if (cl u< 6) then 29 @ 0x1190 else 39 @ 0x11d5 0x119b 36 r15 = rsi 0x119b 37 goto 38 @ 0x119f 0x119f 38 if (cond:0) then 40 else 42 @ 0x11a2 0x11d5 39 if (dil u> 0x7a) then 29 @ 0x1190 else 45 @ 0x11da 0x119f 40 eax = ecx 0x119f 41 goto 42 @ 0x11a2 0x11a2 42 r14 = sx.q(r14d) 0x11a5 43 cond:1 = rcx s< r14 0x11a8 44 if (rcx s< r14) then 46 else 48 @ 0x11ac 0x11da 45 if (rdx != r8) then 49 @ 0x11b7 else 51 @ 0x11dc 0x11a8 46 rbx = rsi 0x11a8 47 goto 48 @ 0x11ac 0x11ac 48 if (cond:1) then 52 else 54 @ 0x11b0 0x11b7 49 rdx = rdx + 1 0x11be 50 if (rdx u> r8) then 57 @ 0x11e0 else 20 @ 0x11c0 0x11dc 51 goto 29 @ 0x1190 0x11ac 52 r14d = ecx 0x11ac 53 goto 54 @ 0x11b0 0x11b0 54 rdx = rdx + 1 0x11b4 55 rsi = rdx 0x11b4 56 goto 49 @ 0x11b7 0x11e0 57 if (eax s<= 0) then 58 @ 0x1202 else 61 @ 0x11e2 0x1202 58 edi = 0xa {""} 0x1207 59 call(0x1050) 0x120f 60 if (r14d s<= 0) then 22 @ 0x1241 else 64 @ 0x1211 0x11e2 61 r12 = sx.q(eax) 0x11e5 62 r12 = r12 + r15 0x11e8 63 goto 67 @ 0x11f0 0x1211 64 r14 = sx.q(r14d) 0x1214 65 r14 = r14 + rbx 0x1217 66 goto 16 @ 0x1230 0x11f0 67 edi = sx.d([r15].b) 0x11f4 68 call(0x1050) 0x11f9 69 r15 = r15 + 1 0x1200 70 if (r15 u< r12) then 67 @ 0x11f0 else 58 @ 0x1202 int32_t main(int32_t argc, char** argv, char** envp): 0x1260 0 push(rbx) 0x1261 1 rbx = 0x4050 {""} 0x1268 2 rdi = rbx 0x126b 3 eax = 0 0x126d 4 call(0x1040) 0x1272 5 rdi = rbx 0x1275 6 call(0x1030) 0x127a 7 edi = eax 0x127c 8 call(0x1160) 0x1281 9 eax = 0 0x1283 10 rbx = pop 0x1284 11 <return> jump(pop) int64_t _fini(): 0x128c 0 rsp = rsp - 8 0x1290 1 rsp = rsp + 8 0x1294 2 <return> jump(pop)
POJ_24
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 {"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 - 0x1f58 0x1171 7 rdi = 0x2010 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_1f7c} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 0xc {var_1f7c}].d s<= 0) then 12 @ 0x139b else 21 @ 0x118f 0x139b 12 eax = 0 0x139d 13 rsp = rsp + 0x1f58 0x13a4 14 rbx = pop 0x13a5 15 r12 = pop 0x13a7 16 r13 = pop 0x13a9 17 r14 = pop 0x13ab 18 r15 = pop 0x13ad 19 rbp = pop 0x13ae 20 <return> jump(pop) 0x118f 21 r15 = rsp + 8 {var_1f80} 0x1194 22 r13 = 0x2013 {"%lf"} 0x119b 23 r12 = 0x2017 {"%.5lf\n"} 0x11a2 24 ebp = 0 0x11a4 25 goto 26 @ 0x11cc 0x11cc 26 rdi = 0x2010 {"%d"} 0x11d3 27 rsi = r15 {var_1f80} 0x11d6 28 eax = 0 0x11d8 29 call(0x1040) 0x11dd 30 eax = [rsp + 8 {var_1f80}].d 0x11e3 31 if (eax s<= 0) then 32 @ 0x1230 else 36 @ 0x11e5 0x1230 32 xmm2 = 0 0x1233 33 xmm2.q = float.d(eax) 0x1237 34 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x123b 35 goto 39 @ 0x1380 0x11e5 36 rbx = rsp + 0x10 {var_1f78} 0x11ea 37 r14d = 0 0x11ed 38 goto 47 @ 0x11f0 0x1380 39 xmm0.q = xmm0.q f/ xmm2.q 0x1384 40 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1384 41 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1384 42 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1384 43 flag:s = 0 0x1384 44 flag:o = 0 0x1384 45 flag:a = 0 0x138c 46 if (flag:c) then 55 @ 0x11b0 else 57 @ 0x1392 0x11f0 47 rdi = r13 0x11f3 48 rsi = rbx 0x11f6 49 eax = 0 0x11f8 50 call(0x1040) 0x11fd 51 r14 = r14 + 1 0x1201 52 rax = sx.q([rsp + 8 {var_1f80}].d) 0x1206 53 rbx = rbx + 8 0x120d 54 if (r14 s< rax) then 47 @ 0x11f0 else 59 @ 0x120f 0x11b0 55 call(0x1050) 0x11b0 56 goto 61 @ 0x11b5 0x1392 57 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1396 58 goto 61 @ 0x11b5 0x120f 59 eax = eax 0x1213 60 if (eax s<= 0) then 66 @ 0x1240 else 70 @ 0x1215 0x11b5 61 rdi = r12 0x11b8 62 al = 1 0x11ba 63 call(0x1030) 0x11bf 64 ebp = ebp + 1 0x11c6 65 if (ebp s>= [rsp + 0xc {var_1f7c}].d) then 12 @ 0x139b else 26 @ 0x11cc 0x1240 66 xmm2 = 0 0x1243 67 xmm2.q = float.d(eax) 0x1247 68 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x124b 69 goto 39 @ 0x1380 0x1215 70 rcx = rax - 1 0x1219 71 edx = eax 0x121b 72 edx = edx & 7 0x1222 73 if (rcx u>= 7) then 74 @ 0x1250 else 79 @ 0x1224 0x1250 74 edi = eax 0x1252 75 edi = edi & 0xfffffff8 0x1255 76 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1259 77 esi = 0 0x125b 78 goto 82 @ 0x1260 0x1224 79 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1228 80 esi = 0 0x122a 81 goto 92 @ 0x129c 0x1260 82 xmm1.q = xmm1.q f+ fconvert.t([rsp + (rsi << 3) + 0x10].q) 0x1266 83 xmm1.q = xmm1.q f+ fconvert.t([rsp + (rsi << 3) + 0x18].q) 0x126c 84 xmm1.q = xmm1.q f+ fconvert.t([rsp + (rsi << 3) + 0x20].q) 0x1272 85 xmm1.q = xmm1.q f+ fconvert.t([rsp + (rsi << 3) + 0x28].q) 0x1278 86 xmm1.q = xmm1.q f+ fconvert.t([rsp + (rsi << 3) + 0x30].q) 0x127e 87 xmm1.q = xmm1.q f+ fconvert.t([rsp + (rsi << 3) + 0x38].q) 0x1284 88 xmm1.q = xmm1.q f+ fconvert.t([rsp + (rsi << 3) + 0x40].q) 0x128a 89 xmm1.q = xmm1.q f+ fconvert.t([rsp + (rsi << 3) + 0x48].q) 0x1290 90 rsi = rsi + 8 0x1297 91 if (rdi != rsi) then 82 @ 0x1260 else 92 @ 0x129c 0x129c 92 if (rdx == 0) then 93 @ 0x12be else 96 @ 0x129e 0x12be 93 xmm2 = 0 0x12c1 94 xmm2.q = float.d(eax) 0x12c7 95 if (eax s<= 0) then 100 @ 0x12e0 else 102 @ 0x12c9 0x129e 96 rsi = rsp + (rsi << 3) 0x12a2 97 rsi = rsi + 0x10 0x12a6 98 edi = 0 0x12a8 99 goto 106 @ 0x12b0 0x12e0 100 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x12e4 101 goto 39 @ 0x1380 0x12c9 102 xmm1.q = xmm1.q f/ xmm2.q 0x12cd 103 edx = eax 0x12cf 104 edx = edx & 3 0x12d6 105 if (rcx u>= 3) then 109 @ 0x12e9 else 113 @ 0x12d8 0x12b0 106 xmm1.q = xmm1.q f+ fconvert.t([rsi + (rdi << 3)].q) 0x12b5 107 rdi = rdi + 1 0x12bc 108 if (rdx != rdi) then 106 @ 0x12b0 else 93 @ 0x12be 0x12e9 109 eax = eax & 0xfffffffc 0x12ec 110 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x12f0 111 ecx = 0 0x12fc 112 goto 116 @ 0x1300 0x12d8 113 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x12dc 114 ecx = 0 0x12de 115 goto 134 @ 0x1354 0x1300 116 xmm3 = zx.o([rsp + (rcx << 3) + 0x10].q) 0x1306 117 xmm4 = zx.o([rsp + (rcx << 3) + 0x18].q) 0x130c 118 xmm3.q = xmm3.q f- xmm1.q 0x1310 119 xmm3.q = xmm3.q f* xmm3.q 0x1314 120 xmm3.q = xmm3.q f+ xmm0.q 0x1318 121 xmm4.q = xmm4.q f- xmm1.q 0x131c 122 xmm4.q = xmm4.q f* xmm4.q 0x1320 123 xmm4.q = xmm4.q f+ xmm3.q 0x1324 124 xmm3 = zx.o([rsp + (rcx << 3) + 0x20].q) 0x132a 125 xmm3.q = xmm3.q f- xmm1.q 0x132e 126 xmm3.q = xmm3.q f* xmm3.q 0x1332 127 xmm3.q = xmm3.q f+ xmm4.q 0x1336 128 xmm0 = zx.o([rsp + (rcx << 3) + 0x28].q) 0x133c 129 xmm0.q = xmm0.q f- xmm1.q 0x1340 130 xmm0.q = xmm0.q f* xmm0.q 0x1344 131 xmm0.q = xmm0.q f+ xmm3.q 0x1348 132 rcx = rcx + 4 0x134f 133 if (rax != rcx) then 116 @ 0x1300 else 134 @ 0x1354 0x1354 134 if (rdx == 0) then 39 @ 0x1380 else 135 @ 0x1356 0x1356 135 rax = rsp + (rcx << 3) 0x135a 136 rax = rax + 0x10 0x135e 137 ecx = 0 0x135e 138 goto 139 @ 0x1360 0x1360 139 xmm3 = zx.o([rax + (rcx << 3)].q) 0x1365 140 xmm3.q = xmm3.q f- xmm1.q 0x1369 141 xmm3.q = xmm3.q f* xmm3.q 0x136d 142 xmm0.q = xmm0.q f+ xmm3.q 0x1371 143 rcx = rcx + 1 0x1378 144 if (rdx != rcx) then 139 @ 0x1360 else 145 @ 0x137a 0x137a 145 goto 39 @ 0x1380 int64_t _fini(): 0x13b4 0 rsp = rsp - 8 0x13b8 1 rsp = rsp + 8 0x13bc 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 {"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 [rbp - 0x14 {var_1c}].d = 2 0x1166 5 [rbp - 0x18 {var_20}].d = 0 0x116d 6 [rbp - 0x20 {var_28}].d = 0 0x1174 7 [rbp - 0x24 {var_2c}].d = 1 0x117b 8 [rbp - 0x28 {var_30}].d = 1 0x1182 9 [rbp - 0x2c {var_34}].d = 1 0x1189 10 rdi = 0x2004 {"%d %d"} 0x1190 11 rsi = rbp - 8 {var_10} 0x1194 12 rdx = rbp - 0xc {var_14} 0x1198 13 al = 0 0x119a 14 call(0x1040) 0x119f 15 eax = [rbp - 8 {var_10}].d 0x11a2 16 [rbp - 0x10 {var_18}].d = eax 0x11a2 17 goto 18 @ 0x11a5 0x11a5 18 eax = [rbp - 0x10 {var_18}].d 0x11ab 19 if (eax s> [rbp - 0xc {var_14}].d) then 20 @ 0x12bf else 21 @ 0x11b1 0x12bf 20 if ([rbp - 0x2c {var_34}].d != 1) then 23 @ 0x12d3 else 27 @ 0x12c5 0x11b1 21 eax = [rbp - 0x14 {var_1c}].d 0x11b7 22 if (eax s>= [rbp - 0x10 {var_18}].d) then 31 @ 0x11ed else 32 @ 0x11bd 0x12d3 23 eax = 0 0x12d5 24 rsp = rsp + 0x30 0x12d9 25 rbp = pop 0x12da 26 <return> jump(pop) 0x12c5 27 rdi = 0x200e {"no"} 0x12cc 28 al = 0 0x12ce 29 call(0x1030) 0x12ce 30 goto 23 @ 0x12d3 0x11ed 31 if ([rbp - 0x18 {var_20}].d != 0) then 45 @ 0x1298 else 52 @ 0x11f3 0x11bd 32 eax = [rbp - 0x10 {var_18}].d 0x11c0 33 temp2.d:temp3.d = sx.q(eax) 0x11c0 34 edx = temp2.d 0x11c0 35 eax = temp3.d 0x11c1 36 temp4.d = edx 0x11c1 37 temp5.d = eax 0x11c1 38 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0x14 {var_1c}].d) 0x11c1 39 temp6.d = edx 0x11c1 40 temp7.d = eax 0x11c1 41 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0x14 {var_1c}].d) 0x11c1 42 eax = temp0.d 0x11c1 43 edx = temp1.d 0x11c7 44 if (edx != 0) then 55 @ 0x11d6 else 56 @ 0x11cd 0x1298 45 [rbp - 0x14 {var_1c}].d = 2 0x129f 46 [rbp - 0x18 {var_20}].d = 0 0x12a6 47 [rbp - 0x20 {var_28}].d = 0 0x12ad 48 eax = [rbp - 0x10 {var_18}].d 0x12b0 49 eax = eax + 1 0x12b3 50 [rbp - 0x10 {var_18}].d = eax 0x12b6 51 goto 18 @ 0x11a5 0x11f3 52 eax = [rbp - 0x10 {var_18}].d 0x11f6 53 [rbp - 0x24 {var_2c_1}].d = eax 0x11f6 54 goto 60 @ 0x11fd 0x11d6 55 goto 61 @ 0x11db 0x11cd 56 eax = [rbp - 0x18 {var_20}].d 0x11d0 57 eax = eax + 1 0x11d3 58 [rbp - 0x18 {var_20}].d = eax 0x11d3 59 goto 55 @ 0x11d6 0x11fd 60 if ([rbp - 0x24 {var_2c_1}].d == 0) then 65 @ 0x122e else 67 @ 0x1203 0x11db 61 eax = [rbp - 0x14 {var_1c}].d 0x11de 62 eax = eax + 1 0x11e1 63 [rbp - 0x14 {var_1c}].d = eax 0x11e4 64 goto 21 @ 0x11b1 0x122e 65 eax = [rbp - 0x20 {var_28}].d 0x1234 66 if (eax != [rbp - 0x10 {var_18}].d) then 99 @ 0x125c else 101 @ 0x123e 0x1203 67 eax = [rbp - 0x24 {var_2c_1}].d 0x1206 68 ecx = 0xa {""} 0x120b 69 temp8.d:temp9.d = sx.q(eax) 0x120b 70 edx = temp8.d 0x120b 71 eax = temp9.d 0x120c 72 temp10.d = edx 0x120c 73 temp11.d = eax 0x120c 74 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x120c 75 temp12.d = edx 0x120c 76 temp13.d = eax 0x120c 77 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x120c 78 eax = temp0.d 0x120c 79 edx = temp1.d 0x120e 80 [rbp - 0x1c {var_24_1}].d = edx 0x1211 81 eax = [rbp - 0x20 {var_28}].d * 0xa 0x1215 82 eax = eax + [rbp - 0x1c {var_24_1}].d 0x1218 83 [rbp - 0x20 {var_28}].d = eax 0x121b 84 eax = [rbp - 0x24 {var_2c_1}].d 0x121e 85 ecx = 0xa {""} 0x1223 86 temp14.d:temp15.d = sx.q(eax) 0x1223 87 edx = temp14.d 0x1223 88 eax = temp15.d 0x1224 89 temp16.d = edx 0x1224 90 temp17.d = eax 0x1224 91 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x1224 92 temp18.d = edx 0x1224 93 temp19.d = eax 0x1224 94 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x1224 95 eax = temp0.d 0x1224 96 edx = temp1.d 0x1226 97 [rbp - 0x24 {var_2c_1}].d = eax 0x1229 98 goto 60 @ 0x11fd 0x125c 99 eax = [rbp - 0x20 {var_28}].d 0x1262 100 if (eax != [rbp - 0x10 {var_18}].d) then 102 @ 0x1293 else 103 @ 0x126c 0x123e 101 if ([rbp - 0x28 {var_30}].d == 1) then 99 @ 0x125c else 104 @ 0x1244 0x1293 102 goto 45 @ 0x1298 0x126c 103 if ([rbp - 0x28 {var_30}].d != 1) then 102 @ 0x1293 else 110 @ 0x1272 0x1244 104 esi = [rbp - 0x10 {var_18}].d 0x1247 105 rdi = 0x200a {",%d"} 0x124e 106 al = 0 0x1250 107 call(0x1030) 0x1255 108 [rbp - 0x2c {var_34}].d = 0 0x1255 109 goto 99 @ 0x125c 0x1272 110 esi = [rbp - 0x10 {var_18}].d 0x1275 111 rdi = 0x2007 {"%d"} 0x127c 112 al = 0 0x127e 113 call(0x1030) 0x1283 114 eax = [rbp - 0x28 {var_30}].d 0x1286 115 eax = eax + 1 0x1289 116 [rbp - 0x28 {var_30}].d = eax 0x128c 117 [rbp - 0x2c {var_34}].d = 0 0x128c 118 goto 102 @ 0x1293 int64_t _fini(): 0x12e0 0 rsp = rsp - 8 0x12e4 1 rsp = rsp + 8 0x12e8 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) 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 {"UAWAVSH"} 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 - 0x1a8 0x116d 5 r14 = 0x2005 {"%d"} 0x1174 6 rsi = rsp + 0xc {var_1bc} 0x1179 7 rdi = r14 0x117c 8 eax = 0 0x117e 9 call(0x1040) 0x1183 10 eax = [rsp + 0xc {var_1bc}].d 0x1189 11 if (eax s<= 0) then 12 @ 0x11be else 13 @ 0x118b 0x11be 12 if (eax s<= 0) then 17 @ 0x11eb else 26 @ 0x11c0 0x118b 13 rbx = rsp + 0x10 {var_1b8} 0x1190 14 r15 = 0x2005 {"%d"} 0x1197 15 ebp = 0 0x1199 16 goto 30 @ 0x11a0 0x11eb 17 edi = 0xa {""} 0x11f0 18 call(0x1050) 0x11f5 19 eax = 0 0x11f7 20 rsp = rsp + 0x1a8 0x11fe 21 rbx = pop 0x11ff 22 r14 = pop 0x1201 23 r15 = pop 0x1203 24 rbp = pop 0x1204 25 <return> jump(pop) 0x11c0 26 rbx = sx.q(eax) 0x11c3 27 rbx = rbx + 1 0x11c7 28 rbp = 0x2004 {" %d"} 0x11ce 29 goto 38 @ 0x11d0 0x11a0 30 rdi = r15 0x11a3 31 rsi = rbx 0x11a6 32 eax = 0 0x11a8 33 call(0x1040) 0x11ad 34 ebp = ebp + 1 0x11b0 35 rbx = rbx + 4 0x11b4 36 eax = [rsp + 0xc {var_1bc}].d 0x11ba 37 if (ebp s< eax) then 30 @ 0x11a0 else 12 @ 0x11be 0x11d0 38 esi = [rsp + (rbx << 2) + 8].d 0x11d4 39 rdi = r14 0x11d7 40 eax = 0 0x11d9 41 call(0x1030) 0x11de 42 rbx = rbx - 1 0x11e2 43 r14 = rbp 0x11e9 44 if (rbx s> 1) then 38 @ 0x11d0 else 17 @ 0x11eb int64_t _fini(): 0x120c 0 rsp = rsp - 8 0x1210 1 rsp = rsp + 8 0x1214 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 {"UAWAVATSHP"} 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(r12) 0x1157 4 push(rbx) 0x1158 5 rsp = rsp - 0x1f50 0x115f 6 rdi = 0x2004 {"%d%d"} 0x1166 7 rsi = rsp + 8 {var_1f70} 0x116b 8 rdx = rsp + 0xc {var_1f6c} 0x1170 9 eax = 0 0x1172 10 call(0x1040) 0x117c 11 if ([rsp + 8 {var_1f70}].d s<= 0) then 12 @ 0x136c else 14 @ 0x1182 0x136c 12 rdi = 0x200d {"no"} 0x136c 13 goto 19 @ 0x1373 0x1182 14 r15 = rsp + 0x10 {var_1f68} 0x1187 15 rbx = rsp + 0xfb0 {var_fc8} 0x118f 16 r14 = 0x2006 {"%d"} 0x1196 17 r12d = 0 0x1199 18 goto 28 @ 0x11a0 0x1373 19 eax = 0 0x1375 20 call(0x1030) 0x137a 21 rsp = rsp + 0x1f50 0x1381 22 rbx = pop 0x1382 23 r12 = pop 0x1384 24 r14 = pop 0x1386 25 r15 = pop 0x1388 26 rbp = pop 0x1389 27 <return> jump(pop) 0x11a0 28 rdi = r14 0x11a3 29 rsi = rbx 0x11a6 30 eax = 0 0x11a8 31 call(0x1040) 0x11ad 32 eax = [rbx].d 0x11af 33 [r15].d = eax 0x11b2 34 r12 = r12 + 1 0x11b6 35 rax = sx.q([rsp + 8 {var_1f70}].d) 0x11bb 36 r15 = r15 + 4 0x11bf 37 rbx = rbx + 4 0x11c6 38 if (r12 s< rax) then 28 @ 0x11a0 else 39 @ 0x11c8 0x11c8 39 eax = eax 0x11cc 40 if (eax s<= 0) then 12 @ 0x136c else 41 @ 0x11d2 0x11d2 41 r15d = [rsp + 0xc {var_1f6c}].d 0x11d7 42 xmm0 = r15d 0x11dc 43 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x11e1 44 rdx = rsp + 0x44 {var_1f34} 0x11e6 45 r11 = rax - 9 0x11ea 46 r8d = 0 0x11ed 47 r14d = 1 0x11f3 48 esi = 0 0x11f5 49 goto 50 @ 0x1215 0x1215 50 rdi = r8 0x1218 51 r8 = r8 + 1 0x121f 52 if (r8 u>= rax) then 53 @ 0x1200 else 57 @ 0x1221 0x1200 53 r14 = r14 + 1 0x1204 54 rdx = rdx + 4 0x1208 55 r11 = r11 - 1 0x120f 56 if (r8 == rax) then 62 @ 0x1361 else 50 @ 0x1215 0x1221 57 rcx = rdi 0x1224 58 rcx = not.q(rcx) 0x1227 59 r9 = rcx + rax 0x122b 60 ebx = [rsp + (rdi << 2) + 0xfb0].d 0x1236 61 if (r9 u>= 8) then 63 @ 0x1240 else 72 @ 0x1238 0x1361 62 if (esi s<= 0) then 12 @ 0x136c else 74 @ 0x1363 0x1240 63 rcx = rcx + rax 0x1243 64 rcx = rcx - 8 0x1247 65 r10 = rcx 0x124a 66 r10 = r10 u>> 3 0x124e 67 r10 = r10 + 1 0x1252 68 xmm1 = esi 0x1256 69 xmm2 = ebx 0x125a 70 xmm3 = _mm_shuffle_epi32(xmm2, 0) 0x1263 71 if (rcx u>= 8) then 76 @ 0x126d else 83 @ 0x1265 0x1238 72 rdi = r14 0x123b 73 goto 86 @ 0x1340 0x1363 74 rdi = 0x2009 {"yes"} 0x136a 75 goto 19 @ 0x1373 0x126d 76 rdi = r11 0x1270 77 rdi = rdi u>> 3 0x1274 78 rdi = rdi + 1 0x1278 79 rdi = rdi & 0xfffffffffffffffe 0x127c 80 xmm2 = 0 0x1280 81 esi = 0 0x128c 82 goto 93 @ 0x1290 0x1265 83 xmm2 = 0 0x1269 84 esi = 0 0x126b 85 goto 113 @ 0x12e1 0x1340 86 ecx = [rsp + (rdi << 2) + 0x10].d 0x1344 87 ecx = ecx + ebx 0x1346 88 ebp = 0 0x134b 89 bpl = ecx == r15d 0x134f 90 esi = esi + ebp 0x1351 91 rdi = rdi + 1 0x1358 92 if (rax != rdi) then 86 @ 0x1340 else 116 @ 0x135a 0x1290 93 xmm4 = [rdx + (rsi << 2) - 0x30].o 0x1296 94 xmm5 = [rdx + (rsi << 2) - 0x20].o 0x129c 95 xmm6 = [rdx + (rsi << 2) - 0x10].o 0x12a2 96 xmm7 = [rdx + (rsi << 2)].o 0x12a7 97 xmm4 = _mm_add_epi32(xmm4, xmm3) 0x12ab 98 xmm5 = _mm_add_epi32(xmm5, xmm3) 0x12af 99 xmm4 = _mm_cmpeq_epi32(xmm4, xmm0) 0x12b3 100 xmm1 = _mm_sub_epi32(xmm1, xmm4) 0x12b7 101 xmm5 = _mm_cmpeq_epi32(xmm5, xmm0) 0x12bb 102 xmm2 = _mm_sub_epi32(xmm2, xmm5) 0x12bf 103 xmm6 = _mm_add_epi32(xmm6, xmm3) 0x12c3 104 xmm7 = _mm_add_epi32(xmm7, xmm3) 0x12c7 105 xmm6 = _mm_cmpeq_epi32(xmm6, xmm0) 0x12cb 106 xmm1 = _mm_sub_epi32(xmm1, xmm6) 0x12cf 107 xmm7 = _mm_cmpeq_epi32(xmm7, xmm0) 0x12d3 108 xmm2 = _mm_sub_epi32(xmm2, xmm7) 0x12d7 109 rsi = rsi + 0x10 0x12db 110 temp0.q = rdi 0x12db 111 rdi = rdi - 2 0x12df 112 if (temp0.q != 2) then 93 @ 0x1290 else 113 @ 0x12e1 0x12e1 113 rdi = r9 0x12e4 114 rdi = rdi & 0xfffffffffffffff8 0x12ec 115 if ((r10b & 1) == 0) then 117 @ 0x1315 else 124 @ 0x12ee 0x135a 116 goto 53 @ 0x1200 0x1315 117 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x1319 118 xmm2 = _mm_shuffle_epi32(xmm1, 0xee) 0x131e 119 xmm2 = _mm_add_epi32(xmm2, xmm1) 0x1322 120 xmm1 = _mm_shuffle_epi32(xmm2, 0x55) 0x1327 121 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x132b 122 esi = xmm1.d 0x1332 123 if (r9 == rdi) then 53 @ 0x1200 else 134 @ 0x1338 0x12ee 124 rsi = rsi + r14 0x12f1 125 xmm4 = [rsp + (rsi << 2) + 0x10].o 0x12f7 126 xmm5 = [rsp + (rsi << 2) + 0x20].o 0x12fd 127 xmm4 = _mm_add_epi32(xmm4, xmm3) 0x1301 128 xmm5 = _mm_add_epi32(xmm5, xmm3) 0x1305 129 xmm4 = _mm_cmpeq_epi32(xmm4, xmm0) 0x1309 130 xmm1 = _mm_sub_epi32(xmm1, xmm4) 0x130d 131 xmm5 = _mm_cmpeq_epi32(xmm5, xmm0) 0x1311 132 xmm2 = _mm_sub_epi32(xmm2, xmm5) 0x1311 133 goto 117 @ 0x1315 0x1338 134 rdi = rdi + r14 0x133b 135 goto 86 @ 0x1340 int64_t _fini(): 0x1390 0 rsp = rsp - 8 0x1394 1 rsp = rsp + 8 0x1398 2 <return> jump(pop)
POJ_3
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 - 0x340 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 xmm0 = 0 0x1165 5 [rbp - 0x18 {var_20}].d = xmm0.d 0x116a 6 xmm0 = 0 0x116d 7 [rbp - 0x1c {var_24}].d = xmm0.d 0x1172 8 rdi = 0x2098 {"%d"} 0x1179 9 rsi = rbp - 8 {var_10} 0x117d 10 al = 0 0x117f 11 call(0x1040) 0x1184 12 [rbp - 0xc {var_14}].d = 0 0x1184 13 goto 14 @ 0x118b 0x118b 14 eax = [rbp - 0xc {var_14}].d 0x1191 15 if (eax s>= [rbp - 8 {var_10}].d) then 16 @ 0x11dc else 18 @ 0x1197 0x11dc 16 [rbp - 0x10 {var_18}].d = 0 0x11dc 17 goto 33 @ 0x11e3 0x1197 18 rax = sx.q([rbp - 0xc {var_14}].d) 0x119b 19 rsi = rbp - 0x1b0 {var_1b8} 0x11a2 20 rax = rax << 2 0x11a6 21 rsi = rsi + rax 0x11a9 22 rdi = 0x2098 {"%d"} 0x11b0 23 al = 0 0x11b2 24 call(0x1040) 0x11b7 25 rax = sx.q([rbp - 0xc {var_14}].d) 0x11bb 26 xmm0.d = float.s([rbp + (rax << 2) - 0x1b0].d) 0x11c4 27 xmm0.d = xmm0.d f+ fconvert.t([rbp - 0x1c {var_24}].d) 0x11c9 28 [rbp - 0x1c {var_24}].d = xmm0.d 0x11ce 29 eax = [rbp - 0xc {var_14}].d 0x11d1 30 eax = eax + 1 0x11d4 31 [rbp - 0xc {var_14}].d = eax 0x11d7 32 goto 14 @ 0x118b 0x11e3 33 eax = [rbp - 0x10 {var_18}].d 0x11e9 34 if (eax s>= [rbp - 8 {var_10}].d) then 35 @ 0x158d else 53 @ 0x11ef 0x158d 35 xmm0 = [rbp - 0x18 {var_20}].d 0x1592 36 xmm1.q = fconvert.d(xmm0.d) 0x1596 37 xmm0 = zx.o([0x2008].q) 0x159e 38 xmm0.q = xmm0.q f* xmm1.q 0x15a2 39 xmm1 = [rbp - 0x1c {var_24}].d 0x15a7 40 xmm1.q = fconvert.d(xmm1.d) 0x15ab 41 xmm0.q = xmm0.q f/ xmm1.q 0x15af 42 xmm0.d = fconvert.s(xmm0.q) 0x15b3 43 [rbp - 0x20 {var_28}].d = xmm0.d 0x15b8 44 xmm0 = [rbp - 0x20 {var_28}].d 0x15bd 45 xmm0.q = fconvert.d(xmm0.d) 0x15c1 46 rdi = 0x209e {"%.2f"} 0x15c8 47 al = 1 0x15ca 48 call(0x1030) 0x15cf 49 eax = 0 0x15d1 50 rsp = rsp + 0x340 0x15d8 51 rbp = pop 0x15d9 52 <return> jump(pop) 0x11ef 53 rax = sx.q([rbp - 0x10 {var_18}].d) 0x11f3 54 rsi = rbp - 0x340 {var_348} 0x11fa 55 rax = rax << 2 0x11fe 56 rsi = rsi + rax 0x1201 57 rdi = 0x209b {"%f"} 0x1208 58 al = 0 0x120a 59 call(0x1040) 0x120f 60 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1213 61 xmm0 = [rbp + (rax << 2) - 0x340].d 0x121c 62 xmm1 = [0x2050].d 0x1224 63 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x1224 64 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x1224 65 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x1224 66 flag:s = 0 0x1224 67 flag:o = 0 0x1224 68 flag:a = 0 0x1227 69 if (flag:c) then 70 @ 0x1269 else 80 @ 0x122d 0x1269 70 rax = sx.q([rbp - 0x10 {var_18}].d) 0x126d 71 xmm0 = [rbp + (rax << 2) - 0x340].d 0x1276 72 xmm1 = [0x2058].d 0x127e 73 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x127e 74 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x127e 75 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x127e 76 flag:s = 0 0x127e 77 flag:o = 0 0x127e 78 flag:a = 0 0x1281 79 if (flag:c) then 89 @ 0x12c3 else 99 @ 0x1287 0x122d 80 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1231 81 xmm0 = [0x2054].d 0x1239 82 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1239 83 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1239 84 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1239 85 flag:s = 0 0x1239 86 flag:o = 0 0x1239 87 flag:a = 0 0x1241 88 if (flag:c) then 70 @ 0x1269 else 108 @ 0x1247 0x12c3 89 rax = sx.q([rbp - 0x10 {var_18}].d) 0x12c7 90 xmm0 = [rbp + (rax << 2) - 0x340].d 0x12d0 91 xmm1 = [0x2060].d 0x12d8 92 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x12d8 93 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x12d8 94 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x12d8 95 flag:s = 0 0x12d8 96 flag:o = 0 0x12d8 97 flag:a = 0 0x12db 98 if (flag:c) then 115 @ 0x131d else 125 @ 0x12e1 0x1287 99 rax = sx.q([rbp - 0x10 {var_18}].d) 0x128b 100 xmm0 = [0x205c].d 0x1293 101 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1293 102 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1293 103 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1293 104 flag:s = 0 0x1293 105 flag:o = 0 0x1293 106 flag:a = 0 0x129b 107 if (flag:c) then 89 @ 0x12c3 else 134 @ 0x12a1 0x1247 108 rax = sx.q([rbp - 0x10 {var_18}].d) 0x124b 109 xmm1.q = float.d([rbp + (rax << 2) - 0x1b0].d) 0x1254 110 xmm0 = zx.o([0x2010].q) 0x125c 111 xmm0.q = xmm0.q f* xmm1.q 0x1260 112 xmm0.d = fconvert.s(xmm0.q) 0x1264 113 [rbp - 0x14 {var_1c}].d = xmm0.d 0x1264 114 goto 70 @ 0x1269 0x131d 115 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1321 116 xmm0 = [rbp + (rax << 2) - 0x340].d 0x132a 117 xmm1 = [0x2068].d 0x1332 118 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x1332 119 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x1332 120 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x1332 121 flag:s = 0 0x1332 122 flag:o = 0 0x1332 123 flag:a = 0 0x1335 124 if (flag:c) then 141 @ 0x1377 else 151 @ 0x133b 0x12e1 125 rax = sx.q([rbp - 0x10 {var_18}].d) 0x12e5 126 xmm0 = [0x2064].d 0x12ed 127 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x12ed 128 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x12ed 129 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x12ed 130 flag:s = 0 0x12ed 131 flag:o = 0 0x12ed 132 flag:a = 0 0x12f5 133 if (flag:c) then 115 @ 0x131d else 160 @ 0x12fb 0x12a1 134 rax = sx.q([rbp - 0x10 {var_18}].d) 0x12a5 135 xmm1.q = float.d([rbp + (rax << 2) - 0x1b0].d) 0x12ae 136 xmm0 = zx.o([0x2018].q) 0x12b6 137 xmm0.q = xmm0.q f* xmm1.q 0x12ba 138 xmm0.d = fconvert.s(xmm0.q) 0x12be 139 [rbp - 0x14 {var_1c}].d = xmm0.d 0x12be 140 goto 89 @ 0x12c3 0x1377 141 rax = sx.q([rbp - 0x10 {var_18}].d) 0x137b 142 xmm0 = [rbp + (rax << 2) - 0x340].d 0x1384 143 xmm1 = [0x2070].d 0x138c 144 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x138c 145 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x138c 146 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x138c 147 flag:s = 0 0x138c 148 flag:o = 0 0x138c 149 flag:a = 0 0x138f 150 if (flag:c) then 167 @ 0x13d1 else 177 @ 0x1395 0x133b 151 rax = sx.q([rbp - 0x10 {var_18}].d) 0x133f 152 xmm0 = [0x206c].d 0x1347 153 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1347 154 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1347 155 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1347 156 flag:s = 0 0x1347 157 flag:o = 0 0x1347 158 flag:a = 0 0x134f 159 if (flag:c) then 141 @ 0x1377 else 186 @ 0x1355 0x12fb 160 rax = sx.q([rbp - 0x10 {var_18}].d) 0x12ff 161 xmm1.q = float.d([rbp + (rax << 2) - 0x1b0].d) 0x1308 162 xmm0 = zx.o([0x2020].q) 0x1310 163 xmm0.q = xmm0.q f* xmm1.q 0x1314 164 xmm0.d = fconvert.s(xmm0.q) 0x1318 165 [rbp - 0x14 {var_1c}].d = xmm0.d 0x1318 166 goto 115 @ 0x131d 0x13d1 167 rax = sx.q([rbp - 0x10 {var_18}].d) 0x13d5 168 xmm0 = [rbp + (rax << 2) - 0x340].d 0x13de 169 xmm1 = [0x2078].d 0x13e6 170 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x13e6 171 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x13e6 172 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x13e6 173 flag:s = 0 0x13e6 174 flag:o = 0 0x13e6 175 flag:a = 0 0x13e9 176 if (flag:c) then 193 @ 0x142b else 203 @ 0x13ef 0x1395 177 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1399 178 xmm0 = [0x2074].d 0x13a1 179 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x13a1 180 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x13a1 181 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x13a1 182 flag:s = 0 0x13a1 183 flag:o = 0 0x13a1 184 flag:a = 0 0x13a9 185 if (flag:c) then 167 @ 0x13d1 else 212 @ 0x13af 0x1355 186 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1359 187 xmm1.q = float.d([rbp + (rax << 2) - 0x1b0].d) 0x1362 188 xmm0 = zx.o([0x2028].q) 0x136a 189 xmm0.q = xmm0.q f* xmm1.q 0x136e 190 xmm0.d = fconvert.s(xmm0.q) 0x1372 191 [rbp - 0x14 {var_1c}].d = xmm0.d 0x1372 192 goto 141 @ 0x1377 0x142b 193 rax = sx.q([rbp - 0x10 {var_18}].d) 0x142f 194 xmm0 = [rbp + (rax << 2) - 0x340].d 0x1438 195 xmm1 = [0x2080].d 0x1440 196 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x1440 197 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x1440 198 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x1440 199 flag:s = 0 0x1440 200 flag:o = 0 0x1440 201 flag:a = 0 0x1443 202 if (flag:c) then 219 @ 0x1485 else 229 @ 0x1449 0x13ef 203 rax = sx.q([rbp - 0x10 {var_18}].d) 0x13f3 204 xmm0 = [0x207c].d 0x13fb 205 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x13fb 206 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x13fb 207 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x13fb 208 flag:s = 0 0x13fb 209 flag:o = 0 0x13fb 210 flag:a = 0 0x1403 211 if (flag:c) then 193 @ 0x142b else 238 @ 0x1409 0x13af 212 rax = sx.q([rbp - 0x10 {var_18}].d) 0x13b3 213 xmm1.q = float.d([rbp + (rax << 2) - 0x1b0].d) 0x13bc 214 xmm0 = zx.o([0x2030].q) 0x13c4 215 xmm0.q = xmm0.q f* xmm1.q 0x13c8 216 xmm0.d = fconvert.s(xmm0.q) 0x13cc 217 [rbp - 0x14 {var_1c}].d = xmm0.d 0x13cc 218 goto 167 @ 0x13d1 0x1485 219 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1489 220 xmm0 = [rbp + (rax << 2) - 0x340].d 0x1492 221 xmm1 = [0x2088].d 0x149a 222 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x149a 223 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x149a 224 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x149a 225 flag:s = 0 0x149a 226 flag:o = 0 0x149a 227 flag:a = 0 0x149d 228 if (flag:c) then 245 @ 0x14df else 255 @ 0x14a3 0x1449 229 rax = sx.q([rbp - 0x10 {var_18}].d) 0x144d 230 xmm0 = [0x2084].d 0x1455 231 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1455 232 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1455 233 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1455 234 flag:s = 0 0x1455 235 flag:o = 0 0x1455 236 flag:a = 0 0x145d 237 if (flag:c) then 219 @ 0x1485 else 264 @ 0x1463 0x1409 238 rax = sx.q([rbp - 0x10 {var_18}].d) 0x140d 239 xmm1.q = float.d([rbp + (rax << 2) - 0x1b0].d) 0x1416 240 xmm0 = zx.o([0x2038].q) 0x141e 241 xmm0.q = xmm0.q f* xmm1.q 0x1422 242 xmm0.d = fconvert.s(xmm0.q) 0x1426 243 [rbp - 0x14 {var_1c}].d = xmm0.d 0x1426 244 goto 193 @ 0x142b 0x14df 245 rax = sx.q([rbp - 0x10 {var_18}].d) 0x14e3 246 xmm0 = [rbp + (rax << 2) - 0x340].d 0x14ec 247 xmm1 = [0x2090].d 0x14f4 248 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x14f4 249 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x14f4 250 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x14f4 251 flag:s = 0 0x14f4 252 flag:o = 0 0x14f4 253 flag:a = 0 0x14f7 254 if (flag:c) then 271 @ 0x1539 else 280 @ 0x14fd 0x14a3 255 rax = sx.q([rbp - 0x10 {var_18}].d) 0x14a7 256 xmm0 = [0x208c].d 0x14af 257 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x14af 258 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x14af 259 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x14af 260 flag:s = 0 0x14af 261 flag:o = 0 0x14af 262 flag:a = 0 0x14b7 263 if (flag:c) then 245 @ 0x14df else 289 @ 0x14bd 0x1463 264 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1467 265 xmm1.q = float.d([rbp + (rax << 2) - 0x1b0].d) 0x1470 266 xmm0 = zx.o([0x2040].q) 0x1478 267 xmm0.q = xmm0.q f* xmm1.q 0x147c 268 xmm0.d = fconvert.s(xmm0.q) 0x1480 269 [rbp - 0x14 {var_1c}].d = xmm0.d 0x1480 270 goto 219 @ 0x1485 0x1539 271 rax = sx.q([rbp - 0x10 {var_18}].d) 0x153d 272 xmm0 = [0x2090].d 0x1545 273 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1545 274 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1545 275 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1545 276 flag:s = 0 0x1545 277 flag:o = 0 0x1545 278 flag:a = 0 0x154d 279 if (flag:z || flag:c) then 296 @ 0x1570 else 303 @ 0x1553 0x14fd 280 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1501 281 xmm0 = [0x2094].d 0x1509 282 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1509 283 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1509 284 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0x340].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0x340].d)) 0x1509 285 flag:s = 0 0x1509 286 flag:o = 0 0x1509 287 flag:a = 0 0x1511 288 if (flag:c) then 271 @ 0x1539 else 310 @ 0x1517 0x14bd 289 rax = sx.q([rbp - 0x10 {var_18}].d) 0x14c1 290 xmm1.q = float.d([rbp + (rax << 2) - 0x1b0].d) 0x14ca 291 xmm0 = zx.o([0x2048].q) 0x14d2 292 xmm0.q = xmm0.q f* xmm1.q 0x14d6 293 xmm0.d = fconvert.s(xmm0.q) 0x14da 294 [rbp - 0x14 {var_1c}].d = xmm0.d 0x14da 295 goto 245 @ 0x14df 0x1570 296 xmm0 = [rbp - 0x18 {var_20}].d 0x1575 297 xmm0.d = xmm0.d f+ fconvert.t([rbp - 0x14 {var_1c}].d) 0x157a 298 [rbp - 0x18 {var_20}].d = xmm0.d 0x157f 299 eax = [rbp - 0x10 {var_18}].d 0x1582 300 eax = eax + 1 0x1585 301 [rbp - 0x10 {var_18}].d = eax 0x1588 302 goto 33 @ 0x11e3 0x1553 303 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1557 304 xmm1.q = float.d([rbp + (rax << 2) - 0x1b0].d) 0x1560 305 xmm0 = 0 0x1563 306 xmm0.q = xmm0.q f* xmm1.q 0x1567 307 xmm0.d = fconvert.s(xmm0.q) 0x156b 308 [rbp - 0x14 {var_1c}].d = xmm0.d 0x156b 309 goto 296 @ 0x1570 0x1517 310 rax = sx.q([rbp - 0x10 {var_18}].d) 0x151b 311 xmm1.q = float.d([rbp + (rax << 2) - 0x1b0].d) 0x1524 312 xmm0 = zx.o([0x2008].q) 0x152c 313 xmm0.q = xmm0.q f* xmm1.q 0x1530 314 xmm0.d = fconvert.s(xmm0.q) 0x1534 315 [rbp - 0x14 {var_1c}].d = xmm0.d 0x1534 316 goto 271 @ 0x1539 int64_t _fini(): 0x15e0 0 rsp = rsp - 8 0x15e4 1 rsp = rsp + 8 0x15e8 2 <return> jump(pop)
POJ_83
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) 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 = 0x1340 {"AWAVAUATSHP"} 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 spread(int32_t* arg1, int32_t arg2, int32_t arg3): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(rbx) 0x1176 4 rsp = rsp - 0x648 0x117d 5 ebx = edx 0x117f 6 r15d = esi 0x1182 7 r14 = rdi 0x1185 8 rdi = rsp {var_668} 0x1188 9 edx = 0x640 {"ibGLU.so.1"} 0x118d 10 esi = 0 0x118f 11 call(0x1050) 0x1198 12 if (r15d != 1) then 13 @ 0x11b9 else 14 @ 0x119d 0x11b9 13 if (r15d != 1) then 15 @ 0x11e0 else 16 @ 0x11bd 0x119d 14 if (ebx != 1) then 13 @ 0x11b9 else 17 @ 0x119f 0x11e0 15 if (ebx != 1) then 22 @ 0x121a else 25 @ 0x11e5 0x11bd 16 if (ebx s<= 0) then 26 @ 0x120b else 28 @ 0x11bf 0x119f 17 esi = [r14].d 0x11a2 18 rdi = 0x2004 {"%d\n"} 0x11a9 19 eax = 0 0x11ab 20 call(0x1030) 0x11b0 21 goto 34 @ 0x1326 0x121a 22 ebp = (rbx - 1).d 0x121d 23 eax = 0 0x1222 24 if (ebx s< 2) then 40 @ 0x1237 else 42 @ 0x1224 0x11e5 25 if (r15d s<= 0) then 26 @ 0x120b else 49 @ 0x11e7 0x120b 26 ebx = 0 0x120f 27 if (ebx s> 0) then 52 @ 0x1302 else 56 @ 0x1215 0x11bf 28 edx = ebx 0x11c1 29 rdx = rdx << 2 0x11c5 30 rdi = rsp {var_668} 0x11c8 31 rsi = r14 0x11cb 32 call(0x1040) 0x11d2 33 if (ebx s> 0) then 52 @ 0x1302 else 57 @ 0x11d8 0x1326 34 rsp = rsp + 0x648 0x132d 35 rbx = pop 0x132e 36 r14 = pop 0x1330 37 r15 = pop 0x1332 38 rbp = pop 0x1333 39 <return> jump(pop) 0x1237 40 r8d = (r15 - 1).d 0x123f 41 if (r15d s< 2) then 58 @ 0x127b else 59 @ 0x1241 0x1224 42 edx = ebp 0x1226 43 rdx = rdx << 2 0x122a 44 rdi = rsp {var_668} 0x122d 45 rsi = r14 0x1230 46 call(0x1040) 0x1235 47 eax = ebp 0x1235 48 goto 40 @ 0x1237 0x11e7 49 eax = r15d 0x11ea 50 ebx = 0 0x11ec 51 goto 66 @ 0x11f0 0x1302 52 ebp = ebx 0x1304 53 r14 = 0x2004 {"%d\n"} 0x130b 54 ebx = 0 0x130d 55 goto 71 @ 0x1310 0x1215 56 goto 34 @ 0x1326 0x11d8 57 goto 34 @ 0x1326 0x127b 58 if (ebx s< 2) then 77 @ 0x12b9 else 78 @ 0x127d 0x1241 59 rsi = sx.q(ebp) 0x1244 60 ebp = eax 0x1246 61 edx = r8d 0x1249 62 rdi = r14 + (rsi << 2) 0x124d 63 rbp = rsp + (rbp << 2) 0x1251 64 esi = 0 0x125d 65 goto 85 @ 0x1260 0x11f0 66 ecx = [r14].d 0x11f3 67 [rsp + (rbx << 2)].d = ecx 0x11f6 68 rbx = rbx + 1 0x11fa 69 r14 = r14 + 0x190 0x1204 70 if (rax != rbx) then 66 @ 0x11f0 else 90 @ 0x1206 0x1310 71 esi = [rsp + (rbx << 2)].d 0x1313 72 rdi = r14 0x1316 73 eax = 0 0x1318 74 call(0x1030) 0x131d 75 rbx = rbx + 1 0x1324 76 if (rbp != rbx) then 71 @ 0x1310 else 34 @ 0x1326 0x12b9 77 if (r15d s< 2) then 91 @ 0x12fc else 93 @ 0x12bb 0x127d 78 rdx = sx.q(r8d) 0x1280 79 eax = eax 0x1282 80 rcx = sx.q(ebx) 0x1285 81 rcx = rcx + 1 0x1289 82 rdx = rdx * 0x190 0x1290 83 rdx = rdx + r14 0x129d 84 goto 100 @ 0x12a0 0x1260 85 ecx = [rdi].d 0x1262 86 [rbp + (rsi << 2)].d = ecx 0x1266 87 rsi = rsi + 1 0x126a 88 rdi = rdi + 0x190 0x1274 89 if (rdx != rsi) then 85 @ 0x1260 else 105 @ 0x1276 0x1206 90 goto 107 @ 0x1300 0x12fc 91 ebx = eax 0x12fc 92 goto 107 @ 0x1300 0x12bb 93 ebx = eax 0x12bd 94 rax = sx.q(r15d) 0x12c0 95 rcx = rax * 0x190 0x12c7 96 rax = rax + 1 0x12cb 97 rcx = rcx + r14 0x12ce 98 rcx = rcx - 0x190 0x12df 99 goto 108 @ 0x12e0 0x12a0 100 esi = [rdx + (rcx << 2) - 8].d 0x12a4 101 [rsp + (rax << 2)].d = esi 0x12a7 102 rax = rax + 1 0x12ab 103 rcx = rcx - 1 0x12b3 104 if (rcx s> 2) then 100 @ 0x12a0 else 77 @ 0x12b9 0x1276 105 eax = eax + esi 0x1276 106 goto 58 @ 0x127b 0x1300 107 if (ebx s<= 0) then 34 @ 0x1326 else 52 @ 0x1302 0x12e0 108 edx = [rcx].d 0x12e2 109 [rsp + (rbx << 2)].d = edx 0x12e5 110 rbx = rbx + 1 0x12e9 111 rax = rax - 1 0x12ed 112 rcx = rcx - 0x190 0x12f8 113 if (rax s> 2) then 108 @ 0x12e0 else 114 @ 0x12fa 0x12fa 114 goto 107 @ 0x1300 int32_t main(int32_t argc, char** argv, char** envp): 0x1340 0 push(r15) 0x1342 1 push(r14) 0x1344 2 push(r13) 0x1346 3 push(r12) 0x1348 4 push(rbx) 0x1349 5 rsp = rsp - 0x9c50 0x1350 6 rdi = 0x2008 {"%d%d"} 0x1357 7 rsi = rsp + 0xc {var_9c6c} 0x135c 8 rdx = rsp + 8 {var_9c70} 0x1361 9 eax = 0 0x1363 10 call(0x1060) 0x136d 11 if ([rsp + 0xc {var_9c6c}].d s<= 0) then 12 @ 0x13d1 else 14 @ 0x136f 0x13d1 12 esi = [rsp + 0xc {var_9c6c}].d 0x13d7 13 if (esi s<= 0) then 18 @ 0x1480 else 25 @ 0x13dd 0x136f 14 r15 = rsp + 0x10 {var_9c68} 0x1374 15 r14 = 0x200a {"%d"} 0x137b 16 r12d = 0 0x137e 17 goto 27 @ 0x139a 0x1480 18 rsp = rsp + 0x9c50 0x1487 19 rbx = pop 0x1488 20 r12 = pop 0x148a 21 r13 = pop 0x148c 22 r14 = pop 0x148e 23 r15 = pop 0x1490 24 <return> jump(pop) 0x13dd 25 edx = [rsp + 8 {var_9c70}].d 0x13e3 26 if (edx s<= 0) then 18 @ 0x1480 else 28 @ 0x13e9 0x139a 27 if ([rsp + 8 {var_9c70}].d s<= 0) then 31 @ 0x1380 else 35 @ 0x139c 0x13e9 28 r14 = rsp + 0x1a4 {var_9ad4} 0x13f1 29 r15 = rsp + 0x10 {var_9c68} 0x13f6 30 goto 38 @ 0x1400 0x1380 31 r12 = r12 + 1 0x1384 32 rax = sx.q([rsp + 0xc {var_9c6c}].d) 0x1389 33 r15 = r15 + 0x190 0x1393 34 if (r12 s>= rax) then 12 @ 0x13d1 else 27 @ 0x139a 0x139c 35 r13 = r15 0x139f 36 ebx = 0 0x13ab 37 goto 47 @ 0x13b0 0x1400 38 rdi = r15 {var_9c68} 0x1403 39 call(0x1170) 0x1408 40 esi = [rsp + 0xc {var_9c6c}].d 0x140c 41 ecx = (rsi - 2).d 0x140f 42 [rsp + 0xc {var_9c6c}].d = ecx 0x1413 43 r8d = [rsp + 8 {var_9c70}].d 0x1418 44 edx = (r8 - 2).d 0x141c 45 [rsp + 8 {var_9c70}].d = edx 0x1423 46 if (esi s< 3) then 55 @ 0x1470 else 57 @ 0x1425 0x13b0 47 rdi = r14 0x13b3 48 rsi = r13 0x13b6 49 eax = 0 0x13b8 50 call(0x1060) 0x13bd 51 rbx = rbx + 1 0x13c1 52 rax = sx.q([rsp + 8 {var_9c70}].d) 0x13c6 53 r13 = r13 + 4 0x13cd 54 if (rbx s< rax) then 47 @ 0x13b0 else 62 @ 0x13cf 0x1470 55 esi = [rsp + 0xc {var_9c6c}].d 0x1476 56 if (esi s<= 0) then 18 @ 0x1480 else 63 @ 0x1478 0x1425 57 ecx = ecx 0x1427 58 edx = edx 0x1429 59 rsi = r14 {var_9ad4} 0x142c 60 edi = 0 0x142e 61 goto 65 @ 0x1444 0x13cf 62 goto 31 @ 0x1380 0x1478 63 edx = [rsp + 8 {var_9c70}].d 0x147e 64 if (edx s> 0) then 38 @ 0x1400 else 18 @ 0x1480 0x1444 65 if (r8d s< 3) then 66 @ 0x1430 else 69 @ 0x1446 0x1430 66 rdi = rdi + 1 0x1434 67 rsi = rsi + 0x190 0x143e 68 if (rdi == rcx) then 55 @ 0x1470 else 65 @ 0x1444 0x1446 69 ebx = 0 0x1448 70 goto 71 @ 0x1450 0x1450 71 eax = [rsi + (rbx << 2)].d 0x1453 72 [rsi + (rbx << 2) - 0x194].d = eax 0x145a 73 rax = rbx + 1 0x145e 74 rbx = rax 0x1464 75 if (rdx != rax) then 71 @ 0x1450 else 76 @ 0x1466 0x1466 76 goto 66 @ 0x1430 int64_t _fini(): 0x1498 0 rsp = rsp - 8 0x149c 1 rsp = rsp + 8 0x14a0 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) 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 = 0x11c0 {"AWAVAUATSHH=2"} 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) uint64_t cal(int32_t arg1, int32_t arg2): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(rbx) 0x1166 4 push(rax) 0x1167 5 eax = 0 0x116b 6 if (edi s< 0) then 7 @ 0x11b4 else 13 @ 0x116d 0x11b4 7 rsp = rsp + 8 0x11b8 8 rbx = pop 0x11b9 9 r14 = pop 0x11bb 10 r15 = pop 0x11bd 11 rbp = pop 0x11be 12 <return> jump(pop) 0x116d 13 ebx = esi 0x1171 14 if (esi == 0) then 7 @ 0x11b4 else 15 @ 0x1173 0x1173 15 r14d = edi 0x1176 16 eax = 1 0x117d 17 if (edi == 0) then 7 @ 0x11b4 else 18 @ 0x1182 0x1182 18 if (ebx == 1) then 7 @ 0x11b4 else 19 @ 0x1184 0x1184 19 ebp = r14d 0x1187 20 ebp = ebp - ebx 0x1189 21 eax = 0 0x118b 22 goto 23 @ 0x1190 0x1190 23 r15d = eax 0x1193 24 edi = ebp 0x1195 25 esi = ebx 0x1197 26 call(0x1160) 0x119c 27 eax = eax + r15d 0x11a2 28 if (r14d == 0) then 29 @ 0x11b1 else 31 @ 0x11a4 0x11b1 29 eax = eax + 1 0x11b1 30 goto 7 @ 0x11b4 0x11a4 31 ecx = (rbx - 1).d 0x11a7 32 ebp = ebp + 1 0x11aa 33 cond:0 = ebx != 2 0x11ad 34 ebx = ecx 0x11af 35 if (cond:0) then 23 @ 0x1190 else 29 @ 0x11b1 int32_t main(int32_t argc, char** argv, char** envp): 0x11c0 0 push(r15) 0x11c2 1 push(r14) 0x11c4 2 push(r13) 0x11c6 3 push(r12) 0x11c8 4 push(rbx) 0x11c9 5 rsp = rsp - 0x10 0x11cd 6 rdi = 0x2006 {"%d"} 0x11d4 7 rsi = rsp + 4 {var_34} 0x11d9 8 eax = 0 0x11db 9 call(0x1040) 0x11e5 10 if ([rsp + 4 {var_34}].d s<= 0) then 11 @ 0x125a else 19 @ 0x11e7 0x125a 11 eax = 0 0x125c 12 rsp = rsp + 0x10 0x1260 13 rbx = pop 0x1261 14 r12 = pop 0x1263 15 r13 = pop 0x1265 16 r14 = pop 0x1267 17 r15 = pop 0x1269 18 <return> jump(pop) 0x11e7 19 ebx = 1 0x11ec 20 r14 = 0x2004 {"%d%d"} 0x11f3 21 r15 = rsp + 8 {var_30} 0x11f8 22 r12 = rsp + 0xc {var_2c} 0x11fd 23 r13 = 0x2006 {"%d"} 0x1204 24 goto 25 @ 0x1219 0x1219 25 rdi = r14 0x121c 26 rsi = r15 {var_30} 0x121f 27 rdx = r12 {var_2c} 0x1222 28 eax = 0 0x1224 29 call(0x1040) 0x1229 30 edi = [rsp + 8 {var_30}].d 0x122d 31 esi = [rsp + 0xc {var_2c}].d 0x1231 32 call(0x1160) 0x1236 33 rdi = r13 0x1239 34 esi = eax 0x123b 35 eax = 0 0x123d 36 call(0x1030) 0x1242 37 eax = ebx 0x1248 38 if (ebx == [rsp + 4 {var_34}].d) then 39 @ 0x1210 else 43 @ 0x124a 0x1210 39 ecx = (rbx + 1).d 0x1213 40 cond:0 = ebx s>= eax 0x1215 41 ebx = ecx 0x1217 42 if (cond:0) then 11 @ 0x125a else 25 @ 0x1219 0x124a 43 edi = 0xa {""} 0x124f 44 call(0x1050) 0x1254 45 eax = [rsp + 4 {var_34}].d 0x1258 46 goto 39 @ 0x1210 int64_t _fini(): 0x1270 0 rsp = rsp - 8 0x1274 1 rsp = rsp + 8 0x1278 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 getchar(): 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 E"} 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 - 0x20 0x1168 3 [rbp - 4 {var_c}].d = 0 0x116f 4 rdi = 0x2034 {"%d %d %d"} 0x1176 5 eax = 0 0x1178 6 rsi = rbp - 8 {var_10} 0x117c 7 rdx = rbp - 0xc {var_14} 0x1180 8 rcx = rbp - 0x10 {var_18} 0x1184 9 call(0x1050) 0x1189 10 eax = [rbp - 0xc {var_14}].d 0x118c 11 eax = eax - 1 0x118f 12 ecx = eax 0x1191 13 [rbp - 0x20 {var_28}].q = rcx 0x1195 14 temp2.d = eax 0x1195 15 eax = eax - 0xb 0x1198 16 if (temp2.d u> 0xb) then 17 @ 0x1260 else 31 @ 0x119e 0x1260 17 eax = [rbp - 8 {var_10}].d 0x1263 18 ecx = 0x64 {""} 0x1268 19 temp3.d:temp4.d = sx.q(eax) 0x1268 20 edx = temp3.d 0x1268 21 eax = temp4.d 0x1269 22 temp5.d = edx 0x1269 23 temp6.d = eax 0x1269 24 temp0.d = divs.dp.d(temp5.d:temp6.d, ecx) 0x1269 25 temp7.d = edx 0x1269 26 temp8.d = eax 0x1269 27 temp1.d = mods.dp.d(temp7.d:temp8.d, ecx) 0x1269 28 eax = temp0.d 0x1269 29 edx = temp1.d 0x126e 30 if (edx != 0) then 36 @ 0x1288 else 50 @ 0x1274 0x119e 31 rax = [rbp - 0x20 {var_28}].q 0x11a2 32 rcx = 0x2004 {"!1AQ%d %d %d"} 0x11a9 33 rax = sx.q([rcx + (rax << 2)].d) 0x11ad 34 rax = rax + rcx 0x11b0 35 jump(rax => 64 @ 0x11b2, 67 @ 0x11bd, 71 @ 0x11cb, 75 @ 0x11d9, 79 @ 0x11e7, 83 @ 0x11f5, 87 @ 0x1205, 91 @ 0x1215, 95 @ 0x1225, 99 @ 0x1235, 103 @ 0x1245, 107 @ 0x1255) 0x1288 36 eax = [rbp - 8 {var_10}].d 0x128b 37 ecx = 0x190 {""} 0x1290 38 temp9.d:temp10.d = sx.q(eax) 0x1290 39 edx = temp9.d 0x1290 40 eax = temp10.d 0x1291 41 temp11.d = edx 0x1291 42 temp12.d = eax 0x1291 43 temp0.d = divs.dp.d(temp11.d:temp12.d, ecx) 0x1291 44 temp13.d = edx 0x1291 45 temp14.d = eax 0x1291 46 temp1.d = mods.dp.d(temp13.d:temp14.d, ecx) 0x1291 47 eax = temp0.d 0x1291 48 edx = temp1.d 0x1296 49 if (edx != 0) then 111 @ 0x12af else 123 @ 0x12a0 0x1274 50 eax = [rbp - 8 {var_10}].d 0x1277 51 ecx = 0x190 {""} 0x127c 52 temp15.d:temp16.d = sx.q(eax) 0x127c 53 edx = temp15.d 0x127c 54 eax = temp16.d 0x127d 55 temp17.d = edx 0x127d 56 temp18.d = eax 0x127d 57 temp0.d = divs.dp.d(temp17.d:temp18.d, ecx) 0x127d 58 temp19.d = edx 0x127d 59 temp20.d = eax 0x127d 60 temp1.d = mods.dp.d(temp19.d:temp20.d, ecx) 0x127d 61 eax = temp0.d 0x127d 62 edx = temp1.d 0x1282 63 if (edx == 0) then 123 @ 0x12a0 else 36 @ 0x1288 0x11b2 64 eax = [rbp - 0x10 {var_18}].d 0x11b5 65 [rbp - 0x14 {var_1c}].d = eax 0x11b8 66 goto 17 @ 0x1260 0x11bd 67 eax = [rbp - 0x10 {var_18}].d 0x11c0 68 eax = eax + 0x1f 0x11c3 69 [rbp - 0x14 {var_1c}].d = eax 0x11c6 70 goto 17 @ 0x1260 0x11cb 71 eax = [rbp - 0x10 {var_18}].d 0x11ce 72 eax = eax + 0x3b 0x11d1 73 [rbp - 0x14 {var_1c}].d = eax 0x11d4 74 goto 17 @ 0x1260 0x11d9 75 eax = [rbp - 0x10 {var_18}].d 0x11dc 76 eax = eax + 0x5a 0x11df 77 [rbp - 0x14 {var_1c}].d = eax 0x11e2 78 goto 17 @ 0x1260 0x11e7 79 eax = [rbp - 0x10 {var_18}].d 0x11ea 80 eax = eax + 0x78 0x11ed 81 [rbp - 0x14 {var_1c}].d = eax 0x11f0 82 goto 17 @ 0x1260 0x11f5 83 eax = [rbp - 0x10 {var_18}].d 0x11f8 84 eax = eax + 0x97 0x11fd 85 [rbp - 0x14 {var_1c}].d = eax 0x1200 86 goto 17 @ 0x1260 0x1205 87 eax = [rbp - 0x10 {var_18}].d 0x1208 88 eax = eax + 0xb5 0x120d 89 [rbp - 0x14 {var_1c}].d = eax 0x1210 90 goto 17 @ 0x1260 0x1215 91 eax = [rbp - 0x10 {var_18}].d 0x1218 92 eax = eax + 0xd4 0x121d 93 [rbp - 0x14 {var_1c}].d = eax 0x1220 94 goto 17 @ 0x1260 0x1225 95 eax = [rbp - 0x10 {var_18}].d 0x1228 96 eax = eax + 0xf3 0x122d 97 [rbp - 0x14 {var_1c}].d = eax 0x1230 98 goto 17 @ 0x1260 0x1235 99 eax = [rbp - 0x10 {var_18}].d 0x1238 100 eax = eax + 0x111 0x123d 101 [rbp - 0x14 {var_1c}].d = eax 0x1240 102 goto 17 @ 0x1260 0x1245 103 eax = [rbp - 0x10 {var_18}].d 0x1248 104 eax = eax + 0x130 0x124d 105 [rbp - 0x14 {var_1c}].d = eax 0x1250 106 goto 17 @ 0x1260 0x1255 107 eax = [rbp - 0x10 {var_18}].d 0x1258 108 eax = eax + 0x14e 0x125d 109 [rbp - 0x14 {var_1c}].d = eax 0x125d 110 goto 17 @ 0x1260 0x12af 111 esi = [rbp - 0x14 {var_1c}].d 0x12b2 112 rdi = 0x203a {"%d"} 0x12b9 113 al = 0 0x12bb 114 call(0x1030) 0x12c0 115 al = 0 0x12c2 116 call(0x1040) 0x12c7 117 al = 0 0x12c9 118 call(0x1040) 0x12ce 119 eax = [rbp - 4 {var_c}].d 0x12d1 120 rsp = rsp + 0x20 0x12d5 121 rbp = pop 0x12d6 122 <return> jump(pop) 0x12a0 123 if ([rbp - 0xc {var_14}].d s< 3) then 111 @ 0x12af else 124 @ 0x12a6 0x12a6 124 eax = [rbp - 0x14 {var_1c}].d 0x12a9 125 eax = eax + 1 0x12ac 126 [rbp - 0x14 {var_1c}].d = eax 0x12ac 127 goto 111 @ 0x12af int64_t _fini(): 0x12dc 0 rsp = rsp - 8 0x12e0 1 rsp = rsp + 8 0x12e4 2 <return> jump(pop)
POJ_11
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 - 0x3f0 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = rbp - 0x200 {var_208} 0x1179 5 esi = 0 0x117b 6 edx = 0x1e4 {""} 0x1180 7 call(0x1040) 0x1185 8 rsi = rbp - 0x200 {var_208} 0x118c 9 rsi = rsi + 0xdc {var_12c} 0x1193 10 rsi = rsi + 0x14 {var_118} 0x1197 11 rdi = 0x2004 {"%d %d"} 0x119e 12 rdx = rbp - 8 {var_10} 0x11a2 13 al = 0 0x11a4 14 call(0x1050) 0x11a9 15 [rbp - 0xc {var_14}].d = 1 0x11a9 16 goto 17 @ 0x11b0 0x11b0 17 eax = [rbp - 0xc {var_14}].d 0x11b6 18 if (eax s> [rbp - 8 {var_10}].d) then 19 @ 0x13c0 else 21 @ 0x11bc 0x13c0 19 [rbp - 0x10 {var_18_3}].d = 1 0x13c0 20 goto 23 @ 0x13cb 0x11bc 21 [rbp - 0x10 {var_18_1}].d = 1 0x11bc 22 goto 24 @ 0x11c7 0x13cb 23 if ([rbp - 0x10 {var_18_3}].d s>= 0xa) then 25 @ 0x145a else 29 @ 0x13d5 0x11c7 24 if ([rbp - 0x10 {var_18_1}].d s>= 0xa) then 30 @ 0x1338 else 32 @ 0x11cd 0x145a 25 eax = 0 0x145c 26 rsp = rsp + 0x3f0 0x1463 27 rbp = pop 0x1464 28 <return> jump(pop) 0x13d5 29 if ([rbp - 0x10 {var_18_3}].d == 1) then 34 @ 0x13e9 else 36 @ 0x13db 0x1338 30 [rbp - 0x10 {var_18_2}].d = 1 0x1338 31 goto 40 @ 0x1343 0x11cd 32 [rbp - 0x14 {var_1c_1}].d = 1 0x11cd 33 goto 41 @ 0x11d8 0x13e9 34 [rbp - 0x14 {var_1c_3}].d = 1 0x13e9 35 goto 42 @ 0x13f4 0x13db 36 rdi = 0x200a {"\n"} 0x13e2 37 al = 0 0x13e4 38 call(0x1030) 0x13e4 39 goto 34 @ 0x13e9 0x1343 40 if ([rbp - 0x10 {var_18_2}].d s>= 0xa) then 43 @ 0x13ad else 44 @ 0x1349 0x11d8 41 if ([rbp - 0x14 {var_1c_1}].d s>= 0xa) then 46 @ 0x1325 else 47 @ 0x11de 0x13f4 42 if ([rbp - 0x14 {var_1c_3}].d s>= 0xa) then 136 @ 0x1447 else 137 @ 0x13fe 0x13ad 43 goto 138 @ 0x13b2 0x1349 44 [rbp - 0x14 {var_1c_2}].d = 1 0x1349 45 goto 142 @ 0x1354 0x1325 46 goto 143 @ 0x132a 0x11de 47 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x11e2 48 rax = rbp - 0x200 {var_208} 0x11e9 49 rcx = rcx * 0x2c 0x11ed 50 rax = rax + rcx 0x11f0 51 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x11f4 52 edx = [rax + (rcx << 2)].d 0x11f7 53 edx = edx << 1 0x11fa 54 eax = [rbp - 0x10 {var_18_1}].d 0x11fd 55 eax = eax - 1 0x1200 56 rcx = sx.q(eax) 0x1203 57 rax = rbp - 0x200 {var_208} 0x120a 58 rcx = rcx * 0x2c 0x120e 59 rax = rax + rcx 0x1211 60 ecx = [rbp - 0x14 {var_1c_1}].d 0x1214 61 ecx = ecx - 1 0x1217 62 rcx = sx.q(ecx) 0x121a 63 edx = edx + [rax + (rcx << 2)].d 0x121d 64 eax = [rbp - 0x10 {var_18_1}].d 0x1220 65 eax = eax - 1 0x1223 66 rcx = sx.q(eax) 0x1226 67 rax = rbp - 0x200 {var_208} 0x122d 68 rcx = rcx * 0x2c 0x1231 69 rax = rax + rcx 0x1234 70 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1238 71 edx = edx + [rax + (rcx << 2)].d 0x123b 72 eax = [rbp - 0x10 {var_18_1}].d 0x123e 73 eax = eax - 1 0x1241 74 rcx = sx.q(eax) 0x1244 75 rax = rbp - 0x200 {var_208} 0x124b 76 rcx = rcx * 0x2c 0x124f 77 rax = rax + rcx 0x1252 78 ecx = [rbp - 0x14 {var_1c_1}].d 0x1255 79 ecx = ecx + 1 0x1258 80 rcx = sx.q(ecx) 0x125b 81 edx = edx + [rax + (rcx << 2)].d 0x125e 82 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1262 83 rax = rbp - 0x200 {var_208} 0x1269 84 rcx = rcx * 0x2c 0x126d 85 rax = rax + rcx 0x1270 86 ecx = [rbp - 0x14 {var_1c_1}].d 0x1273 87 ecx = ecx - 1 0x1276 88 rcx = sx.q(ecx) 0x1279 89 edx = edx + [rax + (rcx << 2)].d 0x127c 90 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1280 91 rax = rbp - 0x200 {var_208} 0x1287 92 rcx = rcx * 0x2c 0x128b 93 rax = rax + rcx 0x128e 94 ecx = [rbp - 0x14 {var_1c_1}].d 0x1291 95 ecx = ecx + 1 0x1294 96 rcx = sx.q(ecx) 0x1297 97 edx = edx + [rax + (rcx << 2)].d 0x129a 98 eax = [rbp - 0x10 {var_18_1}].d 0x129d 99 eax = eax + 1 0x12a0 100 rcx = sx.q(eax) 0x12a3 101 rax = rbp - 0x200 {var_208} 0x12aa 102 rcx = rcx * 0x2c 0x12ae 103 rax = rax + rcx 0x12b1 104 ecx = [rbp - 0x14 {var_1c_1}].d 0x12b4 105 ecx = ecx - 1 0x12b7 106 rcx = sx.q(ecx) 0x12ba 107 edx = edx + [rax + (rcx << 2)].d 0x12bd 108 eax = [rbp - 0x10 {var_18_1}].d 0x12c0 109 eax = eax + 1 0x12c3 110 rcx = sx.q(eax) 0x12c6 111 rax = rbp - 0x200 {var_208} 0x12cd 112 rcx = rcx * 0x2c 0x12d1 113 rax = rax + rcx 0x12d4 114 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x12d8 115 edx = edx + [rax + (rcx << 2)].d 0x12db 116 eax = [rbp - 0x10 {var_18_1}].d 0x12de 117 eax = eax + 1 0x12e1 118 rcx = sx.q(eax) 0x12e4 119 rax = rbp - 0x200 {var_208} 0x12eb 120 rcx = rcx * 0x2c 0x12ef 121 rax = rax + rcx 0x12f2 122 ecx = [rbp - 0x14 {var_1c_1}].d 0x12f5 123 ecx = ecx + 1 0x12f8 124 rcx = sx.q(ecx) 0x12fb 125 edx = edx + [rax + (rcx << 2)].d 0x12fe 126 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1302 127 rax = rbp - 0x3f0 {var_3f8} 0x1309 128 rcx = rcx * 0x2c 0x130d 129 rax = rax + rcx 0x1310 130 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1314 131 [rax + (rcx << 2)].d = edx 0x1317 132 eax = [rbp - 0x14 {var_1c_1}].d 0x131a 133 eax = eax + 1 0x131d 134 [rbp - 0x14 {var_1c_1}].d = eax 0x1320 135 goto 41 @ 0x11d8 0x1447 136 goto 147 @ 0x144c 0x13fe 137 if ([rbp - 0x14 {var_1c_3}].d == 1) then 151 @ 0x1412 else 164 @ 0x1404 0x13b2 138 eax = [rbp - 0xc {var_14}].d 0x13b5 139 eax = eax + 1 0x13b8 140 [rbp - 0xc {var_14}].d = eax 0x13bb 141 goto 17 @ 0x11b0 0x1354 142 if ([rbp - 0x14 {var_1c_2}].d s>= 0xa) then 168 @ 0x139a else 169 @ 0x135a 0x132a 143 eax = [rbp - 0x10 {var_18_1}].d 0x132d 144 eax = eax + 1 0x1330 145 [rbp - 0x10 {var_18_1}].d = eax 0x1333 146 goto 24 @ 0x11c7 0x144c 147 eax = [rbp - 0x10 {var_18_3}].d 0x144f 148 eax = eax + 1 0x1452 149 [rbp - 0x10 {var_18_3}].d = eax 0x1455 150 goto 23 @ 0x13cb 0x1412 151 rcx = sx.q([rbp - 0x10 {var_18_3}].d) 0x1416 152 rax = rbp - 0x200 {var_208} 0x141d 153 rcx = rcx * 0x2c 0x1421 154 rax = rax + rcx 0x1424 155 rcx = sx.q([rbp - 0x14 {var_1c_3}].d) 0x1428 156 esi = [rax + (rcx << 2)].d 0x142b 157 rdi = 0x2007 {"%d"} 0x1432 158 al = 0 0x1434 159 call(0x1030) 0x1439 160 eax = [rbp - 0x14 {var_1c_3}].d 0x143c 161 eax = eax + 1 0x143f 162 [rbp - 0x14 {var_1c_3}].d = eax 0x1442 163 goto 42 @ 0x13f4 0x1404 164 rdi = 0x200c {" "} 0x140b 165 al = 0 0x140d 166 call(0x1030) 0x140d 167 goto 151 @ 0x1412 0x139a 168 goto 185 @ 0x139f 0x135a 169 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x135e 170 rax = rbp - 0x3f0 {var_3f8} 0x1365 171 rcx = rcx * 0x2c 0x1369 172 rax = rax + rcx 0x136c 173 rcx = sx.q([rbp - 0x14 {var_1c_2}].d) 0x1370 174 edx = [rax + (rcx << 2)].d 0x1373 175 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x1377 176 rax = rbp - 0x200 {var_208} 0x137e 177 rcx = rcx * 0x2c 0x1382 178 rax = rax + rcx 0x1385 179 rcx = sx.q([rbp - 0x14 {var_1c_2}].d) 0x1389 180 [rax + (rcx << 2)].d = edx 0x138c 181 eax = [rbp - 0x14 {var_1c_2}].d 0x138f 182 eax = eax + 1 0x1392 183 [rbp - 0x14 {var_1c_2}].d = eax 0x1395 184 goto 142 @ 0x1354 0x139f 185 eax = [rbp - 0x10 {var_18_2}].d 0x13a2 186 eax = eax + 1 0x13a5 187 [rbp - 0x10 {var_18_2}].d = eax 0x13a8 188 goto 40 @ 0x1343 int64_t _fini(): 0x146c 0 rsp = rsp - 8 0x1470 1 rsp = rsp + 8 0x1474 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) 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 = 0x1190 {"UAWAVSHh\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) void f(int32_t arg1, int32_t arg2): 0x1150 0 eax = 1 0x1158 1 if (edi == 1) then 2 @ 0x1180 else 3 @ 0x115a 0x1180 2 <return> jump(pop) 0x115a 3 push(r14) 0x115c 4 push(rbx) 0x115d 5 push(rax) 0x115e 6 r14d = esi 0x1161 7 ebx = edi 0x1163 8 edi = (rbx - 1).d 0x1166 9 call(0x1150) 0x116b 10 eax = eax + r14d 0x116e 11 eax = eax - 1 0x1171 12 temp2.d:temp3.d = sx.q(eax) 0x1171 13 edx = temp2.d 0x1171 14 eax = temp3.d 0x1172 15 temp4.d = edx 0x1172 16 temp5.d = eax 0x1172 17 temp0.d = divs.dp.d(temp4.d:temp5.d, ebx) 0x1172 18 temp6.d = edx 0x1172 19 temp7.d = eax 0x1172 20 temp1.d = mods.dp.d(temp6.d:temp7.d, ebx) 0x1172 21 eax = temp0.d 0x1172 22 edx = temp1.d 0x1174 23 eax = edx 0x1176 24 eax = eax + 1 0x1179 25 rsp = rsp + 8 0x117d 26 rbx = pop 0x117e 27 r14 = pop 0x117e 28 goto 2 @ 0x1180 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(rbx) 0x1196 4 rsp = rsp - 0x968 0x119d 5 r14 = rsp {var_988} 0x11a0 6 rbx = rsp + 0x4b0 {var_4d8} 0x11a8 7 r15 = 0x2004 {"%d %d "} 0x11af 8 ebp = 0 0x11b1 9 goto 10 @ 0x11cb 0x11cb 10 rdi = r15 0x11ce 11 rsi = rbx 0x11d1 12 rdx = r14 0x11d4 13 eax = 0 0x11d6 14 call(0x1040) 0x11de 15 if ([rbx].d != 0) then 16 @ 0x11c0 else 20 @ 0x11e4 0x11c0 16 ebp = ebp + 1 0x11c3 17 r14 = r14 + 4 0x11c7 18 rbx = rbx + 4 0x11c7 19 goto 10 @ 0x11cb 0x11e4 20 if ([r14].d != 0) then 16 @ 0x11c0 else 21 @ 0x11e8 0x11e8 21 if (ebp == 0) then 22 @ 0x1224 else 29 @ 0x11ea 0x1224 22 eax = 0 0x1226 23 rsp = rsp + 0x968 0x122d 24 rbx = pop 0x122e 25 r14 = pop 0x1230 26 r15 = pop 0x1232 27 rbp = pop 0x1233 28 <return> jump(pop) 0x11ea 29 ebp = ebp 0x11ec 30 r14 = 0x200b {"%d\n"} 0x11f3 31 ebx = 0 0x11ff 32 goto 33 @ 0x1200 0x1200 33 edi = [rsp + (rbx << 2) + 0x4b0].d 0x1207 34 esi = [rsp + (rbx << 2)].d 0x120a 35 call(0x1150) 0x120f 36 rdi = r14 0x1212 37 esi = eax 0x1214 38 eax = 0 0x1216 39 call(0x1030) 0x121b 40 rbx = rbx + 1 0x1222 41 if (rbp != rbx) then 33 @ 0x1200 else 22 @ 0x1224 int64_t _fini(): 0x1238 0 rsp = rsp - 8 0x123c 1 rsp = rsp + 8 0x1240 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) 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 - 0x61ac0 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = rbp - 0x61a90 {var_61a98} 0x1179 5 esi = 0 0x117b 6 edx = 0x61a84 {""} 0x1180 7 call(0x1040) 0x1185 8 [rbp - 0x61a94 {var_61a9c}].d = 0 0x118f 9 [rbp - 0x61a98 {var_61aa0}].d = 0 0x1199 10 [rbp - 0x61a9c {var_61aa4}].d = 0 0x11a3 11 rdi = 0x2005 {"%d"} 0x11aa 12 rsi = rbp - 0x61a94 {var_61a9c} 0x11b1 13 al = 0 0x11b3 14 call(0x1050) 0x11b8 15 [rbp - 0x61aa0 {var_61aa8}].d = 0 0x11b8 16 goto 17 @ 0x11c2 0x11c2 17 eax = [rbp - 0x61aa0 {var_61aa8}].d 0x11ce 18 if (eax s>= [rbp - 0x61a94 {var_61a9c}].d) then 19 @ 0x120b else 25 @ 0x11d4 0x120b 19 rdi = 0x2005 {"%d"} 0x1212 20 rsi = rbp - 0x61a98 {var_61aa0} 0x1219 21 al = 0 0x121b 22 call(0x1050) 0x1220 23 [rbp - 0x61aa4 {var_61aac}].d = 0 0x1220 24 goto 36 @ 0x122a 0x11d4 25 rax = sx.q([rbp - 0x61aa0 {var_61aa8}].d) 0x11db 26 rsi = rbp - 0x61a90 {var_61a98} 0x11e2 27 rax = rax << 2 0x11e6 28 rsi = rsi + rax 0x11e9 29 rdi = 0x2005 {"%d"} 0x11f0 30 al = 0 0x11f2 31 call(0x1050) 0x11f7 32 eax = [rbp - 0x61aa0 {var_61aa8}].d 0x11fd 33 eax = eax + 1 0x1200 34 [rbp - 0x61aa0 {var_61aa8}].d = eax 0x1206 35 goto 17 @ 0x11c2 0x122a 36 eax = [rbp - 0x61aa4 {var_61aac}].d 0x1236 37 if (eax s>= [rbp - 0x61a94 {var_61a9c}].d) then 38 @ 0x127e else 40 @ 0x123c 0x127e 38 [rbp - 0x61aa8 {var_61ab0}].d = 0 0x127e 39 goto 43 @ 0x1288 0x123c 40 rax = sx.q([rbp - 0x61aa4 {var_61aac}].d) 0x1243 41 eax = [rbp + (rax << 2) - 0x61a90].d 0x1250 42 if (eax != [rbp - 0x61a98 {var_61aa0}].d) then 45 @ 0x1265 else 46 @ 0x1256 0x1288 43 eax = [rbp - 0x61aa8 {var_61ab0}].d 0x1294 44 if (eax s> [rbp - 0x61a9c {var_61aa4}].d) then 50 @ 0x1359 else 56 @ 0x129a 0x1265 45 goto 58 @ 0x126a 0x1256 46 eax = [rbp - 0x61a9c {var_61aa4}].d 0x125c 47 eax = eax + 1 0x125f 48 [rbp - 0x61a9c {var_61aa4}].d = eax 0x125f 49 goto 45 @ 0x1265 0x1359 50 esi = [rbp - 0x61a90 {var_61a98}].d 0x135f 51 rdi = 0x2005 {"%d"} 0x1366 52 al = 0 0x1368 53 call(0x1030) 0x136d 54 [rbp - 0x61ab4 {var_61abc}].d = 1 0x136d 55 goto 62 @ 0x1377 0x129a 56 [rbp - 0x61aac {var_61ab4_1}].d = 0 0x129a 57 goto 66 @ 0x12a4 0x126a 58 eax = [rbp - 0x61aa4 {var_61aac}].d 0x1270 59 eax = eax + 1 0x1273 60 [rbp - 0x61aa4 {var_61aac}].d = eax 0x1279 61 goto 36 @ 0x122a 0x1377 62 eax = [rbp - 0x61ab4 {var_61abc}].d 0x137d 63 ecx = [rbp - 0x61a94 {var_61a9c}].d 0x1383 64 ecx = ecx - [rbp - 0x61a9c {var_61aa4}].d 0x138b 65 if (eax s>= ecx) then 68 @ 0x13c1 else 72 @ 0x1391 0x12a4 66 eax = [rbp - 0x61aac {var_61ab4_1}].d 0x12b0 67 if (eax s>= [rbp - 0x61a94 {var_61a9c}].d) then 81 @ 0x1340 else 82 @ 0x12b6 0x13c1 68 eax = 0 0x13c3 69 rsp = rsp + 0x61ac0 0x13ca 70 rbp = pop 0x13cb 71 <return> jump(pop) 0x1391 72 rax = sx.q([rbp - 0x61ab4 {var_61abc}].d) 0x1398 73 esi = [rbp + (rax << 2) - 0x61a90].d 0x139f 74 rdi = 0x2004 {" %d"} 0x13a6 75 al = 0 0x13a8 76 call(0x1030) 0x13ad 77 eax = [rbp - 0x61ab4 {var_61abc}].d 0x13b3 78 eax = eax + 1 0x13b6 79 [rbp - 0x61ab4 {var_61abc}].d = eax 0x13bc 80 goto 62 @ 0x1377 0x1340 81 goto 85 @ 0x1345 0x12b6 82 rax = sx.q([rbp - 0x61aac {var_61ab4_1}].d) 0x12bd 83 eax = [rbp + (rax << 2) - 0x61a90].d 0x12ca 84 if (eax != [rbp - 0x61a98 {var_61aa0}].d) then 89 @ 0x1327 else 90 @ 0x12d0 0x1345 85 eax = [rbp - 0x61aa8 {var_61ab0}].d 0x134b 86 eax = eax + 1 0x134e 87 [rbp - 0x61aa8 {var_61ab0}].d = eax 0x1354 88 goto 43 @ 0x1288 0x1327 89 goto 93 @ 0x132c 0x12d0 90 eax = [rbp - 0x61aac {var_61ab4_1}].d 0x12d6 91 [rbp - 0x61ab0 {var_61ab8_1}].d = eax 0x12d6 92 goto 97 @ 0x12dc 0x132c 93 eax = [rbp - 0x61aac {var_61ab4_1}].d 0x1332 94 eax = eax + 1 0x1335 95 [rbp - 0x61aac {var_61ab4_1}].d = eax 0x133b 96 goto 66 @ 0x12a4 0x12dc 97 eax = [rbp - 0x61ab0 {var_61ab8_1}].d 0x12e8 98 if (eax s>= [rbp - 0x61a94 {var_61a9c}].d) then 99 @ 0x1322 else 100 @ 0x12ee 0x1322 99 goto 89 @ 0x1327 0x12ee 100 eax = [rbp - 0x61ab0 {var_61ab8_1}].d 0x12f4 101 eax = eax + 1 0x12f7 102 rax = sx.q(eax) 0x12f9 103 ecx = [rbp + (rax << 2) - 0x61a90].d 0x1300 104 rax = sx.q([rbp - 0x61ab0 {var_61ab8_1}].d) 0x1307 105 [rbp + (rax << 2) - 0x61a90].d = ecx 0x130e 106 eax = [rbp - 0x61ab0 {var_61ab8_1}].d 0x1314 107 eax = eax + 1 0x1317 108 [rbp - 0x61ab0 {var_61ab8_1}].d = eax 0x131d 109 goto 97 @ 0x12dc int64_t _fini(): 0x13d0 0 rsp = rsp - 8 0x13d4 1 rsp = rsp + 8 0x13d8 2 <return> jump(pop)
POJ_42
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 {"UAVSH0H="} 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 - 0x30 0x1158 4 rdi = 0x2018 {"%d/n"} 0x115f 5 rsi = rsp + 0x1c {var_2c} 0x1164 6 eax = 0 0x1166 7 call(0x1040) 0x116b 8 eax = [rsp + 0x1c {var_2c}].d 0x116f 9 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1175 10 if (eax s<= 0) then 11 @ 0x1254 else 19 @ 0x117b 0x1254 11 [rsp + 0x10 {var_38}].q = xmm0.q 0x125a 12 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x125e 13 [rsp + 8 {var_40}].q = xmm0.q 0x1264 14 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1268 15 [rsp {var_48}].q = xmm0.q 0x126d 16 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1271 17 [rsp + 0x20 {var_28}].q = xmm0.q 0x1271 18 goto 30 @ 0x1277 0x117b 19 [rsp + 0x20 {var_28}].q = xmm0.q 0x1181 20 r14 = 0x201d {"%d"} 0x1188 21 rbx = rsp + 0x2c {var_1c} 0x118d 22 ebp = 0 0x118f 23 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1193 24 [rsp {var_48}].q = xmm0.q 0x1198 25 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x119c 26 [rsp + 8 {var_40}].q = xmm0.q 0x11a2 27 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11a6 28 [rsp + 0x10 {var_38}].q = xmm0.q 0x11ac 29 goto 68 @ 0x11bf 0x1277 30 xmm2.q = float.d(eax) 0x127b 31 xmm0 = zx.o([rsp + 0x20 {var_28}].q) 0x1281 32 xmm0.q = xmm0.q f/ xmm2.q 0x1285 33 xmm1 = zx.o([0x2010].q) 0x128d 34 xmm0.q = xmm0.q f* xmm1.q 0x1291 35 xmm3 = zx.o([rsp {var_48}].q) 0x1296 36 xmm3.q = xmm3.q f/ xmm2.q 0x129a 37 xmm3.q = xmm3.q f* xmm1.q 0x129e 38 [rsp {var_48_1}].q = xmm3.q 0x12a3 39 xmm3 = zx.o([rsp + 8 {var_40}].q) 0x12a9 40 xmm3.q = xmm3.q f/ xmm2.q 0x12ad 41 xmm3.q = xmm3.q f* xmm1.q 0x12b1 42 [rsp + 8 {var_40_1}].q = xmm3.q 0x12b7 43 xmm3 = zx.o([rsp + 0x10 {var_38}].q) 0x12bd 44 xmm3.q = xmm3.q f/ xmm2.q 0x12c1 45 xmm3.q = xmm3.q f* xmm1.q 0x12c5 46 [rsp + 0x10 {var_38_1}].q = xmm3.q 0x12cb 47 rdi = 0x2020 {"1-18: %.2lf%%\n"} 0x12d2 48 al = 1 0x12d4 49 call(0x1030) 0x12d9 50 rdi = 0x202f {"19-35: %.2lf%%\n"} 0x12e0 51 xmm0 = zx.o([rsp {var_48_1}].q) 0x12e5 52 al = 1 0x12e7 53 call(0x1030) 0x12ec 54 rdi = 0x203f {"36-60: %.2lf%%\n"} 0x12f3 55 xmm0 = zx.o([rsp + 8 {var_40_1}].q) 0x12f9 56 al = 1 0x12fb 57 call(0x1030) 0x1300 58 rdi = 0x204f {"60??: %.2lf%%\n"} 0x1307 59 xmm0 = zx.o([rsp + 0x10 {var_38_1}].q) 0x130d 60 al = 1 0x130f 61 call(0x1030) 0x1314 62 eax = 0 0x1316 63 rsp = rsp + 0x30 0x131a 64 rbx = pop 0x131b 65 r14 = pop 0x131d 66 rbp = pop 0x131e 67 <return> jump(pop) 0x11bf 68 rdi = r14 0x11c2 69 rsi = rbx {var_1c} 0x11c5 70 eax = 0 0x11c7 71 call(0x1040) 0x11cc 72 eax = [rsp + 0x2c {var_1c}].d 0x11d0 73 ecx = (rax - 1).d 0x11d6 74 if (ecx u< 0x12) then 75 @ 0x11f0 else 80 @ 0x11d8 0x11f0 75 xmm0 = zx.o([rsp + 0x20 {var_28}].q) 0x11f6 76 xmm1 = zx.o([0x2008].q) 0x11fe 77 xmm0.q = xmm0.q f+ xmm1.q 0x1202 78 [rsp + 0x20 {var_28}].q = xmm0.q 0x1202 79 goto 82 @ 0x1208 0x11d8 80 xmm1 = zx.o([0x2008].q) 0x11e0 81 goto 82 @ 0x1208 0x1208 82 ecx = (rax - 0x13).d 0x120e 83 if (ecx u>= 0x11) then 84 @ 0x121e else 86 @ 0x1210 0x121e 84 ecx = (rax - 0x24).d 0x1224 85 if (ecx u>= 0x19) then 90 @ 0x1239 else 91 @ 0x1226 0x1210 86 xmm0 = zx.o([rsp {var_48}].q) 0x1215 87 xmm0.q = xmm0.q f+ xmm1.q 0x1219 88 [rsp {var_48}].q = xmm0.q 0x1219 89 goto 84 @ 0x121e 0x1239 90 if (eax s< 0x3d) then 95 @ 0x11b0 else 98 @ 0x123f 0x1226 91 xmm0 = zx.o([rsp + 8 {var_40}].q) 0x122c 92 xmm0.q = xmm0.q f+ xmm1.q 0x1230 93 [rsp + 8 {var_40}].q = xmm0.q 0x1230 94 goto 90 @ 0x1239 0x11b0 95 eax = [rsp + 0x1c {var_2c}].d 0x11b4 96 ebp = ebp + 1 0x11b9 97 if (ebp s>= eax) then 30 @ 0x1277 else 68 @ 0x11bf 0x123f 98 xmm0 = zx.o([rsp + 0x10 {var_38}].q) 0x1245 99 xmm0.q = xmm0.q f+ xmm1.q 0x1249 100 [rsp + 0x10 {var_38}].q = xmm0.q 0x124f 101 goto 95 @ 0x11b0 int64_t _fini(): 0x1324 0 rsp = rsp - 8 0x1328 1 rsp = rsp + 8 0x132c 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) 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 {"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 - 0x208 0x1171 7 rdi = 0x2004 {"%s"} 0x1178 8 ebx = 0 0x117a 9 r14 = rsp {var_238} 0x117d 10 rsi = r14 {var_238} 0x1180 11 eax = 0 0x1182 12 call(0x1050) 0x1187 13 rdi = r14 {var_238} 0x118a 14 call(0x1040) 0x118f 15 r8 = rax 0x1195 16 if (r8d s<= 0) then 17 @ 0x1205 else 19 @ 0x1197 0x1205 17 eax = 0 0x1207 18 goto 25 @ 0x1210 0x1197 19 esi = r8d 0x119a 20 edi = 0 0x119c 21 r9 = 0x4ec4ec4ec4ec4ec5 {""} 0x11a6 22 r10 = 0xd00000000 {""} 0x11b0 23 ebx = 0 0x11bc 24 goto 28 @ 0x11c0 0x1210 25 cond:0 = [rsp + (rax << 2) + 0x74].d == 0 0x1215 26 rax = rax + 1 0x1219 27 if (cond:0) then 25 @ 0x1210 else 33 @ 0x121b 0x11c0 28 eax = zx.d([rsp + rdi].b) 0x11c4 29 al = al - 0x30 0x11c6 30 cond:1 = al u< 0xa 0x11c8 31 eax = zx.d(al) 0x11cb 32 if (cond:1) then 35 else 37 @ 0x11ce 0x121b 33 r15d = (r8 - 1).d 0x1222 34 if (r15d s<= eax) then 52 @ 0x126a else 71 @ 0x1224 0x11cb 35 ecx = eax 0x11cb 36 goto 37 @ 0x11ce 0x11ce 37 rax = rbx + (rbx << 2) 0x11d2 38 rdx = sx.q(ecx) 0x11d5 39 rbx = rdx + (rax << 1) 0x11d9 40 rax = rbx 0x11dc 41 rdx:rax = muls.dp.q(rax, r9) 0x11df 42 rax = rdx 0x11e2 43 rax = rax u>> 0x3f 0x11e6 44 rdx = rdx s>> 2 0x11ea 45 rdx = rdx + rax 0x11ed 46 [rsp + (rdi << 2) + 0x70].d = edx 0x11f1 47 rdx = rdx * r10 0x11f5 48 rdx = rdx s>> 0x20 0x11f9 49 rbx = rbx - rdx 0x11fc 50 rdi = rdi + 1 0x1203 51 if (rsi != rdi) then 28 @ 0x11c0 else 17 @ 0x1205 0x126a 52 rax = sx.q(r15d) 0x126d 53 esi = [rsp + (rax << 2) + 0x70].d 0x1271 54 r14 = 0x200a {"%d\n"} 0x1278 55 rdi = r14 0x127b 56 eax = 0 0x127d 57 call(0x1030) 0x1282 58 rdi = r14 0x1285 59 rsi = rbx 0x1288 60 eax = 0 0x128a 61 call(0x1030) 0x128f 62 eax = 0 0x1291 63 rsp = rsp + 0x208 0x1298 64 rbx = pop 0x1299 65 r12 = pop 0x129b 66 r13 = pop 0x129d 67 r14 = pop 0x129f 68 r15 = pop 0x12a1 69 rbp = pop 0x12a2 70 <return> jump(pop) 0x1224 71 ecx = eax 0x1226 72 r12 = rsp + (rcx << 2) 0x122a 73 r12 = r12 + 0x70 0x122e 74 r13d = 2 0x1234 75 r13d = r13d - r8d 0x1237 76 r13 = r13 + rax 0x123a 77 r14 = 0x2007 {"%d"} 0x1241 78 ebp = 0 0x124d 79 goto 80 @ 0x1250 0x1250 80 esi = [r12 + (rbp << 2)].d 0x1254 81 rdi = r14 0x1257 82 eax = 0 0x1259 83 call(0x1030) 0x125e 84 rax = rbp + 1 0x1262 85 temp0.d = ebp 0x1262 86 ebp = ebp + r13d 0x1262 87 cond:2 = temp0.d != neg.d(r13d) 0x1265 88 rbp = rax 0x1268 89 if (cond:2) then 80 @ 0x1250 else 52 @ 0x126a int64_t _fini(): 0x12a8 0 rsp = rsp - 8 0x12ac 1 rsp = rsp + 8 0x12b0 2 <return> jump(pop)
POJ_96
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 - 0x60 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 [rbp - 0x20 {var_28}].d = 0 0x1166 5 [rbp - 0x24 {var_2c}].d = 1 0x116d 6 rdi = 0x201d {"%d"} 0x1174 7 eax = 0 0x1176 8 rsi = rbp - 8 {var_10} 0x117a 9 call(0x1040) 0x117f 10 eax = [rbp - 8 {var_10}].d 0x1182 11 rcx = rsp {var_68} 0x1185 12 [rbp - 0x30 {var_38}].q = rcx {var_68} 0x1189 13 rdx = (rax << 2) + 0xf 0x1191 14 rdx = rdx & 0xfffffffffffffff0 0x1195 15 rcx = rsp {var_68} 0x1198 16 rcx = rcx - rdx 0x119b 17 [rbp - 0x58 {var_60}].q = rcx 0x119f 18 rsp = rcx 0x11a2 19 [rbp - 0x38 {var_40}].q = rax 0x11a6 20 eax = [rbp - 8 {var_10}].d 0x11a9 21 rdx = (rax << 2) + 0xf 0x11b1 22 rdx = rdx & 0xfffffffffffffff0 0x11b5 23 rcx = rsp 0x11b8 24 rcx = rcx - rdx 0x11bb 25 [rbp - 0x50 {var_58}].q = rcx 0x11bf 26 rsp = rcx 0x11c2 27 [rbp - 0x40 {var_48}].q = rax 0x11c6 28 [rbp - 0xc {var_14}].d = 0 0x11c6 29 goto 30 @ 0x11cd 0x11cd 30 eax = [rbp - 0xc {var_14}].d 0x11d3 31 if (eax s>= [rbp - 8 {var_10}].d) then 32 @ 0x1213 else 37 @ 0x11d9 0x1213 32 rax = [rbp - 0x58 {var_60}].q 0x1217 33 eax = [rax].d 0x1219 34 [rbp - 0x10 {var_18}].d = eax 0x121c 35 [rbp - 0xc {var_14_1}].d = 0 0x121c 36 goto 52 @ 0x1223 0x11d9 37 rdx = [rbp - 0x50 {var_58}].q 0x11dd 38 rsi = [rbp - 0x58 {var_60}].q 0x11e1 39 rax = sx.q([rbp - 0xc {var_14}].d) 0x11e5 40 rax = rax << 2 0x11e9 41 rsi = rsi + rax 0x11ec 42 rax = sx.q([rbp - 0xc {var_14}].d) 0x11f0 43 rax = rax << 2 0x11f4 44 rdx = rdx + rax 0x11f7 45 rdi = 0x2010 {"%d %d\n"} 0x11fe 46 al = 0 0x1200 47 call(0x1040) 0x1205 48 eax = [rbp - 0xc {var_14}].d 0x1208 49 eax = eax + 1 0x120b 50 [rbp - 0xc {var_14}].d = eax 0x120e 51 goto 30 @ 0x11cd 0x1223 52 eax = [rbp - 0xc {var_14_1}].d 0x1229 53 if (eax s>= [rbp - 8 {var_10}].d) then 54 @ 0x1264 else 61 @ 0x122f 0x1264 54 rax = [rbp - 0x50 {var_58}].q 0x1268 55 ecx = [rbp - 0x10 {var_18}].d 0x126b 56 [rbp - 0x14 {var_1c}].d = ecx 0x126e 57 eax = [rax].d 0x1270 58 [rbp - 0x10 {var_18_1}].d = eax 0x1273 59 [rbp - 0xc {var_14_2}].d = 0 0x1273 60 goto 65 @ 0x127a 0x122f 61 rcx = [rbp - 0x58 {var_60}].q 0x1233 62 eax = [rbp - 0x10 {var_18}].d 0x1236 63 rdx = sx.q([rbp - 0xc {var_14_1}].d) 0x123d 64 if (eax s<= [rcx + (rdx << 2)].d) then 67 @ 0x1251 else 68 @ 0x1243 0x127a 65 eax = [rbp - 0xc {var_14_2}].d 0x1280 66 if (eax s>= [rbp - 8 {var_10}].d) then 73 @ 0x12bb else 89 @ 0x1286 0x1251 67 goto 93 @ 0x1256 0x1243 68 rax = [rbp - 0x58 {var_60}].q 0x1247 69 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x124b 70 eax = [rax + (rcx << 2)].d 0x124e 71 [rbp - 0x10 {var_18}].d = eax 0x124e 72 goto 67 @ 0x1251 0x12bb 73 eax = [rbp - 0x10 {var_18_1}].d 0x12be 74 [rbp - 0x18 {var_20}].d = eax 0x12c1 75 eax = [rbp - 0x18 {var_20}].d 0x12c4 76 ecx = [rbp - 0x14 {var_1c}].d 0x12c7 77 eax = eax - ecx 0x12c9 78 [rbp - 0x10 {var_18_2}].d = eax 0x12cc 79 eax = [rbp - 0x10 {var_18_2}].d 0x12cf 80 rdx = (rax << 3) + 0xf 0x12d7 81 rdx = rdx & 0xfffffffffffffff0 0x12db 82 rcx = rsp 0x12de 83 rcx = rcx - rdx 0x12e1 84 [rbp - 0x60 {var_68}].q = rcx 0x12e5 85 rsp = rcx 0x12e8 86 [rbp - 0x48 {var_50}].q = rax 0x12ec 87 [rbp - 0x1c {var_24}].d = 0 0x12ec 88 goto 97 @ 0x12f3 0x1286 89 rcx = [rbp - 0x50 {var_58}].q 0x128a 90 eax = [rbp - 0x10 {var_18_1}].d 0x128d 91 rdx = sx.q([rbp - 0xc {var_14_2}].d) 0x1294 92 if (eax s>= [rcx + (rdx << 2)].d) then 99 @ 0x12a8 else 100 @ 0x129a 0x1256 93 eax = [rbp - 0xc {var_14_1}].d 0x1259 94 eax = eax + 1 0x125c 95 [rbp - 0xc {var_14_1}].d = eax 0x125f 96 goto 52 @ 0x1223 0x12f3 97 eax = [rbp - 0x1c {var_24}].d 0x12f9 98 if (eax s>= [rbp - 0x10 {var_18_2}].d) then 105 @ 0x13bb else 106 @ 0x12ff 0x12a8 99 goto 108 @ 0x12ad 0x129a 100 rax = [rbp - 0x50 {var_58}].q 0x129e 101 rcx = sx.q([rbp - 0xc {var_14_2}].d) 0x12a2 102 eax = [rax + (rcx << 2)].d 0x12a5 103 [rbp - 0x10 {var_18_1}].d = eax 0x12a5 104 goto 99 @ 0x12a8 0x13bb 105 if ([rbp - 0x24 {var_2c}].d != 0) then 112 @ 0x13d4 else 118 @ 0x13c1 0x12ff 106 [rbp - 0xc {var_14_3}].d = 0 0x12ff 107 goto 122 @ 0x1306 0x12ad 108 eax = [rbp - 0xc {var_14_2}].d 0x12b0 109 eax = eax + 1 0x12b3 110 [rbp - 0xc {var_14_2}].d = eax 0x12b6 111 goto 65 @ 0x127a 0x13d4 112 esi = [rbp - 0x14 {var_1c}].d 0x13d7 113 edx = [rbp - 0x18 {var_20}].d 0x13da 114 rdi = 0x201a {"%d %d"} 0x13e1 115 al = 0 0x13e3 116 call(0x1030) 0x13e3 117 goto 124 @ 0x13e8 0x13c1 118 rdi = 0x2017 {"no"} 0x13c8 119 al = 0 0x13ca 120 call(0x1030) 0x13cf 121 goto 124 @ 0x13e8 0x1306 122 eax = [rbp - 0xc {var_14_3}].d 0x130c 123 if (eax s>= [rbp - 8 {var_10}].d) then 130 @ 0x1398 else 138 @ 0x1312 0x13e8 124 rax = [rbp - 0x30].q {var_68} 0x13ec 125 rsp = rax 0x13ef 126 eax = [rbp - 4 {var_c}].d 0x13f2 127 rsp = rbp 0x13f5 128 rbp = pop 0x13f6 129 <return> jump(pop) 0x1398 130 eax = [rbp - 0x20 {var_28}].d 0x139b 131 eax = eax * [rbp - 0x24 {var_2c}].d 0x139f 132 [rbp - 0x24 {var_2c}].d = eax 0x13a2 133 [rbp - 0x20 {var_28}].d = 0 0x13a9 134 eax = [rbp - 0x1c {var_24}].d 0x13ac 135 eax = eax + 1 0x13af 136 [rbp - 0x1c {var_24}].d = eax 0x13b2 137 goto 97 @ 0x12f3 0x1312 138 rax = [rbp - 0x58 {var_60}].q 0x1316 139 rcx = [rbp - 0x60 {var_68}].q 0x131a 140 edx = [rbp - 0x1c {var_24}].d 0x131d 141 edx = edx + [rbp - 0x14 {var_1c}].d 0x1320 142 xmm0.q = float.d(edx) 0x1324 143 xmm1 = zx.o([0x2008].q) 0x132c 144 xmm0.q = xmm0.q f+ xmm1.q 0x1330 145 rdx = sx.q([rbp - 0x1c {var_24}].d) 0x1334 146 [rcx + (rdx << 3)].q = xmm0.q 0x1339 147 rdx = sx.q([rbp - 0x1c {var_24}].d) 0x133d 148 xmm0 = zx.o([rcx + (rdx << 3)].q) 0x1342 149 rcx = sx.q([rbp - 0xc {var_14_3}].d) 0x1346 150 xmm1.q = float.d([rax + (rcx << 2)].d) 0x134b 151 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x134b 152 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x134b 153 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x134b 154 flag:s = 0 0x134b 155 flag:o = 0 0x134b 156 flag:a = 0 0x134f 157 if (flag:z || flag:c) then 158 @ 0x1385 else 159 @ 0x1355 0x1385 158 goto 172 @ 0x138a 0x1355 159 rax = [rbp - 0x50 {var_58}].q 0x1359 160 rcx = [rbp - 0x60 {var_68}].q 0x135d 161 rdx = sx.q([rbp - 0x1c {var_24}].d) 0x1361 162 xmm1 = zx.o([rcx + (rdx << 3)].q) 0x1366 163 rcx = sx.q([rbp - 0xc {var_14_3}].d) 0x136a 164 xmm0.q = float.d([rax + (rcx << 2)].d) 0x136f 165 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x136f 166 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x136f 167 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x136f 168 flag:s = 0 0x136f 169 flag:o = 0 0x136f 170 flag:a = 0 0x1373 171 if (flag:z || flag:c) then 158 @ 0x1385 else 176 @ 0x1379 0x138a 172 eax = [rbp - 0xc {var_14_3}].d 0x138d 173 eax = eax + 1 0x1390 174 [rbp - 0xc {var_14_3}].d = eax 0x1393 175 goto 122 @ 0x1306 0x1379 176 [rbp - 0x20 {var_28}].d = 1 0x1380 177 goto 130 @ 0x1398 int64_t _fini(): 0x13fc 0 rsp = rsp - 8 0x1400 1 rsp = rsp + 8 0x1404 2 <return> jump(pop)
POJ_76
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 {"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 = 0x2074 {"%d"} 0x1165 8 rsi = rsp + 0xc {var_3c} 0x116a 9 eax = 0 0x116c 10 call(0x1030) 0x1176 11 if ([rsp + 0xc {var_3c}].d s<= 0) then 12 @ 0x14db else 21 @ 0x117c 0x14db 12 eax = 0 0x14dd 13 rsp = rsp + 0x18 0x14e1 14 rbx = pop 0x14e2 15 r12 = pop 0x14e4 16 r13 = pop 0x14e6 17 r14 = pop 0x14e8 18 r15 = pop 0x14ea 19 rbp = pop 0x14eb 20 <return> jump(pop) 0x117c 21 rbx = 0x2070 {"%d%d%d"} 0x1183 22 rbp = rsp + 8 {var_40} 0x1188 23 r15 = rsp + 0x10 {var_38} 0x118d 24 r12 = 0x2077 {"NO"} 0x1194 25 r13 = 0x2010 {""} 0x119b 26 r14d = 0 0x119e 27 goto 28 @ 0x11e2 0x11e2 28 rdi = rbx 0x11e5 29 rsi = rbp {var_40} 0x11e8 30 rdx = rsp + 0x14 {var_34} 0x11ed 31 rcx = r15 {var_38} 0x11f0 32 eax = 0 0x11f2 33 call(0x1030) 0x11f7 34 ecx = [rsp + 0x14 {var_34}].d 0x11fb 35 edx = [rsp + 0x10 {var_38}].d 0x1201 36 if (ecx s<= edx) then 37 @ 0x1210 else 40 @ 0x1203 0x1210 37 eax = edx 0x1212 38 edx = ecx 0x1212 39 goto 44 @ 0x1214 0x1203 40 [rsp + 0x14 {var_34}].d = edx 0x1207 41 [rsp + 0x10 {var_38}].d = ecx 0x120b 42 eax = ecx 0x120d 43 goto 44 @ 0x1214 0x1214 44 ecx = [rsp + 8 {var_40}].d 0x121b 45 if ((cl & 3) != 0) then 46 @ 0x125a else 50 @ 0x121d 0x125a 46 rcx = sx.q(edx) 0x125d 47 edi = [r13 + (rcx << 2) - 4].d 0x1262 48 eax = eax - 1 0x1267 49 if (edx s>= eax) then 54 @ 0x11b0 else 60 @ 0x126d 0x121d 50 esi = ecx * -0x3d70a3d7 0x1223 51 esi = esi + 0x51eb850 0x1229 52 esi = ror.d(esi, 4) 0x1232 53 if (esi u< 0xa3d70b) then 64 @ 0x1381 else 69 @ 0x1238 0x11b0 54 eax = edi * -0x49249249 0x11b6 55 eax = eax + 0x12492492 0x11bb 56 cond:0 = eax u< 0x24924925 0x11c0 57 rdi = r12 0x11c3 58 rax = 0x207a {"YES"} 0x11ca 59 if (cond:0) then 79 else 81 @ 0x11ce 0x126d 60 rax = sx.q(eax) 0x126f 61 rdx = rax 0x1272 62 rdx = rdx - rcx 0x1279 63 if (rdx u< 8) then 84 @ 0x1352 else 89 @ 0x127f 0x1381 64 rcx = sx.q(edx) 0x1384 65 rdx = 0x2040 {""} 0x138b 66 edi = [rdx + (rcx << 2) - 4].d 0x138f 67 eax = eax - 1 0x1394 68 if (ecx s>= eax) then 54 @ 0x11b0 else 97 @ 0x139a 0x1238 69 rsi = sx.q(ecx) 0x123b 70 rsi = rsi * 0x51eb851f 0x1242 71 rdi = rsi 0x1245 72 rdi = rdi u>> 0x3f 0x1249 73 rsi = rsi s>> 0x25 0x124d 74 esi = esi + edi 0x124f 75 esi = esi * 0x64 0x1252 76 temp0.d = ecx 0x1252 77 ecx = ecx - esi 0x1254 78 if (temp0.d != esi) then 64 @ 0x1381 else 46 @ 0x125a 0x11ca 79 rdi = rax 0x11ca 80 goto 81 @ 0x11ce 0x11ce 81 call(0x1040) 0x11d3 82 r14d = r14d + 1 0x11dc 83 if (r14d s>= [rsp + 0xc {var_3c}].d) then 12 @ 0x14db else 28 @ 0x11e2 0x1352 84 rdx = rcx << 2 0x135a 85 rdx = rdx + r13 0x135d 86 rax = rax - rcx 0x1360 87 ecx = 0 0x136c 88 goto 101 @ 0x1370 0x127f 89 r8 = rdx 0x1282 90 r8 = r8 & 0xfffffffffffffff8 0x1286 91 xmm0 = edi 0x128a 92 rsi = r8 - 8 0x128e 93 rbp = rsi 0x1291 94 rbp = rbp u>> 3 0x1295 95 rbp = rbp + 1 0x129c 96 if (rsi == 0) then 104 @ 0x14b1 else 107 @ 0x12a2 0x139a 97 rax = sx.q(eax) 0x139c 98 rdx = rax 0x139f 99 rdx = rdx - rcx 0x13a6 100 if (rdx u< 8) then 115 @ 0x1486 else 120 @ 0x13ac 0x1370 101 edi = edi + [rdx + (rcx << 2)].d 0x1373 102 rcx = rcx + 1 0x137a 103 if (rax != rcx) then 101 @ 0x1370 else 128 @ 0x137c 0x14b1 104 xmm1 = 0 0x14b5 105 ebx = 0 0x14bb 106 if ((bpl & 1) != 0) then 129 @ 0x1307 else 135 @ 0x14c1 0x12a2 107 rdi = rbp 0x12a5 108 rsi = 0x3ffffffffffffffe {""} 0x12af 109 rdi = rdi & rsi 0x12b2 110 rsi = (rcx << 2) + 0x30 0x12ba 111 rsi = rsi + r13 0x12bd 112 xmm1 = 0 0x12c1 113 ebx = 0 0x12cd 114 goto 136 @ 0x12d0 0x1486 115 rdx = 0x2040 {""} 0x148d 116 rdx = rdx + (rcx << 2) 0x1491 117 rax = rax - rcx 0x1494 118 ecx = 0 0x1496 119 goto 148 @ 0x14a0 0x13ac 120 r8 = rdx 0x13af 121 r8 = r8 & 0xfffffffffffffff8 0x13b3 122 xmm0 = edi 0x13b7 123 rsi = r8 - 8 0x13bb 124 rbp = rsi 0x13be 125 rbp = rbp u>> 3 0x13c2 126 rbp = rbp + 1 0x13c9 127 if (rsi == 0) then 151 @ 0x14c6 else 154 @ 0x13cf 0x137c 128 goto 54 @ 0x11b0 0x1307 129 rbx = rbx + rcx 0x130a 130 xmm2 = [r13 + (rbx << 2)].o 0x1311 131 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x1315 132 xmm2 = [r13 + (rbx << 2) + 0x10].o 0x131c 133 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x131c 134 goto 163 @ 0x1320 0x14c1 135 goto 163 @ 0x1320 0x12d0 136 xmm2 = [rsi + (rbx << 2) - 0x30].o 0x12d6 137 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x12da 138 xmm3 = [rsi + (rbx << 2) - 0x20].o 0x12e0 139 xmm3 = _mm_add_epi32(xmm3, xmm1) 0x12e4 140 xmm0 = [rsi + (rbx << 2) - 0x10].o 0x12ea 141 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x12ee 142 xmm1 = [rsi + (rbx << 2)].o 0x12f3 143 xmm1 = _mm_add_epi32(xmm1, xmm3) 0x12f7 144 rbx = rbx + 0x10 0x12fb 145 temp1.q = rdi 0x12fb 146 rdi = rdi - 2 0x12ff 147 if (temp1.q != 2) then 136 @ 0x12d0 else 172 @ 0x1305 0x14a0 148 edi = edi + [rdx + (rcx << 2)].d 0x14a3 149 rcx = rcx + 1 0x14aa 150 if (rax != rcx) then 148 @ 0x14a0 else 173 @ 0x14ac 0x14c6 151 xmm1 = 0 0x14ca 152 ebx = 0 0x14d0 153 if ((bpl & 1) != 0) then 174 @ 0x1437 else 181 @ 0x14d6 0x13cf 154 rdi = rbp 0x13d2 155 rsi = 0x3ffffffffffffffe {""} 0x13dc 156 rdi = rdi & rsi 0x13df 157 rsi = 0x2040 {""} 0x13e6 158 rsi = rsi + (rcx << 2) 0x13ea 159 rsi = rsi + 0x30 0x13ee 160 xmm1 = 0 0x13f2 161 ebx = 0 0x13fe 162 goto 182 @ 0x1400 0x1320 163 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1324 164 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1329 165 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x132d 166 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1332 167 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1336 168 edi = xmm0.d 0x133a 169 cond:1 = rdx == r8 0x133d 170 rbp = rsp + 8 {var_40} 0x1342 171 if (cond:1) then 194 @ 0x11a0 else 196 @ 0x1348 0x1305 172 if ((bpl & 1) == 0) then 163 @ 0x1320 else 129 @ 0x1307 0x14ac 173 goto 54 @ 0x11b0 0x1437 174 rbx = rbx + rcx 0x143a 175 rsi = 0x2040 {""} 0x1441 176 xmm2 = [rsi + (rbx << 2)].o 0x1446 177 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x144a 178 xmm2 = [rsi + (rbx << 2) + 0x10].o 0x1450 179 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x1450 180 goto 199 @ 0x1454 0x14d6 181 goto 199 @ 0x1454 0x1400 182 xmm2 = [rsi + (rbx << 2) - 0x30].o 0x1406 183 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x140a 184 xmm3 = [rsi + (rbx << 2) - 0x20].o 0x1410 185 xmm3 = _mm_add_epi32(xmm3, xmm1) 0x1414 186 xmm0 = [rsi + (rbx << 2) - 0x10].o 0x141a 187 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x141e 188 xmm1 = [rsi + (rbx << 2)].o 0x1423 189 xmm1 = _mm_add_epi32(xmm1, xmm3) 0x1427 190 rbx = rbx + 0x10 0x142b 191 temp2.q = rdi 0x142b 192 rdi = rdi - 2 0x142f 193 if (temp2.q != 2) then 182 @ 0x1400 else 208 @ 0x1435 0x11a0 194 rbx = 0x2070 {"%d%d%d"} 0x11a7 195 goto 54 @ 0x11b0 0x1348 196 rcx = rcx + r8 0x134b 197 rbx = 0x2070 {"%d%d%d"} 0x134b 198 goto 84 @ 0x1352 0x1454 199 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1458 200 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x145d 201 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1461 202 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1466 203 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x146a 204 edi = xmm0.d 0x146e 205 cond:2 = rdx == r8 0x1471 206 rbp = rsp + 8 {var_40} 0x1476 207 if (cond:2) then 194 @ 0x11a0 else 209 @ 0x147c 0x1435 208 if ((bpl & 1) == 0) then 199 @ 0x1454 else 174 @ 0x1437 0x147c 209 rcx = rcx + r8 0x147f 210 rbx = 0x2070 {"%d%d%d"} 0x147f 211 goto 115 @ 0x1486 int64_t _fini(): 0x14f0 0 rsp = rsp - 8 0x14f4 1 rsp = rsp + 8 0x14f8 2 <return> jump(pop)
POJ_71
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 rdi = 0x2004 {"%d"} 0x1169 5 rsi = rbp - 8 {var_10} 0x116d 6 al = 0 0x116f 7 call(0x1040) 0x1174 8 [rbp - 0xfb4 {var_fbc}].d = 0 0x1174 9 goto 10 @ 0x117e 0x117e 10 eax = [rbp - 0xfb4 {var_fbc}].d 0x1187 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11c4 else 14 @ 0x118d 0x11c4 12 [rbp - 0xfb4 {var_fbc_1}].d = 0 0x11c4 13 goto 25 @ 0x11ce 0x118d 14 rax = sx.q([rbp - 0xfb4 {var_fbc}].d) 0x1194 15 rsi = rbp - 0xfb0 {var_fb8} 0x119b 16 rax = rax << 2 0x119f 17 rsi = rsi + rax 0x11a2 18 rdi = 0x2004 {"%d"} 0x11a9 19 al = 0 0x11ab 20 call(0x1040) 0x11b0 21 eax = [rbp - 0xfb4 {var_fbc}].d 0x11b6 22 eax = eax + 1 0x11b9 23 [rbp - 0xfb4 {var_fbc}].d = eax 0x11bf 24 goto 10 @ 0x117e 0x11ce 25 eax = [rbp - 0xfb4 {var_fbc_1}].d 0x11d7 26 if (eax s>= [rbp - 8 {var_10}].d) then 27 @ 0x12a9 else 31 @ 0x11dd 0x12a9 27 eax = 0 0x12ab 28 rsp = rsp + 0xfd0 0x12b2 29 rbp = pop 0x12b3 30 <return> jump(pop) 0x11dd 31 [rbp - 0xfb8 {var_fc0_1}].d = 1 0x11e7 32 [rbp - 0xfbc {var_fc4_1}].d = 1 0x11f1 33 [rbp - 0xfc4 {var_fcc_1}].d = 1 0x11f1 34 goto 35 @ 0x11fb 0x11fb 35 eax = [rbp - 0xfc4 {var_fcc_1}].d 0x1201 36 rcx = sx.q([rbp - 0xfb4 {var_fbc_1}].d) 0x120f 37 if (eax s> [rbp + (rcx << 2) - 0xfb0].d) then 38 @ 0x1281 else 46 @ 0x121c 0x1281 38 esi = [rbp - 0xfc0 {var_fc8}].d 0x1287 39 rdi = 0x2007 {"%d\n"} 0x128e 40 al = 0 0x1290 41 call(0x1030) 0x1295 42 eax = [rbp - 0xfb4 {var_fbc_1}].d 0x129b 43 eax = eax + 1 0x129e 44 [rbp - 0xfb4 {var_fbc_1}].d = eax 0x12a4 45 goto 25 @ 0x11ce 0x121c 46 if ([rbp - 0xfc4 {var_fcc_1}].d == 1) then 47 @ 0x122f else 49 @ 0x1229 0x122f 47 [rbp - 0xfc0 {var_fc8}].d = 1 0x1239 48 goto 50 @ 0x1268 0x1229 49 if ([rbp - 0xfc4 {var_fcc_1}].d != 2) then 51 @ 0x123e else 47 @ 0x122f 0x1268 50 goto 59 @ 0x126d 0x123e 51 eax = [rbp - 0xfb8 {var_fc0_1}].d 0x1244 52 eax = eax + [rbp - 0xfbc {var_fc4_1}].d 0x124a 53 [rbp - 0xfc0 {var_fc8}].d = eax 0x1250 54 eax = [rbp - 0xfbc {var_fc4_1}].d 0x1256 55 [rbp - 0xfb8 {var_fc0_1}].d = eax 0x125c 56 eax = [rbp - 0xfc0 {var_fc8}].d 0x1262 57 [rbp - 0xfbc {var_fc4_1}].d = eax 0x1262 58 goto 50 @ 0x1268 0x126d 59 eax = [rbp - 0xfc4 {var_fcc_1}].d 0x1273 60 eax = eax + 1 0x1276 61 [rbp - 0xfc4 {var_fcc_1}].d = eax 0x127c 62 goto 35 @ 0x11fb int64_t _fini(): 0x12b8 0 rsp = rsp - 8 0x12bc 1 rsp = rsp + 8 0x12c0 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) 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 {"UAWAVAUATSH8\n"} 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 - 0x10a38 0x1171 7 xmm0 = 0 0x1174 8 [rsp + 0x70 {var_109f8}].o = xmm0 0x1179 9 [rsp + 0x60 {var_10a08}].o = xmm0 0x117e 10 [rsp + 0x50 {var_10a18}].o = xmm0 0x1183 11 [rsp + 0x40 {var_10a28}].o = xmm0 0x1188 12 [rsp + 0x30 {var_10a38}].o = xmm0 0x118d 13 [rsp + 0x20 {var_10a48}].o = xmm0 0x1192 14 [rsp + 0x10 {var_10a58}].o = xmm0 0x1197 15 [rsp + 0x80 {var_109e8}].q = 0 0x11a3 16 rdi = 0x202b {"%d"} 0x11aa 17 rsi = rsp + 0xc {var_10a5c} 0x11af 18 eax = 0 0x11b1 19 call(0x1050) 0x11bb 20 if ([rsp + 0xc {var_10a5c}].d s<= 0) then 21 @ 0x12a0 else 56 @ 0x11c1 0x12a0 21 eax = [rsp + 0x10 {var_10a58[0]}].d 0x12a4 22 r13d = [rsp + 0x30 {var_10a38[0]}].d 0x12a9 23 xmm0 = [rsp + 0x54 {var_10a18[1].o}].o 0x12af 24 xmm1 = [rsp + 0x34 {var_10a38[1].o}].o 0x12b5 25 xmm2 = [rsp + 0x64 {var_10a08[1].o}].o 0x12bb 26 xmm3 = [rsp + 0x44 {var_10a28[1].o}].o 0x12c1 27 xmm4 = xmm3 0x12c5 28 xmm4 = _mm_cmpgt_epi32(xmm4, xmm2) 0x12c9 29 xmm3 = xmm3 & xmm4 0x12cd 30 xmm4 = xmm4 & not.o(xmm2) 0x12d1 31 xmm4 = xmm4 | xmm3 0x12d5 32 xmm2 = xmm1 0x12d9 33 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x12dd 34 xmm1 = xmm1 & xmm2 0x12e1 35 xmm2 = xmm2 & not.o(xmm0) 0x12e5 36 xmm2 = xmm2 | xmm1 0x12e9 37 xmm0 = xmm2 0x12ed 38 xmm0 = _mm_cmpgt_epi32(xmm0, xmm4) 0x12f1 39 xmm2 = xmm2 & xmm0 0x12f5 40 xmm0 = xmm0 & not.o(xmm4) 0x12f9 41 xmm0 = xmm0 | xmm2 0x12fd 42 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1302 43 xmm2 = xmm0 0x1306 44 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x130a 45 xmm0 = xmm0 & xmm2 0x130e 46 xmm2 = xmm2 & not.o(xmm1) 0x1312 47 xmm2 = xmm2 | xmm0 0x1316 48 xmm0 = _mm_shuffle_epi32(xmm2, 0x55) 0x131b 49 xmm1 = xmm2 0x131f 50 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x1323 51 xmm2 = xmm2 & xmm1 0x1327 52 xmm1 = xmm1 & not.o(xmm0) 0x132b 53 xmm1 = xmm1 | xmm2 0x132f 54 ecx = xmm1.d 0x1336 55 if (ecx s> r13d) then 61 else 63 @ 0x133a 0x11c1 56 r15 = rsp + 0x90 {var_109d8} 0x11c9 57 rbp = rsp + 0x1fd0 {var_ea98} 0x11d1 58 r14 = 0x202e {"%d %s"} 0x11d8 59 ebx = 0 0x11da 60 goto 65 @ 0x11e0 0x1336 61 r13d = ecx 0x1336 62 goto 63 @ 0x133a 0x133a 63 ecx = [rsp + 0x2c {var_10a48[3]}].d 0x1341 64 if (r13d s<= ecx) then 75 else 77 @ 0x1345 0x11e0 65 rdi = r14 0x11e3 66 rsi = r15 0x11e6 67 rdx = rbp 0x11e9 68 eax = 0 0x11eb 69 call(0x1050) 0x11f0 70 rbx = rbx + 1 0x11f4 71 rax = sx.q([rsp + 0xc {var_10a5c}].d) 0x11f9 72 r15 = r15 + 4 0x11fd 73 rbp = rbp + 0x1e 0x1204 74 if (rbx s< rax) then 65 @ 0x11e0 else 79 @ 0x1206 0x1341 75 r13d = ecx 0x1341 76 goto 77 @ 0x1345 0x1345 77 ecx = [rsp + 0x28 {var_10a48[2]}].d 0x134c 78 if (r13d s<= ecx) then 81 else 83 @ 0x1350 0x1206 79 r12d = eax 0x120c 80 if (r12d s<= 0) then 21 @ 0x12a0 else 85 @ 0x1212 0x134c 81 r13d = ecx 0x134c 82 goto 83 @ 0x1350 0x1350 83 ecx = [rsp + 0x24 {var_10a48[1]}].d 0x1357 84 if (r13d s<= ecx) then 89 else 91 @ 0x135b 0x1212 85 r13d = 0 0x1215 86 r14 = rsp + 0x1fd0 {var_ea98} 0x121d 87 r15 = 0x2010 {"ABCDEFGHIJKLMNOPQRSTUVWXYZ"} 0x1224 88 goto 93 @ 0x123a 0x1357 89 r13d = ecx 0x1357 90 goto 91 @ 0x135b 0x135b 91 ecx = [rsp + 0x20 {var_10a48[0]}].d 0x1362 92 if (r13d s<= ecx) then 96 else 98 @ 0x1366 0x123a 93 rbx = r14 {var_ea98} 0x123d 94 ebp = 0 0x123f 95 goto 100 @ 0x1263 0x1362 96 r13d = ecx 0x1362 97 goto 98 @ 0x1366 0x1366 98 ecx = [rsp + 0x1c {var_10a58[3]}].d 0x136d 99 if (r13d s<= ecx) then 108 else 110 @ 0x1371 0x1263 100 rax = rbp 0x1266 101 rax = rax << 5 0x126a 102 rax = rax - rbp 0x126d 103 rax = rax - rbp 0x1270 104 rdi = rsp + rax 0x1274 105 rdi = rdi + 0x1fd0 0x127b 106 call(0x1040) 0x1283 107 if (rax == 0) then 112 @ 0x1256 else 115 @ 0x1285 0x136d 108 r13d = ecx 0x136d 109 goto 110 @ 0x1371 0x1371 110 ecx = [rsp + 0x18 {var_10a58[2]}].d 0x1378 111 if (r13d s<= ecx) then 118 else 120 @ 0x137c 0x1256 112 rbp = rbp + 1 0x125a 113 rbx = rbx + 0x1e 0x1261 114 if (rbp == r12) then 122 @ 0x1230 else 100 @ 0x1263 0x1285 115 cl = [r13 + r15].b 0x128a 116 edx = 0 0x128c 117 goto 124 @ 0x1293 0x1378 118 r13d = ecx 0x1378 119 goto 120 @ 0x137c 0x137c 120 ecx = [rsp + 0x14 {var_10a58[1]}].d 0x1383 121 if (r13d s<= ecx) then 125 else 127 @ 0x138a 0x1230 122 r13 = r13 + 1 0x1238 123 if (r13 == 0x1a) then 21 @ 0x12a0 else 93 @ 0x123a 0x1293 124 if ([rbx + rdx].b == cl) then 128 @ 0x1250 else 130 @ 0x1295 0x1383 125 r13d = ecx 0x1383 126 goto 127 @ 0x138a 0x138a 127 if (r13d s<= eax) then 132 else 134 @ 0x138e 0x1250 128 [rsp + (r13 << 2) + 0x10].d = [rsp + (r13 << 2) + 0x10].d + 1 0x1250 129 goto 112 @ 0x1256 0x1295 130 rdx = rdx + 1 0x129c 131 if (rax != rdx) then 124 @ 0x1293 else 136 @ 0x129e 0x138a 132 r13d = eax 0x138a 133 goto 134 @ 0x138e 0x138e 134 eax = [rsp + 0x74 {var_109f8+0x4}].d 0x1395 135 if (eax s> r13d) then 137 else 139 @ 0x1399 0x129e 136 goto 112 @ 0x1256 0x1395 137 r13d = eax 0x1395 138 goto 139 @ 0x1399 0x1399 139 rbx = 0x2037 {"%d\n"} 0x13a0 140 ebp = 0 0x13a2 141 goto 142 @ 0x13c3 0x13c3 142 if ([rsp + (rbp << 2) + 0x10].d != r13d) then 143 @ 0x13b0 else 145 @ 0x13c5 0x13b0 143 rbp = rbp + 1 0x13b8 144 if (rbp == 0x1a) then 154 @ 0x150f else 142 @ 0x13c3 0x13c5 145 rax = 0x2010 {"ABCDEFGHIJKLMNOPQRSTUVWXYZ"} 0x13cc 146 r15b = [rbp + rax].b 0x13d1 147 esi = sx.d(r15b) 0x13d5 148 rdi = 0x2034 {"%c\n%d\n"} 0x13dc 149 edx = r13d 0x13df 150 eax = 0 0x13e1 151 call(0x1030) 0x13e6 152 eax = [rsp + 0xc {var_10a5c}].d 0x13ec 153 if (eax s<= 0) then 143 @ 0x13b0 else 163 @ 0x13ee 0x150f 154 eax = 0 0x1511 155 rsp = rsp + 0x10a38 0x1518 156 rbx = pop 0x1519 157 r12 = pop 0x151b 158 r13 = pop 0x151d 159 r14 = pop 0x151f 160 r15 = pop 0x1521 161 rbp = pop 0x1522 162 <return> jump(pop) 0x13ee 163 r12 = rsp + 0x1fea {var_ea7e} 0x13f6 164 r14d = 0 0x13f9 165 goto 166 @ 0x1405 0x1405 166 if ([r12 - 0x1a].b == r15b) then 167 @ 0x14e0 else 173 @ 0x1410 0x14e0 167 esi = [rsp + (r14 << 2) + 0x90].d 0x14e8 168 rdi = rbx 0x14eb 169 eax = 0 0x14ed 170 call(0x1030) 0x14f2 171 eax = [rsp + 0xc {var_10a5c}].d 0x14f2 172 goto 174 @ 0x14f6 0x1410 173 if ([r12 - 0x19].b == r15b) then 167 @ 0x14e0 else 178 @ 0x141b 0x14f6 174 r14 = r14 + 1 0x14fa 175 rcx = sx.q(eax) 0x14fd 176 r12 = r12 + 0x1e 0x1504 177 if (r14 s< rcx) then 166 @ 0x1405 else 179 @ 0x150a 0x141b 178 if ([r12 - 0x18].b == r15b) then 167 @ 0x14e0 else 180 @ 0x1426 0x150a 179 goto 143 @ 0x13b0 0x1426 180 if ([r12 - 0x17].b == r15b) then 167 @ 0x14e0 else 181 @ 0x1431 0x1431 181 if ([r12 - 0x16].b == r15b) then 167 @ 0x14e0 else 182 @ 0x143c 0x143c 182 if ([r12 - 0x15].b == r15b) then 167 @ 0x14e0 else 183 @ 0x1447 0x1447 183 if ([r12 - 0x14].b == r15b) then 167 @ 0x14e0 else 184 @ 0x1452 0x1452 184 if ([r12 - 0x13].b == r15b) then 167 @ 0x14e0 else 185 @ 0x145d 0x145d 185 if ([r12 - 0x12].b == r15b) then 167 @ 0x14e0 else 186 @ 0x1468 0x1468 186 if ([r12 - 0x11].b == r15b) then 167 @ 0x14e0 else 187 @ 0x146f 0x146f 187 if ([r12 - 0x10].b == r15b) then 167 @ 0x14e0 else 188 @ 0x1476 0x1476 188 if ([r12 - 0xf].b == r15b) then 167 @ 0x14e0 else 189 @ 0x147d 0x147d 189 if ([r12 - 0xe].b == r15b) then 167 @ 0x14e0 else 190 @ 0x1484 0x1484 190 if ([r12 - 0xd].b == r15b) then 167 @ 0x14e0 else 191 @ 0x148b 0x148b 191 if ([r12 - 0xc].b == r15b) then 167 @ 0x14e0 else 192 @ 0x1492 0x1492 192 if ([r12 - 0xb].b == r15b) then 167 @ 0x14e0 else 193 @ 0x1499 0x1499 193 if ([r12 - 0xa].b == r15b) then 167 @ 0x14e0 else 194 @ 0x14a0 0x14a0 194 if ([r12 - 9].b == r15b) then 167 @ 0x14e0 else 195 @ 0x14a7 0x14a7 195 if ([r12 - 8].b == r15b) then 167 @ 0x14e0 else 196 @ 0x14ae 0x14ae 196 if ([r12 - 7].b == r15b) then 167 @ 0x14e0 else 197 @ 0x14b5 0x14b5 197 if ([r12 - 6].b == r15b) then 167 @ 0x14e0 else 198 @ 0x14bc 0x14bc 198 if ([r12 - 5].b == r15b) then 167 @ 0x14e0 else 199 @ 0x14c3 0x14c3 199 if ([r12 - 4].b == r15b) then 167 @ 0x14e0 else 200 @ 0x14ca 0x14ca 200 if ([r12 - 3].b == r15b) then 167 @ 0x14e0 else 201 @ 0x14d1 0x14d1 201 if ([r12 - 2].b == r15b) then 167 @ 0x14e0 else 202 @ 0x14d8 0x14d8 202 if ([r12 - 1].b == r15b) then 167 @ 0x14e0 else 203 @ 0x14de 0x14de 203 if ([r12].b != r15b) then 174 @ 0x14f6 else 167 @ 0x14e0 int64_t _fini(): 0x1528 0 rsp = rsp - 8 0x152c 1 rsp = rsp + 8 0x1530 2 <return> jump(pop)
POJ_2