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 getchar(): 0x1040 0 <return> tailcall([0x4020].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHH0"} 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 - 0xbd30 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rdi = rbp - 0xbd30 {var_bd38} 0x1189 5 esi = 0 0x118b 6 edx = 0xbd10 {""} 0x1190 7 call(0x1050) 0x1195 8 rdi = 0x2004 {"%d%d"} 0x119c 9 rsi = rbp - 8 {var_10} 0x11a0 10 rdx = rbp - 0xc {var_14} 0x11a4 11 al = 0 0x11a6 12 call(0x1060) 0x11ab 13 al = 0 0x11ad 14 call(0x1040) 0x11b2 15 [rbp - 0x10 {var_18}].d = 0 0x11b2 16 goto 17 @ 0x11b9 0x11b9 17 eax = [rbp - 0x10 {var_18}].d 0x11bc 18 ecx = [rbp - 8 {var_10}].d 0x11bf 19 ecx = ecx - 1 0x11c4 20 if (eax s> ecx) then 21 @ 0x1231 else 23 @ 0x11ca 0x1231 21 [rbp - 0x10 {var_18_1}].d = 0 0x1231 22 goto 25 @ 0x1238 0x11ca 23 [rbp - 0x14 {var_1c_1}].d = 0 0x11ca 24 goto 30 @ 0x11d1 0x1238 25 eax = [rbp - 0x10 {var_18_1}].d 0x123b 26 ecx = [rbp - 0xc {var_14}].d 0x123e 27 ecx = ecx + [rbp - 8 {var_10}].d 0x1241 28 ecx = ecx - 2 0x1246 29 if (eax s> ecx) then 34 @ 0x12cf else 38 @ 0x124c 0x11d1 30 eax = [rbp - 0x14 {var_1c_1}].d 0x11d4 31 ecx = [rbp - 0xc {var_14}].d 0x11d7 32 ecx = ecx - 1 0x11dc 33 if (eax s> ecx) then 40 @ 0x121e else 41 @ 0x11e2 0x12cf 34 eax = 0 0x12d1 35 rsp = rsp + 0xbd30 0x12d8 36 rbp = pop 0x12d9 37 <return> jump(pop) 0x124c 38 [rbp - 0x14 {var_1c_2}].d = 0 0x124c 39 goto 55 @ 0x1253 0x121e 40 goto 57 @ 0x1223 0x11e2 41 rax = sx.q([rbp - 0x10 {var_18}].d) 0x11e6 42 rsi = rbp - 0xbd30 {var_bd38} 0x11ed 43 rax = rax * 0x1b8 0x11f4 44 rsi = rsi + rax 0x11f7 45 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x11fb 46 rax = rax << 2 0x11ff 47 rsi = rsi + rax 0x1202 48 rdi = 0x2006 {"%d"} 0x1209 49 al = 0 0x120b 50 call(0x1060) 0x1210 51 eax = [rbp - 0x14 {var_1c_1}].d 0x1213 52 eax = eax + 1 0x1216 53 [rbp - 0x14 {var_1c_1}].d = eax 0x1219 54 goto 30 @ 0x11d1 0x1253 55 eax = [rbp - 0x14 {var_1c_2}].d 0x1259 56 if (eax s> [rbp - 0x10 {var_18_1}].d) then 61 @ 0x12bc else 62 @ 0x125f 0x1223 57 eax = [rbp - 0x10 {var_18}].d 0x1226 58 eax = eax + 1 0x1229 59 [rbp - 0x10 {var_18}].d = eax 0x122c 60 goto 17 @ 0x11b9 0x12bc 61 goto 64 @ 0x12c1 0x125f 62 eax = [rbp - 0x14 {var_1c_2}].d 0x1265 63 if (eax s>= [rbp - 8 {var_10}].d) then 68 @ 0x127a else 69 @ 0x126b 0x12c1 64 eax = [rbp - 0x10 {var_18_1}].d 0x12c4 65 eax = eax + 1 0x12c7 66 [rbp - 0x10 {var_18_1}].d = eax 0x12ca 67 goto 25 @ 0x1238 0x127a 68 goto 72 @ 0x12ae 0x126b 69 eax = [rbp - 0x10 {var_18_1}].d 0x126e 70 eax = eax - [rbp - 0x14 {var_1c_2}].d 0x1274 71 if (eax s< [rbp - 0xc {var_14}].d) then 76 @ 0x127f else 68 @ 0x127a 0x12ae 72 eax = [rbp - 0x14 {var_1c_2}].d 0x12b1 73 eax = eax + 1 0x12b4 74 [rbp - 0x14 {var_1c_2}].d = eax 0x12b7 75 goto 55 @ 0x1253 0x127f 76 rcx = sx.q([rbp - 0x14 {var_1c_2}].d) 0x1283 77 rax = rbp - 0xbd30 {var_bd38} 0x128a 78 rcx = rcx * 0x1b8 0x1291 79 rax = rax + rcx 0x1294 80 ecx = [rbp - 0x10 {var_18_1}].d 0x1297 81 ecx = ecx - [rbp - 0x14 {var_1c_2}].d 0x129a 82 rcx = sx.q(ecx) 0x129d 83 esi = [rax + (rcx << 2)].d 0x12a0 84 rdi = 0x2009 {"%d\n"} 0x12a7 85 al = 0 0x12a9 86 call(0x1030) 0x12a9 87 goto 72 @ 0x12ae int64_t _fini(): 0x12e0 0 rsp = rsp - 8 0x12e4 1 rsp = rsp + 8 0x12e8 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) 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 {"UAWAVATSH@HH="} 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 - 0x40 0x117c 6 rbx = rsp {var_68} 0x117f 7 rdi = 0x2020 {"%c"} 0x1186 8 rsi = rbx {var_68} 0x1189 9 eax = 0 0x118b 10 call(0x1050) 0x1194 11 if ([rsp {var_68}].b == 0x20) then 12 @ 0x13f9 else 14 @ 0x119a 0x13f9 12 [rbx].b = 0 0x13f9 13 goto 20 @ 0x13fc 0x119a 14 rbx = rsp + 1 {var_67} 0x119f 15 rdi = 0x2020 {"%c"} 0x11a6 16 rsi = rbx {var_67} 0x11a9 17 eax = 0 0x11ab 18 call(0x1050) 0x11b5 19 if ([rsp + 1 {var_67}].b == 0x20) then 12 @ 0x13f9 else 30 @ 0x11bb 0x13fc 20 rbx = rsp + 0x20 {var_48} 0x1401 21 rdi = rbx {var_48} 0x1404 22 eax = 0 0x1406 23 call(0x1060) 0x140b 24 rdi = rsp {var_68} 0x140e 25 call(0x1040) 0x1413 26 r15 = rax 0x1416 27 rdi = rbx {var_48} 0x1419 28 call(0x1040) 0x1421 29 if (r15d != eax) then 36 @ 0x15cc else 38 @ 0x1427 0x11bb 30 rbx = rsp + 2 {var_66} 0x11c0 31 rdi = 0x2020 {"%c"} 0x11c7 32 rsi = rbx {var_66} 0x11ca 33 eax = 0 0x11cc 34 call(0x1050) 0x11d6 35 if ([rsp + 2 {var_66}].b == 0x20) then 12 @ 0x13f9 else 40 @ 0x11dc 0x15cc 36 r14 = 0x2023 {"NO"} 0x15cc 37 goto 46 @ 0x15d3 0x1427 38 r14 = 0x2029 {"YES"} 0x1431 39 if (r15d s<= 0) then 46 @ 0x15d3 else 50 @ 0x1437 0x11dc 40 rbx = rsp + 3 {var_65} 0x11e1 41 rdi = 0x2020 {"%c"} 0x11e8 42 rsi = rbx {var_65} 0x11eb 43 eax = 0 0x11ed 44 call(0x1050) 0x11f7 45 if ([rsp + 3 {var_65}].b == 0x20) then 12 @ 0x13f9 else 57 @ 0x11fd 0x15d3 46 rdi = r14 0x15d6 47 eax = 0 0x15d8 48 call(0x1030) 0x15d8 49 goto 63 @ 0x15dd 0x1437 50 eax = r15d 0x143a 51 r15d = r15d & 7 0x143e 52 r8 = rax 0x1441 53 r8 = r8 - r15 0x1444 54 xmm0 = [0x2010].o 0x144c 55 r12b = 1 0x144f 56 goto 70 @ 0x1450 0x11fd 57 rbx = rsp + 4 {var_64} 0x1202 58 rdi = 0x2020 {"%c"} 0x1209 59 rsi = rbx {var_64} 0x120c 60 eax = 0 0x120e 61 call(0x1050) 0x1218 62 if ([rsp + 4 {var_64}].b == 0x20) then 12 @ 0x13f9 else 74 @ 0x121e 0x15dd 63 rsp = rsp + 0x40 0x15e1 64 rbx = pop 0x15e2 65 r12 = pop 0x15e4 66 r14 = pop 0x15e6 67 r15 = pop 0x15e8 68 rbp = pop 0x15e9 69 <return> jump(pop) 0x1450 70 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1455 71 edi = xmm1.d 0x1459 72 edx = xmm0.d 0x1460 73 if (eax u>= 8) then 80 @ 0x1470 else 85 @ 0x1462 0x121e 74 rbx = rsp + 5 {var_63} 0x1223 75 rdi = 0x2020 {"%c"} 0x122a 76 rsi = rbx {var_63} 0x122d 77 eax = 0 0x122f 78 call(0x1050) 0x1239 79 if ([rsp + 5 {var_63}].b == 0x20) then 12 @ 0x13f9 else 88 @ 0x123f 0x1470 80 xmm2 = edi 0x1474 81 xmm3 = _mm_shuffle_epi32(xmm0, 0) 0x1479 82 xmm1 = 0 0x147d 83 esi = 0 0x147f 84 goto 94 @ 0x1480 0x1462 85 ecx = 0 0x1464 86 esi = edi 0x1466 87 goto 108 @ 0x14e0 0x123f 88 rbx = rsp + 6 {var_62} 0x1244 89 rdi = 0x2020 {"%c"} 0x124b 90 rsi = rbx {var_62} 0x124e 91 eax = 0 0x1250 92 call(0x1050) 0x125a 93 if ([rsp + 6 {var_62}].b == 0x20) then 12 @ 0x13f9 else 114 @ 0x1260 0x1480 94 xmm4 = [rsp + rsi].q 0x1485 95 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x1489 96 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x148d 97 xmm5 = [rsp + rsi + 4].d 0x1493 98 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q) 0x1497 99 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q) 0x149b 100 xmm4 = _mm_srai_epi32(xmm4, 0x18) 0x14a0 101 xmm5 = _mm_srai_epi32(xmm5, 0x18) 0x14a5 102 xmm4 = _mm_cmpeq_epi32(xmm4, xmm3) 0x14a9 103 xmm2 = _mm_sub_epi32(xmm2, xmm4) 0x14ad 104 xmm5 = _mm_cmpeq_epi32(xmm5, xmm3) 0x14b1 105 xmm1 = _mm_sub_epi32(xmm1, xmm5) 0x14b5 106 rsi = rsi + 8 0x14bc 107 if (r8 != rsi) then 94 @ 0x1480 else 120 @ 0x14be 0x14e0 108 ebp = sx.d([rsp + rcx].b) 0x14e4 109 ebx = 0 0x14e8 110 bl = edx == ebp 0x14eb 111 esi = esi + ebx 0x14ed 112 rcx = rcx + 1 0x14f4 113 if (rax != rcx) then 108 @ 0x14e0 else 128 @ 0x14f9 0x1260 114 rbx = rsp + 7 {var_61} 0x1265 115 rdi = 0x2020 {"%c"} 0x126c 116 rsi = rbx {var_61} 0x126f 117 eax = 0 0x1271 118 call(0x1050) 0x127b 119 if ([rsp + 7 {var_61}].b == 0x20) then 12 @ 0x13f9 else 129 @ 0x1281 0x14be 120 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x14c2 121 xmm2 = _mm_shuffle_epi32(xmm1, 0xee) 0x14c7 122 xmm2 = _mm_add_epi32(xmm2, xmm1) 0x14cb 123 xmm1 = _mm_shuffle_epi32(xmm2, 0x55) 0x14d0 124 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x14d4 125 esi = xmm1.d 0x14d8 126 rcx = r8 0x14de 127 if (r15 == 0) then 128 @ 0x14f9 else 108 @ 0x14e0 0x14f9 128 if (eax u>= 8) then 135 @ 0x1510 else 140 @ 0x14fb 0x1281 129 rbx = rsp + 8 {var_60} 0x1286 130 rdi = 0x2020 {"%c"} 0x128d 131 rsi = rbx {var_60} 0x1290 132 eax = 0 0x1292 133 call(0x1050) 0x129c 134 if ([rsp + 8 {var_60}].b == 0x20) then 12 @ 0x13f9 else 142 @ 0x12a2 0x1510 135 xmm1 = edi 0x1514 136 xmm2 = _mm_shuffle_epi32(xmm0, 0) 0x1519 137 xmm0 = 0 0x151d 138 edi = 0 0x151f 139 goto 148 @ 0x1520 0x14fb 140 ecx = 0 0x14fd 141 goto 162 @ 0x1590 0x12a2 142 rbx = rsp + 9 {var_5f} 0x12a7 143 rdi = 0x2020 {"%c"} 0x12ae 144 rsi = rbx {var_5f} 0x12b1 145 eax = 0 0x12b3 146 call(0x1050) 0x12bd 147 if ([rsp + 9 {var_5f}].b == 0x20) then 12 @ 0x13f9 else 168 @ 0x12c3 0x1520 148 xmm3 = [rsp + rdi + 0x20].q 0x1526 149 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x152a 150 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x152e 151 xmm4 = [rsp + rdi + 0x24].d 0x1534 152 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x1538 153 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x153c 154 xmm3 = _mm_srai_epi32(xmm3, 0x18) 0x1541 155 xmm4 = _mm_srai_epi32(xmm4, 0x18) 0x1546 156 xmm3 = _mm_cmpeq_epi32(xmm3, xmm2) 0x154a 157 xmm1 = _mm_sub_epi32(xmm1, xmm3) 0x154e 158 xmm4 = _mm_cmpeq_epi32(xmm4, xmm2) 0x1552 159 xmm0 = _mm_sub_epi32(xmm0, xmm4) 0x1556 160 rdi = rdi + 8 0x155d 161 if (r8 != rdi) then 148 @ 0x1520 else 174 @ 0x155f 0x1590 162 ebp = sx.d([rsp + rcx + 0x20].b) 0x1595 163 ebx = 0 0x1599 164 bl = edx == ebp 0x159c 165 edi = edi + ebx 0x159e 166 rcx = rcx + 1 0x15a5 167 if (rax != rcx) then 162 @ 0x1590 else 182 @ 0x15a9 0x12c3 168 rbx = rsp + 0xa {var_5e} 0x12c8 169 rdi = 0x2020 {"%c"} 0x12cf 170 rsi = rbx {var_5e} 0x12d2 171 eax = 0 0x12d4 172 call(0x1050) 0x12de 173 if ([rsp + 0xa {var_5e}].b == 0x20) then 12 @ 0x13f9 else 183 @ 0x12e4 0x155f 174 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1563 175 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1568 176 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x156c 177 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1571 178 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1575 179 edi = xmm0.d 0x1579 180 rcx = r8 0x157f 181 if (r15 == 0) then 182 @ 0x15a9 else 189 @ 0x158b 0x15a9 182 if (esi != edi) then 190 @ 0x15ea else 194 @ 0x15ab 0x12e4 183 rbx = rsp + 0xb {var_5d} 0x12e9 184 rdi = 0x2020 {"%c"} 0x12f0 185 rsi = rbx {var_5d} 0x12f3 186 eax = 0 0x12f5 187 call(0x1050) 0x12ff 188 if ([rsp + 0xb {var_5d}].b == 0x20) then 12 @ 0x13f9 else 201 @ 0x1305 0x158b 189 goto 162 @ 0x1590 0x15ea 190 rdi = 0x2026 {"N0"} 0x15f1 191 eax = 0 0x15f3 192 call(0x1030) 0x15fc 193 if ((r12b & 1) == 0) then 46 @ 0x15d3 else 207 @ 0x15fe 0x15ab 194 ecx = (rdx + 1).d 0x15ae 195 flag:c = edx u< 0x7a 0x15b1 196 r12b = flag:c 0x15b5 197 xmm1 = esi 0x15b9 198 xmm0 = ecx 0x15bd 199 xmm0 = _mm_unpacklo_epi32(xmm0, xmm1.q) 0x15c4 200 if (ecx != 0x7b) then 70 @ 0x1450 else 208 @ 0x15ca 0x1305 201 rbx = rsp + 0xc {var_5c} 0x130a 202 rdi = 0x2020 {"%c"} 0x1311 203 rsi = rbx {var_5c} 0x1314 204 eax = 0 0x1316 205 call(0x1050) 0x1320 206 if ([rsp + 0xc {var_5c}].b == 0x20) then 12 @ 0x13f9 else 209 @ 0x1326 0x15fe 207 goto 63 @ 0x15dd 0x15ca 208 goto 46 @ 0x15d3 0x1326 209 rbx = rsp + 0xd {var_5b} 0x132b 210 rdi = 0x2020 {"%c"} 0x1332 211 rsi = rbx {var_5b} 0x1335 212 eax = 0 0x1337 213 call(0x1050) 0x1341 214 if ([rsp + 0xd {var_5b}].b == 0x20) then 12 @ 0x13f9 else 215 @ 0x1347 0x1347 215 rbx = rsp + 0xe {var_5a} 0x134c 216 rdi = 0x2020 {"%c"} 0x1353 217 rsi = rbx {var_5a} 0x1356 218 eax = 0 0x1358 219 call(0x1050) 0x1362 220 if ([rsp + 0xe {var_5a}].b == 0x20) then 12 @ 0x13f9 else 221 @ 0x1368 0x1368 221 rbx = rsp + 0xf {var_59} 0x136d 222 rdi = 0x2020 {"%c"} 0x1374 223 rsi = rbx {var_59} 0x1377 224 eax = 0 0x1379 225 call(0x1050) 0x1383 226 if ([rsp + 0xf {var_59}].b == 0x20) then 12 @ 0x13f9 else 227 @ 0x1385 0x1385 227 rbx = rsp + 0x10 {var_58} 0x138a 228 rdi = 0x2020 {"%c"} 0x1391 229 rsi = rbx {var_58} 0x1394 230 eax = 0 0x1396 231 call(0x1050) 0x13a0 232 if ([rsp + 0x10 {var_58}].b == 0x20) then 12 @ 0x13f9 else 233 @ 0x13a2 0x13a2 233 rbx = rsp + 0x11 {var_57} 0x13a7 234 rdi = 0x2020 {"%c"} 0x13ae 235 rsi = rbx {var_57} 0x13b1 236 eax = 0 0x13b3 237 call(0x1050) 0x13bd 238 if ([rsp + 0x11 {var_57}].b == 0x20) then 12 @ 0x13f9 else 239 @ 0x13bf 0x13bf 239 rbx = rsp + 0x12 {var_56} 0x13c4 240 rdi = 0x2020 {"%c"} 0x13cb 241 rsi = rbx {var_56} 0x13ce 242 eax = 0 0x13d0 243 call(0x1050) 0x13da 244 if ([rsp + 0x12 {var_56}].b == 0x20) then 12 @ 0x13f9 else 245 @ 0x13dc 0x13dc 245 rbx = rsp + 0x13 {var_55} 0x13e1 246 rdi = 0x2020 {"%c"} 0x13e8 247 rsi = rbx {var_55} 0x13eb 248 eax = 0 0x13ed 249 call(0x1050) 0x13f7 250 if ([rsp + 0x13 {var_55}].b != 0x20) then 20 @ 0x13fc else 12 @ 0x13f9 int64_t _fini(): 0x1604 0 rsp = rsp - 8 0x1608 1 rsp = rsp + 8 0x160c 2 <return> jump(pop)
POJ_36
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 - 0x1f68 0x1161 7 rdi = 0x201a {"%d"} 0x1168 8 rsi = rsp + 0xc {var_1f8c} 0x116d 9 eax = 0 0x116f 10 call(0x1030) 0x1174 11 rdi = 0x2018 {"%d%d"} 0x117b 12 rsi = rsp + 0x10 {var_1f88} 0x1180 13 rdx = rsp + 0x14 {var_1f84} 0x1185 14 eax = 0 0x1187 15 call(0x1030) 0x1191 16 if ([rsp + 0xc {var_1f8c}].d s< 2) then 17 @ 0x126d else 26 @ 0x1197 0x126d 17 eax = 0 0x126f 18 rsp = rsp + 0x1f68 0x1276 19 rbx = pop 0x1277 20 r12 = pop 0x1279 21 r13 = pop 0x127b 22 r14 = pop 0x127d 23 r15 = pop 0x127f 24 rbp = pop 0x1280 25 <return> jump(pop) 0x1197 26 xmm1.q = float.d([rsp + 0x14 {var_1f84}].d) 0x119d 27 xmm1.q = xmm1.q f* fconvert.t([0x2008].q) 0x11a5 28 xmm0.q = float.d([rsp + 0x10 {var_1f88}].d) 0x11ab 29 xmm1.q = xmm1.q f/ xmm0.q 0x11af 30 [rsp + 0x18 {var_1f80_1}].q = xmm1.q 0x11b5 31 r14 = rsp + 0x20 {var_1f78} 0x11ba 32 rbx = rsp + 0xfc0 {var_fd8} 0x11c2 33 r15 = 0x2018 {"%d%d"} 0x11c9 34 r12 = 0x2022 {"worse"} 0x11d0 35 rbp = 0x2028 {"better"} 0x11d7 36 r13d = 0 0x11da 37 goto 38 @ 0x11ff 0x11ff 38 rdi = r15 0x1202 39 rsi = rbx 0x1205 40 rdx = r14 0x1208 41 eax = 0 0x120a 42 call(0x1030) 0x120f 43 xmm0 = 0 0x1212 44 xmm0.q = float.d([r14].d) 0x1217 45 xmm0.q = xmm0.q f* fconvert.t([0x2008].q) 0x121f 46 xmm1 = 0 0x1222 47 xmm1.q = float.d([rbx].d) 0x1226 48 xmm0.q = xmm0.q f/ xmm1.q 0x122a 49 xmm2 = zx.o([rsp + 0x18 {var_1f80_1}].q) 0x1230 50 xmm1 = xmm2 0x1234 51 xmm1.q = xmm1.q f- xmm0.q 0x1238 52 xmm3 = zx.o([0x2010].q) 0x1240 53 flag:p = is_unordered.q(xmm1.q, xmm3.q) 0x1240 54 flag:c = xmm1.q f< xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x1240 55 flag:z = xmm1.q f== xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x1240 56 flag:s = 0 0x1240 57 flag:o = 0 0x1240 58 flag:a = 0 0x1244 59 xmm1 = xmm3 0x1248 60 rax = r12 0x124b 61 if (not(flag:z) && not(flag:c)) then 62 @ 0x1254 else 71 @ 0x124d 0x1254 62 xmm0.q = xmm0.q f- xmm2.q 0x1258 63 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1258 64 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1258 65 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1258 66 flag:s = 0 0x1258 67 flag:o = 0 0x1258 68 flag:a = 0 0x125c 69 rdi = rbp 0x125f 70 if (not(flag:z) && not(flag:c)) then 73 @ 0x11e0 else 80 @ 0x1265 0x124d 71 rax = 0x201d {"same"} 0x124d 72 goto 62 @ 0x1254 0x11e0 73 call(0x1040) 0x11e5 74 r13 = r13 + 1 0x11e9 75 rax = sx.q([rsp + 0xc {var_1f8c}].d) 0x11ee 76 rax = rax - 1 0x11f2 77 r14 = r14 + 4 0x11f6 78 rbx = rbx + 4 0x11fd 79 if (r13 s>= rax) then 17 @ 0x126d else 38 @ 0x11ff 0x1265 80 rdi = rax 0x1268 81 goto 73 @ 0x11e0 int64_t _fini(): 0x1288 0 rsp = rsp - 8 0x128c 1 rsp = rsp + 8 0x1290 2 <return> jump(pop)
POJ_67
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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\t"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r12) 0x1157 4 push(rbx) 0x1158 5 rsp = rsp - 0x970 0x115f 6 rdi = 0x2007 {"%d"} 0x1166 7 r14d = 0 0x1169 8 rsi = rsp + 0xc {var_98c} 0x116e 9 eax = 0 0x1170 10 call(0x1040) 0x117a 11 if ([rsp + 0xc {var_98c}].d s<= 0) then 12 @ 0x12a4 else 24 @ 0x1180 0x12a4 12 rdi = 0x2007 {"%d"} 0x12ab 13 esi = r14d 0x12ae 14 eax = 0 0x12b0 15 call(0x1030) 0x12b5 16 eax = 0 0x12b7 17 rsp = rsp + 0x970 0x12be 18 rbx = pop 0x12bf 19 r12 = pop 0x12c1 20 r14 = pop 0x12c3 21 r15 = pop 0x12c5 22 rbp = pop 0x12c6 23 <return> jump(pop) 0x1180 24 r14 = rsp + 0x10 {var_988} 0x1185 25 r12 = rsp + 0x4c0 {var_4d8} 0x118d 26 r15 = 0x2004 {"%d %d"} 0x1194 27 ebx = 0 0x1196 28 goto 29 @ 0x11a0 0x11a0 29 rdi = r15 0x11a3 30 rsi = r12 0x11a6 31 rdx = r14 0x11a9 32 eax = 0 0x11ab 33 call(0x1040) 0x11b0 34 rbx = rbx + 1 0x11b4 35 rax = sx.q([rsp + 0xc {var_98c}].d) 0x11b9 36 r14 = r14 + 4 0x11bd 37 r12 = r12 + 4 0x11c4 38 if (rbx s< rax) then 29 @ 0x11a0 else 39 @ 0x11c6 0x11c6 39 r8d = eax 0x11cc 40 if (r8d s<= 0) then 41 @ 0x12a1 else 43 @ 0x11d2 0x12a1 41 r14d = 0 0x12a1 42 goto 12 @ 0x12a4 0x11d2 43 eax = [rsp + 0x10 {var_988}].d 0x11d6 44 ecx = 0xffffff73 {""} 0x11db 45 edx = [rsp + 0x4c0 {var_4d8}].d 0x11e2 46 edx = edx + ecx 0x11e4 47 flag:c = edx u< -0x33 0x11e7 48 dl = flag:c 0x11ea 49 eax = eax - 0x5b 0x11ed 50 flag:c = eax u< -0x1f 0x11f0 51 r9b = flag:c 0x11f4 52 r9b = r9b | dl 0x11f7 53 esi = 0 0x11f9 54 rdi = rsp + 0x10 {var_988} 0x11fe 55 rax = rsp + 0x4c0 {var_4d8} 0x1206 56 r14d = 0 0x1209 57 goto 58 @ 0x1231 0x1231 58 if (r9b == 0) then 59 @ 0x1270 else 61 @ 0x1233 0x1270 59 edx = 0 0x127c 60 goto 64 @ 0x1280 0x1233 61 edx = [rsp + (rsi << 2) + 0x4c0].d 0x123a 62 edx = edx + ecx 0x123f 63 if (edx u< -0x33) then 68 @ 0x121d else 72 @ 0x1241 0x1280 64 ebp = [rax + (rdx << 2)].d 0x1283 65 ebp = ebp + ecx 0x1285 66 rbx = rdx + 1 0x128c 67 if (ebp u< -0x33) then 75 @ 0x1210 else 77 @ 0x128e 0x121d 68 rsi = rsi + 1 0x1221 69 rdi = rdi + 4 0x1225 70 rax = rax + 4 0x122c 71 if (rsi == r8) then 12 @ 0x12a4 else 58 @ 0x1231 0x1241 72 edx = [rsp + (rsi << 2) + 0x10].d 0x1245 73 edx = edx - 0x5b 0x124b 74 if (edx u< -0x1f) then 68 @ 0x121d else 81 @ 0x124d 0x1210 75 ebx = ebx - 1 0x1216 76 if (r14d s>= ebx) then 84 else 86 @ 0x121a 0x128e 77 ebp = [rdi + (rdx << 2)].d 0x1291 78 ebp = ebp - 0x5b 0x1294 79 rdx = rbx 0x129a 80 if (ebp u> -0x20) then 64 @ 0x1280 else 88 @ 0x129c 0x124d 81 edx = [rsp + (rsi << 2) + 0x4bc].d 0x1254 82 edx = edx - 0x5a 0x125a 83 if (edx u> 0x32) then 59 @ 0x1270 else 89 @ 0x125c 0x1216 84 ebx = r14d 0x1216 85 goto 86 @ 0x121a 0x121a 86 r14d = ebx 0x121a 87 goto 68 @ 0x121d 0x129c 88 goto 75 @ 0x1210 0x125c 89 edx = [rsp + (rsi << 2) + 0xc].d 0x1260 90 edx = edx - 0x3c 0x1266 91 if (edx u< 0x1f) then 68 @ 0x121d else 92 @ 0x1268 0x1268 92 goto 59 @ 0x1270 uint64_t zh(int32_t arg1, int32_t arg2): 0x12d0 0 edi = edi - 0x5a 0x12d3 1 flag:c = edi u< 0x33 0x12d6 2 al = flag:c 0x12d9 3 esi = esi - 0x3c 0x12dc 4 flag:c = esi u< 0x1f 0x12df 5 cl = flag:c 0x12e2 6 cl = cl & al 0x12e4 7 eax = zx.d(cl) 0x12e7 8 <return> jump(pop) int64_t _fini(): 0x12ec 0 rsp = rsp - 8 0x12f0 1 rsp = rsp + 8 0x12f4 2 <return> jump(pop)
POJ_82
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t 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 = 0x11b0 {"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) void dnapair(char* arg1): 0x1150 0 cl = [rdi].b 0x1154 1 if (cl == 0) then 2 @ 0x11a4 else 3 @ 0x1156 0x11a4 2 <return> jump(pop) 0x1156 3 eax = 0 0x1158 4 r8 = 0x2004 {"nsssslssssssssssss %d"} 0x115f 5 rdx = rdi 0x1162 6 goto 7 @ 0x1186 0x1186 7 esi = sx.d(cl) 0x1189 8 esi = esi - 0x41 0x118f 9 if (esi u> 0x13) then 10 @ 0x1177 else 14 @ 0x1191 0x1177 10 rcx = sx.q(eax) 0x117a 11 rdx = rdi + rcx 0x117e 12 ecx = zx.d([rdi + rcx].b) 0x1184 13 if (cl == 0) then 2 @ 0x11a4 else 7 @ 0x1186 0x1191 14 cl = 0x54 {""} 0x1193 15 rsi = sx.q([r8 + (rsi << 2)].d) 0x1197 16 rsi = rsi + r8 0x119a 17 jump(rsi => 18 @ 0x1170, 20 @ 0x1172, 10 @ 0x1177, 23 @ 0x119c, 25 @ 0x11a0) 0x1170 18 cl = 0x43 {""} 0x1170 19 goto 20 @ 0x1172 0x1172 20 eax = eax + 1 0x1175 21 [rdx].b = cl 0x1175 22 goto 10 @ 0x1177 0x119c 23 cl = 0x47 {""} 0x119e 24 goto 20 @ 0x1172 0x11a0 25 cl = 0x41 {""} 0x11a2 26 goto 20 @ 0x1172 int32_t main(int32_t argc, char** argv, char** envp): 0x11b0 0 push(rbp) 0x11b1 1 push(r15) 0x11b3 2 push(r14) 0x11b5 3 push(rbx) 0x11b6 4 rsp = rsp - 0x4d8 0x11bd 5 rdi = 0x20a4 {"%d"} 0x11c4 6 rsi = rsp + 0xc {var_4ec} 0x11c9 7 eax = 0 0x11cb 8 call(0x1030) 0x11d5 9 if ([rsp + 0xc {var_4ec}].d s<= 0) then 10 @ 0x1274 else 17 @ 0x11db 0x1274 10 eax = 0 0x1276 11 rsp = rsp + 0x4d8 0x127d 12 rbx = pop 0x127e 13 r14 = pop 0x1280 14 r15 = pop 0x1282 15 rbp = pop 0x1283 16 <return> jump(pop) 0x11db 17 r14 = 0x20a7 {"%s"} 0x11e2 18 r15 = rsp + 0x10 {var_4e8} 0x11e7 19 rbx = 0x2054 {" %d"} 0x11ee 20 ebp = 0 0x11f0 21 goto 22 @ 0x1211 0x1211 22 rdi = r14 0x1214 23 rsi = r15 {var_4e8} 0x1217 24 eax = 0 0x1219 25 call(0x1030) 0x121e 26 dl = [rsp + 0x10 {var_4e8}].b 0x1224 27 if (dl == 0) then 28 @ 0x1200 else 32 @ 0x1226 0x1200 28 rdi = r15 {var_4e8} 0x1203 29 call(0x1040) 0x1208 30 ebp = ebp + 1 0x120f 31 if (ebp s>= [rsp + 0xc {var_4ec}].d) then 10 @ 0x1274 else 22 @ 0x1211 0x1226 32 eax = 0 0x1228 33 rcx = r15 {var_4e8} 0x122b 34 goto 35 @ 0x124b 0x124b 35 esi = sx.d(dl) 0x124e 36 esi = esi - 0x41 0x1254 37 if (esi u> 0x13) then 38 @ 0x1237 else 43 @ 0x1256 0x1237 38 rdx = sx.q(eax) 0x123a 39 rcx = rsp + rdx 0x123e 40 rcx = rcx + 0x10 0x1242 41 edx = zx.d([rsp + rdx + 0x10].b) 0x1249 42 if (dl == 0) then 28 @ 0x1200 else 35 @ 0x124b 0x1256 43 dl = 0x54 {""} 0x1258 44 rsi = sx.q([rbx + (rsi << 2)].d) 0x125c 45 rsi = rsi + rbx 0x125f 46 jump(rsi => 47 @ 0x1230, 49 @ 0x1232, 38 @ 0x1237, 52 @ 0x1261, 54 @ 0x1270) 0x1230 47 dl = 0x43 {""} 0x1230 48 goto 49 @ 0x1232 0x1232 49 eax = eax + 1 0x1235 50 [rcx].b = dl 0x1235 51 goto 38 @ 0x1237 0x1261 52 dl = 0x47 {""} 0x1263 53 goto 49 @ 0x1232 0x1270 54 dl = 0x41 {""} 0x1272 55 goto 49 @ 0x1232 int64_t _fini(): 0x1288 0 rsp = rsp - 8 0x128c 1 rsp = rsp + 8 0x1290 2 <return> jump(pop)
POJ_33
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"SH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0x410 0x1158 2 rdi = 0x2004 {"%lf"} 0x115f 3 rsi = rsp + 8 {var_410} 0x1164 4 eax = 0 0x1166 5 call(0x1040) 0x116b 6 rbx = 0x2008 {"%s"} 0x1172 7 rsi = rsp + 0x210 {var_208} 0x117a 8 rdi = rbx 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1184 11 rsi = rsp + 0x10 {var_408} 0x1189 12 rdi = rbx 0x118c 13 eax = 0 0x118e 14 call(0x1040) 0x1193 15 rdi = 0x200b {"error"} 0x119a 16 eax = 0 0x119c 17 call(0x1030) 0x11a1 18 eax = 0 0x11a3 19 rsp = rsp + 0x410 0x11aa 20 rbx = pop 0x11ab 21 <return> jump(pop) int64_t _fini(): 0x11b0 0 rsp = rsp - 8 0x11b4 1 rsp = rsp + 8 0x11b8 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) 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 - 0x290 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = rbp - 0xd0 {var_d8} 0x1179 5 al = 0 0x117b 6 call(0x1050) 0x1180 7 rdi = rbp - 0x1a0 {var_1a8} 0x1187 8 al = 0 0x1189 9 call(0x1050) 0x118e 10 rdi = rbp - 0x270 {var_278} 0x1195 11 al = 0 0x1197 12 call(0x1050) 0x119c 13 [rbp - 0x284 {var_28c}].d = 0 0x11a6 14 rdi = rbp - 0xd0 {var_d8} 0x11ad 15 call(0x1040) 0x11b2 16 [rbp - 0x27c {var_284}].d = eax 0x11b8 17 rdi = rbp - 0x1a0 {var_1a8} 0x11bf 18 call(0x1040) 0x11c4 19 [rbp - 0x280 {var_288}].d = eax 0x11ca 20 [rbp - 0x274 {var_27c}].d = 0 0x11ca 21 goto 22 @ 0x11d4 0x11d4 22 eax = [rbp - 0x274 {var_27c}].d 0x11e0 23 if (eax s>= [rbp - 0x27c {var_284}].d) then 24 @ 0x13ef else 28 @ 0x11e6 0x13ef 24 eax = 0 0x13f1 25 rsp = rsp + 0x290 0x13f8 26 rbp = pop 0x13f9 27 <return> jump(pop) 0x11e6 28 [rbp - 0x278 {var_280_1}].d = 0 0x11e6 29 goto 30 @ 0x11f0 0x11f0 30 eax = [rbp - 0x278 {var_280_1}].d 0x11fc 31 if (eax s>= [rbp - 0x280 {var_288}].d) then 32 @ 0x1312 else 36 @ 0x1202 0x1312 32 eax = [rbp - 0x274 {var_27c}].d 0x1318 33 ecx = [rbp - 0x27c {var_284}].d 0x131e 34 ecx = ecx - 1 0x1323 35 if (eax s<= ecx) then 40 @ 0x132e else 42 @ 0x1329 0x1202 36 eax = [rbp - 0x274 {var_27c}].d 0x1208 37 eax = eax + [rbp - 0x278 {var_280_1}].d 0x120e 38 eax = eax - 1 0x1217 39 if (eax s<= [rbp - 0x27c {var_284}].d) then 43 @ 0x1222 else 50 @ 0x121d 0x132e 40 eax = [rbp - 0x284 {var_28c}].d 0x133a 41 if (eax != [rbp - 0x280 {var_288}].d) then 51 @ 0x13b4 else 57 @ 0x1340 0x1329 42 goto 24 @ 0x13ef 0x1222 43 eax = [rbp - 0x274 {var_27c}].d 0x1228 44 eax = eax + [rbp - 0x278 {var_280_1}].d 0x122e 45 rax = sx.q(eax) 0x1230 46 eax = sx.d([rbp + rax - 0xd0].b) 0x1238 47 rcx = sx.q([rbp - 0x278 {var_280_1}].d) 0x123f 48 ecx = sx.d([rbp + rcx - 0x1a0].b) 0x1249 49 if (eax != ecx) then 59 @ 0x125e else 64 @ 0x124f 0x121d 50 goto 32 @ 0x1312 0x13b4 51 rax = sx.q([rbp - 0x274 {var_27c}].d) 0x13bb 52 esi = sx.d([rbp + rax - 0xd0].b) 0x13c3 53 rdi = 0x2007 {"%c"} 0x13ca 54 al = 0 0x13cc 55 call(0x1030) 0x13cc 56 goto 68 @ 0x13d1 0x1340 57 eax = [rbp - 0x280 {var_288}].d 0x134c 58 if (eax != [rbp - 0x284 {var_28c}].d) then 73 @ 0x137b else 78 @ 0x1352 0x125e 59 eax = [rbp - 0x274 {var_27c}].d 0x1264 60 eax = eax - 1 0x1267 61 rax = sx.q(eax) 0x1269 62 eax = sx.d([rbp + rax - 0xd0].b) 0x1274 63 if (eax == 0x20) then 83 @ 0x1287 else 85 @ 0x1281 0x124f 64 eax = [rbp - 0x284 {var_28c}].d 0x1255 65 eax = eax + 1 0x1258 66 [rbp - 0x284 {var_28c}].d = eax 0x1258 67 goto 59 @ 0x125e 0x13d1 68 [rbp - 0x284 {var_28c}].d = 0 0x13db 69 eax = [rbp - 0x274 {var_27c}].d 0x13e1 70 eax = eax + 1 0x13e4 71 [rbp - 0x274 {var_27c}].d = eax 0x13ea 72 goto 22 @ 0x11d4 0x137b 73 eax = [rbp - 0x274 {var_27c}].d 0x1381 74 eax = eax + [rbp - 0x280 {var_288}].d 0x1387 75 rax = sx.q(eax) 0x1389 76 eax = sx.d([rbp + rax - 0xd0].b) 0x1394 77 if (eax != 0x20) then 51 @ 0x13b4 else 86 @ 0x139a 0x1352 78 eax = [rbp - 0x274 {var_27c}].d 0x1358 79 eax = eax - 1 0x135b 80 rax = sx.q(eax) 0x135d 81 eax = sx.d([rbp + rax - 0xd0].b) 0x1368 82 if (eax != 0x20) then 51 @ 0x13b4 else 90 @ 0x1375 0x1287 83 eax = [rbp - 0x284 {var_28c}].d 0x1293 84 if (eax != [rbp - 0x280 {var_288}].d) then 91 @ 0x12f9 else 92 @ 0x1299 0x1281 85 if ([rbp - 0x274 {var_27c}].d != 0) then 91 @ 0x12f9 else 83 @ 0x1287 0x139a 86 eax = [rbp - 0x274 {var_27c}].d 0x13a0 87 ecx = [rbp - 0x27c {var_284}].d 0x13a6 88 ecx = ecx - [rbp - 0x280 {var_288}].d 0x13ae 89 if (eax == ecx) then 68 @ 0x13d1 else 51 @ 0x13b4 0x1375 90 if ([rbp - 0x274 {var_27c}].d != 0) then 51 @ 0x13b4 else 73 @ 0x137b 0x12f9 91 goto 97 @ 0x12fe 0x1299 92 eax = [rbp - 0x274 {var_27c}].d 0x129f 93 eax = eax + [rbp - 0x280 {var_288}].d 0x12a5 94 rax = sx.q(eax) 0x12a7 95 eax = sx.d([rbp + rax - 0xd0].b) 0x12b2 96 if (eax == 0x20) then 101 @ 0x12d2 else 109 @ 0x12b8 0x12fe 97 eax = [rbp - 0x278 {var_280_1}].d 0x1304 98 eax = eax + 1 0x1307 99 [rbp - 0x278 {var_280_1}].d = eax 0x130d 100 goto 30 @ 0x11f0 0x12d2 101 rsi = rbp - 0x270 {var_278} 0x12d9 102 rdi = 0x2004 {"%s"} 0x12e0 103 al = 0 0x12e2 104 call(0x1030) 0x12e7 105 eax = [rbp - 0x274 {var_27c}].d 0x12ed 106 eax = eax + [rbp - 0x280 {var_288}].d 0x12f3 107 [rbp - 0x274 {var_27c}].d = eax 0x12f3 108 goto 91 @ 0x12f9 0x12b8 109 eax = [rbp - 0x274 {var_27c}].d 0x12be 110 ecx = [rbp - 0x27c {var_284}].d 0x12c4 111 ecx = ecx - [rbp - 0x280 {var_288}].d 0x12cc 112 if (eax != ecx) then 91 @ 0x12f9 else 101 @ 0x12d2 int64_t _fini(): 0x1400 0 rsp = rsp - 8 0x1404 1 rsp = rsp + 8 0x1408 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 {"UAWAVAUATSPH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4040].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4040].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 push(rax) 0x115b 7 rdi = 0x2004 {"%d"} 0x1162 8 rsi = rsp + 4 {var_38+0x4} 0x1167 9 eax = 0 0x1169 10 call(0x1040) 0x1173 11 if ([rsp + 4 {var_38+0x4}].d s<= 0) then 12 @ 0x123c else 21 @ 0x1179 0x123c 12 eax = 0 0x123e 13 rsp = rsp + 8 0x1242 14 rbx = pop 0x1243 15 r12 = pop 0x1245 16 r13 = pop 0x1247 17 r14 = pop 0x1249 18 r15 = pop 0x124b 19 rbp = pop 0x124c 20 <return> jump(pop) 0x1179 21 r14 = 0x2004 {"%d"} 0x1180 22 r15 = 0x4054 {""} 0x1187 23 r12 = 0x2007 {"%d\n"} 0x118e 24 r13 = 0x4060 {""} 0x1195 25 ebp = 0 0x1197 26 goto 27 @ 0x11ce 0x11ce 27 [0x4050].d = 0 0x11d8 28 rdi = r14 0x11db 29 rsi = r15 0x11de 30 eax = 0 0x11e0 31 call(0x1040) 0x11e5 32 ecx = [0x4054].d 0x11eb 33 edi = 1 0x11f3 34 if (ecx s< 2) then 35 @ 0x11a0 else 46 @ 0x11f5 0x11a0 35 edi = edi - 1 0x11a3 36 esi = 1 0x11a8 37 edx = ecx 0x11aa 38 call(0x1250) 0x11af 39 esi = [0x4050].d 0x11b5 40 edx = [0x4054].d 0x11bb 41 rdi = r12 0x11be 42 eax = 0 0x11c0 43 call(0x1030) 0x11c5 44 ebp = ebp + 1 0x11cc 45 if (ebp s>= [rsp + 4 {var_38+0x4}].d) then 12 @ 0x123c else 27 @ 0x11ce 0x11f5 46 esi = ecx 0x11f7 47 esi = neg.d(esi) 0x11f9 48 edi = 1 0x11fe 49 ebx = 2 0x1203 50 goto 51 @ 0x1226 0x1226 51 eax = ecx 0x1228 52 temp2.d:temp3.d = sx.q(eax) 0x1228 53 edx = temp2.d 0x1228 54 eax = temp3.d 0x1229 55 temp4.d = edx 0x1229 56 temp5.d = eax 0x1229 57 temp0.d = divs.dp.d(temp4.d:temp5.d, ebx) 0x1229 58 temp6.d = edx 0x1229 59 temp7.d = eax 0x1229 60 temp1.d = mods.dp.d(temp6.d:temp7.d, ebx) 0x1229 61 eax = temp0.d 0x1229 62 edx = temp1.d 0x122d 63 if (edx != 0) then 64 @ 0x1210 else 70 @ 0x122f 0x1210 64 eax = (rsi + rbx).d 0x1213 65 eax = eax + 1 0x1216 66 edx = ebx 0x1218 67 edx = edx + 1 0x121b 68 ebx = edx 0x1220 69 if (eax == 1) then 35 @ 0x11a0 else 51 @ 0x1226 0x122f 70 rdi = sx.q(edi) 0x1232 71 [r13 + (rdi << 2)].d = ebx 0x1237 72 edi = edi + 1 0x123a 73 goto 64 @ 0x1210 void fff(int32_t arg1, int32_t arg2, int32_t arg3): 0x1250 0 push(rbp) 0x1251 1 push(r15) 0x1253 2 push(r14) 0x1255 3 push(r12) 0x1257 4 push(rbx) 0x125a 5 if (esi s<= edi) then 6 @ 0x1265 else 14 @ 0x125c 0x1265 6 ecx = edx 0x1267 7 ebx = esi 0x1269 8 r14d = edi 0x126c 9 rax = sx.q(esi) 0x126f 10 r15d = (r14 + 1).d 0x1273 11 rdx = 0x4060 {""} 0x127a 12 rbp = rdx + (rax << 2) 0x127e 13 goto 20 @ 0x1293 0x125c 14 rbx = pop 0x125d 15 r12 = pop 0x125f 16 r14 = pop 0x1261 17 r15 = pop 0x1263 18 rbp = pop 0x1264 19 <return> jump(pop) 0x1293 20 eax = ecx 0x1295 21 temp2.d:temp3.d = sx.q(eax) 0x1295 22 edx = temp2.d 0x1295 23 eax = temp3.d 0x1296 24 temp4.d = edx 0x1296 25 temp5.d = eax 0x1296 26 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp].d) 0x1296 27 temp6.d = edx 0x1296 28 temp7.d = eax 0x1296 29 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp].d) 0x1296 30 eax = temp0.d 0x1296 31 edx = temp1.d 0x129b 32 if (edx != 0) then 33 @ 0x1287 else 36 @ 0x129d 0x1287 33 ebx = ebx + 1 0x128a 34 rbp = rbp + 4 0x1291 35 if (r15d == ebx) then 14 @ 0x125c else 20 @ 0x1293 0x129d 36 r12d = eax 0x12a3 37 if (eax != 1) then 38 @ 0x12b0 else 39 @ 0x12a5 0x12b0 38 if (r12d s< 2) then 41 @ 0x1280 else 44 @ 0x12b2 0x12a5 39 [0x4050].d = [0x4050].d + 1 0x12a5 40 goto 38 @ 0x12b0 0x1280 41 ecx = [rbp].d 0x1283 42 ecx = ecx * r12d 0x1283 43 goto 33 @ 0x1287 0x12b2 44 edi = r14d 0x12b5 45 esi = ebx 0x12b7 46 edx = r12d 0x12ba 47 call(0x1250) 0x12bf 48 goto 41 @ 0x1280 int64_t _fini(): 0x12c8 0 rsp = rsp - 8 0x12cc 1 rsp = rsp + 8 0x12d0 2 <return> jump(pop)
POJ_1
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 - 0x3b78 0x1161 7 rdi = 0x2013 {"%d"} 0x1168 8 rsi = rsp + 0xc {var_3b9c} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1174 11 ecx = [rsp + 0xc {var_3b9c}].d 0x117a 12 if (ecx s<= 0) then 13 @ 0x1253 else 15 @ 0x1180 0x1253 13 eax = 0 0x1257 14 if (ecx s<= 0) then 18 @ 0x129b else 20 @ 0x1259 0x1180 15 rbx = rsp + 0x684 {var_3524} 0x1188 16 ebp = 0 0x118a 17 goto 24 @ 0x11b3 0x129b 18 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x129b 19 goto 40 @ 0x129f 0x1259 20 ecx = ecx 0x125b 21 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x125f 22 edx = 0 0x1261 23 goto 57 @ 0x127f 0x11b3 24 rsi = rbx - 0x34 0x11b7 25 r12 = rbx + 4 0x11bb 26 r15 = rbx + 8 0x11bf 27 r13 = rbx + 9 0x11c3 28 r14 = rbx + 0xc 0x11c7 29 [rsp {var_3ba8}].q = r14 0x11cb 30 rdi = 0x2004 {"%s %d %d %c %c %d"} 0x11d2 31 rdx = rbx 0x11d5 32 rcx = r12 0x11d8 33 r8 = r15 0x11db 34 r9 = r13 0x11de 35 eax = 0 0x11e0 36 call(0x1040) 0x11e5 37 eax = [rbx].d 0x11e7 38 edx = 0 0x11ef 39 if (eax s< 0x51) then 67 @ 0x1201 else 68 @ 0x11f1 0x129f 40 rcx = rax 0x12a2 41 rcx = rcx << 6 0x12a6 42 rcx = rcx + (rax << 2) 0x12aa 43 rsi = rsp + rcx 0x12ae 44 rsi = rsi + 0x650 0x12b5 45 xmm0 = zx.o([rsp + (rax << 3) + 0x10].q) 0x12bb 46 rdi = 0x2016 {"%s\n%.lf\n%.lf\n"} 0x12c2 47 al = 2 0x12c4 48 call(0x1030) 0x12c9 49 rsp = rsp + 0x3b78 0x12d0 50 rbx = pop 0x12d1 51 r12 = pop 0x12d3 52 r13 = pop 0x12d5 53 r14 = pop 0x12d7 54 r15 = pop 0x12d9 55 rbp = pop 0x12da 56 <return> jump(pop) 0x127f 57 xmm0 = zx.o([rsp + (rdx << 3) + 0x10].q) 0x1285 58 rsi = sx.q(eax) 0x1288 59 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + (rsi << 3) + 0x10].q)) 0x1288 60 flag:c = xmm0.q f< fconvert.t([rsp + (rsi << 3) + 0x10].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (rsi << 3) + 0x10].q)) 0x1288 61 flag:z = xmm0.q f== fconvert.t([rsp + (rsi << 3) + 0x10].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (rsi << 3) + 0x10].q)) 0x1288 62 flag:s = 0 0x1288 63 flag:o = 0 0x1288 64 flag:a = 0 0x128e 65 esi = edx 0x1290 66 if (not(flag:z) && not(flag:c)) then 71 @ 0x1270 else 75 @ 0x1292 0x1201 67 if (eax s< 0x56) then 77 @ 0x1213 else 79 @ 0x1203 0x11f1 68 cond:0 = [r14].d s> 0 0x11f5 69 edx = 0x1f40 {""} 0x11fa 70 if (cond:0) then 67 @ 0x1201 else 81 @ 0x11fc 0x1270 71 xmm1.q = xmm1.q f+ xmm0.q 0x1274 72 rdx = rdx + 1 0x1278 73 eax = esi 0x127d 74 if (rcx == rdx) then 83 @ 0x1296 else 57 @ 0x127f 0x1292 75 esi = eax 0x1294 76 goto 71 @ 0x1270 0x1213 77 ecx = (rdx + 0x7d0).d 0x121c 78 if (eax s< 0x5b) then 85 else 87 @ 0x1222 0x1203 79 ecx = (rdx + 0xfa0).d 0x120e 80 if ([r12].d s< 0x51) then 88 else 90 @ 0x1211 0x11fc 81 edx = 0 0x11fc 82 goto 67 @ 0x1201 0x1296 83 rax = sx.q(esi) 0x1299 84 goto 40 @ 0x129f 0x121c 85 ecx = edx 0x121c 86 goto 87 @ 0x1222 0x1222 87 if (eax s< 0x56) then 92 @ 0x1239 else 93 @ 0x1224 0x120e 88 ecx = edx 0x120e 89 goto 90 @ 0x1211 0x1211 90 edx = ecx 0x1211 91 goto 77 @ 0x1213 0x1239 92 if ([r12].d s< 0x51) then 95 @ 0x1190 else 102 @ 0x123f 0x1224 93 eax = (rcx + 0x3e8).d 0x122f 94 if ([r13].b != 0x59) then 104 else 106 @ 0x1232 0x1190 95 xmm0 = 0 0x1193 96 xmm0.q = float.d(ecx) 0x1197 97 [rsp + (rbp << 3) + 0x10].q = xmm0.q 0x119d 98 rbp = rbp + 1 0x11a1 99 rcx = sx.q([rsp + 0xc {var_3b9c}].d) 0x11a6 100 rbx = rbx + 0x44 0x11ad 101 if (rbp s>= rcx) then 13 @ 0x1253 else 24 @ 0x11b3 0x123f 102 eax = (rcx + 0x352).d 0x1249 103 if ([r15].b != 0x59) then 108 else 110 @ 0x124c 0x122f 104 eax = ecx 0x122f 105 goto 106 @ 0x1232 0x1232 106 ecx = eax 0x1232 107 goto 92 @ 0x1239 0x1249 108 eax = ecx 0x1249 109 goto 110 @ 0x124c 0x124c 110 ecx = eax 0x124e 111 goto 95 @ 0x1190 int64_t _fini(): 0x12e0 0 rsp = rsp - 8 0x12e4 1 rsp = rsp + 8 0x12e8 2 <return> jump(pop)
POJ_39
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 - 8 {var_10}].d = 0 0x1166 5 [rbp - 0x40 {var_48}].d = 0 0x116d 6 [rbp - 0x3c {var_44}].d = 0x1f {""} 0x1174 7 eax = [rbp - 8 {var_10}].d 0x1177 8 eax = eax + 0x1c 0x117a 9 [rbp - 0x38 {var_40}].d = eax 0x117d 10 [rbp - 0x34 {var_3c}].d = 0x1f {""} 0x1184 11 [rbp - 0x30 {var_38}].d = 0x1e {""} 0x118b 12 [rbp - 0x2c {var_34}].d = 0x1f {""} 0x1192 13 [rbp - 0x28 {var_30}].d = 0x1e {""} 0x1199 14 [rbp - 0x24 {var_2c}].d = 0x1f {""} 0x11a0 15 [rbp - 0x20 {var_28}].d = 0x1f {""} 0x11a7 16 [rbp - 0x1c {var_24}].d = 0x1e {""} 0x11ae 17 [rbp - 0x18 {var_20}].d = 0x1f {""} 0x11b5 18 [rbp - 0x14 {var_1c}].d = 0x1e {""} 0x11bc 19 [rbp - 0x10 {var_18}].d = 0x1f {""} 0x11c3 20 rdi = 0x2004 {"%d%d%d"} 0x11ca 21 rsi = rbp - 0x44 {var_4c} 0x11ce 22 rdx = rbp - 0x48 {var_50} 0x11d2 23 rcx = rbp - 0x4c {var_54} 0x11d6 24 al = 0 0x11d8 25 call(0x1040) 0x11dd 26 eax = [rbp - 0x44 {var_4c}].d 0x11e0 27 ecx = 4 0x11e5 28 temp2.d:temp3.d = sx.q(eax) 0x11e5 29 edx = temp2.d 0x11e5 30 eax = temp3.d 0x11e6 31 temp4.d = edx 0x11e6 32 temp5.d = eax 0x11e6 33 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11e6 34 temp6.d = edx 0x11e6 35 temp7.d = eax 0x11e6 36 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11e6 37 eax = temp0.d 0x11e6 38 edx = temp1.d 0x11eb 39 if (edx != 0) then 40 @ 0x1205 else 54 @ 0x11f1 0x1205 40 eax = [rbp - 0x44 {var_4c}].d 0x1208 41 ecx = 0x190 {""} 0x120d 42 temp8.d:temp9.d = sx.q(eax) 0x120d 43 edx = temp8.d 0x120d 44 eax = temp9.d 0x120e 45 temp10.d = edx 0x120e 46 temp11.d = eax 0x120e 47 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x120e 48 temp12.d = edx 0x120e 49 temp13.d = eax 0x120e 50 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x120e 51 eax = temp0.d 0x120e 52 edx = temp1.d 0x1213 53 if (edx != 0) then 68 @ 0x1220 else 72 @ 0x1219 0x11f1 54 eax = [rbp - 0x44 {var_4c}].d 0x11f4 55 ecx = 0x64 {""} 0x11f9 56 temp14.d:temp15.d = sx.q(eax) 0x11f9 57 edx = temp14.d 0x11f9 58 eax = temp15.d 0x11fa 59 temp16.d = edx 0x11fa 60 temp17.d = eax 0x11fa 61 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x11fa 62 temp18.d = edx 0x11fa 63 temp19.d = eax 0x11fa 64 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x11fa 65 eax = temp0.d 0x11fa 66 edx = temp1.d 0x11ff 67 if (edx != 0) then 72 @ 0x1219 else 40 @ 0x1205 0x1220 68 [rbp - 0x50 {var_58}].d = 0 0x1227 69 [rbp - 0x54 {var_5c}].d = 0 0x122e 70 [rbp - 0x58 {var_60}].d = 0 0x122e 71 goto 74 @ 0x1235 0x1219 72 [rbp - 8 {var_10_1}].d = 1 0x1219 73 goto 68 @ 0x1220 0x1235 74 eax = [rbp - 0x58 {var_60}].d 0x123b 75 if (eax s>= [rbp - 0x48 {var_50}].d) then 76 @ 0x125d else 87 @ 0x1241 0x125d 76 eax = [rbp - 0x50 {var_58}].d 0x1260 77 eax = eax + [rbp - 0x4c {var_54}].d 0x1263 78 [rbp - 0x54 {var_5c_1}].d = eax 0x1266 79 esi = [rbp - 0x54 {var_5c_1}].d 0x1269 80 rdi = 0x2008 {"%d"} 0x1270 81 al = 0 0x1272 82 call(0x1030) 0x1277 83 eax = 0 0x1279 84 rsp = rsp + 0x60 0x127d 85 rbp = pop 0x127e 86 <return> jump(pop) 0x1241 87 rax = sx.q([rbp - 0x58 {var_60}].d) 0x1245 88 eax = [rbp + (rax << 2) - 0x40].d 0x1249 89 eax = eax + [rbp - 0x50 {var_58}].d 0x124c 90 [rbp - 0x50 {var_58}].d = eax 0x124f 91 eax = [rbp - 0x58 {var_60}].d 0x1252 92 eax = eax + 1 0x1255 93 [rbp - 0x58 {var_60}].d = eax 0x1258 94 goto 74 @ 0x1235 int64_t _fini(): 0x1284 0 rsp = rsp - 8 0x1288 1 rsp = rsp + 8 0x128c 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 {"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) 0x1175 8 if ([rbp - 8 {var_10}].d s> 4) then 9 @ 0x118e else 11 @ 0x117b 0x118e 9 [rbp - 0xc {var_14_1}].d = 3 0x118e 10 goto 15 @ 0x1195 0x117b 11 rdi = 0x2007 {"empty\n"} 0x1182 12 al = 0 0x1184 13 call(0x1030) 0x1189 14 goto 18 @ 0x11f8 0x1195 15 eax = [rbp - 0xc {var_14_1}].d 0x1198 16 eax = eax + 2 0x119e 17 if (eax s> [rbp - 8 {var_10}].d) then 22 @ 0x11f3 else 23 @ 0x11a4 0x11f8 18 eax = 0 0x11fa 19 rsp = rsp + 0x10 0x11fe 20 rbp = pop 0x11ff 21 <return> jump(pop) 0x11f3 22 goto 18 @ 0x11f8 0x11a4 23 edi = [rbp - 0xc {var_14_1}].d 0x11a7 24 call(0x1200) 0x11af 25 if (eax == 0) then 26 @ 0x11e0 else 27 @ 0x11b5 0x11e0 26 goto 31 @ 0x11e5 0x11b5 27 edi = [rbp - 0xc {var_14_1}].d 0x11b8 28 edi = edi + 2 0x11bb 29 call(0x1200) 0x11c3 30 if (eax == 0) then 26 @ 0x11e0 else 35 @ 0x11c9 0x11e5 31 eax = [rbp - 0xc {var_14_1}].d 0x11e8 32 eax = eax + 2 0x11eb 33 [rbp - 0xc {var_14_1}].d = eax 0x11ee 34 goto 15 @ 0x1195 0x11c9 35 esi = [rbp - 0xc {var_14_1}].d 0x11cc 36 edx = [rbp - 0xc {var_14_1}].d 0x11cf 37 edx = edx + 2 0x11d2 38 rdi = 0x200e {"%d %d\n"} 0x11d9 39 al = 0 0x11db 40 call(0x1030) 0x11db 41 goto 26 @ 0x11e0 uint64_t prime(int32_t arg1): 0x1200 0 push(rbp) 0x1201 1 rbp = rsp {__saved_rbp} 0x1204 2 [rbp - 8 {var_10}].d = edi 0x1207 3 [rbp - 0xc {var_14}].d = 3 0x1207 4 goto 5 @ 0x120e 0x120e 5 eax = [rbp - 0xc {var_14}].d 0x1211 6 [rbp - 0x10 {var_18_1}].d = eax 0x1214 7 eax = [rbp - 8 {var_10}].d 0x1217 8 eax = eax - 1 0x121a 9 ecx = 2 0x121f 10 temp2.d:temp3.d = sx.q(eax) 0x121f 11 edx = temp2.d 0x121f 12 eax = temp3.d 0x1220 13 temp4.d = edx 0x1220 14 temp5.d = eax 0x1220 15 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x1220 16 temp6.d = edx 0x1220 17 temp7.d = eax 0x1220 18 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x1220 19 eax = temp0.d 0x1220 20 edx = temp1.d 0x1222 21 ecx = eax 0x1224 22 eax = [rbp - 0x10 {var_18_1}].d 0x1229 23 if (eax s> ecx) then 24 @ 0x125e else 26 @ 0x122f 0x125e 24 [rbp - 4 {var_c}].d = 1 0x125e 25 goto 39 @ 0x1265 0x122f 26 eax = [rbp - 8 {var_10}].d 0x1232 27 temp8.d:temp9.d = sx.q(eax) 0x1232 28 edx = temp8.d 0x1232 29 eax = temp9.d 0x1233 30 temp10.d = edx 0x1233 31 temp11.d = eax 0x1233 32 temp0.d = divs.dp.d(temp10.d:temp11.d, [rbp - 0xc {var_14}].d) 0x1233 33 temp12.d = edx 0x1233 34 temp13.d = eax 0x1233 35 temp1.d = mods.dp.d(temp12.d:temp13.d, [rbp - 0xc {var_14}].d) 0x1233 36 eax = temp0.d 0x1233 37 edx = temp1.d 0x1239 38 if (edx != 0) then 42 @ 0x124b else 43 @ 0x123f 0x1265 39 eax = [rbp - 4 {var_c}].d 0x1268 40 rbp = pop 0x1269 41 <return> jump(pop) 0x124b 42 goto 45 @ 0x1250 0x123f 43 [rbp - 4 {var_c}].d = 0 0x1246 44 goto 39 @ 0x1265 0x1250 45 eax = [rbp - 0xc {var_14}].d 0x1253 46 eax = eax + 2 0x1256 47 [rbp - 0xc {var_14}].d = eax 0x1259 48 goto 5 @ 0x120e int64_t _fini(): 0x1270 0 rsp = rsp - 8 0x1274 1 rsp = rsp + 8 0x1278 2 <return> jump(pop)
POJ_60
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) char* strcpy(char* arg1, char const* arg2): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 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 {"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) 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 - 0x168 0x1181 7 [rsp + 7 {var_191}].b = 0x20 {"@"} 0x1186 8 rbx = rsp + 0x30 {var_168} 0x118b 9 r14 = 0x2004 {"%s"} 0x1192 10 r15 = 0x2007 {"%c"} 0x1199 11 r12 = rsp + 7 {var_191} 0x119e 12 ebp = 0 0x119e 13 goto 14 @ 0x11a0 0x11a0 14 rdi = r14 0x11a3 15 rsi = rbx 0x11a6 16 eax = 0 0x11a8 17 call(0x1050) 0x11ad 18 rdi = r15 0x11b0 19 rsi = r12 {var_191} 0x11b3 20 eax = 0 0x11b5 21 call(0x1050) 0x11ba 22 rbp = rbp - 1 0x11be 23 rbx = rbx + 0xf 0x11c7 24 if ([rsp + 7 {var_191}].b != 0xa) then 14 @ 0x11a0 else 25 @ 0x11c9 0x11c9 25 rbx = 0x2004 {"%s"} 0x11d0 26 r15 = rsp + 0x21 {var_177} 0x11d5 27 rdi = rbx 0x11d8 28 rsi = r15 {var_177} 0x11db 29 eax = 0 0x11dd 30 call(0x1050) 0x11e2 31 r14 = rsp + 0x12 {var_186} 0x11e7 32 rdi = rbx 0x11ea 33 rsi = r14 {var_186} 0x11ed 34 eax = 0 0x11ef 35 call(0x1050) 0x11f4 36 r13d = ebp 0x11f7 37 r13d = neg.d(r13d) 0x11fa 38 r12 = -2 0x1201 39 r12 = r12 - rbp 0x1204 40 rax = rbp 0x1207 41 rax = not.q(rax) 0x120a 42 [rsp + 8 {var_190}].q = rax 0x120f 43 rbx = rsp + 0x30 {var_168} 0x1214 44 goto 45 @ 0x122a 0x122a 45 rdi = rbx 0x122d 46 rsi = r15 {var_177} 0x1230 47 call(0x1060) 0x1237 48 if (eax != 0) then 49 @ 0x1220 else 53 @ 0x1239 0x1220 49 rbx = rbx + 0xf 0x1224 50 temp0.q = r13 0x1224 51 r13 = r13 - 1 0x1228 52 if (temp0.q == 1) then 57 @ 0x1249 else 45 @ 0x122a 0x1239 53 rdi = rbx 0x123c 54 rsi = r14 {var_186} 0x123f 55 call(0x1040) 0x1244 56 goto 49 @ 0x1220 0x1249 57 if (ebp == -1) then 58 @ 0x1287 else 75 @ 0x124b 0x1287 58 eax = [rsp + 8 {var_190}].d 0x128b 59 rax = rax + (rax << 2) 0x128f 60 rax = rax + (rax << 1) 0x1293 61 rsi = rsp + rax 0x1297 62 rsi = rsi + 0x30 0x129b 63 rdi = 0x2004 {"%s"} 0x12a2 64 eax = 0 0x12a4 65 call(0x1030) 0x12a9 66 eax = 0 0x12ab 67 rsp = rsp + 0x168 0x12b2 68 rbx = pop 0x12b3 69 r12 = pop 0x12b5 70 r13 = pop 0x12b7 71 r14 = pop 0x12b9 72 r15 = pop 0x12bb 73 rbp = pop 0x12bc 74 <return> jump(pop) 0x124b 75 eax = 0 0x1250 76 if (r12d s<= 0) then 77 else 79 @ 0x1254 0x1250 77 r12d = eax 0x1250 78 goto 79 @ 0x1254 0x1254 79 r12 = r12 + 1 0x1258 80 rbx = rsp + 0x30 {var_168} 0x125d 81 r14 = 0x200a {"%s "} 0x126e 82 goto 83 @ 0x1270 0x1270 83 rdi = r14 0x1273 84 rsi = rbx 0x1276 85 eax = 0 0x1278 86 call(0x1030) 0x127d 87 rbx = rbx + 0xf 0x1281 88 temp1.q = r12 0x1281 89 r12 = r12 - 1 0x1285 90 if (temp1.q != 1) then 83 @ 0x1270 else 58 @ 0x1287 int64_t _fini(): 0x12c4 0 rsp = rsp - 8 0x12c8 1 rsp = rsp + 8 0x12cc 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) 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 {"UAWAVSHhH"} 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 - 0x68 0x116a 5 rbx = 0x2004 {"%d"} 0x1171 6 rsi = rsp {var_88} 0x1174 7 rdi = rbx 0x1177 8 eax = 0 0x1179 9 call(0x1040) 0x117e 10 rsi = rsp + 4 {var_84} 0x1183 11 rdi = rbx 0x1186 12 eax = 0 0x1188 13 call(0x1040) 0x118d 14 rsi = rsp + 8 {var_80} 0x1192 15 rdi = rbx 0x1195 16 eax = 0 0x1197 17 call(0x1040) 0x119c 18 rsi = rsp + 0xc {var_7c} 0x11a1 19 rdi = rbx 0x11a4 20 eax = 0 0x11a6 21 call(0x1040) 0x11ab 22 rsi = rsp + 0x10 {var_78} 0x11b0 23 rdi = rbx 0x11b3 24 eax = 0 0x11b5 25 call(0x1040) 0x11ba 26 rsi = rsp + 0x14 {var_74} 0x11bf 27 rdi = rbx 0x11c2 28 eax = 0 0x11c4 29 call(0x1040) 0x11c9 30 rsi = rsp + 0x18 {var_70} 0x11ce 31 rdi = rbx 0x11d1 32 eax = 0 0x11d3 33 call(0x1040) 0x11d8 34 rsi = rsp + 0x1c {var_6c} 0x11dd 35 rdi = rbx 0x11e0 36 eax = 0 0x11e2 37 call(0x1040) 0x11e7 38 rsi = rsp + 0x20 {var_68} 0x11ec 39 rdi = rbx 0x11ef 40 eax = 0 0x11f1 41 call(0x1040) 0x11f6 42 rsi = rsp + 0x24 {var_64} 0x11fb 43 rdi = rbx 0x11fe 44 eax = 0 0x1200 45 call(0x1040) 0x1205 46 rsi = rsp + 0x28 {var_60} 0x120a 47 rdi = rbx 0x120d 48 eax = 0 0x120f 49 call(0x1040) 0x1214 50 rsi = rsp + 0x2c {var_5c} 0x1219 51 rdi = rbx 0x121c 52 eax = 0 0x121e 53 call(0x1040) 0x1223 54 rsi = rsp + 0x30 {var_58} 0x1228 55 rdi = rbx 0x122b 56 eax = 0 0x122d 57 call(0x1040) 0x1232 58 rsi = rsp + 0x34 {var_54} 0x1237 59 rdi = rbx 0x123a 60 eax = 0 0x123c 61 call(0x1040) 0x1241 62 rsi = rsp + 0x38 {var_50} 0x1246 63 rdi = rbx 0x1249 64 eax = 0 0x124b 65 call(0x1040) 0x1250 66 rsi = rsp + 0x3c {var_4c} 0x1255 67 rdi = rbx 0x1258 68 eax = 0 0x125a 69 call(0x1040) 0x125f 70 rsi = rsp + 0x40 {var_48} 0x1264 71 rdi = rbx 0x1267 72 eax = 0 0x1269 73 call(0x1040) 0x126e 74 rsi = rsp + 0x44 {var_44} 0x1273 75 rdi = rbx 0x1276 76 eax = 0 0x1278 77 call(0x1040) 0x127d 78 rsi = rsp + 0x48 {var_40} 0x1282 79 rdi = rbx 0x1285 80 eax = 0 0x1287 81 call(0x1040) 0x128c 82 rsi = rsp + 0x4c {var_3c} 0x1291 83 rdi = rbx 0x1294 84 eax = 0 0x1296 85 call(0x1040) 0x129b 86 rsi = rsp + 0x50 {var_38} 0x12a0 87 rdi = rbx 0x12a3 88 eax = 0 0x12a5 89 call(0x1040) 0x12aa 90 rsi = rsp + 0x54 {var_34} 0x12af 91 rdi = rbx 0x12b2 92 eax = 0 0x12b4 93 call(0x1040) 0x12b9 94 rsi = rsp + 0x58 {var_30} 0x12be 95 rdi = rbx 0x12c1 96 eax = 0 0x12c3 97 call(0x1040) 0x12c8 98 rsi = rsp + 0x5c {var_2c} 0x12cd 99 rdi = rbx 0x12d0 100 eax = 0 0x12d2 101 call(0x1040) 0x12d7 102 rsi = rsp + 0x60 {var_28} 0x12dc 103 rdi = rbx 0x12df 104 eax = 0 0x12e1 105 call(0x1040) 0x12e6 106 eax = 0xffffffff {""} 0x12eb 107 ebx = 0x10 {""} 0x12f0 108 r15d = 1 0x12f6 109 r14 = 0x2007 {"%d %d %d\n"} 0x12fd 110 goto 111 @ 0x1312 0x1312 111 ebp = [rsp + rbx - 0x10].d 0x131a 112 if (ebp s< [rsp + rbx - 0xc].d) then 113 @ 0x1370 else 116 @ 0x1320 0x1370 113 ecx = ebp 0x1372 114 ebp = [rsp + rbx - 0xc].d 0x1378 115 if (ebp s< ecx) then 117 @ 0x13c0 else 119 @ 0x137e 0x1320 116 if (ebp s< [rsp + rbx - 8].d) then 113 @ 0x1370 else 120 @ 0x1326 0x13c0 117 ebp = [rsp + rbx - 8].d 0x13c6 118 if (ebp s< ecx) then 121 @ 0x1410 else 123 @ 0x13cc 0x137e 119 if (ebp s< [rsp + rbx - 8].d) then 117 @ 0x13c0 else 124 @ 0x1384 0x1326 120 if (ebp s< [rsp + rbx - 4].d) then 113 @ 0x1370 else 125 @ 0x132b 0x1410 121 ebp = [rsp + rbx - 4].d 0x1416 122 if (ebp s< ecx) then 126 @ 0x1460 else 128 @ 0x141c 0x13cc 123 if (ebp s< [rsp + rbx - 0xc].d) then 121 @ 0x1410 else 129 @ 0x13d2 0x1384 124 if (ebp s< [rsp + rbx - 4].d) then 117 @ 0x13c0 else 130 @ 0x1389 0x132b 125 if (ebp s< [rsp + rbx].d) then 113 @ 0x1370 else 131 @ 0x1330 0x1460 126 ebp = [rsp + rbx].d 0x1465 127 if (ebp s< ecx) then 132 @ 0x1300 else 135 @ 0x146f 0x141c 128 if (ebp s< [rsp + rbx - 0xc].d) then 126 @ 0x1460 else 136 @ 0x1422 0x13d2 129 if (ebp s< [rsp + rbx - 4].d) then 121 @ 0x1410 else 137 @ 0x13d7 0x1389 130 if (ebp s< [rsp + rbx].d) then 117 @ 0x13c0 else 138 @ 0x138f 0x1330 131 if (ebp s> [rsp {var_88}].d) then 113 @ 0x1370 else 139 @ 0x1336 0x1300 132 rbx = rbx + 0x14 0x1304 133 r15d = r15d + 1 0x130c 134 if (rbx == 0x74) then 140 @ 0x14cf else 111 @ 0x1312 0x146f 135 if (ebp s< [rsp + rbx - 0xc].d) then 132 @ 0x1300 else 141 @ 0x1479 0x1422 136 if (ebp s< [rsp + rbx - 8].d) then 126 @ 0x1460 else 142 @ 0x1427 0x13d7 137 if (ebp s< [rsp + rbx].d) then 121 @ 0x1410 else 143 @ 0x13dd 0x138f 138 if (ebp s> [rsp + 4 {var_84}].d) then 117 @ 0x13c0 else 144 @ 0x1395 0x1336 139 if (ebp s> [rsp + 0x14 {var_74}].d) then 113 @ 0x1370 else 145 @ 0x133c 0x14cf 140 if (eax != -1) then 146 @ 0x14dd else 153 @ 0x14d1 0x1479 141 if (ebp s< [rsp + rbx - 8].d) then 132 @ 0x1300 else 156 @ 0x1483 0x1427 142 if (ebp s< [rsp + rbx].d) then 126 @ 0x1460 else 157 @ 0x142d 0x13dd 143 if (ebp s> [rsp + 8 {var_80}].d) then 121 @ 0x1410 else 158 @ 0x13e3 0x1395 144 if (ebp s> [rsp + 0x18 {var_70}].d) then 117 @ 0x13c0 else 159 @ 0x139b 0x133c 145 if (ebp s> [rsp + 0x28 {var_60}].d) then 113 @ 0x1370 else 160 @ 0x1342 0x14dd 146 eax = 0 0x14df 147 rsp = rsp + 0x68 0x14e3 148 rbx = pop 0x14e4 149 r14 = pop 0x14e6 150 r15 = pop 0x14e8 151 rbp = pop 0x14e9 152 <return> jump(pop) 0x14d1 153 rdi = 0x2011 {"not found"} 0x14d8 154 call(0x1050) 0x14d8 155 goto 146 @ 0x14dd 0x1483 156 if (ebp s< [rsp + rbx - 4].d) then 132 @ 0x1300 else 161 @ 0x148d 0x142d 157 if (ebp s> [rsp + 0xc {var_7c}].d) then 126 @ 0x1460 else 162 @ 0x1433 0x13e3 158 if (ebp s> [rsp + 0x1c {var_6c}].d) then 121 @ 0x1410 else 163 @ 0x13e9 0x139b 159 if (ebp s> [rsp + 0x2c {var_5c}].d) then 117 @ 0x13c0 else 164 @ 0x13a1 0x1342 160 if (ebp s> [rsp + 0x3c {var_4c}].d) then 113 @ 0x1370 else 165 @ 0x1344 0x148d 161 if (ebp s> [rsp + 0x10 {var_78}].d) then 132 @ 0x1300 else 175 @ 0x1497 0x1433 162 if (ebp s> [rsp + 0x20 {var_68}].d) then 126 @ 0x1460 else 176 @ 0x1439 0x13e9 163 if (ebp s> [rsp + 0x30 {var_58}].d) then 121 @ 0x1410 else 177 @ 0x13ef 0x13a1 164 if (ebp s> [rsp + 0x40 {var_48}].d) then 117 @ 0x13c0 else 178 @ 0x13a3 0x1344 165 rdi = r14 0x1347 166 esi = r15d 0x134a 167 edx = 1 0x134f 168 ecx = ebp 0x1351 169 eax = 0 0x1353 170 call(0x1030) 0x1358 171 ecx = [rsp + rbx - 0x10].d 0x135c 172 eax = ebp 0x135e 173 ebp = [rsp + rbx - 0xc].d 0x1364 174 if (ebp s>= ecx) then 119 @ 0x137e else 187 @ 0x1366 0x1497 175 if (ebp s> [rsp + 0x24 {var_64}].d) then 132 @ 0x1300 else 188 @ 0x14a1 0x1439 176 if (ebp s> [rsp + 0x34 {var_54}].d) then 126 @ 0x1460 else 189 @ 0x143f 0x13ef 177 if (ebp s> [rsp + 0x44 {var_44}].d) then 121 @ 0x1410 else 190 @ 0x13f1 0x13a3 178 rdi = r14 0x13a6 179 esi = r15d 0x13a9 180 edx = 2 0x13ae 181 ecx = ebp 0x13b0 182 eax = 0 0x13b2 183 call(0x1030) 0x13b7 184 ecx = [rsp + rbx - 0x10].d 0x13bb 185 eax = ebp 0x13bd 186 goto 117 @ 0x13c0 0x1366 187 goto 117 @ 0x13c0 0x14a1 188 if (ebp s> [rsp + 0x38 {var_50}].d) then 132 @ 0x1300 else 199 @ 0x14ab 0x143f 189 if (ebp s> [rsp + 0x48 {var_40}].d) then 126 @ 0x1460 else 200 @ 0x1441 0x13f1 190 rdi = r14 0x13f4 191 esi = r15d 0x13f7 192 edx = 3 0x13fc 193 ecx = ebp 0x13fe 194 eax = 0 0x1400 195 call(0x1030) 0x1405 196 ecx = [rsp + rbx - 0x10].d 0x1409 197 eax = ebp 0x140b 198 goto 121 @ 0x1410 0x14ab 199 if (ebp s> [rsp + 0x4c {var_3c}].d) then 132 @ 0x1300 else 209 @ 0x14b1 0x1441 200 rdi = r14 0x1444 201 esi = r15d 0x1447 202 edx = 4 0x144c 203 ecx = ebp 0x144e 204 eax = 0 0x1450 205 call(0x1030) 0x1455 206 ecx = [rsp + rbx - 0x10].d 0x1459 207 eax = ebp 0x145b 208 goto 126 @ 0x1460 0x14b1 209 rdi = r14 0x14b4 210 esi = r15d 0x14b7 211 edx = 5 0x14bc 212 ecx = ebp 0x14be 213 eax = 0 0x14c0 214 call(0x1030) 0x14c5 215 eax = ebp 0x14c7 216 goto 132 @ 0x1300 int64_t _fini(): 0x14f0 0 rsp = rsp - 8 0x14f4 1 rsp = rsp + 8 0x14f8 2 <return> jump(pop)
POJ_73
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 {"UHHp"} 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 - 0x1e470 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = 0x2004 {"%d"} 0x1179 5 rsi = rbp - 0x10 {var_18} 0x117d 6 al = 0 0x117f 7 call(0x1040) 0x1184 8 [rbp - 8 {var_10}].d = 0 0x1184 9 goto 10 @ 0x118b 0x118b 10 eax = [rbp - 8 {var_10}].d 0x1191 11 if (eax s>= [rbp - 0x10 {var_18}].d) then 12 @ 0x13d8 else 14 @ 0x1197 0x13d8 12 [rbp - 8 {var_10_1}].d = 0 0x13d8 13 goto 23 @ 0x13df 0x1197 14 rax = sx.q([rbp - 8 {var_10}].d) 0x119b 15 rsi = rbp - 0xfb0 {var_fb8} 0x11a2 16 rax = rax << 2 0x11a6 17 rsi = rsi + rax 0x11a9 18 rdi = 0x2004 {"%d"} 0x11b0 19 al = 0 0x11b2 20 call(0x1040) 0x11b7 21 [rbp - 0xc {var_14_1}].d = 0 0x11b7 22 goto 25 @ 0x11be 0x13df 23 eax = [rbp - 8 {var_10_1}].d 0x13e5 24 if (eax s>= [rbp - 0x10 {var_18}].d) then 28 @ 0x1414 else 32 @ 0x13eb 0x11be 25 eax = [rbp - 0xc {var_14_1}].d 0x11c1 26 rcx = sx.q([rbp - 8 {var_10}].d) 0x11cc 27 if (eax s>= [rbp + (rcx << 2) - 0xfb0].d) then 41 @ 0x120e else 49 @ 0x11d2 0x1414 28 eax = 0 0x1416 29 rsp = rsp + 0x1e470 0x141d 30 rbp = pop 0x141e 31 <return> jump(pop) 0x13eb 32 rax = sx.q([rbp - 8 {var_10_1}].d) 0x13ef 33 xmm0 = zx.o([rbp + (rax << 3) - 0x1e470].q) 0x13f8 34 rdi = 0x200b {"%.5f\n"} 0x13ff 35 al = 1 0x1401 36 call(0x1030) 0x1406 37 eax = [rbp - 8 {var_10_1}].d 0x1409 38 eax = eax + 1 0x140c 39 [rbp - 8 {var_10_1}].d = eax 0x140f 40 goto 23 @ 0x13df 0x120e 41 rax = sx.q([rbp - 8 {var_10}].d) 0x1212 42 xmm0 = 0 0x1215 43 [rbp + (rax << 3) - 0x1a5f0].q = xmm0.q 0x121e 44 rax = sx.q([rbp - 8 {var_10}].d) 0x1222 45 xmm0 = 0 0x1225 46 [rbp + (rax << 3) - 0x16770].q = xmm0.q 0x122e 47 [rbp - 0xc {var_14_2}].d = 0 0x122e 48 goto 63 @ 0x1235 0x11d2 49 rax = sx.q([rbp - 8 {var_10}].d) 0x11d6 50 rsi = rbp - 0x14830 {var_14838} 0x11dd 51 rax = rax * 0x320 0x11e4 52 rsi = rsi + rax 0x11e7 53 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x11eb 54 rax = rax << 3 0x11ef 55 rsi = rsi + rax 0x11f2 56 rdi = 0x2007 {"%lf"} 0x11f9 57 al = 0 0x11fb 58 call(0x1040) 0x1200 59 eax = [rbp - 0xc {var_14_1}].d 0x1203 60 eax = eax + 1 0x1206 61 [rbp - 0xc {var_14_1}].d = eax 0x1209 62 goto 25 @ 0x11be 0x1235 63 eax = [rbp - 0xc {var_14_2}].d 0x1238 64 rcx = sx.q([rbp - 8 {var_10}].d) 0x1243 65 if (eax s>= [rbp + (rcx << 2) - 0xfb0].d) then 66 @ 0x128f else 75 @ 0x1249 0x128f 66 rax = sx.q([rbp - 8 {var_10}].d) 0x1293 67 xmm0 = zx.o([rbp + (rax << 3) - 0x1a5f0].q) 0x129c 68 rax = sx.q([rbp - 8 {var_10}].d) 0x12a0 69 xmm1.q = float.d([rbp + (rax << 2) - 0xfb0].d) 0x12a9 70 xmm0.q = xmm0.q f/ xmm1.q 0x12ad 71 rax = sx.q([rbp - 8 {var_10}].d) 0x12b1 72 [rbp + (rax << 3) - 0x1c530].q = xmm0.q 0x12ba 73 [rbp - 0xc {var_14_3}].d = 0 0x12ba 74 goto 89 @ 0x12c1 0x1249 75 rax = sx.q([rbp - 8 {var_10}].d) 0x124d 76 xmm0 = zx.o([rbp + (rax << 3) - 0x1a5f0].q) 0x1256 77 rcx = sx.q([rbp - 8 {var_10}].d) 0x125a 78 rax = rbp - 0x14830 {var_14838} 0x1261 79 rcx = rcx * 0x320 0x1268 80 rax = rax + rcx 0x126b 81 rcx = sx.q([rbp - 0xc {var_14_2}].d) 0x126f 82 xmm0.q = xmm0.q f+ fconvert.t([rax + (rcx << 3)].q) 0x1274 83 rax = sx.q([rbp - 8 {var_10}].d) 0x1278 84 [rbp + (rax << 3) - 0x1a5f0].q = xmm0.q 0x1281 85 eax = [rbp - 0xc {var_14_2}].d 0x1284 86 eax = eax + 1 0x1287 87 [rbp - 0xc {var_14_2}].d = eax 0x128a 88 goto 63 @ 0x1235 0x12c1 89 eax = [rbp - 0xc {var_14_3}].d 0x12c4 90 rcx = sx.q([rbp - 8 {var_10}].d) 0x12cf 91 if (eax s>= [rbp + (rcx << 2) - 0xfb0].d) then 92 @ 0x135b else 94 @ 0x12d5 0x135b 92 [rbp - 0xc {var_14_4}].d = 0 0x135b 93 goto 120 @ 0x1362 0x12d5 94 rcx = sx.q([rbp - 8 {var_10}].d) 0x12d9 95 rax = rbp - 0x14830 {var_14838} 0x12e0 96 rcx = rcx * 0x320 0x12e7 97 rax = rax + rcx 0x12ea 98 rcx = sx.q([rbp - 0xc {var_14_3}].d) 0x12ee 99 xmm0 = zx.o([rax + (rcx << 3)].q) 0x12f3 100 rax = sx.q([rbp - 8 {var_10}].d) 0x12f7 101 xmm0.q = xmm0.q f- fconvert.t([rbp + (rax << 3) - 0x1c530].q) 0x1300 102 rcx = sx.q([rbp - 8 {var_10}].d) 0x1304 103 rax = rbp - 0x14830 {var_14838} 0x130b 104 rcx = rcx * 0x320 0x1312 105 rax = rax + rcx 0x1315 106 rcx = sx.q([rbp - 0xc {var_14_3}].d) 0x1319 107 xmm1 = zx.o([rax + (rcx << 3)].q) 0x131e 108 rax = sx.q([rbp - 8 {var_10}].d) 0x1322 109 xmm1.q = xmm1.q f- fconvert.t([rbp + (rax << 3) - 0x1c530].q) 0x132b 110 xmm0.q = xmm0.q f* xmm1.q 0x132f 111 rax = sx.q([rbp - 8 {var_10}].d) 0x1333 112 xmm1.q = float.d([rbp + (rax << 2) - 0xfb0].d) 0x133c 113 xmm0.q = xmm0.q f/ xmm1.q 0x1340 114 rax = sx.q([rbp - 0xc {var_14_3}].d) 0x1344 115 [rbp + (rax << 3) - 0x186b0].q = xmm0.q 0x134d 116 eax = [rbp - 0xc {var_14_3}].d 0x1350 117 eax = eax + 1 0x1353 118 [rbp - 0xc {var_14_3}].d = eax 0x1356 119 goto 89 @ 0x12c1 0x1362 120 eax = [rbp - 0xc {var_14_4}].d 0x1365 121 rcx = sx.q([rbp - 8 {var_10}].d) 0x1370 122 if (eax s>= [rbp + (rcx << 2) - 0xfb0].d) then 123 @ 0x13ab else 132 @ 0x1376 0x13ab 123 rax = sx.q([rbp - 8 {var_10}].d) 0x13af 124 xmm0 = zx.o([rbp + (rax << 3) - 0x16770].q) 0x13b8 125 call(0x1050) 0x13bd 126 rax = sx.q([rbp - 8 {var_10}].d) 0x13c1 127 [rbp + (rax << 3) - 0x1e470].q = xmm0.q 0x13ca 128 eax = [rbp - 8 {var_10}].d 0x13cd 129 eax = eax + 1 0x13d0 130 [rbp - 8 {var_10}].d = eax 0x13d3 131 goto 10 @ 0x118b 0x1376 132 rax = sx.q([rbp - 8 {var_10}].d) 0x137a 133 xmm0 = zx.o([rbp + (rax << 3) - 0x16770].q) 0x1383 134 rax = sx.q([rbp - 0xc {var_14_4}].d) 0x1387 135 xmm0.q = xmm0.q f+ fconvert.t([rbp + (rax << 3) - 0x186b0].q) 0x1390 136 rax = sx.q([rbp - 8 {var_10}].d) 0x1394 137 [rbp + (rax << 3) - 0x16770].q = xmm0.q 0x139d 138 eax = [rbp - 0xc {var_14_4}].d 0x13a0 139 eax = eax + 1 0x13a3 140 [rbp - 0xc {var_14_4}].d = eax 0x13a6 141 goto 120 @ 0x1362 int64_t _fini(): 0x1424 0 rsp = rsp - 8 0x1428 1 rsp = rsp + 8 0x142c 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 {"AWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r13) 0x1156 3 push(r12) 0x1158 4 push(rbx) 0x1159 5 rsp = rsp - 0x61a90 0x1160 6 rdi = 0x2004 {"%d"} 0x1167 7 ebx = 0 0x1169 8 rsi = rsp + 0xc {var_61aac} 0x116e 9 eax = 0 0x1170 10 call(0x1040) 0x1175 11 r8d = [rsp + 0xc {var_61aac}].d 0x117d 12 if (r8d s<= 0) then 13 @ 0x120a else 15 @ 0x1183 0x120a 13 r15d = 1 0x120a 14 goto 20 @ 0x1210 0x1183 15 r8d = r8d + 1 0x1187 16 r15d = 1 0x118d 17 edi = 2 0x1192 18 ecx = 1 0x1197 19 goto 24 @ 0x11b3 0x1210 20 r12d = r15d 0x1213 21 r15d = r15d + 1 0x1217 22 r14 = 0x2007 {"%d %d\n"} 0x121e 23 goto 25 @ 0x1232 0x11b3 24 if (ecx u< 2) then 29 @ 0x11a0 else 35 @ 0x11b5 0x1232 25 r15d = r15d 0x1235 26 r13d = [rsp + (r12 << 2) + 0x10].d 0x123a 27 ebx = 1 0x123f 28 goto 37 @ 0x1259 0x11a0 29 ecx = ecx + 1 0x11a3 30 eax = (rdi + 1).d 0x11a6 31 ebx = ebx - 1 0x11a9 32 cond:0 = edi == r8d 0x11ac 33 edi = eax 0x11ae 34 if (cond:0) then 40 @ 0x11f5 else 24 @ 0x11b3 0x11b5 35 esi = 2 0x11ba 36 goto 41 @ 0x11de 0x1259 37 esi = [rsp + (rbx << 2) + 0x10].d 0x125d 38 eax = (rsi + r13).d 0x1265 39 if (eax != [rsp + 0xc {var_61aac}].d) then 53 @ 0x1250 else 55 @ 0x1267 0x11f5 40 if (r15d s> 0) then 20 @ 0x1210 else 60 @ 0x11f7 0x11de 41 eax = ecx 0x11e0 42 edx = 0 0x11e2 43 temp2.d = esi 0x11e2 44 temp3.d = edx 0x11e2 45 temp4.d = eax 0x11e2 46 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x11e2 47 temp5.d = edx 0x11e2 48 temp6.d = eax 0x11e2 49 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x11e2 50 eax = temp0.d 0x11e2 51 edx = temp1.d 0x11e6 52 if (edx != 0) then 68 @ 0x11cc else 74 @ 0x11e8 0x1250 53 rbx = rbx + 1 0x1257 54 if (r15 == rbx) then 76 @ 0x1220 else 37 @ 0x1259 0x1267 55 rdi = r14 0x126a 56 edx = r13d 0x126d 57 eax = 0 0x126f 58 call(0x1030) 0x1274 59 goto 53 @ 0x1250 0x11f7 60 eax = 0 0x11f9 61 rsp = rsp + 0x61a90 0x1200 62 rbx = pop 0x1201 63 r12 = pop 0x1203 64 r13 = pop 0x1205 65 r14 = pop 0x1207 66 r15 = pop 0x1209 67 <return> jump(pop) 0x11cc 68 eax = (rbx + rsi).d 0x11cf 69 eax = eax + 1 0x11d2 70 edx = esi 0x11d4 71 edx = edx + 1 0x11d7 72 esi = edx 0x11dc 73 if (eax == 2) then 29 @ 0x11a0 else 41 @ 0x11de 0x11e8 74 eax = (rbx + rsi).d 0x11ee 75 if (eax == 1) then 81 @ 0x11c0 else 85 @ 0x11f0 0x1220 76 rax = r12 - 1 0x1225 77 r15d = r15d - 1 0x1229 78 cond:1 = r12 s<= 1 0x122d 79 r12 = rax 0x1230 80 if (cond:1) then 60 @ 0x11f7 else 25 @ 0x1232 0x11c0 81 r15 = sx.q(r15d) 0x11c3 82 [rsp + (r15 << 2) + 0x10].d = ecx 0x11c8 83 r15d = r15d + 1 0x11c8 84 goto 68 @ 0x11cc 0x11f0 85 goto 29 @ 0x11a0 int64_t _fini(): 0x127c 0 rsp = rsp - 8 0x1280 1 rsp = rsp + 8 0x1284 2 <return> jump(pop)
POJ_43
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 r14d = 0 0x116f 5 rbx = rsp + 0x4b0 {var_2728} 0x1177 6 rdi = rbx {var_2728} 0x117a 7 eax = 0 0x117c 8 call(0x1050) 0x1181 9 rdi = rsp {var_2bd8} 0x1184 10 edx = 0x4b0 {"P"} 0x1189 11 esi = 0 0x118b 12 call(0x1040) 0x118b 13 goto 14 @ 0x1190 0x1190 14 eax = 1 0x1195 15 cl = [rbx].b 0x119a 16 if (cl != 0x20) then 17 @ 0x11b7 else 18 @ 0x119c 0x11b7 17 if (cl == 0) then 25 @ 0x11c6 else 30 @ 0x11b9 0x119c 18 ecx = 0 0x11a1 19 cl = eax == 1 0x11a4 20 r14d = r14d + ecx 0x11a7 21 eax = 0 0x11a9 22 rbx = rbx + 1 0x11ad 23 ecx = zx.d([rbx].b) 0x11b3 24 if (cl == 0x20) then 18 @ 0x119c else 17 @ 0x11b7 0x11c6 25 esi = [rsp {var_2bd8}].d 0x11c9 26 rdi = 0x2005 {"%d"} 0x11d0 27 eax = 0 0x11d2 28 call(0x1030) 0x11da 29 if (r14d s<= 0) then 34 @ 0x1206 else 39 @ 0x11dc 0x11b9 30 rax = sx.q(r14d) 0x11bc 31 [rsp + (rax << 2)].d = [rsp + (rax << 2)].d + 1 0x11c0 32 rbx = rbx + 1 0x11c4 33 goto 14 @ 0x1190 0x1206 34 rsp = rsp + 0x2bc0 0x120d 35 rbx = pop 0x120e 36 r14 = pop 0x1210 37 r15 = pop 0x1212 38 <return> jump(pop) 0x11dc 39 r14d = r14d + 1 0x11e0 40 ebx = 1 0x11e5 41 r15 = 0x2004 {",%d"} 0x11ec 42 goto 43 @ 0x11f0 0x11f0 43 esi = [rsp + (rbx << 2)].d 0x11f3 44 rdi = r15 0x11f6 45 eax = 0 0x11f8 46 call(0x1030) 0x11fd 47 rbx = rbx + 1 0x1204 48 if (r14 != rbx) then 43 @ 0x11f0 else 34 @ 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) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) double sqrt(double x): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1260 {"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) uint64_t f(double arg1, int32_t arg2, uint64_t arg3[0x2] @ zmm0): 0x1170 0 push(rbp) 0x1171 1 push(r14) 0x1173 2 push(rbx) 0x1174 3 rsp = rsp - 0x10 0x1178 4 r14d = 0 0x117b 5 cond:0 = esi s<= 4 0x117e 6 r14b = esi == 4 0x1182 7 if (cond:0) then 8 @ 0x11ce else 14 @ 0x1184 0x11ce 8 eax = r14d 0x11d1 9 rsp = rsp + 0x10 0x11d5 10 rbx = pop 0x11d6 11 r14 = pop 0x11d8 12 rbp = pop 0x11d9 13 <return> jump(pop) 0x1184 14 ebp = esi 0x1186 15 ebx = edi 0x1188 16 xmm2.q = float.d(esi) 0x118c 17 xmm1.q = float.d(edi) 0x1190 18 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1194 19 flag:p = is_unordered.q(xmm2.q, xmm0.q) 0x1194 20 flag:c = xmm2.q f< xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x1194 21 flag:z = xmm2.q f== xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x1194 22 flag:s = 0 0x1194 23 flag:o = 0 0x1194 24 flag:a = 0 0x1198 25 [rsp {var_28_1}].q = xmm2.q 0x119d 26 if (flag:c) then 27 @ 0x11ae else 39 @ 0x119f 0x11ae 27 xmm0 = xmm2 0x11b2 28 [rsp + 8 {var_20_1}].q = xmm1.q 0x11b8 29 call(0x1060) 0x11bd 30 xmm1 = zx.o([rsp + 8 {var_20_1}].q) 0x11c3 31 xmm2 = zx.o([rsp {var_28_1}].q) 0x11c8 32 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x11c8 33 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11c8 34 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11c8 35 flag:s = 0 0x11c8 36 flag:o = 0 0x11c8 37 flag:a = 0 0x11cc 38 if (not(flag:c)) then 48 @ 0x11da else 8 @ 0x11ce 0x119f 39 xmm0 = 0 0x11a2 40 xmm0 = _mm_sqrt_sd(xmm2.q) 0x11a6 41 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x11a6 42 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11a6 43 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11a6 44 flag:s = 0 0x11a6 45 flag:o = 0 0x11a6 46 flag:a = 0 0x11aa 47 if (flag:c) then 8 @ 0x11ce else 52 @ 0x11ac 0x11da 48 xmm0 = 0 0x11dd 49 xmm0 = _mm_sqrt_sd(xmm2.q) 0x11e1 50 [rsp + 8 {var_20_2}].q = xmm0.q 0x11e7 51 goto 53 @ 0x11fd 0x11ac 52 goto 48 @ 0x11da 0x11fd 53 eax = ebp 0x11ff 54 temp2.d:temp3.d = sx.q(eax) 0x11ff 55 edx = temp2.d 0x11ff 56 eax = temp3.d 0x1200 57 temp4.d = edx 0x1200 58 temp5.d = eax 0x1200 59 temp0.d = divs.dp.d(temp4.d:temp5.d, ebx) 0x1200 60 temp6.d = edx 0x1200 61 temp7.d = eax 0x1200 62 temp1.d = mods.dp.d(temp6.d:temp7.d, ebx) 0x1200 63 eax = temp0.d 0x1200 64 edx = temp1.d 0x1204 65 if (edx == 0) then 66 @ 0x1220 else 81 @ 0x1206 0x1220 66 edi = ebx 0x1222 67 esi = eax 0x1224 68 call(0x1170) 0x1229 69 xmm2 = zx.o([rsp {var_28_1}].q) 0x122e 70 r14d = r14d + eax 0x1231 71 r14d = r14d + 1 0x1235 72 ebx = ebx + 1 0x1238 73 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2008].q)) 0x1238 74 flag:c = xmm2.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm2.q, fconvert.t([0x2008].q)) 0x1238 75 flag:z = xmm2.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm2.q, fconvert.t([0x2008].q)) 0x1238 76 flag:s = 0 0x1238 77 flag:o = 0 0x1238 78 flag:a = 0 0x1240 79 xmm0 = zx.o([rsp + 8 {var_20_2}].q) 0x1246 80 if (not(flag:c)) then 90 @ 0x11f0 else 99 @ 0x1248 0x1206 81 ebx = ebx + 1 0x1209 82 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2008].q)) 0x1209 83 flag:c = xmm2.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm2.q, fconvert.t([0x2008].q)) 0x1209 84 flag:z = xmm2.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm2.q, fconvert.t([0x2008].q)) 0x1209 85 flag:s = 0 0x1209 86 flag:o = 0 0x1209 87 flag:a = 0 0x1211 88 xmm0 = zx.o([rsp + 8 {var_20_2}].q) 0x1217 89 if (not(flag:c)) then 90 @ 0x11f0 else 103 @ 0x1219 0x11f0 90 xmm1 = 0 0x11f3 91 xmm1.q = float.d(ebx) 0x11f7 92 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x11f7 93 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11f7 94 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11f7 95 flag:s = 0 0x11f7 96 flag:o = 0 0x11f7 97 flag:a = 0 0x11fb 98 if (flag:c) then 8 @ 0x11ce else 53 @ 0x11fd 0x1248 99 xmm0 = xmm2 0x124c 100 call(0x1060) 0x1251 101 xmm2 = zx.o([rsp {var_28_1}].q) 0x1256 102 goto 90 @ 0x11f0 0x1219 103 goto 99 @ 0x1248 int32_t main(int32_t argc, char** argv, char** envp): 0x1260 0 push(r15) 0x1262 1 push(r14) 0x1264 2 push(rbx) 0x1265 3 rsp = rsp - 0x1a0 0x126c 4 r15 = rsp + 0x10 {var_1a8} 0x1271 5 edx = 0x190 {""} 0x1276 6 rdi = r15 {var_1a8} 0x1279 7 esi = 0 0x127b 8 call(0x1040) 0x1280 9 rdi = 0x2010 {"%d"} 0x1287 10 rsi = rsp + 0xc {var_1ac} 0x128c 11 eax = 0 0x128e 12 call(0x1050) 0x1298 13 if ([rsp + 0xc {var_1ac}].d s<= 0) then 14 @ 0x1309 else 20 @ 0x129a 0x1309 14 eax = 0 0x130b 15 rsp = rsp + 0x1a0 0x1312 16 rbx = pop 0x1313 17 r14 = pop 0x1315 18 r15 = pop 0x1317 19 <return> jump(pop) 0x129a 20 r14 = 0x2010 {"%d"} 0x12a1 21 ebx = 0 0x12ad 22 goto 23 @ 0x12b0 0x12b0 23 rdi = r14 0x12b3 24 rsi = r15 0x12b6 25 eax = 0 0x12b8 26 call(0x1050) 0x12bd 27 rbx = rbx + 1 0x12c1 28 rax = sx.q([rsp + 0xc {var_1ac}].d) 0x12c6 29 r15 = r15 + 4 0x12cd 30 if (rbx s< rax) then 23 @ 0x12b0 else 31 @ 0x12d1 0x12d1 31 if (eax s<= 0) then 14 @ 0x1309 else 32 @ 0x12d3 0x12d3 32 r14 = 0x2013 {"%d\n"} 0x12da 33 ebx = 0 0x12dc 34 goto 35 @ 0x12e0 0x12e0 35 esi = [rsp + (rbx << 2) + 0x10].d 0x12e4 36 edi = 2 0x12e9 37 call(0x1170) 0x12ee 38 esi = (rax + 1).d 0x12f1 39 rdi = r14 0x12f4 40 eax = 0 0x12f6 41 call(0x1030) 0x12fb 42 rbx = rbx + 1 0x12ff 43 rax = sx.q([rsp + 0xc {var_1ac}].d) 0x1307 44 if (rbx s< rax) then 35 @ 0x12e0 else 14 @ 0x1309 int64_t _fini(): 0x131c 0 rsp = rsp - 8 0x1320 1 rsp = rsp + 8 0x1324 2 <return> jump(pop)
POJ_1
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) 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 - 0x186d0 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rsi = rbp - 0x2720 {var_2728} 0x1189 5 rdi = 0x2004 {"%s"} 0x1190 6 al = 0 0x1192 7 call(0x1060) 0x1197 8 rsi = rbp - 0x4e30 {var_4e38} 0x119e 9 rdi = 0x2004 {"%s"} 0x11a5 10 al = 0 0x11a7 11 call(0x1060) 0x11ac 12 [rbp - 0x4e44 {var_4e4c}].d = 0 0x11b6 13 rdi = rbp - 0x2720 {var_2728} 0x11bd 14 call(0x1050) 0x11c2 15 [rbp - 0x4e34 {var_4e3c}].d = eax 0x11c8 16 rdi = rbp - 0x4e30 {var_4e38} 0x11cf 17 call(0x1050) 0x11d4 18 [rbp - 0x4e38 {var_4e40}].d = eax 0x11da 19 eax = [rbp - 0x4e34 {var_4e3c}].d 0x11e6 20 if (eax == [rbp - 0x4e38 {var_4e40}].d) then 21 @ 0x11ff else 23 @ 0x11ec 0x11ff 21 [rbp - 0x4e3c {var_4e44_1}].d = 0 0x11ff 22 goto 27 @ 0x1209 0x11ec 23 rdi = 0x2007 {"NO\n"} 0x11f3 24 al = 0 0x11f5 25 call(0x1030) 0x11fa 26 goto 29 @ 0x13a0 0x1209 27 eax = [rbp - 0x4e3c {var_4e44_1}].d 0x1215 28 if (eax s>= [rbp - 0x4e34 {var_4e3c}].d) then 39 @ 0x1253 else 41 @ 0x121b 0x13a0 29 al = 0 0x13a2 30 call(0x1040) 0x13a7 31 al = 0 0x13a9 32 call(0x1040) 0x13ae 33 al = 0 0x13b0 34 call(0x1040) 0x13b5 35 eax = [rbp - 4 {var_c}].d 0x13b8 36 rsp = rsp + 0x186d0 0x13bf 37 rbp = pop 0x13c0 38 <return> jump(pop) 0x1253 39 [rbp - 0x4e3c {var_4e44_2}].d = 0 0x1253 40 goto 49 @ 0x125d 0x121b 41 rax = sx.q([rbp - 0x4e3c {var_4e44_1}].d) 0x1222 42 [rbp + (rax << 2) - 0xea90].d = 1 0x122d 43 rax = sx.q([rbp - 0x4e3c {var_4e44_1}].d) 0x1234 44 [rbp + (rax << 2) - 0x186d0].d = 1 0x123f 45 eax = [rbp - 0x4e3c {var_4e44_1}].d 0x1245 46 eax = eax + 1 0x1248 47 [rbp - 0x4e3c {var_4e44_1}].d = eax 0x124e 48 goto 27 @ 0x1209 0x125d 49 eax = [rbp - 0x4e3c {var_4e44_2}].d 0x1269 50 if (eax s>= [rbp - 0x4e34 {var_4e3c}].d) then 51 @ 0x130f else 53 @ 0x126f 0x130f 51 [rbp - 0x4e40 {var_4e48_2}].d = 0 0x130f 52 goto 55 @ 0x1319 0x126f 53 [rbp - 0x4e40 {var_4e48_1}].d = 0 0x126f 54 goto 57 @ 0x1279 0x1319 55 eax = [rbp - 0x4e40 {var_4e48_2}].d 0x1325 56 if (eax s>= [rbp - 0x4e34 {var_4e3c}].d) then 59 @ 0x1368 else 61 @ 0x132b 0x1279 57 eax = [rbp - 0x4e40 {var_4e48_1}].d 0x1285 58 if (eax s>= [rbp - 0x4e34 {var_4e3c}].d) then 63 @ 0x12f6 else 64 @ 0x128b 0x1368 59 eax = [rbp - 0x4e44 {var_4e4c}].d 0x1374 60 if (eax != [rbp - 0x4e34 {var_4e3c}].d) then 69 @ 0x138d else 73 @ 0x137a 0x132b 61 rax = sx.q([rbp - 0x4e40 {var_4e48_2}].d) 0x133a 62 if ([rbp + (rax << 2) - 0x186d0].d != 0) then 77 @ 0x134f else 78 @ 0x1340 0x12f6 63 goto 82 @ 0x12fb 0x128b 64 rax = sx.q([rbp - 0x4e3c {var_4e44_2}].d) 0x1292 65 eax = sx.d([rbp + rax - 0x2720].b) 0x129a 66 rcx = sx.q([rbp - 0x4e40 {var_4e48_1}].d) 0x12a1 67 ecx = sx.d([rbp + rcx - 0x4e30].b) 0x12ab 68 if (eax != ecx) then 86 @ 0x12dd else 87 @ 0x12b1 0x138d 69 rdi = 0x2007 {"NO\n"} 0x1394 70 al = 0 0x1396 71 call(0x1030) 0x1396 72 goto 89 @ 0x139b 0x137a 73 rdi = 0x200b {"YES\n"} 0x1381 74 al = 0 0x1383 75 call(0x1030) 0x1388 76 goto 89 @ 0x139b 0x134f 77 goto 90 @ 0x1354 0x1340 78 eax = [rbp - 0x4e44 {var_4e4c}].d 0x1346 79 eax = eax + 1 0x1349 80 [rbp - 0x4e44 {var_4e4c}].d = eax 0x1349 81 goto 77 @ 0x134f 0x12fb 82 eax = [rbp - 0x4e3c {var_4e44_2}].d 0x1301 83 eax = eax + 1 0x1304 84 [rbp - 0x4e3c {var_4e44_2}].d = eax 0x130a 85 goto 49 @ 0x125d 0x12dd 86 goto 94 @ 0x12e2 0x12b1 87 rax = sx.q([rbp - 0x4e40 {var_4e48_1}].d) 0x12c0 88 if ([rbp + (rax << 2) - 0x186d0].d != 1) then 86 @ 0x12dd else 98 @ 0x12c6 0x139b 89 goto 29 @ 0x13a0 0x1354 90 eax = [rbp - 0x4e40 {var_4e48_2}].d 0x135a 91 eax = eax + 1 0x135d 92 [rbp - 0x4e40 {var_4e48_2}].d = eax 0x1363 93 goto 55 @ 0x1319 0x12e2 94 eax = [rbp - 0x4e40 {var_4e48_1}].d 0x12e8 95 eax = eax + 1 0x12eb 96 [rbp - 0x4e40 {var_4e48_1}].d = eax 0x12f1 97 goto 57 @ 0x1279 0x12c6 98 rax = sx.q([rbp - 0x4e40 {var_4e48_1}].d) 0x12cd 99 [rbp + (rax << 2) - 0x186d0].d = 0 0x12d8 100 goto 63 @ 0x12f6 int64_t _fini(): 0x13c8 0 rsp = rsp - 8 0x13cc 1 rsp = rsp + 8 0x13d0 2 <return> jump(pop)
POJ_36
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 {"UAVSHH="} 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 - 0x10 0x1168 4 rdi = 0x2010 {"%d"} 0x116f 5 rsi = rsp + 0xc {var_1c} 0x1174 6 eax = 0 0x1176 7 call(0x1040) 0x1180 8 if ([rsp + 0xc {var_1c}].d s>= 5) then 9 @ 0x119b else 12 @ 0x1182 0x119b 9 ebx = 3 0x11a0 10 r14 = 0x2019 {"%d %d\n"} 0x11a7 11 goto 16 @ 0x11ce 0x1182 12 rdi = 0x2013 {"empty"} 0x1189 13 eax = 0 0x118b 14 call(0x1030) 0x118b 15 goto 25 @ 0x1190 0x11ce 16 xmm0 = 0 0x11d1 17 xmm0.q = float.d(ebx) 0x11d5 18 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11d5 19 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11d5 20 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11d5 21 flag:s = 0 0x11d5 22 flag:o = 0 0x11d5 23 flag:a = 0 0x11dd 24 if (flag:c) then 31 @ 0x1220 else 34 @ 0x11df 0x1190 25 eax = 0 0x1192 26 rsp = rsp + 0x10 0x1196 27 rbx = pop 0x1197 28 r14 = pop 0x1199 29 rbp = pop 0x119a 30 <return> jump(pop) 0x1220 31 call(0x1050) 0x1225 32 ecx = int.d(ftrunc(xmm0.q)) 0x122b 33 if (ecx s> 0) then 37 @ 0x11eb else 41 @ 0x122d 0x11df 34 xmm0 = _mm_sqrt_sd(xmm0.q) 0x11e3 35 ecx = int.d(ftrunc(xmm0.q)) 0x11e9 36 if (ecx s<= 0) then 41 @ 0x122d else 37 @ 0x11eb 0x11eb 37 edi = ecx 0x11ed 38 edi = neg.d(edi) 0x11ef 39 esi = 2 0x11fe 40 goto 43 @ 0x1200 0x122d 41 esi = 2 0x122d 42 goto 55 @ 0x1232 0x1200 43 eax = ebx 0x1202 44 edx = 0 0x1204 45 temp2.d = esi 0x1204 46 temp3.d = edx 0x1204 47 temp4.d = eax 0x1204 48 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1204 49 temp5.d = edx 0x1204 50 temp6.d = eax 0x1204 51 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1204 52 eax = temp0.d 0x1204 53 edx = temp1.d 0x1208 54 if (edx == 0) then 55 @ 0x1232 else 57 @ 0x120a 0x1232 55 ecx = ecx + 2 0x1237 56 if (esi != ecx) then 63 @ 0x11be else 69 @ 0x1239 0x120a 57 eax = (rdi + rsi).d 0x120d 58 eax = eax + 1 0x1210 59 edx = esi 0x1212 60 edx = edx + 1 0x1215 61 esi = edx 0x121a 62 if (eax != 2) then 43 @ 0x1200 else 79 @ 0x121c 0x11be 63 eax = (rbx + 1).d 0x11c1 64 ecx = [rsp + 0xc {var_1c}].d 0x11c5 65 ecx = ecx - 2 0x11c8 66 cond:0 = ebx s>= ecx 0x11ca 67 ebx = eax 0x11cc 68 if (cond:0) then 25 @ 0x1190 else 16 @ 0x11ce 0x1239 69 ebp = (rbx + 2).d 0x123c 70 xmm0 = 0 0x123f 71 xmm0.q = float.d(ebp) 0x1243 72 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1243 73 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1243 74 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1243 75 flag:s = 0 0x1243 76 flag:o = 0 0x1243 77 flag:a = 0 0x124b 78 if (flag:c) then 80 @ 0x12a0 else 83 @ 0x124d 0x121c 79 goto 69 @ 0x1239 0x12a0 80 call(0x1050) 0x12a5 81 ecx = int.d(ftrunc(xmm0.q)) 0x12ab 82 if (ecx s> 0) then 86 @ 0x1259 else 90 @ 0x12ad 0x124d 83 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1251 84 ecx = int.d(ftrunc(xmm0.q)) 0x1257 85 if (ecx s<= 0) then 90 @ 0x12ad else 86 @ 0x1259 0x1259 86 edi = ecx 0x125b 87 edi = neg.d(edi) 0x125d 88 esi = 2 0x126c 89 goto 92 @ 0x1270 0x12ad 90 esi = 2 0x12ad 91 goto 104 @ 0x12b2 0x1270 92 eax = ebp 0x1272 93 edx = 0 0x1274 94 temp2.d = esi 0x1274 95 temp7.d = edx 0x1274 96 temp8.d = eax 0x1274 97 temp0.d = divu.dp.d(temp7.d:temp8.d, temp2.d) 0x1274 98 temp9.d = edx 0x1274 99 temp10.d = eax 0x1274 100 temp1.d = modu.dp.d(temp9.d:temp10.d, temp2.d) 0x1274 101 eax = temp0.d 0x1274 102 edx = temp1.d 0x1278 103 if (edx == 0) then 104 @ 0x12b2 else 106 @ 0x127a 0x12b2 104 ecx = ecx + 2 0x12b7 105 if (esi == ecx) then 112 @ 0x11b0 else 118 @ 0x12bd 0x127a 106 eax = (rdi + rsi).d 0x127d 107 eax = eax + 1 0x1280 108 edx = esi 0x1282 109 edx = edx + 1 0x1285 110 esi = edx 0x128a 111 if (eax != 2) then 92 @ 0x1270 else 119 @ 0x128c 0x11b0 112 rdi = r14 0x11b3 113 esi = ebx 0x11b5 114 edx = ebp 0x11b7 115 eax = 0 0x11b9 116 call(0x1030) 0x11b9 117 goto 63 @ 0x11be 0x12bd 118 goto 63 @ 0x11be 0x128c 119 goto 112 @ 0x11b0 int64_t _fini(): 0x12c8 0 rsp = rsp - 8 0x12cc 1 rsp = rsp + 8 0x12d0 2 <return> jump(pop)
POJ_60
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 = 0x2005 {"%d"} 0x1176 5 rsi = rbp - 8 {var_10} 0x117a 6 al = 0 0x117c 7 call(0x1040) 0x1181 8 rdi = sx.q([rbp - 8 {var_10}].d) 0x1185 9 rdi = rdi << 2 0x1189 10 call(0x1050) 0x118e 11 [rbp - 0x10 {var_18}].q = rax 0x1192 12 [rbp - 0x14 {var_1c}].d = 0 0x1192 13 goto 14 @ 0x1199 0x1199 14 eax = [rbp - 0x14 {var_1c}].d 0x119f 15 if (eax s>= [rbp - 8 {var_10}].d) then 16 @ 0x11d0 else 21 @ 0x11a5 0x11d0 16 [rbp - 0x14 {var_1c_1}].d = 0 0x11d7 17 eax = [rbp - 8 {var_10}].d 0x11da 18 eax = eax - 1 0x11dd 19 [rbp - 0x18 {var_20}].d = eax 0x11dd 20 goto 32 @ 0x11e0 0x11a5 21 rsi = [rbp - 0x10 {var_18}].q 0x11a9 22 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x11ad 23 rax = rax << 2 0x11b1 24 rsi = rsi + rax 0x11b4 25 rdi = 0x2005 {"%d"} 0x11bb 26 al = 0 0x11bd 27 call(0x1040) 0x11c2 28 eax = [rbp - 0x14 {var_1c}].d 0x11c5 29 eax = eax + 1 0x11c8 30 [rbp - 0x14 {var_1c}].d = eax 0x11cb 31 goto 14 @ 0x1199 0x11e0 32 eax = [rbp - 0x14 {var_1c_1}].d 0x11e6 33 if (eax s>= [rbp - 0x18 {var_20}].d) then 34 @ 0x1235 else 41 @ 0x11ec 0x1235 34 rax = [rbp - 0x10 {var_18}].q 0x1239 35 esi = [rax].d 0x123b 36 rdi = 0x2005 {"%d"} 0x1242 37 al = 0 0x1244 38 call(0x1030) 0x1249 39 [rbp - 0x14 {var_1c_2}].d = 1 0x1249 40 goto 62 @ 0x1250 0x11ec 41 rax = [rbp - 0x10 {var_18}].q 0x11f0 42 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x11f4 43 eax = [rax + (rcx << 2)].d 0x11f7 44 [rbp - 0x1c {var_24_1}].d = eax 0x11fa 45 rax = [rbp - 0x10 {var_18}].q 0x11fe 46 rcx = sx.q([rbp - 0x18 {var_20}].d) 0x1202 47 edx = [rax + (rcx << 2)].d 0x1205 48 rax = [rbp - 0x10 {var_18}].q 0x1209 49 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x120d 50 [rax + (rcx << 2)].d = edx 0x1210 51 edx = [rbp - 0x1c {var_24_1}].d 0x1213 52 rax = [rbp - 0x10 {var_18}].q 0x1217 53 rcx = sx.q([rbp - 0x18 {var_20}].d) 0x121b 54 [rax + (rcx << 2)].d = edx 0x121e 55 eax = [rbp - 0x14 {var_1c_1}].d 0x1221 56 eax = eax + 1 0x1224 57 [rbp - 0x14 {var_1c_1}].d = eax 0x1227 58 eax = [rbp - 0x18 {var_20}].d 0x122a 59 eax = eax - 1 0x122d 60 [rbp - 0x18 {var_20}].d = eax 0x1230 61 goto 32 @ 0x11e0 0x1250 62 eax = [rbp - 0x14 {var_1c_2}].d 0x1256 63 if (eax s>= [rbp - 8 {var_10}].d) then 64 @ 0x1283 else 68 @ 0x125c 0x1283 64 eax = 0 0x1285 65 rsp = rsp + 0x20 0x1289 66 rbp = pop 0x128a 67 <return> jump(pop) 0x125c 68 rax = [rbp - 0x10 {var_18}].q 0x1260 69 rcx = sx.q([rbp - 0x14 {var_1c_2}].d) 0x1264 70 esi = [rax + (rcx << 2)].d 0x1267 71 rdi = 0x2004 {" %d"} 0x126e 72 al = 0 0x1270 73 call(0x1030) 0x1275 74 eax = [rbp - 0x14 {var_1c_2}].d 0x1278 75 eax = eax + 1 0x127b 76 [rbp - 0x14 {var_1c_2}].d = eax 0x127e 77 goto 62 @ 0x1250 int64_t _fini(): 0x1290 0 rsp = rsp - 8 0x1294 1 rsp = rsp + 8 0x1298 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 = 0x11a0 {"UAWAVSPH=V"} 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 factor(int32_t arg1, int32_t arg2): 0x1150 0 push(rbp) 0x1151 1 push(r14) 0x1153 2 push(rbx) 0x1154 3 r14d = 0 0x1157 4 cond:0 = edi s<= esi 0x1159 5 if (edi s< esi) then 6 @ 0x118e else 11 @ 0x115b 0x118e 6 eax = r14d 0x1191 7 rbx = pop 0x1192 8 r14 = pop 0x1194 9 rbp = pop 0x1195 10 <return> jump(pop) 0x115b 11 r14d = 1 0x1161 12 if (cond:0) then 6 @ 0x118e else 13 @ 0x1163 0x1163 13 ebx = esi 0x1165 14 ebp = edi 0x1167 15 r14d = 1 0x116d 16 goto 17 @ 0x1177 0x1177 17 eax = ebp 0x1179 18 temp2.d:temp3.d = sx.q(eax) 0x1179 19 edx = temp2.d 0x1179 20 eax = temp3.d 0x117a 21 temp4.d = edx 0x117a 22 temp5.d = eax 0x117a 23 temp0.d = divs.dp.d(temp4.d:temp5.d, ebx) 0x117a 24 temp6.d = edx 0x117a 25 temp7.d = eax 0x117a 26 temp1.d = mods.dp.d(temp6.d:temp7.d, ebx) 0x117a 27 eax = temp0.d 0x117a 28 edx = temp1.d 0x117e 29 if (edx != 0) then 30 @ 0x1170 else 32 @ 0x1180 0x1170 30 ebx = ebx + 1 0x1175 31 if (ebp == ebx) then 6 @ 0x118e else 17 @ 0x1177 0x1180 32 edi = eax 0x1182 33 esi = ebx 0x1184 34 call(0x1150) 0x1189 35 r14d = r14d + eax 0x118c 36 goto 30 @ 0x1170 int32_t main(int32_t argc, char** argv, char** envp): 0x11a0 0 push(rbp) 0x11a1 1 push(r15) 0x11a3 2 push(r14) 0x11a5 3 push(rbx) 0x11a6 4 push(rax) 0x11a7 5 rdi = 0x2004 {"%d"} 0x11ae 6 rsi = rsp {var_28} 0x11b1 7 eax = 0 0x11b3 8 call(0x1040) 0x11bc 9 if ([rsp {var_28}].d s<= 0) then 10 @ 0x120f else 21 @ 0x11be 0x120f 10 rdi = 0x2004 {"%d"} 0x1216 11 rsi = rsp {var_28} 0x1219 12 eax = 0 0x121b 13 call(0x1040) 0x1220 14 eax = 0 0x1222 15 rsp = rsp + 8 0x1226 16 rbx = pop 0x1227 17 r14 = pop 0x1229 18 r15 = pop 0x122b 19 rbp = pop 0x122c 20 <return> jump(pop) 0x11be 21 r14 = 0x2004 {"%d"} 0x11c5 22 r15 = rsp + 4 {var_28+0x4} 0x11ca 23 rbx = 0x2007 {"%d\n"} 0x11d1 24 ebp = 0 0x11dd 25 goto 26 @ 0x11e0 0x11e0 26 rdi = r14 0x11e3 27 rsi = r15 {var_28+0x4} 0x11e6 28 eax = 0 0x11e8 29 call(0x1040) 0x11ed 30 edi = [rsp + 4 {var_28+0x4}].d 0x11f1 31 esi = 2 0x11f6 32 call(0x1150) 0x11fb 33 rdi = rbx 0x11fe 34 esi = eax 0x1200 35 eax = 0 0x1202 36 call(0x1030) 0x1207 37 ebp = ebp + 1 0x120d 38 if (ebp s< [rsp {var_28}].d) then 26 @ 0x11e0 else 10 @ 0x120f int64_t _fini(): 0x1234 0 rsp = rsp - 8 0x1238 1 rsp = rsp + 8 0x123c 2 <return> jump(pop)
POJ_1
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 - 0x2d0 0x116c 4 r15d = 0xffffffb9 {""} 0x1172 5 xmm0 = 0 0x1175 6 [rsp + 0xc0 {var_228}].o = xmm0 0x117d 7 [rsp + 0xb0 {var_238}].o = xmm0 0x1185 8 [rsp + 0xa0 {var_248}].o = xmm0 0x118d 9 [rsp + 0x90 {var_258}].o = xmm0 0x1195 10 [rsp + 0x80 {var_268}].o = xmm0 0x119d 11 [rsp + 0x70 {var_278}].o = xmm0 0x11a2 12 [rsp + 0x60 {var_288}].o = xmm0 0x11a7 13 [rsp + 0x50 {var_298}].o = xmm0 0x11ac 14 [rsp + 0x40 {var_2a8}].o = xmm0 0x11b1 15 [rsp + 0x30 {var_2b8}].o = xmm0 0x11b6 16 [rsp + 0x20 {var_2c8}].o = xmm0 0x11bb 17 [rsp + 0x10 {var_2d8}].o = xmm0 0x11c0 18 [rsp {var_2e8}].o = xmm0 0x11c4 19 rdi = 0x2004 {"%s"} 0x11cb 20 ebx = 0 0x11cd 21 r14 = rsp + 0xd0 {var_218} 0x11d5 22 rsi = r14 {var_218} 0x11d8 23 eax = 0 0x11da 24 call(0x1050) 0x11df 25 rdi = r14 {var_218} 0x11e2 26 call(0x1040) 0x11e7 27 cond:0 = rax u>= 2 0x11eb 28 ecx = 1 0x11f0 29 if (cond:0) then 30 else 32 @ 0x11f4 0x11f0 30 rcx = rax 0x11f0 31 goto 32 @ 0x11f4 0x11f4 32 eax = 1 0x11f9 33 edx = 0 0x11fb 34 goto 35 @ 0x1209 0x1209 35 rsi = sx.q([rsp + rbx + 0xd0].b) 0x1212 36 edi = (rsi - 0x61).d 0x1219 37 if (dil u> 0x19) then 38 @ 0x1228 else 40 @ 0x121b 0x1228 38 edi = (rsi - 0x41).d 0x122f 39 if (dil u> 0x19) then 43 @ 0x1200 else 45 @ 0x1231 0x121b 40 edi = (rsi + r15).d 0x121f 41 [rsp + (rdi << 2)].d = [rsp + (rdi << 2)].d + 1 0x1225 42 if (edx == 0) then 49 else 51 0x1200 43 rbx = rbx + 1 0x1207 44 if (rcx == rbx) then 52 @ 0x1244 else 35 @ 0x1209 0x1231 45 esi = esi + r15d 0x1234 46 esi = esi + 6 0x1237 47 [rsp + (rsi << 2)].d = [rsp + (rsi << 2)].d + 1 0x123d 48 if (edx == 0) then 53 else 55 @ 0x1240 0x1225 49 edx = eax 0x1225 50 goto 51 0x1225 51 goto 38 @ 0x1228 0x1244 52 if (edx == 0) then 56 @ 0x12b1 else 60 @ 0x1246 0x123d 53 edx = eax 0x123d 54 goto 55 @ 0x1240 0x1240 55 goto 43 @ 0x1200 0x12b1 56 rdi = 0x200e {"No"} 0x12b8 57 eax = 0 0x12ba 58 call(0x1030) 0x12ba 59 goto 63 @ 0x12bf 0x1246 60 r14 = 0x2007 {"%c=%d\n"} 0x124d 61 ebx = 0 0x124f 62 goto 69 @ 0x126a 0x12bf 63 eax = 0 0x12c1 64 rsp = rsp + 0x2d0 0x12c8 65 rbx = pop 0x12c9 66 r14 = pop 0x12cb 67 r15 = pop 0x12cd 68 <return> jump(pop) 0x126a 69 edx = [rsp + (rbx << 2)].d 0x126f 70 if (edx == 0) then 71 @ 0x1260 else 73 @ 0x1271 0x1260 71 rbx = rbx + 1 0x1268 72 if (rbx == 0x1a) then 78 @ 0x1280 else 69 @ 0x126a 0x1271 73 esi = (rbx + 0x41).d 0x1274 74 rdi = r14 0x1277 75 eax = 0 0x1279 76 call(0x1030) 0x127e 77 goto 71 @ 0x1260 0x1280 78 r14 = 0x2007 {"%c=%d\n"} 0x1287 79 ebx = 0 0x1289 80 goto 81 @ 0x129a 0x129a 81 edx = [rsp + (rbx << 2) + 0x68].d 0x12a0 82 if (edx == 0) then 83 @ 0x1290 else 85 @ 0x12a2 0x1290 83 rbx = rbx + 1 0x1298 84 if (rbx == 0x1a) then 63 @ 0x12bf else 81 @ 0x129a 0x12a2 85 esi = (rbx + 0x61).d 0x12a5 86 rdi = r14 0x12a8 87 eax = 0 0x12aa 88 call(0x1030) 0x12af 89 goto 83 @ 0x1290 int64_t _fini(): 0x12d4 0 rsp = rsp - 8 0x12d8 1 rsp = rsp + 8 0x12dc 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 {"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 - 0x9df8 0x1161 7 rdi = 0x2007 {"%d"} 0x1168 8 rsi = rsp + 0x14 {var_9e14} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1179 11 if ([rsp + 0x14 {var_9e14}].d s<= 0) then 12 @ 0x14d6 else 21 @ 0x117f 0x14d6 12 eax = 0 0x14d8 13 rsp = rsp + 0x9df8 0x14df 14 rbx = pop 0x14e0 15 r12 = pop 0x14e2 16 r13 = pop 0x14e4 17 r14 = pop 0x14e6 18 r15 = pop 0x14e8 19 rbp = pop 0x14e9 20 <return> jump(pop) 0x117f 21 r14 = 0x2004 {"%d %d"} 0x1186 22 r15 = rsp + 0x10 {var_9e18} 0x118b 23 r13 = 0x2007 {"%d"} 0x1192 24 ecx = 0 0x1194 25 goto 26 @ 0x11ea 0x11ea 26 [rsp + 0x18 {var_9e10_1}].q = rcx 0x11ef 27 rdi = r14 0x11f2 28 rsi = r15 {var_9e18} 0x11f5 29 rdx = rsp + 0xc {var_9e1c} 0x11fa 30 eax = 0 0x11fc 31 call(0x1040) 0x1201 32 ecx = [rsp + 0x10 {var_9e18}].d 0x1207 33 if (ecx s<= 0) then 34 @ 0x12b0 else 37 @ 0x120d 0x12b0 34 esi = 0 0x12b2 35 r9d = [rsp + 0xc {var_9e1c}].d 0x12b7 36 goto 39 @ 0x1331 0x120d 37 eax = [rsp + 0xc {var_9e1c}].d 0x1213 38 if (eax s<= 0) then 42 @ 0x128c else 46 @ 0x1215 0x1331 39 ecx = ecx - 1 0x1334 40 r8 = sx.q(ecx) 0x133a 41 if (r9d s<= 0) then 50 @ 0x11a0 else 64 @ 0x1340 0x128c 42 r9d = [rsp + 0xc {var_9e1c}].d 0x1291 43 rdx = sx.q(r9d) 0x1294 44 r8d = ecx 0x129a 45 if (ecx != 1) then 66 @ 0x12c0 else 72 @ 0x129c 0x1215 46 rbp = r14 0x1218 47 r14 = rsp + 0x1b0 {var_9c78} 0x1220 48 r15d = 0 0x1223 49 goto 75 @ 0x1245 0x11a0 50 rax = sx.q(r9d) 0x11a3 51 ecx = [rsp + (rax << 2) + 0x1ac].d 0x11aa 52 rdx = r8 * 0x190 0x11b1 53 ecx = ecx + [rsp + 0x1b0 {var_9c78}].d 0x11b8 54 ecx = ecx + [rsp + rdx + 0x1b0].d 0x11bf 55 rdx = rdx + rsp 0x11c2 56 rdx = rdx + 0x1b0 0x11c9 57 ecx = ecx + [rdx + (rax << 2) - 4].d 0x11cd 58 esi = esi - ecx 0x11cf 59 rcx = [rsp + 0x18 {var_9e10_1}].q 0x11d4 60 [rsp + (rcx << 2) + 0x20].d = esi 0x11d8 61 rcx = rcx + 1 0x11dc 62 rax = sx.q([rsp + 0x14 {var_9e14}].d) 0x11e4 63 if (rcx s>= rax) then 76 @ 0x1499 else 26 @ 0x11ea 0x1340 64 edx = r9d 0x1347 65 if (r9d u>= 8) then 77 @ 0x1350 else 85 @ 0x1349 0x12c0 66 r10d = r8d 0x12c3 67 r10d = r10d & 0xfffffffe 0x12c7 68 eax = 0 0x12c9 69 rbx = rsp + 0x1b0 {var_9c78} 0x12d1 70 ebp = 0 0x12dd 71 goto 87 @ 0x12e0 0x129c 72 eax = 0 0x129e 73 esi = 0 0x12a0 74 goto 97 @ 0x130d 0x1245 75 if (eax s<= 0) then 98 @ 0x1230 else 102 @ 0x1247 0x1499 76 if (eax s<= 0) then 12 @ 0x14d6 else 105 @ 0x149b 0x1350 77 edi = edx 0x1352 78 edi = edi & 0xfffffff8 0x1355 79 xmm0 = esi 0x1359 80 rax = rdi - 8 0x135d 81 rcx = rax 0x1360 82 rcx = rcx u>> 3 0x1364 83 rcx = rcx + 1 0x136b 84 if (rax == 0) then 108 @ 0x1486 else 111 @ 0x1371 0x1349 85 edi = 0 0x134b 86 goto 120 @ 0x145a 0x12e0 87 edi = [rbx + (rdx << 2) - 4].d 0x12e4 88 edi = edi + [rbx].d 0x12e6 89 esi = [rbx + (rdx << 2) + 0x18c].d 0x12ed 90 edi = edi + ebp 0x12ef 91 esi = esi + [rbx + 0x190].d 0x12f5 92 esi = esi + edi 0x12f7 93 rax = rax + 2 0x12fb 94 rbx = rbx + 0x320 0x1302 95 ebp = esi 0x1307 96 if (r10 != rax) then 87 @ 0x12e0 else 97 @ 0x130d 0x130d 97 if ((r8b & 1) == 0) then 39 @ 0x1331 else 125 @ 0x130f 0x1230 98 r15 = r15 + 1 0x1234 99 rdx = sx.q(ecx) 0x1237 100 r14 = r14 + 0x190 0x1241 101 if (r15 s>= rdx) then 133 @ 0x1280 else 75 @ 0x1245 0x1247 102 rbx = r14 0x124a 103 r12d = 0 0x124d 104 goto 137 @ 0x1250 0x149b 105 rbx = 0x200a {"%d\n"} 0x14a2 106 ebp = 0 0x14ae 107 goto 145 @ 0x14b0 0x1486 108 xmm1 = 0 0x148a 109 ebx = 0 0x148f 110 if ((cl & 1) != 0) then 150 @ 0x1402 else 160 @ 0x1495 0x1371 111 rsi = rcx 0x1374 112 rsi = rsi & 0xfffffffffffffffe 0x1378 113 rax = r8 * 0x190 0x137f 114 rbp = rsp + 0x1e0 {var_9c48} 0x1387 115 rax = rax + rbp 0x138a 116 xmm2 = 0 0x138e 117 ebx = 0 0x1390 118 xmm3 = xmm0 0x139e 119 goto 161 @ 0x13a0 0x145a 120 rax = rsp + (rdi << 2) 0x145e 121 rax = rax + 0x1b0 0x1464 122 rcx = r8 * 0x190 0x146b 123 rdx = rdx - rdi 0x146e 124 goto 179 @ 0x1470 0x130f 125 rdx = rdx - 1 0x1313 126 rax = rax * 0x190 0x131a 127 rdi = rsp + rax 0x131e 128 rdi = rdi + 0x1b0 0x1325 129 edx = [rdi + (rdx << 2)].d 0x1328 130 edx = edx + [rsp + rax + 0x1b0].d 0x132f 131 esi = esi + edx 0x132f 132 goto 39 @ 0x1331 0x1280 133 cond:0 = ecx s<= 0 0x1282 134 r14 = rbp 0x1285 135 r15 = rsp + 0x10 {var_9e18} 0x128a 136 if (cond:0) then 34 @ 0x12b0 else 42 @ 0x128c 0x1250 137 rdi = r13 0x1253 138 rsi = rbx 0x1256 139 eax = 0 0x1258 140 call(0x1040) 0x125d 141 r12 = r12 + 1 0x1261 142 rax = sx.q([rsp + 0xc {var_9e1c}].d) 0x1266 143 rbx = rbx + 4 0x126d 144 if (r12 s< rax) then 137 @ 0x1250 else 186 @ 0x126f 0x14b0 145 eax = eax - 1 0x14b3 146 cond:1 = rbp == rax 0x14b6 147 esi = [rsp + (rbp << 2) + 0x20].d 0x14ba 148 rdi = rbx 0x14bd 149 if (cond:1) then 188 else 190 @ 0x14c1 0x1402 150 rax = r8 * 0x190 0x1409 151 rax = rax + rsp 0x140c 152 rax = rax + 0x1b0 0x1412 153 xmm2 = [rax + (rbx << 2)].o 0x1417 154 xmm3 = [rax + (rbx << 2) + 0x10].o 0x141d 155 xmm2 = __paddd_xmmdq_memdq(xmm2, [rsp + (rbx << 2) + 0x1b0].o) 0x1426 156 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x142a 157 xmm3 = __paddd_xmmdq_memdq(xmm3, [rsp + (rbx << 2) + 0x1c0].o) 0x1433 158 xmm1 = _mm_add_epi32(xmm1, xmm3) 0x1433 159 goto 195 @ 0x1437 0x1495 160 goto 195 @ 0x1437 0x13a0 161 xmm4 = [rax + (rbx << 2) - 0x30].o 0x13a6 162 xmm5 = [rax + (rbx << 2) - 0x20].o 0x13ac 163 xmm0 = [rax + (rbx << 2) - 0x10].o 0x13b2 164 xmm1 = [rax + (rbx << 2)].o 0x13b7 165 xmm4 = __paddd_xmmdq_memdq(xmm4, [rsp + (rbx << 2) + 0x1b0].o) 0x13c0 166 xmm4 = _mm_add_epi32(xmm4, xmm3) 0x13c4 167 xmm5 = __paddd_xmmdq_memdq(xmm5, [rsp + (rbx << 2) + 0x1c0].o) 0x13cd 168 xmm5 = _mm_add_epi32(xmm5, xmm2) 0x13d1 169 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rbx << 2) + 0x1d0].o) 0x13da 170 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rbx << 2) + 0x1e0].o) 0x13e3 171 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x13e7 172 xmm1 = _mm_add_epi32(xmm1, xmm5) 0x13eb 173 rbx = rbx + 0x10 0x13ef 174 xmm3 = xmm0 0x13f3 175 xmm2 = xmm1 0x13f7 176 temp0.q = rsi 0x13f7 177 rsi = rsi - 2 0x13fb 178 if (temp0.q != 2) then 161 @ 0x13a0 else 202 @ 0x1400 0x1470 179 edi = [rax + rcx].d 0x1473 180 edi = edi + [rax].d 0x1475 181 esi = esi + edi 0x1477 182 rax = rax + 4 0x147b 183 temp1.q = rdx 0x147b 184 rdx = rdx - 1 0x147f 185 if (temp1.q != 1) then 179 @ 0x1470 else 203 @ 0x1481 0x126f 186 ecx = [rsp + 0x10 {var_9e18}].d 0x1273 187 goto 98 @ 0x1230 0x14bd 188 rdi = r13 0x14bd 189 goto 190 @ 0x14c1 0x14c1 190 eax = 0 0x14c3 191 call(0x1030) 0x14c8 192 rbp = rbp + 1 0x14cc 193 rax = sx.q([rsp + 0x14 {var_9e14}].d) 0x14d4 194 if (rbp s< rax) then 145 @ 0x14b0 else 12 @ 0x14d6 0x1437 195 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x143b 196 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1440 197 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1444 198 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1449 199 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x144d 200 esi = xmm0.d 0x1454 201 if (rdi == rdx) then 50 @ 0x11a0 else 120 @ 0x145a 0x1400 202 if ((cl & 1) == 0) then 195 @ 0x1437 else 150 @ 0x1402 0x1481 203 goto 50 @ 0x11a0 int64_t _fini(): 0x14f0 0 rsp = rsp - 8 0x14f4 1 rsp = rsp + 8 0x14f8 2 <return> jump(pop)
POJ_6
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 {"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 - 0x88 0x116e 5 rdi = 0x2004 {"%s %s"} 0x1175 6 r14d = 0 0x1178 7 r12 = rsp + 0x10 {var_98} 0x117d 8 rbx = rsp + 0x50 {var_58} 0x1182 9 rsi = r12 {var_98} 0x1185 10 rdx = rbx {var_58} 0x1188 11 eax = 0 0x118a 12 call(0x1050) 0x118f 13 rdi = rbx {var_58} 0x1192 14 call(0x1040) 0x1197 15 r15 = rax 0x119a 16 rdi = r12 {var_98} 0x119d 17 call(0x1040) 0x11a2 18 esi = 0 0x11ae 19 goto 20 @ 0x11b0 0x11b0 20 esi = esi + eax 0x11b2 21 edx = 0 0x11be 22 goto 23 @ 0x11c0 0x11c0 23 ecx = zx.d([rsp + rdx + 0x10].b) 0x11c8 24 if (cl != [rbx + rdx].b) then 25 @ 0x11e0 else 27 @ 0x11ca 0x11e0 25 esi = 0 0x11e0 26 goto 29 @ 0x11e2 0x11ca 27 rdx = rdx + 1 0x11d1 28 if (rax != rdx) then 23 @ 0x11c0 else 31 @ 0x11d3 0x11e2 29 rcx = sx.q(esi) 0x11e8 30 if (rax == rcx) then 32 @ 0x11f9 else 37 @ 0x11ea 0x11d3 31 goto 29 @ 0x11e2 0x11f9 32 rdi = 0x200a {"%d"} 0x1200 33 esi = r14d 0x1203 34 eax = 0 0x1205 35 call(0x1030) 0x1205 36 goto 40 @ 0x120a 0x11ea 37 r14 = r14 + 1 0x11ee 38 rbx = rbx + 1 0x11f5 39 if (r14 != r15) then 20 @ 0x11b0 else 51 @ 0x11f7 0x120a 40 rdi = 0x200a {"%d"} 0x1211 41 rsi = rsp + 0xc {var_9c} 0x1216 42 eax = 0 0x1218 43 call(0x1050) 0x121d 44 eax = 0 0x121f 45 rsp = rsp + 0x88 0x1226 46 rbx = pop 0x1227 47 r12 = pop 0x1229 48 r14 = pop 0x122b 49 r15 = pop 0x122d 50 <return> jump(pop) 0x11f7 51 goto 40 @ 0x120a int64_t _fini(): 0x1234 0 rsp = rsp - 8 0x1238 1 rsp = rsp + 8 0x123c 2 <return> jump(pop)
POJ_45
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 - 0x6d0 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = rbp - 0x6c0 {var_6c8} 0x1179 5 esi = 0 0x117b 6 edx = 0x1f4 {""} 0x1180 7 call(0x1040) 0x1185 8 [rbp - 0x6cc {var_6d4}].d = 0 0x118f 9 rdi = 0x2004 {"%d"} 0x1196 10 rsi = rbp - 0x6c4 {var_6cc} 0x119d 11 al = 0 0x119f 12 call(0x1050) 0x11a4 13 [rbp - 0x6c8 {var_6d0}].d = 0 0x11a4 14 goto 15 @ 0x11ae 0x11ae 15 eax = [rbp - 0x6c8 {var_6d0}].d 0x11ba 16 if (eax s>= [rbp - 0x6c4 {var_6cc}].d) then 17 @ 0x11f7 else 19 @ 0x11c0 0x11f7 17 [rbp - 0x6c8 {var_6d0_1}].d = 0 0x11f7 18 goto 30 @ 0x1201 0x11c0 19 rax = sx.q([rbp - 0x6c8 {var_6d0}].d) 0x11c7 20 rsi = rbp - 0x4c0 {var_4c8} 0x11ce 21 rax = rax << 2 0x11d2 22 rsi = rsi + rax 0x11d5 23 rdi = 0x2004 {"%d"} 0x11dc 24 al = 0 0x11de 25 call(0x1050) 0x11e3 26 eax = [rbp - 0x6c8 {var_6d0}].d 0x11e9 27 eax = eax + 1 0x11ec 28 [rbp - 0x6c8 {var_6d0}].d = eax 0x11f2 29 goto 15 @ 0x11ae 0x1201 30 eax = [rbp - 0x6c8 {var_6d0_1}].d 0x120d 31 if (eax s>= [rbp - 0x6c4 {var_6cc}].d) then 32 @ 0x12a4 else 39 @ 0x1213 0x12a4 32 rdi = 0x2009 {"\n"} 0x12ab 33 al = 0 0x12ad 34 call(0x1030) 0x12b2 35 eax = 0 0x12b4 36 rsp = rsp + 0x6d0 0x12bb 37 rbp = pop 0x12bc 38 <return> jump(pop) 0x1213 39 rax = sx.q([rbp - 0x6c8 {var_6d0_1}].d) 0x121a 40 rax = sx.q([rbp + (rax << 2) - 0x4c0].d) 0x1222 41 eax = sx.d([rbp + rax - 0x6c0].b) 0x122d 42 if (eax != 0) then 43 @ 0x128b else 44 @ 0x123a 0x128b 43 goto 45 @ 0x1290 0x123a 44 if ([rbp - 0x6cc {var_6d4}].d != 1) then 49 @ 0x124e else 59 @ 0x1240 0x1290 45 eax = [rbp - 0x6c8 {var_6d0_1}].d 0x1296 46 eax = eax + 1 0x1299 47 [rbp - 0x6c8 {var_6d0_1}].d = eax 0x129f 48 goto 30 @ 0x1201 0x124e 49 [rbp - 0x6cc {var_6d4}].d = 1 0x1258 50 rax = sx.q([rbp - 0x6c8 {var_6d0_1}].d) 0x125f 51 esi = [rbp + (rax << 2) - 0x4c0].d 0x1266 52 rdi = 0x2004 {"%d"} 0x126d 53 al = 0 0x126f 54 call(0x1030) 0x1274 55 rax = sx.q([rbp - 0x6c8 {var_6d0_1}].d) 0x127b 56 rax = sx.q([rbp + (rax << 2) - 0x4c0].d) 0x1283 57 [rbp + rax - 0x6c0].b = 1 0x1283 58 goto 43 @ 0x128b 0x1240 59 rdi = 0x2007 {","} 0x1247 60 al = 0 0x1249 61 call(0x1030) 0x1249 62 goto 49 @ 0x124e int64_t _fini(): 0x12c4 0 rsp = rsp - 8 0x12c8 1 rsp = rsp + 8 0x12cc 2 <return> jump(pop)
POJ_53
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 = 0x205c {"%d%d%d"} 0x115b 2 rsi = rsp + 0x10 {var_8} 0x1160 3 rdx = rsp + 0x14 {var_4} 0x1165 4 rcx = rsp + 0xc {var_c} 0x116a 5 eax = 0 0x116c 6 call(0x1040) 0x1171 7 rcx = sx.q([rsp + 0x10 {var_8}].d) 0x1179 8 sil = (cl & 3) == 0 0x117d 9 eax = ecx * -0x3d70a3d7 0x1183 10 eax = eax + 0x51eb850 0x1188 11 eax = ror.d(eax, 2) 0x1190 12 dl = eax u>= 0x28f5c29 0x1193 13 eax = [rsp + 0x14 {var_4}].d 0x119a 14 if ((sil & dl) != 0) then 15 @ 0x11e0 else 17 @ 0x119c 0x11e0 15 eax = eax - 2 0x11e6 16 if (eax u> 0xa) then 26 @ 0x1298 else 33 @ 0x11ec 0x119c 17 rdx = rcx * 0x51eb851f 0x11a3 18 rsi = rdx 0x11a6 19 rsi = rsi u>> 0x3f 0x11aa 20 rdx = rdx s>> 0x27 0x11ae 21 edx = edx + esi 0x11b0 22 edx = edx * 0x190 0x11b6 23 temp0.d = ecx 0x11b6 24 ecx = ecx - edx 0x11b8 25 if (temp0.d == edx) then 15 @ 0x11e0 else 37 @ 0x11ba 0x1298 26 esi = [rsp + 0xc {var_c}].d 0x129c 27 rdi = 0x2063 {"%d\n"} 0x12a3 28 eax = 0 0x12a5 29 call(0x1030) 0x12aa 30 eax = 0 0x12ac 31 rsp = rsp + 0x18 0x12b0 32 <return> jump(pop) 0x11ec 33 rcx = 0x2030 {"7>ELV`%d%d%d"} 0x11f3 34 rax = sx.q([rcx + (rax << 2)].d) 0x11f7 35 rax = rax + rcx 0x11fa 36 jump(rax => 39 @ 0x11fc, 41 @ 0x1209, 43 @ 0x1216, 45 @ 0x1267, 47 @ 0x126e, 49 @ 0x1275, 51 @ 0x127c, 53 @ 0x1286, 55 @ 0x1290) 0x11ba 37 eax = eax - 2 0x11c0 38 if (eax u> 0xa) then 26 @ 0x1298 else 57 @ 0x11c6 0x11fc 39 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0xb6 0x1204 40 goto 26 @ 0x1298 0x1209 41 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0xf3 0x1211 42 goto 26 @ 0x1298 0x1216 43 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x1f 0x121b 44 goto 26 @ 0x1298 0x1267 45 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x3c 0x126c 46 goto 26 @ 0x1298 0x126e 47 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x5b 0x1273 48 goto 26 @ 0x1298 0x1275 49 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x79 0x127a 50 goto 26 @ 0x1298 0x127c 51 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x98 0x1284 52 goto 26 @ 0x1298 0x1286 53 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0xd5 0x128e 54 goto 26 @ 0x1298 0x1290 55 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x112 0x1290 56 goto 26 @ 0x1298 0x11c6 57 rcx = 0x2004 {" '1;EOY7>ELV`%d%d%d"} 0x11cd 58 rax = sx.q([rcx + (rax << 2)].d) 0x11d1 59 rax = rax + rcx 0x11d4 60 jump(rax => 61 @ 0x11d6, 41 @ 0x1209, 43 @ 0x1216, 63 @ 0x121d, 65 @ 0x1224, 67 @ 0x122b, 69 @ 0x1235, 71 @ 0x123f, 73 @ 0x1249, 75 @ 0x1253, 77 @ 0x125d) 0x11d6 61 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x3b 0x11db 62 goto 26 @ 0x1298 0x121d 63 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x5a 0x1222 64 goto 26 @ 0x1298 0x1224 65 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x78 0x1229 66 goto 26 @ 0x1298 0x122b 67 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x97 0x1233 68 goto 26 @ 0x1298 0x1235 69 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0xb5 0x123d 70 goto 26 @ 0x1298 0x123f 71 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0xd4 0x1247 72 goto 26 @ 0x1298 0x1249 73 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x111 0x1251 74 goto 26 @ 0x1298 0x1253 75 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x130 0x125b 76 goto 26 @ 0x1298 0x125d 77 [rsp + 0xc {var_c}].d = [rsp + 0xc {var_c}].d + 0x14e 0x1265 78 goto 26 @ 0x1298 int64_t _fini(): 0x12b8 0 rsp = rsp - 8 0x12bc 1 rsp = rsp + 8 0x12c0 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 {"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 - 0x13b0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0xfb4 {var_fbc}].d = 1 0x116c 5 [rbp - 0xfc4 {var_fcc}].d = 0 0x116c 6 goto 7 @ 0x1176 0x1176 7 eax = [rbp - 0xfb4 {var_fbc}].d 0x117c 8 ecx = eax 0x117e 9 ecx = ecx + 1 0x1181 10 [rbp - 0xfb4 {var_fbc}].d = ecx 0x1187 11 rax = sx.q(eax) 0x1189 12 rsi = rbp - 0xfb0 {var_fb8} 0x1190 13 rax = rax << 2 0x1194 14 rsi = rsi + rax 0x1197 15 rdi = 0x2004 {"%d"} 0x119e 16 al = 0 0x11a0 17 call(0x1040) 0x11a5 18 rax = sx.q([rbp - 0xfb4 {var_fbc}].d) 0x11ac 19 rsi = rbp - 0x13b0 {var_13b8} 0x11b3 20 rsi = rsi + rax 0x11b6 21 rdi = 0x2007 {"%c"} 0x11bd 22 al = 0 0x11bf 23 call(0x1040) 0x11c4 24 rax = sx.q([rbp - 0xfb4 {var_fbc}].d) 0x11cb 25 eax = sx.d([rbp + rax - 0x13b0].b) 0x11d6 26 if (eax == 0x2c) then 27 @ 0x11e1 else 28 @ 0x11dc 0x11e1 27 goto 7 @ 0x1176 0x11dc 28 goto 29 @ 0x11e6 0x11e6 29 [rbp - 0xfb8 {var_fc0}].d = 1 0x11e6 30 goto 31 @ 0x11f0 0x11f0 31 eax = [rbp - 0xfb8 {var_fc0}].d 0x11f6 32 ecx = [rbp - 0xfb4 {var_fbc}].d 0x11fc 33 ecx = ecx - 2 0x1201 34 if (eax s> ecx) then 35 @ 0x12c5 else 39 @ 0x1207 0x12c5 35 eax = [rbp - 0xfb4 {var_fbc}].d 0x12cb 36 eax = eax - 1 0x12ce 37 [rbp - 0xfb8 {var_fc0_1}].d = eax 0x12ce 38 goto 43 @ 0x12db 0x1207 39 eax = [rbp - 0xfb8 {var_fc0}].d 0x120d 40 eax = eax + 1 0x1210 41 [rbp - 0xfbc {var_fc4_1}].d = eax 0x1210 42 goto 44 @ 0x1216 0x12db 43 if ([rbp - 0xfb8 {var_fc0_1}].d s< 2) then 48 @ 0x1357 else 49 @ 0x12e1 0x1216 44 eax = [rbp - 0xfbc {var_fc4_1}].d 0x121c 45 ecx = [rbp - 0xfb4 {var_fbc}].d 0x1222 46 ecx = ecx - 1 0x1227 47 if (eax s> ecx) then 55 @ 0x12ac else 56 @ 0x122d 0x1357 48 if ([rbp - 0xfc4 {var_fcc}].d != 0) then 60 @ 0x136b else 64 @ 0x135d 0x12e1 49 rax = sx.q([rbp - 0xfb8 {var_fc0_1}].d) 0x12e8 50 eax = [rbp + (rax << 2) - 0xfb0].d 0x12ef 51 ecx = [rbp - 0xfb8 {var_fc0_1}].d 0x12f5 52 ecx = ecx - 1 0x12f8 53 rcx = sx.q(ecx) 0x1302 54 if (eax s<= [rbp + (rcx << 2) - 0xfb0].d) then 68 @ 0x1337 else 69 @ 0x1308 0x12ac 55 goto 78 @ 0x12b1 0x122d 56 rax = sx.q([rbp - 0xfbc {var_fc4_1}].d) 0x1234 57 eax = [rbp + (rax << 2) - 0xfb0].d 0x123b 58 rcx = sx.q([rbp - 0xfb8 {var_fc0}].d) 0x1249 59 if (eax s> [rbp + (rcx << 2) - 0xfb0].d) then 82 @ 0x1293 else 83 @ 0x124f 0x136b 60 eax = 0 0x136d 61 rsp = rsp + 0x13b0 0x1374 62 rbp = pop 0x1375 63 <return> jump(pop) 0x135d 64 rdi = 0x200a {"No"} 0x1364 65 al = 0 0x1366 66 call(0x1030) 0x1366 67 goto 60 @ 0x136b 0x1337 68 goto 94 @ 0x133c 0x1308 69 eax = [rbp - 0xfb8 {var_fc0_1}].d 0x130e 70 eax = eax - 1 0x1311 71 rax = sx.q(eax) 0x1313 72 esi = [rbp + (rax << 2) - 0xfb0].d 0x131a 73 rdi = 0x2004 {"%d"} 0x1321 74 al = 0 0x1323 75 call(0x1030) 0x1328 76 [rbp - 0xfc4 {var_fcc}].d = 1 0x1332 77 goto 48 @ 0x1357 0x12b1 78 eax = [rbp - 0xfb8 {var_fc0}].d 0x12b7 79 eax = eax + 1 0x12ba 80 [rbp - 0xfb8 {var_fc0}].d = eax 0x12c0 81 goto 31 @ 0x11f0 0x1293 82 goto 98 @ 0x1298 0x124f 83 rax = sx.q([rbp - 0xfbc {var_fc4_1}].d) 0x1256 84 eax = [rbp + (rax << 2) - 0xfb0].d 0x125d 85 [rbp - 0xfc0 {var_fc8_1}].d = eax 0x1263 86 rax = sx.q([rbp - 0xfb8 {var_fc0}].d) 0x126a 87 ecx = [rbp + (rax << 2) - 0xfb0].d 0x1271 88 rax = sx.q([rbp - 0xfbc {var_fc4_1}].d) 0x1278 89 [rbp + (rax << 2) - 0xfb0].d = ecx 0x127f 90 ecx = [rbp - 0xfc0 {var_fc8_1}].d 0x1285 91 rax = sx.q([rbp - 0xfb8 {var_fc0}].d) 0x128c 92 [rbp + (rax << 2) - 0xfb0].d = ecx 0x128c 93 goto 82 @ 0x1293 0x133c 94 eax = [rbp - 0xfb8 {var_fc0_1}].d 0x1342 95 eax = eax - 1 0x1345 96 [rbp - 0xfb8 {var_fc0_1}].d = eax 0x134b 97 goto 43 @ 0x12db 0x1298 98 eax = [rbp - 0xfbc {var_fc4_1}].d 0x129e 99 eax = eax + 1 0x12a1 100 [rbp - 0xfbc {var_fc4_1}].d = eax 0x12a7 101 goto 44 @ 0x1216 int64_t _fini(): 0x137c 0 rsp = rsp - 8 0x1380 1 rsp = rsp + 8 0x1384 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 = 0x11e0 {"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) uint64_t move(int64_t arg1, int64_t arg2, int32_t arg3, int32_t arg4): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 [rbp - 8 {var_10}].q = rdi 0x1158 3 [rbp - 0x10 {var_18}].q = rsi 0x115c 4 [rbp - 0x14 {var_1c}].d = edx 0x115f 5 [rbp - 0x18 {var_20}].d = ecx 0x1162 6 [rbp - 0x1c {var_24}].d = 0 0x1162 7 goto 8 @ 0x1169 0x1169 8 eax = [rbp - 0x1c {var_24}].d 0x116c 9 ecx = [rbp - 0x14 {var_1c}].d 0x116f 10 ecx = ecx - 1 0x1174 11 if (eax s> ecx) then 12 @ 0x11d7 else 14 @ 0x117a 0x11d7 12 rbp = pop 0x11d8 13 <return> jump(pop) 0x117a 14 eax = [rbp - 0x1c {var_24}].d 0x1180 15 if (eax s< [rbp - 0x18 {var_20}].d) then 16 @ 0x11a6 else 26 @ 0x1186 0x11a6 16 rax = [rbp - 8 {var_10}].q 0x11aa 17 ecx = [rbp - 0x14 {var_1c}].d 0x11ad 18 ecx = ecx - [rbp - 0x18 {var_20}].d 0x11b0 19 ecx = ecx + [rbp - 0x1c {var_24}].d 0x11b3 20 rcx = sx.q(ecx) 0x11b6 21 edx = [rax + (rcx << 2)].d 0x11b9 22 rax = [rbp - 0x10 {var_18}].q 0x11bd 23 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x11c1 24 [rax + (rcx << 2)].d = edx 0x11c1 25 goto 35 @ 0x11c4 0x1186 26 rax = [rbp - 8 {var_10}].q 0x118a 27 ecx = [rbp - 0x1c {var_24}].d 0x118d 28 ecx = ecx - [rbp - 0x18 {var_20}].d 0x1190 29 rcx = sx.q(ecx) 0x1193 30 edx = [rax + (rcx << 2)].d 0x1196 31 rax = [rbp - 0x10 {var_18}].q 0x119a 32 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x119e 33 [rax + (rcx << 2)].d = edx 0x11a1 34 goto 35 @ 0x11c4 0x11c4 35 goto 36 @ 0x11c9 0x11c9 36 eax = [rbp - 0x1c {var_24}].d 0x11cc 37 eax = eax + 1 0x11cf 38 [rbp - 0x1c {var_24}].d = eax 0x11d2 39 goto 8 @ 0x1169 int32_t main(int32_t argc, char** argv, char** envp): 0x11e0 0 push(rbp) 0x11e1 1 rbp = rsp {__saved_rbp} 0x11e4 2 rsp = rsp - 0x340 0x11eb 3 [rbp - 4 {var_c}].d = 0 0x11f2 4 rdi = 0x2004 {"%d%d"} 0x11f9 5 rsi = rbp - 0x334 {var_33c} 0x1200 6 rdx = rbp - 0x338 {var_340} 0x1207 7 al = 0 0x1209 8 call(0x1040) 0x120e 9 [rbp - 0x33c {var_344}].d = 0 0x120e 10 goto 11 @ 0x1218 0x1218 11 eax = [rbp - 0x33c {var_344}].d 0x121e 12 ecx = [rbp - 0x334 {var_33c}].d 0x1224 13 ecx = ecx - 1 0x1229 14 if (eax s> ecx) then 15 @ 0x1266 else 22 @ 0x122f 0x1266 15 rdi = rbp - 0x1a0 {var_1a8} 0x126d 16 rsi = rbp - 0x330 {var_338} 0x1274 17 edx = [rbp - 0x334 {var_33c}].d 0x127a 18 ecx = [rbp - 0x338 {var_340}].d 0x1280 19 call(0x1150) 0x1285 20 [rbp - 0x33c {var_344_1}].d = 0 0x1285 21 goto 33 @ 0x128f 0x122f 22 rax = sx.q([rbp - 0x33c {var_344}].d) 0x1236 23 rsi = rbp - 0x1a0 {var_1a8} 0x123d 24 rax = rax << 2 0x1241 25 rsi = rsi + rax 0x1244 26 rdi = 0x2006 {"%d"} 0x124b 27 al = 0 0x124d 28 call(0x1040) 0x1252 29 eax = [rbp - 0x33c {var_344}].d 0x1258 30 eax = eax + 1 0x125b 31 [rbp - 0x33c {var_344}].d = eax 0x1261 32 goto 11 @ 0x1218 0x128f 33 eax = [rbp - 0x33c {var_344_1}].d 0x1295 34 ecx = [rbp - 0x334 {var_33c}].d 0x129b 35 ecx = ecx - 2 0x12a0 36 if (eax s> ecx) then 37 @ 0x12d6 else 48 @ 0x12a6 0x12d6 37 eax = [rbp - 0x334 {var_33c}].d 0x12dc 38 eax = eax - 1 0x12df 39 rax = sx.q(eax) 0x12e1 40 esi = [rbp + (rax << 2) - 0x330].d 0x12e8 41 rdi = 0x2006 {"%d"} 0x12ef 42 al = 0 0x12f1 43 call(0x1030) 0x12f6 44 eax = 0 0x12f8 45 rsp = rsp + 0x340 0x12ff 46 rbp = pop 0x1300 47 <return> jump(pop) 0x12a6 48 rax = sx.q([rbp - 0x33c {var_344_1}].d) 0x12ad 49 esi = [rbp + (rax << 2) - 0x330].d 0x12b4 50 rdi = 0x2009 {"%d "} 0x12bb 51 al = 0 0x12bd 52 call(0x1030) 0x12c2 53 eax = [rbp - 0x33c {var_344_1}].d 0x12c8 54 eax = eax + 1 0x12cb 55 [rbp - 0x33c {var_344_1}].d = eax 0x12d1 56 goto 33 @ 0x128f int64_t _fini(): 0x1308 0 rsp = rsp - 8 0x130c 1 rsp = rsp + 8 0x1310 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) 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=\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 rsp = rsp - 0x18 0x1154 1 rdi = 0x2064 {"%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 rcx = sx.q([rsp + 0x14 {var_4}].d) 0x1179 8 sil = (cl & 3) == 0 0x117d 9 eax = ecx * -0x3d70a3d7 0x1183 10 eax = eax + 0x51eb850 0x1188 11 eax = ror.d(eax, 2) 0x1190 12 dl = eax u>= 0x28f5c29 0x1193 13 eax = [rsp + 0x10 {var_8}].d 0x119a 14 if ((sil & dl) != 0) then 15 @ 0x11d9 else 20 @ 0x119c 0x11d9 15 eax = eax - 1 0x11dc 16 rcx = 0x2034 {"%.5<CJQX%d%d%d"} 0x11e3 17 rax = sx.q([rcx + (rax << 2)].d) 0x11e7 18 rax = rax + rcx 0x11ea 19 jump(rax) 0x119c 20 rdx = rcx * 0x51eb851f 0x11a3 21 rsi = rdx 0x11a6 22 rsi = rsi u>> 0x3f 0x11aa 23 rdx = rdx s>> 0x27 0x11ae 24 edx = edx + esi 0x11b0 25 edx = edx * 0x190 0x11b6 26 temp0.d = ecx 0x11b6 27 ecx = ecx - edx 0x11b8 28 if (temp0.d == edx) then 15 @ 0x11d9 else 29 @ 0x11ba 0x11ba 29 eax = eax - 1 0x11bd 30 rcx = 0x2004 {"\t '.5<%.5<CJQX%d%d%d"} 0x11c4 31 rax = sx.q([rcx + (rax << 2)].d) 0x11c8 32 rax = rax + rcx 0x11cb 33 jump(rax) int64_t _fini(): 0x12b0 0 rsp = rsp - 8 0x12b4 1 rsp = rsp + 8 0x12b8 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) double pow(double x, double y): 0x1050 0 <return> tailcall([0x4028].q) uint64_t strlen(char const* arg1): 0x1060 0 <return> tailcall([0x4030].q) int32_t scanf(char const* format, ...): 0x1070 0 <return> tailcall([0x4038].q) 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 {"UAWAVSH"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 push(r15) 0x1183 2 push(r14) 0x1185 3 push(rbx) 0x1186 4 rsp = rsp - 0x5f8 0x118d 5 rbx = rsp + 0x10 {var_608} 0x1192 6 ebp = 0 0x1194 7 edx = 0x5dd {"3"} 0x1199 8 rdi = rbx {var_608} 0x119c 9 esi = 0 0x119e 10 call(0x1040) 0x11a3 11 [rsp + 0x10 {var_608}].b = 0x20 {"@"} 0x11a8 12 rdi = 0x2010 {"%s"} 0x11af 13 rsi = rbx {var_608} 0x11b2 14 eax = 0 0x11b4 15 call(0x1070) 0x11b9 16 rdi = rbx {var_608} 0x11bc 17 call(0x1060) 0x11c1 18 r14d = 0xffffffff {""} 0x11c7 19 r15d = 0xffffffff {""} 0x11cd 20 ecx = 0 0x11d5 21 if (eax s< 2) then 22 @ 0x127d else 40 @ 0x11db 0x127d 22 xmm0 = 0 0x1280 23 xmm0.q = float.d(ecx) 0x1284 24 [rsp + 8 {var_610_2}].q = xmm0.q 0x128a 25 eax = sx.d([rsp + 0x10 {var_608}].b) 0x128f 26 eax = eax - 0x30 0x1292 27 xmm0 = 0 0x1295 28 xmm0.q = float.d(eax) 0x1299 29 [rsp {var_618_2}].q = xmm0.q 0x129e 30 xmm1 = 0 0x12a1 31 xmm1.q = float.d(ebp) 0x12a5 32 xmm0 = zx.o([0x2008].q) 0x12ad 33 call(0x1050) 0x12b2 34 xmm0.q = xmm0.q f* fconvert.t([rsp {var_618_2}].q) 0x12b7 35 xmm0.q = xmm0.q f+ fconvert.t([rsp + 8 {var_610_2}].q) 0x12bd 36 eax = int.d(ftrunc(xmm0.q)) 0x12c1 37 cond:0 = r15d s< eax 0x12c4 38 ecx = r15d 0x12c7 39 if (cond:0) then 47 else 49 @ 0x12ca 0x11db 40 ebx = eax 0x11dd 41 rbx = rbx + 1 0x11e1 42 r15d = 0xffffffff {""} 0x11e7 43 ecx = 0 0x11e9 44 r14d = 0xffffffff {""} 0x11ef 45 ebp = 0 0x11f1 46 goto 51 @ 0x124c 0x12c7 47 ecx = eax 0x12c7 48 goto 49 @ 0x12ca 0x12ca 49 cond:1 = r14d s> eax 0x12cd 50 if (r14d s< eax) then 54 else 56 @ 0x12d1 0x124c 51 eax = (rbx - 2).d 0x124f 52 eax = sx.d([rsp + rax + 0x10].b) 0x1257 53 if (eax != 0x2c) then 57 @ 0x1200 else 73 @ 0x1259 0x12cd 54 r15d = r14d 0x12cd 55 goto 56 @ 0x12d1 0x12d1 56 if (cond:1) then 75 else 77 @ 0x12d9 0x1200 57 xmm0 = 0 0x1203 58 xmm0.q = float.d(ecx) 0x1207 59 [rsp + 8 {var_610_1}].q = xmm0.q 0x120d 60 eax = eax - 0x30 0x1210 61 xmm0 = 0 0x1213 62 xmm0.q = float.d(eax) 0x1217 63 [rsp {var_618_1}].q = xmm0.q 0x121c 64 xmm1 = 0 0x121f 65 xmm1.q = float.d(ebp) 0x1223 66 xmm0 = zx.o([0x2008].q) 0x122b 67 call(0x1050) 0x1230 68 xmm0.q = xmm0.q f* fconvert.t([rsp {var_618_1}].q) 0x1235 69 xmm0.q = xmm0.q f+ fconvert.t([rsp + 8 {var_610_1}].q) 0x123b 70 ecx = int.d(ftrunc(xmm0.q)) 0x123f 71 ebp = ebp + 1 0x123f 72 goto 78 @ 0x1242 0x1259 73 cond:2 = ecx s> r14d 0x125c 74 if (ecx s>= r14d) then 80 @ 0x1270 else 81 @ 0x1261 0x12d1 75 r15d = ecx 0x12d1 76 goto 77 @ 0x12d9 0x12d9 77 if (r15d == -1) then 82 @ 0x12ee else 86 @ 0x12db 0x1242 78 rbx = rbx - 1 0x124a 79 if (rbx u<= 2) then 22 @ 0x127d else 51 @ 0x124c 0x1270 80 if (cond:2) then 91 else 93 @ 0x1274 0x1261 81 if (ecx s> r15d) then 96 else 98 @ 0x1265 0x12ee 82 rdi = 0x2013 {"No"} 0x12f5 83 eax = 0 0x12f7 84 call(0x1030) 0x12f7 85 goto 100 @ 0x12fc 0x12db 86 rdi = 0x2016 {"%d"} 0x12e2 87 esi = r15d 0x12e5 88 eax = 0 0x12e7 89 call(0x1030) 0x12ec 90 goto 100 @ 0x12fc 0x1270 91 r15d = r14d 0x1270 92 goto 93 @ 0x1274 0x1274 93 ebp = 0 0x1276 94 r14d = ecx 0x1276 95 goto 107 @ 0x1279 0x1261 96 r15d = ecx 0x1261 97 goto 98 @ 0x1265 0x1265 98 ebp = 0 0x1267 99 goto 107 @ 0x1279 0x12fc 100 eax = 7 0x1301 101 rsp = rsp + 0x5f8 0x1308 102 rbx = pop 0x1309 103 r14 = pop 0x130b 104 r15 = pop 0x130d 105 rbp = pop 0x130e 106 <return> jump(pop) 0x1279 107 ecx = 0 0x127b 108 goto 78 @ 0x1242 int64_t _fini(): 0x1314 0 rsp = rsp - 8 0x1318 1 rsp = rsp + 8 0x131c 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) 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 {"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 - 0xe0 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 [rbp - 0xd4 {var_dc}].d = 0 0x118c 5 rdi = rbp - 0x60 {var_68} 0x1190 6 al = 0 0x1192 7 call(0x1050) 0x1197 8 rdi = rbp - 0xc0 {var_c8} 0x119e 9 al = 0 0x11a0 10 call(0x1050) 0x11a5 11 rdi = rbp - 0x60 {var_68} 0x11a9 12 call(0x1040) 0x11ae 13 [rbp - 0xc8 {var_d0}].d = eax 0x11b4 14 rdi = rbp - 0xc0 {var_c8} 0x11bb 15 call(0x1040) 0x11c0 16 [rbp - 0xcc {var_d4}].d = eax 0x11c6 17 [rbp - 0xc4 {var_cc}].d = 0 0x11c6 18 goto 19 @ 0x11d0 0x11d0 19 eax = [rbp - 0xc4 {var_cc}].d 0x11d6 20 ecx = [rbp - 0xc8 {var_d0}].d 0x11dc 21 ecx = ecx - 1 0x11e1 22 if (eax s> ecx) then 23 @ 0x1246 else 25 @ 0x11e7 0x1246 23 [rbp - 0xc4 {var_cc_1}].d = 0 0x1246 24 goto 28 @ 0x1250 0x11e7 25 rax = sx.q([rbp - 0xc4 {var_cc}].d) 0x11ee 26 eax = sx.d([rbp + rax - 0x60].b) 0x11f6 27 if (eax s< 0x61) then 32 @ 0x122d else 33 @ 0x11fc 0x1250 28 eax = [rbp - 0xc4 {var_cc_1}].d 0x1256 29 ecx = [rbp - 0xc8 {var_d0}].d 0x125c 30 ecx = ecx - 1 0x1261 31 if (eax s> ecx) then 36 @ 0x12d2 else 41 @ 0x1267 0x122d 32 goto 44 @ 0x1232 0x11fc 33 rax = sx.q([rbp - 0xc4 {var_cc}].d) 0x1203 34 eax = sx.d([rbp + rax - 0x60].b) 0x120b 35 if (eax s> 0x7a) then 32 @ 0x122d else 48 @ 0x1211 0x12d2 36 rdi = rbp - 0x60 {var_68} 0x12d6 37 rsi = rbp - 0xc0 {var_c8} 0x12dd 38 call(0x1060) 0x12e2 39 [rbp - 0xd4 {var_dc_1}].d = eax 0x12ef 40 if ([rbp - 0xd4 {var_dc_1}].d s>= 0) then 55 @ 0x130a else 56 @ 0x12f5 0x1267 41 rax = sx.q([rbp - 0xc4 {var_cc_1}].d) 0x126e 42 eax = sx.d([rbp + rax - 0xc0].b) 0x1279 43 if (eax s< 0x61) then 60 @ 0x12b9 else 61 @ 0x127f 0x1232 44 eax = [rbp - 0xc4 {var_cc}].d 0x1238 45 eax = eax + 1 0x123b 46 [rbp - 0xc4 {var_cc}].d = eax 0x1241 47 goto 19 @ 0x11d0 0x1211 48 rax = sx.q([rbp - 0xc4 {var_cc}].d) 0x1218 49 eax = sx.d([rbp + rax - 0x60].b) 0x121d 50 eax = eax - 0x20 0x1220 51 cl = al 0x1222 52 rax = sx.q([rbp - 0xc4 {var_cc}].d) 0x1229 53 [rbp + rax - 0x60].b = cl 0x1229 54 goto 32 @ 0x122d 0x130a 55 if ([rbp - 0xd4 {var_dc_1}].d != 0) then 64 @ 0x1325 else 65 @ 0x1310 0x12f5 56 rdi = 0x2004 {"<"} 0x12fc 57 al = 0 0x12fe 58 call(0x1030) 0x12fe 59 goto 55 @ 0x130a 0x12b9 60 goto 69 @ 0x12be 0x127f 61 rax = sx.q([rbp - 0xc4 {var_cc_1}].d) 0x1286 62 eax = sx.d([rbp + rax - 0xc0].b) 0x1291 63 if (eax s> 0x7a) then 60 @ 0x12b9 else 73 @ 0x1297 0x1325 64 if ([rbp - 0xd4 {var_dc_1}].d s<= 0) then 80 @ 0x1339 else 84 @ 0x132b 0x1310 65 rdi = 0x2006 {"="} 0x1317 66 al = 0 0x1319 67 call(0x1030) 0x1319 68 goto 64 @ 0x1325 0x12be 69 eax = [rbp - 0xc4 {var_cc_1}].d 0x12c4 70 eax = eax + 1 0x12c7 71 [rbp - 0xc4 {var_cc_1}].d = eax 0x12cd 72 goto 28 @ 0x1250 0x1297 73 rax = sx.q([rbp - 0xc4 {var_cc_1}].d) 0x129e 74 eax = sx.d([rbp + rax - 0xc0].b) 0x12a6 75 eax = eax - 0x20 0x12a9 76 cl = al 0x12ab 77 rax = sx.q([rbp - 0xc4 {var_cc_1}].d) 0x12b2 78 [rbp + rax - 0xc0].b = cl 0x12b2 79 goto 60 @ 0x12b9 0x1339 80 eax = 0 0x133b 81 rsp = rsp + 0xe0 0x1342 82 rbp = pop 0x1343 83 <return> jump(pop) 0x132b 84 rdi = 0x2008 {">"} 0x1332 85 al = 0 0x1334 86 call(0x1030) 0x1334 87 goto 80 @ 0x1339 int64_t _fini(): 0x1348 0 rsp = rsp - 8 0x134c 1 rsp = rsp + 8 0x1350 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) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) double sqrt(double x): 0x1060 0 <return> tailcall([0x4030].q) int32_t putchar(int32_t c): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"UAWAVSHX"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 push(r15) 0x1183 2 push(r14) 0x1185 3 push(rbx) 0x1186 4 rsp = rsp - 0x9c58 0x118d 5 rdi = rsp + 0x10 {var_9c68} 0x1192 6 edx = 0x9c48 {""} 0x1197 7 esi = 0 0x1199 8 call(0x1040) 0x119e 9 rdi = 0x2010 {"%d"} 0x11a5 10 rsi = rsp + 0xc {var_9c6c} 0x11aa 11 eax = 0 0x11ac 12 call(0x1050) 0x11b1 13 eax = [rsp + 0xc {var_9c6c}].d 0x11b8 14 if (eax s> 4) then 15 @ 0x11d2 else 16 @ 0x11ba 0x11d2 15 if (eax u> 0x2710) then 20 @ 0x11f5 else 23 @ 0x11d4 0x11ba 16 rdi = 0x2013 {"empty"} 0x11c1 17 eax = 0 0x11c3 18 call(0x1030) 0x11c8 19 goto 32 @ 0x1304 0x11f5 20 edi = 0x21 {""} 0x11fa 21 call(0x1070) 0x11ff 22 goto 32 @ 0x1304 0x11d4 23 xmm0.q = float.d(eax) 0x11d8 24 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x11dc 25 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x11dc 26 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11dc 27 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11dc 28 flag:s = 0 0x11dc 29 flag:o = 0 0x11dc 30 flag:a = 0 0x11e0 31 if (flag:c) then 38 @ 0x1204 else 46 @ 0x11e2 0x1304 32 rsp = rsp + 0x9c58 0x130b 33 rbx = pop 0x130c 34 r14 = pop 0x130e 35 r15 = pop 0x1310 36 rbp = pop 0x1311 37 <return> jump(pop) 0x1204 38 call(0x1060) 0x1209 39 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1209 40 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1209 41 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1209 42 flag:s = 0 0x1209 43 flag:o = 0 0x1209 44 flag:a = 0 0x1211 45 if (flag:z || flag:c) then 54 @ 0x12a6 else 56 @ 0x1217 0x11e2 46 xmm0 = _mm_sqrt_sd(xmm0.q) 0x11e6 47 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11e6 48 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11e6 49 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11e6 50 flag:s = 0 0x11e6 51 flag:o = 0 0x11e6 52 flag:a = 0 0x11ee 53 if (not(flag:z) && not(flag:c)) then 56 @ 0x1217 else 62 @ 0x11f0 0x12a6 54 eax = [rsp + 0xc {var_9c6c}].d 0x12ad 55 if (eax s< 4) then 32 @ 0x1304 else 63 @ 0x12af 0x1217 56 r14 = rsp + 0x20 {var_9c58} 0x121c 57 ebp = 2 0x1221 58 ebx = 8 0x1226 59 r15d = 4 0x122c 60 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1230 61 goto 67 @ 0x1262 0x11f0 62 goto 54 @ 0x12a6 0x12af 63 ebx = 2 0x12b4 64 ebp = 4 0x12b9 65 r14 = 0x2019 {"%d %d\n"} 0x12c0 66 goto 70 @ 0x12e7 0x1262 67 ecx = (rbp + rbp).d 0x1266 68 eax = [rsp + 0xc {var_9c6c}].d 0x126c 69 if (ecx s> eax) then 71 @ 0x128f else 81 @ 0x126e 0x12e7 70 if ([rsp + (rbx << 2) + 0x10].d != 0) then 84 @ 0x12d0 else 89 @ 0x12ee 0x128f 71 rbp = rbp + 1 0x1293 72 xmm0 = 0 0x1296 73 xmm0.q = float.d(eax) 0x129a 74 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x129a 75 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x129a 76 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x129a 77 flag:s = 0 0x129a 78 flag:o = 0 0x129a 79 flag:a = 0 0x129e 80 if (flag:c) then 90 @ 0x1240 else 93 @ 0x12a0 0x126e 81 ecx = r15d 0x1271 82 rdx = r14 0x127e 83 goto 95 @ 0x1280 0x12d0 84 rbx = rbx + 1 0x12d4 85 ecx = (rax - 1).d 0x12d7 86 rcx = sx.q(ecx) 0x12da 87 ebp = ebp + 1 0x12e0 88 if (rbx s>= rcx) then 32 @ 0x1304 else 70 @ 0x12e7 0x12ee 89 if ([rsp + (rbx << 2) + 0x18].d != 0) then 84 @ 0x12d0 else 99 @ 0x12f0 0x1240 90 call(0x1060) 0x1245 91 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1245 92 goto 106 @ 0x1249 0x12a0 93 xmm0 = _mm_sqrt_sd(xmm0.q) 0x12a4 94 goto 106 @ 0x1249 0x1280 95 [rdx].d = 1 0x1286 96 rdx = rdx + rbx 0x1289 97 ecx = ecx + ebp 0x128d 98 if (eax s>= ecx) then 95 @ 0x1280 else 71 @ 0x128f 0x12f0 99 rdi = r14 0x12f3 100 esi = ebx 0x12f5 101 edx = ebp 0x12f7 102 eax = 0 0x12f9 103 call(0x1030) 0x12fe 104 eax = [rsp + 0xc {var_9c6c}].d 0x1302 105 goto 84 @ 0x12d0 0x1249 106 xmm1 = 0 0x124c 107 xmm1.q = float.d(ebp) 0x1250 108 r14 = r14 + 8 0x1254 109 rbx = rbx + 4 0x1258 110 r15d = r15d + 2 0x125c 111 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x125c 112 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x125c 113 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x125c 114 flag:s = 0 0x125c 115 flag:o = 0 0x125c 116 flag:a = 0 0x1260 117 if (flag:z || flag:c) then 54 @ 0x12a6 else 67 @ 0x1262 int64_t _fini(): 0x1318 0 rsp = rsp - 8 0x131c 1 rsp = rsp + 8 0x1320 2 <return> jump(pop)
POJ_60
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(LT$ L\$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 - 0x28 0x1154 1 r10 = rsp + 0xc {var_1c} 0x1159 2 r11 = rsp + 0x10 {var_18} 0x115e 3 rdi = 0x2004 {"%d%d%d%d%d%d%d"} 0x1165 4 rsi = rsp + 0x24 {var_4} 0x116a 5 rdx = rsp + 0x20 {var_8} 0x116f 6 rcx = rsp + 0x1c {var_c} 0x1174 7 r8 = rsp + 0x18 {var_10} 0x1179 8 r9 = rsp + 0x14 {var_14} 0x117e 9 eax = 0 0x1180 10 push(r10) 0x1182 11 push(r11) 0x1184 12 call(0x1040) 0x1189 13 rsp = rsp + 0x10 0x118d 14 rax = sx.q([rsp + 0x24 {var_4}].d) 0x1192 15 rsi = rax * 0x51eb851f 0x1199 16 rcx = rsi 0x119c 17 rcx = rcx u>> 0x3f 0x11a0 18 rsi = rsi s>> 0x25 0x11a4 19 esi = esi + ecx 0x11a6 20 [rsp + 0x20 {var_8}].d = esi 0x11aa 21 ecx = esi * -0x64 0x11ad 22 ecx = ecx + eax 0x11af 23 rax = sx.q(ecx) 0x11b2 24 rdx = rax * 0x51eb851f 0x11b9 25 rcx = rdx 0x11bc 26 rcx = rcx u>> 0x3f 0x11c0 27 rdx = rdx s>> 0x24 0x11c4 28 edx = edx + ecx 0x11c6 29 [rsp + 0x1c {var_c}].d = edx 0x11ca 30 ecx = edx * -0x32 0x11cd 31 eax = eax + ecx 0x11cf 32 rax = sx.q(eax) 0x11d1 33 rcx = rax * 0x66666667 0x11d8 34 rdi = rcx 0x11db 35 rdi = rdi u>> 0x3f 0x11df 36 rcx = rcx s>> 0x23 0x11e3 37 ecx = ecx + edi 0x11e5 38 [rsp + 0x18 {var_10}].d = ecx 0x11e9 39 edi = (rcx << 2).d 0x11f0 40 edi = (rdi + (rdi << 2)).d 0x11f3 41 eax = eax - edi 0x11f5 42 rax = sx.q(eax) 0x11f7 43 r8 = rax * 0x66666667 0x11fe 44 rdi = r8 0x1201 45 rdi = rdi u>> 0x3f 0x1205 46 r8 = r8 s>> 0x22 0x1209 47 r8d = r8d + edi 0x120c 48 [rsp + 0x14 {var_14}].d = r8d 0x1211 49 edi = (r8 + r8).d 0x1215 50 edi = (rdi + (rdi << 2)).d 0x1218 51 eax = eax - edi 0x121a 52 r10 = sx.q(eax) 0x121d 53 r9 = r10 * 0x66666667 0x1224 54 rax = r9 0x1227 55 rax = rax u>> 0x3f 0x122b 56 r9 = r9 s>> 0x21 0x122f 57 r9d = r9d + eax 0x1232 58 [rsp + 0x10 {var_18}].d = r9d 0x1237 59 eax = (r9 + (r9 << 2)).d 0x123b 60 r10d = r10d - eax 0x123e 61 [rsp + 0xc {var_1c}].d = r10d 0x1243 62 rsp = rsp - 8 0x1247 63 rdi = 0x2013 {"%d\n%d\n%d\n%d\n%d\n%d\n"} 0x124e 64 eax = 0 0x1250 65 push(r10) 0x1252 66 call(0x1030) 0x1257 67 rsp = rsp + 0x10 0x125b 68 eax = 0 0x125d 69 rsp = rsp + 0x28 0x1261 70 <return> jump(pop) int64_t _fini(): 0x1268 0 rsp = rsp - 8 0x126c 1 rsp = rsp + 8 0x1270 2 <return> jump(pop)
POJ_97
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0xfb8 0x1171 7 rdi = 0x2004 {"%d %d"} 0x1178 8 rsi = rsp + 0xc {var_fdc} 0x117d 9 rdx = rsp + 8 {var_fe0} 0x1182 10 eax = 0 0x1184 11 call(0x1050) 0x1189 12 r13d = [rsp + 8 {var_fe0}].d 0x118e 13 ebp = [rsp + 0xc {var_fdc}].d 0x1192 14 eax = r13d 0x1195 15 eax = eax | ebp 0x1197 16 if (eax != 0) then 17 @ 0x11ad else 22 @ 0x1199 0x11ad 17 r14 = rsp + 0x10 {var_fd8} 0x11b2 18 r15 = 0x2004 {"%d %d"} 0x11b9 19 r12 = rsp + 0xc {var_fdc} 0x11be 20 rbx = rsp + 8 {var_fe0} 0x11c3 21 goto 31 @ 0x11fe 0x1199 22 eax = 0 0x119b 23 rsp = rsp + 0xfb8 0x11a2 24 rbx = pop 0x11a3 25 r12 = pop 0x11a5 26 r13 = pop 0x11a7 27 r14 = pop 0x11a9 28 r15 = pop 0x11ab 29 rbp = pop 0x11ac 30 <return> jump(pop) 0x11fe 31 edx = 0xfa0 {""} 0x1203 32 rdi = r14 {var_fd8} 0x1206 33 esi = 0 0x1208 34 call(0x1040) 0x120d 35 ecx = (rbp - 1).d 0x1210 36 eax = 1 0x1215 37 edi = 1 0x121a 38 esi = 0 0x121e 39 if (eax s<= ebp) then 40 @ 0x1241 else 41 @ 0x1220 0x1241 40 if (esi == ecx) then 42 @ 0x1272 else 43 @ 0x1243 0x1220 41 goto 45 @ 0x123a 0x1272 42 if (ebp s<= 0) then 58 @ 0x11de else 68 @ 0x1278 0x1243 43 rdx = sx.q(eax) 0x124b 44 if ([rsp + (rdx << 2) + 0x10].d == 1) then 71 @ 0x1233 else 73 @ 0x1250 0x123a 45 temp2.d:temp3.d = sx.q(eax) 0x123a 46 edx = temp2.d 0x123a 47 eax = temp3.d 0x123b 48 temp4.d = edx 0x123b 49 temp5.d = eax 0x123b 50 temp0.d = divs.dp.d(temp4.d:temp5.d, ebp) 0x123b 51 temp6.d = edx 0x123b 52 temp7.d = eax 0x123b 53 temp1.d = mods.dp.d(temp6.d:temp7.d, ebp) 0x123b 54 eax = temp0.d 0x123b 55 edx = temp1.d 0x123d 56 eax = edx 0x123d 57 goto 40 @ 0x1241 0x11de 58 rdi = r15 0x11e1 59 rsi = r12 {var_fdc} 0x11e4 60 rdx = rbx {var_fe0} 0x11e7 61 eax = 0 0x11e9 62 call(0x1050) 0x11ee 63 r13d = [rsp + 8 {var_fe0}].d 0x11f3 64 ebp = [rsp + 0xc {var_fdc}].d 0x11f7 65 eax = r13d 0x11fa 66 eax = eax | ebp 0x11fc 67 if (eax == 0) then 22 @ 0x1199 else 31 @ 0x11fe 0x1278 68 ebp = ebp + 1 0x127b 69 esi = 1 0x127b 70 goto 74 @ 0x1285 0x1233 71 eax = eax + 1 0x1238 72 if (eax s<= ebp) then 40 @ 0x1241 else 45 @ 0x123a 0x1250 73 if (edi != r13d) then 75 @ 0x1230 else 77 @ 0x1252 0x1285 74 if ([rsp + (rsi << 2) + 0x10].d == 0) then 82 @ 0x11d0 else 86 @ 0x128b 0x1230 75 edi = edi + 1 0x1230 76 goto 71 @ 0x1233 0x1252 77 [rsp + (rdx << 2) + 0x10].d = 1 0x125a 78 esi = esi + 1 0x125d 79 edi = 1 0x1262 80 eax = eax + 1 0x1267 81 if (eax s> ebp) then 45 @ 0x123a else 88 @ 0x1269 0x11d0 82 rdi = 0x200a {"%d\n"} 0x11d7 83 eax = 0 0x11d9 84 call(0x1030) 0x11d9 85 goto 58 @ 0x11de 0x128b 86 rsi = rsi + 1 0x1292 87 if (rbp != rsi) then 74 @ 0x1285 else 89 @ 0x1294 0x1269 88 goto 40 @ 0x1241 0x1294 89 goto 58 @ 0x11de int64_t _fini(): 0x12a0 0 rsp = rsp - 8 0x12a4 1 rsp = rsp + 8 0x12a8 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 {"UHH H="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 rdi = 0x2007 {"%d"} 0x115f 4 rsi = rbp - 0x10 {var_18} 0x1163 5 al = 0 0x1165 6 call(0x1040) 0x116a 7 [rbp - 0x14 {var_1c}].d = 0 0x116a 8 goto 9 @ 0x1171 0x1171 9 eax = [rbp - 0x14 {var_1c}].d 0x1177 10 if (eax s>= [rbp - 0x10 {var_18}].d) then 11 @ 0x11c0 else 14 @ 0x117d 0x11c0 11 rsp = rsp + 0x20 0x11c4 12 rbp = pop 0x11c5 13 <return> jump(pop) 0x117d 14 rdi = 0x2004 {"%d %d"} 0x1184 15 rsi = rbp - 4 {var_c} 0x1188 16 rdx = rbp - 8 {var_10} 0x118c 17 al = 0 0x118e 18 call(0x1040) 0x1193 19 edi = [rbp - 4 {var_c}].d 0x1196 20 esi = [rbp - 8 {var_10}].d 0x1199 21 call(0x11d0) 0x119e 22 [rbp - 0xc {var_14_1}].d = eax 0x11a1 23 esi = [rbp - 0xc {var_14_1}].d 0x11a4 24 rdi = 0x200a {"%d\n"} 0x11ab 25 al = 0 0x11ad 26 call(0x1030) 0x11b2 27 eax = [rbp - 0x14 {var_1c}].d 0x11b5 28 eax = eax + 1 0x11b8 29 [rbp - 0x14 {var_1c}].d = eax 0x11bb 30 goto 9 @ 0x1171 uint64_t f(int32_t arg1, int32_t arg2): 0x11d0 0 push(rbp) 0x11d1 1 rbp = rsp {__saved_rbp} 0x11d4 2 rsp = rsp - 0x10 0x11d8 3 [rbp - 4 {var_c}].d = edi 0x11db 4 [rbp - 8 {var_10}].d = esi 0x11de 5 [rbp - 0xc {var_14}].d = 0 0x11e9 6 if ([rbp - 8 {var_10}].d == 1) then 7 @ 0x1203 else 9 @ 0x11f3 0x1203 7 [rbp - 0xc {var_14_1}].d = 1 0x120a 8 goto 10 @ 0x124a 0x11f3 9 if ([rbp - 4 {var_c}].d == 0) then 7 @ 0x1203 else 14 @ 0x11fd 0x124a 10 eax = [rbp - 0xc {var_14_1}].d 0x124d 11 rsp = rsp + 0x10 0x1251 12 rbp = pop 0x1252 13 <return> jump(pop) 0x11fd 14 if ([rbp - 4 {var_c}].d != 1) then 15 @ 0x120f else 7 @ 0x1203 0x120f 15 eax = [rbp - 4 {var_c}].d 0x1215 16 if (eax s>= [rbp - 8 {var_10}].d) then 17 @ 0x1221 else 31 @ 0x121b 0x1221 17 edi = [rbp - 4 {var_c}].d 0x1224 18 edi = edi - [rbp - 8 {var_10}].d 0x1227 19 esi = [rbp - 8 {var_10}].d 0x122a 20 call(0x11d0) 0x122f 21 [rbp - 0x10 {var_18_1}].d = eax 0x1232 22 edi = [rbp - 4 {var_c}].d 0x1235 23 esi = [rbp - 8 {var_10}].d 0x1238 24 esi = esi - 1 0x123b 25 call(0x11d0) 0x1240 26 ecx = eax 0x1242 27 eax = [rbp - 0x10 {var_18_1}].d 0x1245 28 eax = eax + ecx 0x1247 29 [rbp - 0xc {var_14_1}].d = eax 0x1247 30 goto 10 @ 0x124a 0x121b 31 eax = [rbp - 4 {var_c}].d 0x121e 32 [rbp - 8 {var_10}].d = eax 0x121e 33 goto 17 @ 0x1221 int64_t _fini(): 0x1258 0 rsp = rsp - 8 0x125c 1 rsp = rsp + 8 0x1260 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) 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 - 0x480 0x116b 3 [rbp - 0x478 {var_480}].d = 0 0x1175 4 rdi = 0x2004 {"%d"} 0x117c 5 rsi = rbp - 0x3f8 {var_400} 0x1183 6 al = 0 0x1185 7 call(0x1050) 0x1185 8 goto 9 @ 0x118a 0x118a 9 eax = [rbp - 0x3f8 {var_400}].d 0x1190 10 ecx = eax 0x1192 11 ecx = ecx - 1 0x1195 12 [rbp - 0x3f8 {var_400}].d = ecx 0x119e 13 if (eax == 0) then 14 @ 0x1315 else 17 @ 0x11a4 0x1315 14 rsp = rsp + 0x480 0x131c 15 rbp = pop 0x131d 16 <return> jump(pop) 0x11a4 17 rsi = rbp - 0x3f0 {var_3f8} 0x11ab 18 rdi = 0x2007 {"%s"} 0x11b2 19 al = 0 0x11b4 20 call(0x1050) 0x11b9 21 rdi = rbp - 0x3f0 {var_3f8} 0x11c0 22 call(0x1040) 0x11c5 23 [rbp - 0x3fc {var_404_1}].d = eax 0x11cb 24 [rbp - 0x3f4 {var_3fc_1}].d = 0 0x11cb 25 goto 26 @ 0x11dc 0x11dc 26 if ([rbp - 0x3f4 {var_3fc_1}].d s>= 0x1a) then 27 @ 0x1208 else 29 @ 0x11e2 0x1208 27 [rbp - 0x3f4 {var_3fc_2}].d = 0 0x1208 28 goto 35 @ 0x1212 0x11e2 29 rax = sx.q([rbp - 0x3f4 {var_3fc_1}].d) 0x11e9 30 [rbp + (rax << 2) - 0x470].d = 0 0x11f4 31 eax = [rbp - 0x3f4 {var_3fc_1}].d 0x11fa 32 eax = eax + 1 0x11fd 33 [rbp - 0x3f4 {var_3fc_1}].d = eax 0x1203 34 goto 26 @ 0x11dc 0x1212 35 eax = [rbp - 0x3f4 {var_3fc_2}].d 0x121e 36 if (eax s>= [rbp - 0x3fc {var_404_1}].d) then 37 @ 0x1268 else 39 @ 0x1224 0x1268 37 [rbp - 0x3f4 {var_3fc_3}].d = 0 0x1268 38 goto 51 @ 0x1272 0x1224 39 rax = sx.q([rbp - 0x3f4 {var_3fc_2}].d) 0x122b 40 eax = sx.d([rbp + rax - 0x3f0].b) 0x1233 41 eax = eax - 0x61 0x1236 42 [rbp - 0x474 {var_47c_1}].d = eax 0x123c 43 rax = sx.q([rbp - 0x474 {var_47c_1}].d) 0x1243 44 ecx = [rbp + (rax << 2) - 0x470].d 0x124a 45 ecx = ecx + 1 0x124d 46 [rbp + (rax << 2) - 0x470].d = ecx 0x1254 47 eax = [rbp - 0x3f4 {var_3fc_2}].d 0x125a 48 eax = eax + 1 0x125d 49 [rbp - 0x3f4 {var_3fc_2}].d = eax 0x1263 50 goto 35 @ 0x1212 0x1272 51 eax = [rbp - 0x3f4 {var_3fc_3}].d 0x127e 52 if (eax s>= [rbp - 0x3fc {var_404_1}].d) then 53 @ 0x12f2 else 54 @ 0x1284 0x12f2 53 if ([rbp - 0x478 {var_480}].d != 0) then 59 @ 0x1306 else 61 @ 0x12f8 0x1284 54 rax = sx.q([rbp - 0x3f4 {var_3fc_3}].d) 0x128b 55 eax = sx.d([rbp + rax - 0x3f0].b) 0x1293 56 eax = eax - 0x61 0x1296 57 rax = sx.q(eax) 0x12a0 58 if ([rbp + (rax << 2) - 0x470].d != 1) then 65 @ 0x12d2 else 66 @ 0x12a6 0x1306 59 [rbp - 0x478 {var_480}].d = 0 0x1310 60 goto 9 @ 0x118a 0x12f8 61 rdi = 0x200e {"no\n"} 0x12ff 62 al = 0 0x1301 63 call(0x1030) 0x1301 64 goto 59 @ 0x1306 0x12d2 65 goto 73 @ 0x12d7 0x12a6 66 rax = sx.q([rbp - 0x3f4 {var_3fc_3}].d) 0x12ad 67 esi = sx.d([rbp + rax - 0x3f0].b) 0x12b5 68 rdi = 0x200a {"%c\n"} 0x12bc 69 al = 0 0x12be 70 call(0x1030) 0x12c3 71 [rbp - 0x478 {var_480}].d = 1 0x12cd 72 goto 53 @ 0x12f2 0x12d7 73 eax = [rbp - 0x3f4 {var_3fc_3}].d 0x12dd 74 eax = eax + 1 0x12e0 75 [rbp - 0x3f4 {var_3fc_3}].d = eax 0x12e6 76 goto 51 @ 0x1272 int64_t _fini(): 0x1324 0 rsp = rsp - 8 0x1328 1 rsp = rsp + 8 0x132c 2 <return> jump(pop)
POJ_37
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x18 0x116e 7 rdi = 0x2018 {"%d"} 0x1175 8 rsi = rsp + 0x14 {var_34} 0x117a 9 eax = 0 0x117c 10 call(0x1040) 0x1186 11 if ([rsp + 0x14 {var_34}].d u>= 6) then 12 @ 0x1199 else 14 @ 0x1188 0x1199 12 r13d = 6 0x119f 13 goto 23 @ 0x11cf 0x1188 14 eax = 0 0x118a 15 rsp = rsp + 0x18 0x118e 16 rbx = pop 0x118f 17 r12 = pop 0x1191 18 r13 = pop 0x1193 19 r14 = pop 0x1195 20 r15 = pop 0x1197 21 rbp = pop 0x1198 22 <return> jump(pop) 0x11cf 23 if (r13d u< 6) then 24 @ 0x11c0 else 26 @ 0x11d1 0x11c0 24 r13d = r13d + 2 0x11c9 25 if (r13d u> [rsp + 0x14 {var_34}].d) then 14 @ 0x1188 else 23 @ 0x11cf 0x11d1 26 r12d = r13d 0x11d4 27 r12d = r12d u>> 1 0x11d7 28 ebp = 3 0x11dc 29 goto 30 @ 0x1210 0x1210 30 ebx = ebp 0x1212 31 xmm2 = 0 0x1215 32 xmm2.q = float.d(rbx) 0x121a 33 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x121a 34 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x121a 35 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x121a 36 flag:s = 0 0x121a 37 flag:o = 0 0x121a 38 flag:a = 0 0x1222 39 [rsp + 8 {var_40_2}].q = xmm2.q 0x1228 40 if (flag:c) then 41 @ 0x1240 else 45 @ 0x122a 0x1240 41 xmm0 = xmm2 0x1244 42 call(0x1050) 0x1249 43 xmm2 = zx.o([rsp + 8 {var_40_2}].q) 0x1249 44 goto 48 @ 0x124f 0x122a 45 xmm0 = 0 0x122d 46 xmm0 = _mm_sqrt_sd(xmm2.q) 0x1231 47 goto 48 @ 0x124f 0x124f 48 xmm1 = zx.o([0x2008].q) 0x1257 49 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1257 50 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1257 51 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1257 52 flag:s = 0 0x1257 53 flag:o = 0 0x1257 54 flag:a = 0 0x125b 55 if (flag:c) then 56 @ 0x12cc else 63 @ 0x125d 0x12cc 56 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12cc 57 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12cc 58 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12cc 59 flag:s = 0 0x12cc 60 flag:o = 0 0x12cc 61 flag:a = 0 0x12d4 62 if (flag:c) then 72 @ 0x12f0 else 83 @ 0x12d6 0x125d 63 eax = 0xaaaaaaab {""} 0x1262 64 rbx = rbx * rax 0x1266 65 rbx = rbx u>> 0x21 0x126a 66 eax = (rbx + (rbx << 1)).d 0x126d 67 ecx = ebp 0x126f 68 xmm1 = zx.o([0x2008].q) 0x1277 69 temp3.d = ecx 0x1277 70 ecx = ecx - eax 0x1279 71 if (temp3.d == eax) then 56 @ 0x12cc else 92 @ 0x127b 0x12f0 72 xmm0 = xmm2 0x12f4 73 [rsp + 8 {var_40_3}].q = xmm1.q 0x12fa 74 call(0x1050) 0x12ff 75 xmm1 = zx.o([rsp + 8 {var_40_3}].q) 0x1305 76 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x1305 77 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1305 78 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1305 79 flag:s = 0 0x1305 80 flag:o = 0 0x1305 81 flag:a = 0 0x1309 82 if (flag:z || flag:c) then 94 @ 0x13ff else 96 @ 0x130f 0x12d6 83 xmm0 = 0 0x12d9 84 xmm0 = _mm_sqrt_sd(xmm2.q) 0x12dd 85 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x12dd 86 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x12dd 87 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x12dd 88 flag:s = 0 0x12dd 89 flag:o = 0 0x12dd 90 flag:a = 0 0x12e1 91 if (not(flag:z) && not(flag:c)) then 96 @ 0x130f else 109 @ 0x12e3 0x127b 92 ebx = 5 0x127b 93 goto 110 @ 0x1280 0x13ff 94 ebp = ebp + 2 0x1405 95 if (ebp u<= r12d) then 30 @ 0x1210 else 117 @ 0x140b 0x130f 96 r15d = r13d 0x1312 97 r15d = r15d - ebp 0x1315 98 ebx = r15d 0x1318 99 xmm2 = 0 0x131b 100 xmm2.q = float.d(rbx) 0x1320 101 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1320 102 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1320 103 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1320 104 flag:s = 0 0x1320 105 flag:o = 0 0x1320 106 flag:a = 0 0x1328 107 [rsp + 8 {var_40_4}].q = xmm2.q 0x132e 108 if (flag:c) then 118 @ 0x1340 else 122 @ 0x1330 0x12e3 109 goto 94 @ 0x13ff 0x1280 110 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1280 111 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1280 112 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1280 113 flag:s = 0 0x1280 114 flag:o = 0 0x1280 115 flag:a = 0 0x1288 116 if (flag:c) then 125 @ 0x12a0 else 129 @ 0x128a 0x140b 117 goto 24 @ 0x11c0 0x1340 118 xmm0 = xmm2 0x1344 119 call(0x1050) 0x1349 120 xmm2 = zx.o([rsp + 8 {var_40_4}].q) 0x1349 121 goto 132 @ 0x134f 0x1330 122 xmm0 = 0 0x1333 123 xmm0 = _mm_sqrt_sd(xmm2.q) 0x1337 124 goto 132 @ 0x134f 0x12a0 125 xmm0 = xmm2 0x12a4 126 call(0x1050) 0x12a9 127 xmm2 = zx.o([rsp + 8 {var_40_2}].q) 0x12a9 128 goto 140 @ 0x12af 0x128a 129 xmm0 = 0 0x128d 130 xmm0 = _mm_sqrt_sd(xmm2.q) 0x1291 131 goto 140 @ 0x12af 0x134f 132 xmm1 = zx.o([0x2008].q) 0x1357 133 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1357 134 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1357 135 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1357 136 flag:s = 0 0x1357 137 flag:o = 0 0x1357 138 flag:a = 0 0x135b 139 if (flag:c) then 150 @ 0x13e0 else 157 @ 0x1361 0x12af 140 eax = ebx 0x12b1 141 xmm1 = 0 0x12b4 142 xmm1.q = float.d(rax) 0x12b9 143 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x12b9 144 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12b9 145 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12b9 146 flag:s = 0 0x12b9 147 flag:o = 0 0x12b9 148 flag:a = 0 0x12bd 149 if (flag:c) then 56 @ 0x12cc else 166 @ 0x12bf 0x13e0 150 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13e0 151 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13e0 152 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13e0 153 flag:s = 0 0x13e0 154 flag:o = 0 0x13e0 155 flag:a = 0 0x13e8 156 if (flag:c) then 179 @ 0x11e0 else 190 @ 0x13ee 0x1361 157 eax = 0xaaaaaaab {""} 0x1366 158 rbx = rbx * rax 0x136a 159 rbx = rbx u>> 0x21 0x136e 160 eax = (rbx + (rbx << 1)).d 0x1371 161 ecx = r15d 0x1374 162 xmm1 = zx.o([0x2008].q) 0x137c 163 temp4.d = ecx 0x137c 164 ecx = ecx - eax 0x137e 165 if (temp4.d == eax) then 150 @ 0x13e0 else 199 @ 0x1380 0x12bf 166 eax = ebp 0x12c1 167 edx = 0 0x12c3 168 temp2.d = ebx 0x12c3 169 temp5.d = edx 0x12c3 170 temp6.d = eax 0x12c3 171 temp0.d = divu.dp.d(temp5.d:temp6.d, temp2.d) 0x12c3 172 temp7.d = edx 0x12c3 173 temp8.d = eax 0x12c3 174 temp1.d = modu.dp.d(temp7.d:temp8.d, temp2.d) 0x12c3 175 eax = temp0.d 0x12c3 176 edx = temp1.d 0x12c5 177 ebx = ebx + 2 0x12ca 178 if (edx != 0) then 110 @ 0x1280 else 56 @ 0x12cc 0x11e0 179 xmm0 = xmm2 0x11e4 180 [rsp + 8 {var_40_1}].q = xmm1.q 0x11ea 181 call(0x1050) 0x11ef 182 xmm1 = zx.o([rsp + 8 {var_40_1}].q) 0x11f5 183 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x11f5 184 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x11f5 185 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x11f5 186 flag:s = 0 0x11f5 187 flag:o = 0 0x11f5 188 flag:a = 0 0x11f9 189 if (flag:z || flag:c) then 94 @ 0x13ff else 201 @ 0x11ff 0x13ee 190 xmm0 = 0 0x13f1 191 xmm0 = _mm_sqrt_sd(xmm2.q) 0x13f5 192 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x13f5 193 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13f5 194 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13f5 195 flag:s = 0 0x13f5 196 flag:o = 0 0x13f5 197 flag:a = 0 0x13f9 198 if (not(flag:z) && not(flag:c)) then 202 @ 0x11a1 else 94 @ 0x13ff 0x1380 199 r14d = 5 0x1386 200 goto 209 @ 0x1390 0x11ff 201 goto 202 @ 0x11a1 0x11a1 202 rdi = 0x201b {"%d=%d+%d\n"} 0x11a8 203 esi = r13d 0x11ab 204 edx = ebp 0x11ad 205 ecx = r15d 0x11b0 206 eax = 0 0x11b2 207 call(0x1030) 0x11b7 208 goto 24 @ 0x11c0 0x1390 209 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1390 210 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1390 211 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1390 212 flag:s = 0 0x1390 213 flag:o = 0 0x1390 214 flag:a = 0 0x1398 215 if (flag:c) then 216 @ 0x13b0 else 220 @ 0x139a 0x13b0 216 xmm0 = xmm2 0x13b4 217 call(0x1050) 0x13b9 218 xmm2 = zx.o([rsp + 8 {var_40_4}].q) 0x13b9 219 goto 223 @ 0x13bf 0x139a 220 xmm0 = 0 0x139d 221 xmm0 = _mm_sqrt_sd(xmm2.q) 0x13a1 222 goto 223 @ 0x13bf 0x13bf 223 eax = r14d 0x13c2 224 xmm1 = 0 0x13c5 225 xmm1.q = float.d(rax) 0x13ca 226 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x13ca 227 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13ca 228 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13ca 229 flag:s = 0 0x13ca 230 flag:o = 0 0x13ca 231 flag:a = 0 0x13ce 232 if (flag:c) then 150 @ 0x13e0 else 233 @ 0x13d0 0x13d0 233 eax = r15d 0x13d3 234 edx = 0 0x13d5 235 temp2.d = r14d 0x13d5 236 temp9.d = edx 0x13d5 237 temp10.d = eax 0x13d5 238 temp0.d = divu.dp.d(temp9.d:temp10.d, temp2.d) 0x13d5 239 temp11.d = edx 0x13d5 240 temp12.d = eax 0x13d5 241 temp1.d = modu.dp.d(temp11.d:temp12.d, temp2.d) 0x13d5 242 eax = temp0.d 0x13d5 243 edx = temp1.d 0x13d8 244 r14d = r14d + 2 0x13de 245 if (edx != 0) then 209 @ 0x1390 else 150 @ 0x13e0 int64_t _fini(): 0x1414 0 rsp = rsp - 8 0x1418 1 rsp = rsp + 8 0x141c 2 <return> jump(pop)
POJ_68
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 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 - 0x1c8 0x116e 5 rdi = rsp + 0x30 {var_1b8} 0x1173 6 edx = 0x190 {""} 0x1178 7 esi = 0 0x117a 8 call(0x1030) 0x117f 9 rdi = 0x2004 {"%d"} 0x1186 10 rsi = rsp + 0xc {var_1dc} 0x118b 11 eax = 0 0x118d 12 call(0x1040) 0x1197 13 if ([rsp + 0xc {var_1dc}].d s<= 0) then 14 @ 0x1282 else 21 @ 0x119d 0x1282 14 eax = 0 0x1284 15 rsp = rsp + 0x1c8 0x128b 16 rbx = pop 0x128c 17 r12 = pop 0x128e 18 r14 = pop 0x1290 19 r15 = pop 0x1292 20 <return> jump(pop) 0x119d 21 r15 = rsp + 0x12 {var_1d6} 0x11a2 22 r14 = 0x2007 {"%s"} 0x11a9 23 r12 = rsp + 0x10 {var_1d8} 0x11ae 24 ebx = 0 0x11b0 25 goto 26 @ 0x11ce 0x11ce 26 rdi = r14 0x11d1 27 rsi = r12 {var_1d8} 0x11d4 28 eax = 0 0x11d6 29 call(0x1040) 0x11db 30 al = [rsp + 0x10 {var_1d8}].b 0x11df 31 ecx = (rax - 0x61).d 0x11e5 32 if (cl u< 0x1a) then 33 @ 0x1200 else 35 @ 0x11e9 0x1200 33 al = [rsp + 0x11 {var_1d7}].b 0x1206 34 if (al == 0) then 36 @ 0x11c0 else 39 @ 0x1208 0x11e9 35 if (al == 0x5f) then 33 @ 0x1200 else 41 @ 0x11eb 0x11c0 36 rbx = rbx + 1 0x11c4 37 rax = sx.q([rsp + 0xc {var_1dc}].d) 0x11cc 38 if (rbx s>= rax) then 43 @ 0x124c else 26 @ 0x11ce 0x1208 39 rcx = r15 {var_1d6} 0x120b 40 goto 44 @ 0x1223 0x11eb 41 al = al - 0x41 0x11ef 42 if (al u> 0x19) then 36 @ 0x11c0 else 46 @ 0x11fb 0x124c 43 if (eax s<= 0) then 14 @ 0x1282 else 47 @ 0x124e 0x1223 44 edx = (rax - 0x61).d 0x1229 45 if (dl u< 0x1a) then 51 @ 0x1210 else 55 @ 0x122b 0x11fb 46 goto 33 @ 0x1200 0x124e 47 ebx = 0 0x1250 48 r14 = 0x200d {"yes"} 0x1257 49 r15 = 0x200a {"no"} 0x125e 50 goto 57 @ 0x1273 0x1210 51 [rsp + (rbx << 2) + 0x30].d = 1 0x1218 52 eax = zx.d([rcx].b) 0x121b 53 rcx = rcx + 1 0x1221 54 if (al == 0) then 36 @ 0x11c0 else 44 @ 0x1223 0x122b 55 edx = (rax - 0x30).d 0x1231 56 if (dl u< 0xa) then 51 @ 0x1210 else 60 @ 0x1235 0x1273 57 cond:0 = [rsp + (rbx << 2) + 0x30].d == 1 0x1278 58 rdi = r14 0x127b 59 if (cond:0) then 61 @ 0x1260 else 65 @ 0x127d 0x1235 60 if (al == 0x5f) then 51 @ 0x1210 else 67 @ 0x1237 0x1260 61 call(0x1050) 0x1265 62 rbx = rbx + 1 0x1269 63 rax = sx.q([rsp + 0xc {var_1dc}].d) 0x1271 64 if (rbx s>= rax) then 14 @ 0x1282 else 57 @ 0x1273 0x127d 65 rdi = r15 0x1280 66 goto 61 @ 0x1260 0x1237 67 al = al - 0x41 0x123b 68 if (al u<= 0x19) then 51 @ 0x1210 else 69 @ 0x123d 0x123d 69 [rsp + (rbx << 2) + 0x30].d = 0 0x1245 70 goto 36 @ 0x11c0 int64_t _fini(): 0x1298 0 rsp = rsp - 8 0x129c 1 rsp = rsp + 8 0x12a0 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 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 {"USHH=#"} 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(rbx) 0x1152 2 rsp = rsp - 0x18 0x1156 3 rdi = 0x2080 {"%d %d %d"} 0x115d 4 ebp = 0 0x115f 5 rsi = rsp + 0x14 {var_14} 0x1164 6 rdx = rsp + 0x10 {var_18} 0x1169 7 rcx = rsp + 0xc {var_1c} 0x116e 8 eax = 0 0x1170 9 call(0x1030) 0x1175 10 eax = [rsp + 0x14 {var_14}].d 0x117b 11 dl = (al & 3) == 0 0x117e 12 ecx = eax * -0x3d70a3d7 0x1184 13 ecx = ror.d(ecx, 2) 0x118d 14 bl = ecx u>= 0x28f5c29 0x1190 15 ecx = [rsp + 0x10 {var_18}].d 0x1196 16 if ((dl & bl) != 0) then 17 @ 0x11d3 else 19 @ 0x1198 0x11d3 17 ecx = ecx - 1 0x11d9 18 if (ecx u> 0xb) then 26 @ 0x129f else 55 @ 0x11df 0x1198 19 rdx = rax * 0x51eb851f 0x119f 20 rdx = rdx u>> 0x27 0x11a3 21 edx = edx * 0x190 0x11a9 22 esi = eax 0x11ab 23 temp0.d = esi 0x11ab 24 esi = esi - edx 0x11ad 25 if (temp0.d == edx) then 17 @ 0x11d3 else 59 @ 0x11af 0x129f 26 edx = (rax - 1).d 0x12a2 27 rcx = rdx * 0x51eb851f 0x12a9 28 edx = edx u>> 2 0x12ac 29 eax = eax + edx 0x12ae 30 eax = eax - 1 0x12b1 31 rdx = rcx 0x12b4 32 rdx = rdx u>> 0x25 0x12b8 33 eax = eax - edx 0x12ba 34 rcx = rcx u>> 0x27 0x12be 35 ecx = ecx + eax 0x12c0 36 ecx = ecx + ebp 0x12c2 37 rax = rcx * 0x24924925 0x12c9 38 rax = rax u>> 0x20 0x12cd 39 edx = ecx 0x12cf 40 edx = edx - eax 0x12d1 41 edx = edx u>> 1 0x12d3 42 edx = edx + eax 0x12d5 43 edx = edx u>> 2 0x12d8 44 eax = (rdx << 3).d 0x12df 45 edx = edx - eax 0x12e1 46 edx = edx + ecx 0x12e3 47 rax = 0x2064 {"C"} 0x12ea 48 rdi = sx.q([rax + (rdx << 2)].d) 0x12ee 49 rdi = rdi + rax 0x12f1 50 call(0x1040) 0x12f6 51 rsp = rsp + 0x18 0x12fa 52 rbx = pop 0x12fb 53 rbp = pop 0x12fc 54 <return> jump(pop) 0x11df 55 rdx = 0x2034 {"&/8?FMT[bC"} 0x11e6 56 rcx = sx.q([rdx + (rcx << 2)].d) 0x11ea 57 rcx = rcx + rdx 0x11ed 58 jump(rcx => 61 @ 0x11ef, 63 @ 0x11f8, 66 @ 0x1251, 69 @ 0x125a, 72 @ 0x1263, 75 @ 0x126c, 77 @ 0x1273, 79 @ 0x127a, 81 @ 0x1281, 83 @ 0x1288, 85 @ 0x128f, 87 @ 0x1296) 0x11af 59 ecx = ecx - 1 0x11b5 60 if (ecx u> 0xb) then 89 @ 0x1204 else 91 @ 0x11b7 0x11ef 61 ebp = [rsp + 0xc {var_1c}].d 0x11f3 62 goto 26 @ 0x129f 0x11f8 63 ebp = [rsp + 0xc {var_1c}].d 0x11fc 64 ebp = ebp + 0x1f 0x11ff 65 goto 26 @ 0x129f 0x1251 66 ebp = [rsp + 0xc {var_1c}].d 0x1255 67 ebp = ebp + 0x3c 0x1258 68 goto 26 @ 0x129f 0x125a 69 ebp = [rsp + 0xc {var_1c}].d 0x125e 70 ebp = ebp + 0x5b 0x1261 71 goto 26 @ 0x129f 0x1263 72 ebp = [rsp + 0xc {var_1c}].d 0x1267 73 ebp = ebp + 0x79 0x126a 74 goto 26 @ 0x129f 0x126c 75 ebp = 0x98 {""} 0x1271 76 goto 95 @ 0x129b 0x1273 77 ebp = 0xb6 {""} 0x1278 78 goto 95 @ 0x129b 0x127a 79 ebp = 0xd5 {""} 0x127f 80 goto 95 @ 0x129b 0x1281 81 ebp = 0xf4 {""} 0x1286 82 goto 95 @ 0x129b 0x1288 83 ebp = 0x112 {""} 0x128d 84 goto 95 @ 0x129b 0x128f 85 ebp = 0x131 {" "} 0x1294 86 goto 95 @ 0x129b 0x1296 87 ebp = 0x14f {""} 0x1296 88 goto 95 @ 0x129b 0x1204 89 ebp = 0 0x1206 90 goto 26 @ 0x129f 0x11b7 91 rdx = 0x2004 {"#*18?F&/8?FMT[bC"} 0x11be 92 rcx = sx.q([rdx + (rcx << 2)].d) 0x11c2 93 rcx = rcx + rdx 0x11c5 94 jump(rcx => 97 @ 0x11c7, 61 @ 0x11ef, 63 @ 0x11f8, 100 @ 0x120b, 103 @ 0x1217, 106 @ 0x1220, 108 @ 0x1227, 110 @ 0x122e, 112 @ 0x1235, 114 @ 0x123c, 116 @ 0x1243, 118 @ 0x124a) 0x129b 95 ebp = ebp + [rsp + 0xc {var_1c}].d 0x129b 96 goto 26 @ 0x129f 0x11c7 97 ebp = [rsp + 0xc {var_1c}].d 0x11cb 98 ebp = ebp + 0x3b 0x11ce 99 goto 26 @ 0x129f 0x120b 100 ebp = [rsp + 0xc {var_1c}].d 0x120f 101 ebp = ebp + 0x5a 0x1212 102 goto 26 @ 0x129f 0x1217 103 ebp = [rsp + 0xc {var_1c}].d 0x121b 104 ebp = ebp + 0x78 0x121e 105 goto 26 @ 0x129f 0x1220 106 ebp = 0x97 {""} 0x1225 107 goto 95 @ 0x129b 0x1227 108 ebp = 0xb5 {""} 0x122c 109 goto 95 @ 0x129b 0x122e 110 ebp = 0xd4 {""} 0x1233 111 goto 95 @ 0x129b 0x1235 112 ebp = 0xf3 {""} 0x123a 113 goto 95 @ 0x129b 0x123c 114 ebp = 0x111 {""} 0x1241 115 goto 95 @ 0x129b 0x1243 116 ebp = 0x130 {""} 0x1248 117 goto 95 @ 0x129b 0x124a 118 ebp = 0x14e {""} 0x124f 119 goto 95 @ 0x129b int64_t _fini(): 0x1304 0 rsp = rsp - 8 0x1308 1 rsp = rsp + 8 0x130c 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) 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 {"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 - 0xea60 0x116f 6 ebp = 0 0x1171 7 rbx = rsp + 0x7530 {var_7558} 0x1179 8 rdi = rbx {var_7558} 0x117c 9 eax = 0 0x117e 10 call(0x1050) 0x1183 11 eax = 0 0x1185 12 goto 13 @ 0x1198 0x1198 13 ecx = zx.d([rbx].b) 0x119e 14 if ((cl & 0xdf) != 0) then 15 @ 0x11c0 else 22 @ 0x11a4 0x11c0 15 rdx = sx.q(eax) 0x11c3 16 rsi = sx.q(ebp) 0x11c6 17 rdx = rdx * 0x64 0x11ca 18 rdx = rdx + rsp 0x11cd 19 [rsi + rdx].b = cl 0x11d0 20 ebp = ebp + 1 0x11d3 21 goto 23 @ 0x1194 0x11a4 22 if ([rbx - 1].b == 0x20) then 25 @ 0x1192 else 26 @ 0x11a6 0x1194 23 rbx = rbx + 1 0x1194 24 goto 13 @ 0x1198 0x1192 25 if (cl == 0) then 34 @ 0x11d7 else 23 @ 0x1194 0x11a6 26 rax = sx.q(eax) 0x11a8 27 rdx = sx.q(ebp) 0x11ab 28 rsi = rax * 0x64 0x11af 29 rsi = rsi + rsp 0x11b2 30 [rdx + rsi].b = 0 0x11b6 31 eax = eax + 1 0x11b9 32 ebp = 0 0x11bb 33 goto 25 @ 0x1192 0x11d7 34 if (eax s<= 0) then 35 @ 0x1225 else 43 @ 0x11d9 0x1225 35 eax = 0 0x1227 36 rsp = rsp + 0xea60 0x122e 37 rbx = pop 0x122f 38 r12 = pop 0x1231 39 r14 = pop 0x1233 40 r15 = pop 0x1235 41 rbp = pop 0x1236 42 <return> jump(pop) 0x11d9 43 ecx = (rax - 1).d 0x11dc 44 eax = eax 0x11de 45 r12 = rcx * 0x64 0x11e2 46 rbp = rax * 0x64 0x11e6 47 r14 = 0x2008 {"%d"} 0x11ed 48 r15 = 0x2004 {"%d,"} 0x11f4 49 ebx = 0 0x11f6 50 goto 51 @ 0x1200 0x1200 51 rdi = rsp + rbx 0x1204 52 call(0x1040) 0x1209 53 cond:0 = r12 == rbx 0x120c 54 rdi = r15 0x120f 55 if (cond:0) then 56 else 58 @ 0x1213 0x120f 56 rdi = r14 0x120f 57 goto 58 @ 0x1213 0x1213 58 esi = eax 0x1215 59 eax = 0 0x1217 60 call(0x1030) 0x121c 61 rbx = rbx + 0x64 0x1223 62 if (rbp != rbx) then 51 @ 0x1200 else 35 @ 0x1225 int64_t _fini(): 0x123c 0 rsp = rsp - 8 0x1240 1 rsp = rsp + 8 0x1244 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) double sqrt(double x): 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 = 0x1280 {"UAVSHH= "} 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) int64_t zhishu(double arg1, uint64_t arg2[0x2] @ zmm1): 0x1180 0 push(rbx) 0x1181 1 ebx = edi 0x1183 2 xmm0.q = float.d(edi) 0x1187 3 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x118b 4 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x118b 5 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x118b 6 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x118b 7 flag:s = 0 0x118b 8 flag:o = 0 0x118b 9 flag:a = 0 0x118f 10 if (flag:c) then 11 @ 0x1197 else 13 @ 0x1191 0x1197 11 call(0x1050) 0x1197 12 goto 15 @ 0x119c 0x1191 13 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1195 14 goto 15 @ 0x119c 0x119c 15 esi = int.d(ftrunc(xmm0.q)) 0x11a0 16 ecx = (rsi + 1).d 0x11a3 17 edi = 2 0x11ab 18 if (esi s< 2) then 19 @ 0x11dd else 23 @ 0x11ad 0x11dd 19 eax = 0 0x11e1 20 al = edi == ecx 0x11e4 21 rbx = pop 0x11e5 22 <return> jump(pop) 0x11ad 23 esi = neg.d(esi) 0x11af 24 edi = 2 0x11be 25 goto 26 @ 0x11c0 0x11c0 26 eax = ebx 0x11c2 27 temp2.d:temp3.d = sx.q(eax) 0x11c2 28 edx = temp2.d 0x11c2 29 eax = temp3.d 0x11c3 30 temp4.d = edx 0x11c3 31 temp5.d = eax 0x11c3 32 temp0.d = divs.dp.d(temp4.d:temp5.d, edi) 0x11c3 33 temp6.d = edx 0x11c3 34 temp7.d = eax 0x11c3 35 temp1.d = mods.dp.d(temp6.d:temp7.d, edi) 0x11c3 36 eax = temp0.d 0x11c3 37 edx = temp1.d 0x11c7 38 if (edx == 0) then 19 @ 0x11dd else 39 @ 0x11c9 0x11c9 39 eax = (rsi + rdi).d 0x11cc 40 eax = eax + 1 0x11cf 41 edx = edi 0x11d1 42 edx = edx + 1 0x11d4 43 edi = edx 0x11d9 44 if (eax != 1) then 26 @ 0x11c0 else 45 @ 0x11db 0x11db 45 edi = ecx 0x11db 46 goto 19 @ 0x11dd uint64_t nixu(int32_t arg1, int32_t arg2): 0x11f0 0 eax = esi 0x11f4 1 if (edi == 0) then 2 @ 0x122f else 3 @ 0x11f6 0x122f 2 <return> jump(pop) 0x11f6 3 goto 4 @ 0x1200 0x1200 4 rcx = sx.q(edi) 0x1203 5 rdi = rcx * 0x66666667 0x120a 6 rdx = rdi 0x120d 7 rdx = rdx u>> 0x3f 0x1211 8 rdi = rdi s>> 0x22 0x1215 9 edi = edi + edx 0x1217 10 eax = (rax + (rax << 2)).d 0x121a 11 edx = (rdi + rdi).d 0x121d 12 edx = (rdx + (rdx << 2)).d 0x1220 13 esi = ecx 0x1222 14 esi = esi - edx 0x1224 15 eax = (rsi + (rax << 1)).d 0x1227 16 ecx = ecx + 9 0x122d 17 if (ecx u> 0x12) then 4 @ 0x1200 else 2 @ 0x122f int64_t huiwen(int32_t arg1): 0x1230 0 edx = 0 0x1234 1 if (edi == 0) then 2 @ 0x1271 else 5 @ 0x1236 0x1271 2 eax = 0 0x1275 3 al = edx == edi 0x1278 4 <return> jump(pop) 0x1236 5 eax = edi 0x1238 6 goto 7 @ 0x1240 0x1240 7 rcx = sx.q(eax) 0x1243 8 rax = rcx * 0x66666667 0x124a 9 rsi = rax 0x124d 10 rsi = rsi u>> 0x3f 0x1251 11 rax = rax s>> 0x22 0x1255 12 eax = eax + esi 0x1257 13 r8d = (rdx + (rdx << 2)).d 0x125b 14 esi = (rax + rax).d 0x125e 15 esi = (rsi + (rsi << 2)).d 0x1261 16 edx = ecx 0x1263 17 edx = edx - esi 0x1265 18 edx = (rdx + (r8 << 1)).d 0x1269 19 ecx = ecx + 9 0x126f 20 if (ecx u> 0x12) then 7 @ 0x1240 else 2 @ 0x1271 int32_t main(int32_t argc, char** argv, char** envp): 0x1280 0 push(rbp) 0x1281 1 push(r14) 0x1283 2 push(rbx) 0x1284 3 rsp = rsp - 0x10 0x1288 4 rdi = 0x2010 {"%d%d"} 0x128f 5 ebp = 0 0x1291 6 rsi = rsp + 0xc {var_1c} 0x1296 7 rdx = rsp + 8 {var_20} 0x129b 8 eax = 0 0x129d 9 call(0x1040) 0x12a2 10 ebx = [rsp + 0xc {var_1c}].d 0x12aa 11 if (ebx s> [rsp + 8 {var_20}].d) then 12 @ 0x149a else 15 @ 0x12b0 0x149a 12 rdi = 0x2015 {"no"} 0x14a1 13 call(0x1060) 0x14a1 14 goto 17 @ 0x14a6 0x12b0 15 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x12b4 16 goto 25 @ 0x12d6 0x14a6 17 edi = 0xa {""} 0x14ab 18 eax = 0 0x14ad 19 call(0x1070) 0x14b2 20 rsp = rsp + 0x10 0x14b6 21 rbx = pop 0x14b7 22 r14 = pop 0x14b9 23 rbp = pop 0x14ba 24 <return> jump(pop) 0x12d6 25 xmm0 = 0 0x12d9 26 xmm0.q = float.d(ebx) 0x12dd 27 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x12dd 28 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12dd 29 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12dd 30 flag:s = 0 0x12dd 31 flag:o = 0 0x12dd 32 flag:a = 0 0x12e1 33 if (flag:c) then 34 @ 0x12f0 else 37 @ 0x12e3 0x12f0 34 call(0x1050) 0x12f5 35 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x12f5 36 goto 39 @ 0x12f9 0x12e3 37 xmm0 = _mm_sqrt_sd(xmm0.q) 0x12e7 38 goto 39 @ 0x12f9 0x12f9 39 ecx = int.d(ftrunc(xmm0.q)) 0x12fd 40 esi = 2 0x1305 41 if (ecx s>= 2) then 42 @ 0x1310 else 46 @ 0x1307 0x1310 42 edi = ecx 0x1312 43 edi = neg.d(edi) 0x1314 44 esi = 2 0x1319 45 goto 48 @ 0x1320 0x1307 46 ecx = ecx + 1 0x130c 47 if (esi != ecx) then 61 @ 0x12c5 else 66 @ 0x130e 0x1320 48 eax = ebx 0x1322 49 temp2.d:temp3.d = sx.q(eax) 0x1322 50 edx = temp2.d 0x1322 51 eax = temp3.d 0x1323 52 temp4.d = edx 0x1323 53 temp5.d = eax 0x1323 54 temp0.d = divs.dp.d(temp4.d:temp5.d, esi) 0x1323 55 temp6.d = edx 0x1323 56 temp7.d = eax 0x1323 57 temp1.d = mods.dp.d(temp6.d:temp7.d, esi) 0x1323 58 eax = temp0.d 0x1323 59 edx = temp1.d 0x1327 60 if (edx == 0) then 46 @ 0x1307 else 67 @ 0x1329 0x12c5 61 ecx = (rbx + 1).d 0x12c8 62 eax = [rsp + 8 {var_20}].d 0x12cc 63 cond:0 = ebx s>= eax 0x12ce 64 ebx = ecx 0x12d0 65 if (cond:0) then 73 @ 0x1386 else 25 @ 0x12d6 0x130e 66 goto 74 @ 0x133b 0x1329 67 eax = (rdi + rsi).d 0x132c 68 eax = eax + 1 0x132f 69 edx = esi 0x1331 70 edx = edx + 1 0x1334 71 esi = edx 0x1339 72 if (eax != 1) then 48 @ 0x1320 else 74 @ 0x133b 0x1386 73 if (ebp == 0) then 12 @ 0x149a else 76 @ 0x138c 0x133b 74 ecx = 0 0x133f 75 if (ebx == 0) then 78 @ 0x12c2 else 79 @ 0x1345 0x138c 76 ebx = [rsp + 0xc {var_1c}].d 0x1392 77 if (ebx s> eax) then 17 @ 0x14a6 else 81 @ 0x1398 0x12c2 78 if (ecx == ebx) then 83 else 85 0x1345 79 eax = ebx 0x1347 80 goto 86 @ 0x1350 0x1398 81 r14 = 0x2012 {"%d"} 0x139f 82 goto 100 @ 0x13bf 0x12c2 83 ebp = ebx 0x12c2 84 goto 85 0x12c2 85 goto 61 @ 0x12c5 0x1350 86 rdx = sx.q(eax) 0x1353 87 rax = rdx * 0x66666667 0x135a 88 rsi = rax 0x135d 89 rsi = rsi u>> 0x3f 0x1361 90 rax = rax s>> 0x22 0x1365 91 eax = eax + esi 0x1367 92 ecx = (rcx + (rcx << 2)).d 0x136a 93 esi = (rax + rax).d 0x136d 94 esi = (rsi + (rsi << 2)).d 0x1370 95 edi = edx 0x1372 96 edi = edi - esi 0x1374 97 ecx = (rdi + (rcx << 1)).d 0x1377 98 edx = edx + 9 0x137d 99 if (edx u> 0x12) then 86 @ 0x1350 else 109 @ 0x137f 0x13bf 100 xmm0 = 0 0x13c2 101 xmm0.q = float.d(ebx) 0x13c6 102 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x13c6 103 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x13c6 104 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x13c6 105 flag:s = 0 0x13c6 106 flag:o = 0 0x13c6 107 flag:a = 0 0x13ce 108 if (flag:c) then 110 @ 0x13e0 else 112 @ 0x13d0 0x137f 109 goto 78 @ 0x12c2 0x13e0 110 call(0x1050) 0x13e0 111 goto 114 @ 0x13e5 0x13d0 112 xmm0 = _mm_sqrt_sd(xmm0.q) 0x13d4 113 goto 114 @ 0x13e5 0x13e5 114 ecx = int.d(ftrunc(xmm0.q)) 0x13e9 115 esi = 2 0x13f1 116 if (ecx s>= 2) then 117 @ 0x1400 else 121 @ 0x13f3 0x1400 117 edi = ecx 0x1402 118 edi = neg.d(edi) 0x1404 119 esi = 2 0x1409 120 goto 123 @ 0x1410 0x13f3 121 ecx = ecx + 1 0x13f8 122 if (esi != ecx) then 136 @ 0x13b0 else 140 @ 0x13fa 0x1410 123 eax = ebx 0x1412 124 temp8.d:temp9.d = sx.q(eax) 0x1412 125 edx = temp8.d 0x1412 126 eax = temp9.d 0x1413 127 temp10.d = edx 0x1413 128 temp11.d = eax 0x1413 129 temp0.d = divs.dp.d(temp10.d:temp11.d, esi) 0x1413 130 temp12.d = edx 0x1413 131 temp13.d = eax 0x1413 132 temp1.d = mods.dp.d(temp12.d:temp13.d, esi) 0x1413 133 eax = temp0.d 0x1413 134 edx = temp1.d 0x1417 135 if (edx == 0) then 121 @ 0x13f3 else 141 @ 0x1419 0x13b0 136 eax = (rbx + 1).d 0x13b3 137 cond:1 = ebx s>= [rsp + 8 {var_20}].d 0x13b7 138 ebx = eax 0x13b9 139 if (cond:1) then 17 @ 0x14a6 else 100 @ 0x13bf 0x13fa 140 goto 147 @ 0x142b 0x1419 141 eax = (rdi + rsi).d 0x141c 142 eax = eax + 1 0x141f 143 edx = esi 0x1421 144 edx = edx + 1 0x1424 145 esi = edx 0x1429 146 if (eax != 1) then 123 @ 0x1410 else 147 @ 0x142b 0x142b 147 ecx = 0 0x142f 148 if (ebx == 0) then 149 @ 0x1471 else 150 @ 0x1431 0x1471 149 if (ecx != ebx) then 136 @ 0x13b0 else 152 @ 0x1477 0x1431 150 eax = ebx 0x143d 151 goto 157 @ 0x1440 0x1477 152 rdi = r14 0x147a 153 esi = ebx 0x147c 154 eax = 0 0x147e 155 call(0x1030) 0x1485 156 if (ebx == ebp) then 136 @ 0x13b0 else 171 @ 0x148b 0x1440 157 rdx = sx.q(eax) 0x1443 158 rax = rdx * 0x66666667 0x144a 159 rsi = rax 0x144d 160 rsi = rsi u>> 0x3f 0x1451 161 rax = rax s>> 0x22 0x1455 162 eax = eax + esi 0x1457 163 ecx = (rcx + (rcx << 2)).d 0x145a 164 esi = (rax + rax).d 0x145d 165 esi = (rsi + (rsi << 2)).d 0x1460 166 edi = edx 0x1462 167 edi = edi - esi 0x1464 168 ecx = (rdi + (rcx << 1)).d 0x1467 169 edx = edx + 9 0x146d 170 if (edx u> 0x12) then 157 @ 0x1440 else 149 @ 0x1471 0x148b 171 edi = 0x2c {""} 0x1490 172 call(0x1070) 0x1495 173 goto 136 @ 0x13b0 int64_t _fini(): 0x14c0 0 rsp = rsp - 8 0x14c4 1 rsp = rsp + 8 0x14c8 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 {"UAWAVATSH"} 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 - 0x1a0 0x115f 6 rdi = 0x2004 {"%d"} 0x1166 7 rsi = rsp + 0x10 {var_1b8} 0x116b 8 eax = 0 0x116d 9 call(0x1040) 0x1172 10 rdi = 0x2007 {"%c"} 0x1179 11 rsi = rsp + 0xf {var_1b9} 0x117e 12 eax = 0 0x1180 13 call(0x1040) 0x118a 14 if ([rsp + 0xf {var_1b9}].b != 0x2c) then 15 @ 0x123f else 19 @ 0x1190 0x123f 15 rdi = 0x200a {"No"} 0x1246 16 eax = 0 0x1248 17 call(0x1030) 0x1248 18 goto 25 @ 0x124d 0x1190 19 rbx = rsp + 0x14 {var_1b4} 0x1195 20 ebp = 1 0x119a 21 r14 = 0x2004 {"%d"} 0x11a1 22 r15 = 0x2007 {"%c"} 0x11a8 23 r12 = rsp + 0xf {var_1b9} 0x11ad 24 goto 33 @ 0x11b0 0x124d 25 eax = 0 0x124f 26 rsp = rsp + 0x1a0 0x1256 27 rbx = pop 0x1257 28 r12 = pop 0x1259 29 r14 = pop 0x125b 30 r15 = pop 0x125d 31 rbp = pop 0x125e 32 <return> jump(pop) 0x11b0 33 rdi = r14 0x11b3 34 rsi = rbx 0x11b6 35 eax = 0 0x11b8 36 call(0x1040) 0x11bd 37 rdi = r15 0x11c0 38 rsi = r12 {var_1b9} 0x11c3 39 eax = 0 0x11c5 40 call(0x1040) 0x11ca 41 ebp = ebp + 1 0x11cd 42 rbx = rbx + 4 0x11d6 43 if ([rsp + 0xf {var_1b9}].b == 0x2c) then 33 @ 0x11b0 else 44 @ 0x11db 0x11db 44 if (ebp == 1) then 15 @ 0x123f else 45 @ 0x11dd 0x11dd 45 esi = [rsp + 0x10 {var_1b8}].d 0x11e1 46 eax = [rsp + 0x14 {var_1b4}].d 0x11e5 47 cond:0 = eax s< esi 0x11e5 48 cond:1 = eax s< esi 0x11e7 49 edx = eax 0x11e9 50 if (cond:0) then 51 else 53 @ 0x11ec 0x11e9 51 edx = esi 0x11e9 52 goto 53 @ 0x11ec 0x11ec 53 if (cond:1) then 54 else 56 @ 0x11f2 0x11ec 54 esi = eax 0x11ec 55 goto 56 @ 0x11f2 0x11f2 56 if (ebp u< 3) then 57 @ 0x1239 else 59 @ 0x11f4 0x1239 57 edi = edx 0x1239 58 goto 62 @ 0x123d 0x11f4 59 eax = ebp 0x11f6 60 ecx = 2 0x11fb 61 goto 63 @ 0x121b 0x123d 62 if (edi != esi) then 65 @ 0x125f else 15 @ 0x123f 0x121b 63 edi = [rsp + (rcx << 2) + 0x10].d 0x1221 64 if (edx == esi) then 69 @ 0x1200 else 73 @ 0x1225 0x125f 65 rdi = 0x2004 {"%d"} 0x1266 66 eax = 0 0x1268 67 call(0x1030) 0x126d 68 goto 25 @ 0x124d 0x1200 69 cond:2 = edi s> esi 0x1200 70 cond:3 = edi s> esi 0x1202 71 ebp = esi 0x1204 72 if (cond:2) then 74 else 76 @ 0x1207 0x1225 73 if (edi s> edx) then 78 @ 0x120e else 82 @ 0x1227 0x1204 74 ebp = edi 0x1204 75 goto 76 @ 0x1207 0x1207 76 edx = edi 0x1209 77 if (cond:3) then 85 else 87 @ 0x120c 0x120e 78 esi = edx 0x1210 79 rcx = rcx + 1 0x1214 80 edx = edi 0x1219 81 if (rax == rcx) then 62 @ 0x123d else 63 @ 0x121b 0x1227 82 cond:4 = edi s> esi 0x1229 83 ebp = esi 0x122b 84 if (cond:4) then 89 else 91 @ 0x1230 0x1209 85 edx = esi 0x1209 86 goto 87 @ 0x120c 0x120c 87 edi = ebp 0x120c 88 goto 78 @ 0x120e 0x122b 89 ebp = edi 0x122b 90 goto 91 @ 0x1230 0x1230 91 if (edi s>= edx) then 92 else 94 @ 0x1233 0x1230 92 ebp = esi 0x1230 93 goto 94 @ 0x1233 0x1233 94 edi = edx 0x1235 95 edx = ebp 0x1237 96 goto 78 @ 0x120e int64_t _fini(): 0x1274 0 rsp = rsp - 8 0x1278 1 rsp = rsp + 8 0x127c 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 {"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 - 0x78 0x115e 7 xmm0 = [0x2010].o 0x1165 8 [rsp + 0x10 {var_98}].o = xmm0 0x116a 9 xmm0 = [0x2020].o 0x1171 10 [rsp + 0x20 {var_88}].o = xmm0 0x1176 11 xmm0 = [0x2030].o 0x117e 12 [rsp + 0x30 {var_78}].o = xmm0 0x1184 13 r14 = 0x2050 {"%d %d %d\n"} 0x118b 14 rbx = rsp + 0xc {var_9c} 0x1190 15 r15 = rsp + 8 {var_a0} 0x1195 16 r12 = rsp + 4 {var_a4} 0x119a 17 rdi = r14 0x119d 18 rsi = rbx {var_9c} 0x11a0 19 rdx = r15 {var_a0} 0x11a3 20 rcx = r12 {var_a4} 0x11a6 21 eax = 0 0x11a8 22 call(0x1040) 0x11ad 23 rbp = sx.q([rsp + 0xc {var_9c}].d) 0x11b2 24 r13d = [rsp + 8 {var_a0}].d 0x11b7 25 eax = [rsp + 4 {var_a4}].d 0x11bb 26 [rsp + 0x44 {var_64}].d = eax 0x11bf 27 rdi = r14 0x11c2 28 rsi = rbx {var_9c} 0x11c5 29 rdx = r15 {var_a0} 0x11c8 30 rcx = r12 {var_a4} 0x11cb 31 eax = 0 0x11cd 32 call(0x1040) 0x11d2 33 eax = [rsp + 0xc {var_9c}].d 0x11d6 34 [rsp + 0x48 {var_60}].d = eax 0x11da 35 eax = [rsp + 8 {var_a0}].d 0x11de 36 [rsp + 0x60 {var_48}].q = rax 0x11e3 37 eax = [rsp + 4 {var_a4}].d 0x11e7 38 [rsp + 0x4c {var_5c}].d = eax 0x11eb 39 rdi = r14 0x11ee 40 rsi = rbx {var_9c} 0x11f1 41 rdx = r15 {var_a0} 0x11f4 42 rcx = r12 {var_a4} 0x11f7 43 eax = 0 0x11f9 44 call(0x1040) 0x11fe 45 eax = [rsp + 0xc {var_9c}].d 0x1202 46 [rsp + 0x50 {var_58}].d = eax 0x1206 47 eax = [rsp + 8 {var_a0}].d 0x120a 48 [rsp + 0x68 {var_40}].q = rax 0x120f 49 eax = [rsp + 4 {var_a4}].d 0x1213 50 [rsp + 0x54 {var_54}].d = eax 0x1217 51 rdi = r14 0x121a 52 rsi = rbx {var_9c} 0x121d 53 rdx = r15 {var_a0} 0x1220 54 rcx = r12 {var_a4} 0x1223 55 eax = 0 0x1225 56 call(0x1040) 0x122a 57 eax = [rsp + 0xc {var_9c}].d 0x122e 58 [rsp + 0x58 {var_50}].d = eax 0x1232 59 eax = [rsp + 8 {var_a0}].d 0x1236 60 [rsp + 0x70 {var_38}].q = rax 0x123b 61 eax = [rsp + 4 {var_a4}].d 0x123f 62 [rsp + 0x5c {var_4c}].d = eax 0x1243 63 rdi = r14 0x1246 64 rsi = rbx {var_9c} 0x1249 65 rdx = r15 {var_a0} 0x124c 66 rcx = r12 {var_a4} 0x124f 67 eax = 0 0x1251 68 call(0x1040) 0x1256 69 r8d = [rsp + 0x44 {var_64}].d 0x125b 70 r15d = [rsp + 0xc {var_9c}].d 0x1260 71 ebx = [rsp + 8 {var_a0}].d 0x1264 72 r14d = [rsp + 4 {var_a4}].d 0x1269 73 [rsp + 0xc {var_9c}].d = ebp 0x126d 74 [rsp + 8 {var_a0}].d = r13d 0x1272 75 [rsp + 4 {var_a4}].d = r8d 0x127b 76 if ((bpl & 3) != 0) then 77 @ 0x129f else 85 @ 0x127d 0x129f 77 ecx = ebp * -0x3d70a3d7 0x12a5 78 ecx = ecx + 0x51eb850 0x12ab 79 ecx = ror.d(ecx, 4) 0x12ae 80 eax = 0 0x12b0 81 flag:c = ecx u< 0xa3d70b 0x12b6 82 al = flag:c 0x12b9 83 eax = eax | 0x1c 0x12b9 84 goto 96 @ 0x12bc 0x127d 85 rax = rbp * 0x51eb851f 0x1284 86 rcx = rax 0x1287 87 rcx = rcx u>> 0x3f 0x128b 88 rax = rax s>> 0x25 0x128f 89 eax = eax + ecx 0x1291 90 ecx = eax * 0x64 0x1294 91 edx = ebp 0x1296 92 eax = 0x1d {""} 0x129b 93 temp0.d = edx 0x129b 94 edx = edx - ecx 0x129d 95 if (temp0.d != ecx) then 96 @ 0x12bc else 77 @ 0x129f 0x12bc 96 [rsp + 0x14 {var_98[1]}].d = eax 0x12c0 97 esi = 0 0x12c6 98 if (r13d s< 2) then 99 @ 0x140d else 110 @ 0x12cc 0x140d 99 esi = esi + r8d 0x1410 100 rdi = 0x2056 {"%d\n"} 0x1417 101 eax = 0 0x1419 102 call(0x1030) 0x141e 103 esi = [rsp + 0x48 {var_60}].d 0x1422 104 [rsp + 0xc {var_9c}].d = esi 0x1426 105 rbp = [rsp + 0x60 {var_48}].q 0x142b 106 [rsp + 8 {var_a0}].d = ebp 0x142f 107 r8d = [rsp + 0x4c {var_5c}].d 0x1434 108 [rsp + 4 {var_a4}].d = r8d 0x143d 109 if ((sil & 3) != 0) then 113 @ 0x1464 else 121 @ 0x143f 0x12cc 110 r13d = r13d - 1 0x12d0 111 esi = 0x1f {""} 0x12d9 112 if (r13d == 1) then 99 @ 0x140d else 133 @ 0x12df 0x1464 113 ecx = esi * -0x3d70a3d7 0x146a 114 ecx = ecx + 0x51eb850 0x1470 115 ecx = ror.d(ecx, 4) 0x1473 116 eax = 0 0x1475 117 flag:c = ecx u< 0xa3d70b 0x147b 118 al = flag:c 0x147e 119 eax = eax | 0x1c 0x147e 120 goto 135 @ 0x1481 0x143f 121 rax = sx.q(esi) 0x1442 122 rax = rax * 0x51eb851f 0x1449 123 rcx = rax 0x144c 124 rcx = rcx u>> 0x3f 0x1450 125 rax = rax s>> 0x25 0x1454 126 eax = eax + ecx 0x1456 127 ecx = eax * 0x64 0x1459 128 edx = esi 0x145b 129 eax = 0x1d {""} 0x1460 130 temp1.d = edx 0x1460 131 edx = edx - ecx 0x1462 132 if (temp1.d != ecx) then 135 @ 0x1481 else 113 @ 0x1464 0x12df 133 rcx = r13 - 1 0x12e7 134 if (rcx u>= 8) then 138 @ 0x12f8 else 147 @ 0x12e9 0x1481 135 [rsp + 0x14 {var_98[1]}].d = eax 0x1485 136 esi = 0 0x148a 137 if (ebp s< 2) then 150 @ 0x15cd else 161 @ 0x1490 0x12f8 138 rax = rcx 0x12fb 139 rax = rax & 0xfffffffffffffff8 0x12ff 140 rsi = rax - 8 0x1303 141 rdi = rsi 0x1306 142 rdi = rdi u>> 3 0x130a 143 rdi = rdi + 1 0x130e 144 edx = edi 0x1310 145 edx = edx & 3 0x1317 146 if (rsi u>= 0x18) then 164 @ 0x1329 else 169 @ 0x1319 0x12e9 147 esi = 0x1f {""} 0x12ee 148 eax = 1 0x12f3 149 goto 173 @ 0x1400 0x15cd 150 esi = esi + r8d 0x15d0 151 rdi = 0x2056 {"%d\n"} 0x15d7 152 eax = 0 0x15d9 153 call(0x1030) 0x15de 154 esi = [rsp + 0x50 {var_58}].d 0x15e2 155 [rsp + 0xc {var_9c}].d = esi 0x15e6 156 rbp = [rsp + 0x68 {var_40}].q 0x15eb 157 [rsp + 8 {var_a0}].d = ebp 0x15ef 158 r8d = [rsp + 0x54 {var_54}].d 0x15f4 159 [rsp + 4 {var_a4}].d = r8d 0x15fd 160 if ((sil & 3) != 0) then 176 @ 0x1624 else 184 @ 0x15ff 0x1490 161 ebp = ebp - 1 0x1493 162 esi = 0x1f {""} 0x149b 163 if (ebp == 1) then 150 @ 0x15cd else 196 @ 0x14a1 0x1329 164 rdi = rdi & 0xfffffffffffffffc 0x132d 165 xmm1 = 0 0x1331 166 xmm0 = [0x2040].o 0x1339 167 esi = 0 0x133b 168 goto 198 @ 0x1340 0x1319 169 xmm1 = 0 0x131d 170 xmm0 = [0x2040].o 0x1325 171 esi = 0 0x1327 172 goto 218 @ 0x13a0 0x1400 173 esi = esi + [rsp + (rax << 2) + 0x10].d 0x1404 174 rax = rax + 1 0x140b 175 if (r13 != rax) then 173 @ 0x1400 else 99 @ 0x140d 0x1624 176 ecx = esi * -0x3d70a3d7 0x162a 177 ecx = ecx + 0x51eb850 0x1630 178 ecx = ror.d(ecx, 4) 0x1633 179 eax = 0 0x1635 180 flag:c = ecx u< 0xa3d70b 0x163b 181 al = flag:c 0x163e 182 eax = eax | 0x1c 0x163e 183 goto 219 @ 0x1641 0x15ff 184 rax = sx.q(esi) 0x1602 185 rax = rax * 0x51eb851f 0x1609 186 rcx = rax 0x160c 187 rcx = rcx u>> 0x3f 0x1610 188 rax = rax s>> 0x25 0x1614 189 eax = eax + ecx 0x1616 190 ecx = eax * 0x64 0x1619 191 edx = esi 0x161b 192 eax = 0x1d {""} 0x1620 193 temp2.d = edx 0x1620 194 edx = edx - ecx 0x1622 195 if (temp2.d != ecx) then 219 @ 0x1641 else 176 @ 0x1624 0x14a1 196 rcx = rbp - 1 0x14a9 197 if (rcx u>= 8) then 222 @ 0x14ba else 231 @ 0x14ab 0x1340 198 xmm2 = [rsp + (rsi << 2) + 0x14].o 0x1346 199 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x134a 200 xmm0 = [rsp + (rsi << 2) + 0x24].o 0x1350 201 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1354 202 xmm1 = [rsp + (rsi << 2) + 0x34].o 0x135a 203 xmm3 = [rsp + (rsi << 2) + 0x44].o 0x1360 204 xmm4 = [rsp + (rsi << 2) + 0x54].o 0x1366 205 xmm4 = _mm_add_epi32(xmm4, xmm1) 0x136a 206 xmm4 = _mm_add_epi32(xmm4, xmm2) 0x136e 207 xmm2 = [rsp + (rsi << 2) + 0x64].o 0x1374 208 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x1378 209 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x137c 210 xmm0 = [rsp + (rsi << 2) + 0x74].o 0x1382 211 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1386 212 xmm1 = [rsp + (rsi << 2) + 0x84].o 0x138f 213 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x1393 214 rsi = rsi + 0x20 0x1397 215 temp3.q = rdi 0x1397 216 rdi = rdi - 4 0x139b 217 if (temp3.q != 4) then 198 @ 0x1340 else 218 @ 0x13a0 0x13a0 218 if (rdx == 0) then 234 @ 0x13da else 241 @ 0x13ac 0x1641 219 [rsp + 0x14 {var_98[1]}].d = eax 0x1645 220 esi = 0 0x164a 221 if (ebp s< 2) then 242 @ 0x178d else 253 @ 0x1650 0x14ba 222 rax = rcx 0x14bd 223 rax = rax & 0xfffffffffffffff8 0x14c1 224 rsi = rax - 8 0x14c5 225 rdi = rsi 0x14c8 226 rdi = rdi u>> 3 0x14cc 227 rdi = rdi + 1 0x14d0 228 edx = edi 0x14d2 229 edx = edx & 3 0x14d9 230 if (rsi u>= 0x18) then 256 @ 0x14eb else 261 @ 0x14db 0x14ab 231 esi = 0x1f {""} 0x14b0 232 eax = 1 0x14b5 233 goto 265 @ 0x15c0 0x13da 234 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x13de 235 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x13e3 236 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x13e7 237 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x13ec 238 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x13f0 239 esi = xmm0.d 0x13f7 240 if (rcx == rax) then 99 @ 0x140d else 268 @ 0x13f9 0x13ac 241 goto 270 @ 0x13b0 0x178d 242 esi = esi + r8d 0x1790 243 rdi = 0x2056 {"%d\n"} 0x1797 244 eax = 0 0x1799 245 call(0x1030) 0x179e 246 esi = [rsp + 0x58 {var_50}].d 0x17a2 247 [rsp + 0xc {var_9c}].d = esi 0x17a6 248 rbp = [rsp + 0x70 {var_38}].q 0x17ab 249 [rsp + 8 {var_a0}].d = ebp 0x17af 250 edi = [rsp + 0x5c {var_4c}].d 0x17b3 251 [rsp + 4 {var_a4}].d = edi 0x17bb 252 if ((sil & 3) != 0) then 280 @ 0x17e2 else 288 @ 0x17bd 0x1650 253 ebp = ebp - 1 0x1653 254 esi = 0x1f {""} 0x165b 255 if (ebp == 1) then 242 @ 0x178d else 300 @ 0x1661 0x14eb 256 rdi = rdi & 0xfffffffffffffffc 0x14ef 257 xmm1 = 0 0x14f3 258 xmm0 = [0x2040].o 0x14fb 259 esi = 0 0x14fd 260 goto 302 @ 0x1500 0x14db 261 xmm1 = 0 0x14df 262 xmm0 = [0x2040].o 0x14e7 263 esi = 0 0x14e9 264 goto 322 @ 0x1560 0x15c0 265 esi = esi + [rsp + (rax << 2) + 0x10].d 0x15c4 266 rax = rax + 1 0x15cb 267 if (rbp != rax) then 265 @ 0x15c0 else 150 @ 0x15cd 0x13f9 268 rax = rax | 1 0x13fd 269 goto 173 @ 0x1400 0x13b0 270 rdi = rsi << 2 0x13b8 271 rdi = rdi | 4 0x13bc 272 xmm2 = [rsp + rdi + 0x10].o 0x13c2 273 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x13c6 274 xmm2 = [rsp + rdi + 0x20].o 0x13cc 275 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x13d0 276 rsi = rsi + 8 0x13d4 277 temp4.q = rdx 0x13d4 278 rdx = rdx - 1 0x13d8 279 if (temp4.q != 1) then 270 @ 0x13b0 else 234 @ 0x13da 0x17e2 280 ecx = esi * -0x3d70a3d7 0x17e8 281 ecx = ecx + 0x51eb850 0x17ee 282 ecx = ror.d(ecx, 4) 0x17f1 283 eax = 0 0x17f3 284 flag:c = ecx u< 0xa3d70b 0x17f9 285 al = flag:c 0x17fc 286 eax = eax | 0x1c 0x17fc 287 goto 323 @ 0x17ff 0x17bd 288 rax = sx.q(esi) 0x17c0 289 rax = rax * 0x51eb851f 0x17c7 290 rcx = rax 0x17ca 291 rcx = rcx u>> 0x3f 0x17ce 292 rax = rax s>> 0x25 0x17d2 293 eax = eax + ecx 0x17d4 294 ecx = eax * 0x64 0x17d7 295 edx = esi 0x17d9 296 eax = 0x1d {""} 0x17de 297 temp5.d = edx 0x17de 298 edx = edx - ecx 0x17e0 299 if (temp5.d != ecx) then 323 @ 0x17ff else 280 @ 0x17e2 0x1661 300 rcx = rbp - 1 0x1669 301 if (rcx u>= 8) then 326 @ 0x167a else 335 @ 0x166b 0x1500 302 xmm2 = [rsp + (rsi << 2) + 0x14].o 0x1506 303 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x150a 304 xmm0 = [rsp + (rsi << 2) + 0x24].o 0x1510 305 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1514 306 xmm1 = [rsp + (rsi << 2) + 0x34].o 0x151a 307 xmm3 = [rsp + (rsi << 2) + 0x44].o 0x1520 308 xmm4 = [rsp + (rsi << 2) + 0x54].o 0x1526 309 xmm4 = _mm_add_epi32(xmm4, xmm1) 0x152a 310 xmm4 = _mm_add_epi32(xmm4, xmm2) 0x152e 311 xmm2 = [rsp + (rsi << 2) + 0x64].o 0x1534 312 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x1538 313 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x153c 314 xmm0 = [rsp + (rsi << 2) + 0x74].o 0x1542 315 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1546 316 xmm1 = [rsp + (rsi << 2) + 0x84].o 0x154f 317 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x1553 318 rsi = rsi + 0x20 0x1557 319 temp6.q = rdi 0x1557 320 rdi = rdi - 4 0x155b 321 if (temp6.q != 4) then 302 @ 0x1500 else 322 @ 0x1560 0x1560 322 if (rdx == 0) then 338 @ 0x159a else 345 @ 0x156c 0x17ff 323 [rsp + 0x14 {var_98[1]}].d = eax 0x1803 324 esi = 0 0x1808 325 if (ebp s< 2) then 346 @ 0x18fd else 354 @ 0x180e 0x167a 326 rax = rcx 0x167d 327 rax = rax & 0xfffffffffffffff8 0x1681 328 rsi = rax - 8 0x1685 329 rdi = rsi 0x1688 330 rdi = rdi u>> 3 0x168c 331 rdi = rdi + 1 0x1690 332 edx = edi 0x1692 333 edx = edx & 3 0x1699 334 if (rsi u>= 0x18) then 356 @ 0x16ab else 361 @ 0x169b 0x166b 335 esi = 0x1f {""} 0x1670 336 eax = 1 0x1675 337 goto 365 @ 0x1780 0x159a 338 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x159e 339 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x15a3 340 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x15a7 341 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x15ac 342 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x15b0 343 esi = xmm0.d 0x15b7 344 if (rcx == rax) then 150 @ 0x15cd else 368 @ 0x15b9 0x156c 345 goto 370 @ 0x1570 0x18fd 346 esi = esi + edi 0x18ff 347 rdi = 0x2056 {"%d\n"} 0x1906 348 eax = 0 0x1908 349 call(0x1030) 0x190d 350 [rsp + 0xc {var_9c}].d = r15d 0x1912 351 [rsp + 8 {var_a0}].d = ebx 0x1916 352 [rsp + 4 {var_a4}].d = r14d 0x191f 353 if ((r15b & 3) != 0) then 380 @ 0x1947 else 388 @ 0x1921 0x180e 354 ebp = ebp - 1 0x1814 355 if (ebp u>= 8) then 400 @ 0x181f else 409 @ 0x1816 0x16ab 356 rdi = rdi & 0xfffffffffffffffc 0x16af 357 xmm1 = 0 0x16b3 358 xmm0 = [0x2040].o 0x16bb 359 esi = 0 0x16bd 360 goto 412 @ 0x16c0 0x169b 361 xmm1 = 0 0x169f 362 xmm0 = [0x2040].o 0x16a7 363 esi = 0 0x16a9 364 goto 432 @ 0x1720 0x1780 365 esi = esi + [rsp + (rax << 2) + 0x10].d 0x1784 366 rax = rax + 1 0x178b 367 if (rbp != rax) then 365 @ 0x1780 else 242 @ 0x178d 0x15b9 368 rax = rax | 1 0x15bd 369 goto 265 @ 0x15c0 0x1570 370 rdi = rsi << 2 0x1578 371 rdi = rdi | 4 0x157c 372 xmm2 = [rsp + rdi + 0x10].o 0x1582 373 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x1586 374 xmm2 = [rsp + rdi + 0x20].o 0x158c 375 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x1590 376 rsi = rsi + 8 0x1594 377 temp7.q = rdx 0x1594 378 rdx = rdx - 1 0x1598 379 if (temp7.q != 1) then 370 @ 0x1570 else 338 @ 0x159a 0x1947 380 ecx = r15d * -0x3d70a3d7 0x194e 381 ecx = ecx + 0x51eb850 0x1954 382 ecx = ror.d(ecx, 4) 0x1957 383 eax = 0 0x1959 384 flag:c = ecx u< 0xa3d70b 0x195f 385 al = flag:c 0x1962 386 eax = eax | 0x1c 0x1962 387 goto 433 @ 0x1965 0x1921 388 rax = sx.q(r15d) 0x1924 389 rax = rax * 0x51eb851f 0x192b 390 rcx = rax 0x192e 391 rcx = rcx u>> 0x3f 0x1932 392 rax = rax s>> 0x25 0x1936 393 eax = eax + ecx 0x1938 394 ecx = eax * 0x64 0x193b 395 edx = r15d 0x193e 396 eax = 0x1d {""} 0x1943 397 temp8.d = edx 0x1943 398 edx = edx - ecx 0x1945 399 if (temp8.d != ecx) then 433 @ 0x1965 else 380 @ 0x1947 0x181f 400 eax = ebp 0x1821 401 eax = eax & 0xfffffff8 0x1824 402 rdx = rax - 8 0x1828 403 rsi = rdx 0x182b 404 rsi = rsi u>> 3 0x182f 405 rsi = rsi + 1 0x1833 406 ecx = esi 0x1835 407 ecx = ecx & 3 0x183c 408 if (rdx u>= 0x18) then 436 @ 0x184a else 441 @ 0x183e 0x1816 409 eax = 0 0x1818 410 esi = 0 0x181a 411 goto 445 @ 0x18f0 0x16c0 412 xmm2 = [rsp + (rsi << 2) + 0x14].o 0x16c6 413 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x16ca 414 xmm0 = [rsp + (rsi << 2) + 0x24].o 0x16d0 415 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x16d4 416 xmm1 = [rsp + (rsi << 2) + 0x34].o 0x16da 417 xmm3 = [rsp + (rsi << 2) + 0x44].o 0x16e0 418 xmm4 = [rsp + (rsi << 2) + 0x54].o 0x16e6 419 xmm4 = _mm_add_epi32(xmm4, xmm1) 0x16ea 420 xmm4 = _mm_add_epi32(xmm4, xmm2) 0x16ee 421 xmm2 = [rsp + (rsi << 2) + 0x64].o 0x16f4 422 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x16f8 423 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x16fc 424 xmm0 = [rsp + (rsi << 2) + 0x74].o 0x1702 425 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1706 426 xmm1 = [rsp + (rsi << 2) + 0x84].o 0x170f 427 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x1713 428 rsi = rsi + 0x20 0x1717 429 temp9.q = rdi 0x1717 430 rdi = rdi - 4 0x171b 431 if (temp9.q != 4) then 412 @ 0x16c0 else 432 @ 0x1720 0x1720 432 if (rdx == 0) then 448 @ 0x175a else 455 @ 0x172c 0x1965 433 [rsp + 0x14 {var_98[1]}].d = eax 0x1969 434 esi = 0 0x196e 435 if (ebx s< 2) then 456 @ 0x1a5d else 469 @ 0x1974 0x184a 436 rsi = rsi & 0xfffffffffffffffc 0x184e 437 xmm0 = 0 0x1852 438 edx = 0 0x1854 439 xmm1 = 0 0x1858 440 goto 471 @ 0x1860 0x183e 441 xmm0 = 0 0x1842 442 edx = 0 0x1844 443 xmm1 = 0 0x1848 444 goto 483 @ 0x18a0 0x18f0 445 esi = esi + [rsp + (rax << 2) + 0x10].d 0x18f4 446 rax = rax + 1 0x18fb 447 if (rbp != rax) then 445 @ 0x18f0 else 346 @ 0x18fd 0x175a 448 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x175e 449 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1763 450 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1767 451 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x176c 452 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1770 453 esi = xmm0.d 0x1777 454 if (rcx == rax) then 242 @ 0x178d else 484 @ 0x1779 0x172c 455 goto 486 @ 0x1730 0x1a5d 456 esi = esi + r14d 0x1a60 457 rdi = 0x2056 {"%d\n"} 0x1a67 458 eax = 0 0x1a69 459 call(0x1030) 0x1a6e 460 eax = 0 0x1a70 461 rsp = rsp + 0x78 0x1a74 462 rbx = pop 0x1a75 463 r12 = pop 0x1a77 464 r13 = pop 0x1a79 465 r14 = pop 0x1a7b 466 r15 = pop 0x1a7d 467 rbp = pop 0x1a7e 468 <return> jump(pop) 0x1974 469 ebx = ebx - 1 0x197a 470 if (ebx u>= 8) then 496 @ 0x1985 else 505 @ 0x197c 0x1860 471 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x10].o) 0x1866 472 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x20].o) 0x186c 473 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x30].o) 0x1872 474 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x40].o) 0x1878 475 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x50].o) 0x187e 476 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x60].o) 0x1884 477 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x70].o) 0x188a 478 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x80].o) 0x1893 479 rdx = rdx + 0x20 0x1897 480 temp10.q = rsi 0x1897 481 rsi = rsi - 4 0x189b 482 if (temp10.q != 4) then 471 @ 0x1860 else 483 @ 0x18a0 0x18a0 483 if (rcx == 0) then 508 @ 0x18c4 else 515 @ 0x18a2 0x1779 484 rax = rax | 1 0x177d 485 goto 365 @ 0x1780 0x1730 486 rdi = rsi << 2 0x1738 487 rdi = rdi | 4 0x173c 488 xmm2 = [rsp + rdi + 0x10].o 0x1742 489 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x1746 490 xmm2 = [rsp + rdi + 0x20].o 0x174c 491 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x1750 492 rsi = rsi + 8 0x1754 493 temp11.q = rdx 0x1754 494 rdx = rdx - 1 0x1758 495 if (temp11.q != 1) then 486 @ 0x1730 else 448 @ 0x175a 0x1985 496 eax = ebx 0x1987 497 eax = eax & 0xfffffff8 0x198a 498 rdx = rax - 8 0x198e 499 rsi = rdx 0x1991 500 rsi = rsi u>> 3 0x1995 501 rsi = rsi + 1 0x1999 502 ecx = esi 0x199b 503 ecx = ecx & 3 0x19a2 504 if (rdx u>= 0x18) then 520 @ 0x19b0 else 525 @ 0x19a4 0x197c 505 eax = 0 0x197e 506 esi = 0 0x1980 507 goto 529 @ 0x1a50 0x18c4 508 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x18c8 509 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x18cd 510 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x18d1 511 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x18d6 512 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x18da 513 esi = xmm0.d 0x18e1 514 if (rax == rbp) then 346 @ 0x18fd else 532 @ 0x18ed 0x18a2 515 rdx = rsp + (rdx << 2) 0x18a6 516 rdx = rdx + 0x20 0x18aa 517 rcx = rcx << 5 0x18ae 518 esi = 0 0x18ae 519 goto 533 @ 0x18b0 0x19b0 520 rsi = rsi & 0xfffffffffffffffc 0x19b4 521 xmm0 = 0 0x19b8 522 edx = 0 0x19ba 523 xmm1 = 0 0x19be 524 goto 537 @ 0x19c0 0x19a4 525 xmm0 = 0 0x19a8 526 edx = 0 0x19aa 527 xmm1 = 0 0x19ae 528 goto 549 @ 0x1a00 0x1a50 529 esi = esi + [rsp + (rax << 2) + 0x10].d 0x1a54 530 rax = rax + 1 0x1a5b 531 if (rbx != rax) then 529 @ 0x1a50 else 456 @ 0x1a5d 0x18ed 532 goto 445 @ 0x18f0 0x18b0 533 xmm0 = __paddd_xmmdq_memdq(xmm0, [rdx + rsi - 0x10].o) 0x18b6 534 xmm1 = __paddd_xmmdq_memdq(xmm1, [rdx + rsi].o) 0x18bb 535 rsi = rsi + 0x20 0x18c2 536 if (rcx != rsi) then 533 @ 0x18b0 else 508 @ 0x18c4 0x19c0 537 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x10].o) 0x19c6 538 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x20].o) 0x19cc 539 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x30].o) 0x19d2 540 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x40].o) 0x19d8 541 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x50].o) 0x19de 542 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x60].o) 0x19e4 543 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x70].o) 0x19ea 544 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x80].o) 0x19f3 545 rdx = rdx + 0x20 0x19f7 546 temp12.q = rsi 0x19f7 547 rsi = rsi - 4 0x19fb 548 if (temp12.q != 4) then 537 @ 0x19c0 else 549 @ 0x1a00 0x1a00 549 if (rcx == 0) then 550 @ 0x1a24 else 557 @ 0x1a02 0x1a24 550 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1a28 551 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1a2d 552 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1a31 553 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1a36 554 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1a3a 555 esi = xmm0.d 0x1a41 556 if (rax == rbx) then 456 @ 0x1a5d else 562 @ 0x1a4d 0x1a02 557 rdx = rsp + (rdx << 2) 0x1a06 558 rdx = rdx + 0x20 0x1a0a 559 rcx = rcx << 5 0x1a0e 560 esi = 0 0x1a0e 561 goto 563 @ 0x1a10 0x1a4d 562 goto 529 @ 0x1a50 0x1a10 563 xmm0 = __paddd_xmmdq_memdq(xmm0, [rdx + rsi - 0x10].o) 0x1a16 564 xmm1 = __paddd_xmmdq_memdq(xmm1, [rdx + rsi].o) 0x1a1b 565 rsi = rsi + 0x20 0x1a22 566 if (rcx != rsi) then 563 @ 0x1a10 else 550 @ 0x1a24 int64_t _fini(): 0x1a84 0 rsp = rsp - 8 0x1a88 1 rsp = rsp + 8 0x1a8c 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) 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) int32_t strcmp(char const* arg1, char const* arg2): 0x1070 0 <return> tailcall([0x4038].q) int32_t puts(char const* str): 0x1080 0 <return> tailcall([0x4040].q) void __cxa_finalize(void* d): 0x1090 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x10a4 0 ebp = 0 0x10a6 1 r9 = rdx 0x10a9 2 rsi = pop 0x10aa 3 rdx = rsp {arg_8} 0x10ad 4 rsp = rsp & 0xfffffffffffffff0 0x10b1 5 push(rax) 0x10b2 6 push(rsp) 0x10b3 7 r8d = 0 0x10b6 8 ecx = 0 0x10b8 9 rdi = 0x1190 {"UHH"} 0x10bf 10 call([0x3ff8].q) 0x10bf 11 noreturn void deregister_tm_clones(): 0x10d0 0 rdi = 0x4058 {""} 0x10d7 1 rax = 0x4058 {""} 0x10e1 2 if (rax == rdi) then 3 @ 0x10f8 else 4 @ 0x10e3 0x10f8 3 <return> jump(pop) 0x10e3 4 rax = [0x3fd8].q 0x10ed 5 if (rax == 0) then 3 @ 0x10f8 else 6 @ 0x10ef 0x10ef 6 <return> tailcall(rax) void register_tm_clones(): 0x1100 0 rdi = 0x4058 {""} 0x1107 1 rsi = 0x4058 {""} 0x110e 2 rsi = rsi - rdi 0x1111 3 rax = rsi 0x1114 4 rsi = rsi u>> 0x3f 0x1118 5 rax = rax s>> 3 0x111c 6 rsi = rsi + rax 0x111f 7 rsi = rsi s>> 1 0x1122 8 if (rsi == 0) then 9 @ 0x1138 else 10 @ 0x1124 0x1138 9 <return> jump(pop) 0x1124 10 rax = [0x3ff0].q 0x112e 11 if (rax == 0) then 9 @ 0x1138 else 12 @ 0x1130 0x1130 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x114b 0 if ([0x4058].b != 0) then 1 @ 0x1178 else 2 @ 0x114d 0x1178 1 <return> jump(pop) 0x114d 2 push(rbp) 0x114e 3 cond:0 = [0x3fe0].q == 0 0x1156 4 rbp = rsp {__saved_rbp} 0x1159 5 if (cond:0) then 6 @ 0x1167 else 10 @ 0x115b 0x1167 6 call(0x10d0) 0x116c 7 [0x4058].b = 1 0x1173 8 rbp = pop 0x1174 9 <return> jump(pop) 0x115b 10 rdi = [0x4050].q 0x1162 11 call(0x1090) 0x1162 12 goto 6 @ 0x1167 int64_t frame_dummy(): 0x1184 0 <return> tailcall(0x1100) int32_t main(int32_t argc, char** argv, char** envp): 0x1190 0 push(rbp) 0x1191 1 rbp = rsp {__saved_rbp} 0x1194 2 rsp = rsp - 0x1dd0 0x119b 3 [rbp - 4 {var_c}].d = 0 0x11a2 4 [rbp - 0xc {var_14}].d = 0 0x11a2 5 goto 6 @ 0x11b0 0x11b0 6 if ([rbp - 0xc {var_14}].d s>= 0x1f9) then 7 @ 0x11e2 else 19 @ 0x11b6 0x11e2 7 rdi = 0x2004 {"%d\n"} 0x11e9 8 rsi = rbp - 8 {var_10} 0x11ed 9 al = 0 0x11ef 10 call(0x1050) 0x11f4 11 rdi = rbp - 0x11f0 {var_11f8} 0x11fb 12 al = 0 0x11fd 13 call(0x1060) 0x1202 14 rdi = rbp - 0x11f0 {var_11f8} 0x1209 15 call(0x1040) 0x120e 16 [rbp - 0x14 {var_1c}].d = eax 0x1211 17 [rbp - 0xc {var_14_1}].d = 0 0x1211 18 goto 27 @ 0x1218 0x11b6 19 rax = sx.q([rbp - 0xc {var_14}].d) 0x11ba 20 [rbp + (rax << 2) - 0x800].d = 0 0x11c5 21 rax = sx.q([rbp - 0xc {var_14}].d) 0x11c9 22 [rbp + (rax << 2) - 0xff0].d = 0 0x11d4 23 eax = [rbp - 0xc {var_14}].d 0x11d7 24 eax = eax + 1 0x11da 25 [rbp - 0xc {var_14}].d = eax 0x11dd 26 goto 6 @ 0x11b0 0x1218 27 eax = [rbp - 0xc {var_14_1}].d 0x121b 28 ecx = [rbp - 0x14 {var_1c}].d 0x121e 29 ecx = ecx - [rbp - 8 {var_10}].d 0x1223 30 if (eax s> ecx) then 31 @ 0x12a4 else 33 @ 0x1229 0x12a4 31 [rbp - 0xc {var_14_2}].d = 0 0x12a4 32 goto 36 @ 0x12ab 0x1229 33 eax = [rbp - 0xc {var_14_1}].d 0x122c 34 [rbp - 0x10 {var_18_1}].d = eax 0x122c 35 goto 40 @ 0x122f 0x12ab 36 eax = [rbp - 0xc {var_14_2}].d 0x12ae 37 ecx = [rbp - 0x14 {var_1c}].d 0x12b1 38 ecx = ecx - [rbp - 8 {var_10}].d 0x12b6 39 if (eax s> ecx) then 44 @ 0x1358 else 46 @ 0x12bc 0x122f 40 eax = [rbp - 0x10 {var_18_1}].d 0x1232 41 ecx = [rbp - 0xc {var_14_1}].d 0x1235 42 ecx = ecx + [rbp - 8 {var_10}].d 0x123a 43 if (eax s>= ecx) then 50 @ 0x1277 else 62 @ 0x1240 0x1358 44 [rbp - 0xc {var_14_3}].d = 0 0x1358 45 goto 76 @ 0x135f 0x12bc 46 eax = [rbp - 0xc {var_14_2}].d 0x12bf 47 eax = eax + 1 0x12c2 48 [rbp - 0x10 {var_18_2}].d = eax 0x12c2 49 goto 80 @ 0x12c5 0x1277 50 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x127b 51 rax = rbp - 0x1dd0 {var_1dd8} 0x1282 52 rcx = rcx * 6 0x1286 53 rax = rax + rcx 0x1289 54 ecx = [rbp - 0x10 {var_18_1}].d 0x128c 55 ecx = ecx - [rbp - 0xc {var_14_1}].d 0x128f 56 rcx = sx.q(ecx) 0x1292 57 [rax + rcx].b = 0 0x1296 58 eax = [rbp - 0xc {var_14_1}].d 0x1299 59 eax = eax + 1 0x129c 60 [rbp - 0xc {var_14_1}].d = eax 0x129f 61 goto 27 @ 0x1218 0x1240 62 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x1244 63 dl = [rbp + rax - 0x11f0].b 0x124b 64 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x124f 65 rax = rbp - 0x1dd0 {var_1dd8} 0x1256 66 rcx = rcx * 6 0x125a 67 rax = rax + rcx 0x125d 68 ecx = [rbp - 0x10 {var_18_1}].d 0x1260 69 ecx = ecx - [rbp - 0xc {var_14_1}].d 0x1263 70 rcx = sx.q(ecx) 0x1266 71 [rax + rcx].b = dl 0x1269 72 eax = [rbp - 0x10 {var_18_1}].d 0x126c 73 eax = eax + 1 0x126f 74 [rbp - 0x10 {var_18_1}].d = eax 0x1272 75 goto 40 @ 0x122f 0x135f 76 eax = [rbp - 0xc {var_14_3}].d 0x1362 77 ecx = [rbp - 0x14 {var_1c}].d 0x1365 78 ecx = ecx - [rbp - 8 {var_10}].d 0x136a 79 if (eax s>= ecx) then 84 @ 0x140c else 88 @ 0x1370 0x12c5 80 eax = [rbp - 0x10 {var_18_2}].d 0x12c8 81 ecx = [rbp - 0x14 {var_1c}].d 0x12cb 82 ecx = ecx - [rbp - 8 {var_10}].d 0x12d0 83 if (eax s> ecx) then 90 @ 0x1345 else 91 @ 0x12d6 0x140c 84 eax = [rbp - 0x14 {var_1c}].d 0x140f 85 eax = eax - [rbp - 8 {var_10}].d 0x1412 86 rax = sx.q(eax) 0x141c 87 if ([rbp + (rax << 2) - 0x800].d != 0) then 101 @ 0x1435 else 111 @ 0x1422 0x1370 88 [rbp - 0x10 {var_18_3}].d = 0 0x1370 89 goto 115 @ 0x1377 0x1345 90 goto 120 @ 0x134a 0x12d6 91 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x12da 92 rdi = rbp - 0x1dd0 {var_1dd8} 0x12e1 93 rax = rax * 6 0x12e5 94 rdi = rdi + rax 0x12e8 95 rax = sx.q([rbp - 0x10 {var_18_2}].d) 0x12ec 96 rsi = rbp - 0x1dd0 {var_1dd8} 0x12f3 97 rax = rax * 6 0x12f7 98 rsi = rsi + rax 0x12fa 99 call(0x1070) 0x1302 100 if (eax != 0) then 124 @ 0x1332 else 125 @ 0x1308 0x1435 101 eax = [rbp - 0x14 {var_1c}].d 0x1438 102 eax = eax - [rbp - 8 {var_10}].d 0x143b 103 rax = sx.q(eax) 0x143d 104 esi = [rbp + (rax << 2) - 0x800].d 0x1444 105 esi = esi + 1 0x1447 106 rdi = 0x2004 {"%d\n"} 0x144e 107 al = 0 0x1450 108 call(0x1030) 0x1455 109 [rbp - 0x10 {var_18_4}].d = 0 0x1455 110 goto 134 @ 0x145c 0x1422 111 rdi = 0x2008 {"NO"} 0x1429 112 al = 0 0x142b 113 call(0x1030) 0x1430 114 goto 138 @ 0x14bf 0x1377 115 eax = [rbp - 0x10 {var_18_3}].d 0x137a 116 ecx = [rbp - 0x14 {var_1c}].d 0x137d 117 ecx = ecx - [rbp - 8 {var_10}].d 0x1380 118 ecx = ecx - [rbp - 0xc {var_14_3}].d 0x1385 119 if (eax s>= ecx) then 142 @ 0x13f9 else 143 @ 0x138b 0x134a 120 eax = [rbp - 0xc {var_14_2}].d 0x134d 121 eax = eax + 1 0x1350 122 [rbp - 0xc {var_14_2}].d = eax 0x1353 123 goto 36 @ 0x12ab 0x1332 124 goto 149 @ 0x1337 0x1308 125 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x130c 126 ecx = [rbp + (rax << 2) - 0x800].d 0x1313 127 ecx = ecx + 1 0x1316 128 [rbp + (rax << 2) - 0x800].d = ecx 0x131d 129 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1321 130 ecx = [rbp + (rax << 2) - 0xff0].d 0x1328 131 ecx = ecx + 1 0x132b 132 [rbp + (rax << 2) - 0xff0].d = ecx 0x132b 133 goto 124 @ 0x1332 0x145c 134 eax = [rbp - 0x10 {var_18_4}].d 0x145f 135 ecx = [rbp - 0x14 {var_1c}].d 0x1462 136 ecx = ecx - [rbp - 8 {var_10}].d 0x1467 137 if (eax s> ecx) then 153 @ 0x14ba else 154 @ 0x146d 0x14bf 138 eax = 0 0x14c1 139 rsp = rsp + 0x1dd0 0x14c8 140 rbp = pop 0x14c9 141 <return> jump(pop) 0x13f9 142 goto 160 @ 0x13fe 0x138b 143 rax = sx.q([rbp - 0x10 {var_18_3}].d) 0x138f 144 eax = [rbp + (rax << 2) - 0x800].d 0x1396 145 ecx = [rbp - 0x10 {var_18_3}].d 0x1399 146 ecx = ecx + 1 0x139c 147 rcx = sx.q(ecx) 0x13a6 148 if (eax s<= [rbp + (rcx << 2) - 0x800].d) then 164 @ 0x13e6 else 165 @ 0x13ac 0x1337 149 eax = [rbp - 0x10 {var_18_2}].d 0x133a 150 eax = eax + 1 0x133d 151 [rbp - 0x10 {var_18_2}].d = eax 0x1340 152 goto 80 @ 0x12c5 0x14ba 153 goto 138 @ 0x14bf 0x146d 154 rax = sx.q([rbp - 0x10 {var_18_4}].d) 0x1471 155 eax = [rbp + (rax << 2) - 0xff0].d 0x1478 156 ecx = [rbp - 0x14 {var_1c}].d 0x147b 157 ecx = ecx - [rbp - 8 {var_10}].d 0x147e 158 rcx = sx.q(ecx) 0x1488 159 if (eax != [rbp + (rcx << 2) - 0x800].d) then 180 @ 0x14a7 else 181 @ 0x148e 0x13fe 160 eax = [rbp - 0xc {var_14_3}].d 0x1401 161 eax = eax + 1 0x1404 162 [rbp - 0xc {var_14_3}].d = eax 0x1407 163 goto 76 @ 0x135f 0x13e6 164 goto 188 @ 0x13eb 0x13ac 165 rax = sx.q([rbp - 0x10 {var_18_3}].d) 0x13b0 166 eax = [rbp + (rax << 2) - 0x800].d 0x13b7 167 [rbp - 0x18 {var_20_1}].d = eax 0x13ba 168 eax = [rbp - 0x10 {var_18_3}].d 0x13bd 169 eax = eax + 1 0x13c0 170 rax = sx.q(eax) 0x13c2 171 ecx = [rbp + (rax << 2) - 0x800].d 0x13c9 172 rax = sx.q([rbp - 0x10 {var_18_3}].d) 0x13cd 173 [rbp + (rax << 2) - 0x800].d = ecx 0x13d4 174 ecx = [rbp - 0x18 {var_20_1}].d 0x13d7 175 eax = [rbp - 0x10 {var_18_3}].d 0x13da 176 eax = eax + 1 0x13dd 177 rax = sx.q(eax) 0x13df 178 [rbp + (rax << 2) - 0x800].d = ecx 0x13df 179 goto 164 @ 0x13e6 0x14a7 180 goto 192 @ 0x14ac 0x148e 181 rax = sx.q([rbp - 0x10 {var_18_4}].d) 0x1492 182 rdi = rbp - 0x1dd0 {var_1dd8} 0x1499 183 rax = rax * 6 0x149d 184 rdi = rdi + rax 0x14a0 185 al = 0 0x14a2 186 call(0x1080) 0x14a2 187 goto 180 @ 0x14a7 0x13eb 188 eax = [rbp - 0x10 {var_18_3}].d 0x13ee 189 eax = eax + 1 0x13f1 190 [rbp - 0x10 {var_18_3}].d = eax 0x13f4 191 goto 115 @ 0x1377 0x14ac 192 eax = [rbp - 0x10 {var_18_4}].d 0x14af 193 eax = eax + 1 0x14b2 194 [rbp - 0x10 {var_18_4}].d = eax 0x14b5 195 goto 134 @ 0x145c int64_t _fini(): 0x14d0 0 rsp = rsp - 8 0x14d4 1 rsp = rsp + 8 0x14d8 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) 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 {"UAWAVAUATSH8H="} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4050].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4050].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0x38 0x117e 7 rdi = 0x2030 {"%s %s"} 0x1185 8 r14 = 0x4060 {""} 0x118c 9 r13 = 0x4160 {""} 0x1193 10 rsi = r14 0x1196 11 rdx = r13 0x1199 12 eax = 0 0x119b 13 call(0x1060) 0x11a0 14 rdi = r14 0x11a3 15 call(0x1050) 0x11a8 16 rbp = rax 0x11ab 17 rdi = r13 0x11ae 18 call(0x1050) 0x11b3 19 r9 = rax 0x11b6 20 r15d = r9d 0x11b9 21 cond:0 = ebp s> r9d 0x11bc 22 r12d = r9d 0x11bf 23 if (cond:0) then 24 else 26 @ 0x11c3 0x11bf 24 r12d = ebp 0x11bf 25 goto 26 @ 0x11c3 0x11c3 26 ebx = r12d 0x11c9 27 if (r12d s<= 0) then 28 @ 0x1373 else 33 @ 0x11d3 0x1373 28 r11d = ebp 0x1376 29 temp0.d = r11d 0x1376 30 r11d = r11d - r15d 0x1376 31 cond:1 = temp0.d s>= r15d 0x1379 32 if (temp0.d s<= r15d) then 34 @ 0x13b6 else 35 @ 0x137e 0x11d3 33 if (r12d u>= 8) then 36 @ 0x11e0 else 37 @ 0x11d5 0x13b6 34 if (cond:1) then 39 @ 0x15ef else 40 @ 0x13bc 0x137e 35 if (r15d s<= 0) then 42 @ 0x14d0 else 43 @ 0x1384 0x11e0 36 if (r12d u>= 0x20) then 50 @ 0x11e9 else 57 @ 0x11e2 0x11d5 37 edx = 0 0x11d7 38 goto 59 @ 0x1360 0x15ef 39 if (r12d s<= 0) then 63 @ 0x1736 else 65 @ 0x15f9 0x13bc 40 r15d = r15d - ebp 0x13c1 41 if (ebp s<= 0) then 66 @ 0x15d0 else 67 @ 0x13c7 0x14d0 42 if (r11d s<= 0) then 39 @ 0x15ef else 74 @ 0x14d6 0x1384 43 r10 = -0x100000000 0x138e 44 rsi = sx.q(ebp) 0x1391 45 rdi = sx.q(r11d) 0x1394 46 rcx = rsi - 1 0x1398 47 cond:2 = rdi s< rcx 0x139b 48 rax = rcx 0x139e 49 if (cond:2) then 81 else 83 @ 0x13a2 0x11e9 50 edx = ebx 0x11eb 51 edx = edx & 0xffffffe0 0x11ee 52 rax = rdx - 0x20 0x11f2 53 rdi = rax 0x11f5 54 rdi = rdi u>> 5 0x11f9 55 rdi = rdi + 1 0x1200 56 if (rax == 0) then 86 @ 0x182d else 88 @ 0x1206 0x11e2 57 edx = 0 0x11e4 58 goto 93 @ 0x1312 0x1360 59 [rdx + r14].b = [rdx + r14].b - 0x30 0x1365 60 [rdx + r13].b = [rdx + r13].b - 0x30 0x136a 61 rdx = rdx + 1 0x1371 62 if (rbx != rdx) then 59 @ 0x1360 else 28 @ 0x1373 0x1736 63 ecx = r12d 0x173c 64 if (r12d s< 0) then 98 @ 0x17e4 else 105 @ 0x1742 0x15f9 65 if (r12d u>= 8) then 108 @ 0x1606 else 109 @ 0x15fb 0x15d0 66 if (r15d s<= 0) then 39 @ 0x15ef else 111 @ 0x15d2 0x13c7 67 r11 = -0x100000000 0x13d1 68 r8 = sx.q(r9d) 0x13d4 69 rsi = sx.q(r15d) 0x13d7 70 r10 = r8 - 1 0x13db 71 cond:3 = rsi s< r10 0x13de 72 rax = r10 0x13e1 73 if (cond:3) then 118 else 120 @ 0x13e5 0x14d6 74 r9d = not.d(r9d) 0x14d9 75 r9d = r9d + ebp 0x14dc 76 r9 = r9 + 1 0x14e0 77 rdi = 0x4160 {""} 0x14e7 78 esi = 0 0x14e9 79 rdx = r9 0x14ec 80 goto 123 @ 0x15e7 0x139e 81 rax = rdi 0x139e 82 goto 83 @ 0x13a2 0x13a2 83 r8 = rsi 0x13a5 84 r8 = r8 - rax 0x13ac 85 if (r8 u>= 8) then 125 @ 0x13fd else 129 @ 0x13ae 0x182d 86 esi = 0 0x1833 87 if ((dil & 1) != 0) then 131 @ 0x12c0 else 144 @ 0x1839 0x1206 88 rax = rdi 0x1209 89 rax = rax & 0xfffffffffffffffe 0x120d 90 esi = 0 0x120f 91 xmm0 = [0x2010].o 0x1217 92 goto 145 @ 0x1220 0x1312 93 rax = rdx 0x1315 94 edx = ebx 0x1317 95 edx = edx & 0xfffffff8 0x131a 96 xmm0 = [0x2020].o 0x132c 97 goto 173 @ 0x1330 0x17e4 98 rbp = sx.q(ecx) 0x17e7 99 r12d = r12d - ebp 0x17ea 100 r12d = r12d + 1 0x17ee 101 r14 = 0x4260 {""} 0x17f5 102 r15 = 0x2036 {"%d"} 0x17fc 103 ebx = 0 0x17fe 104 goto 181 @ 0x1800 0x1742 105 rax = 0x4260 {""} 0x1749 106 rcx = rbx 0x174c 107 goto 188 @ 0x1767 0x1606 108 if (r12d u>= 0x20) then 190 @ 0x160f else 197 @ 0x1608 0x15fb 109 eax = 0 0x15fd 110 goto 199 @ 0x1714 0x15d2 111 ebp = not.d(ebp) 0x15d4 112 ebp = ebp + r9d 0x15d7 113 rbp = rbp + 1 0x15db 114 rdi = 0x4060 {""} 0x15e2 115 esi = 0 0x15e4 116 rdx = rbp 0x15e4 117 goto 123 @ 0x15e7 0x13e1 118 rax = rsi 0x13e1 119 goto 120 @ 0x13e5 0x13e5 120 rcx = r8 0x13e8 121 rcx = rcx - rax 0x13ef 122 if (rcx u>= 8) then 201 @ 0x14f1 else 204 @ 0x13f5 0x15e7 123 call(0x1040) 0x15e7 124 goto 39 @ 0x15ef 0x13fd 125 cond:4 = rdi s< rcx 0x1400 126 [rsp + 0x10 {var_58_1}].q = rcx 0x1405 127 rax = rcx 0x1408 128 if (cond:4) then 206 else 208 @ 0x140c 0x13ae 129 rdx = rsi 0x13b1 130 goto 214 @ 0x149f 0x12c0 131 xmm0 = [0x2010].o 0x12c8 132 xmm1 = [rsi + r14].o 0x12ce 133 xmm1 = _mm_add_epi8(xmm1, xmm0) 0x12d2 134 xmm2 = [rsi + r14 + 0x10].o 0x12d9 135 xmm2 = _mm_add_epi8(xmm2, xmm0) 0x12dd 136 [rsi + r14].o = xmm1 0x12e3 137 [rsi + r14 + 0x10].o = xmm2 0x12ea 138 xmm1 = [rsi + r13].o 0x12f0 139 xmm1 = _mm_add_epi8(xmm1, xmm0) 0x12f4 140 xmm0 = __paddb_xmmdq_memdq(xmm0, [rsi + r13 + 0x10].o) 0x12fb 141 [rsi + r13].o = xmm1 0x1301 142 [rsi + r13 + 0x10].o = xmm0 0x1301 143 goto 220 @ 0x130b 0x1839 144 goto 220 @ 0x130b 0x1220 145 xmm1 = [rsi + r14].o 0x1226 146 xmm1 = _mm_add_epi8(xmm1, xmm0) 0x122a 147 xmm2 = [rsi + r14 + 0x10].o 0x1231 148 xmm2 = _mm_add_epi8(xmm2, xmm0) 0x1235 149 [rsi + r14].o = xmm1 0x123b 150 [rsi + r14 + 0x10].o = xmm2 0x1242 151 xmm1 = [rsi + r13].o 0x1248 152 xmm1 = _mm_add_epi8(xmm1, xmm0) 0x124c 153 xmm2 = [rsi + r13 + 0x10].o 0x1253 154 xmm2 = _mm_add_epi8(xmm2, xmm0) 0x1257 155 [rsi + r13].o = xmm1 0x125d 156 [rsi + r13 + 0x10].o = xmm2 0x1264 157 xmm1 = [rsi + r14 + 0x20].o 0x126b 158 xmm1 = _mm_add_epi8(xmm1, xmm0) 0x126f 159 xmm2 = [rsi + r14 + 0x30].o 0x1276 160 xmm2 = _mm_add_epi8(xmm2, xmm0) 0x127a 161 [rsi + r14 + 0x20].o = xmm1 0x1281 162 [rsi + r14 + 0x30].o = xmm2 0x1288 163 xmm1 = [rsi + r13 + 0x20].o 0x128f 164 xmm1 = _mm_add_epi8(xmm1, xmm0) 0x1293 165 xmm2 = [rsi + r13 + 0x30].o 0x129a 166 xmm2 = _mm_add_epi8(xmm2, xmm0) 0x129e 167 [rsi + r13 + 0x20].o = xmm1 0x12a5 168 [rsi + r13 + 0x30].o = xmm2 0x12ac 169 rsi = rsi + 0x40 0x12b0 170 temp1.q = rax 0x12b0 171 rax = rax - 2 0x12b4 172 if (temp1.q != 2) then 145 @ 0x1220 else 221 @ 0x12be 0x1330 173 xmm1 = [rax + r14].q 0x1336 174 xmm1 = _mm_add_epi8(xmm1, xmm0) 0x133a 175 [rax + r14].q = xmm1.q 0x1340 176 xmm1 = [rax + r13].q 0x1346 177 xmm1 = _mm_add_epi8(xmm1, xmm0) 0x134a 178 [rax + r13].q = xmm1.q 0x1350 179 rax = rax + 8 0x1357 180 if (rdx != rax) then 173 @ 0x1330 else 222 @ 0x135c 0x1800 181 rax = rbx + rbp 0x1804 182 esi = sx.d([r14 + rax].b) 0x1809 183 rdi = r15 0x180c 184 eax = 0 0x180e 185 call(0x1030) 0x1813 186 rbx = rbx + 1 0x181a 187 if (r12d != ebx) then 181 @ 0x1800 else 223 @ 0x181c 0x1767 188 edx = zx.d([rcx + rax].b) 0x176e 189 if (dl s> 9) then 232 @ 0x1750 else 239 @ 0x1770 0x160f 190 eax = ebx 0x1611 191 eax = eax & 0xffffffe0 0x1614 192 rcx = rax - 0x20 0x1618 193 rdx = rcx 0x161b 194 rdx = rdx u>> 5 0x161f 195 rdx = rdx + 1 0x1626 196 if (rcx == 0) then 243 @ 0x183e else 245 @ 0x162c 0x1608 197 eax = 0 0x160a 198 goto 250 @ 0x16d7 0x1714 199 rcx = 0x4260 {""} 0x171b 200 goto 255 @ 0x1720 0x14f1 201 cond:5 = rsi s< r10 0x14f4 202 rax = r10 0x14f7 203 if (cond:5) then 260 else 262 @ 0x14fb 0x13f5 204 rdx = r8 0x13f8 205 goto 268 @ 0x1594 0x1408 206 rax = rdi 0x1408 207 goto 208 @ 0x140c 0x140c 208 rax = not.q(rax) 0x140f 209 rax = rax + rsi 0x1412 210 ecx = (r15 - 1).d 0x1416 211 edx = ecx 0x1418 212 edx = edx - eax 0x141c 213 if (edx s> ecx) then 129 @ 0x13ae else 274 @ 0x141e 0x149f 214 eax = ebp 0x14a1 215 eax = not.d(eax) 0x14a3 216 eax = eax + r9d 0x14a6 217 eax = eax + edx 0x14a8 218 rax = rax << 0x20 0x14ac 219 goto 277 @ 0x14b0 0x130b 220 if (rdx == rbx) then 28 @ 0x1373 else 284 @ 0x1310 0x12be 221 if ((dil & 1) == 0) then 220 @ 0x130b else 131 @ 0x12c0 0x135c 222 if (rdx == rbx) then 28 @ 0x1373 else 285 @ 0x135e 0x181c 223 eax = 0 0x181e 224 rsp = rsp + 0x38 0x1822 225 rbx = pop 0x1823 226 r12 = pop 0x1825 227 r13 = pop 0x1827 228 r14 = pop 0x1829 229 r15 = pop 0x182b 230 rbp = pop 0x182c 231 <return> jump(pop) 0x1750 232 dl = dl - 0xa 0x1753 233 [rcx + rax].b = dl 0x1756 234 rdx = rcx - 1 0x175a 235 [rcx + rax - 1].b = [rcx + rax - 1].b + 1 0x175f 236 cond:6 = rcx s<= 0 0x1762 237 rcx = rdx 0x1765 238 if (cond:6) then 286 @ 0x177c else 188 @ 0x1767 0x1770 239 rdx = rcx - 1 0x1774 240 cond:7 = rcx s> 0 0x1777 241 rcx = rdx 0x177a 242 if (cond:7) then 188 @ 0x1767 else 286 @ 0x177c 0x183e 243 ecx = 0 0x1843 244 if ((dl & 1) != 0) then 288 @ 0x169d else 297 @ 0x1849 0x162c 245 rsi = rdx 0x162f 246 rsi = rsi & 0xfffffffffffffffe 0x1633 247 ecx = 0 0x1635 248 rdi = 0x4260 {""} 0x163c 249 goto 298 @ 0x1640 0x16d7 250 rcx = rax 0x16da 251 eax = ebx 0x16dc 252 eax = eax & 0xfffffff8 0x16df 253 rdx = 0x4260 {""} 0x16e6 254 goto 314 @ 0x16f0 0x1720 255 edx = zx.d([rax + r13].b) 0x1725 256 dl = dl + [rax + r14].b 0x1729 257 [rax + rcx + 1].b = dl 0x172d 258 rax = rax + 1 0x1734 259 if (rbx != rax) then 255 @ 0x1720 else 63 @ 0x1736 0x14f7 260 rax = rsi 0x14f7 261 goto 262 @ 0x14fb 0x14fb 262 rax = not.q(rax) 0x14fe 263 rax = rax + r8 0x1501 264 edx = (rbp - 1).d 0x1504 265 edi = edx 0x1506 266 edi = edi - eax 0x150a 267 if (edi s> edx) then 204 @ 0x13f5 else 320 @ 0x1510 0x1594 268 eax = r9d 0x1597 269 eax = not.d(eax) 0x1599 270 eax = eax + ebp 0x159b 271 eax = eax + edx 0x159d 272 rax = rax << 0x20 0x15ab 273 goto 323 @ 0x15b0 0x141e 274 rdx = rax 0x1421 275 rdx = rdx u>> 0x20 0x1425 276 if (rdx != 0) then 129 @ 0x13ae else 330 @ 0x1427 0x14b0 277 rcx = rax 0x14b3 278 rcx = rcx s>> 0x20 0x14b7 279 ecx = zx.d([rcx + r13].b) 0x14bc 280 [rdx + r13 - 1].b = cl 0x14c1 281 rdx = rdx - 1 0x14c5 282 rax = rax + r10 0x14cb 283 if (rdx s> rdi) then 277 @ 0x14b0 else 42 @ 0x14d0 0x1310 284 if ((bl & 0x18) == 0) then 59 @ 0x1360 else 93 @ 0x1312 0x135e 285 goto 59 @ 0x1360 0x177c 286 ecx = r12d 0x1782 287 if (r12d s< 0) then 98 @ 0x17e4 else 336 @ 0x1784 0x169d 288 xmm0 = [rcx + r13].o 0x16a3 289 xmm1 = [rcx + r13 + 0x10].o 0x16aa 290 xmm0 = __paddb_xmmdq_memdq(xmm0, [rcx + r14].o) 0x16b0 291 xmm1 = __paddb_xmmdq_memdq(xmm1, [rcx + r14 + 0x10].o) 0x16b7 292 rcx = rcx | 1 0x16bb 293 rdx = 0x4260 {""} 0x16c2 294 [rcx + rdx].o = xmm0 0x16c7 295 [rcx + rdx + 0x10].o = xmm1 0x16c7 296 goto 340 @ 0x16d0 0x1849 297 goto 340 @ 0x16d0 0x1640 298 xmm0 = [rcx + r13].o 0x1646 299 xmm1 = [rcx + r13 + 0x10].o 0x164d 300 xmm2 = [rcx + r13 + 0x20].o 0x1654 301 xmm3 = [rcx + r13 + 0x30].o 0x165b 302 xmm0 = __paddb_xmmdq_memdq(xmm0, [rcx + r14].o) 0x1661 303 xmm1 = __paddb_xmmdq_memdq(xmm1, [rcx + r14 + 0x10].o) 0x1668 304 [rcx + rdi + 1].o = xmm0 0x166e 305 [rcx + rdi + 0x11].o = xmm1 0x1674 306 xmm2 = __paddb_xmmdq_memdq(xmm2, [rcx + r14 + 0x20].o) 0x167b 307 xmm3 = __paddb_xmmdq_memdq(xmm3, [rcx + r14 + 0x30].o) 0x1682 308 [rcx + rdi + 0x21].o = xmm2 0x1688 309 [rcx + rdi + 0x31].o = xmm3 0x168e 310 rcx = rcx + 0x40 0x1692 311 temp2.q = rsi 0x1692 312 rsi = rsi - 2 0x1696 313 if (temp2.q != 2) then 298 @ 0x1640 else 341 @ 0x169b 0x16f0 314 xmm0 = [rcx + r14].q 0x16f6 315 xmm1 = [rcx + r13].q 0x16fc 316 xmm1 = _mm_add_epi8(xmm1, xmm0) 0x1700 317 [rcx + rdx + 1].q = xmm1.q 0x1706 318 rcx = rcx + 8 0x170d 319 if (rax != rcx) then 314 @ 0x16f0 else 342 @ 0x1712 0x1510 320 rdi = rax 0x1513 321 rdi = rdi u>> 0x20 0x1517 322 if (rdi != 0) then 204 @ 0x13f5 else 343 @ 0x151d 0x15b0 323 rdi = rax 0x15b3 324 rdi = rdi s>> 0x20 0x15b7 325 ecx = zx.d([rdi + r14].b) 0x15bc 326 [rdx + r14 - 1].b = cl 0x15c1 327 rdx = rdx - 1 0x15c5 328 rax = rax + r11 0x15cb 329 if (rdx s> rsi) then 323 @ 0x15b0 else 66 @ 0x15d0 0x1427 330 [rsp {var_68_1}].q = rbp 0x142b 331 rbp = rsi + r13 0x142f 332 rbp = rbp - 1 0x1433 333 rdx = rbp 0x1436 334 rdx = rdx - rax 0x143c 335 if (rdx u> rbp) then 349 @ 0x1498 else 352 @ 0x143e 0x1784 336 edx = (rbx + 1).d 0x1787 337 ecx = r12d 0x178a 338 rdx = rdx & 3 0x178e 339 if (rdx == 0) then 357 @ 0x17a5 else 358 @ 0x1794 0x16d0 340 if (rax == rbx) then 63 @ 0x1736 else 359 @ 0x16d5 0x169b 341 if ((dl & 1) == 0) then 340 @ 0x16d0 else 288 @ 0x169d 0x1712 342 if (rax == rbx) then 63 @ 0x1736 else 199 @ 0x1714 0x151d 343 [rsp {var_68_2}].q = rbp 0x1521 344 rbp = r8 + r14 0x1525 345 rbp = rbp - 1 0x1529 346 rdi = rbp 0x152c 347 rdi = rdi - rax 0x1532 348 if (rdi u> rbp) then 360 @ 0x158d else 363 @ 0x1534 0x1498 349 rdx = rsi 0x149b 350 rbp = [rsp {var_68_1}].q 0x149b 351 goto 214 @ 0x149f 0x143e 352 rcx = sx.q(ecx) 0x1441 353 rcx = rcx + r13 0x1444 354 rdx = rcx 0x1447 355 rdx = rdx - rax 0x144d 356 if (rdx u> rcx) then 349 @ 0x1498 else 368 @ 0x144f 0x17a5 357 if (r12d u< 3) then 370 @ 0x17e2 else 371 @ 0x17a7 0x1794 358 if ([rbx + rax].b != 0) then 372 else 374 @ 0x1797 0x16d5 359 if ((bl & 0x18) == 0) then 199 @ 0x1714 else 250 @ 0x16d7 0x158d 360 rdx = r8 0x1590 361 rbp = [rsp {var_68_2}].q 0x1590 362 goto 268 @ 0x1594 0x1534 363 rdx = sx.q(edx) 0x1537 364 rdx = rdx + r14 0x153a 365 rdi = rdx 0x153d 366 rdi = rdi - rax 0x1543 367 if (rdi u> rdx) then 360 @ 0x158d else 378 @ 0x1545 0x144f 368 rax = [rsp + 0x10 {var_58_1}].q 0x1457 369 if (rdi s< rax) then 381 else 383 @ 0x145b 0x17e2 370 if (ecx s> r12d) then 223 @ 0x181c else 98 @ 0x17e4 0x17a7 371 goto 391 @ 0x17b4 0x1794 372 ecx = ebx 0x1794 373 goto 374 @ 0x1797 0x1797 374 rbx = rbx - 1 0x179b 375 temp3.q = rdx 0x179b 376 rdx = rdx - 1 0x179f 377 if (temp3.q != 1) then 358 @ 0x1794 else 357 @ 0x17a5 0x1545 378 cond:8 = rsi s< r10 0x1548 379 rax = r10 0x154b 380 if (cond:8) then 392 else 394 @ 0x154f 0x1457 381 rax = rdi 0x1457 382 goto 383 @ 0x145b 0x145b 383 rdx = rax + r13 0x145f 384 rcx = r9 0x1462 385 rcx = rcx << 0x20 0x1466 386 rcx = rcx + r10 0x1469 387 rcx = rcx s>> 0x20 0x146d 388 rbp = rcx + r13 0x1471 389 rbp = rbp + 1 0x1478 390 if (rdx u>= rbp) then 402 @ 0x1852 else 403 @ 0x147e 0x17b4 391 if ([rbx + rax].b != 0) then 409 else 411 @ 0x17b7 0x154b 392 rax = rsi 0x154b 393 goto 394 @ 0x154f 0x154f 394 rdi = r14 + rax 0x1553 395 rdx = [rsp {var_68_2}].q 0x1557 396 rdx = rdx << 0x20 0x155b 397 rdx = rdx + r11 0x155e 398 rdx = rdx s>> 0x20 0x1562 399 rbp = rdx + r14 0x1566 400 rbp = rbp + 1 0x156d 401 if (rdi u>= rbp) then 413 @ 0x185e else 416 @ 0x1573 0x1852 402 if (r8 u>= 0x10) then 422 @ 0x1878 else 429 @ 0x1854 0x147e 403 rdx = rsi + r13 0x1482 404 rax = rax + rcx 0x1485 405 rax = rax - rsi 0x1488 406 rax = rax + r13 0x148b 407 rax = rax + 1 0x1492 408 if (rax u>= rdx) then 402 @ 0x1852 else 349 @ 0x1498 0x17b4 409 ecx = ebx 0x17b4 410 goto 411 @ 0x17b7 0x17b7 411 edx = (rbx - 1).d 0x17bf 412 if ([rbx + rax - 1].b == 0) then 432 else 434 @ 0x17c2 0x185e 413 cond:9 = rcx u>= 0x10 0x1862 414 [rsp + 0x18 {var_50_1}].q = r9 0x1867 415 if (cond:9) then 436 @ 0x194b else 445 @ 0x186d 0x1573 416 rdi = r14 + r8 0x1577 417 rax = rax + rdx 0x157a 418 rax = rax - r8 0x157d 419 rax = rax + r14 0x1580 420 rax = rax + 1 0x1587 421 if (rax u>= rdi) then 413 @ 0x185e else 360 @ 0x158d 0x1878 422 rcx = r8 0x187b 423 rcx = rcx & 0xfffffffffffffff0 0x187f 424 rax = rcx - 0x10 0x1883 425 rdx = rax 0x1886 426 rdx = rdx u>> 4 0x188a 427 rdx = rdx + 1 0x1891 428 if (rax == 0) then 448 @ 0x1a0e else 450 @ 0x1897 0x1854 429 r15 = r8 0x1857 430 ecx = 0 0x1859 431 goto 471 @ 0x1a55 0x17bf 432 edx = ecx 0x17bf 433 goto 434 @ 0x17c2 0x17c2 434 ecx = (rbx - 2).d 0x17ca 435 if ([rbx + rax - 2].b == 0) then 474 else 476 @ 0x17cd 0x194b 436 rdi = rcx 0x194e 437 rdi = rdi & 0xfffffffffffffff0 0x1952 438 rax = rdi - 0x10 0x1956 439 rdx = rax 0x1959 440 rdx = rdx u>> 4 0x195d 441 rdx = rdx + 1 0x1961 442 cond:10 = rax == 0 0x1964 443 rax = [rsp {var_68_2}].q 0x1968 444 if (cond:10) then 479 @ 0x1ae6 else 481 @ 0x196e 0x186d 445 edi = 0 0x186f 446 rbp = [rsp {var_68_2}].q 0x1873 447 goto 499 @ 0x1b26 0x1a0e 448 ebp = 0 0x1a0e 449 goto 502 @ 0x1a13 0x1897 450 [rsp + 0x28 {var_40_1}].q = r8 0x189c 451 [rsp + 0x30 {var_38_1}].q = rdx 0x18a1 452 rdx = rdx & 0xfffffffffffffffe 0x18a5 453 rax = rsi + r13 0x18a9 454 rax = rax - 0x10 0x18ad 455 [rsp + 8 {var_60_1}].q = rax 0x18b2 456 [rsp + 0x18 {var_50_2}].q = r9 0x18b7 457 [rsp + 0x20 {var_48_1}].q = rsi 0x18bc 458 eax = (rsi + r9).d 0x18c0 459 rbp = [rsp {var_68_1}].q 0x18c4 460 r9d = ebp 0x18c7 461 r9d = not.d(r9d) 0x18ca 462 r9d = r9d + eax 0x18cd 463 r8d = eax 0x18d0 464 r8d = r8d - ebp 0x18d3 465 r8d = r8d - 0x11 0x18d7 466 r8 = r8 << 0x20 0x18db 467 r9 = r9 << 0x20 0x18df 468 ebp = 0 0x18e1 469 rsi = [rsp + 8 {var_60_1}].q 0x18e6 470 goto 503 @ 0x18f0 0x1a55 471 r8 = -0x800000000 0x1a5f 472 rdx = [rsp + 0x10 {var_58_1}].q 0x1a67 473 if (rdi s< rdx) then 518 else 520 @ 0x1a6b 0x17ca 474 ecx = edx 0x17ca 475 goto 476 @ 0x17cd 0x17cd 476 cond:11 = [rbx + rax - 3].b != 0 0x17d2 477 rbx = rbx - 3 0x17d6 478 if (cond:11) then 539 else 541 @ 0x17d9 0x1ae6 479 ebp = 0 0x1ae6 480 goto 544 @ 0x1aeb 0x196e 481 [rsp + 0x28 {var_40_2}].q = r10 0x1973 482 [rsp + 8 {var_60_2}].q = rcx 0x1978 483 [rsp + 0x20 {var_48_2}].q = rdx 0x197d 484 rdx = rdx & 0xfffffffffffffffe 0x1981 485 rcx = r8 + r14 0x1985 486 rcx = rcx - 0x10 0x1989 487 [rsp + 0x10 {var_58_2}].q = r8 0x198e 488 eax = eax + r8d 0x1991 489 r8d = r9d 0x1994 490 r8d = not.d(r8d) 0x1997 491 r8d = r8d + eax 0x199a 492 r10d = eax 0x199d 493 r10d = r10d - r9d 0x19a0 494 r10d = r10d - 0x11 0x19a4 495 r10 = r10 << 0x20 0x19a8 496 r8 = r8 << 0x20 0x19ac 497 ebp = 0 0x19ac 498 goto 545 @ 0x19ae 0x1b26 499 rax = r10 0x1b29 500 r10 = -0x800000000 0x1b36 501 if (rsi s< rax) then 560 else 562 @ 0x1b3a 0x1a13 502 if ((dl & 1) == 0) then 581 @ 0x1a34 else 584 @ 0x1a15 0x18f0 503 r15 = r9 0x18f3 504 r15 = r15 s>> 0x20 0x18f7 505 xmm0 = [r15 + r13 - 0xf].o 0x18fd 506 [rsi + rbp].o = xmm0 0x1901 507 rax = r8 0x1904 508 rax = rax s>> 0x20 0x1908 509 xmm0 = [rax + r13 - 0xf].o 0x190f 510 [rsi + rbp - 0x10].o = xmm0 0x1915 511 rbp = rbp - 0x20 0x1919 512 rax = -0x2000000000 0x1923 513 r8 = r8 + rax 0x1926 514 r9 = r9 + rax 0x1929 515 temp4.q = rdx 0x1929 516 rdx = rdx - 2 0x192d 517 if (temp4.q != 2) then 503 @ 0x18f0 else 593 @ 0x192f 0x1a67 518 rdx = rdi 0x1a67 519 goto 520 @ 0x1a6b 0x1a6b 520 rax = rsi 0x1a6e 521 rsi = rsi - rdx 0x1a71 522 [rsp + 8 {var_60_3}].q = rsi 0x1a76 523 rsi = rsi & 0xfffffffffffffff8 0x1a7a 524 rdx = rax 0x1a7d 525 [rsp + 0x10 {var_58_3}].q = rsi 0x1a82 526 rdx = rdx - rsi 0x1a85 527 rsi = [rsp {var_68_1}].q 0x1a89 528 esi = not.d(esi) 0x1a8b 529 esi = esi + eax 0x1a8d 530 esi = esi + r9d 0x1a90 531 esi = esi - ecx 0x1a92 532 rsi = rsi << 0x20 0x1a96 533 rbp = rax + r13 0x1a9a 534 rbp = rbp - 8 0x1a9e 535 rcx = neg.q(rcx) 0x1aa1 536 r15 = r15 & 0xfffffffffffffff8 0x1aa5 537 r15 = neg.q(r15) 0x1aa8 538 goto 599 @ 0x1ab0 0x17d6 539 ecx = ebx 0x17d6 540 goto 541 @ 0x17d9 0x17d9 541 temp5.q = rbx 0x17d9 542 rbx = rbx - 1 0x17dd 543 if (temp5.q u>= 1) then 391 @ 0x17b4 else 370 @ 0x17e2 0x1aeb 544 if ((dl & 1) == 0) then 606 @ 0x1b0c else 609 @ 0x1aed 0x19ae 545 r9 = r8 0x19b1 546 r9 = r9 s>> 0x20 0x19b5 547 xmm0 = [r9 + r14 - 0xf].o 0x19bb 548 [rcx + rbp].o = xmm0 0x19bf 549 rax = r10 0x19c2 550 rax = rax s>> 0x20 0x19c6 551 xmm0 = [rax + r14 - 0xf].o 0x19cd 552 [rcx + rbp - 0x10].o = xmm0 0x19d3 553 rbp = rbp - 0x20 0x19d7 554 rax = -0x2000000000 0x19e1 555 r10 = r10 + rax 0x19e4 556 r8 = r8 + rax 0x19e7 557 temp6.q = rdx 0x19e7 558 rdx = rdx - 2 0x19eb 559 if (temp6.q != 2) then 545 @ 0x19ae else 618 @ 0x19ed 0x1b36 560 rax = rsi 0x1b36 561 goto 562 @ 0x1b3a 0x1b3a 562 rdx = r8 0x1b3d 563 rdx = rdx - rax 0x1b40 564 rax = r9 0x1b43 565 [rsp + 8 {var_60_4}].q = rdx 0x1b48 566 r9 = rdx 0x1b4b 567 r9 = r9 & 0xfffffffffffffff8 0x1b4f 568 rdx = r8 0x1b52 569 rdx = rdx - r9 0x1b55 570 ebp = ebp + r8d 0x1b58 571 eax = not.d(eax) 0x1b5a 572 eax = eax + ebp 0x1b5c 573 eax = eax - edi 0x1b5e 574 rax = rax << 0x20 0x1b62 575 r8 = r8 + r14 0x1b65 576 r8 = r8 - 8 0x1b69 577 rdi = neg.q(rdi) 0x1b6c 578 rcx = rcx & 0xfffffffffffffff8 0x1b70 579 rcx = neg.q(rcx) 0x1b7d 580 goto 625 @ 0x1b80 0x1a34 581 cond:12 = r8 == rcx 0x1a37 582 rbp = [rsp {var_68_1}].q 0x1a3b 583 if (cond:12) then 42 @ 0x14d0 else 632 @ 0x1a45 0x1a15 584 rax = r9 0x1a18 585 rax = rax - [rsp {var_68_1}].q 0x1a1c 586 rbp = not.q(rbp) 0x1a1f 587 rbp = rbp + rsi 0x1a22 588 eax = eax + ebp 0x1a24 589 rax = sx.q(eax) 0x1a26 590 xmm0 = [rax + r13 - 0xf].o 0x1a2d 591 [r13 + rbp - 0xf].o = xmm0 0x1a2d 592 goto 581 @ 0x1a34 0x192f 593 rbp = neg.q(rbp) 0x1932 594 r9 = [rsp + 0x18 {var_50_2}].q 0x1937 595 r8 = [rsp + 0x28 {var_40_1}].q 0x193c 596 rsi = [rsp + 0x20 {var_48_1}].q 0x1941 597 rdx = [rsp + 0x30 {var_38_1}].q 0x1946 598 goto 502 @ 0x1a13 0x1ab0 599 rax = rsi 0x1ab3 600 rax = rax s>> 0x20 0x1ab7 601 rax = [rax + r13 - 7].q 0x1abc 602 [rbp + rcx].q = rax 0x1ac1 603 rsi = rsi + r8 0x1ac4 604 rcx = rcx - 8 0x1acb 605 if (r15 != rcx) then 599 @ 0x1ab0 else 633 @ 0x1acd 0x1b0c 606 cond:14 = rcx == rdi 0x1b0f 607 rbp = [rsp {var_68_2}].q 0x1b13 608 if (cond:14) then 66 @ 0x15d0 else 637 @ 0x1b1c 0x1aed 609 rax = [rsp {var_68_2}].q 0x1af1 610 rax = rax - r9 0x1af4 611 rbp = not.q(rbp) 0x1af7 612 rbp = rbp + r8 0x1afa 613 eax = eax + ebp 0x1afc 614 rax = sx.q(eax) 0x1afe 615 xmm0 = [rax + r14 - 0xf].o 0x1b05 616 [r14 + rbp - 0xf].o = xmm0 0x1b05 617 goto 606 @ 0x1b0c 0x19ed 618 rbp = neg.q(rbp) 0x19f0 619 r9 = [rsp + 0x18 {var_50_1}].q 0x19f5 620 rcx = [rsp + 8 {var_60_2}].q 0x19fa 621 r8 = [rsp + 0x10 {var_58_2}].q 0x19ff 622 r10 = [rsp + 0x28 {var_40_2}].q 0x1a04 623 rdx = [rsp + 0x20 {var_48_2}].q 0x1a09 624 goto 544 @ 0x1aeb 0x1b80 625 rbp = rax 0x1b83 626 rbp = rbp s>> 0x20 0x1b87 627 rbp = [rbp + r14 - 7].q 0x1b8c 628 [r8 + rdi].q = rbp 0x1b90 629 rax = rax + r10 0x1b93 630 rdi = rdi - 8 0x1b9a 631 if (rcx != rdi) then 625 @ 0x1b80 else 638 @ 0x1b9c 0x1a45 632 if ((r8b & 8) != 0) then 642 @ 0x1a52 else 644 @ 0x1a47 0x1acd 633 rax = [rsp + 0x10 {var_58_3}].q 0x1ad2 634 cond:13 = [rsp + 8 {var_60_3}].q != rax 0x1ad7 635 rbp = [rsp {var_68_1}].q 0x1adb 636 if (cond:13) then 214 @ 0x149f else 647 @ 0x1ae1 0x1b1c 637 if ((cl & 8) != 0) then 499 @ 0x1b26 else 648 @ 0x1b1e 0x1b9c 638 cond:15 = [rsp + 8 {var_60_4}].q != r9 0x1ba1 639 rbp = [rsp {var_68_2}].q 0x1ba5 640 r9 = [rsp + 0x18 {var_50_1}].q 0x1baa 641 if (cond:15) then 268 @ 0x1594 else 650 @ 0x1bb0 0x1a52 642 r15 = r8 0x1a52 643 goto 471 @ 0x1a55 0x1a47 644 rsi = rsi - rcx 0x1a4a 645 rdx = rsi 0x1a4d 646 goto 214 @ 0x149f 0x1ae1 647 goto 42 @ 0x14d0 0x1b1e 648 r8 = r8 - rdi 0x1b21 649 goto 204 @ 0x13f5 0x1bb0 650 goto 66 @ 0x15d0 int64_t _fini(): 0x1bbc 0 rsp = rsp - 8 0x1bc0 1 rsp = rsp + 8 0x1bc4 2 <return> jump(pop)
POJ_69
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVATSHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r12) 0x1156 3 push(rbx) 0x1157 4 rsp = rsp - 0x348 0x115e 5 rdi = 0x2004 {"%d\n"} 0x1165 6 ebx = 0 0x1167 7 rsi = rsp + 0xc {var_35c} 0x116c 8 eax = 0 0x116e 9 call(0x1040) 0x1178 10 if ([rsp + 0xc {var_35c}].d s<= 0) then 11 @ 0x1218 else 13 @ 0x117e 0x1218 11 esi = ebx 0x1218 12 goto 18 @ 0x121a 0x117e 13 r14 = rsp + 0x10 {var_358} 0x1183 14 r12 = rsp + 0x1b0 {var_1b8} 0x118b 15 r15 = 0x2008 {"%d %d"} 0x1192 16 ebx = 0 0x119e 17 goto 28 @ 0x11a0 0x121a 18 rdi = 0x200b {"%d"} 0x1221 19 eax = 0 0x1223 20 call(0x1030) 0x1228 21 eax = 0 0x122a 22 rsp = rsp + 0x348 0x1231 23 rbx = pop 0x1232 24 r12 = pop 0x1234 25 r14 = pop 0x1236 26 r15 = pop 0x1238 27 <return> jump(pop) 0x11a0 28 rdi = r15 0x11a3 29 rsi = r12 0x11a6 30 rdx = r14 0x11a9 31 eax = 0 0x11ab 32 call(0x1040) 0x11b0 33 rbx = rbx + 1 0x11b4 34 rax = sx.q([rsp + 0xc {var_35c}].d) 0x11b9 35 r14 = r14 + 4 0x11bd 36 r12 = r12 + 4 0x11c4 37 if (rbx s< rax) then 28 @ 0x11a0 else 38 @ 0x11c6 0x11c6 38 eax = eax 0x11ca 39 if (eax s<= 0) then 40 @ 0x1216 else 42 @ 0x11cc 0x1216 40 ebx = 0 0x1216 41 goto 11 @ 0x1218 0x11cc 42 ecx = 0 0x11ce 43 ebx = 0 0x11d0 44 esi = 0 0x11d2 45 goto 46 @ 0x11f0 0x11f0 46 edx = [rsp + (rcx << 2) + 0x1b0].d 0x11f7 47 edx = edx - 0x5a 0x11fd 48 if (edx u> 0x32) then 49 @ 0x11e2 else 50 @ 0x11ff 0x11e2 49 if (esi s> ebx) then 53 else 55 @ 0x11e5 0x11ff 50 edx = [rsp + (rcx << 2) + 0x10].d 0x1203 51 edx = edx - 0x3c 0x1209 52 if (edx u> 0x1e) then 49 @ 0x11e2 else 57 @ 0x120b 0x11e2 53 ebx = esi 0x11e2 54 goto 55 @ 0x11e5 0x11e5 55 esi = 0 0x11e5 56 goto 59 @ 0x11e7 0x120b 57 esi = esi + 1 0x120e 58 goto 59 @ 0x11e7 0x11e7 59 rcx = rcx + 1 0x11ee 60 if (rax == rcx) then 61 @ 0x1212 else 46 @ 0x11f0 0x1212 61 if (esi s<= ebx) then 11 @ 0x1218 else 62 @ 0x1214 0x1214 62 goto 18 @ 0x121a int64_t _fini(): 0x1240 0 rsp = rsp - 8 0x1244 1 rsp = rsp + 8 0x1248 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 char* gets(char* buf): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t puts(char const* str): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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 - 0xa0 0x115c 4 r14d = 0 0x115f 5 rdi = rsp {var_b8} 0x1162 6 eax = 0 0x1164 7 call(0x1030) 0x1169 8 rdi = rsp + 0x50 {var_68} 0x116e 9 eax = 0 0x1170 10 call(0x1030) 0x1175 11 al = [rsp {var_b8}].b 0x1178 12 ebx = 0 0x117f 13 if (al == 0) then 14 @ 0x11ac else 16 @ 0x1181 0x11ac 14 al = [rsp + 0x50 {var_68}].b 0x11b2 15 if (al == 0) then 18 @ 0x11df else 21 @ 0x11b4 0x1181 16 ebx = 0 0x1183 17 goto 23 @ 0x119d 0x11df 18 al = [rsp {var_b8}].b 0x11e2 19 r15d = 0 0x11e7 20 if (al == 0) then 25 @ 0x122b else 26 @ 0x11e9 0x11b4 21 r14d = 0 0x11b7 22 goto 29 @ 0x11ce 0x119d 23 ecx = (rax - 0x41).d 0x11a3 24 if (cl u> 0x19) then 31 @ 0x1190 else 34 @ 0x11a5 0x122b 25 if (ebx != r14d) then 37 @ 0x123e else 43 @ 0x1230 0x11e9 26 rdi = 0x2008 {">"} 0x11f0 27 rcx = 0x2006 {"<"} 0x11f7 28 goto 44 @ 0x1200 0x11ce 29 ecx = (rax - 0x41).d 0x11d4 30 if (cl u> 0x19) then 46 @ 0x11c0 else 49 @ 0x11d6 0x1190 31 eax = zx.d([rsp + rbx + 1].b) 0x1195 32 rbx = rbx + 1 0x119b 33 if (al == 0) then 14 @ 0x11ac else 23 @ 0x119d 0x11a5 34 al = al + 0x20 0x11a7 35 [rsp + rbx].b = al 0x11aa 36 goto 31 @ 0x1190 0x123e 37 eax = 0 0x1240 38 rsp = rsp + 0xa0 0x1247 39 rbx = pop 0x1248 40 r14 = pop 0x124a 41 r15 = pop 0x124c 42 <return> jump(pop) 0x1230 43 if (ebx != r15d) then 37 @ 0x123e else 52 @ 0x1232 0x1200 44 edx = zx.d([rsp + r15 + 0x50].b) 0x1208 45 if (dl == 0) then 25 @ 0x122b else 55 @ 0x120a 0x11c0 46 eax = zx.d([rsp + r14 + 0x51].b) 0x11c6 47 r14 = r14 + 1 0x11cc 48 if (al == 0) then 18 @ 0x11df else 29 @ 0x11ce 0x11d6 49 al = al + 0x20 0x11d8 50 [rsp + r14 + 0x50].b = al 0x11dd 51 goto 46 @ 0x11c0 0x1232 52 rdi = 0x2004 {"="} 0x1239 53 call(0x1040) 0x1239 54 goto 37 @ 0x123e 0x120a 55 cond:0 = al s< dl 0x120c 56 if (al s> dl) then 57 @ 0x1223 else 59 @ 0x120e 0x1223 57 call(0x1040) 0x1223 58 goto 25 @ 0x122b 0x120e 59 if (cond:0) then 60 @ 0x1220 else 62 @ 0x1210 0x1220 60 rdi = rcx 0x1220 61 goto 57 @ 0x1223 0x1210 62 eax = zx.d([rsp + r15 + 1].b) 0x1216 63 r15 = r15 + 1 0x121c 64 if (al != 0) then 44 @ 0x1200 else 65 @ 0x121e 0x121e 65 goto 25 @ 0x122b int64_t _fini(): 0x1254 0 rsp = rsp - 8 0x1258 1 rsp = rsp + 8 0x125c 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 {"AWAVATSHxL5"} 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 - 0x78 0x116b 5 r14 = 0x2004 {"%s"} 0x1172 6 r15 = rsp {var_98} 0x1175 7 rdi = r14 0x1178 8 rsi = r15 {var_98} 0x117b 9 eax = 0 0x117d 10 call(0x1050) 0x1182 11 r12 = rsp + 0x40 {var_58} 0x1187 12 rdi = r14 0x118a 13 rsi = r12 {var_58} 0x118d 14 eax = 0 0x118f 15 call(0x1050) 0x1194 16 rdi = r15 {var_98} 0x1197 17 call(0x1040) 0x119c 18 r14 = rax 0x119f 19 rdi = r12 {var_58} 0x11a2 20 call(0x1040) 0x11aa 21 if (eax s< r14d) then 22 @ 0x121c else 28 @ 0x11ac 0x121c 22 rsp = rsp + 0x78 0x1220 23 rbx = pop 0x1221 24 r12 = pop 0x1223 25 r14 = pop 0x1225 26 r15 = pop 0x1227 27 <return> jump(pop) 0x11ac 28 r8b = [rsp {var_98}].b 0x11b0 29 eax = eax - r14d 0x11b3 30 eax = eax + 1 0x11b6 31 esi = 0 0x11b8 32 goto 33 @ 0x11d3 0x11d3 33 if (r8b != [rsp + rsi + 0x40].b) then 34 @ 0x11c1 else 37 @ 0x11d8 0x11c1 34 rsi = rsi + 1 0x11c5 35 r12 = r12 + 1 0x11cc 36 if (rsi == rax) then 22 @ 0x121c else 33 @ 0x11d3 0x11d8 37 if (r14d s<= 0) then 38 @ 0x11ba else 40 @ 0x11da 0x11ba 38 edx = 0 0x11ba 39 goto 44 @ 0x11bf 0x11da 40 r9d = (rsi + r14).d 0x11de 41 ecx = 0 0x11e0 42 edx = 0 0x11ec 43 goto 45 @ 0x11f0 0x11bf 44 if (edx == r14d) then 52 @ 0x120e else 34 @ 0x11c1 0x11f0 45 ebx = zx.d([rsp + rcx].b) 0x11f4 46 edi = 0 0x11fa 47 dil = bl == [r12 + rcx].b 0x11fe 48 edx = edx + edi 0x1200 49 rcx = rcx + 1 0x1204 50 edi = (rcx + rsi).d 0x120a 51 if (r9d s> edi) then 45 @ 0x11f0 else 56 @ 0x120c 0x120e 52 rdi = 0x2007 {"%d"} 0x1215 53 eax = 0 0x1217 54 call(0x1030) 0x1217 55 goto 22 @ 0x121c 0x120c 56 goto 44 @ 0x11bf int64_t _fini(): 0x122c 0 rsp = rsp - 8 0x1230 1 rsp = rsp + 8 0x1234 2 <return> jump(pop)
POJ_45
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"} 0x115b 2 rsi = rsp + 0x14 {var_4} 0x1160 3 eax = 0 0x1162 4 call(0x1040) 0x1167 5 rax = sx.q([rsp + 0x14 {var_4}].d) 0x116c 6 rsi = rax * 0x51eb851f 0x1173 7 rcx = rsi 0x1176 8 rcx = rcx u>> 0x3f 0x117a 9 rsi = rsi s>> 0x25 0x117e 10 esi = esi + ecx 0x1180 11 ecx = esi * -0x64 0x1183 12 ecx = ecx + eax 0x1185 13 rax = sx.q(ecx) 0x1188 14 rdx = rax * 0x51eb851f 0x118f 15 rcx = rdx 0x1192 16 rcx = rcx u>> 0x3f 0x1196 17 rdx = rdx s>> 0x24 0x119a 18 edx = edx + ecx 0x119c 19 ecx = edx * -0x32 0x119f 20 eax = eax + ecx 0x11a1 21 rax = sx.q(eax) 0x11a3 22 rcx = rax * 0x66666667 0x11aa 23 rdi = rcx 0x11ad 24 rdi = rdi u>> 0x3f 0x11b1 25 rcx = rcx s>> 0x23 0x11b5 26 ecx = ecx + edi 0x11b7 27 edi = (rcx << 2).d 0x11be 28 edi = (rdi + (rdi << 2)).d 0x11c1 29 eax = eax - edi 0x11c3 30 rax = sx.q(eax) 0x11c5 31 r8 = rax * 0x66666667 0x11cc 32 rdi = r8 0x11cf 33 rdi = rdi u>> 0x3f 0x11d3 34 r8 = r8 s>> 0x22 0x11d7 35 r8d = r8d + edi 0x11da 36 edi = (r8 + r8).d 0x11de 37 edi = (rdi + (rdi << 2)).d 0x11e1 38 eax = eax - edi 0x11e3 39 rax = sx.q(eax) 0x11e5 40 r9 = rax * 0x66666667 0x11ec 41 rdi = r9 0x11ef 42 rdi = rdi u>> 0x3f 0x11f3 43 r9 = r9 s>> 0x21 0x11f7 44 r9d = r9d + edi 0x11fa 45 edi = (r9 + (r9 << 2)).d 0x11fe 46 eax = eax - edi 0x1200 47 edi = (rdx + rsi).d 0x1203 48 edi = edi + ecx 0x1205 49 edi = edi + r8d 0x1208 50 edi = edi + r9d 0x120b 51 temp0.d = edi 0x120b 52 edi = edi + eax 0x120b 53 cond:0 = temp0.d == neg.d(eax) 0x120d 54 [rsp + 0x14 {var_4}].d = edi 0x1211 55 if (cond:0) then 56 @ 0x1224 else 58 @ 0x1213 0x1224 56 rsp = rsp + 0x18 0x1228 57 <return> jump(pop) 0x1213 58 [rsp {var_18_1}].d = eax 0x1216 59 rdi = 0x2007 {"%d\n%d\n%d\n%d\n%d\n%d\n"} 0x121d 60 eax = 0 0x121f 61 call(0x1030) 0x121f 62 goto 56 @ 0x1224 int64_t _fini(): 0x1230 0 rsp = rsp - 8 0x1234 1 rsp = rsp + 8 0x1238 2 <return> jump(pop)
POJ_97
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHHE"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x10 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 0x2004 {"%d"} 0x1166 5 rsi = rbp - 8 {var_10} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1171 8 eax = [rbp - 8 {var_10}].d 0x1174 9 ecx = 0xa {""} 0x1179 10 temp2.d:temp3.d = sx.q(eax) 0x1179 11 edx = temp2.d 0x1179 12 eax = temp3.d 0x117a 13 temp4.d = edx 0x117a 14 temp5.d = eax 0x117a 15 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x117a 16 temp6.d = edx 0x117a 17 temp7.d = eax 0x117a 18 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x117a 19 eax = temp0.d 0x117a 20 edx = temp1.d 0x117c 21 [rbp - 0xc {var_14}].d = edx 0x117f 22 esi = [rbp - 0xc {var_14}].d 0x1182 23 rdi = 0x2004 {"%d"} 0x1189 24 al = 0 0x118b 25 call(0x1030) 0x1190 26 eax = [rbp - 8 {var_10}].d 0x1193 27 ecx = 0xa {""} 0x1198 28 temp8.d:temp9.d = sx.q(eax) 0x1198 29 edx = temp8.d 0x1198 30 eax = temp9.d 0x1199 31 temp10.d = edx 0x1199 32 temp11.d = eax 0x1199 33 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x1199 34 temp12.d = edx 0x1199 35 temp13.d = eax 0x1199 36 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x1199 37 eax = temp0.d 0x1199 38 edx = temp1.d 0x119b 39 [rbp - 8 {var_10}].d = eax 0x11a2 40 if ([rbp - 8 {var_10}].d == 0) then 41 @ 0x1289 else 45 @ 0x11a8 0x1289 41 eax = 0 0x128b 42 rsp = rsp + 0x10 0x128f 43 rbp = pop 0x1290 44 <return> jump(pop) 0x11a8 45 eax = [rbp - 8 {var_10}].d 0x11ab 46 ecx = 0xa {""} 0x11b0 47 temp14.d:temp15.d = sx.q(eax) 0x11b0 48 edx = temp14.d 0x11b0 49 eax = temp15.d 0x11b1 50 temp16.d = edx 0x11b1 51 temp17.d = eax 0x11b1 52 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x11b1 53 temp18.d = edx 0x11b1 54 temp19.d = eax 0x11b1 55 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x11b1 56 eax = temp0.d 0x11b1 57 edx = temp1.d 0x11b3 58 [rbp - 0xc {var_14_1}].d = edx 0x11b6 59 esi = [rbp - 0xc {var_14_1}].d 0x11b9 60 rdi = 0x2004 {"%d"} 0x11c0 61 al = 0 0x11c2 62 call(0x1030) 0x11c7 63 eax = [rbp - 8 {var_10}].d 0x11ca 64 ecx = 0xa {""} 0x11cf 65 temp20.d:temp21.d = sx.q(eax) 0x11cf 66 edx = temp20.d 0x11cf 67 eax = temp21.d 0x11d0 68 temp22.d = edx 0x11d0 69 temp23.d = eax 0x11d0 70 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x11d0 71 temp24.d = edx 0x11d0 72 temp25.d = eax 0x11d0 73 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x11d0 74 eax = temp0.d 0x11d0 75 edx = temp1.d 0x11d2 76 [rbp - 8 {var_10}].d = eax 0x11d9 77 if ([rbp - 8 {var_10}].d == 0) then 78 @ 0x1284 else 79 @ 0x11df 0x1284 78 goto 41 @ 0x1289 0x11df 79 eax = [rbp - 8 {var_10}].d 0x11e2 80 ecx = 0xa {""} 0x11e7 81 temp26.d:temp27.d = sx.q(eax) 0x11e7 82 edx = temp26.d 0x11e7 83 eax = temp27.d 0x11e8 84 temp28.d = edx 0x11e8 85 temp29.d = eax 0x11e8 86 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx) 0x11e8 87 temp30.d = edx 0x11e8 88 temp31.d = eax 0x11e8 89 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx) 0x11e8 90 eax = temp0.d 0x11e8 91 edx = temp1.d 0x11ea 92 [rbp - 0xc {var_14_2}].d = edx 0x11ed 93 esi = [rbp - 0xc {var_14_2}].d 0x11f0 94 rdi = 0x2004 {"%d"} 0x11f7 95 al = 0 0x11f9 96 call(0x1030) 0x11fe 97 eax = [rbp - 8 {var_10}].d 0x1201 98 ecx = 0xa {""} 0x1206 99 temp32.d:temp33.d = sx.q(eax) 0x1206 100 edx = temp32.d 0x1206 101 eax = temp33.d 0x1207 102 temp34.d = edx 0x1207 103 temp35.d = eax 0x1207 104 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx) 0x1207 105 temp36.d = edx 0x1207 106 temp37.d = eax 0x1207 107 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx) 0x1207 108 eax = temp0.d 0x1207 109 edx = temp1.d 0x1209 110 [rbp - 8 {var_10}].d = eax 0x1210 111 if ([rbp - 8 {var_10}].d == 0) then 112 @ 0x127f else 113 @ 0x1216 0x127f 112 goto 78 @ 0x1284 0x1216 113 eax = [rbp - 8 {var_10}].d 0x1219 114 ecx = 0xa {""} 0x121e 115 temp38.d:temp39.d = sx.q(eax) 0x121e 116 edx = temp38.d 0x121e 117 eax = temp39.d 0x121f 118 temp40.d = edx 0x121f 119 temp41.d = eax 0x121f 120 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx) 0x121f 121 temp42.d = edx 0x121f 122 temp43.d = eax 0x121f 123 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx) 0x121f 124 eax = temp0.d 0x121f 125 edx = temp1.d 0x1221 126 [rbp - 0xc {var_14_3}].d = edx 0x1224 127 esi = [rbp - 0xc {var_14_3}].d 0x1227 128 rdi = 0x2004 {"%d"} 0x122e 129 al = 0 0x1230 130 call(0x1030) 0x1235 131 eax = [rbp - 8 {var_10}].d 0x1238 132 ecx = 0xa {""} 0x123d 133 temp44.d:temp45.d = sx.q(eax) 0x123d 134 edx = temp44.d 0x123d 135 eax = temp45.d 0x123e 136 temp46.d = edx 0x123e 137 temp47.d = eax 0x123e 138 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx) 0x123e 139 temp48.d = edx 0x123e 140 temp49.d = eax 0x123e 141 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx) 0x123e 142 eax = temp0.d 0x123e 143 edx = temp1.d 0x1240 144 [rbp - 8 {var_10}].d = eax 0x1247 145 if ([rbp - 8 {var_10}].d == 0) then 146 @ 0x127a else 147 @ 0x124d 0x127a 146 goto 112 @ 0x127f 0x124d 147 eax = [rbp - 8 {var_10}].d 0x1250 148 ecx = 0xa {""} 0x1255 149 temp50.d:temp51.d = sx.q(eax) 0x1255 150 edx = temp50.d 0x1255 151 eax = temp51.d 0x1256 152 temp52.d = edx 0x1256 153 temp53.d = eax 0x1256 154 temp0.d = divs.dp.d(temp52.d:temp53.d, ecx) 0x1256 155 temp54.d = edx 0x1256 156 temp55.d = eax 0x1256 157 temp1.d = mods.dp.d(temp54.d:temp55.d, ecx) 0x1256 158 eax = temp0.d 0x1256 159 edx = temp1.d 0x1258 160 [rbp - 0xc {var_14_4}].d = edx 0x125b 161 esi = [rbp - 0xc {var_14_4}].d 0x125e 162 rdi = 0x2004 {"%d"} 0x1265 163 al = 0 0x1267 164 call(0x1030) 0x126c 165 eax = [rbp - 8 {var_10}].d 0x126f 166 ecx = 0xa {""} 0x1274 167 temp56.d:temp57.d = sx.q(eax) 0x1274 168 edx = temp56.d 0x1274 169 eax = temp57.d 0x1275 170 temp58.d = edx 0x1275 171 temp59.d = eax 0x1275 172 temp0.d = divs.dp.d(temp58.d:temp59.d, ecx) 0x1275 173 temp60.d = edx 0x1275 174 temp61.d = eax 0x1275 175 temp1.d = mods.dp.d(temp60.d:temp61.d, ecx) 0x1275 176 eax = temp0.d 0x1275 177 edx = temp1.d 0x1277 178 [rbp - 8 {var_10}].d = eax 0x1277 179 goto 146 @ 0x127a int64_t _fini(): 0x1298 0 rsp = rsp - 8 0x129c 1 rsp = rsp + 8 0x12a0 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) void free(void* mem): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 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 {"AWAVATSPL5"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(r15) 0x1172 1 push(r14) 0x1174 2 push(r12) 0x1176 3 push(rbx) 0x1177 4 push(rax) 0x1178 5 r14 = 0x2005 {"%d"} 0x117f 6 rsi = rsp + 4 {var_28+0x4} 0x1184 7 rdi = r14 0x1187 8 eax = 0 0x1189 9 call(0x1050) 0x118e 10 edi = [rsp + 4 {var_28+0x4}].d 0x1192 11 rdi = rdi << 2 0x1196 12 call(0x1060) 0x119b 13 r15 = rax 0x119e 14 r12 = rax 0x11a1 15 ebx = 0 0x11ad 16 goto 17 @ 0x11b0 0x11b0 17 rdi = r14 0x11b3 18 rsi = r12 0x11b6 19 eax = 0 0x11b8 20 call(0x1050) 0x11bd 21 rbx = rbx + 1 0x11c1 22 rax = sx.q([rsp + 4 {var_28+0x4}].d) 0x11c6 23 r12 = r12 + 4 0x11cd 24 if (rbx s< rax) then 17 @ 0x11b0 else 25 @ 0x11cf 0x11cf 25 esi = [r15].d 0x11d2 26 rdi = 0x2005 {"%d"} 0x11d9 27 eax = 0 0x11db 28 call(0x1030) 0x11e0 29 eax = [rsp + 4 {var_28+0x4}].d 0x11e7 30 if (eax s< 2) then 31 @ 0x123f else 40 @ 0x11e9 0x123f 31 rdi = r15 0x1242 32 call(0x1040) 0x1247 33 eax = 0 0x1249 34 rsp = rsp + 8 0x124d 35 rbx = pop 0x124e 36 r12 = pop 0x1250 37 r14 = pop 0x1252 38 r15 = pop 0x1254 39 <return> jump(pop) 0x11e9 40 ebx = 1 0x11ee 41 r14 = 0x2004 {" %d"} 0x11f5 42 goto 43 @ 0x120c 0x120c 43 esi = [r15 + (rbx << 2)].d 0x1210 44 ecx = 0 0x121c 45 goto 46 @ 0x1224 0x1224 46 if (esi == [r15 + (rcx << 2)].d) then 47 @ 0x1200 else 50 @ 0x1226 0x1200 47 rbx = rbx + 1 0x1204 48 rcx = sx.q(eax) 0x120a 49 if (rbx s>= rcx) then 31 @ 0x123f else 43 @ 0x120c 0x1226 50 rcx = rcx + 1 0x122d 51 if (rbx != rcx) then 46 @ 0x1224 else 52 @ 0x122f 0x122f 52 rdi = r14 0x1232 53 eax = 0 0x1234 54 call(0x1030) 0x1239 55 eax = [rsp + 4 {var_28+0x4}].d 0x123d 56 goto 47 @ 0x1200 int64_t _fini(): 0x125c 0 rsp = rsp - 8 0x1260 1 rsp = rsp + 8 0x1264 2 <return> jump(pop)
POJ_13
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t 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 {"SHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0x10 0x1155 2 rdi = 0x2004 {"%d%d%d"} 0x115c 3 ebx = 0 0x115e 4 rsi = rsp + 0xc {var_c} 0x1163 5 rdx = rsp + 8 {var_10} 0x1168 6 rcx = rsp + 4 {var_14} 0x116d 7 eax = 0 0x116f 8 call(0x1030) 0x1174 9 r8 = sx.q([rsp + 0xc {var_c}].d) 0x1179 10 eax = (r8 - 1).d 0x117d 11 edx = (r8 + 2).d 0x1183 12 if (eax s>= 0) then 13 else 15 @ 0x1186 0x1183 13 edx = eax 0x1183 14 goto 15 @ 0x1186 0x1186 15 edx = edx s>> 2 0x1189 16 rcx = sx.q(eax) 0x118c 17 rax = rcx * -0x51eb851f 0x1193 18 rsi = rax 0x1196 19 rsi = rsi u>> 0x3f 0x119a 20 rax = rax s>> 0x25 0x119e 21 eax = eax + esi 0x11a0 22 eax = eax + edx 0x11a2 23 rdx = rcx * 0x51eb851f 0x11a9 24 rsi = rdx 0x11ac 25 rsi = rsi u>> 0x3f 0x11b0 26 rdx = rdx s>> 0x27 0x11b4 27 edx = edx + esi 0x11b6 28 edx = edx + eax 0x11b8 29 rax = rcx * -0x68db8bad 0x11bf 30 rsi = rax 0x11c2 31 rsi = rsi u>> 0x3f 0x11c6 32 rax = rax s>> 0x2c 0x11ca 33 eax = eax + esi 0x11cc 34 eax = eax + edx 0x11ce 35 rdx = rcx * 0x68db8bad 0x11d5 36 rsi = rdx 0x11d8 37 rsi = rsi u>> 0x3f 0x11dc 38 rdx = rdx s>> 0x2e 0x11e0 39 edx = edx + esi 0x11e2 40 edx = edx + eax 0x11e4 41 rax = rcx * -0x431bde83 0x11eb 42 rsi = rax 0x11ee 43 rsi = rsi u>> 0x3f 0x11f2 44 rax = rax s>> 0x32 0x11f6 45 eax = eax + esi 0x11f8 46 eax = eax + edx 0x11fa 47 rdx = rcx * 0x431bde83 0x1201 48 rsi = rdx 0x1204 49 rsi = rsi u>> 0x3f 0x1208 50 rdx = rdx s>> 0x34 0x120c 51 edx = edx + esi 0x120e 52 edx = edx + eax 0x1210 53 rax = rcx * -0x55e63b89 0x1217 54 rsi = rax 0x121a 55 rsi = rsi u>> 0x3f 0x121e 56 rax = rax s>> 0x39 0x1222 57 eax = eax + esi 0x1224 58 eax = eax + edx 0x1226 59 rdx = rcx * 0x55e63b89 0x122d 60 rsi = rdx 0x1230 61 rsi = rsi u>> 0x3f 0x1234 62 rdx = rdx s>> 0x3b 0x1238 63 edx = edx + esi 0x123a 64 edx = edx + eax 0x123c 65 ecx = ecx - edx 0x123e 66 eax = ecx * 0x16d 0x1244 67 ecx = edx * 0x16e 0x124a 68 ecx = ecx + eax 0x124c 69 edx = [rsp + 8 {var_10}].d 0x1250 70 cond:0 = edx == 1 0x1253 71 edi = [rsp + 4 {var_14}].d 0x1257 72 if (cond:0) then 73 else 75 @ 0x125a 0x1257 73 ebx = edi 0x1257 74 goto 75 @ 0x125a 0x125a 75 r9d = (rdi + 3).d 0x125e 76 esi = edx 0x1260 77 esi = esi & 0xfffffffe 0x1266 78 if (esi == 2) then 79 else 81 @ 0x126a 0x1266 79 ebx = r9d 0x1266 80 goto 81 @ 0x126a 0x126a 81 esi = (rdi + 6).d 0x1270 82 if (edx == 4) then 83 else 85 @ 0x1273 0x1270 83 ebx = esi 0x1270 84 goto 85 @ 0x1273 0x1273 85 eax = (rdi + 1).d 0x1279 86 if (edx != 5) then 87 else 89 @ 0x127c 0x1279 87 eax = ebx 0x1279 88 goto 89 @ 0x127c 0x127c 89 ebx = (rdi + 4).d 0x1282 90 if (edx != 6) then 91 else 93 @ 0x1288 0x1282 91 ebx = eax 0x1282 92 goto 93 @ 0x1288 0x1288 93 if (edx == 7) then 94 else 96 @ 0x128b 0x1288 94 ebx = esi 0x1288 95 goto 96 @ 0x128b 0x128b 96 esi = (rdi + 2).d 0x1291 97 if (edx != 8) then 98 else 100 @ 0x1294 0x1291 98 esi = ebx 0x1291 99 goto 100 @ 0x1294 0x1294 100 eax = (rdi + 5).d 0x129a 101 if (edx == 9) then 102 else 104 @ 0x12a0 0x129a 102 esi = eax 0x129a 103 goto 104 @ 0x12a0 0x12a0 104 if (edx == 0xa) then 105 else 107 @ 0x12a6 0x12a0 105 esi = edi 0x12a0 106 goto 107 @ 0x12a6 0x12a6 107 if (edx == 0xb) then 108 else 110 @ 0x12ad 0x12a6 108 esi = r9d 0x12a6 109 goto 110 @ 0x12ad 0x12ad 110 if (edx == 0xc) then 111 else 113 @ 0x12b4 0x12ad 111 esi = eax 0x12ad 112 goto 113 @ 0x12b4 0x12b4 113 if ((r8b & 3) != 0) then 114 @ 0x12db else 118 @ 0x12b6 0x12db 114 eax = r8d * -0x3d70a3d7 0x12e2 115 eax = eax + 0x51eb850 0x12e7 116 eax = ror.d(eax, 4) 0x12ef 117 if (eax u> 0xa3d70a) then 128 @ 0x12f9 else 141 @ 0x12f4 0x12b6 118 rax = r8 * 0x51eb851f 0x12bd 119 rdi = rax 0x12c0 120 rdi = rdi u>> 0x3f 0x12c4 121 rax = rax s>> 0x25 0x12c8 122 eax = eax + edi 0x12ca 123 eax = eax * 0x64 0x12cd 124 edi = r8d 0x12d0 125 temp0.d = edi 0x12d0 126 edi = edi - eax 0x12d2 127 if (temp0.d == eax) then 114 @ 0x12db else 142 @ 0x12d7 0x12f9 128 ecx = ecx + esi 0x12fb 129 rcx = sx.q(ecx) 0x12fe 130 rax = rcx * -0x6db6db6d 0x1305 131 rax = rax u>> 0x20 0x1309 132 eax = eax + ecx 0x130b 133 edx = eax 0x130d 134 edx = edx u>> 0x1f 0x1310 135 eax = eax s>> 2 0x1313 136 eax = eax + edx 0x1315 137 edx = (rax << 3).d 0x131c 138 eax = eax - edx 0x131e 139 eax = eax + ecx 0x1323 140 if (eax u> 6) then 143 @ 0x133a else 147 @ 0x1325 0x12f4 141 if (edx s<= 2) then 128 @ 0x12f9 else 153 @ 0x12f6 0x12d7 142 if (edx s>= 3) then 153 @ 0x12f6 else 155 @ 0x12d9 0x133a 143 eax = 0 0x133c 144 rsp = rsp + 0x10 0x1340 145 rbx = pop 0x1341 146 <return> jump(pop) 0x1325 147 rax = sx.q(eax) 0x1327 148 rcx = 0x2030 {";("} 0x132e 149 rdi = sx.q([rcx + (rax << 2)].d) 0x1332 150 rdi = rdi + rcx 0x1335 151 call(0x1040) 0x1335 152 goto 143 @ 0x133a 0x12f6 153 esi = esi + 1 0x12f6 154 goto 128 @ 0x12f9 0x12d9 155 goto 128 @ 0x12f9 int64_t _fini(): 0x1348 0 rsp = rsp - 8 0x134c 1 rsp = rsp + 8 0x1350 2 <return> jump(pop)
POJ_66
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t 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 {"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 - 0x7e0 0x116c 4 rax = 0x400000003f800000 {""} 0x1176 5 [rsp + 0x1a4 {var_654}].q = rax 0x117e 6 xmm0 = [0x2004].d 0x1186 7 xmm1 = [0x2008].d 0x118e 8 eax = 4 0x119d 9 goto 10 @ 0x11a0 0x11a0 10 xmm0.d = xmm0.d f+ xmm1.d 0x11a4 11 [rsp + (rax << 2) + 0x19c].d = xmm0.d 0x11ad 12 xmm1.d = xmm1.d f+ xmm0.d 0x11b1 13 [rsp + (rax << 2) + 0x1a0].d = xmm1.d 0x11ba 14 rax = rax + 2 0x11c2 15 if (rax != 0x66) then 10 @ 0x11a0 else 16 @ 0x11c4 0x11c4 16 xmm0 = [rsp + 0x1a4 {var_654}].d 0x11cd 17 xmm0 = _mm_shuffle_ps(xmm0, xmm0, 0) 0x11d1 18 eax = 0 0x11dd 19 goto 20 @ 0x11e0 0x11e0 20 xmm1 = [rsp + (rax << 2) + 0x1a8].o 0x11e8 21 xmm0 = _mm_shuffle_ps(xmm0, xmm1, 3) 0x11ec 22 xmm0 = _mm_shuffle_ps(xmm0, xmm1, 0x98) 0x11f0 23 xmm2 = xmm1 0x11f3 24 xmm2 = _mm_div_ps(xmm2, xmm0) 0x11f6 25 xmm0 = [rsp + (rax << 2) + 0x1b8].o 0x11fe 26 [rsp + (rax << 2) + 0x14].o = xmm2 0x1203 27 xmm1 = _mm_shuffle_ps(xmm1, xmm0, 3) 0x1207 28 xmm1 = _mm_shuffle_ps(xmm1, xmm0, 0x98) 0x120b 29 xmm2 = xmm0 0x120e 30 xmm2 = _mm_div_ps(xmm2, xmm1) 0x1211 31 [rsp + (rax << 2) + 0x24].o = xmm2 0x1216 32 rax = rax + 8 0x121e 33 if (rax != 0x60) then 20 @ 0x11e0 else 34 @ 0x1220 0x1220 34 xmm0 = _mm_shuffle_ps(xmm0, xmm0, 0xff) 0x1224 35 xmm1 = [rsp + 0x328 {var_4d0}].d 0x122d 36 xmm2 = [rsp + 0x32c {var_4cc}].d 0x1236 37 xmm3 = [rsp + 0x330 {var_4c8}].d 0x123f 38 xmm3.d = xmm3.d f/ xmm2.d 0x1243 39 xmm2.d = xmm2.d f/ xmm1.d 0x1247 40 xmm1.d = xmm1.d f/ xmm0.d 0x124b 41 [rsp + 0x194 {var_664}].d = xmm1.d 0x1254 42 [rsp + 0x198 {var_660}].d = xmm2.d 0x125d 43 [rsp + 0x19c {var_65c}].d = xmm3.d 0x1266 44 rdi = 0x200c {"%d"} 0x126d 45 rsi = rsp + 8 {var_7f0} 0x1272 46 eax = 0 0x1274 47 call(0x1050) 0x127f 48 if ([rsp + 8 {var_7f0}].q s<= 0) then 49 @ 0x13a3 else 63 @ 0x1285 0x13a3 49 eax = 0 0x13a5 50 call(0x1040) 0x13aa 51 eax = 0 0x13ac 52 call(0x1040) 0x13b1 53 eax = 0 0x13b3 54 call(0x1040) 0x13b8 55 eax = 0 0x13ba 56 call(0x1040) 0x13bf 57 eax = 0 0x13c1 58 rsp = rsp + 0x7e0 0x13c8 59 rbx = pop 0x13c9 60 r14 = pop 0x13cb 61 r15 = pop 0x13cd 62 <return> jump(pop) 0x1285 63 r15 = rsp + 0x4c8 {var_330} 0x128d 64 r14 = 0x200c {"%d"} 0x1294 65 ebx = 0 0x1296 66 goto 67 @ 0x12a0 0x12a0 67 rdi = r14 0x12a3 68 rsi = r15 0x12a6 69 eax = 0 0x12a8 70 call(0x1050) 0x12ad 71 rax = [rsp + 8 {var_7f0}].q 0x12b2 72 rbx = rbx + 1 0x12b6 73 r15 = r15 + 8 0x12bd 74 if (rbx s< rax) then 67 @ 0x12a0 else 75 @ 0x12c2 0x12c2 75 if (rax s<= 0) then 49 @ 0x13a3 else 76 @ 0x12c8 0x12c8 76 ebx = 1 0x12cd 77 r14 = 0x200f {"%.3f\n"} 0x12d4 78 goto 79 @ 0x1303 0x1303 79 rdx = [rsp + (rbx << 3) + 0x4c0].q 0x130e 80 if (rdx s<= 0) then 81 @ 0x12e0 else 83 @ 0x1310 0x12e0 81 xmm0 = 0 0x12e0 82 goto 87 @ 0x12e3 0x1310 83 rcx = rdx - 1 0x1314 84 eax = edx 0x1316 85 eax = eax & 7 0x131d 86 if (rcx u>= 7) then 95 @ 0x1330 else 99 @ 0x131f 0x12e3 87 xmm0.q = fconvert.d(xmm0.d) 0x12e7 88 rdi = r14 0x12ea 89 al = 1 0x12ec 90 call(0x1030) 0x12f1 91 rax = rbx + 1 0x12f5 92 cond:0 = rbx s>= [rsp + 8 {var_7f0}].q 0x12fa 93 rbx = rax 0x12fd 94 if (cond:0) then 49 @ 0x13a3 else 79 @ 0x1303 0x1330 95 rdx = rdx & 0xfffffffffffffff8 0x1334 96 xmm0 = 0 0x1337 97 ecx = 0 0x1339 98 goto 102 @ 0x1340 0x131f 99 ecx = 1 0x1324 100 xmm0 = 0 0x132a 101 if (rax != 0) then 112 @ 0x1386 else 116 @ 0x132c 0x1340 102 xmm0.d = xmm0.d f+ fconvert.t([rsp + (rcx << 2) + 0x14].d) 0x1346 103 xmm0.d = xmm0.d f+ fconvert.t([rsp + (rcx << 2) + 0x18].d) 0x134c 104 xmm0.d = xmm0.d f+ fconvert.t([rsp + (rcx << 2) + 0x1c].d) 0x1352 105 xmm0.d = xmm0.d f+ fconvert.t([rsp + (rcx << 2) + 0x20].d) 0x1358 106 xmm0.d = xmm0.d f+ fconvert.t([rsp + (rcx << 2) + 0x24].d) 0x135e 107 xmm0.d = xmm0.d f+ fconvert.t([rsp + (rcx << 2) + 0x28].d) 0x1364 108 xmm0.d = xmm0.d f+ fconvert.t([rsp + (rcx << 2) + 0x2c].d) 0x136a 109 xmm0.d = xmm0.d f+ fconvert.t([rsp + (rcx << 2) + 0x30].d) 0x1370 110 rcx = rcx + 8 0x1377 111 if (rdx != rcx) then 102 @ 0x1340 else 117 @ 0x1379 0x1386 112 rcx = rsp + (rcx << 2) 0x138a 113 rcx = rcx + 0x10 0x138e 114 edx = 0 0x138e 115 goto 119 @ 0x1390 0x132c 116 goto 87 @ 0x12e3 0x1379 117 rcx = rcx + 1 0x1380 118 if (rax == 0) then 87 @ 0x12e3 else 112 @ 0x1386 0x1390 119 xmm0.d = xmm0.d f+ fconvert.t([rcx + (rdx << 2)].d) 0x1395 120 rdx = rdx + 1 0x139c 121 if (rax != rdx) then 119 @ 0x1390 else 122 @ 0x139e 0x139e 122 goto 87 @ 0x12e3 int64_t _fini(): 0x13d4 0 rsp = rsp - 8 0x13d8 1 rsp = rsp + 8 0x13dc 2 <return> jump(pop)
POJ_29
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 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 esi = [rsp + 4 {var_8+0x4}].d 0x1168 6 eax = (rsi - 1).d 0x116e 7 if (eax u> 8) then 8 @ 0x1180 else 10 @ 0x1170 0x1180 8 eax = (rsi - 0xb).d 0x1186 9 if (eax u> 0x58) then 15 @ 0x11b7 else 17 @ 0x1188 0x1170 10 rdi = 0x200f {"%d\n"} 0x1177 11 eax = 0 0x1179 12 call(0x1030) 0x117e 13 rax = pop 0x117f 14 <return> jump(pop) 0x11b7 15 eax = (rsi - 0x6f).d 0x11bf 16 if (eax u> 0x378) then 31 @ 0x120c else 33 @ 0x11c1 0x1188 17 rax = sx.q(esi) 0x118b 18 rdx = rax * 0x66666667 0x1192 19 rax = rdx 0x1195 20 rax = rax u>> 0x3f 0x1199 21 rdx = rdx s>> 0x22 0x119d 22 edx = edx + eax 0x119f 23 eax = (rdx + rdx).d 0x11a2 24 eax = (rax + (rax << 2)).d 0x11a5 25 esi = esi - eax 0x11a7 26 rdi = 0x200d {"%d%d\n"} 0x11ae 27 eax = 0 0x11b0 28 call(0x1030) 0x11b5 29 rax = pop 0x11b6 30 <return> jump(pop) 0x120c 31 eax = (rsi - 0x457).d 0x1217 32 if (eax u> 0x22b8) then 55 @ 0x1284 else 57 @ 0x1219 0x11c1 33 rax = sx.q(esi) 0x11c4 34 rcx = rax * 0x51eb851f 0x11cb 35 rax = rcx 0x11ce 36 rax = rax u>> 0x3f 0x11d2 37 rcx = rcx s>> 0x25 0x11d6 38 ecx = ecx + eax 0x11d8 39 eax = ecx * -0x64 0x11db 40 eax = eax + esi 0x11dd 41 rsi = sx.q(eax) 0x11e0 42 rdx = rsi * 0x66666667 0x11e7 43 rax = rdx 0x11ea 44 rax = rax u>> 0x3f 0x11ee 45 rdx = rdx s>> 0x22 0x11f2 46 edx = edx + eax 0x11f4 47 eax = (rdx + rdx).d 0x11f7 48 eax = (rax + (rax << 2)).d 0x11fa 49 esi = esi - eax 0x11fc 50 rdi = 0x200b {"%d%d%d\n"} 0x1203 51 eax = 0 0x1205 52 call(0x1030) 0x120a 53 rax = pop 0x120b 54 <return> jump(pop) 0x1284 55 eax = (rsi - 0x2b67).d 0x128f 56 if (eax u> 0x15b38) then 87 @ 0x131e else 89 @ 0x1295 0x1219 57 rax = sx.q(esi) 0x121c 58 r8 = rax * 0x10624dd3 0x1223 59 rax = r8 0x1226 60 rax = rax u>> 0x3f 0x122a 61 r8 = r8 s>> 0x26 0x122e 62 r8d = r8d + eax 0x1231 63 eax = r8d * -0x3e8 0x1238 64 eax = eax + esi 0x123a 65 rax = sx.q(eax) 0x123c 66 rcx = rax * 0x51eb851f 0x1243 67 rdx = rcx 0x1246 68 rdx = rdx u>> 0x3f 0x124a 69 rcx = rcx s>> 0x25 0x124e 70 ecx = ecx + edx 0x1250 71 edx = ecx * -0x64 0x1253 72 eax = eax + edx 0x1255 73 rsi = sx.q(eax) 0x1258 74 rdx = rsi * 0x66666667 0x125f 75 rax = rdx 0x1262 76 rax = rax u>> 0x3f 0x1266 77 rdx = rdx s>> 0x22 0x126a 78 edx = edx + eax 0x126c 79 eax = (rdx + rdx).d 0x126f 80 eax = (rax + (rax << 2)).d 0x1272 81 esi = esi - eax 0x1274 82 rdi = 0x2009 {"%d%d%d%d\n"} 0x127b 83 eax = 0 0x127d 84 call(0x1030) 0x1282 85 rax = pop 0x1283 86 <return> jump(pop) 0x131e 87 rax = pop 0x131f 88 <return> jump(pop) 0x1295 89 rax = sx.q(esi) 0x1298 90 r9 = rax * 0x68db8bad 0x129f 91 rax = r9 0x12a2 92 rax = rax u>> 0x3f 0x12a6 93 r9 = r9 s>> 0x2c 0x12aa 94 r9d = r9d + eax 0x12ad 95 eax = r9d * -0x2710 0x12b4 96 eax = eax + esi 0x12b6 97 rax = sx.q(eax) 0x12b8 98 r8 = rax * 0x10624dd3 0x12bf 99 rcx = r8 0x12c2 100 rcx = rcx u>> 0x3f 0x12c6 101 r8 = r8 s>> 0x26 0x12ca 102 r8d = r8d + ecx 0x12cd 103 ecx = r8d * -0x3e8 0x12d4 104 eax = eax + ecx 0x12d6 105 rax = sx.q(eax) 0x12d8 106 rcx = rax * 0x51eb851f 0x12df 107 rdx = rcx 0x12e2 108 rdx = rdx u>> 0x3f 0x12e6 109 rcx = rcx s>> 0x25 0x12ea 110 ecx = ecx + edx 0x12ec 111 edx = ecx * -0x64 0x12ef 112 eax = eax + edx 0x12f1 113 rsi = sx.q(eax) 0x12f4 114 rdx = rsi * 0x66666667 0x12fb 115 rax = rdx 0x12fe 116 rax = rax u>> 0x3f 0x1302 117 rdx = rdx s>> 0x22 0x1306 118 edx = edx + eax 0x1308 119 eax = (rdx + rdx).d 0x130b 120 eax = (rax + (rax << 2)).d 0x130e 121 esi = esi - eax 0x1310 122 rdi = 0x2007 {"%d%d%d%d%d\n"} 0x1317 123 eax = 0 0x1319 124 call(0x1030) 0x1319 125 goto 87 @ 0x131e int64_t _fini(): 0x1324 0 rsp = rsp - 8 0x1328 1 rsp = rsp + 8 0x132c 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 {"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 - 0x12f0 0x115c 4 rdi = 0x2021 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_12fc} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 eax = [rsp + 0xc {var_12fc}].d 0x1175 9 if (eax s<= 0) then 10 @ 0x11af else 12 @ 0x1177 0x11af 10 r8d = eax 0x11b4 11 if (eax s<= 0) then 16 @ 0x11ec else 18 @ 0x11b6 0x1177 12 r15 = rsp + 0x20 {var_12e8} 0x117c 13 r14 = 0x2021 {"%d"} 0x1183 14 ebx = 0 0x118f 15 goto 23 @ 0x1190 0x11ec 16 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11f2 17 if (eax s<= 0) then 31 @ 0x1232 else 32 @ 0x11f4 0x11b6 18 rcx = r8 0x11b9 19 rcx = rcx << 4 0x11bd 20 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11c1 21 edx = 0 0x11cd 22 goto 40 @ 0x11d0 0x1190 23 rdi = r14 0x1193 24 rsi = r15 0x1196 25 eax = 0 0x1198 26 call(0x1040) 0x119d 27 rbx = rbx + 1 0x11a1 28 rax = sx.q([rsp + 0xc {var_12fc}].d) 0x11a6 29 r15 = r15 + 0x10 0x11ad 30 if (rbx s< rax) then 23 @ 0x1190 else 10 @ 0x11af 0x1232 31 if (eax s<= 0) then 45 @ 0x1292 else 48 @ 0x1234 0x11f4 32 xmm1 = 0 0x11f7 33 xmm1.q = float.d(eax) 0x11fb 34 xmm0.q = xmm0.q f/ xmm1.q 0x11ff 35 rcx = r8 0x1202 36 rcx = rcx << 4 0x1206 37 edx = 0 0x1208 38 xmm1 = [0x2010].o 0x1208 39 goto 52 @ 0x1210 0x11d0 40 xmm1 = 0 0x11d3 41 xmm1.q = float.d([rsp + rdx + 0x20].d) 0x11d9 42 xmm0.q = xmm0.q f+ xmm1.q 0x11dd 43 rdx = rdx + 0x10 0x11e4 44 if (rcx != rdx) then 40 @ 0x11d0 else 59 @ 0x11e8 0x1292 45 r9d = 1 0x1298 46 r14d = 1 0x12a1 47 if (eax s< 2) then 60 @ 0x12e0 else 61 @ 0x12a3 0x1234 48 edx = 0 0x1236 49 rbx = rsp + 0x20 {var_12e8} 0x123b 50 ecx = eax 0x123d 51 goto 65 @ 0x124a 0x1210 52 xmm2 = 0 0x1213 53 xmm2.q = float.d([rsp + rdx + 0x20].d) 0x1219 54 xmm2.q = xmm2.q f- xmm0.q 0x121d 55 xmm2 = _mm_and_pd(xmm2, xmm1) 0x1221 56 [rsp + rdx + 0x28].q = xmm2.q 0x1227 57 rdx = rdx + 0x10 0x122e 58 if (rcx != rdx) then 52 @ 0x1210 else 31 @ 0x1232 0x11e8 59 if (eax s> 0) then 32 @ 0x11f4 else 67 @ 0x11ea 0x12e0 60 if (r14d u>= 2) then 68 else 70 @ 0x12e4 0x12a3 61 xmm0 = zx.o([rsp + 0x28 {var_12e0}].q) 0x12a9 62 rax = rsp + 0x38 {var_12d0} 0x12ae 63 r14d = 1 0x12be 64 goto 74 @ 0x12c0 0x124a 65 ecx = ecx 0x124e 66 if (eax s<= edx) then 82 @ 0x1240 else 85 @ 0x1250 0x11ea 67 goto 31 @ 0x1232 0x12e0 68 r9d = r14d 0x12e0 69 goto 70 @ 0x12e4 0x12e4 70 rax = rsp + 0x30 {var_12d8} 0x12e9 71 ecx = (r14 - 1).d 0x12ed 72 esi = 0 0x12ef 73 goto 88 @ 0x130b 0x12c0 74 xmm1 = zx.o([rax].q) 0x12c4 75 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x12c4 76 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x12c4 77 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x12c4 78 flag:s = 0 0x12c4 79 flag:o = 0 0x12c4 80 flag:a = 0 0x12c8 81 if (not(flag:z)) then 60 @ 0x12e0 else 93 @ 0x12ca 0x1240 82 edx = edx + 1 0x1243 83 ecx = ecx - 1 0x1248 84 if (edx == eax) then 45 @ 0x1292 else 65 @ 0x124a 0x1250 85 rdi = rcx 0x1253 86 rsi = rbx {var_12e8} 0x1256 87 goto 94 @ 0x126a 0x130b 88 edx = esi 0x130d 89 edx = not.d(edx) 0x130f 90 temp0.d = edx 0x130f 91 edx = edx + r14d 0x1312 92 if (temp0.d s<= neg.d(r14d)) then 102 @ 0x1300 else 105 @ 0x1314 0x12ca 93 if (flag:p) then 60 @ 0x12e0 else 109 @ 0x12cc 0x126a 94 xmm0 = zx.o([rsi + 0x18].q) 0x126f 95 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsi + 8].q)) 0x126f 96 flag:c = xmm0.q f< fconvert.t([rsi + 8].q) | is_unordered.q(xmm0.q, fconvert.t([rsi + 8].q)) 0x126f 97 flag:z = xmm0.q f== fconvert.t([rsi + 8].q) | is_unordered.q(xmm0.q, fconvert.t([rsi + 8].q)) 0x126f 98 flag:s = 0 0x126f 99 flag:o = 0 0x126f 100 flag:a = 0 0x1274 101 if (flag:z || flag:c) then 112 @ 0x1260 else 116 @ 0x1276 0x1300 102 esi = esi + 1 0x1303 103 ecx = ecx - 1 0x1309 104 if (esi == r9d) then 123 @ 0x1353 else 88 @ 0x130b 0x1314 105 edi = ecx 0x1316 106 rdi = rdi << 4 0x131a 107 edx = 0 0x131c 108 goto 128 @ 0x1329 0x12cc 109 r14 = r14 + 1 0x12d0 110 rax = rax + 0x10 0x12d7 111 if (r8 != r14) then 74 @ 0x12c0 else 130 @ 0x12d9 0x1260 112 rsi = rsi + 0x10 0x1264 113 temp1.q = rdi 0x1264 114 rdi = rdi - 1 0x1268 115 if (temp1.q == 1) then 82 @ 0x1240 else 94 @ 0x126a 0x1276 116 xmm0 = [rsi].o 0x1279 117 [rsp + 0x10 {var_12f8_1}].o = xmm0 0x127e 118 xmm0 = [rsi + 0x10].o 0x1282 119 [rsi].o = xmm0 0x1285 120 xmm0 = [rsp + 0x10 {var_12f8_1}].o 0x128b 121 [rsi + 0x10].o = xmm0 0x1290 122 goto 112 @ 0x1260 0x1353 123 esi = [rsp + 0x20 {var_12e8}].d 0x1357 124 rdi = 0x2021 {"%d"} 0x135e 125 eax = 0 0x1360 126 call(0x1030) 0x1369 127 if (r14d u< 2) then 132 @ 0x1397 else 137 @ 0x136b 0x1329 128 ebx = [rsp + rdx + 0x20].d 0x1331 129 if (ebx s<= [rsp + rdx + 0x30].d) then 142 @ 0x1320 else 144 @ 0x1333 0x12d9 130 r14d = r8d 0x12d9 131 goto 60 @ 0x12e0 0x1397 132 rsp = rsp + 0x12f0 0x139e 133 rbx = pop 0x139f 134 r14 = pop 0x13a1 135 r15 = pop 0x13a3 136 <return> jump(pop) 0x136b 137 r15d = r14d 0x136e 138 r15 = r15 << 4 0x1372 139 ebx = 0x10 {""} 0x1377 140 r14 = 0x2020 {",%d"} 0x137e 141 goto 151 @ 0x1380 0x1320 142 rdx = rdx + 0x10 0x1327 143 if (rdi == rdx) then 102 @ 0x1300 else 128 @ 0x1329 0x1333 144 xmm0 = [rax + rdx - 0x10].o 0x1338 145 [rsp + 0x10 {var_12f8_2}].o = xmm0 0x133d 146 xmm0 = [rax + rdx].o 0x1341 147 [rax + rdx - 0x10].o = xmm0 0x1346 148 xmm0 = [rsp + 0x10 {var_12f8_2}].o 0x134c 149 [rax + rdx].o = xmm0 0x1351 150 goto 142 @ 0x1320 0x1380 151 esi = [rsp + rbx + 0x20].d 0x1384 152 rdi = r14 0x1387 153 eax = 0 0x1389 154 call(0x1030) 0x138e 155 rbx = rbx + 0x10 0x1395 156 if (r15 != rbx) then 151 @ 0x1380 else 132 @ 0x1397 int64_t _fini(): 0x13a8 0 rsp = rsp - 8 0x13ac 1 rsp = rsp + 8 0x13b0 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) double pow(double x, double y): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) int32_t 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 {"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) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbx) 0x1181 1 rsp = rsp - 0x1e0 0x1188 2 rdi = 0x2004 {"%ld %s %ld"} 0x118f 3 rsi = rsp + 0x10 {var_1d8} 0x1194 4 rbx = rsp + 0x170 {var_78} 0x119c 5 rcx = rsp + 0x18 {var_1d0} 0x11a1 6 rdx = rbx {var_78} 0x11a4 7 eax = 0 0x11a6 8 call(0x1060) 0x11ab 9 rdi = rbx {var_78} 0x11ae 10 call(0x1050) 0x11b5 11 if (eax s<= 0) then 12 @ 0x1229 else 13 @ 0x11b7 0x1229 12 goto 24 @ 0x1389 0x11b7 13 rcx = rax 0x11ba 14 rcx = rcx << 0x20 0x11be 15 rbx = sx.q(eax) 0x11c1 16 rdx = -0x100000000 0x11cb 17 rdx = rdx + rcx 0x11ce 18 rdx = rdx s>> 0x20 0x11d2 19 rsi = rcx 0x11d5 20 rsi = rsi u>> 0x23 0x11d5 21 cond:0 = rsi == 0 0x11d9 22 rsi = rbx 0x11dc 23 if (cond:0) then 27 @ 0x134e else 32 @ 0x11e2 0x1389 24 ebx = 0 0x138b 25 eax = 0 0x138d 26 goto 40 @ 0x13e0 0x134e 27 rax = rsp + 0x20 {var_1c8} 0x1353 28 rax = rax - rsi 0x1356 29 rsi = rsi + 1 0x135a 30 rax = rax + 1 0x135e 31 goto 43 @ 0x1360 0x11e2 32 rsi = rdx + 1 0x11e6 33 rsi = rsi - rbx 0x11e9 34 rsi = rsi + rsp 0x11ec 35 rsi = rsi + 0x20 0x11f0 36 r8 = rsp + 0x20 {var_1c8} 0x11f5 37 rdi = rbx + r8 0x11f9 38 rdi = rdi + 1 0x1200 39 if (rsi u>= rdi) then 49 @ 0x121b else 51 @ 0x1202 0x13e0 40 edx = sx.d(cl) 0x13e3 41 esi = (rdx - 0x61).d 0x13ea 42 if (sil u<= 0x19) then 56 @ 0x1390 else 61 @ 0x13ec 0x1360 43 ecx = zx.d([rsp + rsi + 0x16e].b) 0x1368 44 [rax + rdx].b = cl 0x136b 45 [rax + rbx].b = 0 0x136f 46 rsi = rsi - 1 0x1373 47 rax = rax + 1 0x137b 48 if (rsi s> 1) then 43 @ 0x1360 else 63 @ 0x137d 0x121b 49 rcx = rcx u>> 0x25 0x121f 50 if (rcx != 0) then 65 @ 0x122e else 75 @ 0x1221 0x1202 51 rdi = rsp + rdx 0x1206 52 rdi = rdi + 0x21 0x120a 53 r9 = rsp + 0x21 {var_1c7} 0x120f 54 rsi = rbx 0x1215 55 if (r9 u< rdi) then 27 @ 0x134e else 49 @ 0x121b 0x1390 56 xmm0 = 0 0x1393 57 xmm0.q = float.d(rax) 0x1398 58 [rsp + 8 {var_1e0_1}].q = xmm0.q 0x139e 59 edx = edx - 0x57 0x139e 60 goto 77 @ 0x13a1 0x13ec 61 esi = (rcx - 0x41).d 0x13f3 62 if (sil u> 0x19) then 89 @ 0x1410 else 91 @ 0x13f5 0x137d 63 cl = [rsp + 0x20 {var_1c8}].b 0x1383 64 if (cl == 0) then 96 @ 0x1483 else 24 @ 0x1389 0x122e 65 esi = eax 0x1230 66 esi = esi & 0x1f 0x1233 67 r9 = rbx 0x1236 68 r9 = r9 - rsi 0x1239 69 rdi = rsp + 0x31 {var_1b7} 0x123e 70 r10 = rdx 0x1241 71 r10 = r10 - rbx 0x1244 72 xmm0 = 0 0x1248 73 rcx = rbx 0x124b 74 goto 99 @ 0x1250 0x1221 75 r9d = 0 0x1224 76 goto 128 @ 0x12f3 0x13a1 77 xmm0 = 0 0x13a4 78 xmm0.q = float.d(edx) 0x13a8 79 [rsp {var_1e8}].q = xmm0.q 0x13ad 80 xmm0 = 0 0x13b0 81 xmm0.q = float.d([rsp + 0x10 {var_1d8}].q) 0x13b7 82 xmm1 = 0 0x13ba 83 xmm1.q = float.d(ebx) 0x13be 84 call(0x1040) 0x13c3 85 xmm0.q = xmm0.q f* fconvert.t([rsp {var_1e8}].q) 0x13c8 86 xmm0.q = xmm0.q f+ fconvert.t([rsp + 8 {var_1e0_1}].q) 0x13ce 87 rax = int.q(ftrunc(xmm0.q)) 0x13ce 88 goto 138 @ 0x13d3 0x1410 89 cl = cl - 0x30 0x1416 90 if (cl u> 9) then 138 @ 0x13d3 else 141 @ 0x1418 0x13f5 91 xmm0 = 0 0x13f8 92 xmm0.q = float.d(rax) 0x13fd 93 [rsp + 8 {var_1e0_1}].q = xmm0.q 0x1403 94 edx = edx - 0x37 0x1406 95 goto 77 @ 0x13a1 0x1483 96 edi = 0x30 {""} 0x1488 97 call(0x1070) 0x148d 98 goto 146 @ 0x16a3 0x1250 99 xmm1 = [rsp + rcx + 0x150].o 0x1259 100 xmm2 = [rsp + rcx + 0x160].o 0x1262 101 xmm3 = xmm2 0x1266 102 xmm3 = _mm_unpacklo_epi8(xmm3, xmm0.q) 0x126a 103 xmm3 = _mm_shuffle_epi32(xmm3, 0x4e) 0x126f 104 xmm3 = _mm_shufflelo_epi16(xmm3, 0x1b) 0x1274 105 xmm3 = _mm_shufflehi_epi16(xmm3, 0x1b) 0x1279 106 xmm2 = _mm_unpackhi_epi8(xmm2, xmm0.q) 0x127d 107 xmm2 = _mm_shuffle_epi32(xmm2, 0x4e) 0x1282 108 xmm2 = _mm_shufflelo_epi16(xmm2, 0x1b) 0x1287 109 xmm2 = _mm_shufflehi_epi16(xmm2, 0x1b) 0x128c 110 xmm2 = _mm_packus_epi16(xmm2, xmm3) 0x1290 111 xmm3 = xmm1 0x1294 112 xmm3 = _mm_unpacklo_epi8(xmm3, xmm0.q) 0x1298 113 xmm3 = _mm_shuffle_epi32(xmm3, 0x4e) 0x129d 114 xmm3 = _mm_shufflelo_epi16(xmm3, 0x1b) 0x12a2 115 xmm3 = _mm_shufflehi_epi16(xmm3, 0x1b) 0x12a7 116 xmm1 = _mm_unpackhi_epi8(xmm1, xmm0.q) 0x12ab 117 xmm1 = _mm_shuffle_epi32(xmm1, 0x4e) 0x12b0 118 xmm1 = _mm_shufflelo_epi16(xmm1, 0x1b) 0x12b5 119 xmm1 = _mm_shufflehi_epi16(xmm1, 0x1b) 0x12ba 120 xmm1 = _mm_packus_epi16(xmm1, xmm3) 0x12be 121 [rdi + r10 - 0x10].o = xmm2 0x12c5 122 [rdi + r10].o = xmm1 0x12cb 123 [rdi - 0x10].o = xmm0 0x12d0 124 [rdi].o = xmm0 0x12d4 125 rdi = rdi + 0x20 0x12d8 126 rcx = rcx - 0x20 0x12df 127 if (rsi != rcx) then 99 @ 0x1250 else 150 @ 0x12e8 0x12f3 128 esi = eax 0x12f5 129 esi = esi & 7 0x12f8 130 rax = r9 + r8 0x12fc 131 rax = rax + 1 0x1300 132 rcx = rbx 0x1303 133 rcx = rcx - r9 0x1306 134 rdi = rdx 0x1309 135 rdi = rdi - rbx 0x130c 136 xmm0 = 0 0x130c 137 goto 151 @ 0x1310 0x13d3 138 ecx = zx.d([rsp + rbx + 0x21].b) 0x13d8 139 rbx = rbx + 1 0x13de 140 if (cl == 0) then 162 @ 0x1431 else 40 @ 0x13e0 0x1418 141 xmm0 = 0 0x141b 142 xmm0.q = float.d(rax) 0x1420 143 [rsp + 8 {var_1e0_1}].q = xmm0.q 0x1426 144 edx = edx - 0x30 0x1429 145 goto 77 @ 0x13a1 0x16a3 146 eax = 0 0x16a5 147 rsp = rsp + 0x1e0 0x16ac 148 rbx = pop 0x16ad 149 <return> jump(pop) 0x12e8 150 if (rsi == 0) then 63 @ 0x137d else 163 @ 0x12f1 0x1310 151 xmm1 = [rsp + rcx + 0x168].q 0x1319 152 xmm1 = _mm_unpacklo_epi8(xmm1, xmm0.q) 0x131d 153 xmm1 = _mm_shuffle_epi32(xmm1, 0x4e) 0x1322 154 xmm1 = _mm_shufflelo_epi16(xmm1, 0x1b) 0x1327 155 xmm1 = _mm_shufflehi_epi16(xmm1, 0x1b) 0x132c 156 xmm1 = _mm_packus_epi16(xmm1, xmm1) 0x1330 157 [rax + rdi].q = xmm1.q 0x1335 158 [rax].q = 0 0x133c 159 rax = rax + 8 0x1340 160 rcx = rcx - 8 0x1347 161 if (rsi != rcx) then 151 @ 0x1310 else 164 @ 0x134c 0x1431 162 if (rax == 0) then 96 @ 0x1483 else 165 @ 0x1433 0x12f1 163 if (esi u< 8) then 27 @ 0x134e else 128 @ 0x12f3 0x134c 164 if (rsi == 0) then 63 @ 0x137d else 27 @ 0x134e 0x1433 165 rcx = [rsp + 0x18 {var_1d0}].q 0x1438 166 rsi = rsp + 0x101 {var_e7} 0x1440 167 edi = 0x37 {""} 0x1445 168 goto 169 @ 0x1470 0x1470 169 rdx = rax 0x1473 170 rdx = rdx | rcx 0x1476 171 rdx = rdx u>> 0x20 0x147a 172 if (rdx == 0) then 173 @ 0x1450 else 184 @ 0x147c 0x1450 173 edx = 0 0x1452 174 temp2.d = ecx 0x1452 175 temp3.d = edx 0x1452 176 temp4.d = eax 0x1452 177 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1452 178 temp5.d = edx 0x1452 179 temp6.d = eax 0x1452 180 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1452 181 eax = temp0.d 0x1452 182 edx = temp1.d 0x1452 183 goto 190 @ 0x1454 0x147c 184 rdx:rax = sx.o(rax) 0x147e 185 temp0.q = divs.dp.q(rdx:rax, rcx) 0x147e 186 temp1.q = mods.dp.q(rdx:rax, rcx) 0x147e 187 rax = temp0.q 0x147e 188 rdx = temp1.q 0x1481 189 goto 190 @ 0x1454 0x1454 190 cond:1 = edx s>= 0xa 0x1457 191 ebx = 0x30 {""} 0x145c 192 if (cond:1) then 193 else 195 @ 0x145f 0x145c 193 ebx = edi 0x145c 194 goto 195 @ 0x145f 0x145f 195 bl = bl + dl 0x1461 196 [rsi - 1].b = bl 0x1464 197 [rsi].b = 0 0x1467 198 rsi = rsi + 1 0x146e 199 if (rax == 0) then 200 @ 0x1492 else 169 @ 0x1470 0x1492 200 rdi = rsp + 0x100 {var_e8} 0x149a 201 call(0x1050) 0x14a1 202 if (eax s<= 0) then 203 @ 0x168d else 208 @ 0x14a7 0x168d 203 rdi = 0x200f {"%s"} 0x1694 204 rsi = rsp + 0x90 {var_158} 0x169c 205 eax = 0 0x169e 206 call(0x1030) 0x169e 207 goto 146 @ 0x16a3 0x14a7 208 rcx = rax 0x14aa 209 rcx = rcx << 0x20 0x14ae 210 rbx = sx.q(eax) 0x14b1 211 rdx = -0x100000000 0x14bb 212 rdx = rdx + rcx 0x14be 213 rdx = rdx s>> 0x20 0x14c2 214 rsi = rcx 0x14c5 215 rsi = rsi u>> 0x23 0x14c5 216 cond:2 = rsi == 0 0x14c9 217 rsi = rbx 0x14cc 218 if (cond:2) then 219 @ 0x164e else 224 @ 0x14d2 0x164e 219 rax = rsp + 0x90 {var_158} 0x1656 220 rax = rax - rsi 0x1659 221 rsi = rsi + 1 0x165d 222 rax = rax + 1 0x166b 223 goto 232 @ 0x1670 0x14d2 224 rsi = rdx + 1 0x14d6 225 rsi = rsi - rbx 0x14d9 226 rsi = rsi + rsp 0x14dc 227 rsi = rsi + 0x90 0x14e3 228 r8 = rsp + 0x90 {var_158} 0x14eb 229 rdi = rbx + r8 0x14ef 230 rdi = rdi + 1 0x14f6 231 if (rsi u>= rdi) then 238 @ 0x1517 else 240 @ 0x14f8 0x1670 232 ecx = zx.d([rsp + rsi + 0xfe].b) 0x1678 233 [rax + rdx].b = cl 0x167b 234 [rax + rbx].b = 0 0x167f 235 rsi = rsi - 1 0x1683 236 rax = rax + 1 0x168b 237 if (rsi s> 1) then 232 @ 0x1670 else 203 @ 0x168d 0x1517 238 rcx = rcx u>> 0x25 0x151b 239 if (rcx != 0) then 245 @ 0x1525 else 255 @ 0x151d 0x14f8 240 rdi = rsp + rdx 0x14fc 241 rdi = rdi + 0x91 0x1503 242 r9 = rsp + 0x91 {var_157} 0x150b 243 rsi = rbx 0x1511 244 if (r9 u< rdi) then 219 @ 0x164e else 238 @ 0x1517 0x1525 245 esi = eax 0x1527 246 esi = esi & 0x1f 0x152a 247 r9 = rbx 0x152d 248 r9 = r9 - rsi 0x1530 249 rdi = rsp + 0xa1 {var_147} 0x1538 250 r10 = rdx 0x153b 251 r10 = r10 - rbx 0x153e 252 xmm0 = 0 0x1542 253 rcx = rbx 0x154f 254 goto 257 @ 0x1550 0x151d 255 r9d = 0 0x1520 256 goto 286 @ 0x15f3 0x1550 257 xmm1 = [rsp + rcx + 0xe0].o 0x1559 258 xmm2 = [rsp + rcx + 0xf0].o 0x1562 259 xmm3 = xmm2 0x1566 260 xmm3 = _mm_unpacklo_epi8(xmm3, xmm0.q) 0x156a 261 xmm3 = _mm_shuffle_epi32(xmm3, 0x4e) 0x156f 262 xmm3 = _mm_shufflelo_epi16(xmm3, 0x1b) 0x1574 263 xmm3 = _mm_shufflehi_epi16(xmm3, 0x1b) 0x1579 264 xmm2 = _mm_unpackhi_epi8(xmm2, xmm0.q) 0x157d 265 xmm2 = _mm_shuffle_epi32(xmm2, 0x4e) 0x1582 266 xmm2 = _mm_shufflelo_epi16(xmm2, 0x1b) 0x1587 267 xmm2 = _mm_shufflehi_epi16(xmm2, 0x1b) 0x158c 268 xmm2 = _mm_packus_epi16(xmm2, xmm3) 0x1590 269 xmm3 = xmm1 0x1594 270 xmm3 = _mm_unpacklo_epi8(xmm3, xmm0.q) 0x1598 271 xmm3 = _mm_shuffle_epi32(xmm3, 0x4e) 0x159d 272 xmm3 = _mm_shufflelo_epi16(xmm3, 0x1b) 0x15a2 273 xmm3 = _mm_shufflehi_epi16(xmm3, 0x1b) 0x15a7 274 xmm1 = _mm_unpackhi_epi8(xmm1, xmm0.q) 0x15ab 275 xmm1 = _mm_shuffle_epi32(xmm1, 0x4e) 0x15b0 276 xmm1 = _mm_shufflelo_epi16(xmm1, 0x1b) 0x15b5 277 xmm1 = _mm_shufflehi_epi16(xmm1, 0x1b) 0x15ba 278 xmm1 = _mm_packus_epi16(xmm1, xmm3) 0x15be 279 [rdi + r10 - 0x10].o = xmm2 0x15c5 280 [rdi + r10].o = xmm1 0x15cb 281 [rdi - 0x10].o = xmm0 0x15d0 282 [rdi].o = xmm0 0x15d4 283 rdi = rdi + 0x20 0x15d8 284 rcx = rcx - 0x20 0x15df 285 if (rsi != rcx) then 257 @ 0x1550 else 296 @ 0x15e8 0x15f3 286 esi = eax 0x15f5 287 esi = esi & 7 0x15f8 288 rax = r9 + r8 0x15fc 289 rax = rax + 1 0x1600 290 rcx = rbx 0x1603 291 rcx = rcx - r9 0x1606 292 rdi = rdx 0x1609 293 rdi = rdi - rbx 0x160c 294 xmm0 = 0 0x160c 295 goto 297 @ 0x1610 0x15e8 296 if (rsi == 0) then 203 @ 0x168d else 308 @ 0x15f1 0x1610 297 xmm1 = [rsp + rcx + 0xf8].q 0x1619 298 xmm1 = _mm_unpacklo_epi8(xmm1, xmm0.q) 0x161d 299 xmm1 = _mm_shuffle_epi32(xmm1, 0x4e) 0x1622 300 xmm1 = _mm_shufflelo_epi16(xmm1, 0x1b) 0x1627 301 xmm1 = _mm_shufflehi_epi16(xmm1, 0x1b) 0x162c 302 xmm1 = _mm_packus_epi16(xmm1, xmm1) 0x1630 303 [rax + rdi].q = xmm1.q 0x1635 304 [rax].q = 0 0x163c 305 rax = rax + 8 0x1640 306 rcx = rcx - 8 0x1647 307 if (rsi != rcx) then 297 @ 0x1610 else 309 @ 0x164c 0x15f1 308 if (esi u< 8) then 219 @ 0x164e else 286 @ 0x15f3 0x164c 309 if (rsi == 0) then 203 @ 0x168d else 219 @ 0x164e int64_t _fini(): 0x16b4 0 rsp = rsp - 8 0x16b8 1 rsp = rsp + 8 0x16bc 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 {"UAWAVAUATSH8H="} 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 - 0x38 0x115e 7 rdi = 0x202a {"%d"} 0x1165 8 rsi = rsp + 0xc {var_5c} 0x116a 9 eax = 0 0x116c 10 call(0x1040) 0x1171 11 rbx = 0x2028 {"%d%d"} 0x1178 12 r14 = rsp + 8 {var_60} 0x117d 13 r15 = rsp + 4 {var_64} 0x1182 14 rdi = rbx 0x1185 15 rsi = r14 {var_60} 0x1188 16 rdx = r15 {var_64} 0x118b 17 eax = 0 0x118d 18 call(0x1040) 0x1192 19 xmm0 = [rsp + 4 {var_64}].d 0x1198 20 [rsp + 0x20 {var_48}].o = xmm0 0x119d 21 xmm0 = [rsp + 8 {var_60}].d 0x11a3 22 [rsp + 0x10 {var_58}].o = xmm0 0x11a8 23 rdi = rbx 0x11ab 24 rsi = r14 {var_60} 0x11ae 25 rdx = r15 {var_64} 0x11b1 26 eax = 0 0x11b3 27 call(0x1040) 0x11b8 28 xmm0 = [rsp + 4 {var_64}].d 0x11be 29 xmm1 = [rsp + 0x20 {var_48}].o 0x11c3 30 xmm1 = _mm_unpacklo_ps(xmm1, xmm0.q) 0x11c6 31 xmm1 = _mm_cvtepi32_ps(xmm1) 0x11c9 32 xmm0 = [rsp + 8 {var_60}].d 0x11cf 33 xmm2 = [rsp + 0x10 {var_58}].o 0x11d4 34 xmm2 = _mm_unpacklo_ps(xmm2, xmm0.q) 0x11d7 35 xmm0 = _mm_cvtepi32_ps(xmm2) 0x11da 36 xmm1 = _mm_div_ps(xmm1, xmm0) 0x11dd 37 xmm0 = xmm1 0x11e0 38 xmm0 = _mm_shuffle_ps(xmm0, xmm1, 0xe1) 0x11e4 39 [rsp + 0x10 {var_58_1}].o = xmm1 0x11e9 40 xmm1 = _mm_sub_ps(xmm1, xmm0) 0x11ec 41 xmm0 = _mm_cvtps_pd(xmm1.q) 0x11ef 42 xmm1 = [0x2010].o 0x11f7 43 xmm1 = _mm_cmpeq_pd(xmm1, xmm0, 1) 0x11fc 44 eax = _mm_movemask_pd(xmm1) 0x1200 45 r12 = 0x2035 {"\nworse"} 0x1207 46 rdi = 0x203c {"\nsame"} 0x1210 47 if ((al & 1) != 0) then 48 else 50 @ 0x1214 0x1210 48 rdi = r12 0x1210 49 goto 50 @ 0x1214 0x1214 50 rbp = 0x202d {"\nbetter"} 0x121d 51 if ((al & 2) != 0) then 52 else 54 @ 0x1221 0x121d 52 rdi = rbp 0x121d 53 goto 54 @ 0x1221 0x1221 54 eax = 0 0x1223 55 call(0x1030) 0x122d 56 if ([rsp + 0xc {var_5c}].d s< 3) then 57 @ 0x12ca else 66 @ 0x1233 0x12ca 57 eax = 0 0x12cc 58 rsp = rsp + 0x38 0x12d0 59 rbx = pop 0x12d1 60 r12 = pop 0x12d3 61 r13 = pop 0x12d5 62 r14 = pop 0x12d7 63 r15 = pop 0x12d9 64 rbp = pop 0x12da 65 <return> jump(pop) 0x1233 66 r13d = 2 0x1239 67 r14 = 0x2028 {"%d%d"} 0x1240 68 r15 = rsp + 8 {var_60} 0x1245 69 rbx = rsp + 4 {var_64} 0x124a 70 goto 71 @ 0x1262 0x1262 71 rdi = r14 0x1265 72 rsi = r15 {var_60} 0x1268 73 rdx = rbx {var_64} 0x126b 74 eax = 0 0x126d 75 call(0x1040) 0x1272 76 xmm0 = 0 0x1275 77 xmm0.d = float.s([rsp + 4 {var_64}].d) 0x127b 78 xmm1 = 0 0x127e 79 xmm1.d = float.s([rsp + 8 {var_60}].d) 0x1284 80 xmm0.d = xmm0.d f/ xmm1.d 0x1288 81 xmm2 = [rsp + 0x10 {var_58_1}].o 0x128d 82 xmm1 = xmm2 0x1290 83 xmm1.d = xmm1.d f- xmm0.d 0x1294 84 xmm1.q = fconvert.d(xmm1.d) 0x1298 85 xmm3 = zx.o([0x2020].q) 0x12a0 86 flag:p = is_unordered.q(xmm1.q, xmm3.q) 0x12a0 87 flag:c = xmm1.q f< xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x12a0 88 flag:z = xmm1.q f== xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x12a0 89 flag:s = 0 0x12a0 90 flag:o = 0 0x12a0 91 flag:a = 0 0x12a4 92 xmm1 = xmm3 0x12a8 93 rax = r12 0x12ab 94 if (not(flag:z) && not(flag:c)) then 95 @ 0x12b4 else 105 @ 0x12ad 0x12b4 95 xmm0.d = xmm0.d f- xmm2.d 0x12b8 96 xmm0.q = fconvert.d(xmm0.d) 0x12bc 97 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x12bc 98 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12bc 99 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12bc 100 flag:s = 0 0x12bc 101 flag:o = 0 0x12bc 102 flag:a = 0 0x12c0 103 rdi = rbp 0x12c3 104 if (not(flag:z) && not(flag:c)) then 107 @ 0x1250 else 111 @ 0x12c5 0x12ad 105 rax = 0x203c {"\nsame"} 0x12ad 106 goto 95 @ 0x12b4 0x1250 107 eax = 0 0x1252 108 call(0x1030) 0x1257 109 r13d = r13d + 1 0x1260 110 if (r13d s>= [rsp + 0xc {var_5c}].d) then 57 @ 0x12ca else 71 @ 0x1262 0x12c5 111 rdi = rax 0x12c8 112 goto 107 @ 0x1250 int64_t _fini(): 0x12e0 0 rsp = rsp - 8 0x12e4 1 rsp = rsp + 8 0x12e8 2 <return> jump(pop)
POJ_67
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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\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 - 4 {var_c}].d = 0 0x1172 4 rdi = 0x2004 {"%d"} 0x1179 5 rsi = rbp - 8 {var_10} 0x117d 6 al = 0 0x117f 7 call(0x1040) 0x1184 8 [rbp - 0x984 {var_98c}].d = 0 0x1184 9 goto 10 @ 0x118e 0x118e 10 eax = [rbp - 0x984 {var_98c}].d 0x1197 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11ed else 14 @ 0x119d 0x11ed 12 [rbp - 0x988 {var_990}].d = 0 0x11ed 13 goto 30 @ 0x11f7 0x119d 14 rax = sx.q([rbp - 0x984 {var_98c}].d) 0x11a4 15 rsi = rbp - 0x980 {var_988} 0x11ab 16 rax = rax * 0x18 0x11af 17 rsi = rsi + rax 0x11b2 18 rax = sx.q([rbp - 0x984 {var_98c}].d) 0x11b9 19 rdx = rbp - 0x980 {var_988} 0x11c0 20 rax = rax * 0x18 0x11c4 21 rdx = rdx + rax 0x11c7 22 rdx = rdx + 8 0x11cb 23 rdi = 0x2007 {"%lf %lf"} 0x11d2 24 al = 0 0x11d4 25 call(0x1040) 0x11d9 26 eax = [rbp - 0x984 {var_98c}].d 0x11df 27 eax = eax + 1 0x11e2 28 [rbp - 0x984 {var_98c}].d = eax 0x11e8 29 goto 10 @ 0x118e 0x11f7 30 eax = [rbp - 0x988 {var_990}].d 0x1200 31 if (eax s>= [rbp - 8 {var_10}].d) then 32 @ 0x1377 else 34 @ 0x1206 0x1377 32 [rbp - 0x990 {var_998}].d = 0 0x1377 33 goto 40 @ 0x1381 0x1206 34 xmm0 = 0 0x1209 35 [rbp - 0x18 {var_20_1}].q = xmm0.q 0x120e 36 eax = [rbp - 0x988 {var_990}].d 0x1214 37 eax = eax + 1 0x1217 38 [rbp - 0x98c {var_994_1}].d = eax 0x1217 39 goto 42 @ 0x121d 0x1381 40 eax = [rbp - 0x990 {var_998}].d 0x138a 41 if (eax s>= [rbp - 8 {var_10}].d) then 44 @ 0x13ed else 53 @ 0x1390 0x121d 42 eax = [rbp - 0x98c {var_994_1}].d 0x1226 43 if (eax s>= [rbp - 8 {var_10}].d) then 65 @ 0x133c else 77 @ 0x122c 0x13ed 44 xmm0 = zx.o([rbp - 0x18 {var_20}].q) 0x13f2 45 call(0x1050) 0x13f7 46 rdi = 0x200f {"%.4f"} 0x13fe 47 al = 1 0x1400 48 call(0x1030) 0x1405 49 eax = [rbp - 4 {var_c}].d 0x1408 50 rsp = rsp + 0x990 0x140f 51 rbp = pop 0x1410 52 <return> jump(pop) 0x1390 53 rcx = sx.q([rbp - 0x990 {var_998}].d) 0x1397 54 rax = rbp - 0x980 {var_988} 0x139e 55 rcx = rcx * 0x18 0x13a2 56 rax = rax + rcx 0x13a5 57 xmm0 = zx.o([rax + 0x10].q) 0x13aa 58 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x18 {var_20}].q)) 0x13aa 59 flag:c = xmm0.q f< fconvert.t([rbp - 0x18 {var_20}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x18 {var_20}].q)) 0x13aa 60 flag:z = xmm0.q f== fconvert.t([rbp - 0x18 {var_20}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x18 {var_20}].q)) 0x13aa 61 flag:s = 0 0x13aa 62 flag:o = 0 0x13aa 63 flag:a = 0 0x13af 64 if (flag:z || flag:c) then 129 @ 0x13d4 else 130 @ 0x13b5 0x133c 65 xmm0 = zx.o([rbp - 0x18 {var_20_1}].q) 0x1341 66 rcx = sx.q([rbp - 0x988 {var_990}].d) 0x1348 67 rax = rbp - 0x980 {var_988} 0x134f 68 rcx = rcx * 0x18 0x1353 69 rax = rax + rcx 0x1356 70 [rax + 0x10].q = xmm0.q 0x135b 71 xmm0 = 0 0x135e 72 [rbp - 0x18 {var_20}].q = xmm0.q 0x1363 73 eax = [rbp - 0x988 {var_990}].d 0x1369 74 eax = eax + 1 0x136c 75 [rbp - 0x988 {var_990}].d = eax 0x1372 76 goto 30 @ 0x11f7 0x122c 77 rcx = sx.q([rbp - 0x988 {var_990}].d) 0x1233 78 rax = rbp - 0x980 {var_988} 0x123a 79 rcx = rcx * 0x18 0x123e 80 rax = rax + rcx 0x1241 81 xmm0 = zx.o([rax].q) 0x1245 82 rcx = sx.q([rbp - 0x98c {var_994_1}].d) 0x124c 83 rax = rbp - 0x980 {var_988} 0x1253 84 rcx = rcx * 0x18 0x1257 85 rax = rax + rcx 0x125a 86 xmm0.q = xmm0.q f- fconvert.t([rax].q) 0x125e 87 rcx = sx.q([rbp - 0x988 {var_990}].d) 0x1265 88 rax = rbp - 0x980 {var_988} 0x126c 89 rcx = rcx * 0x18 0x1270 90 rax = rax + rcx 0x1273 91 xmm2 = zx.o([rax].q) 0x1277 92 rcx = sx.q([rbp - 0x98c {var_994_1}].d) 0x127e 93 rax = rbp - 0x980 {var_988} 0x1285 94 rcx = rcx * 0x18 0x1289 95 rax = rax + rcx 0x128c 96 xmm2.q = xmm2.q f- fconvert.t([rax].q) 0x1290 97 rcx = sx.q([rbp - 0x988 {var_990}].d) 0x1297 98 rax = rbp - 0x980 {var_988} 0x129e 99 rcx = rcx * 0x18 0x12a2 100 rax = rax + rcx 0x12a5 101 xmm1 = zx.o([rax + 8].q) 0x12aa 102 rcx = sx.q([rbp - 0x98c {var_994_1}].d) 0x12b1 103 rax = rbp - 0x980 {var_988} 0x12b8 104 rcx = rcx * 0x18 0x12bc 105 rax = rax + rcx 0x12bf 106 xmm1.q = xmm1.q f- fconvert.t([rax + 8].q) 0x12c4 107 rcx = sx.q([rbp - 0x988 {var_990}].d) 0x12cb 108 rax = rbp - 0x980 {var_988} 0x12d2 109 rcx = rcx * 0x18 0x12d6 110 rax = rax + rcx 0x12d9 111 xmm3 = zx.o([rax + 8].q) 0x12de 112 rcx = sx.q([rbp - 0x98c {var_994_1}].d) 0x12e5 113 rax = rbp - 0x980 {var_988} 0x12ec 114 rcx = rcx * 0x18 0x12f0 115 rax = rax + rcx 0x12f3 116 xmm3.q = xmm3.q f- fconvert.t([rax + 8].q) 0x12f8 117 xmm1.q = xmm1.q f* xmm3.q 0x12fc 118 xmm0.q = xmm0.q f* xmm2.q 0x1300 119 xmm0.q = xmm0.q f+ xmm1.q 0x1304 120 [rbp - 0x10 {var_18_1}].q = xmm0.q 0x1309 121 xmm0 = zx.o([rbp - 0x10 {var_18_1}].q) 0x130e 122 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x18 {var_20_1}].q)) 0x130e 123 flag:c = xmm0.q f< fconvert.t([rbp - 0x18 {var_20_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x18 {var_20_1}].q)) 0x130e 124 flag:z = xmm0.q f== fconvert.t([rbp - 0x18 {var_20_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x18 {var_20_1}].q)) 0x130e 125 flag:s = 0 0x130e 126 flag:o = 0 0x130e 127 flag:a = 0 0x1313 128 if (flag:z || flag:c) then 137 @ 0x1323 else 138 @ 0x1319 0x13d4 129 goto 141 @ 0x13d9 0x13b5 130 rcx = sx.q([rbp - 0x990 {var_998}].d) 0x13bc 131 rax = rbp - 0x980 {var_988} 0x13c3 132 rcx = rcx * 0x18 0x13c7 133 rax = rax + rcx 0x13ca 134 xmm0 = zx.o([rax + 0x10].q) 0x13cf 135 [rbp - 0x18 {var_20}].q = xmm0.q 0x13cf 136 goto 129 @ 0x13d4 0x1323 137 goto 145 @ 0x1328 0x1319 138 xmm0 = zx.o([rbp - 0x10 {var_18_1}].q) 0x131e 139 [rbp - 0x18 {var_20_1}].q = xmm0.q 0x131e 140 goto 137 @ 0x1323 0x13d9 141 eax = [rbp - 0x990 {var_998}].d 0x13df 142 eax = eax + 1 0x13e2 143 [rbp - 0x990 {var_998}].d = eax 0x13e8 144 goto 40 @ 0x1381 0x1328 145 eax = [rbp - 0x98c {var_994_1}].d 0x132e 146 eax = eax + 1 0x1331 147 [rbp - 0x98c {var_994_1}].d = eax 0x1337 148 goto 42 @ 0x121d int64_t _fini(): 0x1418 0 rsp = rsp - 8 0x141c 1 rsp = rsp + 8 0x1420 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 {"UHH0E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x30 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 xmm0 = 0 0x1162 5 [rbp - 0x20 {var_28}].q = xmm0.q 0x1167 6 rdi = 0x2004 {"%d"} 0x116e 7 rsi = rbp - 8 {var_10} 0x1172 8 al = 0 0x1174 9 call(0x1040) 0x1179 10 [rbp - 0x24 {var_2c}].d = 1 0x1179 11 goto 12 @ 0x1180 0x1180 12 eax = [rbp - 0x24 {var_2c}].d 0x1186 13 if (eax s> [rbp - 8 {var_10}].d) then 14 @ 0x1223 else 18 @ 0x118c 0x1223 14 eax = 0 0x1225 15 rsp = rsp + 0x30 0x1229 16 rbp = pop 0x122a 17 <return> jump(pop) 0x118c 18 [rbp - 0x14 {var_1c_1}].d = 1 0x1193 19 [rbp - 0x10 {var_18_1}].d = 2 0x119a 20 rdi = 0x2004 {"%d"} 0x11a1 21 rsi = rbp - 0xc {var_14} 0x11a5 22 al = 0 0x11a7 23 call(0x1040) 0x11ac 24 xmm0 = 0 0x11af 25 [rbp - 0x20 {var_28_1}].q = xmm0.q 0x11b4 26 [rbp - 0x28 {var_30_1}].d = 1 0x11b4 27 goto 28 @ 0x11bb 0x11bb 28 eax = [rbp - 0x28 {var_30_1}].d 0x11c1 29 if (eax s> [rbp - 0xc {var_14}].d) then 30 @ 0x1202 else 38 @ 0x11c7 0x1202 30 xmm0 = zx.o([rbp - 0x20 {var_28_1}].q) 0x1207 31 rdi = 0x2007 {"%.3lf\n"} 0x120e 32 al = 1 0x1210 33 call(0x1030) 0x1215 34 eax = [rbp - 0x24 {var_2c}].d 0x1218 35 eax = eax + 1 0x121b 36 [rbp - 0x24 {var_2c}].d = eax 0x121e 37 goto 12 @ 0x1180 0x11c7 38 xmm0.q = float.d([rbp - 0x10 {var_18_1}].d) 0x11cc 39 xmm1.q = float.d([rbp - 0x14 {var_1c_1}].d) 0x11d1 40 xmm0.q = xmm0.q f/ xmm1.q 0x11d5 41 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x20 {var_28_1}].q) 0x11da 42 [rbp - 0x20 {var_28_1}].q = xmm0.q 0x11df 43 eax = [rbp - 0x10 {var_18_1}].d 0x11e2 44 [rbp - 0x18 {var_20_1}].d = eax 0x11e5 45 eax = [rbp - 0x10 {var_18_1}].d 0x11e8 46 eax = eax + [rbp - 0x14 {var_1c_1}].d 0x11eb 47 [rbp - 0x10 {var_18_1}].d = eax 0x11ee 48 eax = [rbp - 0x18 {var_20_1}].d 0x11f1 49 [rbp - 0x14 {var_1c_1}].d = eax 0x11f4 50 eax = [rbp - 0x28 {var_30_1}].d 0x11f7 51 eax = eax + 1 0x11fa 52 [rbp - 0x28 {var_30_1}].d = eax 0x11fd 53 goto 28 @ 0x11bb int64_t _fini(): 0x1230 0 rsp = rsp - 8 0x1234 1 rsp = rsp + 8 0x1238 2 <return> jump(pop)
POJ_29
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x11e0 {"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) void f(int32_t arg1, uint64_t arg2[0x2] @ zmm0): 0x1152 0 if (edi s<= 0) then 1 @ 0x1169 else 3 @ 0x1154 0x1169 1 xmm0 = 0 0x116c 2 <return> jump(pop) 0x1154 3 eax = edi 0x1159 4 if (edi != 1) then 5 @ 0x116d else 11 @ 0x115b 0x116d 5 ecx = eax 0x116f 6 ecx = ecx & 0xfffffffe 0x1172 7 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1176 8 xmm2 = zx.o([0x2008].q) 0x117e 9 xmm1 = xmm2 0x118c 10 goto 14 @ 0x1190 0x115b 11 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x115f 12 xmm1 = zx.o([0x2008].q) 0x1167 13 goto 25 @ 0x11b8 0x1190 14 xmm3 = xmm2 0x1194 15 xmm3.q = xmm3.q f/ xmm1.q 0x1198 16 xmm3.q = xmm3.q f+ xmm2.q 0x119c 17 xmm0.q = xmm0.q f+ xmm3.q 0x11a0 18 xmm1 = xmm2 0x11a4 19 xmm1.q = xmm1.q f/ xmm3.q 0x11a8 20 xmm1.q = xmm1.q f+ xmm2.q 0x11ac 21 xmm0.q = xmm0.q f+ xmm1.q 0x11b0 22 temp0.q = rcx 0x11b0 23 rcx = rcx - 2 0x11b4 24 if (temp0.q != 2) then 14 @ 0x1190 else 25 @ 0x11b8 0x11b8 25 if ((al & 1) == 0) then 26 @ 0x11d2 else 27 @ 0x11ba 0x11d2 26 <return> jump(pop) 0x11ba 27 xmm2 = zx.o([0x2008].q) 0x11c2 28 xmm3 = xmm2 0x11c6 29 xmm3.q = xmm3.q f/ xmm1.q 0x11ca 30 xmm3.q = xmm3.q f+ xmm2.q 0x11ce 31 xmm0.q = xmm0.q f+ xmm3.q 0x11ce 32 goto 26 @ 0x11d2 int32_t main(int32_t argc, char** argv, char** envp): 0x11e0 0 push(r15) 0x11e2 1 push(r14) 0x11e4 2 push(rbx) 0x11e5 3 rsp = rsp - 0x1a0 0x11ec 4 rdi = 0x2010 {"%d"} 0x11f3 5 rsi = rsp + 0xc {var_1ac} 0x11f8 6 eax = 0 0x11fa 7 call(0x1040) 0x1204 8 if ([rsp + 0xc {var_1ac}].d s<= 0) then 9 @ 0x12ef else 15 @ 0x120a 0x12ef 9 eax = 0 0x12f1 10 rsp = rsp + 0x1a0 0x12f8 11 rbx = pop 0x12f9 12 r14 = pop 0x12fb 13 r15 = pop 0x12fd 14 <return> jump(pop) 0x120a 15 r15 = rsp + 0x10 {var_1a8} 0x120f 16 r14 = 0x2010 {"%d"} 0x1216 17 ebx = 0 0x1218 18 goto 19 @ 0x1220 0x1220 19 rdi = r14 0x1223 20 rsi = r15 0x1226 21 eax = 0 0x1228 22 call(0x1040) 0x122d 23 rbx = rbx + 1 0x1231 24 rax = sx.q([rsp + 0xc {var_1ac}].d) 0x1236 25 r15 = r15 + 4 0x123d 26 if (rbx s< rax) then 19 @ 0x1220 else 27 @ 0x1241 0x1241 27 if (eax s<= 0) then 9 @ 0x12ef else 28 @ 0x1247 0x1247 28 ebx = 0 0x1249 29 r14 = 0x2013 {"%.3lf\n"} 0x1250 30 xmm3 = zx.o([0x2008].q) 0x1258 31 goto 32 @ 0x1280 0x1280 32 eax = [rsp + (rbx << 2) + 0x10].d 0x1284 33 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x128a 34 if (eax s<= 0) then 35 @ 0x1260 else 42 @ 0x128c 0x1260 35 rdi = r14 0x1263 36 al = 1 0x1265 37 call(0x1030) 0x126a 38 xmm3 = zx.o([0x2008].q) 0x1272 39 rbx = rbx + 1 0x1276 40 rax = sx.q([rsp + 0xc {var_1ac}].d) 0x127e 41 if (rbx s>= rax) then 9 @ 0x12ef else 32 @ 0x1280 0x128c 42 xmm1 = xmm3 0x1293 43 if (eax == 1) then 44 @ 0x12d8 else 45 @ 0x1295 0x12d8 44 if ((al & 1) == 0) then 35 @ 0x1260 else 50 @ 0x12da 0x1295 45 ecx = eax 0x1297 46 ecx = ecx & 0xfffffffe 0x129a 47 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x129e 48 xmm1 = xmm3 0x12ac 49 goto 55 @ 0x12b0 0x12da 50 xmm2 = xmm3 0x12de 51 xmm2.q = xmm2.q f/ xmm1.q 0x12e2 52 xmm2.q = xmm2.q f+ xmm3.q 0x12e6 53 xmm0.q = xmm0.q f+ xmm2.q 0x12ea 54 goto 35 @ 0x1260 0x12b0 55 xmm2 = xmm3 0x12b4 56 xmm2.q = xmm2.q f/ xmm1.q 0x12b8 57 xmm2.q = xmm2.q f+ xmm3.q 0x12bc 58 xmm0.q = xmm0.q f+ xmm2.q 0x12c0 59 xmm1 = xmm3 0x12c4 60 xmm1.q = xmm1.q f/ xmm2.q 0x12c8 61 xmm1.q = xmm1.q f+ xmm3.q 0x12cc 62 xmm0.q = xmm0.q f+ xmm1.q 0x12d0 63 temp0.q = rcx 0x12d0 64 rcx = rcx - 2 0x12d4 65 if (temp0.q != 2) then 55 @ 0x12b0 else 44 @ 0x12d8 int64_t _fini(): 0x1304 0 rsp = rsp - 8 0x1308 1 rsp = rsp + 8 0x130c 2 <return> jump(pop)
POJ_29
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHAWAVAUATSH"} 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 push(r15) 0x1176 3 push(r14) 0x1178 4 push(r13) 0x117a 5 push(r12) 0x117c 6 push(rbx) 0x117d 7 rsp = rsp - 0x80008 0x1184 8 rdi = 0x2007 {"%d"} 0x118b 9 rsi = rbp - 0x2c {var_34} 0x118f 10 eax = 0 0x1191 11 call(0x1060) 0x1196 12 r13 = rsp {var_80038} 0x1199 13 eax = [rbp - 0x2c {var_34}].d 0x119c 14 r14 = rsp {var_80038} 0x119f 15 rax = (rax << 2) + 0xf 0x11a7 16 rax = rax & 0xfffffffffffffff0 0x11ab 17 r14 = r14 - rax 0x11ae 18 rsp = r14 0x11b1 19 edx = [rbp - 0x2c {var_34}].d 0x11b6 20 if (edx s<= 0) then 21 @ 0x11c6 else 32 @ 0x11b8 0x11c6 21 rdi = 0x2004 {"%d %d"} 0x11cd 22 rsi = rbp - 0x80030 {var_80038} 0x11d4 23 rdx = rbp - 0x40030 {var_40038} 0x11db 24 eax = 0 0x11dd 25 call(0x1060) 0x11e2 26 rax = sx.q([rbp - 0x80030 {var_80038}].d) 0x11e9 27 [r14 + (rax << 2)].d = [r14 + (rax << 2)].d - 1 0x11ee 28 rcx = sx.q([rbp - 0x40030 {var_40038}].d) 0x11f5 29 [r14 + (rcx << 2)].d = [r14 + (rcx << 2)].d + 1 0x11fa 30 ecx = ecx | eax 0x11fc 31 if (ecx == 0) then 37 @ 0x124c else 39 @ 0x11fe 0x11b8 32 rdx = rdx << 2 0x11bc 33 rdi = r14 0x11bf 34 esi = 0 0x11c1 35 call(0x1050) 0x11c1 36 goto 21 @ 0x11c6 0x124c 37 eax = [rbp - 0x2c {var_34}].d 0x1251 38 if (eax s<= 0) then 43 @ 0x127f else 57 @ 0x1253 0x11fe 39 r15 = rbp - 0x4002c {var_40034} 0x1205 40 rbx = rbp - 0x8002c {var_80034} 0x120c 41 r12 = 0x2004 {"%d %d"} 0x121d 42 goto 60 @ 0x1220 0x127f 43 eax = 0 0x1281 44 call(0x1040) 0x1286 45 eax = 0 0x1288 46 call(0x1040) 0x128d 47 rsp = r13 0x1290 48 eax = 0 0x1292 49 rsp = rbp - 0x28 0x1296 50 rbx = pop 0x1297 51 r12 = pop 0x1299 52 r13 = pop 0x129b 53 r14 = pop 0x129d 54 r15 = pop 0x129f 55 rbp = pop 0x12a0 56 <return> jump(pop) 0x1253 57 ecx = (rax - 1).d 0x1256 58 esi = 0 0x1258 59 goto 73 @ 0x1264 0x1220 60 rdi = r12 0x1223 61 rsi = rbx 0x1226 62 rdx = r15 0x1229 63 eax = 0 0x122b 64 call(0x1060) 0x1230 65 rax = sx.q([rbx].d) 0x1233 66 [r14 + (rax << 2)].d = [r14 + (rax << 2)].d - 1 0x1238 67 rcx = sx.q([r15].d) 0x123b 68 [r14 + (rcx << 2)].d = [r14 + (rcx << 2)].d + 1 0x1240 69 r15 = r15 + 4 0x1244 70 rbx = rbx + 4 0x1248 71 ecx = ecx | eax 0x124a 72 if (ecx != 0) then 60 @ 0x1220 else 37 @ 0x124c 0x1264 73 if ([r14 + (rsi << 2)].d == ecx) then 74 @ 0x1271 else 78 @ 0x1266 0x1271 74 rdi = 0x2007 {"%d"} 0x1278 75 eax = 0 0x127a 76 call(0x1030) 0x127a 77 goto 43 @ 0x127f 0x1266 78 rsi = rsi + 1 0x126d 79 if (rax != rsi) then 73 @ 0x1264 else 80 @ 0x126f 0x126f 80 goto 43 @ 0x127f int64_t _fini(): 0x12a8 0 rsp = rsp - 8 0x12ac 1 rsp = rsp + 8 0x12b0 2 <return> jump(pop)
POJ_89
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 {"UAWAVAUATSHx\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 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x978 0x1171 7 rdi = rsp + 0x10 {var_998} 0x1176 8 edx = 0x4b0 {"Q"} 0x117b 9 esi = 0 0x117d 10 call(0x1040) 0x1182 11 rdi = rsp + 0x4c0 {var_4e8} 0x118a 12 edx = 0x4b0 {"Q"} 0x118f 13 esi = 0 0x1191 14 call(0x1040) 0x1196 15 rdi = 0x2005 {"%d"} 0x119d 16 rsi = rsp + 0xc {var_99c} 0x11a2 17 eax = 0 0x11a4 18 call(0x1050) 0x11ae 19 if ([rsp + 0xc {var_99c}].d s<= 0) then 20 @ 0x13cc else 25 @ 0x11b4 0x13cc 20 rdi = 0x2005 {"%d"} 0x13d3 21 esi = 0 0x13d5 22 eax = 0 0x13d7 23 call(0x1030) 0x13d7 24 goto 31 @ 0x13dc 0x11b4 25 r12 = 0x7ffffffffffffff8 {""} 0x11be 26 r14 = 0x2005 {"%d"} 0x11c5 27 ebp = 1 0x11ca 28 ebx = 0 0x11cc 29 r15d = 0 0x11cf 30 goto 40 @ 0x1205 0x13dc 31 eax = 0 0x13de 32 rsp = rsp + 0x978 0x13e5 33 rbx = pop 0x13e6 34 r12 = pop 0x13e8 35 r13 = pop 0x13ea 36 r14 = pop 0x13ec 37 r15 = pop 0x13ee 38 rbp = pop 0x13ef 39 <return> jump(pop) 0x1205 40 r13 = rsp + (rbx << 2) 0x1209 41 r13 = r13 + 0x10 0x120d 42 rdi = r14 0x1210 43 rsi = r13 0x1213 44 eax = 0 0x1215 45 call(0x1050) 0x121d 46 if (rbx == 0) then 47 @ 0x11e0 else 52 @ 0x121f 0x11e0 47 eax = [r13].d 0x11e4 48 r15 = sx.q(r15d) 0x11e7 49 [rsp + (r15 << 2) + 0x4c0].d = eax 0x11ef 50 r15d = r15d + 1 0x11ef 51 goto 54 @ 0x11f3 0x121f 52 eax = [rsp + (rbx << 2) + 0x10].d 0x1227 53 if (rbx u>= 8) then 57 @ 0x1240 else 66 @ 0x1229 0x11f3 54 rbx = rbx + 1 0x11f7 55 rax = sx.q([rsp + 0xc {var_99c}].d) 0x11ff 56 if (rbx s>= rax) then 69 @ 0x137d else 40 @ 0x1205 0x1240 57 rcx = rbx 0x1243 58 rcx = rcx & r12 0x1246 59 rsi = rcx - 8 0x124a 60 rdx = rsi 0x124d 61 rdx = rdx u>> 3 0x1251 62 rdx = rdx + 1 0x1255 63 xmm0 = eax 0x1259 64 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x1261 65 if (rsi == 0) then 74 @ 0x134c else 78 @ 0x1267 0x1229 66 ecx = 0 0x122b 67 edx = 0 0x122d 68 goto 88 @ 0x1364 0x137d 69 esi = [rsp + 0x4c0 {var_4e8}].d 0x1384 70 rdi = 0x2005 {"%d"} 0x138b 71 eax = 0 0x138d 72 call(0x1030) 0x1396 73 if (r15d s< 2) then 31 @ 0x13dc else 89 @ 0x1398 0x134c 74 xmm1 = 0 0x1350 75 esi = 0 0x1352 76 xmm2 = 0 0x1359 77 if ((dl & 1) != 0) then 93 @ 0x12ef else 106 @ 0x135b 0x1267 78 rdi = rbx 0x126a 79 rdi = rdi & 0xfffffffffffffff8 0x126e 80 rdi = rdi - 8 0x1272 81 rdi = rdi u>> 3 0x1276 82 rdi = rdi + 1 0x127a 83 rdi = rdi & 0xfffffffffffffffe 0x127e 84 xmm3 = 0 0x1282 85 esi = 0 0x1284 86 xmm4 = 0 0x1288 87 goto 107 @ 0x1290 0x1364 88 if (eax == [rsp + (rcx << 2) + 0x10].d) then 129 else 131 @ 0x1367 0x1398 89 ebp = r15d 0x139b 90 ebx = 1 0x13a0 91 r14 = 0x2004 {",%d"} 0x13a7 92 goto 133 @ 0x13b0 0x12ef 93 xmm3 = xmm0 0x12f3 94 xmm3 = __pcmpeqd_xmmdq_memdq(xmm3, [rsp + (rsi << 2) + 0x10].o) 0x12f9 95 xmm4 = [rsp + (rsi << 2) + 0x20].o 0x12ff 96 xmm4 = _mm_cmpeq_epi32(xmm4, xmm0) 0x1303 97 xmm0 = xmm3 0x1307 98 xmm0 = xmm0 & not.o(xmm1) 0x130b 99 xmm0 = _mm_sub_epi32(xmm0, xmm3) 0x130f 100 xmm3 = xmm4 0x1313 101 xmm3 = xmm3 & not.o(xmm2) 0x1317 102 xmm3 = _mm_sub_epi32(xmm3, xmm4) 0x131b 103 xmm1 = xmm0 0x131f 104 xmm2 = xmm3 0x131f 105 goto 139 @ 0x1323 0x135b 106 goto 139 @ 0x1323 0x1290 107 xmm1 = [rsp + (rsi << 2) + 0x10].o 0x1296 108 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0) 0x129a 109 xmm2 = [rsp + (rsi << 2) + 0x20].o 0x12a0 110 xmm2 = _mm_cmpeq_epi32(xmm2, xmm0) 0x12a4 111 xmm5 = [rsp + (rsi << 2) + 0x30].o 0x12aa 112 xmm5 = _mm_cmpeq_epi32(xmm5, xmm0) 0x12ae 113 xmm5 = xmm5 | xmm1 0x12b2 114 xmm6 = [rsp + (rsi << 2) + 0x40].o 0x12b8 115 xmm6 = _mm_cmpeq_epi32(xmm6, xmm0) 0x12bc 116 xmm6 = xmm6 | xmm2 0x12c0 117 xmm1 = xmm5 0x12c4 118 xmm1 = xmm1 & not.o(xmm3) 0x12c8 119 xmm1 = _mm_sub_epi32(xmm1, xmm5) 0x12cc 120 xmm2 = xmm6 0x12d0 121 xmm2 = xmm2 & not.o(xmm4) 0x12d4 122 xmm2 = _mm_sub_epi32(xmm2, xmm6) 0x12d8 123 rsi = rsi + 0x10 0x12dc 124 xmm3 = xmm1 0x12e0 125 xmm4 = xmm2 0x12e4 126 temp0.q = rdi 0x12e4 127 rdi = rdi - 2 0x12e8 128 if (temp0.q != 2) then 107 @ 0x1290 else 150 @ 0x12ed 0x1364 129 edx = ebp 0x1364 130 goto 131 @ 0x1367 0x1367 131 rcx = rcx + 1 0x1367 132 goto 151 @ 0x136e 0x13b0 133 esi = [rsp + (rbx << 2) + 0x4c0].d 0x13b7 134 rdi = r14 0x13ba 135 eax = 0 0x13bc 136 call(0x1030) 0x13c1 137 rbx = rbx + 1 0x13c8 138 if (rbp != rbx) then 133 @ 0x13b0 else 152 @ 0x13ca 0x1323 139 xmm0 = xmm1 0x1327 140 xmm3 = 0 0x132b 141 xmm0 = _mm_cmpeq_epi32(xmm0, xmm3) 0x132f 142 xmm2 = xmm2 & xmm0 0x1333 143 xmm0 = xmm0 & not.o(xmm1) 0x1337 144 xmm0 = xmm0 | xmm2 0x133b 145 xmm0 = _mm_cmpeq_epi32(xmm0, xmm3) 0x133f 146 esi = _mm_movemask_ps(xmm0) 0x1342 147 edx = 0 0x1347 148 dl = esi != 0xf 0x134a 149 goto 151 @ 0x136e 0x12ed 150 if ((dl & 1) == 0) then 139 @ 0x1323 else 93 @ 0x12ef 0x136e 151 if (rbx != rcx) then 88 @ 0x1364 else 153 @ 0x1372 0x13ca 152 goto 31 @ 0x13dc 0x1372 153 if (edx != 0) then 54 @ 0x11f3 else 154 @ 0x1378 0x1378 154 goto 47 @ 0x11e0 int64_t _fini(): 0x13f4 0 rsp = rsp - 8 0x13f8 1 rsp = rsp + 8 0x13fc 2 <return> jump(pop)
POJ_53
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 - 0x9f78 0x1161 7 rdi = 0x2006 {"%d"} 0x1168 8 rsi = rsp + 0xc {var_9f9c} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1179 11 if ([rsp + 0xc {var_9f9c}].d s<= 0) then 12 @ 0x1307 else 21 @ 0x117f 0x1307 12 eax = 0 0x1309 13 rsp = rsp + 0x9f78 0x1310 14 rbx = pop 0x1311 15 r12 = pop 0x1313 16 r13 = pop 0x1315 17 r14 = pop 0x1317 18 r15 = pop 0x1319 19 rbp = pop 0x131a 20 <return> jump(pop) 0x117f 21 r12d = 1 0x1185 22 r13 = rsp + 0x65c {var_994c} 0x118d 23 r14 = 0x2004 {"%d%d"} 0x1194 24 r15 = 0x2009 {"%d\n"} 0x119b 25 goto 26 @ 0x11d4 0x11d4 26 rsi = rsp + (r12 << 2) 0x11d8 27 rsi = rsi + 0x1a0 0x11df 28 rdx = rsp + (r12 << 2) 0x11e3 29 rdx = rdx + 0x10 0x11e7 30 rdi = r14 0x11ea 31 eax = 0 0x11ec 32 call(0x1040) 0x11f1 33 r9 = sx.q([rsp + (r12 << 2) + 0x1a0].d) 0x11f9 34 r8 = sx.q([rsp + (r12 << 2) + 0x10].d) 0x11fe 35 eax = 0xc9 {""} 0x1203 36 rcx = rsp + 0x4cc {var_9adc} 0x120b 37 goto 38 @ 0x1210 0x1210 38 [rcx - 0x19c].d = 1 0x121a 39 [rsp + (rax << 2) + 0x10].d = 1 0x1222 40 [rcx - 8].d = 1 0x1229 41 [rcx - 0x198].d = 1 0x1233 42 [rsp + (rax << 2) + 0x1a0].d = 1 0x123e 43 [rcx - 4].d = 1 0x1245 44 [rcx - 0x194].d = 1 0x124f 45 [rsp + (rax << 2) + 0x330].d = 1 0x125a 46 [rcx].d = 1 0x1260 47 rax = rax + 0x12c 0x1266 48 rcx = rcx + 0xc 0x1270 49 if (rax != 0x14b5) then 38 @ 0x1210 else 50 @ 0x1272 0x1272 50 edx = 2 0x1277 51 rsi = r13 {var_994c} 0x127a 52 r10 = rsp + 0x1ac {var_9dfc} 0x1282 53 goto 54 @ 0x12ac 0x12ac 54 rax = rdx * 0x190 0x12b3 55 ebx = [rsp + rax + 0x334].d 0x12ba 56 ebp = 0 0x12bc 57 rdi = r10 0x12bf 58 goto 59 @ 0x12dd 0x12dd 59 rcx = rbp + 2 0x12e4 60 if (rdx u< rcx) then 61 @ 0x12ec else 64 @ 0x12e6 0x12ec 61 [rsi + (rbp << 2) - 4].d = ebx 0x12f0 62 rax = rcx + 1 0x12f8 63 if (rax == 0x33) then 66 @ 0x1290 else 70 @ 0x12fa 0x12e6 64 ebx = ebx + [rdi + 0x18c].d 0x12e6 65 goto 61 @ 0x12ec 0x1290 66 rdx = rdx + 1 0x1294 67 r10 = r10 + 0x190 0x129b 68 rsi = rsi + 0x190 0x12a6 69 if (rdx == 0x33) then 72 @ 0x11a0 else 54 @ 0x12ac 0x12fa 70 rax = rax - 1 0x1301 71 if (rdx u<= rax) then 84 @ 0x12d0 else 88 @ 0x1303 0x11a0 72 rax = r9 * 0x190 0x11a7 73 rax = rax + rsp 0x11aa 74 rax = rax + 0x330 0x11b0 75 esi = [rax + (r8 << 2)].d 0x11b4 76 rdi = r15 0x11b7 77 eax = 0 0x11b9 78 call(0x1030) 0x11be 79 rax = r12 + 1 0x11c3 80 rcx = sx.q([rsp + 0xc {var_9f9c}].d) 0x11c8 81 cond:0 = r12 s>= rcx 0x11cb 82 r12 = rax 0x11ce 83 if (cond:0) then 12 @ 0x1307 else 26 @ 0x11d4 0x12d0 84 [rsi + (rbp << 2)].d = ebx 0x12d3 85 rdi = rdi - 0x318 0x12da 86 rbp = rcx 0x12da 87 goto 59 @ 0x12dd 0x1303 88 ebx = ebx + [rdi].d 0x1305 89 goto 84 @ 0x12d0 uint64_t way(int32_t arg1, int32_t arg2): 0x1320 0 push(r15) 0x1322 1 push(r14) 0x1324 2 push(rbx) 0x1325 3 rsp = rsp - 0x9bc0 0x132c 4 rax = rsp + 0x11c {var_9abc} 0x1334 5 ecx = 0xc9 {""} 0x1339 6 goto 7 @ 0x1340 0x1340 7 [rax - 0x19c].d = 1 0x134a 8 [rsp + (rcx << 2) - 0x3a0].d = 1 0x1355 9 [rax - 8].d = 1 0x135c 10 [rax - 0x198].d = 1 0x1366 11 [rsp + (rcx << 2) - 0x210].d = 1 0x1371 12 [rax - 4].d = 1 0x1378 13 [rax - 0x194].d = 1 0x1382 14 [rsp + (rcx << 2) - 0x80].d = 1 0x138a 15 [rax].d = 1 0x1390 16 rcx = rcx + 0x12c 0x1397 17 rax = rax + 0xc 0x13a2 18 if (rcx != 0x14b5) then 7 @ 0x1340 else 19 @ 0x13a4 0x13a4 19 r8 = rsp - 0x204 {var_9ddc} 0x13ac 20 r10 = rsp + 0x2ac {var_992c} 0x13b4 21 r14d = 2 0x13ba 22 r11 = rsp - 0x80 {var_9c58} 0x13bf 23 r9d = 0 0x13c2 24 goto 25 @ 0x13f7 0x13f7 25 rax = r9 * 0x190 0x13fe 26 rcx = rsp + rax 0x1402 27 rcx = rcx - 0x78 0x1406 28 rax = rax + rsp 0x1409 29 rax = rax - 0x4ab8 0x1412 30 if (rax u<= rcx) then 31 @ 0x1450 else 36 @ 0x1414 0x1450 31 rax = r14 * 0x190 0x1457 32 ecx = [rsp + rax - 0x7c].d 0x145b 33 edx = 0 0x145d 34 r15 = r8 0x1460 35 goto 39 @ 0x147e 0x1414 36 eax = 0xca {""} 0x1419 37 ecx = 8 0x141e 38 goto 41 @ 0x1437 0x147e 39 rbx = rdx + 2 0x1485 40 if (r14 u< rbx) then 44 @ 0x148e else 47 @ 0x1487 0x1437 41 rbx = rax - 0xc8 0x143e 42 edx = [r11 + (rax << 2) - 4].d 0x1446 43 if (r14 u< rbx) then 49 @ 0x1420 else 53 @ 0x1448 0x148e 44 [r10 + (rdx << 2) - 4].d = ecx 0x1493 45 rax = rbx + 1 0x149b 46 if (rax == 0x33) then 55 @ 0x13d0 else 61 @ 0x14a1 0x1487 47 ecx = ecx + [r15 + 0x18c].d 0x1487 48 goto 44 @ 0x148e 0x1420 49 [r11 + (rax << 2)].d = edx 0x1424 50 rax = rax + 1 0x1428 51 rcx = rcx - 0x18c 0x1435 52 if (rax == 0xfb) then 55 @ 0x13d0 else 41 @ 0x1437 0x1448 53 edx = edx + [r11 + rcx].d 0x144c 54 goto 49 @ 0x1420 0x13d0 55 r14 = r14 + 1 0x13d4 56 r9 = r9 + 1 0x13d8 57 r8 = r8 + 0x190 0x13df 58 r10 = r10 + 0x190 0x13e6 59 r11 = r11 + 0x190 0x13f1 60 if (r14 == 0x33) then 63 @ 0x14af else 25 @ 0x13f7 0x14a1 61 rax = rax - 1 0x14a8 62 if (r14 u<= rax) then 74 @ 0x1470 else 78 @ 0x14aa 0x14af 63 rax = sx.q(edi) 0x14b2 64 rcx = sx.q(esi) 0x14b5 65 rax = rax * 0x190 0x14bc 66 rax = rax + rsp 0x14bf 67 rax = rax - 0x80 0x14c3 68 eax = [rax + (rcx << 2)].d 0x14c6 69 rsp = rsp + 0x9bc0 0x14cd 70 rbx = pop 0x14ce 71 r14 = pop 0x14d0 72 r15 = pop 0x14d2 73 <return> jump(pop) 0x1470 74 [r10 + (rdx << 2)].d = ecx 0x1474 75 r15 = r15 - 0x318 0x147b 76 rdx = rbx 0x147b 77 goto 39 @ 0x147e 0x14aa 78 ecx = ecx + [r15].d 0x14ad 79 goto 74 @ 0x1470 int64_t _fini(): 0x14d8 0 rsp = rsp - 8 0x14dc 1 rsp = rsp + 8 0x14e0 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) double pow(double x, double y): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"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 rdi = 0x2010 {"%d"} 0x116b 3 rsi = 0x4050 {""} 0x1172 4 al = 0 0x1174 5 call(0x1050) 0x1183 6 if ([0x4050].d s< 0x2710) then 7 @ 0x11b3 else 8 @ 0x1189 0x11b3 7 if ([0x4050].d s< 0x3e8) then 13 @ 0x11e0 else 14 @ 0x11b9 0x1189 8 [0x4054].d = 4 0x1193 9 edi = [0x4050].d 0x1199 10 esi = [0x4054].d 0x119f 11 call(0x12b0) 0x11a4 12 goto 19 @ 0x125d 0x11e0 13 if ([0x4050].d s< 0x64) then 21 @ 0x120d else 22 @ 0x11e6 0x11b9 14 [0x4054].d = 3 0x11c3 15 edi = [0x4050].d 0x11c9 16 esi = [0x4054].d 0x11cf 17 call(0x12b0) 0x11d4 18 goto 27 @ 0x1258 0x125d 19 [0x4058].d = 0 0x125d 20 goto 28 @ 0x1267 0x120d 21 if ([0x4050].d s< 0xa) then 30 @ 0x1233 else 35 @ 0x1213 0x11e6 22 [0x4054].d = 2 0x11f0 23 edi = [0x4050].d 0x11f6 24 esi = [0x4054].d 0x11fc 25 call(0x12b0) 0x1201 26 goto 40 @ 0x1253 0x1258 27 goto 19 @ 0x125d 0x1267 28 eax = [0x4058].d 0x1273 29 if (eax s> [0x4054].d) then 41 @ 0x12ac else 43 @ 0x1279 0x1233 30 [0x4054].d = 0 0x123d 31 edi = [0x4050].d 0x1243 32 esi = [0x4054].d 0x1249 33 call(0x12b0) 0x1249 34 goto 53 @ 0x124e 0x1213 35 [0x4054].d = 1 0x121d 36 edi = [0x4050].d 0x1223 37 esi = [0x4054].d 0x1229 38 call(0x12b0) 0x122e 39 goto 53 @ 0x124e 0x1253 40 goto 27 @ 0x1258 0x12ac 41 rbp = pop 0x12ad 42 <return> jump(pop) 0x1279 43 rcx = sx.q([0x4058].d) 0x1280 44 rax = 0x4060 {""} 0x1287 45 esi = [rax + (rcx << 2)].d 0x128a 46 rdi = 0x2010 {"%d"} 0x1291 47 al = 0 0x1293 48 call(0x1030) 0x1298 49 eax = [0x4058].d 0x129e 50 eax = eax + 1 0x12a1 51 [0x4058].d = eax 0x12a7 52 goto 28 @ 0x1267 0x124e 53 goto 40 @ 0x1253 void move(double arg1, double arg2): 0x12b0 0 push(rbp) 0x12b1 1 rbp = rsp {__saved_rbp} 0x12b4 2 rsp = rsp - 0x20 0x12b8 3 [rbp - 4 {var_c}].d = edi 0x12bb 4 [rbp - 8 {var_10}].d = esi 0x12c2 5 if ([rbp - 8 {var_10}].d s<= 0) then 6 @ 0x1336 else 7 @ 0x12c8 0x1336 6 if ([rbp - 8 {var_10}].d != 0) then 53 @ 0x134d else 54 @ 0x133c 0x12c8 7 eax = [rbp - 4 {var_c}].d 0x12cb 8 [rbp - 0x14 {var_1c_1}].d = eax 0x12ce 9 xmm1.q = float.d([rbp - 8 {var_10}].d) 0x12d3 10 xmm0 = zx.o([0x2008].q) 0x12db 11 call(0x1040) 0x12e0 12 eax = [rbp - 0x14 {var_1c_1}].d 0x12e3 13 ecx = int.d(ftrunc(xmm0.q)) 0x12e7 14 temp2.d:temp3.d = sx.q(eax) 0x12e7 15 edx = temp2.d 0x12e7 16 eax = temp3.d 0x12e8 17 temp4.d = edx 0x12e8 18 temp5.d = eax 0x12e8 19 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x12e8 20 temp6.d = edx 0x12e8 21 temp7.d = eax 0x12e8 22 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x12e8 23 eax = temp0.d 0x12e8 24 edx = temp1.d 0x12ea 25 edx = eax 0x12ec 26 rcx = sx.q([rbp - 8 {var_10}].d) 0x12f0 27 rax = 0x4060 {""} 0x12f7 28 [rax + (rcx << 2)].d = edx 0x12fa 29 eax = [rbp - 4 {var_c}].d 0x12fd 30 [rbp - 0x10 {var_18_1}].d = eax 0x1300 31 xmm1.q = float.d([rbp - 8 {var_10}].d) 0x1305 32 xmm0 = zx.o([0x2008].q) 0x130d 33 call(0x1040) 0x1312 34 eax = [rbp - 0x10 {var_18_1}].d 0x1315 35 ecx = int.d(ftrunc(xmm0.q)) 0x1319 36 temp8.d:temp9.d = sx.q(eax) 0x1319 37 edx = temp8.d 0x1319 38 eax = temp9.d 0x131a 39 temp10.d = edx 0x131a 40 temp11.d = eax 0x131a 41 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x131a 42 temp12.d = edx 0x131a 43 temp13.d = eax 0x131a 44 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x131a 45 eax = temp0.d 0x131a 46 edx = temp1.d 0x131c 47 [rbp - 0xc {var_14_1}].d = edx 0x131f 48 edi = [rbp - 0xc {var_14_1}].d 0x1322 49 esi = [rbp - 8 {var_10}].d 0x1325 50 esi = esi - 1 0x1328 51 call(0x12b0) 0x132d 52 goto 59 @ 0x1352 0x134d 53 goto 59 @ 0x1352 0x133c 54 edx = [rbp - 4 {var_c}].d 0x133f 55 rcx = sx.q([rbp - 8 {var_10}].d) 0x1343 56 rax = 0x4060 {""} 0x134a 57 [rax + (rcx << 2)].d = edx 0x134a 58 goto 53 @ 0x134d 0x1352 59 rsp = rsp + 0x20 0x1356 60 rbp = pop 0x1357 61 <return> jump(pop) int64_t _fini(): 0x135c 0 rsp = rsp - 8 0x1360 1 rsp = rsp + 8 0x1364 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) 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 [rbp - 0x10 {var_18}].d = 0 0x1179 5 rdi = 0x2007 {"%d"} 0x1180 6 rsi = rbp - 8 {var_10} 0x1184 7 al = 0 0x1186 8 call(0x1050) 0x118b 9 rdi = rbp - 0x9c60 {var_9c68} 0x1192 10 esi = 0 0x1194 11 edx = 0x9c40 {""} 0x1199 12 call(0x1040) 0x119e 13 rdi = rbp - 0x138a0 {var_138a8} 0x11a5 14 esi = 0 0x11a7 15 edx = 0x9c40 {""} 0x11ac 16 call(0x1040) 0x11b1 17 [rbp - 0xc {var_14}].d = 1 0x11b1 18 goto 19 @ 0x11b8 0x11b8 19 rdi = 0x2004 {"%d %d"} 0x11bf 20 rsi = rbp - 0x138a4 {var_138ac} 0x11c6 21 rdx = rbp - 0x138a8 {var_138b0} 0x11cd 22 al = 0 0x11cf 23 call(0x1050) 0x11db 24 if ([rbp - 0x138a4 {var_138ac}].d != 0) then 25 @ 0x11f3 else 34 @ 0x11e8 0x11f3 25 rax = sx.q([rbp - 0x138a4 {var_138ac}].d) 0x11fa 26 ecx = [rbp + (rax << 2) - 0x9c60].d 0x1201 27 ecx = ecx + 1 0x1204 28 [rbp + (rax << 2) - 0x9c60].d = ecx 0x120b 29 rax = sx.q([rbp - 0x138a8 {var_138b0}].d) 0x1212 30 ecx = [rbp + (rax << 2) - 0x138a0].d 0x1219 31 ecx = ecx + 1 0x121c 32 [rbp + (rax << 2) - 0x138a0].d = ecx 0x1223 33 goto 35 @ 0x1228 0x11e8 34 if ([rbp - 0x138a8 {var_138b0}].d != 0) then 25 @ 0x11f3 else 39 @ 0x11ee 0x1228 35 eax = [rbp - 0xc {var_14}].d 0x122b 36 eax = eax + 1 0x122e 37 [rbp - 0xc {var_14}].d = eax 0x1231 38 goto 19 @ 0x11b8 0x11ee 39 goto 40 @ 0x1236 0x1236 40 [rbp - 0x14 {var_1c}].d = 0 0x1236 41 goto 42 @ 0x123d 0x123d 42 eax = [rbp - 0x14 {var_1c}].d 0x1243 43 if (eax s>= [rbp - 8 {var_10}].d) then 44 @ 0x12a5 else 45 @ 0x1249 0x12a5 44 if ([rbp - 0x10 {var_18}].d != 0) then 47 @ 0x12b9 else 51 @ 0x12ab 0x1249 45 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x1255 46 if ([rbp + (rax << 2) - 0x9c60].d != 0) then 55 @ 0x128e else 56 @ 0x125b 0x12b9 47 eax = [rbp - 4 {var_c}].d 0x12bc 48 rsp = rsp + 0x138b0 0x12c3 49 rbp = pop 0x12c4 50 <return> jump(pop) 0x12ab 51 rdi = 0x200e {"NOT FOUND"} 0x12b2 52 al = 0 0x12b4 53 call(0x1030) 0x12b4 54 goto 47 @ 0x12b9 0x128e 55 goto 61 @ 0x1293 0x125b 56 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x125f 57 eax = [rbp + (rax << 2) - 0x138a0].d 0x1266 58 ecx = [rbp - 8 {var_10}].d 0x1269 59 ecx = ecx - 1 0x126e 60 if (eax != ecx) then 55 @ 0x128e else 65 @ 0x1274 0x1293 61 eax = [rbp - 0x14 {var_1c}].d 0x1296 62 eax = eax + 1 0x1299 63 [rbp - 0x14 {var_1c}].d = eax 0x129c 64 goto 42 @ 0x123d 0x1274 65 esi = [rbp - 0x14 {var_1c}].d 0x1277 66 rdi = 0x200a {"%d\n"} 0x127e 67 al = 0 0x1280 68 call(0x1030) 0x1285 69 eax = [rbp - 0x10 {var_18}].d 0x1288 70 eax = eax + 1 0x128b 71 [rbp - 0x10 {var_18}].d = eax 0x128b 72 goto 55 @ 0x128e int64_t _fini(): 0x12cc 0 rsp = rsp - 8 0x12d0 1 rsp = rsp + 8 0x12d4 2 <return> jump(pop)
POJ_89
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 char* gets(char* buf): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t strcmp(char const* arg1, char const* arg2): 0x1040 0 <return> tailcall([0x4020].q) int32_t 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 {"H"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 rsp = rsp - 0xa8 0x1167 1 rdi = rsp + 0x50 {var_58} 0x116c 2 eax = 0 0x116e 3 call(0x1030) 0x1173 4 rdi = rsp {var_a8} 0x1176 5 eax = 0 0x1178 6 call(0x1030) 0x117d 7 al = [rsp + 0x50 {var_58}].b 0x1183 8 if (al == 0) then 9 @ 0x11aa else 11 @ 0x1185 0x11aa 9 al = [rsp {var_a8}].b 0x11af 10 if (al == 0) then 13 @ 0x11da else 23 @ 0x11b1 0x1185 11 rcx = rsp + 0x51 {var_57} 0x118a 12 goto 25 @ 0x119b 0x11da 13 rdi = rsp + 0x50 {var_58} 0x11df 14 rsi = rsp {var_a8} 0x11e2 15 call(0x1040) 0x11e7 16 ecx = eax 0x11e9 17 ecx = not.d(ecx) 0x11eb 18 ecx = ecx u>> 0x1f 0x11ee 19 cond:0 = eax != 0 0x11f0 20 eax = (rcx + rcx + 0x3c).d 0x11f4 21 edi = 0x3d {""} 0x11f9 22 if (cond:0) then 27 else 29 @ 0x11fc 0x11b1 23 rcx = rsp + 1 {var_a7} 0x11b6 24 goto 33 @ 0x11cb 0x119b 25 edx = (rax - 0x61).d 0x11a1 26 if (dl u> 0x19) then 35 @ 0x1190 else 38 @ 0x11a3 0x11f9 27 edi = eax 0x11f9 28 goto 29 @ 0x11fc 0x11fc 29 call(0x1050) 0x1201 30 eax = 0 0x1203 31 rsp = rsp + 0xa8 0x120a 32 <return> jump(pop) 0x11cb 33 edx = (rax - 0x61).d 0x11d1 34 if (dl u> 0x19) then 41 @ 0x11c0 else 44 @ 0x11d3 0x1190 35 eax = zx.d([rcx].b) 0x1193 36 rcx = rcx + 1 0x1199 37 if (al == 0) then 9 @ 0x11aa else 25 @ 0x119b 0x11a3 38 al = al - 0x20 0x11a5 39 [rcx - 1].b = al 0x11a8 40 goto 35 @ 0x1190 0x11c0 41 eax = zx.d([rcx].b) 0x11c3 42 rcx = rcx + 1 0x11c9 43 if (al == 0) then 13 @ 0x11da else 33 @ 0x11cb 0x11d3 44 al = al - 0x20 0x11d5 45 [rcx - 1].b = al 0x11d8 46 goto 41 @ 0x11c0 int64_t _fini(): 0x1210 0 rsp = rsp - 8 0x1214 1 rsp = rsp + 8 0x1218 2 <return> jump(pop)
POJ_95
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 {"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 - 0x1a0 0x116c 4 rdi = 0x2004 {"%d%d"} 0x1173 5 rsi = rsp + 8 {var_1b0} 0x1178 6 rdx = rsp + 0xc {var_1ac} 0x117d 7 eax = 0 0x117f 8 call(0x1040) 0x1184 9 eax = [rsp + 8 {var_1b0}].d 0x118a 10 if (eax s<= 0) then 11 @ 0x11bf else 15 @ 0x118c 0x11bf 11 ecx = [rsp + 0xc {var_1ac}].d 0x11c3 12 edx = eax 0x11c5 13 edx = edx - ecx 0x11c9 14 if (edx s>= eax) then 19 @ 0x120a else 22 @ 0x11cb 0x118c 15 r15 = rsp + 0x10 {var_1a8} 0x1191 16 r14 = 0x2006 {"%d"} 0x1198 17 ebx = 0 0x119a 18 goto 25 @ 0x11a0 0x120a 19 ecx = not.d(ecx) 0x120c 20 ecx = ecx + eax 0x1210 21 if (ecx s<= 0) then 33 @ 0x124f else 35 @ 0x1212 0x11cb 22 rbx = sx.q(edx) 0x11ce 23 r14 = 0x2006 {"%d"} 0x11df 24 goto 38 @ 0x11e0 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 + 8 {var_1b0}].d) 0x11b6 31 r15 = r15 + 4 0x11bd 32 if (rbx s< rax) then 25 @ 0x11a0 else 11 @ 0x11bf 0x124f 33 rax = sx.q(ecx) 0x124f 34 goto 47 @ 0x1252 0x1212 35 r14 = 0x2006 {"%d"} 0x1219 36 ebx = 0 0x121b 37 goto 57 @ 0x1220 0x11e0 38 esi = [rsp + (rbx << 2) + 0x10].d 0x11e4 39 rdi = r14 0x11e7 40 eax = 0 0x11e9 41 call(0x1030) 0x11ee 42 edi = 0x20 {"@"} 0x11f3 43 call(0x1050) 0x11f8 44 rbx = rbx + 1 0x11fc 45 rax = sx.q([rsp + 8 {var_1b0}].d) 0x1204 46 if (rbx s< rax) then 38 @ 0x11e0 else 69 @ 0x1206 0x1252 47 esi = [rsp + (rax << 2) + 0x10].d 0x1256 48 rdi = 0x2006 {"%d"} 0x125d 49 eax = 0 0x125f 50 call(0x1030) 0x1264 51 eax = 0 0x1266 52 rsp = rsp + 0x1a0 0x126d 53 rbx = pop 0x126e 54 r14 = pop 0x1270 55 r15 = pop 0x1272 56 <return> jump(pop) 0x1220 57 esi = [rsp + (rbx << 2) + 0x10].d 0x1224 58 rdi = r14 0x1227 59 eax = 0 0x1229 60 call(0x1030) 0x122e 61 edi = 0x20 {"@"} 0x1233 62 call(0x1050) 0x1238 63 rbx = rbx + 1 0x123c 64 eax = [rsp + 0xc {var_1ac}].d 0x1240 65 eax = not.d(eax) 0x1242 66 eax = eax + [rsp + 8 {var_1b0}].d 0x1246 67 rax = sx.q(eax) 0x124b 68 if (rbx s< rax) then 57 @ 0x1220 else 71 @ 0x124d 0x1206 69 ecx = [rsp + 0xc {var_1ac}].d 0x1206 70 goto 19 @ 0x120a 0x124d 71 goto 47 @ 0x1252 int64_t _fini(): 0x1278 0 rsp = rsp - 8 0x127c 1 rsp = rsp + 8 0x1280 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) 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 {"UAWAVSPH="} 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 push(rax) 0x1167 5 rdi = 0x2010 {"%d"} 0x116e 6 rsi = rsp + 4 {var_28+0x4} 0x1173 7 eax = 0 0x1175 8 call(0x1040) 0x117f 9 if ([rsp + 4 {var_28+0x4}].d s< 2) then 10 @ 0x12af else 14 @ 0x1185 0x12af 10 rdi = 0x201a {"empty"} 0x12b6 11 eax = 0 0x12b8 12 call(0x1030) 0x12b8 13 goto 18 @ 0x12bd 0x1185 14 ebx = 2 0x118a 15 r14 = 0x2013 {"%d %d\n"} 0x1191 16 r15d = 0 0x1194 17 goto 24 @ 0x11af 0x12bd 18 rsp = rsp + 8 0x12c1 19 rbx = pop 0x12c2 20 r14 = pop 0x12c4 21 r15 = pop 0x12c6 22 rbp = pop 0x12c7 23 <return> jump(pop) 0x11af 24 xmm0 = 0 0x11b2 25 xmm0.q = float.d(ebx) 0x11b6 26 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11b6 27 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11b6 28 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11b6 29 flag:s = 0 0x11b6 30 flag:o = 0 0x11b6 31 flag:a = 0 0x11be 32 if (flag:c) then 33 @ 0x11d0 else 36 @ 0x11c0 0x11d0 33 call(0x1050) 0x11d5 34 ecx = int.d(ftrunc(xmm0.q)) 0x11dc 35 if (ecx s< 2) then 39 @ 0x120c else 49 @ 0x11de 0x11c0 36 xmm0 = _mm_sqrt_sd(xmm0.q) 0x11c4 37 ecx = int.d(ftrunc(xmm0.q)) 0x11cb 38 if (ecx s>= 2) then 49 @ 0x11de else 52 @ 0x11cd 0x120c 39 ebp = (rbx + 2).d 0x120f 40 xmm0 = 0 0x1212 41 xmm0.q = float.d(ebp) 0x1216 42 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1216 43 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1216 44 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1216 45 flag:s = 0 0x1216 46 flag:o = 0 0x1216 47 flag:a = 0 0x121e 48 if (flag:c) then 53 @ 0x1240 else 57 @ 0x1220 0x11de 49 ecx = neg.d(ecx) 0x11e0 50 esi = 2 0x11ef 51 goto 61 @ 0x11f0 0x11cd 52 goto 39 @ 0x120c 0x1240 53 call(0x1050) 0x1245 54 edi = int.d(ftrunc(xmm0.q)) 0x1249 55 esi = 2 0x1251 56 if (edi s< 2) then 73 @ 0x1281 else 74 @ 0x1253 0x1220 57 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1224 58 edi = int.d(ftrunc(xmm0.q)) 0x1228 59 esi = 2 0x1230 60 if (edi s>= 2) then 74 @ 0x1253 else 79 @ 0x1232 0x11f0 61 eax = ebx 0x11f2 62 edx = 0 0x11f4 63 temp2.d = esi 0x11f4 64 temp3.d = edx 0x11f4 65 temp4.d = eax 0x11f4 66 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x11f4 67 temp5.d = edx 0x11f4 68 temp6.d = eax 0x11f4 69 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x11f4 70 eax = temp0.d 0x11f4 71 edx = temp1.d 0x11f8 72 if (edx == 0) then 80 @ 0x11a0 else 84 @ 0x11fa 0x1281 73 if (esi s<= edi) then 80 @ 0x11a0 else 90 @ 0x128b 0x1253 74 r8d = (rdi + 1).d 0x1257 75 ecx = edi 0x1259 76 ecx = neg.d(ecx) 0x125b 77 esi = 2 0x125b 78 goto 91 @ 0x1260 0x1232 79 goto 73 @ 0x1281 0x11a0 80 eax = (rbx + 1).d 0x11a3 81 cond:0 = ebx s>= [rsp + 4 {var_28+0x4}].d 0x11a7 82 ebx = eax 0x11a9 83 if (cond:0) then 103 @ 0x12ad else 24 @ 0x11af 0x11fa 84 eax = (rcx + rsi).d 0x11fd 85 eax = eax + 1 0x1200 86 edx = esi 0x1202 87 edx = edx + 1 0x1205 88 esi = edx 0x120a 89 if (eax != 1) then 61 @ 0x11f0 else 39 @ 0x120c 0x128b 90 if (ebp s> [rsp + 4 {var_28+0x4}].d) then 80 @ 0x11a0 else 104 @ 0x1291 0x1260 91 eax = ebp 0x1262 92 edx = 0 0x1264 93 temp2.d = esi 0x1264 94 temp7.d = edx 0x1264 95 temp8.d = eax 0x1264 96 temp0.d = divu.dp.d(temp7.d:temp8.d, temp2.d) 0x1264 97 temp9.d = edx 0x1264 98 temp10.d = eax 0x1264 99 temp1.d = modu.dp.d(temp9.d:temp10.d, temp2.d) 0x1264 100 eax = temp0.d 0x1264 101 edx = temp1.d 0x1268 102 if (edx == 0) then 73 @ 0x1281 else 111 @ 0x126a 0x12ad 103 if (r15d != 0) then 18 @ 0x12bd else 10 @ 0x12af 0x1291 104 rdi = r14 0x1294 105 esi = ebx 0x1296 106 edx = ebp 0x1298 107 eax = 0 0x129a 108 call(0x1030) 0x129f 109 r15d = 1 0x12a5 110 goto 80 @ 0x11a0 0x126a 111 eax = (rcx + rsi).d 0x126d 112 eax = eax + 1 0x1270 113 edx = esi 0x1272 114 edx = edx + 1 0x1275 115 esi = edx 0x127a 116 if (eax != 1) then 91 @ 0x1260 else 117 @ 0x127c 0x127c 117 esi = r8d 0x127c 118 goto 73 @ 0x1281 int64_t _fini(): 0x12cc 0 rsp = rsp - 8 0x12d0 1 rsp = rsp + 8 0x12d4 2 <return> jump(pop)
POJ_60
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) 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 - 0x600 0x117c 4 rdi = rsp + 0x200 {var_418} 0x1184 5 edx = 0x3fc {""} 0x1189 6 esi = 0 0x118b 7 call(0x1040) 0x1190 8 rbx = rsp + 0x100 {var_518} 0x1198 9 rdi = rbx {var_518} 0x119b 10 eax = 0 0x119d 11 call(0x1060) 0x11a2 12 r14 = rsp {var_618} 0x11a5 13 rdi = r14 {var_618} 0x11a8 14 eax = 0 0x11aa 15 call(0x1060) 0x11af 16 rdi = rbx {var_518} 0x11b2 17 call(0x1050) 0x11b7 18 r15 = rax 0x11ba 19 rdi = r14 {var_618} 0x11bd 20 call(0x1050) 0x11c6 21 if (r15d s< 2) then 22 @ 0x12a9 else 23 @ 0x11cc 0x12a9 22 if (eax s< 2) then 29 @ 0x135a else 30 @ 0x12af 0x11cc 23 r8 = r15 0x11cf 24 r8 = r8 u>> 1 0x11d2 25 r11d = r8d 0x11d5 26 r11d = r11d & 0x7fffffff 0x11dc 27 r8d = r8d & 1 0x11e4 28 if (r11 != 1) then 36 @ 0x11ed else 45 @ 0x11e6 0x135a 29 if (r15d s<= eax) then 47 @ 0x14ab else 48 @ 0x1362 0x12af 30 r8 = rax 0x12b2 31 r8 = r8 u>> 1 0x12b5 32 r11d = r8d 0x12b8 33 r11d = r11d & 0x7fffffff 0x12bf 34 r8d = r8d & 1 0x12c7 35 if (r11 != 1) then 49 @ 0x12cd else 58 @ 0x12c9 0x11ed 36 r10 = -0x200000000 0x11f7 37 r11 = r11 - r8 0x11fa 38 rdx = r15 0x11fd 39 rdx = rdx << 0x20 0x1201 40 r14 = rdx + r10 0x1205 41 rdi = -0x100000000 0x120f 42 rdi = rdi + rdx 0x1212 43 edx = 0 0x121e 44 goto 60 @ 0x1220 0x11e6 45 edx = 0 0x11e8 46 goto 76 @ 0x127e 0x14ab 47 if (r15d s<= 0) then 77 @ 0x15cd else 78 @ 0x14b1 0x1362 48 if (eax s<= 0) then 85 @ 0x148a else 90 @ 0x1368 0x12cd 49 r10 = -0x200000000 0x12d7 50 r11 = r11 - r8 0x12da 51 rdx = rax 0x12dd 52 rdx = rdx << 0x20 0x12e1 53 r14 = rdx + r10 0x12e5 54 rdi = -0x100000000 0x12ef 55 rdi = rdi + rdx 0x12f2 56 edx = 0 0x12fe 57 goto 97 @ 0x1300 0x12c9 58 edx = 0 0x12cb 59 goto 113 @ 0x1340 0x1220 60 r9d = zx.d([rsp + rdx + 0x100].b) 0x1229 61 rcx = rdi 0x122c 62 rcx = rcx s>> 0x20 0x1230 63 ebx = zx.d([rsp + rcx + 0x100].b) 0x1238 64 [rsp + rdx + 0x100].b = bl 0x123f 65 [rsp + rcx + 0x100].b = r9b 0x1247 66 ecx = zx.d([rsp + rdx + 0x101].b) 0x124f 67 rsi = r14 0x1252 68 rsi = rsi s>> 0x20 0x1256 69 ebx = zx.d([rsp + rsi + 0x100].b) 0x125e 70 [rsp + rdx + 0x101].b = bl 0x1265 71 [rsp + rsi + 0x100].b = cl 0x126c 72 rdx = rdx + 2 0x1270 73 r14 = r14 + r10 0x1273 74 rdi = rdi + r10 0x1279 75 if (r11 != rdx) then 60 @ 0x1220 else 76 @ 0x127e 0x127e 76 if (r8 == 0) then 22 @ 0x12a9 else 114 @ 0x1280 0x15cd 77 if (r15d s>= eax) then 123 @ 0x1822 else 124 @ 0x15d3 0x14b1 78 ecx = r15d 0x14b4 79 edx = sx.d([rsp + 0x100 {var_518}].b) 0x14bc 80 esi = sx.d([rsp {var_618}].b) 0x14c0 81 edx = edx + esi 0x14c2 82 edx = edx - 0x60 0x14c5 83 [rsp + 0x200 {var_418}].d = edx 0x14d0 84 if (rcx == 1) then 77 @ 0x15cd else 129 @ 0x14d6 0x148a 85 rdx = sx.q(eax) 0x148d 86 rax = sx.q(r15d) 0x1490 87 r8 = rax 0x1493 88 r8 = r8 - rdx 0x149a 89 if (r8 u>= 8) then 132 @ 0x15f1 else 142 @ 0x14a0 0x1368 90 ecx = eax 0x136a 91 edx = sx.d([rsp + 0x100 {var_518}].b) 0x1372 92 esi = sx.d([rsp {var_618}].b) 0x1376 93 edx = edx + esi 0x1378 94 edx = edx - 0x60 0x137b 95 [rsp + 0x200 {var_418}].d = edx 0x1386 96 if (rcx == 1) then 85 @ 0x148a else 144 @ 0x138c 0x1300 97 r9d = zx.d([rsp + rdx].b) 0x1305 98 rcx = rdi 0x1308 99 rcx = rcx s>> 0x20 0x130c 100 ebx = zx.d([rsp + rcx].b) 0x1310 101 [rsp + rdx].b = bl 0x1313 102 [rsp + rcx].b = r9b 0x1317 103 ecx = zx.d([rsp + rdx + 1].b) 0x131c 104 rsi = r14 0x131f 105 rsi = rsi s>> 0x20 0x1323 106 ebx = zx.d([rsp + rsi].b) 0x1327 107 [rsp + rdx + 1].b = bl 0x132b 108 [rsp + rsi].b = cl 0x132e 109 rdx = rdx + 2 0x1332 110 r14 = r14 + r10 0x1335 111 rdi = rdi + r10 0x133b 112 if (r11 != rdx) then 97 @ 0x1300 else 113 @ 0x1340 0x1340 113 if (r8 == 0) then 29 @ 0x135a else 147 @ 0x1342 0x1280 114 cl = [rsp + rdx + 0x100].b 0x1287 115 esi = edx 0x1289 116 esi = not.d(esi) 0x128b 117 esi = esi + r15d 0x128e 118 rsi = sx.q(esi) 0x1291 119 bl = [rsp + rsi + 0x100].b 0x1298 120 [rsp + rdx + 0x100].b = bl 0x129f 121 [rsp + rsi + 0x100].b = cl 0x129f 122 goto 22 @ 0x12a9 0x1822 123 if (eax s<= 0) then 156 @ 0x1873 else 157 @ 0x1824 0x15d3 124 rcx = sx.q(r15d) 0x15d6 125 r9 = sx.q(eax) 0x15d9 126 r8 = r9 0x15dc 127 r8 = r8 - rcx 0x15e3 128 if (r8 u>= 8) then 161 @ 0x176c else 171 @ 0x15e9 0x14d6 129 r8 = rcx - 1 0x14da 130 edx = 1 0x14e3 131 if (r8 u< 8) then 173 @ 0x15a0 else 182 @ 0x14e9 0x15f1 132 rsi = r8 0x15f4 133 rsi = rsi & 0xfffffffffffffff8 0x15f8 134 rcx = rdx + rsi 0x15fc 135 rdi = rsp + (rdx << 2) 0x1600 136 rdi = rdi + 0x210 0x1607 137 rbx = rsp + rdx 0x160b 138 rbx = rbx + 0x104 0x1612 139 edx = 0 0x1614 140 xmm0 = [0x2020].o 0x161c 141 goto 188 @ 0x1620 0x14a0 142 rcx = rdx 0x14a3 143 goto 206 @ 0x1680 0x138c 144 r8 = rcx - 1 0x1390 145 edx = 1 0x1399 146 if (r8 u< 8) then 213 @ 0x1460 else 222 @ 0x139f 0x1342 147 cl = [rsp + rdx].b 0x1345 148 esi = edx 0x1347 149 esi = not.d(esi) 0x1349 150 esi = esi + eax 0x134b 151 rsi = sx.q(esi) 0x134e 152 bl = [rsp + rsi].b 0x1351 153 [rsp + rdx].b = bl 0x1354 154 [rsp + rsi].b = cl 0x1354 155 goto 29 @ 0x135a 0x1873 156 if (eax s< 0) then 228 @ 0x18c7 else 234 @ 0x1875 0x1824 157 ecx = eax 0x1826 158 esi = [rsp + 0x200 {var_418}].d 0x182d 159 edx = 0 0x182f 160 goto 237 @ 0x1830 0x176c 161 rdi = r8 0x176f 162 rdi = rdi & 0xfffffffffffffff8 0x1773 163 rdx = rcx + rdi 0x1777 164 rbx = rsp + (rcx << 2) 0x177b 165 rbx = rbx + 0x210 0x1782 166 rsi = rsp + rcx 0x1786 167 rsi = rsi + 4 0x178a 168 ecx = 0 0x178c 169 xmm0 = [0x2020].o 0x179e 170 goto 253 @ 0x17a0 0x15e9 171 rdx = rcx 0x15ec 172 goto 271 @ 0x1800 0x15a0 173 esi = [rsp + (rdx << 2) + 0x200].d 0x15a7 174 edi = sx.d([rsp + rdx + 0x100].b) 0x15af 175 ebx = sx.d([rsp + rdx].b) 0x15b3 176 ebx = ebx + edi 0x15b5 177 esi = esi + ebx 0x15b7 178 esi = esi - 0x60 0x15ba 179 [rsp + (rdx << 2) + 0x200].d = esi 0x15c1 180 rdx = rdx + 1 0x15c8 181 if (rcx != rdx) then 173 @ 0x15a0 else 77 @ 0x15cd 0x14e9 182 rdi = r8 0x14ec 183 rdi = rdi & 0xfffffffffffffff8 0x14f0 184 rdx = rdi + 1 0x14f4 185 esi = 0 0x14f6 186 xmm0 = [0x2010].o 0x14fe 187 goto 278 @ 0x1500 0x1620 188 xmm1 = [rdi + (rdx << 2) - 0x10].o 0x1626 189 xmm2 = [rdi + (rdx << 2)].o 0x162b 190 xmm3 = [rbx + rdx - 4].d 0x1631 191 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x1635 192 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x1639 193 xmm4 = [rbx + rdx].d 0x163e 194 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x1642 195 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x1646 196 xmm3 = _mm_srai_epi32(xmm3, 0x18) 0x164b 197 xmm4 = _mm_srai_epi32(xmm4, 0x18) 0x1650 198 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1654 199 xmm1 = _mm_add_epi32(xmm1, xmm3) 0x1658 200 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x165c 201 xmm2 = _mm_add_epi32(xmm2, xmm4) 0x1660 202 [rdi + (rdx << 2) - 0x10].o = xmm1 0x1666 203 [rdi + (rdx << 2)].o = xmm2 0x166b 204 rdx = rdx + 8 0x1672 205 if (rsi != rdx) then 188 @ 0x1620 else 306 @ 0x1677 0x1680 206 edx = [rsp + (rcx << 2) + 0x200].d 0x1687 207 esi = sx.d([rsp + rcx + 0x100].b) 0x168f 208 edx = edx + esi 0x1691 209 edx = edx - 0x30 0x1694 210 [rsp + (rcx << 2) + 0x200].d = edx 0x169b 211 rcx = rcx + 1 0x16a2 212 if (rax != rcx) then 206 @ 0x1680 else 307 @ 0x16a7 0x1460 213 esi = [rsp + (rdx << 2) + 0x200].d 0x1467 214 edi = sx.d([rsp + rdx + 0x100].b) 0x146f 215 ebx = sx.d([rsp + rdx].b) 0x1473 216 ebx = ebx + edi 0x1475 217 esi = esi + ebx 0x1477 218 esi = esi - 0x60 0x147a 219 [rsp + (rdx << 2) + 0x200].d = esi 0x1481 220 rdx = rdx + 1 0x1488 221 if (rcx != rdx) then 213 @ 0x1460 else 85 @ 0x148a 0x139f 222 rdi = r8 0x13a2 223 rdi = rdi & 0xfffffffffffffff8 0x13a6 224 rdx = rdi + 1 0x13aa 225 esi = 0 0x13ac 226 xmm0 = [0x2010].o 0x13be 227 goto 308 @ 0x13c0 0x18c7 228 eax = 0 0x18c9 229 rsp = rsp + 0x600 0x18d0 230 rbx = pop 0x18d1 231 r14 = pop 0x18d3 232 r15 = pop 0x18d5 233 <return> jump(pop) 0x1875 234 ebx = eax 0x1877 235 rbx = rbx + 1 0x187b 236 goto 336 @ 0x1880 0x1830 237 rdi = sx.q(esi) 0x1833 238 rbx = rdi * 0x66666667 0x183a 239 rsi = rbx 0x183d 240 rsi = rsi u>> 0x3f 0x1841 241 rbx = rbx s>> 0x22 0x1845 242 ebx = ebx + esi 0x1847 243 esi = [rsp + (rdx << 2) + 0x204].d 0x184e 244 esi = esi + ebx 0x1850 245 [rsp + (rdx << 2) + 0x204].d = esi 0x1857 246 ebx = ebx + ebx 0x1859 247 ebx = (rbx + (rbx << 2)).d 0x185c 248 edi = edi - ebx 0x185e 249 [rsp + (rdx << 2) + 0x200].d = edi 0x1865 250 rdi = rdx + 1 0x1869 251 rdx = rdi 0x186f 252 if (rcx != rdi) then 237 @ 0x1830 else 156 @ 0x1873 0x17a0 253 xmm1 = [rbx + (rcx << 2) - 0x10].o 0x17a6 254 xmm2 = [rbx + (rcx << 2)].o 0x17ab 255 xmm3 = [rsi + rcx - 4].d 0x17b1 256 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x17b5 257 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x17b9 258 xmm4 = [rsi + rcx].d 0x17be 259 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x17c2 260 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x17c6 261 xmm3 = _mm_srai_epi32(xmm3, 0x18) 0x17cb 262 xmm4 = _mm_srai_epi32(xmm4, 0x18) 0x17d0 263 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x17d4 264 xmm1 = _mm_add_epi32(xmm1, xmm3) 0x17d8 265 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x17dc 266 xmm2 = _mm_add_epi32(xmm2, xmm4) 0x17e0 267 [rbx + (rcx << 2) - 0x10].o = xmm1 0x17e6 268 [rbx + (rcx << 2)].o = xmm2 0x17eb 269 rcx = rcx + 8 0x17f2 270 if (rdi != rcx) then 253 @ 0x17a0 else 343 @ 0x17f7 0x1800 271 ecx = [rsp + (rdx << 2) + 0x200].d 0x1807 272 esi = sx.d([rsp + rdx].b) 0x180b 273 ecx = ecx + esi 0x180d 274 ecx = ecx - 0x30 0x1810 275 [rsp + (rdx << 2) + 0x200].d = ecx 0x1817 276 rdx = rdx + 1 0x181e 277 if (r9 != rdx) then 271 @ 0x1800 else 123 @ 0x1822 0x1500 278 xmm1 = [rsp + (rsi << 2) + 0x204].o 0x1509 279 xmm2 = [rsp + (rsi << 2) + 0x214].o 0x1512 280 xmm3 = [rsp + rsi + 0x101].d 0x151b 281 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x151f 282 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x1523 283 xmm4 = [rsp + rsi + 0x105].d 0x152c 284 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x1530 285 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x1534 286 xmm3 = _mm_srai_epi32(xmm3, 0x18) 0x1539 287 xmm4 = _mm_srai_epi32(xmm4, 0x18) 0x153e 288 xmm5 = [rsp + rsi + 1].d 0x1544 289 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q) 0x1548 290 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q) 0x154c 291 xmm6 = [rsp + rsi + 5].d 0x1552 292 xmm6 = _mm_unpacklo_epi8(xmm6, xmm6.q) 0x1556 293 xmm6 = _mm_unpacklo_epi16(xmm6, xmm6.q) 0x155a 294 xmm5 = _mm_srai_epi32(xmm5, 0x18) 0x155f 295 xmm5 = _mm_add_epi32(xmm5, xmm3) 0x1563 296 xmm6 = _mm_srai_epi32(xmm6, 0x18) 0x1568 297 xmm6 = _mm_add_epi32(xmm6, xmm4) 0x156c 298 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1570 299 xmm1 = _mm_add_epi32(xmm1, xmm5) 0x1574 300 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x1578 301 xmm2 = _mm_add_epi32(xmm2, xmm6) 0x157c 302 [rsp + (rsi << 2) + 0x204].o = xmm1 0x1585 303 [rsp + (rsi << 2) + 0x214].o = xmm2 0x158e 304 rsi = rsi + 8 0x1595 305 if (rdi != rsi) then 278 @ 0x1500 else 344 @ 0x159e 0x1677 306 if (r8 == rsi) then 307 @ 0x16a7 else 345 @ 0x1679 0x16a7 307 if (r15d s<= 0) then 346 @ 0x1704 else 347 @ 0x16a9 0x13c0 308 xmm1 = [rsp + (rsi << 2) + 0x204].o 0x13c9 309 xmm2 = [rsp + (rsi << 2) + 0x214].o 0x13d2 310 xmm3 = [rsp + rsi + 0x101].d 0x13db 311 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x13df 312 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x13e3 313 xmm4 = [rsp + rsi + 0x105].d 0x13ec 314 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x13f0 315 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x13f4 316 xmm3 = _mm_srai_epi32(xmm3, 0x18) 0x13f9 317 xmm4 = _mm_srai_epi32(xmm4, 0x18) 0x13fe 318 xmm5 = [rsp + rsi + 1].d 0x1404 319 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q) 0x1408 320 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q) 0x140c 321 xmm6 = [rsp + rsi + 5].d 0x1412 322 xmm6 = _mm_unpacklo_epi8(xmm6, xmm6.q) 0x1416 323 xmm6 = _mm_unpacklo_epi16(xmm6, xmm6.q) 0x141a 324 xmm5 = _mm_srai_epi32(xmm5, 0x18) 0x141f 325 xmm5 = _mm_add_epi32(xmm5, xmm3) 0x1423 326 xmm6 = _mm_srai_epi32(xmm6, 0x18) 0x1428 327 xmm6 = _mm_add_epi32(xmm6, xmm4) 0x142c 328 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1430 329 xmm1 = _mm_add_epi32(xmm1, xmm5) 0x1434 330 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x1438 331 xmm2 = _mm_add_epi32(xmm2, xmm6) 0x143c 332 [rsp + (rsi << 2) + 0x204].o = xmm1 0x1445 333 [rsp + (rsi << 2) + 0x214].o = xmm2 0x144e 334 rsi = rsi + 8 0x1455 335 if (rdi != rsi) then 308 @ 0x13c0 else 351 @ 0x145e 0x1880 336 edx = eax 0x1882 337 temp0.d = eax 0x1882 338 eax = eax - 1 0x1882 339 flag:c = temp0.d u>= 1 0x1885 340 cl = flag:c 0x1888 341 rbx = rbx - 1 0x1894 342 if ([rsp + (rdx << 2) + 0x200].d != 0) then 352 @ 0x189a else 354 @ 0x1898 0x17f7 343 if (r8 == rdi) then 123 @ 0x1822 else 355 @ 0x17f9 0x159e 344 if (r8 == rdi) then 77 @ 0x15cd else 173 @ 0x15a0 0x1679 345 goto 206 @ 0x1680 0x1704 346 if (r15d s< 0) then 228 @ 0x18c7 else 356 @ 0x170a 0x16a9 347 eax = r15d 0x16ac 348 edx = [rsp + 0x200 {var_418}].d 0x16b3 349 ecx = 0 0x16bf 350 goto 359 @ 0x16c0 0x145e 351 if (r8 == rdi) then 85 @ 0x148a else 213 @ 0x1460 0x189a 352 r14 = 0x2030 {"%d"} 0x18ab 353 goto 375 @ 0x18b0 0x1898 354 if (cl != 0) then 336 @ 0x1880 else 352 @ 0x189a 0x17f9 355 goto 271 @ 0x1800 0x170a 356 ebx = r15d 0x170d 357 rbx = rbx + 1 0x171b 358 goto 383 @ 0x1720 0x16c0 359 rsi = sx.q(edx) 0x16c3 360 rdi = rsi * 0x66666667 0x16ca 361 rdx = rdi 0x16cd 362 rdx = rdx u>> 0x3f 0x16d1 363 rdi = rdi s>> 0x22 0x16d5 364 edi = edi + edx 0x16d7 365 edx = [rsp + (rcx << 2) + 0x204].d 0x16de 366 edx = edx + edi 0x16e0 367 [rsp + (rcx << 2) + 0x204].d = edx 0x16e7 368 edi = edi + edi 0x16e9 369 edi = (rdi + (rdi << 2)).d 0x16ec 370 esi = esi - edi 0x16ee 371 [rsp + (rcx << 2) + 0x200].d = esi 0x16f5 372 rsi = rcx + 1 0x16f9 373 rcx = rsi 0x16ff 374 if (rax != rsi) then 359 @ 0x16c0 else 346 @ 0x1704 0x18b0 375 esi = [rsp + (rbx << 2) + 0x200].d 0x18b7 376 rdi = r14 0x18ba 377 eax = 0 0x18bc 378 call(0x1030) 0x18c1 379 temp1.q = rbx 0x18c1 380 rbx = rbx - 1 0x18c1 381 flag:c = temp1.q u>= 1 0x18c5 382 if (flag:c) then 375 @ 0x18b0 else 228 @ 0x18c7 0x1720 383 ecx = r15d 0x1723 384 temp2.d = r15d 0x1723 385 r15d = r15d - 1 0x1723 386 flag:c = temp2.d u>= 1 0x1727 387 al = flag:c 0x172a 388 rbx = rbx - 1 0x1736 389 if ([rsp + (rcx << 2) + 0x200].d != 0) then 390 @ 0x173c else 392 @ 0x173a 0x173c 390 r14 = 0x2030 {"%d"} 0x174d 391 goto 393 @ 0x1750 0x173a 392 if (al != 0) then 383 @ 0x1720 else 390 @ 0x173c 0x1750 393 esi = [rsp + (rbx << 2) + 0x200].d 0x1757 394 rdi = r14 0x175a 395 eax = 0 0x175c 396 call(0x1030) 0x1761 397 temp3.q = rbx 0x1761 398 rbx = rbx - 1 0x1761 399 flag:c = temp3.q u>= 1 0x1765 400 if (flag:c) then 393 @ 0x1750 else 401 @ 0x1767 0x1767 401 goto 228 @ 0x18c7 int64_t _fini(): 0x18dc 0 rsp = rsp - 8 0x18e0 1 rsp = rsp + 8 0x18e4 2 <return> jump(pop)
POJ_69
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 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* strcpy(char* arg1, char const* arg2): 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 {"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 - 0x17a0 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rdi = rbp - 0x7e0 {var_7e8} 0x1189 5 al = 0 0x118b 6 call(0x1050) 0x1190 7 rdi = rbp - 0x7e0 {var_7e8} 0x1197 8 call(0x1030) 0x119c 9 rax = rax + 1 0x11a0 10 [rbp - 0x1794 {var_179c}].d = eax 0x11a6 11 [rbp - 0x1798 {var_17a0}].d = 0 0x11b0 12 rax = rbp - 0x7e0 {var_7e8} 0x11b7 13 [rbp - 0x1788 {var_1790}].q = rax {var_7e8} 0x11be 14 rax = rbp - 0x7e0 {var_7e8} 0x11c5 15 [rbp - 0x1790 {var_1798}].q = rax {var_7e8} 0x11c5 16 goto 17 @ 0x11cc 0x11cc 17 rax = [rbp - 0x1790 {var_1798}].q 0x11d3 18 eax = sx.d([rax].b) 0x11d9 19 if (eax == 0x20) then 20 @ 0x11f2 else 26 @ 0x11df 0x11f2 20 rax = [rbp - 0x1790 {var_1798}].q 0x11f9 21 [rax].b = 0 0x11fc 22 rax = [rbp - 0x1790 {var_1798}].q 0x1203 23 rcx = [rbp - 0x1788 {var_1790}].q 0x120a 24 rax = rax - rcx 0x1211 25 if (rax == 0) then 29 @ 0x12b2 else 33 @ 0x1217 0x11df 26 rax = [rbp - 0x1790 {var_1798}].q 0x11e6 27 eax = sx.d([rax].b) 0x11ec 28 if (eax != 0x2c) then 38 @ 0x12c9 else 20 @ 0x11f2 0x12b2 29 rax = [rbp - 0x1790 {var_1798}].q 0x12b9 30 rax = rax + 1 0x12bd 31 [rbp - 0x1788 {var_1790}].q = rax 0x12c4 32 goto 41 @ 0x139c 0x1217 33 rax = [rbp - 0x1790 {var_1798}].q 0x121e 34 rcx = [rbp - 0x1788 {var_1790}].q 0x1225 35 rax = rax - rcx 0x1228 36 rcx = sx.q([rbp - 0x1798 {var_17a0}].d) 0x1232 37 if (rax s<= rcx) then 42 @ 0x1262 else 47 @ 0x1238 0x12c9 38 rax = [rbp - 0x1790 {var_1798}].q 0x12d0 39 eax = sx.d([rax].b) 0x12d6 40 if (eax != 0) then 55 @ 0x1397 else 56 @ 0x12dc 0x139c 41 goto 60 @ 0x13a1 0x1262 42 rax = [rbp - 0x1790 {var_1798}].q 0x1269 43 rcx = [rbp - 0x1788 {var_1790}].q 0x1270 44 rax = rax - rcx 0x1273 45 rcx = sx.q([rbp - 0x1794 {var_179c}].d) 0x127d 46 if (rax s>= rcx) then 64 @ 0x12ad else 65 @ 0x1283 0x1238 47 rdi = rbp - 0xfb0 {var_fb8} 0x123f 48 rsi = [rbp - 0x1788 {var_1790}].q 0x1246 49 call(0x1040) 0x124b 50 rax = [rbp - 0x1790 {var_1798}].q 0x1252 51 rcx = [rbp - 0x1788 {var_1790}].q 0x1259 52 rax = rax - rcx 0x125c 53 [rbp - 0x1798 {var_17a0}].d = eax 0x125c 54 goto 42 @ 0x1262 0x1397 55 goto 41 @ 0x139c 0x12dc 56 rax = [rbp - 0x1790 {var_1798}].q 0x12e3 57 rcx = [rbp - 0x1788 {var_1790}].q 0x12ea 58 rax = rax - rcx 0x12f1 59 if (rax == 0) then 73 @ 0x1392 else 74 @ 0x12f7 0x13a1 60 rax = [rbp - 0x1790 {var_1798}].q 0x13a8 61 rax = rax + 1 0x13ac 62 [rbp - 0x1790 {var_1798}].q = rax 0x13b3 63 goto 17 @ 0x11cc 0x12ad 64 goto 29 @ 0x12b2 0x1283 65 rdi = rbp - 0x1780 {var_1788} 0x128a 66 rsi = [rbp - 0x1788 {var_1790}].q 0x1291 67 call(0x1040) 0x1296 68 rax = [rbp - 0x1790 {var_1798}].q 0x129d 69 rcx = [rbp - 0x1788 {var_1790}].q 0x12a4 70 rax = rax - rcx 0x12a7 71 [rbp - 0x1794 {var_179c}].d = eax 0x12a7 72 goto 64 @ 0x12ad 0x1392 73 goto 79 @ 0x13b8 0x12f7 74 rax = [rbp - 0x1790 {var_1798}].q 0x12fe 75 rcx = [rbp - 0x1788 {var_1790}].q 0x1305 76 rax = rax - rcx 0x1308 77 rcx = sx.q([rbp - 0x1798 {var_17a0}].d) 0x1312 78 if (rax s<= rcx) then 89 @ 0x1342 else 94 @ 0x1318 0x13b8 79 rdi = rbp - 0xfb0 {var_fb8} 0x13bf 80 al = 0 0x13c1 81 call(0x1060) 0x13c6 82 rdi = rbp - 0x1780 {var_1788} 0x13cd 83 al = 0 0x13cf 84 call(0x1060) 0x13d4 85 eax = 0 0x13d6 86 rsp = rsp + 0x17a0 0x13dd 87 rbp = pop 0x13de 88 <return> jump(pop) 0x1342 89 rax = [rbp - 0x1790 {var_1798}].q 0x1349 90 rcx = [rbp - 0x1788 {var_1790}].q 0x1350 91 rax = rax - rcx 0x1353 92 rcx = sx.q([rbp - 0x1794 {var_179c}].d) 0x135d 93 if (rax s>= rcx) then 102 @ 0x138d else 103 @ 0x1363 0x1318 94 rdi = rbp - 0xfb0 {var_fb8} 0x131f 95 rsi = [rbp - 0x1788 {var_1790}].q 0x1326 96 call(0x1040) 0x132b 97 rax = [rbp - 0x1790 {var_1798}].q 0x1332 98 rcx = [rbp - 0x1788 {var_1790}].q 0x1339 99 rax = rax - rcx 0x133c 100 [rbp - 0x1798 {var_17a0_1}].d = eax 0x133c 101 goto 89 @ 0x1342 0x138d 102 goto 73 @ 0x1392 0x1363 103 rdi = rbp - 0x1780 {var_1788} 0x136a 104 rsi = [rbp - 0x1788 {var_1790}].q 0x1371 105 call(0x1040) 0x1376 106 rax = [rbp - 0x1790 {var_1798}].q 0x137d 107 rcx = [rbp - 0x1788 {var_1790}].q 0x1384 108 rax = rax - rcx 0x1387 109 [rbp - 0x1794 {var_179c_1}].d = eax 0x1387 110 goto 102 @ 0x138d int64_t _fini(): 0x13e4 0 rsp = rsp - 8 0x13e8 1 rsp = rsp + 8 0x13ec 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 {"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 = 0x2004 {"%d %d"} 0x1168 9 rsi = rbp - 0x2c {var_34} 0x116c 10 rdx = rbp - 0x30 {var_38} 0x1170 11 eax = 0 0x1172 12 call(0x1040) 0x1177 13 r13 = rsp {var_48} 0x117a 14 eax = [rbp - 0x2c {var_34}].d 0x117d 15 r12 = rsp {var_48} 0x1180 16 rax = (rax << 2) + 0xf 0x1188 17 rax = rax & 0xfffffffffffffff0 0x118c 18 r12 = r12 - rax 0x118f 19 rsp = r12 0x1192 20 cond:0 = [rbp - 0x2c {var_34}].d s<= 0 0x1196 21 [rbp - 0x38 {var_40}].q = r13 {var_48} 0x119a 22 if (cond:0) then 23 @ 0x1259 else 26 @ 0x11a0 0x1259 23 ecx = [rbp - 0x30 {var_38}].d 0x125c 24 r15d = 0 0x125f 25 goto 30 @ 0x1264 0x11a0 26 r14 = 0x200a {"%d "} 0x11a7 27 r15 = r12 0x11aa 28 ebx = 0 0x11ac 29 goto 35 @ 0x11b0 0x1264 30 eax = r15d 0x1267 31 rdx = sx.q(r13d) 0x126a 32 edx = [r12 + (rdx << 2)].d 0x126e 33 edx = edx + [r12 + (rax << 2)].d 0x1274 34 if (edx == ecx) then 43 @ 0x1284 else 53 @ 0x1276 0x11b0 35 rdi = r14 0x11b3 36 rsi = r15 0x11b6 37 eax = 0 0x11b8 38 call(0x1040) 0x11bd 39 rbx = rbx + 1 0x11c1 40 rax = sx.q([rbp - 0x2c {var_34}].d) 0x11c5 41 r15 = r15 + 4 0x11cc 42 if (rbx s< rax) then 35 @ 0x11b0 else 57 @ 0x11d1 0x1284 43 rsp = [rbp - 0x38].q 0x1288 44 eax = 0 0x128a 45 rsp = rbp - 0x28 0x128e 46 rbx = pop 0x128f 47 r12 = pop 0x1291 48 r13 = pop 0x1293 49 r14 = pop 0x1295 50 r15 = pop 0x1297 51 rbp = pop 0x1298 52 <return> jump(pop) 0x1276 53 rdi = 0x2012 {"no"} 0x127d 54 eax = 0 0x127f 55 call(0x1030) 0x127f 56 goto 43 @ 0x1284 0x11d1 57 if (eax s< 2) then 23 @ 0x1259 else 58 @ 0x11d7 0x11d7 58 ebx = 1 0x11dc 59 r14d = 0 0x11df 60 goto 61 @ 0x11e0 0x11e0 61 r15 = r14 + 1 0x11e4 62 rcx = sx.q(eax) 0x11e7 63 r13d = r15d 0x11ed 64 if (r15 s>= rcx) then 65 @ 0x122e else 70 @ 0x11ef 0x122e 65 eax = r13d 0x1231 66 eax = [r12 + (rax << 2)].d 0x1235 67 eax = eax + [r12 + (r14 << 2)].d 0x1239 68 ecx = [rbp - 0x30 {var_38}].d 0x123e 69 if (eax == ecx) then 75 @ 0x1261 else 77 @ 0x1240 0x11ef 70 eax = eax 0x11f1 71 ecx = [r12 + (r14 << 2)].d 0x11f5 72 edx = [rbp - 0x30 {var_38}].d 0x11f8 73 r13 = rbx 0x11fb 74 goto 83 @ 0x1200 0x1261 75 r15 = r14 0x1261 76 goto 30 @ 0x1264 0x1240 77 rax = sx.q([rbp - 0x2c {var_34}].d) 0x1244 78 rdx = rax 0x1247 79 rdx = rdx - 1 0x124b 80 rbx = rbx + 1 0x124f 81 r14 = r15 0x1255 82 if (r15 s< rdx) then 61 @ 0x11e0 else 86 @ 0x1257 0x1200 83 esi = [r12 + (r13 << 2)].d 0x1204 84 esi = esi + ecx 0x1208 85 if (esi == edx) then 87 @ 0x1220 else 91 @ 0x120a 0x1257 86 goto 30 @ 0x1264 0x1220 87 rdi = 0x200e {"yes"} 0x1227 88 eax = 0 0x1229 89 call(0x1030) 0x1229 90 goto 65 @ 0x122e 0x120a 91 r13 = r13 + 1 0x1211 92 if (rax != r13) then 83 @ 0x1200 else 93 @ 0x1213 0x1213 93 r13d = eax 0x1216 94 goto 65 @ 0x122e int64_t _fini(): 0x12a0 0 rsp = rsp - 8 0x12a4 1 rsp = rsp + 8 0x12a8 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 - 0x360 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 - 0x1a4 {var_1ac}].d = 0 0x1174 9 goto 10 @ 0x117e 0x117e 10 eax = [rbp - 0x1a4 {var_1ac}].d 0x1187 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11c4 else 21 @ 0x118d 0x11c4 12 eax = [rbp - 0x1a0 {var_1a8}].d 0x11ca 13 [rbp - 0x340 {var_348}].d = eax 0x11d0 14 esi = [rbp - 0x340 {var_348}].d 0x11d6 15 rdi = 0x2007 {"%d,"} 0x11dd 16 al = 0 0x11df 17 call(0x1030) 0x11e4 18 [rbp - 0x344 {var_34c}].d = 0 0x11ee 19 [rbp - 0x348 {var_350}].d = 1 0x11ee 20 goto 32 @ 0x11f8 0x118d 21 rax = sx.q([rbp - 0x1a4 {var_1ac}].d) 0x1194 22 rsi = rbp - 0x1a0 {var_1a8} 0x119b 23 rax = rax << 2 0x119f 24 rsi = rsi + rax 0x11a2 25 rdi = 0x2004 {"%d"} 0x11a9 26 al = 0 0x11ab 27 call(0x1040) 0x11b0 28 eax = [rbp - 0x1a4 {var_1ac}].d 0x11b6 29 eax = eax + 1 0x11b9 30 [rbp - 0x1a4 {var_1ac}].d = eax 0x11bf 31 goto 10 @ 0x117e 0x11f8 32 eax = [rbp - 0x348 {var_350}].d 0x1201 33 if (eax s>= [rbp - 8 {var_10}].d) then 34 @ 0x12c8 else 36 @ 0x1207 0x12c8 34 [rbp - 0x354 {var_35c}].d = 1 0x12c8 35 goto 39 @ 0x12d2 0x1207 36 [rbp - 0x34c {var_354_1}].d = 0 0x1211 37 [rbp - 0x350 {var_358_1}].d = 0 0x1211 38 goto 41 @ 0x121b 0x12d2 39 eax = [rbp - 0x354 {var_35c}].d 0x12de 40 if (eax s>= [rbp - 0x344 {var_34c}].d) then 43 @ 0x1314 else 52 @ 0x12e4 0x121b 41 eax = [rbp - 0x350 {var_358_1}].d 0x1227 42 if (eax s> [rbp - 0x344 {var_34c}].d) then 61 @ 0x127e else 62 @ 0x122d 0x1314 43 rax = sx.q([rbp - 0x344 {var_34c}].d) 0x131b 44 esi = [rbp + (rax << 2) - 0x340].d 0x1322 45 rdi = 0x2004 {"%d"} 0x1329 46 al = 0 0x132b 47 call(0x1030) 0x1330 48 eax = 0 0x1332 49 rsp = rsp + 0x360 0x1339 50 rbp = pop 0x133a 51 <return> jump(pop) 0x12e4 52 rax = sx.q([rbp - 0x354 {var_35c}].d) 0x12eb 53 esi = [rbp + (rax << 2) - 0x340].d 0x12f2 54 rdi = 0x2007 {"%d,"} 0x12f9 55 al = 0 0x12fb 56 call(0x1030) 0x1300 57 eax = [rbp - 0x354 {var_35c}].d 0x1306 58 eax = eax + 1 0x1309 59 [rbp - 0x354 {var_35c}].d = eax 0x130f 60 goto 39 @ 0x12d2 0x127e 61 if ([rbp - 0x34c {var_354_1}].d != 0) then 66 @ 0x12af else 67 @ 0x1284 0x122d 62 rax = sx.q([rbp - 0x348 {var_350}].d) 0x1234 63 eax = [rbp + (rax << 2) - 0x1a0].d 0x123b 64 rcx = sx.q([rbp - 0x350 {var_358_1}].d) 0x1249 65 if (eax != [rbp + (rcx << 2) - 0x340].d) then 75 @ 0x125e else 76 @ 0x124f 0x12af 66 goto 80 @ 0x12b4 0x1284 67 eax = [rbp - 0x344 {var_34c}].d 0x128a 68 eax = eax + 1 0x128d 69 [rbp - 0x344 {var_34c}].d = eax 0x1293 70 rax = sx.q([rbp - 0x348 {var_350}].d) 0x129a 71 ecx = [rbp + (rax << 2) - 0x1a0].d 0x12a1 72 rax = sx.q([rbp - 0x344 {var_34c}].d) 0x12a8 73 [rbp + (rax << 2) - 0x340].d = ecx 0x12a8 74 goto 66 @ 0x12af 0x125e 75 goto 84 @ 0x1263 0x124f 76 eax = [rbp - 0x34c {var_354_1}].d 0x1255 77 eax = eax + 1 0x1258 78 [rbp - 0x34c {var_354_1}].d = eax 0x1258 79 goto 75 @ 0x125e 0x12b4 80 eax = [rbp - 0x348 {var_350}].d 0x12ba 81 eax = eax + 1 0x12bd 82 [rbp - 0x348 {var_350}].d = eax 0x12c3 83 goto 32 @ 0x11f8 0x1263 84 eax = [rbp - 0x350 {var_358_1}].d 0x1269 85 eax = eax + 1 0x126c 86 [rbp - 0x350 {var_358_1}].d = eax 0x1272 87 goto 41 @ 0x121b int64_t _fini(): 0x1340 0 rsp = rsp - 8 0x1344 1 rsp = rsp + 8 0x1348 2 <return> jump(pop)
POJ_53
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 - 0x1a8 0x1161 7 rdi = 0x2004 {"%d"} 0x1168 8 r14d = 0 0x116b 9 rsi = rsp + 0xc {var_1cc} 0x1170 10 eax = 0 0x1172 11 call(0x1040) 0x1177 12 eax = [rsp + 0xc {var_1cc}].d 0x117e 13 if (eax s> 0xa) then 14 @ 0x130b else 23 @ 0x1186 0x130b 14 eax = 0 0x130d 15 rsp = rsp + 0x1a8 0x1314 16 rbx = pop 0x1315 17 r12 = pop 0x1317 18 r13 = pop 0x1319 19 r14 = pop 0x131b 20 r15 = pop 0x131d 21 rbp = pop 0x131e 22 <return> jump(pop) 0x1186 23 if (eax s<= 0) then 24 @ 0x12ed else 33 @ 0x118c 0x12ed 24 r11d = r11d + esi 0x12f0 25 r14d = not.d(r14d) 0x12f3 26 r14d = r14d + edx 0x12f6 27 r14d = r14d * r11d 0x12fa 28 rdi = 0x2004 {"%d"} 0x1301 29 esi = r14d 0x1304 30 eax = 0 0x1306 31 call(0x1030) 0x1306 32 goto 14 @ 0x130b 0x118c 33 r15 = rsp + 0x10 {var_1c8} 0x1191 34 r14 = 0x2004 {"%d"} 0x1198 35 r12d = 0 0x119b 36 goto 37 @ 0x11b2 0x11b2 37 if (eax s<= 0) then 38 @ 0x11a0 else 42 @ 0x11b4 0x11a0 38 rcx = sx.q(eax) 0x11a3 39 r12 = r12 + 1 0x11a7 40 r15 = r15 + 0x28 0x11ae 41 if (r12 s>= rcx) then 45 @ 0x11e3 else 37 @ 0x11b2 0x11b4 42 r13 = r15 0x11b7 43 ebx = 0 0x11b9 44 goto 46 @ 0x11c0 0x11e3 45 if (eax s<= 0) then 54 @ 0x12ea else 56 @ 0x11e9 0x11c0 46 rdi = r14 0x11c3 47 rsi = r13 0x11c6 48 eax = 0 0x11c8 49 call(0x1040) 0x11cd 50 rbx = rbx + 1 0x11d1 51 rax = sx.q([rsp + 0xc {var_1cc}].d) 0x11d6 52 r13 = r13 + 4 0x11dd 53 if (rbx s< rax) then 46 @ 0x11c0 else 60 @ 0x11df 0x12ea 54 r14d = 0 0x12ea 55 goto 24 @ 0x12ed 0x11e9 56 r10d = eax 0x11ec 57 rcx = rsp + 0x10 {var_1c8} 0x11f1 58 r14d = 0 0x11f1 59 goto 61 @ 0x11f4 0x11df 60 goto 38 @ 0x11a0 0x11f4 61 r11d = 0 0x11f7 62 goto 63 @ 0x1205 0x1205 63 if ([rcx + (r11 << 2)].d == 0) then 64 @ 0x122a else 66 @ 0x1207 0x122a 64 r11 = not.q(r11) 0x122f 65 if (eax s<= 0) then 24 @ 0x12ed else 68 @ 0x1235 0x1207 66 r11 = r11 + 1 0x120e 67 if (r10 != r11) then 63 @ 0x1205 else 77 @ 0x1210 0x1235 68 r8 = r10 - 1 0x1239 69 r9d = r10d 0x123c 70 r9d = r9d & 3 0x1240 71 r15d = r10d 0x1243 72 r15d = r15d & 0xfffffffc 0x1247 73 r13 = rsp + 0x1c {var_1bc} 0x124c 74 r12 = rsp + 0x10 {var_1c8} 0x1251 75 eax = 0 0x1253 76 goto 80 @ 0x1271 0x1210 77 r14 = r14 + 1 0x1214 78 rcx = rcx + 0x28 0x121b 79 if (r14 != r10) then 61 @ 0x11f4 else 82 @ 0x121f 0x1271 80 ecx = 0 0x1277 81 if (r8 u< 3) then 83 @ 0x12c5 else 84 @ 0x1279 0x121f 82 if (eax s<= 0) then 85 @ 0x131f else 87 @ 0x1225 0x12c5 83 if (r9 == 0) then 89 @ 0x1260 else 93 @ 0x12c7 0x1279 84 goto 95 @ 0x1280 0x131f 85 r14d = eax 0x1322 86 goto 24 @ 0x12ed 0x1225 87 r14d = r10d 0x1228 88 goto 68 @ 0x1235 0x1260 89 rax = rax + 1 0x1264 90 r13 = r13 + 0x28 0x1268 91 r12 = r12 + 0x28 0x126f 92 if (rax == r10) then 24 @ 0x12ed else 80 @ 0x1271 0x12c7 93 rbx = r9 0x12ca 94 goto 101 @ 0x12d0 0x1280 95 ebx = (rcx + 1).d 0x1283 96 ebp = (rcx + 2).d 0x1286 97 edi = (rcx + 3).d 0x1289 98 temp0.d = [r13 + (rcx << 2) - 0xc].d 0x1289 99 cond:0 = temp0.d == 0 0x128f 100 if (temp0.d == 0) then 104 else 106 @ 0x1292 0x12d0 101 temp1.d = [r12 + (rcx << 2)].d 0x12d0 102 cond:4 = temp1.d == 0 0x12d5 103 if (temp1.d == 0) then 107 else 109 @ 0x12d8 0x128f 104 esi = ecx 0x128f 105 goto 106 @ 0x1292 0x1292 106 if (cond:0) then 110 else 112 @ 0x1295 0x12d5 107 esi = ecx 0x12d5 108 goto 109 @ 0x12d8 0x12d8 109 if (cond:4) then 115 else 117 @ 0x12db 0x1292 110 edx = eax 0x1292 111 goto 112 @ 0x1295 0x1295 112 temp2.d = [r13 + (rcx << 2) - 8].d 0x1295 113 cond:1 = temp2.d == 0 0x129b 114 if (temp2.d == 0) then 121 else 123 @ 0x129e 0x12d8 115 edx = eax 0x12d8 116 goto 117 @ 0x12db 0x12db 117 rcx = rcx + 1 0x12df 118 temp3.q = rbx 0x12df 119 rbx = rbx - 1 0x12e3 120 if (temp3.q != 1) then 101 @ 0x12d0 else 124 @ 0x12e5 0x129b 121 esi = ebx 0x129b 122 goto 123 @ 0x129e 0x129e 123 if (cond:1) then 125 else 127 @ 0x12a1 0x12e5 124 goto 89 @ 0x1260 0x129e 125 edx = eax 0x129e 126 goto 127 @ 0x12a1 0x12a1 127 temp4.d = [r13 + (rcx << 2) - 4].d 0x12a1 128 cond:2 = temp4.d == 0 0x12a7 129 if (temp4.d == 0) then 130 else 132 @ 0x12aa 0x12a7 130 esi = ebp 0x12a7 131 goto 132 @ 0x12aa 0x12aa 132 if (cond:2) then 133 else 135 @ 0x12ad 0x12aa 133 edx = eax 0x12aa 134 goto 135 @ 0x12ad 0x12ad 135 temp5.d = [r13 + (rcx << 2)].d 0x12ad 136 cond:3 = temp5.d == 0 0x12b3 137 if (temp5.d == 0) then 138 else 140 @ 0x12b6 0x12b3 138 esi = edi 0x12b3 139 goto 140 @ 0x12b6 0x12b6 140 if (cond:3) then 141 else 143 @ 0x12b9 0x12b6 141 edx = eax 0x12b6 142 goto 143 @ 0x12b9 0x12b9 143 rcx = rcx + 4 0x12c0 144 if (rcx != r15) then 95 @ 0x1280 else 83 @ 0x12c5 int64_t _fini(): 0x1328 0 rsp = rsp - 8 0x132c 1 rsp = rsp + 8 0x1330 2 <return> jump(pop)
POJ_15
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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 rdi = 0x2004 {"%d"} 0x1162 4 rsi = rbp - 4 {var_c} 0x1166 5 al = 0 0x1168 6 call(0x1040) 0x116d 7 [rbp - 0xc {var_14}].d = 1 0x116d 8 goto 9 @ 0x1174 0x1174 9 eax = [rbp - 0xc {var_14}].d 0x117a 10 if (eax s> [rbp - 4 {var_c}].d) then 11 @ 0x1551 else 14 @ 0x1180 0x1551 11 rsp = rsp + 0x9c70 0x1558 12 rbp = pop 0x1559 13 <return> jump(pop) 0x1180 14 [rbp - 0x10 {var_18_1}].d = 0 0x1180 15 goto 16 @ 0x1187 0x1187 16 eax = [rbp - 0x10 {var_18_1}].d 0x118d 17 if (eax s>= [rbp - 4 {var_c}].d) then 18 @ 0x11f5 else 23 @ 0x1193 0x11f5 18 [rbp - 0x20 {var_28_1}].d = 0 0x11fc 19 eax = [rbp - 4 {var_c}].d 0x11ff 20 [rbp - 8 {var_10_1}].d = eax 0x1202 21 [rbp - 0x18 {var_20_1}].d = 1 0x1202 22 goto 25 @ 0x1209 0x1193 23 [rbp - 0x14 {var_1c_1}].d = 0 0x1193 24 goto 27 @ 0x119a 0x1209 25 eax = [rbp - 0x18 {var_20_1}].d 0x120f 26 if (eax s>= [rbp - 8 {var_10_1}].d) then 29 @ 0x1532 else 37 @ 0x1215 0x119a 27 eax = [rbp - 0x14 {var_1c_1}].d 0x11a0 28 if (eax s>= [rbp - 4 {var_c}].d) then 39 @ 0x11e2 else 40 @ 0x11a6 0x1532 29 esi = [rbp - 0x20 {var_28_1}].d 0x1535 30 rdi = 0x2007 {"%d\n"} 0x153c 31 al = 0 0x153e 32 call(0x1030) 0x1543 33 eax = [rbp - 0xc {var_14}].d 0x1546 34 eax = eax + 1 0x1549 35 [rbp - 0xc {var_14}].d = eax 0x154c 36 goto 9 @ 0x1174 0x1215 37 [rbp - 0x10 {var_18_2}].d = 0 0x1215 38 goto 54 @ 0x121c 0x11e2 39 goto 56 @ 0x11e7 0x11a6 40 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x11aa 41 rsi = rbp - 0x9c70 {var_9c78} 0x11b1 42 rax = rax * 0x190 0x11b8 43 rsi = rsi + rax 0x11bb 44 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x11bf 45 rax = rax << 2 0x11c3 46 rsi = rsi + rax 0x11c6 47 rdi = 0x2004 {"%d"} 0x11cd 48 al = 0 0x11cf 49 call(0x1040) 0x11d4 50 eax = [rbp - 0x14 {var_1c_1}].d 0x11d7 51 eax = eax + 1 0x11da 52 [rbp - 0x14 {var_1c_1}].d = eax 0x11dd 53 goto 27 @ 0x119a 0x121c 54 eax = [rbp - 0x10 {var_18_2}].d 0x1222 55 if (eax s>= [rbp - 8 {var_10_1}].d) then 60 @ 0x1308 else 62 @ 0x1228 0x11e7 56 eax = [rbp - 0x10 {var_18_1}].d 0x11ea 57 eax = eax + 1 0x11ed 58 [rbp - 0x10 {var_18_1}].d = eax 0x11f0 59 goto 16 @ 0x1187 0x1308 60 [rbp - 0x14 {var_1c_4}].d = 0 0x1308 61 goto 65 @ 0x130f 0x1228 62 [rbp - 0x24 {var_2c_1}].d = 0x3e8 {""} 0x122f 63 [rbp - 0x14 {var_1c_2}].d = 0 0x122f 64 goto 67 @ 0x1236 0x130f 65 eax = [rbp - 0x14 {var_1c_4}].d 0x1315 66 if (eax s>= [rbp - 8 {var_10_1}].d) then 69 @ 0x13fb else 74 @ 0x131b 0x1236 67 eax = [rbp - 0x14 {var_1c_2}].d 0x123c 68 if (eax s>= [rbp - 8 {var_10_1}].d) then 77 @ 0x1299 else 79 @ 0x1242 0x13fb 69 eax = [rbp - 0x20 {var_28_1}].d 0x13fe 70 eax = eax + [rbp - 0x9adc {var_9ae4}].d 0x1404 71 [rbp - 0x20 {var_28_1}].d = eax 0x1407 72 [rbp - 0x10 {var_18_5}].d = 1 0x1407 73 goto 86 @ 0x140e 0x131b 74 [rbp - 0x24 {var_2c_2}].d = 0x3e8 {""} 0x1322 75 [rbp - 0x10 {var_18_3}].d = 0 0x1322 76 goto 88 @ 0x1329 0x1299 77 [rbp - 0x14 {var_1c_3}].d = 0 0x1299 78 goto 90 @ 0x12a0 0x1242 79 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x1246 80 rax = rbp - 0x9c70 {var_9c78} 0x124d 81 rcx = rcx * 0x190 0x1254 82 rax = rax + rcx 0x1257 83 rcx = sx.q([rbp - 0x14 {var_1c_2}].d) 0x125b 84 eax = [rax + (rcx << 2)].d 0x1261 85 if (eax s>= [rbp - 0x24 {var_2c_1}].d) then 92 @ 0x1286 else 93 @ 0x1267 0x140e 86 eax = [rbp - 0x10 {var_18_5}].d 0x1414 87 if (eax s>= [rbp - 8 {var_10_1}].d) then 101 @ 0x1442 else 103 @ 0x141a 0x1329 88 eax = [rbp - 0x10 {var_18_3}].d 0x132f 89 if (eax s>= [rbp - 8 {var_10_1}].d) then 113 @ 0x138c else 115 @ 0x1335 0x12a0 90 eax = [rbp - 0x14 {var_1c_3}].d 0x12a6 91 if (eax s>= [rbp - 8 {var_10_1}].d) then 122 @ 0x12f5 else 123 @ 0x12ac 0x1286 92 goto 140 @ 0x128b 0x1267 93 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x126b 94 rax = rbp - 0x9c70 {var_9c78} 0x1272 95 rcx = rcx * 0x190 0x1279 96 rax = rax + rcx 0x127c 97 rcx = sx.q([rbp - 0x14 {var_1c_2}].d) 0x1280 98 eax = [rax + (rcx << 2)].d 0x1283 99 [rbp - 0x24 {var_2c_1}].d = eax 0x1283 100 goto 92 @ 0x1286 0x1442 101 [rbp - 0x10 {var_18_6}].d = 1 0x1442 102 goto 144 @ 0x1449 0x141a 103 eax = [rbp - 0x10 {var_18_5}].d 0x141d 104 eax = eax + 1 0x1420 105 rax = sx.q(eax) 0x1422 106 ecx = [rbp + (rax << 2) - 0x9c70].d 0x1429 107 rax = sx.q([rbp - 0x10 {var_18_5}].d) 0x142d 108 [rbp + (rax << 2) - 0x9c70].d = ecx 0x1434 109 eax = [rbp - 0x10 {var_18_5}].d 0x1437 110 eax = eax + 1 0x143a 111 [rbp - 0x10 {var_18_5}].d = eax 0x143d 112 goto 86 @ 0x140e 0x138c 113 [rbp - 0x10 {var_18_4}].d = 0 0x138c 114 goto 146 @ 0x1393 0x1335 115 rcx = sx.q([rbp - 0x10 {var_18_3}].d) 0x1339 116 rax = rbp - 0x9c70 {var_9c78} 0x1340 117 rcx = rcx * 0x190 0x1347 118 rax = rax + rcx 0x134a 119 rcx = sx.q([rbp - 0x14 {var_1c_4}].d) 0x134e 120 eax = [rax + (rcx << 2)].d 0x1354 121 if (eax s>= [rbp - 0x24 {var_2c_2}].d) then 148 @ 0x1379 else 149 @ 0x135a 0x12f5 122 goto 157 @ 0x12fa 0x12ac 123 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x12b0 124 rax = rbp - 0x9c70 {var_9c78} 0x12b7 125 rcx = rcx * 0x190 0x12be 126 rax = rax + rcx 0x12c1 127 rcx = sx.q([rbp - 0x14 {var_1c_3}].d) 0x12c5 128 edx = [rax + (rcx << 2)].d 0x12c8 129 edx = edx - [rbp - 0x24 {var_2c_1}].d 0x12cb 130 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x12cf 131 rax = rbp - 0x9c70 {var_9c78} 0x12d6 132 rcx = rcx * 0x190 0x12dd 133 rax = rax + rcx 0x12e0 134 rcx = sx.q([rbp - 0x14 {var_1c_3}].d) 0x12e4 135 [rax + (rcx << 2)].d = edx 0x12e7 136 eax = [rbp - 0x14 {var_1c_3}].d 0x12ea 137 eax = eax + 1 0x12ed 138 [rbp - 0x14 {var_1c_3}].d = eax 0x12f0 139 goto 90 @ 0x12a0 0x128b 140 eax = [rbp - 0x14 {var_1c_2}].d 0x128e 141 eax = eax + 1 0x1291 142 [rbp - 0x14 {var_1c_2}].d = eax 0x1294 143 goto 67 @ 0x1236 0x1449 144 eax = [rbp - 0x10 {var_18_6}].d 0x144f 145 if (eax s>= [rbp - 8 {var_10_1}].d) then 161 @ 0x1496 else 163 @ 0x1455 0x1393 146 eax = [rbp - 0x10 {var_18_4}].d 0x1399 147 if (eax s>= [rbp - 8 {var_10_1}].d) then 179 @ 0x13e8 else 180 @ 0x139f 0x1379 148 goto 197 @ 0x137e 0x135a 149 rcx = sx.q([rbp - 0x10 {var_18_3}].d) 0x135e 150 rax = rbp - 0x9c70 {var_9c78} 0x1365 151 rcx = rcx * 0x190 0x136c 152 rax = rax + rcx 0x136f 153 rcx = sx.q([rbp - 0x14 {var_1c_4}].d) 0x1373 154 eax = [rax + (rcx << 2)].d 0x1376 155 [rbp - 0x24 {var_2c_2}].d = eax 0x1376 156 goto 148 @ 0x1379 0x12fa 157 eax = [rbp - 0x10 {var_18_2}].d 0x12fd 158 eax = eax + 1 0x1300 159 [rbp - 0x10 {var_18_2}].d = eax 0x1303 160 goto 54 @ 0x121c 0x1496 161 [rbp - 0x10 {var_18_7}].d = 1 0x1496 162 goto 201 @ 0x149d 0x1455 163 eax = [rbp - 0x10 {var_18_6}].d 0x1458 164 eax = eax + 1 0x145b 165 rcx = sx.q(eax) 0x145e 166 rax = rbp - 0x9c70 {var_9c78} 0x1465 167 rcx = rcx * 0x190 0x146c 168 rax = rax + rcx 0x146f 169 ecx = [rax].d 0x1471 170 rdx = sx.q([rbp - 0x10 {var_18_6}].d) 0x1475 171 rax = rbp - 0x9c70 {var_9c78} 0x147c 172 rdx = rdx * 0x190 0x1483 173 rax = rax + rdx 0x1486 174 [rax].d = ecx 0x1488 175 eax = [rbp - 0x10 {var_18_6}].d 0x148b 176 eax = eax + 1 0x148e 177 [rbp - 0x10 {var_18_6}].d = eax 0x1491 178 goto 144 @ 0x1449 0x13e8 179 goto 203 @ 0x13ed 0x139f 180 rcx = sx.q([rbp - 0x10 {var_18_4}].d) 0x13a3 181 rax = rbp - 0x9c70 {var_9c78} 0x13aa 182 rcx = rcx * 0x190 0x13b1 183 rax = rax + rcx 0x13b4 184 rcx = sx.q([rbp - 0x14 {var_1c_4}].d) 0x13b8 185 edx = [rax + (rcx << 2)].d 0x13bb 186 edx = edx - [rbp - 0x24 {var_2c_2}].d 0x13be 187 rcx = sx.q([rbp - 0x10 {var_18_4}].d) 0x13c2 188 rax = rbp - 0x9c70 {var_9c78} 0x13c9 189 rcx = rcx * 0x190 0x13d0 190 rax = rax + rcx 0x13d3 191 rcx = sx.q([rbp - 0x14 {var_1c_4}].d) 0x13d7 192 [rax + (rcx << 2)].d = edx 0x13da 193 eax = [rbp - 0x10 {var_18_4}].d 0x13dd 194 eax = eax + 1 0x13e0 195 [rbp - 0x10 {var_18_4}].d = eax 0x13e3 196 goto 146 @ 0x1393 0x137e 197 eax = [rbp - 0x10 {var_18_3}].d 0x1381 198 eax = eax + 1 0x1384 199 [rbp - 0x10 {var_18_3}].d = eax 0x1387 200 goto 88 @ 0x1329 0x149d 201 eax = [rbp - 0x10 {var_18_7}].d 0x14a3 202 if (eax s>= [rbp - 8 {var_10_1}].d) then 207 @ 0x151f else 208 @ 0x14a9 0x13ed 203 eax = [rbp - 0x14 {var_1c_4}].d 0x13f0 204 eax = eax + 1 0x13f3 205 [rbp - 0x14 {var_1c_4}].d = eax 0x13f6 206 goto 65 @ 0x130f 0x151f 207 goto 210 @ 0x1524 0x14a9 208 [rbp - 0x14 {var_1c_5}].d = 1 0x14a9 209 goto 214 @ 0x14b0 0x1524 210 eax = [rbp - 8 {var_10_1}].d 0x1527 211 eax = eax - 1 0x152a 212 [rbp - 8 {var_10_1}].d = eax 0x152d 213 goto 25 @ 0x1209 0x14b0 214 eax = [rbp - 0x14 {var_1c_5}].d 0x14b6 215 if (eax s>= [rbp - 8 {var_10_1}].d) then 216 @ 0x150c else 217 @ 0x14bc 0x150c 216 goto 237 @ 0x1511 0x14bc 217 eax = [rbp - 0x10 {var_18_7}].d 0x14bf 218 eax = eax + 1 0x14c2 219 rcx = sx.q(eax) 0x14c5 220 rax = rbp - 0x9c70 {var_9c78} 0x14cc 221 rcx = rcx * 0x190 0x14d3 222 rax = rax + rcx 0x14d6 223 ecx = [rbp - 0x14 {var_1c_5}].d 0x14d9 224 ecx = ecx + 1 0x14dc 225 rcx = sx.q(ecx) 0x14df 226 edx = [rax + (rcx << 2)].d 0x14e2 227 rcx = sx.q([rbp - 0x10 {var_18_7}].d) 0x14e6 228 rax = rbp - 0x9c70 {var_9c78} 0x14ed 229 rcx = rcx * 0x190 0x14f4 230 rax = rax + rcx 0x14f7 231 rcx = sx.q([rbp - 0x14 {var_1c_5}].d) 0x14fb 232 [rax + (rcx << 2)].d = edx 0x14fe 233 eax = [rbp - 0x14 {var_1c_5}].d 0x1501 234 eax = eax + 1 0x1504 235 [rbp - 0x14 {var_1c_5}].d = eax 0x1507 236 goto 214 @ 0x14b0 0x1511 237 eax = [rbp - 0x10 {var_18_7}].d 0x1514 238 eax = eax + 1 0x1517 239 [rbp - 0x10 {var_18_7}].d = eax 0x151a 240 goto 201 @ 0x149d int64_t _fini(): 0x1560 0 rsp = rsp - 8 0x1564 1 rsp = rsp + 8 0x1568 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 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) 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 = 0x11e0 {"UAWAVAUATSH8At"} 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 f(int32_t* arg1): 0x1150 0 r8d = [rdi + 0x10].d 0x1154 1 r10d = r8d 0x1157 2 temp0.d = r10d 0x1157 3 r10d = r10d - 1 0x1157 4 cond:0 = temp0.d u< 1 0x1157 5 cond:1 = temp0.d u< 1 0x115b 6 edx = 0x74 {""} 0x1160 7 eax = 0x66 {""} 0x1165 8 if (cond:0) then 9 else 11 @ 0x1168 0x1165 9 eax = edx 0x1165 10 goto 11 @ 0x1168 0x1168 11 r9d = 0x66 {""} 0x116e 12 if (cond:1) then 13 else 15 @ 0x1172 0x116e 13 edx = r9d 0x116e 14 goto 15 @ 0x1172 0x1172 15 esi = [rdi].d 0x1174 16 ecx = [rdi + 4].d 0x117a 17 if (esi u< 2) then 18 else 20 @ 0x117d 0x117a 18 edx = eax 0x117a 19 goto 20 @ 0x117d 0x117d 20 cond:2 = ecx == 1 0x117d 21 cond:3 = ecx u> 1 0x1180 22 eax = 0x66 {""} 0x1185 23 if (cond:2) then 24 else 26 @ 0x1188 0x1185 24 eax = edx 0x1185 25 goto 26 @ 0x1188 0x1188 26 if (cond:3) then 27 else 29 @ 0x118b 0x1188 27 eax = edx 0x1188 28 goto 29 @ 0x118b 0x118b 29 cond:4 = esi == 4 0x118b 30 cond:5 = esi == 4 0x118e 31 ecx = 0x66 {""} 0x1193 32 if (cond:4) then 33 else 35 @ 0x1196 0x1193 33 ecx = eax 0x1193 34 goto 35 @ 0x1196 0x1196 35 if (cond:5) then 36 else 38 @ 0x119a 0x1196 36 eax = r9d 0x1196 37 goto 38 @ 0x119a 0x119a 38 edx = [rdi + 8].d 0x11a0 39 if (edx u< 2) then 40 else 42 @ 0x11a3 0x11a0 40 eax = ecx 0x11a0 41 goto 42 @ 0x11a3 0x11a3 42 temp1.d = edx 0x11a3 43 cond:6 = temp1.d == 0 0x11a3 44 cond:7 = temp1.d != 0 0x11a5 45 ecx = eax 0x11a7 46 if (cond:6) then 47 else 49 @ 0x11ab 0x11a7 47 ecx = r9d 0x11a7 48 goto 49 @ 0x11ab 0x11ab 49 edx = [rdi + 0xc].d 0x11ae 50 if (cond:7) then 51 else 53 @ 0x11b5 0x11ae 51 eax = r9d 0x11ae 52 goto 53 @ 0x11b5 0x11b5 53 if (edx u< 2) then 54 else 56 @ 0x11b8 0x11b5 54 eax = ecx 0x11b5 55 goto 56 @ 0x11b8 0x11b8 56 temp2.d = edx 0x11b8 57 cond:8 = temp2.d == 0 0x11b8 58 cond:9 = temp2.d == 0 0x11ba 59 ecx = 0x66 {""} 0x11bf 60 if (cond:8) then 61 else 63 @ 0x11c2 0x11bf 61 ecx = eax 0x11bf 62 goto 63 @ 0x11c2 0x11c2 63 if (cond:9) then 64 else 66 @ 0x11ca 0x11c2 64 eax = r9d 0x11c2 65 goto 66 @ 0x11ca 0x11ca 66 if (r8d u< 2) then 67 else 69 @ 0x11d1 0x11ca 67 eax = ecx 0x11ca 68 goto 69 @ 0x11d1 0x11d1 69 if (r10d u< 2) then 70 else 72 @ 0x11d5 0x11d1 70 eax = r9d 0x11d1 71 goto 72 @ 0x11d5 0x11d5 72 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x11e0 0 push(rbp) 0x11e1 1 push(r15) 0x11e3 2 push(r14) 0x11e5 3 push(r13) 0x11e7 4 push(r12) 0x11e9 5 push(rbx) 0x11ea 6 rsp = rsp - 0x38 0x11ee 7 r8d = 0x74 {""} 0x11f4 8 esi = 0x66 {""} 0x11f9 9 edi = 0 0x11fb 10 r12d = 0 0x11fe 11 goto 12 @ 0x1213 0x1213 12 eax = (r12 + 1).d 0x1218 13 [rsp + 8 {var_60_1}].d = eax 0x121c 14 r9d = 0 0x121f 15 r10d = 0 0x1222 16 [rsp + 0x20 {var_48_1}].q = rdi 0x1227 17 [rsp + 0x18 {var_50_1}].q = r12 0x122c 18 goto 19 @ 0x1241 0x1241 19 if (r10d == r12d) then 20 @ 0x1230 else 23 @ 0x1243 0x1230 20 r10d = r10d + 1 0x1234 21 r9d = r9d - 1 0x123c 22 if (r10d == 5) then 29 @ 0x1200 else 19 @ 0x1241 0x1243 23 eax = (r10 + 1).d 0x1247 24 [rsp + 0xc {var_5c_1}].d = eax 0x124b 25 r11d = 0 0x124e 26 r15d = 0 0x1251 27 [rsp + 0x28 {var_40_1}].q = r9 0x1256 28 goto 33 @ 0x1271 0x1200 29 edi = edi - 1 0x1203 30 eax = [rsp + 8 {var_60_1}].d 0x1207 31 r12d = eax 0x120d 32 if (eax == 5) then 34 @ 0x13ec else 12 @ 0x1213 0x1271 33 if (r15d == r12d) then 49 @ 0x1260 else 52 @ 0x1276 0x13ec 34 eax = 0 0x13ee 35 call(0x1040) 0x13f3 36 eax = 0 0x13f5 37 call(0x1040) 0x13fa 38 eax = 0 0x13fc 39 call(0x1040) 0x1401 40 eax = 0 0x1403 41 rsp = rsp + 0x38 0x1407 42 rbx = pop 0x1408 43 r12 = pop 0x140a 44 r13 = pop 0x140c 45 r14 = pop 0x140e 46 r15 = pop 0x1410 47 rbp = pop 0x1411 48 <return> jump(pop) 0x1260 49 r15d = r15d + 1 0x1264 50 r11d = r11d - 1 0x126c 51 if (r15d == 5) then 20 @ 0x1230 else 33 @ 0x1271 0x1276 52 if (r15d == r10d) then 49 @ 0x1260 else 53 @ 0x1278 0x1278 53 eax = (r15 + 1).d 0x127c 54 [rsp + 0x10 {var_58_1}].d = eax 0x1280 55 ebx = 0 0x1282 56 ebp = 0 0x1284 57 [rsp + 0x30 {var_38_1}].q = r15 0x1289 58 goto 59 @ 0x129e 0x129e 59 if (ebp == r12d) then 60 @ 0x1290 else 63 @ 0x12a3 0x1290 60 ebp = ebp + 1 0x1293 61 ebx = ebx - 1 0x1299 62 if (ebp == 5) then 49 @ 0x1260 else 59 @ 0x129e 0x12a3 63 if (ebp == r10d) then 60 @ 0x1290 else 64 @ 0x12a8 0x12a8 64 if (ebp == r15d) then 60 @ 0x1290 else 65 @ 0x12aa 0x12aa 65 eax = (rbp + 1).d 0x12ad 66 [rsp + 0x14 {var_54_1}].d = eax 0x12b1 67 r14d = 1 0x12b7 68 goto 69 @ 0x12ca 0x12ca 69 eax = (rdi + r14).d 0x12d1 70 if (eax == 1) then 71 @ 0x12c0 else 73 @ 0x12d3 0x12c0 71 r14d = r14d + 1 0x12c8 72 if (r14d == 6) then 60 @ 0x1290 else 69 @ 0x12ca 0x12d3 73 eax = (r9 + r14).d 0x12da 74 if (eax == 1) then 71 @ 0x12c0 else 75 @ 0x12dc 0x12dc 75 eax = (r11 + r14).d 0x12e3 76 if (eax == 1) then 71 @ 0x12c0 else 77 @ 0x12e5 0x12e5 77 eax = (rbx + r14).d 0x12ec 78 if (eax == 1) then 71 @ 0x12c0 else 79 @ 0x12ee 0x12ee 79 cond:0 = r14d == 1 0x12ee 80 cond:1 = r14d == 1 0x12f2 81 eax = 0x66 {""} 0x12f7 82 if (cond:0) then 83 else 85 @ 0x12fb 0x12f7 83 eax = r8d 0x12f7 84 goto 85 @ 0x12fb 0x12fb 85 ecx = 0x74 {""} 0x1300 86 if (cond:1) then 87 else 89 @ 0x1307 0x1300 87 ecx = esi 0x1300 88 goto 89 @ 0x1307 0x1307 89 if (r12d u< 2) then 90 else 92 @ 0x130a 0x1307 90 ecx = eax 0x1307 91 goto 92 @ 0x130a 0x130a 92 cond:2 = r10d == 1 0x130a 93 cond:3 = r10d u> 1 0x130e 94 eax = 0x66 {""} 0x1313 95 if (cond:2) then 96 else 98 @ 0x1316 0x1313 96 eax = ecx 0x1313 97 goto 98 @ 0x1316 0x1316 98 if (cond:3) then 99 else 101 @ 0x1319 0x1316 99 eax = ecx 0x1316 100 goto 101 @ 0x1319 0x1319 101 cond:4 = r12d == 4 0x1319 102 cond:5 = r12d == 4 0x131d 103 ecx = 0x66 {""} 0x1322 104 if (cond:4) then 105 else 107 @ 0x1325 0x1322 105 ecx = eax 0x1322 106 goto 107 @ 0x1325 0x1325 107 if (cond:5) then 108 else 110 @ 0x132c 0x1325 108 eax = esi 0x1325 109 goto 110 @ 0x132c 0x132c 110 if (r15d u< 2) then 111 else 113 @ 0x132f 0x132c 111 eax = ecx 0x132c 112 goto 113 @ 0x132f 0x132f 113 temp0.d = r15d 0x132f 114 cond:6 = temp0.d == 0 0x132f 115 cond:7 = temp0.d != 0 0x1332 116 ecx = eax 0x1334 117 if (cond:6) then 118 else 120 @ 0x1337 0x1334 118 ecx = esi 0x1334 119 goto 120 @ 0x1337 0x1337 120 if (cond:7) then 121 else 123 @ 0x133d 0x1337 121 eax = esi 0x1337 122 goto 123 @ 0x133d 0x133d 123 if (ebp u< 2) then 124 else 126 @ 0x1340 0x133d 124 eax = ecx 0x133d 125 goto 126 @ 0x1340 0x1340 126 temp1.d = ebp 0x1340 127 cond:8 = temp1.d == 0 0x1340 128 cond:9 = temp1.d == 0 0x1342 129 ecx = 0x66 {""} 0x1347 130 if (cond:8) then 131 else 133 @ 0x134a 0x1347 131 ecx = eax 0x1347 132 goto 133 @ 0x134a 0x134a 133 edx = (r14 - 1).d 0x134e 134 if (cond:9) then 135 else 137 @ 0x1354 0x134e 135 eax = esi 0x134e 136 goto 137 @ 0x1354 0x1354 137 if (edx u< 2) then 138 else 140 @ 0x1357 0x1354 138 eax = ecx 0x1354 139 goto 140 @ 0x1357 0x1357 140 ecx = (r14 - 4).d 0x135e 141 if (ecx u> -3) then 71 @ 0x12c0 else 142 @ 0x1366 0x1366 142 if (al != 0x74) then 71 @ 0x12c0 else 143 @ 0x136c 0x136c 143 r13 = 0x2004 {"%d "} 0x1373 144 rdi = r13 0x1376 145 esi = [rsp + 8 {var_60_1}].d 0x137a 146 eax = 0 0x137c 147 r12 = r10 0x137f 148 r15 = r11 0x1382 149 call(0x1030) 0x1387 150 rdi = r13 0x138a 151 esi = [rsp + 0xc {var_5c_1}].d 0x138e 152 eax = 0 0x1390 153 call(0x1030) 0x1395 154 rdi = r13 0x1398 155 esi = [rsp + 0x10 {var_58_1}].d 0x139c 156 eax = 0 0x139e 157 call(0x1030) 0x13a3 158 rdi = r13 0x13a6 159 esi = [rsp + 0x14 {var_54_1}].d 0x13aa 160 eax = 0 0x13ac 161 call(0x1030) 0x13b1 162 rdi = 0x2008 {"%d\n"} 0x13b8 163 esi = r14d 0x13bb 164 eax = 0 0x13bd 165 call(0x1030) 0x13c2 166 r11 = r15 0x13c5 167 r10 = r12 0x13c8 168 r15 = [rsp + 0x30 {var_38_1}].q 0x13cd 169 r9 = [rsp + 0x28 {var_40_1}].q 0x13d2 170 r12 = [rsp + 0x18 {var_50_1}].q 0x13d7 171 esi = 0x66 {""} 0x13dc 172 rdi = [rsp + 0x20 {var_48_1}].q 0x13e1 173 r8d = 0x74 {""} 0x13e7 174 goto 71 @ 0x12c0 int64_t _fini(): 0x1418 0 rsp = rsp - 8 0x141c 1 rsp = rsp + 8 0x1420 2 <return> jump(pop)
POJ_41
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t 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 = 0x1370 {"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) uint64_t search(): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r12) 0x1167 4 push(rbx) 0x1168 5 rsp = rsp - 0x3d0900 0x116f 6 r14 = rsp {var_3d0928} 0x1172 7 edx = 0x3d0900 {""} 0x1177 8 rdi = r14 {var_3d0928} 0x117a 9 esi = 0 0x117c 10 call(0x1040) 0x1181 11 r8 = sx.q([0x4050].d) 0x1188 12 r10d = r8d 0x118f 13 if (r8 s>= 2) then 14 @ 0x12cc else 22 @ 0x1198 0x12cc 14 r9d = (r8 - 1).d 0x12d0 15 r15 = 0x5000 {""} 0x12d7 16 r12 = 0x4060 {""} 0x12de 17 r11d = 0 0x12e1 18 rsi = r10 0x12e4 19 rdi = r12 0x12e7 20 rcx = r15 0x12ea 21 goto 23 @ 0x1305 0x1198 22 if (r10d s<= 0) then 26 @ 0x12b7 else 34 @ 0x119e 0x1305 23 rbx = r11 0x1308 24 r11 = r11 + 1 0x130f 25 if (r10d s<= r11d) then 40 @ 0x12f0 else 44 @ 0x1311 0x12b7 26 eax = [rsp + (r8 << 2) - 4].d 0x12bc 27 rsp = rsp + 0x3d0900 0x12c3 28 rbx = pop 0x12c4 29 r12 = pop 0x12c6 30 r14 = pop 0x12c8 31 r15 = pop 0x12ca 32 rbp = pop 0x12cb 33 <return> jump(pop) 0x119e 34 ecx = (r8 - 2).d 0x11a2 35 edx = [0x4060].d 0x11a8 36 rsi = r10 << 2 0x11b0 37 edi = 0 0x11b2 38 rax = 0x5000 {""} 0x11b9 39 goto 46 @ 0x11d7 0x12f0 40 rcx = rcx + 4 0x12f4 41 rdi = rdi + 4 0x12f8 42 rsi = rsi - 1 0x12ff 43 if (r11 == r9) then 22 @ 0x1198 else 23 @ 0x1305 0x1311 44 eax = 1 0x1316 45 goto 49 @ 0x1329 0x11d7 46 temp0.d = [rdi + rax].d 0x11d7 47 cond:0 = temp0.d != edx 0x11da 48 if (temp0.d s< edx) then 52 @ 0x11c0 else 54 @ 0x11dc 0x1329 49 ebp = [r12 + (rbx << 2)].d 0x132d 50 edx = [rdi + (rax << 2)].d 0x1332 51 if (ebp s< edx) then 55 @ 0x1350 else 60 @ 0x1334 0x11c0 52 [r14].d = 1 0x11c0 53 goto 63 @ 0x11c7 0x11dc 54 if (cond:0) then 66 @ 0x11f0 else 68 @ 0x11de 0x1350 55 [r12 + (rbx << 2)].d = edx 0x1354 56 [rdi + (rax << 2)].d = ebp 0x1357 57 ebp = [r15 + (rbx << 2)].d 0x135b 58 edx = [rcx + (rax << 2)].d 0x1360 59 if (ebp s>= edx) then 70 @ 0x1320 else 72 @ 0x1362 0x1334 60 ebp = [r15 + (rbx << 2)].d 0x1338 61 edx = [rcx + (rax << 2)].d 0x133d 62 if (ebp s>= edx) then 70 @ 0x1320 else 75 @ 0x133f 0x11c7 63 rdi = rdi + 4 0x11cb 64 r14 = r14 + 0xfa0 0x11d5 65 if (rsi == rdi) then 76 @ 0x11fd else 46 @ 0x11d7 0x11f0 66 [r14].d = -1 0x11f7 67 goto 63 @ 0x11c7 0x11de 68 [r14].d = 0 0x11e5 69 goto 63 @ 0x11c7 0x1320 70 rax = rax + 1 0x1327 71 if (rsi == rax) then 40 @ 0x12f0 else 49 @ 0x1329 0x1362 72 [r15 + (rbx << 2)].d = edx 0x1366 73 [rcx + (rax << 2)].d = ebp 0x1369 74 goto 70 @ 0x1320 0x133f 75 goto 72 @ 0x1362 0x11fd 76 if (r8d s< 2) then 26 @ 0x12b7 else 77 @ 0x1203 0x1203 77 r11d = ecx 0x1206 78 r9d = (r10 + 1).d 0x120a 79 rcx = r11 * 0xfa0 0x1211 80 rdi = rsp + rcx 0x1215 81 rbx = rax + (r10 << 2) 0x1219 82 rbx = rbx - 4 0x121d 83 r14d = 2 0x1223 84 esi = 4 0x1228 85 r15 = 0x4060 {""} 0x122f 86 goto 87 @ 0x125c 0x125c 87 rax = r11 + 1 0x1263 88 if (rax s>= r10) then 89 @ 0x1240 else 95 @ 0x1265 0x1240 89 r11 = r11 - 1 0x1244 90 r14 = r14 + 1 0x1248 91 rdi = rdi - 0xfa0 0x124f 92 rsi = rsi + 4 0x1253 93 rbx = rbx - 4 0x125a 94 if (r14 == r9) then 26 @ 0x12b7 else 87 @ 0x125c 0x1265 95 edx = 0 0x1267 96 goto 97 @ 0x127d 0x127d 97 eax = [rbx + rdx].d 0x1280 98 ecx = [rdx + r15 + 4].d 0x1287 99 if (eax s>= ecx) then 100 @ 0x12a0 else 103 @ 0x1289 0x12a0 100 ebp = [rdi + rdx + 0xfa0].d 0x12a7 101 ebp = ebp - 1 0x12ac 102 if (eax s> ecx) then 106 @ 0x1270 else 109 @ 0x12ae 0x1289 103 eax = [rdi + rdx].d 0x128c 104 eax = eax + 1 0x128c 105 goto 111 @ 0x128f 0x1270 106 [rdi + rdx + 4].d = ebp 0x1274 107 rdx = rdx + 4 0x127b 108 if (rsi == rdx) then 89 @ 0x1240 else 97 @ 0x127d 0x12ae 109 eax = [rdi + rdx].d 0x12b3 110 if (ebp s> eax) then 106 @ 0x1270 else 114 @ 0x12b5 0x128f 111 [rdi + rdx + 4].d = eax 0x1293 112 rdx = rdx + 4 0x129a 113 if (rsi != rdx) then 97 @ 0x127d else 115 @ 0x129c 0x12b5 114 goto 111 @ 0x128f 0x129c 115 goto 89 @ 0x1240 int32_t main(int32_t argc, char** argv, char** envp): 0x1370 0 push(rbp) 0x1371 1 push(r15) 0x1373 2 push(r14) 0x1375 3 push(r13) 0x1377 4 push(r12) 0x1379 5 push(rbx) 0x137a 6 push(rax) 0x137b 7 rdi = 0x2004 {"%d"} 0x1382 8 rsi = 0x4050 {""} 0x1389 9 eax = 0 0x138b 10 call(0x1050) 0x1390 11 eax = [0x4050].d 0x1398 12 if (eax == 0) then 13 @ 0x1456 else 22 @ 0x139e 0x1456 13 eax = 0 0x1458 14 rsp = rsp + 8 0x145c 15 rbx = pop 0x145d 16 r12 = pop 0x145f 17 r13 = pop 0x1461 18 r14 = pop 0x1463 19 r15 = pop 0x1465 20 rbp = pop 0x1466 21 <return> jump(pop) 0x139e 22 r13 = 0x4060 {""} 0x13a5 23 r12 = 0x2004 {"%d"} 0x13ac 24 r14 = 0x2007 {"%d\n"} 0x13b3 25 r15 = 0x4050 {""} 0x13ba 26 goto 27 @ 0x13ee 0x13ee 27 if (eax s<= 0) then 28 @ 0x13c0 else 39 @ 0x13f0 0x13c0 28 call(0x1160) 0x13c5 29 esi = eax * 0xc8 0x13cb 30 rdi = r14 0x13ce 31 eax = 0 0x13d0 32 call(0x1030) 0x13d5 33 rdi = r12 0x13d8 34 rsi = r15 0x13db 35 eax = 0 0x13dd 36 call(0x1050) 0x13e2 37 eax = [0x4050].d 0x13ea 38 if (eax == 0) then 13 @ 0x1456 else 27 @ 0x13ee 0x13f0 39 rbx = r13 0x13f3 40 ebp = 0 0x13ff 41 goto 42 @ 0x1400 0x1400 42 rdi = r12 0x1403 43 rsi = rbx 0x1406 44 eax = 0 0x1408 45 call(0x1050) 0x140d 46 rbp = rbp + 1 0x1411 47 rax = sx.q([0x4050].d) 0x1418 48 rbx = rbx + 4 0x141f 49 if (rbp s< rax) then 42 @ 0x1400 else 50 @ 0x1423 0x1423 50 if (eax s<= 0) then 28 @ 0x13c0 else 51 @ 0x1425 0x1425 51 rbx = 0x5000 {""} 0x142c 52 ebp = 0 0x142e 53 goto 54 @ 0x1430 0x1430 54 rdi = r12 0x1433 55 rsi = rbx 0x1436 56 eax = 0 0x1438 57 call(0x1050) 0x143d 58 rbp = rbp + 1 0x1441 59 rax = sx.q([0x4050].d) 0x1448 60 rbx = rbx + 4 0x144f 61 if (rbp s< rax) then 54 @ 0x1430 else 62 @ 0x1451 0x1451 62 goto 28 @ 0x13c0 int64_t _fini(): 0x146c 0 rsp = rsp - 8 0x1470 1 rsp = rsp + 8 0x1474 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) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHh"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x1f68 0x1171 7 rdi = 0x2018 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_1f8c} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 0xc {var_1f8c}].d s<= 0) then 12 @ 0x1325 else 21 @ 0x118f 0x1325 12 eax = 0 0x1327 13 rsp = rsp + 0x1f68 0x132e 14 rbx = pop 0x132f 15 r12 = pop 0x1331 16 r13 = pop 0x1333 17 r14 = pop 0x1335 18 r15 = pop 0x1337 19 rbp = pop 0x1338 20 <return> jump(pop) 0x118f 21 r15 = rsp + 8 {var_1f90} 0x1194 22 r13 = 0x201b {"%lf"} 0x119b 23 r12 = 0x201f {"%.5lf\n"} 0x11a2 24 ebp = 0 0x11a4 25 goto 26 @ 0x11cc 0x11cc 26 rdi = 0x2018 {"%d"} 0x11d3 27 rsi = r15 {var_1f90} 0x11d6 28 eax = 0 0x11d8 29 call(0x1040) 0x11dd 30 cond:0 = [rsp + 8 {var_1f90}].d s<= 0 0x11e2 31 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x11e6 32 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11ea 33 if (cond:0) then 34 @ 0x130a else 42 @ 0x11f0 0x130a 34 xmm0.q = xmm0.q f/ xmm3.q 0x130e 35 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x130e 36 flag:c = xmm0.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x130e 37 flag:z = xmm0.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x130e 38 flag:s = 0 0x130e 39 flag:o = 0 0x130e 40 flag:a = 0 0x1316 41 if (flag:c) then 47 @ 0x11b0 else 49 @ 0x131c 0x11f0 42 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x11f4 43 rbx = rsp + 0x20 {var_1f78} 0x11f9 44 r14d = 0 0x11fc 45 xmm4 = 0 0x11ff 46 goto 51 @ 0x1200 0x11b0 47 call(0x1050) 0x11b0 48 goto 65 @ 0x11b5 0x131c 49 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1320 50 goto 65 @ 0x11b5 0x1200 51 [rsp + 0x10 {var_1f88_1}].q = xmm4.q 0x1206 52 [rsp + 0x18 {var_1f80_1}].q = xmm3.q 0x120c 53 rdi = r13 0x120f 54 rsi = rbx 0x1212 55 eax = 0 0x1214 56 call(0x1040) 0x1219 57 xmm4 = zx.o([rsp + 0x10 {var_1f88_1}].q) 0x121f 58 xmm3 = zx.o([rsp + 0x18 {var_1f80_1}].q) 0x1225 59 xmm4.q = xmm4.q f+ fconvert.t([rbx].q) 0x1229 60 xmm3.q = xmm3.q f+ fconvert.t([0x2008].q) 0x1231 61 r14 = r14 + 1 0x1235 62 rax = sx.q([rsp + 8 {var_1f90}].d) 0x123a 63 rbx = rbx + 8 0x1241 64 if (r14 s< rax) then 51 @ 0x1200 else 70 @ 0x1243 0x11b5 65 rdi = r12 0x11b8 66 al = 1 0x11ba 67 call(0x1030) 0x11bf 68 ebp = ebp + 1 0x11c6 69 if (ebp s>= [rsp + 0xc {var_1f8c}].d) then 12 @ 0x1325 else 26 @ 0x11cc 0x1243 70 ecx = eax 0x1247 71 if (ecx s<= 0) then 72 @ 0x1270 else 74 @ 0x1249 0x1270 72 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1274 73 goto 34 @ 0x130a 0x1249 74 xmm4.q = xmm4.q f/ xmm3.q 0x124d 75 rdx = rcx - 1 0x1251 76 eax = ecx 0x1253 77 eax = eax & 3 0x125a 78 if (rdx u>= 3) then 79 @ 0x1279 else 83 @ 0x125c 0x1279 79 ecx = ecx & 0xfffffffc 0x127c 80 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1280 81 edx = 0 0x128c 82 goto 86 @ 0x1290 0x125c 83 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1260 84 edx = 0 0x1262 85 goto 104 @ 0x12e4 0x1290 86 xmm1 = zx.o([rsp + (rdx << 3) + 0x20].q) 0x1296 87 xmm2 = zx.o([rsp + (rdx << 3) + 0x28].q) 0x129c 88 xmm1.q = xmm1.q f- xmm4.q 0x12a0 89 xmm1.q = xmm1.q f* xmm1.q 0x12a4 90 xmm1.q = xmm1.q f+ xmm0.q 0x12a8 91 xmm2.q = xmm2.q f- xmm4.q 0x12ac 92 xmm2.q = xmm2.q f* xmm2.q 0x12b0 93 xmm2.q = xmm2.q f+ xmm1.q 0x12b4 94 xmm1 = zx.o([rsp + (rdx << 3) + 0x30].q) 0x12ba 95 xmm1.q = xmm1.q f- xmm4.q 0x12be 96 xmm1.q = xmm1.q f* xmm1.q 0x12c2 97 xmm1.q = xmm1.q f+ xmm2.q 0x12c6 98 xmm0 = zx.o([rsp + (rdx << 3) + 0x38].q) 0x12cc 99 xmm0.q = xmm0.q f- xmm4.q 0x12d0 100 xmm0.q = xmm0.q f* xmm0.q 0x12d4 101 xmm0.q = xmm0.q f+ xmm1.q 0x12d8 102 rdx = rdx + 4 0x12df 103 if (rcx != rdx) then 86 @ 0x1290 else 104 @ 0x12e4 0x12e4 104 if (rax == 0) then 34 @ 0x130a else 105 @ 0x12e6 0x12e6 105 rcx = rsp + (rdx << 3) 0x12ea 106 rcx = rcx + 0x20 0x12ee 107 edx = 0 0x12ee 108 goto 109 @ 0x12f0 0x12f0 109 xmm1 = zx.o([rcx + (rdx << 3)].q) 0x12f5 110 xmm1.q = xmm1.q f- xmm4.q 0x12f9 111 xmm1.q = xmm1.q f* xmm1.q 0x12fd 112 xmm0.q = xmm0.q f+ xmm1.q 0x1301 113 rdx = rdx + 1 0x1308 114 if (rax != rdx) then 109 @ 0x12f0 else 34 @ 0x130a int64_t _fini(): 0x1340 0 rsp = rsp - 8 0x1344 1 rsp = rsp + 8 0x1348 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 {"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"} 0x115b 2 rsi = rsp + 0x14 {var_4} 0x1160 3 eax = 0 0x1162 4 call(0x1040) 0x1167 5 rax = sx.q([rsp + 0x14 {var_4}].d) 0x116c 6 rsi = rax * 0x51eb851f 0x1173 7 rcx = rsi 0x1176 8 rcx = rcx u>> 0x3f 0x117a 9 rsi = rsi s>> 0x25 0x117e 10 esi = esi + ecx 0x1180 11 ecx = esi * -0x64 0x1183 12 ecx = ecx + eax 0x1185 13 rax = sx.q(ecx) 0x1188 14 rdx = rax * 0x51eb851f 0x118f 15 rcx = rdx 0x1192 16 rcx = rcx u>> 0x3f 0x1196 17 rdx = rdx s>> 0x24 0x119a 18 edx = edx + ecx 0x119c 19 ecx = edx * -0x32 0x119f 20 eax = eax + ecx 0x11a1 21 rax = sx.q(eax) 0x11a3 22 rcx = rax * 0x66666667 0x11aa 23 rdi = rcx 0x11ad 24 rdi = rdi u>> 0x3f 0x11b1 25 rcx = rcx s>> 0x23 0x11b5 26 ecx = ecx + edi 0x11b7 27 edi = (rcx << 2).d 0x11be 28 edi = (rdi + (rdi << 2)).d 0x11c1 29 eax = eax - edi 0x11c3 30 rax = sx.q(eax) 0x11c5 31 r8 = rax * 0x66666667 0x11cc 32 rdi = r8 0x11cf 33 rdi = rdi u>> 0x3f 0x11d3 34 r8 = r8 s>> 0x22 0x11d7 35 r8d = r8d + edi 0x11da 36 edi = (r8 + r8).d 0x11de 37 edi = (rdi + (rdi << 2)).d 0x11e1 38 eax = eax - edi 0x11e3 39 rax = sx.q(eax) 0x11e5 40 r9 = rax * 0x66666667 0x11ec 41 rdi = r9 0x11ef 42 rdi = rdi u>> 0x3f 0x11f3 43 r9 = r9 s>> 0x21 0x11f7 44 r9d = r9d + edi 0x11fa 45 edi = (r9 + (r9 << 2)).d 0x11fe 46 eax = eax - edi 0x1200 47 [rsp + 0x14 {var_4}].d = eax 0x1204 48 [rsp {var_18}].d = eax 0x1207 49 rdi = 0x2007 {"%d\n%d\n%d\n%d\n%d\n%d\n"} 0x120e 50 eax = 0 0x1210 51 call(0x1030) 0x1215 52 eax = 0 0x1217 53 rsp = rsp + 0x18 0x121b 54 <return> jump(pop) int64_t _fini(): 0x1220 0 rsp = rsp - 8 0x1224 1 rsp = rsp + 8 0x1228 2 <return> jump(pop)
POJ_97
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t 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 = 0x1180 {"AVSHxHx"} 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 panduan(int32_t arg1, int32_t arg2): 0x1163 0 al = edi s< 5 0x1169 1 cl = esi s< 5 0x116c 2 cl = cl & al 0x116e 3 eax = zx.d(cl) 0x1171 4 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(r14) 0x1182 1 push(rbx) 0x1183 2 rsp = rsp - 0x78 0x1187 3 rbx = 0x2006 {"%d"} 0x118e 4 rsi = rsp {var_88} 0x1191 5 rdi = rbx 0x1194 6 eax = 0 0x1196 7 call(0x1040) 0x119b 8 rsi = rsp + 4 {var_84} 0x11a0 9 rdi = rbx 0x11a3 10 eax = 0 0x11a5 11 call(0x1040) 0x11aa 12 rsi = rsp + 8 {var_80} 0x11af 13 rdi = rbx 0x11b2 14 eax = 0 0x11b4 15 call(0x1040) 0x11b9 16 rsi = rsp + 0xc {var_7c} 0x11be 17 rdi = rbx 0x11c1 18 eax = 0 0x11c3 19 call(0x1040) 0x11c8 20 rsi = rsp + 0x10 {var_78} 0x11cd 21 rdi = rbx 0x11d0 22 eax = 0 0x11d2 23 call(0x1040) 0x11d7 24 rsi = rsp + 0x14 {var_74} 0x11dc 25 rdi = rbx 0x11df 26 eax = 0 0x11e1 27 call(0x1040) 0x11e6 28 rsi = rsp + 0x18 {var_70} 0x11eb 29 rdi = rbx 0x11ee 30 eax = 0 0x11f0 31 call(0x1040) 0x11f5 32 rsi = rsp + 0x1c {var_6c} 0x11fa 33 rdi = rbx 0x11fd 34 eax = 0 0x11ff 35 call(0x1040) 0x1204 36 rsi = rsp + 0x20 {var_68} 0x1209 37 rdi = rbx 0x120c 38 eax = 0 0x120e 39 call(0x1040) 0x1213 40 rsi = rsp + 0x24 {var_64} 0x1218 41 rdi = rbx 0x121b 42 eax = 0 0x121d 43 call(0x1040) 0x1222 44 rsi = rsp + 0x28 {var_60} 0x1227 45 rdi = rbx 0x122a 46 eax = 0 0x122c 47 call(0x1040) 0x1231 48 rsi = rsp + 0x2c {var_5c} 0x1236 49 rdi = rbx 0x1239 50 eax = 0 0x123b 51 call(0x1040) 0x1240 52 rsi = rsp + 0x30 {var_58} 0x1245 53 rdi = rbx 0x1248 54 eax = 0 0x124a 55 call(0x1040) 0x124f 56 rsi = rsp + 0x34 {var_54} 0x1254 57 rdi = rbx 0x1257 58 eax = 0 0x1259 59 call(0x1040) 0x125e 60 rsi = rsp + 0x38 {var_50} 0x1263 61 rdi = rbx 0x1266 62 eax = 0 0x1268 63 call(0x1040) 0x126d 64 rsi = rsp + 0x3c {var_4c} 0x1272 65 rdi = rbx 0x1275 66 eax = 0 0x1277 67 call(0x1040) 0x127c 68 rsi = rsp + 0x40 {var_48} 0x1281 69 rdi = rbx 0x1284 70 eax = 0 0x1286 71 call(0x1040) 0x128b 72 rsi = rsp + 0x44 {var_44} 0x1290 73 rdi = rbx 0x1293 74 eax = 0 0x1295 75 call(0x1040) 0x129a 76 rsi = rsp + 0x48 {var_40} 0x129f 77 rdi = rbx 0x12a2 78 eax = 0 0x12a4 79 call(0x1040) 0x12a9 80 rsi = rsp + 0x4c {var_3c} 0x12ae 81 rdi = rbx 0x12b1 82 eax = 0 0x12b3 83 call(0x1040) 0x12b8 84 rsi = rsp + 0x50 {var_38} 0x12bd 85 rdi = rbx 0x12c0 86 eax = 0 0x12c2 87 call(0x1040) 0x12c7 88 rsi = rsp + 0x54 {var_34} 0x12cc 89 rdi = rbx 0x12cf 90 eax = 0 0x12d1 91 call(0x1040) 0x12d6 92 rsi = rsp + 0x58 {var_30} 0x12db 93 rdi = rbx 0x12de 94 eax = 0 0x12e0 95 call(0x1040) 0x12e5 96 rsi = rsp + 0x5c {var_2c} 0x12ea 97 rdi = rbx 0x12ed 98 eax = 0 0x12ef 99 call(0x1040) 0x12f4 100 rsi = rsp + 0x60 {var_28} 0x12f9 101 rdi = rbx 0x12fc 102 eax = 0 0x12fe 103 call(0x1040) 0x1303 104 rdi = 0x2004 {"%d%d"} 0x130a 105 rsi = rsp + 0x74 {var_14} 0x130f 106 rdx = rsp + 0x70 {var_18} 0x1314 107 eax = 0 0x1316 108 call(0x1040) 0x131b 109 rax = sx.q([rsp + 0x74 {var_14}].d) 0x1324 110 if (rax s> 4) then 111 @ 0x14cf else 114 @ 0x132a 0x14cf 111 rdi = 0x2011 {"error"} 0x14d6 112 call(0x1050) 0x14d6 113 goto 116 @ 0x14db 0x132a 114 ecx = [rsp + 0x70 {var_18}].d 0x1331 115 if (ecx s> 4) then 111 @ 0x14cf else 120 @ 0x1337 0x14db 116 rsp = rsp + 0x78 0x14df 117 rbx = pop 0x14e0 118 r14 = pop 0x14e2 119 <return> jump(pop) 0x1337 120 rcx = sx.q(ecx) 0x133a 121 rax = rax + (rax << 2) 0x133e 122 rcx = rcx + (rcx << 2) 0x1342 123 xmm0 = [rsp + (rax << 2)].o 0x1346 124 xmm1 = [rsp + (rcx << 2)].o 0x134a 125 [rsp + (rax << 2)].o = xmm1 0x134e 126 [rsp + (rcx << 2)].o = xmm0 0x1352 127 edx = [rsp + (rax << 2) + 0x10].d 0x1356 128 esi = [rsp + (rcx << 2) + 0x10].d 0x135a 129 [rsp + (rax << 2) + 0x10].d = esi 0x135e 130 [rsp + (rcx << 2) + 0x10].d = edx 0x1362 131 esi = [rsp {var_88}].d 0x1365 132 rbx = 0x2009 {"%d "} 0x136c 133 rdi = rbx 0x136f 134 eax = 0 0x1371 135 call(0x1030) 0x1376 136 esi = [rsp + 4 {var_84}].d 0x137a 137 rdi = rbx 0x137d 138 eax = 0 0x137f 139 call(0x1030) 0x1384 140 esi = [rsp + 8 {var_80}].d 0x1388 141 rdi = rbx 0x138b 142 eax = 0 0x138d 143 call(0x1030) 0x1392 144 esi = [rsp + 0xc {var_7c}].d 0x1396 145 rdi = rbx 0x1399 146 eax = 0 0x139b 147 call(0x1030) 0x13a0 148 esi = [rsp + 0x10 {var_78}].d 0x13a4 149 r14 = 0x200d {"%d\n"} 0x13ab 150 rdi = r14 0x13ae 151 eax = 0 0x13b0 152 call(0x1030) 0x13b5 153 esi = [rsp + 0x14 {var_74}].d 0x13b9 154 rdi = rbx 0x13bc 155 eax = 0 0x13be 156 call(0x1030) 0x13c3 157 esi = [rsp + 0x18 {var_70}].d 0x13c7 158 rdi = rbx 0x13ca 159 eax = 0 0x13cc 160 call(0x1030) 0x13d1 161 esi = [rsp + 0x1c {var_6c}].d 0x13d5 162 rdi = rbx 0x13d8 163 eax = 0 0x13da 164 call(0x1030) 0x13df 165 esi = [rsp + 0x20 {var_68}].d 0x13e3 166 rdi = rbx 0x13e6 167 eax = 0 0x13e8 168 call(0x1030) 0x13ed 169 esi = [rsp + 0x24 {var_64}].d 0x13f1 170 rdi = r14 0x13f4 171 eax = 0 0x13f6 172 call(0x1030) 0x13fb 173 esi = [rsp + 0x28 {var_60}].d 0x13ff 174 rdi = rbx 0x1402 175 eax = 0 0x1404 176 call(0x1030) 0x1409 177 esi = [rsp + 0x2c {var_5c}].d 0x140d 178 rdi = rbx 0x1410 179 eax = 0 0x1412 180 call(0x1030) 0x1417 181 esi = [rsp + 0x30 {var_58}].d 0x141b 182 rdi = rbx 0x141e 183 eax = 0 0x1420 184 call(0x1030) 0x1425 185 esi = [rsp + 0x34 {var_54}].d 0x1429 186 rdi = rbx 0x142c 187 eax = 0 0x142e 188 call(0x1030) 0x1433 189 esi = [rsp + 0x38 {var_50}].d 0x1437 190 rdi = r14 0x143a 191 eax = 0 0x143c 192 call(0x1030) 0x1441 193 esi = [rsp + 0x3c {var_4c}].d 0x1445 194 rdi = rbx 0x1448 195 eax = 0 0x144a 196 call(0x1030) 0x144f 197 esi = [rsp + 0x40 {var_48}].d 0x1453 198 rdi = rbx 0x1456 199 eax = 0 0x1458 200 call(0x1030) 0x145d 201 esi = [rsp + 0x44 {var_44}].d 0x1461 202 rdi = rbx 0x1464 203 eax = 0 0x1466 204 call(0x1030) 0x146b 205 esi = [rsp + 0x48 {var_40}].d 0x146f 206 rdi = rbx 0x1472 207 eax = 0 0x1474 208 call(0x1030) 0x1479 209 esi = [rsp + 0x4c {var_3c}].d 0x147d 210 rdi = r14 0x1480 211 eax = 0 0x1482 212 call(0x1030) 0x1487 213 esi = [rsp + 0x50 {var_38}].d 0x148b 214 rdi = rbx 0x148e 215 eax = 0 0x1490 216 call(0x1030) 0x1495 217 esi = [rsp + 0x54 {var_34}].d 0x1499 218 rdi = rbx 0x149c 219 eax = 0 0x149e 220 call(0x1030) 0x14a3 221 esi = [rsp + 0x58 {var_30}].d 0x14a7 222 rdi = rbx 0x14aa 223 eax = 0 0x14ac 224 call(0x1030) 0x14b1 225 esi = [rsp + 0x5c {var_2c}].d 0x14b5 226 rdi = rbx 0x14b8 227 eax = 0 0x14ba 228 call(0x1030) 0x14bf 229 esi = [rsp + 0x60 {var_28}].d 0x14c3 230 rdi = r14 0x14c6 231 eax = 0 0x14c8 232 call(0x1030) 0x14cd 233 goto 116 @ 0x14db int64_t _fini(): 0x14e8 0 rsp = rsp - 8 0x14ec 1 rsp = rsp + 8 0x14f0 2 <return> jump(pop)
POJ_81
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH8"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x13898 0x1171 7 rdi = rsp + 0x10 {var_138b8} 0x1176 8 edx = 0x13888 {""} 0x117b 9 esi = 0 0x117d 10 call(0x1040) 0x1182 11 [rsp + 0x10 {var_138b8}].d = 1 0x118a 12 rbx = 0x2005 {"%d"} 0x1191 13 rsi = rsp + 0xc {var_138bc} 0x1196 14 rdi = rbx 0x1199 15 eax = 0 0x119b 16 call(0x1050) 0x11a0 17 rsi = rsp + 0x14 {var_138b4} 0x11a5 18 rdi = rbx 0x11a8 19 eax = 0 0x11aa 20 call(0x1050) 0x11af 21 esi = [rsp + 0x14 {var_138b4}].d 0x11b3 22 rdi = rbx 0x11b6 23 eax = 0 0x11b8 24 call(0x1030) 0x11c2 25 if ([rsp + 0xc {var_138bc}].d s>= 2) then 26 @ 0x11d8 else 32 @ 0x11c4 0x11d8 26 r13d = 1 0x11de 27 ebp = 2 0x11e3 28 ebx = 0xffffffff {""} 0x11e8 29 r15 = 0x2005 {"%d"} 0x11ef 30 r14 = 0x2004 {" %d"} 0x11f6 31 goto 41 @ 0x1218 0x11c4 32 eax = 0 0x11c6 33 rsp = rsp + 0x13898 0x11cd 34 rbx = pop 0x11ce 35 r12 = pop 0x11d0 36 r13 = pop 0x11d2 37 r14 = pop 0x11d4 38 r15 = pop 0x11d6 39 rbp = pop 0x11d7 40 <return> jump(pop) 0x1218 41 r12 = rsp + (rbp << 2) 0x121c 42 r12 = r12 + 0x10 0x1220 43 rdi = r15 0x1223 44 rsi = r12 0x1226 45 eax = 0 0x1228 46 call(0x1050) 0x122d 47 rax = rbp - 1 0x1231 48 edx = [rsp + (rbp << 2) + 0x10].d 0x1235 49 ecx = 0 0x1237 50 esi = eax 0x1239 51 goto 52 @ 0x1240 0x1240 52 edi = esi 0x1246 53 if (edx == [rsp + (rdi << 2) + 0x10].d) then 54 @ 0x1257 else 56 @ 0x1248 0x1257 54 ecx = ecx 0x125c 55 if (rax != rcx) then 62 @ 0x1200 else 69 @ 0x125e 0x1248 56 ecx = ecx + 1 0x124b 57 esi = esi - 1 0x124e 58 edi = ebx 0x1250 59 temp0.d = edi 0x1250 60 edi = edi + ecx 0x1252 61 if (temp0.d != neg.d(ecx)) then 52 @ 0x1240 else 74 @ 0x1254 0x1200 62 rax = rbp + 1 0x1204 63 rcx = sx.q([rsp + 0xc {var_138bc}].d) 0x1209 64 r13d = r13d + 1 0x120d 65 ebx = ebx - 1 0x1210 66 cond:0 = rbp s>= rcx 0x1213 67 rbp = rax 0x1216 68 if (cond:0) then 32 @ 0x11c4 else 41 @ 0x1218 0x125e 69 esi = [r12].d 0x1262 70 rdi = r14 0x1265 71 eax = 0 0x1267 72 call(0x1030) 0x126c 73 goto 62 @ 0x1200 0x1254 74 ecx = r13d 0x1254 75 goto 54 @ 0x1257 int64_t _fini(): 0x1274 0 rsp = rsp - 8 0x1278 1 rsp = rsp + 8 0x127c 2 <return> jump(pop)
POJ_13
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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 - 0x6e0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x10 {var_18}].d = 0 0x1169 5 [rbp - 0x14 {var_1c}].d = 0 0x1170 6 rdi = 0x2004 {"%d"} 0x1177 7 rsi = rbp - 8 {var_10} 0x117b 8 al = 0 0x117d 9 call(0x1040) 0x1182 10 [rbp - 0xc {var_14}].d = 0 0x1182 11 goto 12 @ 0x1189 0x1189 12 eax = [rbp - 0xc {var_14}].d 0x118f 13 if (eax s>= [rbp - 8 {var_10}].d) then 14 @ 0x1266 else 16 @ 0x1195 0x1266 14 [rbp - 0xc {var_14_1}].d = 0 0x1266 15 goto 33 @ 0x126d 0x1195 16 rax = sx.q([rbp - 0xc {var_14}].d) 0x1199 17 rsi = rbp - 0x6e0 {var_6e8} 0x11a0 18 rax = rax * 0xa 0x11a4 19 rsi = rsi + rax 0x11a7 20 rax = sx.q([rbp - 0xc {var_14}].d) 0x11ab 21 rdx = rbp - 0x1b0 {var_1b8} 0x11b2 22 rax = rax << 3 0x11b6 23 rdx = rdx + rax 0x11b9 24 rdi = 0x2007 {"%s%lf"} 0x11c0 25 al = 0 0x11c2 26 call(0x1040) 0x11c7 27 rcx = sx.q([rbp - 0xc {var_14}].d) 0x11cb 28 rax = rbp - 0x6e0 {var_6e8} 0x11d2 29 rcx = rcx * 0xa 0x11d6 30 rax = rax + rcx 0x11d9 31 eax = sx.d([rax].b) 0x11df 32 if (eax != 0x6d) then 37 @ 0x120d else 43 @ 0x11e5 0x126d 33 eax = [rbp - 0xc {var_14_1}].d 0x1270 34 ecx = [rbp - 0x10 {var_18}].d 0x1273 35 ecx = ecx - 1 0x1278 36 if (eax s>= ecx) then 51 @ 0x132c else 53 @ 0x127e 0x120d 37 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1211 38 rax = rbp - 0x6e0 {var_6e8} 0x1218 39 rcx = rcx * 0xa 0x121c 40 rax = rax + rcx 0x121f 41 eax = sx.d([rax].b) 0x1225 42 if (eax != 0x66) then 55 @ 0x124e else 56 @ 0x122b 0x11e5 43 rax = sx.q([rbp - 0xc {var_14}].d) 0x11e9 44 xmm0 = zx.o([rbp + (rax << 3) - 0x1b0].q) 0x11f2 45 rax = sx.q([rbp - 0x10 {var_18}].d) 0x11f6 46 [rbp + (rax << 3) - 0x340].q = xmm0.q 0x11ff 47 eax = [rbp - 0x10 {var_18}].d 0x1202 48 eax = eax + 1 0x1205 49 [rbp - 0x10 {var_18}].d = eax 0x1208 50 goto 64 @ 0x1253 0x132c 51 [rbp - 0xc {var_14_2}].d = 0 0x132c 52 goto 65 @ 0x1333 0x127e 53 [rbp - 0x18 {var_20_1}].d = 0 0x127e 54 goto 69 @ 0x1285 0x124e 55 goto 64 @ 0x1253 0x122b 56 rax = sx.q([rbp - 0xc {var_14}].d) 0x122f 57 xmm0 = zx.o([rbp + (rax << 3) - 0x1b0].q) 0x1238 58 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x123c 59 [rbp + (rax << 3) - 0x4d0].q = xmm0.q 0x1245 60 eax = [rbp - 0x14 {var_1c}].d 0x1248 61 eax = eax + 1 0x124b 62 [rbp - 0x14 {var_1c}].d = eax 0x124b 63 goto 55 @ 0x124e 0x1253 64 goto 73 @ 0x1258 0x1333 65 eax = [rbp - 0xc {var_14_2}].d 0x1336 66 ecx = [rbp - 0x14 {var_1c}].d 0x1339 67 ecx = ecx - 1 0x133e 68 if (eax s>= ecx) then 77 @ 0x13f1 else 79 @ 0x1344 0x1285 69 eax = [rbp - 0x18 {var_20_1}].d 0x1288 70 ecx = [rbp - 0x10 {var_18}].d 0x128b 71 ecx = ecx - 1 0x1290 72 if (eax s>= ecx) then 83 @ 0x1319 else 84 @ 0x1296 0x1258 73 eax = [rbp - 0xc {var_14}].d 0x125b 74 eax = eax + 1 0x125e 75 [rbp - 0xc {var_14}].d = eax 0x1261 76 goto 12 @ 0x1189 0x13f1 77 [rbp - 0xc {var_14_3}].d = 0 0x13f1 78 goto 96 @ 0x13f8 0x1344 79 eax = [rbp - 0x14 {var_1c}].d 0x1347 80 eax = eax - 2 0x134a 81 [rbp - 0x18 {var_20_2}].d = eax 0x134a 82 goto 98 @ 0x1351 0x1319 83 goto 99 @ 0x131e 0x1296 84 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x129a 85 xmm0 = zx.o([rbp + (rax << 3) - 0x340].q) 0x12a3 86 eax = [rbp - 0x18 {var_20_1}].d 0x12a6 87 eax = eax + 1 0x12a9 88 rax = sx.q(eax) 0x12ab 89 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0x340].q)) 0x12ab 90 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0x340].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0x340].q)) 0x12ab 91 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0x340].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0x340].q)) 0x12ab 92 flag:s = 0 0x12ab 93 flag:o = 0 0x12ab 94 flag:a = 0 0x12b4 95 if (flag:z || flag:c) then 103 @ 0x1306 else 104 @ 0x12ba 0x13f8 96 eax = [rbp - 0xc {var_14_3}].d 0x13fe 97 if (eax s>= [rbp - 0x10 {var_18}].d) then 119 @ 0x142d else 121 @ 0x1404 0x1351 98 if ([rbp - 0x18 {var_20_2}].d s< 0) then 130 @ 0x13de else 131 @ 0x1357 0x131e 99 eax = [rbp - 0xc {var_14_1}].d 0x1321 100 eax = eax + 1 0x1324 101 [rbp - 0xc {var_14_1}].d = eax 0x1327 102 goto 33 @ 0x126d 0x1306 103 goto 144 @ 0x130b 0x12ba 104 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x12be 105 xmm0 = zx.o([rbp + (rax << 3) - 0x340].q) 0x12c7 106 [rbp - 0x4e0 {var_4e8_1}].q = xmm0.q 0x12cf 107 eax = [rbp - 0x18 {var_20_1}].d 0x12d2 108 eax = eax + 1 0x12d5 109 rax = sx.q(eax) 0x12d7 110 xmm0 = zx.o([rbp + (rax << 3) - 0x340].q) 0x12e0 111 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x12e4 112 [rbp + (rax << 3) - 0x340].q = xmm0.q 0x12ed 113 xmm0 = zx.o([rbp - 0x4e0 {var_4e8_1}].q) 0x12f5 114 eax = [rbp - 0x18 {var_20_1}].d 0x12f8 115 eax = eax + 1 0x12fb 116 rax = sx.q(eax) 0x12fd 117 [rbp + (rax << 3) - 0x340].q = xmm0.q 0x12fd 118 goto 103 @ 0x1306 0x142d 119 [rbp - 0xc {var_14_4}].d = 0 0x142d 120 goto 148 @ 0x1434 0x1404 121 rax = sx.q([rbp - 0xc {var_14_3}].d) 0x1408 122 xmm0 = zx.o([rbp + (rax << 3) - 0x340].q) 0x1411 123 rdi = 0x200d {"%.2lf "} 0x1418 124 al = 1 0x141a 125 call(0x1030) 0x141f 126 eax = [rbp - 0xc {var_14_3}].d 0x1422 127 eax = eax + 1 0x1425 128 [rbp - 0xc {var_14_3}].d = eax 0x1428 129 goto 96 @ 0x13f8 0x13de 130 goto 152 @ 0x13e3 0x1357 131 rax = sx.q([rbp - 0x18 {var_20_2}].d) 0x135b 132 xmm1 = zx.o([rbp + (rax << 3) - 0x4d0].q) 0x1364 133 eax = [rbp - 0x18 {var_20_2}].d 0x1367 134 eax = eax + 1 0x136a 135 rax = sx.q(eax) 0x136c 136 xmm0 = zx.o([rbp + (rax << 3) - 0x4d0].q) 0x1375 137 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1375 138 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1375 139 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1375 140 flag:s = 0 0x1375 141 flag:o = 0 0x1375 142 flag:a = 0 0x1379 143 if (flag:z || flag:c) then 156 @ 0x13cb else 157 @ 0x137f 0x130b 144 eax = [rbp - 0x18 {var_20_1}].d 0x130e 145 eax = eax + 1 0x1311 146 [rbp - 0x18 {var_20_1}].d = eax 0x1314 147 goto 69 @ 0x1285 0x1434 148 eax = [rbp - 0xc {var_14_4}].d 0x1437 149 ecx = [rbp - 0x14 {var_1c}].d 0x143a 150 ecx = ecx - 1 0x143f 151 if (eax s>= ecx) then 172 @ 0x146e else 183 @ 0x1445 0x13e3 152 eax = [rbp - 0xc {var_14_2}].d 0x13e6 153 eax = eax + 1 0x13e9 154 [rbp - 0xc {var_14_2}].d = eax 0x13ec 155 goto 65 @ 0x1333 0x13cb 156 goto 192 @ 0x13d0 0x137f 157 rax = sx.q([rbp - 0x18 {var_20_2}].d) 0x1383 158 xmm0 = zx.o([rbp + (rax << 3) - 0x4d0].q) 0x138c 159 [rbp - 0x4d8 {var_4e0_1}].q = xmm0.q 0x1394 160 eax = [rbp - 0x18 {var_20_2}].d 0x1397 161 eax = eax + 1 0x139a 162 rax = sx.q(eax) 0x139c 163 xmm0 = zx.o([rbp + (rax << 3) - 0x4d0].q) 0x13a5 164 rax = sx.q([rbp - 0x18 {var_20_2}].d) 0x13a9 165 [rbp + (rax << 3) - 0x4d0].q = xmm0.q 0x13b2 166 xmm0 = zx.o([rbp - 0x4d8 {var_4e0_1}].q) 0x13ba 167 eax = [rbp - 0x18 {var_20_2}].d 0x13bd 168 eax = eax + 1 0x13c0 169 rax = sx.q(eax) 0x13c2 170 [rbp + (rax << 3) - 0x4d0].q = xmm0.q 0x13c2 171 goto 156 @ 0x13cb 0x146e 172 eax = [rbp - 0x14 {var_1c}].d 0x1471 173 eax = eax - 1 0x1474 174 rax = sx.q(eax) 0x1476 175 xmm0 = zx.o([rbp + (rax << 3) - 0x4d0].q) 0x147f 176 rdi = 0x2014 {"%.2lf"} 0x1486 177 al = 1 0x1488 178 call(0x1030) 0x148d 179 eax = 0 0x148f 180 rsp = rsp + 0x6e0 0x1496 181 rbp = pop 0x1497 182 <return> jump(pop) 0x1445 183 rax = sx.q([rbp - 0xc {var_14_4}].d) 0x1449 184 xmm0 = zx.o([rbp + (rax << 3) - 0x4d0].q) 0x1452 185 rdi = 0x200d {"%.2lf "} 0x1459 186 al = 1 0x145b 187 call(0x1030) 0x1460 188 eax = [rbp - 0xc {var_14_4}].d 0x1463 189 eax = eax + 1 0x1466 190 [rbp - 0xc {var_14_4}].d = eax 0x1469 191 goto 148 @ 0x1434 0x13d0 192 eax = [rbp - 0x18 {var_20_2}].d 0x13d3 193 eax = eax - 1 0x13d6 194 [rbp - 0x18 {var_20_2}].d = eax 0x13d9 195 goto 98 @ 0x1351 int64_t _fini(): 0x149c 0 rsp = rsp - 8 0x14a0 1 rsp = rsp + 8 0x14a4 2 <return> jump(pop)
POJ_102
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(D$"} 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 - 0x28 0x115e 7 [rsp + 0x14 {var_44}].d = 0 0x1166 8 rdi = 0x2010 {"%d"} 0x116d 9 [rsp + 8 {var_50}].d = 0 0x1175 10 rsi = rsp + 0x10 {var_48} 0x117a 11 eax = 0 0x117c 12 call(0x1040) 0x1181 13 eax = [rsp + 0x10 {var_48}].d 0x1185 14 r12d = 0 0x118b 15 ebp = 0 0x1190 16 ebx = 0 0x1197 17 if (eax s<= 0) then 18 @ 0x1202 else 72 @ 0x1199 0x1202 18 xmm0.q = float.d(ebx) 0x1206 19 xmm1.q = float.d(eax) 0x120a 20 xmm0.q = xmm0.q f/ xmm1.q 0x120e 21 xmm2.q = float.d(ebp) 0x1212 22 xmm2.q = xmm2.q f/ xmm1.q 0x1216 23 [rsp + 0x18 {var_40}].q = xmm2.q 0x121c 24 xmm3.q = float.d(r12d) 0x1221 25 xmm2 = 0 0x1224 26 xmm2.q = float.d([rsp + 8 {var_50}].d) 0x122a 27 xmm3.q = xmm3.q f/ xmm1.q 0x122e 28 [rsp + 0x20 {var_38}].q = xmm3.q 0x1234 29 xmm2.q = xmm2.q f/ xmm1.q 0x1238 30 [rsp + 8 {var_50}].q = xmm2.q 0x123e 31 xmm0.q = xmm0.q f* fconvert.t([0x2008].q) 0x1246 32 rdi = 0x2013 {"1-18: %.2lf"} 0x124d 33 al = 1 0x124f 34 call(0x1030) 0x1254 35 rbx = 0x201f {"%%\n"} 0x125b 36 rdi = rbx 0x125e 37 eax = 0 0x1260 38 call(0x1030) 0x1265 39 xmm0 = zx.o([rsp + 0x18 {var_40}].q) 0x126b 40 xmm0.q = xmm0.q f* fconvert.t([0x2008].q) 0x1273 41 rdi = 0x2023 {"19-35: %.2lf"} 0x127a 42 al = 1 0x127c 43 call(0x1030) 0x1281 44 rdi = rbx 0x1284 45 eax = 0 0x1286 46 call(0x1030) 0x128b 47 xmm0 = zx.o([rsp + 0x20 {var_38}].q) 0x1291 48 xmm0.q = xmm0.q f* fconvert.t([0x2008].q) 0x1299 49 rdi = 0x2030 {"36-60: %.2lf"} 0x12a0 50 al = 1 0x12a2 51 call(0x1030) 0x12a7 52 rdi = rbx 0x12aa 53 eax = 0 0x12ac 54 call(0x1030) 0x12b1 55 xmm0 = zx.o([rsp + 8 {var_50}].q) 0x12b7 56 xmm0.q = xmm0.q f* fconvert.t([0x2008].q) 0x12bf 57 rdi = 0x203d {"60??: %.2lf"} 0x12c6 58 al = 1 0x12c8 59 call(0x1030) 0x12cd 60 rdi = rbx 0x12d0 61 eax = 0 0x12d2 62 call(0x1030) 0x12d7 63 eax = 0 0x12d9 64 rsp = rsp + 0x28 0x12dd 65 rbx = pop 0x12de 66 r12 = pop 0x12e0 67 r13 = pop 0x12e2 68 r14 = pop 0x12e4 69 r15 = pop 0x12e6 70 rbp = pop 0x12e7 71 <return> jump(pop) 0x1199 72 r14 = 0x2010 {"%d"} 0x11a0 73 r13 = rsp + 0x14 {var_44} 0x11a5 74 r15d = 0 0x11a8 75 ebx = 0 0x11aa 76 ebp = 0 0x11ac 77 r12d = 0 0x11af 78 [rsp + 8 {var_50}].d = 0 0x11b7 79 goto 80 @ 0x11d0 0x11d0 80 rdi = r14 0x11d3 81 rsi = r13 {var_44} 0x11d6 82 eax = 0 0x11d8 83 call(0x1040) 0x11dd 84 eax = [rsp + 0x14 {var_44}].d 0x11e4 85 if (eax s<= 0x12) then 86 @ 0x11c0 else 88 @ 0x11e9 0x11c0 86 ebx = ebx + 1 0x11c0 87 goto 89 @ 0x11c3 0x11e9 88 if (eax u> 0x23) then 92 @ 0x11f3 else 93 @ 0x11eb 0x11c3 89 r15d = r15d + 1 0x11c7 90 eax = [rsp + 0x10 {var_48}].d 0x11ce 91 if (r15d s>= eax) then 18 @ 0x1202 else 80 @ 0x11d0 0x11f3 92 if (eax u> 0x3c) then 95 @ 0x11fb else 97 @ 0x11f5 0x11eb 93 ebp = ebp + 1 0x11ee 94 goto 89 @ 0x11c3 0x11fb 95 [rsp + 8 {var_50}].d = [rsp + 8 {var_50}].d + 1 0x1200 96 goto 89 @ 0x11c3 0x11f5 97 r12d = r12d + 1 0x11f9 98 goto 89 @ 0x11c3 int64_t _fini(): 0x12ec 0 rsp = rsp - 8 0x12f0 1 rsp = rsp + 8 0x12f4 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) 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 - 0x9cb8 0x1161 7 rdi = 0x2004 {"%d %d"} 0x1168 8 rsi = rsp + 0x14 {var_9cd4} 0x116d 9 rdx = rsp + 0x10 {var_9cd8} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x1179 12 esi = [rsp + 0x14 {var_9cd4}].d 0x117f 13 if (esi s<= 0) then 14 @ 0x1404 else 22 @ 0x1185 0x1404 14 rsp = rsp + 0x9cb8 0x140b 15 rbx = pop 0x140c 16 r12 = pop 0x140e 17 r13 = pop 0x1410 18 r14 = pop 0x1412 19 r15 = pop 0x1414 20 rbp = pop 0x1415 21 <return> jump(pop) 0x1185 22 r12 = rsp + 0x70 {var_9c78} 0x118a 23 r15d = [rsp + 0x10 {var_9cd8}].d 0x118f 24 r14 = 0x2007 {"%d"} 0x1196 25 r13d = 0 0x1199 26 goto 27 @ 0x11b6 0x11b6 27 if (r15d s<= 0) then 28 @ 0x11a0 else 32 @ 0x11b8 0x11a0 28 r13 = r13 + 1 0x11a4 29 rax = sx.q(esi) 0x11a7 30 r12 = r12 + 0x190 0x11b1 31 if (r13 s>= rax) then 35 @ 0x11e7 else 27 @ 0x11b6 0x11b8 32 rbx = r12 0x11bb 33 ebp = 0 0x11bd 34 goto 36 @ 0x11c0 0x11e7 35 if (esi s<= 0) then 14 @ 0x1404 else 44 @ 0x11ed 0x11c0 36 rdi = r14 0x11c3 37 rsi = rbx 0x11c6 38 eax = 0 0x11c8 39 call(0x1040) 0x11cd 40 rbp = rbp + 1 0x11d1 41 r15 = sx.q([rsp + 0x10 {var_9cd8}].d) 0x11d6 42 rbx = rbx + 4 0x11dd 43 if (rbp s< r15) then 36 @ 0x11c0 else 72 @ 0x11df 0x11ed 44 eax = (r15 - 1).d 0x11f1 45 ecx = (r15 - 2).d 0x11f5 46 [rsp + 0xc {var_9cdc_1}].d = ecx 0x11f9 47 ecx = (rsi - 2).d 0x11fc 48 rcx = sx.q(ecx) 0x11ff 49 rdi = sx.q(eax) 0x1202 50 edx = esi 0x1204 51 rax = rsp + (rdi << 2) 0x1208 52 rax = rax + 0x200 0x120e 53 [rsp + 0x30 {var_9cb8_1}].q = rax 0x1213 54 esi = esi - 1 0x1216 55 rax = rdx * 0x190 0x121d 56 rdx = rdx - 1 0x1221 57 [rsp {var_9ce8}].q = rdx 0x1225 58 rax = rax + rsp 0x1228 59 rax = rax - 0x120 0x122e 60 [rsp + 0x28 {var_9cc0_1}].q = rax 0x1233 61 [rsp + 0x20 {var_9cc8_1}].q = rcx 0x1238 62 rax = rcx * 0x190 0x123f 63 rax = rax + rsp 0x1242 64 rax = rax + 0x70 0x1246 65 [rsp + 0x18 {var_9cd0_1}].q = rax 0x124b 66 rax = rsp + 0x70 {var_9c78} 0x1250 67 [rsp + 0x40 {var_9ca8_1}].q = rax {var_9c78} 0x1255 68 eax = 0 0x1257 69 [rsp + 0x38 {var_9cb0_1}].q = rax 0x125c 70 eax = 0 0x125c 71 goto 74 @ 0x1261 0x11df 72 esi = [rsp + 0x14 {var_9cd4}].d 0x11e3 73 goto 28 @ 0x11a0 0x1261 74 if (rax s> rdi) then 14 @ 0x1404 else 75 @ 0x1267 0x1267 75 [rsp + 0x50 {var_9c98_1}].q = rdi 0x126c 76 [rsp + 0x48 {var_9ca0_1}].q = rsi 0x1271 77 [rsp + 0x58 {var_9c90_1}].q = rax 0x1276 78 r12 = sx.q([rsp + 0xc {var_9cdc_1}].d) 0x127b 79 r12 = r12 + 1 0x127f 80 r14d = r15d 0x1282 81 r14 = r14 + [rsp + 0x38 {var_9cb0_1}].q 0x1287 82 ebx = 0 0x1289 83 rbp = [rsp + 0x40 {var_9ca8_1}].q 0x128e 84 r13 = 0x200a {"%d\n"} 0x129f 85 goto 86 @ 0x12a0 0x12a0 86 esi = [rbp + (rbx << 2)].d 0x12a4 87 rdi = r13 0x12a7 88 eax = 0 0x12a9 89 call(0x1030) 0x12ae 90 rbx = rbx + 1 0x12b5 91 if (r14 != rbx) then 86 @ 0x12a0 else 92 @ 0x12b7 0x12b7 92 rax = [rsp + 0x58 {var_9c90_1}].q 0x12bc 93 cond:0 = rax s> [rsp + 0x50 {var_9c98_1}].q 0x12c1 94 rcx = [rsp + 0x48 {var_9ca0_1}].q 0x12c6 95 if (cond:0) then 14 @ 0x1404 else 96 @ 0x12d0 0x12d0 96 if (rax s>= [rsp {var_9ce8}].q) then 14 @ 0x1404 else 97 @ 0x12d6 0x12d6 97 rax = rax + 1 0x12da 98 [rsp + 0x68 {var_9c80_1}].q = rax 0x12df 99 ebx = ecx 0x12e1 100 rbp = [rsp + 0x30 {var_9cb8_1}].q 0x12e6 101 r14 = 0x200a {"%d\n"} 0x12ed 102 goto 103 @ 0x12f0 0x12f0 103 esi = [rbp].d 0x12f3 104 rdi = r14 0x12f6 105 eax = 0 0x12f8 106 call(0x1030) 0x12fd 107 rbp = rbp + 0x190 0x1304 108 temp0.d = ebx 0x1304 109 ebx = ebx - 1 0x1307 110 if (temp0.d != 1) then 103 @ 0x12f0 else 111 @ 0x1309 0x1309 111 r13 = [rsp + 0x58 {var_9c90_1}].q 0x130e 112 cond:1 = r13 s>= [rsp {var_9ce8}].q 0x1312 113 r14 = [rsp + 0x50 {var_9c98_1}].q 0x1317 114 if (cond:1) then 14 @ 0x1404 else 115 @ 0x1320 0x1320 115 if (r14 s<= r13) then 14 @ 0x1404 else 116 @ 0x1326 0x1326 116 rax = r14 - 1 0x132a 117 [rsp + 0x60 {var_9c88_1}].q = rax 0x132f 118 rbx = [rsp + 0x28 {var_9cc0_1}].q 0x1334 119 rbp = 0x200a {"%d\n"} 0x133b 120 goto 121 @ 0x1340 0x1340 121 esi = [rbx + (r12 << 2) - 4].d 0x1345 122 rdi = rbp 0x1348 123 eax = 0 0x134a 124 call(0x1030) 0x134f 125 r12 = r12 - 1 0x1356 126 if (r12 s> r13) then 121 @ 0x1340 else 127 @ 0x135b 0x135b 127 if (r14 s<= r13) then 14 @ 0x1404 else 128 @ 0x1361 0x1361 128 rax = [rsp {var_9ce8}].q 0x1365 129 rax = rax - 1 0x1369 130 [rsp {var_9ce8}].q = rax 0x1370 131 if (rax s<= r13) then 14 @ 0x1404 else 132 @ 0x1376 0x1376 132 rbx = [rsp + 0x18 {var_9cd0_1}].q 0x137b 133 r12 = [rsp + 0x20 {var_9cc8_1}].q 0x1380 134 rbp = r12 0x1383 135 r14 = 0x200a {"%d\n"} 0x138a 136 goto 137 @ 0x1390 0x1390 137 esi = [rbx].d 0x1392 138 rdi = r14 0x1395 139 eax = 0 0x1397 140 call(0x1030) 0x139c 141 rbp = rbp - 1 0x13a0 142 rbx = rbx - 0x190 0x13aa 143 if (rbp s> r13) then 137 @ 0x1390 else 144 @ 0x13ac 0x13ac 144 r15d = r15d - 1 0x13b0 145 [rsp + 0xc {var_9cdc_1}].d = [rsp + 0xc {var_9cdc_1}].d - 1 0x13b5 146 r12 = r12 - 1 0x13b9 147 [rsp + 0x20 {var_9cc8_1}].q = r12 0x13be 148 [rsp + 0x40 {var_9ca8_1}].q = [rsp + 0x40 {var_9ca8_1}].q + 0x194 0x13c7 149 [rsp + 0x38 {var_9cb0_1}].q = [rsp + 0x38 {var_9cb0_1}].q - 1 0x13cd 150 [rsp + 0x30 {var_9cb8_1}].q = [rsp + 0x30 {var_9cb8_1}].q + 0x18c 0x13d6 151 rsi = [rsp + 0x48 {var_9ca0_1}].q 0x13db 152 esi = esi - 2 0x13de 153 [rsp + 0x28 {var_9cc0_1}].q = [rsp + 0x28 {var_9cc0_1}].q - 0x190 0x13e7 154 [rsp + 0x18 {var_9cd0_1}].q = [rsp + 0x18 {var_9cd0_1}].q - 0x18c 0x13f0 155 rdi = [rsp + 0x60 {var_9c88_1}].q 0x13f5 156 cond:2 = [rsp {var_9ce8}].q s> r13 0x13f9 157 rax = [rsp + 0x68 {var_9c80_1}].q 0x13fe 158 if (cond:2) then 74 @ 0x1261 else 14 @ 0x1404 int64_t _fini(): 0x141c 0 rsp = rsp - 8 0x1420 1 rsp = rsp + 8 0x1424 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) 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 = 0x1430 {"AWAVATSPH= "} 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 scan(): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 push(rax) 0x1168 5 rdi = 0x2004 {"%d%d"} 0x116f 6 rsi = 0x4050 {""} 0x1176 7 rdx = 0x4054 {""} 0x117d 8 eax = 0 0x117f 9 call(0x1050) 0x1184 10 r14 = 0x4060 {""} 0x118b 11 edx = 0x190 {""} 0x1190 12 rdi = r14 0x1193 13 esi = 0 0x1195 14 call(0x1040) 0x119a 15 r15 = 0x41f0 {""} 0x11a1 16 edx = 0x190 {""} 0x11a6 17 rdi = r15 0x11a9 18 esi = 0 0x11ab 19 call(0x1040) 0x11b0 20 [0x4058].d = 0 0x11c1 21 if ([0x4380].b == 0xa) then 22 @ 0x120b else 28 @ 0x11c3 0x120b 22 [0x4380].b = 1 0x1212 23 [0x4058].d = 0 0x121c 24 r14 = 0x2009 {"%d%c"} 0x1223 25 rbx = 0x4380 {""} 0x122a 26 eax = 0 0x122c 27 goto 32 @ 0x1230 0x11c3 28 r12 = 0x2009 {"%d%c"} 0x11ca 29 rbx = 0x4380 {""} 0x11d1 30 eax = 0 0x11dd 31 goto 43 @ 0x11e0 0x1230 32 rax = sx.q(eax) 0x1232 33 rsi = r15 + (rax << 2) 0x1236 34 rdi = r14 0x1239 35 rdx = rbx 0x123c 36 eax = 0 0x123e 37 call(0x1050) 0x1243 38 eax = [0x4058].d 0x1249 39 eax = eax + 1 0x124c 40 ecx = zx.d([0x4380].b) 0x1253 41 [0x4058].d = eax 0x125c 42 if (cl != 0xa) then 32 @ 0x1230 else 53 @ 0x125e 0x11e0 43 rax = sx.q(eax) 0x11e2 44 rsi = r14 + (rax << 2) 0x11e6 45 rdi = r12 0x11e9 46 rdx = rbx 0x11ec 47 eax = 0 0x11ee 48 call(0x1050) 0x11f3 49 eax = [0x4058].d 0x11f9 50 eax = eax + 1 0x11fc 51 [0x4058].d = eax 0x1209 52 if ([0x4380].b != 0xa) then 43 @ 0x11e0 else 22 @ 0x120b 0x125e 53 rsp = rsp + 8 0x1262 54 rbx = pop 0x1263 55 r12 = pop 0x1265 56 r14 = pop 0x1267 57 r15 = pop 0x1269 58 <return> jump(pop) void ord(): 0x1270 0 esi = [0x4060].d 0x1278 1 if (esi == 0) then 2 @ 0x12d7 else 4 @ 0x127a 0x12d7 2 esi = [0x41f0].d 0x12df 3 if (esi == 0) then 9 @ 0x1347 else 10 @ 0x12e1 0x127a 4 r8 = 0x4060 {""} 0x1281 5 rdx = 0x4068 {""} 0x1288 6 r10d = 0 0x128b 7 rdi = r8 0x128e 8 goto 15 @ 0x129e 0x1347 9 <return> jump(pop) 0x12e1 10 r8 = 0x41f0 {""} 0x12e8 11 rdx = 0x41f8 {""} 0x12ef 12 r10d = 0 0x12f2 13 rdi = r8 0x12f5 14 goto 17 @ 0x130e 0x129e 15 eax = [r8 + (r10 << 2) + 4].d 0x12a5 16 if (eax == 0) then 2 @ 0x12d7 else 19 @ 0x12a7 0x130e 17 eax = [r8 + (r10 << 2) + 4].d 0x1315 18 if (eax == 0) then 9 @ 0x1347 else 24 @ 0x1317 0x12a7 19 r9 = r8 + (r10 << 2) 0x12ab 20 r9 = r9 + 4 0x12af 21 r10 = r10 + 1 0x12b3 22 rcx = rdx 0x12b8 23 if (esi s<= eax) then 29 @ 0x12c5 else 31 @ 0x12ba 0x1317 24 r9 = r8 + (r10 << 2) 0x131b 25 r9 = r9 + 4 0x131f 26 r10 = r10 + 1 0x1323 27 rcx = rdx 0x1328 28 if (esi s<= eax) then 32 @ 0x1335 else 34 @ 0x132a 0x12c5 29 eax = [rcx].d 0x12c9 30 if (eax == 0) then 35 @ 0x1290 else 39 @ 0x12cb 0x12ba 31 goto 42 @ 0x12c0 0x1335 32 eax = [rcx].d 0x1339 33 if (eax == 0) then 45 @ 0x1300 else 49 @ 0x133b 0x132a 34 goto 52 @ 0x1330 0x1290 35 esi = [r9].d 0x1293 36 rdx = rdx + 4 0x1297 37 rdi = r9 0x129c 38 if (esi == 0) then 2 @ 0x12d7 else 15 @ 0x129e 0x12cb 39 esi = [rdi].d 0x12cd 40 rcx = rcx + 4 0x12d3 41 if (esi s> eax) then 42 @ 0x12c0 else 55 @ 0x12d5 0x12c0 42 [rdi].d = eax 0x12c2 43 [rcx - 4].d = esi 0x12c2 44 goto 29 @ 0x12c5 0x1300 45 esi = [r9].d 0x1303 46 rdx = rdx + 4 0x1307 47 rdi = r9 0x130c 48 if (esi == 0) then 9 @ 0x1347 else 17 @ 0x130e 0x133b 49 esi = [rdi].d 0x133d 50 rcx = rcx + 4 0x1343 51 if (esi s> eax) then 52 @ 0x1330 else 56 @ 0x1345 0x1330 52 [rdi].d = eax 0x1332 53 [rcx - 4].d = esi 0x1332 54 goto 32 @ 0x1335 0x12d5 55 goto 29 @ 0x12c5 0x1345 56 goto 32 @ 0x1335 uint64_t bin(): 0x1350 0 push(r14) 0x1352 1 push(rbx) 0x1353 2 push(rax) 0x1354 3 rbx = 0x4390 {""} 0x135b 4 r14d = 0 0x135e 5 edx = 0x4b0 {"Q"} 0x1363 6 rdi = rbx 0x1366 7 esi = 0 0x1368 8 call(0x1040) 0x136d 9 eax = [0x4060].d 0x1375 10 if (eax == 0) then 11 @ 0x1395 else 13 @ 0x1377 0x1395 11 eax = [0x41f0].d 0x139d 12 if (eax == 0) then 16 @ 0x13cf else 20 @ 0x139f 0x1377 13 ecx = 0 0x1379 14 rdx = 0x4060 {""} 0x1379 15 goto 25 @ 0x1380 0x13cf 16 rsp = rsp + 8 0x13d3 17 rbx = pop 0x13d4 18 r14 = pop 0x13d6 19 <return> jump(pop) 0x139f 20 rcx = 0x4390 {""} 0x13a6 21 rcx = rcx + (r14 << 2) 0x13aa 22 edx = 0 0x13ac 23 rsi = 0x41f0 {""} 0x13bd 24 goto 30 @ 0x13c0 0x1380 25 [rbx].d = eax 0x1382 26 eax = [rdx + (rcx << 2) + 4].d 0x1386 27 rcx = rcx + 1 0x138a 28 rbx = rbx + 4 0x1390 29 if (eax != 0) then 25 @ 0x1380 else 34 @ 0x1392 0x13c0 30 [rcx + rdx].d = eax 0x13c3 31 eax = [rdx + rsi + 4].d 0x13c7 32 rdx = rdx + 4 0x13cd 33 if (eax != 0) then 30 @ 0x13c0 else 16 @ 0x13cf 0x1392 34 r14d = ecx 0x1392 35 goto 11 @ 0x1395 int64_t print(): 0x13e0 0 push(r14) 0x13e2 1 push(rbx) 0x13e3 2 push(rax) 0x13e4 3 esi = [0x4390].d 0x13ea 4 rdi = 0x200f {"%d"} 0x13f1 5 eax = 0 0x13f3 6 call(0x1030) 0x13f8 7 esi = [0x4394].d 0x1400 8 if (esi == 0) then 9 @ 0x1424 else 13 @ 0x1402 0x1424 9 rsp = rsp + 8 0x1428 10 rbx = pop 0x1429 11 r14 = pop 0x142b 12 <return> jump(pop) 0x1402 13 rbx = 0x4398 {""} 0x1409 14 r14 = 0x200e {" %d"} 0x1409 15 goto 16 @ 0x1410 0x1410 16 rdi = r14 0x1413 17 eax = 0 0x1415 18 call(0x1030) 0x141a 19 esi = [rbx].d 0x141c 20 rbx = rbx + 4 0x1422 21 if (esi != 0) then 16 @ 0x1410 else 9 @ 0x1424 int32_t main(int32_t argc, char** argv, char** envp): 0x1430 0 push(r15) 0x1432 1 push(r14) 0x1434 2 push(r12) 0x1436 3 push(rbx) 0x1437 4 push(rax) 0x1438 5 rdi = 0x2004 {"%d%d"} 0x143f 6 rsi = 0x4050 {""} 0x1446 7 rdx = 0x4054 {""} 0x144d 8 eax = 0 0x144f 9 call(0x1050) 0x1454 10 r14 = 0x4060 {""} 0x145b 11 edx = 0x190 {""} 0x1460 12 rdi = r14 0x1463 13 esi = 0 0x1465 14 call(0x1040) 0x146a 15 r15 = 0x41f0 {""} 0x1471 16 edx = 0x190 {""} 0x1476 17 rdi = r15 0x1479 18 esi = 0 0x147b 19 call(0x1040) 0x1480 20 [0x4058].d = 0 0x1491 21 if ([0x4380].b == 0xa) then 22 @ 0x14db else 28 @ 0x1493 0x14db 22 [0x4380].b = 1 0x14e2 23 [0x4058].d = 0 0x14ec 24 r12 = 0x2009 {"%d%c"} 0x14f3 25 rbx = 0x4380 {""} 0x14fa 26 eax = 0 0x14fc 27 goto 32 @ 0x1500 0x1493 28 r12 = 0x2009 {"%d%c"} 0x149a 29 rbx = 0x4380 {""} 0x14a1 30 eax = 0 0x14ad 31 goto 43 @ 0x14b0 0x1500 32 rax = sx.q(eax) 0x1502 33 rsi = r15 + (rax << 2) 0x1506 34 rdi = r12 0x1509 35 rdx = rbx 0x150c 36 eax = 0 0x150e 37 call(0x1050) 0x1513 38 eax = [0x4058].d 0x1519 39 eax = eax + 1 0x151c 40 ecx = zx.d([0x4380].b) 0x1523 41 [0x4058].d = eax 0x152c 42 if (cl != 0xa) then 32 @ 0x1500 else 53 @ 0x152e 0x14b0 43 rax = sx.q(eax) 0x14b2 44 rsi = r14 + (rax << 2) 0x14b6 45 rdi = r12 0x14b9 46 rdx = rbx 0x14bc 47 eax = 0 0x14be 48 call(0x1050) 0x14c3 49 eax = [0x4058].d 0x14c9 50 eax = eax + 1 0x14cc 51 [0x4058].d = eax 0x14d9 52 if ([0x4380].b != 0xa) then 43 @ 0x14b0 else 22 @ 0x14db 0x152e 53 edx = [0x4060].d 0x1536 54 if (edx == 0) then 55 @ 0x1597 else 57 @ 0x1538 0x1597 55 edx = [0x41f0].d 0x159f 56 if (edx == 0) then 61 @ 0x15f7 else 69 @ 0x15a1 0x1538 57 rdi = 0x4068 {""} 0x153f 58 ecx = 0 0x1541 59 rsi = r14 0x1544 60 goto 73 @ 0x155e 0x15f7 61 rbx = 0x4390 {""} 0x15fe 62 r14d = 0 0x1601 63 edx = 0x4b0 {"Q"} 0x1606 64 rdi = rbx 0x1609 65 esi = 0 0x160b 66 call(0x1040) 0x1610 67 eax = [0x4060].d 0x1618 68 if (eax == 0) then 75 @ 0x1645 else 77 @ 0x161a 0x15a1 69 rdi = 0x41f8 {""} 0x15a8 70 ecx = 0 0x15aa 71 rsi = r15 0x15ad 72 goto 80 @ 0x15be 0x155e 73 ebx = [r14 + (rcx << 2) + 4].d 0x1565 74 if (ebx == 0) then 55 @ 0x1597 else 82 @ 0x1567 0x1645 75 eax = [0x41f0].d 0x164d 76 if (eax == 0) then 87 @ 0x167f else 93 @ 0x164f 0x161a 77 ecx = 0 0x161c 78 rdx = 0x4060 {""} 0x162d 79 goto 98 @ 0x1630 0x15be 80 ebx = [r15 + (rcx << 2) + 4].d 0x15c5 81 if (ebx == 0) then 61 @ 0x15f7 else 103 @ 0x15c7 0x1567 82 r8 = r14 + (rcx << 2) 0x156b 83 r8 = r8 + 4 0x156f 84 rcx = rcx + 1 0x1573 85 rax = rdi 0x1578 86 if (edx s<= ebx) then 108 @ 0x1585 else 110 @ 0x157a 0x167f 87 esi = [0x4390].d 0x1685 88 rdi = 0x200f {"%d"} 0x168c 89 eax = 0 0x168e 90 call(0x1030) 0x1693 91 esi = [0x4394].d 0x169b 92 if (esi == 0) then 111 @ 0x16c4 else 118 @ 0x169d 0x164f 93 rcx = 0x4390 {""} 0x1656 94 rcx = rcx + (r14 << 2) 0x165a 95 edx = 0 0x165c 96 rsi = 0x41f0 {""} 0x166d 97 goto 121 @ 0x1670 0x1630 98 [rbx].d = eax 0x1632 99 eax = [rdx + (rcx << 2) + 4].d 0x1636 100 rcx = rcx + 1 0x163a 101 rbx = rbx + 4 0x1640 102 if (eax != 0) then 98 @ 0x1630 else 125 @ 0x1642 0x15c7 103 r8 = r15 + (rcx << 2) 0x15cb 104 r8 = r8 + 4 0x15cf 105 rcx = rcx + 1 0x15d3 106 rax = rdi 0x15d8 107 if (edx s<= ebx) then 127 @ 0x15e5 else 129 @ 0x15da 0x1585 108 ebx = [rax].d 0x1589 109 if (ebx == 0) then 130 @ 0x1550 else 134 @ 0x158b 0x157a 110 goto 137 @ 0x1580 0x16c4 111 eax = 0 0x16c6 112 rsp = rsp + 8 0x16ca 113 rbx = pop 0x16cb 114 r12 = pop 0x16cd 115 r14 = pop 0x16cf 116 r15 = pop 0x16d1 117 <return> jump(pop) 0x169d 118 rbx = 0x4398 {""} 0x16a4 119 r14 = 0x200e {" %d"} 0x16ab 120 goto 140 @ 0x16b0 0x1670 121 [rcx + rdx].d = eax 0x1673 122 eax = [rdx + rsi + 4].d 0x1677 123 rdx = rdx + 4 0x167d 124 if (eax != 0) then 121 @ 0x1670 else 87 @ 0x167f 0x1642 125 r14d = ecx 0x1642 126 goto 75 @ 0x1645 0x15e5 127 ebx = [rax].d 0x15e9 128 if (ebx == 0) then 146 @ 0x15b0 else 150 @ 0x15eb 0x15da 129 goto 153 @ 0x15e0 0x1550 130 edx = [r8].d 0x1553 131 rdi = rdi + 4 0x1557 132 rsi = r8 0x155c 133 if (edx == 0) then 55 @ 0x1597 else 73 @ 0x155e 0x158b 134 edx = [rsi].d 0x158d 135 rax = rax + 4 0x1593 136 if (edx s> ebx) then 137 @ 0x1580 else 156 @ 0x1595 0x1580 137 [rsi].d = ebx 0x1582 138 [rax - 4].d = edx 0x1582 139 goto 108 @ 0x1585 0x16b0 140 rdi = r14 0x16b3 141 eax = 0 0x16b5 142 call(0x1030) 0x16ba 143 esi = [rbx].d 0x16bc 144 rbx = rbx + 4 0x16c2 145 if (esi != 0) then 140 @ 0x16b0 else 111 @ 0x16c4 0x15b0 146 edx = [r8].d 0x15b3 147 rdi = rdi + 4 0x15b7 148 rsi = r8 0x15bc 149 if (edx == 0) then 61 @ 0x15f7 else 80 @ 0x15be 0x15eb 150 edx = [rsi].d 0x15ed 151 rax = rax + 4 0x15f3 152 if (edx s> ebx) then 153 @ 0x15e0 else 157 @ 0x15f5 0x15e0 153 [rsi].d = ebx 0x15e2 154 [rax - 4].d = edx 0x15e2 155 goto 127 @ 0x15e5 0x1595 156 goto 108 @ 0x1585 0x15f5 157 goto 127 @ 0x15e5 int64_t _fini(): 0x16d8 0 rsp = rsp - 8 0x16dc 1 rsp = rsp + 8 0x16e0 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) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) double sqrt(double x): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVAUATSH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0xfc8 0x1181 7 rdi = rsp + 0x980 {var_678} 0x1189 8 edx = 0x640 {"GLU.so.1"} 0x118e 9 esi = 0 0x1190 10 call(0x1040) 0x1195 11 rdi = rsp + 0x340 {var_cb8} 0x119d 12 edx = 0x640 {"GLU.so.1"} 0x11a2 13 esi = 0 0x11a4 14 call(0x1040) 0x11a9 15 rdi = 0x2010 {"%d"} 0x11b0 16 rsi = rsp + 0xc {var_fec} 0x11b5 17 eax = 0 0x11b7 18 call(0x1050) 0x11c1 19 if ([rsp + 0xc {var_fec}].d s<= 0) then 20 @ 0x1311 else 29 @ 0x11c7 0x1311 20 eax = 0 0x1313 21 rsp = rsp + 0xfc8 0x131a 22 rbx = pop 0x131b 23 r12 = pop 0x131d 24 r13 = pop 0x131f 25 r14 = pop 0x1321 26 r15 = pop 0x1323 27 rbp = pop 0x1324 28 <return> jump(pop) 0x11c7 29 r15 = 0x2013 {"%d\n"} 0x11ce 30 r12 = 0x2017 {"%lf"} 0x11d5 31 ebp = 0 0x11d7 32 goto 33 @ 0x11fb 0x11fb 33 r13 = rsp + (rbp << 2) 0x11ff 34 r13 = r13 + 0x20 0x1203 35 rdi = r15 0x1206 36 rsi = r13 0x1209 37 eax = 0 0x120b 38 call(0x1050) 0x1215 39 if ([rsp + (rbp << 2) + 0x20].d s<= 0) then 40 @ 0x11e9 else 43 @ 0x1217 0x11e9 40 rbp = rbp + 1 0x11ed 41 rax = sx.q([rsp + 0xc {var_fec}].d) 0x11f5 42 if (rbp s>= rax) then 47 @ 0x12e2 else 33 @ 0x11fb 0x1217 43 xmm2 = 0 0x121a 44 rbx = rsp + 0x980 {var_678} 0x1222 45 r14d = 0 0x122f 46 goto 48 @ 0x1230 0x12e2 47 if (eax s<= 0) then 20 @ 0x1311 else 59 @ 0x12e4 0x1230 48 [rsp + 0x10 {var_fe8_1}].q = xmm2.q 0x1236 49 rdi = r12 0x1239 50 rsi = rbx 0x123c 51 eax = 0 0x123e 52 call(0x1050) 0x1243 53 xmm2 = zx.o([rsp + 0x10 {var_fe8_1}].q) 0x1249 54 xmm2.q = xmm2.q f+ fconvert.t([rbx].q) 0x124d 55 r14 = r14 + 1 0x1251 56 rax = sx.q([r13].d) 0x1255 57 rbx = rbx + 8 0x125c 58 if (r14 s< rax) then 48 @ 0x1230 else 62 @ 0x1260 0x12e4 59 ebp = 0 0x12e6 60 rbx = 0x201b {"%.5lf\n"} 0x12ed 61 goto 63 @ 0x12f0 0x1260 62 if (eax s<= 0) then 40 @ 0x11e9 else 70 @ 0x1262 0x12f0 63 xmm0 = zx.o([rsp + (rbp << 3) + 0x340].q) 0x12f9 64 rdi = rbx 0x12fc 65 al = 1 0x12fe 66 call(0x1030) 0x1303 67 rbp = rbp + 1 0x1307 68 rax = sx.q([rsp + 0xc {var_fec}].d) 0x130f 69 if (rbp s< rax) then 63 @ 0x12f0 else 20 @ 0x1311 0x1262 70 xmm0 = 0 0x1265 71 xmm0.q = float.d(eax) 0x1269 72 xmm2.q = xmm2.q f/ xmm0.q 0x126d 73 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x1271 74 ebx = 0 0x1273 75 [rsp + 0x10 {var_fe8_2}].q = xmm2.q 0x1279 76 goto 77 @ 0x12a8 0x12a8 77 xmm0 = xmm3 0x12ac 78 xmm3 = zx.o([rsp + (rbx << 3) + 0x980].q) 0x12b5 79 xmm3.q = xmm3.q f- xmm2.q 0x12b9 80 xmm3.q = xmm3.q f* xmm3.q 0x12bd 81 xmm1 = 0 0x12c0 82 xmm1.q = float.d(eax) 0x12c4 83 xmm3.q = xmm3.q f+ xmm0.q 0x12c8 84 xmm0 = xmm3 0x12cc 85 xmm0.q = xmm0.q f/ xmm1.q 0x12d0 86 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12d0 87 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12d0 88 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12d0 89 flag:s = 0 0x12d0 90 flag:o = 0 0x12d0 91 flag:a = 0 0x12d8 92 if (flag:c) then 93 @ 0x1280 else 98 @ 0x12da 0x1280 93 [rsp + 0x18 {var_fe0_1}].q = xmm3.q 0x1286 94 call(0x1060) 0x128b 95 xmm3 = zx.o([rsp + 0x18 {var_fe0_1}].q) 0x1291 96 xmm2 = zx.o([rsp + 0x10 {var_fe8_2}].q) 0x1291 97 goto 100 @ 0x1297 0x12da 98 xmm0 = _mm_sqrt_sd(xmm0.q) 0x12de 99 goto 100 @ 0x1297 0x1297 100 rbx = rbx + 1 0x129b 101 rax = sx.q([r13].d) 0x12a2 102 if (rbx s>= rax) then 103 @ 0x11e0 else 77 @ 0x12a8 0x11e0 103 [rsp + (rbp << 3) + 0x340].q = xmm0.q 0x11e0 104 goto 40 @ 0x11e9 int64_t _fini(): 0x132c 0 rsp = rsp - 8 0x1330 1 rsp = rsp + 8 0x1334 2 <return> jump(pop)
POJ_38
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1180 {"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) uint64_t find(int32_t arg1, int32_t arg2): 0x1160 0 flag:c = edi u< 5 0x1163 1 al = flag:c 0x1166 2 flag:c = esi u< 5 0x1169 3 cl = flag:c 0x116c 4 cl = cl & al 0x116e 5 eax = zx.d(cl) 0x1171 6 <return> jump(pop) 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(r12) 0x1187 4 push(rbx) 0x1188 5 rsp = rsp - 0x80 0x118f 6 rbx = rsp + 0x10 {var_98} 0x1194 7 r14 = 0x2007 {"%d"} 0x119b 8 r15d = 0 0x119e 9 goto 10 @ 0x11a0 0x11a0 10 ebp = 0 0x11ac 11 goto 12 @ 0x11b0 0x11b0 12 rsi = rbx + rbp 0x11b4 13 rdi = r14 0x11b7 14 eax = 0 0x11b9 15 call(0x1040) 0x11be 16 rbp = rbp + 4 0x11c6 17 if (rbp != 0x14) then 12 @ 0x11b0 else 18 @ 0x11c8 0x11c8 18 r15 = r15 + 1 0x11cc 19 rbx = rbx + 0x14 0x11d4 20 if (r15 != 5) then 10 @ 0x11a0 else 21 @ 0x11d6 0x11d6 21 rdi = 0x2004 {"%d %d"} 0x11dd 22 rsi = rsp + 8 {var_a0} 0x11e2 23 rdx = rsp + 0xc {var_9c} 0x11e7 24 eax = 0 0x11e9 25 call(0x1040) 0x11ee 26 rax = sx.q([rsp + 8 {var_a0}].d) 0x11f7 27 if (rax u> 4) then 28 @ 0x12ac else 32 @ 0x11fd 0x12ac 28 rdi = 0x200a {"error"} 0x12b3 29 eax = 0 0x12b5 30 call(0x1030) 0x12b5 31 goto 34 @ 0x12ba 0x11fd 32 ecx = [rsp + 0xc {var_9c}].d 0x1204 33 if (ecx u> 4) then 28 @ 0x12ac else 41 @ 0x120a 0x12ba 34 rsp = rsp + 0x80 0x12c1 35 rbx = pop 0x12c2 36 r12 = pop 0x12c4 37 r14 = pop 0x12c6 38 r15 = pop 0x12c8 39 rbp = pop 0x12c9 40 <return> jump(pop) 0x120a 41 rcx = sx.q(ecx) 0x120d 42 rax = rax + (rax << 2) 0x1211 43 rax = rsp + (rax << 2) 0x1215 44 rax = rax + 0x10 0x1219 45 rcx = rcx + (rcx << 2) 0x121d 46 rcx = rsp + (rcx << 2) 0x1221 47 rcx = rcx + 0x10 0x1225 48 edx = 0 0x1227 49 goto 50 @ 0x1230 0x1230 50 esi = [rax + (rdx << 2)].d 0x1233 51 edi = [rcx + (rdx << 2)].d 0x1236 52 [rax + (rdx << 2)].d = edi 0x1239 53 [rcx + (rdx << 2)].d = esi 0x123c 54 rdx = rdx + 1 0x1244 55 if (rdx != 5) then 50 @ 0x1230 else 56 @ 0x1246 0x1246 56 r12 = rsp + 0x10 {var_98} 0x124b 57 r15d = 0 0x124e 58 r14 = 0x2007 {"%d"} 0x1255 59 goto 60 @ 0x1278 0x1278 60 bpl = 1 0x127b 61 ebx = 0 0x127d 62 goto 63 @ 0x129e 0x129e 63 if ((bpl & 1) != 0) then 64 @ 0x1280 else 71 @ 0x12a0 0x1280 64 esi = [r12 + (rbx << 2)].d 0x1284 65 ebp = 0 0x1286 66 rdi = r14 0x1289 67 eax = 0 0x128b 68 call(0x1030) 0x1290 69 rbx = rbx + 1 0x1298 70 if (rbx == 5) then 74 @ 0x1260 else 63 @ 0x129e 0x12a0 71 edi = 0x20 {"@"} 0x12a5 72 call(0x1050) 0x12aa 73 goto 64 @ 0x1280 0x1260 74 edi = 0xa {""} 0x1265 75 call(0x1050) 0x126a 76 r15 = r15 + 1 0x126e 77 r12 = r12 + 0x14 0x1276 78 if (r15 == 5) then 34 @ 0x12ba else 60 @ 0x1278 int64_t _fini(): 0x12d0 0 rsp = rsp - 8 0x12d4 1 rsp = rsp + 8 0x12d8 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) 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 {"UHHP"} 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 - 0x150 0x116b 3 rdi = rbp - 0xa0 {var_a8} 0x1172 4 al = 0 0x1174 5 call(0x1050) 0x1179 6 rdi = rbp - 0xa0 {var_a8} 0x1180 7 call(0x1040) 0x1185 8 [rbp - 0x148 {var_150}].d = eax 0x118b 9 [rbp - 0x144 {var_14c}].d = 0 0x118b 10 goto 11 @ 0x1195 0x1195 11 eax = [rbp - 0x144 {var_14c}].d 0x11a1 12 if (eax s>= [rbp - 0x148 {var_150}].d) then 13 @ 0x1239 else 22 @ 0x11a7 0x1239 13 rax = sx.q([rbp - 0x144 {var_14c}].d) 0x1240 14 [rbp + rax - 0x140].b = 0 0x1248 15 rsi = rbp - 0x140 {var_148} 0x124f 16 rdi = 0x2004 {"%s\n"} 0x1256 17 al = 0 0x1258 18 call(0x1030) 0x125d 19 rsp = rsp + 0x150 0x1264 20 rbp = pop 0x1265 21 <return> jump(pop) 0x11a7 22 eax = [rbp - 0x144 {var_14c}].d 0x11ad 23 ecx = [rbp - 0x148 {var_150}].d 0x11b3 24 ecx = ecx - 1 0x11b8 25 if (eax == ecx) then 26 @ 0x11f8 else 34 @ 0x11be 0x11f8 26 rax = sx.q([rbp - 0x144 {var_14c}].d) 0x11ff 27 eax = sx.d([rbp + rax - 0xa0].b) 0x1207 28 ecx = sx.d([rbp - 0xa0 {var_a8}].b) 0x120e 29 eax = eax + ecx 0x1210 30 cl = al 0x1212 31 rax = sx.q([rbp - 0x144 {var_14c}].d) 0x1219 32 [rbp + rax - 0x140].b = cl 0x1219 33 goto 45 @ 0x1220 0x11be 34 rax = sx.q([rbp - 0x144 {var_14c}].d) 0x11c5 35 eax = sx.d([rbp + rax - 0xa0].b) 0x11cd 36 ecx = [rbp - 0x144 {var_14c}].d 0x11d3 37 ecx = ecx + 1 0x11d6 38 rcx = sx.q(ecx) 0x11d9 39 ecx = sx.d([rbp + rcx - 0xa0].b) 0x11e1 40 eax = eax + ecx 0x11e3 41 cl = al 0x11e5 42 rax = sx.q([rbp - 0x144 {var_14c}].d) 0x11ec 43 [rbp + rax - 0x140].b = cl 0x11f3 44 goto 45 @ 0x1220 0x1220 45 goto 46 @ 0x1225 0x1225 46 eax = [rbp - 0x144 {var_14c}].d 0x122b 47 eax = eax + 1 0x122e 48 [rbp - 0x144 {var_14c}].d = eax 0x1234 49 goto 11 @ 0x1195 int64_t _fini(): 0x126c 0 rsp = rsp - 8 0x1270 1 rsp = rsp + 8 0x1274 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) 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 {"UAVSHH="} 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 - 0x10 0x1158 4 rdi = 0x200c {"%d"} 0x115f 5 rsi = rsp + 0xc {var_1c} 0x1164 6 eax = 0 0x1166 7 call(0x1040) 0x116b 8 rdi = 0x2004 {"%d%d"} 0x1172 9 rsi = rsp + 4 {var_24} 0x1177 10 rdx = rsp {var_28} 0x117a 11 eax = 0 0x117c 12 call(0x1040) 0x1181 13 eax = [rsp {var_28}].d 0x1184 14 ecx = [rsp + 4 {var_24}].d 0x118a 15 if (eax s<= ecx) then 16 @ 0x1198 else 17 @ 0x118c 0x1198 16 if ([rsp + 0xc {var_1c}].d s<= 0) then 20 @ 0x11e6 else 30 @ 0x119a 0x118c 17 [rsp + 4 {var_24}].d = eax 0x1190 18 [rsp {var_28}].d = ecx 0x1190 19 goto 16 @ 0x1198 0x11e6 20 esi = [rsp + 4 {var_24}].d 0x11ea 21 edx = [rsp {var_28}].d 0x11ed 22 rdi = 0x2009 {"%d\n%d"} 0x11f4 23 eax = 0 0x11f6 24 call(0x1030) 0x11fb 25 rsp = rsp + 0x10 0x11ff 26 rbx = pop 0x1200 27 r14 = pop 0x1202 28 rbp = pop 0x1203 29 <return> jump(pop) 0x119a 30 r14 = 0x200c {"%d"} 0x11a1 31 rbx = rsp + 8 {var_20} 0x11a6 32 ebp = 0 0x11a8 33 goto 34 @ 0x11c1 0x11c1 34 rdi = r14 0x11c4 35 rsi = rbx {var_20} 0x11c7 36 eax = 0 0x11c9 37 call(0x1040) 0x11ce 38 eax = [rsp + 8 {var_20}].d 0x11d2 39 ecx = [rsp + 4 {var_24}].d 0x11d8 40 if (eax s> ecx) then 41 @ 0x11b0 else 43 @ 0x11da 0x11b0 41 [rsp + 4 {var_24}].d = eax 0x11b0 42 goto 45 @ 0x11b4 0x11da 43 ecx = [rsp {var_28}].d 0x11df 44 if (eax s<= ecx) then 47 @ 0x11b8 else 49 @ 0x11e1 0x11b4 45 [rsp + 8 {var_20}].d = ecx 0x11b4 46 goto 47 @ 0x11b8 0x11b8 47 ebp = ebp + 1 0x11bf 48 if (ebp s>= [rsp + 0xc {var_1c}].d) then 20 @ 0x11e6 else 34 @ 0x11c1 0x11e1 49 [rsp {var_28}].d = eax 0x11e4 50 goto 45 @ 0x11b4 int64_t _fini(): 0x1208 0 rsp = rsp - 8 0x120c 1 rsp = rsp + 8 0x1210 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 {"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 - 0x90 0x115c 4 xmm0 = 0 0x115f 5 [rsp + 0x70 {var_38}].o = xmm0 0x1164 6 [rsp + 0x60 {var_48}].o = xmm0 0x1169 7 [rsp + 0x50 {var_58}].o = xmm0 0x116e 8 [rsp + 0x40 {var_68}].o = xmm0 0x1173 9 [rsp + 0x30 {var_78}].o = xmm0 0x1178 10 [rsp + 0x20 {var_88}].o = xmm0 0x117d 11 [rsp + 0x10 {var_98}].o = xmm0 0x1182 12 [rsp + 0x80 {var_28}].q = 0 0x118e 13 rdi = 0x2004 {"%d"} 0x1195 14 rsi = rsp + 0xc {var_9c} 0x119a 15 eax = 0 0x119c 16 call(0x1040) 0x11a6 17 if ([rsp + 0xc {var_9c}].d s<= 0) then 18 @ 0x12ab else 33 @ 0x11ac 0x12ab 18 esi = [rsp + 0x10 {var_98}].d 0x12af 19 rbx = 0x2007 {"%d\n"} 0x12b6 20 rdi = rbx 0x12b9 21 eax = 0 0x12bb 22 call(0x1030) 0x12c0 23 esi = [rsp + 0x14 {var_98+0x4}].d 0x12c4 24 rdi = rbx 0x12c7 25 eax = 0 0x12c9 26 call(0x1030) 0x12ce 27 eax = 0 0x12d0 28 rsp = rsp + 0x90 0x12d7 29 rbx = pop 0x12d8 30 r14 = pop 0x12da 31 r15 = pop 0x12dc 32 <return> jump(pop) 0x11ac 33 r15 = rsp + 0x10 {var_98} 0x11b1 34 r14 = 0x2004 {"%d"} 0x11b8 35 ebx = 0 0x11ba 36 goto 37 @ 0x11c0 0x11c0 37 rdi = r14 0x11c3 38 rsi = r15 0x11c6 39 eax = 0 0x11c8 40 call(0x1040) 0x11cd 41 rbx = rbx + 1 0x11d1 42 r11 = sx.q([rsp + 0xc {var_9c}].d) 0x11d6 43 r15 = r15 + 4 0x11dd 44 if (rbx s< r11) then 37 @ 0x11c0 else 45 @ 0x11e3 0x11e3 45 if (r11d s< 2) then 18 @ 0x12ab else 46 @ 0x11e9 0x11e9 46 r8d = (r11 - 1).d 0x11ed 47 edx = 0 0x11ef 48 r10d = r8d 0x11f2 49 goto 50 @ 0x1210 0x1210 50 eax = edx 0x1212 51 eax = not.d(eax) 0x1214 52 eax = eax + r11d 0x1219 53 if (eax s<= 0) then 54 @ 0x1200 else 57 @ 0x121b 0x1200 54 edx = edx + 1 0x1203 55 r10d = r10d - 1 0x120a 56 if (edx == r8d) then 18 @ 0x12ab else 50 @ 0x1210 0x121b 57 r9d = r8d 0x121e 58 r9d = r9d - edx 0x1221 59 eax = [rsp + 0x10 {var_98}].d 0x1229 60 if (r9d != 1) then 61 @ 0x1230 else 65 @ 0x122b 0x1230 61 esi = r10d 0x1233 62 esi = esi & 0xfffffffe 0x1236 63 ebx = 0 0x1238 64 goto 67 @ 0x1250 0x122b 65 ecx = 0 0x122d 66 goto 69 @ 0x128c 0x1250 67 ecx = [rsp + (rbx << 2) + 0x14].d 0x1256 68 if (eax s>= ecx) then 70 @ 0x1270 else 74 @ 0x1258 0x128c 69 if ((r9b & 1) == 0) then 54 @ 0x1200 else 79 @ 0x1292 0x1270 70 eax = ecx 0x1272 71 rcx = rbx + 2 0x1276 72 edi = [rsp + (rbx << 2) + 0x18].d 0x127c 73 if (eax s< edi) then 81 @ 0x1240 else 85 @ 0x127e 0x1258 74 [rsp + (rbx << 2) + 0x10].d = ecx 0x125c 75 [rsp + (rbx << 2) + 0x14].d = eax 0x1260 76 rcx = rbx + 2 0x1264 77 edi = [rsp + (rbx << 2) + 0x18].d 0x126a 78 if (eax s< edi) then 81 @ 0x1240 else 88 @ 0x126c 0x1292 79 esi = [rsp + (rcx << 2) + 0x14].d 0x1298 80 if (eax s>= esi) then 54 @ 0x1200 else 89 @ 0x129e 0x1240 81 [rsp + (rbx << 2) + 0x14].d = edi 0x1244 82 [rsp + (rbx << 2) + 0x18].d = eax 0x1248 83 rbx = rcx 0x124e 84 if (rsi == rcx) then 69 @ 0x128c else 67 @ 0x1250 0x127e 85 eax = edi 0x1280 86 rbx = rcx 0x1286 87 if (rsi != rcx) then 67 @ 0x1250 else 69 @ 0x128c 0x126c 88 goto 85 @ 0x127e 0x129e 89 [rsp + (rcx << 2) + 0x10].d = esi 0x12a2 90 [rsp + (rcx << 2) + 0x14].d = eax 0x12a6 91 goto 54 @ 0x1200 int64_t _fini(): 0x12e4 0 rsp = rsp - 8 0x12e8 1 rsp = rsp + 8 0x12ec 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 E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 [rbp - 0x18 {var_20}].d = 0 0x1166 5 rdi = 0x2004 {"%d"} 0x116d 6 rsi = rbp - 8 {var_10} 0x1171 7 al = 0 0x1173 8 call(0x1040) 0x1178 9 [rbp - 0xc {var_14}].d = 3 0x1178 10 goto 11 @ 0x117f 0x117f 11 eax = [rbp - 0xc {var_14}].d 0x1182 12 ecx = [rbp - 8 {var_10}].d 0x1185 13 ecx = ecx - 1 0x118a 14 if (eax s>= ecx) then 15 @ 0x11f4 else 16 @ 0x1190 0x11f4 15 if ([rbp - 0x18 {var_20}].d != 0) then 24 @ 0x1208 else 28 @ 0x11fa 0x1190 16 edi = [rbp - 0xc {var_14}].d 0x1193 17 call(0x1210) 0x1198 18 [rbp - 0x10 {var_18_1}].d = eax 0x119b 19 edi = [rbp - 0xc {var_14}].d 0x119e 20 edi = edi + 2 0x11a1 21 call(0x1210) 0x11a6 22 [rbp - 0x14 {var_1c_1}].d = eax 0x11ad 23 if ([rbp - 0x10 {var_18_1}].d s<= 0) then 32 @ 0x11dd else 33 @ 0x11b7 0x1208 24 eax = 0 0x120a 25 rsp = rsp + 0x20 0x120e 26 rbp = pop 0x120f 27 <return> jump(pop) 0x11fa 28 rdi = 0x200e {"empty"} 0x1201 29 al = 0 0x1203 30 call(0x1030) 0x1203 31 goto 24 @ 0x1208 0x11dd 32 goto 34 @ 0x11e2 0x11b7 33 if ([rbp - 0x14 {var_1c_1}].d s<= 0) then 32 @ 0x11dd else 38 @ 0x11bd 0x11e2 34 eax = [rbp - 0xc {var_14}].d 0x11e5 35 eax = eax + 2 0x11e8 36 [rbp - 0xc {var_14}].d = eax 0x11eb 37 goto 11 @ 0x117f 0x11bd 38 esi = [rbp - 0xc {var_14}].d 0x11c0 39 edx = [rbp - 0xc {var_14}].d 0x11c3 40 edx = edx + 2 0x11c6 41 rdi = 0x2007 {"%d %d\n"} 0x11cd 42 al = 0 0x11cf 43 call(0x1030) 0x11d4 44 eax = [rbp - 0x18 {var_20}].d 0x11d7 45 eax = eax + 1 0x11da 46 [rbp - 0x18 {var_20}].d = eax 0x11da 47 goto 32 @ 0x11dd uint64_t ss(int32_t arg1): 0x1210 0 push(rbp) 0x1211 1 rbp = rsp {__saved_rbp} 0x1214 2 [rbp - 4 {var_c}].d = edi 0x1217 3 [rbp - 8 {var_10}].d = 0 0x121e 4 [rbp - 0xc {var_14}].d = 2 0x121e 5 goto 6 @ 0x1225 0x1225 6 eax = [rbp - 0xc {var_14}].d 0x122b 7 if (eax s>= [rbp - 4 {var_c}].d) then 8 @ 0x1269 else 11 @ 0x1231 0x1269 8 eax = [rbp - 8 {var_10}].d 0x126c 9 rbp = pop 0x126d 10 <return> jump(pop) 0x1231 11 eax = [rbp - 4 {var_c}].d 0x1234 12 temp2.d:temp3.d = sx.q(eax) 0x1234 13 edx = temp2.d 0x1234 14 eax = temp3.d 0x1235 15 temp4.d = edx 0x1235 16 temp5.d = eax 0x1235 17 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0xc {var_14}].d) 0x1235 18 temp6.d = edx 0x1235 19 temp7.d = eax 0x1235 20 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0xc {var_14}].d) 0x1235 21 eax = temp0.d 0x1235 22 edx = temp1.d 0x123b 23 if (edx != 0) then 24 @ 0x124d else 28 @ 0x1241 0x124d 24 eax = [rbp - 8 {var_10}].d 0x1250 25 eax = eax + 1 0x1253 26 [rbp - 8 {var_10}].d = eax 0x1256 27 goto 31 @ 0x125b 0x1241 28 eax = [rbp - 8].d * 0 0x1245 29 [rbp - 8 {var_10}].d = eax 0x1248 30 goto 8 @ 0x1269 0x125b 31 eax = [rbp - 0xc {var_14}].d 0x125e 32 eax = eax + 1 0x1261 33 [rbp - 0xc {var_14}].d = eax 0x1264 34 goto 6 @ 0x1225 int64_t _fini(): 0x1274 0 rsp = rsp - 8 0x1278 1 rsp = rsp + 8 0x127c 2 <return> jump(pop)
POJ_60
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`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 - 0x60 0x1168 3 [rbp - 4 {var_c}].d = 0 0x116f 4 rdi = rbp - 0x60 {var_68} 0x1173 5 rsi = 0x2010 {""} 0x117a 6 edx = 0x30 {""} 0x117f 7 call(0x1040) 0x1184 8 rdi = 0x2044 {"%d"} 0x118b 9 rsi = rbp - 0x10 {var_18} 0x118f 10 al = 0 0x1191 11 call(0x1050) 0x1196 12 [rbp - 8 {var_10}].d = 1 0x1196 13 goto 14 @ 0x119d 0x119d 14 eax = [rbp - 8 {var_10}].d 0x11a3 15 if (eax s> [rbp - 0x10 {var_18}].d) then 16 @ 0x12cf else 20 @ 0x11a9 0x12cf 16 eax = 0 0x12d1 17 rsp = rsp + 0x60 0x12d5 18 rbp = pop 0x12d6 19 <return> jump(pop) 0x11a9 20 [rbp - 0x20 {var_28_1}].d = 0 0x11b0 21 rdi = 0x2040 {"%d%d%d"} 0x11b7 22 rsi = rbp - 0x14 {var_1c} 0x11bb 23 rdx = rbp - 0x18 {var_20} 0x11bf 24 rcx = rbp - 0x1c {var_24} 0x11c3 25 al = 0 0x11c5 26 call(0x1050) 0x11ca 27 eax = [rbp - 0x14 {var_1c}].d 0x11cd 28 ecx = 4 0x11d2 29 temp2.d:temp3.d = sx.q(eax) 0x11d2 30 edx = temp2.d 0x11d2 31 eax = temp3.d 0x11d3 32 temp4.d = edx 0x11d3 33 temp5.d = eax 0x11d3 34 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11d3 35 temp6.d = edx 0x11d3 36 temp7.d = eax 0x11d3 37 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11d3 38 eax = temp0.d 0x11d3 39 edx = temp1.d 0x11d8 40 if (edx != 0) then 41 @ 0x11f2 else 55 @ 0x11de 0x11f2 41 eax = [rbp - 0x14 {var_1c}].d 0x11f5 42 ecx = 0x190 {""} 0x11fa 43 temp8.d:temp9.d = sx.q(eax) 0x11fa 44 edx = temp8.d 0x11fa 45 eax = temp9.d 0x11fb 46 temp10.d = edx 0x11fb 47 temp11.d = eax 0x11fb 48 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11fb 49 temp12.d = edx 0x11fb 50 temp13.d = eax 0x11fb 51 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11fb 52 eax = temp0.d 0x11fb 53 edx = temp1.d 0x1200 54 if (edx != 0) then 69 @ 0x120d else 71 @ 0x1206 0x11de 55 eax = [rbp - 0x14 {var_1c}].d 0x11e1 56 ecx = 0x64 {""} 0x11e6 57 temp14.d:temp15.d = sx.q(eax) 0x11e6 58 edx = temp14.d 0x11e6 59 eax = temp15.d 0x11e7 60 temp16.d = edx 0x11e7 61 temp17.d = eax 0x11e7 62 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x11e7 63 temp18.d = edx 0x11e7 64 temp19.d = eax 0x11e7 65 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x11e7 66 eax = temp0.d 0x11e7 67 edx = temp1.d 0x11ec 68 if (edx != 0) then 71 @ 0x1206 else 41 @ 0x11f2 0x120d 69 eax = [rbp - 0x18 {var_20}].d 0x1213 70 if (eax s<= [rbp - 0x1c {var_24}].d) then 73 @ 0x122b else 77 @ 0x1219 0x1206 71 [rbp - 0x20 {var_28_1}].d = 1 0x1206 72 goto 69 @ 0x120d 0x122b 73 [rbp - 0x28 {var_30_1}].d = 0 0x1232 74 eax = [rbp - 0x18 {var_20}].d 0x1235 75 [rbp - 0xc {var_14_1}].d = eax 0x1235 76 goto 84 @ 0x1238 0x1219 77 eax = [rbp - 0x18 {var_20}].d 0x121c 78 [rbp - 0x24 {var_2c_1}].d = eax 0x121f 79 eax = [rbp - 0x1c {var_24}].d 0x1222 80 [rbp - 0x18 {var_20}].d = eax 0x1225 81 eax = [rbp - 0x24 {var_2c_1}].d 0x1228 82 [rbp - 0x1c {var_24}].d = eax 0x1228 83 goto 73 @ 0x122b 0x1238 84 eax = [rbp - 0xc {var_14_1}].d 0x123b 85 ecx = [rbp - 0x1c {var_24}].d 0x123e 86 ecx = ecx - 1 0x1243 87 if (eax s> ecx) then 88 @ 0x1287 else 102 @ 0x1249 0x1287 88 eax = [rbp - 0x28 {var_30_1}].d 0x128a 89 ecx = 7 0x128f 90 temp20.d:temp21.d = sx.q(eax) 0x128f 91 edx = temp20.d 0x128f 92 eax = temp21.d 0x1290 93 temp22.d = edx 0x1290 94 temp23.d = eax 0x1290 95 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x1290 96 temp24.d = edx 0x1290 97 temp25.d = eax 0x1290 98 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x1290 99 eax = temp0.d 0x1290 100 edx = temp1.d 0x1295 101 if (edx != 0) then 107 @ 0x12ae else 111 @ 0x129b 0x1249 102 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x124d 103 eax = [rbp + (rax << 2) - 0x60].d 0x1251 104 eax = eax + [rbp - 0x28 {var_30_1}].d 0x1254 105 [rbp - 0x28 {var_30_1}].d = eax 0x125b 106 if ([rbp - 0xc {var_14_1}].d != 2) then 115 @ 0x1274 else 116 @ 0x1265 0x12ae 107 rdi = 0x204c {"NO\n"} 0x12b5 108 al = 0 0x12b7 109 call(0x1030) 0x12b7 110 goto 117 @ 0x12bc 0x129b 111 rdi = 0x2047 {"YES\n"} 0x12a2 112 al = 0 0x12a4 113 call(0x1030) 0x12a9 114 goto 117 @ 0x12bc 0x1274 115 goto 118 @ 0x1279 0x1265 116 if ([rbp - 0x20 {var_28_1}].d != 1) then 115 @ 0x1274 else 122 @ 0x126b 0x12bc 117 goto 126 @ 0x12c1 0x1279 118 eax = [rbp - 0xc {var_14_1}].d 0x127c 119 eax = eax + 1 0x127f 120 [rbp - 0xc {var_14_1}].d = eax 0x1282 121 goto 84 @ 0x1238 0x126b 122 eax = [rbp - 0x28 {var_30_1}].d 0x126e 123 eax = eax + 1 0x1271 124 [rbp - 0x28 {var_30_1}].d = eax 0x1271 125 goto 115 @ 0x1274 0x12c1 126 eax = [rbp - 8 {var_10}].d 0x12c4 127 eax = eax + 1 0x12c7 128 [rbp - 8 {var_10}].d = eax 0x12ca 129 goto 14 @ 0x119d int64_t _fini(): 0x12dc 0 rsp = rsp - 8 0x12e0 1 rsp = rsp + 8 0x12e4 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) char* strcpy(char* arg1, char const* arg2): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t strcmp(char const* arg1, char const* arg2): 0x1060 0 <return> tailcall([0x4030].q) 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 - 0x4b0 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rdi = rbp - 0x80 {var_88} 0x1186 5 al = 0 0x1188 6 call(0x1050) 0x118d 7 rdi = rbp - 0xa0 {var_a8} 0x1194 8 al = 0 0x1196 9 call(0x1050) 0x119b 10 rdi = rbp - 0xc0 {var_c8} 0x11a2 11 al = 0 0x11a4 12 call(0x1050) 0x11a9 13 [rbp - 0xc {var_14}].d = 0 0x11b0 14 [rbp - 8 {var_10}].d = 0 0x11b7 15 [rbp - 0x10 {var_18}].d = 0 0x11b7 16 goto 17 @ 0x11c2 0x11c2 17 if ([rbp - 0xc {var_14}].d s>= 0x64) then 18 @ 0x129c else 21 @ 0x11c8 0x129c 18 eax = [rbp - 0x14 {var_1c}].d 0x129f 19 [rbp - 0xc {var_14_1}].d = eax 0x129f 20 goto 24 @ 0x12a6 0x11c8 21 rax = sx.q([rbp - 0xc {var_14}].d) 0x11cc 22 eax = sx.d([rbp + rax - 0x80].b) 0x11d4 23 if (eax != 0x20) then 25 @ 0x1204 else 28 @ 0x11da 0x12a6 24 if ([rbp - 0xc {var_14_1}].d s< 0) then 39 @ 0x1304 else 41 @ 0x12ac 0x1204 25 rax = sx.q([rbp - 0xc {var_14}].d) 0x1208 26 eax = sx.d([rbp + rax - 0x80].b) 0x1210 27 if (eax == 0x20) then 48 @ 0x1252 else 51 @ 0x1216 0x11da 28 rcx = sx.q([rbp - 8 {var_10}].d) 0x11de 29 rax = rbp - 0x4b0 {var_4b8} 0x11e5 30 rcx = rcx * 0x14 0x11e9 31 rax = rax + rcx 0x11ec 32 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x11f0 33 [rax + rcx].b = 0 0x11f4 34 eax = [rbp - 8 {var_10}].d 0x11f7 35 eax = eax + 1 0x11fa 36 [rbp - 8 {var_10}].d = eax 0x11fd 37 [rbp - 0x10 {var_18}].d = 0 0x11fd 38 goto 25 @ 0x1204 0x1304 39 [rbp - 0xc {var_14_2}].d = 0 0x1304 40 goto 54 @ 0x130b 0x12ac 41 rdi = rbp - 0xa0 {var_a8} 0x12b3 42 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x12b7 43 rsi = rbp - 0x4b0 {var_4b8} 0x12be 44 rax = rax * 0x14 0x12c2 45 rsi = rsi + rax 0x12c5 46 call(0x1060) 0x12cd 47 if (eax != 0) then 56 @ 0x12f1 else 57 @ 0x12d3 0x1252 48 rax = sx.q([rbp - 0xc {var_14}].d) 0x1256 49 eax = sx.d([rbp + rax - 0x80].b) 0x125e 50 if (eax != 0) then 64 @ 0x1289 else 65 @ 0x1264 0x1216 51 rax = sx.q([rbp - 0xc {var_14}].d) 0x121a 52 eax = sx.d([rbp + rax - 0x80].b) 0x1222 53 if (eax == 0) then 48 @ 0x1252 else 74 @ 0x1228 0x130b 54 eax = [rbp - 0xc {var_14_2}].d 0x1311 55 if (eax s> [rbp - 0x14 {var_1c}].d) then 86 @ 0x1382 else 90 @ 0x1317 0x12f1 56 goto 92 @ 0x12f6 0x12d3 57 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x12d7 58 rdi = rbp - 0x4b0 {var_4b8} 0x12de 59 rax = rax * 0x14 0x12e2 60 rdi = rdi + rax 0x12e5 61 rsi = rbp - 0xc0 {var_c8} 0x12ec 62 call(0x1040) 0x12ec 63 goto 56 @ 0x12f1 0x1289 64 goto 96 @ 0x128e 0x1264 65 rcx = sx.q([rbp - 8 {var_10}].d) 0x1268 66 rax = rbp - 0x4b0 {var_4b8} 0x126f 67 rcx = rcx * 0x14 0x1273 68 rax = rax + rcx 0x1276 69 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x127a 70 [rax + rcx].b = 0 0x127e 71 eax = [rbp - 8 {var_10}].d 0x1281 72 [rbp - 0x14 {var_1c}].d = eax 0x1284 73 goto 18 @ 0x129c 0x1228 74 rax = sx.q([rbp - 0xc {var_14}].d) 0x122c 75 dl = [rbp + rax - 0x80].b 0x1230 76 rcx = sx.q([rbp - 8 {var_10}].d) 0x1234 77 rax = rbp - 0x4b0 {var_4b8} 0x123b 78 rcx = rcx * 0x14 0x123f 79 rax = rax + rcx 0x1242 80 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x1246 81 [rax + rcx].b = dl 0x1249 82 eax = [rbp - 0x10 {var_18}].d 0x124c 83 eax = eax + 1 0x124f 84 [rbp - 0x10 {var_18}].d = eax 0x124f 85 goto 48 @ 0x1252 0x1382 86 eax = 0 0x1384 87 rsp = rsp + 0x4b0 0x138b 88 rbp = pop 0x138c 89 <return> jump(pop) 0x1317 90 eax = [rbp - 0xc {var_14_2}].d 0x131d 91 if (eax s>= [rbp - 0x14 {var_1c}].d) then 100 @ 0x1343 else 102 @ 0x1323 0x12f6 92 eax = [rbp - 0xc {var_14_1}].d 0x12f9 93 eax = eax - 1 0x12fc 94 [rbp - 0xc {var_14_1}].d = eax 0x12ff 95 goto 24 @ 0x12a6 0x128e 96 eax = [rbp - 0xc {var_14}].d 0x1291 97 eax = eax + 1 0x1294 98 [rbp - 0xc {var_14}].d = eax 0x1297 99 goto 17 @ 0x11c2 0x1343 100 eax = [rbp - 0xc {var_14_2}].d 0x1349 101 if (eax != [rbp - 0x14 {var_1c}].d) then 110 @ 0x136f else 111 @ 0x134f 0x1323 102 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1327 103 rsi = rbp - 0x4b0 {var_4b8} 0x132e 104 rax = rax * 0x14 0x1332 105 rsi = rsi + rax 0x1335 106 rdi = 0x2004 {"%s "} 0x133c 107 al = 0 0x133e 108 call(0x1030) 0x133e 109 goto 100 @ 0x1343 0x136f 110 goto 119 @ 0x1374 0x134f 111 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1353 112 rsi = rbp - 0x4b0 {var_4b8} 0x135a 113 rax = rax * 0x14 0x135e 114 rsi = rsi + rax 0x1361 115 rdi = 0x2008 {"%s"} 0x1368 116 al = 0 0x136a 117 call(0x1030) 0x136a 118 goto 110 @ 0x136f 0x1374 119 eax = [rbp - 0xc {var_14_2}].d 0x1377 120 eax = eax + 1 0x137a 121 [rbp - 0xc {var_14_2}].d = eax 0x137d 122 goto 54 @ 0x130b int64_t _fini(): 0x1394 0 rsp = rsp - 8 0x1398 1 rsp = rsp + 8 0x139c 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 - 0x1f58 0x1161 7 rdi = 0x2007 {"%d"} 0x1168 8 rsi = rsp {var_1f88} 0x116b 9 eax = 0 0x116d 10 call(0x1040) 0x1176 11 if ([rsp {var_1f88}].d s<= 0) then 12 @ 0x1263 else 21 @ 0x117c 0x1263 12 eax = 0 0x1265 13 rsp = rsp + 0x1f58 0x126c 14 rbx = pop 0x126d 15 r12 = pop 0x126f 16 r13 = pop 0x1271 17 r14 = pop 0x1273 18 r15 = pop 0x1275 19 rbp = pop 0x1276 20 <return> jump(pop) 0x117c 21 r13 = rsp + 4 {var_1f84} 0x1181 22 r14d = 0 0x1184 23 goto 24 @ 0x11b7 0x11b7 24 rbx = rsp + (r14 << 2) 0x11bb 25 rbx = rbx + 0x10 0x11bf 26 rbp = rsp + (r14 << 2) + 0xfb0 0x11c7 27 rdi = 0x2004 {"%d %d"} 0x11ce 28 rsi = rbx 0x11d1 29 rdx = rbp 0x11d4 30 eax = 0 0x11d6 31 call(0x1040) 0x11db 32 [rsp + 8 {var_1f80_1}].q = r14 0x11e0 33 ecx = [rsp + (r14 << 2) + 0x10].d 0x11e5 34 r14d = 0 0x11ed 35 if (ecx s<= 0) then 36 @ 0x1190 else 44 @ 0x11ef 0x1190 36 rdi = 0x200a {"%d\n"} 0x1197 37 esi = r14d 0x119a 38 eax = 0 0x119c 39 call(0x1030) 0x11a1 40 r14 = [rsp + 8 {var_1f80_1}].q 0x11a6 41 r14 = r14 + 1 0x11aa 42 rax = sx.q([rsp {var_1f88}].d) 0x11b1 43 if (r14 s>= rax) then 12 @ 0x1263 else 24 @ 0x11b7 0x11ef 44 eax = [rbp].d 0x11f2 45 r14d = 0 0x11f5 46 r12d = 0 0x11f8 47 goto 48 @ 0x120d 0x120d 48 if (eax s<= 0) then 49 @ 0x1202 else 51 @ 0x120f 0x1202 49 r12d = r12d + 1 0x1209 50 if (r12d s>= ecx) then 36 @ 0x1190 else 48 @ 0x120d 0x120f 51 r15d = 0 0x1212 52 goto 53 @ 0x1231 0x1231 53 rdi = 0x2007 {"%d"} 0x1238 54 rsi = r13 {var_1f84} 0x123b 55 eax = 0 0x123d 56 call(0x1040) 0x1245 57 if (r12d == 0) then 58 @ 0x1220 else 61 @ 0x124a 0x1220 58 r14d = r14d + [rsp + 4 {var_1f84}].d 0x1225 59 eax = [rbp].d 0x1225 60 goto 62 @ 0x1228 0x124a 61 if (r15d == 0) then 58 @ 0x1220 else 64 @ 0x124c 0x1228 62 r15d = r15d + 1 0x122f 63 if (r15d s>= eax) then 67 @ 0x1200 else 53 @ 0x1231 0x124c 64 eax = [rbx].d 0x124e 65 eax = eax - 1 0x1254 66 if (r12d == eax) then 58 @ 0x1220 else 69 @ 0x1256 0x1200 67 ecx = [rbx].d 0x1200 68 goto 49 @ 0x1202 0x1256 69 eax = [rbp].d 0x1259 70 ecx = (rax - 1).d 0x125f 71 if (r15d == ecx) then 58 @ 0x1220 else 72 @ 0x1261 0x1261 72 goto 62 @ 0x1228 int64_t _fini(): 0x127c 0 rsp = rsp - 8 0x1280 1 rsp = rsp + 8 0x1284 2 <return> jump(pop)
POJ_6
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 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 = 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 - 0x16b8 0x1171 7 rbx = rsp {var_16e8} 0x1174 8 rdi = rbx {var_16e8} 0x1177 9 eax = 0 0x1179 10 call(0x1040) 0x117e 11 rdi = rbx {var_16e8} 0x1181 12 call(0x1030) 0x1186 13 rcx = sx.q(eax) 0x1189 14 [rsp + rcx].b = 0 0x118f 15 if (ecx s<= 0) then 16 @ 0x13f1 else 18 @ 0x1195 0x13f1 16 r14d = [rsp + 0x3f0 {var_12f8}].d 0x13fc 17 if (r14d s< 0) then 25 @ 0x1528 else 28 @ 0x1402 0x1195 18 rcx = rsp + 0x32 {var_16b6} 0x119a 19 rdx = rsp + 2 {var_16e6} 0x119f 20 r13d = 1 0x11a5 21 r11 = -1 0x11ac 22 r12d = 0 0x11af 23 esi = 0 0x11b1 24 goto 32 @ 0x11e6 0x1528 25 edi = 0xa {""} 0x152d 26 call(0x1050) 0x152d 27 goto 34 @ 0x1532 0x1402 28 rbx = r14 0x1405 29 rbx = rbx + 1 0x1409 30 ebp = 0 0x140b 31 goto 43 @ 0x1410 0x11e6 32 bl = [rsp + rsi].b 0x11ec 33 if (bl == 0x20) then 47 @ 0x11f7 else 49 @ 0x11f1 0x1532 34 eax = 0 0x1534 35 rsp = rsp + 0x16b8 0x153b 36 rbx = pop 0x153c 37 r12 = pop 0x153e 38 r13 = pop 0x1540 39 r14 = pop 0x1542 40 r15 = pop 0x1544 41 rbp = pop 0x1545 42 <return> jump(pop) 0x1410 43 edi = sx.d([rsp + rbp + 0x710].b) 0x1418 44 call(0x1050) 0x141d 45 rbp = rbp + 1 0x1424 46 if (rbx != rbp) then 43 @ 0x1410 else 50 @ 0x1426 0x11f7 47 r8 = rsi + 1 0x1200 48 if ([rsp + rsi + 1].b != 0x20) then 53 @ 0x11c3 else 61 @ 0x1202 0x11f1 49 if (bl != 0x2c) then 64 @ 0x1240 else 67 @ 0x11f3 0x1426 50 edi = 0xa {""} 0x142b 51 call(0x1050) 0x1433 52 if (r14d s< 0) then 34 @ 0x1532 else 69 @ 0x1439 0x11c3 53 rdi = sx.q(eax) 0x11c6 54 r13 = r13 + 1 0x11ca 55 r12 = r12 + 1 0x11ce 56 rcx = rcx + 1 0x11d2 57 r11 = r11 - 1 0x11d6 58 rdx = rdx + 1 0x11da 59 rsi = r8 0x11e0 60 if (r8 s>= rdi) then 71 @ 0x135b else 32 @ 0x11e6 0x1202 61 r9d = (rax - 1).d 0x1206 62 rsi = sx.q(r9d) 0x120c 63 if (r8 s>= rsi) then 72 @ 0x11c0 else 74 @ 0x120e 0x1240 64 rsi = rsi + 1 0x1244 65 r8 = rsi 0x1247 66 goto 53 @ 0x11c3 0x11f3 67 [rsp + rsi].b = 0x20 {"@"} 0x11f3 68 goto 47 @ 0x11f7 0x1439 69 ebp = 0 0x143b 70 goto 80 @ 0x1440 0x135b 71 if (eax s<= 0) then 16 @ 0x13f1 else 84 @ 0x1361 0x11c0 72 eax = r9d 0x11c0 73 goto 53 @ 0x11c3 0x120e 74 r10 = r12 0x1211 75 r10 = not.q(r10) 0x1214 76 ebp = r9d 0x1217 77 r14 = r10 + rbp 0x121b 78 rsi = r13 0x1222 79 if (r14 u< 8) then 90 @ 0x1340 else 95 @ 0x122c 0x1440 80 edi = sx.d([rsp + rbp + 0x710].b) 0x1448 81 call(0x1050) 0x144d 82 rbp = rbp + 1 0x1454 83 if (rbx != rbp) then 80 @ 0x1440 else 96 @ 0x1456 0x1361 84 r8d = (rax - 1).d 0x1365 85 edx = eax 0x1367 86 esi = 0 0x1369 87 eax = 0 0x136b 88 edi = 0 0x136d 89 goto 97 @ 0x13a2 0x1340 90 eax = zx.d([rsp + rsi + 1].b) 0x1345 91 [rsp + rsi].b = al 0x1348 92 rax = rsi + 1 0x134c 93 rsi = rax 0x1352 94 if (rbp != rax) then 90 @ 0x1340 else 99 @ 0x1354 0x122c 95 if (r14 u>= 0x20) then 100 @ 0x124c else 107 @ 0x122e 0x1456 96 goto 34 @ 0x1532 0x13a2 97 ebx = zx.d([rsp + rsi].b) 0x13a9 98 if (bl != 0x20) then 109 @ 0x1370 else 120 @ 0x13ae 0x1354 99 goto 72 @ 0x11c0 0x124c 100 rdi = r14 0x124f 101 rdi = rdi & 0xffffffffffffffe0 0x1253 102 rsi = rdi - 0x20 0x1257 103 r15 = rsi 0x125a 104 r15 = r15 u>> 5 0x125e 105 r15 = r15 + 1 0x1265 106 if (rsi == 0) then 121 @ 0x132c else 123 @ 0x126b 0x122e 107 edi = 0 0x1230 108 goto 131 @ 0x12ec 0x1370 109 rbp = sx.q(eax) 0x1373 110 rdi = sx.q(edi) 0x1376 111 rcx = rbp << 2 0x137e 112 rcx = rcx + rbp 0x1381 113 rcx = rsp + (rcx << 2) 0x1385 114 rcx = rcx + 0x710 0x138c 115 [rdi + rcx].b = bl 0x138f 116 [rsp + (rbp << 2) + 0x3f0].d = edi 0x1396 117 edi = edi + 1 0x1399 118 rsi = rsi + 1 0x13a0 119 if (rdx == rsi) then 139 @ 0x13c3 else 97 @ 0x13a2 0x13ae 120 if (rsi == 0) then 109 @ 0x1370 else 142 @ 0x13b3 0x132c 121 ebx = 0 0x1332 122 if ((r15b & 1) != 0) then 143 @ 0x12c7 else 149 @ 0x1334 0x126b 123 rsi = r11 + rbp 0x126f 124 rsi = rsi & 0xffffffffffffffe0 0x1273 125 rsi = rsi - 0x20 0x1277 126 rsi = rsi u>> 5 0x127b 127 rsi = rsi + 1 0x127f 128 rsi = rsi & 0xfffffffffffffffe 0x1283 129 ebx = 0 0x128f 130 goto 150 @ 0x1290 0x12ec 131 eax = eax - 1 0x12ef 132 r10 = r10 + rax 0x12f2 133 r14 = r10 0x12f5 134 r14 = r14 & 0xfffffffffffffff8 0x12f9 135 rsi = r14 + r13 0x12fd 136 rbx = r11 + rbp 0x1301 137 rbx = rbx & 0xfffffffffffffff8 0x130f 138 goto 162 @ 0x1310 0x13c3 139 temp0.d = eax 0x13c3 140 cond:0 = temp0.d s< 0 0x13c5 141 if (temp0.d == 0) then 16 @ 0x13f1 else 166 @ 0x13c7 0x13b3 142 if (r8 == rsi) then 109 @ 0x1370 else 168 @ 0x13b5 0x12c7 143 rbx = rbx + r13 0x12ca 144 xmm0 = [rsp + rbx + 1].o 0x12cf 145 xmm1 = [rsp + rbx + 0x11].o 0x12d4 146 [rsp + rbx].o = xmm0 0x12d8 147 [rsp + rbx + 0x10].o = xmm1 0x12d8 148 goto 172 @ 0x12e0 0x1334 149 goto 172 @ 0x12e0 0x1290 150 xmm0 = [rcx + rbx - 0x30].o 0x1295 151 xmm1 = [rcx + rbx - 0x20].o 0x129a 152 xmm2 = [rcx + rbx - 0x10].o 0x129f 153 xmm3 = [rcx + rbx].o 0x12a3 154 [rcx + rbx - 0x31].o = xmm0 0x12a8 155 [rcx + rbx - 0x21].o = xmm1 0x12ad 156 [rcx + rbx - 0x11].o = xmm2 0x12b2 157 [rcx + rbx - 1].o = xmm3 0x12b7 158 rbx = rbx + 0x40 0x12bb 159 temp1.q = rsi 0x12bb 160 rsi = rsi - 2 0x12bf 161 if (temp1.q != 2) then 150 @ 0x1290 else 173 @ 0x12c5 0x1310 162 rax = [rdx + rdi].q 0x1314 163 [rdx + rdi - 1].q = rax 0x1319 164 rdi = rdi + 8 0x1320 165 if (rbx != rdi) then 162 @ 0x1310 else 174 @ 0x1325 0x13c7 166 r14d = [rsp + 0x3f0 {var_12f8}].d 0x13cf 167 if (cond:0) then 175 @ 0x14d8 else 176 @ 0x13d5 0x13b5 168 eax = eax + 1 0x13b8 169 edi = 0 0x13ba 170 rsi = rsi + 1 0x13c1 171 if (rdx != rsi) then 97 @ 0x13a2 else 139 @ 0x13c3 0x12e0 172 if (r14 == rdi) then 72 @ 0x11c0 else 178 @ 0x12ea 0x12c5 173 if ((r15b & 1) == 0) then 172 @ 0x12e0 else 143 @ 0x12c7 0x1325 174 if (r10 != r14) then 90 @ 0x1340 else 179 @ 0x1327 0x14d8 175 if (r14d s< 0) then 25 @ 0x1528 else 180 @ 0x14da 0x13d5 176 edx = eax 0x13da 177 if (eax != 1) then 183 @ 0x145b else 191 @ 0x13dc 0x12ea 178 if ((r14b & 0x18) == 0) then 197 @ 0x1336 else 131 @ 0x12ec 0x1327 179 goto 72 @ 0x11c0 0x14da 180 rbx = r14 + 1 0x14de 181 ebp = 0 0x14de 182 goto 200 @ 0x14e0 0x145b 183 esi = edx 0x145d 184 esi = esi & 0xfffffffe 0x1460 185 eax = 0 0x1462 186 ecx = 1 0x1467 187 ebp = r14d 0x146a 188 r15d = 0 0x146d 189 r12d = r14d 0x146d 190 goto 204 @ 0x1470 0x13dc 191 eax = 0 0x13de 192 ecx = 1 0x13e3 193 ebp = r14d 0x13e6 194 r15d = 0 0x13e9 195 r12d = r14d 0x13ec 196 goto 207 @ 0x14b4 0x1336 197 rdi = rdi + r13 0x1339 198 rsi = rdi 0x133c 199 goto 90 @ 0x1340 0x14e0 200 edi = sx.d([rsp + rbp + 0x710].b) 0x14e8 201 call(0x1050) 0x14ed 202 rbp = rbp + 1 0x14f4 203 if (rbx != rbp) then 200 @ 0x14e0 else 208 @ 0x14f6 0x1470 204 edi = [rsp + (rcx << 2) + 0x3f0].d 0x1477 205 cond:1 = edi s< r12d 0x147a 206 if (edi s< r12d) then 211 else 213 @ 0x147e 0x14b4 207 if ((dl & 1) == 0) then 214 @ 0x14d3 else 215 @ 0x14b6 0x14f6 208 edi = 0xa {""} 0x14fb 209 call(0x1050) 0x1503 210 if (r14d s< 0) then 34 @ 0x1532 else 218 @ 0x1505 0x147a 211 r12d = edi 0x147a 212 goto 213 @ 0x147e 0x147e 213 if (cond:1) then 220 else 222 @ 0x1482 0x14d3 214 if (r12d != ebp) then 225 @ 0x1548 else 175 @ 0x14d8 0x14b6 215 edx = [rsp + (rcx << 2) + 0x3f0].d 0x14bd 216 cond:5 = edx s< r12d 0x14c0 217 if (edx s< r12d) then 226 else 228 @ 0x14c4 0x1505 218 ebp = 0 0x1507 219 goto 229 @ 0x1510 0x147e 220 r15d = ecx 0x147e 221 goto 222 @ 0x1482 0x1482 222 ebx = [rsp + (rcx << 2) + 0x3f4].d 0x1489 223 cond:2 = edi s> ebp 0x148b 224 if (edi s> ebp) then 233 else 235 @ 0x148e 0x1548 225 if (ebp s< 0) then 236 @ 0x1573 else 239 @ 0x154a 0x14c0 226 r12d = edx 0x14c0 227 goto 228 @ 0x14c4 0x14c4 228 if (cond:5) then 246 else 248 @ 0x14c8 0x1510 229 edi = sx.d([rsp + rbp + 0x710].b) 0x1518 230 call(0x1050) 0x151d 231 rbp = rbp + 1 0x1524 232 if (rbx != rbp) then 229 @ 0x1510 else 250 @ 0x1526 0x148b 233 ebp = edi 0x148b 234 goto 235 @ 0x148e 0x148e 235 if (cond:2) then 251 else 253 @ 0x1491 0x1573 236 edi = 0xa {""} 0x1578 237 call(0x1050) 0x1580 238 if (r12d s< 0) then 34 @ 0x1532 else 256 @ 0x1582 0x154a 239 rax = sx.q(eax) 0x154c 240 ebp = ebp + 1 0x154f 241 rax = rax + (rax << 2) 0x1553 242 r14 = rsp + (rax << 2) 0x1557 243 r14 = r14 + 0x710 0x155e 244 ebx = 0 0x155e 245 goto 263 @ 0x1560 0x14c4 246 r15d = ecx 0x14c4 247 goto 248 @ 0x14c8 0x14c8 248 cond:6 = edx s> ebp 0x14ca 249 if (edx s> ebp) then 267 else 269 @ 0x14cd 0x1526 250 goto 34 @ 0x1532 0x148e 251 eax = ecx 0x148e 252 goto 253 @ 0x1491 0x1491 253 rdi = rcx + 1 0x1495 254 cond:3 = ebx s< r12d 0x1498 255 if (ebx s< r12d) then 270 else 272 @ 0x149c 0x1582 256 rax = sx.q(r15d) 0x1585 257 r12d = r12d + 1 0x1589 258 rax = rax + (rax << 2) 0x158d 259 rbp = rsp + (rax << 2) 0x1591 260 rbp = rbp + 0x710 0x1598 261 ebx = 0 0x159a 262 goto 273 @ 0x15a0 0x1560 263 edi = sx.d([r14 + rbx].b) 0x1565 264 call(0x1050) 0x156a 265 rbx = rbx + 1 0x1571 266 if (rbp != rbx) then 263 @ 0x1560 else 236 @ 0x1573 0x14ca 267 ebp = edx 0x14ca 268 goto 269 @ 0x14cd 0x14cd 269 if (cond:6) then 277 else 279 0x1498 270 r12d = ebx 0x1498 271 goto 272 @ 0x149c 0x149c 272 if (cond:3) then 280 else 282 @ 0x14a0 0x15a0 273 edi = sx.d([rbp + rbx].b) 0x15a5 274 call(0x1050) 0x15aa 275 rbx = rbx + 1 0x15b1 276 if (r12 != rbx) then 273 @ 0x15a0 else 284 @ 0x15b3 0x14cd 277 eax = ecx 0x14cd 278 goto 279 0x14cd 279 goto 214 @ 0x14d3 0x149c 280 r15d = edi 0x149c 281 goto 282 @ 0x14a0 0x14a0 282 cond:4 = ebx s> ebp 0x14a2 283 if (ebx s> ebp) then 285 else 287 @ 0x14a5 0x15b3 284 goto 34 @ 0x1532 0x14a2 285 ebp = ebx 0x14a2 286 goto 287 @ 0x14a5 0x14a5 287 if (cond:4) then 288 else 290 @ 0x14a8 0x14a5 288 eax = edi 0x14a5 289 goto 290 @ 0x14a8 0x14a8 290 rcx = rcx + 2 0x14af 291 if (rdi != rsi) then 204 @ 0x1470 else 207 @ 0x14b4 int64_t _fini(): 0x15bc 0 rsp = rsp - 8 0x15c0 1 rsp = rsp + 8 0x15c4 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) 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 {"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) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbx) 0x1161 1 rsp = rsp - 0x140 0x1168 2 rbx = rsp {var_148} 0x116b 3 rdi = rbx {var_148} 0x116e 4 eax = 0 0x1170 5 call(0x1050) 0x1175 6 rdi = rbx {var_148} 0x1178 7 call(0x1040) 0x117d 8 edx = eax 0x117f 9 temp0.d = edx 0x117f 10 edx = edx - 1 0x1182 11 if (temp0.d - 1 s< 0) then 12 @ 0x11c4 else 20 @ 0x1184 0x11c4 12 rdi = 0x2004 {"%s"} 0x11cb 13 rsi = rsp + 0xa0 {var_a8} 0x11d3 14 eax = 0 0x11d5 15 call(0x1030) 0x11da 16 eax = 0 0x11dc 17 rsp = rsp + 0x140 0x11e3 18 rbx = pop 0x11e4 19 <return> jump(pop) 0x1184 20 cl = [rsp {var_148}].b 0x1187 21 edx = edx 0x1189 22 eax = eax 0x118b 23 esi = 0 0x118d 24 goto 25 @ 0x11b1 0x11b1 25 if (rdx == rsi) then 26 @ 0x1190 else 31 @ 0x11b3 0x1190 26 ebx = zx.d([rsp + rdx].b) 0x1194 27 bl = bl + cl 0x1196 28 [rsp + rdx + 0xa0].b = bl 0x119d 29 [rsp + rdx + 0xa1].b = 0 0x119d 30 goto 35 @ 0x11a5 0x11b3 31 ebx = zx.d([rsp + rsi + 1].b) 0x11b8 32 bl = bl + [rsp + rsi].b 0x11bb 33 [rsp + rsi + 0xa0].b = bl 0x11c2 34 goto 35 @ 0x11a5 0x11a5 35 rsi = rsi + 1 0x11ac 36 if (rax == rsi) then 12 @ 0x11c4 else 25 @ 0x11b1 int64_t _fini(): 0x11ec 0 rsp = rsp - 8 0x11f0 1 rsp = rsp + 8 0x11f4 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) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x1d4d8 0x1171 7 rdi = rsp + 0x10 {var_1d4f8} 0x1176 8 edx = 0x9c40 {""} 0x117b 9 esi = 0 0x117d 10 call(0x1040) 0x1182 11 rdi = 0x2004 {"%d %d"} 0x1189 12 rsi = rsp + 4 {var_1d504} 0x118e 13 rdx = rsp + 0xc {var_1d4fc} 0x1193 14 eax = 0 0x1195 15 call(0x1050) 0x119f 16 if ([rsp + 4 {var_1d504}].d s<= 0) then 17 @ 0x1211 else 23 @ 0x11a1 0x1211 17 rdi = 0x2004 {"%d %d"} 0x1218 18 rsi = rsp + 8 {var_1d500} 0x121d 19 rdx = rsp {var_1d508} 0x1220 20 eax = 0 0x1222 21 call(0x1050) 0x122c 22 if ([rsp + 8 {var_1d500}].d s<= 0) then 27 @ 0x1295 else 28 @ 0x122e 0x11a1 23 r15 = rsp + 0x13890 {var_9c78} 0x11a9 24 r14 = 0x2007 {"%d"} 0x11b0 25 r12d = 0 0x11b3 26 goto 32 @ 0x11da 0x1295 27 if ([rsp + 4 {var_1d504}].d s<= 0) then 33 @ 0x135d else 42 @ 0x129b 0x122e 28 r15 = rsp + 0x9c50 {var_138b8} 0x1236 29 r14 = 0x2007 {"%d"} 0x123d 30 r12d = 0 0x1240 31 goto 46 @ 0x1269 0x11da 32 if ([rsp + 0xc {var_1d4fc}].d s<= 0) then 47 @ 0x11c0 else 51 @ 0x11dc 0x135d 33 eax = 0 0x135f 34 rsp = rsp + 0x1d4d8 0x1366 35 rbx = pop 0x1367 36 r12 = pop 0x1369 37 r13 = pop 0x136b 38 r14 = pop 0x136d 39 r15 = pop 0x136f 40 rbp = pop 0x1370 41 <return> jump(pop) 0x129b 42 rbx = rsp + 0x13890 {var_9c78} 0x12a3 43 r12 = 0x200e {"%d "} 0x12aa 44 r13d = 0 0x12ad 45 goto 54 @ 0x12c9 0x1269 46 if ([rsp {var_1d508}].d s<= 0) then 56 @ 0x1250 else 60 @ 0x126b 0x11c0 47 r12 = r12 + 1 0x11c4 48 rax = sx.q([rsp + 4 {var_1d504}].d) 0x11c9 49 r15 = r15 + 0x190 0x11d3 50 if (r12 s>= rax) then 17 @ 0x1211 else 32 @ 0x11da 0x11dc 51 rbx = r15 0x11df 52 ebp = 0 0x11eb 53 goto 63 @ 0x11f0 0x12c9 54 eax = [rsp {var_1d508}].d 0x12ce 55 if (eax s<= 0) then 71 @ 0x12b0 else 75 @ 0x12d0 0x1250 56 r12 = r12 + 1 0x1254 57 rax = sx.q([rsp + 8 {var_1d500}].d) 0x1259 58 r15 = r15 + 0x190 0x1263 59 if (r12 s>= rax) then 27 @ 0x1295 else 46 @ 0x1269 0x126b 60 rbx = r15 0x126e 61 ebp = 0 0x126e 62 goto 78 @ 0x1270 0x11f0 63 rdi = r14 0x11f3 64 rsi = rbx 0x11f6 65 eax = 0 0x11f8 66 call(0x1050) 0x11fd 67 rbp = rbp + 1 0x1201 68 rax = sx.q([rsp + 0xc {var_1d4fc}].d) 0x1206 69 rbx = rbx + 4 0x120d 70 if (rbp s< rax) then 63 @ 0x11f0 else 86 @ 0x120f 0x12b0 71 r13 = r13 + 1 0x12b4 72 rax = sx.q([rsp + 4 {var_1d504}].d) 0x12b9 73 rbx = rbx + 0x190 0x12c3 74 if (r13 s>= rax) then 33 @ 0x135d else 54 @ 0x12c9 0x12d0 75 r15 = rsp + 0x9c50 {var_138b8} 0x12d8 76 r14d = 0 0x12db 77 goto 87 @ 0x131c 0x1270 78 rdi = r14 0x1273 79 rsi = rbx 0x1276 80 eax = 0 0x1278 81 call(0x1050) 0x127d 82 rbp = rbp + 1 0x1281 83 rax = sx.q([rsp {var_1d508}].d) 0x1285 84 rbx = rbx + 4 0x128c 85 if (rbp s< rax) then 78 @ 0x1270 else 89 @ 0x128e 0x120f 86 goto 47 @ 0x11c0 0x131c 87 ecx = [rsp + 8 {var_1d500}].d 0x1322 88 if (ecx s<= 0) then 90 @ 0x12e0 else 98 @ 0x1324 0x128e 89 goto 56 @ 0x1250 0x12e0 90 eax = eax - 1 0x12e3 91 rcx = r13 * 0x190 0x12ea 92 cond:0 = r14 == rax 0x12ed 93 rax = rsp + rcx + 0x10 0x12f2 94 esi = [rax + (r14 << 2)].d 0x12f6 95 rdi = r12 0x12f9 96 rax = 0x200a {"%d\n"} 0x1300 97 if (cond:0) then 106 else 108 @ 0x1304 0x1324 98 rdx = r13 * 0x190 0x132b 99 rdx = rdx + rsp 0x132e 100 rdx = rdx + 0x10 0x1332 101 r8 = rdx + (r14 << 2) 0x1336 102 esi = [rdx + (r14 << 2)].d 0x133a 103 rdi = r15 0x133d 104 edx = 0 0x133f 105 goto 114 @ 0x1340 0x1300 106 rdi = rax 0x1300 107 goto 108 @ 0x1304 0x1304 108 eax = 0 0x1306 109 call(0x1030) 0x130b 110 r14 = r14 + 1 0x130f 111 rax = sx.q([rsp {var_1d508}].d) 0x1313 112 r15 = r15 + 4 0x131a 113 if (r14 s>= rax) then 71 @ 0x12b0 else 87 @ 0x131c 0x1340 114 ebp = [rdi].d 0x1342 115 ebp = ebp * [rbx + (rdx << 2)].d 0x1346 116 esi = esi + ebp 0x1348 117 rdx = rdx + 1 0x134c 118 rdi = rdi + 0x190 0x1356 119 if (rcx != rdx) then 114 @ 0x1340 else 120 @ 0x1358 0x1358 120 [r8].d = esi 0x135b 121 goto 90 @ 0x12e0 int64_t _fini(): 0x1378 0 rsp = rsp - 8 0x137c 1 rsp = rsp + 8 0x1380 2 <return> jump(pop)
POJ_63
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 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 ([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(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x20 0x1159 4 rdi = 0x2028 {"%d\n"} 0x1160 5 rsi = rsp + 0xc {var_2c} 0x1165 6 eax = 0 0x1167 7 call(0x1040) 0x116c 8 xmm5 = 0 0x116f 9 cond:0 = [rsp + 0xc {var_2c}].d s<= 0 0x1174 10 xmm4 = 0 0x1178 11 if (cond:0) then 12 @ 0x1486 else 22 @ 0x117e 0x1486 12 xmm0 = [0x2024].d 0x148e 13 [rsp + 0x10 {var_28}].o = xmm4 0x1494 14 xmm0.d = xmm0.d f+ xmm4.d 0x1498 15 flag:p = is_unordered.d(xmm0.d, xmm5.d) 0x1498 16 flag:c = xmm0.d f< xmm5.d | is_unordered.d(xmm0.d, xmm5.d) 0x1498 17 flag:z = xmm0.d f== xmm5.d | is_unordered.d(xmm0.d, xmm5.d) 0x1498 18 flag:s = 0 0x1498 19 flag:o = 0 0x1498 20 flag:a = 0 0x149b 21 if (flag:z || flag:c) then 26 @ 0x150f else 41 @ 0x149d 0x117e 22 r15 = 0x4050 {""} 0x1185 23 r14 = 0x202c {"%f"} 0x118c 24 ebx = 0 0x118e 25 goto 44 @ 0x1190 0x150f 26 xmm0 = [0x4050].d 0x1517 27 xmm0.q = fconvert.d(xmm0.d) 0x151b 28 rdi = 0x2030 {"%.0f"} 0x1522 29 al = 1 0x1524 30 call(0x1030) 0x1529 31 xmm0 = [0x2020].d 0x1531 32 xmm1 = [rsp + 0x10 {var_28}].o 0x1536 33 xmm1.d = xmm1.d f+ xmm0.d 0x153a 34 flag:p = is_unordered.d(xmm1.d, xmm0.d) 0x153a 35 flag:c = xmm1.d f< xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x153a 36 flag:z = xmm1.d f== xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x153a 37 flag:s = 0 0x153a 38 flag:o = 0 0x153a 39 flag:a = 0 0x153d 40 if (flag:z || flag:c) then 52 @ 0x1589 else 57 @ 0x153f 0x149d 41 eax = 0 0x149f 42 rcx = 0x4050 {""} 0x14a6 43 goto 62 @ 0x14bf 0x1190 44 rdi = r14 0x1193 45 rsi = r15 0x1196 46 eax = 0 0x1198 47 call(0x1040) 0x119d 48 rbx = rbx + 1 0x11a1 49 rax = sx.q([rsp + 0xc {var_2c}].d) 0x11a6 50 r15 = r15 + 8 0x11ad 51 if (rbx s< rax) then 44 @ 0x1190 else 64 @ 0x11af 0x1589 52 rsp = rsp + 0x20 0x158d 53 rbx = pop 0x158e 54 r14 = pop 0x1590 55 r15 = pop 0x1592 56 <return> jump(pop) 0x153f 57 ebx = 1 0x1544 58 r15 = 0x4050 {""} 0x154b 59 r14 = 0x202f {",%.0f"} 0x1552 60 [rsp + 0x10 {var_28_1}].o = xmm1 0x1557 61 goto 69 @ 0x1560 0x14bf 62 edx = 0 0x14c1 63 goto 85 @ 0x14e0 0x11af 64 r9d = eax 0x11b2 65 xmm4 = 0 0x11b6 66 cond:1 = r9d s<= 0 0x11b9 67 xmm5 = 0 0x11bc 68 if (cond:1) then 12 @ 0x1486 else 93 @ 0x11c2 0x1560 69 xmm0 = [r15 + (rbx << 3)].d 0x1566 70 xmm0.q = fconvert.d(xmm0.d) 0x156a 71 rdi = r14 0x156d 72 al = 1 0x156f 73 call(0x1030) 0x1574 74 xmm1 = [rsp + 0x10 {var_28_1}].o 0x1579 75 rbx = rbx + 1 0x157d 76 xmm0 = 0 0x1580 77 xmm0.d = float.s(ebx) 0x1584 78 flag:p = is_unordered.d(xmm1.d, xmm0.d) 0x1584 79 flag:c = xmm1.d f< xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x1584 80 flag:z = xmm1.d f== xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x1584 81 flag:s = 0 0x1584 82 flag:o = 0 0x1584 83 flag:a = 0 0x1587 84 if (not(flag:z) && not(flag:c)) then 69 @ 0x1560 else 52 @ 0x1589 0x14e0 85 xmm1 = [rcx + (rdx << 3) + 4].d 0x14e6 86 flag:p = is_unordered.d(xmm1.d, fconvert.t([rcx + (rdx << 3) + 0xc].d)) 0x14e6 87 flag:c = xmm1.d f< fconvert.t([rcx + (rdx << 3) + 0xc].d) | is_unordered.d(xmm1.d, fconvert.t([rcx + (rdx << 3) + 0xc].d)) 0x14e6 88 flag:z = xmm1.d f== fconvert.t([rcx + (rdx << 3) + 0xc].d) | is_unordered.d(xmm1.d, fconvert.t([rcx + (rdx << 3) + 0xc].d)) 0x14e6 89 flag:s = 0 0x14e6 90 flag:o = 0 0x14e6 91 flag:a = 0 0x14eb 92 if (flag:z || flag:c) then 97 @ 0x14d0 else 107 @ 0x14ed 0x11c2 93 r8 = r9 - 1 0x11c6 94 edx = r9d 0x11c9 95 edx = edx & 3 0x11d0 96 if (r8 u>= 3) then 114 @ 0x11d9 else 120 @ 0x11d2 0x14d0 97 rdx = rdx + 1 0x14d4 98 xmm1 = 0 0x14d7 99 xmm1.d = float.s(edx) 0x14db 100 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x14db 101 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x14db 102 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x14db 103 flag:s = 0 0x14db 104 flag:o = 0 0x14db 105 flag:a = 0 0x14de 106 if (flag:z || flag:c) then 123 @ 0x14b0 else 85 @ 0x14e0 0x14ed 107 rsi = [rcx + (rdx << 3)].q 0x14f1 108 [0x4cd0].q = rsi 0x14f8 109 rsi = [rcx + (rdx << 3) + 8].q 0x14fd 110 [rcx + (rdx << 3)].q = rsi 0x1501 111 rsi = [0x4cd0].q 0x1508 112 [rcx + (rdx << 3) + 8].q = rsi 0x150d 113 goto 97 @ 0x14d0 0x11d9 114 edi = r9d 0x11dc 115 edi = edi & 0xfffffffc 0x11df 116 xmm0 = 0 0x11e2 117 esi = 0 0x11e4 118 rbx = 0x4050 {""} 0x11eb 119 goto 133 @ 0x11f0 0x11d2 120 xmm0 = 0 0x11d5 121 esi = 0 0x11d7 122 goto 139 @ 0x1213 0x14b0 123 eax = eax + 1 0x14b3 124 xmm1 = 0 0x14b6 125 xmm1.d = float.s(eax) 0x14ba 126 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x14ba 127 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x14ba 128 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x14ba 129 flag:s = 0 0x14ba 130 flag:o = 0 0x14ba 131 flag:a = 0 0x14bd 132 if (flag:z || flag:c) then 26 @ 0x150f else 62 @ 0x14bf 0x11f0 133 xmm0.d = xmm0.d f+ fconvert.t([rbx + (rsi << 3)].d) 0x11f5 134 xmm0.d = xmm0.d f+ fconvert.t([rbx + (rsi << 3) + 8].d) 0x11fb 135 xmm0.d = xmm0.d f+ fconvert.t([rbx + (rsi << 3) + 0x10].d) 0x1201 136 xmm0.d = xmm0.d f+ fconvert.t([rbx + (rsi << 3) + 0x18].d) 0x1207 137 rsi = rsi + 4 0x120e 138 if (rdi != rsi) then 133 @ 0x11f0 else 139 @ 0x1213 0x1213 139 if (rdx == 0) then 140 @ 0x1241 else 141 @ 0x1215 0x1241 140 if (r9d s<= 0) then 145 @ 0x12fb else 147 @ 0x1247 0x1215 141 rax = 0x4050 {""} 0x121c 142 rsi = rax + (rsi << 3) 0x1220 143 edi = 0 0x122c 144 goto 150 @ 0x1230 0x12fb 145 xmm4 = 0 0x1303 146 if (r9d s< 2) then 12 @ 0x1486 else 153 @ 0x1309 0x1247 147 xmm1.d = float.s(r9d) 0x124c 148 xmm0.d = xmm0.d f/ xmm1.d 0x1254 149 if (r9d u> 4) then 158 @ 0x125a else 163 @ 0x1256 0x1230 150 xmm0.d = xmm0.d f+ fconvert.t([rsi + (rdi << 3)].d) 0x1235 151 rdi = rdi + 1 0x123c 152 if (rdx != rdi) then 150 @ 0x1230 else 140 @ 0x1241 0x1309 153 r10d = (r9 - 1).d 0x130d 154 edi = r10d 0x1310 155 ebx = 0 0x1312 156 rdx = 0x4050 {""} 0x1319 157 goto 165 @ 0x1328 0x125a 158 eax = r9d 0x125d 159 eax = eax & 3 0x1260 160 cond:2 = rax != 0 0x1263 161 ecx = 4 0x1268 162 if (cond:2) then 167 else 169 @ 0x126c 0x1256 163 edx = 0 0x1258 164 goto 177 @ 0x12d0 0x1328 165 eax = 0 0x132a 166 goto 180 @ 0x1338 0x1268 167 rcx = rax 0x1268 168 goto 169 @ 0x126c 0x126c 169 rdx = r9 0x126f 170 rdx = rdx - rcx 0x1272 171 xmm1 = xmm0 0x1275 172 xmm1 = _mm_shuffle_ps(xmm1, xmm0, 0) 0x1279 173 esi = 0 0x127b 174 rdi = 0x4050 {""} 0x1282 175 xmm2 = [0x2010].o 0x1289 176 goto 189 @ 0x1290 0x12d0 177 rsi = 0x4050 {""} 0x12d7 178 xmm1 = [0x2010].o 0x12de 179 goto 202 @ 0x12e0 0x1338 180 rcx = rax + 1 0x133c 181 xmm0 = [rdx + (rax << 3) + 0xc].d 0x1342 182 flag:p = is_unordered.d(xmm0.d, fconvert.t([rdx + (rax << 3) + 4].d)) 0x1342 183 flag:c = xmm0.d f< fconvert.t([rdx + (rax << 3) + 4].d) | is_unordered.d(xmm0.d, fconvert.t([rdx + (rax << 3) + 4].d)) 0x1342 184 flag:z = xmm0.d f== fconvert.t([rdx + (rax << 3) + 4].d) | is_unordered.d(xmm0.d, fconvert.t([rdx + (rax << 3) + 4].d)) 0x1342 185 flag:s = 0 0x1342 186 flag:o = 0 0x1342 187 flag:a = 0 0x1347 188 if (flag:z || flag:c) then 208 @ 0x1330 else 210 @ 0x1349 0x1290 189 xmm3 = [rdi + (rsi << 3)].o 0x1294 190 xmm3 = __shufps_xmmps_memps_immb(xmm3, [rdi + (rsi << 3) + 0x10].o, 0x88) 0x129a 191 xmm3 = _mm_sub_ps(xmm3, xmm1) 0x129d 192 xmm3 = _mm_and_ps(xmm3, xmm2) 0x12a0 193 [rdi + (rsi << 3) + 4].d = xmm3.d 0x12a6 194 xmm4 = _mm_shuffle_epi32(xmm3, 0x55) 0x12ab 195 [rdi + (rsi << 3) + 0xc].d = xmm4.d 0x12b1 196 xmm4 = _mm_shuffle_epi32(xmm3, 0xee) 0x12b6 197 [rdi + (rsi << 3) + 0x14].d = xmm4.d 0x12bc 198 xmm3 = _mm_shuffle_epi32(xmm3, 0xff) 0x12c1 199 [rdi + (rsi << 3) + 0x1c].d = xmm3.d 0x12c7 200 rsi = rsi + 4 0x12ce 201 if (rdx != rsi) then 189 @ 0x1290 else 177 @ 0x12d0 0x12e0 202 xmm2 = [rsi + (rdx << 3)].d 0x12e5 203 xmm2.d = xmm2.d f- xmm0.d 0x12e9 204 xmm2 = _mm_and_ps(xmm2, xmm1) 0x12ec 205 [rsi + (rdx << 3) + 4].d = xmm2.d 0x12f2 206 rdx = rdx + 1 0x12f9 207 if (r9 != rdx) then 202 @ 0x12e0 else 145 @ 0x12fb 0x1330 208 rax = rcx 0x1336 209 if (rdi == rcx) then 217 @ 0x1320 else 180 @ 0x1338 0x1349 210 rsi = [rdx + (rax << 3)].q 0x134d 211 [0x4cd0].q = rsi 0x1354 212 rsi = [rdx + (rax << 3) + 8].q 0x1359 213 [rdx + (rax << 3)].q = rsi 0x135d 214 rsi = [0x4cd0].q 0x1364 215 [rdx + (rax << 3) + 8].q = rsi 0x1369 216 goto 208 @ 0x1330 0x1320 217 ebx = ebx + 1 0x1326 218 if (ebx == r10d) then 219 @ 0x136f else 165 @ 0x1328 0x136f 219 if (r9d s< 2) then 12 @ 0x1486 else 220 @ 0x1375 0x1375 220 xmm0 = [0x4054].d 0x137d 221 r9 = r9 - 2 0x1381 222 esi = r8d 0x1384 223 esi = esi & 3 0x138b 224 if (r9 u>= 3) then 225 @ 0x139a else 231 @ 0x138d 0x139a 225 r8 = r8 & 0xfffffffffffffffc 0x139e 226 r8 = neg.q(r8) 0x13a1 227 xmm1 = 0 0x13a4 228 ecx = 1 0x13a9 229 xmm2 = [0x2020].d 0x13bb 230 goto 234 @ 0x13c0 0x138d 231 xmm1 = 0 0x1390 232 ecx = 1 0x1395 233 goto 266 @ 0x143e 0x13c0 234 xmm3 = xmm1 0x13c3 235 xmm3.d = xmm3.d f+ xmm2.d 0x13c7 236 xmm4 = [rdx + (rcx << 3) + 4].d 0x13cd 237 xmm4 = _mm_cmpeq_ss(xmm4.d, xmm0.d, 0) 0x13d2 238 xmm3 = _mm_and_ps(xmm3, xmm4) 0x13d5 239 xmm4 = _mm_andnot_ps(xmm4, xmm1) 0x13d8 240 xmm4 = _mm_or_ps(xmm4, xmm3) 0x13db 241 xmm1 = [rdx + (rcx << 3) + 0xc].d 0x13e1 242 xmm1 = _mm_cmpeq_ss(xmm1.d, xmm0.d, 0) 0x13e6 243 xmm3 = xmm1 0x13e9 244 xmm3 = _mm_andnot_ps(xmm3, xmm4) 0x13ec 245 xmm4.d = xmm4.d f+ xmm2.d 0x13f0 246 xmm1 = _mm_and_ps(xmm1, xmm4) 0x13f3 247 xmm1 = _mm_or_ps(xmm1, xmm3) 0x13f6 248 xmm3 = [rdx + (rcx << 3) + 0x14].d 0x13fc 249 xmm3 = _mm_cmpeq_ss(xmm3.d, xmm0.d, 0) 0x1401 250 xmm4 = xmm3 0x1404 251 xmm4 = _mm_andnot_ps(xmm4, xmm1) 0x1407 252 xmm1.d = xmm1.d f+ xmm2.d 0x140b 253 xmm3 = _mm_and_ps(xmm3, xmm1) 0x140e 254 xmm3 = _mm_or_ps(xmm3, xmm4) 0x1411 255 xmm1 = [rdx + (rcx << 3) + 0x1c].d 0x1417 256 xmm1 = _mm_cmpeq_ss(xmm1.d, xmm0.d, 0) 0x141c 257 xmm4 = xmm1 0x141f 258 xmm4 = _mm_andnot_ps(xmm4, xmm3) 0x1422 259 xmm3.d = xmm3.d f+ xmm2.d 0x1426 260 xmm1 = _mm_and_ps(xmm1, xmm3) 0x1429 261 xmm1 = _mm_or_ps(xmm1, xmm4) 0x142c 262 rax = r8 + rcx 0x1430 263 rax = rax + 4 0x1434 264 rcx = rcx + 4 0x143c 265 if (rax != 1) then 234 @ 0x13c0 else 266 @ 0x143e 0x143e 266 xmm4 = xmm1 0x1444 267 if (rsi == 0) then 12 @ 0x1486 else 268 @ 0x1446 0x1446 268 rax = rdx + (rcx << 3) 0x144a 269 rax = rax + 4 0x144e 270 ecx = 0 0x1450 271 xmm2 = [0x2020].d 0x1458 272 goto 273 @ 0x1460 0x1460 273 xmm3 = xmm1 0x1463 274 xmm3.d = xmm3.d f+ xmm2.d 0x1467 275 xmm4 = [rax + (rcx << 3)].d 0x146c 276 xmm4 = _mm_cmpeq_ss(xmm4.d, xmm0.d, 0) 0x1471 277 xmm3 = _mm_and_ps(xmm3, xmm4) 0x1474 278 xmm4 = _mm_andnot_ps(xmm4, xmm1) 0x1477 279 xmm4 = _mm_or_ps(xmm4, xmm3) 0x147a 280 rcx = rcx + 1 0x147e 281 xmm1 = xmm4 0x1484 282 if (rsi != rcx) then 273 @ 0x1460 else 12 @ 0x1486 int64_t _fini(): 0x1598 0 rsp = rsp - 8 0x159c 1 rsp = rsp + 8 0x15a0 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) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHh"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x668 0x1161 7 rdi = 0x2004 {"%d%d"} 0x1168 8 rsi = rsp + 0xc {var_68c} 0x116d 9 rdx = rsp + 8 {var_690} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x1179 12 eax = [rsp + 0xc {var_68c}].d 0x117f 13 if (eax s<= 0) then 14 @ 0x1533 else 23 @ 0x1185 0x1533 14 eax = 0 0x1535 15 rsp = rsp + 0x668 0x153c 16 rbx = pop 0x153d 17 r12 = pop 0x153f 18 r13 = pop 0x1541 19 r14 = pop 0x1543 20 r15 = pop 0x1545 21 rbp = pop 0x1546 22 <return> jump(pop) 0x1185 23 ecx = [rsp + 8 {var_690}].d 0x118b 24 if (ecx s<= 0) then 14 @ 0x1533 else 25 @ 0x1191 0x1191 25 r14 = rsp + 0x20 {var_678} 0x1196 26 r12 = 0x2006 {"%d"} 0x119d 27 r15d = 0 0x11a0 28 goto 29 @ 0x11c2 0x11c2 29 if (ecx s<= 0) then 30 @ 0x11b0 else 34 @ 0x11c4 0x11b0 30 r15 = r15 + 1 0x11b4 31 rdx = sx.q(eax) 0x11b7 32 r14 = r14 + 0x50 0x11be 33 if (r15 s>= rdx) then 37 @ 0x11f7 else 29 @ 0x11c2 0x11c4 34 rbp = r14 0x11c7 35 ebx = 0 0x11c9 36 goto 38 @ 0x11d0 0x11f7 37 if (eax s<= 0) then 14 @ 0x1533 else 46 @ 0x11fd 0x11d0 38 rdi = r12 0x11d3 39 rsi = rbp 0x11d6 40 eax = 0 0x11d8 41 call(0x1040) 0x11dd 42 rbx = rbx + 1 0x11e1 43 rcx = sx.q([rsp + 8 {var_690}].d) 0x11e6 44 rbp = rbp + 4 0x11ed 45 if (rbx s< rcx) then 38 @ 0x11d0 else 48 @ 0x11ef 0x11fd 46 ecx = [rsp + 8 {var_690}].d 0x1203 47 if (ecx s<= 0) then 14 @ 0x1533 else 50 @ 0x1209 0x11ef 48 eax = [rsp + 0xc {var_68c}].d 0x11f3 49 goto 30 @ 0x11b0 0x1209 50 r14 = 0x2009 {"%d %d\n"} 0x1210 51 r15d = 0 0x1213 52 goto 53 @ 0x123a 0x123a 53 if (ecx s<= 0) then 54 @ 0x1520 else 58 @ 0x1240 0x1520 54 r15 = r15 + 1 0x1524 55 rsi = r15 0x1527 56 rdx = sx.q(eax) 0x152d 57 if (rsi s< rdx) then 53 @ 0x123a else 14 @ 0x1533 0x1240 58 rax = r15 + (r15 << 2) 0x1244 59 rax = rax << 4 0x1248 60 r12 = rsp + rax 0x124c 61 r12 = r12 + 0x20 0x1250 62 rax = r15 + 1 0x1254 63 [rsp + 0x18 {var_680}].q = rax 0x1259 64 eax = (r15 - 1).d 0x125d 65 rax = rax + (rax << 2) 0x1261 66 rax = rax << 4 0x1265 67 rax = rax + rsp 0x1268 68 rax = rax + 0x20 0x126c 69 [rsp + 0x10 {var_688_1}].q = rax 0x1271 70 ebx = 0 0x1273 71 goto 72 @ 0x128e 0x128e 72 rax = r15 0x1291 73 rax = rax | rbx 0x1291 74 cond:0 = rax != 0 0x1294 75 r13b = rax == 0 0x1298 76 if (cond:0) then 77 @ 0x12d3 else 79 @ 0x129a 0x12d3 77 bpl = rbx != 0 0x12da 78 if (r15 != 0) then 82 @ 0x1313 else 83 @ 0x12df 0x129a 79 eax = [rsp + 0x20 {var_678}].d 0x129e 80 ebp = 0 0x12a4 81 if (eax s< [rsp + 0x24 {var_674}].d) then 82 @ 0x1313 else 84 @ 0x12aa 0x1313 82 if (r15 == 0) then 85 @ 0x1400 else 88 @ 0x1319 0x12df 83 if (rbx == 0) then 82 @ 0x1313 else 91 @ 0x12e1 0x12aa 84 if (eax s< [rsp + 0x70 {var_628}].d) then 82 @ 0x1313 else 95 @ 0x12ac 0x1400 85 eax = [rsp + 8 {var_690}].d 0x1404 86 eax = eax - 1 0x140a 87 if (rbx != rax) then 103 @ 0x1430 else 106 @ 0x140c 0x1319 88 rax = sx.q([rsp + 0xc {var_68c}].d) 0x131e 89 rax = rax - 1 0x1325 90 if (r15 s>= rax) then 108 @ 0x1363 else 111 @ 0x132a 0x12e1 91 ecx = ecx - 1 0x12e4 92 rax = sx.q(ecx) 0x12e7 93 bpl = 1 0x12ed 94 if (rbx s>= rax) then 82 @ 0x1313 else 112 @ 0x12ef 0x12ac 95 r13b = r13b ^ 1 0x12b0 96 rdi = r14 0x12b3 97 esi = 0 0x12b5 98 edx = ebp 0x12b7 99 eax = 0 0x12b9 100 call(0x1030) 0x12be 101 ebp = r13d 0x12c1 102 goto 82 @ 0x1313 0x1430 103 eax = [rsp + 0xc {var_68c}].d 0x1434 104 eax = eax - 1 0x143a 105 if (r15 != rax) then 114 @ 0x1473 else 117 @ 0x143f 0x140c 106 eax = [rsp + (rbx << 2) + 0x20].d 0x1414 107 if (eax s< [rsp + (rbx << 2) + 0x1c].d) then 103 @ 0x1430 else 118 @ 0x1416 0x1363 108 cl = r15 s< rax 0x1366 109 cl = cl & bpl 0x136c 110 if (cl != 1) then 120 @ 0x13c3 else 121 @ 0x136e 0x132a 111 if (rbx != 0) then 108 @ 0x1363 else 124 @ 0x132c 0x12ef 112 eax = [rsp + (rbx << 2) + 0x20].d 0x12f7 113 if (eax s< [rsp + (rbx << 2) + 0x24].d) then 82 @ 0x1313 else 126 @ 0x12f9 0x1473 114 cl = r15 == rax 0x1476 115 cl = cl & bpl 0x147c 116 if (cl != 1) then 129 @ 0x14d3 else 130 @ 0x147e 0x143f 117 if (rbx != 0) then 114 @ 0x1473 else 133 @ 0x1441 0x1416 118 esi = 0 0x141c 119 if (eax s< [rsp + (rbx << 2) + 0x70].d) then 103 @ 0x1430 else 135 @ 0x141e 0x13c3 120 if (r15 s>= rax) then 103 @ 0x1430 else 140 @ 0x13c5 0x136e 121 rcx = sx.q([rsp + 8 {var_690}].d) 0x1373 122 rcx = rcx - 1 0x137a 123 if (rbx s>= rcx) then 120 @ 0x13c3 else 143 @ 0x137c 0x132c 124 ecx = [r12].d 0x1335 125 if (ecx s< [r12 + 4].d) then 108 @ 0x1363 else 145 @ 0x133c 0x12f9 126 ecx = 0xffffffff {""} 0x12fe 127 ecx = ecx + ebx 0x1304 128 if (eax s< [rsp + (rcx << 2) + 0x20].d) then 82 @ 0x1313 else 146 @ 0x130a 0x14d3 129 if (r15 != rax) then 147 @ 0x1280 else 150 @ 0x14d9 0x147e 130 rcx = sx.q([rsp + 8 {var_690}].d) 0x1483 131 rcx = rcx - 1 0x148a 132 if (rbx s>= rcx) then 129 @ 0x14d3 else 153 @ 0x148c 0x1441 133 ecx = [r12].d 0x144a 134 if (ecx s< [r12 + 4].d) then 114 @ 0x1473 else 155 @ 0x1451 0x141e 135 rdi = r14 0x1421 136 edx = ebx 0x1423 137 eax = 0 0x1425 138 call(0x1030) 0x142a 139 goto 103 @ 0x1430 0x13c5 140 eax = [rsp + 8 {var_690}].d 0x13c9 141 eax = eax - 1 0x13cf 142 if (rbx != rax) then 103 @ 0x1430 else 156 @ 0x13d1 0x137c 143 ecx = [r12 + (rbx << 2)].d 0x1385 144 if (ecx s< [r12 + (rbx << 2) + 4].d) then 120 @ 0x13c3 else 158 @ 0x138c 0x133c 145 if (ecx s< [r12 + 0x50].d) then 108 @ 0x1363 else 159 @ 0x133e 0x130a 146 if (eax s>= [rsp + (rbx << 2) + 0x70].d) then 161 @ 0x1517 else 82 @ 0x1313 0x1280 147 rbx = rbx + 1 0x1284 148 rcx = sx.q([rsp + 8 {var_690}].d) 0x128c 149 if (rbx s>= rcx) then 163 @ 0x1220 else 72 @ 0x128e 0x14d9 150 eax = [rsp + 8 {var_690}].d 0x14dd 151 eax = eax - 1 0x14e3 152 if (rbx != rax) then 147 @ 0x1280 else 168 @ 0x14e9 0x148c 153 ecx = [r12 + (rbx << 2)].d 0x1495 154 if (ecx s< [r12 + (rbx << 2) + 4].d) then 129 @ 0x14d3 else 170 @ 0x1497 0x1451 155 if (ecx s< [r12 - 0x50].d) then 114 @ 0x1473 else 173 @ 0x1453 0x13d1 156 eax = [r12 + (rbx << 2)].d 0x13da 157 if (eax s< [r12 + (rbx << 2) - 4].d) then 103 @ 0x1430 else 181 @ 0x13e1 0x138c 158 if (ecx s< [r12 + (rbx << 2) + 0x50].d) then 120 @ 0x13c3 else 182 @ 0x138e 0x133e 159 rdx = [rsp + 0x10 {var_688_1}].q 0x1345 160 if (ecx s< [rdx].d) then 108 @ 0x1363 else 184 @ 0x1347 0x1517 161 ebp = ebx 0x1519 162 goto 95 @ 0x12ac 0x1220 163 eax = [rsp + 0xc {var_68c}].d 0x1224 164 rsi = [rsp + 0x18 {var_680}].q 0x1229 165 r15 = rsi 0x122c 166 rdx = sx.q(eax) 0x1232 167 if (rsi s>= rdx) then 14 @ 0x1533 else 53 @ 0x123a 0x14e9 168 eax = [r12 + (rbx << 2)].d 0x14f2 169 if (eax s< [r12 + (rbx << 2) - 4].d) then 147 @ 0x1280 else 192 @ 0x14fd 0x1497 170 edx = 0xffffffff {""} 0x149c 171 edx = edx + ebx 0x14a2 172 if (ecx s< [r12 + (rdx << 2)].d) then 129 @ 0x14d3 else 193 @ 0x14a9 0x1453 173 rdi = r14 0x1456 174 esi = r15d 0x1459 175 edx = 0 0x145b 176 eax = 0 0x145d 177 call(0x1030) 0x1462 178 eax = [rsp + 0xc {var_68c}].d 0x1466 179 eax = eax - 1 0x1469 180 goto 114 @ 0x1473 0x13e1 181 if (eax s< [r12 + (rbx << 2) + 0x50].d) then 103 @ 0x1430 else 194 @ 0x13e3 0x138e 182 rdx = [rsp + 0x10 {var_688_1}].q 0x1396 183 if (ecx s< [rdx + (rbx << 2)].d) then 120 @ 0x13c3 else 197 @ 0x1398 0x1347 184 rdi = r14 0x134a 185 esi = r15d 0x134d 186 edx = 0 0x134f 187 eax = 0 0x1351 188 call(0x1030) 0x1356 189 rax = sx.q([rsp + 0xc {var_68c}].d) 0x135b 190 rax = rax - 1 0x135f 191 goto 108 @ 0x1363 0x14fd 192 if (eax s< [r12 + (rbx << 2) - 0x50].d) then 147 @ 0x1280 else 200 @ 0x1503 0x14a9 193 if (ecx s< [r12 + (rbx << 2) - 0x50].d) then 129 @ 0x14d3 else 206 @ 0x14ab 0x13e3 194 esi = r15d 0x13e6 195 rcx = [rsp + 0x10 {var_688_1}].q 0x13ee 196 if (eax s>= [rcx + (rbx << 2)].d) then 135 @ 0x141e else 214 @ 0x13f0 0x1398 197 edx = 0xffffffff {""} 0x139d 198 edx = edx + ebx 0x13a3 199 if (ecx s< [r12 + (rdx << 2)].d) then 120 @ 0x13c3 else 215 @ 0x13a5 0x1503 200 rdi = r14 0x1506 201 esi = r15d 0x1509 202 edx = ebx 0x150b 203 eax = 0 0x150d 204 call(0x1030) 0x1512 205 goto 147 @ 0x1280 0x14ab 206 rdi = r14 0x14ae 207 esi = r15d 0x14b1 208 edx = ebx 0x14b3 209 eax = 0 0x14b5 210 call(0x1030) 0x14ba 211 eax = [rsp + 0xc {var_68c}].d 0x14be 212 eax = eax - 1 0x14cb 213 goto 129 @ 0x14d3 0x13f0 214 goto 103 @ 0x1430 0x13a5 215 rdi = r14 0x13a8 216 esi = r15d 0x13ab 217 edx = ebx 0x13ad 218 eax = 0 0x13af 219 call(0x1030) 0x13b4 220 rax = sx.q([rsp + 0xc {var_68c}].d) 0x13b9 221 rax = rax - 1 0x13bd 222 goto 120 @ 0x13c3 int64_t _fini(): 0x154c 0 rsp = rsp - 8 0x1550 1 rsp = rsp + 8 0x1554 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) 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 {"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 - 0x188 0x1171 7 eax = 0 0x1173 8 [rsp + 0x48 {var_170}].q = rax 0x1178 9 rbx = rsp + 0x50 {var_168} 0x117d 10 rdi = rbx {var_168} 0x1180 11 eax = 0 0x1182 12 call(0x1050) 0x1187 13 rdi = rbx {var_168} 0x118a 14 call(0x1040) 0x1191 15 if (eax s<= 0) then 16 @ 0x1894 else 20 @ 0x1197 0x1894 16 rdi = 0x206c {"No"} 0x189b 17 eax = 0 0x189d 18 call(0x1030) 0x189d 19 goto 49 @ 0x18a2 0x1197 20 eax = eax 0x1199 21 rcx = 0x2004 {"bun|g3"*No"} 0x11a0 22 [rsp {var_1b8_1}].d = 0 0x11a7 23 [rsp + 4 {var_1b4_1}].d = 0 0x11af 24 [rsp + 8 {var_1b0_1}].d = 0 0x11b7 25 [rsp + 0xc {var_1ac_1}].d = 0 0x11bf 26 [rsp + 0x10 {var_1a8_1}].d = 0 0x11c7 27 [rsp + 0x14 {var_1a4_1}].d = 0 0x11cf 28 [rsp + 0x18 {var_1a0_1}].d = 0 0x11d7 29 [rsp + 0x1c {var_19c_1}].d = 0 0x11df 30 [rsp + 0x20 {var_198_1}].d = 0 0x11e7 31 [rsp + 0x24 {var_194_1}].d = 0 0x11ef 32 [rsp + 0x28 {var_190_1}].d = 0 0x11f7 33 [rsp + 0x2c {var_18c_1}].d = 0 0x11ff 34 [rsp + 0x30 {var_188_1}].d = 0 0x1207 35 [rsp + 0x34 {var_184_1}].d = 0 0x120f 36 [rsp + 0x38 {var_180_1}].d = 0 0x1217 37 r13d = 0 0x121a 38 r12d = 0 0x121d 39 ebp = 0 0x121f 40 r14d = 0 0x1222 41 r15d = 0 0x1225 42 r11d = 0 0x1228 43 r10d = 0 0x122b 44 r9d = 0 0x122e 45 r8d = 0 0x1231 46 edx = 0 0x1233 47 esi = 0 0x1235 48 goto 57 @ 0x124d 0x18a2 49 rsp = rsp + 0x188 0x18a9 50 rbx = pop 0x18aa 51 r12 = pop 0x18ac 52 r13 = pop 0x18ae 53 r14 = pop 0x18b0 54 r15 = pop 0x18b2 55 rbp = pop 0x18b3 56 <return> jump(pop) 0x124d 57 ebx = zx.d([rsp + rsi + 0x50].b) 0x1252 58 bl = bl - 0x61 0x1258 59 if (bl u> 0x19) then 60 @ 0x1240 else 62 @ 0x125a 0x1240 60 rsi = rsi + 1 0x1247 61 if (rax == rsi) then 66 @ 0x1337 else 57 @ 0x124d 0x125a 62 edi = zx.d(bl) 0x125d 63 rdi = sx.q([rcx + (rdi << 2)].d) 0x1261 64 rdi = rdi + rcx 0x1264 65 jump(rdi => 71 @ 0x1237, 73 @ 0x1266, 75 @ 0x126b, 77 @ 0x1272, 79 @ 0x1279, 81 @ 0x1280, 83 @ 0x1287, 85 @ 0x128e, 87 @ 0x1294, 89 @ 0x129a, 91 @ 0x12a0, 93 @ 0x12a7, 95 @ 0x12ae, 97 @ 0x12b5, 101 @ 0x12c7, 103 @ 0x12d0, 105 @ 0x12d9, 107 @ 0x12e3, 109 @ 0x12ec, 111 @ 0x12f6, 113 @ 0x1300, 115 @ 0x1309, 117 @ 0x1313, 119 @ 0x131d, 121 @ 0x1326, 123 @ 0x132e) 0x1337 66 ebx = r11d 0x133a 67 [rsp + 0x3c {var_17c_1}].d = r10d 0x133f 68 [rsp + 0x40 {var_178_1}].d = r9d 0x1344 69 [rsp + 0x44 {var_174_1}].d = r8d 0x134b 70 if (edx == 0) then 125 @ 0x1481 else 127 @ 0x1351 0x1237 71 [rsp + 0x38 {var_180_1}].d = [rsp + 0x38 {var_180_1}].d + 1 0x123c 72 goto 60 @ 0x1240 0x1266 73 edx = edx + 1 0x1269 74 goto 60 @ 0x1240 0x126b 75 [rsp + 0x30 {var_188_1}].d = [rsp + 0x30 {var_188_1}].d + 1 0x1270 76 goto 60 @ 0x1240 0x1272 77 [rsp + 0x24 {var_194_1}].d = [rsp + 0x24 {var_194_1}].d + 1 0x1277 78 goto 60 @ 0x1240 0x1279 79 [rsp + 8 {var_1b0_1}].d = [rsp + 8 {var_1b0_1}].d + 1 0x127e 80 goto 60 @ 0x1240 0x1280 81 [rsp + 0x28 {var_190_1}].d = [rsp + 0x28 {var_190_1}].d + 1 0x1285 82 goto 60 @ 0x1240 0x1287 83 [rsp + 0x1c {var_19c_1}].d = [rsp + 0x1c {var_19c_1}].d + 1 0x128c 84 goto 60 @ 0x1240 0x128e 85 r8d = r8d + 1 0x1292 86 goto 60 @ 0x1240 0x1294 87 r9d = r9d + 1 0x1298 88 goto 60 @ 0x1240 0x129a 89 [rsp {var_1b8_1}].d = [rsp {var_1b8_1}].d + 1 0x129e 90 goto 60 @ 0x1240 0x12a0 91 [rsp + 0x34 {var_184_1}].d = [rsp + 0x34 {var_184_1}].d + 1 0x12a5 92 goto 60 @ 0x1240 0x12a7 93 [rsp + 4 {var_1b4_1}].d = [rsp + 4 {var_1b4_1}].d + 1 0x12ac 94 goto 60 @ 0x1240 0x12ae 95 [rsp + 0x14 {var_1a4_1}].d = [rsp + 0x14 {var_1a4_1}].d + 1 0x12b3 96 goto 60 @ 0x1240 0x12b5 97 rdi = [rsp + 0x48 {var_170}].q 0x12ba 98 edi = edi + 1 0x12bd 99 [rsp + 0x48 {var_170}].q = rdi 0x12c2 100 goto 60 @ 0x1240 0x12c7 101 r13d = r13d + 1 0x12cb 102 goto 60 @ 0x1240 0x12d0 103 r14d = r14d + 1 0x12d4 104 goto 60 @ 0x1240 0x12d9 105 [rsp + 0xc {var_1ac_1}].d = [rsp + 0xc {var_1ac_1}].d + 1 0x12de 106 goto 60 @ 0x1240 0x12e3 107 r15d = r15d + 1 0x12e7 108 goto 60 @ 0x1240 0x12ec 109 [rsp + 0x2c {var_18c_1}].d = [rsp + 0x2c {var_18c_1}].d + 1 0x12f1 110 goto 60 @ 0x1240 0x12f6 111 [rsp + 0x10 {var_1a8_1}].d = [rsp + 0x10 {var_1a8_1}].d + 1 0x12fb 112 goto 60 @ 0x1240 0x1300 113 r12d = r12d + 1 0x1304 114 goto 60 @ 0x1240 0x1309 115 [rsp + 0x20 {var_198_1}].d = [rsp + 0x20 {var_198_1}].d + 1 0x130e 116 goto 60 @ 0x1240 0x1313 117 [rsp + 0x18 {var_1a0_1}].d = [rsp + 0x18 {var_1a0_1}].d + 1 0x1318 118 goto 60 @ 0x1240 0x131d 119 r11d = r11d + 1 0x1321 120 goto 60 @ 0x1240 0x1326 121 ebp = ebp + 1 0x1329 122 goto 60 @ 0x1240 0x132e 123 r10d = r10d + 1 0x1332 124 goto 60 @ 0x1240 0x1481 125 rdx = [rsp + 0x48 {var_170}].q 0x1488 126 if (edx == 0) then 133 @ 0x1789 else 135 @ 0x148e 0x1351 127 rdi = 0x206f {"%c=%d\n"} 0x1358 128 esi = 0x61 {""} 0x135d 129 eax = 0 0x135f 130 call(0x1030) 0x1364 131 rdx = [rsp + 0x48 {var_170}].q 0x136b 132 if (edx != 0) then 135 @ 0x148e else 141 @ 0x1371 0x1789 133 edx = [rsp {var_1b8_1}].d 0x178e 134 if (edx != 0) then 143 @ 0x14ac else 149 @ 0x1794 0x148e 135 rdi = 0x206f {"%c=%d\n"} 0x1495 136 esi = 0x62 {""} 0x149a 137 eax = 0 0x149c 138 call(0x1030) 0x14a1 139 edx = [rsp {var_1b8_1}].d 0x14a6 140 if (edx == 0) then 151 @ 0x137c else 143 @ 0x14ac 0x1371 141 edx = [rsp {var_1b8_1}].d 0x1376 142 if (edx != 0) then 143 @ 0x14ac else 151 @ 0x137c 0x14ac 143 rdi = 0x206f {"%c=%d\n"} 0x14b3 144 esi = 0x63 {""} 0x14b8 145 eax = 0 0x14ba 146 call(0x1030) 0x14bf 147 edx = [rsp + 4 {var_1b4_1}].d 0x14c5 148 if (edx == 0) then 153 @ 0x1388 else 155 @ 0x14cb 0x1794 149 edx = [rsp + 4 {var_1b4_1}].d 0x179a 150 if (edx != 0) then 155 @ 0x14cb else 161 @ 0x17a0 0x137c 151 edx = [rsp + 4 {var_1b4_1}].d 0x1382 152 if (edx != 0) then 155 @ 0x14cb else 153 @ 0x1388 0x1388 153 edx = [rsp + 8 {var_1b0_1}].d 0x138e 154 if (edx != 0) then 163 @ 0x14ea else 169 @ 0x1394 0x14cb 155 rdi = 0x206f {"%c=%d\n"} 0x14d2 156 esi = 0x64 {""} 0x14d7 157 eax = 0 0x14d9 158 call(0x1030) 0x14de 159 edx = [rsp + 8 {var_1b0_1}].d 0x14e4 160 if (edx == 0) then 169 @ 0x1394 else 163 @ 0x14ea 0x17a0 161 edx = [rsp + 8 {var_1b0_1}].d 0x17a6 162 if (edx != 0) then 163 @ 0x14ea else 171 @ 0x17ac 0x14ea 163 rdi = 0x206f {"%c=%d\n"} 0x14f1 164 esi = 0x65 {""} 0x14f6 165 eax = 0 0x14f8 166 call(0x1030) 0x14fd 167 edx = [rsp + 0xc {var_1ac_1}].d 0x1503 168 if (edx == 0) then 173 @ 0x13a0 else 175 @ 0x1509 0x1394 169 edx = [rsp + 0xc {var_1ac_1}].d 0x139a 170 if (edx != 0) then 175 @ 0x1509 else 173 @ 0x13a0 0x17ac 171 edx = [rsp + 0xc {var_1ac_1}].d 0x17b2 172 if (edx != 0) then 175 @ 0x1509 else 181 @ 0x17b8 0x13a0 173 edx = [rsp + 0x10 {var_1a8_1}].d 0x13a6 174 if (edx != 0) then 183 @ 0x1528 else 189 @ 0x13ac 0x1509 175 rdi = 0x206f {"%c=%d\n"} 0x1510 176 esi = 0x66 {""} 0x1515 177 eax = 0 0x1517 178 call(0x1030) 0x151c 179 edx = [rsp + 0x10 {var_1a8_1}].d 0x1522 180 if (edx == 0) then 189 @ 0x13ac else 183 @ 0x1528 0x17b8 181 edx = [rsp + 0x10 {var_1a8_1}].d 0x17be 182 if (edx != 0) then 183 @ 0x1528 else 191 @ 0x17c4 0x1528 183 rdi = 0x206f {"%c=%d\n"} 0x152f 184 esi = 0x67 {""} 0x1534 185 eax = 0 0x1536 186 call(0x1030) 0x153b 187 edx = [rsp + 0x14 {var_1a4_1}].d 0x1541 188 if (edx == 0) then 193 @ 0x13b8 else 195 @ 0x1547 0x13ac 189 edx = [rsp + 0x14 {var_1a4_1}].d 0x13b2 190 if (edx != 0) then 195 @ 0x1547 else 193 @ 0x13b8 0x17c4 191 edx = [rsp + 0x14 {var_1a4_1}].d 0x17ca 192 if (edx != 0) then 195 @ 0x1547 else 201 @ 0x17d0 0x13b8 193 edx = [rsp + 0x18 {var_1a0_1}].d 0x13be 194 if (edx != 0) then 203 @ 0x1566 else 209 @ 0x13c4 0x1547 195 rdi = 0x206f {"%c=%d\n"} 0x154e 196 esi = 0x68 {""} 0x1553 197 eax = 0 0x1555 198 call(0x1030) 0x155a 199 edx = [rsp + 0x18 {var_1a0_1}].d 0x1560 200 if (edx == 0) then 209 @ 0x13c4 else 203 @ 0x1566 0x17d0 201 edx = [rsp + 0x18 {var_1a0_1}].d 0x17d6 202 if (edx != 0) then 203 @ 0x1566 else 211 @ 0x17dc 0x1566 203 rdi = 0x206f {"%c=%d\n"} 0x156d 204 esi = 0x69 {""} 0x1572 205 eax = 0 0x1574 206 call(0x1030) 0x1579 207 edx = [rsp + 0x1c {var_19c_1}].d 0x157f 208 if (edx == 0) then 213 @ 0x13d0 else 215 @ 0x1585 0x13c4 209 edx = [rsp + 0x1c {var_19c_1}].d 0x13ca 210 if (edx != 0) then 215 @ 0x1585 else 213 @ 0x13d0 0x17dc 211 edx = [rsp + 0x1c {var_19c_1}].d 0x17e2 212 if (edx != 0) then 215 @ 0x1585 else 221 @ 0x17e8 0x13d0 213 edx = [rsp + 0x20 {var_198_1}].d 0x13d6 214 if (edx != 0) then 223 @ 0x15a4 else 229 @ 0x13dc 0x1585 215 rdi = 0x206f {"%c=%d\n"} 0x158c 216 esi = 0x6a {""} 0x1591 217 eax = 0 0x1593 218 call(0x1030) 0x1598 219 edx = [rsp + 0x20 {var_198_1}].d 0x159e 220 if (edx == 0) then 229 @ 0x13dc else 223 @ 0x15a4 0x17e8 221 edx = [rsp + 0x20 {var_198_1}].d 0x17ee 222 if (edx != 0) then 223 @ 0x15a4 else 231 @ 0x17f4 0x15a4 223 rdi = 0x206f {"%c=%d\n"} 0x15ab 224 esi = 0x6b {""} 0x15b0 225 eax = 0 0x15b2 226 call(0x1030) 0x15b7 227 edx = [rsp + 0x24 {var_194_1}].d 0x15bd 228 if (edx == 0) then 233 @ 0x13e8 else 235 @ 0x15c3 0x13dc 229 edx = [rsp + 0x24 {var_194_1}].d 0x13e2 230 if (edx != 0) then 235 @ 0x15c3 else 233 @ 0x13e8 0x17f4 231 edx = [rsp + 0x24 {var_194_1}].d 0x17fa 232 if (edx != 0) then 235 @ 0x15c3 else 241 @ 0x1800 0x13e8 233 edx = [rsp + 0x28 {var_190_1}].d 0x13ee 234 if (edx != 0) then 243 @ 0x15e2 else 249 @ 0x13f4 0x15c3 235 rdi = 0x206f {"%c=%d\n"} 0x15ca 236 esi = 0x6c {""} 0x15cf 237 eax = 0 0x15d1 238 call(0x1030) 0x15d6 239 edx = [rsp + 0x28 {var_190_1}].d 0x15dc 240 if (edx == 0) then 249 @ 0x13f4 else 243 @ 0x15e2 0x1800 241 edx = [rsp + 0x28 {var_190_1}].d 0x1806 242 if (edx != 0) then 243 @ 0x15e2 else 251 @ 0x180c 0x15e2 243 rdi = 0x206f {"%c=%d\n"} 0x15e9 244 esi = 0x6d {""} 0x15ee 245 eax = 0 0x15f0 246 call(0x1030) 0x15f5 247 edx = [rsp + 0x2c {var_18c_1}].d 0x15fb 248 if (edx == 0) then 253 @ 0x1400 else 255 @ 0x1601 0x13f4 249 edx = [rsp + 0x2c {var_18c_1}].d 0x13fa 250 if (edx != 0) then 255 @ 0x1601 else 253 @ 0x1400 0x180c 251 edx = [rsp + 0x2c {var_18c_1}].d 0x1812 252 if (edx != 0) then 255 @ 0x1601 else 261 @ 0x1818 0x1400 253 edx = [rsp + 0x30 {var_188_1}].d 0x1406 254 if (edx != 0) then 263 @ 0x1620 else 269 @ 0x140c 0x1601 255 rdi = 0x206f {"%c=%d\n"} 0x1608 256 esi = 0x6e {""} 0x160d 257 eax = 0 0x160f 258 call(0x1030) 0x1614 259 edx = [rsp + 0x30 {var_188_1}].d 0x161a 260 if (edx == 0) then 269 @ 0x140c else 263 @ 0x1620 0x1818 261 edx = [rsp + 0x30 {var_188_1}].d 0x181e 262 if (edx != 0) then 263 @ 0x1620 else 271 @ 0x1824 0x1620 263 rdi = 0x206f {"%c=%d\n"} 0x1627 264 esi = 0x6f {""} 0x162c 265 eax = 0 0x162e 266 call(0x1030) 0x1633 267 edx = [rsp + 0x34 {var_184_1}].d 0x1639 268 if (edx == 0) then 273 @ 0x1418 else 275 @ 0x163f 0x140c 269 edx = [rsp + 0x34 {var_184_1}].d 0x1412 270 if (edx != 0) then 275 @ 0x163f else 273 @ 0x1418 0x1824 271 edx = [rsp + 0x34 {var_184_1}].d 0x182a 272 if (edx != 0) then 275 @ 0x163f else 281 @ 0x1830 0x1418 273 edx = [rsp + 0x38 {var_180_1}].d 0x141e 274 if (edx != 0) then 283 @ 0x165e else 288 @ 0x1427 0x163f 275 rdi = 0x206f {"%c=%d\n"} 0x1646 276 esi = 0x70 {""} 0x164b 277 eax = 0 0x164d 278 call(0x1030) 0x1652 279 edx = [rsp + 0x38 {var_180_1}].d 0x1658 280 if (edx == 0) then 288 @ 0x1427 else 283 @ 0x165e 0x1830 281 edx = [rsp + 0x38 {var_180_1}].d 0x1836 282 if (edx != 0) then 283 @ 0x165e else 289 @ 0x183f 0x165e 283 rdi = 0x206f {"%c=%d\n"} 0x1665 284 esi = 0x71 {""} 0x166a 285 eax = 0 0x166c 286 call(0x1030) 0x1674 287 if (r13d == 0) then 290 @ 0x1430 else 291 @ 0x167a 0x1427 288 if (r13d != 0) then 291 @ 0x167a else 290 @ 0x1430 0x183f 289 if (r13d != 0) then 291 @ 0x167a else 297 @ 0x1848 0x1430 290 if (r12d != 0) then 298 @ 0x1699 else 304 @ 0x1438 0x167a 291 rdi = 0x206f {"%c=%d\n"} 0x1681 292 esi = 0x72 {""} 0x1686 293 edx = r13d 0x1689 294 eax = 0 0x168b 295 call(0x1030) 0x1693 296 if (r12d == 0) then 304 @ 0x1438 else 298 @ 0x1699 0x1848 297 if (r12d != 0) then 298 @ 0x1699 else 305 @ 0x1850 0x1699 298 rdi = 0x206f {"%c=%d\n"} 0x16a0 299 esi = 0x73 {""} 0x16a5 300 edx = r12d 0x16a8 301 eax = 0 0x16aa 302 call(0x1030) 0x16b1 303 if (ebp == 0) then 306 @ 0x1441 else 307 @ 0x16b7 0x1438 304 if (ebp != 0) then 307 @ 0x16b7 else 306 @ 0x1441 0x1850 305 if (ebp != 0) then 307 @ 0x16b7 else 313 @ 0x1859 0x1441 306 if (r14d != 0) then 314 @ 0x16d5 else 320 @ 0x144a 0x16b7 307 rdi = 0x206f {"%c=%d\n"} 0x16be 308 esi = 0x74 {""} 0x16c3 309 edx = ebp 0x16c5 310 eax = 0 0x16c7 311 call(0x1030) 0x16cf 312 if (r14d == 0) then 320 @ 0x144a else 314 @ 0x16d5 0x1859 313 if (r14d != 0) then 314 @ 0x16d5 else 321 @ 0x1862 0x16d5 314 rdi = 0x206f {"%c=%d\n"} 0x16dc 315 esi = 0x75 {""} 0x16e1 316 edx = r14d 0x16e4 317 eax = 0 0x16e6 318 call(0x1030) 0x16ee 319 if (r15d == 0) then 322 @ 0x1452 else 323 @ 0x16f4 0x144a 320 if (r15d != 0) then 323 @ 0x16f4 else 322 @ 0x1452 0x1862 321 if (r15d != 0) then 323 @ 0x16f4 else 329 @ 0x186a 0x1452 322 if (ebx != 0) then 330 @ 0x1712 else 337 @ 0x1458 0x16f4 323 rdi = 0x206f {"%c=%d\n"} 0x16fb 324 esi = 0x76 {""} 0x1700 325 edx = r15d 0x1703 326 eax = 0 0x1705 327 call(0x1030) 0x170c 328 if (ebx == 0) then 337 @ 0x1458 else 330 @ 0x1712 0x186a 329 if (ebx != 0) then 330 @ 0x1712 else 339 @ 0x1870 0x1712 330 rdi = 0x206f {"%c=%d\n"} 0x1719 331 esi = 0x77 {""} 0x171e 332 edx = ebx 0x1720 333 eax = 0 0x1722 334 call(0x1030) 0x1727 335 edx = [rsp + 0x3c {var_17c_1}].d 0x172d 336 if (edx == 0) then 341 @ 0x1464 else 343 @ 0x1733 0x1458 337 edx = [rsp + 0x3c {var_17c_1}].d 0x145e 338 if (edx != 0) then 343 @ 0x1733 else 341 @ 0x1464 0x1870 339 edx = [rsp + 0x3c {var_17c_1}].d 0x1876 340 if (edx != 0) then 343 @ 0x1733 else 349 @ 0x187c 0x1464 341 edx = [rsp + 0x40 {var_178_1}].d 0x146a 342 if (edx != 0) then 351 @ 0x1752 else 357 @ 0x1470 0x1733 343 rdi = 0x206f {"%c=%d\n"} 0x173a 344 esi = 0x78 {""} 0x173f 345 eax = 0 0x1741 346 call(0x1030) 0x1746 347 edx = [rsp + 0x40 {var_178_1}].d 0x174c 348 if (edx == 0) then 357 @ 0x1470 else 351 @ 0x1752 0x187c 349 edx = [rsp + 0x40 {var_178_1}].d 0x1882 350 if (edx != 0) then 351 @ 0x1752 else 359 @ 0x1888 0x1752 351 rdi = 0x206f {"%c=%d\n"} 0x1759 352 esi = 0x79 {""} 0x175e 353 eax = 0 0x1760 354 call(0x1030) 0x1765 355 edx = [rsp + 0x44 {var_174_1}].d 0x176b 356 if (edx == 0) then 49 @ 0x18a2 else 361 @ 0x1771 0x1470 357 edx = [rsp + 0x44 {var_174_1}].d 0x1476 358 if (edx != 0) then 361 @ 0x1771 else 366 @ 0x147c 0x1888 359 edx = [rsp + 0x44 {var_174_1}].d 0x188e 360 if (edx != 0) then 361 @ 0x1771 else 16 @ 0x1894 0x1771 361 rdi = 0x206f {"%c=%d\n"} 0x1778 362 esi = 0x7a {""} 0x177d 363 eax = 0 0x177f 364 call(0x1030) 0x1784 365 goto 49 @ 0x18a2 0x147c 366 goto 49 @ 0x18a2 int64_t _fini(): 0x18b8 0 rsp = rsp - 8 0x18bc 1 rsp = rsp + 8 0x18c0 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 {"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 - 0xf0 0x115c 4 rdi = 0x2004 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_fc} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 ecx = [rsp + 0xc {var_fc}].d 0x1175 9 if (ecx s<= 0) then 10 @ 0x11b7 else 12 @ 0x1177 0x11b7 10 eax = ecx 0x11bc 11 if (ecx s< 2) then 16 @ 0x1215 else 18 @ 0x11be 0x1177 12 r15 = rsp + 0x80 {var_88} 0x117f 13 r14 = 0x2004 {"%d"} 0x1186 14 ebx = 0 0x1188 15 goto 20 @ 0x1190 0x1215 16 esi = 1 0x121d 17 if (ecx s< 2) then 29 @ 0x1242 else 38 @ 0x121f 0x11be 18 edx = 1 0x11c3 19 goto 41 @ 0x11d9 0x1190 20 rdi = r14 0x1193 21 rsi = r15 0x1196 22 eax = 0 0x1198 23 call(0x1040) 0x119d 24 [rsp + (rbx << 2) + 0x10].d = 1 0x11a5 25 rbx = rbx + 1 0x11a9 26 rcx = sx.q([rsp + 0xc {var_fc}].d) 0x11ae 27 r15 = r15 + 4 0x11b5 28 if (rbx s< rcx) then 20 @ 0x1190 else 10 @ 0x11b7 0x1242 29 rdi = 0x2004 {"%d"} 0x1249 30 eax = 0 0x124b 31 call(0x1030) 0x1250 32 eax = 0 0x1252 33 rsp = rsp + 0xf0 0x1259 34 rbx = pop 0x125a 35 r14 = pop 0x125c 36 r15 = pop 0x125e 37 <return> jump(pop) 0x121f 38 esi = 1 0x1224 39 ecx = 1 0x1229 40 goto 44 @ 0x1230 0x11d9 41 esi = [rsp + (rdx << 2) + 0x80].d 0x11e0 42 edi = 0 0x11e2 43 goto 46 @ 0x1200 0x1230 44 edx = [rsp + (rcx << 2) + 0x10].d 0x1236 45 if (edx s> esi) then 47 else 49 @ 0x1239 0x1200 46 if (esi s> [rsp + (rdi << 2) + 0x80].d) then 51 @ 0x11f0 else 53 @ 0x1202 0x1236 47 esi = edx 0x1236 48 goto 49 @ 0x1239 0x1239 49 rcx = rcx + 1 0x1240 50 if (rax != rcx) then 44 @ 0x1230 else 29 @ 0x1242 0x11f0 51 rdi = rdi + 1 0x11f7 52 if (rdx == rdi) then 55 @ 0x11d0 else 46 @ 0x1200 0x1202 53 ebx = [rsp + (rdi << 2) + 0x10].d 0x120a 54 if (ebx s< [rsp + (rdx << 2) + 0x10].d) then 51 @ 0x11f0 else 57 @ 0x120c 0x11d0 55 rdx = rdx + 1 0x11d7 56 if (rdx == rax) then 16 @ 0x1215 else 41 @ 0x11d9 0x120c 57 ebx = ebx + 1 0x120f 58 [rsp + (rdx << 2) + 0x10].d = ebx 0x1213 59 goto 51 @ 0x11f0 int64_t _fini(): 0x1264 0 rsp = rsp - 8 0x1268 1 rsp = rsp + 8 0x126c 2 <return> jump(pop)
POJ_10