text
stringlengths
4
256k
label
stringclasses
104 values
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) 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 - 0x360 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 - 0xc {var_14}].d = 0 0x1184 9 goto 10 @ 0x118b 0x118b 10 eax = [rbp - 0xc {var_14}].d 0x1191 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x1302 else 16 @ 0x1197 0x1302 12 eax = 0 0x1304 13 rsp = rsp + 0x360 0x130b 14 rbp = pop 0x130c 15 <return> jump(pop) 0x1197 16 xmm0 = 0 0x119a 17 [rbp - 0x350 {var_358_1}].q = xmm0.q 0x11a2 18 xmm0 = 0 0x11a5 19 [rbp - 0x358 {var_360_1}].q = xmm0.q 0x11ad 20 rax = rbp - 0x340 {var_348} 0x11b4 21 [rbp - 0x360 {var_368_1}].q = rax {var_348} 0x11bb 22 rdi = 0x2004 {"%d"} 0x11c2 23 rsi = rbp - 0x10 {var_18} 0x11c6 24 al = 0 0x11c8 25 call(0x1040) 0x11cd 26 [rbp - 0x14 {var_1c_1}].d = 0 0x11cd 27 goto 28 @ 0x11d4 0x11d4 28 eax = [rbp - 0x14 {var_1c_1}].d 0x11da 29 if (eax s>= [rbp - 0x10 {var_18}].d) then 30 @ 0x122e else 36 @ 0x11e0 0x122e 30 xmm0 = zx.o([rbp - 0x358 {var_360_1}].q) 0x1236 31 xmm1.q = float.d([rbp - 0x10 {var_18}].d) 0x123b 32 xmm0.q = xmm0.q f/ xmm1.q 0x123f 33 [rbp - 0x348 {var_350_1}].q = xmm0.q 0x1247 34 [rbp - 0x14 {var_1c_2}].d = 0 0x1247 35 goto 52 @ 0x124e 0x11e0 36 rsi = [rbp - 0x360 {var_368_1}].q {var_348} 0x11e7 37 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x11eb 38 rax = rax << 3 0x11ef 39 rsi = rsi + rax 0x11f2 40 rdi = 0x2007 {"%lf"} 0x11f9 41 al = 0 0x11fb 42 call(0x1040) 0x1200 43 rax = [rbp - 0x360 {var_368_1}].q {var_348} 0x1207 44 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x120b 45 xmm0 = zx.o([rax + (rcx << 3)].q) 0x1210 46 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x358 {var_360_1}].q) 0x1218 47 [rbp - 0x358 {var_360_1}].q = xmm0.q 0x1220 48 eax = [rbp - 0x14 {var_1c_1}].d 0x1223 49 eax = eax + 1 0x1226 50 [rbp - 0x14 {var_1c_1}].d = eax 0x1229 51 goto 28 @ 0x11d4 0x124e 52 eax = [rbp - 0x14 {var_1c_2}].d 0x1254 53 if (eax s>= [rbp - 0x10 {var_18}].d) then 54 @ 0x12b0 else 69 @ 0x125a 0x12b0 54 xmm1.q = float.d([rbp - 0x10 {var_18}].d) 0x12b5 55 xmm0 = zx.o([rbp - 0x350 {var_358_1}].q) 0x12bd 56 xmm0.q = xmm0.q f/ xmm1.q 0x12c1 57 [rbp - 0x350 {var_358_2}].q = xmm0.q 0x12c9 58 xmm0 = zx.o([rbp - 0x350 {var_358_2}].q) 0x12d1 59 call(0x1050) 0x12d6 60 [rbp - 0x358 {var_360_2}].q = xmm0.q 0x12de 61 xmm0 = zx.o([rbp - 0x358 {var_360_2}].q) 0x12e6 62 rdi = 0x200b {"%.5lf\n"} 0x12ed 63 al = 1 0x12ef 64 call(0x1030) 0x12f4 65 eax = [rbp - 0xc {var_14}].d 0x12f7 66 eax = eax + 1 0x12fa 67 [rbp - 0xc {var_14}].d = eax 0x12fd 68 goto 10 @ 0x118b 0x125a 69 rax = [rbp - 0x360 {var_368_1}].q {var_348} 0x1261 70 rcx = sx.q([rbp - 0x14 {var_1c_2}].d) 0x1265 71 xmm0 = zx.o([rax + (rcx << 3)].q) 0x126a 72 xmm0.q = xmm0.q f- fconvert.t([rbp - 0x348 {var_350_1}].q) 0x1272 73 rax = [rbp - 0x360 {var_368_1}].q {var_348} 0x1279 74 rcx = sx.q([rbp - 0x14 {var_1c_2}].d) 0x127d 75 xmm2 = zx.o([rax + (rcx << 3)].q) 0x1282 76 xmm2.q = xmm2.q f- fconvert.t([rbp - 0x348 {var_350_1}].q) 0x128a 77 xmm1 = zx.o([rbp - 0x350 {var_358_1}].q) 0x1292 78 xmm0.q = xmm0.q f* xmm2.q 0x1296 79 xmm0.q = xmm0.q f+ xmm1.q 0x129a 80 [rbp - 0x350 {var_358_1}].q = xmm0.q 0x12a2 81 eax = [rbp - 0x14 {var_1c_2}].d 0x12a5 82 eax = eax + 1 0x12a8 83 [rbp - 0x14 {var_1c_2}].d = eax 0x12ab 84 goto 52 @ 0x124e int64_t _fini(): 0x1314 0 rsp = rsp - 8 0x1318 1 rsp = rsp + 8 0x131c 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) char* gets(char* buf): 0x1040 0 <return> tailcall([0x4020].q) int32_t strcmp(char const* arg1, char const* arg2): 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 - 0xb0 0x116b 3 [rbp - 0xa4 {var_ac}].d = 0 0x116b 4 goto 5 @ 0x117c 0x117c 5 if ([rbp - 0xa4 {var_ac}].d s>= 2) then 6 @ 0x127d else 11 @ 0x1182 0x127d 6 rdi = rbp - 0xa0 {var_a8} 0x1284 7 rsi = rbp - 0xa0 {var_a8} 0x128b 8 rsi = rsi + 0x50 {var_58} 0x128f 9 call(0x1050) 0x1297 10 if (eax s<= 0) then 19 @ 0x12ab else 24 @ 0x129d 0x1182 11 rax = sx.q([rbp - 0xa4 {var_ac}].d) 0x1189 12 rdi = rbp - 0xa0 {var_a8} 0x1190 13 rax = rax * 0x50 0x1194 14 rdi = rdi + rax 0x1197 15 al = 0 0x1199 16 call(0x1040) 0x119e 17 [rbp - 0xa8 {var_b0_1}].d = 0 0x119e 18 goto 28 @ 0x11af 0x12ab 19 rdi = rbp - 0xa0 {var_a8} 0x12b2 20 rsi = rbp - 0xa0 {var_a8} 0x12b9 21 rsi = rsi + 0x50 {var_58} 0x12bd 22 call(0x1050) 0x12c5 23 if (eax s>= 0) then 29 @ 0x12d9 else 34 @ 0x12cb 0x129d 24 rdi = 0x2004 {">\n"} 0x12a4 25 al = 0 0x12a6 26 call(0x1030) 0x12a6 27 goto 19 @ 0x12ab 0x11af 28 if ([rbp - 0xa8 {var_b0_1}].d s>= 0x50) then 38 @ 0x1264 else 39 @ 0x11b5 0x12d9 29 rdi = rbp - 0xa0 {var_a8} 0x12e0 30 rsi = rbp - 0xa0 {var_a8} 0x12e7 31 rsi = rsi + 0x50 {var_58} 0x12eb 32 call(0x1050) 0x12f3 33 if (eax != 0) then 46 @ 0x1307 else 49 @ 0x12f9 0x12cb 34 rdi = 0x2007 {"<\n"} 0x12d2 35 al = 0 0x12d4 36 call(0x1030) 0x12d4 37 goto 29 @ 0x12d9 0x1264 38 goto 53 @ 0x1269 0x11b5 39 rcx = sx.q([rbp - 0xa4 {var_ac}].d) 0x11bc 40 rax = rbp - 0xa0 {var_a8} 0x11c3 41 rcx = rcx * 0x50 0x11c7 42 rax = rax + rcx 0x11ca 43 rcx = sx.q([rbp - 0xa8 {var_b0_1}].d) 0x11d1 44 eax = sx.d([rax + rcx].b) 0x11d8 45 if (eax s> 0x5a) then 57 @ 0x124b else 58 @ 0x11de 0x1307 46 rsp = rsp + 0xb0 0x130e 47 rbp = pop 0x130f 48 <return> jump(pop) 0x12f9 49 rdi = 0x200a {"=\n"} 0x1300 50 al = 0 0x1302 51 call(0x1030) 0x1302 52 goto 46 @ 0x1307 0x1269 53 eax = [rbp - 0xa4 {var_ac}].d 0x126f 54 eax = eax + 1 0x1272 55 [rbp - 0xa4 {var_ac}].d = eax 0x1278 56 goto 5 @ 0x117c 0x124b 57 goto 65 @ 0x1250 0x11de 58 rcx = sx.q([rbp - 0xa4 {var_ac}].d) 0x11e5 59 rax = rbp - 0xa0 {var_a8} 0x11ec 60 rcx = rcx * 0x50 0x11f0 61 rax = rax + rcx 0x11f3 62 rcx = sx.q([rbp - 0xa8 {var_b0_1}].d) 0x11fa 63 eax = sx.d([rax + rcx].b) 0x1201 64 if (eax s< 0x41) then 57 @ 0x124b else 69 @ 0x1207 0x1250 65 eax = [rbp - 0xa8 {var_b0_1}].d 0x1256 66 eax = eax + 1 0x1259 67 [rbp - 0xa8 {var_b0_1}].d = eax 0x125f 68 goto 28 @ 0x11af 0x1207 69 rcx = sx.q([rbp - 0xa4 {var_ac}].d) 0x120e 70 rax = rbp - 0xa0 {var_a8} 0x1215 71 rcx = rcx * 0x50 0x1219 72 rax = rax + rcx 0x121c 73 rcx = sx.q([rbp - 0xa8 {var_b0_1}].d) 0x1223 74 eax = sx.d([rax + rcx].b) 0x1227 75 eax = eax + 0x20 0x122a 76 dl = al 0x122c 77 rcx = sx.q([rbp - 0xa4 {var_ac}].d) 0x1233 78 rax = rbp - 0xa0 {var_a8} 0x123a 79 rcx = rcx * 0x50 0x123e 80 rax = rax + rcx 0x1241 81 rcx = sx.q([rbp - 0xa8 {var_b0_1}].d) 0x1248 82 [rax + rcx].b = dl 0x1248 83 goto 57 @ 0x124b int64_t _fini(): 0x1314 0 rsp = rsp - 8 0x1318 1 rsp = rsp + 8 0x131c 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 = 0x11a0 {"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) int64_t judge(void* arg1, char* arg2, int32_t arg3): 0x1160 0 rax = sx.q(edx) 0x1163 1 r8 = rdi + rax 0x1167 2 r8 = r8 - 1 0x116b 3 eax = 1 0x1173 4 if (r8 u< rdi) then 5 @ 0x119f else 6 @ 0x1175 0x119f 5 <return> jump(pop) 0x1175 6 rdi = rdi + 1 0x1179 7 goto 8 @ 0x1180 0x1180 8 edx = zx.d([rdi - 1].b) 0x1184 9 ecx = zx.d([rsi].b) 0x118a 10 if (rdi u> r8) then 11 @ 0x1198 else 14 @ 0x118c 0x1198 11 eax = 0 0x119c 12 al = dl == cl 0x119c 13 goto 5 @ 0x119f 0x118c 14 rsi = rsi + 1 0x1190 15 rdi = rdi + 1 0x1196 16 if (dl == cl) then 8 @ 0x1180 else 11 @ 0x1198 int32_t main(int32_t argc, char** argv, char** envp): 0x11a0 0 push(rbp) 0x11a1 1 push(r15) 0x11a3 2 push(r14) 0x11a5 3 push(r13) 0x11a7 4 push(r12) 0x11a9 5 push(rbx) 0x11aa 6 rsp = rsp - 0xcc8 0x11b1 7 rdi = 0x2004 {"%d"} 0x11b8 8 rsi = rsp + 0xc {var_cec} 0x11bd 9 eax = 0 0x11bf 10 call(0x1050) 0x11c9 11 if ([rsp + 0xc {var_cec}].d s<= 0) then 12 @ 0x1255 else 20 @ 0x11cf 0x1255 12 rsp = rsp + 0xcc8 0x125c 13 rbx = pop 0x125d 14 r12 = pop 0x125f 15 r13 = pop 0x1261 16 r14 = pop 0x1263 17 r15 = pop 0x1265 18 rbp = pop 0x1266 19 <return> jump(pop) 0x11cf 20 r14 = 0x200c {"%s"} 0x11d6 21 r13 = rsp + 0x10 {var_ce8} 0x11db 22 r12 = 0x200b {"\n%s"} 0x11e2 23 ebp = 0 0x11e4 24 ebx = 0 0x11e6 25 goto 26 @ 0x1209 0x1209 26 rdi = r14 0x120c 27 rsi = r13 {var_ce8} 0x120f 28 eax = 0 0x1211 29 call(0x1050) 0x1216 30 rdi = r13 {var_ce8} 0x1219 31 call(0x1040) 0x121e 32 r15 = rax 0x1223 33 if (ebx == 0) then 34 @ 0x11f0 else 36 @ 0x1225 0x11f0 34 rdi = r14 0x11f0 35 goto 38 @ 0x11f3 0x1225 36 eax = (rbx + r15).d 0x122c 37 if (eax s> 0x4f) then 42 @ 0x1250 else 44 @ 0x122e 0x11f3 38 rsi = r13 {var_ce8} 0x11f6 39 eax = 0 0x11f8 40 call(0x1030) 0x11f8 41 goto 51 @ 0x11fd 0x1250 42 rdi = r12 0x1253 43 goto 38 @ 0x11f3 0x122e 44 rdi = 0x2007 {" %s"} 0x1235 45 rsi = r13 {var_ce8} 0x1238 46 eax = 0 0x123a 47 call(0x1030) 0x123f 48 r15d = r15d + ebx 0x1242 49 r15d = r15d + 1 0x1246 50 goto 51 @ 0x11fd 0x11fd 51 ebp = ebp + 1 0x1200 52 ebx = r15d 0x1207 53 if (ebp s>= [rsp + 0xc {var_cec}].d) then 12 @ 0x1255 else 26 @ 0x1209 int64_t _fini(): 0x126c 0 rsp = rsp - 8 0x1270 1 rsp = rsp + 8 0x1274 2 <return> jump(pop)
POJ_98
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 - 0xc0 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rdi = rbp - 0x60 {var_68} 0x1186 5 al = 0 0x1188 6 call(0x1050) 0x118d 7 rdi = rbp - 0xb0 {var_b8} 0x1194 8 al = 0 0x1196 9 call(0x1050) 0x119b 10 rdi = rbp - 0x60 {var_68} 0x119f 11 call(0x1040) 0x11a4 12 [rbp - 0xb4 {var_bc}].d = eax 0x11aa 13 rdi = rbp - 0xb0 {var_b8} 0x11b1 14 call(0x1040) 0x11b6 15 [rbp - 0xb8 {var_c0}].d = eax 0x11bc 16 [rbp - 0xbc {var_c4}].d = 0 0x11bc 17 goto 18 @ 0x11c6 0x11c6 18 eax = [rbp - 0xbc {var_c4}].d 0x11d2 19 if (eax s>= [rbp - 0xb4 {var_bc}].d) then 20 @ 0x123a else 22 @ 0x11d8 0x123a 20 [rbp - 0xbc {var_c4_1}].d = 0 0x123a 21 goto 25 @ 0x1244 0x11d8 22 rax = sx.q([rbp - 0xbc {var_c4}].d) 0x11df 23 eax = sx.d([rbp + rax - 0x60].b) 0x11e7 24 if (eax s<= 0x41) then 27 @ 0x1221 else 28 @ 0x11ed 0x1244 25 eax = [rbp - 0xbc {var_c4_1}].d 0x1250 26 if (eax s>= [rbp - 0xb8 {var_c0}].d) then 31 @ 0x12c4 else 36 @ 0x1256 0x1221 27 goto 39 @ 0x1226 0x11ed 28 rax = sx.q([rbp - 0xbc {var_c4}].d) 0x11f4 29 eax = sx.d([rbp + rax - 0x60].b) 0x11fc 30 if (eax s>= 0x5a) then 27 @ 0x1221 else 43 @ 0x1202 0x12c4 31 rdi = rbp - 0x60 {var_68} 0x12c8 32 rsi = rbp - 0xb0 {var_b8} 0x12cf 33 call(0x1060) 0x12d4 34 [rbp - 0xc0 {var_c8}].d = eax 0x12e1 35 if ([rbp - 0xc0 {var_c8}].d s<= 0) then 51 @ 0x1301 else 52 @ 0x12e7 0x1256 36 rax = sx.q([rbp - 0xbc {var_c4_1}].d) 0x125d 37 eax = sx.d([rbp + rax - 0xb0].b) 0x1268 38 if (eax s<= 0x41) then 56 @ 0x12ab else 57 @ 0x126e 0x1226 39 eax = [rbp - 0xbc {var_c4}].d 0x122c 40 eax = eax + 1 0x122f 41 [rbp - 0xbc {var_c4}].d = eax 0x1235 42 goto 18 @ 0x11c6 0x1202 43 rax = sx.q([rbp - 0xbc {var_c4}].d) 0x1209 44 eax = sx.d([rbp + rax - 0x60].b) 0x120e 45 eax = eax - 0x41 0x1211 46 eax = eax + 0x61 0x1214 47 cl = al 0x1216 48 rax = sx.q([rbp - 0xbc {var_c4}].d) 0x121d 49 [rbp + rax - 0x60].b = cl 0x121d 50 goto 27 @ 0x1221 0x1301 51 if ([rbp - 0xc0 {var_c8}].d s>= 0) then 60 @ 0x131a else 64 @ 0x1307 0x12e7 52 rdi = 0x2004 {">"} 0x12ee 53 al = 0 0x12f0 54 call(0x1030) 0x12f5 55 goto 68 @ 0x132d 0x12ab 56 goto 72 @ 0x12b0 0x126e 57 rax = sx.q([rbp - 0xbc {var_c4_1}].d) 0x1275 58 eax = sx.d([rbp + rax - 0xb0].b) 0x1280 59 if (eax s>= 0x5a) then 56 @ 0x12ab else 76 @ 0x1286 0x131a 60 rdi = 0x2008 {"="} 0x1321 61 al = 0 0x1323 62 call(0x1030) 0x1323 63 goto 84 @ 0x1328 0x1307 64 rdi = 0x2006 {"<"} 0x130e 65 al = 0 0x1310 66 call(0x1030) 0x1315 67 goto 84 @ 0x1328 0x132d 68 eax = 0 0x132f 69 rsp = rsp + 0xc0 0x1336 70 rbp = pop 0x1337 71 <return> jump(pop) 0x12b0 72 eax = [rbp - 0xbc {var_c4_1}].d 0x12b6 73 eax = eax + 1 0x12b9 74 [rbp - 0xbc {var_c4_1}].d = eax 0x12bf 75 goto 25 @ 0x1244 0x1286 76 rax = sx.q([rbp - 0xbc {var_c4_1}].d) 0x128d 77 eax = sx.d([rbp + rax - 0xb0].b) 0x1295 78 eax = eax - 0x41 0x1298 79 eax = eax + 0x61 0x129b 80 cl = al 0x129d 81 rax = sx.q([rbp - 0xbc {var_c4_1}].d) 0x12a4 82 [rbp + rax - 0xb0].b = cl 0x12a4 83 goto 56 @ 0x12ab 0x1328 84 goto 68 @ 0x132d int64_t _fini(): 0x133c 0 rsp = rsp - 8 0x1340 1 rsp = rsp + 8 0x1344 2 <return> jump(pop)
POJ_95
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH\t"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x9e0 0x115b 3 rdi = 0x2004 {"%d"} 0x1162 4 rsi = rbp - 4 {var_c} 0x1166 5 al = 0 0x1168 6 call(0x1040) 0x116d 7 [rbp - 8 {var_10}].d = 0 0x116d 8 goto 9 @ 0x1174 0x1174 9 eax = [rbp - 8 {var_10}].d 0x117a 10 if (eax s>= [rbp - 4 {var_c}].d) then 11 @ 0x11ae else 13 @ 0x1180 0x11ae 11 [rbp - 8 {var_10_1}].d = 0 0x11ae 12 goto 24 @ 0x11b5 0x1180 13 rax = sx.q([rbp - 8 {var_10}].d) 0x1184 14 rsi = rbp - 0x9e0 {var_9e8} 0x118b 15 rax = rax * 0x19 0x118f 16 rsi = rsi + rax 0x1192 17 rdi = 0x2007 {"%s"} 0x1199 18 al = 0 0x119b 19 call(0x1040) 0x11a0 20 eax = [rbp - 8 {var_10}].d 0x11a3 21 eax = eax + 1 0x11a6 22 [rbp - 8 {var_10}].d = eax 0x11a9 23 goto 9 @ 0x1174 0x11b5 24 eax = [rbp - 8 {var_10_1}].d 0x11bb 25 if (eax s>= [rbp - 4 {var_c}].d) then 26 @ 0x1401 else 29 @ 0x11c1 0x1401 26 rsp = rsp + 0x9e0 0x1408 27 rbp = pop 0x1409 28 <return> jump(pop) 0x11c1 29 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x11c5 30 rax = rbp - 0x9e0 {var_9e8} 0x11cc 31 rcx = rcx * 0x19 0x11d0 32 rax = rax + rcx 0x11d3 33 eax = sx.d([rax].b) 0x11d9 34 if (eax s< 0x61) then 35 @ 0x11fd else 41 @ 0x11df 0x11fd 35 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x1201 36 rax = rbp - 0x9e0 {var_9e8} 0x1208 37 rcx = rcx * 0x19 0x120c 38 rax = rax + rcx 0x120f 39 eax = sx.d([rax].b) 0x1215 40 if (eax s< 0x41) then 47 @ 0x1239 else 53 @ 0x121b 0x11df 41 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x11e3 42 rax = rbp - 0x9e0 {var_9e8} 0x11ea 43 rcx = rcx * 0x19 0x11ee 44 rax = rax + rcx 0x11f1 45 eax = sx.d([rax].b) 0x11f7 46 if (eax s<= 0x7a) then 59 @ 0x1257 else 35 @ 0x11fd 0x1239 47 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x123d 48 rax = rbp - 0x9e0 {var_9e8} 0x1244 49 rcx = rcx * 0x19 0x1248 50 rax = rax + rcx 0x124b 51 eax = sx.d([rax].b) 0x1251 52 if (eax != 0x5f) then 61 @ 0x1263 else 59 @ 0x1257 0x121b 53 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x121f 54 rax = rbp - 0x9e0 {var_9e8} 0x1226 55 rcx = rcx * 0x19 0x122a 56 rax = rax + rcx 0x122d 57 eax = sx.d([rax].b) 0x1233 58 if (eax s<= 0x5a) then 59 @ 0x1257 else 47 @ 0x1239 0x1257 59 [rbp - 0x10 {var_18_1}].d = 0 0x125e 60 goto 63 @ 0x126e 0x1263 61 [rbp - 0x10 {var_18_1}].d = 1 0x1263 62 goto 63 @ 0x126e 0x126e 63 if ([rbp - 0x10 {var_18_1}].d != 0) then 64 @ 0x13c7 else 65 @ 0x1274 0x13c7 64 if ([rbp - 0x10 {var_18_1}].d != 0) then 67 @ 0x13e0 else 71 @ 0x13cd 0x1274 65 [rbp - 0xc {var_14_1}].d = 1 0x1274 66 goto 75 @ 0x127b 0x13e0 67 rdi = 0x200f {"no\n"} 0x13e7 68 al = 0 0x13e9 69 call(0x1030) 0x13e9 70 goto 82 @ 0x13ee 0x13cd 71 rdi = 0x200a {"yes\n"} 0x13d4 72 al = 0 0x13d6 73 call(0x1030) 0x13db 74 goto 82 @ 0x13ee 0x127b 75 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x127f 76 rax = rbp - 0x9e0 {var_9e8} 0x1286 77 rcx = rcx * 0x19 0x128a 78 rax = rax + rcx 0x128d 79 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1291 80 eax = sx.d([rax + rcx].b) 0x1298 81 if (eax == 0) then 83 @ 0x13be else 84 @ 0x129e 0x13ee 82 goto 91 @ 0x13f3 0x13be 83 goto 64 @ 0x13c7 0x129e 84 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x12a2 85 rax = rbp - 0x9e0 {var_9e8} 0x12a9 86 rcx = rcx * 0x19 0x12ad 87 rax = rax + rcx 0x12b0 88 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x12b4 89 eax = sx.d([rax + rcx].b) 0x12bb 90 if (eax s< 0x30) then 95 @ 0x12e4 else 102 @ 0x12c1 0x13f3 91 eax = [rbp - 8 {var_10_1}].d 0x13f6 92 eax = eax + 1 0x13f9 93 [rbp - 8 {var_10_1}].d = eax 0x13fc 94 goto 24 @ 0x11b5 0x12e4 95 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x12e8 96 rax = rbp - 0x9e0 {var_9e8} 0x12ef 97 rcx = rcx * 0x19 0x12f3 98 rax = rax + rcx 0x12f6 99 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x12fa 100 eax = sx.d([rax + rcx].b) 0x1301 101 if (eax s< 0x61) then 109 @ 0x132a else 116 @ 0x1307 0x12c1 102 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x12c5 103 rax = rbp - 0x9e0 {var_9e8} 0x12cc 104 rcx = rcx * 0x19 0x12d0 105 rax = rax + rcx 0x12d3 106 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x12d7 107 eax = sx.d([rax + rcx].b) 0x12de 108 if (eax s<= 0x39) then 123 @ 0x1393 else 95 @ 0x12e4 0x132a 109 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x132e 110 rax = rbp - 0x9e0 {var_9e8} 0x1335 111 rcx = rcx * 0x19 0x1339 112 rax = rax + rcx 0x133c 113 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1340 114 eax = sx.d([rax + rcx].b) 0x1347 115 if (eax s< 0x41) then 125 @ 0x1370 else 132 @ 0x134d 0x1307 116 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x130b 117 rax = rbp - 0x9e0 {var_9e8} 0x1312 118 rcx = rcx * 0x19 0x1316 119 rax = rax + rcx 0x1319 120 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x131d 121 eax = sx.d([rax + rcx].b) 0x1324 122 if (eax s<= 0x7a) then 123 @ 0x1393 else 109 @ 0x132a 0x1393 123 [rbp - 0x10 {var_18_1}].d = 0 0x139a 124 goto 139 @ 0x13ab 0x1370 125 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x1374 126 rax = rbp - 0x9e0 {var_9e8} 0x137b 127 rcx = rcx * 0x19 0x137f 128 rax = rax + rcx 0x1382 129 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1386 130 eax = sx.d([rax + rcx].b) 0x138d 131 if (eax != 0x5f) then 140 @ 0x139f else 123 @ 0x1393 0x134d 132 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x1351 133 rax = rbp - 0x9e0 {var_9e8} 0x1358 134 rcx = rcx * 0x19 0x135c 135 rax = rax + rcx 0x135f 136 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1363 137 eax = sx.d([rax + rcx].b) 0x136a 138 if (eax s<= 0x5a) then 123 @ 0x1393 else 125 @ 0x1370 0x13ab 139 goto 142 @ 0x13b0 0x139f 140 [rbp - 0x10 {var_18_1}].d = 1 0x13a6 141 goto 83 @ 0x13be 0x13b0 142 eax = [rbp - 0xc {var_14_1}].d 0x13b3 143 eax = eax + 1 0x13b6 144 [rbp - 0xc {var_14_1}].d = eax 0x13b9 145 goto 75 @ 0x127b int64_t _fini(): 0x1410 0 rsp = rsp - 8 0x1414 1 rsp = rsp + 8 0x1418 2 <return> jump(pop)
POJ_85
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1230 {"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 ([0x4040].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4040].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) uint64_t addauthor(void* arg1): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 [rbp - 8 {var_10}].q = rdi 0x1158 3 [rbp - 0xc {var_14}].d = 0 0x1158 4 goto 5 @ 0x115f 0x115f 5 rax = [rbp - 8 {var_10}].q 0x1163 6 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1167 7 eax = sx.d([rax + rcx].b) 0x116b 8 eax = eax - 0x41 0x116e 9 rcx = sx.q(eax) 0x1171 10 rax = 0x4050 {""} 0x1178 11 edx = [rax + (rcx << 2)].d 0x117b 12 edx = edx + 1 0x117e 13 rax = 0x4050 {""} 0x1185 14 [rax + (rcx << 2)].d = edx 0x1188 15 eax = [rbp - 0xc {var_14}].d 0x118b 16 eax = eax + 1 0x118e 17 [rbp - 0xc {var_14}].d = eax 0x1191 18 rax = [rbp - 8 {var_10}].q 0x1195 19 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1199 20 eax = sx.d([rax + rcx].b) 0x11a0 21 if (eax != 0) then 5 @ 0x115f else 22 @ 0x11a6 0x11a6 22 rbp = pop 0x11a7 23 <return> jump(pop) uint64_t hewroteit(int32_t arg1, int64_t arg2, int64_t arg3): 0x11b0 0 push(rbp) 0x11b1 1 rbp = rsp {__saved_rbp} 0x11b4 2 rsp = rsp - 0x10 0x11b8 3 rax = rbp + 0x10 {arg_8} 0x11bc 4 [rbp - 0x10 {var_18}].q = rax {arg_8} 0x11c0 5 [rbp - 4 {var_c}].d = edi 0x11c3 6 [rbp - 8 {var_10}].d = 0 0x11c3 7 goto 8 @ 0x11ca 0x11ca 8 rax = [rbp - 0x10 {var_18}].q {arg_8} 0x11ce 9 rcx = sx.q([rbp - 8 {var_10}].d) 0x11d2 10 eax = sx.d([rax + rcx + 4].b) 0x11da 11 if (eax == 0) then 12 @ 0x1225 else 15 @ 0x11e0 0x1225 12 rsp = rsp + 0x10 0x1229 13 rbp = pop 0x122a 14 <return> jump(pop) 0x11e0 15 rax = [rbp - 0x10 {var_18}].q {arg_8} 0x11e4 16 rcx = sx.q([rbp - 8 {var_10}].d) 0x11e8 17 eax = sx.d([rax + rcx + 4].b) 0x11ed 18 eax = eax - 0x41 0x11f3 19 if (eax != [rbp - 4 {var_c}].d) then 20 @ 0x1212 else 21 @ 0x11f9 0x1212 20 goto 27 @ 0x1217 0x11f9 21 rax = [rbp - 0x10 {var_18}].q {arg_8} 0x11fd 22 esi = [rax {arg_8}].d 0x11ff 23 rdi = 0x2010 {"%d\n"} 0x1206 24 al = 0 0x1208 25 call(0x1030) 0x120d 26 goto 12 @ 0x1225 0x1217 27 eax = [rbp - 8 {var_10}].d 0x121a 28 eax = eax + 1 0x121d 29 [rbp - 8 {var_10}].d = eax 0x1220 30 goto 8 @ 0x11ca int32_t main(int32_t argc, char** argv, char** envp): 0x1230 0 push(rbp) 0x1231 1 rbp = rsp {__saved_rbp} 0x1234 2 rsp = rsp - 0x40 0x1238 3 [rbp - 4 {var_c}].d = 0 0x123f 4 rdi = 0x2004 {"%d"} 0x1246 5 rsi = rbp - 8 {var_10} 0x124a 6 al = 0 0x124c 7 call(0x1040) 0x1251 8 [rbp - 0xc {var_14}].d = 0 0x1251 9 goto 10 @ 0x1258 0x1258 10 eax = [rbp - 0xc {var_14}].d 0x125e 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x12a8 else 14 @ 0x1264 0x12a8 12 [rbp - 0xc {var_14_1}].d = 0 0x12a8 13 goto 30 @ 0x12af 0x1264 14 rax = sx.q([rbp - 0xc {var_14}].d) 0x1268 15 rsi = 0x40c0 {""} 0x126f 16 rax = rax << 5 0x1273 17 rsi = rsi + rax 0x1276 18 rax = sx.q([rbp - 0xc {var_14}].d) 0x127a 19 rdx = 0x40c0 {""} 0x1281 20 rax = rax << 5 0x1285 21 rdx = rdx + rax 0x1288 22 rdx = rdx + 4 0x128c 23 rdi = 0x2007 {"%d %s"} 0x1293 24 al = 0 0x1295 25 call(0x1040) 0x129a 26 eax = [rbp - 0xc {var_14}].d 0x129d 27 eax = eax + 1 0x12a0 28 [rbp - 0xc {var_14}].d = eax 0x12a3 29 goto 10 @ 0x1258 0x12af 30 eax = [rbp - 0xc {var_14_1}].d 0x12b5 31 if (eax s>= [rbp - 8 {var_10}].d) then 32 @ 0x12e4 else 36 @ 0x12bb 0x12e4 32 [rbp - 0x10 {var_18}].d = 0 0x12eb 33 [rbp - 0x14 {var_1c}].d = 0 0x12f2 34 [rbp - 0xc {var_14_2}].d = 0 0x12f2 35 goto 46 @ 0x12fd 0x12bb 36 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x12bf 37 rdi = 0x40c0 {""} 0x12c6 38 rax = rax << 5 0x12ca 39 rdi = rdi + rax 0x12cd 40 rdi = rdi + 4 0x12d1 41 call(0x1150) 0x12d6 42 eax = [rbp - 0xc {var_14_1}].d 0x12d9 43 eax = eax + 1 0x12dc 44 [rbp - 0xc {var_14_1}].d = eax 0x12df 45 goto 30 @ 0x12af 0x12fd 46 if ([rbp - 0xc {var_14_2}].d s>= 0x1a) then 47 @ 0x1344 else 55 @ 0x1303 0x1344 47 esi = [rbp - 0x14 {var_1c}].d 0x1347 48 esi = esi + 0x41 0x134a 49 edx = [rbp - 0x10 {var_18}].d 0x134d 50 rdi = 0x200d {"%c\n%d\n"} 0x1354 51 al = 0 0x1356 52 call(0x1030) 0x135b 53 [rbp - 0xc {var_14_3}].d = 0 0x135b 54 goto 59 @ 0x1362 0x1303 55 rcx = sx.q([rbp - 0xc {var_14_2}].d) 0x1307 56 rax = 0x4050 {""} 0x130e 57 eax = [rax + (rcx << 2)].d 0x1314 58 if (eax s<= [rbp - 0x10 {var_18}].d) then 61 @ 0x1331 else 62 @ 0x131a 0x1362 59 eax = [rbp - 0xc {var_14_3}].d 0x1368 60 if (eax s>= [rbp - 8 {var_10}].d) then 69 @ 0x13b8 else 73 @ 0x136e 0x1331 61 goto 91 @ 0x1336 0x131a 62 rcx = sx.q([rbp - 0xc {var_14_2}].d) 0x131e 63 rax = 0x4050 {""} 0x1325 64 eax = [rax + (rcx << 2)].d 0x1328 65 [rbp - 0x10 {var_18}].d = eax 0x132b 66 eax = [rbp - 0xc {var_14_2}].d 0x132e 67 [rbp - 0x14 {var_1c}].d = eax 0x132e 68 goto 61 @ 0x1331 0x13b8 69 eax = 0 0x13ba 70 rsp = rsp + 0x40 0x13be 71 rbp = pop 0x13bf 72 <return> jump(pop) 0x136e 73 rcx = sx.q([rbp - 0xc {var_14_3}].d) 0x1372 74 rax = 0x40c0 {""} 0x1379 75 rcx = rcx << 5 0x137d 76 rax = rax + rcx 0x1380 77 edi = [rbp - 0x14 {var_1c}].d 0x1383 78 rcx = [rax].q 0x1386 79 [rsp {var_48_1}].q = rcx 0x138a 80 rcx = [rax + 8].q 0x138e 81 [rsp + 8 {var_40_1}].q = rcx 0x1393 82 rcx = [rax + 0x10].q 0x1397 83 [rsp + 0x10 {var_38_1}].q = rcx 0x139c 84 rax = [rax + 0x18].q 0x13a0 85 [rsp + 0x18 {var_30_1}].q = rax 0x13a5 86 call(0x11b0) 0x13aa 87 eax = [rbp - 0xc {var_14_3}].d 0x13ad 88 eax = eax + 1 0x13b0 89 [rbp - 0xc {var_14_3}].d = eax 0x13b3 90 goto 59 @ 0x1362 0x1336 91 eax = [rbp - 0xc {var_14_2}].d 0x1339 92 eax = eax + 1 0x133c 93 [rbp - 0xc {var_14_2}].d = eax 0x133f 94 goto 46 @ 0x12fd int64_t _fini(): 0x13c4 0 rsp = rsp - 8 0x13c8 1 rsp = rsp + 8 0x13cc 2 <return> jump(pop)
POJ_2
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHAWAVAUATSH(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 push(r15) 0x1156 3 push(r14) 0x1158 4 push(r13) 0x115a 5 push(r12) 0x115c 6 push(rbx) 0x115d 7 rsp = rsp - 0x28 0x1161 8 rdi = 0x2007 {"%d"} 0x1168 9 rsi = rbp - 0x34 {var_3c} 0x116c 10 eax = 0 0x116e 11 call(0x1040) 0x1173 12 [rbp - 0x48 {var_50}].q = rsp {var_58} 0x1177 13 r10d = [rbp - 0x34 {var_3c}].d 0x117b 14 r13 = rsp {var_58} 0x117e 15 rax = (r10 << 3) + 0xf 0x1186 16 rax = rax & 0xfffffffffffffff0 0x118a 17 r13 = r13 - rax 0x118d 18 rsp = r13 0x1190 19 [rbp - 0x30 {var_38}].d = 1 0x1197 20 [rbp - 0x2c {var_34}].d = 1 0x119e 21 r9d = [rbp - 0x34 {var_3c}].d 0x11a5 22 if (r9d s<= 0) then 23 @ 0x1364 else 35 @ 0x11ab 0x1364 23 [rbp - 0x40 {var_48}].q = r10 0x1368 24 rdi = 0x2004 {"%d %d"} 0x136f 25 rsi = rbp - 0x30 {var_38} 0x1373 26 rdx = rbp - 0x2c {var_34} 0x1377 27 eax = 0 0x1379 28 call(0x1040) 0x137e 29 ecx = [rbp - 0x30 {var_38}].d 0x1381 30 eax = [rbp - 0x2c {var_34}].d 0x1384 31 edx = ecx 0x1386 32 temp0.d = edx 0x1386 33 edx = edx + eax 0x1388 34 if (temp0.d == neg.d(eax)) then 38 @ 0x13dc else 40 @ 0x138a 0x11ab 35 rdx = r10 << 2 0x11b3 36 rdx = rdx + r13 0x11ba 37 if (r9d u< 8) then 47 @ 0x11e8 else 49 @ 0x11bc 0x13dc 38 eax = [rbp - 0x34 {var_3c}].d 0x13e1 39 if (eax s<= 0) then 53 @ 0x1455 else 63 @ 0x13e3 0x138a 40 rdx = [rbp - 0x40 {var_48}].q 0x138e 41 r12 = rdx << 2 0x1396 42 r12 = r12 + r13 0x1399 43 r14 = 0x2004 {"%d %d"} 0x13a0 44 r15 = rbp - 0x30 {var_38} 0x13a4 45 rbx = rbp - 0x2c {var_34} 0x13a8 46 goto 70 @ 0x13b0 0x11e8 47 ecx = 0 0x11e8 48 goto 85 @ 0x11ea 0x11bc 49 rax = r9 + r10 0x11c0 50 rax = rax << 2 0x11c8 51 rax = rax + r13 0x11ce 52 if (r13 u>= rax) then 91 @ 0x1281 else 100 @ 0x11d4 0x1455 53 rsp = [rbp - 0x48].q 0x1459 54 eax = 0 0x145b 55 rsp = rbp - 0x28 0x145f 56 rbx = pop 0x1460 57 r12 = pop 0x1462 58 r13 = pop 0x1464 59 r14 = pop 0x1466 60 r15 = pop 0x1468 61 rbp = pop 0x1469 62 <return> jump(pop) 0x13e3 63 rcx = [rbp - 0x40 {var_48}].q 0x13e7 64 r12 = rcx << 2 0x13ef 65 r12 = r12 + r13 0x13f2 66 r15d = 1 0x13f8 67 r14 = 0x200a {"%d\n"} 0x13ff 68 ebx = 0 0x1401 69 goto 103 @ 0x1422 0x13b0 70 rcx = sx.q(ecx) 0x13b3 71 [r13 + (rcx << 2)].d = [r13 + (rcx << 2)].d + 1 0x13b9 72 rax = sx.q(eax) 0x13bb 73 [r12 + (rax << 2)].d = [r12 + (rax << 2)].d + 1 0x13c0 74 rdi = r14 0x13c3 75 rsi = r15 {var_38} 0x13c6 76 rdx = rbx {var_34} 0x13c9 77 eax = 0 0x13cb 78 call(0x1040) 0x13d0 79 ecx = [rbp - 0x30 {var_38}].d 0x13d3 80 eax = [rbp - 0x2c {var_34}].d 0x13d6 81 edx = ecx 0x13d8 82 temp1.d = edx 0x13d8 83 edx = edx + eax 0x13da 84 if (temp1.d != neg.d(eax)) then 70 @ 0x13b0 else 38 @ 0x13dc 0x11ea 85 rax = rcx 0x11ed 86 rax = not.q(rax) 0x11f0 87 rax = rax + r9 0x11f3 88 rsi = r9 0x11f6 89 rsi = rsi & 3 0x11fa 90 if (rsi == 0) then 104 @ 0x121e else 105 @ 0x11fc 0x1281 91 ecx = r9d 0x1284 92 ecx = ecx & 0xfffffff8 0x1287 93 rax = rcx - 8 0x128b 94 rdi = rax 0x128e 95 rdi = rdi u>> 3 0x1292 96 rdi = rdi + 1 0x1296 97 r8d = edi 0x1299 98 r8d = r8d & 3 0x12a1 99 if (rax u>= 0x18) then 106 @ 0x12a7 else 113 @ 0x12a3 0x11d4 100 rax = r9 << 2 0x11dc 101 rax = rax + r13 0x11e2 102 if (rdx u>= rax) then 91 @ 0x1281 else 47 @ 0x11e8 0x1422 103 if ([r13 + (rbx << 2)].d != 0) then 115 @ 0x1410 else 118 @ 0x1424 0x121e 104 if (rax u< 3) then 23 @ 0x1364 else 120 @ 0x1224 0x11fc 105 goto 123 @ 0x1200 0x12a7 106 rdi = rdi & 0xfffffffffffffffc 0x12ab 107 rsi = r13 + 0x70 0x12af 108 rax = (r10 << 2) + 0x70 0x12b7 109 rax = rax + r13 0x12ba 110 ebx = 0 0x12bc 111 xmm0 = 0 0x12bf 112 goto 129 @ 0x12c0 0x12a3 113 ebx = 0 0x12a5 114 goto 149 @ 0x131b 0x1410 115 rbx = rbx + 1 0x1414 116 rcx = sx.q(eax) 0x141a 117 if (rbx s>= rcx) then 150 @ 0x1445 else 103 @ 0x1422 0x1424 118 ecx = (rax - 1).d 0x142b 119 if ([r12 + (rbx << 2)].d != ecx) then 115 @ 0x1410 else 151 @ 0x142d 0x1224 120 rax = (r10 << 2) + 0xc 0x122c 121 rax = rax + r13 0x122f 122 goto 158 @ 0x1230 0x1200 123 [r13 + (rcx << 2)].d = 0 0x1209 124 [rdx + (rcx << 2)].d = 0 0x1210 125 rcx = rcx + 1 0x1214 126 temp2.q = rsi 0x1214 127 rsi = rsi - 1 0x1218 128 if (temp2.q != 1) then 123 @ 0x1200 else 104 @ 0x121e 0x12c0 129 [rsi + (rbx << 2) - 0x70].o = xmm0 0x12c5 130 [rsi + (rbx << 2) - 0x60].o = xmm0 0x12ca 131 [rax + (rbx << 2) - 0x70].o = xmm0 0x12cf 132 [rax + (rbx << 2) - 0x60].o = xmm0 0x12d4 133 [rsi + (rbx << 2) - 0x50].o = xmm0 0x12d9 134 [rsi + (rbx << 2) - 0x40].o = xmm0 0x12de 135 [rax + (rbx << 2) - 0x50].o = xmm0 0x12e3 136 [rax + (rbx << 2) - 0x40].o = xmm0 0x12e8 137 [rsi + (rbx << 2) - 0x30].o = xmm0 0x12ed 138 [rsi + (rbx << 2) - 0x20].o = xmm0 0x12f2 139 [rax + (rbx << 2) - 0x30].o = xmm0 0x12f7 140 [rax + (rbx << 2) - 0x20].o = xmm0 0x12fc 141 [rsi + (rbx << 2) - 0x10].o = xmm0 0x1301 142 [rsi + (rbx << 2)].o = xmm0 0x1305 143 [rax + (rbx << 2) - 0x10].o = xmm0 0x130a 144 [rax + (rbx << 2)].o = xmm0 0x130e 145 rbx = rbx + 0x20 0x1312 146 temp3.q = rdi 0x1312 147 rdi = rdi - 4 0x1316 148 if (temp3.q != 4) then 129 @ 0x12c0 else 149 @ 0x131b 0x131b 149 if (r8 == 0) then 168 @ 0x135e else 169 @ 0x131d 0x1445 150 if (r15d != 0) then 53 @ 0x1455 else 178 @ 0x1447 0x142d 151 rdi = r14 0x1430 152 esi = ebx 0x1432 153 eax = 0 0x1434 154 call(0x1030) 0x1439 155 r15d = r15d + 1 0x143d 156 eax = [rbp - 0x34 {var_3c}].d 0x1440 157 goto 115 @ 0x1410 0x1230 158 [r13 + (rcx << 2)].d = 0 0x1239 159 [rax + (rcx << 2) - 0xc].d = 0 0x1241 160 [r13 + (rcx << 2) + 4].d = 0 0x124a 161 [rax + (rcx << 2) - 8].d = 0 0x1252 162 [r13 + (rcx << 2) + 8].d = 0 0x125b 163 [rax + (rcx << 2) - 4].d = 0 0x1263 164 [r13 + (rcx << 2) + 0xc].d = 0 0x126c 165 [rax + (rcx << 2)].d = 0 0x1273 166 rcx = rcx + 4 0x127a 167 if (r9 != rcx) then 158 @ 0x1230 else 182 @ 0x127c 0x135e 168 if (rcx != r9) then 85 @ 0x11ea else 23 @ 0x1364 0x131d 169 rax = rbx + r10 0x1321 170 rax = (rax << 2) + 0x10 0x1329 171 rax = rax + r13 0x132c 172 rsi = (rbx << 2) + 0x10 0x1334 173 rsi = rsi + r13 0x1337 174 r8 = r8 << 5 0x133b 175 edi = 0 0x133d 176 xmm0 = 0 0x133d 177 goto 183 @ 0x1340 0x1447 178 rdi = 0x200e {"NOT FOUND"} 0x144e 179 eax = 0 0x1450 180 call(0x1030) 0x1450 181 goto 53 @ 0x1455 0x127c 182 goto 23 @ 0x1364 0x1340 183 [rsi + rdi - 0x10].o = xmm0 0x1345 184 [rsi + rdi].o = xmm0 0x1349 185 [rax + rdi - 0x10].o = xmm0 0x134e 186 [rax + rdi].o = xmm0 0x1352 187 rdi = rdi + 0x20 0x1359 188 if (r8 != rdi) then 183 @ 0x1340 else 168 @ 0x135e int64_t _fini(): 0x1470 0 rsp = rsp - 8 0x1474 1 rsp = rsp + 8 0x1478 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) 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) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVATSHP"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r12) 0x1177 4 push(rbx) 0x1178 5 rsp = rsp - 0x9c50 0x117f 6 rdi = 0x2010 {"%d"} 0x1186 7 r14d = 0 0x1189 8 rsi = rsp + 4 {var_9c74} 0x118e 9 eax = 0 0x1190 10 call(0x1040) 0x119a 11 if ([rsp + 4 {var_9c74}].d s< 3) then 12 @ 0x12ef else 15 @ 0x11a0 0x12ef 12 rdi = 0x201a {"empty"} 0x12f6 13 call(0x1060) 0x12f6 14 goto 19 @ 0x12fb 0x11a0 15 r12d = 3 0x11a6 16 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x11aa 17 r15d = 1 0x11b0 18 goto 27 @ 0x11db 0x12fb 19 eax = 0 0x12fd 20 rsp = rsp + 0x9c50 0x1304 21 rbx = pop 0x1305 22 r12 = pop 0x1307 23 r14 = pop 0x1309 24 r15 = pop 0x130b 25 rbp = pop 0x130c 26 <return> jump(pop) 0x11db 27 xmm3 = 0 0x11de 28 xmm3.q = float.d(r12d) 0x11e3 29 flag:p = is_unordered.q(xmm3.q, xmm2.q) 0x11e3 30 flag:c = xmm3.q f< xmm2.q | is_unordered.q(xmm3.q, xmm2.q) 0x11e3 31 flag:z = xmm3.q f== xmm2.q | is_unordered.q(xmm3.q, xmm2.q) 0x11e3 32 flag:s = 0 0x11e3 33 flag:o = 0 0x11e3 34 flag:a = 0 0x11e7 35 [rsp + 8 {var_9c70_1}].q = xmm3.q 0x11ed 36 if (flag:c) then 37 @ 0x1210 else 48 @ 0x11ef 0x1210 37 xmm0 = xmm3 0x1214 38 call(0x1050) 0x1219 39 xmm3 = zx.o([rsp + 8 {var_9c70_1}].q) 0x121f 40 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1223 41 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1223 42 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1223 43 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1223 44 flag:s = 0 0x1223 45 flag:o = 0 0x1223 46 flag:a = 0 0x122b 47 if (flag:c) then 57 @ 0x11c0 else 61 @ 0x122d 0x11ef 48 xmm0 = 0 0x11f2 49 xmm0 = _mm_sqrt_sd(xmm3.q) 0x11f6 50 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11f6 51 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11f6 52 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11f6 53 flag:s = 0 0x11f6 54 flag:o = 0 0x11f6 55 flag:a = 0 0x11fe 56 if (flag:c) then 57 @ 0x11c0 else 64 @ 0x1200 0x11c0 57 rax = sx.q(r14d) 0x11c3 58 r14d = r14d + 1 0x11c7 59 [rsp + (rax << 2) + 0x14].d = r12d 0x11c7 60 goto 65 @ 0x11cc 0x122d 61 ebp = 0 0x122f 62 ebx = 3 0x1234 63 goto 67 @ 0x1263 0x1200 64 goto 61 @ 0x122d 0x11cc 65 r12d = r12d + 2 0x11d5 66 if (r12d s> [rsp + 4 {var_9c74}].d) then 80 @ 0x12a0 else 27 @ 0x11db 0x1263 67 ecx = (rbx - 1).d 0x1266 68 eax = r12d 0x1269 69 edx = 0 0x126b 70 temp2.d = ecx 0x126b 71 temp3.d = edx 0x126b 72 temp4.d = eax 0x126b 73 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x126b 74 temp5.d = edx 0x126b 75 temp6.d = eax 0x126b 76 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x126b 77 eax = temp0.d 0x126b 78 edx = temp1.d 0x126f 79 if (edx == 0) then 81 else 83 @ 0x1273 0x12a0 80 if (r14d s<= 0) then 12 @ 0x12ef else 90 @ 0x12a2 0x126f 81 ebp = r15d 0x126f 82 goto 83 @ 0x1273 0x1273 83 flag:p = is_unordered.q(xmm3.q, xmm2.q) 0x1273 84 flag:c = xmm3.q f< xmm2.q | is_unordered.q(xmm3.q, xmm2.q) 0x1273 85 flag:z = xmm3.q f== xmm2.q | is_unordered.q(xmm3.q, xmm2.q) 0x1273 86 flag:s = 0 0x1273 87 flag:o = 0 0x1273 88 flag:a = 0 0x1277 89 if (flag:c) then 96 @ 0x1240 else 110 @ 0x1279 0x12a2 90 r15d = r14d 0x12a5 91 esi = [rsp + 0x14 {var_9c64}].d 0x12a9 92 r14 = 0x2013 {"%d %d\n"} 0x12b0 93 ebx = 0 0x12b2 94 r12d = 0 0x12b5 95 goto 122 @ 0x12cb 0x1240 96 xmm0 = xmm3 0x1244 97 call(0x1050) 0x1249 98 xmm3 = zx.o([rsp + 8 {var_9c70_1}].q) 0x124f 99 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1253 100 xmm1 = 0 0x1256 101 xmm1.q = float.d(ebx) 0x125a 102 ebx = ebx + 1 0x125d 103 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x125d 104 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x125d 105 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x125d 106 flag:s = 0 0x125d 107 flag:o = 0 0x125d 108 flag:a = 0 0x1261 109 if (flag:c) then 126 @ 0x1292 else 67 @ 0x1263 0x1279 110 xmm0 = 0 0x127c 111 xmm0 = _mm_sqrt_sd(xmm3.q) 0x1280 112 xmm1 = 0 0x1283 113 xmm1.q = float.d(ebx) 0x1287 114 ebx = ebx + 1 0x128a 115 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x128a 116 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x128a 117 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x128a 118 flag:s = 0 0x128a 119 flag:o = 0 0x128a 120 flag:a = 0 0x128e 121 if (not(flag:c)) then 67 @ 0x1263 else 126 @ 0x1292 0x12cb 122 ebp = [rsp + (rbx << 2) + 0x18].d 0x12cf 123 eax = ebp 0x12d1 124 eax = eax - esi 0x12d6 125 if (eax != 2) then 127 @ 0x12c0 else 130 @ 0x12d8 0x1292 126 if (ebp != 0) then 65 @ 0x11cc else 136 @ 0x1298 0x12c0 127 rbx = rbx + 1 0x12c4 128 esi = ebp 0x12c9 129 if (r15 == rbx) then 137 @ 0x12ed else 122 @ 0x12cb 0x12d8 130 rdi = r14 0x12db 131 edx = ebp 0x12dd 132 eax = 0 0x12df 133 call(0x1030) 0x12e4 134 r12d = r12d + 1 0x12e8 135 goto 127 @ 0x12c0 0x1298 136 goto 57 @ 0x11c0 0x12ed 137 if (r12d != 0) then 19 @ 0x12fb else 12 @ 0x12ef int64_t _fini(): 0x1314 0 rsp = rsp - 8 0x1318 1 rsp = rsp + 8 0x131c 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 = 0x13f0 {"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 nem(int64_t arg1, int64_t arg2): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 [rbp - 8 {var_10}].q = rdi 0x115c 4 [rbp - 0x10 {var_18}].q = rsi 0x1160 5 rdi = 0x2004 {"%d%d"} 0x1167 6 rsi = 0x403c {""} 0x116e 7 rdx = 0x4040 {""} 0x1175 8 al = 0 0x1177 9 call(0x1040) 0x117c 10 [rbp - 0x14 {var_1c}].d = 0 0x117c 11 goto 12 @ 0x1183 0x1183 12 eax = [rbp - 0x14 {var_1c}].d 0x118c 13 if (eax s>= [0x403c].d) then 14 @ 0x11bd else 16 @ 0x1192 0x11bd 14 [rbp - 0x14 {var_1c_1}].d = 0 0x11bd 15 goto 27 @ 0x11c4 0x1192 16 rsi = [rbp - 8 {var_10}].q 0x1196 17 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x119a 18 rax = rax << 2 0x119e 19 rsi = rsi + rax 0x11a1 20 rdi = 0x200a {"%d"} 0x11a8 21 al = 0 0x11aa 22 call(0x1040) 0x11af 23 eax = [rbp - 0x14 {var_1c}].d 0x11b2 24 eax = eax + 1 0x11b5 25 [rbp - 0x14 {var_1c}].d = eax 0x11b8 26 goto 12 @ 0x1183 0x11c4 27 eax = [rbp - 0x14 {var_1c_1}].d 0x11cd 28 if (eax s>= [0x4040].d) then 29 @ 0x11fe else 32 @ 0x11d3 0x11fe 29 rsp = rsp + 0x20 0x1202 30 rbp = pop 0x1203 31 <return> jump(pop) 0x11d3 32 rsi = [rbp - 0x10 {var_18}].q 0x11d7 33 rax = sx.q([rbp - 0x14 {var_1c_1}].d) 0x11db 34 rax = rax << 2 0x11df 35 rsi = rsi + rax 0x11e2 36 rdi = 0x200a {"%d"} 0x11e9 37 al = 0 0x11eb 38 call(0x1040) 0x11f0 39 eax = [rbp - 0x14 {var_1c_1}].d 0x11f3 40 eax = eax + 1 0x11f6 41 [rbp - 0x14 {var_1c_1}].d = eax 0x11f9 42 goto 27 @ 0x11c4 uint64_t pai(int64_t arg1, int32_t arg2): 0x1210 0 push(rbp) 0x1211 1 rbp = rsp {__saved_rbp} 0x1214 2 [rbp - 8 {var_10}].q = rdi 0x1218 3 [rbp - 0xc {var_14}].d = esi 0x121b 4 [rbp - 0x14 {var_1c}].d = 0 0x121b 5 goto 6 @ 0x1222 0x1222 6 eax = [rbp - 0x14 {var_1c}].d 0x1225 7 ecx = [rbp - 0xc {var_14}].d 0x1228 8 ecx = ecx - 1 0x122d 9 if (eax s>= ecx) then 10 @ 0x12d1 else 12 @ 0x1233 0x12d1 10 rbp = pop 0x12d2 11 <return> jump(pop) 0x1233 12 [rbp - 0x10 {var_18_1}].d = 0 0x1233 13 goto 14 @ 0x123a 0x123a 14 eax = [rbp - 0x10 {var_18_1}].d 0x123d 15 ecx = [rbp - 0xc {var_14}].d 0x1240 16 ecx = ecx - 1 0x1243 17 ecx = ecx - [rbp - 0x14 {var_1c}].d 0x1248 18 if (eax s>= ecx) then 19 @ 0x12be else 20 @ 0x124e 0x12be 19 goto 28 @ 0x12c3 0x124e 20 rax = [rbp - 8 {var_10}].q 0x1252 21 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1256 22 eax = [rax + (rcx << 2)].d 0x1259 23 rcx = [rbp - 8 {var_10}].q 0x125d 24 edx = [rbp - 0x10 {var_18_1}].d 0x1260 25 edx = edx + 1 0x1263 26 rdx = sx.q(edx) 0x1269 27 if (eax s<= [rcx + (rdx << 2)].d) then 32 @ 0x12ab else 33 @ 0x126f 0x12c3 28 eax = [rbp - 0x14 {var_1c}].d 0x12c6 29 eax = eax + 1 0x12c9 30 [rbp - 0x14 {var_1c}].d = eax 0x12cc 31 goto 6 @ 0x1222 0x12ab 32 goto 52 @ 0x12b0 0x126f 33 rax = [rbp - 8 {var_10}].q 0x1273 34 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1277 35 eax = [rax + (rcx << 2)].d 0x127a 36 [rbp - 0x18 {var_20_1}].d = eax 0x127d 37 rax = [rbp - 8 {var_10}].q 0x1281 38 ecx = [rbp - 0x10 {var_18_1}].d 0x1284 39 ecx = ecx + 1 0x1287 40 rcx = sx.q(ecx) 0x128a 41 edx = [rax + (rcx << 2)].d 0x128d 42 rax = [rbp - 8 {var_10}].q 0x1291 43 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1295 44 [rax + (rcx << 2)].d = edx 0x1298 45 edx = [rbp - 0x18 {var_20_1}].d 0x129b 46 rax = [rbp - 8 {var_10}].q 0x129f 47 ecx = [rbp - 0x10 {var_18_1}].d 0x12a2 48 ecx = ecx + 1 0x12a5 49 rcx = sx.q(ecx) 0x12a8 50 [rax + (rcx << 2)].d = edx 0x12a8 51 goto 32 @ 0x12ab 0x12b0 52 eax = [rbp - 0x10 {var_18_1}].d 0x12b3 53 eax = eax + 1 0x12b6 54 [rbp - 0x10 {var_18_1}].d = eax 0x12b9 55 goto 14 @ 0x123a uint64_t he(int64_t arg1, int64_t arg2, int64_t arg3): 0x12e0 0 push(rbp) 0x12e1 1 rbp = rsp {__saved_rbp} 0x12e4 2 [rbp - 8 {var_10}].q = rdi 0x12e8 3 [rbp - 0x10 {var_18}].q = rsi 0x12ec 4 [rbp - 0x18 {var_20}].q = rdx 0x12f0 5 [rbp - 0x1c {var_24}].d = 0 0x12f0 6 goto 7 @ 0x12f7 0x12f7 7 eax = [rbp - 0x1c {var_24}].d 0x1300 8 if (eax s>= [0x403c].d) then 9 @ 0x132a else 12 @ 0x1306 0x132a 9 eax = [0x403c].d 0x1330 10 [rbp - 0x1c {var_24_1}].d = eax 0x1330 11 goto 22 @ 0x1333 0x1306 12 rax = [rbp - 8 {var_10}].q 0x130a 13 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x130e 14 edx = [rax + (rcx << 2)].d 0x1311 15 rax = [rbp - 0x18 {var_20}].q 0x1315 16 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x1319 17 [rax + (rcx << 2)].d = edx 0x131c 18 eax = [rbp - 0x1c {var_24}].d 0x131f 19 eax = eax + 1 0x1322 20 [rbp - 0x1c {var_24}].d = eax 0x1325 21 goto 7 @ 0x12f7 0x1333 22 eax = [rbp - 0x1c {var_24_1}].d 0x1336 23 ecx = [0x403c].d 0x133c 24 ecx = ecx + [0x4040].d 0x1344 25 if (eax s>= ecx) then 26 @ 0x1376 else 28 @ 0x134a 0x1376 26 rbp = pop 0x1377 27 <return> jump(pop) 0x134a 28 rax = [rbp - 0x10 {var_18}].q 0x134e 29 ecx = [rbp - 0x1c {var_24_1}].d 0x1351 30 ecx = ecx - [0x403c].d 0x1357 31 rcx = sx.q(ecx) 0x135a 32 edx = [rax + (rcx << 2)].d 0x135d 33 rax = [rbp - 0x18 {var_20}].q 0x1361 34 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x1365 35 [rax + (rcx << 2)].d = edx 0x1368 36 eax = [rbp - 0x1c {var_24_1}].d 0x136b 37 eax = eax + 1 0x136e 38 [rbp - 0x1c {var_24_1}].d = eax 0x1371 39 goto 22 @ 0x1333 uint64_t printnum(int32_t* arg1): 0x1380 0 push(rbp) 0x1381 1 rbp = rsp {__saved_rbp} 0x1384 2 rsp = rsp - 0x10 0x1388 3 [rbp - 8 {var_10}].q = rdi 0x138c 4 rax = [rbp - 8 {var_10}].q 0x1390 5 esi = [rax].d 0x1392 6 rdi = 0x200a {"%d"} 0x1399 7 al = 0 0x139b 8 call(0x1030) 0x13a0 9 [rbp - 0xc {var_14}].d = 1 0x13a0 10 goto 11 @ 0x13a7 0x13a7 11 eax = [rbp - 0xc {var_14}].d 0x13aa 12 ecx = [0x403c].d 0x13b0 13 ecx = ecx + [0x4040].d 0x13b8 14 if (eax s>= ecx) then 15 @ 0x13e5 else 18 @ 0x13be 0x13e5 15 rsp = rsp + 0x10 0x13e9 16 rbp = pop 0x13ea 17 <return> jump(pop) 0x13be 18 rax = [rbp - 8 {var_10}].q 0x13c2 19 rcx = sx.q([rbp - 0xc {var_14}].d) 0x13c6 20 esi = [rax + (rcx << 2)].d 0x13c9 21 rdi = 0x2009 {" %d"} 0x13d0 22 al = 0 0x13d2 23 call(0x1030) 0x13d7 24 eax = [rbp - 0xc {var_14}].d 0x13da 25 eax = eax + 1 0x13dd 26 [rbp - 0xc {var_14}].d = eax 0x13e0 27 goto 11 @ 0x13a7 int32_t main(int32_t argc, char** argv, char** envp): 0x13f0 0 push(rbp) 0x13f1 1 rbp = rsp {__saved_rbp} 0x13f4 2 rsp = rsp - 0x4c0 0x13fb 3 [rbp - 4 {var_c}].d = 0 0x1402 4 rdi = rbp - 0x330 {var_338} 0x1409 5 rsi = rbp - 0x4c0 {var_4c8} 0x1410 6 call(0x1150) 0x1415 7 rdi = rbp - 0x330 {var_338} 0x141c 8 esi = [0x403c].d 0x1422 9 call(0x1210) 0x1427 10 rdi = rbp - 0x4c0 {var_4c8} 0x142e 11 esi = [0x4040].d 0x1434 12 call(0x1210) 0x1439 13 rdi = rbp - 0x330 {var_338} 0x1440 14 rsi = rbp - 0x4c0 {var_4c8} 0x1447 15 rdx = rbp - 0x1a0 {var_1a8} 0x144e 16 call(0x12e0) 0x1453 17 rdi = rbp - 0x1a0 {var_1a8} 0x145a 18 call(0x1380) 0x145f 19 eax = 0 0x1461 20 rsp = rsp + 0x4c0 0x1468 21 rbp = pop 0x1469 22 <return> jump(pop) int64_t _fini(): 0x1470 0 rsp = rsp - 8 0x1474 1 rsp = rsp + 8 0x1478 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 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 {"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 - 0x4d0 0x1160 6 rdi = 0x2013 {"%d"} 0x1167 7 rsi = rsp + 0xc {var_4ec} 0x116c 8 eax = 0 0x116e 9 call(0x1030) 0x1173 10 rdi = 0x2010 {"%d %d"} 0x117a 11 rsi = rsp + 0x14 {var_4e4} 0x117f 12 rdx = rsp + 0x10 {var_4e8} 0x1184 13 eax = 0 0x1186 14 call(0x1030) 0x1190 15 if ([rsp + 0xc {var_4ec}].d s< 2) then 16 @ 0x1293 else 24 @ 0x1196 0x1293 16 eax = 0 0x1295 17 rsp = rsp + 0x4d0 0x129c 18 rbx = pop 0x129d 19 r12 = pop 0x129f 20 r13 = pop 0x12a1 21 r14 = pop 0x12a3 22 r15 = pop 0x12a5 23 <return> jump(pop) 0x1196 24 xmm1.q = float.d([rsp + 0x10 {var_4e8}].d) 0x119c 25 xmm0.q = float.d([rsp + 0x14 {var_4e4}].d) 0x11a2 26 xmm1.q = xmm1.q f/ xmm0.q 0x11a6 27 [rsp + 0x18 {var_4e0_1}].q = xmm1.q 0x11ac 28 rbx = rsp + 0x20 {var_4d8} 0x11b1 29 r14 = 0x2013 {"%d"} 0x11b8 30 r15d = 0 0x11bb 31 goto 32 @ 0x11c0 0x11c0 32 rdi = r14 0x11c3 33 rsi = rbx 0x11c6 34 eax = 0 0x11c8 35 call(0x1030) 0x11cd 36 rsi = rbx + 4 0x11d1 37 rdi = r14 0x11d4 38 eax = 0 0x11d6 39 call(0x1030) 0x11db 40 r15 = r15 + 1 0x11df 41 rax = sx.q([rsp + 0xc {var_4ec}].d) 0x11e4 42 rcx = rax - 1 0x11e8 43 rbx = rbx + 0xc 0x11ef 44 if (r15 s< rcx) then 32 @ 0x11c0 else 45 @ 0x11f4 0x11f4 45 if (eax s< 2) then 16 @ 0x1293 else 46 @ 0x11fa 0x11fa 46 r14 = rsp + 0x20 {var_4d8} 0x11ff 47 ebx = 0 0x1201 48 r15 = 0x2021 {"better"} 0x1208 49 xmm3 = zx.o([0x2008].q) 0x1210 50 r12 = 0x201b {"worse"} 0x1217 51 r13 = 0x2016 {"same"} 0x121e 52 goto 53 @ 0x1243 0x1243 53 xmm0 = zx.o([r14].q) 0x1248 54 xmm0 = _mm_cvtepi32_ps(xmm0) 0x124b 55 xmm1 = xmm0 0x124e 56 xmm1 = _mm_shuffle_ps(xmm1, xmm0, 0x55) 0x1252 57 xmm1.d = xmm1.d f/ xmm0.d 0x1256 58 xmm1.q = fconvert.d(xmm1.d) 0x125a 59 xmm0 = xmm1 0x125d 60 xmm0.q = xmm0.q f- fconvert.t([rsp + 0x18 {var_4e0_1}].q) 0x1263 61 flag:p = is_unordered.q(xmm0.q, xmm3.q) 0x1263 62 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x1263 63 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x1263 64 flag:s = 0 0x1263 65 flag:o = 0 0x1263 66 flag:a = 0 0x1267 67 rdi = r15 0x126a 68 if (not(flag:z) && not(flag:c)) then 69 @ 0x1220 else 72 @ 0x126c 0x1220 69 call(0x1040) 0x1225 70 xmm3 = zx.o([0x2008].q) 0x1225 71 goto 82 @ 0x122d 0x126c 72 xmm2 = zx.o([rsp + 0x18 {var_4e0_1}].q) 0x1272 73 xmm2.q = xmm2.q f- xmm1.q 0x1276 74 flag:p = is_unordered.q(xmm2.q, xmm3.q) 0x1276 75 flag:c = xmm2.q f< xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x1276 76 flag:z = xmm2.q f== xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x1276 77 flag:s = 0 0x1276 78 flag:o = 0 0x1276 79 flag:a = 0 0x127a 80 rdi = r12 0x127d 81 if (not(flag:z) && not(flag:c)) then 69 @ 0x1220 else 87 @ 0x127f 0x122d 82 rbx = rbx + 1 0x1231 83 rax = sx.q([rsp + 0xc {var_4ec}].d) 0x1236 84 rax = rax - 1 0x123a 85 r14 = r14 + 0xc 0x1241 86 if (rbx s>= rax) then 16 @ 0x1293 else 53 @ 0x1243 0x127f 87 flag:p = is_unordered.q(xmm3.q, xmm2.q) 0x127f 88 flag:c = xmm3.q f< xmm2.q | is_unordered.q(xmm3.q, xmm2.q) 0x127f 89 flag:z = xmm3.q f== xmm2.q | is_unordered.q(xmm3.q, xmm2.q) 0x127f 90 flag:s = 0 0x127f 91 flag:o = 0 0x127f 92 flag:a = 0 0x1283 93 rdi = r13 0x1286 94 if (not(flag:z) && not(flag:c)) then 69 @ 0x1220 else 95 @ 0x1288 0x1288 95 flag:p = is_unordered.q(xmm3.q, xmm0.q) 0x1288 96 flag:c = xmm3.q f< xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x1288 97 flag:z = xmm3.q f== xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x1288 98 flag:s = 0 0x1288 99 flag:o = 0 0x1288 100 flag:a = 0 0x128c 101 rdi = r13 0x128f 102 if (flag:z || flag:c) then 82 @ 0x122d else 103 @ 0x1291 0x1291 103 goto 69 @ 0x1220 int64_t _fini(): 0x12ac 0 rsp = rsp - 8 0x12b0 1 rsp = rsp + 8 0x12b4 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 {"UHH9 "} 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 - 0xc39e0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0xc39dc {var_c39e4}].d = 0 0x116c 5 [rbp - 0xc39e0 {var_c39e8}].d = 0 0x1176 6 [rbp - 0xc39c4 {var_c39cc}].d = 0 0x1176 7 goto 8 @ 0x1187 0x1187 8 if ([rbp - 0xc39c4 {var_c39cc}].d s>= 0x64) then 9 @ 0x12bb else 11 @ 0x118d 0x12bb 9 [rbp - 0xc39c8 {var_c39d0_3}].d = 0 0x12bb 10 goto 20 @ 0x12c5 0x118d 11 rax = sx.q([rbp - 0xc39c4 {var_c39cc}].d) 0x1194 12 rsi = rbp - 0x1a0 {var_1a8} 0x119b 13 rax = rax << 2 0x119f 14 rsi = rsi + rax 0x11a2 15 rdi = 0x2004 {"%d"} 0x11a9 16 al = 0 0x11ab 17 call(0x1040) 0x11b0 18 rax = sx.q([rbp - 0xc39c4 {var_c39cc}].d) 0x11bf 19 if ([rbp + (rax << 2) - 0x1a0].d != 0) then 22 @ 0x11ca else 24 @ 0x11c5 0x12c5 20 eax = [rbp - 0xc39c8 {var_c39d0_3}].d 0x12d1 21 if (eax s>= [rbp - 0xc39c4 {var_c39cc}].d) then 25 @ 0x1919 else 29 @ 0x12d7 0x11ca 22 [rbp - 0xc39c8 {var_c39d0_1}].d = 0 0x11ca 23 goto 31 @ 0x11d4 0x11c5 24 goto 9 @ 0x12bb 0x1919 25 eax = 0 0x191b 26 rsp = rsp + 0xc39e0 0x1922 27 rbp = pop 0x1923 28 <return> jump(pop) 0x12d7 29 [rbp - 0xc39cc {var_c39d4_1}].d = 0 0x12d7 30 goto 34 @ 0x12e1 0x11d4 31 eax = [rbp - 0xc39c8 {var_c39d0_1}].d 0x11da 32 rcx = sx.q([rbp - 0xc39c4 {var_c39cc}].d) 0x11e8 33 if (eax s>= [rbp + (rcx << 2) - 0x1a0].d) then 39 @ 0x1236 else 41 @ 0x11ee 0x12e1 34 eax = [rbp - 0xc39cc {var_c39d4_1}].d 0x12e7 35 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x12ee 36 ecx = [rbp + (rcx << 2) - 0x1a0].d 0x12f5 37 ecx = ecx - 1 0x12fa 38 if (eax s>= ecx) then 55 @ 0x153b else 60 @ 0x1300 0x1236 39 [rbp - 0xc39c8 {var_c39d0_2}].d = 0 0x1236 40 goto 62 @ 0x1240 0x11ee 41 rax = sx.q([rbp - 0xc39c4 {var_c39cc}].d) 0x11f5 42 rsi = rbp - 0x61db0 {var_61db8} 0x11fc 43 rax = rax * 0xfa4 0x1203 44 rsi = rsi + rax 0x1206 45 rax = sx.q([rbp - 0xc39c8 {var_c39d0_1}].d) 0x120d 46 rax = rax << 2 0x1211 47 rsi = rsi + rax 0x1214 48 rdi = 0x2004 {"%d"} 0x121b 49 al = 0 0x121d 50 call(0x1040) 0x1222 51 eax = [rbp - 0xc39c8 {var_c39d0_1}].d 0x1228 52 eax = eax + 1 0x122b 53 [rbp - 0xc39c8 {var_c39d0_1}].d = eax 0x1231 54 goto 31 @ 0x11d4 0x153b 55 rax = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1542 56 eax = [rbp + (rax << 2) - 0x1a0].d 0x1549 57 eax = eax - 1 0x154c 58 [rbp - 0xc39d8 {var_c39e0_1}].d = eax 0x154c 59 goto 65 @ 0x1552 0x1300 60 [rbp - 0xc39d0 {var_c39d8_1}].d = 0 0x1300 61 goto 67 @ 0x130a 0x1240 62 eax = [rbp - 0xc39c8 {var_c39d0_2}].d 0x1246 63 rcx = sx.q([rbp - 0xc39c4 {var_c39cc}].d) 0x1254 64 if (eax s>= [rbp + (rcx << 2) - 0x1a0].d) then 73 @ 0x12a2 else 74 @ 0x125a 0x1552 65 eax = [rbp - 0xc39d8 {var_c39e0_1}].d 0x155e 66 if (eax s<= [rbp - 0xc39dc {var_c39e4}].d) then 88 @ 0x17e6 else 91 @ 0x1564 0x130a 67 eax = [rbp - 0xc39d0 {var_c39d8_1}].d 0x1310 68 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1317 69 ecx = [rbp + (rcx << 2) - 0x1a0].d 0x131e 70 ecx = ecx - 1 0x1321 71 ecx = ecx - [rbp - 0xc39cc {var_c39d4_1}].d 0x1329 72 if (eax s>= ecx) then 103 @ 0x1522 else 104 @ 0x132f 0x12a2 73 goto 118 @ 0x12a7 0x125a 74 rax = sx.q([rbp - 0xc39c4 {var_c39cc}].d) 0x1261 75 rsi = rbp - 0xc39c0 {var_c39c8} 0x1268 76 rax = rax * 0xfa4 0x126f 77 rsi = rsi + rax 0x1272 78 rax = sx.q([rbp - 0xc39c8 {var_c39d0_2}].d) 0x1279 79 rax = rax << 2 0x127d 80 rsi = rsi + rax 0x1280 81 rdi = 0x2004 {"%d"} 0x1287 82 al = 0 0x1289 83 call(0x1040) 0x128e 84 eax = [rbp - 0xc39c8 {var_c39d0_2}].d 0x1294 85 eax = eax + 1 0x1297 86 [rbp - 0xc39c8 {var_c39d0_2}].d = eax 0x129d 87 goto 62 @ 0x1240 0x17e6 88 eax = [rbp - 0xc39dc {var_c39e4}].d 0x17ec 89 [rbp - 0xc39cc {var_c39d4_3}].d = eax 0x17ec 90 goto 122 @ 0x17f2 0x1564 91 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x156b 92 rax = rbp - 0x61db0 {var_61db8} 0x1572 93 rcx = rcx * 0xfa4 0x1579 94 rax = rax + rcx 0x157c 95 rcx = sx.q([rbp - 0xc39d8 {var_c39e0_1}].d) 0x1583 96 eax = [rax + (rcx << 2)].d 0x1586 97 rdx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x158d 98 rcx = rbp - 0xc39c0 {var_c39c8} 0x1594 99 rdx = rdx * 0xfa4 0x159b 100 rcx = rcx + rdx 0x159e 101 rdx = sx.q([rbp - 0xc39d8 {var_c39e0_1}].d) 0x15a8 102 if (eax s<= [rcx + (rdx << 2)].d) then 124 @ 0x15d3 else 136 @ 0x15ae 0x1522 103 goto 143 @ 0x1527 0x132f 104 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1336 105 rax = rbp - 0x61db0 {var_61db8} 0x133d 106 rcx = rcx * 0xfa4 0x1344 107 rax = rax + rcx 0x1347 108 rcx = sx.q([rbp - 0xc39d0 {var_c39d8_1}].d) 0x134e 109 eax = [rax + (rcx << 2)].d 0x1351 110 rdx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1358 111 rcx = rbp - 0x61db0 {var_61db8} 0x135f 112 rdx = rdx * 0xfa4 0x1366 113 rcx = rcx + rdx 0x1369 114 edx = [rbp - 0xc39d0 {var_c39d8_1}].d 0x136f 115 edx = edx + 1 0x1372 116 rdx = sx.q(edx) 0x1378 117 if (eax s>= [rcx + (rdx << 2)].d) then 147 @ 0x141c else 161 @ 0x137e 0x12a7 118 eax = [rbp - 0xc39c4 {var_c39cc}].d 0x12ad 119 eax = eax + 1 0x12b0 120 [rbp - 0xc39c4 {var_c39cc}].d = eax 0x12b6 121 goto 8 @ 0x1187 0x17f2 122 eax = [rbp - 0xc39cc {var_c39d4_3}].d 0x17fe 123 if (eax s> [rbp - 0xc39d8 {var_c39e0_1}].d) then 192 @ 0x18dd else 202 @ 0x1804 0x15d3 124 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x15da 125 rax = rbp - 0x61db0 {var_61db8} 0x15e1 126 rcx = rcx * 0xfa4 0x15e8 127 rax = rax + rcx 0x15eb 128 rcx = sx.q([rbp - 0xc39dc {var_c39e4}].d) 0x15f2 129 eax = [rax + (rcx << 2)].d 0x15f5 130 rdx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x15fc 131 rcx = rbp - 0xc39c0 {var_c39c8} 0x1603 132 rdx = rdx * 0xfa4 0x160a 133 rcx = rcx + rdx 0x160d 134 rdx = sx.q([rbp - 0xc39dc {var_c39e4}].d) 0x1617 135 if (eax s<= [rcx + (rdx << 2)].d) then 214 @ 0x1642 else 224 @ 0x161d 0x15ae 136 eax = [rbp - 0xc39e0 {var_c39e8}].d 0x15b4 137 eax = eax + 0xc8 0x15b9 138 [rbp - 0xc39e0 {var_c39e8}].d = eax 0x15bf 139 eax = [rbp - 0xc39d8 {var_c39e0_1}].d 0x15c5 140 eax = eax - 1 0x15c8 141 [rbp - 0xc39d8 {var_c39e0_1}].d = eax 0x15ce 142 goto 231 @ 0x17e1 0x1527 143 eax = [rbp - 0xc39cc {var_c39d4_1}].d 0x152d 144 eax = eax + 1 0x1530 145 [rbp - 0xc39cc {var_c39d4_1}].d = eax 0x1536 146 goto 34 @ 0x12e1 0x141c 147 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1423 148 rax = rbp - 0xc39c0 {var_c39c8} 0x142a 149 rcx = rcx * 0xfa4 0x1431 150 rax = rax + rcx 0x1434 151 rcx = sx.q([rbp - 0xc39d0 {var_c39d8_1}].d) 0x143b 152 eax = [rax + (rcx << 2)].d 0x143e 153 rdx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1445 154 rcx = rbp - 0xc39c0 {var_c39c8} 0x144c 155 rdx = rdx * 0xfa4 0x1453 156 rcx = rcx + rdx 0x1456 157 edx = [rbp - 0xc39d0 {var_c39d8_1}].d 0x145c 158 edx = edx + 1 0x145f 159 rdx = sx.q(edx) 0x1465 160 if (eax s>= [rcx + (rdx << 2)].d) then 232 @ 0x1509 else 233 @ 0x146b 0x137e 161 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1385 162 rax = rbp - 0x61db0 {var_61db8} 0x138c 163 rcx = rcx * 0xfa4 0x1393 164 rax = rax + rcx 0x1396 165 rcx = sx.q([rbp - 0xc39d0 {var_c39d8_1}].d) 0x139d 166 eax = [rax + (rcx << 2)].d 0x13a0 167 [rbp - 0xc39d4 {var_c39dc_1}].d = eax 0x13a6 168 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x13ad 169 rax = rbp - 0x61db0 {var_61db8} 0x13b4 170 rcx = rcx * 0xfa4 0x13bb 171 rax = rax + rcx 0x13be 172 ecx = [rbp - 0xc39d0 {var_c39d8_1}].d 0x13c4 173 ecx = ecx + 1 0x13c7 174 rcx = sx.q(ecx) 0x13ca 175 edx = [rax + (rcx << 2)].d 0x13cd 176 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x13d4 177 rax = rbp - 0x61db0 {var_61db8} 0x13db 178 rcx = rcx * 0xfa4 0x13e2 179 rax = rax + rcx 0x13e5 180 rcx = sx.q([rbp - 0xc39d0 {var_c39d8_1}].d) 0x13ec 181 [rax + (rcx << 2)].d = edx 0x13ef 182 edx = [rbp - 0xc39d4 {var_c39dc_1}].d 0x13f5 183 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x13fc 184 rax = rbp - 0x61db0 {var_61db8} 0x1403 185 rcx = rcx * 0xfa4 0x140a 186 rax = rax + rcx 0x140d 187 ecx = [rbp - 0xc39d0 {var_c39d8_1}].d 0x1413 188 ecx = ecx + 1 0x1416 189 rcx = sx.q(ecx) 0x1419 190 [rax + (rcx << 2)].d = edx 0x1419 191 goto 147 @ 0x141c 0x18dd 192 esi = [rbp - 0xc39e0 {var_c39e8}].d 0x18e3 193 rdi = 0x2007 {"%d\n"} 0x18ea 194 al = 0 0x18ec 195 call(0x1030) 0x18f1 196 [rbp - 0xc39e0 {var_c39e8}].d = 0 0x18fb 197 [rbp - 0xc39dc {var_c39e4}].d = 0 0x1905 198 eax = [rbp - 0xc39c8 {var_c39d0_3}].d 0x190b 199 eax = eax + 1 0x190e 200 [rbp - 0xc39c8 {var_c39d0_3}].d = eax 0x1914 201 goto 20 @ 0x12c5 0x1804 202 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x180b 203 rax = rbp - 0x61db0 {var_61db8} 0x1812 204 rcx = rcx * 0xfa4 0x1819 205 rax = rax + rcx 0x181c 206 rcx = sx.q([rbp - 0xc39cc {var_c39d4_3}].d) 0x1823 207 eax = [rax + (rcx << 2)].d 0x1826 208 rdx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x182d 209 rcx = rbp - 0xc39c0 {var_c39c8} 0x1834 210 rdx = rdx * 0xfa4 0x183b 211 rcx = rcx + rdx 0x183e 212 rdx = sx.q([rbp - 0xc39cc {var_c39d4_3}].d) 0x1848 213 if (eax s<= [rcx + (rdx << 2)].d) then 264 @ 0x1864 else 276 @ 0x184e 0x1642 214 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1649 215 rax = rbp - 0x61db0 {var_61db8} 0x1650 216 rcx = rcx * 0xfa4 0x1657 217 rax = rax + rcx 0x165a 218 rcx = sx.q([rbp - 0xc39d8 {var_c39e0_1}].d) 0x1661 219 eax = [rax + (rcx << 2)].d 0x1664 220 [rbp - 0xc39d4 {var_c39dc_3}].d = eax 0x166a 221 eax = [rbp - 0xc39d8 {var_c39e0_1}].d 0x1670 222 [rbp - 0xc39cc {var_c39d4_2}].d = eax 0x1670 223 goto 280 @ 0x1676 0x161d 224 eax = [rbp - 0xc39e0 {var_c39e8}].d 0x1623 225 eax = eax + 0xc8 0x1628 226 [rbp - 0xc39e0 {var_c39e8}].d = eax 0x162e 227 eax = [rbp - 0xc39dc {var_c39e4}].d 0x1634 228 eax = eax + 1 0x1637 229 [rbp - 0xc39dc {var_c39e4}].d = eax 0x163d 230 goto 282 @ 0x17dc 0x17e1 231 goto 65 @ 0x1552 0x1509 232 goto 283 @ 0x150e 0x146b 233 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1472 234 rax = rbp - 0xc39c0 {var_c39c8} 0x1479 235 rcx = rcx * 0xfa4 0x1480 236 rax = rax + rcx 0x1483 237 rcx = sx.q([rbp - 0xc39d0 {var_c39d8_1}].d) 0x148a 238 eax = [rax + (rcx << 2)].d 0x148d 239 [rbp - 0xc39d4 {var_c39dc_2}].d = eax 0x1493 240 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x149a 241 rax = rbp - 0xc39c0 {var_c39c8} 0x14a1 242 rcx = rcx * 0xfa4 0x14a8 243 rax = rax + rcx 0x14ab 244 ecx = [rbp - 0xc39d0 {var_c39d8_1}].d 0x14b1 245 ecx = ecx + 1 0x14b4 246 rcx = sx.q(ecx) 0x14b7 247 edx = [rax + (rcx << 2)].d 0x14ba 248 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x14c1 249 rax = rbp - 0xc39c0 {var_c39c8} 0x14c8 250 rcx = rcx * 0xfa4 0x14cf 251 rax = rax + rcx 0x14d2 252 rcx = sx.q([rbp - 0xc39d0 {var_c39d8_1}].d) 0x14d9 253 [rax + (rcx << 2)].d = edx 0x14dc 254 edx = [rbp - 0xc39d4 {var_c39dc_2}].d 0x14e2 255 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x14e9 256 rax = rbp - 0xc39c0 {var_c39c8} 0x14f0 257 rcx = rcx * 0xfa4 0x14f7 258 rax = rax + rcx 0x14fa 259 ecx = [rbp - 0xc39d0 {var_c39d8_1}].d 0x1500 260 ecx = ecx + 1 0x1503 261 rcx = sx.q(ecx) 0x1506 262 [rax + (rcx << 2)].d = edx 0x1506 263 goto 232 @ 0x1509 0x1864 264 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x186b 265 rax = rbp - 0x61db0 {var_61db8} 0x1872 266 rcx = rcx * 0xfa4 0x1879 267 rax = rax + rcx 0x187c 268 rcx = sx.q([rbp - 0xc39cc {var_c39d4_3}].d) 0x1883 269 eax = [rax + (rcx << 2)].d 0x1886 270 rdx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x188d 271 rcx = rbp - 0xc39c0 {var_c39c8} 0x1894 272 rdx = rdx * 0xfa4 0x189b 273 rcx = rcx + rdx 0x189e 274 rdx = sx.q([rbp - 0xc39cc {var_c39d4_3}].d) 0x18a8 275 if (eax s>= [rcx + (rdx << 2)].d) then 287 @ 0x18bf else 288 @ 0x18ae 0x184e 276 eax = [rbp - 0xc39e0 {var_c39e8}].d 0x1854 277 eax = eax + 0xc8 0x1859 278 [rbp - 0xc39e0 {var_c39e8}].d = eax 0x185f 279 goto 292 @ 0x18c4 0x1676 280 eax = [rbp - 0xc39cc {var_c39d4_2}].d 0x1682 281 if (eax s<= [rbp - 0xc39dc {var_c39e4}].d) then 293 @ 0x16e5 else 312 @ 0x1688 0x17dc 282 goto 231 @ 0x17e1 0x150e 283 eax = [rbp - 0xc39d0 {var_c39d8_1}].d 0x1514 284 eax = eax + 1 0x1517 285 [rbp - 0xc39d0 {var_c39d8_1}].d = eax 0x151d 286 goto 67 @ 0x130a 0x18bf 287 goto 292 @ 0x18c4 0x18ae 288 eax = [rbp - 0xc39e0 {var_c39e8}].d 0x18b4 289 eax = eax - 0xc8 0x18b9 290 [rbp - 0xc39e0 {var_c39e8}].d = eax 0x18b9 291 goto 287 @ 0x18bf 0x18c4 292 goto 330 @ 0x18c9 0x16e5 293 edx = [rbp - 0xc39d4 {var_c39dc_3}].d 0x16eb 294 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x16f2 295 rax = rbp - 0x61db0 {var_61db8} 0x16f9 296 rcx = rcx * 0xfa4 0x1700 297 rax = rax + rcx 0x1703 298 rcx = sx.q([rbp - 0xc39dc {var_c39e4}].d) 0x170a 299 [rax + (rcx << 2)].d = edx 0x170d 300 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1714 301 rax = rbp - 0x61db0 {var_61db8} 0x171b 302 rcx = rcx * 0xfa4 0x1722 303 rax = rax + rcx 0x1725 304 rcx = sx.q([rbp - 0xc39dc {var_c39e4}].d) 0x172c 305 eax = [rax + (rcx << 2)].d 0x172f 306 rdx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1736 307 rcx = rbp - 0xc39c0 {var_c39c8} 0x173d 308 rdx = rdx * 0xfa4 0x1744 309 rcx = rcx + rdx 0x1747 310 rdx = sx.q([rbp - 0xc39dc {var_c39e4}].d) 0x1751 311 if (eax s>= [rcx + (rdx << 2)].d) then 334 @ 0x176d else 346 @ 0x1757 0x1688 312 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x168f 313 rax = rbp - 0x61db0 {var_61db8} 0x1696 314 rcx = rcx * 0xfa4 0x169d 315 rax = rax + rcx 0x16a0 316 ecx = [rbp - 0xc39cc {var_c39d4_2}].d 0x16a6 317 ecx = ecx - 1 0x16a9 318 rcx = sx.q(ecx) 0x16ac 319 edx = [rax + (rcx << 2)].d 0x16af 320 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x16b6 321 rax = rbp - 0x61db0 {var_61db8} 0x16bd 322 rcx = rcx * 0xfa4 0x16c4 323 rax = rax + rcx 0x16c7 324 rcx = sx.q([rbp - 0xc39cc {var_c39d4_2}].d) 0x16ce 325 [rax + (rcx << 2)].d = edx 0x16d1 326 eax = [rbp - 0xc39cc {var_c39d4_2}].d 0x16d7 327 eax = eax - 1 0x16da 328 [rbp - 0xc39cc {var_c39d4_2}].d = eax 0x16e0 329 goto 280 @ 0x1676 0x18c9 330 eax = [rbp - 0xc39cc {var_c39d4_3}].d 0x18cf 331 eax = eax + 1 0x18d2 332 [rbp - 0xc39cc {var_c39d4_3}].d = eax 0x18d8 333 goto 122 @ 0x17f2 0x176d 334 rcx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1774 335 rax = rbp - 0x61db0 {var_61db8} 0x177b 336 rcx = rcx * 0xfa4 0x1782 337 rax = rax + rcx 0x1785 338 rcx = sx.q([rbp - 0xc39dc {var_c39e4}].d) 0x178c 339 eax = [rax + (rcx << 2)].d 0x178f 340 rdx = sx.q([rbp - 0xc39c8 {var_c39d0_3}].d) 0x1796 341 rcx = rbp - 0xc39c0 {var_c39c8} 0x179d 342 rdx = rdx * 0xfa4 0x17a4 343 rcx = rcx + rdx 0x17a7 344 rdx = sx.q([rbp - 0xc39dc {var_c39e4}].d) 0x17b1 345 if (eax s<= [rcx + (rdx << 2)].d) then 350 @ 0x17c8 else 351 @ 0x17b7 0x1757 346 eax = [rbp - 0xc39e0 {var_c39e8}].d 0x175d 347 eax = eax - 0xc8 0x1762 348 [rbp - 0xc39e0 {var_c39e8}].d = eax 0x1768 349 goto 355 @ 0x17cd 0x17c8 350 goto 355 @ 0x17cd 0x17b7 351 eax = [rbp - 0xc39e0 {var_c39e8}].d 0x17bd 352 eax = eax + 0xc8 0x17c2 353 [rbp - 0xc39e0 {var_c39e8}].d = eax 0x17c2 354 goto 350 @ 0x17c8 0x17cd 355 eax = [rbp - 0xc39dc {var_c39e4}].d 0x17d3 356 eax = eax + 1 0x17d6 357 [rbp - 0xc39dc {var_c39e4}].d = eax 0x17d6 358 goto 282 @ 0x17dc int64_t _fini(): 0x1928 0 rsp = rsp - 8 0x192c 1 rsp = rsp + 8 0x1930 2 <return> jump(pop)
POJ_92
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSH8"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0x13898 0x115d 5 rdi = 0x2004 {"%d%d"} 0x1164 6 ebp = 0 0x1166 7 rsi = rsp + 8 {var_138b0} 0x116b 8 rdx = rsp + 0x10 {var_138a8} 0x1170 9 eax = 0 0x1172 10 call(0x1040) 0x117c 11 if ([rsp + 8 {var_138b0}].d s< 2) then 12 @ 0x1217 else 24 @ 0x1182 0x1217 12 rax = sx.q(ebp) 0x121a 13 esi = [rsp + (rax << 2) + 0x10].d 0x121e 14 rdi = 0x2006 {"%d"} 0x1225 15 eax = 0 0x1227 16 call(0x1030) 0x122c 17 eax = 0 0x122e 18 rsp = rsp + 0x13898 0x1235 19 rbx = pop 0x1236 20 r14 = pop 0x1238 21 r15 = pop 0x123a 22 rbp = pop 0x123b 23 <return> jump(pop) 0x1182 24 ebx = 1 0x1187 25 r14 = 0x2006 {"%d"} 0x118e 26 r15 = rsp + 0xc {var_138ac} 0x1193 27 ebp = 0 0x1195 28 goto 29 @ 0x11ae 0x11ae 29 rdi = r14 0x11b1 30 rsi = r15 {var_138ac} 0x11b4 31 eax = 0 0x11b6 32 call(0x1040) 0x11bb 33 eax = [rsp + 0xc {var_138ac}].d 0x11bf 34 ecx = 0 0x11cb 35 goto 36 @ 0x11d4 0x11d4 36 if (eax == [rsp + (rcx << 2) + 0x10].d) then 37 @ 0x11a0 else 40 @ 0x11d6 0x11a0 37 rbx = rbx + 1 0x11a4 38 rax = sx.q([rsp + 8 {var_138b0}].d) 0x11ac 39 if (rbx s>= rax) then 42 @ 0x11ed else 29 @ 0x11ae 0x11d6 40 rcx = rcx + 1 0x11dd 41 if (rbx != rcx) then 36 @ 0x11d4 else 43 @ 0x11df 0x11ed 42 if (ebp s<= 0) then 12 @ 0x1217 else 47 @ 0x11ef 0x11df 43 rcx = sx.q(ebp) 0x11e2 44 ebp = ebp + 1 0x11e5 45 [rsp + (rcx << 2) + 0x14].d = eax 0x11e9 46 goto 37 @ 0x11a0 0x11ef 47 r15d = ebp 0x11f2 48 r14 = 0x2009 {"%d "} 0x11f9 49 ebx = 0 0x11fb 50 goto 51 @ 0x1200 0x1200 51 esi = [rsp + (rbx << 2) + 0x10].d 0x1204 52 rdi = r14 0x1207 53 eax = 0 0x1209 54 call(0x1030) 0x120e 55 rbx = rbx + 1 0x1215 56 if (r15 != rbx) then 51 @ 0x1200 else 12 @ 0x1217 int64_t _fini(): 0x1240 0 rsp = rsp - 8 0x1244 1 rsp = rsp + 8 0x1248 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) int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"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 - 0x2f8 0x1181 7 r14 = rsp + 0x60 {var_2c8} 0x1186 8 edx = 0x144 {""} 0x118b 9 rdi = r14 {var_2c8} 0x118e 10 esi = 0 0x1190 11 call(0x1050) 0x1195 12 rdi = 0x2004 {"%d %d"} 0x119c 13 rsi = rsp + 0x1c {var_30c} 0x11a1 14 rdx = rsp + 0x18 {var_310} 0x11a6 15 eax = 0 0x11a8 16 call(0x1060) 0x11ad 17 eax = [rsp + 0x1c {var_30c}].d 0x11b1 18 [rsp + 0x100 {var_228}].d = eax 0x11b8 19 eax = [rsp + 0x18 {var_310}].d 0x11bc 20 [rsp + 0x28 {var_300}].q = rax 0x11c3 21 if (eax s<= 0) then 22 @ 0x137e else 26 @ 0x11c9 0x137e 22 rbx = 0x200a {"%d "} 0x1385 23 r15 = 0x200e {"%d\n"} 0x138c 24 r12d = 0 0x138f 25 goto 36 @ 0x1390 0x11c9 26 rax = rsp + 0x100 {var_228} 0x11d1 27 rcx = rsp + 0x250 {var_d8} 0x11d9 28 r12 = rsp + 0xd8 {var_250} 0x11e1 29 r15d = 4 0x11e7 30 r13d = 3 0x11ed 31 [rsp + 0xc {var_31c_1}].d = 6 0x11f5 32 [rsp + 8 {var_320_1}].d = 5 0x11fd 33 edx = 0x24 {""} 0x1202 34 esi = 0 0x1204 35 goto 38 @ 0x1255 0x1390 36 ebp = 0 0x139c 37 goto 53 @ 0x13a0 0x1255 38 [rsp + 0x30 {var_2f8_1}].q = r15 0x125a 39 [rsp + 0x40 {var_2e8_1}].q = r13 0x125f 40 [rsp + 0x48 {var_2e0_1}].q = r12 0x1264 41 ebp = 4 0x1269 42 ebp = ebp - esi 0x126b 43 rdi = rsi 0x126e 44 [rsp + 0x20 {var_308_1}].q = rsi 0x1273 45 esi = esi + 4 0x1276 46 [rsp + 0x14 {var_314_1}].d = ebp 0x127a 47 [rsp + 0x10 {var_318_1}].d = esi 0x127e 48 cond:0 = ebp s> esi 0x1280 49 r13 = rax 0x1283 50 r12 = rcx 0x1286 51 r15 = rdx 0x1289 52 if (cond:0) then 59 @ 0x12bb else 68 @ 0x128b 0x13a0 53 esi = [r14 + (rbp << 2)].d 0x13a4 54 rdi = rbx 0x13a7 55 eax = 0 0x13a9 56 call(0x1030) 0x13ae 57 rbp = rbp + 1 0x13b6 58 if (rbp != 8) then 53 @ 0x13a0 else 72 @ 0x13b8 0x12bb 59 [rsp + 0x38 {var_2f0_1}].q = r15 0x12c0 60 [rsp + 0x50 {var_2d8_1}].q = r12 0x12c5 61 [rsp + 0x58 {var_2d0_1}].q = r13 0x12ca 62 eax = [rsp + 0x10 {var_318_1}].d 0x12ce 63 cond:1 = [rsp + 0x14 {var_314_1}].d s> eax 0x12d2 64 r12 = [rsp + 0x48 {var_2e0_1}].q 0x12d7 65 r13 = [rsp + 0x40 {var_2e8_1}].q 0x12dc 66 r15 = [rsp + 0x30 {var_2f8_1}].q 0x12e1 67 if (cond:1) then 80 @ 0x1210 else 94 @ 0x12e7 0x128b 68 rax = [rsp + 0x20 {var_308_1}].q 0x1290 69 rbx = (rax << 3) + 4 0x1298 70 ebp = 0 0x129a 71 goto 100 @ 0x12a0 0x13b8 72 rax = r12 + (r12 << 3) 0x13bc 73 esi = [rsp + (rax << 2) + 0x80].d 0x13c3 74 rdi = r15 0x13c6 75 eax = 0 0x13c8 76 call(0x1030) 0x13cd 77 r12 = r12 + 1 0x13d1 78 r14 = r14 + 0x24 0x13d9 79 if (r12 != 9) then 36 @ 0x1390 else 107 @ 0x13db 0x1210 80 rsi = [rsp + 0x20 {var_308_1}].q 0x1215 81 rsi = rsi + 1 0x1219 82 r15 = r15 - 1 0x121d 83 r13 = r13 - 1 0x1221 84 [rsp + 0xc {var_31c_1}].d = [rsp + 0xc {var_31c_1}].d - 1 0x1226 85 [rsp + 8 {var_320_1}].d = [rsp + 8 {var_320_1}].d + 1 0x122b 86 rax = [rsp + 0x58 {var_2d0_1}].q 0x1230 87 rax = rax - 0x28 0x1234 88 rcx = [rsp + 0x50 {var_2d8_1}].q 0x1239 89 rcx = rcx - 0x28 0x123d 90 rdx = [rsp + 0x38 {var_2f0_1}].q 0x1242 91 rdx = rdx + 0x48 0x1246 92 r12 = r12 - 0x28 0x124f 93 if (rsi == [rsp + 0x28 {var_300}].q) then 22 @ 0x137e else 38 @ 0x1255 0x12e7 94 r9 = sx.q([rsp + 8 {var_320_1}].d) 0x12ec 95 r8 = r12 0x12ef 96 r11 = r15 0x12f2 97 esi = [rsp + 0xc {var_31c_1}].d 0x12f6 98 r10 = r13 0x12f9 99 goto 116 @ 0x1300 0x12a0 100 rsi = r13 0x12a3 101 rsi = rsi + rbp 0x12a6 102 rdi = r12 + rbp 0x12aa 103 rdx = rbx 0x12ad 104 call(0x1040) 0x12b2 105 rbp = rbp + 0x24 0x12b9 106 if (r15 != rbp) then 100 @ 0x12a0 else 59 @ 0x12bb 0x13db 107 eax = 0 0x13dd 108 rsp = rsp + 0x2f8 0x13e4 109 rbx = pop 0x13e5 110 r12 = pop 0x13e7 111 r13 = pop 0x13e9 112 r14 = pop 0x13eb 113 r15 = pop 0x13ed 114 rbp = pop 0x13ee 115 <return> jump(pop) 0x1300 116 rax = r8 0x1303 117 rbp = r15 0x1306 118 goto 119 @ 0x1310 0x1310 119 rcx = r11 + (r11 << 3) 0x1314 120 rcx = rsp + (rcx << 2) 0x1318 121 rcx = rcx + 0x1b0 0x131f 122 ebx = [rcx + (rbp << 2)].d 0x1322 123 rcx = rax 0x1325 124 rdi = r10 0x1328 125 goto 126 @ 0x1330 0x1330 126 edx = 0 0x133c 127 goto 128 @ 0x1340 0x1340 128 [rcx + (rdx << 2)].d = [rcx + (rdx << 2)].d + ebx 0x1343 129 rdx = rdx + 1 0x134a 130 if (edx != 3) then 128 @ 0x1340 else 131 @ 0x134c 0x134c 131 rdi = rdi + 1 0x1350 132 rcx = rcx + 0x24 0x1356 133 if (esi != edi) then 126 @ 0x1330 else 134 @ 0x1358 0x1358 134 rbp = rbp + 1 0x135c 135 rax = rax + 4 0x1363 136 if (rbp != r9) then 119 @ 0x1310 else 137 @ 0x1365 0x1365 137 r11 = r11 + 1 0x1369 138 r10 = r10 + 1 0x136d 139 esi = esi + 1 0x1370 140 r8 = r8 + 0x24 0x1377 141 if (r11 != r9) then 116 @ 0x1300 else 142 @ 0x1379 0x1379 142 goto 80 @ 0x1210 int64_t _fini(): 0x13f4 0 rsp = rsp - 8 0x13f8 1 rsp = rsp + 8 0x13fc 2 <return> jump(pop)
POJ_48
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 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 {"AWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r13) 0x1166 3 push(r12) 0x1168 4 push(rbx) 0x1169 5 rsp = rsp - 0x100 0x1170 6 r15d = 0 0x1173 7 r14 = rsp {var_128} 0x1176 8 rdi = r14 {var_128} 0x1179 9 eax = 0 0x117b 10 call(0x1040) 0x1180 11 rdi = r14 {var_128} 0x1183 12 call(0x1030) 0x1188 13 r14 = rax 0x118b 14 r12 = sx.q(r14d) 0x118e 15 goto 16 @ 0x11a5 0x11a5 16 r13 = sx.q(r15d) 0x11a8 17 edi = sx.d([rsp + r13].b) 0x11b0 18 if (edi == 0x20) then 19 @ 0x11c1 else 20 @ 0x11b5 0x11c1 19 if ([rsp + r13].b != 0x20) then 21 @ 0x11a1 else 23 @ 0x11c3 0x11b5 20 if (dil == 0) then 25 @ 0x11f5 else 33 @ 0x11b7 0x11a1 21 r15d = r15d + 1 0x11a1 22 goto 16 @ 0x11a5 0x11c3 23 ebx = 0 0x11c8 24 if (r15d s>= r14d) then 35 @ 0x1190 else 40 @ 0x11ca 0x11f5 25 eax = 0 0x11f7 26 rsp = rsp + 0x100 0x11fe 27 rbx = pop 0x11ff 28 r12 = pop 0x1201 29 r13 = pop 0x1203 30 r14 = pop 0x1205 31 r15 = pop 0x1207 32 <return> jump(pop) 0x11b7 33 call(0x1050) 0x11b7 34 goto 19 @ 0x11c1 0x1190 35 edi = 0x20 {"@"} 0x1195 36 call(0x1050) 0x119a 37 r15d = r15d + ebx 0x119d 38 r15d = r15d - 1 0x119d 39 goto 21 @ 0x11a1 0x11ca 40 r13 = r13 + 1 0x11ce 41 ebx = 0 0x11ce 42 goto 43 @ 0x11d0 0x11d0 43 eax = ebx 0x11d2 44 ecx = zx.d([rsp + r13 - 1].b) 0x11d8 45 ebx = 0 0x11dd 46 bl = cl == 0x20 0x11e0 47 ebx = ebx + eax 0x11e5 48 if (cl != 0x20) then 35 @ 0x1190 else 49 @ 0x11e7 0x11e7 49 rax = r13 + 1 0x11eb 50 cond:0 = r13 s< r12 0x11ee 51 r13 = rax 0x11f1 52 if (cond:0) then 43 @ 0x11d0 else 53 @ 0x11f3 0x11f3 53 goto 35 @ 0x1190 int64_t _fini(): 0x120c 0 rsp = rsp - 8 0x1210 1 rsp = rsp + 8 0x1214 2 <return> jump(pop)
POJ_62
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x4d0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rdi = 0x2005 {"%d"} 0x1169 5 rsi = rbp - 0x4c4 {var_4cc} 0x1170 6 al = 0 0x1172 7 call(0x1040) 0x1177 8 [rbp - 0x4c8 {var_4d0}].d = 0 0x1177 9 goto 10 @ 0x1181 0x1181 10 eax = [rbp - 0x4c8 {var_4d0}].d 0x118d 11 if (eax s>= [rbp - 0x4c4 {var_4cc}].d) then 12 @ 0x11d1 else 13 @ 0x1193 0x11d1 12 if ([rbp - 0x4c4 {var_4cc}].d s<= 0) then 24 @ 0x11eb else 26 @ 0x11d7 0x1193 13 rax = sx.q([rbp - 0x4c8 {var_4d0}].d) 0x119a 14 rsi = rbp - 0x4c0 {var_4c8} 0x11a1 15 rax = rax << 2 0x11a5 16 rsi = rsi + rax 0x11a8 17 rdi = 0x2005 {"%d"} 0x11af 18 al = 0 0x11b1 19 call(0x1040) 0x11b6 20 eax = [rbp - 0x4c8 {var_4d0}].d 0x11bc 21 eax = eax + 1 0x11bf 22 [rbp - 0x4c8 {var_4d0}].d = eax 0x11c5 23 goto 10 @ 0x1181 0x11eb 24 [rbp - 0x4c8 {var_4d0_1}].d = 1 0x11eb 25 goto 31 @ 0x11f5 0x11d7 26 esi = [rbp - 0x4c0 {var_4c8}].d 0x11dd 27 rdi = 0x2005 {"%d"} 0x11e4 28 al = 0 0x11e6 29 call(0x1030) 0x11e6 30 goto 24 @ 0x11eb 0x11f5 31 eax = [rbp - 0x4c8 {var_4d0_1}].d 0x1201 32 if (eax s>= [rbp - 0x4c4 {var_4cc}].d) then 33 @ 0x12aa else 37 @ 0x1207 0x12aa 33 eax = 0 0x12ac 34 rsp = rsp + 0x4d0 0x12b3 35 rbp = pop 0x12b4 36 <return> jump(pop) 0x1207 37 [rbp - 0x4cc {var_4d4_1}].d = 0 0x1207 38 goto 39 @ 0x1211 0x1211 39 eax = [rbp - 0x4cc {var_4d4_1}].d 0x121d 40 if (eax s>= [rbp - 0x4c8 {var_4d0_1}].d) then 41 @ 0x1263 else 43 @ 0x1223 0x1263 41 eax = [rbp - 0x4c8 {var_4d0_1}].d 0x126f 42 if (eax != [rbp - 0x4cc {var_4d4_1}].d) then 47 @ 0x1291 else 48 @ 0x1275 0x1223 43 rax = sx.q([rbp - 0x4c8 {var_4d0_1}].d) 0x122a 44 eax = [rbp + (rax << 2) - 0x4c0].d 0x1231 45 rcx = sx.q([rbp - 0x4cc {var_4d4_1}].d) 0x123f 46 if (eax != [rbp + (rcx << 2) - 0x4c0].d) then 54 @ 0x124a else 55 @ 0x1245 0x1291 47 goto 56 @ 0x1296 0x1275 48 rax = sx.q([rbp - 0x4c8 {var_4d0_1}].d) 0x127c 49 esi = [rbp + (rax << 2) - 0x4c0].d 0x1283 50 rdi = 0x2004 {",%d"} 0x128a 51 al = 0 0x128c 52 call(0x1030) 0x128c 53 goto 47 @ 0x1291 0x124a 54 goto 60 @ 0x124f 0x1245 55 goto 41 @ 0x1263 0x1296 56 eax = [rbp - 0x4c8 {var_4d0_1}].d 0x129c 57 eax = eax + 1 0x129f 58 [rbp - 0x4c8 {var_4d0_1}].d = eax 0x12a5 59 goto 31 @ 0x11f5 0x124f 60 eax = [rbp - 0x4cc {var_4d4_1}].d 0x1255 61 eax = eax + 1 0x1258 62 [rbp - 0x4cc {var_4d4_1}].d = eax 0x125e 63 goto 39 @ 0x1211 int64_t _fini(): 0x12bc 0 rsp = rsp - 8 0x12c0 1 rsp = rsp + 8 0x12c4 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 getchar(): 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 {"UAVSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r14) 0x1163 2 push(rbx) 0x1164 3 rsp = rsp - 0x4b0 0x116b 4 r14d = 1 0x1171 5 ebx = 0 0x1171 6 goto 7 @ 0x1173 0x1173 7 ebp = 0 0x117f 8 goto 9 @ 0x1180 0x1180 9 eax = 0 0x1182 10 call(0x1040) 0x1187 11 eax = eax << 0x18 0x118f 12 if (eax == 0xa000000) then 13 @ 0x11bf else 17 @ 0x1196 0x11bf 13 eax = ebx 0x11c1 14 [rsp + (rax << 2)].d = ebp 0x11c4 15 esi = 0xffffffff {""} 0x11cd 16 if (r14d u< 2) then 18 @ 0x1206 else 19 @ 0x11cf 0x1196 17 if (eax == 0x2c000000) then 24 @ 0x11b0 else 29 @ 0x1198 0x1206 18 if (r14d == 1) then 34 @ 0x121d else 37 @ 0x120b 0x11cf 19 ecx = [rsp {var_4c8}].d 0x11d2 20 rax = rsp + 4 {var_4c4} 0x11d7 21 edx = 0xffffffff {""} 0x11dc 22 esi = edx 0x11de 23 goto 38 @ 0x11e0 0x11b0 24 eax = ebx 0x11b2 25 [rsp + (rax << 2)].d = ebp 0x11b5 26 rbx = rbx + 1 0x11b9 27 r14d = r14d + 1 0x11bd 28 goto 7 @ 0x1173 0x1198 29 eax = eax s>> 0x18 0x119b 30 ecx = (rbp + (rbp << 2)).d 0x119f 31 ebp = (rax + (rcx << 1)).d 0x11a2 32 ebp = ebp - 0x30 0x11a5 33 goto 9 @ 0x1180 0x121d 34 rdi = 0x2008 {"No"} 0x1224 35 call(0x1050) 0x1224 36 goto 40 @ 0x1229 0x120b 37 if (esi == -1) then 34 @ 0x121d else 46 @ 0x120d 0x11e0 38 edi = [rax].d 0x11e4 39 if (edi s< ecx) then 50 else 52 @ 0x11e9 0x1229 40 eax = 0 0x122b 41 rsp = rsp + 0x4b0 0x1232 42 rbx = pop 0x1233 43 r14 = pop 0x1235 44 rbp = pop 0x1236 45 <return> jump(pop) 0x120d 46 rdi = 0x2004 {"%d\n"} 0x1214 47 eax = 0 0x1216 48 call(0x1030) 0x121b 49 goto 40 @ 0x1229 0x11e4 50 esi = edi 0x11e4 51 goto 52 @ 0x11e9 0x11e9 52 if (edx s>= edi) then 53 else 55 @ 0x11ec 0x11e9 53 esi = edx 0x11e9 54 goto 55 @ 0x11ec 0x11ec 55 cond:0 = ecx s< edi 0x11ee 56 if (ecx s>= edi) then 57 else 59 @ 0x11f1 0x11ee 57 edi = ecx 0x11ee 58 goto 59 @ 0x11f1 0x11f1 59 if (cond:0) then 60 else 62 @ 0x11f4 0x11f1 60 esi = ecx 0x11f1 61 goto 62 @ 0x11f4 0x11f4 62 rax = rax + 4 0x11f8 63 edx = esi 0x11fa 64 ecx = edi 0x11fc 65 temp0.q = rbx 0x11fc 66 rbx = rbx - 1 0x1200 67 if (temp0.q != 1) then 38 @ 0x11e0 else 18 @ 0x1206 int64_t _fini(): 0x123c 0 rsp = rsp - 8 0x1240 1 rsp = rsp + 8 0x1244 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) 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 - 0x2710 0x116f 6 rbx = rsp {var_2738} 0x1172 7 rdi = rbx {var_2738} 0x1175 8 eax = 0 0x1177 9 call(0x1050) 0x117c 10 rdi = rbx {var_2738} 0x117f 11 call(0x1040) 0x1187 12 if (rax == 0) then 13 @ 0x11ea else 21 @ 0x1189 0x11ea 13 eax = 0 0x11ec 14 rsp = rsp + 0x2710 0x11f3 15 rbx = pop 0x11f4 16 r12 = pop 0x11f6 17 r14 = pop 0x11f8 18 r15 = pop 0x11fa 19 rbp = pop 0x11fb 20 <return> jump(pop) 0x1189 21 r14 = 0x2007 {"%d,"} 0x1190 22 r12 = rsp {var_2738} 0x1193 23 r15 = 0x2004 {"%d"} 0x119a 24 ebx = 0 0x119c 25 ebp = 0 0x119e 26 goto 27 @ 0x11b5 0x11b5 27 if ([rsp + rbx].b != 0x20) then 28 @ 0x11d0 else 31 @ 0x11bc 0x11d0 28 ebp = ebp + 1 0x11d3 29 rax = rax - 1 0x11da 30 if (rbx != rax) then 32 @ 0x11a0 else 36 @ 0x11dc 0x11bc 31 if ([rsp + rbx + 1].b == 0x20) then 32 @ 0x11a0 else 41 @ 0x11be 0x11a0 32 rbx = rbx + 1 0x11a4 33 rdi = r12 {var_2738} 0x11a7 34 call(0x1040) 0x11af 35 if (rax u<= rbx) then 13 @ 0x11ea else 27 @ 0x11b5 0x11dc 36 rdi = r15 0x11df 37 esi = ebp 0x11e1 38 eax = 0 0x11e3 39 call(0x1030) 0x11e8 40 goto 32 @ 0x11a0 0x11be 41 rdi = r14 0x11c1 42 esi = ebp 0x11c3 43 eax = 0 0x11c5 44 call(0x1030) 0x11ca 45 ebp = 0 0x11cc 46 goto 32 @ 0x11a0 int64_t _fini(): 0x1200 0 rsp = rsp - 8 0x1204 1 rsp = rsp + 8 0x1208 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) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AVSH "} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r14) 0x1162 1 push(rbx) 0x1163 2 rsp = rsp - 0xb88 0x116a 3 rdi = 0x2040 {"%d"} 0x1171 4 ebx = 0 0x1173 5 rsi = rsp + 0xc {var_b8c} 0x1178 6 eax = 0 0x117a 7 call(0x1050) 0x117f 8 eax = [rsp + 0xc {var_b8c}].d 0x118d 9 goto 10 @ 0x1190 0x1190 10 rcx = rax + rbx 0x1194 11 rcx = sx.q(ecx) 0x1197 12 rdx = rcx * -0x6db6db6d 0x119e 13 rdx = rdx u>> 0x20 0x11a2 14 edx = edx + ecx 0x11a4 15 esi = edx 0x11a6 16 esi = esi u>> 0x1f 0x11a9 17 edx = edx s>> 2 0x11ac 18 edx = edx + esi 0x11ae 19 esi = (rdx << 3).d 0x11b5 20 edx = edx - esi 0x11b7 21 edx = edx + ecx 0x11b9 22 [rsp + (rbx << 2) + 0x5d0].d = edx 0x11c0 23 rbx = rbx + 1 0x11cb 24 if (rbx != 0x16d) then 10 @ 0x1190 else 25 @ 0x11cd 0x11cd 25 rdi = rsp + 0x10 {var_b88} 0x11d2 26 ebx = 0 0x11d4 27 edx = 0x5b4 {"o.21"} 0x11d9 28 esi = 0 0x11db 29 call(0x1040) 0x11e0 30 [rsp + 0x40 {var_b58}].d = 1 0x11e8 31 eax = 0xc {""} 0x11ed 32 rcx = 0x2010 {""} 0x11fe 33 goto 34 @ 0x1200 0x1200 34 rdx = sx.q([rbx + rcx].d) 0x1204 35 rax = sx.q(eax) 0x1206 36 rax = rax + rdx 0x1209 37 [rsp + (rax << 2) + 0x10].d = 1 0x1211 38 rbx = rbx + 4 0x1219 39 if (rbx != 0x30) then 34 @ 0x1200 else 40 @ 0x121b 0x121b 40 r14 = 0x2043 {"%d\n"} 0x1222 41 ebx = 0 0x1224 42 goto 43 @ 0x1245 0x1245 43 if ([rsp + (rbx << 2) + 0x5d0].d != 5) then 44 @ 0x1230 else 46 @ 0x124c 0x1230 44 rbx = rbx + 1 0x123b 45 if (rbx == 0x16d) then 47 @ 0x1275 else 43 @ 0x1245 0x124c 46 if ([rsp + (rbx << 2) + 0x10].d != 1) then 44 @ 0x1230 else 51 @ 0x124e 0x1275 47 rsp = rsp + 0xb88 0x127c 48 rbx = pop 0x127d 49 r14 = pop 0x127f 50 <return> jump(pop) 0x124e 51 eax = ebx 0x1250 52 rax = rax * 0x8421085 0x1257 53 rax = rax u>> 0x20 0x125b 54 esi = ebx 0x125d 55 esi = esi - eax 0x125f 56 esi = esi u>> 1 0x1261 57 esi = esi + eax 0x1263 58 esi = esi u>> 4 0x1266 59 esi = esi + 1 0x1269 60 rdi = r14 0x126c 61 eax = 0 0x126e 62 call(0x1030) 0x1273 63 goto 44 @ 0x1230 int64_t _fini(): 0x1284 0 rsp = rsp - 8 0x1288 1 rsp = rsp + 8 0x128c 2 <return> jump(pop)
POJ_50
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0xfb8 0x1161 7 rdi = 0x2020 {"%d %d"} 0x1168 8 r14d = 0 0x116b 9 rsi = rsp + 8 {var_fe0} 0x1170 10 rdx = rsp + 0xc {var_fdc} 0x1175 11 eax = 0 0x1177 12 call(0x1040) 0x117c 13 r8d = [rsp + 8 {var_fe0}].d 0x1181 14 ecx = [rsp + 0xc {var_fdc}].d 0x1185 15 eax = r8d 0x1188 16 eax = eax | ecx 0x118a 17 if (eax != 0) then 18 @ 0x119e else 22 @ 0x118c 0x119e 18 r13 = 0x2026 {"%d\n"} 0x11a5 19 r15 = rsp + 8 {var_fe0} 0x11aa 20 r12 = rsp + 0xc {var_fdc} 0x11af 21 goto 30 @ 0x11e7 0x118c 22 rsp = rsp + 0xfb8 0x1193 23 rbx = pop 0x1194 24 r12 = pop 0x1196 25 r13 = pop 0x1198 26 r14 = pop 0x119a 27 r15 = pop 0x119c 28 rbp = pop 0x119d 29 <return> jump(pop) 0x11e7 30 if (r8d s<= 0) then 31 @ 0x11c0 else 41 @ 0x11e9 0x11c0 31 rdi = 0x2020 {"%d %d"} 0x11c7 32 rsi = r15 {var_fe0} 0x11ca 33 rdx = r12 {var_fdc} 0x11cd 34 eax = 0 0x11cf 35 call(0x1040) 0x11d4 36 r8d = [rsp + 8 {var_fe0}].d 0x11d9 37 ecx = [rsp + 0xc {var_fdc}].d 0x11dd 38 eax = r8d 0x11e0 39 eax = eax | ecx 0x11e2 40 if (eax == 0) then 22 @ 0x118c else 30 @ 0x11e7 0x11e9 41 edx = r8d 0x11f0 42 if (r8d u>= 8) then 43 @ 0x1200 else 52 @ 0x11f2 0x1200 43 esi = edx 0x1202 44 esi = esi & 0xfffffff8 0x1205 45 rax = rsi - 8 0x1209 46 rdi = rax 0x120c 47 rdi = rdi u>> 3 0x1210 48 rdi = rdi + 1 0x1214 49 ebp = edi 0x1216 50 ebp = ebp & 7 0x121d 51 if (rax u>= 0x38) then 54 @ 0x122d else 58 @ 0x121f 0x11f2 52 esi = 0 0x11f4 53 goto 61 @ 0x12f0 0x122d 54 rdi = rdi & 0xfffffffffffffff8 0x1231 55 eax = 0 0x1233 56 xmm0 = [0x2010].o 0x123a 57 goto 64 @ 0x1240 0x121f 58 eax = 0 0x1221 59 xmm0 = [0x2010].o 0x1228 60 goto 84 @ 0x12b8 0x12f0 61 [rsp + (rsi << 2) + 0x10].d = 1 0x12f8 62 rsi = rsi + 1 0x12ff 63 if (rdx != rsi) then 61 @ 0x12f0 else 85 @ 0x1301 0x1240 64 [rsp + (rax << 2) + 0x10].o = xmm0 0x1245 65 [rsp + (rax << 2) + 0x20].o = xmm0 0x124a 66 [rsp + (rax << 2) + 0x30].o = xmm0 0x124f 67 [rsp + (rax << 2) + 0x40].o = xmm0 0x1254 68 [rsp + (rax << 2) + 0x50].o = xmm0 0x1259 69 [rsp + (rax << 2) + 0x60].o = xmm0 0x125e 70 [rsp + (rax << 2) + 0x70].o = xmm0 0x1263 71 [rsp + (rax << 2) + 0x80].o = xmm0 0x126b 72 [rsp + (rax << 2) + 0x90].o = xmm0 0x1273 73 [rsp + (rax << 2) + 0xa0].o = xmm0 0x127b 74 [rsp + (rax << 2) + 0xb0].o = xmm0 0x1283 75 [rsp + (rax << 2) + 0xc0].o = xmm0 0x128b 76 [rsp + (rax << 2) + 0xd0].o = xmm0 0x1293 77 [rsp + (rax << 2) + 0xe0].o = xmm0 0x129b 78 [rsp + (rax << 2) + 0xf0].o = xmm0 0x12a3 79 [rsp + (rax << 2) + 0x100].o = xmm0 0x12ab 80 rax = rax + 0x40 0x12af 81 temp0.q = rdi 0x12af 82 rdi = rdi - 8 0x12b3 83 if (temp0.q != 8) then 64 @ 0x1240 else 84 @ 0x12b8 0x12b8 84 if (rbp == 0) then 87 @ 0x12e5 else 88 @ 0x12ba 0x1301 85 esi = r8d 0x1308 86 if (r8d s< 2) then 93 @ 0x13c3 else 94 @ 0x130e 0x12e5 87 if (rsi == rdx) then 85 @ 0x1301 else 99 @ 0x12e7 0x12ba 88 rdi = rsp + 0x20 {var_fc8} 0x12bf 89 rax = rdi + (rax << 2) 0x12c3 90 rbp = rbp << 5 0x12c7 91 edi = 0 0x12c9 92 goto 100 @ 0x12d0 0x13c3 93 if (esi != 1) then 31 @ 0x11c0 else 104 @ 0x13cc 0x130e 94 edx = (r8 - 1).d 0x1312 95 ebp = 0 0x1314 96 esi = r8d 0x1317 97 edi = 0 0x1319 98 goto 105 @ 0x132d 0x12e7 99 goto 61 @ 0x12f0 0x12d0 100 [rax + rdi - 0x10].o = xmm0 0x12d5 101 [rax + rdi].o = xmm0 0x12d9 102 rdi = rdi + 0x20 0x12e0 103 if (rbp != rdi) then 100 @ 0x12d0 else 87 @ 0x12e5 0x13cc 104 if (r8d s<= 0) then 31 @ 0x11c0 else 108 @ 0x13d2 0x132d 105 rbx = sx.q(edi) 0x1330 106 eax = [rsp + (rbx << 2) + 0x10].d 0x1337 107 if (eax != 1) then 110 @ 0x1322 else 111 @ 0x1339 0x13d2 108 esi = 0 0x13d4 109 goto 114 @ 0x13ef 0x1322 110 if (eax == 0) then 116 @ 0x1350 else 119 @ 0x1327 0x1339 111 rbx = rsp + (rbx << 2) 0x133d 112 rbx = rbx + 0x10 0x1341 113 goto 120 @ 0x1390 0x13ef 114 rbx = rsi + 1 0x13f8 115 if ([rsp + (rsi << 2) + 0x10].d != 1) then 122 @ 0x13e0 else 125 @ 0x13fa 0x1350 116 eax = (rdi + 1).d 0x1353 117 cond:0 = edi s< edx 0x1355 118 if (edi == edx) then 131 else 133 @ 0x1359 0x1327 119 if (esi s< 2) then 93 @ 0x13c3 else 105 @ 0x132d 0x1390 120 ebp = ebp + 1 0x1395 121 if (ebp != ecx) then 134 @ 0x1370 else 137 @ 0x1397 0x13e0 122 rax = sx.q(r8d) 0x13e3 123 rsi = rbx 0x13e9 124 if (rbx s>= rax) then 31 @ 0x11c0 else 114 @ 0x13ef 0x13fa 125 esi = esi + 1 0x13fd 126 rdi = r13 0x1400 127 eax = 0 0x1402 128 call(0x1030) 0x1407 129 r8d = [rsp + 8 {var_fe0}].d 0x140c 130 goto 122 @ 0x13e0 0x1355 131 edi = r14d 0x1355 132 goto 133 @ 0x1359 0x1359 133 if (cond:0) then 141 else 143 @ 0x135c 0x1370 134 eax = (rdi + 1).d 0x1373 135 cond:1 = edi s< edx 0x1375 136 if (edi == edx) then 145 else 147 @ 0x1379 0x1397 137 [rbx].d = 0 0x139d 138 esi = esi - 1 0x13a0 139 ebp = 0 0x13a5 140 if (esi != 1) then 134 @ 0x1370 else 148 @ 0x13a7 0x1359 141 edi = eax 0x1359 142 goto 143 @ 0x135c 0x135c 143 rax = sx.q(edi) 0x1364 144 if ([rsp + (rax << 2) + 0x10].d == 0) then 116 @ 0x1350 else 153 @ 0x1366 0x1375 145 edi = r14d 0x1375 146 goto 147 @ 0x1379 0x1379 147 if (cond:1) then 154 else 156 @ 0x137c 0x13a7 148 rax = sx.q(edi) 0x13aa 149 eax = [rsp + (rax << 2) + 0x10].d 0x13ae 150 esi = 1 0x13b3 151 ebp = 0 0x13b5 152 goto 110 @ 0x1322 0x1366 153 goto 119 @ 0x1327 0x1379 154 edi = eax 0x1379 155 goto 156 @ 0x137c 0x137c 156 rax = sx.q(edi) 0x137f 157 rbx = rsp + (rax << 2) 0x1383 158 rbx = rbx + 0x10 0x1387 159 eax = [rsp + (rax << 2) + 0x10].d 0x138e 160 if (eax != 1) then 110 @ 0x1322 else 120 @ 0x1390 int64_t _fini(): 0x1414 0 rsp = rsp - 8 0x1418 1 rsp = rsp + 8 0x141c 2 <return> jump(pop)
POJ_79
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) char* strstr(char const* arg1, char const* arg2): 0x1060 0 <return> tailcall([0x4030].q) char* strchr(char const* arg1, int32_t arg2): 0x1070 0 <return> tailcall([0x4038].q) char* gets(char* buf): 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 {"AVSH"} 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(r14) 0x1192 1 push(rbx) 0x1193 2 rsp = rsp - 0x308 0x119a 3 rbx = rsp {var_318} 0x119d 4 rdi = rbx {var_318} 0x11a0 5 eax = 0 0x11a2 6 call(0x1080) 0x11a7 7 rdi = rsp + 0x100 {var_218} 0x11af 8 eax = 0 0x11b1 9 call(0x1080) 0x11b6 10 rdi = rsp + 0x200 {var_118} 0x11be 11 eax = 0 0x11c0 12 call(0x1080) 0x11c5 13 esi = sx.d([rsp + 0x100 {var_218}].b) 0x11cd 14 rdi = rbx {var_318} 0x11d0 15 call(0x1070) 0x11d8 16 if (rax == 0) then 17 @ 0x1213 else 26 @ 0x11da 0x1213 17 rdi = 0x2004 {"%s"} 0x121a 18 rsi = rsp {var_318} 0x121d 19 eax = 0 0x121f 20 call(0x1030) 0x1224 21 eax = 0 0x1226 22 rsp = rsp + 0x308 0x122d 23 rbx = pop 0x122e 24 r14 = pop 0x1230 25 <return> jump(pop) 0x11da 26 rbx = rsp {var_318} 0x11dd 27 rsi = rsp + 0x100 {var_218} 0x11e5 28 rdi = rbx {var_318} 0x11e8 29 call(0x1060) 0x11ed 30 eax = eax - ebx 0x11ef 31 rax = sx.q(eax) 0x11f1 32 rbx = rsp + rax 0x11f5 33 r14 = rsp + 0x200 {var_118} 0x11fd 34 rdi = r14 {var_118} 0x1200 35 call(0x1050) 0x1205 36 rdi = rbx 0x1208 37 rsi = r14 {var_118} 0x120b 38 rdx = rax 0x120e 39 call(0x1040) 0x120e 40 goto 17 @ 0x1213 int64_t _fini(): 0x1238 0 rsp = rsp - 8 0x123c 1 rsp = rsp + 8 0x1240 2 <return> jump(pop)
POJ_7
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x18 0x115e 7 rdi = 0x2004 {"%d"} 0x1165 8 rsi = rsp + 0x10 {var_38} 0x116a 9 eax = 0 0x116c 10 call(0x1040) 0x1176 11 if ([rsp + 0x10 {var_38}].d s<= 0) then 12 @ 0x1215 else 21 @ 0x117c 0x1215 12 eax = 0 0x1217 13 rsp = rsp + 0x18 0x121b 14 rbx = pop 0x121c 15 r12 = pop 0x121e 16 r13 = pop 0x1220 17 r14 = pop 0x1222 18 r15 = pop 0x1224 19 rbp = pop 0x1225 20 <return> jump(pop) 0x117c 21 rbx = 0x2004 {"%d"} 0x1183 22 r15 = rsp + 0x14 {var_34} 0x1188 23 r12 = 0x2007 {"%d\n"} 0x118f 24 r13d = 0 0x1192 25 goto 26 @ 0x11bc 0x11bc 26 ebp = 0 0x11be 27 rdi = rbx 0x11c1 28 rsi = rsp + 0xc {var_3c} 0x11c6 29 eax = 0 0x11c8 30 call(0x1040) 0x11d2 31 if ([rsp + 0xc {var_3c}].d s<= 0) then 32 @ 0x11a0 else 39 @ 0x11d4 0x11a0 32 esi = 0x3c {""} 0x11a5 33 esi = esi - ebp 0x11a7 34 rdi = r12 0x11aa 35 eax = 0 0x11ac 36 call(0x1030) 0x11b1 37 r13d = r13d + 1 0x11ba 38 if (r13d s>= [rsp + 0x10 {var_38}].d) then 12 @ 0x1215 else 26 @ 0x11bc 0x11d4 39 r14d = 0 0x11d7 40 ebp = 0 0x11d9 41 goto 42 @ 0x11f2 0x11f2 42 rdi = rbx 0x11f5 43 rsi = r15 {var_34} 0x11f8 44 eax = 0 0x11fa 45 call(0x1040) 0x11ff 46 eax = [rsp + 0x14 {var_34}].d 0x1203 47 ecx = (rax + rbp).d 0x1209 48 if (ecx s> 0x3b) then 49 @ 0x11e7 else 51 @ 0x120e 0x11e7 49 r14d = r14d + 1 0x11f0 50 if (r14d s>= [rsp + 0xc {var_3c}].d) then 32 @ 0x11a0 else 42 @ 0x11f2 0x120e 51 if (ecx s> 0x38) then 52 @ 0x11e0 else 55 @ 0x1210 0x11e0 52 ebp = 0x3c {""} 0x11e5 53 ebp = ebp - eax 0x11e5 54 goto 49 @ 0x11e7 0x1210 55 ebp = ebp + 3 0x1213 56 goto 49 @ 0x11e7 int64_t _fini(): 0x122c 0 rsp = rsp - 8 0x1230 1 rsp = rsp + 8 0x1234 2 <return> jump(pop)
POJ_86
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 = 0x1200 {"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) void output(int64_t arg1): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x10 0x1168 3 [rbp - 8 {var_10}].q = rdi 0x116c 4 [rbp - 0xc {var_14}].d = 0 0x116c 5 goto 6 @ 0x1177 0x1177 6 if ([rbp - 0xc {var_14}].d s> 8) then 7 @ 0x11f9 else 10 @ 0x117d 0x11f9 7 rsp = rsp + 0x10 0x11fd 8 rbp = pop 0x11fe 9 <return> jump(pop) 0x117d 10 [rbp - 0x10 {var_18_1}].d = 0 0x117d 11 goto 12 @ 0x1188 0x1188 12 if ([rbp - 0x10 {var_18_1}].d s> 8) then 13 @ 0x11dd else 20 @ 0x118e 0x11dd 13 rdi = 0x2009 {"\n"} 0x11e4 14 al = 0 0x11e6 15 call(0x1030) 0x11eb 16 eax = [rbp - 0xc {var_14}].d 0x11ee 17 eax = eax + 1 0x11f1 18 [rbp - 0xc {var_14}].d = eax 0x11f4 19 goto 6 @ 0x1177 0x118e 20 rax = [rbp - 8 {var_10}].q 0x1192 21 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1196 22 rcx = rcx * 0x24 0x119a 23 rax = rax + rcx 0x119d 24 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x11a1 25 esi = [rax + (rcx << 2)].d 0x11a4 26 rdi = 0x2004 {"%d"} 0x11ab 27 al = 0 0x11ad 28 call(0x1030) 0x11b6 29 if ([rbp - 0x10 {var_18_1}].d == 8) then 30 @ 0x11ca else 31 @ 0x11bc 0x11ca 30 goto 35 @ 0x11cf 0x11bc 31 rdi = 0x2007 {" "} 0x11c3 32 al = 0 0x11c5 33 call(0x1030) 0x11c5 34 goto 30 @ 0x11ca 0x11cf 35 eax = [rbp - 0x10 {var_18_1}].d 0x11d2 36 eax = eax + 1 0x11d5 37 [rbp - 0x10 {var_18_1}].d = eax 0x11d8 38 goto 12 @ 0x1188 int32_t main(int32_t argc, char** argv, char** envp): 0x1200 0 push(rbp) 0x1201 1 rbp = rsp {__saved_rbp} 0x1204 2 rsp = rsp - 0x2b0 0x120b 3 [rbp - 4 {var_c}].d = 0 0x1212 4 rdi = rbp - 0x150 {var_158} 0x1219 5 esi = 0 0x121b 6 edx = 0x144 {""} 0x1220 7 call(0x1040) 0x1225 8 rdi = rbp - 0x2a0 {var_2a8} 0x122c 9 esi = 0 0x122e 10 edx = 0x144 {""} 0x1233 11 call(0x1040) 0x1238 12 rdi = 0x2004 {"%d"} 0x123f 13 rsi = rbp - 0x2a4 {var_2ac} 0x1246 14 al = 0 0x1248 15 call(0x1050) 0x124d 16 rdi = 0x2004 {"%d"} 0x1254 17 rsi = rbp - 0x2a8 {var_2b0} 0x125b 18 al = 0 0x125d 19 call(0x1050) 0x1262 20 eax = [rbp - 0x2a4 {var_2ac}].d 0x1268 21 [rbp - 0xb0 {var_b8}].d = eax 0x126e 22 [rbp - 0x154 {var_15c}].d = 1 0x126e 23 goto 24 @ 0x1278 0x1278 24 eax = [rbp - 0x154 {var_15c}].d 0x1284 25 if (eax s> [rbp - 0x2a8 {var_2b0}].d) then 26 @ 0x1642 else 32 @ 0x128a 0x1642 26 rdi = rbp - 0x150 {var_158} 0x1649 27 call(0x1160) 0x164e 28 eax = [rbp - 4 {var_c}].d 0x1651 29 rsp = rsp + 0x2b0 0x1658 30 rbp = pop 0x1659 31 <return> jump(pop) 0x128a 32 [rbp - 0x2ac {var_2b4_1}].d = 0 0x128a 33 goto 34 @ 0x129b 0x129b 34 if ([rbp - 0x2ac {var_2b4_1}].d s> 8) then 35 @ 0x156d else 37 @ 0x12a1 0x156d 35 [rbp - 0x2ac {var_2b4_2}].d = 0 0x156d 36 goto 39 @ 0x157e 0x12a1 37 [rbp - 0x2b0 {var_2b8_1}].d = 0 0x12a1 38 goto 40 @ 0x12b2 0x157e 39 if ([rbp - 0x2ac {var_2b4_2}].d s> 8) then 41 @ 0x1629 else 42 @ 0x1584 0x12b2 40 if ([rbp - 0x2b0 {var_2b8_1}].d s> 8) then 44 @ 0x1554 else 45 @ 0x12b8 0x1629 41 goto 191 @ 0x162e 0x1584 42 [rbp - 0x2b0 {var_2b8_2}].d = 0 0x1584 43 goto 195 @ 0x1595 0x1554 44 goto 196 @ 0x1559 0x12b8 45 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x12bf 46 rax = rbp - 0x150 {var_158} 0x12c6 47 rcx = rcx * 0x24 0x12ca 48 rax = rax + rcx 0x12cd 49 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x12d4 50 edx = [rax + (rcx << 2)].d 0x12d7 51 eax = [rbp - 0x2ac {var_2b4_1}].d 0x12dd 52 eax = eax - 1 0x12e0 53 rcx = sx.q(eax) 0x12e3 54 rax = rbp - 0x2a0 {var_2a8} 0x12ea 55 rcx = rcx * 0x24 0x12ee 56 rax = rax + rcx 0x12f1 57 ecx = [rbp - 0x2b0 {var_2b8_1}].d 0x12f7 58 ecx = ecx - 1 0x12fa 59 rcx = sx.q(ecx) 0x12fd 60 edx = edx + [rax + (rcx << 2)].d 0x1300 61 [rax + (rcx << 2)].d = edx 0x1303 62 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x130a 63 rax = rbp - 0x150 {var_158} 0x1311 64 rcx = rcx * 0x24 0x1315 65 rax = rax + rcx 0x1318 66 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x131f 67 edx = [rax + (rcx << 2)].d 0x1322 68 eax = [rbp - 0x2ac {var_2b4_1}].d 0x1328 69 eax = eax - 1 0x132b 70 rcx = sx.q(eax) 0x132e 71 rax = rbp - 0x2a0 {var_2a8} 0x1335 72 rcx = rcx * 0x24 0x1339 73 rax = rax + rcx 0x133c 74 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x1343 75 edx = edx + [rax + (rcx << 2)].d 0x1346 76 [rax + (rcx << 2)].d = edx 0x1349 77 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x1350 78 rax = rbp - 0x150 {var_158} 0x1357 79 rcx = rcx * 0x24 0x135b 80 rax = rax + rcx 0x135e 81 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x1365 82 edx = [rax + (rcx << 2)].d 0x1368 83 eax = [rbp - 0x2ac {var_2b4_1}].d 0x136e 84 eax = eax - 1 0x1371 85 rcx = sx.q(eax) 0x1374 86 rax = rbp - 0x2a0 {var_2a8} 0x137b 87 rcx = rcx * 0x24 0x137f 88 rax = rax + rcx 0x1382 89 ecx = [rbp - 0x2b0 {var_2b8_1}].d 0x1388 90 ecx = ecx + 1 0x138b 91 rcx = sx.q(ecx) 0x138e 92 edx = edx + [rax + (rcx << 2)].d 0x1391 93 [rax + (rcx << 2)].d = edx 0x1394 94 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x139b 95 rax = rbp - 0x150 {var_158} 0x13a2 96 rcx = rcx * 0x24 0x13a6 97 rax = rax + rcx 0x13a9 98 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x13b0 99 edx = [rax + (rcx << 2)].d 0x13b3 100 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x13ba 101 rax = rbp - 0x2a0 {var_2a8} 0x13c1 102 rcx = rcx * 0x24 0x13c5 103 rax = rax + rcx 0x13c8 104 ecx = [rbp - 0x2b0 {var_2b8_1}].d 0x13ce 105 ecx = ecx - 1 0x13d1 106 rcx = sx.q(ecx) 0x13d4 107 edx = edx + [rax + (rcx << 2)].d 0x13d7 108 [rax + (rcx << 2)].d = edx 0x13da 109 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x13e1 110 rax = rbp - 0x150 {var_158} 0x13e8 111 rcx = rcx * 0x24 0x13ec 112 rax = rax + rcx 0x13ef 113 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x13f6 114 edx = [rax + (rcx << 2)].d 0x13f9 115 edx = edx << 1 0x13fc 116 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x1403 117 rax = rbp - 0x2a0 {var_2a8} 0x140a 118 rcx = rcx * 0x24 0x140e 119 rax = rax + rcx 0x1411 120 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x1418 121 edx = edx + [rax + (rcx << 2)].d 0x141b 122 [rax + (rcx << 2)].d = edx 0x141e 123 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x1425 124 rax = rbp - 0x150 {var_158} 0x142c 125 rcx = rcx * 0x24 0x1430 126 rax = rax + rcx 0x1433 127 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x143a 128 edx = [rax + (rcx << 2)].d 0x143d 129 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x1444 130 rax = rbp - 0x2a0 {var_2a8} 0x144b 131 rcx = rcx * 0x24 0x144f 132 rax = rax + rcx 0x1452 133 ecx = [rbp - 0x2b0 {var_2b8_1}].d 0x1458 134 ecx = ecx + 1 0x145b 135 rcx = sx.q(ecx) 0x145e 136 edx = edx + [rax + (rcx << 2)].d 0x1461 137 [rax + (rcx << 2)].d = edx 0x1464 138 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x146b 139 rax = rbp - 0x150 {var_158} 0x1472 140 rcx = rcx * 0x24 0x1476 141 rax = rax + rcx 0x1479 142 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x1480 143 edx = [rax + (rcx << 2)].d 0x1483 144 eax = [rbp - 0x2ac {var_2b4_1}].d 0x1489 145 eax = eax + 1 0x148c 146 rcx = sx.q(eax) 0x148f 147 rax = rbp - 0x2a0 {var_2a8} 0x1496 148 rcx = rcx * 0x24 0x149a 149 rax = rax + rcx 0x149d 150 ecx = [rbp - 0x2b0 {var_2b8_1}].d 0x14a3 151 ecx = ecx - 1 0x14a6 152 rcx = sx.q(ecx) 0x14a9 153 edx = edx + [rax + (rcx << 2)].d 0x14ac 154 [rax + (rcx << 2)].d = edx 0x14af 155 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x14b6 156 rax = rbp - 0x150 {var_158} 0x14bd 157 rcx = rcx * 0x24 0x14c1 158 rax = rax + rcx 0x14c4 159 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x14cb 160 edx = [rax + (rcx << 2)].d 0x14ce 161 eax = [rbp - 0x2ac {var_2b4_1}].d 0x14d4 162 eax = eax + 1 0x14d7 163 rcx = sx.q(eax) 0x14da 164 rax = rbp - 0x2a0 {var_2a8} 0x14e1 165 rcx = rcx * 0x24 0x14e5 166 rax = rax + rcx 0x14e8 167 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x14ef 168 edx = edx + [rax + (rcx << 2)].d 0x14f2 169 [rax + (rcx << 2)].d = edx 0x14f5 170 rcx = sx.q([rbp - 0x2ac {var_2b4_1}].d) 0x14fc 171 rax = rbp - 0x150 {var_158} 0x1503 172 rcx = rcx * 0x24 0x1507 173 rax = rax + rcx 0x150a 174 rcx = sx.q([rbp - 0x2b0 {var_2b8_1}].d) 0x1511 175 edx = [rax + (rcx << 2)].d 0x1514 176 eax = [rbp - 0x2ac {var_2b4_1}].d 0x151a 177 eax = eax + 1 0x151d 178 rcx = sx.q(eax) 0x1520 179 rax = rbp - 0x2a0 {var_2a8} 0x1527 180 rcx = rcx * 0x24 0x152b 181 rax = rax + rcx 0x152e 182 ecx = [rbp - 0x2b0 {var_2b8_1}].d 0x1534 183 ecx = ecx + 1 0x1537 184 rcx = sx.q(ecx) 0x153a 185 edx = edx + [rax + (rcx << 2)].d 0x153d 186 [rax + (rcx << 2)].d = edx 0x1540 187 eax = [rbp - 0x2b0 {var_2b8_1}].d 0x1546 188 eax = eax + 1 0x1549 189 [rbp - 0x2b0 {var_2b8_1}].d = eax 0x154f 190 goto 40 @ 0x12b2 0x162e 191 eax = [rbp - 0x154 {var_15c}].d 0x1634 192 eax = eax + 1 0x1637 193 [rbp - 0x154 {var_15c}].d = eax 0x163d 194 goto 24 @ 0x1278 0x1595 195 if ([rbp - 0x2b0 {var_2b8_2}].d s> 8) then 200 @ 0x1610 else 201 @ 0x159b 0x1559 196 eax = [rbp - 0x2ac {var_2b4_1}].d 0x155f 197 eax = eax + 1 0x1562 198 [rbp - 0x2ac {var_2b4_1}].d = eax 0x1568 199 goto 34 @ 0x129b 0x1610 200 goto 223 @ 0x1615 0x159b 201 rcx = sx.q([rbp - 0x2ac {var_2b4_2}].d) 0x15a2 202 rax = rbp - 0x2a0 {var_2a8} 0x15a9 203 rcx = rcx * 0x24 0x15ad 204 rax = rax + rcx 0x15b0 205 rcx = sx.q([rbp - 0x2b0 {var_2b8_2}].d) 0x15b7 206 edx = [rax + (rcx << 2)].d 0x15ba 207 rcx = sx.q([rbp - 0x2ac {var_2b4_2}].d) 0x15c1 208 rax = rbp - 0x150 {var_158} 0x15c8 209 rcx = rcx * 0x24 0x15cc 210 rax = rax + rcx 0x15cf 211 rcx = sx.q([rbp - 0x2b0 {var_2b8_2}].d) 0x15d6 212 [rax + (rcx << 2)].d = edx 0x15d9 213 rcx = sx.q([rbp - 0x2ac {var_2b4_2}].d) 0x15e0 214 rax = rbp - 0x2a0 {var_2a8} 0x15e7 215 rcx = rcx * 0x24 0x15eb 216 rax = rax + rcx 0x15ee 217 rcx = sx.q([rbp - 0x2b0 {var_2b8_2}].d) 0x15f5 218 [rax + (rcx << 2)].d = 0 0x15fc 219 eax = [rbp - 0x2b0 {var_2b8_2}].d 0x1602 220 eax = eax + 1 0x1605 221 [rbp - 0x2b0 {var_2b8_2}].d = eax 0x160b 222 goto 195 @ 0x1595 0x1615 223 eax = [rbp - 0x2ac {var_2b4_2}].d 0x161b 224 eax = eax + 1 0x161e 225 [rbp - 0x2ac {var_2b4_2}].d = eax 0x1624 226 goto 39 @ 0x157e int64_t _fini(): 0x1660 0 rsp = rsp - 8 0x1664 1 rsp = rsp + 8 0x1668 2 <return> jump(pop)
POJ_48
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 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 {"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 - 0xa0 0x1168 2 ebx = 0 0x116a 3 rdi = rsp + 0x50 {var_58} 0x116f 4 eax = 0 0x1171 5 call(0x1030) 0x1176 6 edi = 0xa {""} 0x117b 7 call(0x1050) 0x1180 8 rdi = rsp {var_a8} 0x1183 9 eax = 0 0x1185 10 call(0x1030) 0x118a 11 goto 12 @ 0x119a 0x119a 12 eax = zx.d([rsp + rbx + 0x50].b) 0x119f 13 ecx = (rax - 0x41).d 0x11a5 14 if (cl u> 0x19) then 15 @ 0x11ad else 18 @ 0x11a7 0x11ad 15 eax = zx.d([rsp + rbx].b) 0x11b1 16 ecx = (rax - 0x41).d 0x11b7 17 if (cl u> 0x19) then 21 @ 0x1190 else 23 @ 0x11b9 0x11a7 18 al = al + 0x20 0x11a9 19 [rsp + rbx + 0x50].b = al 0x11a9 20 goto 15 @ 0x11ad 0x1190 21 rbx = rbx + 1 0x1198 22 if (rbx == 0x50) then 26 @ 0x11c0 else 12 @ 0x119a 0x11b9 23 al = al + 0x20 0x11bb 24 [rsp + rbx].b = al 0x11be 25 goto 21 @ 0x1190 0x11c0 26 rdi = rsp + 0x50 {var_58} 0x11c5 27 rsi = rsp {var_a8} 0x11c8 28 call(0x1040) 0x11cf 29 if (eax s<= 0) then 30 @ 0x11dd else 34 @ 0x11d1 0x11dd 30 rdi = rsp + 0x50 {var_58} 0x11e2 31 rsi = rsp {var_a8} 0x11e5 32 call(0x1040) 0x11ec 33 if (eax != 0) then 38 @ 0x11fa else 42 @ 0x11ee 0x11d1 34 edi = 0x3e {""} 0x11d6 35 eax = 0 0x11d8 36 call(0x1050) 0x11d8 37 goto 30 @ 0x11dd 0x11fa 38 rdi = rsp + 0x50 {var_58} 0x11ff 39 rsi = rsp {var_a8} 0x1202 40 call(0x1040) 0x1209 41 if (eax s>= 0) then 46 @ 0x1217 else 49 @ 0x120b 0x11ee 42 edi = 0x3d {""} 0x11f3 43 eax = 0 0x11f5 44 call(0x1050) 0x11f5 45 goto 38 @ 0x11fa 0x1217 46 rsp = rsp + 0xa0 0x121e 47 rbx = pop 0x121f 48 <return> jump(pop) 0x120b 49 edi = 0x3c {""} 0x1210 50 eax = 0 0x1212 51 call(0x1050) 0x1212 52 goto 46 @ 0x1217 int64_t _fini(): 0x1224 0 rsp = rsp - 8 0x1228 1 rsp = rsp + 8 0x122c 2 <return> jump(pop)
POJ_95
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x1b0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x1c {var_24}].d = 0 0x1169 5 rdi = 0x2007 {"%d"} 0x1170 6 rsi = rbp - 0x14 {var_1c} 0x1174 7 al = 0 0x1176 8 call(0x1040) 0x117b 9 [rbp - 0x18 {var_20}].d = 0 0x117b 10 goto 11 @ 0x1182 0x1182 11 eax = [rbp - 0x18 {var_20}].d 0x1188 12 if (eax s>= [rbp - 0x14 {var_1c}].d) then 13 @ 0x1214 else 21 @ 0x118e 0x1214 13 eax = [rbp - 0x14 {var_1c}].d 0x1217 14 eax = eax - 1 0x121a 15 rax = sx.q(eax) 0x121c 16 ecx = [rbp + (rax << 2) - 0x1b0].d 0x1223 17 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x1227 18 [rbp + (rax << 2) - 0x1b0].d = ecx 0x122e 19 [rbp - 0x18 {var_20_1}].d = 0 0x122e 20 goto 27 @ 0x1235 0x118e 21 rdi = 0x2004 {"%d %d"} 0x1195 22 rsi = rbp - 8 {var_10} 0x1199 23 rdx = rbp - 0x10 {var_18} 0x119d 24 al = 0 0x119f 25 call(0x1040) 0x11a8 26 if ([rbp - 8 {var_10}].d s< 0x5a) then 29 @ 0x11eb else 33 @ 0x11b5 0x1235 27 eax = [rbp - 0x18 {var_20_1}].d 0x123b 28 if (eax s>= [rbp - 0x14 {var_1c}].d) then 34 @ 0x12f4 else 42 @ 0x1245 0x11eb 29 [rbp - 0x1c {var_24}].d = 0 0x11f2 30 rax = sx.q([rbp - 0x18 {var_20}].d) 0x11f6 31 [rbp + (rax << 2) - 0x1b0].d = 0 0x11f6 32 goto 43 @ 0x1201 0x11b5 33 if ([rbp - 8 {var_10}].d s> 0x8c) then 29 @ 0x11eb else 44 @ 0x11bf 0x12f4 34 esi = [rbp - 0xc {var_14}].d 0x12f7 35 rdi = 0x2007 {"%d"} 0x12fe 36 al = 0 0x1300 37 call(0x1030) 0x1305 38 eax = 0 0x1307 39 rsp = rsp + 0x1b0 0x130e 40 rbp = pop 0x130f 41 <return> jump(pop) 0x1245 42 if ([rbp - 0x14 {var_1c}].d != 1) then 45 @ 0x1259 else 51 @ 0x124b 0x1201 43 goto 54 @ 0x1206 0x11bf 44 if ([rbp - 0x10 {var_18}].d s< 0x3c) then 29 @ 0x11eb else 58 @ 0x11c9 0x1259 45 eax = [rbp - 0x18 {var_20_1}].d 0x125c 46 eax = eax + 1 0x125f 47 rax = sx.q(eax) 0x1261 48 eax = [rbp + (rax << 2) - 0x1b0].d 0x1268 49 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x1273 50 if (eax s<= [rbp + (rcx << 2) - 0x1b0].d) then 59 @ 0x1290 else 79 @ 0x1279 0x124b 51 eax = [rbp - 0x1b0 {var_1b8}].d 0x1251 52 [rbp - 0xc {var_14}].d = eax 0x1254 53 goto 85 @ 0x12e1 0x1206 54 eax = [rbp - 0x18 {var_20}].d 0x1209 55 eax = eax + 1 0x120c 56 [rbp - 0x18 {var_20}].d = eax 0x120f 57 goto 11 @ 0x1182 0x11c9 58 if ([rbp - 0x10 {var_18}].d s> 0x5a) then 29 @ 0x11eb else 86 @ 0x11cf 0x1290 59 eax = [rbp - 0x18 {var_20_1}].d 0x1293 60 eax = eax + 1 0x1296 61 rax = sx.q(eax) 0x1298 62 eax = [rbp + (rax << 2) - 0x1b0].d 0x129f 63 [rbp - 0xc {var_14_1}].d = eax 0x12a2 64 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x12a6 65 ecx = [rbp + (rax << 2) - 0x1b0].d 0x12ad 66 eax = [rbp - 0x18 {var_20_1}].d 0x12b0 67 eax = eax + 1 0x12b3 68 rax = sx.q(eax) 0x12b5 69 [rbp + (rax << 2) - 0x1b0].d = ecx 0x12bc 70 ecx = [rbp - 0xc {var_14_1}].d 0x12bf 71 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x12c3 72 [rbp + (rax << 2) - 0x1b0].d = ecx 0x12ca 73 eax = [rbp - 0x18 {var_20_1}].d 0x12cd 74 eax = eax + 1 0x12d0 75 rax = sx.q(eax) 0x12d2 76 eax = [rbp + (rax << 2) - 0x1b0].d 0x12d9 77 [rbp - 0xc {var_14}].d = eax 0x12d9 78 goto 93 @ 0x12dc 0x1279 79 eax = [rbp - 0x18 {var_20_1}].d 0x127c 80 eax = eax + 1 0x127f 81 rax = sx.q(eax) 0x1281 82 eax = [rbp + (rax << 2) - 0x1b0].d 0x1288 83 [rbp - 0xc {var_14}].d = eax 0x128b 84 goto 93 @ 0x12dc 0x12e1 85 goto 94 @ 0x12e6 0x11cf 86 eax = [rbp - 0x1c {var_24}].d 0x11d2 87 eax = eax + 1 0x11d5 88 [rbp - 0x1c {var_24}].d = eax 0x11d8 89 ecx = [rbp - 0x1c {var_24}].d 0x11db 90 rax = sx.q([rbp - 0x18 {var_20}].d) 0x11df 91 [rbp + (rax << 2) - 0x1b0].d = ecx 0x11e6 92 goto 43 @ 0x1201 0x12dc 93 goto 85 @ 0x12e1 0x12e6 94 eax = [rbp - 0x18 {var_20_1}].d 0x12e9 95 eax = eax + 1 0x12ec 96 [rbp - 0x18 {var_20_1}].d = eax 0x12ef 97 goto 27 @ 0x1235 int64_t _fini(): 0x1314 0 rsp = rsp - 8 0x1318 1 rsp = rsp + 8 0x131c 2 <return> jump(pop)
POJ_82
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t 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) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVAUATSH "} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0xb18 0x1181 7 rdi = 0x2013 {"%d"} 0x1188 8 ebx = 0 0x118a 9 rsi = rsp + 0x10 {var_b38} 0x118f 10 eax = 0 0x1191 11 call(0x1050) 0x119b 12 if ([rsp + 0x10 {var_b38}].d s<= 0) then 13 @ 0x1461 else 26 @ 0x11a1 0x1461 13 rdi = 0x2016 {"%d\n"} 0x1468 14 esi = ebx 0x146a 15 eax = 0 0x146c 16 call(0x1030) 0x1471 17 eax = 0 0x1473 18 rsp = rsp + 0xb18 0x147a 19 rbx = pop 0x147b 20 r12 = pop 0x147d 21 r13 = pop 0x147f 22 r14 = pop 0x1481 23 r15 = pop 0x1483 24 rbp = pop 0x1484 25 <return> jump(pop) 0x11a1 26 r13 = rsp + 0x340 {var_808} 0x11a9 27 rbp = rsp + 0xe {var_b3a} 0x11ae 28 r12d = 0 0x11b1 29 goto 30 @ 0x11d9 0x11d9 30 [rsp + (r12 << 2) + 0x20].d = 0 0x11e2 31 rax = rsp + 0x14 {var_b34} 0x11e7 32 [rsp {var_b48}].q = rax {var_b34} 0x11eb 33 rdi = 0x2004 {"%s %d %d %c %c %d"} 0x11f2 34 rsi = r13 0x11f5 35 rdx = rsp + 0x1c {var_b2c} 0x11fa 36 rcx = rsp + 0x18 {var_b30} 0x11ff 37 r8 = rsp + 0xf {var_b39} 0x1204 38 r9 = rbp {var_b3a} 0x1207 39 eax = 0 0x1209 40 call(0x1050) 0x120e 41 ecx = [rsp + 0x1c {var_b2c}].d 0x1212 42 esi = 0 0x121a 43 if (ecx s< 0x51) then 44 @ 0x1239 else 48 @ 0x121c 0x1239 44 al = ecx s>= 0x56 0x123c 45 edi = [rsp + 0x18 {var_b30}].d 0x1243 46 bl = edi s>= 0x51 0x1248 47 if ((al & bl) == 0) then 51 @ 0x1250 else 53 @ 0x124a 0x121c 48 cond:0 = [rsp + 0x14 {var_b34}].d s<= 0 0x1221 49 esi = 0 0x1226 50 if (cond:0) then 44 @ 0x1239 else 55 @ 0x1228 0x1250 51 edx = (rsi + 0x7d0).d 0x1259 52 if (ecx s< 0x5b) then 58 else 60 @ 0x125e 0x124a 53 esi = esi + 0xfa0 0x124a 54 goto 51 @ 0x1250 0x1228 55 [rsp + (r12 << 2) + 0x20].d = 0x1f40 {""} 0x1231 56 esi = 0x1f40 {""} 0x1231 57 goto 44 @ 0x1239 0x1259 58 edx = esi 0x1259 59 goto 60 @ 0x125e 0x125e 60 if ((al & bl) != 0) then 61 @ 0x1265 else 63 @ 0x1263 0x1265 61 [rsp + (r12 << 2) + 0x20].d = edx 0x1265 62 goto 64 @ 0x126f 0x1263 63 if (ecx s< 0x5b) then 64 @ 0x126f else 61 @ 0x1265 0x126f 64 if ([rsp + 0xe {var_b3a}].b != 0x59) then 65 @ 0x1286 else 66 @ 0x1274 0x1286 65 if ([rsp + 0xf {var_b39}].b != 0x59) then 67 @ 0x11c0 else 72 @ 0x128f 0x1274 66 if (ecx s< 0x56) then 65 @ 0x1286 else 73 @ 0x1276 0x11c0 67 r12 = r12 + 1 0x11c4 68 r14d = [rsp + 0x10 {var_b38}].d 0x11c9 69 r15 = sx.q(r14d) 0x11cc 70 r13 = r13 + 0x14 0x11d3 71 if (r12 s>= r15) then 76 @ 0x12a8 else 30 @ 0x11d9 0x128f 72 if (edi s< 0x51) then 67 @ 0x11c0 else 77 @ 0x1295 0x1276 73 edx = edx + 0x3e8 0x127c 74 [rsp + (r12 << 2) + 0x20].d = edx 0x127c 75 goto 65 @ 0x1286 0x12a8 76 if (r14d s<= 0) then 80 @ 0x12d3 else 82 @ 0x12aa 0x1295 77 edx = edx + 0x352 0x129b 78 [rsp + (r12 << 2) + 0x20].d = edx 0x12a0 79 goto 67 @ 0x11c0 0x12d3 80 ebx = 0 0x12d5 81 goto 13 @ 0x1461 0x12aa 82 rdx = r14 << 2 0x12b2 83 rdi = rsp + 0x1b0 {var_998} 0x12ba 84 rsi = rsp + 0x20 {var_b28} 0x12bf 85 call(0x1040) 0x12c8 86 if (r14d u>= 8) then 87 @ 0x12da else 96 @ 0x12ca 0x12da 87 eax = r14d 0x12dd 88 eax = eax & 0xfffffff8 0x12e0 89 rdx = rax - 8 0x12e4 90 rsi = rdx 0x12e7 91 rsi = rsi u>> 3 0x12eb 92 rsi = rsi + 1 0x12ef 93 ecx = esi 0x12f1 94 ecx = ecx & 3 0x12f8 95 if (rdx u>= 0x18) then 99 @ 0x1306 else 104 @ 0x12fa 0x12ca 96 eax = 0 0x12cc 97 ebx = 0 0x12ce 98 goto 108 @ 0x13c0 0x1306 99 rsi = rsi & 0xfffffffffffffffc 0x130a 100 xmm0 = 0 0x130e 101 edx = 0 0x1310 102 xmm1 = 0 0x131e 103 goto 111 @ 0x1320 0x12fa 104 xmm0 = 0 0x12fe 105 edx = 0 0x1300 106 xmm1 = 0 0x1304 107 goto 123 @ 0x1363 0x13c0 108 ebx = ebx + [rsp + (rax << 2) + 0x20].d 0x13c4 109 rax = rax + 1 0x13cb 110 if (r14 != rax) then 108 @ 0x13c0 else 124 @ 0x13d0 0x1320 111 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x20].o) 0x1326 112 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x30].o) 0x132c 113 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x40].o) 0x1332 114 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x50].o) 0x1338 115 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x60].o) 0x133e 116 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x70].o) 0x1344 117 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x80].o) 0x134d 118 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x90].o) 0x1356 119 rdx = rdx + 0x20 0x135a 120 temp0.q = rsi 0x135a 121 rsi = rsi - 4 0x135e 122 if (temp0.q != 4) then 111 @ 0x1320 else 123 @ 0x1363 0x1363 123 if (rcx == 0) then 125 @ 0x1394 else 132 @ 0x1365 0x13d0 124 if (r14d s<= 0) then 13 @ 0x1461 else 137 @ 0x13d6 0x1394 125 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1398 126 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x139d 127 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x13a1 128 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x13a6 129 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x13aa 130 ebx = xmm0.d 0x13b1 131 if (rax == r14) then 124 @ 0x13d0 else 142 @ 0x13bd 0x1365 132 rdx = rsp + (rdx << 2) 0x1369 133 rdx = rdx + 0x30 0x136d 134 rcx = rcx << 5 0x1371 135 esi = 0 0x137d 136 goto 143 @ 0x1380 0x13d6 137 ecx = [rsp + 0x20 {var_b28}].d 0x13da 138 rdx = r14 - 1 0x13de 139 eax = r14d 0x13e1 140 eax = eax & 3 0x13e8 141 if (rdx u>= 3) then 147 @ 0x1485 else 152 @ 0x13ee 0x13bd 142 goto 108 @ 0x13c0 0x1380 143 xmm0 = __paddd_xmmdq_memdq(xmm0, [rdx + rsi - 0x10].o) 0x1386 144 xmm1 = __paddd_xmmdq_memdq(xmm1, [rdx + rsi].o) 0x138b 145 rsi = rsi + 0x20 0x1392 146 if (rcx != rsi) then 143 @ 0x1380 else 125 @ 0x1394 0x1485 147 edx = r14d 0x1488 148 edx = edx & 0xfffffffc 0x148b 149 esi = 0 0x148d 150 ebp = ecx 0x148f 151 goto 154 @ 0x14b2 0x13ee 152 edi = 0 0x13ee 153 goto 157 @ 0x13f3 0x14b2 154 ecx = [rsp + (rsi << 2) + 0x24].d 0x14b6 155 edi = [rsp + (rsi << 2) + 0x28].d 0x14bc 156 if (ebp s> ecx) then 158 else 160 @ 0x14bf 0x13f3 157 if (rax == 0) then 162 @ 0x1414 else 166 @ 0x13f5 0x14bc 158 ecx = ebp 0x14bc 159 goto 160 @ 0x14bf 0x14bf 160 [rsp + (rsi << 2) + 0x24].d = ecx 0x14c5 161 if (ecx s> edi) then 170 @ 0x14c9 else 173 @ 0x14c7 0x1414 162 eax = [rsp + (r15 << 2) + 0x1c].d 0x1419 163 edx = r14d 0x141c 164 ecx = 0 0x141e 165 goto 175 @ 0x1427 0x13f5 166 rdx = rsp + (rdi << 2) 0x13f9 167 rdx = rdx + 0x24 0x13fd 168 esi = 0 0x13ff 169 goto 176 @ 0x1400 0x14c9 170 [rsp + (rsi << 2) + 0x28].d = ecx 0x14cd 171 edi = [rsp + (rsi << 2) + 0x2c].d 0x14d3 172 if (ecx s> edi) then 178 @ 0x14d7 else 182 @ 0x14d5 0x14c7 173 ecx = edi 0x14c7 174 goto 170 @ 0x14c9 0x1427 175 if ([rsp + (rcx << 2) + 0x1b0].d == eax) then 184 @ 0x1434 else 195 @ 0x1429 0x1400 176 edi = [rdx + (rsi << 2)].d 0x1405 177 if (ecx s<= edi) then 197 else 199 @ 0x1408 0x14d7 178 [rsp + (rsi << 2) + 0x2c].d = ecx 0x14db 179 rdi = rsi + 4 0x14df 180 ebp = [rsp + (rsi << 2) + 0x30].d 0x14e5 181 if (ecx s> ebp) then 202 @ 0x14a0 else 206 @ 0x14e7 0x14d5 182 ecx = edi 0x14d5 183 goto 178 @ 0x14d7 0x1434 184 eax = ecx 0x1436 185 rax = rax + (rax << 2) 0x143a 186 rdi = rsp + (rax << 2) 0x143e 187 rdi = rdi + 0x340 0x1445 188 call(0x1060) 0x144a 189 rax = sx.q([rsp + 0x10 {var_b38}].d) 0x144f 190 esi = [rsp + (rax << 2) + 0x1c].d 0x1453 191 rdi = 0x2016 {"%d\n"} 0x145a 192 eax = 0 0x145c 193 call(0x1030) 0x145c 194 goto 13 @ 0x1461 0x1429 195 rcx = rcx + 1 0x1430 196 if (rdx != rcx) then 175 @ 0x1427 else 208 @ 0x1432 0x1405 197 ecx = edi 0x1405 198 goto 199 @ 0x1408 0x1408 199 [rdx + (rsi << 2)].d = ecx 0x140b 200 rsi = rsi + 1 0x1412 201 if (rax != rsi) then 176 @ 0x1400 else 162 @ 0x1414 0x14a0 202 [rsp + (rsi << 2) + 0x30].d = ecx 0x14a4 203 ebp = ecx 0x14a6 204 rsi = rdi 0x14ac 205 if (rdx == rdi) then 157 @ 0x13f3 else 154 @ 0x14b2 0x14e7 206 ecx = ebp 0x14e9 207 goto 202 @ 0x14a0 0x1432 208 goto 13 @ 0x1461 int64_t _fini(): 0x14f0 0 rsp = rsp - 8 0x14f4 1 rsp = rsp + 8 0x14f8 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 {"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) 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 {"UHAWAVAUATSHxH="} 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 0x1164 2 push(r15) 0x1166 3 push(r14) 0x1168 4 push(r13) 0x116a 5 push(r12) 0x116c 6 push(rbx) 0x116d 7 rsp = rsp - 0x78 0x1171 8 rdi = 0x2010 {"%d\n"} 0x1178 9 rsi = rbp - 0x2c {var_34} 0x117c 10 eax = 0 0x117e 11 call(0x1040) 0x1183 12 r13 = rsp {var_a8} 0x1186 13 eax = [rbp - 0x2c {var_34}].d 0x1189 14 r15 = rsp {var_a8} 0x118c 15 rax = (rax << 2) + 0xf 0x1194 16 rax = rax & 0xfffffffffffffff0 0x1198 17 r15 = r15 - rax 0x119b 18 rsp = r15 0x119e 19 eax = [rbp - 0x2c {var_34}].d 0x11a1 20 r9 = rsp 0x11a4 21 rcx = (rax << 2) + 0xf 0x11ac 22 rcx = rcx & 0xfffffffffffffff0 0x11b0 23 r9 = r9 - rcx 0x11b3 24 rsp = r9 0x11b6 25 r10 = rsp 0x11b9 26 r10 = r10 - rcx 0x11bc 27 rsp = r10 0x11bf 28 cond:0 = eax s<= 0 0x11c1 29 [rbp - 0x38 {var_40}].q = r15 0x11c5 30 [rbp - 0x50 {var_58}].q = r9 0x11c9 31 [rbp - 0x48 {var_50}].q = r10 0x11cd 32 if (cond:0) then 33 @ 0x1218 else 53 @ 0x11cf 0x1218 33 ecx = (rax - 1).d 0x121b 34 ecx = ecx * eax 0x121e 35 edx = ecx 0x1220 36 edx = edx u>> 0x1f 0x1223 37 edx = edx + ecx 0x1225 38 edx = edx s>> 1 0x1227 39 rsi = (rdx << 3) + 0xf 0x122f 40 rsi = rsi & 0xfffffffffffffff0 0x1233 41 r14 = rsp 0x1236 42 r14 = r14 - rsi 0x1239 43 rsp = r14 0x123c 44 rsi = (rdx << 2) + 0xf 0x1244 45 rsi = rsi & 0xfffffffffffffff0 0x1248 46 r15 = rsp 0x124b 47 r15 = r15 - rsi 0x124e 48 rsp = r15 0x1251 49 r12 = rsp 0x1254 50 r12 = r12 - rsi 0x1257 51 rsp = r12 0x125c 52 if (eax s<= 0) then 57 @ 0x13cd else 59 @ 0x1262 0x11cf 53 r12 = r9 0x11d2 54 r14 = r10 0x11d5 55 ebx = 0 0x11d7 56 goto 72 @ 0x11e0 0x13cd 57 xmm4.q = float.d(edx) 0x13d4 58 if (ecx s< 4) then 84 @ 0x146d else 87 @ 0x13da 0x1262 59 [rbp - 0x60 {var_68_1}].q = r15 0x1266 60 [rbp - 0x70 {var_78_1}].q = r13 {var_a8} 0x126a 61 r11 = r10 + 4 0x126e 62 r15 = r9 + 4 0x1272 63 rcx = [rbp - 0x38 {var_40}].q 0x1276 64 r13 = rcx + 4 0x127a 65 ebx = 0 0x127c 66 r8d = 1 0x1282 67 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1286 68 [rbp - 0x3c {var_44_1}].d = 0 0x128d 69 [rbp - 0x80 {var_88_1}].q = r14 0x1291 70 [rbp - 0x78 {var_80_1}].q = r12 0x1295 71 goto 91 @ 0x12cc 0x11e0 72 rdi = 0x2014 {"%d %d %d "} 0x11e7 73 rsi = r15 0x11ea 74 rdx = r12 0x11ed 75 rcx = r14 0x11f0 76 eax = 0 0x11f2 77 call(0x1040) 0x11f7 78 rbx = rbx + 1 0x11fb 79 rax = sx.q([rbp - 0x2c {var_34}].d) 0x11ff 80 r14 = r14 + 4 0x1203 81 r12 = r12 + 4 0x1207 82 r15 = r15 + 4 0x120e 83 if (rbx s< rax) then 72 @ 0x11e0 else 95 @ 0x1210 0x146d 84 cond:1 = ecx s< 2 0x1470 85 rdi = [rbp - 0x38 {var_40}].q 0x1474 86 if (cond:1) then 98 @ 0x14e7 else 108 @ 0x1476 0x13da 87 eax = 1 0x13df 88 xmm2 = zx.o([0x2008].q) 0x13e7 89 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x13eb 90 goto 111 @ 0x1400 0x12cc 91 rcx = rbx + 1 0x12d0 92 rsi = sx.q(eax) 0x12d3 93 [rbp - 0x68 {var_70_1}].q = rcx 0x12da 94 if (rcx s>= rsi) then 120 @ 0x12af else 126 @ 0x12dc 0x1210 95 r9 = [rbp - 0x50 {var_58}].q 0x1214 96 r10 = [rbp - 0x48 {var_50}].q 0x1214 97 goto 33 @ 0x1218 0x14e7 98 rsp = r13 0x14ea 99 eax = 0 0x14ec 100 rsp = rbp - 0x28 0x14f0 101 rbx = pop 0x14f1 102 r12 = pop 0x14f3 103 r13 = pop 0x14f5 104 r14 = pop 0x14f7 105 r15 = pop 0x14f9 106 rbp = pop 0x14fa 107 <return> jump(pop) 0x1476 108 ebx = 0 0x1478 109 [rbp - 0x58 {var_60_2}].q = xmm4.q 0x147d 110 goto 138 @ 0x1480 0x1400 111 xmm1 = xmm4 0x1404 112 xmm1.q = xmm1.q f- xmm2.q 0x1408 113 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x1408 114 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1408 115 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1408 116 flag:s = 0 0x1408 117 flag:o = 0 0x1408 118 flag:a = 0 0x140c 119 if (flag:z || flag:c) then 169 @ 0x13f0 else 179 @ 0x140e 0x12af 120 rbx = [rbp - 0x68 {var_70_1}].q 0x12b3 121 r8 = r8 + 1 0x12b7 122 r11 = r11 + 4 0x12bb 123 r15 = r15 + 4 0x12bf 124 r13 = r13 + 4 0x12c6 125 if (rbx s>= rsi) then 182 @ 0x13b6 else 91 @ 0x12cc 0x12dc 126 rax = sx.q([rbp - 0x3c {var_44_1}].d) 0x12e0 127 rsi = r14 + (rax << 3) 0x12e4 128 rcx = [rbp - 0x60 {var_68_1}].q 0x12e8 129 rdi = rcx + (rax << 2) 0x12ec 130 rdx = r12 + (rax << 2) 0x12f0 131 r12d = 0 0x12f3 132 r14 = [rbp - 0x38 {var_40}].q 0x12f7 133 [rbp - 0x58 {var_60_1}].q = r8 0x12fb 134 [rbp - 0x98 {var_a0_1}].q = rsi 0x1302 135 [rbp - 0x90 {var_98_1}].q = rdi 0x1309 136 [rbp - 0x88 {var_90_1}].q = rdx 0x1310 137 goto 191 @ 0x1379 0x1480 138 rax = sx.q([r15 + (rbx << 2)].d) 0x1484 139 esi = [rdi + (rax << 2)].d 0x1487 140 edx = [r9 + (rax << 2)].d 0x148b 141 ecx = [r10 + (rax << 2)].d 0x148f 142 rax = sx.q([r12 + (rbx << 2)].d) 0x1493 143 r8d = [rdi + (rax << 2)].d 0x1497 144 rdi = [rbp - 0x50 {var_58}].q 0x149b 145 r9d = [rdi + (rax << 2)].d 0x149f 146 rdi = [rbp - 0x48 {var_50}].q 0x14a3 147 r10d = [rdi + (rax << 2)].d 0x14a7 148 xmm0 = zx.o([r14 + (rbx << 3)].q) 0x14ad 149 rsp = rsp - 8 0x14b1 150 rdi = 0x201e {"(%d,%d,%d)-(%d,%d,%d)=%.2lf\n"} 0x14b8 151 al = 1 0x14ba 152 push(r10) 0x14bc 153 call(0x1030) 0x14c1 154 xmm4 = zx.o([rbp - 0x58 {var_60_2}].q) 0x14c6 155 r10 = [rbp - 0x48 {var_50}].q 0x14ca 156 r9 = [rbp - 0x50 {var_58}].q 0x14ce 157 rdi = [rbp - 0x38 {var_40}].q 0x14d2 158 rsp = rsp + 0x10 0x14d6 159 rbx = rbx + 1 0x14da 160 xmm0 = 0 0x14dd 161 xmm0.q = float.d(ebx) 0x14e1 162 flag:p = is_unordered.q(xmm4.q, xmm0.q) 0x14e1 163 flag:c = xmm4.q f< xmm0.q | is_unordered.q(xmm4.q, xmm0.q) 0x14e1 164 flag:z = xmm4.q f== xmm0.q | is_unordered.q(xmm4.q, xmm0.q) 0x14e1 165 flag:s = 0 0x14e1 166 flag:o = 0 0x14e1 167 flag:a = 0 0x14e5 168 if (not(flag:z) && not(flag:c)) then 138 @ 0x1480 else 98 @ 0x14e7 0x13f0 169 eax = eax + 1 0x13f3 170 xmm2 = 0 0x13f6 171 xmm2.q = float.d(eax) 0x13fa 172 flag:p = is_unordered.q(xmm4.q, xmm2.q) 0x13fa 173 flag:c = xmm4.q f< xmm2.q | is_unordered.q(xmm4.q, xmm2.q) 0x13fa 174 flag:z = xmm4.q f== xmm2.q | is_unordered.q(xmm4.q, xmm2.q) 0x13fa 175 flag:s = 0 0x13fa 176 flag:o = 0 0x13fa 177 flag:a = 0 0x13fe 178 if (flag:z || flag:c) then 84 @ 0x146d else 111 @ 0x1400 0x140e 179 xmm2 = zx.o([r14].q) 0x1413 180 edx = 1 0x1418 181 goto 211 @ 0x144a 0x13b6 182 ecx = (rax - 1).d 0x13b9 183 ecx = ecx * eax 0x13bc 184 edx = ecx 0x13be 185 edx = edx u>> 0x1f 0x13c1 186 edx = edx + ecx 0x13c3 187 edx = edx s>> 1 0x13c5 188 r13 = [rbp - 0x70 {var_78}].q {var_a8} 0x13c9 189 r15 = [rbp - 0x60 {var_68_1}].q 0x13c9 190 goto 57 @ 0x13cd 0x1379 191 eax = [r14 + (rbx << 2)].d 0x137d 192 eax = eax - [r13 + (r12 << 2)].d 0x1382 193 ecx = [r9 + (rbx << 2)].d 0x1386 194 ecx = ecx - [r15 + (r12 << 2)].d 0x138a 195 eax = eax * eax 0x138d 196 ecx = ecx * ecx 0x1390 197 ecx = ecx + eax 0x1392 198 eax = [r10 + (rbx << 2)].d 0x1396 199 eax = eax - [r11 + (r12 << 2)].d 0x139a 200 eax = eax * eax 0x139d 201 eax = eax + ecx 0x139f 202 xmm0 = 0 0x13a2 203 xmm0.q = float.d(eax) 0x13a6 204 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x13a6 205 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13a6 206 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13a6 207 flag:s = 0 0x13a6 208 flag:o = 0 0x13a6 209 flag:a = 0 0x13aa 210 if (flag:c) then 219 @ 0x1320 else 231 @ 0x13b0 0x144a 211 xmm3 = zx.o([r14 + (rdx << 3)].q) 0x1450 212 flag:p = is_unordered.q(xmm3.q, xmm2.q) 0x1450 213 flag:c = xmm3.q f< xmm2.q | is_unordered.q(xmm3.q, xmm2.q) 0x1450 214 flag:z = xmm3.q f== xmm2.q | is_unordered.q(xmm3.q, xmm2.q) 0x1450 215 flag:s = 0 0x1450 216 flag:o = 0 0x1450 217 flag:a = 0 0x1454 218 if (not(flag:z) && not(flag:c)) then 233 @ 0x1420 else 247 @ 0x1456 0x1320 219 r14 = r11 0x1323 220 call(0x1050) 0x1328 221 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x132c 222 r8 = [rbp - 0x58 {var_60_1}].q 0x1330 223 r11 = r14 0x1333 224 rdx = [rbp - 0x88 {var_90_1}].q 0x133a 225 rdi = [rbp - 0x90 {var_98_1}].q 0x1341 226 rsi = [rbp - 0x98 {var_a0_1}].q 0x1348 227 r10 = [rbp - 0x48 {var_50}].q 0x134c 228 r9 = [rbp - 0x50 {var_58}].q 0x1350 229 r14 = [rbp - 0x38 {var_40}].q 0x1350 230 goto 258 @ 0x1354 0x13b0 231 xmm0 = _mm_sqrt_sd(xmm0.q) 0x13b4 232 goto 258 @ 0x1354 0x1420 233 [r15 + (rdx << 2) - 4].q = rol.q([r15 + (rdx << 2) - 4].q, 0x20) 0x1426 234 [r14 + (rdx << 3) - 8].q = xmm3.q 0x142d 235 [r14 + (rdx << 3)].q = xmm2.q 0x1433 236 [r12 + (rdx << 2) - 4].q = rol.q([r12 + (rdx << 2) - 4].q, 0x20) 0x1439 237 xmm3 = 0 0x143c 238 xmm3.q = float.d(edx) 0x1440 239 rdx = rdx + 1 0x1444 240 flag:p = is_unordered.q(xmm1.q, xmm3.q) 0x1444 241 flag:c = xmm1.q f< xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x1444 242 flag:z = xmm1.q f== xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x1444 243 flag:s = 0 0x1444 244 flag:o = 0 0x1444 245 flag:a = 0 0x1448 246 if (flag:z || flag:c) then 169 @ 0x13f0 else 211 @ 0x144a 0x1456 247 xmm2 = xmm3 0x145a 248 xmm3 = 0 0x145d 249 xmm3.q = float.d(edx) 0x1461 250 rdx = rdx + 1 0x1465 251 flag:p = is_unordered.q(xmm1.q, xmm3.q) 0x1465 252 flag:c = xmm1.q f< xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x1465 253 flag:z = xmm1.q f== xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x1465 254 flag:s = 0 0x1465 255 flag:o = 0 0x1465 256 flag:a = 0 0x1469 257 if (not(flag:z) && not(flag:c)) then 211 @ 0x144a else 266 @ 0x146b 0x1354 258 [rsi + (r12 << 3)].q = xmm0.q 0x135a 259 [rdi + (r12 << 2)].d = ebx 0x135e 260 eax = (r8 + r12).d 0x1362 261 [rdx + (r12 << 2)].d = eax 0x1366 262 eax = [rbp - 0x2c {var_34}].d 0x1369 263 r12 = r12 + 1 0x136d 264 ecx = (r12 + r8).d 0x1373 265 if (eax s<= ecx) then 267 @ 0x12a0 else 191 @ 0x1379 0x146b 266 goto 169 @ 0x13f0 0x12a0 267 rsi = sx.q(eax) 0x12a3 268 [rbp - 0x3c {var_44_1}].d = [rbp - 0x3c {var_44_1}].d + r12d 0x12a7 269 r14 = [rbp - 0x80 {var_88_1}].q 0x12ab 270 r12 = [rbp - 0x78 {var_80_1}].q 0x12ab 271 goto 120 @ 0x12af int64_t _fini(): 0x1500 0 rsp = rsp - 8 0x1504 1 rsp = rsp + 8 0x1508 2 <return> jump(pop)
POJ_64
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 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 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 {"USH"} 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(rbx) 0x1162 2 rsp = rsp - 0xc8 0x1169 3 ebp = 0 0x116b 4 rbx = rsp {var_d8} 0x116e 5 rdi = rbx {var_d8} 0x1171 6 eax = 0 0x1173 7 call(0x1040) 0x1178 8 rdi = rbx {var_d8} 0x117b 9 call(0x1030) 0x1183 10 if (eax s< 2) then 11 @ 0x11e7 else 19 @ 0x1185 0x11e7 11 rdi = rsp {var_d8} 0x11ea 12 eax = 0 0x11ec 13 call(0x1050) 0x11f1 14 eax = 0 0x11f3 15 rsp = rsp + 0xc8 0x11fa 16 rbx = pop 0x11fb 17 rbp = pop 0x11fc 18 <return> jump(pop) 0x1185 19 rcx = sx.q(eax) 0x1188 20 rcx = rcx + 1 0x118c 21 edx = 1 0x1191 22 goto 23 @ 0x11aa 0x11aa 23 rsi = sx.q(edx) 0x11b2 24 if ([rsp + rsi - 1].b != 0x20) then 25 @ 0x11a3 else 27 @ 0x11b8 0x11a3 25 edx = edx + 1 0x11a8 26 if (edx s>= eax) then 11 @ 0x11e7 else 23 @ 0x11aa 0x11b8 27 if ([rsp + rsi].b != 0x20) then 25 @ 0x11a3 else 28 @ 0x11ba 0x11ba 28 rdx = rsi - 1 0x11c0 29 if (esi s> eax) then 30 @ 0x11a0 else 32 @ 0x11c2 0x11a0 30 ebp = ebp + 1 0x11a0 31 goto 25 @ 0x11a3 0x11c2 32 edi = eax 0x11c4 33 edi = edi - ebp 0x11c6 34 rdi = sx.q(edi) 0x11c9 35 goto 36 @ 0x11d0 0x11d0 36 ebx = zx.d([rsp + rsi].b) 0x11d4 37 [rsp + rsi - 1].b = bl 0x11d8 38 [rsp + rdi].b = 0 0x11dc 39 rsi = rsi + 1 0x11e3 40 if (rcx != rsi) then 36 @ 0x11d0 else 41 @ 0x11e5 0x11e5 41 goto 30 @ 0x11a0 int64_t _fini(): 0x1204 0 rsp = rsp - 8 0x1208 1 rsp = rsp + 8 0x120c 2 <return> jump(pop)
POJ_62
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH`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 - 0x30 {var_38} 0x1173 5 esi = 0 0x1175 6 edx = 0x20 {"@"} 0x117a 7 call(0x1040) 0x117f 8 rdi = rbp - 0x50 {var_58} 0x1183 9 esi = 0 0x1185 10 edx = 0x20 {"@"} 0x118a 11 call(0x1040) 0x118f 12 [rbp - 0x58 {var_60}].d = 0 0x118f 13 goto 14 @ 0x1196 0x1196 14 rdi = 0x2004 {"%c"} 0x119d 15 rsi = rbp - 0x51 {var_59} 0x11a1 16 al = 0 0x11a3 17 call(0x1050) 0x11a8 18 eax = sx.d([rbp - 0x51 {var_59}].b) 0x11af 19 if (eax s< 0x41) then 20 @ 0x11d6 else 22 @ 0x11b5 0x11d6 20 eax = sx.d([rbp - 0x51 {var_59}].b) 0x11dd 21 if (eax s< 0x61) then 24 @ 0x1204 else 25 @ 0x11e3 0x11b5 22 eax = sx.d([rbp - 0x51 {var_59}].b) 0x11bc 23 if (eax s> 0x5a) then 20 @ 0x11d6 else 27 @ 0x11c2 0x1204 24 goto 34 @ 0x1209 0x11e3 25 eax = sx.d([rbp - 0x51 {var_59}].b) 0x11ea 26 if (eax s> 0x7a) then 24 @ 0x1204 else 36 @ 0x11f0 0x11c2 27 eax = sx.d([rbp - 0x51 {var_59}].b) 0x11c6 28 eax = eax - 0x41 0x11c9 29 rax = sx.q(eax) 0x11cb 30 cl = [rbp + rax - 0x30].b 0x11cf 31 cl = cl + 1 0x11d2 32 [rbp + rax - 0x30].b = cl 0x11d2 33 goto 20 @ 0x11d6 0x1209 34 eax = sx.d([rbp - 0x51 {var_59}].b) 0x1210 35 if (eax != 0xa) then 14 @ 0x1196 else 43 @ 0x1216 0x11f0 36 eax = sx.d([rbp - 0x51 {var_59}].b) 0x11f4 37 eax = eax - 0x61 0x11f7 38 rax = sx.q(eax) 0x11f9 39 cl = [rbp + rax - 0x50].b 0x11fd 40 cl = cl + 1 0x1200 41 [rbp + rax - 0x50].b = cl 0x1200 42 goto 24 @ 0x1204 0x1216 43 [rbp - 0x52 {var_5a}].b = 0 0x1216 44 goto 45 @ 0x121a 0x121a 45 eax = sx.d([rbp - 0x52 {var_5a}].b) 0x1221 46 if (eax s>= 0x1a) then 47 @ 0x1272 else 49 @ 0x1227 0x1272 47 [rbp - 0x52 {var_5a_1}].b = 0 0x1272 48 goto 52 @ 0x1276 0x1227 49 rax = sx.q([rbp - 0x52 {var_5a}].b) 0x122c 50 eax = sx.d([rbp + rax - 0x30].b) 0x1234 51 if (eax == 0) then 54 @ 0x1260 else 55 @ 0x123a 0x1276 52 eax = sx.d([rbp - 0x52 {var_5a_1}].b) 0x127d 53 if (eax s>= 0x1a) then 64 @ 0x12d2 else 65 @ 0x1283 0x1260 54 goto 68 @ 0x1265 0x123a 55 esi = sx.d([rbp - 0x52 {var_5a}].b) 0x123e 56 esi = esi + 0x41 0x1241 57 rax = sx.q([rbp - 0x52 {var_5a}].b) 0x1246 58 edx = sx.d([rbp + rax - 0x30].b) 0x124b 59 rdi = 0x2007 {"%c=%d\n"} 0x1252 60 al = 0 0x1254 61 call(0x1030) 0x1259 62 [rbp - 0x58 {var_60}].d = 1 0x1259 63 goto 54 @ 0x1260 0x12d2 64 if ([rbp - 0x58 {var_60}].d == 1) then 72 @ 0x12e6 else 76 @ 0x12d8 0x1283 65 rax = sx.q([rbp - 0x52 {var_5a_1}].b) 0x1288 66 eax = sx.d([rbp + rax - 0x50].b) 0x1290 67 if (eax == 0) then 80 @ 0x12bc else 81 @ 0x1296 0x1265 68 al = [rbp - 0x52 {var_5a}].b 0x1268 69 al = al + 1 0x126a 70 [rbp - 0x52 {var_5a}].b = al 0x126d 71 goto 45 @ 0x121a 0x12e6 72 eax = 0 0x12e8 73 rsp = rsp + 0x60 0x12ec 74 rbp = pop 0x12ed 75 <return> jump(pop) 0x12d8 76 rdi = 0x200e {"No\n"} 0x12df 77 al = 0 0x12e1 78 call(0x1030) 0x12e1 79 goto 72 @ 0x12e6 0x12bc 80 goto 90 @ 0x12c1 0x1296 81 esi = sx.d([rbp - 0x52 {var_5a_1}].b) 0x129a 82 esi = esi + 0x61 0x129d 83 rax = sx.q([rbp - 0x52 {var_5a_1}].b) 0x12a2 84 edx = sx.d([rbp + rax - 0x50].b) 0x12a7 85 rdi = 0x2007 {"%c=%d\n"} 0x12ae 86 al = 0 0x12b0 87 call(0x1030) 0x12b5 88 [rbp - 0x58 {var_60}].d = 1 0x12b5 89 goto 80 @ 0x12bc 0x12c1 90 al = [rbp - 0x52 {var_5a_1}].b 0x12c4 91 al = al + 1 0x12c6 92 [rbp - 0x52 {var_5a_1}].b = al 0x12c9 93 goto 52 @ 0x1276 int64_t _fini(): 0x12f4 0 rsp = rsp - 8 0x12f8 1 rsp = rsp + 8 0x12fc 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 - 0x1a0 0x115c 4 r14 = 0x2004 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_1ac} 0x1168 6 rdi = r14 0x116b 7 eax = 0 0x116d 8 call(0x1040) 0x1172 9 r15 = rsp + 0x10 {var_1a8} 0x1177 10 ebx = 0 0x1179 11 goto 12 @ 0x1180 0x1180 12 rdi = r14 0x1183 13 rsi = r15 0x1186 14 eax = 0 0x1188 15 call(0x1040) 0x118d 16 rax = sx.q([rsp + 0xc {var_1ac}].d) 0x1192 17 rbx = rbx + 1 0x1196 18 r15 = r15 + 4 0x119d 19 if (rbx s< rax) then 12 @ 0x1180 else 20 @ 0x119f 0x119f 20 r8d = eax 0x11a2 21 edx = [rsp + 0x10 {var_1a8}].d 0x11aa 22 if (r8d s>= 2) then 23 @ 0x11b0 else 25 @ 0x11ac 0x11b0 23 r8 = r8 + 1 0x11b8 24 if (r8d != 3) then 27 @ 0x11f7 else 34 @ 0x11ba 0x11ac 25 esi = edx 0x11ae 26 goto 37 @ 0x11da 0x11f7 27 r9 = r8 - 2 0x11fb 28 r9 = r9 & 0xfffffffffffffffe 0x11ff 29 r9 = neg.q(r9) 0x1202 30 ecx = 1 0x1207 31 ebx = edx 0x1209 32 eax = edx 0x120b 33 goto 46 @ 0x122e 0x11ba 34 ecx = 1 0x11bf 35 esi = edx 0x11bf 36 goto 48 @ 0x11c5 0x11da 37 rdi = 0x2007 {"%d\n%d\n"} 0x11e1 38 eax = 0 0x11e3 39 call(0x1030) 0x11e8 40 eax = 0 0x11ea 41 rsp = rsp + 0x1a0 0x11f1 42 rbx = pop 0x11f2 43 r14 = pop 0x11f4 44 r15 = pop 0x11f6 45 <return> jump(pop) 0x122e 46 edi = [rsp + (rcx << 2) + 0x10].d 0x1234 47 if (ebx s< edi) then 49 else 51 @ 0x1237 0x11c5 48 if ((r8b & 1) == 0) then 37 @ 0x11da else 53 @ 0x11c7 0x1234 49 ebx = edi 0x1234 50 goto 51 @ 0x1237 0x1237 51 cond:0 = eax s< edi 0x1239 52 if (eax s>= edi) then 55 else 57 @ 0x123c 0x11c7 53 eax = [rsp + (rcx << 2) + 0x10].d 0x11cd 54 if (edx s< eax) then 59 else 61 @ 0x11d0 0x1239 55 edi = eax 0x1239 56 goto 57 @ 0x123c 0x123c 57 esi = [rsp + (rcx << 2) + 0x14].d 0x1240 58 if (cond:0) then 63 else 65 @ 0x1243 0x11cd 59 edx = eax 0x11cd 60 goto 61 @ 0x11d0 0x11d0 61 cond:1 = esi s< eax 0x11d2 62 if (esi s>= eax) then 67 else 69 @ 0x11d5 0x1240 63 ebx = eax 0x1240 64 goto 65 @ 0x1243 0x1243 65 edx = esi 0x1247 66 if (ebx s< esi) then 70 @ 0x1210 else 72 @ 0x1249 0x11d2 67 eax = esi 0x11d2 68 goto 69 @ 0x11d5 0x11d5 69 if (cond:1) then 74 else 76 @ 0x11d8 0x1210 70 cond:2 = edi s< esi 0x1212 71 if (edi s>= esi) then 78 else 80 @ 0x1215 0x1249 72 edx = ebx 0x124b 73 goto 70 @ 0x1210 0x11d5 74 edx = esi 0x11d5 75 goto 76 @ 0x11d8 0x11d8 76 esi = eax 0x11d8 77 goto 37 @ 0x11da 0x1212 78 esi = edi 0x1212 79 goto 80 @ 0x1215 0x1215 80 if (cond:2) then 81 else 83 @ 0x1218 0x1215 81 edx = edi 0x1215 82 goto 83 @ 0x1218 0x1218 83 rdi = r9 + rcx 0x121c 84 rdi = rdi + 2 0x1220 85 rcx = rcx + 2 0x1224 86 ebx = edx 0x1226 87 eax = esi 0x122c 88 if (rdi == 1) then 48 @ 0x11c5 else 46 @ 0x122e int64_t _fini(): 0x1254 0 rsp = rsp - 8 0x1258 1 rsp = rsp + 8 0x125c 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) 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 {"AVSHhH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r14) 0x1162 1 push(rbx) 0x1163 2 rsp = rsp - 0x68 0x1167 3 rdi = 0x2004 {"%s"} 0x116e 4 rbx = rsp {var_78} 0x1171 5 rsi = rbx {var_78} 0x1174 6 eax = 0 0x1176 7 call(0x1050) 0x117b 8 rdi = rbx {var_78} 0x117e 9 call(0x1040) 0x1186 10 if (eax s< 2) then 11 @ 0x1236 else 20 @ 0x118c 0x1236 11 rdi = 0x2004 {"%s"} 0x123d 12 rsi = rsp {var_78} 0x1240 13 eax = 0 0x1242 14 call(0x1030) 0x1247 15 eax = 0 0x1249 16 rsp = rsp + 0x68 0x124d 17 rbx = pop 0x124e 18 r14 = pop 0x1250 19 <return> jump(pop) 0x118c 20 r8 = rax 0x118f 21 r8 = r8 u>> 1 0x1192 22 r11d = r8d 0x1195 23 r11d = r11d & 0x7fffffff 0x119c 24 r8d = r8d & 1 0x11a4 25 if (r11 != 1) then 26 @ 0x11aa else 35 @ 0x11a6 0x11aa 26 r10 = -0x200000000 0x11b4 27 r11 = r11 - r8 0x11b7 28 rdx = rax 0x11ba 29 rdx = rdx << 0x20 0x11be 30 r14 = rdx + r10 0x11c2 31 rdi = -0x100000000 0x11cc 32 rdi = rdi + rdx 0x11cf 33 edx = 0 0x11db 34 goto 37 @ 0x11e0 0x11a6 35 edx = 0 0x11a8 36 goto 53 @ 0x1220 0x11e0 37 r9d = zx.d([rsp + rdx].b) 0x11e5 38 rcx = rdi 0x11e8 39 rcx = rcx s>> 0x20 0x11ec 40 ebx = zx.d([rsp + rcx].b) 0x11f0 41 [rsp + rdx].b = bl 0x11f3 42 [rsp + rcx].b = r9b 0x11f7 43 ecx = zx.d([rsp + rdx + 1].b) 0x11fc 44 rsi = r14 0x11ff 45 rsi = rsi s>> 0x20 0x1203 46 ebx = zx.d([rsp + rsi].b) 0x1207 47 [rsp + rdx + 1].b = bl 0x120b 48 [rsp + rsi].b = cl 0x120e 49 rdx = rdx + 2 0x1212 50 r14 = r14 + r10 0x1215 51 rdi = rdi + r10 0x121b 52 if (r11 != rdx) then 37 @ 0x11e0 else 53 @ 0x1220 0x1220 53 if (r8 == 0) then 11 @ 0x1236 else 54 @ 0x1222 0x1222 54 cl = [rsp + rdx].b 0x1225 55 esi = edx 0x1227 56 esi = not.d(esi) 0x1229 57 eax = eax + esi 0x122b 58 rax = sx.q(eax) 0x122d 59 bl = [rsp + rax].b 0x1230 60 [rsp + rdx].b = bl 0x1233 61 [rsp + rax].b = cl 0x1233 62 goto 11 @ 0x1236 int64_t _fini(): 0x1258 0 rsp = rsp - 8 0x125c 1 rsp = rsp + 8 0x1260 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) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) 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 - 0x186b8 0x1181 7 rdi = 0x2020 {"%d"} 0x1188 8 rsi = rsp + 0xc {var_186dc} 0x118d 9 eax = 0 0x118f 10 call(0x1050) 0x1199 11 if ([rsp + 0xc {var_186dc}].d s<= 0) then 12 @ 0x1300 else 21 @ 0x119f 0x1300 12 eax = 0 0x1302 13 rsp = rsp + 0x186b8 0x1309 14 rbx = pop 0x130a 15 r12 = pop 0x130c 16 r13 = pop 0x130e 17 r14 = pop 0x1310 18 r15 = pop 0x1312 19 rbp = pop 0x1313 20 <return> jump(pop) 0x119f 21 ebp = 1 0x11a4 22 goto 23 @ 0x11d5 0x11d5 23 rdi = 0x2023 {"%s"} 0x11dc 24 rbx = rsp + 0x10 {var_186d8} 0x11e1 25 rsi = rbx {var_186d8} 0x11e4 26 eax = 0 0x11e6 27 call(0x1050) 0x11eb 28 rdi = rbx {var_186d8} 0x11ee 29 call(0x1040) 0x11f3 30 xmm5 = [0x2010].o 0x11fb 31 rbx = rax 0x1200 32 if (ebx s<= 0) then 33 @ 0x11c6 else 37 @ 0x1202 0x11c6 33 eax = (rbp + 1).d 0x11c9 34 cond:0 = ebp s>= [rsp + 0xc {var_186dc}].d 0x11cd 35 ebp = eax 0x11cf 36 if (cond:0) then 12 @ 0x1300 else 23 @ 0x11d5 0x1202 37 r15d = (rbx - 1).d 0x1206 38 r14d = ebx 0x1209 39 ebx = ebx & 7 0x120c 40 r12 = r14 0x120f 41 r12 = r12 - rbx 0x1212 42 r13d = 0 0x1215 43 goto 44 @ 0x1229 0x1229 44 al = [rsp + r13 + 0x10].b 0x1232 45 if (r14d u>= 8) then 46 @ 0x1240 else 54 @ 0x1234 0x1240 46 ecx = zx.d(al) 0x1243 47 xmm0 = ecx 0x1247 48 xmm0 = _mm_unpacklo_epi8(xmm0, xmm0.q) 0x124b 49 xmm2 = _mm_shufflelo_epi16(xmm0, 0) 0x1250 50 xmm0 = 0 0x1254 51 ecx = 0 0x1256 52 xmm1 = 0 0x125a 53 goto 57 @ 0x1260 0x1234 54 edx = 0 0x1236 55 ecx = 0 0x1238 56 goto 71 @ 0x12c0 0x1260 57 xmm3 = [rsp + rcx + 0x10].q 0x1266 58 xmm4 = [rsp + rcx + 0x14].d 0x126c 59 xmm3 = _mm_cmpeq_epi8(xmm3, xmm2) 0x1270 60 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x1274 61 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x1278 62 xmm3 = xmm3 & xmm5 0x127c 63 xmm0 = _mm_add_epi32(xmm0, xmm3) 0x1280 64 xmm4 = _mm_cmpeq_epi8(xmm4, xmm2) 0x1284 65 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x1288 66 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x128c 67 xmm4 = xmm4 & xmm5 0x1290 68 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1294 69 rcx = rcx + 8 0x129b 70 if (r12 != rcx) then 57 @ 0x1260 else 76 @ 0x129d 0x12c0 71 esi = 0 0x12c6 72 sil = [rsp + rdx + 0x10].b == al 0x12ca 73 ecx = ecx + esi 0x12cc 74 rdx = rdx + 1 0x12d3 75 if (r14 != rdx) then 71 @ 0x12c0 else 84 @ 0x12d8 0x129d 76 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x12a1 77 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x12a6 78 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x12aa 79 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x12af 80 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x12b3 81 ecx = xmm1.d 0x12b7 82 rdx = r12 0x12bd 83 if (rbx == 0) then 84 @ 0x12d8 else 85 @ 0x12bf 0x12d8 84 if (ecx == 1) then 86 @ 0x11b0 else 92 @ 0x12e1 0x12bf 85 goto 71 @ 0x12c0 0x11b0 86 eax = r13d 0x11b3 87 esi = sx.d([rsp + rax + 0x10].b) 0x11b8 88 rdi = 0x2026 {"%c\n"} 0x11bf 89 eax = 0 0x11c1 90 call(0x1030) 0x11c1 91 goto 33 @ 0x11c6 0x12e1 92 if (r13 != r15) then 93 @ 0x1220 else 95 @ 0x12e7 0x1220 93 r13 = r13 + 1 0x1227 94 if (r13 == r14) then 33 @ 0x11c6 else 44 @ 0x1229 0x12e7 95 rdi = 0x202a {"no"} 0x12ee 96 call(0x1060) 0x12f3 97 xmm5 = [0x2010].o 0x12fb 98 goto 93 @ 0x1220 int64_t _fini(): 0x1318 0 rsp = rsp - 8 0x131c 1 rsp = rsp + 8 0x1320 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 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 {"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 - 0x200 0x116c 4 rbx = rsp {var_218} 0x116f 5 rdi = rbx {var_218} 0x1172 6 eax = 0 0x1174 7 call(0x1040) 0x1179 8 rdi = rbx {var_218} 0x117c 9 call(0x1030) 0x1181 10 [rsp + 0x70 {var_1a8}].d = -1 0x118b 11 if (eax s<= 0) then 12 @ 0x11bb else 14 @ 0x118d 0x11bb 12 ecx = 1 0x11bb 13 goto 18 @ 0x11c0 0x118d 14 edx = eax 0x118f 15 ecx = 1 0x1194 16 esi = 0 0x1196 17 goto 21 @ 0x11ad 0x11c0 18 r14 = sx.q(ecx) 0x11c3 19 [rsp + (r14 << 2) + 0x70].d = eax 0x11cb 20 if (r14d s> 0) then 22 @ 0x11ed else 26 @ 0x11cd 0x11ad 21 if ([rsp + rsi].b != 0x20) then 32 @ 0x11a0 else 34 @ 0x11af 0x11ed 22 eax = [rsp + (r14 << 2) + 0x70].d 0x11f2 23 eax = eax - 1 0x11f5 24 rbx = sx.q([rsp + (r14 << 2) + 0x6c].d) 0x11fc 25 if (ebx s>= eax) then 38 @ 0x1227 else 39 @ 0x11fe 0x11cd 26 eax = 0 0x11cf 27 rsp = rsp + 0x200 0x11d6 28 rbx = pop 0x11d7 29 r14 = pop 0x11d9 30 r15 = pop 0x11db 31 <return> jump(pop) 0x11a0 32 rsi = rsi + 1 0x11a7 33 if (rdx == rsi) then 18 @ 0x11c0 else 21 @ 0x11ad 0x11af 34 rcx = sx.q(ecx) 0x11b2 35 [rsp + (rcx << 2) + 0x70].d = esi 0x11b6 36 ecx = ecx + 1 0x11b9 37 goto 32 @ 0x11a0 0x1227 38 if (r14 s< 2) then 41 @ 0x11e0 else 45 @ 0x1229 0x11fe 39 r15 = sx.q(eax) 0x120b 40 goto 48 @ 0x1210 0x11e0 41 rax = r14 - 1 0x11e4 42 cond:0 = r14 s<= 1 0x11e8 43 r14 = rax 0x11eb 44 if (cond:0) then 26 @ 0x11cd else 22 @ 0x11ed 0x1229 45 edi = 0x20 {"@"} 0x122e 46 call(0x1050) 0x1233 47 goto 41 @ 0x11e0 0x1210 48 edi = sx.d([rsp + rbx + 1].b) 0x1215 49 rbx = rbx + 1 0x1219 50 call(0x1050) 0x1221 51 if (r15 != rbx) then 48 @ 0x1210 else 38 @ 0x1227 int64_t _fini(): 0x123c 0 rsp = rsp - 8 0x1240 1 rsp = rsp + 8 0x1244 2 <return> jump(pop)
POJ_23
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0x12d8 0x115d 5 rdi = 0x2021 {"%d"} 0x1164 6 rsi = rsp + 0xc {var_12ec} 0x1169 7 eax = 0 0x116b 8 call(0x1040) 0x1175 9 if ([rsp + 0xc {var_12ec}].d s<= 0) then 10 @ 0x12fe else 14 @ 0x117b 0x12fe 10 rdi = 0x2021 {"%d"} 0x1305 11 eax = 0 0x1307 12 call(0x1030) 0x1307 13 goto 19 @ 0x130c 0x117b 14 rbx = rsp + 0x10 {var_12e8} 0x1180 15 r14 = 0x2021 {"%d"} 0x1187 16 ebp = 0 0x1189 17 r15d = 0 0x118c 18 goto 25 @ 0x1190 0x130c 19 rsp = rsp + 0x12d8 0x1313 20 rbx = pop 0x1314 21 r14 = pop 0x1316 22 r15 = pop 0x1318 23 rbp = pop 0x1319 24 <return> jump(pop) 0x1190 25 rdi = r14 0x1193 26 rsi = rbx 0x1196 27 eax = 0 0x1198 28 call(0x1040) 0x119d 29 r15d = r15d + [rbx].d 0x11a0 30 rbp = rbp + 1 0x11a4 31 rax = sx.q([rsp + 0xc {var_12ec}].d) 0x11a9 32 rbx = rbx + 4 0x11b0 33 if (rbp s< rax) then 25 @ 0x1190 else 34 @ 0x11b2 0x11b2 34 eax = eax 0x11b6 35 if (eax s<= 0) then 10 @ 0x12fe else 36 @ 0x11bc 0x11bc 36 xmm0.q = float.d(r15d) 0x11c1 37 xmm1.q = float.d(eax) 0x11c5 38 xmm0.q = xmm0.q f/ xmm1.q 0x11cc 39 if (eax u>= 4) then 40 @ 0x11d5 else 49 @ 0x11ce 0x11d5 40 ecx = eax 0x11d7 41 ecx = ecx & 0xfffffffc 0x11da 42 xmm1 = xmm0 0x11de 43 xmm1 = _mm_unpacklo_pd(xmm1, xmm0.q) 0x11e2 44 rdx = rcx - 4 0x11e6 45 rsi = rdx 0x11e9 46 rsi = rsi u>> 2 0x11ed 47 rsi = rsi + 1 0x11f4 48 if (rdx == 0) then 51 @ 0x148f else 53 @ 0x11fa 0x11ce 49 ecx = 0 0x11d0 50 goto 58 @ 0x12b7 0x148f 51 edx = 0 0x1495 52 if ((sil & 1) != 0) then 60 @ 0x127c else 70 @ 0x149b 0x11fa 53 rdi = rsi 0x11fd 54 rdi = rdi & 0xfffffffffffffffe 0x1201 55 edx = 0 0x1203 56 xmm2 = [0x2010].o 0x120b 57 goto 71 @ 0x1210 0x12b7 58 xmm1 = [0x2010].o 0x12bf 59 goto 91 @ 0x12c0 0x127c 60 xmm2 = __cvtdq2pd_xmmpd_memq([rsp + (rdx << 2) + 0x10].q) 0x1282 61 xmm3 = __cvtdq2pd_xmmpd_memq([rsp + (rdx << 2) + 0x18].q) 0x1288 62 xmm2 = _mm_sub_pd(xmm2, xmm1) 0x128c 63 xmm3 = _mm_sub_pd(xmm3, xmm1) 0x1290 64 xmm1 = [0x2010].o 0x1298 65 xmm2 = _mm_and_pd(xmm2, xmm1) 0x129c 66 xmm3 = _mm_and_pd(xmm3, xmm1) 0x12a0 67 [rsp + (rdx << 3) + 0x4c0].o = xmm2 0x12a9 68 [rsp + (rdx << 3) + 0x4d0].o = xmm3 0x12a9 69 goto 98 @ 0x12b5 0x149b 70 goto 98 @ 0x12b5 0x1210 71 xmm3 = __cvtdq2pd_xmmpd_memq([rsp + (rdx << 2) + 0x10].q) 0x1216 72 xmm4 = __cvtdq2pd_xmmpd_memq([rsp + (rdx << 2) + 0x18].q) 0x121c 73 xmm3 = _mm_sub_pd(xmm3, xmm1) 0x1220 74 xmm4 = _mm_sub_pd(xmm4, xmm1) 0x1224 75 xmm3 = _mm_and_pd(xmm3, xmm2) 0x1228 76 xmm4 = _mm_and_pd(xmm4, xmm2) 0x122c 77 [rsp + (rdx << 3) + 0x4c0].o = xmm3 0x1235 78 xmm3 = __cvtdq2pd_xmmpd_memq([rsp + (rdx << 2) + 0x20].q) 0x123b 79 [rsp + (rdx << 3) + 0x4d0].o = xmm4 0x1244 80 xmm4 = __cvtdq2pd_xmmpd_memq([rsp + (rdx << 2) + 0x28].q) 0x124a 81 xmm3 = _mm_sub_pd(xmm3, xmm1) 0x124e 82 xmm4 = _mm_sub_pd(xmm4, xmm1) 0x1252 83 xmm3 = _mm_and_pd(xmm3, xmm2) 0x1256 84 xmm4 = _mm_and_pd(xmm4, xmm2) 0x125a 85 [rsp + (rdx << 3) + 0x4e0].o = xmm3 0x1263 86 [rsp + (rdx << 3) + 0x4f0].o = xmm4 0x126c 87 rdx = rdx + 8 0x1270 88 temp0.q = rdi 0x1270 89 rdi = rdi - 2 0x1274 90 if (temp0.q != 2) then 71 @ 0x1210 else 99 @ 0x127a 0x12c0 91 xmm2 = 0 0x12c3 92 xmm2.q = float.d([rsp + (rcx << 2) + 0x10].d) 0x12c9 93 xmm2.q = xmm2.q f- xmm0.q 0x12cd 94 xmm2 = _mm_and_pd(xmm2, xmm1) 0x12d1 95 [rsp + (rcx << 3) + 0x4c0].q = xmm2.q 0x12da 96 rcx = rcx + 1 0x12e1 97 if (rax != rcx) then 91 @ 0x12c0 else 100 @ 0x12e5 0x12b5 98 if (rcx == rax) then 100 @ 0x12e5 else 58 @ 0x12b7 0x127a 99 if ((sil & 1) == 0) then 98 @ 0x12b5 else 60 @ 0x127c 0x12e5 100 if (eax s<= 0) then 10 @ 0x12fe else 101 @ 0x12e7 0x12e7 101 rcx = rax - 1 0x12eb 102 edx = eax 0x12ed 103 edx = edx & 3 0x12f4 104 if (rcx u>= 3) then 105 @ 0x131a else 110 @ 0x12f6 0x131a 105 edi = eax 0x131c 106 edi = edi & 0xfffffffc 0x131f 107 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1323 108 esi = 0 0x132f 109 goto 113 @ 0x1330 0x12f6 110 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x12fa 111 esi = 0 0x12fc 112 goto 123 @ 0x136d 0x1330 113 xmm0 = zx.o([rsp + (rsi << 3) + 0x4c0].q) 0x1339 114 xmm0 = _mm_max_sd(xmm0.q, xmm1.q) 0x133d 115 xmm1 = zx.o([rsp + (rsi << 3) + 0x4c8].q) 0x1346 116 xmm1 = _mm_max_sd(xmm1.q, xmm0.q) 0x134a 117 xmm0 = zx.o([rsp + (rsi << 3) + 0x4d0].q) 0x1353 118 xmm0 = _mm_max_sd(xmm0.q, xmm1.q) 0x1357 119 xmm1 = zx.o([rsp + (rsi << 3) + 0x4d8].q) 0x1360 120 xmm1 = _mm_max_sd(xmm1.q, xmm0.q) 0x1364 121 rsi = rsi + 4 0x136b 122 if (rdi != rsi) then 113 @ 0x1330 else 123 @ 0x136d 0x136d 123 xmm0 = xmm1 0x1374 124 if (rdx == 0) then 125 @ 0x13a9 else 126 @ 0x1376 0x13a9 125 if (rcx == 0) then 130 @ 0x140f else 133 @ 0x13ab 0x1376 126 rsi = rsp + (rsi << 3) 0x137a 127 rsi = rsi + 0x4c0 0x1381 128 edi = 0 0x138d 129 goto 138 @ 0x1390 0x140f 130 ecx = 0 0x1411 131 ebx = 0 0x1411 132 goto 143 @ 0x1415 0x13ab 133 edx = eax 0x13ad 134 edx = edx & 0xfffffffe 0x13b0 135 ecx = 0 0x13b2 136 ebx = 0 0x13b4 137 goto 144 @ 0x13c9 0x1390 138 xmm0 = zx.o([rsi + (rdi << 3)].q) 0x1395 139 xmm0 = _mm_max_sd(xmm0.q, xmm1.q) 0x1399 140 rdi = rdi + 1 0x139d 141 xmm1 = xmm0 0x13a4 142 if (rdx != rdi) then 138 @ 0x1390 else 125 @ 0x13a9 0x1415 143 if ((al & 1) == 0) then 152 @ 0x1439 else 157 @ 0x1417 0x13c9 144 xmm1 = zx.o([rsp + (rcx << 3) + 0x4c0].q) 0x13d2 145 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x13d2 146 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13d2 147 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13d2 148 flag:s = 0 0x13d2 149 flag:o = 0 0x13d2 150 flag:a = 0 0x13d6 151 if (not(flag:z)) then 165 @ 0x13eb else 173 @ 0x13d8 0x1439 152 esi = [rsp + 0xe20 {var_4d8}].d 0x1440 153 rdi = 0x2021 {"%d"} 0x1447 154 eax = 0 0x1449 155 call(0x1030) 0x1451 156 if (ebx s< 2) then 19 @ 0x130c else 174 @ 0x1457 0x1417 157 xmm1 = zx.o([rsp + (rcx << 3) + 0x4c0].q) 0x1420 158 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x1420 159 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1420 160 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1420 161 flag:s = 0 0x1420 162 flag:o = 0 0x1420 163 flag:a = 0 0x1424 164 if (not(flag:z)) then 152 @ 0x1439 else 178 @ 0x1426 0x13eb 165 xmm1 = zx.o([rsp + (rcx << 3) + 0x4c8].q) 0x13f4 166 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x13f4 167 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13f4 168 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13f4 169 flag:s = 0 0x13f4 170 flag:o = 0 0x13f4 171 flag:a = 0 0x13f8 172 if (not(flag:z)) then 179 @ 0x13c0 else 181 @ 0x13fa 0x13d8 173 if (flag:p) then 165 @ 0x13eb else 182 @ 0x13da 0x1457 174 ebp = ebx 0x1459 175 ebx = 1 0x145e 176 r14 = 0x2020 {",%d"} 0x146f 177 goto 187 @ 0x1470 0x1426 178 if (flag:p) then 152 @ 0x1439 else 193 @ 0x1428 0x13c0 179 rcx = rcx + 2 0x13c7 180 if (rdx == rcx) then 143 @ 0x1415 else 144 @ 0x13c9 0x13fa 181 if (flag:p) then 179 @ 0x13c0 else 198 @ 0x13fc 0x13da 182 esi = [rsp + (rcx << 2) + 0x10].d 0x13de 183 rbx = sx.q(ebx) 0x13e1 184 [rsp + (rbx << 2) + 0xe20].d = esi 0x13e8 185 ebx = ebx + 1 0x13e8 186 goto 165 @ 0x13eb 0x1470 187 esi = [rsp + (rbx << 2) + 0xe20].d 0x1477 188 rdi = r14 0x147a 189 eax = 0 0x147c 190 call(0x1030) 0x1481 191 rbx = rbx + 1 0x1488 192 if (rbp != rbx) then 187 @ 0x1470 else 203 @ 0x148a 0x1428 193 eax = [rsp + (rcx << 2) + 0x10].d 0x142c 194 rbx = sx.q(ebx) 0x142f 195 [rsp + (rbx << 2) + 0xe20].d = eax 0x1436 196 ebx = ebx + 1 0x1436 197 goto 152 @ 0x1439 0x13fc 198 esi = [rsp + (rcx << 2) + 0x14].d 0x1400 199 rbx = sx.q(ebx) 0x1403 200 [rsp + (rbx << 2) + 0xe20].d = esi 0x140a 201 ebx = ebx + 1 0x140d 202 goto 179 @ 0x13c0 0x148a 203 goto 19 @ 0x130c int64_t _fini(): 0x14a4 0 rsp = rsp - 8 0x14a8 1 rsp = rsp + 8 0x14ac 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 {"UHAWAVAUATSH8H="} 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 - 0x38 0x1161 8 rdi = 0x2004 {"%d"} 0x1168 9 r13d = 0 0x116b 10 rsi = rbp - 0x2c {var_34} 0x116f 11 eax = 0 0x1171 12 call(0x1040) 0x1176 13 [rbp - 0x50 {var_58}].q = rsp {var_68} 0x117a 14 eax = [rbp - 0x2c {var_34}].d 0x117d 15 r12 = rsp {var_68} 0x1180 16 rax = (rax << 2) + 0xf 0x1188 17 rax = rax & 0xfffffffffffffff0 0x118c 18 r12 = r12 - rax 0x118f 19 rsp = r12 0x1196 20 if ([rbp - 0x2c {var_34}].d s<= 0) then 21 @ 0x11ce else 27 @ 0x1198 0x11ce 21 rdi = 0x2004 {"%d"} 0x11d5 22 rsi = rbp - 0x30 {var_38} 0x11d9 23 eax = 0 0x11db 24 call(0x1040) 0x11e0 25 ebx = [rbp - 0x2c {var_34}].d 0x11e5 26 if (ebx s<= 0) then 31 @ 0x12e5 else 36 @ 0x11eb 0x1198 27 r14 = 0x2004 {"%d"} 0x119f 28 r15 = r12 0x11a2 29 ebx = 0 0x11ae 30 goto 38 @ 0x11b0 0x12e5 31 [rbp - 0x40 {var_48}].q = rbx 0x12e9 32 r14d = ebx 0x12ec 33 temp0.d = r14d 0x12ec 34 r14d = r14d - r13d 0x12ef 35 if (temp0.d s<= r13d) then 46 @ 0x1477 else 50 @ 0x12f5 0x11eb 36 ecx = [rbp - 0x30 {var_38}].d 0x11f1 37 if (ebx u>= 8) then 62 @ 0x11fd else 71 @ 0x11f3 0x11b0 38 rdi = r14 0x11b3 39 rsi = r15 0x11b6 40 eax = 0 0x11b8 41 call(0x1040) 0x11bd 42 rbx = rbx + 1 0x11c1 43 rax = sx.q([rbp - 0x2c {var_34}].d) 0x11c5 44 r15 = r15 + 4 0x11cc 45 if (rbx s< rax) then 38 @ 0x11b0 else 21 @ 0x11ce 0x1477 46 r13d = not.d(r13d) 0x147a 47 rax = [rbp - 0x40 {var_48}].q 0x147e 48 eax = eax + r13d 0x1483 49 if (eax s<= 0) then 74 @ 0x14b1 else 76 @ 0x1485 0x12f5 50 esi = [rbp - 0x30 {var_38}].d 0x12f8 51 rax = [rbp - 0x40 {var_48}].q 0x12fc 52 r8d = (rax - 1).d 0x1300 53 rbx = sx.q(r8d) 0x1303 54 rax = r12 + 0x74 0x1308 55 [rbp - 0x48 {var_50_1}].q = rax 0x130c 56 rax = r12 + 0x14 0x1311 57 [rbp - 0x58 {var_60_1}].q = rax 0x1315 58 edx = 0 0x1317 59 [rbp - 0x38 {var_40_1}].d = esi 0x131a 60 [rbp - 0x34 {var_3c_1}].d = r8d 0x131e 61 goto 79 @ 0x132f 0x11fd 62 edx = ebx 0x11ff 63 edx = edx & 0xfffffff8 0x1202 64 xmm0 = ecx 0x1206 65 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x120b 66 rsi = rdx - 8 0x120f 67 rax = rsi 0x1212 68 rax = rax u>> 3 0x1216 69 rax = rax + 1 0x121d 70 if (rsi == 0) then 81 @ 0x14d8 else 85 @ 0x1223 0x11f3 71 edx = 0 0x11f5 72 r13d = 0 0x11f8 73 goto 92 @ 0x12d0 0x14b1 74 ebx = 0 0x14b1 75 goto 97 @ 0x14b3 0x1485 76 r14 = 0x2007 {"%d "} 0x148c 77 ebx = 0 0x148e 78 goto 110 @ 0x1490 0x132f 79 rax = sx.q(edx) 0x1336 80 if ([r12 + (rax << 2)].d != esi) then 119 @ 0x1323 else 121 @ 0x133b 0x14d8 81 xmm1 = 0 0x14dc 82 esi = 0 0x14de 83 xmm2 = 0 0x14e4 84 if ((al & 1) != 0) then 122 @ 0x1289 else 129 @ 0x14ea 0x1223 85 rdi = 0x3ffffffffffffffc {""} 0x122d 86 rdi = rdi | 2 0x1231 87 rdi = rdi & rax 0x1234 88 xmm1 = 0 0x1238 89 esi = 0 0x123a 90 xmm2 = 0 0x123e 91 goto 130 @ 0x1240 0x12d0 92 eax = 0 0x12d6 93 al = [r12 + (rdx << 2)].d == ecx 0x12d9 94 r13d = r13d + eax 0x12dc 95 rdx = rdx + 1 0x12e3 96 if (rbx != rdx) then 92 @ 0x12d0 else 31 @ 0x12e5 0x14b3 97 esi = [r12 + (rbx << 2)].d 0x14b7 98 rdi = 0x2004 {"%d"} 0x14be 99 eax = 0 0x14c0 100 call(0x1030) 0x14c5 101 rsp = [rbp - 0x50].q 0x14c9 102 rsp = rbp - 0x28 0x14cd 103 rbx = pop 0x14ce 104 r12 = pop 0x14d0 105 r13 = pop 0x14d2 106 r14 = pop 0x14d4 107 r15 = pop 0x14d6 108 rbp = pop 0x14d7 109 <return> jump(pop) 0x1490 110 esi = [r12 + (rbx << 2)].d 0x1494 111 rdi = r14 0x1497 112 eax = 0 0x1499 113 call(0x1030) 0x149e 114 rbx = rbx + 1 0x14a2 115 eax = [rbp - 0x2c {var_34}].d 0x14a5 116 eax = eax + r13d 0x14a8 117 rax = sx.q(eax) 0x14ad 118 if (rbx s< rax) then 110 @ 0x1490 else 146 @ 0x14af 0x1323 119 edx = edx + 1 0x1329 120 if (edx s>= r14d) then 46 @ 0x1477 else 79 @ 0x132f 0x133b 121 if (edx s>= r8d) then 147 @ 0x1320 else 149 @ 0x133d 0x1289 122 xmm3 = xmm0 0x128d 123 xmm3 = __pcmpeqd_xmmdq_memdq(xmm3, [r12 + (rsi << 2)].o) 0x1293 124 xmm1 = _mm_sub_epi32(xmm1, xmm3) 0x1297 125 xmm3 = [r12 + (rsi << 2) + 0x10].o 0x129e 126 xmm3 = _mm_cmpeq_epi32(xmm3, xmm0) 0x12a2 127 xmm2 = _mm_sub_epi32(xmm2, xmm3) 0x12a2 128 goto 152 @ 0x12a6 0x14ea 129 goto 152 @ 0x12a6 0x1240 130 xmm3 = [r12 + (rsi << 2)].o 0x1246 131 xmm3 = _mm_cmpeq_epi32(xmm3, xmm0) 0x124a 132 xmm1 = _mm_sub_epi32(xmm1, xmm3) 0x124e 133 xmm3 = [r12 + (rsi << 2) + 0x10].o 0x1255 134 xmm3 = _mm_cmpeq_epi32(xmm3, xmm0) 0x1259 135 xmm2 = _mm_sub_epi32(xmm2, xmm3) 0x125d 136 xmm3 = [r12 + (rsi << 2) + 0x20].o 0x1264 137 xmm3 = _mm_cmpeq_epi32(xmm3, xmm0) 0x1268 138 xmm1 = _mm_sub_epi32(xmm1, xmm3) 0x126c 139 xmm3 = [r12 + (rsi << 2) + 0x30].o 0x1273 140 xmm3 = _mm_cmpeq_epi32(xmm3, xmm0) 0x1277 141 xmm2 = _mm_sub_epi32(xmm2, xmm3) 0x127b 142 rsi = rsi + 0x10 0x127f 143 temp1.q = rdi 0x127f 144 rdi = rdi - 2 0x1283 145 if (temp1.q != 2) then 130 @ 0x1240 else 159 @ 0x1287 0x14af 146 goto 97 @ 0x14b3 0x1320 147 edx = edx - 1 0x1320 148 goto 119 @ 0x1323 0x133d 149 rdi = rbx 0x1340 150 rdi = rdi - rax 0x1347 151 if (rdi u< 8) then 160 @ 0x1460 else 164 @ 0x134d 0x12a6 152 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x12aa 153 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x12af 154 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x12b3 155 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x12b8 156 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x12bc 157 r13d = xmm1.d 0x12c4 158 if (rdx == rbx) then 31 @ 0x12e5 else 173 @ 0x12c6 0x1287 159 if ((al & 1) == 0) then 152 @ 0x12a6 else 122 @ 0x1289 0x1460 160 ecx = [r12 + (rax << 2) + 4].d 0x1465 161 [r12 + (rax << 2)].d = ecx 0x1469 162 rax = rax + 1 0x1470 163 if (rbx != rax) then 160 @ 0x1460 else 174 @ 0x1472 0x134d 164 r15 = rdi 0x1350 165 r15 = r15 & 0xfffffffffffffff8 0x1354 166 rcx = r15 - 8 0x1358 167 r8 = rcx 0x135b 168 r8 = r8 u>> 3 0x135f 169 r8 = r8 + 1 0x1363 170 r9d = r8d 0x1366 171 r9d = r9d & 3 0x136e 172 if (rcx u>= 0x18) then 175 @ 0x1378 else 181 @ 0x1370 0x12c6 173 goto 92 @ 0x12d0 0x1472 174 goto 147 @ 0x1320 0x1378 175 rcx = 0x3ffffffffffffffc {""} 0x1382 176 r8 = r8 & rcx 0x1385 177 rcx = [rbp - 0x48 {var_50_1}].q 0x1389 178 r11 = rcx + (rax << 2) 0x138d 179 r10d = 0 0x138d 180 goto 183 @ 0x1390 0x1370 181 r10d = 0 0x1373 182 goto 203 @ 0x1404 0x1390 183 xmm0 = [r11 + (r10 << 2) - 0x70].o 0x1396 184 xmm1 = [r11 + (r10 << 2) - 0x60].o 0x139c 185 xmm2 = [r11 + (r10 << 2) - 0x50].o 0x13a3 186 xmm3 = [r11 + (r10 << 2) - 0x40].o 0x13aa 187 [r11 + (r10 << 2) - 0x74].o = xmm0 0x13b0 188 [r11 + (r10 << 2) - 0x64].o = xmm1 0x13b6 189 [r11 + (r10 << 2) - 0x54].o = xmm2 0x13bd 190 [r11 + (r10 << 2) - 0x44].o = xmm3 0x13c4 191 xmm0 = [r11 + (r10 << 2) - 0x30].o 0x13ca 192 xmm1 = [r11 + (r10 << 2) - 0x20].o 0x13d0 193 [r11 + (r10 << 2) - 0x34].o = xmm0 0x13d6 194 [r11 + (r10 << 2) - 0x24].o = xmm1 0x13dc 195 xmm0 = [r11 + (r10 << 2) - 0x10].o 0x13e3 196 xmm1 = [r11 + (r10 << 2)].o 0x13e9 197 [r11 + (r10 << 2) - 0x14].o = xmm0 0x13f0 198 [r11 + (r10 << 2) - 4].o = xmm1 0x13f7 199 r10 = r10 + 0x20 0x13fb 200 temp2.q = r8 0x13fb 201 r8 = r8 - 4 0x13ff 202 if (temp2.q != 4) then 183 @ 0x1390 else 203 @ 0x1404 0x1404 203 if (r9 == 0) then 204 @ 0x1440 else 208 @ 0x1406 0x1440 204 cond:0 = rdi == r15 0x1443 205 esi = [rbp - 0x38 {var_40_1}].d 0x1446 206 r8d = [rbp - 0x34 {var_3c_1}].d 0x144a 207 if (cond:0) then 147 @ 0x1320 else 214 @ 0x1450 0x1406 208 r10 = r10 + rax 0x1409 209 rcx = [rbp - 0x58 {var_60_1}].q 0x140d 210 rsi = rcx + (r10 << 2) 0x1411 211 r9 = r9 << 5 0x1415 212 ecx = 0 0x1417 213 goto 216 @ 0x1420 0x1450 214 rax = rax + r15 0x145d 215 goto 160 @ 0x1460 0x1420 216 xmm0 = [rsi + rcx - 0x10].o 0x1426 217 xmm1 = [rsi + rcx].o 0x142b 218 [rsi + rcx - 0x14].o = xmm0 0x1431 219 [rsi + rcx - 4].o = xmm1 0x1437 220 rcx = rcx + 0x20 0x143e 221 if (r9 != rcx) then 216 @ 0x1420 else 204 @ 0x1440 int64_t _fini(): 0x14f4 0 rsp = rsp - 8 0x14f8 1 rsp = rsp + 8 0x14fc 2 <return> jump(pop)
POJ_42
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 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 = eax 0x117f 22 eax = [rbp - 8 {var_10}].d 0x1182 23 ecx = 0xa {""} 0x1187 24 temp8.d:temp9.d = sx.q(eax) 0x1187 25 edx = temp8.d 0x1187 26 eax = temp9.d 0x1188 27 temp10.d = edx 0x1188 28 temp11.d = eax 0x1188 29 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x1188 30 temp12.d = edx 0x1188 31 temp13.d = eax 0x1188 32 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x1188 33 eax = temp0.d 0x1188 34 edx = temp1.d 0x118a 35 [rbp - 0x10 {var_18}].d = edx 0x118d 36 [rbp - 0x14 {var_1c}].d = 0 0x118d 37 goto 38 @ 0x1198 0x1198 38 if ([rbp - 0xc {var_14}].d == 0) then 39 @ 0x11d5 else 47 @ 0x119e 0x11d5 39 esi = [rbp - 0x10 {var_18}].d 0x11d8 40 rdi = 0x2007 {"%d\n"} 0x11df 41 al = 0 0x11e1 42 call(0x1030) 0x11e6 43 eax = 0 0x11e8 44 rsp = rsp + 0x20 0x11ec 45 rbp = pop 0x11ed 46 <return> jump(pop) 0x119e 47 eax = [rbp - 0x10 {var_18}].d * 0xa 0x11a2 48 [rbp - 0x14 {var_1c_1}].d = eax 0x11a5 49 eax = [rbp - 0xc {var_14}].d 0x11a8 50 [rbp - 0x18 {var_20_1}].d = eax 0x11ab 51 eax = [rbp - 0xc {var_14}].d 0x11ae 52 ecx = 0xa {""} 0x11b3 53 temp14.d:temp15.d = sx.q(eax) 0x11b3 54 edx = temp14.d 0x11b3 55 eax = temp15.d 0x11b4 56 temp16.d = edx 0x11b4 57 temp17.d = eax 0x11b4 58 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x11b4 59 temp18.d = edx 0x11b4 60 temp19.d = eax 0x11b4 61 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x11b4 62 eax = temp0.d 0x11b4 63 edx = temp1.d 0x11b6 64 [rbp - 0xc {var_14}].d = eax 0x11b9 65 eax = [rbp - 0x18 {var_20_1}].d 0x11bc 66 ecx = 0xa {""} 0x11c1 67 temp20.d:temp21.d = sx.q(eax) 0x11c1 68 edx = temp20.d 0x11c1 69 eax = temp21.d 0x11c2 70 temp22.d = edx 0x11c2 71 temp23.d = eax 0x11c2 72 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x11c2 73 temp24.d = edx 0x11c2 74 temp25.d = eax 0x11c2 75 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x11c2 76 eax = temp0.d 0x11c2 77 edx = temp1.d 0x11c4 78 [rbp - 0x10 {var_18_1}].d = edx 0x11c7 79 eax = [rbp - 0x14 {var_1c_1}].d 0x11ca 80 eax = eax + [rbp - 0x10 {var_18_1}].d 0x11cd 81 [rbp - 0x10 {var_18}].d = eax 0x11d0 82 goto 38 @ 0x1198 int64_t _fini(): 0x11f4 0 rsp = rsp - 8 0x11f8 1 rsp = rsp + 8 0x11fc 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 - 0xe0 0x115c 4 rdi = 0x200b {"%d"} 0x1163 5 rsi = rsp + 0xc {var_ec} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 ecx = [rsp + 0xc {var_ec}].d 0x1175 9 if (ecx s<= 0) then 10 @ 0x11af else 13 @ 0x1177 0x11af 10 eax = ecx 0x11b1 11 xmm0 = 0 0x11b6 12 if (ecx s<= 0) then 17 @ 0x11d6 else 20 @ 0x11b8 0x1177 13 r15 = rsp + 0x10 {var_e8} 0x117c 14 r14 = 0x2004 {"%d,"} 0x1183 15 ebx = 0 0x118f 16 goto 22 @ 0x1190 0x11d6 17 xmm1 = 0 0x11d9 18 xmm1.d = float.s(ecx) 0x11df 19 if (ecx s<= 0) then 30 @ 0x1204 else 32 @ 0x11e1 0x11b8 20 edx = 0 0x11ba 21 goto 35 @ 0x11c0 0x1190 22 rdi = r14 0x1193 23 rsi = r15 0x1196 24 eax = 0 0x1198 25 call(0x1040) 0x119d 26 rbx = rbx + 1 0x11a1 27 rcx = sx.q([rsp + 0xc {var_ec}].d) 0x11a6 28 r15 = r15 + 4 0x11ad 29 if (rbx s< rcx) then 22 @ 0x1190 else 10 @ 0x11af 0x1204 30 edx = 0 0x1204 31 goto 40 @ 0x1206 0x11e1 32 esi = 0 0x11e3 33 edx = 0 0x11ef 34 goto 43 @ 0x11f0 0x11c0 35 xmm1 = 0 0x11c3 36 xmm1.d = float.s([rsp + (rdx << 2) + 0x10].d) 0x11c9 37 xmm0.d = xmm0.d f+ xmm1.d 0x11cd 38 rdx = rdx + 1 0x11d4 39 if (rax != rdx) then 35 @ 0x11c0 else 17 @ 0x11d6 0x1206 40 xmm0.d = xmm0.d f/ xmm1.d 0x120a 41 esi = edx 0x120e 42 if (ecx s<= 0) then 45 @ 0x1232 else 57 @ 0x1210 0x11f0 43 edi = [rsp + (rsi << 2) + 0x10].d 0x11f6 44 if (edi s> edx) then 60 else 62 @ 0x11f9 0x1232 45 xmm1 = 0 0x1235 46 xmm1.d = float.s(edx) 0x1239 47 xmm2.d = float.s(esi) 0x123d 48 xmm1.d = xmm1.d f- xmm0.d 0x1241 49 xmm0.d = xmm0.d f- xmm2.d 0x1245 50 flag:p = is_unordered.d(xmm1.d, xmm0.d) 0x1245 51 flag:c = xmm1.d f< xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x1245 52 flag:z = xmm1.d f== xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x1245 53 flag:s = 0 0x1245 54 flag:o = 0 0x1245 55 flag:a = 0 0x1248 56 if (flag:z || flag:c) then 64 @ 0x1255 else 71 @ 0x124a 0x1210 57 ecx = 0 0x1212 58 esi = edx 0x121e 59 goto 74 @ 0x1220 0x11f6 60 edx = edi 0x11f6 61 goto 62 @ 0x11f9 0x11f9 62 rsi = rsi + 1 0x1200 63 if (rax != rsi) then 43 @ 0x11f0 else 76 @ 0x1202 0x1255 64 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x1255 65 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x1255 66 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x1255 67 flag:s = 0 0x1255 68 flag:o = 0 0x1255 69 flag:a = 0 0x1258 70 if (flag:z || flag:c) then 77 @ 0x126a else 81 @ 0x125a 0x124a 71 rdi = 0x200b {"%d"} 0x1251 72 esi = edx 0x1253 73 goto 83 @ 0x1261 0x1220 74 edi = [rsp + (rcx << 2) + 0x10].d 0x1226 75 if (edi s< esi) then 86 else 88 @ 0x1229 0x1202 76 goto 40 @ 0x1206 0x126a 77 rdi = 0x2008 {"%d,%d"} 0x1271 78 eax = 0 0x1273 79 call(0x1030) 0x1273 80 goto 90 @ 0x1278 0x125a 81 rdi = 0x200b {"%d"} 0x125a 82 goto 83 @ 0x1261 0x1261 83 eax = 0 0x1263 84 call(0x1030) 0x1268 85 goto 90 @ 0x1278 0x1226 86 esi = edi 0x1226 87 goto 88 @ 0x1229 0x1229 88 rcx = rcx + 1 0x1230 89 if (rax != rcx) then 74 @ 0x1220 else 45 @ 0x1232 0x1278 90 eax = 0 0x127a 91 rsp = rsp + 0xe0 0x1281 92 rbx = pop 0x1282 93 r14 = pop 0x1284 94 r15 = pop 0x1286 95 <return> jump(pop) int64_t _fini(): 0x128c 0 rsp = rsp - 8 0x1290 1 rsp = rsp + 8 0x1294 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) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x6f8 0x1171 7 rdi = 0x2008 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_71c} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1184 11 eax = [rsp + 0xc {var_71c}].d 0x118a 12 if (eax s<= 0) then 13 @ 0x1411 else 16 @ 0x1190 0x1411 13 ecx = (rax - 1).d 0x1414 14 ecx = ecx * eax 0x141a 15 if (ecx s< 2) then 20 @ 0x1496 else 28 @ 0x141c 0x1190 16 rbx = rsp + 0x30 {var_6f8} 0x1195 17 r14 = 0x2004 {"%d%d%d"} 0x119c 18 ebp = 0 0x119e 19 goto 31 @ 0x11a0 0x1496 20 rsp = rsp + 0x6f8 0x149d 21 rbx = pop 0x149e 22 r12 = pop 0x14a0 23 r13 = pop 0x14a2 24 r14 = pop 0x14a4 25 r15 = pop 0x14a6 26 rbp = pop 0x14a7 27 <return> jump(pop) 0x141c 28 ebp = 0 0x141e 29 rbx = 0x200b {"(%d,%d,%d)-(%d,%d,%d)=%.2lf\n"} 0x142f 30 goto 41 @ 0x1430 0x11a0 31 rdx = rbx + 4 0x11a4 32 rcx = rbx + 8 0x11a8 33 rdi = r14 0x11ab 34 rsi = rbx 0x11ae 35 eax = 0 0x11b0 36 call(0x1040) 0x11b5 37 rbp = rbp + 1 0x11b9 38 rax = sx.q([rsp + 0xc {var_71c}].d) 0x11be 39 rbx = rbx + 0xc 0x11c5 40 if (rbp s< rax) then 31 @ 0x11a0 else 66 @ 0x11ca 0x1430 41 rax = sx.q([rsp + (rbp << 3) + 0x3d0].d) 0x1438 42 rax = rax + (rax << 1) 0x143c 43 esi = [rsp + (rax << 2) + 0x30].d 0x1440 44 edx = [rsp + (rax << 2) + 0x34].d 0x1444 45 ecx = [rsp + (rax << 2) + 0x38].d 0x1448 46 rax = sx.q([rsp + (rbp << 3) + 0x3d4].d) 0x1450 47 rax = rax + (rax << 1) 0x1454 48 r8d = [rsp + (rax << 2) + 0x30].d 0x1459 49 r9d = [rsp + (rax << 2) + 0x34].d 0x145e 50 eax = [rsp + (rax << 2) + 0x38].d 0x1462 51 xmm0 = zx.o([rsp + (rbp << 3) + 0xb0].q) 0x146b 52 [rsp {var_728}].d = eax 0x146e 53 rdi = rbx 0x1471 54 al = 1 0x1473 55 call(0x1030) 0x1478 56 rbp = rbp + 1 0x147c 57 eax = [rsp + 0xc {var_71c}].d 0x1480 58 ecx = (rax - 1).d 0x1483 59 ecx = ecx * eax 0x1486 60 eax = ecx 0x1488 61 eax = eax u>> 0x1f 0x148b 62 eax = eax + ecx 0x148d 63 eax = eax s>> 1 0x148f 64 rax = sx.q(eax) 0x1494 65 if (rbp s< rax) then 41 @ 0x1430 else 20 @ 0x1496 0x11ca 66 if (eax s< 2) then 13 @ 0x1411 else 67 @ 0x11d0 0x11d0 67 r15 = rsp + 0x44 {var_6e4} 0x11d5 68 edx = 0 0x11d7 69 r12d = 1 0x11dd 70 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x11e1 71 r8d = 0 0x11e4 72 goto 73 @ 0x1219 0x1219 73 rbx = rdx 0x121c 74 rdx = rdx + 1 0x1220 75 rcx = sx.q(eax) 0x1226 76 if (rdx s>= rcx) then 77 @ 0x1202 else 82 @ 0x1228 0x1202 77 ecx = (rax - 1).d 0x1205 78 rcx = sx.q(ecx) 0x1208 79 r12 = r12 + 1 0x120c 80 r15 = r15 + 0xc 0x1213 81 if (rdx s>= rcx) then 95 @ 0x12e3 else 73 @ 0x1219 0x1228 82 [rsp + 0x10 {var_718_1}].q = rdx 0x122d 83 rax = rbx + (rbx << 1) 0x1231 84 r14 = rsp + (rax << 2) 0x1235 85 r14 = r14 + 0x30 0x1239 86 [rsp + 0x20 {var_708_1}].q = r8 0x123e 87 rax = sx.q(r8d) 0x1241 88 rbp = rsp + (rax << 3) + 0xb0 0x1249 89 rcx = rsp + 0x3d4 {var_354} 0x1251 90 rsi = rcx + (rax << 3) 0x1255 91 [rsp + 0x18 {var_710_1}].q = r15 0x125a 92 r13d = 0 0x125d 93 [rsp + 0x28 {var_700_1}].q = rsi 0x1262 94 goto 96 @ 0x12aa 0x12e3 95 if (r8d s<= 0) then 13 @ 0x1411 else 116 @ 0x12e9 0x12aa 96 eax = [r14].d 0x12ad 97 eax = eax - [r15 - 8].d 0x12b1 98 ecx = [r14 + 4].d 0x12b5 99 ecx = ecx - [r15 - 4].d 0x12b9 100 eax = eax * eax 0x12bc 101 ecx = ecx * ecx 0x12bf 102 ecx = ecx + eax 0x12c1 103 eax = [r14 + 8].d 0x12c5 104 eax = eax - [r15].d 0x12c8 105 eax = eax * eax 0x12cb 106 eax = eax + ecx 0x12cd 107 xmm0 = 0 0x12d0 108 xmm0.q = float.d(eax) 0x12d4 109 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x12d4 110 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12d4 111 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12d4 112 flag:s = 0 0x12d4 113 flag:o = 0 0x12d4 114 flag:a = 0 0x12d8 115 if (flag:c) then 119 @ 0x1270 else 123 @ 0x12da 0x12e9 116 ecx = (r8 - 1).d 0x12ed 117 edx = 0 0x12ef 118 goto 125 @ 0x130f 0x1270 119 call(0x1050) 0x1275 120 rsi = [rsp + 0x28 {var_700_1}].q 0x127a 121 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x127a 122 goto 129 @ 0x127e 0x12da 123 xmm0 = _mm_sqrt_sd(xmm0.q) 0x12de 124 goto 129 @ 0x127e 0x130f 125 esi = edx 0x1311 126 esi = not.d(esi) 0x1313 127 esi = esi + r8d 0x1318 128 if (esi s<= 0) then 138 @ 0x1300 else 141 @ 0x131a 0x127e 129 [rbp + (r13 << 3)].q = xmm0.q 0x1285 130 [rsi + (r13 << 3) - 4].d = ebx 0x128a 131 eax = (r12 + r13).d 0x128e 132 [rsi + (r13 << 3)].d = eax 0x1292 133 eax = [rsp + 0xc {var_71c}].d 0x1296 134 r13 = r13 + 1 0x129a 135 ecx = (r12 + r13).d 0x129e 136 r15 = r15 + 0xc 0x12a4 137 if (eax s<= ecx) then 143 @ 0x11f0 else 96 @ 0x12aa 0x1300 138 edx = edx + 1 0x1303 139 ecx = ecx - 1 0x1309 140 if (edx == r8d) then 13 @ 0x1411 else 125 @ 0x130f 0x131a 141 xmm0 = zx.o([rsp + 0xb0 {var_678}].q) 0x1326 142 if (esi != 1) then 148 @ 0x1370 else 152 @ 0x1328 0x11f0 143 r8 = [rsp + 0x20 {var_708_1}].q 0x11f5 144 r8d = r8d + r13d 0x11f8 145 r15 = [rsp + 0x18 {var_710_1}].q 0x11fd 146 rdx = [rsp + 0x10 {var_718_1}].q 0x11fd 147 goto 77 @ 0x1202 0x1370 148 edi = ecx 0x1372 149 edi = edi & 0xfffffffe 0x1375 150 ebp = 0 0x1377 151 goto 154 @ 0x13b5 0x1328 152 ebx = 0 0x1328 153 goto 162 @ 0x132e 0x13b5 154 xmm1 = zx.o([rsp + (rbp << 3) + 0xb8].q) 0x13be 155 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x13be 156 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13be 157 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13be 158 flag:s = 0 0x13be 159 flag:o = 0 0x13be 160 flag:a = 0 0x13c2 161 if (flag:z || flag:c) then 163 @ 0x13f0 else 165 @ 0x13c4 0x132e 162 if ((sil & 1) == 0) then 138 @ 0x1300 else 170 @ 0x1330 0x13f0 163 xmm0 = xmm1 0x13f0 164 goto 178 @ 0x13f4 0x13c4 165 [rsp + (rbp << 3) + 0xb0].q = xmm1.q 0x13cd 166 [rsp + (rbp << 3) + 0xb8].q = xmm0.q 0x13d6 167 xmm1 = __pshufd_xmmdq_memdq_immb([rsp + (rbp << 3) + 0x3d0].o, 0x4e) 0x13e0 168 [rsp + (rbp << 3) + 0x3d0].o = xmm1 0x13e9 169 goto 178 @ 0x13f4 0x1330 170 xmm1 = zx.o([rsp + (rbx << 3) + 0xb8].q) 0x1339 171 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x1339 172 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1339 173 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1339 174 flag:s = 0 0x1339 175 flag:o = 0 0x1339 176 flag:a = 0 0x133d 177 if (flag:z || flag:c) then 138 @ 0x1300 else 187 @ 0x133f 0x13f4 178 rbx = rbp + 2 0x13f8 179 xmm1 = zx.o([rsp + (rbp << 3) + 0xc0].q) 0x1401 180 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x1401 181 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1401 182 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1401 183 flag:s = 0 0x1401 184 flag:o = 0 0x1401 185 flag:a = 0 0x1405 186 if (not(flag:z) && not(flag:c)) then 193 @ 0x1380 else 199 @ 0x140b 0x133f 187 [rsp + (rbx << 3) + 0xb0].q = xmm1.q 0x1348 188 [rsp + (rbx << 3) + 0xb8].q = xmm0.q 0x1351 189 xmm0 = [rsp + (rbx << 3) + 0x3d0].o 0x135a 190 xmm0 = _mm_shuffle_epi32(xmm0, 0x4e) 0x135f 191 [rsp + (rbx << 3) + 0x3d0].o = xmm0 0x1368 192 goto 138 @ 0x1300 0x1380 193 [rsp + (rbp << 3) + 0xb8].q = xmm1.q 0x1389 194 [rsp + (rbp << 3) + 0xc0].q = xmm0.q 0x1392 195 xmm1 = [rsp + (rbp << 3) + 0x3d8].o 0x139b 196 xmm1 = _mm_shuffle_epi32(xmm1, 0x4e) 0x13a0 197 [rsp + (rbp << 3) + 0x3d8].o = xmm1 0x13a0 198 goto 201 @ 0x13a9 0x140b 199 xmm0 = xmm1 0x140f 200 goto 201 @ 0x13a9 0x13a9 201 rbp = rbx 0x13af 202 if (rdi == rbx) then 162 @ 0x132e else 154 @ 0x13b5 int64_t _fini(): 0x14ac 0 rsp = rsp - 8 0x14b0 1 rsp = rsp + 8 0x14b4 2 <return> jump(pop)
POJ_64
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t 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 {"HH(u"} 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 - 0x48 0x1154 1 xmm0 = [0x20d0].o 0x115b 2 [rsp + 0x30 {var_18}].o = xmm0 0x1160 3 xmm0 = [0x20c0].o 0x1167 4 [rsp + 0x20 {var_28}].o = xmm0 0x116c 5 xmm0 = [0x20b0].o 0x1174 6 [rsp + 0x10 {var_38}].o = xmm0 0x117a 7 rdi = 0x20fc {"%d%d%d"} 0x1181 8 rsi = rsp + 4 {var_44} 0x1186 9 rdx = rsp + 0xc {var_3c} 0x118b 10 rcx = rsp + 8 {var_40} 0x1190 11 eax = 0 0x1192 12 call(0x1030) 0x1197 13 r10d = [rsp + 4 {var_44}].d 0x11a3 14 if (r10d s< 0x191) then 15 @ 0x11d0 else 21 @ 0x11a5 0x11d0 15 cl = (r10b & 3) == 0 0x11d3 16 edx = r10d * -0x3d70a3d7 0x11da 17 edx = edx + 0x51eb850 0x11e0 18 edx = ror.d(edx, 2) 0x11e9 19 dl = edx u>= 0x28f5c29 0x11ee 20 if ((cl & dl) != 0) then 29 @ 0x1214 else 31 @ 0x11f0 0x11a5 21 r10d = r10d - 0x190 0x11ac 22 rcx = r10 * 0x51eb851f 0x11b3 23 rcx = rcx u>> 0x27 0x11b7 24 ecx = ecx * 0x190 0x11bd 25 r10d = r10d - ecx 0x11c0 26 r10d = r10d + 0x190 0x11c7 27 [rsp + 4 {var_44}].d = r10d 0x11c7 28 goto 15 @ 0x11d0 0x1214 29 [rsp + 0x14 {var_38[1]}].d = 0x1d {""} 0x1214 30 goto 42 @ 0x121c 0x11f0 31 rcx = sx.q(r10d) 0x11f3 32 rcx = rcx * 0x51eb851f 0x11fa 33 rdx = rcx 0x11fd 34 rdx = rdx u>> 0x3f 0x1201 35 rcx = rcx s>> 0x27 0x1205 36 ecx = ecx + edx 0x1207 37 ecx = ecx * 0x190 0x120d 38 edx = r10d 0x1210 39 temp0.d = edx 0x1210 40 edx = edx - ecx 0x1212 41 if (temp0.d != ecx) then 42 @ 0x121c else 29 @ 0x1214 0x121c 42 r11d = [rsp + 0xc {var_3c}].d 0x1221 43 esi = 0 0x1227 44 if (r11d s< 2) then 45 @ 0x1562 else 58 @ 0x122d 0x1562 45 rax = sx.q([rsp + 8 {var_40}].d) 0x1567 46 rdi = rax * -0x6db6db6d 0x156e 47 rdi = rdi u>> 0x20 0x1572 48 edi = edi + eax 0x1574 49 ecx = edi 0x1576 50 ecx = ecx u>> 0x1f 0x1579 51 edi = edi s>> 2 0x157c 52 edi = edi + ecx 0x157e 53 ecx = (rdi << 3).d 0x1585 54 edi = edi - ecx 0x1587 55 edi = edi + eax 0x1589 56 edi = edi + esi 0x158f 57 if (r10d s< 2) then 60 @ 0x1752 else 72 @ 0x1595 0x122d 58 r8 = r11 - 1 0x1235 59 if (r8 u>= 8) then 75 @ 0x1243 else 82 @ 0x1237 0x1752 60 rcx = sx.q(edi) 0x1755 61 rax = rcx * -0x6db6db6d 0x175c 62 rax = rax u>> 0x20 0x1760 63 eax = eax + ecx 0x1762 64 edx = eax 0x1764 65 edx = edx u>> 0x1f 0x1767 66 eax = eax s>> 2 0x176a 67 eax = eax + edx 0x176c 68 edx = (rax << 3).d 0x1773 69 eax = eax - edx 0x1775 70 eax = eax + ecx 0x177a 71 if (eax u> 6) then 85 @ 0x1791 else 88 @ 0x177c 0x1595 72 edx = (r10 - 1).d 0x1599 73 esi = 1 0x15a1 74 if (edx u< 8) then 94 @ 0x1710 else 111 @ 0x15a7 0x1243 75 rdx = r8 0x1246 76 rdx = rdx & 0xfffffffffffffff8 0x124a 77 rsi = rdx - 8 0x124e 78 r9 = rsi 0x1251 79 r9 = r9 u>> 3 0x1255 80 r9 = r9 + 1 0x125c 81 if (rsi == 0) then 126 @ 0x1798 else 130 @ 0x1262 0x1237 82 esi = 0 0x1239 83 edx = 1 0x123e 84 goto 137 @ 0x1530 0x1791 85 eax = 0 0x1793 86 rsp = rsp + 0x48 0x1797 87 <return> jump(pop) 0x177c 88 rax = sx.q(eax) 0x177e 89 rcx = 0x20e0 {"A"} 0x1785 90 rdi = sx.q([rcx + (rax << 2)].d) 0x1789 91 rdi = rdi + rcx 0x178c 92 call(0x1040) 0x178c 93 goto 85 @ 0x1791 0x1710 94 eax = esi 0x1712 95 rax = rax * 0x51eb851f 0x1719 96 rdx = rax 0x171c 97 rdx = rdx u>> 0x25 0x1720 98 edx = edx * 0x64 0x1723 99 rax = rax u>> 0x27 0x1727 100 eax = eax * 0x190 0x1731 101 cl = (sil & 3) == 0 0x1736 102 dl = edx != esi 0x1739 103 dl = dl & cl 0x173d 104 al = eax == esi 0x1740 105 al = al | dl 0x1742 106 eax = zx.d(al) 0x1745 107 edi = edi + eax 0x1747 108 edi = edi + 1 0x174a 109 esi = esi + 1 0x1750 110 if (r10d != esi) then 94 @ 0x1710 else 60 @ 0x1752 0x15a7 111 eax = edx 0x15a9 112 eax = eax & 0xfffffff8 0x15ac 113 esi = (rax + 1).d 0x15af 114 xmm0 = edi 0x15b3 115 xmm9 = [0x2020].o 0x15bc 116 xmm12 = [0x2040].o 0x15c5 117 xmm15 = [0x2050].o 0x15ce 118 xmm13 = [0x2060].o 0x15d7 119 xmm10 = [0x2070].o 0x15e0 120 xmm14 = [0x2080].o 0x15e9 121 xmm7 = _mm_cmpeq_epi32(xmm7, xmm7) 0x15ed 122 xmm11 = [0x2090].o 0x15f6 123 edi = eax 0x15f8 124 xmm3 = 0 0x15fc 125 goto 151 @ 0x1600 0x1798 126 xmm0 = 0 0x179c 127 esi = 0 0x179e 128 xmm1 = 0 0x17a6 129 if ((r9b & 1) != 0) then 203 @ 0x143b else 251 @ 0x17ac 0x1262 130 rdi = r9 0x1265 131 rdi = rdi & 0xfffffffffffffffe 0x1269 132 xmm0 = 0 0x126d 133 esi = 0 0x126f 134 xmm8 = [0x2010].o 0x1278 135 xmm1 = 0 0x127c 136 goto 252 @ 0x1280 0x1530 137 rdi = sx.q([rsp + (rdx << 2) + 0xc].d) 0x1535 138 rax = rdi * -0x6db6db6d 0x153c 139 rax = rax u>> 0x20 0x1540 140 eax = eax + edi 0x1542 141 ecx = eax 0x1544 142 ecx = ecx u>> 0x1f 0x1547 143 eax = eax s>> 2 0x154a 144 eax = eax + ecx 0x154c 145 ecx = (rax << 3).d 0x1553 146 eax = eax - ecx 0x1555 147 eax = eax + edi 0x1557 148 esi = esi + eax 0x1559 149 rdx = rdx + 1 0x1560 150 if (r11 != rdx) then 137 @ 0x1530 else 45 @ 0x1562 0x1600 151 xmm1 = xmm9 0x1605 152 xmm1 = _mm_mul_epu32(xmm1, xmm12) 0x160a 153 xmm4 = _mm_shuffle_epi32(xmm1, 0xe8) 0x160f 154 xmm1 = _mm_shuffle_epi32(xmm9, 0xf5) 0x1615 155 xmm1 = _mm_mul_epu32(xmm1, xmm12) 0x161a 156 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x161f 157 xmm4 = _mm_unpacklo_epi32(xmm4, xmm1.q) 0x1623 158 xmm1 = xmm4 0x1627 159 xmm1 = _mm_srli_epi32(xmm1, 2) 0x162c 160 xmm5 = xmm4 0x1630 161 xmm5 = _mm_slli_epi32(xmm5, 0x1e) 0x1635 162 xmm5 = xmm5 | xmm1 0x1639 163 xmm6 = xmm4 0x163d 164 xmm6 = _mm_add_epi32(xmm6, xmm10) 0x1642 165 xmm8 = xmm6 0x1647 166 xmm8 = _mm_srli_epi32(xmm8, 2) 0x164d 167 xmm1 = xmm6 0x1651 168 xmm1 = _mm_slli_epi32(xmm1, 0x1e) 0x1656 169 xmm1 = xmm1 | xmm8 0x165b 170 xmm2 = xmm9 0x1660 171 xmm2 = xmm2 & [0x2030].o 0x1668 172 xmm2 = __pcmpeqd_xmmdq_memdq(xmm2, [0x20a0].o) 0x1670 173 xmm5 = xmm5 ^ xmm15 0x1675 174 xmm5 = _mm_cmpgt_epi32(xmm5, xmm13) 0x167a 175 xmm1 = xmm1 ^ xmm15 0x167f 176 xmm1 = _mm_cmpgt_epi32(xmm1, xmm13) 0x1684 177 xmm5 = xmm5 & xmm2 0x1688 178 xmm1 = xmm1 & xmm2 0x168c 179 xmm2 = xmm4 0x1690 180 xmm2 = _mm_srli_epi32(xmm2, 4) 0x1695 181 xmm4 = _mm_slli_epi32(xmm4, 0x1c) 0x169a 182 xmm4 = xmm4 | xmm2 0x169e 183 xmm4 = xmm4 ^ xmm15 0x16a3 184 xmm4 = _mm_cmpgt_epi32(xmm4, xmm14) 0x16a8 185 xmm4 = xmm4 ^ xmm7 0x16ac 186 xmm4 = xmm4 | xmm5 0x16b0 187 xmm0 = _mm_sub_epi32(xmm0, xmm4) 0x16b4 188 xmm2 = xmm6 0x16b8 189 xmm2 = _mm_srli_epi32(xmm2, 4) 0x16bd 190 xmm6 = _mm_slli_epi32(xmm6, 0x1c) 0x16c2 191 xmm6 = xmm6 | xmm2 0x16c6 192 xmm6 = xmm6 ^ xmm15 0x16cb 193 xmm6 = _mm_cmpgt_epi32(xmm6, xmm14) 0x16d0 194 xmm6 = xmm6 ^ xmm7 0x16d4 195 xmm6 = xmm6 | xmm1 0x16d8 196 xmm3 = _mm_sub_epi32(xmm3, xmm6) 0x16dc 197 xmm0 = _mm_sub_epi32(xmm0, xmm7) 0x16e0 198 xmm3 = _mm_sub_epi32(xmm3, xmm7) 0x16e4 199 xmm9 = _mm_add_epi32(xmm9, xmm11) 0x16e9 200 temp1.d = edi 0x16e9 201 edi = edi - 8 0x16ec 202 if (temp1.d != 8) then 151 @ 0x1600 else 348 @ 0x16f2 0x143b 203 xmm5 = [rsp + (rsi << 2) + 0x10].o 0x1441 204 xmm2 = [rsp + (rsi << 2) + 0x20].o 0x1447 205 xmm3 = [0x2010].o 0x144f 206 xmm4 = xmm5 0x1453 207 xmm4 = _mm_mul_epu32(xmm4, xmm3) 0x1457 208 xmm6 = _mm_shuffle_epi32(xmm4, 0xed) 0x145c 209 xmm4 = _mm_shuffle_epi32(xmm5, 0xf5) 0x1461 210 xmm4 = _mm_mul_epu32(xmm4, xmm3) 0x1465 211 xmm4 = _mm_shuffle_epi32(xmm4, 0xed) 0x146a 212 xmm6 = _mm_unpacklo_epi32(xmm6, xmm4.q) 0x146e 213 xmm4 = 0 0x1472 214 xmm7 = 0 0x1476 215 xmm7 = _mm_cmpgt_epi32(xmm7, xmm5) 0x147a 216 xmm7 = xmm7 & xmm3 0x147e 217 xmm7 = _mm_add_epi32(xmm7, xmm5) 0x1482 218 xmm6 = _mm_sub_epi32(xmm6, xmm7) 0x1486 219 xmm6 = _mm_add_epi32(xmm6, xmm5) 0x148a 220 xmm7 = xmm6 0x148e 221 xmm7 = _mm_srli_epi32(xmm7, 0x1f) 0x1493 222 xmm6 = _mm_srai_epi32(xmm6, 2) 0x1498 223 xmm6 = _mm_add_epi32(xmm6, xmm7) 0x149c 224 xmm7 = xmm6 0x14a0 225 xmm7 = _mm_slli_epi32(xmm7, 3) 0x14a5 226 xmm6 = _mm_sub_epi32(xmm6, xmm7) 0x14a9 227 xmm6 = _mm_add_epi32(xmm6, xmm5) 0x14ad 228 xmm0 = _mm_add_epi32(xmm0, xmm6) 0x14b1 229 xmm5 = xmm2 0x14b5 230 xmm5 = _mm_mul_epu32(xmm5, xmm3) 0x14b9 231 xmm5 = _mm_shuffle_epi32(xmm5, 0xed) 0x14be 232 xmm6 = _mm_shuffle_epi32(xmm2, 0xf5) 0x14c3 233 xmm6 = _mm_mul_epu32(xmm6, xmm3) 0x14c7 234 xmm6 = _mm_shuffle_epi32(xmm6, 0xed) 0x14cc 235 xmm5 = _mm_unpacklo_epi32(xmm5, xmm6.q) 0x14d0 236 xmm4 = _mm_cmpgt_epi32(xmm4, xmm2) 0x14d4 237 xmm4 = xmm4 & xmm3 0x14d8 238 xmm4 = _mm_add_epi32(xmm4, xmm2) 0x14dc 239 xmm5 = _mm_sub_epi32(xmm5, xmm4) 0x14e0 240 xmm5 = _mm_add_epi32(xmm5, xmm2) 0x14e4 241 xmm3 = xmm5 0x14e8 242 xmm3 = _mm_srli_epi32(xmm3, 0x1f) 0x14ed 243 xmm5 = _mm_srai_epi32(xmm5, 2) 0x14f2 244 xmm5 = _mm_add_epi32(xmm5, xmm3) 0x14f6 245 xmm3 = xmm5 0x14fa 246 xmm3 = _mm_slli_epi32(xmm3, 3) 0x14ff 247 xmm5 = _mm_sub_epi32(xmm5, xmm3) 0x1503 248 xmm5 = _mm_add_epi32(xmm5, xmm2) 0x1507 249 xmm1 = _mm_add_epi32(xmm1, xmm5) 0x1507 250 goto 355 @ 0x150b 0x17ac 251 goto 355 @ 0x150b 0x1280 252 xmm6 = [rsp + (rsi << 2) + 0x10].o 0x1286 253 xmm5 = [rsp + (rsi << 2) + 0x20].o 0x128c 254 xmm4 = [rsp + (rsi << 2) + 0x30].o 0x1292 255 xmm9 = [rsp + (rsi << 2) + 0x40].o 0x1299 256 xmm2 = xmm6 0x129d 257 xmm2 = _mm_mul_epu32(xmm2, xmm8) 0x12a2 258 xmm7 = _mm_shuffle_epi32(xmm2, 0xed) 0x12a7 259 xmm2 = _mm_shuffle_epi32(xmm6, 0xf5) 0x12ac 260 xmm2 = _mm_mul_epu32(xmm2, xmm8) 0x12b1 261 xmm2 = _mm_shuffle_epi32(xmm2, 0xed) 0x12b6 262 xmm7 = _mm_unpacklo_epi32(xmm7, xmm2.q) 0x12ba 263 xmm2 = 0 0x12be 264 xmm2 = _mm_cmpgt_epi32(xmm2, xmm6) 0x12c2 265 xmm2 = xmm2 & xmm8 0x12c7 266 xmm2 = _mm_add_epi32(xmm2, xmm6) 0x12cb 267 xmm7 = _mm_sub_epi32(xmm7, xmm2) 0x12cf 268 xmm7 = _mm_add_epi32(xmm7, xmm6) 0x12d3 269 xmm2 = xmm7 0x12d7 270 xmm2 = _mm_srli_epi32(xmm2, 0x1f) 0x12dc 271 xmm7 = _mm_srai_epi32(xmm7, 2) 0x12e1 272 xmm7 = _mm_add_epi32(xmm7, xmm2) 0x12e5 273 xmm2 = xmm7 0x12e9 274 xmm2 = _mm_slli_epi32(xmm2, 3) 0x12ee 275 xmm7 = _mm_sub_epi32(xmm7, xmm2) 0x12f2 276 xmm2 = xmm5 0x12f6 277 xmm2 = _mm_mul_epu32(xmm2, xmm8) 0x12fb 278 xmm2 = _mm_shuffle_epi32(xmm2, 0xed) 0x1300 279 xmm3 = _mm_shuffle_epi32(xmm5, 0xf5) 0x1305 280 xmm3 = _mm_mul_epu32(xmm3, xmm8) 0x130a 281 xmm3 = _mm_shuffle_epi32(xmm3, 0xed) 0x130f 282 xmm2 = _mm_unpacklo_epi32(xmm2, xmm3.q) 0x1313 283 xmm3 = 0 0x1317 284 xmm3 = _mm_cmpgt_epi32(xmm3, xmm5) 0x131b 285 xmm3 = xmm3 & xmm8 0x1320 286 xmm3 = _mm_add_epi32(xmm3, xmm5) 0x1324 287 xmm2 = _mm_sub_epi32(xmm2, xmm3) 0x1328 288 xmm2 = _mm_add_epi32(xmm2, xmm5) 0x132c 289 xmm3 = xmm2 0x1330 290 xmm3 = _mm_srli_epi32(xmm3, 0x1f) 0x1335 291 xmm2 = _mm_srai_epi32(xmm2, 2) 0x133a 292 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x133e 293 xmm3 = xmm2 0x1342 294 xmm3 = _mm_slli_epi32(xmm3, 3) 0x1347 295 xmm2 = _mm_sub_epi32(xmm2, xmm3) 0x134b 296 xmm0 = _mm_add_epi32(xmm0, xmm6) 0x134f 297 xmm0 = _mm_add_epi32(xmm0, xmm7) 0x1353 298 xmm1 = _mm_add_epi32(xmm1, xmm5) 0x1357 299 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x135b 300 xmm2 = xmm4 0x135f 301 xmm2 = _mm_mul_epu32(xmm2, xmm8) 0x1364 302 xmm2 = _mm_shuffle_epi32(xmm2, 0xed) 0x1369 303 xmm3 = _mm_shuffle_epi32(xmm4, 0xf5) 0x136e 304 xmm3 = _mm_mul_epu32(xmm3, xmm8) 0x1373 305 xmm3 = _mm_shuffle_epi32(xmm3, 0xed) 0x1378 306 xmm2 = _mm_unpacklo_epi32(xmm2, xmm3.q) 0x137c 307 xmm3 = 0 0x1380 308 xmm3 = _mm_cmpgt_epi32(xmm3, xmm4) 0x1384 309 xmm3 = xmm3 & xmm8 0x1389 310 xmm3 = _mm_add_epi32(xmm3, xmm4) 0x138d 311 xmm2 = _mm_sub_epi32(xmm2, xmm3) 0x1391 312 xmm2 = _mm_add_epi32(xmm2, xmm4) 0x1395 313 xmm3 = xmm2 0x1399 314 xmm3 = _mm_srli_epi32(xmm3, 0x1f) 0x139e 315 xmm2 = _mm_srai_epi32(xmm2, 2) 0x13a3 316 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x13a7 317 xmm3 = xmm2 0x13ab 318 xmm3 = _mm_slli_epi32(xmm3, 3) 0x13b0 319 xmm2 = _mm_sub_epi32(xmm2, xmm3) 0x13b4 320 xmm2 = _mm_add_epi32(xmm2, xmm4) 0x13b8 321 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x13bc 322 xmm2 = xmm9 0x13c1 323 xmm2 = _mm_mul_epu32(xmm2, xmm8) 0x13c6 324 xmm2 = _mm_shuffle_epi32(xmm2, 0xed) 0x13cb 325 xmm3 = _mm_shuffle_epi32(xmm9, 0xf5) 0x13d1 326 xmm3 = _mm_mul_epu32(xmm3, xmm8) 0x13d6 327 xmm3 = _mm_shuffle_epi32(xmm3, 0xed) 0x13db 328 xmm2 = _mm_unpacklo_epi32(xmm2, xmm3.q) 0x13df 329 xmm3 = 0 0x13e3 330 xmm3 = _mm_cmpgt_epi32(xmm3, xmm9) 0x13e8 331 xmm3 = xmm3 & xmm8 0x13ed 332 xmm3 = _mm_add_epi32(xmm3, xmm9) 0x13f2 333 xmm2 = _mm_sub_epi32(xmm2, xmm3) 0x13f6 334 xmm2 = _mm_add_epi32(xmm2, xmm9) 0x13fb 335 xmm3 = xmm2 0x13ff 336 xmm3 = _mm_srli_epi32(xmm3, 0x1f) 0x1404 337 xmm2 = _mm_srai_epi32(xmm2, 2) 0x1409 338 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x140d 339 xmm3 = xmm2 0x1411 340 xmm3 = _mm_slli_epi32(xmm3, 3) 0x1416 341 xmm2 = _mm_sub_epi32(xmm2, xmm3) 0x141a 342 xmm2 = _mm_add_epi32(xmm2, xmm9) 0x141f 343 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x1423 344 rsi = rsi + 0x10 0x1427 345 temp2.q = rdi 0x1427 346 rdi = rdi - 2 0x142b 347 if (temp2.q != 2) then 252 @ 0x1280 else 362 @ 0x1435 0x16f2 348 xmm3 = _mm_add_epi32(xmm3, xmm0) 0x16f6 349 xmm0 = _mm_shuffle_epi32(xmm3, 0xee) 0x16fb 350 xmm0 = _mm_add_epi32(xmm0, xmm3) 0x16ff 351 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1704 352 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1708 353 edi = xmm1.d 0x170e 354 if (edx == eax) then 60 @ 0x1752 else 94 @ 0x1710 0x150b 355 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x150f 356 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1514 357 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1518 358 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x151d 359 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1521 360 esi = xmm0.d 0x1528 361 if (r8 == rdx) then 45 @ 0x1562 else 363 @ 0x152a 0x1435 362 if ((r9b & 1) == 0) then 355 @ 0x150b else 203 @ 0x143b 0x152a 363 rdx = rdx | 1 0x152e 364 goto 137 @ 0x1530 int64_t _fini(): 0x17b8 0 rsp = rsp - 8 0x17bc 1 rsp = rsp + 8 0x17c0 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) char* gets(char* buf): 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 - 0x1080 0x115b 3 [rbp - 0x1074 {var_107c}].d = 0 0x1165 4 [rbp - 0x107c {var_1084}].d = 0 0x116f 5 rdi = rbp - 0xbc0 {var_bc8} 0x1176 6 al = 0 0x1178 7 call(0x1040) 0x117d 8 [rbp - 0x1074 {var_107c_1}].d = 0 0x117d 9 goto 10 @ 0x1191 0x1191 10 if ([rbp - 0x1074 {var_107c_1}].d s>= 0x12c) then 11 @ 0x11bd else 14 @ 0x1197 0x11bd 11 [rbp - 0x1074 {var_107c_2}].d = 0 0x11c7 12 [rbp - 0x1078 {var_1080}].d = -1 0x11c7 13 goto 20 @ 0x11d1 0x1197 14 rax = sx.q([rbp - 0x1074 {var_107c_1}].d) 0x119e 15 [rbp + (rax << 2) - 0x1070].d = 0 0x11a9 16 eax = [rbp - 0x1074 {var_107c_1}].d 0x11af 17 eax = eax + 1 0x11b2 18 [rbp - 0x1074 {var_107c_1}].d = eax 0x11b8 19 goto 10 @ 0x1191 0x11d1 20 eax = [rbp - 0x1078 {var_1080}].d 0x11d7 21 eax = eax + 1 0x11da 22 [rbp - 0x1078 {var_1080}].d = eax 0x11e0 23 rax = sx.q([rbp - 0x1078 {var_1080}].d) 0x11e7 24 eax = sx.d([rbp + rax - 0xbc0].b) 0x11f2 25 if (eax != 0) then 26 @ 0x11fd else 29 @ 0x11f8 0x11fd 26 rax = sx.q([rbp - 0x1078 {var_1080}].d) 0x1204 27 eax = sx.d([rbp + rax - 0xbc0].b) 0x120f 28 if (eax != 0x20) then 30 @ 0x122b else 31 @ 0x1215 0x11f8 29 goto 33 @ 0x12a1 0x122b 30 if ([rbp - 0x107c {var_1084}].d != 0) then 34 @ 0x124e else 45 @ 0x1231 0x1215 31 [rbp - 0x107c {var_1084}].d = 1 0x121f 32 goto 50 @ 0x1290 0x12a1 33 if ([rbp - 0x1078 {var_1080}].d != 1) then 51 @ 0x12c0 else 57 @ 0x12a7 0x124e 34 eax = [rbp - 0x1074 {var_107c_2}].d 0x1254 35 eax = eax + 1 0x1257 36 [rbp - 0x1074 {var_107c_2}].d = eax 0x125d 37 eax = [rbp - 0x1074 {var_107c_2}].d 0x1263 38 [rbp - 0x1080 {var_1088}].d = eax 0x1269 39 rax = sx.q([rbp - 0x1074 {var_107c_2}].d) 0x1270 40 ecx = [rbp + (rax << 2) - 0x1070].d 0x1277 41 ecx = ecx + 1 0x127a 42 [rbp + (rax << 2) - 0x1070].d = ecx 0x1281 43 [rbp - 0x107c {var_1084}].d = 0 0x1281 44 goto 62 @ 0x128b 0x1231 45 rax = sx.q([rbp - 0x1074 {var_107c_2}].d) 0x1238 46 ecx = [rbp + (rax << 2) - 0x1070].d 0x123f 47 ecx = ecx + 1 0x1242 48 [rbp + (rax << 2) - 0x1070].d = ecx 0x1249 49 goto 62 @ 0x128b 0x1290 50 goto 63 @ 0x1295 0x12c0 51 esi = [rbp - 0x1070 {var_1078}].d 0x12c6 52 rdi = 0x2005 {"%d"} 0x12cd 53 al = 0 0x12cf 54 call(0x1030) 0x12d4 55 [rbp - 0x1074 {var_107c_3}].d = 1 0x12d4 56 goto 64 @ 0x12de 0x12a7 57 esi = [rbp - 0x1070 {var_1078}].d 0x12ad 58 rdi = 0x2005 {"%d"} 0x12b4 59 al = 0 0x12b6 60 call(0x1030) 0x12bb 61 goto 66 @ 0x1325 0x128b 62 goto 50 @ 0x1290 0x1295 63 goto 20 @ 0x11d1 0x12de 64 eax = [rbp - 0x1074 {var_107c_3}].d 0x12ea 65 if (eax s> [rbp - 0x1080 {var_1088}].d) then 69 @ 0x1320 else 70 @ 0x12f0 0x1325 66 rsp = rsp + 0x1080 0x132c 67 rbp = pop 0x132d 68 <return> jump(pop) 0x1320 69 goto 66 @ 0x1325 0x12f0 70 rax = sx.q([rbp - 0x1074 {var_107c_3}].d) 0x12f7 71 esi = [rbp + (rax << 2) - 0x1070].d 0x12fe 72 rdi = 0x2004 {",%d"} 0x1305 73 al = 0 0x1307 74 call(0x1030) 0x130c 75 eax = [rbp - 0x1074 {var_107c_3}].d 0x1312 76 eax = eax + 1 0x1315 77 [rbp - 0x1074 {var_107c_3}].d = eax 0x131b 78 goto 64 @ 0x12de int64_t _fini(): 0x1334 0 rsp = rsp - 8 0x1338 1 rsp = rsp + 8 0x133c 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) 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 {"UAWAVSH5 "} 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 - 0xc3518 0x116d 5 rdi = 0x2005 {"%d"} 0x1174 6 r15d = 0 0x1177 7 rsi = rsp + 8 {var_c3530} 0x117c 8 eax = 0 0x117e 9 call(0x1040) 0x1188 10 if ([rsp + 8 {var_c3530}].d s<= 0) then 11 @ 0x11bf else 17 @ 0x118a 0x11bf 11 rdi = 0x2005 {"%d"} 0x11c6 12 rsi = rsp + 0xc {var_c352c} 0x11cb 13 eax = 0 0x11cd 14 call(0x1040) 0x11d2 15 r10d = [rsp + 8 {var_c3530}].d 0x11da 16 if (r10d s<= 0) then 21 @ 0x12f3 else 28 @ 0x11e0 0x118a 17 rbx = rsp + 0x10 {var_c3528} 0x118f 18 r14 = 0x2005 {"%d"} 0x1196 19 ebp = 0 0x1198 20 goto 34 @ 0x11a0 0x12f3 21 esi = [rsp + 0x10 {var_c3528}].d 0x12f7 22 rdi = 0x2005 {"%d"} 0x12fe 23 eax = 0 0x1300 24 call(0x1030) 0x1305 25 eax = [rsp + 8 {var_c3530}].d 0x1309 26 eax = eax - r15d 0x130f 27 if (eax s< 2) then 42 @ 0x133f else 51 @ 0x1311 0x11e0 28 r9d = [rsp + 0xc {var_c352c}].d 0x11e5 29 edx = 0 0x11e7 30 r8 = rsp + 0x44 {var_c34f4} 0x11ec 31 eax = r10d 0x11ef 32 r15d = 0 0x11f2 33 goto 55 @ 0x1218 0x11a0 34 rdi = r14 0x11a3 35 rsi = rbx 0x11a6 36 eax = 0 0x11a8 37 call(0x1040) 0x11ad 38 rbp = rbp + 1 0x11b1 39 rax = sx.q([rsp + 8 {var_c3530}].d) 0x11b6 40 rbx = rbx + 4 0x11bd 41 if (rbp s< rax) then 34 @ 0x11a0 else 11 @ 0x11bf 0x133f 42 edi = 0xa {""} 0x1344 43 call(0x1050) 0x1349 44 eax = 0 0x134b 45 rsp = rsp + 0xc3518 0x1352 46 rbx = pop 0x1353 47 r14 = pop 0x1355 48 r15 = pop 0x1357 49 rbp = pop 0x1358 50 <return> jump(pop) 0x1311 51 ebp = 1 0x1316 52 r14 = 0x2004 {" %d"} 0x131d 53 rbx = sx.q(r15d) 0x131d 54 goto 57 @ 0x1320 0x1218 55 rdi = sx.q(edx) 0x1220 56 if ([rsp + (rdi << 2) + 0x10].d != r9d) then 65 @ 0x1207 else 69 @ 0x1224 0x1320 57 esi = [rsp + (rbp << 2) + 0x10].d 0x1324 58 rdi = r14 0x1327 59 eax = 0 0x1329 60 call(0x1030) 0x132e 61 rbp = rbp + 1 0x1332 62 rax = sx.q([rsp + 8 {var_c3530}].d) 0x1337 63 rax = rax - rbx 0x133d 64 if (rbp s< rax) then 57 @ 0x1320 else 42 @ 0x133f 0x1207 65 edx = edx + 1 0x120a 66 eax = r10d 0x120d 67 eax = eax - r15d 0x1212 68 if (edx s>= eax) then 21 @ 0x12f3 else 55 @ 0x1218 0x1224 69 if (edx s>= eax) then 70 @ 0x1200 else 73 @ 0x1226 0x1200 70 r15d = r15d + 1 0x1204 71 edx = edx - 1 0x1204 72 goto 65 @ 0x1207 0x1226 73 rbx = sx.q(eax) 0x1229 74 rsi = rbx 0x122c 75 rsi = rsi - rdi 0x1233 76 if (rsi u< 8) then 77 @ 0x12d0 else 82 @ 0x1239 0x12d0 77 eax = [rsp + (rdi << 2) + 0x14].d 0x12d4 78 [rsp + (rdi << 2) + 0x10].d = eax 0x12d8 79 rax = rdi + 1 0x12dc 80 rdi = rax 0x12e2 81 if (rbx != rax) then 77 @ 0x12d0 else 89 @ 0x12e4 0x1239 82 r11 = rsi 0x123c 83 r11 = r11 & 0xfffffffffffffff8 0x1240 84 rax = r11 - 8 0x1244 85 r14 = rax 0x1247 86 r14 = r14 u>> 3 0x124b 87 r14 = r14 + 1 0x1252 88 if (rax == 0) then 90 @ 0x12e9 else 92 @ 0x1258 0x12e4 89 goto 70 @ 0x1200 0x12e9 90 ecx = 0 0x12ef 91 if ((r14b & 1) != 0) then 97 @ 0x12a8 else 103 @ 0x12f1 0x1258 92 rax = r14 0x125b 93 rax = rax & 0xfffffffffffffffe 0x125f 94 rbp = r8 + (rdi << 2) 0x1263 95 ecx = 0 0x126f 96 goto 104 @ 0x1270 0x12a8 97 rcx = rcx + rdi 0x12ab 98 xmm0 = [rsp + (rcx << 2) + 0x14].o 0x12b0 99 xmm1 = [rsp + (rcx << 2) + 0x24].o 0x12b5 100 [rsp + (rcx << 2) + 0x10].o = xmm0 0x12ba 101 [rsp + (rcx << 2) + 0x20].o = xmm1 0x12ba 102 goto 116 @ 0x12c2 0x12f1 103 goto 116 @ 0x12c2 0x1270 104 xmm0 = [rbp + (rcx << 2) - 0x30].o 0x1275 105 xmm1 = [rbp + (rcx << 2) - 0x20].o 0x127a 106 xmm2 = [rbp + (rcx << 2) - 0x10].o 0x127f 107 xmm3 = [rbp + (rcx << 2)].o 0x1284 108 [rbp + (rcx << 2) - 0x34].o = xmm0 0x1289 109 [rbp + (rcx << 2) - 0x24].o = xmm1 0x128e 110 [rbp + (rcx << 2) - 0x14].o = xmm2 0x1293 111 [rbp + (rcx << 2) - 4].o = xmm3 0x1298 112 rcx = rcx + 0x10 0x129c 113 temp0.q = rax 0x129c 114 rax = rax - 2 0x12a0 115 if (temp0.q != 2) then 104 @ 0x1270 else 117 @ 0x12a6 0x12c2 116 if (rsi == r11) then 70 @ 0x1200 else 118 @ 0x12c8 0x12a6 117 if ((r14b & 1) == 0) then 116 @ 0x12c2 else 97 @ 0x12a8 0x12c8 118 rdi = rdi + r11 0x12cb 119 goto 77 @ 0x12d0 int64_t _fini(): 0x1360 0 rsp = rsp - 8 0x1364 1 rsp = rsp + 8 0x1368 2 <return> jump(pop)
POJ_42
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x11b0 {"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) uint64_t ispr(int32_t arg1): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 [rbp - 4 {var_c}].d = edi 0x1157 3 [rbp - 0xc {var_14}].d = 1 0x115e 4 [rbp - 8 {var_10}].d = 2 0x115e 5 goto 6 @ 0x1165 0x1165 6 eax = [rbp - 8 {var_10}].d 0x1168 7 eax = eax * [rbp - 8 {var_10}].d 0x116f 8 if (eax s> [rbp - 4 {var_c}].d) then 9 @ 0x11a4 else 12 @ 0x1175 0x11a4 9 eax = [rbp - 0xc {var_14}].d 0x11a7 10 rbp = pop 0x11a8 11 <return> jump(pop) 0x1175 12 eax = [rbp - 4 {var_c}].d 0x1178 13 temp2.d:temp3.d = sx.q(eax) 0x1178 14 edx = temp2.d 0x1178 15 eax = temp3.d 0x1179 16 temp4.d = edx 0x1179 17 temp5.d = eax 0x1179 18 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 8 {var_10}].d) 0x1179 19 temp6.d = edx 0x1179 20 temp7.d = eax 0x1179 21 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 8 {var_10}].d) 0x1179 22 eax = temp0.d 0x1179 23 edx = temp1.d 0x117f 24 if (edx != 0) then 25 @ 0x1191 else 26 @ 0x1185 0x1191 25 goto 28 @ 0x1196 0x1185 26 [rbp - 0xc {var_14}].d = 0 0x118c 27 goto 9 @ 0x11a4 0x1196 28 eax = [rbp - 8 {var_10}].d 0x1199 29 eax = eax + 1 0x119c 30 [rbp - 8 {var_10}].d = eax 0x119f 31 goto 6 @ 0x1165 int32_t main(int32_t argc, char** argv, char** envp): 0x11b0 0 push(rbp) 0x11b1 1 rbp = rsp {__saved_rbp} 0x11b4 2 rsp = rsp - 0x10 0x11b8 3 [rbp - 4 {var_c}].d = 0 0x11bf 4 rdi = 0x2004 {"%d"} 0x11c6 5 rsi = rbp - 8 {var_10} 0x11ca 6 al = 0 0x11cc 7 call(0x1040) 0x11d5 8 if ([rbp - 8 {var_10}].d s>= 5) then 9 @ 0x11ee else 11 @ 0x11db 0x11ee 9 [rbp - 0xc {var_14_1}].d = 5 0x11ee 10 goto 15 @ 0x11f5 0x11db 11 rdi = 0x2007 {"empty\n"} 0x11e2 12 al = 0 0x11e4 13 call(0x1030) 0x11e9 14 goto 17 @ 0x1255 0x11f5 15 eax = [rbp - 0xc {var_14_1}].d 0x11fb 16 if (eax s> [rbp - 8 {var_10}].d) then 21 @ 0x1250 else 22 @ 0x1201 0x1255 17 eax = [rbp - 4 {var_c}].d 0x1258 18 rsp = rsp + 0x10 0x125c 19 rbp = pop 0x125d 20 <return> jump(pop) 0x1250 21 goto 17 @ 0x1255 0x1201 22 edi = [rbp - 0xc {var_14_1}].d 0x1204 23 call(0x1150) 0x120c 24 if (eax == 0) then 25 @ 0x123d else 26 @ 0x1212 0x123d 25 goto 30 @ 0x1242 0x1212 26 edi = [rbp - 0xc {var_14_1}].d 0x1215 27 edi = edi - 2 0x1218 28 call(0x1150) 0x1220 29 if (eax == 0) then 25 @ 0x123d else 34 @ 0x1226 0x1242 30 eax = [rbp - 0xc {var_14_1}].d 0x1245 31 eax = eax + 1 0x1248 32 [rbp - 0xc {var_14_1}].d = eax 0x124b 33 goto 15 @ 0x11f5 0x1226 34 esi = [rbp - 0xc {var_14_1}].d 0x1229 35 esi = esi - 2 0x122c 36 edx = [rbp - 0xc {var_14_1}].d 0x122f 37 rdi = 0x200e {"%d %d\n"} 0x1236 38 al = 0 0x1238 39 call(0x1030) 0x1238 40 goto 25 @ 0x123d int64_t _fini(): 0x1264 0 rsp = rsp - 8 0x1268 1 rsp = rsp + 8 0x126c 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* gets(char* buf): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAVSH'"} 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 - 0x2710 0x115b 4 rbx = rsp {var_2728} 0x115e 5 ebp = 0 0x1160 6 rdi = rbx {var_2728} 0x1163 7 eax = 0 0x1165 8 call(0x1040) 0x116a 9 r14 = 0x2004 {"%d,"} 0x1171 10 goto 11 @ 0x1184 0x1184 11 eax = zx.d([rbx].b) 0x1189 12 if (al == 0x20) then 13 @ 0x11a4 else 14 @ 0x118d 0x11a4 13 if ([rbx - 1].b == 0x20) then 15 @ 0x1180 else 17 @ 0x11a6 0x118d 14 if (al == 0) then 24 @ 0x11ba else 33 @ 0x118f 0x1180 15 rbx = rbx + 1 0x1180 16 goto 11 @ 0x1184 0x11a6 17 rdi = r14 0x11a9 18 esi = ebp 0x11ab 19 eax = 0 0x11ad 20 call(0x1030) 0x11b2 21 ebp = 0 0x11b4 22 rbx = rbx + 1 0x11b8 23 goto 11 @ 0x1184 0x11ba 24 rdi = 0x2008 {"%d"} 0x11c1 25 esi = ebp 0x11c3 26 eax = 0 0x11c5 27 call(0x1030) 0x11ca 28 rsp = rsp + 0x2710 0x11d1 29 rbx = pop 0x11d2 30 r14 = pop 0x11d4 31 rbp = pop 0x11d5 32 <return> jump(pop) 0x118f 33 ebp = ebp + 1 0x1192 34 goto 15 @ 0x1180 int64_t _fini(): 0x11dc 0 rsp = rsp - 8 0x11e0 1 rsp = rsp + 8 0x11e4 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) 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 - 0x238 0x1171 7 rdi = 0x2010 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_25c} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1184 11 eax = [rsp + 0xc {var_25c}].d 0x118a 12 if (eax s<= 0) then 13 @ 0x12be else 15 @ 0x1190 0x12be 13 r9d = (rax - 1).d 0x12be 14 goto 19 @ 0x12c2 0x1190 15 rbx = rsp + 0x20 {var_248} 0x1195 16 r14 = 0x2010 {"%d"} 0x119c 17 ebp = 0 0x119e 18 goto 28 @ 0x11a0 0x12c2 19 r9d = r9d * eax 0x12c6 20 edx = r9d 0x12c9 21 edx = edx u>> 0x1f 0x12cc 22 edx = edx + r9d 0x12cf 23 edx = edx s>> 1 0x12d1 24 rsi = sx.q(edx) 0x12d4 25 rdi = -0x4010000000000000 0x12de 26 [rsp + (rsi << 3) + 0xa0].q = rdi 0x12ea 27 if (r9d s< -1) then 44 @ 0x141a else 53 @ 0x12f0 0x11a0 28 rdi = r14 0x11a3 29 rsi = rbx 0x11a6 30 eax = 0 0x11a8 31 call(0x1040) 0x11ad 32 rsi = rbx + 4 0x11b1 33 rdi = r14 0x11b4 34 eax = 0 0x11b6 35 call(0x1040) 0x11bb 36 rsi = rbx + 8 0x11bf 37 rdi = r14 0x11c2 38 eax = 0 0x11c4 39 call(0x1040) 0x11c9 40 rbp = rbp + 1 0x11cd 41 rax = sx.q([rsp + 0xc {var_25c}].d) 0x11d2 42 rbx = rbx + 0xc 0x11d9 43 if (rbp s< rax) then 28 @ 0x11a0 else 55 @ 0x11de 0x141a 44 eax = 0 0x141c 45 rsp = rsp + 0x238 0x1423 46 rbx = pop 0x1424 47 r12 = pop 0x1426 48 r13 = pop 0x1428 49 r14 = pop 0x142a 50 r15 = pop 0x142c 51 rbp = pop 0x142d 52 <return> jump(pop) 0x12f0 53 ecx = edx 0x12f2 54 goto 56 @ 0x1312 0x11de 55 if (eax s< 2) then 13 @ 0x12be else 66 @ 0x11e4 0x1312 56 xmm0 = zx.o([rsp + (rcx << 3) + 0xa0].q) 0x131b 57 [rsp + 0x18 {var_250_2}].q = xmm0.q 0x1321 58 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + (rcx << 3) + 0xa8].q)) 0x1321 59 flag:c = xmm0.q f< fconvert.t([rsp + (rcx << 3) + 0xa8].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (rcx << 3) + 0xa8].q)) 0x1321 60 flag:z = xmm0.q f== fconvert.t([rsp + (rcx << 3) + 0xa8].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (rcx << 3) + 0xa8].q)) 0x1321 61 flag:s = 0 0x1321 62 flag:o = 0 0x1321 63 flag:a = 0 0x132a 64 [rsp + 0x10 {var_258_2}].q = rcx 0x132f 65 if (not(flag:z)) then 72 @ 0x1335 else 73 @ 0x1331 0x11e4 66 r15 = rsp + 0x34 {var_234} 0x11e9 67 esi = 0 0x11eb 68 r13d = 1 0x11f1 69 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x11f5 70 edi = 0 0x11f7 71 goto 74 @ 0x1224 0x1335 72 if (eax s<= 0) then 78 @ 0x1300 else 81 @ 0x1337 0x1331 73 if (not(flag:p)) then 78 @ 0x1300 else 72 @ 0x1335 0x1224 74 rcx = rsi 0x1227 75 rsi = rsi + 1 0x122b 76 rdx = sx.q(eax) 0x1231 77 if (rsi s>= rdx) then 85 @ 0x120c else 90 @ 0x1233 0x1300 78 rdx = [rsp + 0x10 {var_258_2}].q 0x1305 79 rcx = rdx - 1 0x130c 80 if (rdx s<= 0) then 44 @ 0x141a else 56 @ 0x1312 0x1337 81 r15d = 1 0x133d 82 r12 = rsp + 0x34 {var_234} 0x1342 83 r13d = 0 0x1345 84 goto 101 @ 0x1360 0x120c 85 r9d = (rax - 1).d 0x1210 86 rdx = sx.q(r9d) 0x1213 87 r13 = r13 + 1 0x1217 88 r15 = r15 + 0xc 0x121e 89 if (rsi s>= rdx) then 105 @ 0x1431 else 74 @ 0x1224 0x1233 90 [rsp + 0x10 {var_258_1}].q = rsi 0x1238 91 rax = rcx + (rcx << 1) 0x123c 92 rbp = rsp + (rax << 2) 0x1240 93 rbp = rbp + 0x20 0x1244 94 [rsp + 0x18 {var_250_1}].q = rdi 0x1249 95 rax = sx.q(edi) 0x124c 96 r14 = rsp + (rax << 3) 0x1250 97 r14 = r14 + 0xa0 0x1257 98 ebx = 0 0x1259 99 r12 = r15 0x125c 100 goto 106 @ 0x1287 0x1360 101 rcx = r13 0x1363 102 r13 = r13 + 1 0x1367 103 rdx = sx.q(eax) 0x136d 104 if (r13 s>= rdx) then 126 @ 0x1350 else 130 @ 0x136f 0x1431 105 if (edi s< 2) then 19 @ 0x12c2 else 136 @ 0x1437 0x1287 106 eax = [rbp].d 0x128a 107 eax = eax - [r12 - 8].d 0x128f 108 ecx = [rbp + 4].d 0x1292 109 ecx = ecx - [r12 - 4].d 0x1297 110 eax = eax * eax 0x129a 111 ecx = ecx * ecx 0x129d 112 ecx = ecx + eax 0x129f 113 eax = [rbp + 8].d 0x12a2 114 eax = eax - [r12].d 0x12a6 115 eax = eax * eax 0x12a9 116 eax = eax + ecx 0x12ab 117 xmm0 = 0 0x12ae 118 xmm0.q = float.d(eax) 0x12b2 119 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x12b2 120 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12b2 121 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12b2 122 flag:s = 0 0x12b2 123 flag:o = 0 0x12b2 124 flag:a = 0 0x12b6 125 if (flag:c) then 141 @ 0x1260 else 144 @ 0x12b8 0x1350 126 rcx = sx.q(eax) 0x1353 127 r12 = r12 + 0xc 0x1357 128 r15d = r15d + 1 0x135e 129 if (r13 s>= rcx) then 78 @ 0x1300 else 101 @ 0x1360 0x136f 130 rax = rcx + (rcx << 1) 0x1373 131 r14 = rsp + (rax << 2) 0x1377 132 r14 = r14 + 0x20 0x137b 133 ebp = r15d 0x137e 134 rbx = r12 0x1381 135 goto 146 @ 0x139f 0x1437 136 esi = (rdi - 1).d 0x143a 137 r8 = rsi 0x143d 138 r8 = neg.q(r8) 0x1440 139 ecx = 0 0x1442 140 goto 166 @ 0x1466 0x1260 141 call(0x1050) 0x1265 142 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1265 143 goto 170 @ 0x1269 0x12b8 144 xmm0 = _mm_sqrt_sd(xmm0.q) 0x12bc 145 goto 170 @ 0x1269 0x139f 146 eax = [r14].d 0x13a2 147 eax = eax - [rbx - 8].d 0x13a5 148 ecx = [r14 + 4].d 0x13a9 149 ecx = ecx - [rbx - 4].d 0x13ac 150 eax = eax * eax 0x13af 151 ecx = ecx * ecx 0x13b2 152 ecx = ecx + eax 0x13b4 153 eax = [r14 + 8].d 0x13b8 154 eax = eax - [rbx].d 0x13ba 155 eax = eax * eax 0x13bd 156 eax = eax + ecx 0x13bf 157 xmm0 = 0 0x13c2 158 xmm0.q = float.d(eax) 0x13c6 159 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x13c6 160 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x13c6 161 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x13c6 162 flag:s = 0 0x13c6 163 flag:o = 0 0x13c6 164 flag:a = 0 0x13ce 165 if (flag:c) then 176 @ 0x13e0 else 178 @ 0x13d0 0x1466 166 rdx = rcx 0x1469 167 rdx = not.q(rdx) 0x146c 168 xmm0 = zx.o([rsp + 0xa0 {var_1c8}].q) 0x1478 169 if (rdx != r8) then 180 @ 0x14b0 else 184 @ 0x147a 0x1269 170 [r14 + (rbx << 3)].q = xmm0.q 0x126f 171 eax = [rsp + 0xc {var_25c}].d 0x1273 172 r12 = r12 + 0xc 0x1277 173 rbx = rbx + 1 0x127b 174 ecx = (rbx + r13).d 0x1281 175 if (eax s<= ecx) then 186 @ 0x1200 else 106 @ 0x1287 0x13e0 176 call(0x1050) 0x13e0 177 goto 190 @ 0x13e5 0x13d0 178 xmm0 = _mm_sqrt_sd(xmm0.q) 0x13d4 179 goto 190 @ 0x13e5 0x14b0 180 rdx = rsi 0x14b3 181 rdx = rdx & 0xfffffffffffffffe 0x14b7 182 ebx = 0 0x14b9 183 goto 197 @ 0x14da 0x147a 184 ebp = 0 0x147a 185 goto 205 @ 0x1480 0x1200 186 rdi = [rsp + 0x18 {var_250_1}].q 0x1205 187 edi = edi + ebx 0x1207 188 rsi = [rsp + 0x10 {var_258_1}].q 0x1207 189 goto 85 @ 0x120c 0x13e5 190 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + 0x18 {var_250_2}].q)) 0x13e5 191 flag:c = xmm0.q f< fconvert.t([rsp + 0x18 {var_250_2}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 0x18 {var_250_2}].q)) 0x13e5 192 flag:z = xmm0.q f== fconvert.t([rsp + 0x18 {var_250_2}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 0x18 {var_250_2}].q)) 0x13e5 193 flag:s = 0 0x13e5 194 flag:o = 0 0x13e5 195 flag:a = 0 0x13eb 196 if (not(flag:z)) then 206 @ 0x1390 else 210 @ 0x13ed 0x14da 197 xmm1 = zx.o([rsp + (rbx << 3) + 0xa8].q) 0x14e3 198 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x14e3 199 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x14e3 200 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x14e3 201 flag:s = 0 0x14e3 202 flag:o = 0 0x14e3 203 flag:a = 0 0x14e7 204 if (flag:z || flag:c) then 211 @ 0x1500 else 213 @ 0x14e9 0x1480 205 if ((sil & 1) == 0) then 216 @ 0x1450 else 222 @ 0x1482 0x1390 206 eax = [rsp + 0xc {var_25c}].d 0x1394 207 rbx = rbx + 0xc 0x1398 208 ebp = ebp + 1 0x139d 209 if (eax s<= ebp) then 126 @ 0x1350 else 146 @ 0x139f 0x13ed 210 if (flag:p) then 206 @ 0x1390 else 230 @ 0x13ef 0x1500 211 xmm0 = xmm1 0x1500 212 goto 241 @ 0x1504 0x14e9 213 [rsp + (rbx << 3) + 0xa0].q = xmm1.q 0x14f2 214 [rsp + (rbx << 3) + 0xa8].q = xmm0.q 0x14fb 215 goto 241 @ 0x1504 0x1450 216 edx = (rdi - 1).d 0x1453 217 rsi = rsi - 1 0x1457 218 rcx = rcx + 1 0x145b 219 cond:0 = edi s< 3 0x145e 220 edi = edx 0x1460 221 if (cond:0) then 19 @ 0x12c2 else 166 @ 0x1466 0x1482 222 xmm1 = zx.o([rsp + (rbp << 3) + 0xa8].q) 0x148b 223 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x148b 224 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x148b 225 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x148b 226 flag:s = 0 0x148b 227 flag:o = 0 0x148b 228 flag:a = 0 0x148f 229 if (flag:z || flag:c) then 216 @ 0x1450 else 250 @ 0x1491 0x13ef 230 esi = [r14].d 0x13f2 231 edx = [r14 + 4].d 0x13f6 232 ecx = [r14 + 8].d 0x13fa 233 r8d = [rbx - 8].d 0x13fe 234 r9d = [rbx - 4].d 0x1402 235 eax = [rbx].d 0x1404 236 [rsp {var_268}].d = eax 0x1407 237 rdi = 0x2013 {"(%d,%d,%d)-(%d,%d,%d)=%.2lf\n"} 0x140e 238 al = 1 0x1410 239 call(0x1030) 0x1415 240 goto 206 @ 0x1390 0x1504 241 rbp = rbx + 2 0x1508 242 xmm1 = zx.o([rsp + (rbx << 3) + 0xb0].q) 0x1511 243 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1511 244 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1511 245 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1511 246 flag:s = 0 0x1511 247 flag:o = 0 0x1511 248 flag:a = 0 0x1515 249 if (not(flag:z) && not(flag:c)) then 253 @ 0x14c0 else 256 @ 0x1517 0x1491 250 [rsp + (rbp << 3) + 0xa0].q = xmm1.q 0x149a 251 [rsp + (rbp << 3) + 0xa8].q = xmm0.q 0x14a3 252 goto 216 @ 0x1450 0x14c0 253 [rsp + (rbx << 3) + 0xa8].q = xmm1.q 0x14c9 254 [rsp + (rbx << 3) + 0xb0].q = xmm0.q 0x14c9 255 goto 258 @ 0x14d2 0x1517 256 xmm0 = xmm1 0x151b 257 goto 258 @ 0x14d2 0x14d2 258 rbx = rbp 0x14d8 259 if (rdx == rbp) then 205 @ 0x1480 else 197 @ 0x14da int64_t _fini(): 0x1524 0 rsp = rsp - 8 0x1528 1 rsp = rsp + 8 0x152c 2 <return> jump(pop)
POJ_64
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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 - 0x180 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 8 {var_10}].d = 0 0x1169 5 rdi = 0x2004 {"%d"} 0x1170 6 rsi = rbp - 8 {var_10} 0x1174 7 al = 0 0x1176 8 call(0x1040) 0x117b 9 [rbp - 0xb4 {var_bc}].d = 0 0x1185 10 [rbp - 0xb8 {var_c0}].d = 0 0x118f 11 [rbp - 0xc {var_14}].d = 0 0x118f 12 goto 13 @ 0x1196 0x1196 13 eax = [rbp - 0xc {var_14}].d 0x1199 14 ecx = [rbp - 8 {var_10}].d 0x119c 15 ecx = ecx - 1 0x11a1 16 if (eax s> ecx) then 17 @ 0x1239 else 19 @ 0x11a7 0x1239 17 [rbp - 0x174 {var_17c}].d = 0 0x1239 18 goto 26 @ 0x1243 0x11a7 19 rsi = rbp - 0x167 {var_16f} 0x11ae 20 rdi = 0x2007 {"%s %f"} 0x11b5 21 rdx = rbp - 0x16c {var_174} 0x11bc 22 al = 0 0x11be 23 call(0x1040) 0x11c3 24 eax = sx.d([rbp - 0x167 {var_16f}].b) 0x11cd 25 if (eax != 0x6d) then 30 @ 0x11ff else 37 @ 0x11d3 0x1243 26 eax = [rbp - 0x174 {var_17c}].d 0x1249 27 ecx = [rbp - 0xb4 {var_bc}].d 0x124f 28 ecx = ecx - 2 0x1254 29 if (eax s> ecx) then 44 @ 0x1334 else 46 @ 0x125a 0x11ff 30 xmm0 = [rbp - 0x16c {var_174}].d 0x1207 31 rax = sx.q([rbp - 0xb8 {var_c0}].d) 0x120e 32 [rbp + (rax << 2) - 0x160].d = xmm0.d 0x1217 33 eax = [rbp - 0xb8 {var_c0}].d 0x121d 34 eax = eax + 1 0x1220 35 [rbp - 0xb8 {var_c0}].d = eax 0x1220 36 goto 48 @ 0x1226 0x11d3 37 xmm0 = [rbp - 0x16c {var_174}].d 0x11db 38 rax = sx.q([rbp - 0xb4 {var_bc}].d) 0x11e2 39 [rbp + (rax << 2) - 0xb0].d = xmm0.d 0x11eb 40 eax = [rbp - 0xb4 {var_bc}].d 0x11f1 41 eax = eax + 1 0x11f4 42 [rbp - 0xb4 {var_bc}].d = eax 0x11fa 43 goto 48 @ 0x1226 0x1334 44 [rbp - 0x174 {var_17c_1}].d = 0 0x1334 45 goto 49 @ 0x133e 0x125a 46 [rbp - 0x178 {var_180_1}].d = 0 0x125a 47 goto 53 @ 0x1264 0x1226 48 goto 58 @ 0x122b 0x133e 49 eax = [rbp - 0x174 {var_17c_1}].d 0x1344 50 ecx = [rbp - 0xb8 {var_c0}].d 0x134a 51 ecx = ecx - 2 0x134f 52 if (eax s> ecx) then 62 @ 0x1433 else 64 @ 0x1355 0x1264 53 eax = [rbp - 0x178 {var_180_1}].d 0x126a 54 ecx = [rbp - 0xb4 {var_bc}].d 0x1270 55 ecx = ecx - 2 0x1273 56 ecx = ecx - [rbp - 0x174 {var_17c}].d 0x127b 57 if (eax s> ecx) then 66 @ 0x131b else 67 @ 0x1281 0x122b 58 eax = [rbp - 0xc {var_14}].d 0x122e 59 eax = eax + 1 0x1231 60 [rbp - 0xc {var_14}].d = eax 0x1234 61 goto 13 @ 0x1196 0x1433 62 [rbp - 0xc {var_14_1}].d = 0 0x1433 63 goto 79 @ 0x143a 0x1355 64 [rbp - 0x178 {var_180_2}].d = 0 0x1355 65 goto 81 @ 0x135f 0x131b 66 goto 86 @ 0x1320 0x1281 67 rax = sx.q([rbp - 0x178 {var_180_1}].d) 0x1288 68 xmm0 = [rbp + (rax << 2) - 0xb0].d 0x1291 69 eax = [rbp - 0x178 {var_180_1}].d 0x1297 70 eax = eax + 1 0x129a 71 rax = sx.q(eax) 0x129c 72 flag:p = is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0xb0].d)) 0x129c 73 flag:c = xmm0.d f< fconvert.t([rbp + (rax << 2) - 0xb0].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0xb0].d)) 0x129c 74 flag:z = xmm0.d f== fconvert.t([rbp + (rax << 2) - 0xb0].d) | is_unordered.d(xmm0.d, fconvert.t([rbp + (rax << 2) - 0xb0].d)) 0x129c 75 flag:s = 0 0x129c 76 flag:o = 0 0x129c 77 flag:a = 0 0x12a4 78 if (flag:z || flag:c) then 90 @ 0x1302 else 91 @ 0x12aa 0x143a 79 eax = [rbp - 0xc {var_14_1}].d 0x1443 80 if (eax s>= [rbp - 0xb4 {var_bc}].d) then 106 @ 0x1476 else 108 @ 0x1449 0x135f 81 eax = [rbp - 0x178 {var_180_2}].d 0x1365 82 ecx = [rbp - 0xb8 {var_c0}].d 0x136b 83 ecx = ecx - 2 0x136e 84 ecx = ecx - [rbp - 0x174 {var_17c_1}].d 0x1376 85 if (eax s> ecx) then 118 @ 0x141a else 119 @ 0x137c 0x1320 86 eax = [rbp - 0x174 {var_17c}].d 0x1326 87 eax = eax + 1 0x1329 88 [rbp - 0x174 {var_17c}].d = eax 0x132f 89 goto 26 @ 0x1243 0x1302 90 goto 132 @ 0x1307 0x12aa 91 eax = [rbp - 0x178 {var_180_1}].d 0x12b0 92 eax = eax + 1 0x12b3 93 rax = sx.q(eax) 0x12b5 94 xmm0 = [rbp + (rax << 2) - 0xb0].d 0x12be 95 [rbp - 0x170 {var_178_1}].d = xmm0.d 0x12c6 96 rax = sx.q([rbp - 0x178 {var_180_1}].d) 0x12cd 97 xmm0 = [rbp + (rax << 2) - 0xb0].d 0x12d6 98 eax = [rbp - 0x178 {var_180_1}].d 0x12dc 99 eax = eax + 1 0x12df 100 rax = sx.q(eax) 0x12e1 101 [rbp + (rax << 2) - 0xb0].d = xmm0.d 0x12ea 102 xmm0 = [rbp - 0x170 {var_178_1}].d 0x12f2 103 rax = sx.q([rbp - 0x178 {var_180_1}].d) 0x12f9 104 [rbp + (rax << 2) - 0xb0].d = xmm0.d 0x12f9 105 goto 90 @ 0x1302 0x1476 106 [rbp - 0xc {var_14_2}].d = 0 0x1476 107 goto 136 @ 0x147d 0x1449 108 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x144d 109 xmm0 = [rbp + (rax << 2) - 0xb0].d 0x1456 110 xmm0.q = fconvert.d(xmm0.d) 0x145a 111 rdi = 0x200d {"%.2f "} 0x1461 112 al = 1 0x1463 113 call(0x1030) 0x1468 114 eax = [rbp - 0xc {var_14_1}].d 0x146b 115 eax = eax + 1 0x146e 116 [rbp - 0xc {var_14_1}].d = eax 0x1471 117 goto 79 @ 0x143a 0x141a 118 goto 140 @ 0x141f 0x137c 119 rax = sx.q([rbp - 0x178 {var_180_2}].d) 0x1383 120 xmm1 = [rbp + (rax << 2) - 0x160].d 0x138c 121 eax = [rbp - 0x178 {var_180_2}].d 0x1392 122 eax = eax + 1 0x1395 123 rax = sx.q(eax) 0x1397 124 xmm0 = [rbp + (rax << 2) - 0x160].d 0x13a0 125 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x13a0 126 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x13a0 127 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x13a0 128 flag:s = 0 0x13a0 129 flag:o = 0 0x13a0 130 flag:a = 0 0x13a3 131 if (flag:z || flag:c) then 144 @ 0x1401 else 145 @ 0x13a9 0x1307 132 eax = [rbp - 0x178 {var_180_1}].d 0x130d 133 eax = eax + 1 0x1310 134 [rbp - 0x178 {var_180_1}].d = eax 0x1316 135 goto 53 @ 0x1264 0x147d 136 eax = [rbp - 0xc {var_14_2}].d 0x1480 137 ecx = [rbp - 0xb8 {var_c0}].d 0x1486 138 ecx = ecx - 1 0x148b 139 if (eax s>= ecx) then 160 @ 0x14be else 172 @ 0x1491 0x141f 140 eax = [rbp - 0x174 {var_17c_1}].d 0x1425 141 eax = eax + 1 0x1428 142 [rbp - 0x174 {var_17c_1}].d = eax 0x142e 143 goto 49 @ 0x133e 0x1401 144 goto 182 @ 0x1406 0x13a9 145 eax = [rbp - 0x178 {var_180_2}].d 0x13af 146 eax = eax + 1 0x13b2 147 rax = sx.q(eax) 0x13b4 148 xmm0 = [rbp + (rax << 2) - 0x160].d 0x13bd 149 [rbp - 0x170 {var_178_2}].d = xmm0.d 0x13c5 150 rax = sx.q([rbp - 0x178 {var_180_2}].d) 0x13cc 151 xmm0 = [rbp + (rax << 2) - 0x160].d 0x13d5 152 eax = [rbp - 0x178 {var_180_2}].d 0x13db 153 eax = eax + 1 0x13de 154 rax = sx.q(eax) 0x13e0 155 [rbp + (rax << 2) - 0x160].d = xmm0.d 0x13e9 156 xmm0 = [rbp - 0x170 {var_178_2}].d 0x13f1 157 rax = sx.q([rbp - 0x178 {var_180_2}].d) 0x13f8 158 [rbp + (rax << 2) - 0x160].d = xmm0.d 0x13f8 159 goto 144 @ 0x1401 0x14be 160 eax = [rbp - 0xb8 {var_c0}].d 0x14c4 161 eax = eax - 1 0x14c7 162 rax = sx.q(eax) 0x14c9 163 xmm0 = [rbp + (rax << 2) - 0x160].d 0x14d2 164 xmm0.q = fconvert.d(xmm0.d) 0x14d6 165 rdi = 0x2013 {"%.2f"} 0x14dd 166 al = 1 0x14df 167 call(0x1030) 0x14e4 168 eax = 0 0x14e6 169 rsp = rsp + 0x180 0x14ed 170 rbp = pop 0x14ee 171 <return> jump(pop) 0x1491 172 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1495 173 xmm0 = [rbp + (rax << 2) - 0x160].d 0x149e 174 xmm0.q = fconvert.d(xmm0.d) 0x14a2 175 rdi = 0x200d {"%.2f "} 0x14a9 176 al = 1 0x14ab 177 call(0x1030) 0x14b0 178 eax = [rbp - 0xc {var_14_2}].d 0x14b3 179 eax = eax + 1 0x14b6 180 [rbp - 0xc {var_14_2}].d = eax 0x14b9 181 goto 136 @ 0x147d 0x1406 182 eax = [rbp - 0x178 {var_180_2}].d 0x140c 183 eax = eax + 1 0x140f 184 [rbp - 0x178 {var_180_2}].d = eax 0x1415 185 goto 81 @ 0x135f int64_t _fini(): 0x14f4 0 rsp = rsp - 8 0x14f8 1 rsp = rsp + 8 0x14fc 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 {"UHHpE"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x70 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 0x2028 {"%d"} 0x1166 5 rsi = rbp - 0x54 {var_5c} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1171 8 [rbp - 0x58 {var_60}].d = 0 0x1171 9 goto 10 @ 0x117c 0x117c 10 if ([rbp - 0x58 {var_60}].d s>= 2) then 11 @ 0x11de else 16 @ 0x1182 0x11de 11 xmm0 = 0 0x11e1 12 [rbp - 0x6c {var_74}].d = xmm0.d 0x11e6 13 [rbp - 0x60 {var_68}].d = 0 0x11ed 14 [rbp - 0x5c {var_64_2}].d = 0 0x11ed 15 goto 18 @ 0x11f4 0x1182 16 [rbp - 0x5c {var_64_1}].d = 0 0x1182 17 goto 20 @ 0x1189 0x11f4 18 eax = [rbp - 0x5c {var_64_2}].d 0x11fa 19 if (eax s>= [rbp - 0x54 {var_5c}].d) then 22 @ 0x13d7 else 35 @ 0x1200 0x1189 20 eax = [rbp - 0x5c {var_64_1}].d 0x118f 21 if (eax s>= [rbp - 0x54 {var_5c}].d) then 37 @ 0x11cb else 38 @ 0x1195 0x13d7 22 xmm0 = [rbp - 0x6c {var_74}].d 0x13dc 23 xmm1.d = float.s([rbp - 0x60 {var_68}].d) 0x13e1 24 xmm0.d = xmm0.d f/ xmm1.d 0x13e5 25 [rbp - 0x68 {var_70}].d = xmm0.d 0x13ea 26 xmm0 = [rbp - 0x68 {var_70}].d 0x13ef 27 xmm0.q = fconvert.d(xmm0.d) 0x13f3 28 rdi = 0x202b {"%.2f\n"} 0x13fa 29 al = 1 0x13fc 30 call(0x1030) 0x1401 31 eax = [rbp - 4 {var_c}].d 0x1404 32 rsp = rsp + 0x70 0x1408 33 rbp = pop 0x1409 34 <return> jump(pop) 0x1200 35 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x1209 36 if ([rbp + (rax << 2) - 0x2c].d s< 0x5a) then 52 @ 0x122b else 54 @ 0x120f 0x11cb 37 goto 56 @ 0x11d0 0x1195 38 rax = sx.q([rbp - 0x58 {var_60}].d) 0x1199 39 rsi = rbp - 0x50 {var_58} 0x119d 40 rax = rax * 0x24 0x11a1 41 rsi = rsi + rax 0x11a4 42 rax = sx.q([rbp - 0x5c {var_64_1}].d) 0x11a8 43 rax = rax << 2 0x11ac 44 rsi = rsi + rax 0x11af 45 rdi = 0x2028 {"%d"} 0x11b6 46 al = 0 0x11b8 47 call(0x1040) 0x11bd 48 eax = [rbp - 0x5c {var_64_1}].d 0x11c0 49 eax = eax + 1 0x11c3 50 [rbp - 0x5c {var_64_1}].d = eax 0x11c6 51 goto 20 @ 0x1189 0x122b 52 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x1234 53 if ([rbp + (rax << 2) - 0x2c].d s< 0x55) then 60 @ 0x1256 else 62 @ 0x123a 0x120f 54 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x1218 55 if ([rbp + (rax << 2) - 0x2c].d s> 0x64) then 52 @ 0x122b else 64 @ 0x121e 0x11d0 56 eax = [rbp - 0x58 {var_60}].d 0x11d3 57 eax = eax + 1 0x11d6 58 [rbp - 0x58 {var_60}].d = eax 0x11d9 59 goto 10 @ 0x117c 0x1256 60 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x125f 61 if ([rbp + (rax << 2) - 0x2c].d s< 0x52) then 67 @ 0x1281 else 69 @ 0x1265 0x123a 62 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x1243 63 if ([rbp + (rax << 2) - 0x2c].d s> 0x59) then 60 @ 0x1256 else 71 @ 0x1249 0x121e 64 xmm0 = [0x2004].d 0x1226 65 [rbp - 0x64 {var_6c}].d = xmm0.d 0x1226 66 goto 52 @ 0x122b 0x1281 67 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x128a 68 if ([rbp + (rax << 2) - 0x2c].d s< 0x4e) then 74 @ 0x12ac else 76 @ 0x1290 0x1265 69 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x126e 70 if ([rbp + (rax << 2) - 0x2c].d s> 0x54) then 67 @ 0x1281 else 78 @ 0x1274 0x1249 71 xmm0 = [0x2008].d 0x1251 72 [rbp - 0x64 {var_6c}].d = xmm0.d 0x1251 73 goto 60 @ 0x1256 0x12ac 74 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x12b5 75 if ([rbp + (rax << 2) - 0x2c].d s< 0x4b) then 81 @ 0x12d7 else 83 @ 0x12bb 0x1290 76 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x1299 77 if ([rbp + (rax << 2) - 0x2c].d s> 0x51) then 74 @ 0x12ac else 85 @ 0x129f 0x1274 78 xmm0 = [0x200c].d 0x127c 79 [rbp - 0x64 {var_6c}].d = xmm0.d 0x127c 80 goto 67 @ 0x1281 0x12d7 81 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x12e0 82 if ([rbp + (rax << 2) - 0x2c].d s< 0x48) then 88 @ 0x1302 else 90 @ 0x12e6 0x12bb 83 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x12c4 84 if ([rbp + (rax << 2) - 0x2c].d s> 0x4d) then 81 @ 0x12d7 else 92 @ 0x12ca 0x129f 85 xmm0 = [0x2010].d 0x12a7 86 [rbp - 0x64 {var_6c}].d = xmm0.d 0x12a7 87 goto 74 @ 0x12ac 0x1302 88 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x130b 89 if ([rbp + (rax << 2) - 0x2c].d s< 0x44) then 95 @ 0x132d else 97 @ 0x1311 0x12e6 90 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x12ef 91 if ([rbp + (rax << 2) - 0x2c].d s> 0x4a) then 88 @ 0x1302 else 99 @ 0x12f5 0x12ca 92 xmm0 = [0x2014].d 0x12d2 93 [rbp - 0x64 {var_6c}].d = xmm0.d 0x12d2 94 goto 81 @ 0x12d7 0x132d 95 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x1336 96 if ([rbp + (rax << 2) - 0x2c].d s< 0x40) then 102 @ 0x1358 else 104 @ 0x133c 0x1311 97 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x131a 98 if ([rbp + (rax << 2) - 0x2c].d s> 0x47) then 95 @ 0x132d else 106 @ 0x1320 0x12f5 99 xmm0 = [0x2018].d 0x12fd 100 [rbp - 0x64 {var_6c}].d = xmm0.d 0x12fd 101 goto 88 @ 0x1302 0x1358 102 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x1361 103 if ([rbp + (rax << 2) - 0x2c].d s< 0x3c) then 109 @ 0x1383 else 111 @ 0x1367 0x133c 104 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x1345 105 if ([rbp + (rax << 2) - 0x2c].d s> 0x43) then 102 @ 0x1358 else 113 @ 0x134b 0x1320 106 xmm0 = [0x201c].d 0x1328 107 [rbp - 0x64 {var_6c}].d = xmm0.d 0x1328 108 goto 95 @ 0x132d 0x1383 109 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x138c 110 if ([rbp + (rax << 2) - 0x2c].d s>= 0x3c) then 116 @ 0x139a else 131 @ 0x1392 0x1367 111 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x1370 112 if ([rbp + (rax << 2) - 0x2c].d s> 0x3f) then 109 @ 0x1383 else 134 @ 0x1376 0x134b 113 xmm0 = [0x2020].d 0x1353 114 [rbp - 0x64 {var_6c}].d = xmm0.d 0x1353 115 goto 102 @ 0x1358 0x139a 116 xmm1 = [rbp - 0x6c {var_74}].d 0x139f 117 rax = sx.q([rbp - 0x5c {var_64_2}].d) 0x13a3 118 xmm0.d = float.s([rbp + (rax << 2) - 0x50].d) 0x13a9 119 xmm2 = [rbp - 0x64 {var_6c}].d 0x13ae 120 xmm0.d = xmm0.d f* xmm2.d 0x13b2 121 xmm0.d = xmm0.d f+ xmm1.d 0x13b6 122 [rbp - 0x6c {var_74}].d = xmm0.d 0x13bb 123 eax = [rbp - 0x60 {var_68}].d 0x13be 124 rcx = sx.q([rbp - 0x5c {var_64_2}].d) 0x13c2 125 eax = eax + [rbp + (rcx << 2) - 0x50].d 0x13c6 126 [rbp - 0x60 {var_68}].d = eax 0x13c9 127 eax = [rbp - 0x5c {var_64_2}].d 0x13cc 128 eax = eax + 1 0x13cf 129 [rbp - 0x5c {var_64_2}].d = eax 0x13d2 130 goto 18 @ 0x11f4 0x1392 131 xmm0 = 0 0x1395 132 [rbp - 0x64 {var_6c}].d = xmm0.d 0x1395 133 goto 116 @ 0x139a 0x1376 134 xmm0 = [0x2024].d 0x137e 135 [rbp - 0x64 {var_6c}].d = xmm0.d 0x137e 136 goto 109 @ 0x1383 int64_t _fini(): 0x1410 0 rsp = rsp - 8 0x1414 1 rsp = rsp + 8 0x1418 2 <return> jump(pop)
POJ_83
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t 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 qsort(void* b, uint64_t n, uint64_t s, __compar_fn_t cmp): 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 = 0x1180 {"AWAVATSHX"} 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 comparemale(int32_t* arg1, int32_t* arg2): 0x1170 0 eax = [rdi].d 0x1172 1 eax = eax - [rsi].d 0x1174 2 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(r15) 0x1182 1 push(r14) 0x1184 2 push(r12) 0x1186 3 push(rbx) 0x1187 4 rsp = rsp - 0x358 0x118e 5 r12 = rsp + 0x220 {var_158} 0x1196 6 r14d = 0 0x1199 7 edx = 0x12c {""} 0x119e 8 rdi = r12 {var_158} 0x11a1 9 esi = 0 0x11a3 10 call(0x1040) 0x11a8 11 xmm0 = 0 0x11ab 12 [rsp + 0x200 {var_178}].o = xmm0 0x11b3 13 [rsp + 0x1f0 {var_188}].o = xmm0 0x11bb 14 [rsp + 0x1e0 {var_198}].o = xmm0 0x11c3 15 [rsp + 0x1d0 {var_1a8}].o = xmm0 0x11cb 16 [rsp + 0x1c0 {var_1b8}].o = xmm0 0x11d3 17 [rsp + 0x1b0 {var_1c8}].o = xmm0 0x11db 18 [rsp + 0x1a0 {var_1d8}].o = xmm0 0x11e3 19 [rsp + 0x190 {var_1e8}].o = xmm0 0x11eb 20 [rsp + 0x180 {var_1f8}].o = xmm0 0x11f3 21 [rsp + 0x170 {var_208}].o = xmm0 0x11fb 22 [rsp + 0x160 {var_218}].o = xmm0 0x1203 23 [rsp + 0x150 {var_228}].o = xmm0 0x120b 24 [rsp + 0x210 {var_168}].q = 0 0x1217 25 [rsp + 0x140 {var_238}].o = xmm0 0x121f 26 [rsp + 0x130 {var_248}].o = xmm0 0x1227 27 [rsp + 0x120 {var_258}].o = xmm0 0x122f 28 [rsp + 0x110 {var_268}].o = xmm0 0x1237 29 [rsp + 0x100 {var_278}].o = xmm0 0x123f 30 [rsp + 0xf0 {var_288}].o = xmm0 0x1247 31 [rsp + 0xe0 {var_298}].o = xmm0 0x124f 32 [rsp + 0xd0 {var_2a8}].o = xmm0 0x1257 33 [rsp + 0xc0 {var_2b8}].o = xmm0 0x125f 34 [rsp + 0xb0 {var_2c8}].o = xmm0 0x1267 35 [rsp + 0xa0 {var_2d8}].o = xmm0 0x126f 36 [rsp + 0x90 {var_2e8}].o = xmm0 0x1277 37 [rsp + 0x80 {var_2f8}].o = xmm0 0x127f 38 [rsp + 0x70 {var_308}].o = xmm0 0x1284 39 [rsp + 0x60 {var_318}].o = xmm0 0x1289 40 [rsp + 0x50 {var_328}].o = xmm0 0x128e 41 [rsp + 0x40 {var_338}].o = xmm0 0x1293 42 [rsp + 0x30 {var_348}].o = xmm0 0x1298 43 [rsp + 0x20 {var_358}].o = xmm0 0x129d 44 [rsp + 0x10 {var_368}].o = xmm0 0x12a2 45 rdi = 0x2004 {"%d"} 0x12a9 46 rsi = rsp + 0xc {var_36c} 0x12ae 47 eax = 0 0x12b0 48 call(0x1050) 0x12b5 49 cond:0 = [rsp + 0xc {var_36c}].d s<= 0 0x12ba 50 r15d = 0 0x12c0 51 if (cond:0) then 52 @ 0x1373 else 66 @ 0x12c6 0x1373 52 rbx = 0x1170 {"+f."} 0x137a 53 rdi = rsp + 0xb0 {var_2c8} 0x1382 54 edx = 4 0x1387 55 esi = r14d 0x138a 56 rcx = rbx 0x138d 57 eax = 0 0x138f 58 call(0x1060) 0x1394 59 rdi = rsp + 0x10 {var_368} 0x1399 60 edx = 4 0x139e 61 esi = r15d 0x13a1 62 rcx = rbx 0x13a4 63 eax = 0 0x13a6 64 call(0x1060) 0x13ae 65 if (r14d s<= 0) then 70 @ 0x13e3 else 71 @ 0x13b0 0x12c6 66 r15 = rsp + 0x150 {var_228} 0x12ce 67 r14 = 0x2007 {"%s %f"} 0x12d5 68 ebx = 0 0x12d7 69 goto 75 @ 0x12e0 0x13e3 70 if (r15d s<= 0) then 85 @ 0x1436 else 92 @ 0x13e5 0x13b0 71 r12d = r14d 0x13b3 72 ebx = 0 0x13b5 73 r14 = 0x200d {"%.2f "} 0x13bc 74 goto 97 @ 0x13c0 0x12e0 75 rdi = r14 0x12e3 76 rsi = r12 0x12e6 77 rdx = r15 0x12e9 78 eax = 0 0x12eb 79 call(0x1050) 0x12f0 80 rbx = rbx + 1 0x12f4 81 rax = sx.q([rsp + 0xc {var_36c}].d) 0x12f9 82 r12 = r12 + 7 0x12fd 83 r15 = r15 + 4 0x1304 84 if (rbx s< rax) then 75 @ 0x12e0 else 104 @ 0x1306 0x1436 85 eax = 0 0x1438 86 rsp = rsp + 0x358 0x143f 87 rbx = pop 0x1440 88 r12 = pop 0x1442 89 r14 = pop 0x1444 90 r15 = pop 0x1446 91 <return> jump(pop) 0x13e5 92 ebx = r15d 0x13e8 93 rbx = rbx - 1 0x13ec 94 r14 = 0x2013 {"%.2f"} 0x13f3 95 r15 = 0x200d {"%.2f "} 0x13fa 96 goto 106 @ 0x1429 0x13c0 97 xmm0 = [rsp + (rbx << 2) + 0xb0].d 0x13c9 98 xmm0.q = fconvert.d(xmm0.d) 0x13cd 99 rdi = r14 0x13d0 100 al = 1 0x13d2 101 call(0x1030) 0x13d7 102 rbx = rbx + 1 0x13de 103 if (r12 != rbx) then 97 @ 0x13c0 else 70 @ 0x13e3 0x1306 104 eax = eax 0x130a 105 if (eax s<= 0) then 107 @ 0x136d else 110 @ 0x130c 0x1429 106 if (ebx != 0) then 115 @ 0x1400 else 119 @ 0x142b 0x136d 107 r14d = 0 0x1370 108 r15d = 0 0x1370 109 goto 52 @ 0x1373 0x130c 110 ecx = 0 0x130e 111 rdx = rsp + 0x220 {var_158} 0x1316 112 r15d = 0 0x1319 113 r14d = 0 0x131c 114 goto 122 @ 0x1344 0x1400 115 eax = ebx 0x1402 116 xmm0 = [rsp + (rax << 2) + 0x10].d 0x1408 117 rdi = r15 0x1408 118 goto 124 @ 0x140b 0x142b 119 xmm0 = [rsp + 0x10 {var_368}].d 0x1431 120 rdi = r14 0x1434 121 goto 124 @ 0x140b 0x1344 122 ebx = zx.d([rdx].b) 0x134a 123 if (bl == 0x66) then 132 @ 0x1320 else 137 @ 0x134f 0x140b 124 xmm0.q = fconvert.d(xmm0.d) 0x140f 125 al = 1 0x1411 126 call(0x1030) 0x1416 127 rax = rbx - 1 0x141a 128 rbx = rbx + 1 0x141e 129 cond:1 = rbx u<= 1 0x1422 130 rbx = rax 0x1425 131 if (cond:1) then 85 @ 0x1436 else 106 @ 0x1429 0x1320 132 xmm0 = [rsp + (rcx << 2) + 0x150].d 0x1329 133 r15 = sx.q(r15d) 0x132c 134 [rsp + (r15 << 2) + 0x10].d = xmm0.d 0x1333 135 r15d = r15d + 1 0x1333 136 goto 138 @ 0x1337 0x134f 137 if (bl != 0x6d) then 138 @ 0x1337 else 141 @ 0x1351 0x1337 138 rcx = rcx + 1 0x133b 139 rdx = rdx + 7 0x1342 140 if (rax == rcx) then 52 @ 0x1373 else 122 @ 0x1344 0x1351 141 xmm0 = [rsp + (rcx << 2) + 0x150].d 0x135a 142 r14 = sx.q(r14d) 0x135d 143 [rsp + (r14 << 2) + 0xb0].d = xmm0.d 0x1367 144 r14d = r14d + 1 0x136b 145 goto 138 @ 0x1337 int64_t _fini(): 0x144c 0 rsp = rsp - 8 0x1450 1 rsp = rsp + 8 0x1454 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 {"UHH8"} 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 - 0x138a0 0x115b 3 rdi = 0x2004 {"%d %d"} 0x1162 4 rsi = rbp - 0x13884 {var_1388c} 0x1169 5 rdx = rbp - 0x13888 {var_13890} 0x1170 6 al = 0 0x1172 7 call(0x1040) 0x1177 8 eax = [rbp - 0x13884 {var_1388c}].d 0x1183 9 if (eax != [rbp - 0x13888 {var_13890}].d) then 10 @ 0x11a2 else 13 @ 0x1189 0x11a2 10 eax = [rbp - 0x13884 {var_1388c}].d 0x11a8 11 eax = eax * [rbp - 0x13888 {var_13890}].d 0x11b5 12 if (eax == [rbp - 0x13884 {var_1388c}].d) then 18 @ 0x11d4 else 22 @ 0x11bb 0x1189 13 esi = [rbp - 0x13884 {var_1388c}].d 0x118f 14 rdi = 0x200a {"%d\n"} 0x1196 15 al = 0 0x1198 16 call(0x1030) 0x119d 17 goto 25 @ 0x13df 0x11d4 18 rdi = 0x200e {"1"} 0x11db 19 al = 0 0x11dd 20 call(0x1030) 0x11e2 21 goto 28 @ 0x13da 0x11bb 22 eax = [rbp - 0x13884 {var_1388c}].d 0x11c1 23 eax = eax * [rbp - 0x13888 {var_13890}].d 0x11ce 24 if (eax != [rbp - 0x13888 {var_13890}].d) then 29 @ 0x11e7 else 18 @ 0x11d4 0x13df 25 rsp = rsp + 0x138a0 0x13e6 26 rbp = pop 0x13e7 27 <return> jump(pop) 0x13da 28 goto 25 @ 0x13df 0x11e7 29 [rbp - 0x1388c {var_13894_1}].d = 2 0x11e7 30 goto 31 @ 0x11f1 0x11f1 31 [rbp - 0x9c40 {var_9c48}].d = 0 0x11fb 32 eax = [rbp - 0x13884 {var_1388c}].d 0x1201 33 [rbp - 0x9c3c {var_9c44_1}].d = eax 0x1207 34 eax = [rbp - 0x13884 {var_1388c}].d 0x120d 35 ecx = 2 0x1212 36 temp2.d:temp3.d = sx.q(eax) 0x1212 37 edx = temp2.d 0x1212 38 eax = temp3.d 0x1213 39 temp4.d = edx 0x1213 40 temp5.d = eax 0x1213 41 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x1213 42 temp6.d = edx 0x1213 43 temp7.d = eax 0x1213 44 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x1213 45 eax = temp0.d 0x1213 46 edx = temp1.d 0x1218 47 if (edx != 1) then 48 @ 0x124e else 66 @ 0x121e 0x124e 48 eax = [rbp - 0x13884 {var_1388c}].d 0x1254 49 ecx = 2 0x1259 50 temp8.d:temp9.d = sx.q(eax) 0x1259 51 edx = temp8.d 0x1259 52 eax = temp9.d 0x125a 53 temp10.d = edx 0x125a 54 temp11.d = eax 0x125a 55 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x125a 56 temp12.d = edx 0x125a 57 temp13.d = eax 0x125a 58 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x125a 59 eax = temp0.d 0x125a 60 edx = temp1.d 0x125c 61 [rbp - 0x13884 {var_1388c}].d = eax 0x1262 62 ecx = [rbp - 0x13884 {var_1388c}].d 0x1268 63 rax = sx.q([rbp - 0x1388c {var_13894_1}].d) 0x126f 64 [rbp + (rax << 2) - 0x9c40].d = ecx 0x126f 65 goto 85 @ 0x127d 0x121e 66 eax = [rbp - 0x13884 {var_1388c}].d 0x1224 67 eax = eax - 1 0x1227 68 ecx = 2 0x122c 69 temp14.d:temp15.d = sx.q(eax) 0x122c 70 edx = temp14.d 0x122c 71 eax = temp15.d 0x122d 72 temp16.d = edx 0x122d 73 temp17.d = eax 0x122d 74 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x122d 75 temp18.d = edx 0x122d 76 temp19.d = eax 0x122d 77 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x122d 78 eax = temp0.d 0x122d 79 edx = temp1.d 0x122f 80 [rbp - 0x13884 {var_1388c}].d = eax 0x1235 81 ecx = [rbp - 0x13884 {var_1388c}].d 0x123b 82 rax = sx.q([rbp - 0x1388c {var_13894_1}].d) 0x1242 83 [rbp + (rax << 2) - 0x9c40].d = ecx 0x1249 84 goto 85 @ 0x127d 0x127d 85 if ([rbp - 0x13884 {var_1388c}].d != 1) then 86 @ 0x1288 else 87 @ 0x1283 0x1288 86 goto 88 @ 0x128d 0x1283 87 goto 92 @ 0x12a1 0x128d 88 eax = [rbp - 0x1388c {var_13894_1}].d 0x1293 89 eax = eax + 1 0x1296 90 [rbp - 0x1388c {var_13894_1}].d = eax 0x129c 91 goto 31 @ 0x11f1 0x12a1 92 eax = [rbp - 0x13888 {var_13890}].d 0x12a7 93 [rbp - 0x1387c {var_13884_1}].d = eax 0x12ad 94 [rbp - 0x13880 {var_13888}].d = 1 0x12b7 95 [rbp - 0x13894 {var_1389c_1}].d = 2 0x12b7 96 goto 97 @ 0x12c1 0x12c1 97 eax = [rbp - 0x13888 {var_13890}].d 0x12c7 98 ecx = 2 0x12cc 99 temp20.d:temp21.d = sx.q(eax) 0x12cc 100 edx = temp20.d 0x12cc 101 eax = temp21.d 0x12cd 102 temp22.d = edx 0x12cd 103 temp23.d = eax 0x12cd 104 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x12cd 105 temp24.d = edx 0x12cd 106 temp25.d = eax 0x12cd 107 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x12cd 108 eax = temp0.d 0x12cd 109 edx = temp1.d 0x12d2 110 if (edx != 1) then 111 @ 0x1308 else 129 @ 0x12d8 0x1308 111 eax = [rbp - 0x13888 {var_13890}].d 0x130e 112 ecx = 2 0x1313 113 temp26.d:temp27.d = sx.q(eax) 0x1313 114 edx = temp26.d 0x1313 115 eax = temp27.d 0x1314 116 temp28.d = edx 0x1314 117 temp29.d = eax 0x1314 118 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx) 0x1314 119 temp30.d = edx 0x1314 120 temp31.d = eax 0x1314 121 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx) 0x1314 122 eax = temp0.d 0x1314 123 edx = temp1.d 0x1316 124 [rbp - 0x13888 {var_13890}].d = eax 0x131c 125 ecx = [rbp - 0x13888 {var_13890}].d 0x1322 126 rax = sx.q([rbp - 0x13894 {var_1389c_1}].d) 0x1329 127 [rbp + (rax << 2) - 0x13880].d = ecx 0x1329 128 goto 148 @ 0x1337 0x12d8 129 eax = [rbp - 0x13888 {var_13890}].d 0x12de 130 eax = eax - 1 0x12e1 131 ecx = 2 0x12e6 132 temp32.d:temp33.d = sx.q(eax) 0x12e6 133 edx = temp32.d 0x12e6 134 eax = temp33.d 0x12e7 135 temp34.d = edx 0x12e7 136 temp35.d = eax 0x12e7 137 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx) 0x12e7 138 temp36.d = edx 0x12e7 139 temp37.d = eax 0x12e7 140 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx) 0x12e7 141 eax = temp0.d 0x12e7 142 edx = temp1.d 0x12e9 143 [rbp - 0x13888 {var_13890}].d = eax 0x12ef 144 ecx = [rbp - 0x13888 {var_13890}].d 0x12f5 145 rax = sx.q([rbp - 0x13894 {var_1389c_1}].d) 0x12fc 146 [rbp + (rax << 2) - 0x13880].d = ecx 0x1303 147 goto 148 @ 0x1337 0x1337 148 if ([rbp - 0x13888 {var_13890}].d != 1) then 149 @ 0x1342 else 150 @ 0x133d 0x1342 149 goto 151 @ 0x1347 0x133d 150 goto 155 @ 0x135b 0x1347 151 eax = [rbp - 0x13894 {var_1389c_1}].d 0x134d 152 eax = eax + 1 0x1350 153 [rbp - 0x13894 {var_1389c_1}].d = eax 0x1356 154 goto 97 @ 0x12c1 0x135b 155 [rbp - 0x13890 {var_13898_1}].d = 0 0x135b 156 goto 157 @ 0x1365 0x1365 157 eax = [rbp - 0x1388c {var_13894_1}].d 0x136b 158 eax = eax - [rbp - 0x13890 {var_13898_1}].d 0x1371 159 rax = sx.q(eax) 0x1373 160 eax = [rbp + (rax << 2) - 0x9c40].d 0x137a 161 ecx = [rbp - 0x13894 {var_1389c_1}].d 0x1380 162 ecx = ecx - [rbp - 0x13890 {var_13898_1}].d 0x1386 163 rcx = sx.q(ecx) 0x1390 164 if (eax == [rbp + (rcx << 2) - 0x13880].d) then 165 @ 0x139b else 166 @ 0x1396 0x139b 165 goto 167 @ 0x13a0 0x1396 166 goto 171 @ 0x13b4 0x13a0 167 eax = [rbp - 0x13890 {var_13898_1}].d 0x13a6 168 eax = eax + 1 0x13a9 169 [rbp - 0x13890 {var_13898_1}].d = eax 0x13af 170 goto 157 @ 0x1365 0x13b4 171 eax = [rbp - 0x1388c {var_13894_1}].d 0x13ba 172 eax = eax - [rbp - 0x13890 {var_13898_1}].d 0x13c0 173 eax = eax + 1 0x13c3 174 rax = sx.q(eax) 0x13c5 175 esi = [rbp + (rax << 2) - 0x9c40].d 0x13cc 176 rdi = 0x200a {"%d\n"} 0x13d3 177 al = 0 0x13d5 178 call(0x1030) 0x13d5 179 goto 28 @ 0x13da int64_t _fini(): 0x13ec 0 rsp = rsp - 8 0x13f0 1 rsp = rsp + 8 0x13f4 2 <return> jump(pop)
POJ_104
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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%d"} 0x1158 2 rsi = rsp + 4 {var_8+0x4} 0x115d 3 rdx = rsp {var_8} 0x1160 4 eax = 0 0x1162 5 call(0x1040) 0x1167 6 eax = [rsp + 4 {var_8+0x4}].d 0x116b 7 esi = [rsp {var_8}].d 0x1170 8 if (eax != esi) then 9 @ 0x1194 else 10 @ 0x1172 0x1194 9 if (eax s<= esi) then 12 @ 0x1180 else 19 @ 0x1196 0x1172 10 esi = eax 0x1174 11 goto 26 @ 0x11a9 0x1180 12 ecx = esi 0x1182 13 ecx = ecx u>> 0x1f 0x1185 14 ecx = ecx + esi 0x1187 15 ecx = ecx s>> 1 0x1189 16 [rsp {var_8}].d = ecx 0x118c 17 esi = ecx 0x1190 18 if (eax == esi) then 26 @ 0x11a9 else 9 @ 0x1194 0x1196 19 ecx = eax 0x1198 20 ecx = ecx u>> 0x1f 0x119b 21 ecx = ecx + eax 0x119d 22 ecx = ecx s>> 1 0x119f 23 [rsp + 4 {var_8+0x4}].d = ecx 0x11a3 24 eax = ecx 0x11a7 25 if (eax != esi) then 9 @ 0x1194 else 26 @ 0x11a9 0x11a9 26 rdi = 0x2006 {"%d"} 0x11b0 27 eax = 0 0x11b2 28 call(0x1030) 0x11b7 29 eax = 0 0x11b9 30 rcx = pop 0x11ba 31 <return> jump(pop) int64_t _fini(): 0x11c0 0 rsp = rsp - 8 0x11c4 1 rsp = rsp + 8 0x11c8 2 <return> jump(pop)
POJ_104
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 {"UAWAVSHO"} 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 - 0x124f98 0x116d 5 rdi = rsp + 0x10 {var_124fa8} 0x1172 6 edx = 0x61a80 {""} 0x1177 7 esi = 0 0x1179 8 call(0x1040) 0x117e 9 rdi = 0x2006 {"%d"} 0x1185 10 rsi = rsp + 0xc {var_124fac} 0x118a 11 eax = 0 0x118c 12 call(0x1050) 0x1191 13 r14 = rsp + 0x61a90 {var_c3528} 0x1199 14 rbx = rsp + 0xc3510 {var_61aa8} 0x11a1 15 r15 = 0x2004 {"%d%d"} 0x11a8 16 ebp = 0 0x11aa 17 goto 18 @ 0x11bb 0x11bb 18 rdi = r15 0x11be 19 rsi = rbx 0x11c1 20 rdx = r14 0x11c4 21 eax = 0 0x11c6 22 call(0x1050) 0x11ce 23 if ([rbx].d != 0) then 24 @ 0x11b0 else 28 @ 0x11d4 0x11b0 24 ebp = ebp + 1 0x11b3 25 r14 = r14 + 4 0x11b7 26 rbx = rbx + 4 0x11b7 27 goto 18 @ 0x11bb 0x11d4 28 if ([r14].d != 0) then 24 @ 0x11b0 else 29 @ 0x11d6 0x11d6 29 eax = [rsp + 0xc {var_124fac}].d 0x11da 30 ecx = ebp 0x11de 31 if (eax s<= 0) then 32 @ 0x122e else 33 @ 0x11e0 0x122e 32 if (eax s<= 0) then 35 @ 0x1276 else 37 @ 0x1230 0x11e0 33 edx = 0 0x11e2 34 goto 42 @ 0x11fb 0x1276 35 eax = 0 0x1276 36 goto 43 @ 0x127c 0x1230 37 edx = (rax - 1).d 0x1233 38 r8d = 0 0x1236 39 ebx = 0 0x1238 40 edi = 0 0x123a 41 goto 44 @ 0x1240 0x11fb 42 if (ebp == 0) then 47 @ 0x11f0 else 49 @ 0x11fd 0x127c 43 if (eax != [rsp + 0xc {var_124fac}].d) then 51 @ 0x128c else 58 @ 0x127e 0x1240 44 temp0.d = [rsp + (rbx << 2) + 0x10].d 0x1240 45 cond:0 = temp0.d != edx 0x1244 46 if (temp0.d == edx) then 62 else 64 @ 0x1248 0x11f0 47 rdx = rdx + 1 0x11f7 48 if (rdx == rax) then 32 @ 0x122e else 42 @ 0x11fb 0x11fd 49 esi = 0 0x11ff 50 goto 65 @ 0x1219 0x128c 51 eax = 0 0x128e 52 rsp = rsp + 0x124f98 0x1295 53 rbx = pop 0x1296 54 r14 = pop 0x1298 55 r15 = pop 0x129a 56 rbp = pop 0x129b 57 <return> jump(pop) 0x127e 58 rdi = 0x2009 {"NOT FOUND"} 0x1285 59 eax = 0 0x1287 60 call(0x1030) 0x1287 61 goto 51 @ 0x128c 0x1244 62 edi = r8d 0x1244 63 goto 64 @ 0x1248 0x1248 64 if (cond:0) then 67 @ 0x1269 else 68 @ 0x124c 0x1219 65 edi = [rsp + (rsi << 2) + 0x61a90].d 0x1223 66 if (rdx != rdi) then 69 @ 0x1210 else 71 @ 0x1225 0x1269 67 if (edi s>= ebp) then 73 @ 0x129c else 79 @ 0x126b 0x124c 68 if (ebp == 0) then 67 @ 0x1269 else 81 @ 0x124e 0x1210 69 rsi = rsi + 1 0x1217 70 if (rcx == rsi) then 47 @ 0x11f0 else 65 @ 0x1219 0x1225 71 [rsp + (rdx << 2) + 0x10].d = [rsp + (rdx << 2) + 0x10].d + 1 0x122a 72 goto 69 @ 0x1210 0x129c 73 rdi = 0x2006 {"%d"} 0x12a3 74 esi = ebx 0x12a5 75 eax = 0 0x12a7 76 call(0x1030) 0x12ac 77 eax = ebx 0x12b2 78 if (eax == [rsp + 0xc {var_124fac}].d) then 58 @ 0x127e else 83 @ 0x12b4 0x126b 79 rbx = rbx + 1 0x1272 80 if (rbx != rax) then 44 @ 0x1240 else 84 @ 0x1274 0x124e 81 edi = 0 0x124e 82 goto 85 @ 0x1250 0x12b4 83 goto 51 @ 0x128c 0x1274 84 goto 43 @ 0x127c 0x1250 85 esi = [rsp + (rdi << 2) + 0xc3510].d 0x125a 86 if (rbx == rsi) then 67 @ 0x1269 else 87 @ 0x125c 0x125c 87 rdi = rdi + 1 0x1263 88 if (rcx != rdi) then 85 @ 0x1250 else 89 @ 0x1265 0x1265 89 edi = ebp 0x1265 90 goto 67 @ 0x1269 int64_t _fini(): 0x12bc 0 rsp = rsp - 8 0x12c0 1 rsp = rsp + 8 0x12c4 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) 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 = 0x1180 {"UAVSH0t"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int64_t check(int64_t arg1, int32_t arg2, int32_t arg3): 0x1150 0 eax = 1 0x1157 1 if (esi s<= 0) then 2 @ 0x116e else 3 @ 0x1159 0x116e 2 <return> jump(pop) 0x1159 3 ecx = esi 0x115b 4 esi = 0 0x115d 5 goto 6 @ 0x1163 0x1163 6 if ([rdi + (rsi << 2)].d == edx) then 7 @ 0x116f else 9 @ 0x1165 0x116f 7 eax = 0 0x1171 8 <return> jump(pop) 0x1165 9 rsi = rsi + 1 0x116c 10 if (rcx != rsi) then 6 @ 0x1163 else 2 @ 0x116e int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 push(r14) 0x1183 2 push(rbx) 0x1184 3 rsp = rsp - 0x27430 0x118b 4 rdi = 0x2005 {"%d"} 0x1192 5 rsi = rsp + 0xc {var_2743c} 0x1197 6 eax = 0 0x1199 7 call(0x1040) 0x11a3 8 if ([rsp + 0xc {var_2743c}].d s<= 0) then 9 @ 0x11df else 16 @ 0x11a5 0x11df 9 esi = [rsp + 0x10 {var_27438}].d 0x11e3 10 rdi = 0x2005 {"%d"} 0x11ea 11 eax = 0 0x11ec 12 call(0x1030) 0x11f1 13 eax = [rsp + 0x10 {var_27438}].d 0x11f5 14 [rsp + 0x13a20 {var_13a28}].d = eax 0x1201 15 if ([rsp + 0xc {var_2743c}].d s< 2) then 20 @ 0x1274 else 26 @ 0x1203 0x11a5 16 rbx = rsp + 0x10 {var_27438} 0x11aa 17 r14 = 0x2005 {"%d"} 0x11b1 18 ebp = 0 0x11bd 19 goto 30 @ 0x11c0 0x1274 20 eax = 0 0x1276 21 rsp = rsp + 0x27430 0x127d 22 rbx = pop 0x127e 23 r14 = pop 0x1280 24 rbp = pop 0x1281 25 <return> jump(pop) 0x1203 26 ebp = 1 0x1208 27 ebx = 1 0x120d 28 r14 = 0x2004 {" %d"} 0x1214 29 goto 38 @ 0x1249 0x11c0 30 rdi = r14 0x11c3 31 rsi = rbx 0x11c6 32 eax = 0 0x11c8 33 call(0x1040) 0x11cd 34 rbp = rbp + 1 0x11d1 35 rax = sx.q([rsp + 0xc {var_2743c}].d) 0x11d6 36 rbx = rbx + 4 0x11dd 37 if (rbp s< rax) then 30 @ 0x11c0 else 9 @ 0x11df 0x1249 38 esi = [rsp + (rbx << 2) + 0x10].d 0x124f 39 if (ebp s<= 0) then 40 @ 0x1220 else 48 @ 0x1251 0x1220 40 rdi = r14 0x1223 41 eax = 0 0x1225 42 call(0x1030) 0x122a 43 eax = [rsp + (rbx << 2) + 0x10].d 0x122e 44 rcx = sx.q(ebp) 0x1231 45 [rsp + (rcx << 2) + 0x13a20].d = eax 0x1238 46 ebp = ebp + 1 0x1238 47 goto 51 @ 0x123b 0x1251 48 eax = ebp 0x1253 49 ecx = 0 0x125f 50 goto 54 @ 0x1267 0x123b 51 rbx = rbx + 1 0x123f 52 rax = sx.q([rsp + 0xc {var_2743c}].d) 0x1247 53 if (rbx s>= rax) then 20 @ 0x1274 else 38 @ 0x1249 0x1267 54 if ([rsp + (rcx << 2) + 0x13a20].d == esi) then 51 @ 0x123b else 55 @ 0x1269 0x1269 55 rcx = rcx + 1 0x1270 56 if (rax != rcx) then 54 @ 0x1267 else 57 @ 0x1272 0x1272 57 goto 40 @ 0x1220 int64_t _fini(): 0x1288 0 rsp = rsp - 8 0x128c 1 rsp = rsp + 8 0x1290 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) 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 - 0xf0 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = 0x2004 {"%d"} 0x1179 5 rsi = rbp - 8 {var_10} 0x117d 6 al = 0 0x117f 7 call(0x1050) 0x1184 8 [rbp - 0xc {var_14}].d = 0 0x1184 9 goto 10 @ 0x118b 0x118b 10 eax = [rbp - 0xc {var_14}].d 0x1191 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x139f else 16 @ 0x1197 0x139f 12 eax = 0 0x13a1 13 rsp = rsp + 0xf0 0x13a8 14 rbp = pop 0x13a9 15 <return> jump(pop) 0x1197 16 rsi = rbp - 0x80 {var_88} 0x119b 17 rdx = rbp - 0xf0 {var_f8} 0x11a2 18 rdi = 0x2007 {"%s\n%s"} 0x11a9 19 al = 0 0x11ab 20 call(0x1050) 0x11b0 21 rdi = rbp - 0x80 {var_88} 0x11b4 22 call(0x1040) 0x11b9 23 [rbp - 0x14 {var_1c_1}].d = eax 0x11bc 24 rdi = rbp - 0xf0 {var_f8} 0x11c3 25 call(0x1040) 0x11c8 26 [rbp - 0x18 {var_20_1}].d = eax 0x11cb 27 eax = [rbp - 0x18 {var_20_1}].d 0x11ce 28 [rbp - 0x10 {var_18_1}].d = eax 0x11ce 29 goto 30 @ 0x11d5 0x11d5 30 if ([rbp - 0x10 {var_18_1}].d s<= 0) then 31 @ 0x1322 else 33 @ 0x11db 0x1322 31 eax = sx.d([rbp - 0x80 {var_88}].b) 0x1329 32 if (eax s<= 0x30) then 44 @ 0x1346 else 46 @ 0x132f 0x11db 33 eax = [rbp - 0x10 {var_18_1}].d 0x11de 34 eax = eax + [rbp - 0x14 {var_1c_1}].d 0x11e1 35 eax = eax - [rbp - 0x18 {var_20_1}].d 0x11e4 36 eax = eax - 1 0x11e7 37 rax = sx.q(eax) 0x11e9 38 eax = sx.d([rbp + rax - 0x80].b) 0x11ee 39 ecx = [rbp - 0x10 {var_18_1}].d 0x11f1 40 ecx = ecx - 1 0x11f4 41 rcx = sx.q(ecx) 0x11f7 42 ecx = sx.d([rbp + rcx - 0xf0].b) 0x1201 43 if (eax s<= ecx) then 51 @ 0x1249 else 62 @ 0x1207 0x1346 44 [rbp - 0xc {var_14}].d = 1 0x1346 45 goto 82 @ 0x134d 0x132f 46 rsi = rbp - 0x80 {var_88} 0x1333 47 rdi = 0x200d {"%s\n"} 0x133a 48 al = 0 0x133c 49 call(0x1030) 0x1341 50 goto 84 @ 0x138c 0x1249 51 eax = [rbp - 0x10 {var_18_1}].d 0x124c 52 eax = eax + [rbp - 0x14 {var_1c_1}].d 0x124f 53 eax = eax - [rbp - 0x18 {var_20_1}].d 0x1252 54 eax = eax - 1 0x1255 55 rax = sx.q(eax) 0x1257 56 eax = sx.d([rbp + rax - 0x80].b) 0x125c 57 ecx = [rbp - 0x10 {var_18_1}].d 0x125f 58 ecx = ecx - 1 0x1262 59 rcx = sx.q(ecx) 0x1265 60 ecx = sx.d([rbp + rcx - 0xf0].b) 0x126f 61 if (eax s>= ecx) then 85 @ 0x12d0 else 96 @ 0x1275 0x1207 62 eax = [rbp - 0x10 {var_18_1}].d 0x120a 63 eax = eax + [rbp - 0x14 {var_1c_1}].d 0x120d 64 eax = eax - [rbp - 0x18 {var_20_1}].d 0x1210 65 eax = eax - 1 0x1213 66 rax = sx.q(eax) 0x1215 67 eax = sx.d([rbp + rax - 0x80].b) 0x121a 68 ecx = [rbp - 0x10 {var_18_1}].d 0x121d 69 ecx = ecx - 1 0x1220 70 rcx = sx.q(ecx) 0x1223 71 ecx = sx.d([rbp + rcx - 0xf0].b) 0x122b 72 eax = eax - ecx 0x122d 73 eax = eax + 0x30 0x1230 74 cl = al 0x1232 75 eax = [rbp - 0x10 {var_18_1}].d 0x1235 76 eax = eax + [rbp - 0x14 {var_1c_1}].d 0x1238 77 eax = eax - [rbp - 0x18 {var_20_1}].d 0x123b 78 eax = eax - 1 0x123e 79 rax = sx.q(eax) 0x1240 80 [rbp + rax - 0x80].b = cl 0x1244 81 goto 124 @ 0x1314 0x134d 82 eax = [rbp - 0xc {var_14}].d 0x1353 83 if (eax s>= [rbp - 0x14 {var_1c_1}].d) then 128 @ 0x137e else 132 @ 0x1359 0x138c 84 goto 141 @ 0x1391 0x12d0 85 eax = [rbp - 0x10 {var_18_1}].d 0x12d3 86 eax = eax + [rbp - 0x14 {var_1c_1}].d 0x12d6 87 eax = eax - [rbp - 0x18 {var_20_1}].d 0x12d9 88 eax = eax - 1 0x12dc 89 rax = sx.q(eax) 0x12de 90 eax = sx.d([rbp + rax - 0x80].b) 0x12e3 91 ecx = [rbp - 0x10 {var_18_1}].d 0x12e6 92 ecx = ecx - 1 0x12e9 93 rcx = sx.q(ecx) 0x12ec 94 ecx = sx.d([rbp + rcx - 0xf0].b) 0x12f6 95 if (eax != ecx) then 145 @ 0x130f else 146 @ 0x12fc 0x1275 96 eax = [rbp - 0x10 {var_18_1}].d 0x1278 97 eax = eax + [rbp - 0x14 {var_1c_1}].d 0x127b 98 eax = eax - [rbp - 0x18 {var_20_1}].d 0x127e 99 eax = eax - 1 0x1281 100 rax = sx.q(eax) 0x1283 101 eax = sx.d([rbp + rax - 0x80].b) 0x1288 102 ecx = [rbp - 0x10 {var_18_1}].d 0x128b 103 ecx = ecx - 1 0x128e 104 rcx = sx.q(ecx) 0x1291 105 ecx = sx.d([rbp + rcx - 0xf0].b) 0x1299 106 eax = eax - ecx 0x129b 107 eax = eax + 0x3a 0x129e 108 cl = al 0x12a0 109 eax = [rbp - 0x10 {var_18_1}].d 0x12a3 110 eax = eax + [rbp - 0x14 {var_1c_1}].d 0x12a6 111 eax = eax - [rbp - 0x18 {var_20_1}].d 0x12a9 112 eax = eax - 1 0x12ac 113 rax = sx.q(eax) 0x12ae 114 [rbp + rax - 0x80].b = cl 0x12b2 115 eax = [rbp - 0x10 {var_18_1}].d 0x12b5 116 eax = eax + [rbp - 0x14 {var_1c_1}].d 0x12b8 117 eax = eax - [rbp - 0x18 {var_20_1}].d 0x12bb 118 eax = eax - 2 0x12be 119 rax = sx.q(eax) 0x12c0 120 cl = [rbp + rax - 0x80].b 0x12c4 121 cl = cl - 1 0x12c7 122 [rbp + rax - 0x80].b = cl 0x12cb 123 goto 124 @ 0x1314 0x1314 124 eax = [rbp - 0x10 {var_18_1}].d 0x1317 125 eax = eax - 1 0x131a 126 [rbp - 0x10 {var_18_1}].d = eax 0x131d 127 goto 30 @ 0x11d5 0x137e 128 rdi = 0x200f {"\n"} 0x1385 129 al = 0 0x1387 130 call(0x1030) 0x1387 131 goto 84 @ 0x138c 0x1359 132 rax = sx.q([rbp - 0xc {var_14}].d) 0x135d 133 esi = sx.d([rbp + rax - 0x80].b) 0x1362 134 rdi = 0x2011 {"%c"} 0x1369 135 al = 0 0x136b 136 call(0x1030) 0x1370 137 eax = [rbp - 0xc {var_14}].d 0x1373 138 eax = eax + 1 0x1376 139 [rbp - 0xc {var_14}].d = eax 0x1379 140 goto 82 @ 0x134d 0x1391 141 eax = [rbp - 0xc {var_14}].d 0x1394 142 eax = eax + 1 0x1397 143 [rbp - 0xc {var_14}].d = eax 0x139a 144 goto 10 @ 0x118b 0x130f 145 goto 124 @ 0x1314 0x12fc 146 eax = [rbp - 0x10 {var_18_1}].d 0x12ff 147 eax = eax + [rbp - 0x14 {var_1c_1}].d 0x1302 148 eax = eax - [rbp - 0x18 {var_20_1}].d 0x1305 149 eax = eax - 1 0x1308 150 rax = sx.q(eax) 0x130a 151 [rbp + rax - 0x80].b = 0x30 {""} 0x130a 152 goto 145 @ 0x130f int64_t _fini(): 0x13b0 0 rsp = rsp - 8 0x13b4 1 rsp = rsp + 8 0x13b8 2 <return> jump(pop)
POJ_32
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) 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 {"SHp"} 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(rbx) 0x1171 1 rsp = rsp - 0x870 0x1178 2 rdi = rsp + 0x470 {var_408} 0x1180 3 edx = 0x400 {""} 0x1185 4 esi = 0 0x1187 5 call(0x1030) 0x118c 6 rdi = rsp + 0x70 {var_808} 0x1191 7 edx = 0x400 {""} 0x1196 8 esi = 0 0x1198 9 call(0x1030) 0x119d 10 rdi = 0x2004 {"%s"} 0x11a4 11 rbx = rsp {var_878} 0x11a7 12 rsi = rbx {var_878} 0x11aa 13 eax = 0 0x11ac 14 call(0x1050) 0x11b1 15 rdi = rbx {var_878} 0x11b4 16 call(0x1040) 0x11bc 17 if (rax == 0) then 18 @ 0x11d6 else 26 @ 0x11be 0x11d6 18 rdi = 0x2004 {"%s"} 0x11dd 19 rbx = rsp {var_878} 0x11e0 20 rsi = rbx {var_878} 0x11e3 21 eax = 0 0x11e5 22 call(0x1050) 0x11ea 23 rdi = rbx {var_878} 0x11ed 24 call(0x1040) 0x11f5 25 if (rax == 0) then 28 @ 0x1213 else 30 @ 0x11f7 0x11be 26 ecx = 0 0x11be 27 goto 32 @ 0x11c0 0x1213 28 ebx = 0 0x121f 29 goto 36 @ 0x1220 0x11f7 30 ecx = 0 0x11f9 31 goto 38 @ 0x1200 0x11c0 32 rdx = sx.q([rsp + rcx].b) 0x11c5 33 [rsp + (rdx << 2) + 0x470].d = [rsp + (rdx << 2) + 0x470].d + 1 0x11cd 34 rcx = rcx + 1 0x11d4 35 if (rax != rcx) then 32 @ 0x11c0 else 18 @ 0x11d6 0x1220 36 eax = [rsp + (rbx << 2) + 0x470].d 0x122b 37 if (eax != [rsp + (rbx << 2) + 0x70].d) then 42 @ 0x123c else 45 @ 0x122d 0x1200 38 rdx = sx.q([rsp + rcx].b) 0x1205 39 [rsp + (rdx << 2) + 0x70].d = [rsp + (rdx << 2) + 0x70].d + 1 0x120a 40 rcx = rcx + 1 0x1211 41 if (rax != rcx) then 38 @ 0x1200 else 28 @ 0x1213 0x123c 42 rdi = 0x200b {"NO"} 0x1243 43 call(0x1060) 0x124e 44 if (ebx != 0x100) then 47 @ 0x125c else 51 @ 0x1250 0x122d 45 rbx = rbx + 1 0x1238 46 if (rbx != 0x100) then 36 @ 0x1220 else 54 @ 0x123a 0x125c 47 eax = 0 0x125e 48 rsp = rsp + 0x870 0x1265 49 rbx = pop 0x1266 50 <return> jump(pop) 0x1250 51 rdi = 0x2007 {"YES"} 0x1257 52 call(0x1060) 0x1257 53 goto 47 @ 0x125c 0x123a 54 goto 51 @ 0x1250 int64_t _fini(): 0x126c 0 rsp = rsp - 8 0x1270 1 rsp = rsp + 8 0x1274 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 - 0x18 0x115e 7 rdi = 0x200a {"%d"} 0x1165 8 rsi = rsp + 8 {var_40} 0x116a 9 eax = 0 0x116c 10 call(0x1030) 0x1176 11 if ([rsp + 8 {var_40}].d s<= 0) then 12 @ 0x1377 else 21 @ 0x117c 0x1377 12 eax = 0 0x1379 13 rsp = rsp + 0x18 0x137d 14 rbx = pop 0x137e 15 r12 = pop 0x1380 16 r13 = pop 0x1382 17 r14 = pop 0x1384 18 r15 = pop 0x1386 19 rbp = pop 0x1387 20 <return> jump(pop) 0x117c 21 rbp = 0x2014 {""} 0x1183 22 r14 = 0x200d {"NO"} 0x118a 23 r15 = 0x2044 {""} 0x1191 24 r13d = 0 0x1194 25 r12d = 0 0x1197 26 goto 27 @ 0x11d6 0x11d6 27 rdi = 0x2004 {"%d %d %d"} 0x11dd 28 rsi = rsp + 0x14 {var_34} 0x11e2 29 rdx = rsp + 0x10 {var_38} 0x11e7 30 rcx = rsp + 0xc {var_3c} 0x11ec 31 eax = 0 0x11ee 32 call(0x1030) 0x11f3 33 eax = [rsp + 0x10 {var_38}].d 0x11f7 34 edx = [rsp + 0xc {var_3c}].d 0x11fb 35 cond:0 = eax s< edx 0x11fb 36 cond:1 = eax s< edx 0x11fd 37 ecx = edx 0x11ff 38 if (cond:0) then 39 else 41 @ 0x1202 0x11ff 39 ecx = eax 0x11ff 40 goto 41 @ 0x1202 0x1202 41 if (cond:1) then 42 else 44 @ 0x1205 0x1202 42 eax = edx 0x1202 43 goto 44 @ 0x1205 0x1205 44 rdx = sx.q([rsp + 0x14 {var_34}].d) 0x120d 45 dil = (dl & 3) == 0 0x1211 46 esi = edx * -0x3d70a3d7 0x1217 47 esi = esi + 0x51eb850 0x121d 48 esi = ror.d(esi, 2) 0x1226 49 bl = esi u>= 0x28f5c29 0x122c 50 if ((dil & bl) != 0) then 51 @ 0x12b0 else 55 @ 0x1232 0x12b0 51 esi = eax 0x12b2 52 temp0.d = esi 0x12b2 53 esi = esi - ecx 0x12b4 54 if (temp0.d s<= ecx) then 64 @ 0x11a0 else 70 @ 0x12ba 0x1232 55 rsi = rdx * 0x51eb851f 0x1239 56 rdi = rsi 0x123c 57 rdi = rdi u>> 0x3f 0x1240 58 rsi = rsi s>> 0x27 0x1244 59 esi = esi + edi 0x1246 60 esi = esi * 0x190 0x124c 61 temp1.d = edx 0x124c 62 edx = edx - esi 0x124e 63 if (temp1.d == esi) then 51 @ 0x12b0 else 72 @ 0x1250 0x11a0 64 eax = r12d * -0x49249249 0x11a7 65 eax = eax + 0x12492492 0x11ac 66 cond:2 = eax u< 0x24924925 0x11b1 67 rdi = r14 0x11b4 68 rax = 0x2010 {"YES"} 0x11bb 69 if (cond:2) then 76 else 78 @ 0x11bf 0x12ba 70 edx = (rcx + 1).d 0x12c1 71 if ((sil & 1) == 0) then 80 @ 0x12de else 81 @ 0x12c3 0x1250 72 esi = eax 0x1252 73 temp2.d = esi 0x1252 74 esi = esi - ecx 0x1254 75 if (temp2.d s<= ecx) then 84 @ 0x1280 else 91 @ 0x1256 0x11bb 76 rdi = rax 0x11bb 77 goto 78 @ 0x11bf 0x11bf 78 r12d = 0 0x11bf 79 goto 93 @ 0x11c2 0x12de 80 if (eax == edx) then 64 @ 0x11a0 else 96 @ 0x12e4 0x12c3 81 ecx = ecx - 1 0x12c6 82 esi = 0x1e {""} 0x12ce 83 if (ecx u> 0xb) then 100 @ 0x12d7 else 103 @ 0x12d0 0x1280 84 eax = r12d * -0x49249249 0x1287 85 eax = eax + 0x12492492 0x128c 86 cond:3 = eax u< 0x24924925 0x128c 87 cond:4 = eax u>= 0x24924925 0x1291 88 rdi = r14 0x1294 89 rax = 0x2010 {"YES"} 0x129b 90 if (cond:3) then 106 else 108 @ 0x129f 0x1256 91 edx = (rcx + 1).d 0x125d 92 if ((sil & 1) == 0) then 110 @ 0x127a else 111 @ 0x125f 0x11c2 93 call(0x1040) 0x11c7 94 r13d = r13d + 1 0x11d0 95 if (r13d s>= [rsp + 8 {var_40}].d) then 12 @ 0x1377 else 27 @ 0x11d6 0x12e4 96 rdx = sx.q(ecx) 0x12e7 97 rdx = rdx << 2 0x12ef 98 rdx = rdx + rbp 0x12f2 99 goto 114 @ 0x1312 0x12d7 100 r12d = r12d + esi 0x12da 101 ecx = edx 0x12da 102 goto 80 @ 0x12de 0x12d0 103 rcx = sx.q(ecx) 0x12d3 104 esi = [rbp + (rcx << 2)].d 0x12d3 105 goto 100 @ 0x12d7 0x129b 106 rdi = rax 0x129b 107 goto 108 @ 0x129f 0x129f 108 eax = 0 0x12a4 109 if (cond:4) then 118 else 120 @ 0x12a8 0x127a 110 if (eax != edx) then 121 @ 0x1337 else 84 @ 0x1280 0x125f 111 ecx = ecx - 1 0x1262 112 esi = 0x1e {""} 0x126a 113 if (ecx u> 0xb) then 124 @ 0x1273 else 127 @ 0x126c 0x1312 114 ebx = (rcx - 1).d 0x1315 115 esi = 0x1e {""} 0x131a 116 edi = 0x1e {""} 0x1322 117 if (ebx u> 0xb) then 130 @ 0x132b else 132 @ 0x1324 0x12a4 118 r12d = eax 0x12a4 119 goto 120 @ 0x12a8 0x12a8 120 goto 93 @ 0x11c2 0x1337 121 rdx = sx.q(ecx) 0x133a 122 rdx = r15 + (rdx << 2) 0x133e 123 goto 135 @ 0x1352 0x1273 124 r12d = r12d + esi 0x1276 125 ecx = edx 0x1276 126 goto 110 @ 0x127a 0x126c 127 rcx = sx.q(ecx) 0x126f 128 esi = [r15 + (rcx << 2)].d 0x126f 129 goto 124 @ 0x1273 0x132b 130 r12d = r12d + edi 0x1331 131 if (ecx u> 0xb) then 139 @ 0x1300 else 143 @ 0x1333 0x1324 132 rdi = sx.q(ebx) 0x1327 133 edi = [rbp + (rdi << 2)].d 0x1327 134 goto 130 @ 0x132b 0x1352 135 ebx = (rcx - 1).d 0x1355 136 esi = 0x1e {""} 0x135a 137 edi = 0x1e {""} 0x1362 138 if (ebx u> 0xb) then 145 @ 0x136b else 147 @ 0x1364 0x1300 139 r12d = r12d + esi 0x1303 140 ecx = ecx + 2 0x1306 141 rdx = rdx + 8 0x130c 142 if (eax == ecx) then 64 @ 0x11a0 else 114 @ 0x1312 0x1333 143 esi = [rdx].d 0x1335 144 goto 139 @ 0x1300 0x136b 145 r12d = r12d + edi 0x1371 146 if (ecx u> 0xb) then 150 @ 0x1340 else 154 @ 0x1373 0x1364 147 rdi = sx.q(ebx) 0x1367 148 edi = [r15 + (rdi << 2)].d 0x1367 149 goto 145 @ 0x136b 0x1340 150 r12d = r12d + esi 0x1343 151 ecx = ecx + 2 0x1346 152 rdx = rdx + 8 0x134c 153 if (eax == ecx) then 84 @ 0x1280 else 135 @ 0x1352 0x1373 154 esi = [rdx].d 0x1375 155 goto 150 @ 0x1340 int64_t _fini(): 0x138c 0 rsp = rsp - 8 0x1390 1 rsp = rsp + 8 0x1394 2 <return> jump(pop)
POJ_71
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x18 0x115e 7 rdi = 0x2004 {"%d"} 0x1165 8 rsi = rsp + 0xc {var_3c} 0x116a 9 eax = 0 0x116c 10 call(0x1040) 0x1171 11 ecx = [rsp + 0xc {var_3c}].d 0x1177 12 if (ecx s<= 0) then 13 @ 0x1264 else 32 @ 0x117d 0x1264 13 eax = [rsp + 8 {var_40}].d 0x1268 14 eax = not.d(eax) 0x126a 15 eax = eax + [rsp + 0x10 {var_38}].d 0x126e 16 esi = [rsp + 0x14 {var_34}].d 0x1272 17 esi = not.d(esi) 0x1274 18 esi = esi + r13d 0x1277 19 esi = esi * eax 0x127a 20 rdi = 0x2007 {"%d\n"} 0x1281 21 eax = 0 0x1283 22 call(0x1030) 0x1288 23 eax = 0 0x128a 24 rsp = rsp + 0x18 0x128e 25 rbx = pop 0x128f 26 r12 = pop 0x1291 27 r13 = pop 0x1293 28 r14 = pop 0x1295 29 r15 = pop 0x1297 30 rbp = pop 0x1298 31 <return> jump(pop) 0x117d 32 r12d = 1 0x1183 33 ebx = 0 0x1185 34 r14d = 0 0x1188 35 goto 36 @ 0x119b 0x119b 36 [rsp + 4 {var_44}].d = 1 0x11a5 37 if (ecx s<= 0) then 38 @ 0x1190 else 40 @ 0x11a7 0x1190 38 ebx = ebx + 1 0x1195 39 if (ebx s>= ecx) then 13 @ 0x1264 else 36 @ 0x119b 0x11a7 40 ebp = 1 0x11ac 41 r15d = 0xffffffff {""} 0x11b2 42 goto 43 @ 0x11cf 0x11cf 43 r13d = r15d 0x11d2 44 r15d = (r13 + 1).d 0x11d6 45 rdi = 0x2004 {"%d"} 0x11dd 46 rsi = rsp + 4 {var_44} 0x11e2 47 eax = 0 0x11e4 48 call(0x1040) 0x11ec 49 if (r12d == 0) then 50 @ 0x1213 else 51 @ 0x11ee 0x1213 50 if (r14d == 0) then 54 @ 0x122f else 57 @ 0x1215 0x11ee 51 eax = [rsp + 4 {var_44}].d 0x11f2 52 r12d = 1 0x11fa 53 if (eax != 0) then 61 @ 0x11c0 else 65 @ 0x11fc 0x122f 54 r12d = 0 0x1232 55 eax = [rsp + 4 {var_44}].d 0x123a 56 if (ebx s<= [rsp + 8 {var_40}].d) then 70 @ 0x11b4 else 72 @ 0x1242 0x1215 57 eax = [rsp + 4 {var_44}].d 0x1219 58 r12d = 0 0x121c 59 r14d = 1 0x1224 60 if (ebp != 0) then 61 @ 0x11c0 else 73 @ 0x122b 0x11c0 61 ecx = [rsp + 0xc {var_3c}].d 0x11c4 62 r13d = r13d + 2 0x11c8 63 ebp = eax 0x11cd 64 if (r13d s>= ecx) then 38 @ 0x1190 else 43 @ 0x11cf 0x11fc 65 eax = 0 0x11fe 66 r12d = 0 0x1201 67 [rsp + 8 {var_40}].d = ebx 0x1205 68 [rsp + 0x14 {var_34}].d = r15d 0x120a 69 goto 61 @ 0x11c0 0x11b4 70 r14d = 0 0x11b7 71 goto 61 @ 0x11c0 0x1242 72 if (ebp != 0) then 70 @ 0x11b4 else 74 @ 0x124a 0x122b 73 if (eax != 0xff) then 61 @ 0x11c0 else 75 @ 0x122d 0x124a 74 if (eax != 0) then 70 @ 0x11b4 else 76 @ 0x1250 0x122d 75 goto 13 @ 0x1264 0x1250 76 r14d = 1 0x1256 77 eax = 0 0x1258 78 r12d = 0 0x125b 79 [rsp + 0x10 {var_38}].d = ebx 0x125f 80 goto 61 @ 0x11c0 int64_t _fini(): 0x12a0 0 rsp = rsp - 8 0x12a4 1 rsp = rsp + 8 0x12a8 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) 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 - 0x1c0 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 [rbp - 0x1b0 {var_1b8}].q = 0 0x117d 5 rdx = rbp - 0xd0 {var_d8} 0x1184 6 rdi = 0x2004 {"%d%s%d"} 0x118b 7 rsi = rbp - 0x1a4 {var_1ac} 0x1192 8 rcx = rbp - 0x1a8 {var_1b0} 0x1199 9 al = 0 0x119b 10 call(0x1050) 0x11a0 11 [rbp - 0x1b4 {var_1bc}].d = 0 0x11a0 12 goto 13 @ 0x11aa 0x11aa 13 eax = [rbp - 0x1b4 {var_1bc}].d 0x11b0 14 [rbp - 0x1bc {var_1c4_1}].d = eax 0x11b6 15 rdi = rbp - 0xd0 {var_d8} 0x11bd 16 call(0x1040) 0x11c2 17 rcx = rax 0x11c5 18 eax = [rbp - 0x1bc {var_1c4_1}].d 0x11cd 19 if (eax s>= ecx) then 20 @ 0x1315 else 22 @ 0x11d3 0x1315 20 [rbp - 0x1b4 {var_1bc_1}].d = 0 0x1315 21 goto 25 @ 0x131f 0x11d3 22 rax = sx.q([rbp - 0x1b4 {var_1bc}].d) 0x11da 23 eax = sx.d([rbp + rax - 0xd0].b) 0x11e5 24 if (eax s< 0x30) then 39 @ 0x1234 else 42 @ 0x11eb 0x131f 25 rax = [rbp - 0x1b0 {var_1b8}].q 0x1326 26 rcx = sx.q([rbp - 0x1a8 {var_1b0}].d) 0x132d 27 rdx:rax = sx.o(rax) 0x132f 28 temp0.q = divs.dp.q(rdx:rax, rcx) 0x132f 29 temp1.q = mods.dp.q(rdx:rax, rcx) 0x132f 30 rax = temp0.q 0x132f 31 rdx = temp1.q 0x1332 32 rdx = rdx + 0x30 0x1336 33 cl = dl 0x1338 34 rax = sx.q([rbp - 0x1b4 {var_1bc_1}].d) 0x133f 35 [rbp + rax - 0x1a0].b = cl 0x1346 36 rax = sx.q([rbp - 0x1b4 {var_1bc_1}].d) 0x134d 37 eax = sx.d([rbp + rax - 0x1a0].b) 0x1358 38 if (eax s<= 0x39) then 45 @ 0x1386 else 57 @ 0x135e 0x1234 39 rax = sx.q([rbp - 0x1b4 {var_1bc}].d) 0x123b 40 eax = sx.d([rbp + rax - 0xd0].b) 0x1246 41 if (eax s< 0x61) then 66 @ 0x1298 else 69 @ 0x124c 0x11eb 42 rax = sx.q([rbp - 0x1b4 {var_1bc}].d) 0x11f2 43 eax = sx.d([rbp + rax - 0xd0].b) 0x11fd 44 if (eax s> 0x39) then 39 @ 0x1234 else 72 @ 0x1203 0x1386 45 rax = [rbp - 0x1b0 {var_1b8}].q 0x138d 46 rcx = sx.q([rbp - 0x1a8 {var_1b0}].d) 0x1394 47 rdx:rax = sx.o(rax) 0x1396 48 temp0.q = divs.dp.q(rdx:rax, rcx) 0x1396 49 temp1.q = mods.dp.q(rdx:rax, rcx) 0x1396 50 rax = temp0.q 0x1396 51 rdx = temp1.q 0x1399 52 [rbp - 0x1b0 {var_1b8}].q = rax 0x13a0 53 eax = [rbp - 0x1b4 {var_1bc_1}].d 0x13a6 54 eax = eax + 1 0x13a9 55 [rbp - 0x1b4 {var_1bc_1}].d = eax 0x13b7 56 if ([rbp - 0x1b0 {var_1b8}].q s> 0) then 25 @ 0x131f else 82 @ 0x13bd 0x135e 57 rax = sx.q([rbp - 0x1b4 {var_1bc_1}].d) 0x1365 58 eax = sx.d([rbp + rax - 0x1a0].b) 0x136d 59 eax = eax - 0x30 0x1370 60 eax = eax + 0x41 0x1373 61 eax = eax - 0xa 0x1376 62 cl = al 0x1378 63 rax = sx.q([rbp - 0x1b4 {var_1bc_1}].d) 0x137f 64 [rbp + rax - 0x1a0].b = cl 0x137f 65 goto 45 @ 0x1386 0x1298 66 rax = sx.q([rbp - 0x1b4 {var_1bc}].d) 0x129f 67 eax = sx.d([rbp + rax - 0xd0].b) 0x12aa 68 if (eax s< 0x41) then 86 @ 0x12fc else 87 @ 0x12b0 0x124c 69 rax = sx.q([rbp - 0x1b4 {var_1bc}].d) 0x1253 70 eax = sx.d([rbp + rax - 0xd0].b) 0x125e 71 if (eax s> 0x7a) then 66 @ 0x1298 else 90 @ 0x1264 0x1203 72 rax = [rbp - 0x1b0 {var_1b8}].q 0x120a 73 rcx = sx.q([rbp - 0x1a4 {var_1ac}].d) 0x1211 74 rax = rax * rcx 0x1215 75 rcx = sx.q([rbp - 0x1b4 {var_1bc}].d) 0x121c 76 ecx = sx.d([rbp + rcx - 0xd0].b) 0x1224 77 ecx = ecx - 0x30 0x1227 78 rcx = sx.q(ecx) 0x122a 79 rax = rax + rcx 0x122d 80 [rbp - 0x1b0 {var_1b8}].q = rax 0x122d 81 goto 39 @ 0x1234 0x13bd 82 eax = [rbp - 0x1b4 {var_1bc_1}].d 0x13c3 83 eax = eax - 1 0x13c6 84 [rbp - 0x1b8 {var_1c0}].d = eax 0x13c6 85 goto 101 @ 0x13d3 0x12fc 86 goto 102 @ 0x1301 0x12b0 87 rax = sx.q([rbp - 0x1b4 {var_1bc}].d) 0x12b7 88 eax = sx.d([rbp + rax - 0xd0].b) 0x12c2 89 if (eax s> 0x5a) then 86 @ 0x12fc else 106 @ 0x12c8 0x1264 90 rax = [rbp - 0x1b0 {var_1b8}].q 0x126b 91 rcx = sx.q([rbp - 0x1a4 {var_1ac}].d) 0x1272 92 rax = rax * rcx 0x1276 93 rcx = sx.q([rbp - 0x1b4 {var_1bc}].d) 0x127d 94 ecx = sx.d([rbp + rcx - 0xd0].b) 0x1285 95 ecx = ecx - 0x61 0x1288 96 ecx = ecx + 0xa 0x128b 97 rcx = sx.q(ecx) 0x128e 98 rax = rax + rcx 0x1291 99 [rbp - 0x1b0 {var_1b8}].q = rax 0x1291 100 goto 66 @ 0x1298 0x13d3 101 if ([rbp - 0x1b8 {var_1c0}].d s< 0) then 117 @ 0x140a else 124 @ 0x13d9 0x1301 102 eax = [rbp - 0x1b4 {var_1bc}].d 0x1307 103 eax = eax + 1 0x130a 104 [rbp - 0x1b4 {var_1bc}].d = eax 0x1310 105 goto 13 @ 0x11aa 0x12c8 106 rax = [rbp - 0x1b0 {var_1b8}].q 0x12cf 107 rcx = sx.q([rbp - 0x1a4 {var_1ac}].d) 0x12d6 108 rax = rax * rcx 0x12da 109 rcx = sx.q([rbp - 0x1b4 {var_1bc}].d) 0x12e1 110 ecx = sx.d([rbp + rcx - 0xd0].b) 0x12e9 111 ecx = ecx - 0x41 0x12ec 112 ecx = ecx + 0xa 0x12ef 113 rcx = sx.q(ecx) 0x12f2 114 rax = rax + rcx 0x12f5 115 [rbp - 0x1b0 {var_1b8}].q = rax 0x12f5 116 goto 86 @ 0x12fc 0x140a 117 rdi = 0x200e {"\n"} 0x1411 118 al = 0 0x1413 119 call(0x1030) 0x1418 120 eax = 0 0x141a 121 rsp = rsp + 0x1c0 0x1421 122 rbp = pop 0x1422 123 <return> jump(pop) 0x13d9 124 rax = sx.q([rbp - 0x1b8 {var_1c0}].d) 0x13e0 125 esi = sx.d([rbp + rax - 0x1a0].b) 0x13e8 126 rdi = 0x200b {"%c"} 0x13ef 127 al = 0 0x13f1 128 call(0x1030) 0x13f6 129 eax = [rbp - 0x1b8 {var_1c0}].d 0x13fc 130 eax = eax - 1 0x13ff 131 [rbp - 0x1b8 {var_1c0}].d = eax 0x1405 132 goto 101 @ 0x13d3 int64_t _fini(): 0x1428 0 rsp = rsp - 8 0x142c 1 rsp = rsp + 8 0x1430 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 = 0x1210 {"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 ([0x4040].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4040].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) uint64_t go(int32_t arg1, int32_t arg2, int64_t arg3): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 [rbp - 8 {var_10}].d = edi 0x115b 4 [rbp - 0xc {var_14}].d = esi 0x115b 5 goto 6 @ 0x115e 0x115e 6 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1162 7 rax = 0x4050 {""} 0x1169 8 eax = [rax + (rcx << 2)].d 0x116f 9 if (eax u<= [rbp - 8 {var_10}].d) then 10 @ 0x1183 else 13 @ 0x1175 0x1183 10 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1187 11 rax = 0x4050 {""} 0x1192 12 if ([rax + (rcx << 2)].d != 0) then 17 @ 0x11a4 else 34 @ 0x1198 0x1175 13 eax = [rbp - 0xc {var_14}].d 0x1178 14 eax = eax + 1 0x117b 15 [rbp - 0xc {var_14}].d = eax 0x117e 16 goto 6 @ 0x115e 0x11a4 17 edi = [rbp - 8 {var_10}].d 0x11a7 18 esi = [rbp - 0xc {var_14}].d 0x11aa 19 esi = esi + 1 0x11ad 20 call(0x1150) 0x11b2 21 [rbp - 0x10 {var_18_1}].d = eax 0x11b5 22 rcx = sx.q([rbp - 0xc {var_14}].d) 0x11b9 23 rax = 0x4050 {""} 0x11c0 24 eax = [rax + (rcx << 2)].d 0x11c3 25 [rbp - 8 {var_10_1}].d = eax 0x11c6 26 edi = [rbp - 8 {var_10_1}].d 0x11c9 27 esi = [rbp - 0xc {var_14}].d 0x11cc 28 esi = esi + 1 0x11cf 29 call(0x1150) 0x11d4 30 eax = eax + 1 0x11d7 31 [rbp - 0x14 {var_1c_1}].d = eax 0x11da 32 eax = [rbp - 0x10 {var_18_1}].d 0x11e0 33 if (eax s<= [rbp - 0x14 {var_1c_1}].d) then 36 @ 0x11f1 else 39 @ 0x11e6 0x1198 34 [rbp - 4 {var_c}].d = 0 0x119f 35 goto 42 @ 0x1203 0x11f1 36 eax = [rbp - 0x14 {var_1c_1}].d 0x11f4 37 [rbp - 0x1c {var_24_1}].d = eax 0x11f4 38 goto 46 @ 0x11f7 0x11e6 39 eax = [rbp - 0x10 {var_18_1}].d 0x11e9 40 [rbp - 0x1c {var_24_1}].d = eax 0x11ec 41 goto 46 @ 0x11f7 0x1203 42 eax = [rbp - 4 {var_c}].d 0x1206 43 rsp = rsp + 0x20 0x120a 44 rbp = pop 0x120b 45 <return> jump(pop) 0x11f7 46 eax = [rbp - 0x1c {var_24_1}].d 0x11fa 47 [rbp - 0x18 {var_20_1}].d = eax 0x11fd 48 eax = [rbp - 0x18 {var_20_1}].d 0x1200 49 [rbp - 4 {var_c}].d = eax 0x1200 50 goto 42 @ 0x1203 int32_t main(int32_t argc, char** argv, char** envp): 0x1210 0 push(rbp) 0x1211 1 rbp = rsp {__saved_rbp} 0x1214 2 rsp = rsp - 0x10 0x1218 3 [rbp - 4 {var_c}].d = 0 0x121f 4 rdi = 0x2004 {"%d"} 0x1226 5 rsi = 0x40b8 {""} 0x122d 6 al = 0 0x122f 7 call(0x1040) 0x1234 8 [rbp - 8 {var_10}].d = 0 0x1234 9 goto 10 @ 0x123b 0x123b 10 eax = [rbp - 8 {var_10}].d 0x1244 11 if (eax u>= [0x40b8].d) then 12 @ 0x1277 else 28 @ 0x124a 0x1277 12 eax = [0x40b8].d 0x127d 13 ecx = eax 0x127f 14 rax = 0x4050 {""} 0x1286 15 [rax + (rcx << 2)].d = 0 0x128d 16 edi = 0xffff {""} 0x1292 17 esi = 0 0x1294 18 call(0x1150) 0x1299 19 [rbp - 0x10 {var_18}].d = eax 0x129c 20 esi = [rbp - 0x10 {var_18}].d 0x129f 21 rdi = 0x2004 {"%d"} 0x12a6 22 al = 0 0x12a8 23 call(0x1030) 0x12ad 24 eax = 0 0x12af 25 rsp = rsp + 0x10 0x12b3 26 rbp = pop 0x12b4 27 <return> jump(pop) 0x124a 28 eax = [rbp - 8 {var_10}].d 0x124d 29 rsi = 0x4050 {""} 0x1254 30 rax = rax << 2 0x1258 31 rsi = rsi + rax 0x125b 32 rdi = 0x2004 {"%d"} 0x1262 33 al = 0 0x1264 34 call(0x1040) 0x1269 35 eax = [rbp - 8 {var_10}].d 0x126c 36 eax = eax + 1 0x126f 37 [rbp - 8 {var_10}].d = eax 0x1272 38 goto 10 @ 0x123b int64_t _fini(): 0x12bc 0 rsp = rsp - 8 0x12c0 1 rsp = rsp + 8 0x12c4 2 <return> jump(pop)
POJ_10
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHAWAVAUATSH(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 push(r15) 0x1156 3 push(r14) 0x1158 4 push(r13) 0x115a 5 push(r12) 0x115c 6 push(rbx) 0x115d 7 rsp = rsp - 0x28 0x1161 8 rdi = 0x2018 {"%d"} 0x1168 9 rsi = rbp - 0x2c {var_34} 0x116c 10 eax = 0 0x116e 11 call(0x1040) 0x1173 12 r14 = rsp {var_58} 0x1176 13 eax = [rbp - 0x2c {var_34}].d 0x1179 14 r12 = rsp {var_58} 0x117c 15 rax = (rax << 2) + 0xf 0x1184 16 rax = rax & 0xfffffffffffffff0 0x1188 17 r12 = r12 - rax 0x118b 18 rsp = r12 0x118e 19 eax = [rbp - 0x2c {var_34}].d 0x1193 20 if (eax s<= 0) then 21 @ 0x125d else 29 @ 0x1199 0x125d 21 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1261 22 [rbp - 0x48 {var_50}].q = xmm0.q 0x1266 23 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x126a 24 [rbp - 0x38 {var_40}].q = xmm0.q 0x126f 25 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1273 26 [rbp - 0x40 {var_48}].q = xmm0.q 0x1278 27 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1278 28 goto 41 @ 0x127c 0x1199 29 r12 = r12 + 4 0x119d 30 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x11a1 31 r15 = 0x2018 {"%d"} 0x11a8 32 r13d = 0 0x11ab 33 ebx = 0 0x11ad 34 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11b1 35 [rbp - 0x40 {var_48}].q = xmm0.q 0x11b6 36 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11ba 37 [rbp - 0x38 {var_40}].q = xmm0.q 0x11bf 38 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11c3 39 [rbp - 0x48 {var_50}].q = xmm0.q 0x11c8 40 goto 83 @ 0x11f2 0x127c 41 xmm0 = 0 0x127f 42 xmm0.q = float.d(eax) 0x1283 43 xmm1.q = xmm1.q f/ xmm0.q 0x1287 44 xmm1.q = xmm1.q f* fconvert.t([0x2010].q) 0x128f 45 rdi = 0x201b {"1-18: %.2lf%%\n"} 0x1296 46 xmm0 = xmm1 0x129a 47 al = 1 0x129c 48 call(0x1030) 0x12a1 49 xmm1 = 0 0x12a4 50 xmm1.q = float.d([rbp - 0x2c {var_34}].d) 0x12a9 51 xmm0 = zx.o([rbp - 0x48 {var_50}].q) 0x12ae 52 xmm0.q = xmm0.q f/ xmm1.q 0x12b2 53 xmm0.q = xmm0.q f* fconvert.t([0x2010].q) 0x12ba 54 rdi = 0x202a {"19-35: %.2lf%%\n"} 0x12c1 55 al = 1 0x12c3 56 call(0x1030) 0x12c8 57 xmm1 = 0 0x12cb 58 xmm1.q = float.d([rbp - 0x2c {var_34}].d) 0x12d0 59 xmm0 = zx.o([rbp - 0x38 {var_40}].q) 0x12d5 60 xmm0.q = xmm0.q f/ xmm1.q 0x12d9 61 xmm0.q = xmm0.q f* fconvert.t([0x2010].q) 0x12e1 62 rdi = 0x203a {"36-60: %.2lf%%\n"} 0x12e8 63 al = 1 0x12ea 64 call(0x1030) 0x12ef 65 xmm1 = 0 0x12f2 66 xmm1.q = float.d([rbp - 0x2c {var_34}].d) 0x12f7 67 xmm0 = zx.o([rbp - 0x40 {var_48}].q) 0x12fc 68 xmm0.q = xmm0.q f/ xmm1.q 0x1300 69 xmm0.q = xmm0.q f* fconvert.t([0x2010].q) 0x1308 70 rdi = 0x204a {"60??: %.2lf%%\n"} 0x130f 71 al = 1 0x1311 72 call(0x1030) 0x1316 73 rsp = r14 0x1319 74 eax = 0 0x131b 75 rsp = rbp - 0x28 0x131f 76 rbx = pop 0x1320 77 r12 = pop 0x1322 78 r13 = pop 0x1324 79 r14 = pop 0x1326 80 r15 = pop 0x1328 81 rbp = pop 0x1329 82 <return> jump(pop) 0x11f2 83 [rbp - 0x50 {var_58}].q = xmm1.q 0x11f7 84 rsi = r12 + r13 0x11fb 85 rdi = r15 0x11fe 86 eax = 0 0x1200 87 call(0x1040) 0x1205 88 eax = [r12 + (rbx << 2)].d 0x120c 89 if (eax s<= 0x12) then 90 @ 0x11d0 else 93 @ 0x120e 0x11d0 90 xmm1 = zx.o([rbp - 0x50 {var_58}].q) 0x11d5 91 xmm1.q = xmm1.q f+ fconvert.t([0x2008].q) 0x11d5 92 goto 97 @ 0x11dd 0x120e 93 cond:0 = eax s> 0x23 0x1211 94 xmm0 = zx.o([rbp - 0x48 {var_50}].q) 0x1216 95 xmm1 = zx.o([rbp - 0x50 {var_58}].q) 0x121b 96 if (cond:0) then 101 @ 0x1233 else 102 @ 0x121d 0x11dd 97 rax = sx.q([rbp - 0x2c {var_34}].d) 0x11e1 98 rbx = rbx + 1 0x11e5 99 r13 = r13 + 4 0x11ec 100 if (rbx s>= rax) then 41 @ 0x127c else 83 @ 0x11f2 0x1233 101 if (eax s> 0x3c) then 105 @ 0x1249 else 109 @ 0x1235 0x121d 102 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q) 0x1225 103 [rbp - 0x48 {var_50}].q = xmm0.q 0x122a 104 goto 97 @ 0x11dd 0x1249 105 xmm0 = zx.o([rbp - 0x40 {var_48}].q) 0x124e 106 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q) 0x1256 107 [rbp - 0x40 {var_48}].q = xmm0.q 0x125b 108 goto 97 @ 0x11dd 0x1235 109 xmm0 = zx.o([rbp - 0x38 {var_40}].q) 0x123a 110 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q) 0x1242 111 [rbp - 0x38 {var_40}].q = xmm0.q 0x1247 112 goto 97 @ 0x11dd int64_t _fini(): 0x1330 0 rsp = rsp - 8 0x1334 1 rsp = rsp + 8 0x1338 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) 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 = 0x1230 {"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) uint64_t check(double arg1, uint64_t arg2[0x2] @ zmm0, uint64_t arg3[0x2] @ zmm4): 0x1160 0 push(rbp) 0x1161 1 push(r14) 0x1163 2 push(rbx) 0x1164 3 rsp = rsp - 0x10 0x1168 4 ebp = edi 0x116a 5 r14d = 0 0x1171 6 if ((bpl & 1) == 0) then 7 @ 0x1188 else 13 @ 0x1176 0x1188 7 eax = r14d 0x118b 8 rsp = rsp + 0x10 0x118f 9 rbx = pop 0x1190 10 r14 = pop 0x1192 11 rbp = pop 0x1193 12 <return> jump(pop) 0x1176 13 if (ebp u> 7) then 14 @ 0x1194 else 24 @ 0x1178 0x1194 14 xmm2.q = float.d(ebp) 0x1198 15 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x119c 16 flag:p = is_unordered.q(xmm2.q, xmm0.q) 0x119c 17 flag:c = xmm2.q f< xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x119c 18 flag:z = xmm2.q f== xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x119c 19 flag:s = 0 0x119c 20 flag:o = 0 0x119c 21 flag:a = 0 0x11a0 22 [rsp {var_28_1}].q = xmm2.q 0x11a5 23 if (flag:c) then 27 @ 0x11ba else 37 @ 0x11a7 0x1178 24 eax = 0xa8 {""} 0x117d 25 flag:c = test_bit(eax, ebp) 0x1180 26 if (not(flag:c)) then 14 @ 0x1194 else 46 @ 0x1182 0x11ba 27 xmm0 = xmm2 0x11be 28 call(0x1050) 0x11c3 29 xmm2 = zx.o([rsp {var_28_1}].q) 0x11c8 30 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11c8 31 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11c8 32 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11c8 33 flag:s = 0 0x11c8 34 flag:o = 0 0x11c8 35 flag:a = 0 0x11d0 36 if (flag:c) then 46 @ 0x1182 else 48 @ 0x11d2 0x11a7 37 xmm0 = 0 0x11aa 38 xmm0 = _mm_sqrt_sd(xmm2.q) 0x11ae 39 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11ae 40 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11ae 41 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11ae 42 flag:s = 0 0x11ae 43 flag:o = 0 0x11ae 44 flag:a = 0 0x11b6 45 if (flag:c) then 46 @ 0x1182 else 53 @ 0x11b8 0x1182 46 r14d = 1 0x1182 47 goto 7 @ 0x1188 0x11d2 48 ebx = 3 0x11d7 49 xmm3 = _mm_sqrt_sd(xmm2.q) 0x11db 50 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x11df 51 [rsp + 8 {var_20_1}].q = xmm3.q 0x11e5 52 goto 54 @ 0x11fd 0x11b8 53 goto 48 @ 0x11d2 0x11fd 54 eax = ebp 0x11ff 55 temp2.d:temp3.d = sx.q(eax) 0x11ff 56 edx = temp2.d 0x11ff 57 eax = temp3.d 0x1200 58 temp4.d = edx 0x1200 59 temp5.d = eax 0x1200 60 temp0.d = divs.dp.d(temp4.d:temp5.d, ebx) 0x1200 61 temp6.d = edx 0x1200 62 temp7.d = eax 0x1200 63 temp1.d = mods.dp.d(temp6.d:temp7.d, ebx) 0x1200 64 eax = temp0.d 0x1200 65 edx = temp1.d 0x1204 66 if (edx == 0) then 7 @ 0x1188 else 67 @ 0x1206 0x1206 67 ebx = ebx + 2 0x1209 68 flag:p = is_unordered.q(xmm2.q, xmm4.q) 0x1209 69 flag:c = xmm2.q f< xmm4.q | is_unordered.q(xmm2.q, xmm4.q) 0x1209 70 flag:z = xmm2.q f== xmm4.q | is_unordered.q(xmm2.q, xmm4.q) 0x1209 71 flag:s = 0 0x1209 72 flag:o = 0 0x1209 73 flag:a = 0 0x120d 74 xmm0 = xmm3 0x1211 75 if (not(flag:c)) then 76 @ 0x11f0 else 85 @ 0x1213 0x11f0 76 xmm1 = 0 0x11f3 77 xmm1.q = float.d(ebx) 0x11f7 78 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x11f7 79 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11f7 80 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11f7 81 flag:s = 0 0x11f7 82 flag:o = 0 0x11f7 83 flag:a = 0 0x11fb 84 if (flag:c) then 46 @ 0x1182 else 54 @ 0x11fd 0x1213 85 xmm0 = xmm2 0x1217 86 call(0x1050) 0x121c 87 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x1220 88 xmm3 = zx.o([rsp + 8 {var_20_1}].q) 0x1226 89 xmm2 = zx.o([rsp {var_28_1}].q) 0x122b 90 goto 76 @ 0x11f0 int32_t main(int32_t argc, char** argv, char** envp): 0x1230 0 push(rbp) 0x1231 1 push(r15) 0x1233 2 push(r14) 0x1235 3 push(r13) 0x1237 4 push(r12) 0x1239 5 push(rbx) 0x123a 6 rsp = rsp - 0x18 0x123e 7 rdi = 0x2018 {"%d"} 0x1245 8 rsi = rsp + 0x14 {var_34} 0x124a 9 eax = 0 0x124c 10 call(0x1040) 0x1256 11 if ([rsp + 0x14 {var_34}].d s< 6) then 12 @ 0x1424 else 21 @ 0x125c 0x1424 12 eax = 0 0x1426 13 rsp = rsp + 0x18 0x142a 14 rbx = pop 0x142b 15 r12 = pop 0x142d 16 r13 = pop 0x142f 17 r14 = pop 0x1431 18 r15 = pop 0x1433 19 rbp = pop 0x1434 20 <return> jump(pop) 0x125c 21 r15d = 6 0x1262 22 r12d = 0xa8 {""} 0x1268 23 goto 24 @ 0x1270 0x1270 24 r13d = r15d 0x1273 25 r13d = r13d u>> 1 0x1276 26 ebp = 3 0x1276 27 goto 28 @ 0x127e 0x127e 28 if (ebp u> 7) then 29 @ 0x1350 else 39 @ 0x1284 0x1350 29 xmm2 = 0 0x1353 30 xmm2.q = float.d(ebp) 0x1357 31 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1357 32 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1357 33 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1357 34 flag:s = 0 0x1357 35 flag:o = 0 0x1357 36 flag:a = 0 0x135f 37 [rsp + 8 {var_40_2}].q = xmm2.q 0x1365 38 if (flag:c) then 41 @ 0x137e else 51 @ 0x1367 0x1284 39 flag:c = test_bit(r12d, ebp) 0x1288 40 if (not(flag:c)) then 29 @ 0x1350 else 60 @ 0x128e 0x137e 41 xmm0 = xmm2 0x1382 42 call(0x1050) 0x1387 43 xmm2 = zx.o([rsp + 8 {var_40_2}].q) 0x138d 44 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x138d 45 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x138d 46 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x138d 47 flag:s = 0 0x138d 48 flag:o = 0 0x138d 49 flag:a = 0 0x1395 50 if (flag:c) then 60 @ 0x128e else 63 @ 0x139b 0x1367 51 xmm0 = 0 0x136a 52 xmm0 = _mm_sqrt_sd(xmm2.q) 0x136e 53 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x136e 54 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x136e 55 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x136e 56 flag:s = 0 0x136e 57 flag:o = 0 0x136e 58 flag:a = 0 0x1376 59 if (flag:c) then 60 @ 0x128e else 65 @ 0x137c 0x128e 60 ebx = r15d 0x1291 61 ebx = ebx - ebp 0x1296 62 if (ebx u> 7) then 66 @ 0x12a2 else 76 @ 0x1298 0x139b 63 ebx = 3 0x13a0 64 goto 78 @ 0x13d0 0x137c 65 goto 63 @ 0x139b 0x12a2 66 xmm2 = 0 0x12a5 67 xmm2.q = float.d(ebx) 0x12a9 68 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12a9 69 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12a9 70 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12a9 71 flag:s = 0 0x12a9 72 flag:o = 0 0x12a9 73 flag:a = 0 0x12b1 74 [rsp + 8 {var_40_1}].q = xmm2.q 0x12b7 75 if (flag:c) then 90 @ 0x12d0 else 100 @ 0x12b9 0x1298 76 flag:c = test_bit(r12d, ebx) 0x129c 77 if (flag:c) then 109 @ 0x1400 else 66 @ 0x12a2 0x13d0 78 eax = ebp 0x13d2 79 edx = 0 0x13d4 80 temp2.d = ebx 0x13d4 81 temp3.d = edx 0x13d4 82 temp4.d = eax 0x13d4 83 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x13d4 84 temp5.d = edx 0x13d4 85 temp6.d = eax 0x13d4 86 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x13d4 87 eax = temp0.d 0x13d4 88 edx = temp1.d 0x13d8 89 if (edx == 0) then 116 @ 0x13f0 else 118 @ 0x13da 0x12d0 90 xmm0 = xmm2 0x12d4 91 call(0x1050) 0x12d9 92 xmm2 = zx.o([rsp + 8 {var_40_1}].q) 0x12df 93 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12df 94 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12df 95 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12df 96 flag:s = 0 0x12df 97 flag:o = 0 0x12df 98 flag:a = 0 0x12e7 99 if (flag:c) then 109 @ 0x1400 else 126 @ 0x12ed 0x12b9 100 xmm0 = 0 0x12bc 101 xmm0 = _mm_sqrt_sd(xmm2.q) 0x12c0 102 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12c0 103 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12c0 104 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12c0 105 flag:s = 0 0x12c0 106 flag:o = 0 0x12c0 107 flag:a = 0 0x12c8 108 if (not(flag:c)) then 126 @ 0x12ed else 128 @ 0x12ca 0x1400 109 rdi = 0x201b {"%d=%d+%d\n"} 0x1407 110 esi = r15d 0x140a 111 edx = ebp 0x140c 112 ecx = ebx 0x140e 113 eax = 0 0x1410 114 call(0x1030) 0x1410 115 goto 129 @ 0x1415 0x13f0 116 ebp = ebp + 2 0x13f6 117 if (ebp u<= r13d) then 28 @ 0x127e else 131 @ 0x13fc 0x13da 118 ebx = ebx + 2 0x13dd 119 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13dd 120 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13dd 121 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13dd 122 flag:s = 0 0x13dd 123 flag:o = 0 0x13dd 124 flag:a = 0 0x13e5 125 if (flag:c) then 132 @ 0x13b0 else 136 @ 0x13e7 0x12ed 126 r14d = 5 0x12f3 127 goto 139 @ 0x1325 0x12ca 128 goto 109 @ 0x1400 0x1415 129 r15d = r15d + 2 0x141e 130 if (r15d s<= [rsp + 0x14 {var_34}].d) then 24 @ 0x1270 else 12 @ 0x1424 0x13fc 131 goto 129 @ 0x1415 0x13b0 132 xmm0 = xmm2 0x13b4 133 call(0x1050) 0x13b9 134 xmm2 = zx.o([rsp + 8 {var_40_2}].q) 0x13b9 135 goto 153 @ 0x13bf 0x13e7 136 xmm0 = 0 0x13ea 137 xmm0 = _mm_sqrt_sd(xmm2.q) 0x13ee 138 goto 153 @ 0x13bf 0x1325 139 ecx = (r14 - 2).d 0x1329 140 eax = ebx 0x132b 141 temp7.d:temp8.d = sx.q(eax) 0x132b 142 edx = temp7.d 0x132b 143 eax = temp8.d 0x132c 144 temp9.d = edx 0x132c 145 temp10.d = eax 0x132c 146 temp0.d = divs.dp.d(temp9.d:temp10.d, ecx) 0x132c 147 temp11.d = edx 0x132c 148 temp12.d = eax 0x132c 149 temp1.d = mods.dp.d(temp11.d:temp12.d, ecx) 0x132c 150 eax = temp0.d 0x132c 151 edx = temp1.d 0x1330 152 if (edx == 0) then 116 @ 0x13f0 else 162 @ 0x1336 0x13bf 153 xmm1 = 0 0x13c2 154 xmm1.q = float.d(ebx) 0x13c6 155 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x13c6 156 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13c6 157 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13c6 158 flag:s = 0 0x13c6 159 flag:o = 0 0x13c6 160 flag:a = 0 0x13ca 161 if (flag:c) then 60 @ 0x128e else 78 @ 0x13d0 0x1336 162 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1336 163 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1336 164 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1336 165 flag:s = 0 0x1336 166 flag:o = 0 0x1336 167 flag:a = 0 0x133e 168 if (flag:c) then 169 @ 0x1300 else 173 @ 0x1340 0x1300 169 xmm0 = xmm2 0x1304 170 call(0x1050) 0x1309 171 xmm2 = zx.o([rsp + 8 {var_40_1}].q) 0x1309 172 goto 176 @ 0x130f 0x1340 173 xmm0 = 0 0x1343 174 xmm0 = _mm_sqrt_sd(xmm2.q) 0x1347 175 goto 176 @ 0x130f 0x130f 176 xmm1 = 0 0x1312 177 xmm1.q = float.d(r14d) 0x1317 178 r14d = r14d + 2 0x131b 179 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x131b 180 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x131b 181 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x131b 182 flag:s = 0 0x131b 183 flag:o = 0 0x131b 184 flag:a = 0 0x131f 185 if (flag:c) then 109 @ 0x1400 else 139 @ 0x1325 int64_t _fini(): 0x143c 0 rsp = rsp - 8 0x1440 1 rsp = rsp + 8 0x1444 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 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(rbx) 0x1166 4 rsp = rsp - 0x3a8 0x116d 5 rdi = 0x2140 {"%d %s %d"} 0x1174 6 r15d = 0 0x1177 7 rsi = rsp + 0xc {var_3bc} 0x117c 8 r14 = rsp + 0x10 {var_3b8} 0x1181 9 rcx = rsp + 8 {var_3c0} 0x1186 10 rdx = r14 {var_3b8} 0x1189 11 eax = 0 0x118b 12 call(0x1040) 0x1190 13 rdi = r14 {var_3b8} 0x1193 14 call(0x1030) 0x1198 15 ecx = 0 0x119f 16 if (eax s<= 0) then 17 @ 0x15d1 else 19 @ 0x11a5 0x15d1 17 esi = [rsp + 8 {var_3c0}].d 0x15d7 18 if (ecx s< esi) then 21 @ 0x15f7 else 26 @ 0x15d9 0x11a5 19 r8d = eax 0x11ac 20 if (r8 u>= 8) then 28 @ 0x11b9 else 29 @ 0x11ae 0x15f7 21 eax = r15d 0x15fa 22 [rsp + (rax << 2) + 0x210].d = ecx 0x1601 23 rdx = sx.q(r15d) 0x1604 24 eax = (rdx + 1).d 0x160a 25 if (eax u>= 8) then 31 @ 0x1613 else 38 @ 0x160c 0x15d9 26 r15d = 0 0x15dc 27 goto 40 @ 0x15e0 0x11b9 28 if (r8d u>= 0x20) then 56 @ 0x11c2 else 68 @ 0x11bb 0x11ae 29 edx = 0 0x11b0 30 goto 70 @ 0x1378 0x1613 31 ecx = eax 0x1615 32 ecx = ecx & 0xfffffff8 0x1618 33 rsi = rcx - 8 0x161c 34 rbp = rsi 0x161f 35 rbp = rbp u>> 3 0x1623 36 rbp = rbp + 1 0x162a 37 if (rsi == 0) then 72 @ 0x19c4 else 74 @ 0x1630 0x160c 38 ecx = 0 0x160e 39 goto 80 @ 0x16e8 0x15e0 40 eax = ecx 0x15e2 41 temp2.d:temp3.d = sx.q(eax) 0x15e2 42 edx = temp2.d 0x15e2 43 eax = temp3.d 0x15e3 44 temp4.d = edx 0x15e3 45 temp5.d = eax 0x15e3 46 temp0.d = divs.dp.d(temp4.d:temp5.d, esi) 0x15e3 47 temp6.d = edx 0x15e3 48 temp7.d = eax 0x15e3 49 temp1.d = mods.dp.d(temp6.d:temp7.d, esi) 0x15e3 50 eax = temp0.d 0x15e3 51 edx = temp1.d 0x15e5 52 [rsp + (r15 << 2) + 0x210].d = edx 0x15ed 53 r15 = r15 + 1 0x15f1 54 ecx = eax 0x15f5 55 if (eax s>= esi) then 40 @ 0x15e0 else 21 @ 0x15f7 0x11c2 56 esi = eax 0x11c4 57 esi = esi & 0x1f 0x11c7 58 rdx = r8 0x11ca 59 rdx = rdx - rsi 0x11cd 60 edi = 0 0x11cf 61 xmm8 = [0x2010].o 0x11d8 62 xmm9 = [0x2020].o 0x11e1 63 xmm10 = [0x2030].o 0x11ea 64 xmm11 = [0x2040].o 0x11f3 65 xmm12 = [0x2050].o 0x11fc 66 xmm5 = [0x2060].o 0x120e 67 goto 84 @ 0x1210 0x11bb 68 edx = 0 0x11bd 69 goto 122 @ 0x12d1 0x1378 70 esi = 0xc9 {""} 0x137d 71 goto 134 @ 0x1397 0x19c4 72 edi = 0 0x19ca 73 if ((bpl & 1) != 0) then 138 @ 0x16af else 147 @ 0x19d0 0x1630 74 rsi = rbp 0x1633 75 rsi = rsi & 0xfffffffffffffffe 0x1637 76 rbx = rsp + (rdx << 2) 0x163b 77 rbx = rbx + 0x204 0x1642 78 edi = 0 0x164e 79 goto 148 @ 0x1650 0x16e8 80 rdx = rdx - rcx 0x16eb 81 rdx = rsp + (rdx << 2) 0x16ef 82 rdx = rdx + 0x210 0x16f6 83 goto 165 @ 0x1700 0x1210 84 xmm7 = [rsp + rdi + 0x10].o 0x1216 85 xmm3 = [rsp + rdi + 0x20].o 0x121c 86 xmm1 = xmm7 0x1220 87 xmm1 = _mm_add_epi8(xmm1, xmm8) 0x1225 88 xmm6 = xmm3 0x1229 89 xmm6 = _mm_add_epi8(xmm6, xmm8) 0x122e 90 xmm0 = xmm1 0x1232 91 xmm0 = _mm_min_epu8(xmm0, xmm9) 0x1237 92 xmm0 = _mm_cmpeq_epi8(xmm0, xmm1) 0x123b 93 xmm1 = xmm6 0x123f 94 xmm1 = _mm_min_epu8(xmm1, xmm9) 0x1244 95 xmm1 = _mm_cmpeq_epi8(xmm1, xmm6) 0x1248 96 xmm6 = xmm7 0x124c 97 xmm6 = _mm_cmpgt_epi8(xmm6, xmm10) 0x1251 98 xmm2 = xmm3 0x1255 99 xmm2 = _mm_cmpgt_epi8(xmm2, xmm10) 0x125a 100 xmm4 = xmm6 0x125e 101 xmm4 = xmm4 & not.o(xmm11) 0x1263 102 xmm6 = xmm6 & xmm12 0x1268 103 xmm6 = xmm6 | xmm4 0x126c 104 xmm4 = xmm2 0x1270 105 xmm4 = xmm4 & not.o(xmm11) 0x1275 106 xmm2 = xmm2 & xmm12 0x127a 107 xmm2 = xmm2 | xmm4 0x127e 108 xmm4 = xmm0 0x1282 109 xmm4 = xmm4 & not.o(xmm6) 0x1286 110 xmm0 = xmm0 & xmm5 0x128a 111 xmm0 = xmm0 | xmm4 0x128e 112 xmm4 = xmm1 0x1292 113 xmm4 = xmm4 & not.o(xmm2) 0x1296 114 xmm1 = xmm1 & xmm5 0x129a 115 xmm1 = xmm1 | xmm4 0x129e 116 xmm0 = _mm_add_epi8(xmm0, xmm7) 0x12a2 117 xmm1 = _mm_add_epi8(xmm1, xmm3) 0x12a6 118 [rsp + rdi + 0x10].o = xmm0 0x12ac 119 [rsp + rdi + 0x20].o = xmm1 0x12b2 120 rdi = rdi + 0x20 0x12b9 121 if (rdx != rdi) then 84 @ 0x1210 else 170 @ 0x12c2 0x12d1 122 rsi = rdx 0x12d4 123 edi = eax 0x12d6 124 edi = edi & 7 0x12d9 125 rdx = r8 0x12dc 126 rdx = rdx - rdi 0x12df 127 xmm8 = [0x2070].o 0x12e8 128 xmm9 = [0x2080].o 0x12f1 129 xmm2 = [0x2090].o 0x12f9 130 xmm3 = [0x20a0].o 0x1301 131 xmm4 = [0x20b0].o 0x1309 132 xmm5 = [0x20c0].o 0x131b 133 goto 171 @ 0x1320 0x1397 134 edi = zx.d([rsp + rdx + 0x10].b) 0x139c 135 ecx = (rdi - 0x41).d 0x139f 136 ebp = 0xa9 {""} 0x13a8 137 if (dil s>= 0x61) then 190 @ 0x1383 else 191 @ 0x13aa 0x16af 138 rsi = rdx 0x16b2 139 rsi = rsi - rdi 0x16b5 140 xmm0 = [rsp + (rsi << 2) + 0x1f4].o 0x16be 141 xmm1 = [rsp + (rsi << 2) + 0x204].o 0x16c7 142 xmm1 = _mm_shuffle_epi32(xmm1, 0x1b) 0x16cc 143 xmm0 = _mm_shuffle_epi32(xmm0, 0x1b) 0x16d1 144 [rsp + (rdi << 2) + 0x80].o = xmm1 0x16da 145 [rsp + (rdi << 2) + 0x90].o = xmm0 0x16da 146 goto 193 @ 0x16e6 0x19d0 147 goto 193 @ 0x16e6 0x1650 148 xmm0 = [rbx - 0x10].o 0x1655 149 xmm1 = [rbx].o 0x1659 150 xmm1 = _mm_shuffle_epi32(xmm1, 0x1b) 0x165e 151 xmm0 = _mm_shuffle_epi32(xmm0, 0x1b) 0x1663 152 [rsp + (rdi << 2) + 0x80].o = xmm1 0x166c 153 [rsp + (rdi << 2) + 0x90].o = xmm0 0x1675 154 xmm0 = [rbx - 0x30].o 0x167a 155 xmm1 = [rbx - 0x20].o 0x167f 156 xmm1 = _mm_shuffle_epi32(xmm1, 0x1b) 0x1684 157 xmm0 = _mm_shuffle_epi32(xmm0, 0x1b) 0x1689 158 [rsp + (rdi << 2) + 0xa0].o = xmm1 0x1692 159 [rsp + (rdi << 2) + 0xb0].o = xmm0 0x169b 160 rdi = rdi + 0x10 0x169f 161 rbx = rbx - 0x40 0x16a3 162 temp8.q = rsi 0x16a3 163 rsi = rsi - 2 0x16a7 164 if (temp8.q != 2) then 148 @ 0x1650 else 194 @ 0x16ad 0x1700 165 esi = [rdx].d 0x1702 166 [rsp + (rcx << 2) + 0x80].d = esi 0x1709 167 rcx = rcx + 1 0x170d 168 rdx = rdx - 4 0x1714 169 if (rax != rcx) then 165 @ 0x1700 else 195 @ 0x1719 0x12c2 170 if (rsi == 0) then 196 @ 0x13b3 else 197 @ 0x12cb 0x1320 171 xmm0 = [rsp + rsi + 0x10].q 0x1326 172 xmm6 = xmm0 0x132a 173 xmm6 = _mm_add_epi8(xmm6, xmm8) 0x132f 174 xmm7 = xmm6 0x1333 175 xmm7 = _mm_max_epu8(xmm7, xmm9) 0x1338 176 xmm7 = _mm_cmpeq_epi8(xmm7, xmm6) 0x133c 177 xmm6 = xmm0 0x1340 178 xmm6 = _mm_cmpgt_epi8(xmm6, xmm2) 0x1344 179 xmm1 = xmm6 0x1348 180 xmm1 = xmm1 & not.o(xmm3) 0x134c 181 xmm6 = xmm6 & xmm4 0x1350 182 xmm6 = xmm6 | xmm1 0x1354 183 xmm6 = xmm6 & xmm7 0x1358 184 xmm7 = xmm7 & not.o(xmm5) 0x135c 185 xmm7 = xmm7 | xmm6 0x1360 186 xmm7 = _mm_add_epi8(xmm7, xmm0) 0x1364 187 [rsp + rsi + 0x10].q = xmm7.q 0x136a 188 rsi = rsi + 8 0x1371 189 if (rdx != rsi) then 171 @ 0x1320 else 198 @ 0x1376 0x1383 190 if (cl u< 0x1a) then 199 else 201 @ 0x1386 0x13aa 191 ebp = 0xd0 {""} 0x13af 192 goto 190 @ 0x1383 0x16e6 193 if (rcx == rax) then 195 @ 0x1719 else 80 @ 0x16e8 0x16ad 194 if ((bpl & 1) == 0) then 193 @ 0x16e6 else 138 @ 0x16af 0x1719 195 if (eax u>= 8) then 205 @ 0x1722 else 212 @ 0x171b 0x13b3 196 if (eax s<= 0) then 214 @ 0x15cf else 216 @ 0x13b9 0x12cb 197 if (esi u< 8) then 70 @ 0x1378 else 122 @ 0x12d1 0x1376 198 if (rdi == 0) then 196 @ 0x13b3 else 70 @ 0x1378 0x1383 199 ebp = esi 0x1383 200 goto 201 @ 0x1386 0x1386 201 dil = dil + bpl 0x1389 202 [rsp + rdx + 0x10].b = dil 0x138e 203 rdx = rdx + 1 0x1395 204 if (r8 == rdx) then 196 @ 0x13b3 else 134 @ 0x1397 0x1722 205 ecx = eax 0x1724 206 ecx = ecx & 0xfffffff8 0x1727 207 rdx = rcx - 8 0x172b 208 rsi = rdx 0x172e 209 rsi = rsi u>> 3 0x1732 210 rsi = rsi + 1 0x1739 211 if (rdx == 0) then 227 @ 0x19d5 else 229 @ 0x173f 0x171b 212 ecx = 0 0x171d 213 goto 238 @ 0x1971 0x15cf 214 ecx = 0 0x15cf 215 goto 17 @ 0x15d1 0x13b9 216 edx = [rsp + 0xc {var_3bc}].d 0x13bd 217 r8d = eax 0x13c0 218 xmm0 = edx 0x13c4 219 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x13c9 220 edi = 0 0x13cb 221 xmm1 = [0x20d0].o 0x13d2 222 xmm2 = [0x20e0].o 0x13da 223 xmm3 = _mm_shuffle_epi32(xmm0, 0xf5) 0x13df 224 r9 = r8 0x13e2 225 ecx = 0 0x13e4 226 goto 240 @ 0x13fd 0x19d5 227 edx = 0 0x19db 228 if ((sil & 1) != 0) then 245 @ 0x18be else 281 @ 0x19e1 0x173f 229 rdi = rsi 0x1742 230 rdi = rdi & 0xfffffffffffffffe 0x1746 231 edx = 0 0x1748 232 xmm8 = [0x20f0].o 0x1751 233 xmm10 = [0x2100].o 0x175a 234 xmm9 = [0x2110].o 0x1763 235 xmm11 = [0x2120].o 0x176c 236 xmm4 = [0x2130].o 0x177e 237 goto 282 @ 0x1780 0x1971 238 edx = 0x30 {""} 0x1976 239 goto 350 @ 0x1980 0x13fd 240 rsi = r9 0x1400 241 r9 = r9 - 1 0x1404 242 ebp = r9d 0x1407 243 ebp = sx.d([rsp + rbp + 0x10].b) 0x140f 244 if (r8 == rsi) then 354 @ 0x13f0 else 357 @ 0x1411 0x18be 245 xmm3 = [rsp + (rdx << 2) + 0x80].o 0x18c7 246 xmm0 = [rsp + (rdx << 2) + 0x90].o 0x18d0 247 xmm4 = [0x20f0].o 0x18d8 248 xmm5 = xmm3 0x18dc 249 xmm5 = xmm5 ^ xmm4 0x18e0 250 xmm1 = [0x2100].o 0x18e8 251 xmm2 = xmm1 0x18ec 252 xmm2 = _mm_cmpgt_epi32(xmm2, xmm5) 0x18f0 253 xmm2 = _mm_packs_epi32(xmm2, xmm2) 0x18f4 254 xmm2 = _mm_packs_epi16(xmm2, xmm2) 0x18f8 255 xmm4 = xmm4 ^ xmm0 0x18fc 256 xmm1 = _mm_cmpgt_epi32(xmm1, xmm4) 0x1900 257 xmm1 = _mm_packs_epi32(xmm1, xmm1) 0x1904 258 xmm1 = _mm_packs_epi16(xmm1, xmm1) 0x1908 259 xmm4 = [0x2110].o 0x1910 260 xmm3 = xmm3 & xmm4 0x1914 261 xmm3 = _mm_packus_epi16(xmm3, xmm3) 0x1918 262 xmm3 = _mm_packus_epi16(xmm3, xmm3) 0x191c 263 xmm0 = xmm0 & xmm4 0x1920 264 xmm0 = _mm_packus_epi16(xmm0, xmm0) 0x1924 265 xmm0 = _mm_packus_epi16(xmm0, xmm0) 0x1928 266 xmm4 = [0x2120].o 0x1930 267 xmm5 = xmm2 0x1934 268 xmm5 = xmm5 & not.o(xmm4) 0x1938 269 xmm6 = [0x2130].o 0x1940 270 xmm2 = xmm2 & xmm6 0x1944 271 xmm2 = xmm2 | xmm5 0x1948 272 xmm2 = _mm_add_epi8(xmm2, xmm3) 0x194c 273 xmm3 = xmm1 0x1950 274 xmm3 = xmm3 & not.o(xmm4) 0x1954 275 xmm1 = xmm1 & xmm6 0x1958 276 xmm1 = xmm1 | xmm3 0x195c 277 xmm1 = _mm_add_epi8(xmm1, xmm0) 0x1960 278 [rsp + rdx + 0x10].d = xmm2.d 0x1966 279 [rsp + rdx + 0x14].d = xmm1.d 0x1966 280 goto 359 @ 0x196f 0x19e1 281 goto 359 @ 0x196f 0x1780 282 xmm2 = [rsp + (rdx << 2) + 0x80].o 0x1789 283 xmm3 = [rsp + (rdx << 2) + 0x90].o 0x1792 284 xmm7 = [rsp + (rdx << 2) + 0xa0].o 0x179b 285 xmm6 = [rsp + (rdx << 2) + 0xb0].o 0x17a4 286 xmm1 = xmm2 0x17a8 287 xmm1 = xmm1 ^ xmm8 0x17ad 288 xmm5 = xmm10 0x17b2 289 xmm5 = _mm_cmpgt_epi32(xmm5, xmm1) 0x17b6 290 xmm5 = _mm_packs_epi32(xmm5, xmm5) 0x17ba 291 xmm5 = _mm_packs_epi16(xmm5, xmm5) 0x17be 292 xmm0 = xmm3 0x17c2 293 xmm0 = xmm0 ^ xmm8 0x17c7 294 xmm1 = xmm10 0x17cc 295 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x17d0 296 xmm1 = _mm_packs_epi32(xmm1, xmm1) 0x17d4 297 xmm1 = _mm_packs_epi16(xmm1, xmm1) 0x17d8 298 xmm2 = xmm2 & xmm9 0x17dd 299 xmm2 = _mm_packus_epi16(xmm2, xmm2) 0x17e1 300 xmm2 = _mm_packus_epi16(xmm2, xmm2) 0x17e5 301 xmm3 = xmm3 & xmm9 0x17ea 302 xmm3 = _mm_packus_epi16(xmm3, xmm3) 0x17ee 303 xmm3 = _mm_packus_epi16(xmm3, xmm3) 0x17f2 304 xmm0 = xmm5 0x17f6 305 xmm0 = xmm0 & not.o(xmm11) 0x17fb 306 xmm5 = xmm5 & xmm4 0x17ff 307 xmm5 = xmm5 | xmm0 0x1803 308 xmm5 = _mm_add_epi8(xmm5, xmm2) 0x1807 309 xmm0 = xmm1 0x180b 310 xmm0 = xmm0 & not.o(xmm11) 0x1810 311 xmm1 = xmm1 & xmm4 0x1814 312 xmm1 = xmm1 | xmm0 0x1818 313 xmm1 = _mm_add_epi8(xmm1, xmm3) 0x181c 314 xmm5 = _mm_unpacklo_epi32(xmm5, xmm1.q) 0x1820 315 xmm1 = xmm7 0x1824 316 xmm1 = xmm1 ^ xmm8 0x1829 317 xmm0 = xmm10 0x182e 318 xmm0 = _mm_cmpgt_epi32(xmm0, xmm1) 0x1832 319 xmm0 = _mm_packs_epi32(xmm0, xmm0) 0x1836 320 xmm0 = _mm_packs_epi16(xmm0, xmm0) 0x183a 321 xmm2 = xmm6 0x183e 322 xmm2 = xmm2 ^ xmm8 0x1843 323 xmm1 = xmm10 0x1848 324 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x184c 325 xmm1 = _mm_packs_epi32(xmm1, xmm1) 0x1850 326 xmm1 = _mm_packs_epi16(xmm1, xmm1) 0x1854 327 xmm7 = xmm7 & xmm9 0x1859 328 xmm7 = _mm_packus_epi16(xmm7, xmm7) 0x185d 329 xmm7 = _mm_packus_epi16(xmm7, xmm7) 0x1861 330 xmm6 = xmm6 & xmm9 0x1866 331 xmm6 = _mm_packus_epi16(xmm6, xmm6) 0x186a 332 xmm6 = _mm_packus_epi16(xmm6, xmm6) 0x186e 333 xmm2 = xmm0 0x1872 334 xmm2 = xmm2 & not.o(xmm11) 0x1877 335 xmm0 = xmm0 & xmm4 0x187b 336 xmm0 = xmm0 | xmm2 0x187f 337 xmm0 = _mm_add_epi8(xmm0, xmm7) 0x1883 338 xmm2 = xmm1 0x1887 339 xmm2 = xmm2 & not.o(xmm11) 0x188c 340 xmm1 = xmm1 & xmm4 0x1890 341 xmm1 = xmm1 | xmm2 0x1894 342 xmm1 = _mm_add_epi8(xmm1, xmm6) 0x1898 343 xmm0 = _mm_unpacklo_epi32(xmm0, xmm1.q) 0x189c 344 xmm5 = _mm_unpacklo_epi64(xmm5, xmm0.q) 0x18a0 345 [rsp + rdx + 0x10].o = xmm5 0x18a6 346 rdx = rdx + 0x10 0x18aa 347 temp9.q = rdi 0x18aa 348 rdi = rdi - 2 0x18ae 349 if (temp9.q != 2) then 282 @ 0x1780 else 360 @ 0x18b8 0x1980 350 esi = [rsp + (rcx << 2) + 0x80].d 0x1987 351 cond:0 = esi u< 0xa 0x198a 352 edi = 0x37 {""} 0x198f 353 if (cond:0) then 361 else 363 @ 0x1992 0x13f0 354 ecx = ecx + ebp 0x13f2 355 edi = edi + 1 0x13f7 356 if (edi == eax) then 17 @ 0x15d1 else 240 @ 0x13fd 0x1411 357 esi = 0 0x1416 358 if (edi u< 8) then 367 @ 0x15c0 else 370 @ 0x141c 0x196f 359 if (rcx == rax) then 384 @ 0x19a3 else 238 @ 0x1971 0x18b8 360 if ((sil & 1) == 0) then 359 @ 0x196f else 245 @ 0x18be 0x198f 361 edi = edx 0x198f 362 goto 363 @ 0x1992 0x1992 363 dil = dil + sil 0x1995 364 [rsp + rcx + 0x10].b = dil 0x199a 365 rcx = rcx + 1 0x19a1 366 if (rax != rcx) then 350 @ 0x1980 else 384 @ 0x19a3 0x15c0 367 ebp = ebp * edx 0x15c3 368 esi = esi + 1 0x15c3 369 goto 395 @ 0x15c8 0x141c 370 r10d = edi 0x141f 371 r10d = r10d & 0xfffffff8 0x1423 372 r10d = r10d - 8 0x1427 373 r10d = r10d u>> 3 0x142b 374 esi = edi 0x142d 375 esi = esi & 0x7ffffff8 0x1433 376 ebx = (rsi - 8).d 0x1436 377 r11d = ebx 0x1439 378 r11d = r11d u>> 3 0x143d 379 r11d = r11d + 1 0x1441 380 xmm5 = ebp 0x1445 381 xmm4 = xmm1 0x1448 382 xmm4.d = xmm5.d 0x144f 383 if (ebx u>= 0x38) then 396 @ 0x145a else 400 @ 0x1451 0x19a3 384 [rsp + rax + 0x10].b = 0 0x19a8 385 rdi = rsp + 0x10 {var_3b8} 0x19ad 386 eax = 0 0x19af 387 call(0x1050) 0x19b4 388 eax = 0 0x19b6 389 rsp = rsp + 0x3a8 0x19bd 390 rbx = pop 0x19be 391 r14 = pop 0x19c0 392 r15 = pop 0x19c2 393 rbp = pop 0x19c3 394 <return> jump(pop) 0x15c8 395 if (edi != esi) then 367 @ 0x15c0 else 402 @ 0x15ca 0x145a 396 ebp = (r10 + 1).d 0x145e 397 ebp = ebp & 0xfffffff8 0x1461 398 xmm5 = xmm2 0x146f 399 goto 403 @ 0x1470 0x1451 400 xmm5 = xmm2 0x1455 401 goto 446 @ 0x151f 0x15ca 402 goto 354 @ 0x13f0 0x1470 403 xmm7 = _mm_shuffle_epi32(xmm4, 0xf5) 0x1475 404 xmm7 = _mm_mul_epu32(xmm7, xmm3) 0x1479 405 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x147d 406 xmm6 = _mm_shuffle_epi32(xmm5, 0xf5) 0x1482 407 xmm6 = _mm_mul_epu32(xmm6, xmm3) 0x1486 408 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x148a 409 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x148e 410 xmm7 = _mm_mul_epu32(xmm7, xmm3) 0x1492 411 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x1496 412 xmm6 = _mm_mul_epu32(xmm6, xmm3) 0x149a 413 xmm7 = _mm_mul_epu32(xmm7, xmm3) 0x149e 414 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x14a2 415 xmm6 = _mm_mul_epu32(xmm6, xmm3) 0x14a6 416 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x14aa 417 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x14ae 418 xmm7 = _mm_mul_epu32(xmm7, xmm3) 0x14b2 419 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x14b6 420 xmm6 = _mm_mul_epu32(xmm6, xmm3) 0x14ba 421 xmm7 = _mm_mul_epu32(xmm7, xmm3) 0x14be 422 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x14c2 423 xmm6 = _mm_mul_epu32(xmm6, xmm3) 0x14c6 424 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x14ca 425 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x14ce 426 xmm7 = _mm_mul_epu32(xmm7, xmm3) 0x14d2 427 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x14d6 428 xmm6 = _mm_mul_epu32(xmm6, xmm3) 0x14da 429 xmm7 = _mm_mul_epu32(xmm7, xmm3) 0x14de 430 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x14e2 431 xmm6 = _mm_mul_epu32(xmm6, xmm3) 0x14e6 432 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x14ea 433 xmm4 = _mm_mul_epu32(xmm4, xmm0) 0x14ee 434 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x14f3 435 xmm7 = _mm_mul_epu32(xmm7, xmm3) 0x14f7 436 xmm7 = _mm_shuffle_epi32(xmm7, 0xe8) 0x14fc 437 xmm4 = _mm_unpacklo_epi32(xmm4, xmm7.q) 0x1500 438 xmm5 = _mm_mul_epu32(xmm5, xmm0) 0x1504 439 xmm5 = _mm_shuffle_epi32(xmm5, 0xe8) 0x1509 440 xmm6 = _mm_mul_epu32(xmm6, xmm3) 0x150d 441 xmm6 = _mm_shuffle_epi32(xmm6, 0xe8) 0x1512 442 xmm5 = _mm_unpacklo_epi32(xmm5, xmm6.q) 0x1516 443 temp10.d = ebp 0x1516 444 ebp = ebp - 8 0x1519 445 if (temp10.d != 8) then 403 @ 0x1470 else 446 @ 0x151f 0x151f 446 xmm6 = xmm4 0x1523 447 xmm7 = xmm5 0x152b 448 if ((r11b & 7) == 0) then 449 @ 0x158b else 460 @ 0x152d 0x158b 449 xmm4 = _mm_shuffle_epi32(xmm6, 0xf5) 0x1590 450 xmm5 = _mm_shuffle_epi32(xmm7, 0xf5) 0x1595 451 xmm5 = _mm_mul_epu32(xmm5, xmm4) 0x1599 452 xmm7 = _mm_mul_epu32(xmm7, xmm6) 0x159d 453 xmm4 = _mm_shuffle_epi32(xmm7, 0xee) 0x15a2 454 xmm4 = _mm_mul_epu32(xmm4, xmm7) 0x15a6 455 xmm6 = _mm_shuffle_epi32(xmm5, 0xaa) 0x15ab 456 xmm6 = _mm_mul_epu32(xmm6, xmm5) 0x15af 457 xmm6 = _mm_mul_epu32(xmm6, xmm4) 0x15b3 458 ebp = xmm6.d 0x15b7 459 goto 395 @ 0x15c8 0x152d 460 r10b = r10b + 1 0x1531 461 ebp = zx.d(r10b) 0x1535 462 ebp = ebp & 7 0x1538 463 goto 464 @ 0x1540 0x1540 464 xmm6 = xmm0 0x1544 465 xmm6 = _mm_mul_epu32(xmm6, xmm4) 0x1548 466 xmm6 = _mm_shuffle_epi32(xmm6, 0xe8) 0x154d 467 xmm4 = _mm_shuffle_epi32(xmm4, 0xf5) 0x1552 468 xmm4 = _mm_mul_epu32(xmm4, xmm3) 0x1556 469 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x155b 470 xmm6 = _mm_unpacklo_epi32(xmm6, xmm4.q) 0x155f 471 xmm4 = xmm0 0x1563 472 xmm4 = _mm_mul_epu32(xmm4, xmm5) 0x1567 473 xmm7 = _mm_shuffle_epi32(xmm4, 0xe8) 0x156c 474 xmm4 = _mm_shuffle_epi32(xmm5, 0xf5) 0x1571 475 xmm4 = _mm_mul_epu32(xmm4, xmm3) 0x1575 476 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x157a 477 xmm7 = _mm_unpacklo_epi32(xmm7, xmm4.q) 0x157e 478 xmm4 = xmm6 0x1582 479 xmm5 = xmm7 0x1586 480 temp11.d = ebp 0x1586 481 ebp = ebp - 1 0x1589 482 if (temp11.d != 1) then 464 @ 0x1540 else 449 @ 0x158b int64_t _fini(): 0x19e8 0 rsp = rsp - 8 0x19ec 1 rsp = rsp + 8 0x19f0 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 {"UAWAVSH8"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0x338 0x115d 5 rdi = 0x2004 {"%d\n"} 0x1164 6 r15d = 0 0x1167 7 rsi = rsp + 0xc {var_34c} 0x116c 8 eax = 0 0x116e 9 call(0x1040) 0x1173 10 eax = [rsp + 0xc {var_34c}].d 0x1179 11 if (eax s<= 0) then 12 @ 0x11bc else 14 @ 0x117b 0x11bc 12 eax = eax + eax 0x11c0 13 if (eax s<= 0) then 18 @ 0x1207 else 29 @ 0x11c2 0x117b 14 rbx = rsp + 0x10 {var_348} 0x1180 15 r14 = 0x2008 {"%d %d"} 0x1187 16 ebp = 0 0x1189 17 goto 35 @ 0x1190 0x1207 18 rdi = 0x200b {"%d"} 0x120e 19 esi = r15d 0x1211 20 eax = 0 0x1213 21 call(0x1030) 0x1218 22 eax = 0 0x121a 23 rsp = rsp + 0x338 0x1221 24 rbx = pop 0x1222 25 r14 = pop 0x1224 26 r15 = pop 0x1226 27 rbp = pop 0x1227 28 <return> jump(pop) 0x11c2 29 eax = eax 0x11c4 30 ecx = 0 0x11c6 31 edx = 0 0x11c8 32 r15d = 0 0x11cb 33 esi = 0 0x11cd 34 goto 45 @ 0x11e2 0x1190 35 rdx = rbx + 4 0x1194 36 rdi = r14 0x1197 37 rsi = rbx 0x119a 38 eax = 0 0x119c 39 call(0x1040) 0x11a1 40 rbp = rbp + 2 0x11a5 41 rax = sx.q([rsp + 0xc {var_34c}].d) 0x11aa 42 rax = rax + rax 0x11ad 43 rbx = rbx + 8 0x11b4 44 if (rbp s< rax) then 35 @ 0x1190 else 49 @ 0x11b8 0x11e2 45 ebp = [rsp + (rdx << 2) + 0x10].d 0x11e6 46 ebp = ebp - 0x5a 0x11e9 47 edi = 0 0x11f1 48 if (ebp u> 0x32) then 50 @ 0x11d3 else 51 @ 0x11f3 0x11b8 49 if (eax s> 0) then 29 @ 0x11c2 else 55 @ 0x11ba 0x11d3 50 if (r15d s<= edi) then 56 else 58 @ 0x11d7 0x11f3 51 edi = [rsp + (rdx << 2) + 0x14].d 0x11f7 52 edi = edi - 0x3c 0x11fa 53 esi = esi + 1 0x1200 54 if (edi u>= 0x1f) then 61 else 63 @ 0x1203 0x11ba 55 goto 18 @ 0x1207 0x11d3 56 r15d = edi 0x11d3 57 goto 58 @ 0x11d7 0x11d7 58 rdx = rdx + 2 0x11db 59 esi = edi 0x11e0 60 if (rdx u>= rax) then 18 @ 0x1207 else 45 @ 0x11e2 0x1200 61 esi = ecx 0x1200 62 goto 63 @ 0x1203 0x1203 63 edi = esi 0x1205 64 goto 50 @ 0x11d3 int64_t _fini(): 0x122c 0 rsp = rsp - 8 0x1230 1 rsp = rsp + 8 0x1234 2 <return> jump(pop)
POJ_82
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) char* strncpy(char* arg1, char const* arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) char* strcpy(char* arg1, char const* arg2): 0x1060 0 <return> tailcall([0x4030].q) char* gets(char* buf): 0x1070 0 <return> tailcall([0x4038].q) int32_t strcmp(char const* arg1, char const* arg2): 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 - 0x620 0x119b 3 [rbp - 4 {var_c}].d = 0 0x11a2 4 rax = rbp - 0x200 {var_208} 0x11a9 5 [rbp - 0x610 {var_618}].q = rax {var_208} 0x11b0 6 rdi = rbp - 0x200 {var_208} 0x11b7 7 al = 0 0x11b9 8 call(0x1070) 0x11be 9 rdi = rbp - 0x200 {var_208} 0x11c5 10 call(0x1050) 0x11ca 11 [rbp - 0x604 {var_60c}].d = eax 0x11d0 12 [rbp - 0x608 {var_610}].d = 2 0x11d0 13 goto 14 @ 0x11da 0x11da 14 eax = [rbp - 0x608 {var_610}].d 0x11e6 15 if (eax s> [rbp - 0x604 {var_60c}].d) then 16 @ 0x12e6 else 20 @ 0x11ec 0x12e6 16 eax = 0 0x12e8 17 rsp = rsp + 0x620 0x12ef 18 rbp = pop 0x12f0 19 <return> jump(pop) 0x11ec 20 rax = rbp - 0x200 {var_208} 0x11f3 21 [rbp - 0x610 {var_618_1}].q = rax {var_208} 0x11f3 22 goto 23 @ 0x11fa 0x11fa 23 rax = [rbp - 0x610 {var_618_1}].q 0x1201 24 rcx = rbp - 0x200 {var_208} 0x1208 25 rdx = sx.q([rbp - 0x604 {var_60c}].d) 0x120f 26 rcx = rcx + rdx 0x1212 27 rsi = sx.q([rbp - 0x608 {var_610}].d) 0x1219 28 edx = 0 0x121b 29 rdx = rdx - rsi 0x121e 30 rcx = rcx + rdx 0x1221 31 rcx = rcx + 1 0x1228 32 if (rax u>= rcx) then 33 @ 0x12cd else 34 @ 0x122e 0x12cd 33 goto 51 @ 0x12d2 0x122e 34 rdi = rbp - 0x400 {var_408} 0x1235 35 rsi = [rbp - 0x610 {var_618_1}].q 0x123c 36 rdx = sx.q([rbp - 0x608 {var_610}].d) 0x1243 37 call(0x1040) 0x1248 38 rax = sx.q([rbp - 0x608 {var_610}].d) 0x124f 39 [rbp + rax - 0x400].b = 0 0x1257 40 rdi = rbp - 0x600 {var_608} 0x125e 41 rsi = rbp - 0x400 {var_408} 0x1265 42 call(0x1060) 0x126a 43 rax = rbp - 0x400 {var_408} 0x1271 44 [rbp - 0x618 {var_620_1}].q = rax {var_408} 0x1278 45 rdi = rbp - 0x600 {var_608} 0x127f 46 call(0x1300) 0x1284 47 rdi = [rbp - 0x618 {var_620_1}].q {var_408} 0x128b 48 rsi = rax 0x128e 49 call(0x1080) 0x1296 50 if (eax != 0) then 55 @ 0x12b1 else 56 @ 0x129c 0x12d2 51 eax = [rbp - 0x608 {var_610}].d 0x12d8 52 eax = eax + 1 0x12db 53 [rbp - 0x608 {var_610}].d = eax 0x12e1 54 goto 14 @ 0x11da 0x12b1 55 goto 61 @ 0x12b6 0x129c 56 rsi = rbp - 0x400 {var_408} 0x12a3 57 rdi = 0x2004 {"%s\n"} 0x12aa 58 al = 0 0x12ac 59 call(0x1030) 0x12ac 60 goto 55 @ 0x12b1 0x12b6 61 rax = [rbp - 0x610 {var_618_1}].q 0x12bd 62 rax = rax + 1 0x12c1 63 [rbp - 0x610 {var_618_1}].q = rax 0x12c8 64 goto 23 @ 0x11fa char* reverse(char* arg1): 0x1300 0 push(rbp) 0x1301 1 rbp = rsp {__saved_rbp} 0x1304 2 rsp = rsp - 0x220 0x130b 3 [rbp - 8 {var_10}].q = rdi 0x130f 4 rdi = rbp - 0x200 {var_208} 0x1316 5 rsi = [rbp - 8 {var_10}].q 0x131a 6 call(0x1060) 0x131f 7 [rbp - 0x204 {var_20c}].d = 0 0x131f 8 goto 9 @ 0x1329 0x1329 9 rax = sx.q([rbp - 0x204 {var_20c}].d) 0x1330 10 [rbp - 0x210 {var_218_1}].q = rax 0x1337 11 rdi = [rbp - 8 {var_10}].q 0x133b 12 call(0x1050) 0x1340 13 rcx = rax 0x1343 14 rax = [rbp - 0x210 {var_218_1}].q 0x134d 15 if (rax u>= rcx) then 16 @ 0x13a9 else 20 @ 0x1353 0x13a9 16 rax = [rbp - 8 {var_10}].q 0x13ad 17 rsp = rsp + 0x220 0x13b4 18 rbp = pop 0x13b5 19 <return> jump(pop) 0x1353 20 rax = rbp - 0x200 {var_208} 0x135a 21 [rbp - 0x218 {var_220_1}].q = rax {var_208} 0x1361 22 rdi = [rbp - 8 {var_10}].q 0x1365 23 call(0x1050) 0x136a 24 rcx = rax 0x136d 25 rax = [rbp - 0x218 {var_220_1}].q {var_208} 0x1374 26 rax = rax + rcx 0x1377 27 rdx = sx.q([rbp - 0x204 {var_20c}].d) 0x137e 28 ecx = 0 0x1380 29 rcx = rcx - rdx 0x1383 30 dl = [rax + rcx - 1].b 0x1387 31 rax = [rbp - 8 {var_10}].q 0x138b 32 rcx = sx.q([rbp - 0x204 {var_20c}].d) 0x1392 33 [rax + rcx].b = dl 0x1395 34 eax = [rbp - 0x204 {var_20c}].d 0x139b 35 eax = eax + 1 0x139e 36 [rbp - 0x204 {var_20c}].d = eax 0x13a4 37 goto 9 @ 0x1329 int64_t _fini(): 0x13bc 0 rsp = rsp - 8 0x13c0 1 rsp = rsp + 8 0x13c4 2 <return> jump(pop)
POJ_49
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_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) float sqrtf(float x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHX"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x558 0x1171 7 rdi = 0x2004 {"%d"} 0x1178 8 rsi = rsp + 8 {var_580} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1184 11 eax = [rsp + 8 {var_580}].d 0x118a 12 if (eax s<= 0) then 13 @ 0x12d9 else 16 @ 0x1190 0x12d9 13 r8d = (rax - 1).d 0x12dd 14 r8d = r8d * eax 0x12e5 15 if (r8d s< 2) then 20 @ 0x144e else 29 @ 0x12ef 0x1190 16 rbx = rsp + 0x20 {var_568} 0x1195 17 r14 = 0x2007 {"%f"} 0x119c 18 ebp = 0 0x119e 19 goto 30 @ 0x11a0 0x144e 20 eax = 0 0x1450 21 rsp = rsp + 0x558 0x1457 22 rbx = pop 0x1458 23 r12 = pop 0x145a 24 r13 = pop 0x145c 25 r14 = pop 0x145e 26 r15 = pop 0x1460 27 rbp = pop 0x1461 28 <return> jump(pop) 0x12ef 29 if (r8d u< 4) then 46 @ 0x13cf else 50 @ 0x12f5 0x11a0 30 rdi = r14 0x11a3 31 rsi = rbx 0x11a6 32 eax = 0 0x11a8 33 call(0x1040) 0x11ad 34 rsi = rbx + 4 0x11b1 35 rdi = r14 0x11b4 36 eax = 0 0x11b6 37 call(0x1040) 0x11bb 38 rsi = rbx + 8 0x11bf 39 rdi = r14 0x11c2 40 eax = 0 0x11c4 41 call(0x1040) 0x11c9 42 rbp = rbp + 1 0x11cd 43 rax = sx.q([rsp + 8 {var_580}].d) 0x11d2 44 rbx = rbx + 0xc 0x11d9 45 if (rbp s< rax) then 30 @ 0x11a0 else 60 @ 0x11dd 0x13cf 46 rbp = rsp + 0xa8 {var_4e0} 0x13d7 47 ebx = 0 0x13d9 48 r14 = 0x200a {"(%d,%d,%d)-(%d,%d,%d)=%.2f\n"} 0x13d9 49 goto 61 @ 0x13e0 0x12f5 50 r11d = r8d 0x12f8 51 r11d = r11d u>> 0x1f 0x12fc 52 r11d = r11d + r8d 0x12ff 53 r11d = r11d s>> 1 0x1302 54 r10d = r11d 0x1305 55 r9d = 0xfffffffe {""} 0x130b 56 r9 = r9 + r10 0x130e 57 r10 = r10 - 1 0x1312 58 r14d = 0 0x1315 59 goto 88 @ 0x132d 0x11dd 60 if (eax s<= 0) then 13 @ 0x12d9 else 91 @ 0x11e3 0x13e0 61 rax = sx.q([rbp - 8].d) 0x13e4 62 rax = rax + (rax << 1) 0x13e8 63 esi = int.d(ftrunc(fconvert.t([rsp + (rax << 2) + 0x20].d))) 0x13ee 64 edx = int.d(ftrunc(fconvert.t([rsp + (rax << 2) + 0x24].d))) 0x13f4 65 ecx = int.d(ftrunc(fconvert.t([rsp + (rax << 2) + 0x28].d))) 0x13fa 66 rax = sx.q([rbp - 4].d) 0x13fe 67 rax = rax + (rax << 1) 0x1402 68 r8d = int.d(ftrunc(fconvert.t([rsp + (rax << 2) + 0x20].d))) 0x1409 69 r9d = int.d(ftrunc(fconvert.t([rsp + (rax << 2) + 0x24].d))) 0x1410 70 eax = int.d(ftrunc(fconvert.t([rsp + (rax << 2) + 0x28].d))) 0x1416 71 xmm0 = [rbp].d 0x141b 72 xmm0.q = fconvert.d(xmm0.d) 0x141f 73 [rsp {var_588}].d = eax 0x1422 74 rdi = r14 0x1425 75 al = 1 0x1427 76 call(0x1030) 0x142c 77 rbx = rbx + 1 0x1430 78 eax = [rsp + 8 {var_580}].d 0x1434 79 ecx = (rax - 1).d 0x1437 80 ecx = ecx * eax 0x143a 81 eax = ecx 0x143c 82 eax = eax u>> 0x1f 0x143f 83 eax = eax + ecx 0x1441 84 eax = eax s>> 1 0x1443 85 rax = sx.q(eax) 0x1445 86 rbp = rbp + 0xc 0x144c 87 if (rbx s< rax) then 61 @ 0x13e0 else 20 @ 0x144e 0x132d 88 rdx = r10 0x1330 89 rsi = r9 0x1333 90 goto 97 @ 0x1355 0x11e3 91 r14 = rsp + 0x34 {var_554} 0x11e8 92 edx = 0 0x11ea 93 r12d = 1 0x11f0 94 xmm2 = 0 0x11f3 95 ebp = 0 0x11f5 96 goto 110 @ 0x121e 0x1355 97 ecx = esi 0x1357 98 rcx = rcx + (rcx << 1) 0x135b 99 xmm0 = [rsp + (rcx << 2) + 0xa8].d 0x1364 100 ebx = edx 0x1366 101 rbx = rbx + (rbx << 1) 0x136a 102 xmm1 = [rsp + (rbx << 2) + 0xa8].d 0x1373 103 flag:p = is_unordered.d(xmm1.d, xmm0.d) 0x1373 104 flag:c = xmm1.d f< xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x1373 105 flag:z = xmm1.d f== xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x1373 106 flag:s = 0 0x1373 107 flag:o = 0 0x1373 108 flag:a = 0 0x1376 109 if (flag:z || flag:c) then 114 @ 0x1340 else 120 @ 0x1378 0x121e 110 rbx = rdx 0x1221 111 rdx = rdx + 1 0x1225 112 rcx = sx.q(eax) 0x122b 113 if (rdx s>= rcx) then 132 @ 0x120d else 135 @ 0x122d 0x1340 114 rsi = rsi - 1 0x1344 115 rax = rdx - 1 0x1348 116 rdx = rdx + 1 0x134c 117 cond:0 = rdx s<= 2 0x1350 118 rdx = rax 0x1353 119 if (cond:0) then 147 @ 0x1320 else 97 @ 0x1355 0x1378 120 rbp = rsp + (rcx << 2) 0x137c 121 rbp = rbp + 0xa8 0x1383 122 rax = rsp + (rbx << 2) + 0xa8 0x138b 123 rdi = [rsp + (rcx << 2) + 0xa0].q 0x1393 124 [rbp].d = xmm1.d 0x1398 125 ebp = [rsp + (rbx << 2) + 0xa0].d 0x139f 126 [rsp + (rcx << 2) + 0xa0].d = ebp 0x13a6 127 ebp = [rsp + (rbx << 2) + 0xa4].d 0x13ad 128 [rsp + (rcx << 2) + 0xa4].d = ebp 0x13b4 129 [rax].d = xmm0.d 0x13b8 130 [rsp + (rbx << 2) + 0xa0].q = rdi 0x13c0 131 goto 114 @ 0x1340 0x120d 132 r12d = r12d + 1 0x1211 133 r14 = r14 + 0xc 0x1218 134 if (rdx s>= rcx) then 13 @ 0x12d9 else 110 @ 0x121e 0x122d 135 [rsp + 0x10 {var_578_1}].q = rdx 0x1232 136 rax = rbx + (rbx << 1) 0x1236 137 r15 = rsp + (rax << 2) 0x123a 138 r15 = r15 + 0x20 0x123e 139 rax = sx.q(ebp) 0x1241 140 rax = rax + (rax << 1) 0x1245 141 rcx = rsp + 0xa8 {var_4e0} 0x124d 142 rcx = rcx + (rax << 2) 0x1251 143 [rsp + 0xc {var_57c_1}].d = r12d 0x1256 144 r13d = 0 0x1259 145 [rsp + 0x18 {var_570_1}].q = rcx 0x125e 146 goto 149 @ 0x1295 0x1320 147 r14d = r14d + 1 0x1327 148 if (r14d == r11d) then 167 @ 0x13c9 else 88 @ 0x132d 0x1295 149 xmm1 = [r15].d 0x129a 150 xmm1.d = xmm1.d f- fconvert.t([r14 + r13 - 8].d) 0x12a1 151 xmm0 = [r15 + 4].d 0x12a7 152 xmm0.d = xmm0.d f- fconvert.t([r14 + r13 - 4].d) 0x12ae 153 xmm0.d = xmm0.d f* xmm0.d 0x12b2 154 xmm1.d = xmm1.d f* xmm1.d 0x12b6 155 xmm1.d = xmm1.d f+ xmm0.d 0x12ba 156 xmm0 = [r15 + 8].d 0x12c0 157 xmm0.d = xmm0.d f- fconvert.t([r14 + r13].d) 0x12c6 158 xmm0.d = xmm0.d f* xmm0.d 0x12ca 159 xmm0.d = xmm0.d f+ xmm1.d 0x12ce 160 flag:p = is_unordered.d(xmm0.d, xmm2.d) 0x12ce 161 flag:c = xmm0.d f< xmm2.d | is_unordered.d(xmm0.d, xmm2.d) 0x12ce 162 flag:z = xmm0.d f== xmm2.d | is_unordered.d(xmm0.d, xmm2.d) 0x12ce 163 flag:s = 0 0x12ce 164 flag:o = 0 0x12ce 165 flag:a = 0 0x12d1 166 if (flag:c) then 168 @ 0x1260 else 172 @ 0x12d3 0x13c9 167 if (r8d s< 2) then 20 @ 0x144e else 46 @ 0x13cf 0x1260 168 call(0x1050) 0x1265 169 rcx = [rsp + 0x18 {var_570_1}].q 0x126a 170 xmm2 = 0 0x126a 171 goto 174 @ 0x126d 0x12d3 172 xmm0 = _mm_sqrt_ss(xmm0.d) 0x12d7 173 goto 174 @ 0x126d 0x126d 174 [rcx + r13].d = xmm0.d 0x1273 175 [rcx + r13 - 8].d = ebx 0x1278 176 [rcx + r13 - 4].d = r12d 0x127d 177 eax = [rsp + 8 {var_580}].d 0x1281 178 r13 = r13 + 0xc 0x1285 179 ebp = ebp + 1 0x1288 180 r12d = r12d + 1 0x128f 181 if (eax s<= r12d) then 182 @ 0x1200 else 149 @ 0x1295 0x1200 182 rcx = sx.q(eax) 0x1203 183 r12d = [rsp + 0xc {var_57c_1}].d 0x1208 184 rdx = [rsp + 0x10 {var_578_1}].q 0x1208 185 goto 132 @ 0x120d int64_t _fini(): 0x1468 0 rsp = rsp - 8 0x146c 1 rsp = rsp + 8 0x1470 2 <return> jump(pop)
POJ_64
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) char* gets(char* buf): 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 - 0x80 0x115b 3 rdi = rbp - 0x70 {var_78} 0x115f 4 al = 0 0x1161 5 call(0x1040) 0x1166 6 al = [rbp - 0x70 {var_78}].b 0x1169 7 [rbp - 0x79 {var_81}].b = al 0x116c 8 rax = rbp - 0x70 {var_78} 0x1170 9 rax = rax + 1 {var_77} 0x1174 10 [rbp - 0x78 {var_80}].q = rax {var_77} 0x1174 11 goto 12 @ 0x1178 0x1178 12 rax = [rbp - 0x78 {var_80}].q 0x117c 13 eax = sx.d([rax].b) 0x1182 14 if (eax == 0) then 15 @ 0x11b3 else 25 @ 0x1188 0x11b3 15 rax = [rbp - 0x78 {var_80}].q 0x11b7 16 eax = sx.d([rax - 1].b) 0x11bb 17 ecx = sx.d([rbp - 0x79 {var_81}].b) 0x11bf 18 eax = eax + ecx 0x11c1 19 cl = al 0x11c3 20 rax = [rbp - 0x78 {var_80}].q 0x11c7 21 [rax - 1].b = cl 0x11ca 22 rax = rbp - 0x70 {var_78} 0x11ce 23 [rbp - 0x78 {var_80_1}].q = rax {var_78} 0x11ce 24 goto 37 @ 0x11d2 0x1188 25 rax = [rbp - 0x78 {var_80}].q 0x118c 26 eax = sx.d([rax - 1].b) 0x1190 27 rcx = [rbp - 0x78 {var_80}].q 0x1194 28 ecx = sx.d([rcx].b) 0x1197 29 eax = eax + ecx 0x1199 30 cl = al 0x119b 31 rax = [rbp - 0x78 {var_80}].q 0x119f 32 [rax - 1].b = cl 0x11a2 33 rax = [rbp - 0x78 {var_80}].q 0x11a6 34 rax = rax + 1 0x11aa 35 [rbp - 0x78 {var_80}].q = rax 0x11ae 36 goto 12 @ 0x1178 0x11d2 37 rax = [rbp - 0x78 {var_80_1}].q 0x11d6 38 eax = sx.d([rax].b) 0x11dc 39 if (eax == 0) then 40 @ 0x1208 else 43 @ 0x11e2 0x1208 40 rsp = rsp + 0x80 0x120f 41 rbp = pop 0x1210 42 <return> jump(pop) 0x11e2 43 rax = [rbp - 0x78 {var_80_1}].q 0x11e6 44 esi = sx.d([rax].b) 0x11e9 45 rdi = 0x2004 {"%c"} 0x11f0 46 al = 0 0x11f2 47 call(0x1030) 0x11f7 48 rax = [rbp - 0x78 {var_80_1}].q 0x11fb 49 rax = rax + 1 0x11ff 50 [rbp - 0x78 {var_80_1}].q = rax 0x1203 51 goto 37 @ 0x11d2 int64_t _fini(): 0x1218 0 rsp = rsp - 8 0x121c 1 rsp = rsp + 8 0x1220 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 qsort(void* b, uint64_t n, uint64_t s, __compar_fn_t cmp): 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 = 0x1170 {"UAWAVAUATSH5 "} 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 compare(int32_t* arg1, int32_t* arg2): 0x1160 0 eax = [rsi].d 0x1162 1 eax = eax - [rdi].d 0x1164 2 <return> jump(pop) 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 - 0xc3518 0x1181 7 [rsp + 0xc {var_c353c}].d = 1 0x1189 8 r12 = 0x2004 {"%d"} 0x1190 9 r14 = rsp + 0x61a90 {var_61ab8} 0x1198 10 r13 = 0x1160 {"+f."} 0x119f 11 goto 12 @ 0x11d3 0x11d3 12 rdi = r12 0x11d6 13 rsi = rsp + 0xc {var_c353c} 0x11db 14 eax = 0 0x11dd 15 call(0x1040) 0x11e2 16 esi = [rsp + 0xc {var_c353c}].d 0x11e6 17 temp0.d = esi 0x11e6 18 cond:0 = temp0.d s<= 0 0x11e8 19 if (temp0.d == 0) then 20 @ 0x1310 else 29 @ 0x11ee 0x1310 20 eax = 0 0x1312 21 rsp = rsp + 0xc3518 0x1319 22 rbx = pop 0x131a 23 r12 = pop 0x131c 24 r13 = pop 0x131e 25 r14 = pop 0x1320 26 r15 = pop 0x1322 27 rbp = pop 0x1323 28 <return> jump(pop) 0x11ee 29 if (cond:0) then 30 @ 0x124f else 44 @ 0x11f0 0x124f 30 r15d = 0 0x1252 31 edx = 4 0x1257 32 rdi = r14 {var_61ab8} 0x125a 33 rcx = r13 0x125d 34 eax = 0 0x125f 35 call(0x1050) 0x1264 36 esi = [rsp + 0xc {var_c353c}].d 0x1268 37 edx = 4 0x126d 38 rdi = rsp + 0x10 {var_c3538} 0x1272 39 rcx = r13 0x1275 40 eax = 0 0x1277 41 call(0x1050) 0x127c 42 eax = [rsp + 0xc {var_c353c}].d 0x1282 43 if (eax s<= 0) then 47 @ 0x11b3 else 52 @ 0x1288 0x11f0 44 r15 = r14 {var_61ab8} 0x11f3 45 ebp = 0 0x11ff 46 goto 59 @ 0x1200 0x11b3 47 esi = r15d * 0xc8 0x11ba 48 rdi = 0x2007 {"%d\n"} 0x11c1 49 eax = 0 0x11c3 50 call(0x1030) 0x11cd 51 if ([rsp + 0xc {var_c353c}].d == 0) then 20 @ 0x1310 else 12 @ 0x11d3 0x1288 52 eax = eax - 1 0x128b 53 r8d = 0 0x128e 54 r15d = 0 0x1291 55 edx = eax 0x1293 56 esi = 0 0x1295 57 edi = 0 0x1297 58 goto 67 @ 0x12b2 0x1200 59 rdi = r12 0x1203 60 rsi = r15 0x1206 61 eax = 0 0x1208 62 call(0x1040) 0x120d 63 rbp = rbp + 1 0x1211 64 rsi = sx.q([rsp + 0xc {var_c353c}].d) 0x1216 65 r15 = r15 + 4 0x121d 66 if (rbp s< rsi) then 59 @ 0x1200 else 73 @ 0x1221 0x12b2 67 rbp = sx.q(edx) 0x12b5 68 ebx = [rsp + (rbp << 2) + 0x61a90].d 0x12bc 69 rbp = sx.q(eax) 0x12bf 70 temp1.d = [rsp + (rbp << 2) + 0x10].d 0x12bf 71 cond:1 = ebx s> temp1.d 0x12c3 72 if (ebx s>= temp1.d) then 74 @ 0x12e0 else 75 @ 0x12c5 0x1221 73 if (esi s<= 0) then 30 @ 0x124f else 77 @ 0x1223 0x12e0 74 if (cond:1) then 80 @ 0x12a0 else 84 @ 0x12e2 0x12c5 75 r8d = r8d + 1 0x12c5 76 goto 90 @ 0x12c9 0x1223 77 rbp = rsp + 0x10 {var_c3538} 0x1228 78 ebx = 0 0x122a 79 goto 93 @ 0x1230 0x12a0 80 r15d = r15d + 1 0x12a4 81 edx = edx - 1 0x12a7 82 eax = eax - 1 0x12ac 83 if (edi s> edx) then 101 @ 0x11b0 else 67 @ 0x12b2 0x12e2 84 rcx = sx.q(edi) 0x12e5 85 rbp = sx.q(esi) 0x12e8 86 ebp = [rsp + (rbp << 2) + 0x10].d 0x12ec 87 temp2.d = [rsp + (rcx << 2) + 0x61a90].d 0x12ec 88 cond:2 = temp2.d s< ebp 0x12f3 89 if (temp2.d s<= ebp) then 103 @ 0x1308 else 104 @ 0x12f5 0x12c9 90 edx = edx - 1 0x12cc 91 esi = esi + 1 0x12d1 92 if (edi s<= edx) then 67 @ 0x12b2 else 108 @ 0x12d3 0x1230 93 rdi = r12 0x1233 94 rsi = rbp 0x1236 95 eax = 0 0x1238 96 call(0x1040) 0x123d 97 rbx = rbx + 1 0x1241 98 rsi = sx.q([rsp + 0xc {var_c353c}].d) 0x1246 99 rbp = rbp + 4 0x124d 100 if (rbx s< rsi) then 93 @ 0x1230 else 30 @ 0x124f 0x11b0 101 r15d = r15d - r8d 0x11b0 102 goto 47 @ 0x11b3 0x1308 103 if (cond:2) then 75 @ 0x12c5 else 109 @ 0x130c 0x12f5 104 r15d = r15d + 1 0x12f9 105 edi = edi + 1 0x12fc 106 esi = esi + 1 0x1301 107 if (edi s<= edx) then 67 @ 0x12b2 else 110 @ 0x1303 0x12d3 108 goto 101 @ 0x11b0 0x130c 109 if (ebx s< ebp) then 75 @ 0x12c5 else 111 @ 0x130e 0x1303 110 goto 101 @ 0x11b0 0x130e 111 goto 90 @ 0x12c9 int64_t _fini(): 0x1328 0 rsp = rsp - 8 0x132c 1 rsp = rsp + 8 0x1330 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 {"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 - 0x40 0x1168 3 [rbp - 4 {var_c}].d = 0 0x116f 4 rdi = 0x2008 {"%d"} 0x1176 5 rsi = rbp - 0x14 {var_1c} 0x117a 6 al = 0 0x117c 7 call(0x1040) 0x1181 8 [rbp - 8 {var_10}].d = 0 0x1181 9 goto 10 @ 0x1188 0x1188 10 eax = [rbp - 8 {var_10}].d 0x118e 11 if (eax s>= [rbp - 0x14 {var_1c}].d) then 12 @ 0x11ee else 15 @ 0x1194 0x11ee 12 [rbp - 8 {var_10_1}].d = 0 0x11f5 13 [rbp - 0xc {var_14}].d = 0 0x11f5 14 goto 36 @ 0x11fc 0x1194 15 rax = sx.q([rbp - 8 {var_10}].d) 0x1198 16 rsi = 0x4050 {""} 0x119f 17 rax = rax * 0xc 0x11a3 18 rsi = rsi + rax 0x11a6 19 rax = sx.q([rbp - 8 {var_10}].d) 0x11aa 20 rdx = 0x4050 {""} 0x11b1 21 rax = rax * 0xc 0x11b5 22 rdx = rdx + rax 0x11b8 23 rdx = rdx + 4 0x11bc 24 rax = sx.q([rbp - 8 {var_10}].d) 0x11c0 25 rcx = 0x4050 {""} 0x11c7 26 rax = rax * 0xc 0x11cb 27 rcx = rcx + rax 0x11ce 28 rcx = rcx + 8 0x11d2 29 rdi = 0x2004 {"%d%d%d"} 0x11d9 30 al = 0 0x11db 31 call(0x1040) 0x11e0 32 eax = [rbp - 8 {var_10}].d 0x11e3 33 eax = eax + 1 0x11e6 34 [rbp - 8 {var_10}].d = eax 0x11e9 35 goto 10 @ 0x1188 0x11fc 36 eax = [rbp - 0xc {var_14}].d 0x1202 37 if (eax s>= [rbp - 0x14 {var_1c}].d) then 38 @ 0x13d8 else 40 @ 0x1208 0x13d8 38 [rbp - 0x18 {var_20}].d = 0 0x13d8 39 goto 44 @ 0x13df 0x1208 40 eax = [rbp - 0xc {var_14}].d 0x120b 41 eax = eax + 1 0x120e 42 [rbp - 0x10 {var_18_1}].d = eax 0x120e 43 goto 66 @ 0x1211 0x13df 44 eax = [rbp - 0x18 {var_20}].d 0x13e2 45 [rbp - 0x24 {var_2c_1}].d = eax 0x13e5 46 eax = [rbp - 0x14 {var_1c}].d 0x13e8 47 ecx = [rbp - 0x14 {var_1c}].d 0x13eb 48 ecx = ecx - 1 0x13ee 49 eax = eax * ecx 0x13f1 50 ecx = 2 0x13f6 51 temp2.d:temp3.d = sx.q(eax) 0x13f6 52 edx = temp2.d 0x13f6 53 eax = temp3.d 0x13f7 54 temp4.d = edx 0x13f7 55 temp5.d = eax 0x13f7 56 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x13f7 57 temp6.d = edx 0x13f7 58 temp7.d = eax 0x13f7 59 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x13f7 60 eax = temp0.d 0x13f7 61 edx = temp1.d 0x13f9 62 ecx = eax 0x13fb 63 eax = [rbp - 0x24 {var_2c_1}].d 0x13fe 64 ecx = ecx - 1 0x1403 65 if (eax s>= ecx) then 68 @ 0x151e else 70 @ 0x1409 0x1211 66 eax = [rbp - 0x10 {var_18_1}].d 0x1217 67 if (eax s>= [rbp - 0x14 {var_1c}].d) then 72 @ 0x13c5 else 73 @ 0x121d 0x151e 68 [rbp - 8 {var_10_3}].d = 0 0x151e 69 goto 171 @ 0x1525 0x1409 70 [rbp - 8 {var_10_2}].d = 0 0x1409 71 goto 192 @ 0x1410 0x13c5 72 goto 213 @ 0x13ca 0x121d 73 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1221 74 rax = 0x4050 {""} 0x1228 75 rcx = rcx * 0xc 0x122c 76 rax = rax + rcx 0x122f 77 xmm1.q = float.d([rax].d) 0x1233 78 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1237 79 rax = 0x4050 {""} 0x123e 80 rcx = rcx * 0xc 0x1242 81 rax = rax + rcx 0x1245 82 xmm0.q = float.d([rax].d) 0x1249 83 xmm1.q = xmm1.q f- xmm0.q 0x124d 84 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1251 85 rax = 0x4050 {""} 0x1258 86 rcx = rcx * 0xc 0x125c 87 rax = rax + rcx 0x125f 88 xmm2.q = float.d([rax].d) 0x1263 89 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1267 90 rax = 0x4050 {""} 0x126e 91 rcx = rcx * 0xc 0x1272 92 rax = rax + rcx 0x1275 93 xmm0.q = float.d([rax].d) 0x1279 94 xmm2.q = xmm2.q f- xmm0.q 0x127d 95 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1281 96 rax = 0x4050 {""} 0x1288 97 rcx = rcx * 0xc 0x128c 98 rax = rax + rcx 0x128f 99 xmm0.q = float.d([rax + 4].d) 0x1294 100 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1298 101 rax = 0x4050 {""} 0x129f 102 rcx = rcx * 0xc 0x12a3 103 rax = rax + rcx 0x12a6 104 xmm3.q = float.d([rax + 4].d) 0x12ab 105 xmm0.q = xmm0.q f- xmm3.q 0x12af 106 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x12b3 107 rax = 0x4050 {""} 0x12ba 108 rcx = rcx * 0xc 0x12be 109 rax = rax + rcx 0x12c1 110 xmm3.q = float.d([rax + 4].d) 0x12c6 111 rcx = sx.q([rbp - 0xc {var_14}].d) 0x12ca 112 rax = 0x4050 {""} 0x12d1 113 rcx = rcx * 0xc 0x12d5 114 rax = rax + rcx 0x12d8 115 xmm4.q = float.d([rax + 4].d) 0x12dd 116 xmm3.q = xmm3.q f- xmm4.q 0x12e1 117 xmm0.q = xmm0.q f* xmm3.q 0x12e5 118 xmm1.q = xmm1.q f* xmm2.q 0x12e9 119 xmm1.q = xmm1.q f+ xmm0.q 0x12ed 120 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x12f1 121 rax = 0x4050 {""} 0x12f8 122 rcx = rcx * 0xc 0x12fc 123 rax = rax + rcx 0x12ff 124 xmm0.q = float.d([rax + 8].d) 0x1304 125 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1308 126 rax = 0x4050 {""} 0x130f 127 rcx = rcx * 0xc 0x1313 128 rax = rax + rcx 0x1316 129 xmm2.q = float.d([rax + 8].d) 0x131b 130 xmm0.q = xmm0.q f- xmm2.q 0x131f 131 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1323 132 rax = 0x4050 {""} 0x132a 133 rcx = rcx * 0xc 0x132e 134 rax = rax + rcx 0x1331 135 xmm2.q = float.d([rax + 8].d) 0x1336 136 rcx = sx.q([rbp - 0xc {var_14}].d) 0x133a 137 rax = 0x4050 {""} 0x1341 138 rcx = rcx * 0xc 0x1345 139 rax = rax + rcx 0x1348 140 xmm3.q = float.d([rax + 8].d) 0x134d 141 xmm2.q = xmm2.q f- xmm3.q 0x1351 142 xmm0.q = xmm0.q f* xmm2.q 0x1355 143 xmm0.q = xmm0.q f+ xmm1.q 0x1359 144 [rbp - 0x20 {var_28_1}].q = xmm0.q 0x135e 145 xmm0 = zx.o([rbp - 0x20 {var_28_1}].q) 0x1363 146 call(0x1050) 0x1368 147 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x136c 148 rax = 0x40d0 {""} 0x1373 149 rcx = rcx << 4 0x1377 150 rax = rax + rcx 0x137a 151 [rax].q = xmm0.q 0x137e 152 ecx = [rbp - 0xc {var_14}].d 0x1381 153 rdx = sx.q([rbp - 8 {var_10_1}].d) 0x1385 154 rax = 0x40d0 {""} 0x138c 155 rdx = rdx << 4 0x1390 156 rax = rax + rdx 0x1393 157 [rax + 8].d = ecx 0x1396 158 ecx = [rbp - 0x10 {var_18_1}].d 0x1399 159 rdx = sx.q([rbp - 8 {var_10_1}].d) 0x139d 160 rax = 0x40d0 {""} 0x13a4 161 rdx = rdx << 4 0x13a8 162 rax = rax + rdx 0x13ab 163 [rax + 0xc].d = ecx 0x13ae 164 eax = [rbp - 8 {var_10_1}].d 0x13b1 165 eax = eax + 1 0x13b4 166 [rbp - 8 {var_10_1}].d = eax 0x13b7 167 eax = [rbp - 0x10 {var_18_1}].d 0x13ba 168 eax = eax + 1 0x13bd 169 [rbp - 0x10 {var_18_1}].d = eax 0x13c0 170 goto 66 @ 0x1211 0x1525 171 eax = [rbp - 8 {var_10_3}].d 0x1528 172 [rbp - 0x2c {var_34_1}].d = eax 0x152b 173 eax = [rbp - 0x14 {var_1c}].d 0x152e 174 ecx = [rbp - 0x14 {var_1c}].d 0x1531 175 ecx = ecx - 1 0x1534 176 eax = eax * ecx 0x1537 177 ecx = 2 0x153c 178 temp8.d:temp9.d = sx.q(eax) 0x153c 179 edx = temp8.d 0x153c 180 eax = temp9.d 0x153d 181 temp10.d = edx 0x153d 182 temp11.d = eax 0x153d 183 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x153d 184 temp12.d = edx 0x153d 185 temp13.d = eax 0x153d 186 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x153d 187 eax = temp0.d 0x153d 188 edx = temp1.d 0x153f 189 ecx = eax 0x1541 190 eax = [rbp - 0x2c {var_34_1}].d 0x1546 191 if (eax s>= ecx) then 217 @ 0x166b else 221 @ 0x154c 0x1410 192 eax = [rbp - 8 {var_10_2}].d 0x1413 193 [rbp - 0x28 {var_30_1}].d = eax 0x1416 194 eax = [rbp - 0x14 {var_1c}].d 0x1419 195 ecx = [rbp - 0x14 {var_1c}].d 0x141c 196 ecx = ecx - 1 0x141f 197 eax = eax * ecx 0x1422 198 ecx = 2 0x1427 199 temp14.d:temp15.d = sx.q(eax) 0x1427 200 edx = temp14.d 0x1427 201 eax = temp15.d 0x1428 202 temp16.d = edx 0x1428 203 temp17.d = eax 0x1428 204 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x1428 205 temp18.d = edx 0x1428 206 temp19.d = eax 0x1428 207 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x1428 208 eax = temp0.d 0x1428 209 edx = temp1.d 0x142a 210 ecx = eax 0x142c 211 eax = [rbp - 0x28 {var_30_1}].d 0x1431 212 if (eax s>= ecx) then 288 @ 0x150b else 289 @ 0x1437 0x13ca 213 eax = [rbp - 0xc {var_14}].d 0x13cd 214 eax = eax + 1 0x13d0 215 [rbp - 0xc {var_14}].d = eax 0x13d3 216 goto 36 @ 0x11fc 0x166b 217 eax = [rbp - 4 {var_c}].d 0x166e 218 rsp = rsp + 0x40 0x1672 219 rbp = pop 0x1673 220 <return> jump(pop) 0x154c 221 rcx = sx.q([rbp - 8 {var_10_3}].d) 0x1550 222 rax = 0x40d0 {""} 0x1557 223 rcx = rcx << 4 0x155b 224 rax = rax + rcx 0x155e 225 rcx = sx.q([rax + 8].d) 0x1562 226 rax = 0x4050 {""} 0x1569 227 rcx = rcx * 0xc 0x156d 228 rax = rax + rcx 0x1570 229 esi = [rax].d 0x1572 230 rcx = sx.q([rbp - 8 {var_10_3}].d) 0x1576 231 rax = 0x40d0 {""} 0x157d 232 rcx = rcx << 4 0x1581 233 rax = rax + rcx 0x1584 234 rcx = sx.q([rax + 8].d) 0x1588 235 rax = 0x4050 {""} 0x158f 236 rcx = rcx * 0xc 0x1593 237 rax = rax + rcx 0x1596 238 edx = [rax + 4].d 0x1599 239 rcx = sx.q([rbp - 8 {var_10_3}].d) 0x159d 240 rax = 0x40d0 {""} 0x15a4 241 rcx = rcx << 4 0x15a8 242 rax = rax + rcx 0x15ab 243 rcx = sx.q([rax + 8].d) 0x15af 244 rax = 0x4050 {""} 0x15b6 245 rcx = rcx * 0xc 0x15ba 246 rax = rax + rcx 0x15bd 247 ecx = [rax + 8].d 0x15c0 248 rdi = sx.q([rbp - 8 {var_10_3}].d) 0x15c4 249 rax = 0x40d0 {""} 0x15cb 250 rdi = rdi << 4 0x15cf 251 rax = rax + rdi 0x15d2 252 rdi = sx.q([rax + 0xc].d) 0x15d6 253 rax = 0x4050 {""} 0x15dd 254 rdi = rdi * 0xc 0x15e1 255 rax = rax + rdi 0x15e4 256 r8d = [rax].d 0x15e7 257 rdi = sx.q([rbp - 8 {var_10_3}].d) 0x15eb 258 rax = 0x40d0 {""} 0x15f2 259 rdi = rdi << 4 0x15f6 260 rax = rax + rdi 0x15f9 261 rdi = sx.q([rax + 0xc].d) 0x15fd 262 rax = 0x4050 {""} 0x1604 263 rdi = rdi * 0xc 0x1608 264 rax = rax + rdi 0x160b 265 r9d = [rax + 4].d 0x160f 266 rdi = sx.q([rbp - 8 {var_10_3}].d) 0x1613 267 rax = 0x40d0 {""} 0x161a 268 rdi = rdi << 4 0x161e 269 rax = rax + rdi 0x1621 270 rdi = sx.q([rax + 0xc].d) 0x1625 271 rax = 0x4050 {""} 0x162c 272 rdi = rdi * 0xc 0x1630 273 rax = rax + rdi 0x1633 274 eax = [rax + 8].d 0x1636 275 r10 = sx.q([rbp - 8 {var_10_3}].d) 0x163a 276 rdi = 0x40d0 {""} 0x1641 277 r10 = r10 << 4 0x1645 278 rdi = rdi + r10 0x1648 279 xmm0 = zx.o([rdi].q) 0x164c 280 rdi = 0x200b {"(%d,%d,%d)-(%d,%d,%d)=%.2f\n"} 0x1653 281 [rsp {var_48_1}].d = eax 0x1656 282 al = 1 0x1658 283 call(0x1030) 0x165d 284 eax = [rbp - 8 {var_10_3}].d 0x1660 285 eax = eax + 1 0x1663 286 [rbp - 8 {var_10_3}].d = eax 0x1666 287 goto 171 @ 0x1525 0x150b 288 goto 307 @ 0x1510 0x1437 289 eax = [rbp - 8 {var_10_2}].d 0x143a 290 eax = eax + 1 0x143d 291 rcx = sx.q(eax) 0x1440 292 rax = 0x40d0 {""} 0x1447 293 rcx = rcx << 4 0x144b 294 rax = rax + rcx 0x144e 295 xmm0 = zx.o([rax].q) 0x1452 296 rcx = sx.q([rbp - 8 {var_10_2}].d) 0x1456 297 rax = 0x40d0 {""} 0x145d 298 rcx = rcx << 4 0x1461 299 rax = rax + rcx 0x1464 300 flag:p = is_unordered.q(xmm0.q, fconvert.t([rax].q)) 0x1464 301 flag:c = xmm0.q f< fconvert.t([rax].q) | is_unordered.q(xmm0.q, fconvert.t([rax].q)) 0x1464 302 flag:z = xmm0.q f== fconvert.t([rax].q) | is_unordered.q(xmm0.q, fconvert.t([rax].q)) 0x1464 303 flag:s = 0 0x1464 304 flag:o = 0 0x1464 305 flag:a = 0 0x1468 306 if (flag:z || flag:c) then 311 @ 0x14f8 else 312 @ 0x146e 0x1510 307 eax = [rbp - 0x18 {var_20}].d 0x1513 308 eax = eax + 1 0x1516 309 [rbp - 0x18 {var_20}].d = eax 0x1519 310 goto 44 @ 0x13df 0x14f8 311 goto 345 @ 0x14fd 0x146e 312 rcx = sx.q([rbp - 8 {var_10_2}].d) 0x1472 313 rax = 0x40d0 {""} 0x1479 314 rcx = rcx << 4 0x147d 315 rax = rax + rcx 0x1480 316 rcx = [rax].q 0x1483 317 [0x4490].q = rcx 0x148a 318 rax = [rax + 8].q 0x148e 319 [0x4498].q = rax 0x1495 320 rcx = sx.q([rbp - 8 {var_10_2}].d) 0x1499 321 rax = 0x40d0 {""} 0x14a0 322 rcx = rcx << 4 0x14a4 323 rax = rax + rcx 0x14a7 324 ecx = [rbp - 8 {var_10_2}].d 0x14aa 325 ecx = ecx + 1 0x14ad 326 rdx = sx.q(ecx) 0x14b0 327 rcx = 0x40d0 {""} 0x14b7 328 rdx = rdx << 4 0x14bb 329 rcx = rcx + rdx 0x14be 330 rdx = [rcx].q 0x14c1 331 [rax].q = rdx 0x14c4 332 rcx = [rcx + 8].q 0x14c8 333 [rax + 8].q = rcx 0x14cc 334 eax = [rbp - 8 {var_10_2}].d 0x14cf 335 eax = eax + 1 0x14d2 336 rcx = sx.q(eax) 0x14d5 337 rax = 0x40d0 {""} 0x14dc 338 rcx = rcx << 4 0x14e0 339 rax = rax + rcx 0x14e3 340 rcx = [0x4490].q 0x14ea 341 [rax].q = rcx 0x14ed 342 rcx = [0x4498].q 0x14f4 343 [rax + 8].q = rcx 0x14f4 344 goto 311 @ 0x14f8 0x14fd 345 eax = [rbp - 8 {var_10_2}].d 0x1500 346 eax = eax + 1 0x1503 347 [rbp - 8 {var_10_2}].d = eax 0x1506 348 goto 192 @ 0x1410 int64_t _fini(): 0x1678 0 rsp = rsp - 8 0x167c 1 rsp = rsp + 8 0x1680 2 <return> jump(pop)
POJ_64
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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 = 0x2048 {"%d%d%d"} 0x115b 2 rsi = rsp + 0x14 {var_4} 0x1160 3 rdx = rsp + 0x10 {var_8} 0x1165 4 rcx = rsp + 0xc {var_c} 0x116a 5 eax = 0 0x116c 6 call(0x1040) 0x1171 7 ecx = [rsp + 0x14 {var_4}].d 0x1175 8 eax = (rcx - 1).d 0x1178 9 rax = sx.q(eax) 0x117a 10 rax = rax * 0x51eb851f 0x1181 11 rdx = rax 0x1184 12 rdx = rdx u>> 0x3f 0x1188 13 rax = rax s>> 0x27 0x118c 14 eax = eax + edx 0x118e 15 edx = eax * 0x61 0x1191 16 edx = edx + ecx 0x1193 17 edx = edx - 1 0x1196 18 eax = eax * 0x190 0x119c 19 eax = neg.d(eax) 0x119e 20 esi = (rcx + rax).d 0x11a1 21 esi = esi - 1 0x11a4 22 eax = sx.d(si) 0x11a7 23 edi = eax * 0x147b 0x11ad 24 eax = edi 0x11af 25 eax = eax u>> 0x1f 0x11b2 26 edi = edi s>> 0x13 0x11b5 27 edi = edi + eax 0x11b7 28 eax = (rdi << 3).d 0x11be 29 eax = (rax + (rax << 1)).d 0x11c1 30 eax = sx.d(ax) 0x11c2 31 eax = eax + edx 0x11c4 32 edx = edi * 0x64 0x11c7 33 esi = esi - edx 0x11c9 34 edx = esi 0x11cb 35 dl = dl s>> 7 0x11ce 36 dl = dl u>> 6 0x11d1 37 dl = dl + sil 0x11d4 38 dl = dl s>> 2 0x11d7 39 r8d = sx.d(dl) 0x11db 40 esi = ecx * -0x3d70a3d7 0x11e1 41 esi = esi + 0x51eb850 0x11e7 42 edi = esi 0x11e9 43 edi = ror.d(edi, 4) 0x11f2 44 if (edi u< 0xa3d70b) then 45 @ 0x1210 else 47 @ 0x11f4 0x1210 45 ecx = 0x1d {""} 0x1210 46 goto 54 @ 0x1215 0x11f4 47 esi = ror.d(esi, 2) 0x11fd 48 dl = esi u>= 0x28f5c29 0x1203 49 cl = (cl & 3) == 0 0x1206 50 cl = cl & dl 0x1208 51 ecx = zx.d(cl) 0x120b 52 ecx = ecx | 0x1c 0x120e 53 goto 54 @ 0x1215 0x1215 54 eax = eax + r8d 0x1218 55 edx = [rsp + 0x10 {var_8}].d 0x121c 56 edx = edx - 2 0x1222 57 if (edx u> 0xa) then 58 @ 0x1254 else 71 @ 0x1224 0x1254 58 eax = eax + [rsp + 0xc {var_c}].d 0x1258 59 rcx = sx.q(eax) 0x125b 60 rax = rcx * -0x6db6db6d 0x1262 61 rax = rax u>> 0x20 0x1266 62 eax = eax + ecx 0x1268 63 edx = eax 0x126a 64 edx = edx u>> 0x1f 0x126d 65 eax = eax s>> 2 0x1270 66 eax = eax + edx 0x1272 67 edx = (rax << 3).d 0x1279 68 eax = eax - edx 0x127b 69 eax = eax + ecx 0x1280 70 if (eax u> 5) then 75 @ 0x129e else 80 @ 0x1282 0x1224 71 rsi = 0x2004 {"MKHEB?<9630"} 0x122b 72 rdx = sx.q([rsi + (rdx << 2)].d) 0x122f 73 rdx = rdx + rsi 0x1232 74 jump(rdx => 88 @ 0x1234, 90 @ 0x1237, 92 @ 0x123a, 94 @ 0x123d, 96 @ 0x1240, 98 @ 0x1243, 100 @ 0x1246, 102 @ 0x1249, 104 @ 0x124c, 106 @ 0x124f, 108 @ 0x1251) 0x129e 75 rdi = 0x206d {"Sat."} 0x12a5 76 eax = 0 0x12a7 77 call(0x1030) 0x12ac 78 rsp = rsp + 0x18 0x12b0 79 <return> jump(pop) 0x1282 80 rax = sx.q(eax) 0x1284 81 rcx = 0x2030 {""} 0x128b 82 rdi = sx.q([rcx + (rax << 2)].d) 0x128f 83 rdi = rdi + rcx 0x1292 84 eax = 0 0x1294 85 call(0x1030) 0x1299 86 rsp = rsp + 0x18 0x129d 87 <return> jump(pop) 0x1234 88 eax = eax + 0x1e 0x1234 89 goto 90 @ 0x1237 0x1237 90 eax = eax + 0x1f 0x1237 91 goto 92 @ 0x123a 0x123a 92 eax = eax + 0x1e 0x123a 93 goto 94 @ 0x123d 0x123d 94 eax = eax + 0x1f 0x123d 95 goto 96 @ 0x1240 0x1240 96 eax = eax + 0x1f 0x1240 97 goto 98 @ 0x1243 0x1243 98 eax = eax + 0x1e 0x1243 99 goto 100 @ 0x1246 0x1246 100 eax = eax + 0x1f 0x1246 101 goto 102 @ 0x1249 0x1249 102 eax = eax + 0x1e 0x1249 103 goto 104 @ 0x124c 0x124c 104 eax = eax + 0x1f 0x124c 105 goto 106 @ 0x124f 0x124f 106 eax = eax + ecx 0x124f 107 goto 108 @ 0x1251 0x1251 108 eax = eax + 0x1f 0x1251 109 goto 58 @ 0x1254 int64_t _fini(): 0x12b8 0 rsp = rsp - 8 0x12bc 1 rsp = rsp + 8 0x12c0 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 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 - 0x48 0x115e 7 xmm0 = [0x2030].o 0x1165 8 [rsp + 0x30 {var_48}].o = xmm0 0x116a 9 xmm0 = [0x2020].o 0x1171 10 [rsp + 0x20 {var_58}].o = xmm0 0x1176 11 xmm0 = [0x2010].o 0x117e 12 [rsp + 0x10 {var_68}].o = xmm0 0x1184 13 rdi = 0x2044 {"%d"} 0x118b 14 rsi = rsp + 0xc {var_6c} 0x1190 15 eax = 0 0x1192 16 call(0x1030) 0x119c 17 if ([rsp + 0xc {var_6c}].d s<= 0) then 18 @ 0x1531 else 27 @ 0x11a2 0x1531 18 eax = 0 0x1533 19 rsp = rsp + 0x48 0x1537 20 rbx = pop 0x1538 21 r12 = pop 0x153a 22 r13 = pop 0x153c 23 r14 = pop 0x153e 24 r15 = pop 0x1540 25 rbp = pop 0x1541 26 <return> jump(pop) 0x11a2 27 rbp = rsp + 4 {var_74} 0x11a7 28 r12 = 0x2040 {"%d%d%d"} 0x11ae 29 r14 = rsp {var_78} 0x11b1 30 r15 = 0x204a {"YES"} 0x11b8 31 r13d = 0 0x11bb 32 goto 33 @ 0x11f1 0x11f1 33 rdi = r12 0x11f4 34 rsi = r14 {var_78} 0x11f7 35 rdx = rbp {var_74} 0x11fa 36 rcx = rsp + 8 {var_70} 0x11ff 37 eax = 0 0x1201 38 call(0x1030) 0x1206 39 ecx = [rsp {var_78}].d 0x1209 40 eax = [rsp + 4 {var_74}].d 0x1210 41 dl = (cl & 3) == 0 0x1213 42 ecx = ecx * -0x3d70a3d7 0x1219 43 ecx = ecx + 0x51eb850 0x121f 44 esi = ecx 0x1221 45 esi = ror.d(esi, 2) 0x122a 46 bl = esi u>= 0x28f5c29 0x122d 47 bl = bl & dl 0x122f 48 ecx = ror.d(ecx, 4) 0x1232 49 flag:c = ecx u< 0xa3d70b 0x1238 50 cl = flag:c 0x123b 51 cl = cl | bl 0x123d 52 ecx = zx.d(cl) 0x1240 53 ecx = ecx | 0x1c 0x1243 54 [rsp + 0x14 {var_68[1]}].d = ecx 0x1247 55 ecx = [rsp + 8 {var_70}].d 0x124b 56 cond:0 = eax s>= ecx 0x124d 57 if (eax s<= ecx) then 58 @ 0x12b0 else 60 @ 0x124f 0x12b0 58 rdi = r15 0x12b3 59 if (cond:0) then 63 @ 0x11dd else 66 @ 0x12b9 0x124f 60 eax = eax - 1 0x1252 61 edx = (rcx - 1).d 0x1257 62 if (ecx s> eax) then 69 else 71 @ 0x125a 0x11dd 63 call(0x1040) 0x11e2 64 r13d = r13d + 1 0x11eb 65 if (r13d s>= [rsp + 0xc {var_6c}].d) then 18 @ 0x1531 else 33 @ 0x11f1 0x12b9 66 ecx = ecx - 1 0x12bc 67 edx = (rax - 1).d 0x12c1 68 if (eax s> ecx) then 76 else 78 @ 0x12c4 0x1257 69 eax = ecx 0x1257 70 goto 71 @ 0x125a 0x125a 71 rdx = sx.q(edx) 0x125d 72 esi = eax 0x125f 73 esi = esi - ecx 0x1261 74 edi = 0 0x1266 75 if (esi u< 7) then 83 @ 0x1410 else 86 @ 0x126c 0x12c1 76 ecx = eax 0x12c1 77 goto 78 @ 0x12c4 0x12c4 78 rdx = sx.q(edx) 0x12c7 79 esi = ecx 0x12c9 80 esi = esi - eax 0x12cb 81 edi = 0 0x12d0 82 if (esi u< 7) then 97 @ 0x1520 else 100 @ 0x12d6 0x1410 83 edi = edi + [rsp + (rdx << 2) + 0x10].d 0x1414 84 rdx = rdx + 1 0x141a 85 if (eax != edx) then 83 @ 0x1410 else 111 @ 0x141c 0x126c 86 rsi = rsi + 1 0x1270 87 r8 = rsi 0x1273 88 rcx = 0x1fffffff8 {""} 0x127d 89 r8 = r8 & rcx 0x1280 90 rcx = r8 - 8 0x1284 91 rdi = rcx 0x1287 92 rdi = rdi u>> 3 0x128b 93 rdi = rdi + 1 0x128f 94 ebp = edi 0x1291 95 ebp = ebp & 3 0x1298 96 if (rcx u>= 0x18) then 112 @ 0x1317 else 120 @ 0x129a 0x1520 97 edi = edi + [rsp + (rdx << 2) + 0x10].d 0x1524 98 rdx = rdx + 1 0x152a 99 if (ecx != edx) then 97 @ 0x1520 else 124 @ 0x152c 0x12d6 100 rsi = rsi + 1 0x12da 101 r8 = rsi 0x12dd 102 rax = 0x1fffffff8 {""} 0x12e7 103 r8 = r8 & rax 0x12ea 104 rax = r8 - 8 0x12ee 105 rdi = rax 0x12f1 106 rdi = rdi u>> 3 0x12f5 107 rdi = rdi + 1 0x12f9 108 ebp = edi 0x12fb 109 ebp = ebp & 3 0x1302 110 if (rax u>= 0x18) then 125 @ 0x1421 else 133 @ 0x1308 0x141c 111 goto 137 @ 0x11c2 0x1317 112 rcx = 0x3ffffffffffffffc {""} 0x1321 113 rdi = rdi & rcx 0x1324 114 rcx = rsp + 0x80 {arg_8} 0x132c 115 rcx = rcx + (rdx << 2) 0x1330 116 xmm0 = 0 0x1334 117 ebx = 0 0x1336 118 xmm1 = 0 0x133a 119 goto 142 @ 0x1340 0x129a 120 xmm0 = 0 0x129e 121 ebx = 0 0x12a0 122 xmm1 = 0 0x12a4 123 goto 162 @ 0x139c 0x152c 124 goto 137 @ 0x11c2 0x1421 125 rax = 0x3ffffffffffffffc {""} 0x142b 126 rdi = rdi & rax 0x142e 127 rax = rsp + 0x80 {arg_8} 0x1436 128 rax = rax + (rdx << 2) 0x143a 129 xmm0 = 0 0x143e 130 ebx = 0 0x1440 131 xmm1 = 0 0x144e 132 goto 163 @ 0x1450 0x1308 133 xmm0 = 0 0x130c 134 ebx = 0 0x130e 135 xmm1 = 0 0x1312 136 goto 183 @ 0x14ac 0x11c2 137 eax = edi * -0x49249249 0x11c8 138 eax = eax + 0x12492492 0x11cd 139 cond:1 = eax u< 0x24924925 0x11d2 140 rdi = 0x2047 {"NO"} 0x11d9 141 if (cond:1) then 184 else 186 0x1340 142 xmm2 = [rcx + (rbx << 2) - 0x70].o 0x1346 143 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x134a 144 xmm0 = [rcx + (rbx << 2) - 0x60].o 0x1350 145 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1354 146 xmm1 = [rcx + (rbx << 2) - 0x50].o 0x135a 147 xmm3 = [rcx + (rbx << 2) - 0x40].o 0x1360 148 xmm4 = [rcx + (rbx << 2) - 0x30].o 0x1366 149 xmm4 = _mm_add_epi32(xmm4, xmm1) 0x136a 150 xmm4 = _mm_add_epi32(xmm4, xmm2) 0x136e 151 xmm2 = [rcx + (rbx << 2) - 0x20].o 0x1374 152 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x1378 153 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x137c 154 xmm0 = [rcx + (rbx << 2) - 0x10].o 0x1382 155 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1386 156 xmm1 = [rcx + (rbx << 2)].o 0x138b 157 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x138f 158 rbx = rbx + 0x20 0x1393 159 temp0.q = rdi 0x1393 160 rdi = rdi - 4 0x1397 161 if (temp0.q != 4) then 142 @ 0x1340 else 162 @ 0x139c 0x139c 162 if (rbp == 0) then 187 @ 0x13dc else 194 @ 0x139e 0x1450 163 xmm2 = [rax + (rbx << 2) - 0x70].o 0x1456 164 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x145a 165 xmm0 = [rax + (rbx << 2) - 0x60].o 0x1460 166 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1464 167 xmm1 = [rax + (rbx << 2) - 0x50].o 0x146a 168 xmm3 = [rax + (rbx << 2) - 0x40].o 0x1470 169 xmm4 = [rax + (rbx << 2) - 0x30].o 0x1476 170 xmm4 = _mm_add_epi32(xmm4, xmm1) 0x147a 171 xmm4 = _mm_add_epi32(xmm4, xmm2) 0x147e 172 xmm2 = [rax + (rbx << 2) - 0x20].o 0x1484 173 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x1488 174 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x148c 175 xmm0 = [rax + (rbx << 2) - 0x10].o 0x1492 176 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1496 177 xmm1 = [rax + (rbx << 2)].o 0x149b 178 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x149f 179 rbx = rbx + 0x20 0x14a3 180 temp1.q = rdi 0x14a3 181 rdi = rdi - 4 0x14a7 182 if (temp1.q != 4) then 163 @ 0x1450 else 183 @ 0x14ac 0x14ac 183 if (rbp == 0) then 201 @ 0x14ec else 208 @ 0x14ae 0x11d9 184 rdi = r15 0x11d9 185 goto 186 0x11d9 186 goto 63 @ 0x11dd 0x13dc 187 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x13e0 188 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x13e5 189 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x13e9 190 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x13ee 191 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x13f2 192 edi = xmm0.d 0x13f9 193 if (rsi == r8) then 215 @ 0x11bd else 217 @ 0x13ff 0x139e 194 rbx = rbx + rdx 0x13a1 195 rcx = rsp + 0x80 {arg_8} 0x13a9 196 rcx = rcx + (rbx << 2) 0x13ad 197 rcx = rcx - 0x60 0x13b1 198 rbp = rbp << 5 0x13b5 199 edi = 0 0x13b7 200 goto 220 @ 0x13c0 0x14ec 201 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x14f0 202 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x14f5 203 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x14f9 204 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x14fe 205 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1502 206 edi = xmm0.d 0x1509 207 if (rsi == r8) then 215 @ 0x11bd else 226 @ 0x150f 0x14ae 208 rbx = rbx + rdx 0x14b1 209 rax = rsp + 0x80 {arg_8} 0x14b9 210 rax = rax + (rbx << 2) 0x14bd 211 rax = rax - 0x60 0x14c1 212 rbp = rbp << 5 0x14c5 213 edi = 0 0x14c7 214 goto 229 @ 0x14d0 0x11bd 215 rbp = rsp + 4 {var_74} 0x11bd 216 goto 137 @ 0x11c2 0x13ff 217 rdx = rdx + r8 0x1402 218 rbp = rsp + 4 {var_74} 0x1407 219 goto 83 @ 0x1410 0x13c0 220 xmm2 = [rcx + rdi - 0x10].o 0x13c6 221 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x13ca 222 xmm2 = [rcx + rdi].o 0x13cf 223 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x13d3 224 rdi = rdi + 0x20 0x13da 225 if (rbp != rdi) then 220 @ 0x13c0 else 187 @ 0x13dc 0x150f 226 rdx = rdx + r8 0x1512 227 rbp = rsp + 4 {var_74} 0x1517 228 goto 97 @ 0x1520 0x14d0 229 xmm2 = [rax + rdi - 0x10].o 0x14d6 230 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x14da 231 xmm2 = [rax + rdi].o 0x14df 232 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x14e3 233 rdi = rdi + 0x20 0x14ea 234 if (rbp != rdi) then 229 @ 0x14d0 else 201 @ 0x14ec int64_t _fini(): 0x1548 0 rsp = rsp - 8 0x154c 1 rsp = rsp + 8 0x1550 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) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) int32_t putchar(int32_t c): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"UAWAVAUATSPH=r"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 push(r15) 0x1183 2 push(r14) 0x1185 3 push(r13) 0x1187 4 push(r12) 0x1189 5 push(rbx) 0x118a 6 push(rax) 0x118b 7 rdi = 0x2004 {"%s"} 0x1192 8 r14 = 0x4060 {""} 0x1199 9 rsi = r14 0x119c 10 eax = 0 0x119e 11 call(0x1050) 0x11a3 12 rdi = r14 0x11a6 13 call(0x1040) 0x11ab 14 r15 = rax 0x11ae 15 ebx = sx.d([0x4060].b) 0x11b5 16 ebx = ebx - 0x30 0x11bc 17 if (r15d == 2) then 18 @ 0x11e6 else 19 @ 0x11c2 0x11e6 18 if (ebx != 1) then 20 @ 0x121e else 21 @ 0x11ef 0x11c2 19 if (r15d != 1) then 20 @ 0x121e else 22 @ 0x11c4 0x121e 20 if (r15d s< 2) then 27 @ 0x1285 else 32 @ 0x1220 0x11ef 21 if ([0x4061].b s> 0x32) then 20 @ 0x121e else 36 @ 0x11f1 0x11c4 22 rdi = 0x2012 {"0"} 0x11cb 23 call(0x1060) 0x11d0 24 esi = sx.d([0x4060].b) 0x11d7 25 rdi = 0x2007 {"%c\n"} 0x11de 26 goto 43 @ 0x1298 0x1285 27 edi = 0xa {""} 0x128a 28 call(0x1070) 0x128f 29 rdi = 0x200e {"%d\n"} 0x1296 30 esi = ebx 0x1296 31 goto 43 @ 0x1298 0x1220 32 r15d = r15d - 1 0x1224 33 r12 = 0x200b {"%d"} 0x122b 34 r13d = 0 0x122e 35 goto 46 @ 0x1246 0x11f1 36 rdi = 0x2012 {"0"} 0x11f8 37 call(0x1060) 0x11fd 38 edi = sx.d([0x4060].b) 0x1204 39 call(0x1070) 0x1209 40 edi = sx.d([0x4061].b) 0x1210 41 call(0x1070) 0x1215 42 goto 59 @ 0x129f 0x1298 43 eax = 0 0x129a 44 call(0x1030) 0x129a 45 goto 59 @ 0x129f 0x1246 46 rdx = r13 0x1249 47 eax = sx.d([r13 + r14 + 1].b) 0x124f 48 r13 = r13 + 1 0x1253 49 ecx = (rbx + (rbx << 2)).d 0x1256 50 ebp = (rax + (rcx << 1)).d 0x1259 51 ebp = ebp - 0x30 0x125c 52 rsi = sx.q(ebp) 0x125f 53 rbx = rsi * 0x4ec4ec4f 0x1266 54 rsi = rbx 0x1269 55 rsi = rsi u>> 0x3f 0x126d 56 rbx = rbx s>> 0x22 0x1271 57 ebx = ebx + esi 0x1276 58 if (rdx != 0) then 68 @ 0x1230 else 73 @ 0x1278 0x129f 59 eax = 0 0x12a1 60 rsp = rsp + 8 0x12a5 61 rbx = pop 0x12a6 62 r12 = pop 0x12a8 63 r13 = pop 0x12aa 64 r14 = pop 0x12ac 65 r15 = pop 0x12ae 66 rbp = pop 0x12af 67 <return> jump(pop) 0x1230 68 rdi = r12 0x1233 69 esi = ebx 0x1235 70 eax = 0 0x1237 71 call(0x1030) 0x1237 72 goto 76 @ 0x123c 0x1278 73 eax = (rax + (rcx << 1)).d 0x127b 74 eax = eax - 0x24 0x1281 75 if (eax u< 0x19) then 76 @ 0x123c else 79 @ 0x1283 0x123c 76 ebx = ebx * -0xd 0x123f 77 ebx = ebx + ebp 0x1244 78 if (r15 == r13) then 27 @ 0x1285 else 46 @ 0x1246 0x1283 79 goto 68 @ 0x1230 int64_t _fini(): 0x12b4 0 rsp = rsp - 8 0x12b8 1 rsp = rsp + 8 0x12bc 2 <return> jump(pop)
POJ_96
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 - 0x4c8 0x1171 7 rdi = rsp + 0x10 {var_4e8} 0x1176 8 ebx = 0 0x1178 9 edx = 0x4b4 {""} 0x117d 10 esi = 0 0x117f 11 call(0x1040) 0x1184 12 r13 = 0x2004 {"%d"} 0x118b 13 r14 = rsp + 0xc {var_4ec} 0x1190 14 r15 = rsp + 8 {var_4f0} 0x119f 15 goto 16 @ 0x11a0 0x11a0 16 rdi = r13 0x11a3 17 rsi = r14 {var_4ec} 0x11a6 18 eax = 0 0x11a8 19 call(0x1050) 0x11ad 20 rdi = r13 0x11b0 21 rsi = r15 {var_4f0} 0x11b3 22 eax = 0 0x11b5 23 call(0x1050) 0x11ba 24 r8d = [rsp + 0xc {var_4ec}].d 0x11c2 25 if (r8d == 0) then 26 @ 0x12a4 else 31 @ 0x11c8 0x12a4 26 eax = [rsp + 8 {var_4f0}].d 0x12a8 27 esi = [rsp + 0xc {var_4ec}].d 0x12ac 28 ecx = eax 0x12ae 29 ecx = ecx | esi 0x12b0 30 if (ecx == 0) then 33 @ 0x12ce else 41 @ 0x12b5 0x11c8 31 ecx = [rsp + 8 {var_4f0}].d 0x11cf 32 if (ecx u< 2) then 26 @ 0x12a4 else 42 @ 0x11d8 0x12ce 33 rsp = rsp + 0x4c8 0x12d5 34 rbx = pop 0x12d6 35 r12 = pop 0x12d8 36 r13 = pop 0x12da 37 r14 = pop 0x12dc 38 r15 = pop 0x12de 39 rbp = pop 0x12df 40 <return> jump(pop) 0x12b5 41 if (eax != 1) then 16 @ 0x11a0 else 43 @ 0x12bb 0x11d8 42 if (r8d s<= 0) then 47 @ 0x11fd else 50 @ 0x11da 0x12bb 43 rdi = 0x2007 {"%d\n"} 0x12c2 44 eax = 0 0x12c4 45 call(0x1030) 0x12c9 46 goto 16 @ 0x11a0 0x11fd 47 edx = (r8 + 1).d 0x1201 48 esi = 0 0x1203 49 goto 53 @ 0x1218 0x11da 50 eax = (r8 + 1).d 0x11de 51 edx = 1 0x11ed 52 goto 54 @ 0x11f0 0x1218 53 if (r8d s<= 0) then 57 @ 0x123f else 59 @ 0x121a 0x11f0 54 [rsp + (rdx << 2) + 0x10].d = edx 0x11f4 55 rdx = rdx + 1 0x11fb 56 if (rax != rdx) then 54 @ 0x11f0 else 47 @ 0x11fd 0x123f 57 edi = 0 0x1244 58 if (r8d s<= 0) then 61 @ 0x1213 else 62 @ 0x1246 0x121a 59 edi = 1 0x121f 60 goto 64 @ 0x1220 0x1213 61 if (edi u<= 1) then 69 @ 0x1273 else 53 @ 0x1218 0x1246 62 eax = 1 0x124b 63 goto 70 @ 0x1250 0x1220 64 eax = [rsp + (rdi << 2) + 0x10].d 0x1224 65 flag:c = eax u< 1 0x1227 66 esi = sbb.d(esi, -1, flag:c) 0x122a 67 cond:0 = esi == ecx 0x122c 68 if (esi == ecx) then 75 else 77 @ 0x122f 0x1273 69 if (r8d s<= 0) then 79 @ 0x1293 else 84 @ 0x1275 0x1250 70 ebp = 0 0x1257 71 bpl = [rsp + (rax << 2) + 0x10].d s> 0 0x125b 72 edi = edi + ebp 0x125d 73 rax = rax + 1 0x1264 74 if (rdx != rax) then 70 @ 0x1250 else 86 @ 0x1266 0x122c 75 eax = ebx 0x122c 76 goto 77 @ 0x122f 0x122f 77 [rsp + (rdi << 2) + 0x10].d = eax 0x1233 78 if (cond:0) then 87 else 89 @ 0x1236 0x1293 79 rdi = 0x2007 {"%d\n"} 0x129a 80 esi = r12d 0x129d 81 eax = 0 0x129f 82 call(0x1030) 0x129f 83 goto 26 @ 0x12a4 0x1275 84 eax = 1 0x127a 85 goto 91 @ 0x1280 0x1266 86 goto 61 @ 0x1213 0x1233 87 esi = ebx 0x1233 88 goto 89 @ 0x1236 0x1236 89 rdi = rdi + 1 0x123d 90 if (rdx != rdi) then 64 @ 0x1220 else 57 @ 0x123f 0x1280 91 ecx = [rsp + (rax << 2) + 0x10].d 0x1286 92 if (ecx != 0) then 93 else 95 @ 0x128a 0x1286 93 r12d = ecx 0x1286 94 goto 95 @ 0x128a 0x128a 95 rax = rax + 1 0x1291 96 if (rdx != rax) then 91 @ 0x1280 else 79 @ 0x1293 int64_t _fini(): 0x12e4 0 rsp = rsp - 8 0x12e8 1 rsp = rsp + 8 0x12ec 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 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x108 0x1161 7 rdi = 0x2004 {"%d"} 0x1168 8 rsi = rsp + 8 {var_130} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1179 11 if ([rsp + 8 {var_130}].d s<= 0) then 12 @ 0x12a6 else 20 @ 0x117f 0x12a6 12 rsp = rsp + 0x108 0x12ad 13 rbx = pop 0x12ae 14 r12 = pop 0x12b0 15 r13 = pop 0x12b2 16 r14 = pop 0x12b4 17 r15 = pop 0x12b6 18 rbp = pop 0x12b7 19 <return> jump(pop) 0x117f 20 r13d = 1 0x1185 21 r12 = 0x2004 {"%d"} 0x118c 22 r14 = rsp + 0xc {var_12c} 0x1191 23 r15 = 0x2007 {"%d\n"} 0x1198 24 goto 25 @ 0x11be 0x11be 25 rdi = r12 0x11c1 26 rsi = r14 {var_12c} 0x11c4 27 eax = 0 0x11c6 28 call(0x1040) 0x11cb 29 eax = [rsp + 0xc {var_12c}].d 0x11d1 30 if (eax s<= 0) then 31 @ 0x11ff else 35 @ 0x11d3 0x11ff 31 eax = eax 0x1201 32 ecx = 1 0x1206 33 edx = 0 0x1208 34 goto 38 @ 0x1210 0x11d3 35 rbx = rsp + 0x10 {var_128} 0x11d8 36 ebp = 0 0x11da 37 goto 40 @ 0x11e0 0x1210 38 edi = 1 0x1217 39 if (eax s<= 0) then 48 @ 0x1245 else 50 @ 0x1219 0x11e0 40 rdi = r12 0x11e3 41 rsi = rbx 0x11e6 42 eax = 0 0x11e8 43 call(0x1040) 0x11ed 44 rbp = rbp + 1 0x11f1 45 rax = sx.q([rsp + 0xc {var_12c}].d) 0x11f6 46 rbx = rbx + 4 0x11fd 47 if (rbp s< rax) then 40 @ 0x11e0 else 31 @ 0x11ff 0x1245 48 edi = edi + edx 0x124a 49 if (edi u> 0x3b) then 52 @ 0x11a0 else 54 @ 0x1250 0x1219 50 esi = 0 0x121b 51 goto 57 @ 0x1224 0x11a0 52 esi = ecx 0x11a0 53 goto 58 @ 0x11a2 0x1250 54 esi = (rcx + 1).d 0x1253 55 edx = 1 0x125a 56 if (eax s<= 0) then 65 @ 0x1285 else 67 @ 0x125c 0x1224 57 if (ecx == [rsp + (rsi << 2) + 0x10].d) then 69 @ 0x1240 else 71 @ 0x1226 0x11a2 58 rdi = r15 0x11a5 59 eax = 0 0x11a7 60 call(0x1030) 0x11ac 61 eax = (r13 + 1).d 0x11b0 62 cond:0 = r13d s>= [rsp + 8 {var_130}].d 0x11b5 63 r13d = eax 0x11b8 64 if (cond:0) then 12 @ 0x12a6 else 25 @ 0x11be 0x1285 65 edx = edx + edi 0x128a 66 if (edx u> 0x3b) then 58 @ 0x11a2 else 73 @ 0x1290 0x125c 67 ebp = 0 0x125e 68 goto 75 @ 0x1264 0x1240 69 edi = 4 0x1240 70 goto 48 @ 0x1245 0x1226 71 rsi = rsi + 1 0x122d 72 if (rax != rsi) then 57 @ 0x1224 else 76 @ 0x122f 0x1290 73 ecx = ecx + 2 0x1296 74 if (ecx != 0x3d) then 38 @ 0x1210 else 78 @ 0x129c 0x1264 75 if (esi == [rsp + (rbp << 2) + 0x10].d) then 80 @ 0x1280 else 82 @ 0x1266 0x122f 76 edi = 1 0x1234 77 goto 48 @ 0x1245 0x129c 78 esi = 0x3d {""} 0x12a1 79 goto 58 @ 0x11a2 0x1280 80 edx = 4 0x1280 81 goto 65 @ 0x1285 0x1266 82 rbp = rbp + 1 0x126d 83 if (rax != rbp) then 75 @ 0x1264 else 84 @ 0x126f 0x126f 84 goto 65 @ 0x1285 int64_t _fini(): 0x12bc 0 rsp = rsp - 8 0x12c0 1 rsp = rsp + 8 0x12c4 2 <return> jump(pop)
POJ_86
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 {"AWAVSHP"} 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 - 0x650 0x116c 4 rdi = 0x2006 {"%d"} 0x1173 5 rsi = rsp + 0xc {var_65c} 0x1178 6 eax = 0 0x117a 7 call(0x1040) 0x1184 8 if ([rsp + 0xc {var_65c}].d s<= 0) then 9 @ 0x12ab else 13 @ 0x118a 0x12ab 9 rdi = 0x2009 {"Tie"} 0x12b2 10 eax = 0 0x12b4 11 call(0x1030) 0x12b4 12 goto 17 @ 0x12b9 0x118a 13 rbx = rsp + 0x10 {var_658} 0x118f 14 r14 = 0x2004 {"%d%d"} 0x1196 15 r15d = 0 0x1199 16 goto 23 @ 0x11a0 0x12b9 17 eax = 0 0x12bb 18 rsp = rsp + 0x650 0x12c2 19 rbx = pop 0x12c3 20 r14 = pop 0x12c5 21 r15 = pop 0x12c7 22 <return> jump(pop) 0x11a0 23 rdx = rbx + 4 0x11a4 24 rdi = r14 0x11a7 25 rsi = rbx 0x11aa 26 eax = 0 0x11ac 27 call(0x1040) 0x11b1 28 r15 = r15 + 1 0x11b5 29 rax = sx.q([rsp + 0xc {var_65c}].d) 0x11ba 30 rbx = rbx + 8 0x11c1 31 if (r15 s< rax) then 23 @ 0x11a0 else 32 @ 0x11c3 0x11c3 32 eax = eax 0x11c7 33 if (eax s<= 0) then 9 @ 0x12ab else 34 @ 0x11cd 0x11cd 34 esi = 0 0x11cf 35 r8d = 0 0x11d2 36 r9d = 0 0x11d5 37 goto 38 @ 0x11f1 0x11f1 38 edi = [rsp + (rsi << 3) + 0x10].d 0x11f7 39 if (edi == 0) then 40 @ 0x1220 else 44 @ 0x11fc 0x1220 40 ebx = [rsp + (rsi << 3) + 0x14].d 0x1224 41 ecx = 0 0x1226 42 edx = 0 0x122e 43 if (ebx == 1) then 45 @ 0x11e0 else 47 @ 0x1233 0x11fc 44 if (edi == 1) then 48 @ 0x1250 else 50 @ 0x1201 0x11e0 45 r8d = r8d + 1 0x11e0 46 goto 51 @ 0x11e4 0x1233 47 if (ebx == 2) then 53 @ 0x1217 else 56 @ 0x1238 0x1250 48 ebx = [rsp + (rsi << 3) + 0x14].d 0x1257 49 if (ebx == 2) then 45 @ 0x11e0 else 57 @ 0x1259 0x1201 50 if (edi != 2) then 60 @ 0x1270 else 64 @ 0x1203 0x11e4 51 rsi = rsi + 1 0x11eb 52 if (rax == rsi) then 66 @ 0x128a else 38 @ 0x11f1 0x1217 53 flag:c = edi u< 1 0x121a 54 r9d = adc.d(r9d, 0, flag:c) 0x121e 55 goto 51 @ 0x11e4 0x1238 56 if (ebx == 1) then 67 @ 0x127f else 69 @ 0x123c 0x1259 57 edx = 1 0x125e 58 ecx = 0 0x1263 59 if (ebx != 2) then 56 @ 0x1238 else 70 @ 0x1265 0x1270 60 ebx = [rsp + (rsi << 3) + 0x14].d 0x1274 61 ecx = 0 0x1276 62 edx = 0 0x127b 63 if (ebx != 2) then 56 @ 0x1238 else 71 @ 0x127d 0x1203 64 ebx = [rsp + (rsi << 3) + 0x14].d 0x1209 65 if (ebx == 0) then 45 @ 0x11e0 else 72 @ 0x120b 0x128a 66 if (r8d s<= r9d) then 75 @ 0x1298 else 77 @ 0x128c 0x127f 67 r9d = r9d + ecx 0x1282 68 goto 51 @ 0x11e4 0x123c 69 if (ebx != 0) then 51 @ 0x11e4 else 80 @ 0x123e 0x1265 70 goto 53 @ 0x1217 0x127d 71 goto 53 @ 0x1217 0x120b 72 edx = 0 0x120d 73 ecx = 1 0x1215 74 if (ebx != 2) then 56 @ 0x1238 else 53 @ 0x1217 0x1298 75 cond:0 = r9d != r8d 0x129b 76 if (r9d s<= r8d) then 82 @ 0x12a9 else 83 @ 0x129d 0x128c 77 edi = 0x41 {""} 0x1291 78 call(0x1050) 0x1296 79 goto 17 @ 0x12b9 0x123e 80 r9d = r9d + edx 0x1241 81 goto 51 @ 0x11e4 0x12a9 82 if (cond:0) then 17 @ 0x12b9 else 9 @ 0x12ab 0x129d 83 edi = 0x42 {""} 0x12a2 84 call(0x1050) 0x12a7 85 goto 17 @ 0x12b9 int64_t _fini(): 0x12cc 0 rsp = rsp - 8 0x12d0 1 rsp = rsp + 8 0x12d4 2 <return> jump(pop)
POJ_65
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x11a0 {"AWAVSH0"} 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 put(uint64_t arg1, int32_t arg2): 0x1150 0 push(rbp) 0x1151 1 push(r14) 0x1153 2 push(rbx) 0x1154 3 r14d = 0 0x115a 4 if (edi u>= 2) then 5 @ 0x1168 else 8 @ 0x115c 0x1168 5 ebx = esi 0x116a 6 r14d = 0 0x116a 7 goto 14 @ 0x116d 0x115c 8 r14d = r14d + 1 0x1160 9 eax = r14d 0x1163 10 rbx = pop 0x1164 11 r14 = pop 0x1166 12 rbp = pop 0x1167 13 <return> jump(pop) 0x116d 14 eax = ebx 0x116f 15 goto 16 @ 0x1173 0x1173 16 if (eax u< 2) then 8 @ 0x115c else 17 @ 0x1175 0x1175 17 ebx = eax 0x1177 18 ebp = edi 0x1179 19 eax = edi 0x117b 20 temp0.d = ebp 0x117b 21 ebp = ebp - ebx 0x117d 22 if (temp0.d s< ebx) then 16 @ 0x1173 else 23 @ 0x117f 0x117f 23 esi = (rbx - 1).d 0x1182 24 call(0x1150) 0x1187 25 r14d = r14d + eax 0x118a 26 edi = ebp 0x118f 27 if (ebp u> 1) then 14 @ 0x116d else 28 @ 0x1191 0x1191 28 goto 8 @ 0x115c int32_t main(int32_t argc, char** argv, char** envp): 0x11a0 0 push(r15) 0x11a2 1 push(r14) 0x11a4 2 push(rbx) 0x11a5 3 rsp = rsp - 0x330 0x11ac 4 rdi = 0x2007 {"%d"} 0x11b3 5 rsi = rsp + 0xc {var_33c} 0x11b8 6 eax = 0 0x11ba 7 call(0x1040) 0x11c4 8 if ([rsp + 0xc {var_33c}].d s<= 0) then 9 @ 0x1237 else 15 @ 0x11c6 0x1237 9 eax = 0 0x1239 10 rsp = rsp + 0x330 0x1240 11 rbx = pop 0x1241 12 r14 = pop 0x1243 13 r15 = pop 0x1245 14 <return> jump(pop) 0x11c6 15 rbx = rsp + 0x10 {var_338} 0x11cb 16 r14 = 0x2004 {"%d %d"} 0x11d2 17 r15d = 0 0x11df 18 goto 19 @ 0x11e0 0x11e0 19 rdx = rbx + 4 0x11e4 20 rdi = r14 0x11e7 21 rsi = rbx 0x11ea 22 eax = 0 0x11ec 23 call(0x1040) 0x11f1 24 r15 = r15 + 1 0x11f5 25 rax = sx.q([rsp + 0xc {var_33c}].d) 0x11fa 26 rbx = rbx + 8 0x1201 27 if (r15 s< rax) then 19 @ 0x11e0 else 28 @ 0x1205 0x1205 28 if (eax s<= 0) then 9 @ 0x1237 else 29 @ 0x1207 0x1207 29 r14 = 0x200a {"%d\n"} 0x120e 30 ebx = 0 0x120e 31 goto 32 @ 0x1210 0x1210 32 edi = [rsp + (rbx << 3) + 0x10].d 0x1214 33 esi = [rsp + (rbx << 3) + 0x14].d 0x1218 34 call(0x1150) 0x121d 35 rdi = r14 0x1220 36 esi = eax 0x1222 37 eax = 0 0x1224 38 call(0x1030) 0x1229 39 rbx = rbx + 1 0x122d 40 rax = sx.q([rsp + 0xc {var_33c}].d) 0x1235 41 if (rbx s< rax) then 32 @ 0x1210 else 9 @ 0x1237 int64_t _fini(): 0x124c 0 rsp = rsp - 8 0x1250 1 rsp = rsp + 8 0x1254 2 <return> jump(pop)
POJ_90
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 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 = 0x2710 {""} 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 0x117f 21 if (eax == 0) then 22 @ 0x1243 else 36 @ 0x1185 0x1243 22 eax = [rbp - 8 {var_10}].d 0x1246 23 ecx = 0x2710 {""} 0x124b 24 temp8.d:temp9.d = sx.q(eax) 0x124b 25 edx = temp8.d 0x124b 26 eax = temp9.d 0x124c 27 temp10.d = edx 0x124c 28 temp11.d = eax 0x124c 29 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x124c 30 temp12.d = edx 0x124c 31 temp13.d = eax 0x124c 32 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x124c 33 eax = temp0.d 0x124c 34 edx = temp1.d 0x1251 35 if (eax != 0) then 136 @ 0x12e6 else 150 @ 0x1257 0x1185 36 eax = [rbp - 8 {var_10}].d 0x1188 37 ecx = 0x2710 {""} 0x118d 38 temp14.d:temp15.d = sx.q(eax) 0x118d 39 edx = temp14.d 0x118d 40 eax = temp15.d 0x118e 41 temp16.d = edx 0x118e 42 temp17.d = eax 0x118e 43 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x118e 44 temp18.d = edx 0x118e 45 temp19.d = eax 0x118e 46 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x118e 47 eax = temp0.d 0x118e 48 edx = temp1.d 0x1190 49 [rbp - 0xc {var_14_1}].d = eax 0x1193 50 eax = [rbp - 8 {var_10}].d 0x1196 51 ecx = [rbp - 0xc {var_14_1}].d * 0x2710 0x119d 52 eax = eax - ecx 0x119f 53 ecx = 0x3e8 {""} 0x11a4 54 temp20.d:temp21.d = sx.q(eax) 0x11a4 55 edx = temp20.d 0x11a4 56 eax = temp21.d 0x11a5 57 temp22.d = edx 0x11a5 58 temp23.d = eax 0x11a5 59 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x11a5 60 temp24.d = edx 0x11a5 61 temp25.d = eax 0x11a5 62 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x11a5 63 eax = temp0.d 0x11a5 64 edx = temp1.d 0x11a7 65 [rbp - 0x10 {var_18_1}].d = eax 0x11aa 66 eax = [rbp - 8 {var_10}].d 0x11ad 67 ecx = [rbp - 0xc {var_14_1}].d * 0x2710 0x11b4 68 eax = eax - ecx 0x11b6 69 ecx = [rbp - 0x10 {var_18_1}].d * 0x3e8 0x11bd 70 eax = eax - ecx 0x11bf 71 ecx = 0x64 {""} 0x11c4 72 temp26.d:temp27.d = sx.q(eax) 0x11c4 73 edx = temp26.d 0x11c4 74 eax = temp27.d 0x11c5 75 temp28.d = edx 0x11c5 76 temp29.d = eax 0x11c5 77 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx) 0x11c5 78 temp30.d = edx 0x11c5 79 temp31.d = eax 0x11c5 80 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx) 0x11c5 81 eax = temp0.d 0x11c5 82 edx = temp1.d 0x11c7 83 [rbp - 0x1c {var_24_1}].d = eax 0x11ca 84 eax = [rbp - 8 {var_10}].d 0x11cd 85 ecx = [rbp - 0xc {var_14_1}].d * 0x2710 0x11d4 86 eax = eax - ecx 0x11d6 87 ecx = [rbp - 0x10 {var_18_1}].d * 0x3e8 0x11dd 88 eax = eax - ecx 0x11df 89 ecx = [rbp - 0x1c {var_24_1}].d * 0x64 0x11e3 90 eax = eax - ecx 0x11e5 91 ecx = 0xa {""} 0x11ea 92 temp32.d:temp33.d = sx.q(eax) 0x11ea 93 edx = temp32.d 0x11ea 94 eax = temp33.d 0x11eb 95 temp34.d = edx 0x11eb 96 temp35.d = eax 0x11eb 97 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx) 0x11eb 98 temp36.d = edx 0x11eb 99 temp37.d = eax 0x11eb 100 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx) 0x11eb 101 eax = temp0.d 0x11eb 102 edx = temp1.d 0x11ed 103 [rbp - 0x14 {var_1c_1}].d = eax 0x11f0 104 eax = [rbp - 8 {var_10}].d 0x11f3 105 ecx = [rbp - 0xc {var_14_1}].d * 0x2710 0x11fa 106 eax = eax - ecx 0x11fc 107 ecx = [rbp - 0x10 {var_18_1}].d * 0x3e8 0x1203 108 eax = eax - ecx 0x1205 109 ecx = [rbp - 0x1c {var_24_1}].d * 0x64 0x1209 110 eax = eax - ecx 0x120b 111 ecx = [rbp - 0x14 {var_1c_1}].d * 0xa 0x120f 112 eax = eax - ecx 0x1211 113 ecx = 1 0x1216 114 temp38.d:temp39.d = sx.q(eax) 0x1216 115 edx = temp38.d 0x1216 116 eax = temp39.d 0x1217 117 temp40.d = edx 0x1217 118 temp41.d = eax 0x1217 119 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx) 0x1217 120 temp42.d = edx 0x1217 121 temp43.d = eax 0x1217 122 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx) 0x1217 123 eax = temp0.d 0x1217 124 edx = temp1.d 0x1219 125 [rbp - 0x18 {var_20_1}].d = eax 0x121c 126 eax = [rbp - 0x18 {var_20_1}].d * 0x2710 0x1223 127 ecx = [rbp - 0x14 {var_1c_1}].d * 0x3e8 0x122a 128 eax = eax + ecx 0x122c 129 ecx = [rbp - 0x1c {var_24_1}].d * 0x64 0x1230 130 eax = eax + ecx 0x1232 131 ecx = [rbp - 0x10 {var_18_1}].d * 0xa 0x1236 132 eax = eax + ecx 0x1238 133 eax = eax + [rbp - 0xc {var_14_1}].d 0x123b 134 [rbp - 0x20 {var_28}].d = eax 0x123e 135 goto 164 @ 0x13d6 0x12e6 136 eax = [rbp - 8 {var_10}].d 0x12e9 137 ecx = 0x3e8 {""} 0x12ee 138 temp44.d:temp45.d = sx.q(eax) 0x12ee 139 edx = temp44.d 0x12ee 140 eax = temp45.d 0x12ef 141 temp46.d = edx 0x12ef 142 temp47.d = eax 0x12ef 143 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx) 0x12ef 144 temp48.d = edx 0x12ef 145 temp49.d = eax 0x12ef 146 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx) 0x12ef 147 eax = temp0.d 0x12ef 148 edx = temp1.d 0x12f4 149 if (eax != 0) then 172 @ 0x1357 else 186 @ 0x12fa 0x1257 150 eax = [rbp - 8 {var_10}].d 0x125a 151 ecx = 0x3e8 {""} 0x125f 152 temp50.d:temp51.d = sx.q(eax) 0x125f 153 edx = temp50.d 0x125f 154 eax = temp51.d 0x1260 155 temp52.d = edx 0x1260 156 temp53.d = eax 0x1260 157 temp0.d = divs.dp.d(temp52.d:temp53.d, ecx) 0x1260 158 temp54.d = edx 0x1260 159 temp55.d = eax 0x1260 160 temp1.d = mods.dp.d(temp54.d:temp55.d, ecx) 0x1260 161 eax = temp0.d 0x1260 162 edx = temp1.d 0x1265 163 if (eax == 0) then 136 @ 0x12e6 else 200 @ 0x126b 0x13d6 164 esi = [rbp - 0x20 {var_28}].d 0x13d9 165 rdi = 0x2007 {"%d\n"} 0x13e0 166 al = 0 0x13e2 167 call(0x1030) 0x13e7 168 eax = 0 0x13e9 169 rsp = rsp + 0x20 0x13ed 170 rbp = pop 0x13ee 171 <return> jump(pop) 0x1357 172 eax = [rbp - 8 {var_10}].d 0x135a 173 ecx = 0x64 {""} 0x135f 174 temp56.d:temp57.d = sx.q(eax) 0x135f 175 edx = temp56.d 0x135f 176 eax = temp57.d 0x1360 177 temp58.d = edx 0x1360 178 temp59.d = eax 0x1360 179 temp0.d = divs.dp.d(temp58.d:temp59.d, ecx) 0x1360 180 temp60.d = edx 0x1360 181 temp61.d = eax 0x1360 182 temp1.d = mods.dp.d(temp60.d:temp61.d, ecx) 0x1360 183 eax = temp0.d 0x1360 184 edx = temp1.d 0x1365 185 if (eax != 0) then 264 @ 0x13a8 else 278 @ 0x136b 0x12fa 186 eax = [rbp - 8 {var_10}].d 0x12fd 187 ecx = 0x64 {""} 0x1302 188 temp62.d:temp63.d = sx.q(eax) 0x1302 189 edx = temp62.d 0x1302 190 eax = temp63.d 0x1303 191 temp64.d = edx 0x1303 192 temp65.d = eax 0x1303 193 temp0.d = divs.dp.d(temp64.d:temp65.d, ecx) 0x1303 194 temp66.d = edx 0x1303 195 temp67.d = eax 0x1303 196 temp1.d = mods.dp.d(temp66.d:temp67.d, ecx) 0x1303 197 eax = temp0.d 0x1303 198 edx = temp1.d 0x1308 199 if (eax == 0) then 172 @ 0x1357 else 292 @ 0x130e 0x126b 200 eax = [rbp - 8 {var_10}].d 0x126e 201 ecx = 0x3e8 {""} 0x1273 202 temp68.d:temp69.d = sx.q(eax) 0x1273 203 edx = temp68.d 0x1273 204 eax = temp69.d 0x1274 205 temp70.d = edx 0x1274 206 temp71.d = eax 0x1274 207 temp0.d = divs.dp.d(temp70.d:temp71.d, ecx) 0x1274 208 temp72.d = edx 0x1274 209 temp73.d = eax 0x1274 210 temp1.d = mods.dp.d(temp72.d:temp73.d, ecx) 0x1274 211 eax = temp0.d 0x1274 212 edx = temp1.d 0x1276 213 [rbp - 0xc {var_14_2}].d = eax 0x1279 214 eax = [rbp - 8 {var_10}].d 0x127c 215 ecx = [rbp - 0xc {var_14_2}].d * 0x3e8 0x1283 216 eax = eax - ecx 0x1285 217 ecx = 0x64 {""} 0x128a 218 temp74.d:temp75.d = sx.q(eax) 0x128a 219 edx = temp74.d 0x128a 220 eax = temp75.d 0x128b 221 temp76.d = edx 0x128b 222 temp77.d = eax 0x128b 223 temp0.d = divs.dp.d(temp76.d:temp77.d, ecx) 0x128b 224 temp78.d = edx 0x128b 225 temp79.d = eax 0x128b 226 temp1.d = mods.dp.d(temp78.d:temp79.d, ecx) 0x128b 227 eax = temp0.d 0x128b 228 edx = temp1.d 0x128d 229 [rbp - 0x10 {var_18_2}].d = eax 0x1290 230 eax = [rbp - 8 {var_10}].d 0x1293 231 ecx = [rbp - 0xc {var_14_2}].d * 0x3e8 0x129a 232 eax = eax - ecx 0x129c 233 ecx = [rbp - 0x10 {var_18_2}].d * 0x64 0x12a0 234 eax = eax - ecx 0x12a2 235 ecx = 0xa {""} 0x12a7 236 temp80.d:temp81.d = sx.q(eax) 0x12a7 237 edx = temp80.d 0x12a7 238 eax = temp81.d 0x12a8 239 temp82.d = edx 0x12a8 240 temp83.d = eax 0x12a8 241 temp0.d = divs.dp.d(temp82.d:temp83.d, ecx) 0x12a8 242 temp84.d = edx 0x12a8 243 temp85.d = eax 0x12a8 244 temp1.d = mods.dp.d(temp84.d:temp85.d, ecx) 0x12a8 245 eax = temp0.d 0x12a8 246 edx = temp1.d 0x12aa 247 [rbp - 0x1c {var_24_2}].d = eax 0x12ad 248 eax = [rbp - 8 {var_10}].d 0x12b0 249 ecx = [rbp - 0xc {var_14_2}].d * 0x3e8 0x12b7 250 eax = eax - ecx 0x12b9 251 ecx = [rbp - 0x10 {var_18_2}].d * 0x64 0x12bd 252 eax = eax - ecx 0x12bf 253 ecx = [rbp - 0x1c {var_24_2}].d * 0xa 0x12c3 254 eax = eax - ecx 0x12c5 255 [rbp - 0x14 {var_1c_2}].d = eax 0x12c8 256 eax = [rbp - 0x14 {var_1c_2}].d * 0x3e8 0x12cf 257 ecx = [rbp - 0x1c {var_24_2}].d * 0x64 0x12d3 258 eax = eax + ecx 0x12d5 259 ecx = [rbp - 0x10 {var_18_2}].d * 0xa 0x12d9 260 eax = eax + ecx 0x12db 261 eax = eax + [rbp - 0xc {var_14_2}].d 0x12de 262 [rbp - 0x20 {var_28}].d = eax 0x12e1 263 goto 334 @ 0x13d1 0x13a8 264 eax = [rbp - 8 {var_10}].d 0x13ab 265 ecx = 0xa {""} 0x13b0 266 temp86.d:temp87.d = sx.q(eax) 0x13b0 267 edx = temp86.d 0x13b0 268 eax = temp87.d 0x13b1 269 temp88.d = edx 0x13b1 270 temp89.d = eax 0x13b1 271 temp0.d = divs.dp.d(temp88.d:temp89.d, ecx) 0x13b1 272 temp90.d = edx 0x13b1 273 temp91.d = eax 0x13b1 274 temp1.d = mods.dp.d(temp90.d:temp91.d, ecx) 0x13b1 275 eax = temp0.d 0x13b1 276 edx = temp1.d 0x13b6 277 if (eax != 0) then 335 @ 0x13c2 else 336 @ 0x13bc 0x136b 278 eax = [rbp - 8 {var_10}].d 0x136e 279 ecx = 0xa {""} 0x1373 280 temp92.d:temp93.d = sx.q(eax) 0x1373 281 edx = temp92.d 0x1373 282 eax = temp93.d 0x1374 283 temp94.d = edx 0x1374 284 temp95.d = eax 0x1374 285 temp0.d = divs.dp.d(temp94.d:temp95.d, ecx) 0x1374 286 temp96.d = edx 0x1374 287 temp97.d = eax 0x1374 288 temp1.d = mods.dp.d(temp96.d:temp97.d, ecx) 0x1374 289 eax = temp0.d 0x1374 290 edx = temp1.d 0x1379 291 if (eax == 0) then 264 @ 0x13a8 else 339 @ 0x137f 0x130e 292 eax = [rbp - 8 {var_10}].d 0x1311 293 ecx = 0x64 {""} 0x1316 294 temp98.d:temp99.d = sx.q(eax) 0x1316 295 edx = temp98.d 0x1316 296 eax = temp99.d 0x1317 297 temp100.d = edx 0x1317 298 temp101.d = eax 0x1317 299 temp0.d = divs.dp.d(temp100.d:temp101.d, ecx) 0x1317 300 temp102.d = edx 0x1317 301 temp103.d = eax 0x1317 302 temp1.d = mods.dp.d(temp102.d:temp103.d, ecx) 0x1317 303 eax = temp0.d 0x1317 304 edx = temp1.d 0x1319 305 [rbp - 0xc {var_14_3}].d = eax 0x131c 306 eax = [rbp - 8 {var_10}].d 0x131f 307 ecx = [rbp - 0xc {var_14_3}].d * 0x64 0x1323 308 eax = eax - ecx 0x1325 309 ecx = 0xa {""} 0x132a 310 temp104.d:temp105.d = sx.q(eax) 0x132a 311 edx = temp104.d 0x132a 312 eax = temp105.d 0x132b 313 temp106.d = edx 0x132b 314 temp107.d = eax 0x132b 315 temp0.d = divs.dp.d(temp106.d:temp107.d, ecx) 0x132b 316 temp108.d = edx 0x132b 317 temp109.d = eax 0x132b 318 temp1.d = mods.dp.d(temp108.d:temp109.d, ecx) 0x132b 319 eax = temp0.d 0x132b 320 edx = temp1.d 0x132d 321 [rbp - 0x10 {var_18_3}].d = eax 0x1330 322 eax = [rbp - 8 {var_10}].d 0x1333 323 ecx = [rbp - 0xc {var_14_3}].d * 0x64 0x1337 324 eax = eax - ecx 0x1339 325 ecx = [rbp - 0x10 {var_18_3}].d * 0xa 0x133d 326 eax = eax - ecx 0x133f 327 [rbp - 0x1c {var_24_3}].d = eax 0x1342 328 eax = [rbp - 0x1c {var_24_3}].d * 0x64 0x1346 329 ecx = [rbp - 0x10 {var_18_3}].d * 0xa 0x134a 330 eax = eax + ecx 0x134c 331 eax = eax + [rbp - 0xc {var_14_3}].d 0x134f 332 [rbp - 0x20 {var_28}].d = eax 0x1352 333 goto 361 @ 0x13cc 0x13d1 334 goto 164 @ 0x13d6 0x13c2 335 goto 362 @ 0x13c7 0x13bc 336 eax = [rbp - 8 {var_10}].d 0x13bf 337 [rbp - 0x20 {var_28}].d = eax 0x13bf 338 goto 335 @ 0x13c2 0x137f 339 eax = [rbp - 8 {var_10}].d 0x1382 340 ecx = 0xa {""} 0x1387 341 temp110.d:temp111.d = sx.q(eax) 0x1387 342 edx = temp110.d 0x1387 343 eax = temp111.d 0x1388 344 temp112.d = edx 0x1388 345 temp113.d = eax 0x1388 346 temp0.d = divs.dp.d(temp112.d:temp113.d, ecx) 0x1388 347 temp114.d = edx 0x1388 348 temp115.d = eax 0x1388 349 temp1.d = mods.dp.d(temp114.d:temp115.d, ecx) 0x1388 350 eax = temp0.d 0x1388 351 edx = temp1.d 0x138a 352 [rbp - 0xc {var_14_4}].d = eax 0x138d 353 eax = [rbp - 8 {var_10}].d 0x1390 354 ecx = [rbp - 0xc {var_14_4}].d * 0xa 0x1394 355 eax = eax - ecx 0x1396 356 [rbp - 0x10 {var_18_4}].d = eax 0x1399 357 eax = [rbp - 0x10 {var_18_4}].d * 0xa 0x139d 358 eax = eax + [rbp - 0xc {var_14_4}].d 0x13a0 359 [rbp - 0x20 {var_28}].d = eax 0x13a3 360 goto 362 @ 0x13c7 0x13cc 361 goto 334 @ 0x13d1 0x13c7 362 goto 361 @ 0x13cc int64_t _fini(): 0x13f4 0 rsp = rsp - 8 0x13f8 1 rsp = rsp + 8 0x13fc 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 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x1b0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rdi = 0x2004 {"%d %d"} 0x1169 5 rsi = rbp - 0x1ac {var_1b4} 0x1170 6 rdx = rbp - 0x1b0 {var_1b8} 0x1177 7 al = 0 0x1179 8 call(0x1040) 0x117e 9 [rbp - 0x1a8 {var_1b0}].d = 0 0x117e 10 goto 11 @ 0x1188 0x1188 11 eax = [rbp - 0x1a8 {var_1b0}].d 0x1194 12 if (eax s>= [rbp - 0x1ac {var_1b4}].d) then 13 @ 0x11d1 else 17 @ 0x119a 0x11d1 13 eax = [rbp - 0x1ac {var_1b4}].d 0x11d7 14 eax = eax - [rbp - 0x1b0 {var_1b8}].d 0x11dd 15 [rbp - 0x1a4 {var_1ac}].d = eax 0x11dd 16 goto 28 @ 0x11e3 0x119a 17 rax = sx.q([rbp - 0x1a8 {var_1b0}].d) 0x11a1 18 rsi = rbp - 0x1a0 {var_1a8} 0x11a8 19 rax = rax << 2 0x11ac 20 rsi = rsi + rax 0x11af 21 rdi = 0x2007 {"%d"} 0x11b6 22 al = 0 0x11b8 23 call(0x1040) 0x11bd 24 eax = [rbp - 0x1a8 {var_1b0}].d 0x11c3 25 eax = eax + 1 0x11c6 26 [rbp - 0x1a8 {var_1b0}].d = eax 0x11cc 27 goto 11 @ 0x1188 0x11e3 28 eax = [rbp - 0x1a4 {var_1ac}].d 0x11ef 29 if (eax s>= [rbp - 0x1ac {var_1b4}].d) then 30 @ 0x1265 else 32 @ 0x11f5 0x1265 30 [rbp - 0x1a4 {var_1ac_1}].d = 0 0x1265 31 goto 36 @ 0x126f 0x11f5 32 eax = [rbp - 0x1a4 {var_1ac}].d 0x11fb 33 ecx = [rbp - 0x1ac {var_1b4}].d 0x1201 34 ecx = ecx - [rbp - 0x1b0 {var_1b8}].d 0x1209 35 if (eax != ecx) then 40 @ 0x1230 else 46 @ 0x120f 0x126f 36 eax = [rbp - 0x1a4 {var_1ac_1}].d 0x1275 37 ecx = [rbp - 0x1ac {var_1b4}].d 0x127b 38 ecx = ecx - [rbp - 0x1b0 {var_1b8}].d 0x1283 39 if (eax s>= ecx) then 52 @ 0x12b9 else 56 @ 0x1289 0x1230 40 rax = sx.q([rbp - 0x1a4 {var_1ac}].d) 0x1237 41 esi = [rbp + (rax << 2) - 0x1a0].d 0x123e 42 rdi = 0x2006 {" %d"} 0x1245 43 al = 0 0x1247 44 call(0x1030) 0x1247 45 goto 65 @ 0x124c 0x120f 46 rax = sx.q([rbp - 0x1a4 {var_1ac}].d) 0x1216 47 esi = [rbp + (rax << 2) - 0x1a0].d 0x121d 48 rdi = 0x2007 {"%d"} 0x1224 49 al = 0 0x1226 50 call(0x1030) 0x122b 51 goto 65 @ 0x124c 0x12b9 52 eax = 0 0x12bb 53 rsp = rsp + 0x1b0 0x12c2 54 rbp = pop 0x12c3 55 <return> jump(pop) 0x1289 56 rax = sx.q([rbp - 0x1a4 {var_1ac_1}].d) 0x1290 57 esi = [rbp + (rax << 2) - 0x1a0].d 0x1297 58 rdi = 0x2006 {" %d"} 0x129e 59 al = 0 0x12a0 60 call(0x1030) 0x12a5 61 eax = [rbp - 0x1a4 {var_1ac_1}].d 0x12ab 62 eax = eax + 1 0x12ae 63 [rbp - 0x1a4 {var_1ac_1}].d = eax 0x12b4 64 goto 36 @ 0x126f 0x124c 65 goto 66 @ 0x1251 0x1251 66 eax = [rbp - 0x1a4 {var_1ac}].d 0x1257 67 eax = eax + 1 0x125a 68 [rbp - 0x1a4 {var_1ac}].d = eax 0x1260 69 goto 28 @ 0x11e3 int64_t _fini(): 0x12c8 0 rsp = rsp - 8 0x12cc 1 rsp = rsp + 8 0x12d0 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 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 {"UAWAVAUATSHHH=q"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int64_t run(int32_t arg1): 0x1150 0 ecx = edi * -0x3d70a3d7 0x1156 1 edx = (rcx + 0x51eb800).d 0x115c 2 edx = ror.d(edx, 7) 0x115f 3 eax = 0 0x1167 4 if (edx u< 0x147ae1) then 5 @ 0x119a else 6 @ 0x1169 0x119a 5 <return> jump(pop) 0x1169 6 ecx = ecx + 0x51eb850 0x116f 7 ecx = ror.d(ecx, 4) 0x1178 8 if (ecx u< 0xa3d70b) then 9 @ 0x119b else 12 @ 0x117a 0x119b 9 eax = 0 0x11a1 10 al = (dil & 3) == 0 0x11a4 11 <return> jump(pop) 0x117a 12 rcx = sx.q(edi) 0x117d 13 rcx = rcx * 0x51eb851f 0x1184 14 rdx = rcx 0x1187 15 rdx = rdx u>> 0x3f 0x118b 16 rcx = rcx s>> 0x25 0x118f 17 ecx = ecx + edx 0x1191 18 ecx = ecx * 0x64 0x1194 19 edx = edi 0x1196 20 temp0.d = edx 0x1196 21 edx = edx - ecx 0x1198 22 if (temp0.d != ecx) then 9 @ 0x119b else 5 @ 0x119a 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(r13) 0x11b7 4 push(r12) 0x11b9 5 push(rbx) 0x11ba 6 rsp = rsp - 0x48 0x11be 7 rdi = 0x2036 {"%d"} 0x11c5 8 rsi = rsp + 8 {var_70} 0x11ca 9 eax = 0 0x11cc 10 call(0x1030) 0x11d6 11 if ([rsp + 8 {var_70}].d s<= 0) then 12 @ 0x1312 else 21 @ 0x11dc 0x1312 12 eax = 0 0x1314 13 rsp = rsp + 0x48 0x1318 14 rbx = pop 0x1319 15 r12 = pop 0x131b 16 r13 = pop 0x131d 17 r14 = pop 0x131f 18 r15 = pop 0x1321 19 rbp = pop 0x1322 20 <return> jump(pop) 0x11dc 21 ebx = 1 0x11e1 22 r13 = rsp {var_78} 0x11e4 23 rbp = 0x1f0000001e {""} 0x11ee 24 r14 = 0x203c {"YES"} 0x11f5 25 r15 = 0x2039 {"NO"} 0x11fc 26 goto 27 @ 0x122b 0x122b 27 r12d = 0 0x122e 28 rdi = 0x2030 {"%d %d %d"} 0x1235 29 rsi = rsp + 0xc {var_6c} 0x123a 30 rdx = rsp + 4 {var_74} 0x123f 31 rcx = r13 {var_78} 0x1242 32 eax = 0 0x1244 33 call(0x1030) 0x1249 34 eax = [rsp + 0xc {var_6c}].d 0x124d 35 ecx = eax * -0x3d70a3d7 0x1253 36 edx = (rcx + 0x51eb800).d 0x1259 37 edx = ror.d(edx, 7) 0x1262 38 if (edx u< 0x147ae1) then 39 @ 0x129e else 50 @ 0x1264 0x129e 39 r12d = r12d | 0x1c 0x12a2 40 [rsp + 0x18 {var_60_1}].d = r12d 0x12a7 41 [rsp + 0x14 {var_64_1}].d = 0x1f {""} 0x12af 42 xmm0 = [0x2010].o 0x12b6 43 [rsp + 0x1c {var_5c_1}].o = xmm0 0x12bb 44 xmm0 = [0x2020].o 0x12c2 45 [rsp + 0x2c {var_4c_1}].o = xmm0 0x12c7 46 [rsp + 0x3c {var_3c_1}].q = rbp 0x12cc 47 eax = [rsp + 4 {var_74}].d 0x12d0 48 ecx = [rsp {var_78}].d 0x12d5 49 if (eax s<= ecx) then 53 @ 0x12de else 57 @ 0x12d7 0x1264 50 ecx = ecx + 0x51eb850 0x126a 51 ecx = ror.d(ecx, 4) 0x1273 52 if (ecx u< 0xa3d70b) then 60 @ 0x1295 else 63 @ 0x1275 0x12de 53 rax = sx.q([rsp + 4 {var_74}].d) 0x12e3 54 rcx = sx.q([rsp {var_78}].d) 0x12e7 55 edx = 0 0x12eb 56 if (eax s>= ecx) then 74 @ 0x1200 else 79 @ 0x12f1 0x12d7 57 [rsp {var_78}].d = eax 0x12da 58 [rsp + 4 {var_74}].d = ecx 0x12da 59 goto 53 @ 0x12de 0x1295 60 r12d = 0 0x129a 61 r12b = (al & 3) == 0 0x129a 62 goto 39 @ 0x129e 0x1275 63 rcx = sx.q(eax) 0x1278 64 rcx = rcx * 0x51eb851f 0x127f 65 rdx = rcx 0x1282 66 rdx = rdx u>> 0x3f 0x1286 67 rcx = rcx s>> 0x25 0x128a 68 ecx = ecx + edx 0x128c 69 ecx = ecx * 0x64 0x128f 70 edx = eax 0x1291 71 temp0.d = edx 0x1291 72 edx = edx - ecx 0x1293 73 if (temp0.d == ecx) then 39 @ 0x129e else 60 @ 0x1295 0x1200 74 eax = edx * -0x49249249 0x1206 75 eax = eax + 0x12492492 0x120b 76 cond:0 = eax u< 0x24924925 0x1210 77 rdi = r15 0x1213 78 if (cond:0) then 81 else 83 @ 0x1217 0x12f1 79 edx = 0 0x12fd 80 goto 88 @ 0x1300 0x1213 81 rdi = r14 0x1213 82 goto 83 @ 0x1217 0x1217 83 call(0x1040) 0x121c 84 eax = (rbx + 1).d 0x121f 85 cond:1 = ebx s>= [rsp + 8 {var_70}].d 0x1223 86 ebx = eax 0x1225 87 if (cond:1) then 12 @ 0x1312 else 27 @ 0x122b 0x1300 88 edx = edx + [rsp + (rax << 2) + 0x10].d 0x1304 89 rax = rax + 1 0x130b 90 if (rcx != rax) then 88 @ 0x1300 else 91 @ 0x130d 0x130d 91 goto 74 @ 0x1200 int64_t _fini(): 0x1328 0 rsp = rsp - 8 0x132c 1 rsp = rsp + 8 0x1330 2 <return> jump(pop)
POJ_71
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH "} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0xca0 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 - 0xc {var_14}].d = 0 0x1184 9 goto 10 @ 0x118b 0x118b 10 eax = [rbp - 0xc {var_14}].d 0x1191 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11db else 16 @ 0x1197 0x11db 12 eax = [rbp - 8 {var_10}].d 0x11de 13 eax = eax - 1 0x11e1 14 [rbp - 0xc {var_14_1}].d = eax 0x11e1 15 goto 32 @ 0x11e8 0x1197 16 rax = sx.q([rbp - 0xc {var_14}].d) 0x119b 17 rsi = rbp - 0x980 {var_988} 0x11a2 18 rax = rax * 0x18 0x11a6 19 rsi = rsi + rax 0x11a9 20 rax = sx.q([rbp - 0xc {var_14}].d) 0x11ad 21 rdx = rbp - 0x980 {var_988} 0x11b4 22 rax = rax * 0x18 0x11b8 23 rdx = rdx + rax 0x11bb 24 rdx = rdx + 8 0x11bf 25 rdi = 0x2007 {"%lf%lf"} 0x11c6 26 al = 0 0x11c8 27 call(0x1040) 0x11cd 28 eax = [rbp - 0xc {var_14}].d 0x11d0 29 eax = eax + 1 0x11d3 30 [rbp - 0xc {var_14}].d = eax 0x11d6 31 goto 10 @ 0x118b 0x11e8 32 if ([rbp - 0xc {var_14_1}].d s< 0) then 33 @ 0x13f1 else 35 @ 0x11ee 0x13f1 33 [rbp - 0x10 {var_18_3}].d = 1 0x13f1 34 goto 37 @ 0x13f8 0x11ee 35 [rbp - 0x10 {var_18_1}].d = 0 0x11ee 36 goto 39 @ 0x11f5 0x13f8 37 eax = [rbp - 0x10 {var_18_3}].d 0x13fe 38 if (eax s>= [rbp - 8 {var_10}].d) then 41 @ 0x1481 else 52 @ 0x1404 0x11f5 39 eax = [rbp - 0x10 {var_18_1}].d 0x11fb 40 if (eax s>= [rbp - 0xc {var_14_1}].d) then 64 @ 0x12eb else 66 @ 0x1201 0x1481 41 eax = [rbp - 8 {var_10}].d 0x1484 42 eax = eax - 1 0x1487 43 rax = sx.q(eax) 0x1489 44 xmm0 = zx.o([rbp + (rax << 3) - 0xca0].q) 0x1492 45 rdi = 0x200e {"%.4lf\n"} 0x1499 46 al = 1 0x149b 47 call(0x1030) 0x14a0 48 eax = 0 0x14a2 49 rsp = rsp + 0xca0 0x14a9 50 rbp = pop 0x14aa 51 <return> jump(pop) 0x1404 52 eax = [rbp - 0x10 {var_18_3}].d 0x1407 53 eax = eax - 1 0x140a 54 rax = sx.q(eax) 0x140c 55 xmm0 = zx.o([rbp + (rax << 3) - 0xca0].q) 0x1415 56 rax = sx.q([rbp - 0x10 {var_18_3}].d) 0x1419 57 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xca0].q)) 0x1419 58 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0xca0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xca0].q)) 0x1419 59 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0xca0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xca0].q)) 0x1419 60 flag:s = 0 0x1419 61 flag:o = 0 0x1419 62 flag:a = 0 0x1422 63 if (flag:z || flag:c) then 119 @ 0x146e else 120 @ 0x1428 0x12eb 64 [rbp - 0x10 {var_18_2}].d = 1 0x12eb 65 goto 135 @ 0x12f2 0x1201 66 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1205 67 rax = rbp - 0x980 {var_988} 0x120c 68 rcx = rcx * 0x18 0x1210 69 rax = rax + rcx 0x1213 70 xmm0 = zx.o([rax].q) 0x1217 71 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x121b 72 rax = rbp - 0x980 {var_988} 0x1222 73 rcx = rcx * 0x18 0x1226 74 rax = rax + rcx 0x1229 75 xmm0.q = xmm0.q f- fconvert.t([rax].q) 0x122d 76 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1231 77 rax = rbp - 0x980 {var_988} 0x1238 78 rcx = rcx * 0x18 0x123c 79 rax = rax + rcx 0x123f 80 xmm2 = zx.o([rax].q) 0x1243 81 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1247 82 rax = rbp - 0x980 {var_988} 0x124e 83 rcx = rcx * 0x18 0x1252 84 rax = rax + rcx 0x1255 85 xmm2.q = xmm2.q f- fconvert.t([rax].q) 0x1259 86 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x125d 87 rax = rbp - 0x980 {var_988} 0x1264 88 rcx = rcx * 0x18 0x1268 89 rax = rax + rcx 0x126b 90 xmm1 = zx.o([rax + 8].q) 0x1270 91 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1274 92 rax = rbp - 0x980 {var_988} 0x127b 93 rcx = rcx * 0x18 0x127f 94 rax = rax + rcx 0x1282 95 xmm1.q = xmm1.q f- fconvert.t([rax + 8].q) 0x1287 96 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x128b 97 rax = rbp - 0x980 {var_988} 0x1292 98 rcx = rcx * 0x18 0x1296 99 rax = rax + rcx 0x1299 100 xmm3 = zx.o([rax + 8].q) 0x129e 101 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x12a2 102 rax = rbp - 0x980 {var_988} 0x12a9 103 rcx = rcx * 0x18 0x12ad 104 rax = rax + rcx 0x12b0 105 xmm3.q = xmm3.q f- fconvert.t([rax + 8].q) 0x12b5 106 xmm1.q = xmm1.q f* xmm3.q 0x12b9 107 xmm0.q = xmm0.q f* xmm2.q 0x12bd 108 xmm0.q = xmm0.q f+ xmm1.q 0x12c1 109 call(0x1050) 0x12c6 110 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x12ca 111 rax = rbp - 0x980 {var_988} 0x12d1 112 rcx = rcx * 0x18 0x12d5 113 rax = rax + rcx 0x12d8 114 [rax + 0x10].q = xmm0.q 0x12dd 115 eax = [rbp - 0x10 {var_18_1}].d 0x12e0 116 eax = eax + 1 0x12e3 117 [rbp - 0x10 {var_18_1}].d = eax 0x12e6 118 goto 39 @ 0x11f5 0x146e 119 goto 137 @ 0x1473 0x1428 120 eax = [rbp - 0x10 {var_18_3}].d 0x142b 121 eax = eax - 1 0x142e 122 rax = sx.q(eax) 0x1430 123 xmm0 = zx.o([rbp + (rax << 3) - 0xca0].q) 0x1439 124 [rbp - 0x18 {var_20_2}].q = xmm0.q 0x143e 125 rax = sx.q([rbp - 0x10 {var_18_3}].d) 0x1442 126 xmm0 = zx.o([rbp + (rax << 3) - 0xca0].q) 0x144b 127 eax = [rbp - 0x10 {var_18_3}].d 0x144e 128 eax = eax - 1 0x1451 129 rax = sx.q(eax) 0x1453 130 [rbp + (rax << 3) - 0xca0].q = xmm0.q 0x145c 131 xmm0 = zx.o([rbp - 0x18 {var_20_2}].q) 0x1461 132 rax = sx.q([rbp - 0x10 {var_18_3}].d) 0x1465 133 [rbp + (rax << 3) - 0xca0].q = xmm0.q 0x1465 134 goto 119 @ 0x146e 0x12f2 135 eax = [rbp - 0x10 {var_18_2}].d 0x12f8 136 if (eax s>= [rbp - 8 {var_10}].d) then 141 @ 0x13ba else 154 @ 0x12fe 0x1473 137 eax = [rbp - 0x10 {var_18_3}].d 0x1476 138 eax = eax + 1 0x1479 139 [rbp - 0x10 {var_18_3}].d = eax 0x147c 140 goto 37 @ 0x13f8 0x13ba 141 eax = [rbp - 8 {var_10}].d 0x13bd 142 eax = eax - 1 0x13c0 143 rcx = sx.q(eax) 0x13c3 144 rax = rbp - 0x980 {var_988} 0x13ca 145 rcx = rcx * 0x18 0x13ce 146 rax = rax + rcx 0x13d1 147 xmm0 = zx.o([rax + 0x10].q) 0x13d6 148 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x13da 149 [rbp + (rax << 3) - 0xca0].q = xmm0.q 0x13e3 150 eax = [rbp - 0xc {var_14_1}].d 0x13e6 151 eax = eax - 1 0x13e9 152 [rbp - 0xc {var_14_1}].d = eax 0x13ec 153 goto 32 @ 0x11e8 0x12fe 154 eax = [rbp - 0x10 {var_18_2}].d 0x1301 155 eax = eax - 1 0x1304 156 rcx = sx.q(eax) 0x1307 157 rax = rbp - 0x980 {var_988} 0x130e 158 rcx = rcx * 0x18 0x1312 159 rax = rax + rcx 0x1315 160 xmm0 = zx.o([rax + 0x10].q) 0x131a 161 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x131e 162 rax = rbp - 0x980 {var_988} 0x1325 163 rcx = rcx * 0x18 0x1329 164 rax = rax + rcx 0x132c 165 flag:p = is_unordered.q(xmm0.q, fconvert.t([rax + 0x10].q)) 0x132c 166 flag:c = xmm0.q f< fconvert.t([rax + 0x10].q) | is_unordered.q(xmm0.q, fconvert.t([rax + 0x10].q)) 0x132c 167 flag:z = xmm0.q f== fconvert.t([rax + 0x10].q) | is_unordered.q(xmm0.q, fconvert.t([rax + 0x10].q)) 0x132c 168 flag:s = 0 0x132c 169 flag:o = 0 0x132c 170 flag:a = 0 0x1331 171 if (flag:z || flag:c) then 172 @ 0x13a7 else 173 @ 0x1337 0x13a7 172 goto 200 @ 0x13ac 0x1337 173 eax = [rbp - 0x10 {var_18_2}].d 0x133a 174 eax = eax - 1 0x133d 175 rcx = sx.q(eax) 0x1340 176 rax = rbp - 0x980 {var_988} 0x1347 177 rcx = rcx * 0x18 0x134b 178 rax = rax + rcx 0x134e 179 xmm0 = zx.o([rax + 0x10].q) 0x1353 180 [rbp - 0x18 {var_20_1}].q = xmm0.q 0x1358 181 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x135c 182 rax = rbp - 0x980 {var_988} 0x1363 183 rcx = rcx * 0x18 0x1367 184 rax = rax + rcx 0x136a 185 xmm0 = zx.o([rax + 0x10].q) 0x136f 186 eax = [rbp - 0x10 {var_18_2}].d 0x1372 187 eax = eax - 1 0x1375 188 rcx = sx.q(eax) 0x1378 189 rax = rbp - 0x980 {var_988} 0x137f 190 rcx = rcx * 0x18 0x1383 191 rax = rax + rcx 0x1386 192 [rax + 0x10].q = xmm0.q 0x138b 193 xmm0 = zx.o([rbp - 0x18 {var_20_1}].q) 0x1390 194 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x1394 195 rax = rbp - 0x980 {var_988} 0x139b 196 rcx = rcx * 0x18 0x139f 197 rax = rax + rcx 0x13a2 198 [rax + 0x10].q = xmm0.q 0x13a2 199 goto 172 @ 0x13a7 0x13ac 200 eax = [rbp - 0x10 {var_18_2}].d 0x13af 201 eax = eax + 1 0x13b2 202 [rbp - 0x10 {var_18_2}].d = eax 0x13b5 203 goto 135 @ 0x12f2 int64_t _fini(): 0x14b0 0 rsp = rsp - 8 0x14b4 1 rsp = rsp + 8 0x14b8 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 {"UH"} 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 rbp = rsp {__saved_rbp} 0x1154 2 call(0x1170) 0x1159 3 call(0x1250) 0x115e 4 call(0x1440) 0x1163 5 call(0x1510) 0x1168 6 rbp = pop 0x1169 7 <return> jump(pop) uint64_t canf(): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rdi = 0x2004 {"%d%d"} 0x117b 3 rsi = 0x4050 {""} 0x1182 4 rdx = 0x4054 {""} 0x1189 5 al = 0 0x118b 6 call(0x1040) 0x1190 7 [0x4058].d = 0 0x1190 8 goto 9 @ 0x119a 0x119a 9 eax = [0x4058].d 0x11a0 10 ecx = [0x4050].d 0x11a6 11 ecx = ecx - 1 0x11ab 12 if (eax s> ecx) then 13 @ 0x11e8 else 15 @ 0x11b1 0x11e8 13 [0x4058].d = 0 0x11e8 14 goto 26 @ 0x11f2 0x11b1 15 rax = sx.q([0x4058].d) 0x11b8 16 rsi = 0x4060 {""} 0x11bf 17 rax = rax << 2 0x11c3 18 rsi = rsi + rax 0x11c6 19 rdi = 0x200a {"%d"} 0x11cd 20 al = 0 0x11cf 21 call(0x1040) 0x11d4 22 eax = [0x4058].d 0x11da 23 eax = eax + 1 0x11dd 24 [0x4058].d = eax 0x11e3 25 goto 9 @ 0x119a 0x11f2 26 eax = [0x4058].d 0x11f8 27 ecx = [0x4054].d 0x11fe 28 ecx = ecx - 1 0x1203 29 if (eax s> ecx) then 30 @ 0x1240 else 32 @ 0x1209 0x1240 30 rbp = pop 0x1241 31 <return> jump(pop) 0x1209 32 rax = sx.q([0x4058].d) 0x1210 33 rsi = 0x41f0 {""} 0x1217 34 rax = rax << 2 0x121b 35 rsi = rsi + rax 0x121e 36 rdi = 0x200a {"%d"} 0x1225 37 al = 0 0x1227 38 call(0x1040) 0x122c 39 eax = [0x4058].d 0x1232 40 eax = eax + 1 0x1235 41 [0x4058].d = eax 0x123b 42 goto 26 @ 0x11f2 uint64_t px(): 0x1250 0 push(rbp) 0x1251 1 rbp = rsp {__saved_rbp} 0x1254 2 [0x4058].d = 0 0x1254 3 goto 4 @ 0x125e 0x125e 4 eax = [0x4058].d 0x1264 5 ecx = [0x4050].d 0x126a 6 ecx = ecx - 2 0x126f 7 if (eax s> ecx) then 8 @ 0x1345 else 10 @ 0x1275 0x1345 8 [0x4058].d = 0 0x1345 9 goto 14 @ 0x134f 0x1275 10 eax = [0x4058].d 0x127b 11 eax = eax + 1 0x127e 12 [0x4380].d = eax 0x127e 13 goto 18 @ 0x1284 0x134f 14 eax = [0x4058].d 0x1355 15 ecx = [0x4054].d 0x135b 16 ecx = ecx - 2 0x1360 17 if (eax s> ecx) then 22 @ 0x1436 else 24 @ 0x1366 0x1284 18 eax = [0x4380].d 0x128a 19 ecx = [0x4050].d 0x1290 20 ecx = ecx - 1 0x1295 21 if (eax s> ecx) then 28 @ 0x132c else 29 @ 0x129b 0x1436 22 rbp = pop 0x1437 23 <return> jump(pop) 0x1366 24 eax = [0x4058].d 0x136c 25 eax = eax + 1 0x136f 26 [0x4380].d = eax 0x136f 27 goto 35 @ 0x1375 0x132c 28 goto 39 @ 0x1331 0x129b 29 rcx = sx.q([0x4380].d) 0x12a2 30 rax = 0x4060 {""} 0x12a9 31 eax = [rax + (rcx << 2)].d 0x12ac 32 rdx = sx.q([0x4058].d) 0x12b3 33 rcx = 0x4060 {""} 0x12bd 34 if (eax s>= [rcx + (rdx << 2)].d) then 43 @ 0x1313 else 44 @ 0x12c3 0x1375 35 eax = [0x4380].d 0x137b 36 ecx = [0x4054].d 0x1381 37 ecx = ecx - 1 0x1386 38 if (eax s> ecx) then 59 @ 0x141d else 60 @ 0x138c 0x1331 39 eax = [0x4058].d 0x1337 40 eax = eax + 1 0x133a 41 [0x4058].d = eax 0x1340 42 goto 4 @ 0x125e 0x1313 43 goto 66 @ 0x1318 0x12c3 44 rcx = sx.q([0x4058].d) 0x12ca 45 rax = 0x4060 {""} 0x12d1 46 eax = [rax + (rcx << 2)].d 0x12d4 47 [0x4384].d = eax 0x12da 48 rcx = sx.q([0x4380].d) 0x12e1 49 rax = 0x4060 {""} 0x12e8 50 edx = [rax + (rcx << 2)].d 0x12eb 51 rcx = sx.q([0x4058].d) 0x12f2 52 rax = 0x4060 {""} 0x12f9 53 [rax + (rcx << 2)].d = edx 0x12fc 54 edx = [0x4384].d 0x1302 55 rcx = sx.q([0x4380].d) 0x1309 56 rax = 0x4060 {""} 0x1310 57 [rax + (rcx << 2)].d = edx 0x1310 58 goto 43 @ 0x1313 0x141d 59 goto 70 @ 0x1422 0x138c 60 rcx = sx.q([0x4380].d) 0x1393 61 rax = 0x41f0 {""} 0x139a 62 eax = [rax + (rcx << 2)].d 0x139d 63 rdx = sx.q([0x4058].d) 0x13a4 64 rcx = 0x41f0 {""} 0x13ae 65 if (eax s>= [rcx + (rdx << 2)].d) then 74 @ 0x1404 else 75 @ 0x13b4 0x1318 66 eax = [0x4380].d 0x131e 67 eax = eax + 1 0x1321 68 [0x4380].d = eax 0x1327 69 goto 18 @ 0x1284 0x1422 70 eax = [0x4058].d 0x1428 71 eax = eax + 1 0x142b 72 [0x4058].d = eax 0x1431 73 goto 14 @ 0x134f 0x1404 74 goto 90 @ 0x1409 0x13b4 75 rcx = sx.q([0x4058].d) 0x13bb 76 rax = 0x41f0 {""} 0x13c2 77 eax = [rax + (rcx << 2)].d 0x13c5 78 [0x4384].d = eax 0x13cb 79 rcx = sx.q([0x4380].d) 0x13d2 80 rax = 0x41f0 {""} 0x13d9 81 edx = [rax + (rcx << 2)].d 0x13dc 82 rcx = sx.q([0x4058].d) 0x13e3 83 rax = 0x41f0 {""} 0x13ea 84 [rax + (rcx << 2)].d = edx 0x13ed 85 edx = [0x4384].d 0x13f3 86 rcx = sx.q([0x4380].d) 0x13fa 87 rax = 0x41f0 {""} 0x1401 88 [rax + (rcx << 2)].d = edx 0x1401 89 goto 74 @ 0x1404 0x1409 90 eax = [0x4380].d 0x140f 91 eax = eax + 1 0x1412 92 [0x4380].d = eax 0x1418 93 goto 35 @ 0x1375 uint64_t lj(): 0x1440 0 push(rbp) 0x1441 1 rbp = rsp {__saved_rbp} 0x1444 2 [0x4058].d = 0 0x1444 3 goto 4 @ 0x144e 0x144e 4 eax = [0x4058].d 0x1454 5 ecx = [0x4050].d 0x145a 6 ecx = ecx - 1 0x145f 7 if (eax s> ecx) then 8 @ 0x149b else 11 @ 0x1465 0x149b 8 eax = [0x4050].d 0x14a1 9 [0x4058].d = eax 0x14a1 10 goto 21 @ 0x14a7 0x1465 11 rcx = sx.q([0x4058].d) 0x146c 12 rax = 0x4060 {""} 0x1473 13 edx = [rax + (rcx << 2)].d 0x1476 14 rcx = sx.q([0x4058].d) 0x147d 15 rax = 0x4390 {""} 0x1484 16 [rax + (rcx << 2)].d = edx 0x1487 17 eax = [0x4058].d 0x148d 18 eax = eax + 1 0x1490 19 [0x4058].d = eax 0x1496 20 goto 4 @ 0x144e 0x14a7 21 eax = [0x4058].d 0x14ad 22 ecx = [0x4050].d 0x14b3 23 ecx = ecx + [0x4054].d 0x14b9 24 ecx = ecx - 1 0x14be 25 if (eax s> ecx) then 26 @ 0x1502 else 28 @ 0x14c4 0x1502 26 rbp = pop 0x1503 27 <return> jump(pop) 0x14c4 28 eax = [0x4058].d 0x14ca 29 eax = eax - [0x4050].d 0x14d0 30 rcx = sx.q(eax) 0x14d3 31 rax = 0x41f0 {""} 0x14da 32 edx = [rax + (rcx << 2)].d 0x14dd 33 rcx = sx.q([0x4058].d) 0x14e4 34 rax = 0x4390 {""} 0x14eb 35 [rax + (rcx << 2)].d = edx 0x14ee 36 eax = [0x4058].d 0x14f4 37 eax = eax + 1 0x14f7 38 [0x4058].d = eax 0x14fd 39 goto 21 @ 0x14a7 int64_t rintf(): 0x1510 0 push(rbp) 0x1511 1 rbp = rsp {__saved_rbp} 0x1514 2 esi = [0x4390].d 0x151a 3 rdi = 0x200a {"%d"} 0x1521 4 al = 0 0x1523 5 call(0x1030) 0x1528 6 [0x4058].d = 1 0x1528 7 goto 8 @ 0x1532 0x1532 8 eax = [0x4058].d 0x1538 9 ecx = [0x4050].d 0x153e 10 ecx = ecx + [0x4054].d 0x1544 11 ecx = ecx - 1 0x1549 12 if (eax s> ecx) then 13 @ 0x1582 else 18 @ 0x154f 0x1582 13 rdi = 0x200d {"\n"} 0x1589 14 al = 0 0x158b 15 call(0x1030) 0x1590 16 rbp = pop 0x1591 17 <return> jump(pop) 0x154f 18 rcx = sx.q([0x4058].d) 0x1556 19 rax = 0x4390 {""} 0x155d 20 esi = [rax + (rcx << 2)].d 0x1560 21 rdi = 0x2009 {" %d"} 0x1567 22 al = 0 0x1569 23 call(0x1030) 0x156e 24 eax = [0x4058].d 0x1574 25 eax = eax + 1 0x1577 26 [0x4058].d = eax 0x157d 27 goto 8 @ 0x1532 int64_t _fini(): 0x1598 0 rsp = rsp - 8 0x159c 1 rsp = rsp + 8 0x15a0 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) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHx"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x1de78 0x1171 7 rdi = 0x2004 {"%d %d"} 0x1178 8 rsi = rsp + 0xc {var_1de9c} 0x117d 9 rdx = rsp + 0x10 {var_1de98} 0x1182 10 eax = 0 0x1184 11 call(0x1050) 0x1189 12 ecx = [rsp + 0xc {var_1de9c}].d 0x118f 13 if (ecx s<= 0) then 14 @ 0x11f5 else 21 @ 0x1191 0x11f5 14 rdi = 0x2004 {"%d %d"} 0x11fc 15 rsi = rsp + 0x14 {var_1de94} 0x1201 16 rdx = rsp + 8 {var_1dea0} 0x1206 17 eax = 0 0x1208 18 call(0x1050) 0x120d 19 ecx = [rsp + 0x14 {var_1de94}].d 0x1213 20 if (ecx s<= 0) then 23 @ 0x1285 else 25 @ 0x1215 0x1191 21 eax = [rsp + 0x10 {var_1de98}].d 0x1197 22 if (eax s<= 0) then 14 @ 0x11f5 else 27 @ 0x1199 0x1285 23 r13d = [rsp + 0xc {var_1de9c}].d 0x128d 24 if (r13d s<= 0) then 31 @ 0x1655 else 40 @ 0x1293 0x1215 25 eax = [rsp + 8 {var_1dea0}].d 0x121b 26 if (eax s<= 0) then 23 @ 0x1285 else 42 @ 0x121d 0x1199 27 r12 = rsp + 0x140a8 {var_9e00} 0x11a1 28 r15d = 1 0x11a7 29 r14 = 0x2007 {"%d"} 0x11ae 30 goto 46 @ 0x11c8 0x1655 31 eax = 0 0x1657 32 rsp = rsp + 0x1de78 0x165e 33 rbx = pop 0x165f 34 r12 = pop 0x1661 35 r13 = pop 0x1663 36 r14 = pop 0x1665 37 r15 = pop 0x1667 38 rbp = pop 0x1668 39 <return> jump(pop) 0x1293 40 edx = [rsp + 8 {var_1dea0}].d 0x1299 41 if (edx s<= 0) then 47 @ 0x15c5 else 52 @ 0x129f 0x121d 42 r12 = rsp + 0xa138 {var_13d70} 0x1225 43 r15d = 1 0x122b 44 r14 = 0x2007 {"%d"} 0x1232 45 goto 56 @ 0x1258 0x11c8 46 if (eax s<= 0) then 57 @ 0x11b0 else 63 @ 0x11ca 0x15c5 47 r15d = 1 0x15cb 48 rbp = rsp + 0x30 {var_1de78} 0x15d0 49 r12 = 0x200a {"%d "} 0x15d7 50 r14 = 0x200e {"%d\n"} 0x15de 51 goto 66 @ 0x1615 0x129f 52 r12d = [rsp + 0x10 {var_1de98}].d 0x12a4 53 cond:0 = r12d s<= 0 0x12a7 54 [rsp + 0x18 {var_1de90_1}].q = r13 0x12ac 55 if (cond:0) then 68 @ 0x14ae else 75 @ 0x12b2 0x1258 56 if (eax s<= 0) then 87 @ 0x1240 else 93 @ 0x125a 0x11b0 57 rdx = r15 + 1 0x11b4 58 rsi = sx.q(ecx) 0x11b7 59 r12 = r12 + 0x194 0x11be 60 cond:1 = r15 s>= rsi 0x11c1 61 r15 = rdx 0x11c4 62 if (cond:1) then 14 @ 0x11f5 else 46 @ 0x11c8 0x11ca 63 rbx = r12 0x11cd 64 ebp = 0 0x11cf 65 goto 96 @ 0x11d0 0x1615 66 eax = [rsp + 8 {var_1dea0}].d 0x161c 67 if (eax s< 2) then 104 @ 0x15e0 else 118 @ 0x161e 0x14ae 68 rdx = rdx << 2 0x14b2 69 rax = r13 - 1 0x14b6 70 r15d = r13d 0x14b9 71 r15d = r15d & 7 0x14bd 72 cond:2 = rax u>= 7 0x14c1 73 rbp = rdx 0x14c4 74 if (cond:2) then 120 @ 0x14cd else 125 @ 0x14c6 0x12b2 75 rcx = r12 + 1 0x12b7 76 rdx = rdx + 1 0x12bb 77 r13 = r13 + 1 0x12bf 78 [rsp + 0x20 {var_1de88_1}].q = r13 0x12c4 79 r13d = r12d 0x12c7 80 r13d = r13d & 0xfffffff8 0x12cb 81 rax = r13 + 1 0x12cf 82 [rsp + 0x28 {var_1de80_1}].q = rax 0x12d4 83 r14 = rsp + 0x140b8 {var_9df0} 0x12dc 84 rdi = rsp + 0x140a4 {var_9e04} 0x12e4 85 r11d = 1 0x12ea 86 goto 127 @ 0x130d 0x1240 87 rdx = r15 + 1 0x1244 88 rsi = sx.q(ecx) 0x1247 89 r12 = r12 + 0x194 0x124e 90 cond:3 = r15 s>= rsi 0x1251 91 r15 = rdx 0x1254 92 if (cond:3) then 23 @ 0x1285 else 56 @ 0x1258 0x125a 93 rbx = r12 0x125d 94 ebp = 0 0x125f 95 goto 131 @ 0x1260 0x11d0 96 rdi = r14 0x11d3 97 rsi = rbx 0x11d6 98 eax = 0 0x11d8 99 call(0x1050) 0x11dd 100 rax = sx.q([rsp + 0x10 {var_1de98}].d) 0x11e2 101 rbp = rbp + 1 0x11e6 102 rbx = rbx + 4 0x11ed 103 if (rbp s< rax) then 96 @ 0x11d0 else 139 @ 0x11ef 0x15e0 104 rax = sx.q(eax) 0x15e2 105 rcx = r15 * 0x194 0x15e9 106 rcx = rcx + rsp 0x15ec 107 rcx = rcx + 0x30 0x15f0 108 esi = [rcx + (rax << 2)].d 0x15f3 109 rdi = r14 0x15f6 110 eax = 0 0x15f8 111 call(0x1030) 0x15fd 112 rax = r15 + 1 0x1601 113 rcx = sx.q([rsp + 0xc {var_1de9c}].d) 0x1606 114 rbp = rbp + 0x194 0x160d 115 cond:4 = r15 s>= rcx 0x1610 116 r15 = rax 0x1613 117 if (cond:4) then 31 @ 0x1655 else 66 @ 0x1615 0x161e 118 ebx = 0x66 {""} 0x162d 119 goto 141 @ 0x1630 0x14cd 120 r12d = r13d 0x14d0 121 r12d = r12d & 0xfffffff8 0x14d4 122 r14 = rsp + 0xcd4 {var_1d1d4} 0x14dc 123 ebx = 0 0x14de 124 goto 151 @ 0x14e0 0x14c6 125 ebx = 0 0x14c8 126 goto 186 @ 0x157b 0x130d 127 r9 = rsp + 0x9fa4 {var_13f04} 0x1315 128 r8 = rsp + 0xac44 {var_13264} 0x131d 129 r10d = 1 0x1323 130 goto 187 @ 0x134f 0x1260 131 rdi = r14 0x1263 132 rsi = rbx 0x1266 133 eax = 0 0x1268 134 call(0x1050) 0x126d 135 rax = sx.q([rsp + 8 {var_1dea0}].d) 0x1272 136 rbp = rbp + 1 0x1276 137 rbx = rbx + 4 0x127d 138 if (rbp s< rax) then 131 @ 0x1260 else 189 @ 0x127f 0x11ef 139 ecx = [rsp + 0xc {var_1de9c}].d 0x11f3 140 goto 57 @ 0x11b0 0x1630 141 esi = [rbp + (rbx << 2)].d 0x1634 142 rdi = r12 0x1637 143 eax = 0 0x1639 144 call(0x1030) 0x163e 145 rax = sx.q([rsp + 8 {var_1dea0}].d) 0x1643 146 rcx = rbx + 1 0x1647 147 rbx = rbx - 0x64 0x164b 148 cond:5 = rbx s< rax 0x164e 149 rbx = rcx 0x1651 150 if (cond:5) then 141 @ 0x1630 else 191 @ 0x1653 0x14e0 151 rdi = r14 - 0xb0c 0x14e7 152 esi = 0 0x14e9 153 call(0x1040) 0x14ee 154 rdi = r14 - 0x978 0x14f5 155 esi = 0 0x14f7 156 rdx = rbp 0x14fa 157 call(0x1040) 0x14ff 158 rdi = r14 - 0x7e4 0x1506 159 esi = 0 0x1508 160 rdx = rbp 0x150b 161 call(0x1040) 0x1510 162 rdi = r14 - 0x650 0x1517 163 esi = 0 0x1519 164 rdx = rbp 0x151c 165 call(0x1040) 0x1521 166 rdi = r14 - 0x4bc 0x1528 167 esi = 0 0x152a 168 rdx = rbp 0x152d 169 call(0x1040) 0x1532 170 rdi = r14 - 0x328 0x1539 171 esi = 0 0x153b 172 rdx = rbp 0x153e 173 call(0x1040) 0x1543 174 rdi = r14 - 0x194 0x154a 175 esi = 0 0x154c 176 rdx = rbp 0x154f 177 call(0x1040) 0x1554 178 rbx = rbx + 8 0x1558 179 rdi = r14 0x155b 180 esi = 0 0x155d 181 rdx = rbp 0x1560 182 call(0x1040) 0x1565 183 rdx = rbp 0x1568 184 r14 = r14 + 0xca0 0x1572 185 if (r12 != rbx) then 151 @ 0x14e0 else 186 @ 0x157b 0x157b 186 if (r15 == 0) then 192 @ 0x15bf else 193 @ 0x157d 0x134f 187 r15 = r11 * 0x194 0x135a 188 if (r12d u>= 8) then 200 @ 0x1370 else 206 @ 0x135c 0x127f 189 ecx = [rsp + 0x14 {var_1de94}].d 0x1283 190 goto 87 @ 0x1240 0x1653 191 goto 104 @ 0x15e0 0x15bf 192 if ([rsp + 0x18 {var_1de90_1}].d s<= 0) then 31 @ 0x1655 else 47 @ 0x15c5 0x157d 193 rax = rbx * 0x194 0x1584 194 rcx = rsp + 0x30 {var_1de78} 0x1589 195 r14 = rax + rcx 0x158d 196 r14 = r14 + 0x198 0x1594 197 r15 = r15 * 0x194 0x159b 198 ebx = 0 0x159d 199 goto 209 @ 0x15a0 0x1370 200 rsi = r11 0x1373 201 xmm0 = 0 0x1377 202 rax = r8 0x137a 203 r11d = 0 0x137d 204 xmm1 = 0 0x138b 205 goto 215 @ 0x1390 0x135c 206 eax = 0 0x135e 207 ebx = 1 0x1363 208 goto 250 @ 0x1477 0x15a0 209 rdi = r14 + rbx 0x15a4 210 esi = 0 0x15a6 211 call(0x1040) 0x15ab 212 rdx = rbp 0x15ae 213 rbx = rbx + 0x194 0x15b8 214 if (r15 != rbx) then 209 @ 0x15a0 else 192 @ 0x15bf 0x1390 215 xmm3 = [r14 + (r11 << 2) - 0x10].o 0x1397 216 xmm2 = [r14 + (r11 << 2)].o 0x139d 217 xmm4 = [rax - 0x650].d 0x13a5 218 xmm5 = [rax - 0x7e4].d 0x13ad 219 xmm5 = _mm_unpacklo_epi32(xmm5, xmm4.q) 0x13b1 220 xmm4 = [rax - 0x978].d 0x13b9 221 xmm6 = [rax - 0xb0c].d 0x13c1 222 xmm6 = _mm_unpacklo_epi32(xmm6, xmm4.q) 0x13c5 223 xmm6 = _mm_unpacklo_epi64(xmm6, xmm5.q) 0x13c9 224 xmm4 = [rax].d 0x13cd 225 xmm5 = [rax - 0x194].d 0x13d5 226 xmm5 = _mm_unpacklo_epi32(xmm5, xmm4.q) 0x13d9 227 xmm4 = [rax - 0x328].d 0x13e1 228 xmm7 = [rax - 0x4bc].d 0x13e9 229 xmm7 = _mm_unpacklo_epi32(xmm7, xmm4.q) 0x13ed 230 xmm7 = _mm_unpacklo_epi64(xmm7, xmm5.q) 0x13f1 231 xmm4 = _mm_shuffle_epi32(xmm6, 0xf5) 0x13f6 232 xmm6 = _mm_mul_epu32(xmm6, xmm3) 0x13fa 233 xmm5 = _mm_shuffle_epi32(xmm6, 0xe8) 0x13ff 234 xmm3 = _mm_shuffle_epi32(xmm3, 0xf5) 0x1404 235 xmm3 = _mm_mul_epu32(xmm3, xmm4) 0x1408 236 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x140d 237 xmm5 = _mm_unpacklo_epi32(xmm5, xmm3.q) 0x1411 238 xmm0 = _mm_add_epi32(xmm0, xmm5) 0x1415 239 xmm3 = _mm_shuffle_epi32(xmm7, 0xf5) 0x141a 240 xmm7 = _mm_mul_epu32(xmm7, xmm2) 0x141e 241 xmm4 = _mm_shuffle_epi32(xmm7, 0xe8) 0x1423 242 xmm2 = _mm_shuffle_epi32(xmm2, 0xf5) 0x1428 243 xmm2 = _mm_mul_epu32(xmm2, xmm3) 0x142c 244 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1431 245 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1435 246 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1439 247 r11 = r11 + 8 0x143d 248 rax = rax + 0xca0 0x1446 249 if (r13 != r11) then 215 @ 0x1390 else 253 @ 0x144c 0x1477 250 rbp = rbx * 0x194 0x147e 251 rbp = rbp + r9 0x148b 252 goto 263 @ 0x1490 0x144c 253 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1450 254 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x1455 255 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1459 256 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x145e 257 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1462 258 eax = xmm1.d 0x1466 259 rbx = [rsp + 0x28 {var_1de80_1}].q 0x146b 260 cond:6 = r12 == r13 0x146e 261 r11 = rsi 0x1471 262 if (cond:6) then 269 @ 0x1330 else 250 @ 0x1477 0x1490 263 esi = [rbp].d 0x1493 264 esi = esi * [rdi + (rbx << 2)].d 0x1497 265 eax = eax + esi 0x1499 266 rbx = rbx + 1 0x149d 267 rbp = rbp + 0x194 0x14a7 268 if (rcx != rbx) then 263 @ 0x1490 else 277 @ 0x14a9 0x1330 269 rsi = rsp + r15 0x1334 270 rsi = rsi + 0x30 0x1338 271 rsi = rsi + (r10 << 2) 0x133c 272 [rsi].d = eax 0x133e 273 r10 = r10 + 1 0x1342 274 r8 = r8 + 4 0x1346 275 r9 = r9 + 4 0x134d 276 if (r10 == rdx) then 278 @ 0x12f0 else 187 @ 0x134f 0x14a9 277 goto 269 @ 0x1330 0x12f0 278 r11 = r11 + 1 0x12f4 279 r14 = r14 + 0x194 0x12fb 280 rdi = rdi + 0x194 0x1307 281 if (r11 == [rsp + 0x20 {var_1de88_1}].q) then 192 @ 0x15bf else 127 @ 0x130d int64_t _fini(): 0x1670 0 rsp = rsp - 8 0x1674 1 rsp = rsp + 8 0x1678 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"} 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 - 0x7e0 0x115c 4 rdi = 0x2004 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_7ec} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 r9d = [rsp + 0xc {var_7ec}].d 0x1177 9 if (r9d s<= 0) then 10 @ 0x129b else 13 @ 0x117d 0x129b 10 eax = (r9 - 2).d 0x129f 11 rcx = sx.q(eax) 0x129f 12 goto 17 @ 0x12a2 0x117d 13 r15 = rsp + 0x10 {var_7e8} 0x1182 14 r14 = 0x2004 {"%d"} 0x1189 15 ebx = 0 0x118b 16 goto 19 @ 0x1190 0x12a2 17 esi = [rsp + (rcx << 2) + 0x10].d 0x12aa 18 if ((sil & 1) != 0) then 27 @ 0x12b3 else 36 @ 0x12ac 0x1190 19 rdi = r14 0x1193 20 rsi = r15 0x1196 21 eax = 0 0x1198 22 call(0x1040) 0x119d 23 rbx = rbx + 1 0x11a1 24 r9 = sx.q([rsp + 0xc {var_7ec}].d) 0x11a6 25 r15 = r15 + 4 0x11ad 26 if (rbx s< r9) then 19 @ 0x1190 else 39 @ 0x11b2 0x12b3 27 rdi = 0x2004 {"%d"} 0x12ba 28 eax = 0 0x12bc 29 call(0x1030) 0x12c1 30 eax = 0 0x12c3 31 rsp = rsp + 0x7e0 0x12ca 32 rbx = pop 0x12cb 33 r14 = pop 0x12cd 34 r15 = pop 0x12cf 35 <return> jump(pop) 0x12ac 36 rax = sx.q(r9d) 0x12af 37 esi = [rsp + (rax << 2) + 0xc].d 0x12af 38 goto 27 @ 0x12b3 0x11b2 39 if (r9d s<= 0) then 10 @ 0x129b else 40 @ 0x11b8 0x11b8 40 r8d = r9d 0x11bb 41 edx = r8d 0x11be 42 edx = edx & 0xfffffffe 0x11c1 43 esi = 0 0x11c3 44 goto 45 @ 0x11d8 0x11d8 45 eax = [rsp + 0x10 {var_7e8}].d 0x11e0 46 if (r9d != 1) then 47 @ 0x1200 else 49 @ 0x11e2 0x1200 47 ebx = 0 0x1202 48 goto 51 @ 0x1220 0x11e2 49 ecx = 0 0x11e2 50 goto 53 @ 0x11e8 0x1220 51 ecx = [rsp + (rbx << 2) + 0x14].d 0x1226 52 if (eax s<= ecx) then 54 @ 0x1240 else 56 @ 0x1228 0x11e8 53 if ((r8b & 1) == 0) then 59 @ 0x11d0 else 61 @ 0x11ea 0x1240 54 eax = ecx 0x1240 55 goto 63 @ 0x1242 0x1228 56 [rsp + (rbx << 2) + 0x10].d = ecx 0x122c 57 [rsp + (rbx << 2) + 0x14].d = eax 0x1230 58 goto 63 @ 0x1242 0x11d0 59 esi = esi + 1 0x11d6 60 if (esi == r9d) then 66 @ 0x1256 else 45 @ 0x11d8 0x11ea 61 edi = [rsp + (rcx << 2) + 0x14].d 0x11f0 62 if (eax s<= edi) then 59 @ 0x11d0 else 67 @ 0x11f2 0x1242 63 rcx = rbx + 2 0x1246 64 edi = [rsp + (rbx << 2) + 0x18].d 0x124c 65 if (eax s> edi) then 70 @ 0x1210 else 73 @ 0x124e 0x1256 66 if (r9d s< 3) then 10 @ 0x129b else 75 @ 0x1258 0x11f2 67 [rsp + (rcx << 2) + 0x10].d = edi 0x11f6 68 [rsp + (rcx << 2) + 0x14].d = eax 0x11fa 69 goto 59 @ 0x11d0 0x1210 70 [rsp + (rbx << 2) + 0x14].d = edi 0x1214 71 [rsp + (rbx << 2) + 0x18].d = eax 0x1214 72 goto 78 @ 0x1218 0x124e 73 eax = edi 0x1250 74 goto 78 @ 0x1218 0x1258 75 r14 = 0x2007 {"%d,"} 0x125f 76 ebx = 0 0x1261 77 goto 80 @ 0x1280 0x1218 78 rbx = rcx 0x121e 79 if (rdx == rcx) then 53 @ 0x11e8 else 51 @ 0x1220 0x1280 80 esi = [rsp + (rbx << 2) + 0x10].d 0x1288 81 if ((sil & 1) == 0) then 82 @ 0x1270 else 86 @ 0x128a 0x1270 82 rbx = rbx + 1 0x1274 83 eax = (r9 - 2).d 0x1278 84 rcx = sx.q(eax) 0x127e 85 if (rbx s>= rcx) then 17 @ 0x12a2 else 80 @ 0x1280 0x128a 86 rdi = r14 0x128d 87 eax = 0 0x128f 88 call(0x1030) 0x1294 89 r9d = [rsp + 0xc {var_7ec}].d 0x1299 90 goto 82 @ 0x1270 int64_t _fini(): 0x12d4 0 rsp = rsp - 8 0x12d8 1 rsp = rsp + 8 0x12dc 2 <return> jump(pop)
POJ_94
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) double log(double x): 0x1040 0 <return> tailcall([0x4020].q) double pow(double x, double y): 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 {"UHHPE"} 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 - 0x50 0x1178 3 [rbp - 4 {var_c}].d = 0 0x117f 4 rdi = 0x2018 {"%ld"} 0x1186 5 rsi = rbp - 0x10 {var_18} 0x118a 6 al = 0 0x118c 7 call(0x1060) 0x1191 8 xmm0.q = float.d([rbp - 0x10 {var_18}].q) 0x1197 9 call(0x1040) 0x119c 10 [rbp - 0x38 {var_40}].q = xmm0.q 0x11a1 11 xmm0 = zx.o([0x2008].q) 0x11a9 12 call(0x1040) 0x11ae 13 xmm1 = xmm0 0x11b1 14 xmm0 = zx.o([rbp - 0x38 {var_40}].q) 0x11b6 15 xmm0.q = xmm0.q f/ xmm1.q 0x11ba 16 xmm1 = zx.o([0x2010].q) 0x11c2 17 xmm0.q = xmm0.q f+ xmm1.q 0x11c6 18 rax = int.q(ftrunc(xmm0.q)) 0x11cb 19 [rbp - 0x20 {var_28}].q = rax 0x11cf 20 xmm1.q = float.d([rbp - 0x20 {var_28}].q) 0x11d5 21 xmm0 = zx.o([0x2008].q) 0x11dd 22 call(0x1050) 0x11e2 23 rax = int.q(ftrunc(xmm0.q)) 0x11e7 24 [rbp - 0x28 {var_30}].q = rax 0x11eb 25 [rbp - 0x30 {var_38}].q = 1 0x11f3 26 [rbp - 0x18 {var_20}].q = 0 0x11f3 27 goto 28 @ 0x1200 0x1200 28 if ([rbp - 0x28 {var_30}].q s<= 1) then 29 @ 0x1269 else 37 @ 0x1206 0x1269 29 rsi = [rbp - 0x18 {var_20}].q 0x126d 30 rdi = 0x201c {"%ld\n"} 0x1274 31 al = 0 0x1276 32 call(0x1030) 0x127b 33 eax = 0 0x127d 34 rsp = rsp + 0x50 0x1281 35 rbp = pop 0x1282 36 <return> jump(pop) 0x1206 37 rax = [rbp - 0x18 {var_20}].q 0x120a 38 [rbp - 0x40 {var_48_1}].q = rax 0x120e 39 rax = [rbp - 0x10 {var_18}].q 0x1212 40 rdx:rax = sx.o(rax) 0x1214 41 temp0.q = divs.dp.q(rdx:rax, [rbp - 0x28 {var_30}].q) 0x1214 42 temp1.q = mods.dp.q(rdx:rax, [rbp - 0x28 {var_30}].q) 0x1214 43 rax = temp0.q 0x1214 44 rdx = temp1.q 0x1218 45 [rbp - 0x48 {var_50_1}].q = rdx 0x121c 46 rax = [rbp - 0x28 {var_30}].q 0x1220 47 ecx = 0xa {""} 0x1225 48 rdx:rax = sx.o(rax) 0x1227 49 temp0.q = divs.dp.q(rdx:rax, rcx) 0x1227 50 temp1.q = mods.dp.q(rdx:rax, rcx) 0x1227 51 rax = temp0.q 0x1227 52 rdx = temp1.q 0x122a 53 rcx = rax 0x122d 54 rax = [rbp - 0x48 {var_50_1}].q 0x1231 55 rdx:rax = sx.o(rax) 0x1233 56 temp0.q = divs.dp.q(rdx:rax, rcx) 0x1233 57 temp1.q = mods.dp.q(rdx:rax, rcx) 0x1233 58 rax = temp0.q 0x1233 59 rdx = temp1.q 0x1236 60 rcx = rax 0x1239 61 rax = [rbp - 0x40 {var_48_1}].q 0x123d 62 rcx = rcx * [rbp - 0x30 {var_38}].q 0x1242 63 rax = rax + rcx 0x1245 64 [rbp - 0x18 {var_20}].q = rax 0x1249 65 rax = [rbp - 0x28 {var_30}].q 0x124d 66 ecx = 0xa {""} 0x1252 67 rdx:rax = sx.o(rax) 0x1254 68 temp0.q = divs.dp.q(rdx:rax, rcx) 0x1254 69 temp1.q = mods.dp.q(rdx:rax, rcx) 0x1254 70 rax = temp0.q 0x1254 71 rdx = temp1.q 0x1257 72 [rbp - 0x28 {var_30}].q = rax 0x125b 73 rax = [rbp - 0x30 {var_38}].q * 0xa 0x1260 74 [rbp - 0x30 {var_38}].q = rax 0x1264 75 goto 28 @ 0x1200 int64_t _fini(): 0x1288 0 rsp = rsp - 8 0x128c 1 rsp = rsp + 8 0x1290 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 {"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 - 0x4d0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x334 {var_33c}].d = 1 0x1162 5 goto 6 @ 0x116c 0x116c 6 eax = [rbp - 0x334 {var_33c}].d 0x1172 7 eax = eax - 1 0x1175 8 rax = sx.q(eax) 0x117f 9 if ([rbp + (rax << 2) - 0x330].d == 0) then 10 @ 0x11d1 else 12 @ 0x1185 0x11d1 10 [rbp - 0x334 {var_33c_1}].d = 1 0x11d1 11 goto 27 @ 0x11db 0x1185 12 rax = sx.q([rbp - 0x334 {var_33c}].d) 0x118c 13 rsi = rbp - 0x1a0 {var_1a8} 0x1193 14 rax = rax << 2 0x1197 15 rsi = rsi + rax 0x119a 16 rax = sx.q([rbp - 0x334 {var_33c}].d) 0x11a1 17 rdx = rbp - 0x330 {var_338} 0x11a8 18 rax = rax << 2 0x11ac 19 rdx = rdx + rax 0x11af 20 rdi = 0x2004 {"%d %d"} 0x11b6 21 al = 0 0x11b8 22 call(0x1040) 0x11bd 23 eax = [rbp - 0x334 {var_33c}].d 0x11c3 24 eax = eax + 1 0x11c6 25 [rbp - 0x334 {var_33c}].d = eax 0x11cc 26 goto 6 @ 0x116c 0x11db 27 eax = [rbp - 0x334 {var_33c_1}].d 0x11e1 28 eax = eax - 1 0x11e4 29 rax = sx.q(eax) 0x11ee 30 if ([rbp + (rax << 2) - 0x330].d == 0) then 31 @ 0x12bc else 35 @ 0x11f4 0x12bc 31 eax = 0 0x12be 32 rsp = rsp + 0x4d0 0x12c5 33 rbp = pop 0x12c6 34 <return> jump(pop) 0x11f4 35 rax = sx.q([rbp - 0x334 {var_33c_1}].d) 0x11fb 36 [rbp + (rax << 2) - 0x4d0].d = 0 0x1206 37 [rbp - 0x338 {var_340_1}].d = 2 0x1206 38 goto 39 @ 0x1210 0x1210 39 eax = [rbp - 0x338 {var_340_1}].d 0x1216 40 rcx = sx.q([rbp - 0x334 {var_33c_1}].d) 0x1224 41 if (eax s> [rbp + (rcx << 2) - 0x1a0].d) then 42 @ 0x126f else 44 @ 0x122a 0x126f 42 rax = sx.q([rbp - 0x334 {var_33c_1}].d) 0x127e 43 if ([rbp + (rax << 2) - 0x330].d == 0) then 65 @ 0x12a3 else 66 @ 0x1284 0x122a 44 rax = sx.q([rbp - 0x334 {var_33c_1}].d) 0x1231 45 eax = [rbp + (rax << 2) - 0x4d0].d 0x1238 46 rcx = sx.q([rbp - 0x334 {var_33c_1}].d) 0x123f 47 eax = eax + [rbp + (rcx << 2) - 0x330].d 0x1246 48 temp2.d:temp3.d = sx.q(eax) 0x1246 49 edx = temp2.d 0x1246 50 eax = temp3.d 0x1247 51 temp4.d = edx 0x1247 52 temp5.d = eax 0x1247 53 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0x338 {var_340_1}].d) 0x1247 54 temp6.d = edx 0x1247 55 temp7.d = eax 0x1247 56 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0x338 {var_340_1}].d) 0x1247 57 eax = temp0.d 0x1247 58 edx = temp1.d 0x124d 59 rax = sx.q([rbp - 0x334 {var_33c_1}].d) 0x1254 60 [rbp + (rax << 2) - 0x4d0].d = edx 0x125b 61 eax = [rbp - 0x338 {var_340_1}].d 0x1261 62 eax = eax + 1 0x1264 63 [rbp - 0x338 {var_340_1}].d = eax 0x126a 64 goto 39 @ 0x1210 0x12a3 65 goto 73 @ 0x12a8 0x1284 66 rax = sx.q([rbp - 0x334 {var_33c_1}].d) 0x128b 67 esi = [rbp + (rax << 2) - 0x4d0].d 0x1292 68 esi = esi + 1 0x1295 69 rdi = 0x200a {"%d\n"} 0x129c 70 al = 0 0x129e 71 call(0x1030) 0x129e 72 goto 65 @ 0x12a3 0x12a8 73 eax = [rbp - 0x334 {var_33c_1}].d 0x12ae 74 eax = eax + 1 0x12b1 75 [rbp - 0x334 {var_33c_1}].d = eax 0x12b7 76 goto 27 @ 0x11db int64_t _fini(): 0x12cc 0 rsp = rsp - 8 0x12d0 1 rsp = rsp + 8 0x12d4 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 {"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 ([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 push(rax) 0x115b 7 rdi = 0x2004 {"%d"} 0x1162 8 rsi = rsp + 4 {var_38+0x4} 0x1167 9 eax = 0 0x1169 10 call(0x1040) 0x116e 11 rax = sx.q([rsp + 4 {var_38+0x4}].d) 0x1173 12 rsi = rax * 0x51eb851f 0x117a 13 rcx = rsi 0x117d 14 rcx = rcx u>> 0x3f 0x1181 15 rsi = rsi s>> 0x25 0x1185 16 esi = esi + ecx 0x1187 17 ecx = esi * 0x64 0x118a 18 eax = eax - ecx 0x118c 19 ecx = sx.d(al) 0x118f 20 edx = (rcx + (rcx << 2)).d 0x1192 21 ecx = (rcx + (rdx << 3)).d 0x1195 22 ecx = zx.d(cx) 0x1198 23 edx = sx.d(cx) 0x119b 24 ecx = ecx u>> 0xf 0x119e 25 edx = edx u>> 0xb 0x11a1 26 dl = dl + cl 0x11a3 27 r14d = sx.d(dl) 0x11a7 28 ecx = zx.d(r14b) 0x11ab 29 ecx = ecx * 0x32 0x11ae 30 al = al - cl 0x11b0 31 eax = sx.d(al) 0x11b3 32 ecx = eax * 0x67 0x11b6 33 edx = zx.d(cx) 0x11b9 34 ecx = ecx u>> 0xb 0x11bc 35 edx = edx u>> 0xf 0x11bf 36 dl = dl + cl 0x11c1 37 r15d = sx.d(dl) 0x11c5 38 ecx = zx.d(r15b) 0x11c9 39 ecx = ecx << 2 0x11cc 40 ecx = (rcx + (rcx << 2)).d 0x11cf 41 al = al - cl 0x11d1 42 eax = sx.d(al) 0x11d4 43 ecx = eax * 0x67 0x11d7 44 edx = zx.d(cx) 0x11da 45 ecx = ecx u>> 0xa 0x11dd 46 edx = edx u>> 0xf 0x11e0 47 dl = dl + cl 0x11e2 48 r13d = sx.d(dl) 0x11e6 49 ecx = zx.d(r13b) 0x11ea 50 ecx = ecx + ecx 0x11ec 51 ecx = (rcx + (rcx << 2)).d 0x11ef 52 al = al - cl 0x11f1 53 eax = sx.d(al) 0x11f4 54 ecx = eax * 0x67 0x11f7 55 edx = zx.d(cx) 0x11fa 56 ecx = ecx u>> 9 0x11fd 57 edx = edx u>> 0xf 0x1200 58 dl = dl + cl 0x1202 59 ebp = sx.d(dl) 0x1205 60 ecx = zx.d(bpl) 0x1209 61 ecx = (rcx + (rcx << 2)).d 0x120c 62 al = al - cl 0x120e 63 r12d = sx.d(al) 0x1212 64 rbx = 0x2007 {"%d\n"} 0x1219 65 rdi = rbx 0x121c 66 eax = 0 0x121e 67 call(0x1030) 0x1223 68 rdi = rbx 0x1226 69 esi = r14d 0x1229 70 eax = 0 0x122b 71 call(0x1030) 0x1230 72 rdi = rbx 0x1233 73 esi = r15d 0x1236 74 eax = 0 0x1238 75 call(0x1030) 0x123d 76 rdi = rbx 0x1240 77 esi = r13d 0x1243 78 eax = 0 0x1245 79 call(0x1030) 0x124a 80 rdi = rbx 0x124d 81 esi = ebp 0x124f 82 eax = 0 0x1251 83 call(0x1030) 0x1256 84 rdi = rbx 0x1259 85 esi = r12d 0x125c 86 eax = 0 0x125e 87 call(0x1030) 0x1263 88 eax = 0 0x1265 89 rsp = rsp + 8 0x1269 90 rbx = pop 0x126a 91 r12 = pop 0x126c 92 r13 = pop 0x126e 93 r14 = pop 0x1270 94 r15 = pop 0x1272 95 rbp = pop 0x1273 96 <return> jump(pop) int64_t _fini(): 0x1278 0 rsp = rsp - 8 0x127c 1 rsp = rsp + 8 0x1280 2 <return> jump(pop)
POJ_97
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t 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 = 0x2004 {"%d"} 0x115f 4 rsi = rbp - 4 {var_c} 0x1163 5 al = 0 0x1165 6 call(0x1040) 0x116a 7 eax = [rbp - 4 {var_c}].d 0x116d 8 ecx = 0x2710 {""} 0x1172 9 temp2.d:temp3.d = sx.q(eax) 0x1172 10 edx = temp2.d 0x1172 11 eax = temp3.d 0x1173 12 temp4.d = edx 0x1173 13 temp5.d = eax 0x1173 14 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x1173 15 temp6.d = edx 0x1173 16 temp7.d = eax 0x1173 17 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x1173 18 eax = temp0.d 0x1173 19 edx = temp1.d 0x1175 20 [rbp - 8 {var_10}].d = eax 0x1178 21 eax = [rbp - 4 {var_c}].d 0x117b 22 ecx = [rbp - 8 {var_10}].d * 0x2710 0x1182 23 eax = eax - ecx 0x1184 24 ecx = 0x3e8 {""} 0x1189 25 temp8.d:temp9.d = sx.q(eax) 0x1189 26 edx = temp8.d 0x1189 27 eax = temp9.d 0x118a 28 temp10.d = edx 0x118a 29 temp11.d = eax 0x118a 30 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x118a 31 temp12.d = edx 0x118a 32 temp13.d = eax 0x118a 33 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x118a 34 eax = temp0.d 0x118a 35 edx = temp1.d 0x118c 36 [rbp - 0xc {var_14}].d = eax 0x118f 37 eax = [rbp - 4 {var_c}].d 0x1192 38 ecx = [rbp - 8 {var_10}].d * 0x2710 0x1199 39 eax = eax - ecx 0x119b 40 ecx = [rbp - 0xc {var_14}].d * 0x3e8 0x11a2 41 eax = eax - ecx 0x11a4 42 ecx = 0x64 {""} 0x11a9 43 temp14.d:temp15.d = sx.q(eax) 0x11a9 44 edx = temp14.d 0x11a9 45 eax = temp15.d 0x11aa 46 temp16.d = edx 0x11aa 47 temp17.d = eax 0x11aa 48 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x11aa 49 temp18.d = edx 0x11aa 50 temp19.d = eax 0x11aa 51 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x11aa 52 eax = temp0.d 0x11aa 53 edx = temp1.d 0x11ac 54 [rbp - 0x10 {var_18}].d = eax 0x11af 55 eax = [rbp - 4 {var_c}].d 0x11b2 56 ecx = [rbp - 8 {var_10}].d * 0x2710 0x11b9 57 eax = eax - ecx 0x11bb 58 ecx = [rbp - 0xc {var_14}].d * 0x3e8 0x11c2 59 eax = eax - ecx 0x11c4 60 ecx = [rbp - 0x10 {var_18}].d * 0x64 0x11c8 61 eax = eax - ecx 0x11ca 62 ecx = 0xa {""} 0x11cf 63 temp20.d:temp21.d = sx.q(eax) 0x11cf 64 edx = temp20.d 0x11cf 65 eax = temp21.d 0x11d0 66 temp22.d = edx 0x11d0 67 temp23.d = eax 0x11d0 68 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x11d0 69 temp24.d = edx 0x11d0 70 temp25.d = eax 0x11d0 71 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x11d0 72 eax = temp0.d 0x11d0 73 edx = temp1.d 0x11d2 74 [rbp - 0x14 {var_1c}].d = eax 0x11d5 75 eax = [rbp - 4 {var_c}].d 0x11d8 76 ecx = [rbp - 8 {var_10}].d * 0x2710 0x11df 77 eax = eax - ecx 0x11e1 78 ecx = [rbp - 0xc {var_14}].d * 0x3e8 0x11e8 79 eax = eax - ecx 0x11ea 80 ecx = [rbp - 0x10 {var_18}].d * 0x64 0x11ee 81 eax = eax - ecx 0x11f0 82 ecx = [rbp - 0x14 {var_1c}].d * 0xa 0x11f4 83 eax = eax - ecx 0x11f6 84 [rbp - 0x18 {var_20}].d = eax 0x11fd 85 if ([rbp - 8 {var_10}].d != 0) then 86 @ 0x126c else 95 @ 0x1207 0x126c 86 esi = [rbp - 0x18 {var_20}].d 0x126f 87 edx = [rbp - 0x14 {var_1c}].d 0x1272 88 ecx = [rbp - 0x10 {var_18}].d 0x1275 89 r8d = [rbp - 0xc {var_14}].d 0x1279 90 r9d = [rbp - 8 {var_10}].d 0x127d 91 rdi = 0x2007 {"%d%d%d%d%d\n"} 0x1284 92 al = 0 0x1286 93 call(0x1030) 0x1286 94 goto 96 @ 0x128b 0x1207 95 if ([rbp - 0xc {var_14}].d != 0) then 99 @ 0x124c else 107 @ 0x1211 0x128b 96 rsp = rsp + 0x20 0x128f 97 rbp = pop 0x1290 98 <return> jump(pop) 0x124c 99 esi = [rbp - 0x18 {var_20}].d 0x124f 100 edx = [rbp - 0x14 {var_1c}].d 0x1252 101 ecx = [rbp - 0x10 {var_18}].d 0x1255 102 r8d = [rbp - 0xc {var_14}].d 0x1259 103 rdi = 0x2009 {"%d%d%d%d\n"} 0x1260 104 al = 0 0x1262 105 call(0x1030) 0x1262 106 goto 108 @ 0x1267 0x1211 107 if ([rbp - 0x10 {var_18}].d != 0) then 109 @ 0x1230 else 116 @ 0x1217 0x1267 108 goto 96 @ 0x128b 0x1230 109 esi = [rbp - 0x18 {var_20}].d 0x1233 110 edx = [rbp - 0x14 {var_1c}].d 0x1236 111 ecx = [rbp - 0x10 {var_18}].d 0x1239 112 rdi = 0x200b {"%d%d%d\n"} 0x1240 113 al = 0 0x1242 114 call(0x1030) 0x1242 115 goto 122 @ 0x1247 0x1217 116 esi = [rbp - 0x18 {var_20}].d 0x121a 117 edx = [rbp - 0x14 {var_1c}].d 0x121d 118 rdi = 0x200d {"%d%d\n"} 0x1224 119 al = 0 0x1226 120 call(0x1030) 0x122b 121 goto 122 @ 0x1247 0x1247 122 goto 108 @ 0x1267 int64_t _fini(): 0x1298 0 rsp = rsp - 8 0x129c 1 rsp = rsp + 8 0x12a0 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 {"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 - 0xd0 0x115b 3 rdi = 0x2004 {"%d"} 0x1162 4 rsi = rbp - 4 {var_c} 0x1166 5 al = 0 0x1168 6 call(0x1040) 0x116d 7 [rbp - 0xc8 {var_d0}].d = 1 0x116d 8 goto 9 @ 0x1177 0x1177 9 eax = [rbp - 0xc8 {var_d0}].d 0x1180 10 if (eax s> [rbp - 4 {var_c}].d) then 11 @ 0x1256 else 14 @ 0x1186 0x1256 11 rsp = rsp + 0xd0 0x125d 12 rbp = pop 0x125e 13 <return> jump(pop) 0x1186 14 rax = sx.q([rbp - 0xc8 {var_d0}].d) 0x118d 15 rsi = rbp - 0x60 {var_68} 0x1191 16 rax = rax << 2 0x1195 17 rsi = rsi + rax 0x1198 18 rdi = 0x2004 {"%d"} 0x119f 19 al = 0 0x11a1 20 call(0x1040) 0x11a6 21 [rbp - 0xbc {var_c4_1}].d = 1 0x11b0 22 [rbp - 0xb8 {var_c0_1}].d = 1 0x11ba 23 [rbp - 0xc4 {var_cc_1}].d = 3 0x11ba 24 goto 25 @ 0x11c4 0x11c4 25 eax = [rbp - 0xc4 {var_cc_1}].d 0x11ca 26 rcx = sx.q([rbp - 0xc8 {var_d0}].d) 0x11d5 27 if (eax s> [rbp + (rcx << 2) - 0x60].d) then 28 @ 0x1221 else 38 @ 0x11db 0x1221 28 rax = sx.q([rbp - 0xc8 {var_d0}].d) 0x1228 29 rax = sx.q([rbp + (rax << 2) - 0x60].d) 0x122d 30 esi = [rbp + (rax << 2) - 0xc0].d 0x1234 31 rdi = 0x2007 {"%d\n"} 0x123b 32 al = 0 0x123d 33 call(0x1030) 0x1242 34 eax = [rbp - 0xc8 {var_d0}].d 0x1248 35 eax = eax + 1 0x124b 36 [rbp - 0xc8 {var_d0}].d = eax 0x1251 37 goto 9 @ 0x1177 0x11db 38 eax = [rbp - 0xc4 {var_cc_1}].d 0x11e1 39 eax = eax - 1 0x11e4 40 rax = sx.q(eax) 0x11e6 41 ecx = [rbp + (rax << 2) - 0xc0].d 0x11ed 42 eax = [rbp - 0xc4 {var_cc_1}].d 0x11f3 43 eax = eax - 2 0x11f6 44 rax = sx.q(eax) 0x11f8 45 ecx = ecx + [rbp + (rax << 2) - 0xc0].d 0x11ff 46 rax = sx.q([rbp - 0xc4 {var_cc_1}].d) 0x1206 47 [rbp + (rax << 2) - 0xc0].d = ecx 0x120d 48 eax = [rbp - 0xc4 {var_cc_1}].d 0x1213 49 eax = eax + 1 0x1216 50 [rbp - 0xc4 {var_cc_1}].d = eax 0x121c 51 goto 25 @ 0x11c4 int64_t _fini(): 0x1264 0 rsp = rsp - 8 0x1268 1 rsp = rsp + 8 0x126c 2 <return> jump(pop)
POJ_61
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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 - 0x1a0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rdi = 0x2004 {"%d"} 0x1169 5 rsi = rbp - 8 {var_10} 0x116d 6 al = 0 0x116f 7 call(0x1040) 0x1174 8 [rbp - 0xc {var_14}].d = 0 0x1174 9 goto 10 @ 0x117b 0x117b 10 eax = [rbp - 0xc {var_14}].d 0x1181 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11b5 else 14 @ 0x1187 0x11b5 12 [rbp - 0xc {var_14_1}].d = 1 0x11b5 13 goto 25 @ 0x11bc 0x1187 14 rax = sx.q([rbp - 0xc {var_14}].d) 0x118b 15 rsi = rbp - 0x1a0 {var_1a8} 0x1192 16 rax = rax << 2 0x1196 17 rsi = rsi + rax 0x1199 18 rdi = 0x2007 {"%d\n"} 0x11a0 19 al = 0 0x11a2 20 call(0x1040) 0x11a7 21 eax = [rbp - 0xc {var_14}].d 0x11aa 22 eax = eax + 1 0x11ad 23 [rbp - 0xc {var_14}].d = eax 0x11b0 24 goto 10 @ 0x117b 0x11bc 25 eax = [rbp - 0xc {var_14_1}].d 0x11c2 26 if (eax s>= [rbp - 8 {var_10}].d) then 27 @ 0x121a else 29 @ 0x11c8 0x121a 27 [rbp - 0xc {var_14_2}].d = 2 0x121a 28 goto 32 @ 0x1221 0x11c8 29 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x11cc 30 eax = [rbp + (rax << 2) - 0x1a0].d 0x11d9 31 if (eax s<= [rbp - 0x1a0 {var_1a8}].d) then 34 @ 0x1207 else 35 @ 0x11df 0x1221 32 eax = [rbp - 0xc {var_14_2}].d 0x1227 33 if (eax s>= [rbp - 8 {var_10}].d) then 44 @ 0x1268 else 56 @ 0x122d 0x1207 34 goto 59 @ 0x120c 0x11df 35 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x11e3 36 eax = [rbp + (rax << 2) - 0x1a0].d 0x11ea 37 [rbp - 0x10 {var_18_1}].d = eax 0x11ed 38 ecx = [rbp - 0x1a0 {var_1a8}].d 0x11f3 39 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x11f7 40 [rbp + (rax << 2) - 0x1a0].d = ecx 0x11fe 41 eax = [rbp - 0x10 {var_18_1}].d 0x1201 42 [rbp - 0x1a0 {var_1a8}].d = eax 0x1201 43 goto 34 @ 0x1207 0x1268 44 esi = [rbp - 0x1a0 {var_1a8}].d 0x126e 45 rdi = 0x2007 {"%d\n"} 0x1275 46 al = 0 0x1277 47 call(0x1030) 0x127c 48 esi = [rbp - 0x19c {var_1a4}].d 0x1282 49 rdi = 0x2004 {"%d"} 0x1289 50 al = 0 0x128b 51 call(0x1030) 0x1290 52 eax = 0 0x1292 53 rsp = rsp + 0x1a0 0x1299 54 rbp = pop 0x129a 55 <return> jump(pop) 0x122d 56 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1231 57 eax = [rbp + (rax << 2) - 0x1a0].d 0x123e 58 if (eax s<= [rbp - 0x19c {var_1a4}].d) then 63 @ 0x1255 else 64 @ 0x1244 0x120c 59 eax = [rbp - 0xc {var_14_1}].d 0x120f 60 eax = eax + 1 0x1212 61 [rbp - 0xc {var_14_1}].d = eax 0x1215 62 goto 25 @ 0x11bc 0x1255 63 goto 68 @ 0x125a 0x1244 64 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1248 65 eax = [rbp + (rax << 2) - 0x1a0].d 0x124f 66 [rbp - 0x19c {var_1a4}].d = eax 0x124f 67 goto 63 @ 0x1255 0x125a 68 eax = [rbp - 0xc {var_14_2}].d 0x125d 69 eax = eax + 1 0x1260 70 [rbp - 0xc {var_14_2}].d = eax 0x1263 71 goto 32 @ 0x1221 int64_t _fini(): 0x12a0 0 rsp = rsp - 8 0x12a4 1 rsp = rsp + 8 0x12a8 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) 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 - 0x238 0x1171 7 rdi = 0x2004 {"%d,%d"} 0x1178 8 rsi = rsp + 0xc {var_25c} 0x117d 9 rdx = rsp + 8 {var_260} 0x1182 10 eax = 0 0x1184 11 call(0x1050) 0x1189 12 r12d = [rsp + 0xc {var_25c}].d 0x1191 13 if (r12d s<= 0) then 14 @ 0x13cc else 18 @ 0x1197 0x13cc 14 rdi = 0x2010 {"No"} 0x13d3 15 eax = 0 0x13d5 16 call(0x1030) 0x13d5 17 goto 23 @ 0x13da 0x1197 18 r15 = rsp + 0xa0 {var_1c8} 0x119f 19 eax = [rsp + 8 {var_260}].d 0x11a3 20 r14 = 0x200d {"%d"} 0x11aa 21 r13d = 0 0x11ad 22 goto 32 @ 0x11c2 0x13da 23 eax = 0 0x13dc 24 rsp = rsp + 0x238 0x13e3 25 rbx = pop 0x13e4 26 r12 = pop 0x13e6 27 r13 = pop 0x13e8 28 r14 = pop 0x13ea 29 r15 = pop 0x13ec 30 rbp = pop 0x13ed 31 <return> jump(pop) 0x11c2 32 if (eax s<= 0) then 33 @ 0x11b0 else 37 @ 0x11c4 0x11b0 33 r13 = r13 + 1 0x11b4 34 rcx = sx.q(r12d) 0x11b7 35 r15 = r15 + 0x28 0x11be 36 if (r13 s>= rcx) then 40 @ 0x11f9 else 32 @ 0x11c2 0x11c4 37 rbx = r15 0x11c7 38 ebp = 0 0x11c9 39 goto 41 @ 0x11d0 0x11f9 40 if (r12d s<= 0) then 14 @ 0x13cc else 49 @ 0x11ff 0x11d0 41 rdi = r14 0x11d3 42 rsi = rbx 0x11d6 43 eax = 0 0x11d8 44 call(0x1050) 0x11dd 45 rbp = rbp + 1 0x11e1 46 rax = sx.q([rsp + 8 {var_260}].d) 0x11e6 47 rbx = rbx + 4 0x11ed 48 if (rbp s< rax) then 41 @ 0x11d0 else 59 @ 0x11ef 0x11ff 49 r9d = [rsp + 8 {var_260}].d 0x1204 50 edx = r12d 0x1207 51 r8 = r9 0x120a 52 r8 = r8 - 1 0x120e 53 rsi = rsp + 0xa4 {var_1c4} 0x1216 54 r11 = r8 0x1219 55 r11 = r11 & 0xfffffffffffffffe 0x121d 56 r11 = neg.q(r11) 0x1220 57 ebx = 0 0x1222 58 goto 61 @ 0x1245 0x11ef 59 r12d = [rsp + 0xc {var_25c}].d 0x11f4 60 goto 33 @ 0x11b0 0x1245 61 r10 = rbx + (rbx << 2) 0x1249 62 edi = [rsp + (r10 << 3) + 0xa0].d 0x1251 63 [rsp + (rbx << 2) + 0x70].d = edi 0x1255 64 [rsp + (rbx << 2) + 0x10].d = 0 0x125d 65 cond:0 = r9d != 2 0x1261 66 if (r9d s< 2) then 67 @ 0x1234 else 70 @ 0x1263 0x1234 67 rbx = rbx + 1 0x1238 68 rsi = rsi + 0x28 0x123f 69 if (rbx == rdx) then 72 @ 0x12d5 else 61 @ 0x1245 0x1263 70 eax = 1 0x1268 71 if (cond:0) then 73 @ 0x1290 else 75 @ 0x126e 0x12d5 72 if (r12d s<= 0) then 14 @ 0x13cc else 76 @ 0x12db 0x1290 73 eax = 1 0x1295 74 goto 84 @ 0x12b2 0x126e 75 if ((r8b & 1) == 0) then 86 @ 0x1230 else 88 @ 0x1270 0x12db 76 rdx = rdx << 2 0x12df 77 rdi = rsp + 0x40 {var_228} 0x12e4 78 esi = 0 0x12e6 79 call(0x1040) 0x12eb 80 r14 = 0x200a {"%d+%d"} 0x12f2 81 ebx = 0 0x12f4 82 r15d = 0 0x12f7 83 goto 92 @ 0x1313 0x12b2 84 ecx = [rsi + (rax << 2) - 4].d 0x12b8 85 if (ecx s<= edi) then 93 @ 0x12c0 else 95 @ 0x12ba 0x1230 86 [rsp + (rbx << 2) + 0x70].d = edi 0x1230 87 goto 67 @ 0x1234 0x1270 88 rcx = rsp + (r10 << 3) 0x1274 89 rcx = rcx + 0xa0 0x127b 90 ebp = [rcx + (rax << 2)].d 0x1280 91 if (ebp s<= edi) then 86 @ 0x1230 else 98 @ 0x1282 0x1313 92 if (r12d s<= 0) then 101 @ 0x1355 else 102 @ 0x1315 0x12c0 93 ebp = [rsi + (rax << 2)].d 0x12c5 94 if (ebp s<= edi) then 106 @ 0x12a0 else 110 @ 0x12c7 0x12ba 95 [rsp + (rbx << 2) + 0x10].d = eax 0x12be 96 edi = ecx 0x12be 97 goto 93 @ 0x12c0 0x1282 98 [rsp + (rbx << 2) + 0x10].d = eax 0x1286 99 edi = ebp 0x1288 100 goto 86 @ 0x1230 0x1355 101 if ([rsp + (rbx << 2) + 0x40].d != r12d) then 114 @ 0x1300 else 117 @ 0x1357 0x1315 102 eax = [rsp + (rbx << 2) + 0x70].d 0x1319 103 rcx = sx.q([rsp + (rbx << 2) + 0x10].d) 0x131e 104 edx = r12d 0x1325 105 if (r12d != 1) then 125 @ 0x1380 else 131 @ 0x1327 0x12a0 106 rcx = r11 + rax 0x12a4 107 rcx = rcx + 2 0x12a8 108 rax = rax + 2 0x12b0 109 if (rcx == 1) then 75 @ 0x126e else 84 @ 0x12b2 0x12c7 110 ecx = (rax + 1).d 0x12ca 111 [rsp + (rbx << 2) + 0x10].d = ecx 0x12ce 112 edi = ebp 0x12d0 113 goto 106 @ 0x12a0 0x1300 114 rbx = rbx + 1 0x1304 115 rax = sx.q(r12d) 0x130a 116 if (rbx s>= rax) then 133 @ 0x13ca else 92 @ 0x1313 0x1357 117 edx = [rsp + (rbx << 2) + 0x10].d 0x135b 118 rdi = r14 0x135e 119 esi = ebx 0x1360 120 eax = 0 0x1362 121 call(0x1030) 0x1367 122 r15d = r15d + 1 0x136b 123 r12d = [rsp + 0xc {var_25c}].d 0x1370 124 goto 114 @ 0x1300 0x1380 125 edi = edx 0x1382 126 edi = edi & 0xfffffffe 0x1385 127 rbp = rsp + (rcx << 2) 0x1389 128 rbp = rbp + 0xa0 0x1390 129 esi = 0 0x1392 130 goto 134 @ 0x13b4 0x1327 131 esi = 0 0x1327 132 goto 135 @ 0x132c 0x13ca 133 if (r15d != 0) then 23 @ 0x13da else 14 @ 0x13cc 0x13b4 134 if (eax s> [rbp].d) then 136 @ 0x13be else 137 @ 0x13b6 0x132c 135 if ((dl & 1) == 0) then 101 @ 0x1355 else 139 @ 0x132e 0x13be 136 if (eax s> [rbp + 0x28].d) then 143 @ 0x13a0 else 146 @ 0x13c0 0x13b6 137 [rsp + (rbx << 2) + 0x40].d = [rsp + (rbx << 2) + 0x40].d + 1 0x13b6 138 goto 136 @ 0x13be 0x132e 139 rdx = rsi + (rsi << 2) 0x1332 140 rdx = rsp + (rdx << 3) 0x1336 141 rdx = rdx + 0xa0 0x1340 142 if (eax s> [rdx + (rcx << 2)].d) then 101 @ 0x1355 else 148 @ 0x1342 0x13a0 143 rsi = rsi + 2 0x13a4 144 rbp = rbp + 0x50 0x13ab 145 if (rdi == rsi) then 135 @ 0x132c else 134 @ 0x13b4 0x13c0 146 [rsp + (rbx << 2) + 0x40].d = [rsp + (rbx << 2) + 0x40].d + 1 0x13c5 147 goto 143 @ 0x13a0 0x1342 148 [rsp + (rbx << 2) + 0x40].d = [rsp + (rbx << 2) + 0x40].d + 1 0x1347 149 goto 101 @ 0x1355 int64_t _fini(): 0x13f4 0 rsp = rsp - 8 0x13f8 1 rsp = rsp + 8 0x13fc 2 <return> jump(pop)
POJ_35
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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) 0x117e 12 if ([rsp + 0xc {var_68c}].d s<= 0) then 13 @ 0x11e6 else 14 @ 0x1180 0x11e6 13 if ([rsp + 0xc {var_68c}].d s<= 0) then 18 @ 0x1531 else 27 @ 0x11ec 0x1180 14 r15 = rsp + 0x20 {var_678} 0x1185 15 r14 = 0x2007 {"%d"} 0x118c 16 r12d = 0 0x118f 17 goto 32 @ 0x11b7 0x1531 18 eax = 0 0x1533 19 rsp = rsp + 0x668 0x153a 20 rbx = pop 0x153b 21 r12 = pop 0x153d 22 r13 = pop 0x153f 23 r14 = pop 0x1541 24 r15 = pop 0x1543 25 rbp = pop 0x1544 26 <return> jump(pop) 0x11ec 27 r12 = rsp + 0x20 {var_678} 0x11f1 28 ebp = 0xffffffff {""} 0x11f6 29 r14 = 0x200a {"%d %d\n"} 0x11fd 30 r15d = 0 0x1200 31 goto 33 @ 0x1229 0x11b7 32 if ([rsp + 8 {var_690}].d s<= 0) then 35 @ 0x11a0 else 39 @ 0x11b9 0x1229 33 eax = [rsp + 8 {var_690}].d 0x122f 34 if (eax s<= 0) then 42 @ 0x1210 else 47 @ 0x1231 0x11a0 35 r12 = r12 + 1 0x11a4 36 rax = sx.q([rsp + 0xc {var_68c}].d) 0x11a9 37 r15 = r15 + 0x50 0x11b0 38 if (r12 s>= rax) then 13 @ 0x11e6 else 32 @ 0x11b7 0x11b9 39 rbx = r15 0x11bc 40 ebp = 0 0x11be 41 goto 66 @ 0x11c0 0x1210 42 r15 = r15 + 1 0x1214 43 rax = sx.q([rsp + 0xc {var_68c}].d) 0x1219 44 r12 = r12 + 0x50 0x121d 45 ebp = ebp + 1 0x1223 46 if (r15 s>= rax) then 18 @ 0x1531 else 33 @ 0x1229 0x1231 47 ecx = ebp 0x1233 48 rcx = rcx + (rcx << 2) 0x1237 49 rcx = rcx << 4 0x123b 50 rcx = rcx + rsp 0x123e 51 rcx = rcx + 0x20 0x1242 52 [rsp + 0x10 {var_688_1}].q = rcx 0x1247 53 rcx = r15 + (r15 << 2) 0x124b 54 rcx = rcx << 4 0x124f 55 r13 = rsp + rcx 0x1253 56 r13 = r13 + 0x20 0x1257 57 ecx = 0xffffffff {""} 0x125c 58 ecx = ecx + r15d 0x125f 59 rcx = rcx + (rcx << 2) 0x1263 60 rcx = rcx << 4 0x1267 61 rcx = rcx + rsp 0x126a 62 rcx = rcx + 0x20 0x126e 63 [rsp + 0x18 {var_680}].q = rcx 0x1273 64 ebx = 0 0x1275 65 goto 74 @ 0x12a5 0x11c0 66 rdi = r14 0x11c3 67 rsi = rbx 0x11c6 68 eax = 0 0x11c8 69 call(0x1040) 0x11cd 70 rbp = rbp + 1 0x11d1 71 rax = sx.q([rsp + 8 {var_690}].d) 0x11d6 72 rbx = rbx + 4 0x11dd 73 if (rbp s< rax) then 66 @ 0x11c0 else 75 @ 0x11df 0x12a5 74 if (r15 == 0) then 76 @ 0x1300 else 79 @ 0x12a7 0x11df 75 goto 35 @ 0x11a0 0x1300 76 rax = r15 0x1303 77 rax = rax | rbx 0x1306 78 if (rax != 0) then 82 @ 0x1329 else 83 @ 0x1308 0x12a7 79 rcx = sx.q([rsp + 0xc {var_68c}].d) 0x12ac 80 rcx = rcx - 1 0x12b3 81 if (r15 s>= rcx) then 76 @ 0x1300 else 85 @ 0x12b8 0x1329 82 if (r15 != 0) then 86 @ 0x1360 else 90 @ 0x132b 0x1308 83 eax = [rsp + 0x20 {var_678}].d 0x1310 84 if (eax s< [rsp + 0x24 {var_674}].d) then 82 @ 0x1329 else 93 @ 0x1316 0x12b8 85 if (rbx == 0) then 76 @ 0x1300 else 94 @ 0x12ba 0x1360 86 rax = sx.q([rsp + 0xc {var_68c}].d) 0x1365 87 rcx = rax - 1 0x1369 88 edx = ecx 0x136e 89 if (r15 != rdx) then 97 @ 0x13b0 else 101 @ 0x1373 0x132b 90 rax = sx.q([rsp + 8 {var_690}].d) 0x1330 91 ecx = (rax - 1).d 0x1336 92 if (rbx != rcx) then 86 @ 0x1360 else 102 @ 0x1338 0x1316 93 if (eax s< [rsp + 0x70 {var_628}].d) then 82 @ 0x1329 else 104 @ 0x1318 0x12ba 94 eax = eax - 1 0x12bd 95 rax = sx.q(eax) 0x12c2 96 if (rbx s>= rax) then 76 @ 0x1300 else 110 @ 0x12c4 0x13b0 97 rax = sx.q([rsp + 0xc {var_68c}].d) 0x13b5 98 rdx = rax - 1 0x13b9 99 ecx = edx 0x13be 100 if (r15 != rcx) then 114 @ 0x1423 else 115 @ 0x13c0 0x1373 101 if (rbx != 0) then 97 @ 0x13b0 else 119 @ 0x1375 0x1338 102 ecx = [rsp + (rax << 2) + 0x1c].d 0x1340 103 if (ecx s< [rsp + (rax << 2) + 0x18].d) then 86 @ 0x1360 else 123 @ 0x1346 0x1318 104 rdi = r14 0x131b 105 esi = 0 0x131d 106 edx = 0 0x131f 107 eax = 0 0x1321 108 call(0x1030) 0x1321 109 goto 82 @ 0x1329 0x12c4 110 eax = [r12 + (rbx << 2)].d 0x12c8 111 ecx = 0xffffffff {""} 0x12cd 112 ecx = ecx + ebx 0x12d4 113 if (eax s< [r13 + (rcx << 2)].d) then 76 @ 0x1300 else 124 @ 0x12db 0x1423 114 if (r15 != 0) then 125 @ 0x1460 else 129 @ 0x1428 0x13c0 115 rsi = sx.q([rsp + 8 {var_690}].d) 0x13c5 116 rcx = rsi - 1 0x13c9 117 edi = ecx 0x13ce 118 if (rbx != rdi) then 114 @ 0x1423 else 130 @ 0x13d0 0x1375 119 rdx = rcx + (rcx << 2) 0x1379 120 rdx = rdx << 4 0x137d 121 ecx = [rsp + rdx + 0x20].d 0x1385 122 if (ecx s< [rsp + rdx + 0x24].d) then 97 @ 0x13b0 else 136 @ 0x1387 0x1346 123 if (ecx s< [rsp + (rax << 2) + 0x6c].d) then 86 @ 0x1360 else 140 @ 0x1348 0x12db 124 if (eax s< [r12 + (rbx << 2) + 4].d) then 76 @ 0x1300 else 146 @ 0x12e2 0x1460 125 rax = sx.q([rsp + 0xc {var_68c}].d) 0x1465 126 rax = rax - 1 0x1469 127 ecx = eax 0x146e 128 if (r15 != rcx) then 147 @ 0x14b3 else 148 @ 0x1473 0x1428 129 if (rbx == 0) then 125 @ 0x1460 else 149 @ 0x142a 0x13d0 130 rdx = rdx + (rdx << 2) 0x13d4 131 rdx = rdx << 4 0x13d8 132 rdi = rsp + rdx 0x13dc 133 rdi = rdi + 0x20 0x13e0 134 edx = [rdi + (rcx << 2)].d 0x13e7 135 if (edx s< [rdi + (rsi << 2) - 8].d) then 114 @ 0x1423 else 152 @ 0x13e9 0x1387 136 rax = rax + (rax << 2) 0x138b 137 rax = rax << 4 0x138f 138 rdx = rsp + 0x20 {var_678} 0x139b 139 if (ecx s< [rax + rdx - 0xa0].d) then 97 @ 0x13b0 else 157 @ 0x139d 0x1348 140 rdi = r14 0x134b 141 esi = 0 0x134d 142 edx = ebx 0x134f 143 eax = 0 0x1351 144 call(0x1030) 0x1356 145 goto 86 @ 0x1360 0x12e2 146 if (eax s< [r12 + (rbx << 2) + 0x50].d) then 76 @ 0x1300 else 163 @ 0x12e4 0x14b3 147 if (rbx != 0) then 165 @ 0x14e0 else 168 @ 0x14b8 0x1473 148 if (rbx == 0) then 147 @ 0x14b3 else 169 @ 0x1475 0x142a 149 rax = sx.q([rsp + 8 {var_690}].d) 0x142f 150 rax = rax - 1 0x1436 151 if (rbx s>= rax) then 125 @ 0x1460 else 172 @ 0x1438 0x13e9 152 rax = rax + (rax << 2) 0x13ed 153 rax = rax << 4 0x13f1 154 rsi = rsp + 0x20 {var_678} 0x13f6 155 rax = rax + rsi 0x1400 156 if (edx s< [rax + (rcx << 2) - 0xa0].d) then 114 @ 0x1423 else 174 @ 0x1402 0x139d 157 rdi = r14 0x13a0 158 esi = r15d 0x13a3 159 edx = 0 0x13a5 160 eax = 0 0x13a7 161 call(0x1030) 0x13ac 162 goto 97 @ 0x13b0 0x12e4 163 rcx = [rsp + 0x10 {var_688_1}].q 0x12ec 164 if (eax s< [rcx + (rbx << 2)].d) then 76 @ 0x1300 else 180 @ 0x12ee 0x14e0 165 ecx = [rsp + 8 {var_690}].d 0x14e4 166 ecx = ecx - 1 0x14ea 167 if (rbx != rcx) then 186 @ 0x1290 else 189 @ 0x14f3 0x14b8 168 if (r15 == 0) then 165 @ 0x14e0 else 190 @ 0x14bd 0x1475 169 rcx = sx.q([rsp + 8 {var_690}].d) 0x147a 170 rcx = rcx - 1 0x1481 171 if (rbx s>= rcx) then 147 @ 0x14b3 else 191 @ 0x1483 0x1438 172 eax = [rsp + (rbx << 2) + 0x20].d 0x1440 173 if (eax s< [rsp + (rbx << 2) + 0x70].d) then 125 @ 0x1460 else 193 @ 0x1442 0x1402 174 rdi = r14 0x1405 175 esi = r15d 0x1408 176 edx = ebx 0x140a 177 eax = 0 0x140c 178 call(0x1030) 0x141b 179 goto 114 @ 0x1423 0x12ee 180 rdi = r14 0x12f1 181 esi = r15d 0x12f4 182 edx = ebx 0x12f6 183 eax = 0 0x12f8 184 call(0x1030) 0x12fd 185 goto 76 @ 0x1300 0x1290 186 rbx = rbx + 1 0x1294 187 rax = sx.q([rsp + 8 {var_690}].d) 0x129c 188 if (rbx s>= rax) then 42 @ 0x1210 else 74 @ 0x12a5 0x14f3 189 if (r15 == 0) then 186 @ 0x1290 else 196 @ 0x14f9 0x14bd 190 if (r15 s>= rax) then 165 @ 0x14e0 else 198 @ 0x14bf 0x1483 191 ecx = [r12 + (rbx << 2)].d 0x148c 192 if (ecx s< [r12 + (rbx << 2) - 0x50].d) then 147 @ 0x14b3 else 200 @ 0x1493 0x1442 193 ecx = 0xffffffff {""} 0x1447 194 ecx = ecx + ebx 0x144d 195 if (eax s< [rsp + (rcx << 2) + 0x20].d) then 125 @ 0x1460 else 201 @ 0x1453 0x14f9 196 rax = sx.q(eax) 0x14fe 197 if (r15 s>= rax) then 186 @ 0x1290 else 202 @ 0x1504 0x14bf 198 ecx = [r13].d 0x14c7 199 if (ecx s< [r13 + 4].d) then 165 @ 0x14e0 else 204 @ 0x14c9 0x1493 200 if (ecx s< [r12 + (rbx << 2) + 4].d) then 147 @ 0x14b3 else 206 @ 0x1495 0x1453 201 if (eax s>= [rsp + (rbx << 2) + 0x24].d) then 209 @ 0x1277 else 215 @ 0x1459 0x1504 202 eax = [r12 + (rbx << 2)].d 0x150d 203 if (eax s< [r12 + (rbx << 2) - 4].d) then 186 @ 0x1290 else 216 @ 0x1513 0x14c9 204 rdx = [rsp + 0x18 {var_680}].q 0x14d0 205 if (ecx s< [rdx].d) then 165 @ 0x14e0 else 218 @ 0x14d6 0x1495 206 edx = 0xffffffff {""} 0x149a 207 edx = edx + ebx 0x14a1 208 if (ecx s>= [r13 + (rdx << 2)].d) then 209 @ 0x1277 else 219 @ 0x14a7 0x1277 209 rdi = r14 0x127a 210 esi = r15d 0x127d 211 edx = ebx 0x127f 212 eax = 0 0x1281 213 call(0x1030) 0x1286 214 goto 186 @ 0x1290 0x1459 215 goto 125 @ 0x1460 0x1513 216 rcx = [rsp + 0x10 {var_688_1}].q 0x151b 217 if (eax s< [rcx + (rbx << 2)].d) then 186 @ 0x1290 else 220 @ 0x1526 0x14d6 218 if (ecx s>= [r13 + 0x50].d) then 209 @ 0x1277 else 221 @ 0x14dc 0x14a7 219 goto 147 @ 0x14b3 0x1526 220 if (eax s>= [r12 + (rbx << 2) + 0x50].d) then 209 @ 0x1277 else 222 @ 0x152c 0x14dc 221 goto 165 @ 0x14e0 0x152c 222 goto 186 @ 0x1290 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) 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 = 0x1200 {"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) uint64_t ast(char* arg1): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0x10 0x1178 3 [rbp - 8 {var_10}].q = rdi 0x117c 4 rdi = [rbp - 8 {var_10}].q 0x1180 5 call(0x1040) 0x1185 6 [rbp - 0xc {var_14}].d = eax 0x1188 7 [rbp - 0x10 {var_18}].d = 0 0x1188 8 goto 9 @ 0x118f 0x118f 9 eax = [rbp - 0x10 {var_18}].d 0x1195 10 if (eax s>= [rbp - 0xc {var_14}].d) then 11 @ 0x11f4 else 14 @ 0x119b 0x11f4 11 rsp = rsp + 0x10 0x11f8 12 rbp = pop 0x11f9 13 <return> jump(pop) 0x119b 14 rax = [rbp - 8 {var_10}].q 0x119f 15 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x11a3 16 eax = sx.d([rax + rcx].b) 0x11aa 17 if (eax s< 0x61) then 18 @ 0x11e1 else 19 @ 0x11b0 0x11e1 18 goto 23 @ 0x11e6 0x11b0 19 rax = [rbp - 8 {var_10}].q 0x11b4 20 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x11b8 21 eax = sx.d([rax + rcx].b) 0x11bf 22 if (eax s> 0x7a) then 18 @ 0x11e1 else 27 @ 0x11c5 0x11e6 23 eax = [rbp - 0x10 {var_18}].d 0x11e9 24 eax = eax + 1 0x11ec 25 [rbp - 0x10 {var_18}].d = eax 0x11ef 26 goto 9 @ 0x118f 0x11c5 27 rax = [rbp - 8 {var_10}].q 0x11c9 28 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x11cd 29 eax = sx.d([rax + rcx].b) 0x11d1 30 eax = eax - 0x20 0x11d4 31 dl = al 0x11d6 32 rax = [rbp - 8 {var_10}].q 0x11da 33 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x11de 34 [rax + rcx].b = dl 0x11de 35 goto 18 @ 0x11e1 int32_t main(int32_t argc, char** argv, char** envp): 0x1200 0 push(rbp) 0x1201 1 rbp = rsp {__saved_rbp} 0x1204 2 rsp = rsp - 0x80 0x120b 3 rdi = rbp - 0x40 {var_48} 0x120f 4 al = 0 0x1211 5 call(0x1050) 0x1216 6 rdi = rbp - 0x80 {var_88} 0x121a 7 al = 0 0x121c 8 call(0x1050) 0x1221 9 rdi = rbp - 0x40 {var_48} 0x1225 10 call(0x1170) 0x122a 11 rdi = rbp - 0x80 {var_88} 0x122e 12 call(0x1170) 0x1233 13 rdi = rbp - 0x40 {var_48} 0x1237 14 rsi = rbp - 0x80 {var_88} 0x123b 15 call(0x1060) 0x1243 16 if (eax s<= 0) then 17 @ 0x125c else 21 @ 0x1249 0x125c 17 rdi = rbp - 0x40 {var_48} 0x1260 18 rsi = rbp - 0x80 {var_88} 0x1264 19 call(0x1060) 0x126c 20 if (eax s>= 0) then 25 @ 0x1285 else 29 @ 0x1272 0x1249 21 rdi = 0x2004 {">"} 0x1250 22 al = 0 0x1252 23 call(0x1030) 0x1257 24 goto 33 @ 0x1298 0x1285 25 rdi = 0x2008 {"="} 0x128c 26 al = 0 0x128e 27 call(0x1030) 0x128e 28 goto 36 @ 0x1293 0x1272 29 rdi = 0x2006 {"<"} 0x1279 30 al = 0 0x127b 31 call(0x1030) 0x1280 32 goto 36 @ 0x1293 0x1298 33 rsp = rsp + 0x80 0x129f 34 rbp = pop 0x12a0 35 <return> jump(pop) 0x1293 36 goto 33 @ 0x1298 int64_t _fini(): 0x12a8 0 rsp = rsp - 8 0x12ac 1 rsp = rsp + 8 0x12b0 2 <return> jump(pop)
POJ_95
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAVSH"} 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 - 0x61ac0 0x115b 4 rdi = 0x2004 {"%d"} 0x1162 5 rsi = rsp + 8 {var_61ad0} 0x1167 6 eax = 0 0x1169 7 call(0x1040) 0x1173 8 if ([rsp + 8 {var_61ad0}].d s<= 0) then 9 @ 0x11af else 18 @ 0x1175 0x11af 9 rdi = 0x2004 {"%d"} 0x11b6 10 ebx = 0 0x11b8 11 rsi = rsp + 0xc {var_61acc} 0x11bd 12 eax = 0 0x11bf 13 call(0x1040) 0x11c4 14 esi = [rsp + 8 {var_61ad0}].d 0x11c8 15 ebp = (rsi - 1).d 0x11cb 16 r10d = [rsp + 0xc {var_61acc}].d 0x11d3 17 if (esi s< 2) then 22 @ 0x12e1 else 24 @ 0x11d9 0x1175 18 rbx = rsp + 0x10 {var_61ac8} 0x117a 19 r14 = 0x2004 {"%d"} 0x1181 20 ebp = 0 0x118d 21 goto 26 @ 0x1190 0x12e1 22 rax = sx.q(ebp) 0x12e9 23 if ([rsp + (rax << 2) + 0x10].d != r10d) then 34 @ 0x131e else 35 @ 0x12ed 0x11d9 24 r8 = rsp + 0x44 {var_61a94} 0x11de 25 goto 36 @ 0x11f7 0x1190 26 rdi = r14 0x1193 27 rsi = rbx 0x1196 28 eax = 0 0x1198 29 call(0x1040) 0x119d 30 rbp = rbp + 1 0x11a1 31 rax = sx.q([rsp + 8 {var_61ad0}].d) 0x11a6 32 rbx = rbx + 4 0x11ad 33 if (rbp s< rax) then 26 @ 0x1190 else 9 @ 0x11af 0x131e 34 if (esi s< 2) then 38 @ 0x1352 else 41 @ 0x1320 0x12ed 35 if (esi s<= 0) then 34 @ 0x131e else 44 @ 0x12ef 0x11f7 36 rdi = sx.q(ebx) 0x11ff 37 if ([rsp + (rdi << 2) + 0x10].d != r10d) then 46 @ 0x12d0 else 48 @ 0x1207 0x1352 38 esi = esi - 1 0x1355 39 rax = sx.q(esi) 0x1355 40 goto 49 @ 0x1358 0x1320 41 rbx = 0x2007 {"%d "} 0x1327 42 ebp = 0 0x1329 43 goto 58 @ 0x1330 0x12ef 44 eax = 0 0x12f1 45 goto 66 @ 0x1311 0x12d0 46 ebp = esi 0x12d2 47 goto 67 @ 0x11e7 0x1207 48 if (ebx s>= esi) then 71 @ 0x11e0 else 74 @ 0x1209 0x1358 49 esi = [rsp + (rax << 2) + 0x10].d 0x135c 50 rdi = 0x2004 {"%d"} 0x1363 51 eax = 0 0x1365 52 call(0x1030) 0x136a 53 rsp = rsp + 0x61ac0 0x1371 54 rbx = pop 0x1372 55 r14 = pop 0x1374 56 rbp = pop 0x1375 57 <return> jump(pop) 0x1330 58 esi = [rsp + (rbp << 2) + 0x10].d 0x1334 59 rdi = rbx 0x1337 60 eax = 0 0x1339 61 call(0x1030) 0x133e 62 rbp = rbp + 1 0x1342 63 rax = sx.q([rsp + 8 {var_61ad0}].d) 0x1347 64 rax = rax - 1 0x134e 65 if (rbp s< rax) then 58 @ 0x1330 else 78 @ 0x1350 0x1311 66 if ([rsp + (rax << 2) + 0x10].d != r10d) then 79 @ 0x1300 else 82 @ 0x1313 0x11e7 67 esi = ebp 0x11e9 68 ebx = ebx + 1 0x11ec 69 ebp = (rsi - 1).d 0x11f1 70 if (ebx s>= ebp) then 22 @ 0x12e1 else 36 @ 0x11f7 0x11e0 71 ebx = ebx - 1 0x11e3 72 [rsp + 8 {var_61ad0}].d = ebp 0x11e3 73 goto 67 @ 0x11e7 0x1209 74 rsi = sx.q(esi) 0x120c 75 r14 = rsi 0x120f 76 r14 = r14 - rdi 0x1216 77 if (r14 u< 8) then 85 @ 0x12b0 else 90 @ 0x121c 0x1350 78 goto 49 @ 0x1358 0x1300 79 rax = rax + 1 0x1304 80 rcx = sx.q(esi) 0x130a 81 if (rax s>= rcx) then 34 @ 0x131e else 66 @ 0x1311 0x1313 82 [rsp + 8 {var_61ad0}].d = eax 0x1317 83 esi = eax 0x1319 84 goto 79 @ 0x1300 0x12b0 85 eax = [rsp + (rdi << 2) + 0x14].d 0x12b4 86 [rsp + (rdi << 2) + 0x10].d = eax 0x12b8 87 rax = rdi + 1 0x12bc 88 rdi = rax 0x12c2 89 if (rsi != rax) then 85 @ 0x12b0 else 97 @ 0x12c4 0x121c 90 r9 = r14 0x121f 91 r9 = r9 & 0xfffffffffffffff8 0x1223 92 rax = r9 - 8 0x1227 93 r11 = rax 0x122a 94 r11 = r11 u>> 3 0x122e 95 r11 = r11 + 1 0x1235 96 if (rax == 0) then 98 @ 0x12d7 else 100 @ 0x123b 0x12c4 97 goto 71 @ 0x11e0 0x12d7 98 eax = 0 0x12dd 99 if ((r11b & 1) != 0) then 105 @ 0x1287 else 111 @ 0x12df 0x123b 100 rdx = r11 0x123e 101 rdx = rdx & 0xfffffffffffffffe 0x1242 102 rcx = r8 + (rdi << 2) 0x1246 103 eax = 0 0x1248 104 goto 112 @ 0x1250 0x1287 105 rax = rax + rdi 0x128a 106 xmm0 = [rsp + (rax << 2) + 0x14].o 0x128f 107 xmm1 = [rsp + (rax << 2) + 0x24].o 0x1294 108 [rsp + (rax << 2) + 0x10].o = xmm0 0x1299 109 [rsp + (rax << 2) + 0x20].o = xmm1 0x1299 110 goto 124 @ 0x12a1 0x12df 111 goto 124 @ 0x12a1 0x1250 112 xmm0 = [rcx + (rax << 2) - 0x30].o 0x1255 113 xmm1 = [rcx + (rax << 2) - 0x20].o 0x125a 114 xmm2 = [rcx + (rax << 2) - 0x10].o 0x125f 115 xmm3 = [rcx + (rax << 2)].o 0x1263 116 [rcx + (rax << 2) - 0x34].o = xmm0 0x1268 117 [rcx + (rax << 2) - 0x24].o = xmm1 0x126d 118 [rcx + (rax << 2) - 0x14].o = xmm2 0x1272 119 [rcx + (rax << 2) - 4].o = xmm3 0x1277 120 rax = rax + 0x10 0x127b 121 temp0.q = rdx 0x127b 122 rdx = rdx - 2 0x127f 123 if (temp0.q != 2) then 112 @ 0x1250 else 125 @ 0x1285 0x12a1 124 if (r14 == r9) then 71 @ 0x11e0 else 126 @ 0x12a7 0x1285 125 if ((r11b & 1) == 0) then 124 @ 0x12a1 else 105 @ 0x1287 0x12a7 126 rdi = rdi + r9 0x12aa 127 goto 85 @ 0x12b0 int64_t _fini(): 0x137c 0 rsp = rsp - 8 0x1380 1 rsp = rsp + 8 0x1384 2 <return> jump(pop)
POJ_42
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x1d0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x1a8 {var_1b0}].d = 0 0x116c 5 [rbp - 0x1ac {var_1b4}].d = 0 0x1176 6 [rbp - 0x1b0 {var_1b8}].d = 0 0x1180 7 [rbp - 0x1b4 {var_1bc}].d = 0 0x118a 8 rdi = 0x2008 {"%d"} 0x1191 9 rsi = rbp - 0x1a4 {var_1ac} 0x1198 10 al = 0 0x119a 11 call(0x1040) 0x119f 12 [rbp - 0x1b8 {var_1c0}].d = 0 0x119f 13 goto 14 @ 0x11a9 0x11a9 14 eax = [rbp - 0x1b8 {var_1c0}].d 0x11b5 15 if (eax s>= [rbp - 0x1a4 {var_1ac}].d) then 16 @ 0x12d7 else 64 @ 0x11bb 0x12d7 16 xmm1.d = float.s([rbp - 0x1a8 {var_1b0}].d) 0x12df 17 xmm0 = [0x2004].d 0x12e7 18 xmm0.d = xmm0.d f* xmm1.d 0x12eb 19 xmm1.d = float.s([rbp - 0x1a4 {var_1ac}].d) 0x12f3 20 xmm0.d = xmm0.d f/ xmm1.d 0x12f7 21 [rbp - 0x1bc {var_1c4}].d = xmm0.d 0x12ff 22 xmm1.d = float.s([rbp - 0x1ac {var_1b4}].d) 0x1307 23 xmm0 = [0x2004].d 0x130f 24 xmm0.d = xmm0.d f* xmm1.d 0x1313 25 xmm1.d = float.s([rbp - 0x1a4 {var_1ac}].d) 0x131b 26 xmm0.d = xmm0.d f/ xmm1.d 0x131f 27 [rbp - 0x1c0 {var_1c8}].d = xmm0.d 0x1327 28 xmm1.d = float.s([rbp - 0x1b0 {var_1b8}].d) 0x132f 29 xmm0 = [0x2004].d 0x1337 30 xmm0.d = xmm0.d f* xmm1.d 0x133b 31 xmm1.d = float.s([rbp - 0x1a4 {var_1ac}].d) 0x1343 32 xmm0.d = xmm0.d f/ xmm1.d 0x1347 33 [rbp - 0x1c4 {var_1cc}].d = xmm0.d 0x134f 34 xmm1.d = float.s([rbp - 0x1b4 {var_1bc}].d) 0x1357 35 xmm0 = [0x2004].d 0x135f 36 xmm0.d = xmm0.d f* xmm1.d 0x1363 37 xmm1.d = float.s([rbp - 0x1a4 {var_1ac}].d) 0x136b 38 xmm0.d = xmm0.d f/ xmm1.d 0x136f 39 [rbp - 0x1c8 {var_1d0}].d = xmm0.d 0x1377 40 xmm0 = [rbp - 0x1bc {var_1c4}].d 0x137f 41 xmm0.q = fconvert.d(xmm0.d) 0x1383 42 rdi = 0x200b {"1-18: %.2f%%\n"} 0x138a 43 al = 1 0x138c 44 call(0x1030) 0x1391 45 xmm0 = [rbp - 0x1c0 {var_1c8}].d 0x1399 46 xmm0.q = fconvert.d(xmm0.d) 0x139d 47 rdi = 0x2019 {"19-35: %.2f%%\n"} 0x13a4 48 al = 1 0x13a6 49 call(0x1030) 0x13ab 50 xmm0 = [rbp - 0x1c4 {var_1cc}].d 0x13b3 51 xmm0.q = fconvert.d(xmm0.d) 0x13b7 52 rdi = 0x2028 {"36-60: %.2f%%\n"} 0x13be 53 al = 1 0x13c0 54 call(0x1030) 0x13c5 55 xmm0 = [rbp - 0x1c8 {var_1d0}].d 0x13cd 56 xmm0.q = fconvert.d(xmm0.d) 0x13d1 57 rdi = 0x2037 {"60??: %.2f%%\n"} 0x13d8 58 al = 1 0x13da 59 call(0x1030) 0x13df 60 eax = 0 0x13e1 61 rsp = rsp + 0x1d0 0x13e8 62 rbp = pop 0x13e9 63 <return> jump(pop) 0x11bb 64 rax = sx.q([rbp - 0x1b8 {var_1c0}].d) 0x11c2 65 rsi = rbp - 0x1a0 {var_1a8} 0x11c9 66 rax = rax << 2 0x11cd 67 rsi = rsi + rax 0x11d0 68 rdi = 0x2008 {"%d"} 0x11d7 69 al = 0 0x11d9 70 call(0x1040) 0x11de 71 rax = sx.q([rbp - 0x1b8 {var_1c0}].d) 0x11ed 72 if ([rbp + (rax << 2) - 0x1a0].d s> 0x12) then 73 @ 0x1207 else 76 @ 0x11f3 0x1207 73 rcx = sx.q([rbp - 0x1b8 {var_1c0}].d) 0x120e 74 eax = 0x13 {""} 0x121a 75 if (eax s> [rbp + (rcx << 2) - 0x1a0].d) then 80 @ 0x1249 else 83 @ 0x1220 0x11f3 76 eax = [rbp - 0x1a8 {var_1b0}].d 0x11f9 77 eax = eax + 1 0x11fc 78 [rbp - 0x1a8 {var_1b0}].d = eax 0x1202 79 goto 85 @ 0x12be 0x1249 80 rcx = sx.q([rbp - 0x1b8 {var_1c0}].d) 0x1250 81 eax = 0x24 {""} 0x125c 82 if (eax s> [rbp + (rcx << 2) - 0x1a0].d) then 86 @ 0x128b else 88 @ 0x1262 0x1220 83 rax = sx.q([rbp - 0x1b8 {var_1c0}].d) 0x122f 84 if ([rbp + (rax << 2) - 0x1a0].d s> 0x23) then 80 @ 0x1249 else 90 @ 0x1235 0x12be 85 goto 94 @ 0x12c3 0x128b 86 rax = sx.q([rbp - 0x1b8 {var_1c0}].d) 0x129a 87 if ([rbp + (rax << 2) - 0x1a0].d s< 0x3d) then 98 @ 0x12af else 99 @ 0x12a0 0x1262 88 rax = sx.q([rbp - 0x1b8 {var_1c0}].d) 0x1271 89 if ([rbp + (rax << 2) - 0x1a0].d s> 0x3c) then 86 @ 0x128b else 103 @ 0x1277 0x1235 90 eax = [rbp - 0x1ac {var_1b4}].d 0x123b 91 eax = eax + 1 0x123e 92 [rbp - 0x1ac {var_1b4}].d = eax 0x1244 93 goto 107 @ 0x12b9 0x12c3 94 eax = [rbp - 0x1b8 {var_1c0}].d 0x12c9 95 eax = eax + 1 0x12cc 96 [rbp - 0x1b8 {var_1c0}].d = eax 0x12d2 97 goto 14 @ 0x11a9 0x12af 98 goto 108 @ 0x12b4 0x12a0 99 eax = [rbp - 0x1b4 {var_1bc}].d 0x12a6 100 eax = eax + 1 0x12a9 101 [rbp - 0x1b4 {var_1bc}].d = eax 0x12a9 102 goto 98 @ 0x12af 0x1277 103 eax = [rbp - 0x1b0 {var_1b8}].d 0x127d 104 eax = eax + 1 0x1280 105 [rbp - 0x1b0 {var_1b8}].d = eax 0x1286 106 goto 108 @ 0x12b4 0x12b9 107 goto 85 @ 0x12be 0x12b4 108 goto 107 @ 0x12b9 int64_t _fini(): 0x13f0 0 rsp = rsp - 8 0x13f4 1 rsp = rsp + 8 0x13f8 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) 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 {"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 = 0x2005 {"%d"} 0x1175 8 rsi = rsp + 0xc {var_3c} 0x117a 9 eax = 0 0x117c 10 call(0x1040) 0x1181 11 rbx = sx.q([rsp + 0xc {var_3c}].d) 0x1186 12 rdi = rbx << 3 0x118e 13 call(0x1050) 0x1193 14 r13 = rax 0x1196 15 rbx = rbx << 2 0x119a 16 rdi = rbx 0x119d 17 call(0x1050) 0x11a2 18 r15 = rax 0x11a5 19 rdi = rbx 0x11a8 20 call(0x1050) 0x11ad 21 r12 = rax 0x11b0 22 ecx = [rsp + 0xc {var_3c}].d 0x11b6 23 if (ecx s<= 0) then 24 @ 0x11fc else 26 @ 0x11b8 0x11fc 24 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11fc 25 goto 32 @ 0x1200 0x11b8 26 [rsp + 0x10 {var_38_1}].q = r12 0x11bd 27 r12 = 0x2005 {"%d"} 0x11c4 28 rbx = r15 0x11c7 29 r14d = 0 0x11ca 30 ebp = 0 0x11cc 31 goto 34 @ 0x11d0 0x1200 32 eax = ecx 0x1204 33 if (ecx s<= 0) then 43 @ 0x124a else 46 @ 0x1206 0x11d0 34 rdi = r12 0x11d3 35 rsi = rbx 0x11d6 36 eax = 0 0x11d8 37 call(0x1040) 0x11dd 38 ebp = ebp + [rbx].d 0x11df 39 r14 = r14 + 1 0x11e3 40 rcx = sx.q([rsp + 0xc {var_3c}].d) 0x11e8 41 rbx = rbx + 4 0x11ef 42 if (r14 s< rcx) then 34 @ 0x11d0 else 50 @ 0x11f1 0x124a 43 ebx = 0 0x124c 44 edx = 0 0x1250 45 if (ecx s<= 0) then 53 @ 0x1289 else 54 @ 0x1252 0x1206 46 xmm1.q = float.d(ecx) 0x120a 47 xmm0.q = xmm0.q f/ xmm1.q 0x120e 48 edx = 0 0x120e 49 goto 56 @ 0x1210 0x11f1 50 xmm0.q = float.d(ebp) 0x11f5 51 r12 = [rsp + 0x10 {var_38_1}].q 0x11fa 52 goto 32 @ 0x1200 0x1289 53 if (ecx s<= 0) then 69 @ 0x12c8 else 74 @ 0x128b 0x1252 54 esi = 0 0x1254 55 goto 78 @ 0x126b 0x1210 56 xmm1 = 0 0x1213 57 xmm1.q = float.d([r15 + (rdx << 2)].d) 0x1219 58 xmm2 = xmm0 0x121d 59 xmm2.q = xmm2.q f- xmm1.q 0x1221 60 xmm1.q = xmm1.q f- xmm0.q 0x1225 61 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x1229 62 xmm3 = _mm_cmpeq_sd(xmm3.q, xmm1.q, 1) 0x122e 63 xmm1 = _mm_and_pd(xmm1, xmm3) 0x1232 64 xmm3 = _mm_andnot_pd(xmm3, xmm2) 0x1236 65 xmm3 = _mm_or_pd(xmm3, xmm1) 0x123a 66 [r13 + (rdx << 3)].q = xmm3.q 0x1241 67 rdx = rdx + 1 0x1248 68 if (rax != rdx) then 56 @ 0x1210 else 43 @ 0x124a 0x12c8 69 esi = [r12].d 0x12cc 70 rdi = 0x2005 {"%d"} 0x12d3 71 eax = 0 0x12d5 72 call(0x1030) 0x12dd 73 if (ebx s< 2) then 88 @ 0x1307 else 97 @ 0x12df 0x128b 74 xmm0 = zx.o([r13 + (rdx << 3)].q) 0x1292 75 ecx = 0 0x1294 76 ebx = 0 0x1296 77 goto 101 @ 0x12a9 0x126b 78 xmm0 = zx.o([r13 + (rdx << 3)].q) 0x1272 79 rdi = sx.q(esi) 0x1275 80 flag:p = is_unordered.q(xmm0.q, fconvert.t([r13 + (rdi << 3)].q)) 0x1275 81 flag:c = xmm0.q f< fconvert.t([r13 + (rdi << 3)].q) | is_unordered.q(xmm0.q, fconvert.t([r13 + (rdi << 3)].q)) 0x1275 82 flag:z = xmm0.q f== fconvert.t([r13 + (rdi << 3)].q) | is_unordered.q(xmm0.q, fconvert.t([r13 + (rdi << 3)].q)) 0x1275 83 flag:s = 0 0x1275 84 flag:o = 0 0x1275 85 flag:a = 0 0x127c 86 edi = edx 0x127e 87 if (not(flag:z) && not(flag:c)) then 109 @ 0x1260 else 112 @ 0x1280 0x1307 88 eax = 0 0x1309 89 rsp = rsp + 0x18 0x130d 90 rbx = pop 0x130e 91 r12 = pop 0x1310 92 r13 = pop 0x1312 93 r14 = pop 0x1314 94 r15 = pop 0x1316 95 rbp = pop 0x1317 96 <return> jump(pop) 0x12df 97 ebp = ebx 0x12e1 98 ebx = 1 0x12e6 99 r14 = 0x2004 {",%d"} 0x12ed 100 goto 114 @ 0x12f0 0x12a9 101 xmm1 = zx.o([r13 + (rcx << 3)].q) 0x12b0 102 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x12b0 103 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x12b0 104 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x12b0 105 flag:s = 0 0x12b0 106 flag:o = 0 0x12b0 107 flag:a = 0 0x12b4 108 if (not(flag:z)) then 120 @ 0x12a0 else 122 @ 0x12b6 0x1260 109 rdx = rdx + 1 0x1264 110 esi = edi 0x1269 111 if (rax == rdx) then 123 @ 0x1284 else 78 @ 0x126b 0x1280 112 edi = esi 0x1282 113 goto 109 @ 0x1260 0x12f0 114 esi = [r12 + (rbx << 2)].d 0x12f4 115 rdi = r14 0x12f7 116 eax = 0 0x12f9 117 call(0x1030) 0x12fe 118 rbx = rbx + 1 0x1305 119 if (rbp != rbx) then 114 @ 0x12f0 else 88 @ 0x1307 0x12a0 120 rcx = rcx + 1 0x12a7 121 if (rax == rcx) then 69 @ 0x12c8 else 101 @ 0x12a9 0x12b6 122 if (flag:p) then 120 @ 0x12a0 else 125 @ 0x12b8 0x1284 123 rdx = sx.q(edi) 0x1284 124 goto 53 @ 0x1289 0x12b8 125 edx = [r15 + (rcx << 2)].d 0x12bc 126 rbx = sx.q(ebx) 0x12bf 127 [r12 + (rbx << 2)].d = edx 0x12c3 128 ebx = ebx + 1 0x12c6 129 goto 120 @ 0x12a0 int64_t _fini(): 0x131c 0 rsp = rsp - 8 0x1320 1 rsp = rsp + 8 0x1324 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 - 0x1268 0x1161 7 rdi = 0x2004 {"%s"} 0x1168 8 rsi = rsp + 0x10 {var_1288} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1174 11 r12b = [rsp + 0x10 {var_1288}].b 0x1179 12 rax = rsp + 0x11 {var_1287} 0x117e 13 goto 14 @ 0x1180 0x1180 14 edi = zx.d([rax].b) 0x1186 15 if (dil == 0) then 16 @ 0x1191 else 19 @ 0x1188 0x1191 16 al = [rsp + 0x10 {var_1288}].b 0x1195 17 edx = 0 0x1199 18 if (al == 0) then 21 @ 0x11c1 else 22 @ 0x119b 0x1188 19 rax = rax + 1 0x118f 20 if (dil == r12b) then 14 @ 0x1180 else 16 @ 0x1191 0x11c1 21 if (edx == 0) then 23 @ 0x12b3 else 32 @ 0x11c7 0x119b 22 goto 40 @ 0x11a0 0x12b3 23 eax = 0 0x12b5 24 rsp = rsp + 0x1268 0x12bc 25 rbx = pop 0x12bd 26 r12 = pop 0x12bf 27 r13 = pop 0x12c1 28 r14 = pop 0x12c3 29 r15 = pop 0x12c5 30 rbp = pop 0x12c6 31 <return> jump(pop) 0x11c7 32 r15d = (rdx - 2).d 0x11cb 33 r14d = (rdx - 1).d 0x11cf 34 eax = (rdx + 0x64).d 0x11d2 35 [rsp + 4 {var_1294_1}].d = eax 0x11d6 36 ebx = edx 0x11d8 37 [rsp + 8 {var_1290_1}].q = rdx 0x11dd 38 [rsp + 3 {var_1295_1}].b = dil 0x11e2 39 goto 45 @ 0x1200 0x11a0 40 [rsp + (rdx << 3) + 0x220].b = al 0x11a7 41 [rsp + (rdx << 3) + 0x224].d = 1 0x11b2 42 eax = zx.d([rsp + rdx + 0x11].b) 0x11b7 43 rdx = rdx + 1 0x11bd 44 if (al != 0) then 40 @ 0x11a0 else 21 @ 0x11c1 0x1200 45 if (edx s< 3) then 46 @ 0x11f0 else 49 @ 0x1202 0x11f0 46 cond:0 = ebx == 0 0x11f2 47 rdx = [rsp + 8 {var_1290_1}].q 0x11f7 48 if (cond:0) then 23 @ 0x12b3 else 45 @ 0x1200 0x1202 49 edx = 0 0x1204 50 goto 51 @ 0x121c 0x121c 51 rax = sx.q(edx) 0x1227 52 if ([rsp + (rax << 3) + 0x220].b != r12b) then 53 @ 0x1210 else 55 @ 0x1231 0x1210 53 ebp = edx 0x1210 54 goto 56 @ 0x1212 0x1231 55 if ([rsp + (rax << 3) + 0x224].d != 1) then 53 @ 0x1210 else 59 @ 0x1236 0x1212 56 ebp = ebp + 1 0x1215 57 edx = ebp 0x121a 58 if (ebp s>= r15d) then 46 @ 0x11f0 else 51 @ 0x121c 0x1236 59 if (edx s>= r14d) then 53 @ 0x1210 else 60 @ 0x1238 0x1238 60 ebp = edx 0x123a 61 goto 62 @ 0x1248 0x1248 62 r13 = sx.q(edx) 0x124b 63 edx = edx + 1 0x124e 64 eax = [rsp + (r13 << 3) + 0x22c].d 0x1259 65 if (eax != 1) then 66 @ 0x1246 else 67 @ 0x125b 0x1246 66 if (edx s>= r14d) then 56 @ 0x1212 else 62 @ 0x1248 0x125b 67 r13 = r13 + 1 0x1267 68 if ([rsp + (r13 << 3) + 0x220].b == r12b) then 69 @ 0x1240 else 71 @ 0x126c 0x1240 69 edx = (rbx + 0x64).d 0x1240 70 goto 66 @ 0x1246 0x126c 71 if (eax != 1) then 66 @ 0x1246 else 72 @ 0x1276 0x1276 72 if ([rsp + (r13 << 3) + 0x220].b != dil) then 66 @ 0x1246 else 73 @ 0x1278 0x1278 73 rdi = 0x2007 {"%d %d\n"} 0x127f 74 esi = ebp 0x1281 75 eax = 0 0x1283 76 call(0x1030) 0x1288 77 edi = zx.d([rsp + 3 {var_1295_1}].b) 0x128d 78 rax = sx.q(ebp) 0x1290 79 [rsp + (rax << 3) + 0x224].d = 0 0x129b 80 [rsp + (r13 << 3) + 0x224].d = 0 0x12a7 81 edx = (rbx + 0x64).d 0x12aa 82 ebx = ebx - 2 0x12ad 83 ebp = [rsp + 4 {var_1294_1}].d 0x12b1 84 goto 66 @ 0x1246 int64_t _fini(): 0x12cc 0 rsp = rsp - 8 0x12d0 1 rsp = rsp + 8 0x12d4 2 <return> jump(pop)
POJ_77
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVAUATSHH="} 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(r13) 0x1156 3 push(r12) 0x1158 4 push(rbx) 0x1159 5 rsp = rsp - 0x10 0x115d 6 rdi = 0x2004 {"%d"} 0x1164 7 rsi = rsp + 0xc {var_2c} 0x1169 8 eax = 0 0x116b 9 call(0x1040) 0x1170 10 edx = [rsp + 0xc {var_2c}].d 0x1176 11 if (edx s<= 0) then 12 @ 0x1251 else 14 @ 0x117c 0x1251 12 rax = sx.q(edx) 0x1251 13 goto 18 @ 0x1254 0x117c 14 r15 = 0x4050 {""} 0x1183 15 r14 = 0x2004 {"%d"} 0x118a 16 r12d = 0 0x118d 17 goto 21 @ 0x11a5 0x1254 18 r8d = edx 0x1257 19 r10d = 0 0x125c 20 if (edx s< 0) then 22 else 24 @ 0x1260 0x11a5 21 if (edx s<= 0) then 27 @ 0x1190 else 31 @ 0x11a7 0x125c 22 r10d = edx 0x125c 23 goto 24 @ 0x1260 0x1260 24 r10d = r10d - 1 0x1264 25 rdx = 0x4050 {""} 0x1264 26 goto 34 @ 0x126e 0x1190 27 rax = sx.q(edx) 0x1193 28 r12 = r12 + 1 0x1197 29 r15 = r15 + 0xfa0 0x11a1 30 if (r12 s>= rax) then 35 @ 0x11d3 else 21 @ 0x11a5 0x11a7 31 r13 = r15 0x11aa 32 ebx = 0 0x11ac 33 goto 36 @ 0x11b0 0x126e 34 if (rax s<= 0) then 44 @ 0x12b0 else 45 @ 0x1270 0x11d3 35 if (edx s<= 0) then 12 @ 0x1251 else 48 @ 0x11d5 0x11b0 36 rdi = r14 0x11b3 37 rsi = r13 0x11b6 38 eax = 0 0x11b8 39 call(0x1040) 0x11bd 40 rbx = rbx + 1 0x11c1 41 rdx = sx.q([rsp + 0xc {var_2c}].d) 0x11c6 42 r13 = r13 + 4 0x11cd 43 if (rbx s< rdx) then 36 @ 0x11b0 else 55 @ 0x11cf 0x12b0 44 goto 56 @ 0x12b5 0x1270 45 rax = rax - 1 0x1274 46 rbx = r8 0x1277 47 goto 72 @ 0x1283 0x11d5 48 eax = edx 0x11d7 49 edx = edx - 1 0x11da 50 rdx = sx.q(edx) 0x11dd 51 r8 = 0x4050 {""} 0x11e4 52 edi = 0 0x11e6 53 rbx = r8 0x11e9 54 goto 73 @ 0x11f0 0x11cf 55 goto 27 @ 0x1190 0x12b5 56 r9d = not.d(r9d) 0x12b8 57 r9d = r9d + ebx 0x12bb 58 esi = not.d(esi) 0x12bd 59 esi = esi + r10d 0x12c0 60 esi = esi * r9d 0x12c4 61 rdi = 0x2004 {"%d"} 0x12cb 62 eax = 0 0x12cd 63 call(0x1030) 0x12d2 64 eax = 0 0x12d4 65 rsp = rsp + 0x10 0x12d8 66 rbx = pop 0x12d9 67 r12 = pop 0x12db 68 r13 = pop 0x12dd 69 r14 = pop 0x12df 70 r15 = pop 0x12e1 71 <return> jump(pop) 0x1283 72 if (rbx s<= 0) then 75 @ 0x12a0 else 77 @ 0x1285 0x11f0 73 ecx = 0 0x11fc 74 goto 82 @ 0x1204 0x12a0 75 rcx = rax * 0xfa0 0x12ab 76 if ([rcx + rdx].d != 0) then 34 @ 0x126e else 83 @ 0x12ad 0x1285 77 rbx = rbx - 1 0x1289 78 ecx = ebx 0x128b 79 rdi = rax * 0xfa0 0x1292 80 rdi = rdi + rdx 0x1299 81 if ([rdi + (rcx << 2)].d != 0) then 72 @ 0x1283 else 85 @ 0x129b 0x1204 82 if ([rbx + (rcx << 2)].d == 0) then 86 @ 0x1222 else 87 @ 0x1206 0x12ad 83 r10d = eax 0x12ad 84 goto 44 @ 0x12b0 0x129b 85 goto 89 @ 0x12b2 0x1222 86 if (eax != ecx) then 91 @ 0x12e2 else 95 @ 0x1228 0x1206 87 rcx = rcx + 1 0x120d 88 if (rax != rcx) then 82 @ 0x1204 else 98 @ 0x120f 0x12b2 89 r10d = eax 0x12b2 90 goto 56 @ 0x12b5 0x12e2 91 edx = eax 0x12e4 92 esi = edi 0x12e6 93 r9d = ecx 0x12e9 94 goto 18 @ 0x1254 0x1228 95 r9d = ecx 0x122b 96 esi = edi 0x122b 97 goto 99 @ 0x122d 0x120f 98 goto 99 @ 0x122d 0x122d 99 rcx = rdi * 0xfa0 0x1234 100 rcx = rcx + r8 0x123b 101 if ([rcx + (rdx << 2)].d == 0) then 102 @ 0x124d else 104 @ 0x123d 0x124d 102 edx = eax 0x124f 103 goto 18 @ 0x1254 0x123d 104 rdi = rdi + 1 0x1241 105 rbx = rbx + 0xfa0 0x124b 106 if (rdi u< rax) then 73 @ 0x11f0 else 102 @ 0x124d int64_t _fini(): 0x12f4 0 rsp = rsp - 8 0x12f8 1 rsp = rsp + 8 0x12fc 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 {"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 - 0x3d18c0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rdi = 0x2004 {"%d %d"} 0x1169 5 rsi = rbp - 8 {var_10} 0x116d 6 rdx = rbp - 0xc {var_14} 0x1171 7 al = 0 0x1173 8 call(0x1040) 0x1178 9 [rbp - 0x10 {var_18}].d = 0 0x1178 10 goto 11 @ 0x117f 0x117f 11 eax = [rbp - 0x10 {var_18}].d 0x1185 12 if (eax s>= [rbp - 8 {var_10}].d) then 13 @ 0x11b9 else 15 @ 0x118b 0x11b9 13 [rbp - 0x3d18b4 {var_3d18bc}].d = 0 0x11b9 14 goto 26 @ 0x11c3 0x118b 15 rax = sx.q([rbp - 0x10 {var_18}].d) 0x118f 16 rsi = rbp - 0xfb0 {var_fb8} 0x1196 17 rax = rax << 2 0x119a 18 rsi = rsi + rax 0x119d 19 rdi = 0x2007 {"%d"} 0x11a4 20 al = 0 0x11a6 21 call(0x1040) 0x11ab 22 eax = [rbp - 0x10 {var_18}].d 0x11ae 23 eax = eax + 1 0x11b1 24 [rbp - 0x10 {var_18}].d = eax 0x11b4 25 goto 11 @ 0x117f 0x11c3 26 eax = [rbp - 0x3d18b4 {var_3d18bc}].d 0x11cc 27 if (eax s>= [rbp - 8 {var_10}].d) then 28 @ 0x1258 else 32 @ 0x11d2 0x1258 28 [rbp - 0x3d18b8 {var_3d18c0}].d = 0 0x1262 29 [rbp - 0x3d18bc {var_3d18c4}].d = 1 0x126c 30 [rbp - 0x3d18b4 {var_3d18bc_1}].d = 0 0x126c 31 goto 34 @ 0x1276 0x11d2 32 [rbp - 0x10 {var_18_1}].d = 0 0x11d2 33 goto 39 @ 0x11d9 0x1276 34 ecx = [rbp - 0x3d18b4 {var_3d18bc_1}].d 0x127c 35 eax = 0 0x127e 36 cond:0 = ecx s>= [rbp - 8 {var_10}].d 0x1281 37 [rbp - 0x3d18bd {var_3d18c5_1}].b = al 0x1287 38 if (cond:0) then 41 @ 0x129d else 43 @ 0x1294 0x11d9 39 eax = [rbp - 0x10 {var_18_1}].d 0x11df 40 if (eax s>= [rbp - 8 {var_10}].d) then 46 @ 0x123f else 47 @ 0x11e5 0x129d 41 al = [rbp - 0x3d18bd {var_3d18c5_1}].b 0x12a5 42 if ((al & 1) != 0) then 49 @ 0x12b0 else 51 @ 0x12ab 0x1294 43 al = [rbp - 0x3d18bc {var_3d18c4}].d == 1 0x1297 44 [rbp - 0x3d18bd {var_3d18c5_1}].b = al 0x1297 45 goto 41 @ 0x129d 0x123f 46 goto 52 @ 0x1244 0x11e5 47 eax = [rbp - 0x10 {var_18_1}].d 0x11ee 48 if (eax == [rbp - 0x3d18b4 {var_3d18bc}].d) then 56 @ 0x122c else 57 @ 0x11f4 0x12b0 49 [rbp - 0x10 {var_18_2}].d = 0 0x12b0 50 goto 68 @ 0x12b7 0x12ab 51 goto 70 @ 0x1352 0x1244 52 eax = [rbp - 0x3d18b4 {var_3d18bc}].d 0x124a 53 eax = eax + 1 0x124d 54 [rbp - 0x3d18b4 {var_3d18bc}].d = eax 0x1253 55 goto 26 @ 0x11c3 0x122c 56 goto 74 @ 0x1231 0x11f4 57 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x11f8 58 edx = [rbp + (rax << 2) - 0xfb0].d 0x11ff 59 rax = sx.q([rbp - 0x3d18b4 {var_3d18bc}].d) 0x1206 60 edx = edx + [rbp + (rax << 2) - 0xfb0].d 0x120d 61 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1211 62 rax = rbp - 0x3d18b0 {var_3d18b8} 0x1218 63 rcx = rcx * 0xfa0 0x121f 64 rax = rax + rcx 0x1222 65 rcx = sx.q([rbp - 0x3d18b4 {var_3d18bc}].d) 0x1229 66 [rax + (rcx << 2)].d = edx 0x1229 67 goto 56 @ 0x122c 0x12b7 68 eax = [rbp - 0x10 {var_18_2}].d 0x12bd 69 if (eax s>= [rbp - 8 {var_10}].d) then 78 @ 0x1339 else 79 @ 0x12c3 0x1352 70 eax = [rbp - 0x3d18b8 {var_3d18c0}].d 0x1358 71 ecx = [rbp - 8 {var_10}].d 0x135b 72 ecx = ecx * [rbp - 8 {var_10}].d 0x1361 73 if (eax != ecx) then 81 @ 0x1375 else 85 @ 0x1367 0x1231 74 eax = [rbp - 0x10 {var_18_1}].d 0x1234 75 eax = eax + 1 0x1237 76 [rbp - 0x10 {var_18_1}].d = eax 0x123a 77 goto 39 @ 0x11d9 0x1339 78 goto 89 @ 0x133e 0x12c3 79 eax = [rbp - 0x10 {var_18_2}].d 0x12cc 80 if (eax == [rbp - 0x3d18b4 {var_3d18bc_1}].d) then 93 @ 0x131c else 100 @ 0x12d2 0x1375 81 eax = 0 0x1377 82 rsp = rsp + 0x3d18c0 0x137e 83 rbp = pop 0x137f 84 <return> jump(pop) 0x1367 85 rdi = 0x200e {"no"} 0x136e 86 al = 0 0x1370 87 call(0x1030) 0x1370 88 goto 81 @ 0x1375 0x133e 89 eax = [rbp - 0x3d18b4 {var_3d18bc_1}].d 0x1344 90 eax = eax + 1 0x1347 91 [rbp - 0x3d18b4 {var_3d18bc_1}].d = eax 0x134d 92 goto 34 @ 0x1276 0x131c 93 eax = [rbp - 0x3d18b8 {var_3d18c0}].d 0x1322 94 eax = eax + 1 0x1325 95 [rbp - 0x3d18b8 {var_3d18c0}].d = eax 0x132b 96 eax = [rbp - 0x10 {var_18_2}].d 0x132e 97 eax = eax + 1 0x1331 98 [rbp - 0x10 {var_18_2}].d = eax 0x1334 99 goto 68 @ 0x12b7 0x12d2 100 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x12d6 101 rax = rbp - 0x3d18b0 {var_3d18b8} 0x12dd 102 rcx = rcx * 0xfa0 0x12e4 103 rax = rax + rcx 0x12e7 104 rcx = sx.q([rbp - 0x3d18b4 {var_3d18bc_1}].d) 0x12ee 105 eax = [rax + (rcx << 2)].d 0x12f4 106 if (eax != [rbp - 0xc {var_14}].d) then 107 @ 0x1317 else 108 @ 0x12fa 0x1317 107 goto 93 @ 0x131c 0x12fa 108 rdi = 0x200a {"yes"} 0x1301 109 al = 0 0x1303 110 call(0x1030) 0x1308 111 [rbp - 0x3d18bc {var_3d18c4}].d = 0 0x1312 112 goto 78 @ 0x1339 int64_t _fini(): 0x1384 0 rsp = rsp - 8 0x1388 1 rsp = rsp + 8 0x138c 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 {"UAWAVAUATSH\t="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x3d0918 0x1161 7 rdi = 0x2004 {"%d"} 0x1168 8 rsi = rsp + 0xc {var_3d093c} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1174 11 edx = [rsp + 0xc {var_3d093c}].d 0x117a 12 if (edx s<= 0) then 13 @ 0x11e1 else 15 @ 0x117c 0x11e1 13 r8d = edx 0x11e6 14 if (edx s<= 0) then 19 @ 0x1292 else 20 @ 0x11ec 0x117c 15 r15 = rsp + 0x10 {var_3d0938} 0x1181 16 r14 = 0x2004 {"%d"} 0x1188 17 r12d = 0 0x118b 18 goto 23 @ 0x11aa 0x1292 19 if (edx s> 0) then 24 @ 0x1237 else 29 @ 0x1294 0x11ec 20 rcx = rsp + 0x10 {var_3d0938} 0x11f1 21 edi = 0 0x11fd 22 goto 44 @ 0x1200 0x11aa 23 if ([rsp + 0xc {var_3d093c}].d s<= 0) then 46 @ 0x1190 else 50 @ 0x11ac 0x1237 24 r11d = 0 0x123a 25 r10 = rsp + 0x10 {var_3d0938} 0x123f 26 r9d = 1 0x1245 27 ecx = 0 0x1247 28 goto 53 @ 0x1250 0x1294 29 eax = eax + edi 0x1296 30 esi = esi + edx 0x1298 31 esi = esi * eax 0x129b 32 rdi = 0x2004 {"%d"} 0x12a2 33 eax = 0 0x12a4 34 call(0x1030) 0x12a9 35 eax = 0 0x12ab 36 rsp = rsp + 0x3d0918 0x12b2 37 rbx = pop 0x12b3 38 r12 = pop 0x12b5 39 r13 = pop 0x12b7 40 r14 = pop 0x12b9 41 r15 = pop 0x12bb 42 rbp = pop 0x12bc 43 <return> jump(pop) 0x1200 44 ebx = 0 0x120c 45 goto 55 @ 0x1210 0x1190 46 r12 = r12 + 1 0x1194 47 rdx = sx.q([rsp + 0xc {var_3d093c}].d) 0x1199 48 r15 = r15 + 0xfa0 0x11a3 49 if (r12 s>= rdx) then 13 @ 0x11e1 else 23 @ 0x11aa 0x11ac 50 r13 = r15 0x11af 51 ebx = 0 0x11bb 52 goto 58 @ 0x11c0 0x1250 53 ebx = 0 0x125c 54 goto 66 @ 0x1260 0x1210 55 temp0.d = [rcx + (rbx << 2)].d 0x1210 56 cond:0 = temp0.d == 0 0x1214 57 if (temp0.d == 0) then 71 else 73 @ 0x1217 0x11c0 58 rdi = r14 0x11c3 59 rsi = r13 0x11c6 60 eax = 0 0x11c8 61 call(0x1040) 0x11cd 62 rbx = rbx + 1 0x11d1 63 rax = sx.q([rsp + 0xc {var_3d093c}].d) 0x11d6 64 r13 = r13 + 4 0x11dd 65 if (rbx s< rax) then 58 @ 0x11c0 else 74 @ 0x11df 0x1260 66 ebp = [r10 + (rbx << 2)].d 0x1264 67 ebp = ebp | ecx 0x1264 68 cond:1 = ebp == 0 0x1264 69 cond:2 = ebp == 0 0x1266 70 if (ebp == 0) then 75 else 77 @ 0x126a 0x1214 71 eax = ebx 0x1214 72 goto 73 @ 0x1217 0x1217 73 if (cond:0) then 78 else 80 @ 0x121a 0x11df 74 goto 46 @ 0x1190 0x1266 75 ecx = r9d 0x1266 76 goto 77 @ 0x126a 0x126a 77 if (cond:1) then 82 else 84 @ 0x126d 0x1217 78 esi = edi 0x1217 79 goto 80 @ 0x121a 0x121a 80 rbx = rbx + 1 0x1221 81 if (r8 != rbx) then 55 @ 0x1210 else 85 @ 0x1223 0x126a 82 edi = ebx 0x126a 83 goto 84 @ 0x126d 0x126d 84 if (cond:2) then 88 else 90 @ 0x1271 0x1223 85 rdi = rdi + 1 0x1227 86 rcx = rcx + 0xfa0 0x1231 87 if (rdi != r8) then 44 @ 0x1200 else 92 @ 0x1235 0x126d 88 edx = r11d 0x126d 89 goto 90 @ 0x1271 0x1271 90 rbx = rbx + 1 0x1278 91 if (r8 != rbx) then 66 @ 0x1260 else 93 @ 0x127a 0x1235 92 if (edx s<= 0) then 29 @ 0x1294 else 24 @ 0x1237 0x127a 93 r11 = r11 + 1 0x127e 94 r10 = r10 + 0xfa0 0x1288 95 if (r11 != r8) then 53 @ 0x1250 else 96 @ 0x128a 0x128a 96 edx = not.d(edx) 0x128c 97 edi = not.d(edi) 0x128e 98 goto 29 @ 0x1294 int64_t _fini(): 0x12c4 0 rsp = rsp - 8 0x12c8 1 rsp = rsp + 8 0x12cc 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 {"AWAVAUATSHP"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r13) 0x1156 3 push(r12) 0x1158 4 push(rbx) 0x1159 5 rsp = rsp - 0x650 0x1160 6 [rsp + 0xf {var_669}].b = 0x2c {""} 0x1165 7 rbx = rsp + 0x10 {var_668} 0x116a 8 r14 = 0x2004 {"%d"} 0x1171 9 r15 = 0x2007 {"%c"} 0x1178 10 r12 = rsp + 0xf {var_669} 0x117d 11 r13d = 0 0x117d 12 goto 13 @ 0x1180 0x1180 13 rdi = r14 0x1183 14 rsi = rbx 0x1186 15 eax = 0 0x1188 16 call(0x1040) 0x118d 17 rdi = r15 0x1190 18 rsi = r12 {var_669} 0x1193 19 eax = 0 0x1195 20 call(0x1040) 0x119a 21 r13d = r13d + 1 0x119e 22 rbx = rbx + 4 0x11a7 23 if ([rsp + 0xf {var_669}].b == 0x2c) then 13 @ 0x1180 else 24 @ 0x11ac 0x11ac 24 if (r13d == 0) then 25 @ 0x11df else 27 @ 0x11b2 0x11df 25 eax = 0 0x11e5 26 if (r13d s< 3) then 28 @ 0x1232 else 30 @ 0x11e7 0x11b2 27 if (r13d == 1) then 38 @ 0x123c else 42 @ 0x11b8 0x1232 28 ecx = [rsp + 0x10 {var_668}].d 0x123a 29 if ([rsp + 0x14 {var_664}].d != ecx) then 45 @ 0x124f else 38 @ 0x123c 0x11e7 30 ecx = [rsp + 0x10 {var_668}].d 0x11eb 31 edx = [rsp + 0x14 {var_664}].d 0x11ef 32 eax = (r13 - 1).d 0x11f3 33 esi = 1 0x11f8 34 rsi = rsi - rax 0x11fb 35 eax = 0 0x11fd 36 edi = 2 0x1202 37 goto 46 @ 0x1224 0x123c 38 rdi = 0x200a {"No"} 0x1243 39 eax = 0 0x1245 40 call(0x1030) 0x124a 41 goto 47 @ 0x128f 0x11b8 42 eax = r13d 0x11bb 43 ecx = 0 0x11bd 44 goto 55 @ 0x11c9 0x124f 45 if (eax s>= r13d) then 58 @ 0x127d else 63 @ 0x1251 0x1224 46 if (edx != ecx) then 66 @ 0x1210 else 70 @ 0x1226 0x128f 47 eax = 0 0x1291 48 rsp = rsp + 0x650 0x1298 49 rbx = pop 0x1299 50 r12 = pop 0x129b 51 r13 = pop 0x129d 52 r14 = pop 0x129f 53 r15 = pop 0x12a1 54 <return> jump(pop) 0x11c9 55 edx = [rsp + (rcx << 2) + 0x10].d 0x11cd 56 esi = [rsp + 0x10 {var_668}].d 0x11d3 57 if (edx s< esi) then 74 @ 0x11c0 else 76 @ 0x11d5 0x127d 58 esi = [rsp + 0x14 {var_664}].d 0x1281 59 rdi = 0x2004 {"%d"} 0x1288 60 eax = 0 0x128a 61 call(0x1030) 0x128a 62 goto 47 @ 0x128f 0x1251 63 rax = sx.q(eax) 0x1253 64 rdx = sx.q(r13d) 0x1256 65 goto 79 @ 0x1269 0x1210 66 rbx = rsi + rdi 0x1214 67 rbx = rbx + 1 0x1218 68 rdi = rdi + 1 0x1220 69 if (rbx == 2) then 28 @ 0x1232 else 46 @ 0x1224 0x1226 70 edx = [rsp + (rdi << 2) + 0x10].d 0x122a 71 [rsp + 0x14 {var_664}].d = edx 0x122e 72 eax = edi 0x1230 73 goto 66 @ 0x1210 0x11c0 74 rcx = rcx + 1 0x11c7 75 if (rax == rcx) then 25 @ 0x11df else 55 @ 0x11c9 0x11d5 76 [rsp + 0x10 {var_668}].d = edx 0x11d9 77 [rsp + (rcx << 2) + 0x10].d = esi 0x11dd 78 goto 74 @ 0x11c0 0x1269 79 esi = [rsp + (rax << 2) + 0x10].d 0x1271 80 if (esi s<= [rsp + 0x14 {var_664}].d) then 81 @ 0x1260 else 83 @ 0x1275 0x1260 81 rax = rax + 1 0x1267 82 if (rdx == rax) then 58 @ 0x127d else 79 @ 0x1269 0x1275 83 if (esi s>= ecx) then 81 @ 0x1260 else 84 @ 0x1277 0x1277 84 [rsp + 0x14 {var_664}].d = esi 0x127b 85 goto 81 @ 0x1260 int64_t _fini(): 0x12a8 0 rsp = rsp - 8 0x12ac 1 rsp = rsp + 8 0x12b0 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 {"UAWAVATSHL5"} 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 reverse(int32_t arg1): 0x1150 0 ecx = 0x5f5e100 {""} 0x115f 1 goto 2 @ 0x1160 0x1160 2 eax = edi 0x1162 3 temp2.d:temp3.d = sx.q(eax) 0x1162 4 edx = temp2.d 0x1162 5 eax = temp3.d 0x1163 6 temp4.d = edx 0x1163 7 temp5.d = eax 0x1163 8 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x1163 9 temp6.d = edx 0x1163 10 temp7.d = eax 0x1163 11 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x1163 12 eax = temp0.d 0x1163 13 edx = temp1.d 0x1167 14 if (eax != 0) then 15 @ 0x118b else 16 @ 0x1169 0x118b 15 if (ecx s<= 0) then 25 @ 0x11d1 else 27 @ 0x118d 0x1169 16 rax = sx.q(ecx) 0x116c 17 rax = rax * 0x66666667 0x1173 18 rdx = rax 0x1176 19 rdx = rdx u>> 0x3f 0x117a 20 rax = rax s>> 0x22 0x117e 21 eax = eax + edx 0x1180 22 cond:0 = ecx s> 9 0x1183 23 ecx = eax 0x1185 24 if (cond:0) then 2 @ 0x1160 else 30 @ 0x1187 0x11d1 25 eax = 0 0x11d3 26 <return> jump(pop) 0x118d 27 edx = 1 0x1192 28 eax = 0 0x119e 29 goto 31 @ 0x11a0 0x1187 30 goto 25 @ 0x11d1 0x11a0 31 r8d = (rax + (rax << 2)).d 0x11a4 32 rsi = sx.q(edi) 0x11a7 33 rdi = rsi * 0x66666667 0x11ae 34 rax = rdi 0x11b1 35 rax = rax u>> 0x3f 0x11b5 36 rdi = rdi s>> 0x22 0x11b9 37 edi = edi + eax 0x11bb 38 eax = (rdi + rdi).d 0x11be 39 eax = (rax + (rax << 2)).d 0x11c1 40 esi = esi - eax 0x11c3 41 eax = (rsi + (r8 << 1)).d 0x11c7 42 edx = edx + edx 0x11c9 43 edx = (rdx + (rdx << 2)).d 0x11ce 44 if (edx s<= ecx) then 31 @ 0x11a0 else 45 @ 0x11d0 0x11d0 45 <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(r12) 0x11e7 4 push(rbx) 0x11e8 5 rsp = rsp - 0x10 0x11ec 6 r14 = 0x2004 {"%d"} 0x11f3 7 r15 = rsp + 0xc {var_2c} 0x11f8 8 r12 = 0x2007 {"%d\n"} 0x11ff 9 ebp = 0 0x1201 10 goto 11 @ 0x1228 0x1228 11 rdi = r14 0x122b 12 rsi = r15 {var_2c} 0x122e 13 eax = 0 0x1230 14 call(0x1040) 0x1235 15 edi = 0x5f5e100 {""} 0x123a 16 ecx = [rsp + 0xc {var_2c}].d 0x123e 17 goto 18 @ 0x1240 0x1240 18 eax = ecx 0x1242 19 temp2.d:temp3.d = sx.q(eax) 0x1242 20 edx = temp2.d 0x1242 21 eax = temp3.d 0x1243 22 temp4.d = edx 0x1243 23 temp5.d = eax 0x1243 24 temp0.d = divs.dp.d(temp4.d:temp5.d, edi) 0x1243 25 temp6.d = edx 0x1243 26 temp7.d = eax 0x1243 27 temp1.d = mods.dp.d(temp6.d:temp7.d, edi) 0x1243 28 eax = temp0.d 0x1243 29 edx = temp1.d 0x1247 30 if (eax != 0) then 31 @ 0x1272 else 32 @ 0x1249 0x1272 31 if (edi s<= 0) then 41 @ 0x1210 else 43 @ 0x1274 0x1249 32 rax = sx.q(edi) 0x124c 33 rax = rax * 0x66666667 0x1253 34 rdx = rax 0x1256 35 rdx = rdx u>> 0x3f 0x125a 36 rax = rax s>> 0x22 0x125e 37 eax = eax + edx 0x1260 38 cond:0 = edi s> 9 0x1263 39 edi = eax 0x1265 40 if (cond:0) then 18 @ 0x1240 else 46 @ 0x1267 0x1210 41 esi = 0 0x1210 42 goto 47 @ 0x1212 0x1274 43 eax = 1 0x1279 44 esi = 0 0x127b 45 goto 52 @ 0x1280 0x1267 46 goto 41 @ 0x1210 0x1212 47 rdi = r12 0x1215 48 eax = 0 0x1217 49 call(0x1030) 0x121c 50 ebp = ebp + 1 0x1222 51 if (ebp == 6) then 66 @ 0x12b3 else 11 @ 0x1228 0x1280 52 edx = (rsi + (rsi << 2)).d 0x1283 53 rsi = sx.q(ecx) 0x1286 54 rcx = rsi * 0x66666667 0x128d 55 rbx = rcx 0x1290 56 rbx = rbx u>> 0x3f 0x1294 57 rcx = rcx s>> 0x22 0x1298 58 ecx = ecx + ebx 0x129a 59 ebx = (rcx + rcx).d 0x129d 60 ebx = (rbx + (rbx << 2)).d 0x12a0 61 esi = esi - ebx 0x12a2 62 esi = (rsi + (rdx << 1)).d 0x12a5 63 eax = eax + eax 0x12a7 64 eax = (rax + (rax << 2)).d 0x12ac 65 if (eax s<= edi) then 52 @ 0x1280 else 74 @ 0x12ae 0x12b3 66 eax = 0 0x12b5 67 rsp = rsp + 0x10 0x12b9 68 rbx = pop 0x12ba 69 r12 = pop 0x12bc 70 r14 = pop 0x12be 71 r15 = pop 0x12c0 72 rbp = pop 0x12c1 73 <return> jump(pop) 0x12ae 74 goto 47 @ 0x1212 int64_t _fini(): 0x12c8 0 rsp = rsp - 8 0x12cc 1 rsp = rsp + 8 0x12d0 2 <return> jump(pop)
POJ_44
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"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 - 0x148 0x1171 7 r14 = 0x2005 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_16c} 0x117d 9 rdi = r14 0x1180 10 eax = 0 0x1182 11 call(0x1050) 0x118c 12 if ([rsp + 0xc {var_16c}].d s<= 0) then 13 @ 0x11c0 else 19 @ 0x118e 0x11c0 13 r15 = rsp + 0x10 {var_168} 0x11c5 14 rdi = r15 {var_168} 0x11c8 15 call(0x1040) 0x11cd 16 rcx = rax 0x11d0 17 rcx = rcx << 0x20 0x11d7 18 if (rcx s<= 0) then 22 @ 0x1259 else 30 @ 0x11dd 0x118e 19 rbx = 0x2005 {"%d"} 0x1195 20 ebp = 0 0x1197 21 goto 37 @ 0x11a0 0x1259 22 rsp = rsp + 0x148 0x1260 23 rbx = pop 0x1261 24 r12 = pop 0x1263 25 r13 = pop 0x1265 26 r14 = pop 0x1267 27 r15 = pop 0x1269 28 rbp = pop 0x126a 29 <return> jump(pop) 0x11dd 30 rax = sx.q(eax) 0x11df 31 r13 = rsp + rax 0x11e3 32 r13 = r13 + 0x10 0x11e7 33 r12 = 0x2004 {",%d"} 0x11ee 34 ebx = 0 0x11f0 35 rbp = r15 {var_168} 0x11f3 36 goto 45 @ 0x1225 0x11a0 37 rsi = rsp + rbp 0x11a4 38 rsi = rsi + 0x10 0x11a8 39 rdi = rbx 0x11ab 40 eax = 0 0x11ad 41 call(0x1050) 0x11b2 42 rbp = rbp + 1 0x11b6 43 rax = sx.q([rsp + 0xc {var_16c}].d) 0x11be 44 if (rbp s< rax) then 37 @ 0x11a0 else 13 @ 0x11c0 0x1225 45 if (r15 u>= rbp) then 46 @ 0x1203 else 47 @ 0x1227 0x1203 46 if (rbp == r15) then 50 @ 0x1250 else 53 @ 0x1205 0x1227 47 al = [rbp].b 0x122a 48 ecx = 0 0x122c 49 goto 56 @ 0x1234 0x1250 50 al = [rsp + 0x10 {var_168}].b 0x1254 51 rdi = r14 0x1257 52 goto 57 @ 0x120b 0x1205 53 al = [rbp].b 0x1208 54 rdi = r12 0x1208 55 goto 57 @ 0x120b 0x1234 56 if ([rsp + rcx + 0x10].b == al) then 61 @ 0x1215 else 64 @ 0x1236 0x120b 57 esi = sx.d(al) 0x120e 58 eax = 0 0x1210 59 call(0x1030) 0x1210 60 goto 61 @ 0x1215 0x1215 61 rbp = rbp + 1 0x1219 62 rbx = rbx + 1 0x1220 63 if (rbp u>= r13) then 22 @ 0x1259 else 45 @ 0x1225 0x1236 64 rcx = rcx + 1 0x123d 65 if (rbx != rcx) then 56 @ 0x1234 else 66 @ 0x123f 0x123f 66 goto 46 @ 0x1203 int64_t _fini(): 0x1270 0 rsp = rsp - 8 0x1274 1 rsp = rsp + 8 0x1278 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 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) int64_t malloc(uint64_t bytes): 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 {"UHH0E"} 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 - 0x30 0x1168 3 [rbp - 4 {var_c}].d = 0 0x116f 4 [rbp - 0x24 {var_2c}].d = 0 0x1176 5 edi = 0x3e8 {""} 0x117b 6 call(0x1040) 0x1180 7 [rbp - 0x10 {var_18}].q = rax 0x1184 8 edi = 0x3e8 {""} 0x1189 9 call(0x1040) 0x118e 10 [rbp - 0x18 {var_20}].q = rax 0x1192 11 rdi = [rbp - 0x10 {var_18}].q 0x1196 12 al = 0 0x1198 13 call(0x1030) 0x119d 14 [rbp - 0x1c {var_24}].d = 0 0x11a4 15 [rbp - 0x20 {var_28}].d = 0 0x11a4 16 goto 17 @ 0x11ab 0x11ab 17 rax = [rbp - 0x10 {var_18}].q 0x11af 18 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x11b3 19 eax = sx.d([rax + rcx].b) 0x11ba 20 if (eax == 0) then 21 @ 0x1245 else 31 @ 0x11c0 0x1245 21 rax = [rbp - 0x18 {var_20}].q 0x1249 22 rcx = sx.q([rbp - 0x20 {var_28}].d) 0x124d 23 [rax + rcx].b = 0 0x1251 24 rdi = [rbp - 0x18 {var_20}].q 0x1255 25 al = 0 0x1257 26 call(0x1050) 0x125c 27 eax = [rbp - 4 {var_c}].d 0x125f 28 rsp = rsp + 0x30 0x1263 29 rbp = pop 0x1264 30 <return> jump(pop) 0x11c0 31 rax = [rbp - 0x10 {var_18}].q 0x11c4 32 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x11c8 33 eax = sx.d([rax + rcx].b) 0x11cf 34 if (eax == 0x20) then 35 @ 0x1204 else 36 @ 0x11d5 0x1204 35 if ([rbp - 0x24 {var_2c}].d != 0) then 47 @ 0x1229 else 51 @ 0x120a 0x11d5 36 [rbp - 0x24 {var_2c}].d = 0 0x11dc 37 rax = [rbp - 0x10 {var_18}].q 0x11e0 38 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x11e4 39 dl = [rax + rcx].b 0x11e7 40 rax = [rbp - 0x18 {var_20}].q 0x11eb 41 rcx = sx.q([rbp - 0x20 {var_28}].d) 0x11ef 42 [rax + rcx].b = dl 0x11f2 43 eax = [rbp - 0x20 {var_28}].d 0x11f5 44 eax = eax + 1 0x11f8 45 [rbp - 0x20 {var_28}].d = eax 0x11fb 46 goto 61 @ 0x1232 0x1229 47 eax = [rbp - 0x24 {var_2c}].d 0x122c 48 eax = eax + 1 0x122f 49 [rbp - 0x24 {var_2c}].d = eax 0x122f 50 goto 61 @ 0x1232 0x120a 51 rax = [rbp - 0x10 {var_18}].q 0x120e 52 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x1212 53 dl = [rax + rcx].b 0x1215 54 rax = [rbp - 0x18 {var_20}].q 0x1219 55 rcx = sx.q([rbp - 0x20 {var_28}].d) 0x121d 56 [rax + rcx].b = dl 0x1220 57 eax = [rbp - 0x20 {var_28}].d 0x1223 58 eax = eax + 1 0x1226 59 [rbp - 0x20 {var_28}].d = eax 0x1226 60 goto 47 @ 0x1229 0x1232 61 goto 62 @ 0x1237 0x1237 62 eax = [rbp - 0x1c {var_24}].d 0x123a 63 eax = eax + 1 0x123d 64 [rbp - 0x1c {var_24}].d = eax 0x1240 65 goto 17 @ 0x11ab int64_t _fini(): 0x126c 0 rsp = rsp - 8 0x1270 1 rsp = rsp + 8 0x1274 2 <return> jump(pop)
POJ_62