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) 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 {"UAWAVAUATSHxH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x78 0x116e 7 rdi = 0x2004 {"%s%s"} 0x1175 8 r14 = rsp {var_a8} 0x1178 9 r15 = rsp + 0x40 {var_68} 0x117d 10 rsi = r14 {var_a8} 0x1180 11 rdx = r15 {var_68} 0x1183 12 eax = 0 0x1185 13 call(0x1050) 0x118a 14 rdi = r15 {var_68} 0x118d 15 call(0x1040) 0x1195 16 if (rax s<= 0) then 17 @ 0x1232 else 25 @ 0x119b 0x1232 17 rsp = rsp + 0x78 0x1236 18 rbx = pop 0x1237 19 r12 = pop 0x1239 20 r13 = pop 0x123b 21 r14 = pop 0x123d 22 r15 = pop 0x123f 23 rbp = pop 0x1240 24 <return> jump(pop) 0x119b 25 r13 = r15 {var_68} 0x119e 26 rbp = r14 {var_a8} 0x11a1 27 goto 28 @ 0x11c8 0x11c8 28 r12b = [r13].b 0x11d0 29 if (r12b != [rbp].b) then 30 @ 0x11b0 else 32 @ 0x11d2 0x11b0 30 r13 = r13 + 1 0x11b0 31 goto 36 @ 0x11b4 0x11d2 32 rdi = r14 {var_a8} 0x11d5 33 call(0x1040) 0x11da 34 rbp = rsp + rax 0x11e1 35 if (rax s<= 0) then 41 @ 0x1219 else 48 @ 0x11e7 0x11b4 36 rdi = r15 {var_68} 0x11b7 37 call(0x1040) 0x11bc 38 rax = rax + rsp 0x11bf 39 rax = rax + 0x40 0x11c6 40 if (r13 u>= rax) then 17 @ 0x1232 else 28 @ 0x11c8 0x1219 41 rax = rax + r15 0x121c 42 rsi = r13 0x121f 43 rsi = rsi - rax 0x1222 44 rdi = 0x2009 {"%d"} 0x1229 45 eax = 0 0x122b 46 call(0x1030) 0x1230 47 goto 36 @ 0x11b4 0x11e7 48 if ([rsp {var_a8}].b != r12b) then 41 @ 0x1219 else 49 @ 0x11e9 0x11e9 49 r13 = r13 + 1 0x11ed 50 rdx = r13 0x11f0 51 rcx = rsp + 1 {var_a7} 0x11ff 52 goto 53 @ 0x1200 0x1200 53 r13 = rdx 0x1206 54 if (rcx u>= rbp) then 41 @ 0x1219 else 55 @ 0x1208 0x1208 55 ebx = zx.d([rcx].b) 0x120b 56 rcx = rcx + 1 0x120f 57 rdx = r13 + 1 0x1217 58 if (bl == [r13].b) then 53 @ 0x1200 else 41 @ 0x1219 int64_t _fini(): 0x1248 0 rsp = rsp - 8 0x124c 1 rsp = rsp + 8 0x1250 2 <return> jump(pop)
POJ_45
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void 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 = 0x1180 {"AWAVSHO"} 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 cmp(void* arg1, void* arg2): 0x1160 0 eax = [rsi + 4].d 0x1163 1 ecx = 0 0x1168 2 cl = eax s> [rdi + 4].d 0x116b 3 eax = (rcx + rcx).d 0x116e 4 eax = eax - 1 0x1171 5 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(r15) 0x1182 1 push(r14) 0x1184 2 push(rbx) 0x1185 3 rsp = rsp - 0x124f90 0x118c 4 rdi = 0x200a {"%d"} 0x1193 5 rsi = rsp + 0xc {var_124f9c} 0x1198 6 eax = 0 0x119a 7 call(0x1040) 0x119f 8 esi = [rsp + 0xc {var_124f9c}].d 0x11a5 9 if (esi s<= 0) then 10 @ 0x11ec else 37 @ 0x11a7 0x11ec 10 rcx = 0x1160 {"F1;G\tf."} 0x11f3 11 rdi = rsp + 0x10 {var_124f98} 0x11f8 12 edx = 0xc {""} 0x11fd 13 eax = 0 0x11ff 14 call(0x1050) 0x1204 15 esi = [rsp + 0x10 {var_124f98}].d 0x1208 16 edx = [rsp + 0x14 {var_124f94}].d 0x120c 17 rbx = 0x200d {"%d %d\n"} 0x1213 18 rdi = rbx 0x1216 19 eax = 0 0x1218 20 call(0x1030) 0x121d 21 esi = [rsp + 0x1c {var_124f8c}].d 0x1221 22 edx = [rsp + 0x20 {var_124f88}].d 0x1225 23 rdi = rbx 0x1228 24 eax = 0 0x122a 25 call(0x1030) 0x122f 26 esi = [rsp + 0x28 {var_124f80}].d 0x1233 27 edx = [rsp + 0x2c {var_124f7c}].d 0x1237 28 rdi = rbx 0x123a 29 eax = 0 0x123c 30 call(0x1030) 0x1241 31 eax = 0 0x1243 32 rsp = rsp + 0x124f90 0x124a 33 rbx = pop 0x124b 34 r14 = pop 0x124d 35 r15 = pop 0x124f 36 <return> jump(pop) 0x11a7 37 rbx = rsp + 0x14 {var_124f94} 0x11ac 38 r14 = 0x2004 {"%d %d %d"} 0x11b3 39 r15d = 0 0x11b6 40 goto 41 @ 0x11c0 0x11c0 41 rsi = rbx - 4 0x11c4 42 rcx = rbx + 4 0x11c8 43 rdi = r14 0x11cb 44 rdx = rbx 0x11ce 45 eax = 0 0x11d0 46 call(0x1040) 0x11d5 47 eax = [rbx + 4].d 0x11d8 48 [rbx].d = [rbx].d + eax 0x11da 49 r15 = r15 + 1 0x11de 50 rsi = sx.q([rsp + 0xc {var_124f9c}].d) 0x11e3 51 rbx = rbx + 0xc 0x11ea 52 if (r15 s< rsi) then 41 @ 0x11c0 else 10 @ 0x11ec int64_t _fini(): 0x1254 0 rsp = rsp - 8 0x1258 1 rsp = rsp + 8 0x125c 2 <return> jump(pop)
POJ_14
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHHE"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x10 0x1158 3 [rbp - 8 {var_10}].d = 0 0x1158 4 goto 5 @ 0x115f 0x115f 5 rdi = 0x2004 {"%c"} 0x1166 6 rsi = rbp - 1 {var_9} 0x116a 7 al = 0 0x116c 8 call(0x1040) 0x1171 9 eax = sx.d([rbp - 1 {var_9}].b) 0x1178 10 if (eax != 0x20) then 11 @ 0x11b2 else 13 @ 0x1182 0x11b2 11 [rbp - 8 {var_10}].d = 0 0x11b2 12 goto 14 @ 0x11bd 0x1182 13 if ([rbp - 8 {var_10}].d != 0) then 15 @ 0x11a6 else 17 @ 0x1188 0x11bd 14 if ([rbp - 8 {var_10}].d != 0) then 23 @ 0x11d5 else 24 @ 0x11c3 0x11a6 15 [rbp - 8 {var_10}].d = 1 0x11a6 16 goto 29 @ 0x11ad 0x1188 17 [rbp - 8 {var_10}].d = 1 0x118f 18 esi = sx.d([rbp - 1 {var_9}].b) 0x1193 19 rdi = 0x2004 {"%c"} 0x119a 20 al = 0 0x119c 21 call(0x1030) 0x11a1 22 goto 29 @ 0x11ad 0x11d5 23 goto 30 @ 0x11da 0x11c3 24 esi = sx.d([rbp - 1 {var_9}].b) 0x11c7 25 rdi = 0x2004 {"%c"} 0x11ce 26 al = 0 0x11d0 27 call(0x1030) 0x11d0 28 goto 23 @ 0x11d5 0x11ad 29 goto 14 @ 0x11bd 0x11da 30 eax = sx.d([rbp - 1 {var_9}].b) 0x11e1 31 if (eax != 0xa) then 5 @ 0x115f else 32 @ 0x11e7 0x11e7 32 rsp = rsp + 0x10 0x11eb 33 rbp = pop 0x11ec 34 <return> jump(pop) int64_t _fini(): 0x11f4 0 rsp = rsp - 8 0x11f8 1 rsp = rsp + 8 0x11fc 2 <return> jump(pop)
POJ_26
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_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 {"UAWAVAUATSHD$ "} 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 [rsp + 0xc {var_3c}].d = 0 0x1166 8 rdi = 0x2008 {"%d"} 0x116d 9 ebp = 0 0x116f 10 rsi = rsp + 0xc {var_3c} 0x1174 11 eax = 0 0x1176 12 call(0x1040) 0x117b 13 eax = [rsp + 0xc {var_3c}].d 0x117f 14 r13d = 0 0x1185 15 r12d = 0 0x118b 16 [rsp + 0x10 {var_38}].d = 0 0x1195 17 if (eax s<= 0) then 18 @ 0x1212 else 65 @ 0x1197 0x1212 18 xmm0.d = float.s(ebp) 0x1216 19 xmm1.d = float.s(eax) 0x121a 20 xmm0.d = xmm0.d f* fconvert.t([0x2004].d) 0x1222 21 xmm0.d = xmm0.d f/ xmm1.d 0x1226 22 xmm0.q = fconvert.d(xmm0.d) 0x122a 23 rdi = 0x200b {"1-18: %.2f%%\n"} 0x1231 24 al = 1 0x1233 25 call(0x1030) 0x1238 26 xmm0 = 0 0x123b 27 xmm0.d = float.s(r13d) 0x1240 28 xmm1 = 0 0x1243 29 xmm1.d = float.s([rsp + 0xc {var_3c}].d) 0x1249 30 xmm0.d = xmm0.d f* fconvert.t([0x2004].d) 0x1251 31 xmm0.d = xmm0.d f/ xmm1.d 0x1255 32 xmm0.q = fconvert.d(xmm0.d) 0x1259 33 rdi = 0x2019 {"19-35: %.2f%%\n"} 0x1260 34 al = 1 0x1262 35 call(0x1030) 0x1267 36 xmm0 = 0 0x126a 37 xmm0.d = float.s(r12d) 0x126f 38 xmm1 = 0 0x1272 39 xmm1.d = float.s([rsp + 0xc {var_3c}].d) 0x1278 40 xmm0.d = xmm0.d f* fconvert.t([0x2004].d) 0x1280 41 xmm0.d = xmm0.d f/ xmm1.d 0x1284 42 xmm0.q = fconvert.d(xmm0.d) 0x1288 43 rdi = 0x2028 {"36-60: %.2f%%\n"} 0x128f 44 al = 1 0x1291 45 call(0x1030) 0x1296 46 xmm0 = 0 0x1299 47 xmm0.d = float.s([rsp + 0x10 {var_38}].d) 0x129f 48 xmm1 = 0 0x12a2 49 xmm1.d = float.s([rsp + 0xc {var_3c}].d) 0x12a8 50 xmm0.d = xmm0.d f* fconvert.t([0x2004].d) 0x12b0 51 xmm0.d = xmm0.d f/ xmm1.d 0x12b4 52 xmm0.q = fconvert.d(xmm0.d) 0x12b8 53 rdi = 0x2037 {"60??: %.2f%%\n"} 0x12bf 54 al = 1 0x12c1 55 call(0x1030) 0x12c6 56 eax = 0 0x12c8 57 rsp = rsp + 0x18 0x12cc 58 rbx = pop 0x12cd 59 r12 = pop 0x12cf 60 r13 = pop 0x12d1 61 r14 = pop 0x12d3 62 r15 = pop 0x12d5 63 rbp = pop 0x12d6 64 <return> jump(pop) 0x1197 65 r14 = 0x2008 {"%d"} 0x119e 66 rbx = rsp + 0x14 {var_34} 0x11a3 67 r15d = 0 0x11a6 68 [rsp + 0x10 {var_38}].d = 0 0x11ae 69 r12d = 0 0x11b1 70 r13d = 0 0x11b4 71 ebp = 0 0x11b6 72 goto 73 @ 0x11d0 0x11d0 73 rdi = r14 0x11d3 74 rsi = rbx {var_34} 0x11d6 75 eax = 0 0x11d8 76 call(0x1040) 0x11dd 77 eax = [rsp + 0x14 {var_34}].d 0x11e4 78 if (eax s<= 0x12) then 79 @ 0x11c0 else 81 @ 0x11e9 0x11c0 79 ebp = ebp + 1 0x11c0 80 goto 82 @ 0x11c3 0x11e9 81 if (eax u> 0x23) then 85 @ 0x1203 else 86 @ 0x11eb 0x11c3 82 r15d = r15d + 1 0x11c7 83 eax = [rsp + 0xc {var_3c}].d 0x11ce 84 if (r15d s>= eax) then 18 @ 0x1212 else 73 @ 0x11d0 0x1203 85 if (eax u> 0x3c) then 88 @ 0x120b else 90 @ 0x1205 0x11eb 86 r13d = r13d + 1 0x11ef 87 goto 82 @ 0x11c3 0x120b 88 [rsp + 0x10 {var_38}].d = [rsp + 0x10 {var_38}].d + 1 0x1210 89 goto 82 @ 0x11c3 0x1205 90 r12d = r12d + 1 0x1209 91 goto 82 @ 0x11c3 int64_t _fini(): 0x12dc 0 rsp = rsp - 8 0x12e0 1 rsp = rsp + 8 0x12e4 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) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH(H="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 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 - 0x28 0x116e 7 rdi = 0x2010 {"%d"} 0x1175 8 [rsp + 8 {var_50}].d = 0 0x117d 9 rsi = rsp + 0x10 {var_48} 0x1182 10 eax = 0 0x1184 11 call(0x1040) 0x1189 12 eax = [rsp + 0x10 {var_48}].d 0x118d 13 r12d = 0 0x1193 14 ebp = 0 0x1198 15 ebx = 0 0x119f 16 if (eax s<= 0) then 17 @ 0x1212 else 72 @ 0x11a1 0x1212 17 xmm1.q = float.d(eax) 0x1216 18 xmm0.q = float.d(ebx) 0x121a 19 xmm0.q = xmm0.q f/ xmm1.q 0x121e 20 xmm2 = zx.o([0x2008].q) 0x1226 21 xmm0.q = xmm0.q f* xmm2.q 0x122a 22 xmm3.q = float.d(ebp) 0x122e 23 xmm3.q = xmm3.q f/ xmm1.q 0x1232 24 xmm3.q = xmm3.q f* xmm2.q 0x1236 25 [rsp + 0x18 {var_40}].q = xmm3.q 0x123c 26 xmm3 = 0 0x123f 27 xmm3.q = float.d(r12d) 0x1244 28 xmm3.q = xmm3.q f/ xmm1.q 0x1248 29 xmm3.q = xmm3.q f* xmm2.q 0x124c 30 [rsp + 0x20 {var_38}].q = xmm3.q 0x1252 31 xmm3 = 0 0x1255 32 xmm3.q = float.d([rsp + 8 {var_50}].d) 0x125b 33 xmm3.q = xmm3.q f/ xmm1.q 0x125f 34 xmm3.q = xmm3.q f* xmm2.q 0x1263 35 [rsp + 8 {var_50}].q = xmm3.q 0x1269 36 rdi = 0x2013 {"1-18: %.2lf"} 0x1270 37 al = 1 0x1272 38 call(0x1030) 0x1277 39 rbx = 0x201f {"%%\n"} 0x127e 40 rdi = rbx 0x1281 41 eax = 0 0x1283 42 call(0x1030) 0x1288 43 rdi = 0x2023 {"19-35: %.2lf"} 0x128f 44 xmm0 = zx.o([rsp + 0x18 {var_40}].q) 0x1295 45 al = 1 0x1297 46 call(0x1030) 0x129c 47 rdi = rbx 0x129f 48 eax = 0 0x12a1 49 call(0x1030) 0x12a6 50 rdi = 0x2030 {"36-60: %.2lf"} 0x12ad 51 xmm0 = zx.o([rsp + 0x20 {var_38}].q) 0x12b3 52 al = 1 0x12b5 53 call(0x1030) 0x12ba 54 rdi = rbx 0x12bd 55 eax = 0 0x12bf 56 call(0x1030) 0x12c4 57 rdi = 0x203d {"60??: %.2lf"} 0x12cb 58 xmm0 = zx.o([rsp + 8 {var_50}].q) 0x12d1 59 al = 1 0x12d3 60 call(0x1030) 0x12d8 61 edi = 0x25 {""} 0x12dd 62 call(0x1050) 0x12e2 63 eax = 0 0x12e4 64 rsp = rsp + 0x28 0x12e8 65 rbx = pop 0x12e9 66 r12 = pop 0x12eb 67 r13 = pop 0x12ed 68 r14 = pop 0x12ef 69 r15 = pop 0x12f1 70 rbp = pop 0x12f2 71 <return> jump(pop) 0x11a1 72 r14 = 0x2010 {"%d"} 0x11a8 73 r13 = rsp + 0x14 {var_44} 0x11ad 74 ebx = 0 0x11af 75 ebp = 0 0x11b1 76 r12d = 0 0x11b4 77 [rsp + 8 {var_50}].d = 0 0x11bc 78 r15d = 0 0x11bf 79 goto 80 @ 0x11e0 0x11e0 80 rdi = r14 0x11e3 81 rsi = r13 {var_44} 0x11e6 82 eax = 0 0x11e8 83 call(0x1040) 0x11ed 84 eax = [rsp + 0x14 {var_44}].d 0x11f4 85 if (eax s<= 0x12) then 86 @ 0x11d0 else 88 @ 0x11f9 0x11d0 86 ebx = ebx + 1 0x11d0 87 goto 89 @ 0x11d3 0x11f9 88 if (eax u> 0x23) then 92 @ 0x1203 else 93 @ 0x11fb 0x11d3 89 r15d = r15d + 1 0x11d7 90 eax = [rsp + 0x10 {var_48}].d 0x11de 91 if (r15d s>= eax) then 17 @ 0x1212 else 80 @ 0x11e0 0x1203 92 if (eax u> 0x3c) then 95 @ 0x120b else 97 @ 0x1205 0x11fb 93 ebp = ebp + 1 0x11fe 94 goto 89 @ 0x11d3 0x120b 95 [rsp + 8 {var_50}].d = [rsp + 8 {var_50}].d + 1 0x1210 96 goto 89 @ 0x11d3 0x1205 97 r12d = r12d + 1 0x1209 98 goto 89 @ 0x11d3 int64_t _fini(): 0x12f8 0 rsp = rsp - 8 0x12fc 1 rsp = rsp + 8 0x1300 2 <return> jump(pop)
POJ_99
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x40 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 xmm0 = 0 0x1162 5 [rbp - 0x40 {var_48}].q = xmm0.q 0x1167 6 rdi = 0x2018 {"%d"} 0x116e 7 rsi = rbp - 0xc {var_14} 0x1172 8 al = 0 0x1174 9 call(0x1040) 0x1179 10 [rbp - 8 {var_10}].d = 0 0x1179 11 goto 12 @ 0x1180 0x1180 12 eax = [rbp - 8 {var_10}].d 0x1186 13 if (eax s>= [rbp - 0xc {var_14}].d) then 14 @ 0x1243 else 18 @ 0x118c 0x1243 14 eax = 0 0x1245 15 rsp = rsp + 0x40 0x1249 16 rbp = pop 0x124a 17 <return> jump(pop) 0x118c 18 rdi = 0x2018 {"%d"} 0x1193 19 rsi = rbp - 0x10 {var_18} 0x1197 20 al = 0 0x1199 21 call(0x1040) 0x119e 22 xmm0 = zx.o([0x2010].q) 0x11a6 23 [rbp - 0x20 {var_28_1}].q = xmm0.q 0x11ab 24 xmm0 = zx.o([0x2008].q) 0x11b3 25 [rbp - 0x28 {var_30_1}].q = xmm0.q 0x11b8 26 [rbp - 0x14 {var_1c_1}].d = 0 0x11b8 27 goto 28 @ 0x11bf 0x11bf 28 eax = [rbp - 0x14 {var_1c_1}].d 0x11c5 29 if (eax s>= [rbp - 0x10 {var_18}].d) then 30 @ 0x121a else 40 @ 0x11cb 0x121a 30 xmm0 = zx.o([rbp - 0x40 {var_48}].q) 0x121f 31 rdi = 0x201b {"%.3lf\n"} 0x1226 32 al = 1 0x1228 33 call(0x1030) 0x122d 34 xmm0 = 0 0x1230 35 [rbp - 0x40 {var_48}].q = xmm0.q 0x1235 36 eax = [rbp - 8 {var_10}].d 0x1238 37 eax = eax + 1 0x123b 38 [rbp - 8 {var_10}].d = eax 0x123e 39 goto 12 @ 0x1180 0x11cb 40 xmm0 = zx.o([rbp - 0x28 {var_30_1}].q) 0x11d0 41 xmm0.q = xmm0.q f/ fconvert.t([rbp - 0x20 {var_28_1}].q) 0x11d5 42 [rbp - 0x30 {var_38_1}].q = xmm0.q 0x11da 43 xmm0 = zx.o([rbp - 0x30 {var_38_1}].q) 0x11df 44 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x40 {var_48}].q) 0x11e4 45 [rbp - 0x40 {var_48}].q = xmm0.q 0x11e9 46 xmm0 = zx.o([rbp - 0x28 {var_30_1}].q) 0x11ee 47 [rbp - 0x38 {var_40_1}].q = xmm0.q 0x11f3 48 xmm0 = zx.o([rbp - 0x28 {var_30_1}].q) 0x11f8 49 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x20 {var_28_1}].q) 0x11fd 50 [rbp - 0x28 {var_30_1}].q = xmm0.q 0x1202 51 xmm0 = zx.o([rbp - 0x38 {var_40_1}].q) 0x1207 52 [rbp - 0x20 {var_28_1}].q = xmm0.q 0x120c 53 eax = [rbp - 0x14 {var_1c_1}].d 0x120f 54 eax = eax + 1 0x1212 55 [rbp - 0x14 {var_1c_1}].d = eax 0x1215 56 goto 28 @ 0x11bf int64_t _fini(): 0x1250 0 rsp = rsp - 8 0x1254 1 rsp = rsp + 8 0x1258 2 <return> jump(pop)
POJ_29
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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) int32_t strcmp(char const* arg1, char const* arg2): 0x1070 0 <return> tailcall([0x4038].q) int32_t puts(char const* str): 0x1080 0 <return> tailcall([0x4040].q) void __cxa_finalize(void* d): 0x1090 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x10a4 0 ebp = 0 0x10a6 1 r9 = rdx 0x10a9 2 rsi = pop 0x10aa 3 rdx = rsp {arg_8} 0x10ad 4 rsp = rsp & 0xfffffffffffffff0 0x10b1 5 push(rax) 0x10b2 6 push(rsp) 0x10b3 7 r8d = 0 0x10b6 8 ecx = 0 0x10b8 9 rdi = 0x1190 {"UAWAVAUATSH"} 0x10bf 10 call([0x3ff8].q) 0x10bf 11 noreturn void deregister_tm_clones(): 0x10d0 0 rdi = 0x4058 {""} 0x10d7 1 rax = 0x4058 {""} 0x10e1 2 if (rax == rdi) then 3 @ 0x10f8 else 4 @ 0x10e3 0x10f8 3 <return> jump(pop) 0x10e3 4 rax = [0x3fd8].q 0x10ed 5 if (rax == 0) then 3 @ 0x10f8 else 6 @ 0x10ef 0x10ef 6 <return> tailcall(rax) void register_tm_clones(): 0x1100 0 rdi = 0x4058 {""} 0x1107 1 rsi = 0x4058 {""} 0x110e 2 rsi = rsi - rdi 0x1111 3 rax = rsi 0x1114 4 rsi = rsi u>> 0x3f 0x1118 5 rax = rax s>> 3 0x111c 6 rsi = rsi + rax 0x111f 7 rsi = rsi s>> 1 0x1122 8 if (rsi == 0) then 9 @ 0x1138 else 10 @ 0x1124 0x1138 9 <return> jump(pop) 0x1124 10 rax = [0x3ff0].q 0x112e 11 if (rax == 0) then 9 @ 0x1138 else 12 @ 0x1130 0x1130 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x114b 0 if ([0x4058].b != 0) then 1 @ 0x1178 else 2 @ 0x114d 0x1178 1 <return> jump(pop) 0x114d 2 push(rbp) 0x114e 3 cond:0 = [0x3fe0].q == 0 0x1156 4 rbp = rsp {__saved_rbp} 0x1159 5 if (cond:0) then 6 @ 0x1167 else 10 @ 0x115b 0x1167 6 call(0x10d0) 0x116c 7 [0x4058].b = 1 0x1173 8 rbp = pop 0x1174 9 <return> jump(pop) 0x115b 10 rdi = [0x4050].q 0x1162 11 call(0x1090) 0x1162 12 goto 6 @ 0x1167 int64_t frame_dummy(): 0x1184 0 <return> tailcall(0x1100) int32_t main(int32_t argc, char** argv, char** envp): 0x1190 0 push(rbp) 0x1191 1 push(r15) 0x1193 2 push(r14) 0x1195 3 push(r13) 0x1197 4 push(r12) 0x1199 5 push(rbx) 0x119a 6 rsp = rsp - 0x13a8 0x11a1 7 rdi = 0x2004 {"%d"} 0x11a8 8 r15d = 0 0x11ab 9 rsi = rsp + 4 {var_13d4} 0x11b0 10 eax = 0 0x11b2 11 call(0x1060) 0x11b7 12 r12 = rsp + 0x9e0 {var_9f8} 0x11bf 13 edx = 0x9c4 {""} 0x11c4 14 rdi = r12 {var_9f8} 0x11c7 15 esi = 0 0x11c9 16 call(0x1050) 0x11ce 17 rdi = 0x2007 {"%s"} 0x11d5 18 rsi = rsp + 0x10 {var_13c8} 0x11da 19 eax = 0 0x11dc 20 call(0x1060) 0x11e1 21 ebx = [rsp + 4 {var_13d4}].d 0x11e5 22 r14d = (rbx - 1).d 0x11e9 23 rax = sx.q(r14d) 0x11f1 24 if ([rsp + rax + 0x10].b == 0) then 25 @ 0x1234 else 30 @ 0x11f3 0x1234 25 rdi = rsp + 0x210 {var_11c8} 0x123c 26 edx = 0x7d0 {""} 0x1241 27 esi = 0 0x1243 28 call(0x1050) 0x124b 29 if (r15d == 0) then 33 @ 0x12d4 else 35 @ 0x1251 0x11f3 30 r14 = r14 + 1 0x11f7 31 r15d = 0 0x11fa 32 goto 40 @ 0x1215 0x12d4 33 eax = [rsp + 0x210 {var_11c8}].d 0x12dd 34 if (eax == 0) then 43 @ 0x1314 else 45 @ 0x12df 0x1251 35 r15d = r15d 0x1254 36 r12 = rsp + 0x9e0 {var_9f8} 0x125c 37 r13d = 0 0x125f 38 [rsp + 8 {var_13d0_1}].q = r15 0x1264 39 goto 48 @ 0x1283 0x1215 40 eax = (rbx - 1).d 0x1218 41 rax = sx.q(eax) 0x121d 42 if (r15 s> rax) then 55 @ 0x1200 else 60 @ 0x121f 0x1314 43 ebx = eax 0x1319 44 if (ebx == 1) then 66 @ 0x1304 else 70 @ 0x131b 0x12df 45 rcx = rsp + 0x214 {var_11c4} 0x12e7 46 ebx = eax 0x12e9 47 goto 76 @ 0x12f2 0x1283 48 rax = r13 << 2 0x128b 49 rax = rax + r13 0x128e 50 r14 = rsp + rax 0x1292 51 r14 = r14 + 0x9e0 0x1299 52 rbp = r15 0x129c 53 rbx = r12 0x129f 54 goto 77 @ 0x12ba 0x1200 55 r15 = r15 + 1 0x1204 56 rax = sx.q(ebx) 0x1207 57 ebx = ebx + 1 0x120a 58 r12 = r12 + 5 0x1213 59 if ([rsp + rax + 0x10].b == 0) then 25 @ 0x1234 else 40 @ 0x1215 0x121f 60 rsi = rsp + r15 0x1223 61 rsi = rsi + 0x10 0x1227 62 rdi = r12 0x122a 63 rdx = r14 0x122d 64 call(0x1040) 0x1232 65 goto 55 @ 0x1200 0x1304 66 rdi = 0x200a {"NO"} 0x130b 67 eax = 0 0x130d 68 call(0x1030) 0x1312 69 goto 81 @ 0x136d 0x131b 70 rdi = 0x200d {"%d\n"} 0x1322 71 esi = ebx 0x1324 72 eax = 0 0x1326 73 call(0x1030) 0x132b 74 eax = [rsp + 0x210 {var_11c8}].d 0x1334 75 if (eax == 0) then 81 @ 0x136d else 90 @ 0x1336 0x12f2 76 if (eax s> ebx) then 93 else 95 @ 0x12f5 0x12ba 77 rdi = r14 0x12bd 78 rsi = rbx 0x12c0 79 call(0x1070) 0x12c7 80 if (eax != 0) then 98 @ 0x12b0 else 102 @ 0x12c9 0x136d 81 eax = 0 0x136f 82 rsp = rsp + 0x13a8 0x1376 83 rbx = pop 0x1377 84 r12 = pop 0x1379 85 r13 = pop 0x137b 86 r14 = pop 0x137d 87 r15 = pop 0x137f 88 rbp = pop 0x1380 89 <return> jump(pop) 0x1336 90 rbp = rsp + 0x214 {var_11c4} 0x133e 91 r14 = rsp + 0x9e0 {var_9f8} 0x1346 92 goto 104 @ 0x1361 0x12f2 93 ebx = eax 0x12f2 94 goto 95 @ 0x12f5 0x12f5 95 eax = [rcx].d 0x12f7 96 rcx = rcx + 4 0x12fd 97 if (eax != 0) then 76 @ 0x12f2 else 105 @ 0x1302 0x12b0 98 rbx = rbx + 5 0x12b4 99 temp0.q = rbp 0x12b4 100 rbp = rbp - 1 0x12b8 101 if (temp0.q == 1) then 106 @ 0x1270 else 77 @ 0x12ba 0x12c9 102 [rsp + (r13 << 2) + 0x210].d = [rsp + (r13 << 2) + 0x210].d + 1 0x12d2 103 goto 98 @ 0x12b0 0x1361 104 if (eax != ebx) then 110 @ 0x1350 else 114 @ 0x1363 0x1302 105 if (ebx != 1) then 70 @ 0x131b else 66 @ 0x1304 0x1270 106 r13 = r13 + 1 0x1274 107 r12 = r12 + 5 0x1278 108 r15 = r15 - 1 0x1281 109 if (r13 == [rsp + 8 {var_13d0_1}].q) then 33 @ 0x12d4 else 48 @ 0x1283 0x1350 110 eax = [rbp].d 0x1353 111 r14 = r14 + 5 0x1357 112 rbp = rbp + 4 0x135d 113 if (eax == 0) then 81 @ 0x136d else 104 @ 0x1361 0x1363 114 rdi = r14 0x1366 115 call(0x1080) 0x136b 116 goto 110 @ 0x1350 int64_t _fini(): 0x1388 0 rsp = rsp - 8 0x138c 1 rsp = rsp + 8 0x1390 2 <return> jump(pop)
POJ_51
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 - 0x9c50 0x1160 6 rdi = 0x2004 {"%d"} 0x1167 7 rsi = rsp + 0xc {var_9c6c} 0x116c 8 eax = 0 0x116e 9 call(0x1040) 0x1173 10 eax = [rsp + 0xc {var_9c6c}].d 0x1179 11 if (eax s<= 0) then 12 @ 0x1254 else 28 @ 0x117f 0x1254 12 r8d = not.d(r8d) 0x1257 13 r8d = r8d + edx 0x125a 14 esi = not.d(esi) 0x125c 15 esi = esi + r10d 0x125f 16 esi = esi * r8d 0x1263 17 rdi = 0x2007 {"%d\n"} 0x126a 18 eax = 0 0x126c 19 call(0x1030) 0x1271 20 eax = 0 0x1273 21 rsp = rsp + 0x9c50 0x127a 22 rbx = pop 0x127b 23 r12 = pop 0x127d 24 r13 = pop 0x127f 25 r14 = pop 0x1281 26 r15 = pop 0x1283 27 <return> jump(pop) 0x117f 28 r15 = rsp + 0x10 {var_9c68} 0x1184 29 r14 = 0x2004 {"%d"} 0x118b 30 r12d = 0 0x118e 31 goto 32 @ 0x11a5 0x11a5 32 if (eax s<= 0) then 33 @ 0x1190 else 37 @ 0x11a7 0x1190 33 rcx = sx.q(eax) 0x1193 34 r12 = r12 + 1 0x1197 35 r15 = r15 + 0x190 0x11a1 36 if (r12 s>= rcx) then 40 @ 0x11d3 else 32 @ 0x11a5 0x11a7 37 r13 = r15 0x11aa 38 ebx = 0 0x11ac 39 goto 41 @ 0x11b0 0x11d3 40 if (eax s<= 0) then 12 @ 0x1254 else 49 @ 0x11d5 0x11b0 41 rdi = r14 0x11b3 42 rsi = r13 0x11b6 43 eax = 0 0x11b8 44 call(0x1040) 0x11bd 45 rbx = rbx + 1 0x11c1 46 rax = sx.q([rsp + 0xc {var_9c6c}].d) 0x11c6 47 r13 = r13 + 4 0x11cd 48 if (rbx s< rax) then 41 @ 0x11b0 else 53 @ 0x11cf 0x11d5 49 edi = eax 0x11d7 50 rbx = rsp + 0x10 {var_9c68} 0x11dc 51 r9d = 0 0x11df 52 goto 54 @ 0x11fc 0x11cf 53 goto 33 @ 0x1190 0x11fc 54 rax = r9 0x11ff 55 r9 = r9 + 1 0x1203 56 ecx = 0 0x1205 57 goto 58 @ 0x121d 0x121d 58 if ([rbx + (rcx << 2)].d != 0) then 59 @ 0x1210 else 61 @ 0x122a 0x1210 59 rcx = rcx + 1 0x1217 60 if (rdi == rcx) then 62 @ 0x11f0 else 58 @ 0x121d 0x122a 61 if ([rbx + (rcx << 2) - 0x190].d != 0xff) then 64 @ 0x123e else 65 @ 0x1234 0x11f0 62 rbx = rbx + 0x190 0x11fa 63 if (r9 == rdi) then 12 @ 0x1254 else 54 @ 0x11fc 0x123e 64 if ([rbx + (rcx << 2) + 4].d != 0xff) then 59 @ 0x1210 else 66 @ 0x1240 0x1234 65 if ([rbx + (rcx << 2) - 4].d == 0xff) then 69 @ 0x1207 else 64 @ 0x123e 0x1240 66 temp0.d = [rbx + (rcx << 2) + 0x190].d 0x1240 67 cond:0 = temp0.d == 0xff 0x124b 68 if (temp0.d == 0xff) then 72 else 74 @ 0x124e 0x1207 69 r8d = eax 0x120a 70 esi = ecx 0x120c 71 goto 59 @ 0x1210 0x124b 72 edx = eax 0x124b 73 goto 74 @ 0x124e 0x124e 74 if (cond:0) then 75 else 77 @ 0x1252 0x124e 75 r10d = ecx 0x124e 76 goto 77 @ 0x1252 0x1252 77 goto 59 @ 0x1210 int64_t _fini(): 0x1288 0 rsp = rsp - 8 0x128c 1 rsp = rsp + 8 0x1290 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) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHX"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x558 0x1171 7 rdi = 0x2008 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_57c} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1184 11 eax = [rsp + 0xc {var_57c}].d 0x118a 12 if (eax s<= 0) then 13 @ 0x12fb else 16 @ 0x1190 0x12fb 13 r8d = (rax - 1).d 0x12ff 14 r8d = r8d * eax 0x1307 15 if (r8d s< 4) then 22 @ 0x138f else 23 @ 0x130d 0x1190 16 r14 = rsp + 0x30 {var_558} 0x1195 17 r15 = rsp + 0x60 {var_528} 0x119a 18 rbx = rsp + 0x90 {var_4f8} 0x11a2 19 r12 = 0x2004 {"%d%d%d"} 0x11a9 20 ebp = 0 0x11ab 21 goto 33 @ 0x11b0 0x138f 22 if (r8d s< 2) then 45 @ 0x148b else 54 @ 0x1397 0x130d 23 ecx = r8d 0x1310 24 ecx = ecx u>> 0x1f 0x1313 25 ecx = ecx + r8d 0x1316 26 ecx = ecx s>> 1 0x1318 27 ecx = ecx - 1 0x131b 28 rdx = sx.q(ecx) 0x131e 29 rsi = sx.q(edx) 0x1321 30 cond:0 = edx s>= 2 0x1324 31 edi = 1 0x1329 32 if (cond:0) then 55 else 57 @ 0x132c 0x11b0 33 rdi = r12 0x11b3 34 rsi = rbx 0x11b6 35 rdx = r15 0x11b9 36 rcx = r14 0x11bc 37 eax = 0 0x11be 38 call(0x1040) 0x11c3 39 rbp = rbp + 1 0x11c7 40 rax = sx.q([rsp + 0xc {var_57c}].d) 0x11cc 41 r14 = r14 + 4 0x11d0 42 r15 = r15 + 4 0x11d4 43 rbx = rbx + 4 0x11db 44 if (rbp s< rax) then 33 @ 0x11b0 else 59 @ 0x11df 0x148b 45 eax = 0 0x148d 46 rsp = rsp + 0x558 0x1494 47 rbx = pop 0x1495 48 r12 = pop 0x1497 49 r13 = pop 0x1499 50 r14 = pop 0x149b 51 r15 = pop 0x149d 52 rbp = pop 0x149e 53 <return> jump(pop) 0x1397 54 if (eax s<= 0) then 45 @ 0x148b else 60 @ 0x139d 0x1329 55 edi = edx 0x1329 56 goto 57 @ 0x132c 0x132c 57 ebp = 0 0x132e 58 goto 63 @ 0x133c 0x11df 59 if (eax s<= 0) then 13 @ 0x12fb else 64 @ 0x11e5 0x139d 60 r14d = 0 0x13a0 61 r15 = 0x200b {"(%d,%d,%d)-(%d,%d,%d)=%.2lf\n"} 0x13a7 62 goto 73 @ 0x13d1 0x133c 63 if (rbp s>= rsi) then 74 @ 0x1330 else 76 @ 0x133e 0x11e5 64 r12 = rsp + 0x34 {var_554} 0x11ea 65 r13 = rsp + 0x64 {var_524} 0x11ef 66 r9 = rsp + 0x94 {var_4f4} 0x11f7 67 r15 = rsp + 0x238 {var_350} 0x11ff 68 ebx = 0 0x1201 69 esi = 1 0x1206 70 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x120a 71 r8d = 0 0x120d 72 goto 79 @ 0x123f 0x13d1 73 if (eax s<= 0) then 83 @ 0x13b0 else 92 @ 0x13d3 0x1330 74 rbp = rbp + 1 0x1337 75 if (rbp == rdi) then 22 @ 0x138f else 63 @ 0x133c 0x133e 76 xmm0 = zx.o([rsp + (rdx << 3) + 0xc0].q) 0x1347 77 rbx = rdx 0x134a 78 goto 94 @ 0x136a 0x123f 79 rbp = rbx 0x1242 80 rbx = rbx + 1 0x1246 81 rcx = sx.q(eax) 0x124c 82 if (rbx s>= rcx) then 103 @ 0x1222 else 109 @ 0x124e 0x13b0 83 r14 = r14 + 1 0x13b4 84 ecx = (rax - 1).d 0x13b7 85 ecx = ecx * eax 0x13ba 86 edx = ecx 0x13bc 87 edx = edx u>> 0x1f 0x13bf 88 edx = edx + ecx 0x13c1 89 edx = edx s>> 1 0x13c3 90 rcx = sx.q(edx) 0x13c9 91 if (r14 s>= rcx) then 45 @ 0x148b else 73 @ 0x13d1 0x13d3 92 edx = 0 0x13d5 93 goto 118 @ 0x13eb 0x136a 94 rcx = rbx - 1 0x136e 95 xmm1 = zx.o([rsp + (rbx << 3) + 0xb8].q) 0x1377 96 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1377 97 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1377 98 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1377 99 flag:s = 0 0x1377 100 flag:o = 0 0x1377 101 flag:a = 0 0x137b 102 if (not(flag:z) && not(flag:c)) then 120 @ 0x1350 else 124 @ 0x137d 0x1222 103 rsi = rsi + 1 0x1226 104 r12 = r12 + 4 0x122a 105 r13 = r13 + 4 0x122e 106 r9 = r9 + 4 0x1232 107 r15 = r15 + 0x58 0x1239 108 if (rbx s>= rcx) then 13 @ 0x12fb else 79 @ 0x123f 0x124e 109 [rsp + 0x20 {var_568_1}].q = rbx 0x1253 110 [rsp + 0x1c {var_56c_1}].d = r8d 0x1258 111 rax = sx.q(r8d) 0x125b 112 rdi = rsp + (rax << 3) 0x125f 113 rdi = rdi + 0xc0 0x1266 114 r14d = 0 0x1269 115 [rsp + 0x10 {var_578_1}].q = rsi 0x126e 116 [rsp + 0x28 {var_560_1}].q = rbp 0x1273 117 goto 127 @ 0x12bf 0x13eb 118 ecx = (rdx + 1).d 0x13f0 119 if (ecx s>= eax) then 147 @ 0x13e5 else 149 @ 0x13f2 0x1350 120 [rsp + (rbx << 3) + 0xc0].q = xmm1.q 0x1359 121 [rsp + (rbx << 3) + 0xb8].q = xmm0.q 0x1362 122 rbx = rcx 0x1368 123 if (rcx s<= rbp) then 74 @ 0x1330 else 94 @ 0x136a 0x137d 124 xmm0 = xmm1 0x1381 125 rbx = rcx 0x1387 126 if (rcx s> rbp) then 94 @ 0x136a else 152 @ 0x1389 0x12bf 127 eax = [rsp + (rbp << 2) + 0x90].d 0x12c6 128 eax = eax - [r9 + (r14 << 2)].d 0x12ca 129 ecx = [rsp + (rbp << 2) + 0x60].d 0x12ce 130 ecx = ecx - [r13 + (r14 << 2)].d 0x12d3 131 eax = eax * eax 0x12d6 132 ecx = ecx * ecx 0x12d9 133 ecx = ecx + eax 0x12db 134 eax = [rsp + (rbp << 2) + 0x30].d 0x12df 135 eax = eax - [r12 + (r14 << 2)].d 0x12e3 136 eax = eax * eax 0x12e6 137 eax = eax + ecx 0x12e8 138 xmm0 = 0 0x12eb 139 xmm0.q = float.d(eax) 0x12ef 140 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x12ef 141 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12ef 142 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12ef 143 flag:s = 0 0x12ef 144 flag:o = 0 0x12ef 145 flag:a = 0 0x12f3 146 if (flag:c) then 153 @ 0x1280 else 162 @ 0x12f5 0x13e5 147 edx = ecx 0x13e9 148 if (ecx s>= eax) then 83 @ 0x13b0 else 118 @ 0x13eb 0x13f2 149 xmm0 = zx.o([rsp + (r14 << 3) + 0xc0].q) 0x13fc 150 [rsp + 0x10 {var_578_2}].q = xmm0.q 0x1402 151 goto 164 @ 0x1417 0x1389 152 goto 74 @ 0x1330 0x1280 153 rbx = r9 0x1283 154 rbp = rdi 0x1286 155 call(0x1050) 0x128b 156 rdi = rbp 0x128e 157 rbp = [rsp + 0x28 {var_560_1}].q 0x1293 158 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1297 159 rsi = [rsp + 0x10 {var_578_1}].q 0x129c 160 r9 = rbx 0x129c 161 goto 179 @ 0x129f 0x12f5 162 xmm0 = _mm_sqrt_sd(xmm0.q) 0x12f9 163 goto 179 @ 0x129f 0x1417 164 rbp = sx.q(edx) 0x141a 165 rdi = sx.q(ecx) 0x141d 166 rsi = rbp << 2 0x1425 167 rsi = rsi + rbp 0x1428 168 rsi = rsi << 4 0x142c 169 rsi = rsi + rsp 0x142f 170 rsi = rsi + 0x230 0x1436 171 xmm1 = zx.o([rsi + (rdi << 3)].q) 0x143b 172 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x143b 173 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x143b 174 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x143b 175 flag:s = 0 0x143b 176 flag:o = 0 0x143b 177 flag:a = 0 0x143f 178 if (not(flag:z)) then 185 @ 0x1410 else 187 @ 0x1441 0x129f 179 [r15 + (r14 << 3)].q = xmm0.q 0x12a5 180 [rdi + (r14 << 3)].q = xmm0.q 0x12ab 181 eax = [rsp + 0xc {var_57c}].d 0x12af 182 r14 = r14 + 1 0x12b3 183 ecx = (r14 + rsi).d 0x12b9 184 if (eax s<= ecx) then 188 @ 0x1210 else 127 @ 0x12bf 0x1410 185 ecx = ecx + 1 0x1415 186 if (ecx s>= eax) then 194 @ 0x13e0 else 164 @ 0x1417 0x1441 187 if (flag:p) then 185 @ 0x1410 else 197 @ 0x1443 0x1210 188 rcx = sx.q(eax) 0x1213 189 ebx = [rsp + 0x1c {var_56c_1}].d 0x1217 190 ebx = ebx + r14d 0x121a 191 r8d = ebx 0x121d 192 rbx = [rsp + 0x20 {var_568_1}].q 0x121d 193 goto 103 @ 0x1222 0x13e0 194 edx = edx + 1 0x13e3 195 ecx = edx 0x13e3 196 goto 147 @ 0x13e5 0x1443 197 rbx = rsi + (rdi << 3) 0x1447 198 esi = [rsp + (rbp << 2) + 0x90].d 0x144e 199 edx = [rsp + (rbp << 2) + 0x60].d 0x1452 200 ecx = [rsp + (rbp << 2) + 0x30].d 0x1456 201 r8d = [rsp + (rdi << 2) + 0x90].d 0x145e 202 r9d = [rsp + (rdi << 2) + 0x60].d 0x1463 203 eax = [rsp + (rdi << 2) + 0x30].d 0x1467 204 [rsp {var_588}].d = eax 0x146a 205 rdi = r15 0x146d 206 al = 1 0x146f 207 call(0x1030) 0x1474 208 xmm0 = zx.o([rsp + 0x10 {var_578_2}].q) 0x147a 209 [rbx].q = 0 0x1481 210 eax = [rsp + 0xc {var_57c}].d 0x1485 211 ecx = eax 0x1487 212 edx = eax 0x1489 213 goto 185 @ 0x1410 int64_t _fini(): 0x14a4 0 rsp = rsp - 8 0x14a8 1 rsp = rsp + 8 0x14ac 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 getchar(): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"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 - 0x198 0x116d 5 rsi = rsp + 4 {var_1b4} 0x1172 6 rdi = 0x2004 {"%d"} 0x1179 7 eax = 0 0x117b 8 call(0x1050) 0x1180 9 eax = 0 0x1182 10 call(0x1040) 0x1189 11 if (al == 0xa) then 12 @ 0x12d0 else 16 @ 0x118f 0x12d0 12 rdi = 0x2007 {"No"} 0x12d7 13 eax = 0 0x12d9 14 call(0x1030) 0x12d9 15 goto 21 @ 0x12de 0x118f 16 rbx = rsp + 8 {var_1b0} 0x1194 17 ebp = 1 0x1199 18 r15d = 2 0x119f 19 r14 = 0x2004 {"%d"} 0x11a6 20 goto 27 @ 0x11b0 0x12de 21 rsp = rsp + 0x198 0x12e5 22 rbx = pop 0x12e6 23 r14 = pop 0x12e8 24 r15 = pop 0x12ea 25 rbp = pop 0x12eb 26 <return> jump(pop) 0x11b0 27 rbp = rbp + 1 0x11b4 28 rdi = r14 0x11b7 29 rsi = rbx 0x11ba 30 eax = 0 0x11bc 31 call(0x1050) 0x11c1 32 eax = 0 0x11c3 33 call(0x1040) 0x11c8 34 r15d = r15d + 1 0x11cc 35 rbx = rbx + 4 0x11d2 36 if (al != 0xa) then 27 @ 0x11b0 else 37 @ 0x11d8 0x11d8 37 if (r15d == 2) then 12 @ 0x12d0 else 38 @ 0x11de 0x11de 38 cond:0 = ebp u>= 3 0x11e1 39 r10d = 2 0x11e7 40 if (cond:0) then 41 else 43 @ 0x11eb 0x11e7 41 r10d = ebp 0x11e7 42 goto 43 @ 0x11eb 0x11eb 43 r8d = ebp 0x11ee 44 r9 = r8 - 1 0x11f2 45 rsi = r9 0x11f5 46 rsi = rsi & 0xfffffffffffffffe 0x11f9 47 rsi = neg.q(rsi) 0x11fc 48 edi = 1 0x1201 49 goto 50 @ 0x121e 0x121e 50 if (ebp == 0) then 51 @ 0x1210 else 53 @ 0x1220 0x1210 51 edi = edi + 1 0x1216 52 if (edi == r10d) then 56 @ 0x12a5 else 50 @ 0x121e 0x1220 53 edx = 1 0x1225 54 eax = [rsp + 4 {var_1b4}].d 0x122d 55 if (r8d != 2) then 57 @ 0x1250 else 59 @ 0x1233 0x12a5 56 if (ebp u< 2) then 12 @ 0x12d0 else 60 @ 0x12a7 0x1250 57 ecx = 1 0x1255 58 goto 64 @ 0x1275 0x1233 59 if ((r9b & 1) == 0) then 51 @ 0x1210 else 66 @ 0x1235 0x12a7 60 eax = [rsp + 4 {var_1b4}].d 0x12ab 61 ecx = r15d 0x12ae 62 edx = 2 0x12bd 63 goto 68 @ 0x12c0 0x1275 64 edx = [rsp + (rcx << 2) + 4].d 0x127b 65 if (eax s>= edx) then 70 @ 0x1290 else 72 @ 0x127d 0x1235 66 ecx = [rsp + (rdx << 2) + 4].d 0x123b 67 if (eax s>= ecx) then 51 @ 0x1210 else 75 @ 0x123d 0x12c0 68 esi = [rsp + (rdx << 2)].d 0x12c5 69 if (esi s< eax) then 78 @ 0x12ec else 82 @ 0x12c7 0x1290 70 eax = edx 0x1290 71 goto 84 @ 0x1292 0x127d 72 [rsp + (rcx << 2)].d = edx 0x1280 73 [rsp + (rcx << 2) + 4].d = eax 0x1284 74 goto 84 @ 0x1292 0x123d 75 [rsp + (rdx << 2)].d = ecx 0x1240 76 [rsp + (rdx << 2) + 4].d = eax 0x1244 77 goto 51 @ 0x1210 0x12ec 78 rdi = 0x2004 {"%d"} 0x12f3 79 eax = 0 0x12f5 80 call(0x1030) 0x12fa 81 goto 21 @ 0x12de 0x12c7 82 rdx = rdx + 1 0x12ce 83 if (rcx != rdx) then 68 @ 0x12c0 else 12 @ 0x12d0 0x1292 84 rdx = rcx + 2 0x1296 85 ebx = [rsp + (rcx << 2) + 8].d 0x129c 86 if (eax s< ebx) then 87 @ 0x1260 else 90 @ 0x129e 0x1260 87 [rsp + (rcx << 2) + 4].d = ebx 0x1264 88 [rsp + (rcx << 2) + 8].d = eax 0x1264 89 goto 92 @ 0x1268 0x129e 90 eax = ebx 0x12a0 91 goto 92 @ 0x1268 0x1268 92 rbx = rsi + rdx 0x126c 93 rcx = rdx 0x1273 94 if (rbx == 1) then 59 @ 0x1233 else 64 @ 0x1275 int64_t _fini(): 0x1300 0 rsp = rsp - 8 0x1304 1 rsp = rsp + 8 0x1308 2 <return> jump(pop)
POJ_22
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x1d4d8 0x1161 7 rdi = 0x2004 {"%d %d"} 0x1168 8 rsi = rsp + 4 {var_1d504} 0x116d 9 rdx = rsp + 0xc {var_1d4fc} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x117e 12 if ([rsp + 4 {var_1d504}].d s<= 0) then 13 @ 0x11f1 else 19 @ 0x1180 0x11f1 13 rdi = 0x2004 {"%d %d"} 0x11f8 14 rsi = rsp + 8 {var_1d500} 0x11fd 15 rdx = rsp {var_1d508} 0x1200 16 eax = 0 0x1202 17 call(0x1040) 0x120c 18 if ([rsp + 8 {var_1d500}].d s<= 0) then 23 @ 0x1265 else 24 @ 0x120e 0x1180 19 r15 = rsp + 0x9c50 {var_138b8} 0x1188 20 r14 = 0x2007 {"%d"} 0x118f 21 r12d = 0 0x1192 22 goto 28 @ 0x11ba 0x1265 23 if ([rsp + 4 {var_1d504}].d s<= 0) then 29 @ 0x132d else 38 @ 0x126b 0x120e 24 r15 = rsp + 0x10 {var_1d4f8} 0x1213 25 r14 = 0x2007 {"%d"} 0x121a 26 r12d = 0 0x121d 27 goto 42 @ 0x1239 0x11ba 28 if ([rsp + 0xc {var_1d4fc}].d s<= 0) then 43 @ 0x11a0 else 47 @ 0x11bc 0x132d 29 eax = 0 0x132f 30 rsp = rsp + 0x1d4d8 0x1336 31 rbx = pop 0x1337 32 r12 = pop 0x1339 33 r13 = pop 0x133b 34 r14 = pop 0x133d 35 r15 = pop 0x133f 36 rbp = pop 0x1340 37 <return> jump(pop) 0x126b 38 rbx = rsp + 0x9c50 {var_138b8} 0x1273 39 r12 = 0x200e {"%d\n"} 0x127a 40 r13d = 0 0x127d 41 goto 50 @ 0x1299 0x1239 42 if ([rsp {var_1d508}].d s<= 0) then 52 @ 0x1220 else 56 @ 0x123b 0x11a0 43 r12 = r12 + 1 0x11a4 44 rax = sx.q([rsp + 4 {var_1d504}].d) 0x11a9 45 r15 = r15 + 0x190 0x11b3 46 if (r12 s>= rax) then 13 @ 0x11f1 else 28 @ 0x11ba 0x11bc 47 rbx = r15 0x11bf 48 ebp = 0 0x11cb 49 goto 59 @ 0x11d0 0x1299 50 eax = [rsp {var_1d508}].d 0x129e 51 if (eax s<= 0) then 67 @ 0x1280 else 71 @ 0x12a0 0x1220 52 r12 = r12 + 1 0x1224 53 rax = sx.q([rsp + 8 {var_1d500}].d) 0x1229 54 r15 = r15 + 0x190 0x1233 55 if (r12 s>= rax) then 23 @ 0x1265 else 42 @ 0x1239 0x123b 56 rbx = r15 0x123e 57 ebp = 0 0x123e 58 goto 74 @ 0x1240 0x11d0 59 rdi = r14 0x11d3 60 rsi = rbx 0x11d6 61 eax = 0 0x11d8 62 call(0x1040) 0x11dd 63 rbp = rbp + 1 0x11e1 64 rax = sx.q([rsp + 0xc {var_1d4fc}].d) 0x11e6 65 rbx = rbx + 4 0x11ed 66 if (rbp s< rax) then 59 @ 0x11d0 else 82 @ 0x11ef 0x1280 67 r13 = r13 + 1 0x1284 68 rax = sx.q([rsp + 4 {var_1d504}].d) 0x1289 69 rbx = rbx + 0x190 0x1293 70 if (r13 s>= rax) then 29 @ 0x132d else 50 @ 0x1299 0x12a0 71 r15 = rsp + 0x10 {var_1d4f8} 0x12a5 72 r14d = 0 0x12a8 73 goto 83 @ 0x12e1 0x1240 74 rdi = r14 0x1243 75 rsi = rbx 0x1246 76 eax = 0 0x1248 77 call(0x1040) 0x124d 78 rbp = rbp + 1 0x1251 79 rax = sx.q([rsp {var_1d508}].d) 0x1255 80 rbx = rbx + 4 0x125c 81 if (rbp s< rax) then 74 @ 0x1240 else 90 @ 0x125e 0x11ef 82 goto 43 @ 0x11a0 0x12e1 83 rcx = r13 * 0x190 0x12e8 84 rcx = rcx + rsp 0x12eb 85 rcx = rcx + 0x13890 0x12f2 86 r8 = rcx + (r14 << 2) 0x12f6 87 [rcx + (r14 << 2)].d = 0 0x12fe 88 edx = [rsp + 8 {var_1d500}].d 0x1304 89 if (edx s<= 0) then 91 @ 0x12b0 else 98 @ 0x1306 0x125e 90 goto 52 @ 0x1220 0x12b0 91 eax = eax - 1 0x12b3 92 rax = sx.q(eax) 0x12b5 93 cond:0 = r14 s< rax 0x12b8 94 esi = [r8].d 0x12bb 95 rdi = r12 0x12be 96 rax = 0x200a {"%d "} 0x12c5 97 if (cond:0) then 102 else 104 @ 0x12c9 0x1306 98 esi = [r8].d 0x1309 99 rdi = r15 0x130c 100 ecx = 0 0x130e 101 goto 110 @ 0x1310 0x12c5 102 rdi = rax 0x12c5 103 goto 104 @ 0x12c9 0x12c9 104 eax = 0 0x12cb 105 call(0x1030) 0x12d0 106 r14 = r14 + 1 0x12d4 107 rax = sx.q([rsp {var_1d508}].d) 0x12d8 108 r15 = r15 + 4 0x12df 109 if (r14 s>= rax) then 67 @ 0x1280 else 83 @ 0x12e1 0x1310 110 ebp = [rdi].d 0x1312 111 ebp = ebp * [rbx + (rcx << 2)].d 0x1316 112 esi = esi + ebp 0x1318 113 rcx = rcx + 1 0x131c 114 rdi = rdi + 0x190 0x1326 115 if (rdx != rcx) then 110 @ 0x1310 else 116 @ 0x1328 0x1328 116 [r8].d = esi 0x132b 117 goto 91 @ 0x12b0 int64_t _fini(): 0x1348 0 rsp = rsp - 8 0x134c 1 rsp = rsp + 8 0x1350 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 {"UAWAVAUATSHHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([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 rdi = 0x2010 {"%d"} 0x1165 8 r12d = 0 0x1168 9 rsi = rsp + 8 {var_70} 0x116d 10 eax = 0 0x116f 11 call(0x1040) 0x1174 12 xmm0 = 0 0x1177 13 [rsp + 0x10 {var_68}].o = xmm0 0x117c 14 r13d = [rsp + 0x1c {var_68+0xc}].d 0x1181 15 eax = [rsp + 8 {var_70}].d 0x1187 16 if (eax s<= 0) then 17 @ 0x11eb else 20 @ 0x1189 0x11eb 17 ebp = 0 0x11ed 18 ebx = 0 0x11ed 19 goto 26 @ 0x11ef 0x1189 20 r15 = rsp + 0xc {var_6c} 0x118e 21 r14d = 0 0x1191 22 ebx = 0 0x1193 23 ebp = 0 0x1195 24 r12d = 0 0x1198 25 goto 35 @ 0x11a0 0x11ef 26 [rsp + 0x10 {var_68}].d = ebx 0x11f3 27 [rsp + 0x14 {var_68+0x4}].d = ebp 0x11f7 28 [rsp + 0x18 {var_68+0x8}].d = r12d 0x11fc 29 [rsp + 0x1c {var_68+0xc}].d = r13d 0x1201 30 xmm0 = 0 0x1204 31 xmm0.q = float.d(eax) 0x1208 32 eax = 0 0x120a 33 xmm1 = zx.o([0x2008].q) 0x121c 34 goto 55 @ 0x1220 0x11a0 35 rdi = 0x2010 {"%d"} 0x11a7 36 rsi = r15 {var_6c} 0x11aa 37 eax = 0 0x11ac 38 call(0x1040) 0x11b1 39 eax = [rsp + 0xc {var_6c}].d 0x11b5 40 ecx = (rax - 1).d 0x11b8 41 flag:c = ecx u< 0x12 0x11bb 42 ebx = adc.d(ebx, 0, flag:c) 0x11be 43 ecx = (rax - 0x13).d 0x11c1 44 flag:c = ecx u< 0x11 0x11c4 45 ebp = adc.d(ebp, 0, flag:c) 0x11c7 46 ecx = (rax - 0x24).d 0x11ca 47 flag:c = ecx u< 0x19 0x11cd 48 r12d = adc.d(r12d, 0, flag:c) 0x11d1 49 ecx = 0 0x11d6 50 cl = eax s>= 0x3d 0x11d9 51 r13d = r13d + ecx 0x11dc 52 r14d = r14d + 1 0x11e0 53 eax = [rsp + 8 {var_70}].d 0x11e7 54 if (r14d s< eax) then 35 @ 0x11a0 else 62 @ 0x11e9 0x1220 55 xmm2 = 0 0x1223 56 xmm2.q = float.d([rsp + (rax << 2) + 0x10].d) 0x1229 57 xmm2.q = xmm2.q f/ xmm0.q 0x122d 58 xmm2.q = xmm2.q f* xmm1.q 0x1231 59 [rsp + (rax << 3) + 0x20].q = xmm2.q 0x1237 60 rax = rax + 1 0x123f 61 if (rax != 4) then 55 @ 0x1220 else 63 @ 0x1241 0x11e9 62 goto 26 @ 0x11ef 0x1241 63 xmm0 = zx.o([rsp + 0x20 {var_58}].q) 0x1247 64 rdi = 0x2013 {"1-18: %.2lf%%\n"} 0x124e 65 al = 1 0x1250 66 call(0x1030) 0x1255 67 xmm0 = zx.o([rsp + 0x28 {var_50}].q) 0x125b 68 rdi = 0x2022 {"19-35: %.2lf%%\n"} 0x1262 69 al = 1 0x1264 70 call(0x1030) 0x1269 71 xmm0 = zx.o([rsp + 0x30 {var_48}].q) 0x126f 72 rdi = 0x2032 {"36-60: %.2lf%%\n"} 0x1276 73 al = 1 0x1278 74 call(0x1030) 0x127d 75 xmm0 = zx.o([rsp + 0x38 {var_40}].q) 0x1283 76 rdi = 0x2042 {"60??: %.2lf%%\n"} 0x128a 77 al = 1 0x128c 78 call(0x1030) 0x1291 79 eax = 0 0x1293 80 rsp = rsp + 0x48 0x1297 81 rbx = pop 0x1298 82 r12 = pop 0x129a 83 r13 = pop 0x129c 84 r14 = pop 0x129e 85 r15 = pop 0x12a0 86 rbp = pop 0x12a1 87 <return> jump(pop) int64_t _fini(): 0x12a8 0 rsp = rsp - 8 0x12ac 1 rsp = rsp + 8 0x12b0 2 <return> jump(pop)
POJ_99
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1220 {"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) uint64_t dayprint(int32_t arg1, int64_t arg2, int64_t arg3): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x10 0x1168 3 [rbp - 4 {var_c}].d = edi 0x116b 4 eax = [rbp - 4 {var_c}].d 0x116e 5 eax = eax - 1 0x1171 6 ecx = eax 0x1173 7 [rbp - 0x10 {var_18}].q = rcx 0x1177 8 temp0.d = eax 0x1177 9 eax = eax - 6 0x117a 10 if (temp0.d u> 6) then 11 @ 0x1214 else 14 @ 0x1180 0x1214 11 rsp = rsp + 0x10 0x1218 12 rbp = pop 0x1219 13 <return> jump(pop) 0x1180 14 rax = [rbp - 0x10 {var_18}].q 0x1184 15 rcx = 0x2010 {""} 0x118b 16 rax = sx.q([rcx + (rax << 2)].d) 0x118f 17 rax = rax + rcx 0x1192 18 jump(rax => 19 @ 0x1194, 23 @ 0x11a7, 27 @ 0x11ba, 31 @ 0x11cd, 35 @ 0x11e0, 39 @ 0x11f3, 43 @ 0x1206) 0x1194 19 rdi = 0x2060 {"Mon."} 0x119b 20 al = 0 0x119d 21 call(0x1030) 0x11a2 22 goto 11 @ 0x1214 0x11a7 23 rdi = 0x2065 {"Tue."} 0x11ae 24 al = 0 0x11b0 25 call(0x1030) 0x11b5 26 goto 11 @ 0x1214 0x11ba 27 rdi = 0x206a {"Wed."} 0x11c1 28 al = 0 0x11c3 29 call(0x1030) 0x11c8 30 goto 11 @ 0x1214 0x11cd 31 rdi = 0x206f {"Thu."} 0x11d4 32 al = 0 0x11d6 33 call(0x1030) 0x11db 34 goto 11 @ 0x1214 0x11e0 35 rdi = 0x2074 {"Fri."} 0x11e7 36 al = 0 0x11e9 37 call(0x1030) 0x11ee 38 goto 11 @ 0x1214 0x11f3 39 rdi = 0x2079 {"Sat."} 0x11fa 40 al = 0 0x11fc 41 call(0x1030) 0x1201 42 goto 11 @ 0x1214 0x1206 43 rdi = 0x207e {"Sun."} 0x120d 44 al = 0 0x120f 45 call(0x1030) 0x120f 46 goto 11 @ 0x1214 int32_t main(int32_t argc, char** argv, char** envp): 0x1220 0 push(rbp) 0x1221 1 rbp = rsp {__saved_rbp} 0x1224 2 rsp = rsp - 0x60 0x1228 3 [rbp - 4 {var_c}].d = 0 0x122f 4 rdi = rbp - 0x50 {var_58} 0x1233 5 rsi = 0x2030 {""} 0x123a 6 edx = 0x30 {""} 0x123f 7 call(0x1040) 0x1244 8 rdi = 0x2083 {"%d %d %d"} 0x124b 9 rsi = rbp - 8 {var_10} 0x124f 10 rdx = rbp - 0xc {var_14} 0x1253 11 rcx = rbp - 0x10 {var_18} 0x1257 12 al = 0 0x1259 13 call(0x1050) 0x125e 14 eax = [rbp - 8 {var_10}].d 0x1261 15 ecx = 7 0x1266 16 temp2.d:temp3.d = sx.q(eax) 0x1266 17 edx = temp2.d 0x1266 18 eax = temp3.d 0x1267 19 temp4.d = edx 0x1267 20 temp5.d = eax 0x1267 21 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x1267 22 temp6.d = edx 0x1267 23 temp7.d = eax 0x1267 24 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x1267 25 eax = temp0.d 0x1267 26 edx = temp1.d 0x1269 27 [rbp - 0x5c {var_64}].d = edx 0x126c 28 eax = [rbp - 8 {var_10}].d 0x126f 29 ecx = 4 0x1274 30 temp8.d:temp9.d = sx.q(eax) 0x1274 31 edx = temp8.d 0x1274 32 eax = temp9.d 0x1275 33 temp10.d = edx 0x1275 34 temp11.d = eax 0x1275 35 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x1275 36 temp12.d = edx 0x1275 37 temp13.d = eax 0x1275 38 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x1275 39 eax = temp0.d 0x1275 40 edx = temp1.d 0x1277 41 edx = [rbp - 0x5c {var_64}].d 0x127a 42 edx = edx + eax 0x127c 43 [rbp - 0x58 {var_60}].d = edx 0x127f 44 eax = [rbp - 8 {var_10}].d 0x1282 45 ecx = 0x64 {""} 0x1287 46 temp14.d:temp15.d = sx.q(eax) 0x1287 47 edx = temp14.d 0x1287 48 eax = temp15.d 0x1288 49 temp16.d = edx 0x1288 50 temp17.d = eax 0x1288 51 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x1288 52 temp18.d = edx 0x1288 53 temp19.d = eax 0x1288 54 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x1288 55 eax = temp0.d 0x1288 56 edx = temp1.d 0x128a 57 ecx = eax 0x128c 58 eax = [rbp - 0x58 {var_60}].d 0x128f 59 eax = eax - ecx 0x1291 60 [rbp - 0x54 {var_5c}].d = eax 0x1294 61 eax = [rbp - 8 {var_10}].d 0x1297 62 ecx = 0x190 {""} 0x129c 63 temp20.d:temp21.d = sx.q(eax) 0x129c 64 edx = temp20.d 0x129c 65 eax = temp21.d 0x129d 66 temp22.d = edx 0x129d 67 temp23.d = eax 0x129d 68 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x129d 69 temp24.d = edx 0x129d 70 temp25.d = eax 0x129d 71 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x129d 72 eax = temp0.d 0x129d 73 edx = temp1.d 0x129f 74 ecx = eax 0x12a1 75 eax = [rbp - 0x54 {var_5c}].d 0x12a4 76 eax = eax + ecx 0x12a6 77 [rbp - 0x1c {var_24}].d = eax 0x12a9 78 eax = [rbp - 8 {var_10}].d 0x12ac 79 ecx = 0x190 {""} 0x12b1 80 temp26.d:temp27.d = sx.q(eax) 0x12b1 81 edx = temp26.d 0x12b1 82 eax = temp27.d 0x12b2 83 temp28.d = edx 0x12b2 84 temp29.d = eax 0x12b2 85 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx) 0x12b2 86 temp30.d = edx 0x12b2 87 temp31.d = eax 0x12b2 88 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx) 0x12b2 89 eax = temp0.d 0x12b2 90 edx = temp1.d 0x12b7 91 if (edx == 0) then 92 @ 0x12e5 else 97 @ 0x12bd 0x12e5 92 [rbp - 0x4c {var_54_1}].d = 0x1d {""} 0x12ec 93 eax = [rbp - 0x1c {var_24}].d 0x12ef 94 eax = eax - 1 0x12f2 95 [rbp - 0x1c {var_24}].d = eax 0x12f2 96 goto 111 @ 0x12f5 0x12bd 97 eax = [rbp - 8 {var_10}].d 0x12c0 98 ecx = 4 0x12c5 99 temp32.d:temp33.d = sx.q(eax) 0x12c5 100 edx = temp32.d 0x12c5 101 eax = temp33.d 0x12c6 102 temp34.d = edx 0x12c6 103 temp35.d = eax 0x12c6 104 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx) 0x12c6 105 temp36.d = edx 0x12c6 106 temp37.d = eax 0x12c6 107 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx) 0x12c6 108 eax = temp0.d 0x12c6 109 edx = temp1.d 0x12cb 110 if (edx != 0) then 111 @ 0x12f5 else 113 @ 0x12d1 0x12f5 111 [rbp - 0x14 {var_1c}].d = 1 0x12f5 112 goto 127 @ 0x12fc 0x12d1 113 eax = [rbp - 8 {var_10}].d 0x12d4 114 ecx = 0x64 {""} 0x12d9 115 temp38.d:temp39.d = sx.q(eax) 0x12d9 116 edx = temp38.d 0x12d9 117 eax = temp39.d 0x12da 118 temp40.d = edx 0x12da 119 temp41.d = eax 0x12da 120 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx) 0x12da 121 temp42.d = edx 0x12da 122 temp43.d = eax 0x12da 123 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx) 0x12da 124 eax = temp0.d 0x12da 125 edx = temp1.d 0x12df 126 if (edx == 0) then 111 @ 0x12f5 else 92 @ 0x12e5 0x12fc 127 eax = [rbp - 0x14 {var_1c}].d 0x1302 128 if (eax s>= [rbp - 0xc {var_14}].d) then 129 @ 0x1328 else 147 @ 0x1308 0x1328 129 eax = [rbp - 0x10 {var_18}].d 0x132b 130 eax = eax - 1 0x132e 131 eax = eax + [rbp - 0x1c {var_24}].d 0x1331 132 [rbp - 0x1c {var_24_1}].d = eax 0x1334 133 eax = [rbp - 0x1c {var_24_1}].d 0x1337 134 ecx = 7 0x133c 135 temp44.d:temp45.d = sx.q(eax) 0x133c 136 edx = temp44.d 0x133c 137 eax = temp45.d 0x133d 138 temp46.d = edx 0x133d 139 temp47.d = eax 0x133d 140 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx) 0x133d 141 temp48.d = edx 0x133d 142 temp49.d = eax 0x133d 143 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx) 0x133d 144 eax = temp0.d 0x133d 145 edx = temp1.d 0x1342 146 if (edx != 0) then 157 @ 0x1354 else 172 @ 0x1348 0x1308 147 eax = [rbp - 0x14 {var_1c}].d 0x130b 148 eax = eax - 1 0x130e 149 rax = sx.q(eax) 0x1310 150 eax = [rbp + (rax << 2) - 0x50].d 0x1314 151 eax = eax + [rbp - 0x1c {var_24}].d 0x1317 152 [rbp - 0x1c {var_24}].d = eax 0x131a 153 eax = [rbp - 0x14 {var_1c}].d 0x131d 154 eax = eax + 1 0x1320 155 [rbp - 0x14 {var_1c}].d = eax 0x1323 156 goto 127 @ 0x12fc 0x1354 157 eax = [rbp - 0x1c {var_24_1}].d 0x1357 158 ecx = 7 0x135c 159 temp50.d:temp51.d = sx.q(eax) 0x135c 160 edx = temp50.d 0x135c 161 eax = temp51.d 0x135d 162 temp52.d = edx 0x135d 163 temp53.d = eax 0x135d 164 temp0.d = divs.dp.d(temp52.d:temp53.d, ecx) 0x135d 165 temp54.d = edx 0x135d 166 temp55.d = eax 0x135d 167 temp1.d = mods.dp.d(temp54.d:temp55.d, ecx) 0x135d 168 eax = temp0.d 0x135d 169 edx = temp1.d 0x135f 170 [rbp - 0x18 {var_20}].d = edx 0x135f 171 goto 174 @ 0x1362 0x1348 172 [rbp - 0x18 {var_20}].d = 7 0x134f 173 goto 174 @ 0x1362 0x1362 174 edi = [rbp - 0x18 {var_20}].d 0x1365 175 call(0x1160) 0x136a 176 eax = 0 0x136c 177 rsp = rsp + 0x60 0x1370 178 rbp = pop 0x1371 179 <return> jump(pop) int64_t _fini(): 0x1378 0 rsp = rsp - 8 0x137c 1 rsp = rsp + 8 0x1380 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 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 {"AWAVATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x14c8 0x116e 5 rbx = rsp + 0xaa0 {var_a48} 0x1176 6 rdi = rbx {var_a48} 0x1179 7 eax = 0 0x117b 8 call(0x1040) 0x1180 9 goto 10 @ 0x1198 0x1198 10 eax = zx.d([rbx].b) 0x119d 11 if (al == 0x20) then 12 @ 0x1190 else 14 @ 0x11a1 0x1190 12 r14d = r14d + 1 0x1190 13 goto 15 @ 0x1194 0x11a1 14 if (al != 0) then 15 @ 0x1194 else 17 @ 0x11a6 0x1194 15 rbx = rbx + 1 0x1194 16 goto 10 @ 0x1198 0x11a6 17 if (r14d s< 0) then 18 @ 0x152d else 25 @ 0x11ac 0x152d 18 eax = 0 0x152f 19 rsp = rsp + 0x14c8 0x1536 20 rbx = pop 0x1537 21 r12 = pop 0x1539 22 r14 = pop 0x153b 23 r15 = pop 0x153d 24 <return> jump(pop) 0x11ac 25 rax = rsp + 0xaa0 {var_a48} 0x11b4 26 ecx = r14d 0x11b7 27 edx = 0 0x11b9 28 goto 29 @ 0x11c0 0x11c0 29 rsi = rdx * 0x32 0x11c4 30 rsi = rsi + rsp 0x11c7 31 rsi = rsi + 0xd0 0x11ce 32 rax = rax + 1 0x11d2 33 bl = [rax - 1].b 0x11d8 34 if ((bl & 0xdf) == 0) then 35 @ 0x11f3 else 37 @ 0x11da 0x11f3 35 [rsi].b = 0 0x11fa 36 if ([rax - 1].b == 0) then 38 @ 0x120b else 39 @ 0x11fc 0x11da 37 goto 43 @ 0x11e0 0x120b 38 if (r14d s< 0) then 18 @ 0x152d else 48 @ 0x1211 0x11fc 39 rsi = rdx + 1 0x1200 40 cond:0 = rdx u< rcx 0x1203 41 rdx = rsi 0x1206 42 if (cond:0) then 29 @ 0x11c0 else 38 @ 0x120b 0x11e0 43 [rsi].b = bl 0x11e2 44 rsi = rsi + 1 0x11e6 45 rax = rax + 1 0x11ea 46 ebx = zx.d([rax - 1].b) 0x11f1 47 if ((bl & 0xdf) != 0) then 43 @ 0x11e0 else 35 @ 0x11f3 0x1211 48 r15d = (r14 + 1).d 0x1215 49 r12 = rsp + 0xd0 {var_1418} 0x121d 50 ebx = 0 0x121f 51 goto 52 @ 0x1220 0x1220 52 rdi = r12 0x1223 53 call(0x1030) 0x1228 54 [rsp + (rbx << 2)].d = eax 0x122b 55 rbx = rbx + 1 0x122f 56 r12 = r12 + 0x32 0x1236 57 if (r15 != rbx) then 52 @ 0x1220 else 58 @ 0x123b 0x123b 58 if (r14d s< 0) then 18 @ 0x152d else 59 @ 0x1245 0x1245 59 if (r14d u>= 7) then 60 @ 0x1255 else 67 @ 0x1247 0x1255 60 eax = r15d 0x1258 61 eax = eax & 0xfffffff8 0x125b 62 rdx = rax - 8 0x125f 63 rcx = rdx 0x1262 64 rcx = rcx u>> 3 0x1266 65 rcx = rcx + 1 0x126d 66 if (rdx == 0) then 71 @ 0x1504 else 77 @ 0x1273 0x1247 67 eax = 0 0x1249 68 ebx = 0x32 {""} 0x124e 69 ecx = 0 0x1250 70 goto 85 @ 0x1490 0x1504 71 xmm2 = 0 0x1508 72 xmm5 = [0x2010].o 0x1510 73 edx = 0 0x1512 74 xmm4 = xmm5 0x1516 75 xmm3 = 0 0x151d 76 if ((cl & 1) != 0) then 87 @ 0x137c else 116 @ 0x1523 0x1273 77 rsi = rcx 0x1276 78 rsi = rsi & 0xfffffffffffffffe 0x127a 79 xmm2 = 0 0x127e 80 xmm5 = [0x2010].o 0x1286 81 edx = 0 0x1288 82 xmm4 = xmm5 0x128c 83 xmm3 = 0 0x128c 84 goto 117 @ 0x1290 0x1490 85 edx = [rsp + (rax << 2)].d 0x1495 86 if (edx s> ecx) then 169 else 171 @ 0x149a 0x137c 87 xmm0 = [rsp + (rdx << 2)].o 0x1381 88 xmm8 = [rsp + (rdx << 2) + 0x10].o 0x1388 89 xmm6 = xmm0 0x138c 90 xmm6 = _mm_cmpgt_epi32(xmm6, xmm2) 0x1390 91 xmm7 = xmm0 0x1394 92 xmm7 = xmm7 & xmm6 0x1398 93 xmm6 = xmm6 & not.o(xmm2) 0x139c 94 xmm6 = xmm6 | xmm7 0x13a0 95 xmm7 = xmm8 0x13a5 96 xmm7 = _mm_cmpgt_epi32(xmm7, xmm3) 0x13a9 97 xmm2 = xmm8 0x13ae 98 xmm2 = xmm2 & xmm7 0x13b2 99 xmm7 = xmm7 & not.o(xmm3) 0x13b6 100 xmm7 = xmm7 | xmm2 0x13ba 101 xmm1 = xmm5 0x13be 102 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x13c2 103 xmm0 = xmm0 & xmm1 0x13c6 104 xmm1 = xmm1 & not.o(xmm5) 0x13ca 105 xmm1 = xmm1 | xmm0 0x13ce 106 xmm0 = xmm4 0x13d2 107 xmm0 = _mm_cmpgt_epi32(xmm0, xmm8) 0x13d7 108 xmm8 = xmm8 & xmm0 0x13dc 109 xmm0 = xmm0 & not.o(xmm4) 0x13e0 110 xmm0 = xmm0 | xmm8 0x13e5 111 xmm2 = xmm6 0x13e9 112 xmm3 = xmm7 0x13ed 113 xmm5 = xmm1 0x13f1 114 xmm4 = xmm0 0x13f1 115 goto 172 @ 0x13f5 0x1523 116 goto 172 @ 0x13f5 0x1290 117 xmm1 = [rsp + (rdx << 2)].o 0x1295 118 xmm10 = [rsp + (rdx << 2) + 0x10].o 0x129c 119 xmm9 = [rsp + (rdx << 2) + 0x20].o 0x12a3 120 xmm8 = [rsp + (rdx << 2) + 0x30].o 0x12aa 121 xmm6 = xmm1 0x12ae 122 xmm6 = _mm_cmpgt_epi32(xmm6, xmm2) 0x12b2 123 xmm0 = xmm1 0x12b6 124 xmm0 = xmm0 & xmm6 0x12ba 125 xmm6 = xmm6 & not.o(xmm2) 0x12be 126 xmm6 = xmm6 | xmm0 0x12c2 127 xmm7 = xmm10 0x12c7 128 xmm7 = _mm_cmpgt_epi32(xmm7, xmm3) 0x12cb 129 xmm0 = xmm10 0x12d0 130 xmm0 = xmm0 & xmm7 0x12d4 131 xmm7 = xmm7 & not.o(xmm3) 0x12d8 132 xmm7 = xmm7 | xmm0 0x12dc 133 xmm0 = xmm5 0x12e0 134 xmm0 = _mm_cmpgt_epi32(xmm0, xmm1) 0x12e4 135 xmm1 = xmm1 & xmm0 0x12e8 136 xmm0 = xmm0 & not.o(xmm5) 0x12ec 137 xmm0 = xmm0 | xmm1 0x12f0 138 xmm1 = xmm4 0x12f4 139 xmm1 = _mm_cmpgt_epi32(xmm1, xmm10) 0x12f9 140 xmm10 = xmm10 & xmm1 0x12fe 141 xmm1 = xmm1 & not.o(xmm4) 0x1302 142 xmm1 = xmm1 | xmm10 0x1307 143 xmm2 = xmm9 0x130c 144 xmm2 = _mm_cmpgt_epi32(xmm2, xmm6) 0x1310 145 xmm3 = xmm9 0x1315 146 xmm3 = xmm3 & xmm2 0x1319 147 xmm2 = xmm2 & not.o(xmm6) 0x131d 148 xmm2 = xmm2 | xmm3 0x1321 149 xmm3 = xmm8 0x1326 150 xmm3 = _mm_cmpgt_epi32(xmm3, xmm7) 0x132a 151 xmm4 = xmm8 0x132f 152 xmm4 = xmm4 & xmm3 0x1333 153 xmm3 = xmm3 & not.o(xmm7) 0x1337 154 xmm3 = xmm3 | xmm4 0x133b 155 xmm5 = xmm0 0x133f 156 xmm5 = _mm_cmpgt_epi32(xmm5, xmm9) 0x1344 157 xmm9 = xmm9 & xmm5 0x1349 158 xmm5 = xmm5 & not.o(xmm0) 0x134d 159 xmm5 = xmm5 | xmm9 0x1352 160 xmm4 = xmm1 0x1356 161 xmm4 = _mm_cmpgt_epi32(xmm4, xmm8) 0x135b 162 xmm8 = xmm8 & xmm4 0x1360 163 xmm4 = xmm4 & not.o(xmm1) 0x1364 164 xmm4 = xmm4 | xmm8 0x1369 165 rdx = rdx + 0x10 0x136d 166 temp0.q = rsi 0x136d 167 rsi = rsi - 2 0x1371 168 if (temp0.q != 2) then 117 @ 0x1290 else 209 @ 0x137a 0x1495 169 ecx = edx 0x1495 170 goto 171 @ 0x149a 0x149a 171 if (edx s< ebx) then 210 else 212 @ 0x149d 0x13f5 172 xmm0 = xmm2 0x13f9 173 xmm0 = _mm_cmpgt_epi32(xmm0, xmm3) 0x13fd 174 xmm2 = xmm2 & xmm0 0x1401 175 xmm0 = xmm0 & not.o(xmm3) 0x1405 176 xmm0 = xmm0 | xmm2 0x1409 177 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x140e 178 xmm2 = xmm0 0x1412 179 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1416 180 xmm0 = xmm0 & xmm2 0x141a 181 xmm2 = xmm2 & not.o(xmm1) 0x141e 182 xmm2 = xmm2 | xmm0 0x1422 183 xmm0 = _mm_shuffle_epi32(xmm2, 0x55) 0x1427 184 xmm1 = xmm2 0x142b 185 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x142f 186 xmm2 = xmm2 & xmm1 0x1433 187 xmm1 = xmm1 & not.o(xmm0) 0x1437 188 xmm1 = xmm1 | xmm2 0x143b 189 ecx = xmm1.d 0x143f 190 xmm0 = xmm4 0x1443 191 xmm0 = _mm_cmpgt_epi32(xmm0, xmm5) 0x1447 192 xmm5 = xmm5 & xmm0 0x144b 193 xmm0 = xmm0 & not.o(xmm4) 0x144f 194 xmm0 = xmm0 | xmm5 0x1453 195 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1458 196 xmm2 = xmm1 0x145c 197 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x1460 198 xmm0 = xmm0 & xmm2 0x1464 199 xmm2 = xmm2 & not.o(xmm1) 0x1468 200 xmm2 = xmm2 | xmm0 0x146c 201 xmm0 = _mm_shuffle_epi32(xmm2, 0x55) 0x1471 202 xmm1 = xmm0 0x1475 203 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x1479 204 xmm2 = xmm2 & xmm1 0x147d 205 xmm1 = xmm1 & not.o(xmm0) 0x1481 206 xmm1 = xmm1 | xmm2 0x1485 207 ebx = xmm1.d 0x148c 208 if (rax == r15) then 214 @ 0x14a9 else 215 @ 0x148e 0x137a 209 if ((cl & 1) == 0) then 172 @ 0x13f5 else 87 @ 0x137c 0x149a 210 ebx = edx 0x149a 211 goto 212 @ 0x149d 0x149d 212 rax = rax + 1 0x14a4 213 if (r15 != rax) then 85 @ 0x1490 else 214 @ 0x14a9 0x14a9 214 if (r14d s< 0) then 18 @ 0x152d else 216 @ 0x14af 0x148e 215 goto 85 @ 0x1490 0x14af 216 rdi = rsp + 0xd0 {var_1418} 0x14b7 217 eax = 0 0x14b9 218 goto 219 @ 0x14c3 0x14c3 219 if ([rsp + (rax << 2)].d == ecx) then 220 @ 0x14d9 else 222 @ 0x14c5 0x14d9 220 call(0x1050) 0x14e1 221 if (r14d s< 0) then 18 @ 0x152d else 225 @ 0x14e3 0x14c5 222 rax = rax + 1 0x14c9 223 rdi = rdi + 0x32 0x14d0 224 if (r15 != rax) then 219 @ 0x14c3 else 228 @ 0x14d5 0x14e3 225 rdi = rsp + 0xd0 {var_1418} 0x14eb 226 eax = 0 0x14ed 227 goto 229 @ 0x14f3 0x14d5 228 if (r14d s>= 0) then 225 @ 0x14e3 else 230 @ 0x14d7 0x14f3 229 if ([rsp + (rax << 2)].d == ebx) then 231 @ 0x1528 else 233 @ 0x14f5 0x14d7 230 goto 18 @ 0x152d 0x1528 231 call(0x1050) 0x1528 232 goto 18 @ 0x152d 0x14f5 233 rax = rax + 1 0x14f9 234 rdi = rdi + 0x32 0x1500 235 if (r15 != rax) then 229 @ 0x14f3 else 236 @ 0x1502 0x1502 236 goto 18 @ 0x152d int64_t _fini(): 0x1544 0 rsp = rsp - 8 0x1548 1 rsp = rsp + 8 0x154c 2 <return> jump(pop)
POJ_24
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) double pow(double x, double y): 0x1050 0 <return> tailcall([0x4028].q) 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 = 0x12c0 {"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 ([0x4050].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4050].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) uint64_t len(double arg1, double arg2): 0x1170 0 push(rbx) 0x1171 1 rsp = rsp - 0x10 0x1175 2 xmm0.q = float.d(edi) 0x1179 3 [rsp + 8 {var_10}].q = xmm0.q 0x117f 4 ebx = 0xffffffff {""} 0x118e 5 goto 6 @ 0x1190 0x1190 6 ebx = ebx + 1 0x1193 7 xmm1 = 0 0x1196 8 xmm1.q = float.d(ebx) 0x119a 9 xmm0 = zx.o([0x2008].q) 0x11a2 10 call(0x1050) 0x11a7 11 xmm0.q = xmm0.q f- fconvert.t([rsp + 8 {var_10}].q) 0x11ad 12 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x11ad 13 flag:c = xmm0.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x11ad 14 flag:z = xmm0.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x11ad 15 flag:s = 0 0x11ad 16 flag:o = 0 0x11ad 17 flag:a = 0 0x11b5 18 if (flag:z || flag:c) then 6 @ 0x1190 else 19 @ 0x11b7 0x11b7 19 eax = ebx 0x11b9 20 rsp = rsp + 0x10 0x11bd 21 rbx = pop 0x11be 22 <return> jump(pop) int64_t rev(int32_t arg1, int32_t arg2): 0x11c0 0 push(rbp) 0x11c1 1 push(r14) 0x11c3 2 push(rbx) 0x11c4 3 rsp = rsp - 0x190 0x11cb 4 r14d = esi 0x11ce 5 ebx = edi 0x11d0 6 rdi = rsp {var_1a8} 0x11d3 7 ebp = 0 0x11d5 8 edx = 0x190 {""} 0x11da 9 esi = 0 0x11dc 10 call(0x1040) 0x11e4 11 if (r14d s<= 0) then 12 @ 0x121e else 13 @ 0x11e6 0x121e 12 if (r14d s<= 0) then 16 @ 0x1266 else 23 @ 0x1220 0x11e6 13 eax = (r14 + 1).d 0x11ea 14 ecx = 1 0x11ef 15 goto 26 @ 0x11f0 0x1266 16 eax = 0 0x126b 17 al = ebp == r14d 0x126e 18 rsp = rsp + 0x190 0x1275 19 rbx = pop 0x1276 20 r14 = pop 0x1278 21 rbp = pop 0x1279 22 <return> jump(pop) 0x1220 23 eax = (r14 + 1).d 0x1224 24 ebp = 0 0x1226 25 goto 38 @ 0x1230 0x11f0 26 rdx = sx.q(ebx) 0x11f3 27 rbx = rdx * 0x66666667 0x11fa 28 rsi = rbx 0x11fd 29 rsi = rsi u>> 0x3f 0x1201 30 rbx = rbx s>> 0x22 0x1205 31 ebx = ebx + esi 0x1207 32 esi = (rbx + rbx).d 0x120a 33 esi = (rsi + (rsi << 2)).d 0x120d 34 edx = edx - esi 0x120f 35 [rsp + (rcx << 2)].d = edx 0x1212 36 rcx = rcx + 1 0x1219 37 if (rax != rcx) then 26 @ 0x11f0 else 12 @ 0x121e 0x1230 38 ecx = 1 0x1235 39 edx = r14d 0x1238 40 goto 41 @ 0x1240 0x1240 41 esi = [rsp + (rcx << 2)].d 0x1243 42 rdx = sx.q(edx) 0x1246 43 edi = 0 0x124b 44 dil = esi == [rsp + (rdx << 2)].d 0x124f 45 ebp = ebp + edi 0x1251 46 rcx = rcx + 1 0x1255 47 edx = edx - 1 0x125b 48 if (rax != rcx) then 41 @ 0x1240 else 49 @ 0x1264 0x1264 49 if (r14d == 0x7fffffff) then 38 @ 0x1230 else 16 @ 0x1266 int64_t s(int32_t arg1): 0x1280 0 eax = 1 0x1288 1 if (edi s< 3) then 2 @ 0x12b9 else 3 @ 0x128a 0x12b9 2 <return> jump(pop) 0x128a 3 esi = 2 0x128f 4 ecx = 0 0x129b 5 goto 6 @ 0x12a0 0x12a0 6 eax = edi 0x12a2 7 temp2.d:temp3.d = sx.q(eax) 0x12a2 8 edx = temp2.d 0x12a2 9 eax = temp3.d 0x12a3 10 temp4.d = edx 0x12a3 11 temp5.d = eax 0x12a3 12 temp0.d = divs.dp.d(temp4.d:temp5.d, esi) 0x12a3 13 temp6.d = edx 0x12a3 14 temp7.d = eax 0x12a3 15 temp1.d = mods.dp.d(temp6.d:temp7.d, esi) 0x12a3 16 eax = temp0.d 0x12a3 17 edx = temp1.d 0x12a5 18 flag:c = edx u< 1 0x12a8 19 ecx = adc.d(ecx, 0, flag:c) 0x12ab 20 esi = esi + 1 0x12b0 21 if (edi != esi) then 6 @ 0x12a0 else 22 @ 0x12b2 0x12b2 22 eax = 0 0x12b6 23 al = ecx == 0 0x12b6 24 goto 2 @ 0x12b9 int32_t main(int32_t argc, char** argv, char** envp): 0x12c0 0 push(rbp) 0x12c1 1 push(r15) 0x12c3 2 push(r14) 0x12c5 3 push(r13) 0x12c7 4 push(r12) 0x12c9 5 push(rbx) 0x12ca 6 rsp = rsp - 0x1b8 0x12d1 7 rdi = 0x2018 {"%d %d"} 0x12d8 8 eax = 0 0x12da 9 [rsp + 8 {var_1e0}].q = rax 0x12df 10 rsi = rsp + 0x14 {var_1d4} 0x12e4 11 rdx = rsp + 4 {var_1e4} 0x12e9 12 eax = 0 0x12eb 13 call(0x1060) 0x12f0 14 ebx = [rsp + 0x14 {var_1d4}].d 0x12f8 15 if (ebx s<= [rsp + 4 {var_1e4}].d) then 16 @ 0x1321 else 20 @ 0x12ff 0x1321 16 r15d = 1 0x1327 17 eax = 0 0x1329 18 [rsp + 8 {var_1e0}].q = rax 0x132e 19 goto 21 @ 0x133b 0x12ff 20 if ([rsp + 8 {var_1e0}].d != 0) then 27 @ 0x130f else 35 @ 0x1301 0x133b 21 xmm1 = 0 0x133e 22 xmm1.q = float.d(ebx) 0x1342 23 [rsp + 0x18 {var_1d0_1}].q = xmm1.q 0x1348 24 r12d = 0xffffffff {""} 0x134e 25 eax = 1 0x135d 26 goto 39 @ 0x1360 0x130f 27 rsp = rsp + 0x1b8 0x1316 28 rbx = pop 0x1317 29 r12 = pop 0x1319 30 r13 = pop 0x131b 31 r14 = pop 0x131d 32 r15 = pop 0x131f 33 rbp = pop 0x1320 34 <return> jump(pop) 0x1301 35 rdi = 0x2022 {"no"} 0x1308 36 eax = 0 0x130a 37 call(0x1030) 0x130a 38 goto 27 @ 0x130f 0x1360 39 r14d = eax 0x1363 40 r12d = r12d + 1 0x1367 41 xmm1 = 0 0x136a 42 xmm1.q = float.d(r12d) 0x136f 43 xmm0 = zx.o([0x2008].q) 0x1377 44 call(0x1050) 0x137c 45 xmm0.q = xmm0.q f- fconvert.t([rsp + 0x18 {var_1d0_1}].q) 0x1382 46 eax = (r14 + 1).d 0x1386 47 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x1386 48 flag:c = xmm0.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x1386 49 flag:z = xmm0.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x1386 50 flag:s = 0 0x1386 51 flag:o = 0 0x1386 52 flag:a = 0 0x138e 53 if (flag:z || flag:c) then 39 @ 0x1360 else 54 @ 0x1390 0x1390 54 r13d = 0 0x1393 55 edx = 0x190 {""} 0x1398 56 rdi = rsp + 0x20 {var_1c8} 0x139d 57 esi = 0 0x139f 58 call(0x1040) 0x13a7 59 if (r12d s<= 0) then 60 @ 0x1432 else 64 @ 0x13ad 0x1432 60 ecx = 0 0x1437 61 sil = r13d == r12d 0x143b 62 eax = 1 0x1443 63 if (ebx s< 3) then 69 @ 0x1469 else 72 @ 0x1445 0x13ad 64 eax = (r12 + 1).d 0x13b2 65 ecx = r14d 0x13b5 66 edx = 1 0x13ba 67 esi = ebx 0x13bc 68 goto 75 @ 0x13c0 0x1469 69 cl = sil 0x146c 70 ecx = ecx + eax 0x1471 71 if (ecx != 2) then 87 @ 0x1330 else 91 @ 0x1477 0x1445 72 ebp = 2 0x144a 73 edi = 0 0x144c 74 goto 97 @ 0x1450 0x13c0 75 rdi = sx.q(esi) 0x13c3 76 rsi = rdi * 0x66666667 0x13ca 77 rbp = rsi 0x13cd 78 rbp = rbp u>> 0x3f 0x13d1 79 rsi = rsi s>> 0x22 0x13d5 80 esi = esi + ebp 0x13d7 81 ebp = (rsi + rsi).d 0x13da 82 ebp = (rbp + (rbp << 2)).d 0x13de 83 edi = edi - ebp 0x13e0 84 [rsp + (rdx << 2) + 0x20].d = edi 0x13e4 85 rdx = rdx + 1 0x13eb 86 if (rcx != rdx) then 75 @ 0x13c0 else 113 @ 0x13f0 0x1330 87 eax = (rbx + 1).d 0x1333 88 cond:0 = ebx s>= [rsp + 4 {var_1e4}].d 0x1337 89 ebx = eax 0x1339 90 if (cond:0) then 20 @ 0x12ff else 21 @ 0x133b 0x1477 91 rax = [rsp + 8 {var_1e0}].q 0x147c 92 ebp = (rax + 1).d 0x147f 93 cond:1 = eax == 0 0x1481 94 rdi = 0x201e {",%d"} 0x1488 95 rax = 0x201b {"%d"} 0x148f 96 if (cond:1) then 114 else 116 @ 0x1493 0x1450 97 eax = ebx 0x1452 98 temp2.d:temp3.d = sx.q(eax) 0x1452 99 edx = temp2.d 0x1452 100 eax = temp3.d 0x1453 101 temp4.d = edx 0x1453 102 temp5.d = eax 0x1453 103 temp0.d = divs.dp.d(temp4.d:temp5.d, ebp) 0x1453 104 temp6.d = edx 0x1453 105 temp7.d = eax 0x1453 106 temp1.d = mods.dp.d(temp6.d:temp7.d, ebp) 0x1453 107 eax = temp0.d 0x1453 108 edx = temp1.d 0x1455 109 flag:c = edx u< 1 0x1458 110 edi = adc.d(edi, 0, flag:c) 0x145b 111 ebp = ebp + 1 0x1460 112 if (ebx != ebp) then 97 @ 0x1450 else 122 @ 0x1462 0x13f0 113 if (r12d s<= 0) then 60 @ 0x1432 else 125 @ 0x13f2 0x148f 114 rdi = rax 0x148f 115 goto 116 @ 0x1493 0x1493 116 esi = ebx 0x1495 117 eax = 0 0x1497 118 call(0x1030) 0x149c 119 eax = ebp 0x149e 120 [rsp + 8 {var_1e0}].q = rax 0x14a3 121 goto 87 @ 0x1330 0x1462 122 eax = 0 0x1466 123 al = edi == 0 0x1466 124 goto 69 @ 0x1469 0x13f2 125 eax = eax 0x13f4 126 r13d = 0 0x13f7 127 ecx = 1 0x13fc 128 goto 129 @ 0x1400 0x1400 129 edx = [rsp + (rcx << 2) + 0x20].d 0x1404 130 esi = r12d 0x1407 131 esi = esi - ecx 0x1409 132 esi = esi + 1 0x140c 133 rsi = sx.q(esi) 0x140f 134 edi = 0 0x1415 135 dil = edx == [rsp + (rsi << 2) + 0x20].d 0x1419 136 r13d = r13d + edi 0x141c 137 rcx = rcx + 1 0x1420 138 cond:2 = rcx != rax 0x1423 139 if (rcx == rax) then 140 else 142 @ 0x1427 0x1423 140 rcx = r15 0x1423 141 goto 142 @ 0x1427 0x1427 142 if (cond:2) then 129 @ 0x1400 else 143 @ 0x1430 0x1430 143 if (r12d == 0x7fffffff) then 129 @ 0x1400 else 60 @ 0x1432 int64_t _fini(): 0x14ac 0 rsp = rsp - 8 0x14b0 1 rsp = rsp + 8 0x14b4 2 <return> jump(pop)
POJ_74
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0xfb0 0x115c 4 rdi = 0x2004 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_fbc} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x1174 8 if ([rsp + 0xc {var_fbc}].d s<= 0) then 9 @ 0x11ec else 20 @ 0x1176 0x11ec 9 esi = [rsp + 0x14 {var_fb4}].d 0x11f0 10 [rsp + 8 {var_fc0}].d = esi 0x11f4 11 rdi = 0x2004 {"%d"} 0x11fb 12 eax = 0 0x11fd 13 call(0x1030) 0x1202 14 eax = 0 0x1204 15 rsp = rsp + 0xfb0 0x120b 16 rbx = pop 0x120c 17 r14 = pop 0x120e 18 r15 = pop 0x1210 19 <return> jump(pop) 0x1176 20 r14 = 0x2004 {"%d"} 0x117d 21 r15 = rsp + 8 {var_fc0} 0x1182 22 ebx = 0 0x118e 23 goto 24 @ 0x1190 0x1190 24 rdi = r14 0x1193 25 rsi = r15 {var_fc0} 0x1196 26 eax = 0 0x1198 27 call(0x1040) 0x119d 28 eax = [rsp + 8 {var_fc0}].d 0x11a1 29 [rsp + (rbx << 2) + 0x14].d = eax 0x11a5 30 rax = sx.q([rsp + 0xc {var_fbc}].d) 0x11aa 31 rbx = rbx + 1 0x11b1 32 if (rbx s< rax) then 24 @ 0x1190 else 33 @ 0x11b3 0x11b3 33 ebx = eax 0x11b8 34 if (ebx s< 2) then 9 @ 0x11ec else 35 @ 0x11ba 0x11ba 35 rbx = rbx + 1 0x11be 36 r14 = 0x2007 {"%d "} 0x11cf 37 goto 38 @ 0x11d0 0x11d0 38 esi = [rsp + (rbx << 2) + 0xc].d 0x11d4 39 [rsp + 8 {var_fc0}].d = esi 0x11d8 40 rdi = r14 0x11db 41 eax = 0 0x11dd 42 call(0x1030) 0x11e2 43 rbx = rbx - 1 0x11ea 44 if (rbx u> 2) then 38 @ 0x11d0 else 9 @ 0x11ec int64_t _fini(): 0x1218 0 rsp = rsp - 8 0x121c 1 rsp = rsp + 8 0x1220 2 <return> jump(pop)
POJ_47
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) int32_t putchar(int32_t c): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"AWAVAUATSHp"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(r15) 0x1182 1 push(r14) 0x1184 2 push(r13) 0x1186 3 push(r12) 0x1188 4 push(rbx) 0x1189 5 rsp = rsp - 0x270 0x1190 6 r15d = 0 0x1193 7 r14 = rsp + 0x1a0 {var_f8} 0x119b 8 rdi = r14 {var_f8} 0x119e 9 eax = 0 0x11a0 10 call(0x1050) 0x11a5 11 rdi = r14 {var_f8} 0x11a8 12 call(0x1040) 0x11ad 13 r14 = rax 0x11b3 14 if (r14d s<= 0) then 15 @ 0x11dc else 19 @ 0x11b5 0x11dc 15 rax = sx.q(r14d) 0x11df 16 [rsp + rax + 1].b = 0x20 {"@"} 0x11e4 17 [rsp {var_298}].b = 0x20 {"@"} 0x11ec 18 if (r14d s< -1) then 28 @ 0x123c else 32 @ 0x11ee 0x11b5 19 rdi = rsp + 1 {var_297} 0x11ba 20 edx = r14d 0x11bd 21 rsi = rsp + 0x1a0 {var_f8} 0x11c5 22 call(0x1030) 0x11ca 23 eax = r14d 0x11cd 24 [rsp + rax + 1].b = 0x20 {"@"} 0x11d2 25 rax = rax + 1 0x11d6 26 [rsp {var_298}].b = 0x20 {"@"} 0x11da 27 goto 34 @ 0x11f2 0x123c 28 r14d = sx.d([rsp + 0xd2 {var_1c6}].b) 0x1245 29 eax = sx.d([rsp + 0xd1 {var_1c7}].b) 0x124d 30 ecx = (r14 + 1).d 0x1253 31 if (ecx s>= eax) then 37 @ 0x1276 else 38 @ 0x1255 0x11ee 32 rax = rax + 1 0x11ee 33 goto 34 @ 0x11f2 0x11f2 34 eax = eax 0x11f4 35 r15d = 0 0x11f7 36 goto 42 @ 0x120f 0x1276 37 if (r15d s< 3) then 43 @ 0x12d4 else 50 @ 0x1278 0x1255 38 rbx = sx.q(r14d) 0x1258 39 r12 = sx.q(eax) 0x125b 40 rbx = rbx + 1 0x125f 41 goto 53 @ 0x1260 0x120f 42 if ([rsp + rax].b != 0x20) then 57 @ 0x1200 else 60 @ 0x1211 0x12d4 43 rsp = rsp + 0x270 0x12db 44 rbx = pop 0x12dc 45 r12 = pop 0x12de 46 r13 = pop 0x12e0 47 r14 = pop 0x12e2 48 r15 = pop 0x12e4 49 <return> jump(pop) 0x1278 50 r15d = r15d 0x127b 51 r12d = 2 0x1281 52 goto 64 @ 0x1295 0x1260 53 edi = sx.d([rsp + rbx].b) 0x1264 54 call(0x1070) 0x1269 55 rbx = rbx + 1 0x1270 56 if (r12 != rbx) then 53 @ 0x1260 else 37 @ 0x1276 0x1200 57 rax = rax - 1 0x1204 58 ecx = (rax + 1).d 0x1209 59 if (ecx s<= 0) then 68 @ 0x1226 else 42 @ 0x120f 0x1211 60 r15 = sx.q(r15d) 0x1214 61 [rsp + r15 + 0xd1].b = al 0x121c 62 r15 = r15 + 1 0x1220 63 goto 57 @ 0x1200 0x1295 64 eax = r14d 0x1298 65 r14b = [rsp + r12 + 0xd1].b 0x12a0 66 r12 = r12 + 1 0x12a7 67 if (r14b s>= al) then 69 @ 0x1293 else 70 @ 0x12a9 0x1226 68 if (r15d != 2) then 28 @ 0x123c else 73 @ 0x1228 0x1293 69 if (r12 == r15) then 43 @ 0x12d4 else 64 @ 0x1295 0x12a9 70 rbx = sx.q(r14b) 0x12ad 71 r13 = sx.q(al) 0x12bb 72 goto 77 @ 0x12c0 0x1228 73 rdi = rsp + 0x1a0 {var_f8} 0x1230 74 eax = 0 0x1232 75 call(0x1060) 0x1237 76 goto 43 @ 0x12d4 0x12c0 77 edi = sx.d([rsp + rbx].b) 0x12c4 78 call(0x1070) 0x12c9 79 rbx = rbx + 1 0x12d0 80 if (r13 != rbx) then 77 @ 0x12c0 else 81 @ 0x12d2 0x12d2 81 goto 69 @ 0x1293 int64_t _fini(): 0x12ec 0 rsp = rsp - 8 0x12f0 1 rsp = rsp + 8 0x12f4 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) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) int32_t putchar(int32_t c): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"UAWAVAUATSH("} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 push(r15) 0x1183 2 push(r14) 0x1185 3 push(r13) 0x1187 4 push(r12) 0x1189 5 push(rbx) 0x118a 6 rsp = rsp - 0x328 0x1191 7 r14 = rsp + 0x110 {var_248} 0x1199 8 edx = 0x104 {""} 0x119e 9 rdi = r14 {var_248} 0x11a1 10 esi = 0 0x11a3 11 call(0x1040) 0x11a8 12 r15 = rsp {var_358} 0x11ab 13 edx = 0x104 {""} 0x11b0 14 rdi = r15 {var_358} 0x11b3 15 esi = 0 0x11b5 16 call(0x1040) 0x11ba 17 rbx = rsp + 0x220 {var_138} 0x11c2 18 edx = 0x104 {""} 0x11c7 19 rdi = rbx {var_138} 0x11ca 20 esi = 0 0x11cc 21 call(0x1040) 0x11d1 22 rdi = 0x2004 {"%s %s %s"} 0x11d8 23 rsi = r15 {var_358} 0x11db 24 rdx = r14 {var_248} 0x11de 25 rcx = rbx {var_138} 0x11e1 26 eax = 0 0x11e3 27 call(0x1060) 0x11e8 28 rdi = r15 {var_358} 0x11eb 29 call(0x1050) 0x11f3 30 if (rax == 0) then 31 @ 0x125a else 36 @ 0x11f5 0x125a 31 rdi = 0x200a {"%s"} 0x1261 32 rsi = rsp {var_358} 0x1264 33 eax = 0 0x1266 34 call(0x1030) 0x1266 35 goto 41 @ 0x126b 0x11f5 36 r14 = rax 0x11f8 37 r13b = [rsp + 0x110 {var_248}].b 0x1200 38 r12d = 0 0x1203 39 ebp = 1 0x1208 40 goto 50 @ 0x1221 0x126b 41 eax = 0 0x126d 42 rsp = rsp + 0x328 0x1274 43 rbx = pop 0x1275 44 r12 = pop 0x1277 45 r13 = pop 0x1279 46 r14 = pop 0x127b 47 r15 = pop 0x127d 48 rbp = pop 0x127e 49 <return> jump(pop) 0x1221 50 if ([rsp + r12].b != r13b) then 51 @ 0x1210 else 54 @ 0x1223 0x1210 51 r12 = r12 + 1 0x1214 52 r15 = r15 + 1 0x121b 53 if (r12 == r14) then 31 @ 0x125a else 50 @ 0x1221 0x1223 54 rdi = rsp + 0x110 {var_248} 0x122b 55 call(0x1050) 0x1233 56 if (rax == 0) then 57 @ 0x120a else 59 @ 0x1235 0x120a 57 ecx = 0 0x120a 58 goto 62 @ 0x120e 0x1235 59 edx = 0 0x1237 60 ecx = 0 0x1239 61 goto 63 @ 0x1240 0x120e 62 if (ecx == 0) then 65 @ 0x1282 else 51 @ 0x1210 0x1240 63 ebx = zx.d([r15 + rdx].b) 0x124c 64 if (bl != [rsp + rdx + 0x110].b) then 66 else 68 @ 0x124f 0x1282 65 if (r12d == 0) then 70 @ 0x12a2 else 81 @ 0x1284 0x124c 66 ecx = ebp 0x124c 67 goto 68 @ 0x124f 0x124f 68 rdx = rdx + 1 0x1256 69 if (rax != rdx) then 63 @ 0x1240 else 84 @ 0x1258 0x12a2 70 rdi = 0x200a {"%s"} 0x12a9 71 rsi = rsp + 0x220 {var_138} 0x12b1 72 eax = 0 0x12b3 73 call(0x1030) 0x12b8 74 rdi = rsp + 0x110 {var_248} 0x12c0 75 call(0x1050) 0x12c5 76 eax = eax + r12d 0x12c8 77 rbp = sx.q(eax) 0x12cb 78 rdi = rsp {var_358} 0x12ce 79 call(0x1050) 0x12d6 80 if (rax u<= rbp) then 41 @ 0x126b else 85 @ 0x12d8 0x1284 81 ebx = r12d 0x1287 82 ebp = 0 0x1289 83 goto 87 @ 0x1290 0x1258 84 goto 62 @ 0x120e 0x12d8 85 rbx = rsp {var_358} 0x12db 86 goto 91 @ 0x12e0 0x1290 87 edi = sx.d([rsp + rbp].b) 0x1294 88 call(0x1070) 0x1299 89 rbp = rbp + 1 0x12a0 90 if (rbx != rbp) then 87 @ 0x1290 else 70 @ 0x12a2 0x12e0 91 edi = sx.d([rsp + rbp].b) 0x12e4 92 call(0x1070) 0x12e9 93 rbp = rbp + 1 0x12ed 94 rdi = rbx {var_358} 0x12f0 95 call(0x1050) 0x12f8 96 if (rax u> rbp) then 91 @ 0x12e0 else 97 @ 0x12fa 0x12fa 97 goto 41 @ 0x126b int64_t _fini(): 0x1304 0 rsp = rsp - 8 0x1308 1 rsp = rsp + 8 0x130c 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 = 0x1180 {"AWAVATSPH=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 ([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) int64_t check(int32_t arg1): 0x1150 0 ecx = 1 0x1158 1 if (edi s< 4) then 2 @ 0x1170 else 4 @ 0x115a 0x1170 2 eax = ecx 0x1172 3 <return> jump(pop) 0x115a 4 esi = 3 0x115f 5 goto 6 @ 0x1160 0x1160 6 eax = edi 0x1162 7 temp2.d:temp3.d = sx.q(eax) 0x1162 8 edx = temp2.d 0x1162 9 eax = temp3.d 0x1163 10 temp4.d = edx 0x1163 11 temp5.d = eax 0x1163 12 temp0.d = divs.dp.d(temp4.d:temp5.d, esi) 0x1163 13 temp6.d = edx 0x1163 14 temp7.d = eax 0x1163 15 temp1.d = mods.dp.d(temp6.d:temp7.d, esi) 0x1163 16 eax = temp0.d 0x1163 17 edx = temp1.d 0x1167 18 if (edx == 0) then 19 @ 0x1173 else 22 @ 0x1169 0x1173 19 ecx = 0 0x1175 20 eax = ecx 0x1177 21 <return> jump(pop) 0x1169 22 esi = esi + 2 0x116e 23 if (esi s< edi) then 6 @ 0x1160 else 2 @ 0x1170 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 push(rax) 0x1188 5 rdi = 0x2004 {"%d"} 0x118f 6 rsi = rsp + 4 {var_28+0x4} 0x1194 7 eax = 0 0x1196 8 call(0x1040) 0x119b 9 r8d = [rsp + 4 {var_28+0x4}].d 0x11a4 10 if (r8d s< 4) then 11 @ 0x11fd else 18 @ 0x11a6 0x11fd 11 eax = 0 0x11ff 12 rsp = rsp + 8 0x1203 13 rbx = pop 0x1204 14 r12 = pop 0x1206 15 r14 = pop 0x1208 16 r15 = pop 0x120a 17 <return> jump(pop) 0x11a6 18 ecx = 3 0x11ab 19 rbx = 0x4050 {""} 0x11b2 20 goto 21 @ 0x11d5 0x11d5 21 if (rcx u< 4) then 22 @ 0x11c0 else 24 @ 0x11d7 0x11c0 22 esi = 1 0x11c0 23 goto 26 @ 0x11c5 0x11d7 24 edi = 3 0x11dc 25 goto 29 @ 0x11e0 0x11c5 26 [rbx + (rcx << 2)].d = esi 0x11c8 27 rcx = rcx + 2 0x11cf 28 if (rcx u>= r8) then 42 @ 0x11fb else 21 @ 0x11d5 0x11e0 29 esi = 0 0x11e2 30 eax = ecx 0x11e4 31 edx = 0 0x11e6 32 temp2.d = edi 0x11e6 33 temp3.d = edx 0x11e6 34 temp4.d = eax 0x11e6 35 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x11e6 36 temp5.d = edx 0x11e6 37 temp6.d = eax 0x11e6 38 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x11e6 39 eax = temp0.d 0x11e6 40 edx = temp1.d 0x11ea 41 if (edx == 0) then 26 @ 0x11c5 else 43 @ 0x11ec 0x11fb 42 if (r8d s>= 6) then 45 @ 0x120b else 11 @ 0x11fd 0x11ec 43 rdi = rdi + 2 0x11f3 44 if (rcx u> rdi) then 29 @ 0x11e0 else 49 @ 0x11f5 0x120b 45 r15d = 6 0x1211 46 r12d = 3 0x1217 47 r14 = 0x2007 {"%d=%d+%d\n"} 0x121e 48 goto 50 @ 0x1230 0x11f5 49 goto 22 @ 0x11c0 0x1230 50 eax = r15d 0x1233 51 eax = eax u>> 1 0x1235 52 rcx = r12 0x1238 53 edx = 3 0x123d 54 goto 55 @ 0x1251 0x1251 55 if ([rbx + (rdx << 2)].d != 1) then 56 @ 0x1240 else 59 @ 0x1257 0x1240 56 rdx = rdx + 2 0x1244 57 rcx = rcx - 2 0x124b 58 if (rdx u> rax) then 60 @ 0x1220 else 55 @ 0x1251 0x1257 59 if ([rbx + (rcx << 2)].d != 1) then 56 @ 0x1240 else 64 @ 0x1259 0x1220 60 r15 = r15 + 2 0x1224 61 rax = sx.q(r8d) 0x1227 62 r12 = r12 + 2 0x122e 63 if (r15 s> rax) then 11 @ 0x11fd else 50 @ 0x1230 0x1259 64 rdi = r14 0x125c 65 esi = r15d 0x125f 66 eax = 0 0x1261 67 call(0x1030) 0x1266 68 r8d = [rsp + 4 {var_28+0x4}].d 0x126b 69 goto 60 @ 0x1220 int64_t _fini(): 0x1274 0 rsp = rsp - 8 0x1278 1 rsp = rsp + 8 0x127c 2 <return> jump(pop)
POJ_68
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVSHy"} 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 - 0x79f0 0x116c 4 rbx = rsp + 0x4c0 {var_7548} 0x1174 5 r14 = 0x2004 {"%s"} 0x117b 6 r15d = 0 0x117e 7 goto 8 @ 0x1180 0x1180 8 rdi = r14 0x1183 9 rsi = rbx 0x1186 10 eax = 0 0x1188 11 call(0x1050) 0x118d 12 rdi = rbx 0x1190 13 call(0x1040) 0x1195 14 [rsp + (r15 << 2)].d = eax 0x119b 15 if (eax == 0) then 16 @ 0x11b8 else 17 @ 0x119d 0x11b8 16 if (r15d s< 2) then 20 @ 0x11e8 else 22 @ 0x11ba 0x119d 17 r15 = r15 + 1 0x11a1 18 rbx = rbx + 0x64 0x11ac 19 if (r15 != 0x12c) then 8 @ 0x1180 else 26 @ 0x11ae 0x11e8 20 ebx = 0 0x11e8 21 goto 28 @ 0x11ea 0x11ba 22 r15d = r15d - 1 0x11be 23 r14 = 0x2007 {"%d,"} 0x11c5 24 ebx = 0 0x11c7 25 goto 38 @ 0x11d0 0x11ae 26 r15d = 0x12c {""} 0x11ae 27 goto 16 @ 0x11b8 0x11ea 28 esi = [rsp + (rbx << 2)].d 0x11ed 29 rdi = 0x200b {"%d"} 0x11f4 30 eax = 0 0x11f6 31 call(0x1030) 0x11fb 32 eax = 0 0x11fd 33 rsp = rsp + 0x79f0 0x1204 34 rbx = pop 0x1205 35 r14 = pop 0x1207 36 r15 = pop 0x1209 37 <return> jump(pop) 0x11d0 38 esi = [rsp + (rbx << 2)].d 0x11d3 39 rdi = r14 0x11d6 40 eax = 0 0x11d8 41 call(0x1030) 0x11dd 42 rbx = rbx + 1 0x11e4 43 if (r15 != rbx) then 38 @ 0x11d0 else 44 @ 0x11e6 0x11e6 44 goto 28 @ 0x11ea int64_t _fini(): 0x1210 0 rsp = rsp - 8 0x1214 1 rsp = rsp + 8 0x1218 2 <return> jump(pop)
POJ_28
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x12e0 {"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) uint64_t judge(int32_t arg1): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 [rbp - 8 {var_10}].d = edi 0x1157 3 [rbp - 0xc {var_14}].d = 2 0x1157 4 goto 5 @ 0x115e 0x115e 5 eax = [rbp - 0xc {var_14}].d 0x1164 6 if (eax s>= [rbp - 8 {var_10}].d) then 7 @ 0x1192 else 9 @ 0x116a 0x1192 7 eax = [rbp - 0xc {var_14}].d 0x1198 8 if (eax != [rbp - 8 {var_10}].d) then 22 @ 0x11aa else 24 @ 0x119e 0x116a 9 eax = [rbp - 8 {var_10}].d 0x116d 10 temp2.d:temp3.d = sx.q(eax) 0x116d 11 edx = temp2.d 0x116d 12 eax = temp3.d 0x116e 13 temp4.d = edx 0x116e 14 temp5.d = eax 0x116e 15 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0xc {var_14}].d) 0x116e 16 temp6.d = edx 0x116e 17 temp7.d = eax 0x116e 18 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0xc {var_14}].d) 0x116e 19 eax = temp0.d 0x116e 20 edx = temp1.d 0x1174 21 if (edx != 0) then 26 @ 0x117f else 27 @ 0x117a 0x11aa 22 [rbp - 4 {var_c}].d = 0 0x11aa 23 goto 28 @ 0x11b1 0x119e 24 [rbp - 4 {var_c}].d = 1 0x11a5 25 goto 28 @ 0x11b1 0x117f 26 goto 31 @ 0x1184 0x117a 27 goto 7 @ 0x1192 0x11b1 28 eax = [rbp - 4 {var_c}].d 0x11b4 29 rbp = pop 0x11b5 30 <return> jump(pop) 0x1184 31 eax = [rbp - 0xc {var_14}].d 0x1187 32 eax = eax + 1 0x118a 33 [rbp - 0xc {var_14}].d = eax 0x118d 34 goto 5 @ 0x115e uint64_t scan(int32_t arg1): 0x11c0 0 push(rbp) 0x11c1 1 rbp = rsp {__saved_rbp} 0x11c4 2 [rbp - 8 {var_10}].d = edi 0x11c7 3 [rbp - 0x24 {var_2c}].d = 1 0x11ce 4 [rbp - 0x28 {var_30}].d = 1 0x11d5 5 [rbp - 0x2c {var_34}].d = 0 0x11dc 6 [rbp - 0x14 {var_1c}].d = 0 0x11dc 7 goto 8 @ 0x11e3 0x11e3 8 eax = [rbp - 0x28 {var_30}].d * 0xa 0x11e7 9 [rbp - 0x28 {var_30}].d = eax 0x11ea 10 eax = [rbp - 8 {var_10}].d 0x11ed 11 temp2.d:temp3.d = sx.q(eax) 0x11ed 12 edx = temp2.d 0x11ed 13 eax = temp3.d 0x11ee 14 temp4.d = edx 0x11ee 15 temp5.d = eax 0x11ee 16 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0x28 {var_30}].d) 0x11ee 17 temp6.d = edx 0x11ee 18 temp7.d = eax 0x11ee 19 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0x28 {var_30}].d) 0x11ee 20 eax = temp0.d 0x11ee 21 edx = temp1.d 0x11f4 22 if (eax != 0) then 23 @ 0x11ff else 24 @ 0x11fa 0x11ff 23 goto 25 @ 0x1204 0x11fa 24 goto 29 @ 0x1212 0x1204 25 eax = [rbp - 0x14 {var_1c}].d 0x1207 26 eax = eax + 1 0x120a 27 [rbp - 0x14 {var_1c}].d = eax 0x120d 28 goto 8 @ 0x11e3 0x1212 29 [rbp - 0x18 {var_20}].d = 0 0x1212 30 goto 31 @ 0x1219 0x1219 31 eax = [rbp - 0x18 {var_20}].d 0x121c 32 [rbp - 0x30 {var_38_1}].d = eax 0x121f 33 eax = [rbp - 0x14 {var_1c}].d 0x1222 34 ecx = 2 0x1227 35 temp8.d:temp9.d = sx.q(eax) 0x1227 36 edx = temp8.d 0x1227 37 eax = temp9.d 0x1228 38 temp10.d = edx 0x1228 39 temp11.d = eax 0x1228 40 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x1228 41 temp12.d = edx 0x1228 42 temp13.d = eax 0x1228 43 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x1228 44 eax = temp0.d 0x1228 45 edx = temp1.d 0x122a 46 ecx = eax 0x122c 47 eax = [rbp - 0x30 {var_38_1}].d 0x1231 48 if (eax s> ecx) then 49 @ 0x12a4 else 68 @ 0x1237 0x12a4 49 eax = [rbp - 0x2c {var_34}].d 0x12a7 50 [rbp - 0x34 {var_3c}].d = eax 0x12aa 51 eax = [rbp - 0x14 {var_1c}].d 0x12ad 52 ecx = 2 0x12b2 53 temp14.d:temp15.d = sx.q(eax) 0x12b2 54 edx = temp14.d 0x12b2 55 eax = temp15.d 0x12b3 56 temp16.d = edx 0x12b3 57 temp17.d = eax 0x12b3 58 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x12b3 59 temp18.d = edx 0x12b3 60 temp19.d = eax 0x12b3 61 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x12b3 62 eax = temp0.d 0x12b3 63 edx = temp1.d 0x12b5 64 ecx = eax 0x12b7 65 eax = [rbp - 0x34 {var_3c}].d 0x12ba 66 ecx = ecx + 1 0x12bf 67 if (eax != ecx) then 150 @ 0x12d1 else 152 @ 0x12c5 0x1237 68 eax = [rbp - 0x28 {var_30}].d 0x123a 69 ecx = 0xa {""} 0x123f 70 temp20.d:temp21.d = sx.q(eax) 0x123f 71 edx = temp20.d 0x123f 72 eax = temp21.d 0x1240 73 temp22.d = edx 0x1240 74 temp23.d = eax 0x1240 75 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x1240 76 temp24.d = edx 0x1240 77 temp25.d = eax 0x1240 78 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x1240 79 eax = temp0.d 0x1240 80 edx = temp1.d 0x1242 81 [rbp - 0x28 {var_30}].d = eax 0x1245 82 eax = [rbp - 0x24 {var_2c}].d * 0xa 0x1249 83 [rbp - 0x24 {var_2c}].d = eax 0x124c 84 eax = [rbp - 0x24 {var_2c}].d 0x124f 85 ecx = 0xa {""} 0x1254 86 temp26.d:temp27.d = sx.q(eax) 0x1254 87 edx = temp26.d 0x1254 88 eax = temp27.d 0x1255 89 temp28.d = edx 0x1255 90 temp29.d = eax 0x1255 91 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx) 0x1255 92 temp30.d = edx 0x1255 93 temp31.d = eax 0x1255 94 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx) 0x1255 95 eax = temp0.d 0x1255 96 edx = temp1.d 0x1257 97 [rbp - 0x20 {var_28_1}].d = eax 0x125a 98 eax = [rbp - 8 {var_10}].d 0x125d 99 temp32.d:temp33.d = sx.q(eax) 0x125d 100 edx = temp32.d 0x125d 101 eax = temp33.d 0x125e 102 temp34.d = edx 0x125e 103 temp35.d = eax 0x125e 104 temp0.d = divs.dp.d(temp34.d:temp35.d, [rbp - 0x28 {var_30}].d) 0x125e 105 temp36.d = edx 0x125e 106 temp37.d = eax 0x125e 107 temp1.d = mods.dp.d(temp36.d:temp37.d, [rbp - 0x28 {var_30}].d) 0x125e 108 eax = temp0.d 0x125e 109 edx = temp1.d 0x1261 110 ecx = 0xa {""} 0x1266 111 temp38.d:temp39.d = sx.q(eax) 0x1266 112 edx = temp38.d 0x1266 113 eax = temp39.d 0x1267 114 temp40.d = edx 0x1267 115 temp41.d = eax 0x1267 116 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx) 0x1267 117 temp42.d = edx 0x1267 118 temp43.d = eax 0x1267 119 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx) 0x1267 120 eax = temp0.d 0x1267 121 edx = temp1.d 0x1269 122 [rbp - 0xc {var_14_1}].d = edx 0x126c 123 eax = [rbp - 8 {var_10}].d 0x126f 124 temp44.d:temp45.d = sx.q(eax) 0x126f 125 edx = temp44.d 0x126f 126 eax = temp45.d 0x1270 127 temp46.d = edx 0x1270 128 temp47.d = eax 0x1270 129 temp0.d = divs.dp.d(temp46.d:temp47.d, [rbp - 0x24 {var_2c}].d) 0x1270 130 temp48.d = edx 0x1270 131 temp49.d = eax 0x1270 132 temp1.d = mods.dp.d(temp48.d:temp49.d, [rbp - 0x24 {var_2c}].d) 0x1270 133 eax = temp0.d 0x1270 134 edx = temp1.d 0x1273 135 eax = edx 0x1275 136 temp50.d:temp51.d = sx.q(eax) 0x1275 137 edx = temp50.d 0x1275 138 eax = temp51.d 0x1276 139 temp52.d = edx 0x1276 140 temp53.d = eax 0x1276 141 temp0.d = divs.dp.d(temp52.d:temp53.d, [rbp - 0x20 {var_28_1}].d) 0x1276 142 temp54.d = edx 0x1276 143 temp55.d = eax 0x1276 144 temp1.d = mods.dp.d(temp54.d:temp55.d, [rbp - 0x20 {var_28_1}].d) 0x1276 145 eax = temp0.d 0x1276 146 edx = temp1.d 0x1279 147 [rbp - 0x10 {var_18_1}].d = eax 0x127c 148 eax = [rbp - 0xc {var_14_1}].d 0x1282 149 if (eax != [rbp - 0x10 {var_18_1}].d) then 154 @ 0x1291 else 155 @ 0x1288 0x12d1 150 [rbp - 4 {var_c}].d = 0 0x12d1 151 goto 159 @ 0x12d8 0x12c5 152 [rbp - 4 {var_c}].d = 1 0x12cc 153 goto 159 @ 0x12d8 0x1291 154 goto 162 @ 0x1296 0x1288 155 eax = [rbp - 0x2c {var_34}].d 0x128b 156 eax = eax + 1 0x128e 157 [rbp - 0x2c {var_34}].d = eax 0x128e 158 goto 154 @ 0x1291 0x12d8 159 eax = [rbp - 4 {var_c}].d 0x12db 160 rbp = pop 0x12dc 161 <return> jump(pop) 0x1296 162 eax = [rbp - 0x18 {var_20}].d 0x1299 163 eax = eax + 1 0x129c 164 [rbp - 0x18 {var_20}].d = eax 0x129f 165 goto 31 @ 0x1219 int32_t main(int32_t argc, char** argv, char** envp): 0x12e0 0 push(rbp) 0x12e1 1 rbp = rsp {__saved_rbp} 0x12e4 2 rsp = rsp - 0x20 0x12e8 3 [rbp - 4 {var_c}].d = 0 0x12ef 4 [rbp - 0x14 {var_1c}].d = 0 0x12f6 5 [rbp - 0x18 {var_20}].d = 0 0x12fd 6 [rbp - 0x1c {var_24}].d = 0 0x1304 7 rdi = 0x2004 {"%d %d"} 0x130b 8 rsi = rbp - 8 {var_10} 0x130f 9 rdx = rbp - 0xc {var_14} 0x1313 10 al = 0 0x1315 11 call(0x1040) 0x131a 12 eax = [rbp - 8 {var_10}].d 0x131d 13 [rbp - 0x10 {var_18}].d = eax 0x131d 14 goto 15 @ 0x1320 0x1320 15 eax = [rbp - 0x10 {var_18}].d 0x1326 16 if (eax s> [rbp - 0xc {var_14}].d) then 17 @ 0x13c9 else 18 @ 0x132c 0x13c9 17 if ([rbp - 0x1c {var_24}].d == 0) then 25 @ 0x13e2 else 29 @ 0x13cf 0x132c 18 edi = [rbp - 0x10 {var_18}].d 0x132f 19 call(0x1150) 0x1334 20 [rbp - 0x14 {var_1c_1}].d = eax 0x1337 21 edi = [rbp - 0x10 {var_18}].d 0x133a 22 call(0x11c0) 0x133f 23 [rbp - 0x18 {var_20_1}].d = eax 0x1346 24 if ([rbp - 0x14 {var_1c_1}].d != 1) then 33 @ 0x137e else 34 @ 0x1350 0x13e2 25 rdi = 0x200e {"no\n"} 0x13e9 26 al = 0 0x13eb 27 call(0x1030) 0x13eb 28 goto 35 @ 0x13f0 0x13cf 29 rdi = 0x2010 {"\n"} 0x13d6 30 al = 0 0x13d8 31 call(0x1030) 0x13dd 32 goto 35 @ 0x13f0 0x137e 33 if ([rbp - 0x14 {var_1c_1}].d != 1) then 39 @ 0x13b2 else 40 @ 0x1388 0x1350 34 if ([rbp - 0x18 {var_20_1}].d != 1) then 33 @ 0x137e else 41 @ 0x135a 0x13f0 35 eax = 0 0x13f2 36 rsp = rsp + 0x20 0x13f6 37 rbp = pop 0x13f7 38 <return> jump(pop) 0x13b2 39 goto 42 @ 0x13b7 0x1388 40 if ([rbp - 0x18 {var_20_1}].d != 1) then 39 @ 0x13b2 else 46 @ 0x1392 0x135a 41 if ([rbp - 0x1c {var_24}].d == 0) then 33 @ 0x137e else 47 @ 0x1360 0x13b7 42 eax = [rbp - 0x10 {var_18}].d 0x13ba 43 eax = eax + 1 0x13bd 44 [rbp - 0x10 {var_18}].d = eax 0x13c0 45 goto 15 @ 0x1320 0x1392 46 if ([rbp - 0x1c {var_24}].d != 0) then 39 @ 0x13b2 else 55 @ 0x1398 0x1360 47 eax = [rbp - 0x1c {var_24}].d 0x1363 48 eax = eax + 1 0x1366 49 [rbp - 0x1c {var_24}].d = eax 0x1369 50 esi = [rbp - 0x10 {var_18}].d 0x136c 51 rdi = 0x200a {",%d"} 0x1373 52 al = 0 0x1375 53 call(0x1030) 0x1375 54 goto 33 @ 0x137e 0x1398 55 esi = [rbp - 0x10 {var_18}].d 0x139b 56 rdi = 0x2007 {"%d"} 0x13a2 57 al = 0 0x13a4 58 call(0x1030) 0x13a9 59 eax = [rbp - 0x1c {var_24}].d 0x13ac 60 eax = eax + 1 0x13af 61 [rbp - 0x1c {var_24}].d = eax 0x13af 62 goto 39 @ 0x13b2 int64_t _fini(): 0x13fc 0 rsp = rsp - 8 0x1400 1 rsp = rsp + 8 0x1404 2 <return> jump(pop)
POJ_74
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t putchar(int32_t c): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"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 - 0x198 0x1181 7 r15d = 0 0x1184 8 rbx = rsp + 0x60 {var_168} 0x1189 9 rdi = rbx {var_168} 0x118c 10 eax = 0 0x118e 11 call(0x1050) 0x1193 12 rdi = rbx {var_168} 0x1196 13 call(0x1040) 0x119d 14 if (eax s<= 0) then 15 @ 0x1a3a else 19 @ 0x11a3 0x1a3a 15 rdi = 0x2004 {"No"} 0x1a41 16 eax = 0 0x1a43 17 call(0x1030) 0x1a43 18 goto 50 @ 0x1a48 0x11a3 19 eax = eax 0x11a5 20 [rsp + 0x30 {var_198_1}].q = rax 0x11aa 21 r14d = 0 0x11ad 22 ebp = 0 0x11af 23 [rsp + 0x4c {var_17c_1}].d = 0 0x11b7 24 [rsp + 0x48 {var_180_1}].d = 0 0x11bf 25 [rsp + 0x44 {var_184_1}].d = 0 0x11c7 26 ebx = 0 0x11c9 27 [rsp + 0x40 {var_188_1}].d = 0 0x11d1 28 [rsp + 0x38 {var_190_1}].d = 0 0x11d9 29 [rsp + 0x2c {var_19c_1}].d = 0 0x11e1 30 [rsp + 0x28 {var_1a0_1}].d = 0 0x11e9 31 [rsp + 0x24 {var_1a4_1}].d = 0 0x11f1 32 [rsp + 0x20 {var_1a8_1}].d = 0 0x11f9 33 [rsp + 0x1c {var_1ac_1}].d = 0 0x1201 34 [rsp + 0x14 {var_1b4_1}].d = 0 0x1209 35 [rsp + 0x18 {var_1b0_1}].d = 0 0x1211 36 [rsp + 0x10 {var_1b8_1}].d = 0 0x1219 37 [rsp + 0xc {var_1bc_1}].d = 0 0x1221 38 [rsp + 8 {var_1c0_1}].d = 0 0x1229 39 r9d = 0 0x122c 40 r12d = 0 0x122f 41 r8d = 0 0x1232 42 r11d = 0 0x1235 43 r13d = 0 0x1238 44 r10d = 0 0x123b 45 edi = 0 0x123d 46 edx = 0 0x123f 47 ecx = 0 0x1241 48 esi = 0 0x1243 49 goto 59 @ 0x12c7 0x1a48 50 eax = 0 0x1a4a 51 rsp = rsp + 0x198 0x1a51 52 rbx = pop 0x1a52 53 r12 = pop 0x1a54 54 r13 = pop 0x1a56 55 r14 = pop 0x1a58 56 r15 = pop 0x1a5a 57 rbp = pop 0x1a5b 58 <return> jump(pop) 0x12c7 59 eax = zx.d([rsp + rdx + 0x60].b) 0x12ce 60 if (al == 0x61) then 61 @ 0x1250 else 91 @ 0x12d0 0x1250 61 esi = esi + r15d 0x1253 62 esi = esi + 1 0x1256 63 eax = r15d 0x1259 64 eax = eax + 1 0x125c 65 esi = esi + r14d 0x125f 66 esi = esi + ebp 0x1261 67 esi = esi + [rsp + 0x4c {var_17c_1}].d 0x1265 68 esi = esi + [rsp + 0x48 {var_180_1}].d 0x1269 69 esi = esi + [rsp + 0x44 {var_184_1}].d 0x126d 70 esi = esi + ebx 0x126f 71 esi = esi + [rsp + 0x40 {var_188_1}].d 0x1273 72 esi = esi + [rsp + 0x38 {var_190_1}].d 0x1277 73 esi = esi + [rsp + 0x2c {var_19c_1}].d 0x127b 74 esi = esi + [rsp + 0x28 {var_1a0_1}].d 0x127f 75 esi = esi + [rsp + 0x24 {var_1a4_1}].d 0x1283 76 esi = esi + [rsp + 0x20 {var_1a8_1}].d 0x1287 77 esi = esi + [rsp + 0x1c {var_1ac_1}].d 0x128b 78 esi = esi + [rsp + 0x14 {var_1b4_1}].d 0x128f 79 esi = esi + [rsp + 0x18 {var_1b0_1}].d 0x1293 80 esi = esi + [rsp + 0x10 {var_1b8_1}].d 0x1297 81 esi = esi + [rsp + 0xc {var_1bc_1}].d 0x129b 82 esi = esi + [rsp + 8 {var_1c0_1}].d 0x129f 83 esi = esi + r9d 0x12a2 84 esi = esi + r12d 0x12a5 85 esi = esi + r8d 0x12a8 86 esi = esi + r11d 0x12ab 87 esi = esi + r13d 0x12ae 88 esi = esi + r10d 0x12b1 89 r15d = eax 0x12b1 90 goto 93 @ 0x12b4 0x12d0 91 esi = esi + r15d 0x12d5 92 if (al != 0x62) then 97 @ 0x12e0 else 99 @ 0x12d7 0x12b4 93 esi = esi + edi 0x12b6 94 ecx = ecx + esi 0x12b8 95 rdx = rdx + 1 0x12c1 96 if ([rsp + 0x30 {var_198_1}].q == rdx) then 102 @ 0x159d else 59 @ 0x12c7 0x12e0 97 esi = esi + r14d 0x12e5 98 if (al != 0x63) then 103 @ 0x1341 else 105 @ 0x12e7 0x12d7 99 r14d = r14d + 1 0x12db 100 esi = esi + r14d 0x12de 101 goto 107 @ 0x12ea 0x159d 102 if (ecx == 0) then 15 @ 0x1a3a else 110 @ 0x15a3 0x1341 103 esi = esi + ebp 0x1345 104 if (al != 0x64) then 120 @ 0x1356 else 122 @ 0x1347 0x12e7 105 ebp = ebp + 1 0x12e7 106 goto 107 @ 0x12ea 0x12ea 107 esi = esi + ebp 0x12ec 108 esi = esi + [rsp + 0x4c {var_17c_1}].d 0x12ec 109 goto 127 @ 0x12f0 0x15a3 110 [rsp + 0x50 {var_178_2}].d = ebx 0x15a7 111 [rsp + 0x3c {var_18c_2}].d = r12d 0x15ac 112 [rsp + 0x54 {var_174_1}].d = r11d 0x15b1 113 [rsp + 0x58 {var_170_1}].d = r13d 0x15b6 114 [rsp + 0x5c {var_16c_1}].d = edi 0x15ba 115 cond:0 = r15d == 0 0x15bd 116 [rsp + 0x30 {var_198_1}].d = r10d 0x15c2 117 r13d = r8d 0x15c5 118 r12d = r9d 0x15c8 119 if (cond:0) then 129 @ 0x15f3 else 130 @ 0x15ca 0x1356 120 esi = esi + [rsp + 0x4c {var_17c_1}].d 0x135c 121 if (al != 0x65) then 140 @ 0x136d else 142 @ 0x135e 0x1347 122 eax = [rsp + 0x4c {var_17c_1}].d 0x134b 123 eax = eax + 1 0x134e 124 [rsp + 0x4c {var_17c_1}].d = eax 0x1352 125 esi = esi + eax 0x1354 126 goto 127 @ 0x12f0 0x12f0 127 esi = esi + [rsp + 0x48 {var_180_1}].d 0x12f0 128 goto 147 @ 0x12f4 0x15f3 129 if (r14d == 0) then 149 @ 0x161d else 150 @ 0x15f5 0x15ca 130 edi = 0x61 {""} 0x15cf 131 call(0x1060) 0x15d4 132 rdi = 0x2007 {"=%d\n"} 0x15db 133 esi = r15d 0x15de 134 eax = 0 0x15e0 135 call(0x1030) 0x15e5 136 r9d = r12d 0x15e8 137 r8d = r13d 0x15eb 138 r10d = [rsp + 0x30 {var_198_1}].d 0x15eb 139 goto 129 @ 0x15f3 0x136d 140 esi = esi + [rsp + 0x48 {var_180_1}].d 0x1373 141 if (al != 0x66) then 160 @ 0x1387 else 162 @ 0x1375 0x135e 142 eax = [rsp + 0x48 {var_180_1}].d 0x1362 143 eax = eax + 1 0x1365 144 [rsp + 0x48 {var_180_1}].d = eax 0x1369 145 esi = esi + eax 0x136b 146 goto 147 @ 0x12f4 0x12f4 147 esi = esi + [rsp + 0x44 {var_184_1}].d 0x12f4 148 goto 167 @ 0x12f8 0x161d 149 if (ebp == 0) then 187 @ 0x1644 else 191 @ 0x161f 0x15f5 150 edi = 0x62 {""} 0x15fa 151 call(0x1060) 0x15ff 152 rdi = 0x2007 {"=%d\n"} 0x1606 153 esi = r14d 0x1609 154 eax = 0 0x160b 155 call(0x1030) 0x1610 156 r9d = r12d 0x1613 157 r8d = r13d 0x1616 158 r10d = [rsp + 0x30 {var_198_1}].d 0x1616 159 goto 149 @ 0x161d 0x1387 160 esi = esi + [rsp + 0x44 {var_184_1}].d 0x138d 161 if (al != 0x67) then 201 @ 0x13c4 else 203 @ 0x138f 0x1375 162 eax = [rsp + 0x44 {var_184_1}].d 0x1379 163 eax = eax + 1 0x137c 164 [rsp + 0x44 {var_184_1}].d = eax 0x1380 165 esi = esi + eax 0x1382 166 goto 167 @ 0x12f8 0x12f8 167 esi = esi + ebx 0x12fa 168 esi = esi + [rsp + 0x40 {var_188_1}].d 0x12fe 169 esi = esi + [rsp + 0x38 {var_190_1}].d 0x1302 170 esi = esi + [rsp + 0x2c {var_19c_1}].d 0x1306 171 esi = esi + [rsp + 0x28 {var_1a0_1}].d 0x130a 172 esi = esi + [rsp + 0x24 {var_1a4_1}].d 0x130e 173 esi = esi + [rsp + 0x20 {var_1a8_1}].d 0x1312 174 esi = esi + [rsp + 0x1c {var_1ac_1}].d 0x1316 175 esi = esi + [rsp + 0x14 {var_1b4_1}].d 0x131a 176 esi = esi + [rsp + 0x18 {var_1b0_1}].d 0x131e 177 esi = esi + [rsp + 0x10 {var_1b8_1}].d 0x1322 178 esi = esi + [rsp + 0xc {var_1bc_1}].d 0x1326 179 esi = esi + [rsp + 8 {var_1c0_1}].d 0x132a 180 esi = esi + r9d 0x132d 181 esi = esi + r12d 0x1330 182 esi = esi + r8d 0x1333 183 esi = esi + r11d 0x1336 184 esi = esi + r13d 0x1339 185 esi = esi + r10d 0x133c 186 goto 93 @ 0x12b4 0x1644 187 ebp = [rsp + 0x4c {var_17c_1}].d 0x1648 188 cond:1 = ebp == 0 0x164a 189 r14d = [rsp + 0x40 {var_188_1}].d 0x164f 190 if (cond:1) then 218 @ 0x1676 else 223 @ 0x1651 0x161f 191 edi = 0x63 {""} 0x1624 192 call(0x1060) 0x1629 193 rdi = 0x2007 {"=%d\n"} 0x1630 194 esi = ebp 0x1632 195 eax = 0 0x1634 196 call(0x1030) 0x1639 197 r9d = r12d 0x163c 198 r8d = r13d 0x163f 199 r10d = [rsp + 0x30 {var_198_1}].d 0x163f 200 goto 187 @ 0x1644 0x13c4 201 esi = esi + ebx 0x13c8 202 if (al != 0x68) then 233 @ 0x13e3 else 235 @ 0x13ca 0x138f 203 ebx = ebx + 1 0x1392 204 esi = esi + ebx 0x1394 205 esi = esi + [rsp + 0x40 {var_188_1}].d 0x1398 206 esi = esi + [rsp + 0x38 {var_190_1}].d 0x139c 207 esi = esi + [rsp + 0x2c {var_19c_1}].d 0x13a0 208 esi = esi + [rsp + 0x28 {var_1a0_1}].d 0x13a4 209 esi = esi + [rsp + 0x24 {var_1a4_1}].d 0x13a8 210 esi = esi + [rsp + 0x20 {var_1a8_1}].d 0x13ac 211 esi = esi + [rsp + 0x1c {var_1ac_1}].d 0x13b0 212 esi = esi + [rsp + 0x14 {var_1b4_1}].d 0x13b4 213 esi = esi + [rsp + 0x18 {var_1b0_1}].d 0x13b8 214 esi = esi + [rsp + 0x10 {var_1b8_1}].d 0x13bc 215 esi = esi + [rsp + 0xc {var_1bc_1}].d 0x13c0 216 eax = esi 0x13c2 217 goto 243 @ 0x141a 0x1676 218 r15d = [rsp + 0x48 {var_180_1}].d 0x167b 219 cond:2 = r15d == 0 0x167e 220 ebx = [rsp + 0x14 {var_1b4_1}].d 0x1682 221 ebp = [rsp + 0x44 {var_184_1}].d 0x1686 222 if (cond:2) then 246 @ 0x16b0 else 247 @ 0x1688 0x1651 223 edi = 0x64 {""} 0x1656 224 call(0x1060) 0x165b 225 rdi = 0x2007 {"=%d\n"} 0x1662 226 esi = ebp 0x1664 227 eax = 0 0x1666 228 call(0x1030) 0x166b 229 r9d = r12d 0x166e 230 r8d = r13d 0x1671 231 r10d = [rsp + 0x30 {var_198_1}].d 0x1671 232 goto 218 @ 0x1676 0x13e3 233 esi = esi + [rsp + 0x40 {var_188_1}].d 0x13e9 234 if (al != 0x69) then 257 @ 0x1437 else 259 @ 0x13eb 0x13ca 235 [rsp + 0x50 {var_178_1}].d = ebx 0x13ce 236 ebx = [rsp + 0x40 {var_188_1}].d 0x13d2 237 ebx = ebx + 1 0x13d5 238 eax = esi 0x13d7 239 [rsp + 0x40 {var_188_1}].d = ebx 0x13db 240 eax = eax + ebx 0x13dd 241 ebx = [rsp + 0x50 {var_178_1}].d 0x13e1 242 goto 262 @ 0x13f2 0x141a 243 eax = eax + [rsp + 8 {var_1c0_1}].d 0x141e 244 eax = eax + r9d 0x141e 245 goto 264 @ 0x1421 0x16b0 246 if (ebp == 0) then 271 @ 0x16d7 else 273 @ 0x16b2 0x1688 247 edi = 0x65 {""} 0x168d 248 call(0x1060) 0x1692 249 rdi = 0x2007 {"=%d\n"} 0x1699 250 esi = r15d 0x169c 251 eax = 0 0x169e 252 call(0x1030) 0x16a3 253 r9d = r12d 0x16a6 254 r8d = r13d 0x16a9 255 r10d = [rsp + 0x30 {var_198_1}].d 0x16a9 256 goto 246 @ 0x16b0 0x1437 257 esi = esi + [rsp + 0x38 {var_190_1}].d 0x143d 258 if (al != 0x6a) then 283 @ 0x1448 else 285 @ 0x143f 0x13eb 259 [rsp + 0x38 {var_190_1}].d = [rsp + 0x38 {var_190_1}].d + 1 0x13f0 260 eax = esi 0x13f0 261 goto 262 @ 0x13f2 0x13f2 262 eax = eax + [rsp + 0x38 {var_190_1}].d 0x13f2 263 goto 288 @ 0x13f6 0x1421 264 eax = eax + r12d 0x1424 265 eax = eax + r8d 0x1427 266 eax = eax + r11d 0x142a 267 eax = eax + r13d 0x142d 268 eax = eax + r10d 0x1430 269 esi = eax 0x1432 270 goto 93 @ 0x12b4 0x16d7 271 ebp = [rsp + 0x50 {var_178_2}].d 0x16dd 272 if (ebp == 0) then 290 @ 0x1707 else 291 @ 0x16df 0x16b2 273 edi = 0x66 {""} 0x16b7 274 call(0x1060) 0x16bc 275 rdi = 0x2007 {"=%d\n"} 0x16c3 276 esi = ebp 0x16c5 277 eax = 0 0x16c7 278 call(0x1030) 0x16cc 279 r9d = r12d 0x16cf 280 r8d = r13d 0x16d2 281 r10d = [rsp + 0x30 {var_198_1}].d 0x16d2 282 goto 271 @ 0x16d7 0x1448 283 esi = esi + [rsp + 0x2c {var_19c_1}].d 0x144e 284 if (al != 0x6b) then 301 @ 0x1459 else 303 @ 0x1450 0x143f 285 [rsp + 0x2c {var_19c_1}].d = [rsp + 0x2c {var_19c_1}].d + 1 0x1444 286 eax = esi 0x1446 287 goto 288 @ 0x13f6 0x13f6 288 eax = eax + [rsp + 0x2c {var_19c_1}].d 0x13f6 289 goto 306 @ 0x13fa 0x1707 290 if (r14d == 0) then 308 @ 0x172f else 313 @ 0x1709 0x16df 291 edi = 0x67 {""} 0x16e4 292 call(0x1060) 0x16e9 293 rdi = 0x2007 {"=%d\n"} 0x16f0 294 esi = ebp 0x16f2 295 eax = 0 0x16f4 296 call(0x1030) 0x16f9 297 r9d = r12d 0x16fc 298 r8d = r13d 0x16ff 299 r10d = [rsp + 0x30 {var_198_1}].d 0x16ff 300 goto 290 @ 0x1707 0x1459 301 esi = esi + [rsp + 0x28 {var_1a0_1}].d 0x145f 302 if (al != 0x6c) then 323 @ 0x146a else 325 @ 0x1461 0x1450 303 [rsp + 0x28 {var_1a0_1}].d = [rsp + 0x28 {var_1a0_1}].d + 1 0x1455 304 eax = esi 0x1457 305 goto 306 @ 0x13fa 0x13fa 306 eax = eax + [rsp + 0x28 {var_1a0_1}].d 0x13fa 307 goto 328 @ 0x13fe 0x172f 308 r14d = [rsp + 0x38 {var_190_1}].d 0x1734 309 cond:3 = r14d == 0 0x1737 310 [rsp + 0x14 {var_1b4_2}].d = ebx 0x173b 311 ebp = [rsp + 0x2c {var_19c_1}].d 0x173f 312 if (cond:3) then 330 @ 0x1767 else 333 @ 0x1741 0x1709 313 edi = 0x68 {""} 0x170e 314 call(0x1060) 0x1713 315 rdi = 0x2007 {"=%d\n"} 0x171a 316 esi = r14d 0x171d 317 eax = 0 0x171f 318 call(0x1030) 0x1724 319 r9d = r12d 0x1727 320 r8d = r13d 0x172a 321 r10d = [rsp + 0x30 {var_198_1}].d 0x172a 322 goto 308 @ 0x172f 0x146a 323 esi = esi + [rsp + 0x24 {var_1a4_1}].d 0x1470 324 if (al != 0x6d) then 343 @ 0x147b else 345 @ 0x1472 0x1461 325 [rsp + 0x24 {var_1a4_1}].d = [rsp + 0x24 {var_1a4_1}].d + 1 0x1466 326 eax = esi 0x1468 327 goto 328 @ 0x13fe 0x13fe 328 eax = eax + [rsp + 0x24 {var_1a4_1}].d 0x13fe 329 goto 348 @ 0x1402 0x1767 330 cond:4 = ebp == 0 0x1769 331 ebx = [rsp + 0x20 {var_1a8_1}].d 0x176d 332 if (cond:4) then 350 @ 0x1794 else 354 @ 0x176f 0x1741 333 edi = 0x69 {""} 0x1746 334 call(0x1060) 0x174b 335 rdi = 0x2007 {"=%d\n"} 0x1752 336 esi = r14d 0x1755 337 eax = 0 0x1757 338 call(0x1030) 0x175c 339 r9d = r12d 0x175f 340 r8d = r13d 0x1762 341 r10d = [rsp + 0x30 {var_198_1}].d 0x1762 342 goto 330 @ 0x1767 0x147b 343 esi = esi + [rsp + 0x20 {var_1a8_1}].d 0x1481 344 if (al != 0x6e) then 364 @ 0x148f else 366 @ 0x1483 0x1472 345 [rsp + 0x20 {var_1a8_1}].d = [rsp + 0x20 {var_1a8_1}].d + 1 0x1477 346 eax = esi 0x1479 347 goto 348 @ 0x1402 0x1402 348 eax = eax + [rsp + 0x20 {var_1a8_1}].d 0x1402 349 goto 369 @ 0x1406 0x1794 350 r15d = [rsp + 0x28 {var_1a0_1}].d 0x1799 351 cond:5 = r15d == 0 0x179c 352 ebp = [rsp + 0x24 {var_1a4_1}].d 0x17a0 353 if (cond:5) then 371 @ 0x17ca else 372 @ 0x17a2 0x176f 354 edi = 0x6a {""} 0x1774 355 call(0x1060) 0x1779 356 rdi = 0x2007 {"=%d\n"} 0x1780 357 esi = ebp 0x1782 358 eax = 0 0x1784 359 call(0x1030) 0x1789 360 r9d = r12d 0x178c 361 r8d = r13d 0x178f 362 r10d = [rsp + 0x30 {var_198_1}].d 0x178f 363 goto 350 @ 0x1794 0x148f 364 esi = esi + [rsp + 0x1c {var_1ac_1}].d 0x1495 365 if (al != 0x6f) then 382 @ 0x14a3 else 384 @ 0x1497 0x1483 366 [rsp + 0x1c {var_1ac_1}].d = [rsp + 0x1c {var_1ac_1}].d + 1 0x1488 367 eax = esi 0x148a 368 goto 369 @ 0x1406 0x1406 369 eax = eax + [rsp + 0x1c {var_1ac_1}].d 0x1406 370 goto 387 @ 0x140a 0x17ca 371 if (ebp == 0) then 389 @ 0x17f3 else 390 @ 0x17cc 0x17a2 372 edi = 0x6b {""} 0x17a7 373 call(0x1060) 0x17ac 374 rdi = 0x2007 {"=%d\n"} 0x17b3 375 esi = r15d 0x17b6 376 eax = 0 0x17b8 377 call(0x1030) 0x17bd 378 r9d = r12d 0x17c0 379 r8d = r13d 0x17c3 380 r10d = [rsp + 0x30 {var_198_1}].d 0x17c3 381 goto 371 @ 0x17ca 0x14a3 382 esi = esi + [rsp + 0x14 {var_1b4_1}].d 0x14a9 383 if (al != 0x70) then 400 @ 0x14b7 else 402 @ 0x14ab 0x1497 384 [rsp + 0x14 {var_1b4_1}].d = [rsp + 0x14 {var_1b4_1}].d + 1 0x149c 385 eax = esi 0x149e 386 goto 387 @ 0x140a 0x140a 387 eax = eax + [rsp + 0x14 {var_1b4_1}].d 0x140a 388 goto 405 @ 0x140e 0x17f3 389 if (ebx == 0) then 407 @ 0x181a else 409 @ 0x17f5 0x17cc 390 edi = 0x6c {""} 0x17d1 391 call(0x1060) 0x17d6 392 rdi = 0x2007 {"=%d\n"} 0x17dd 393 esi = ebp 0x17df 394 eax = 0 0x17e1 395 call(0x1030) 0x17e6 396 r9d = r12d 0x17e9 397 r8d = r13d 0x17ec 398 r10d = [rsp + 0x30 {var_198_1}].d 0x17ec 399 goto 389 @ 0x17f3 0x14b7 400 esi = esi + [rsp + 0x18 {var_1b0_1}].d 0x14bd 401 if (al != 0x71) then 419 @ 0x14cb else 421 @ 0x14bf 0x14ab 402 [rsp + 0x18 {var_1b0_1}].d = [rsp + 0x18 {var_1b0_1}].d + 1 0x14b0 403 eax = esi 0x14b2 404 goto 405 @ 0x140e 0x140e 405 eax = eax + [rsp + 0x18 {var_1b0_1}].d 0x140e 406 goto 424 @ 0x1412 0x181a 407 r14d = [rsp + 0x1c {var_1ac_1}].d 0x1822 408 if (r14d == 0) then 426 @ 0x184a else 428 @ 0x1824 0x17f5 409 edi = 0x6d {""} 0x17fa 410 call(0x1060) 0x17ff 411 rdi = 0x2007 {"=%d\n"} 0x1806 412 esi = ebx 0x1808 413 eax = 0 0x180a 414 call(0x1030) 0x180f 415 r9d = r12d 0x1812 416 r8d = r13d 0x1815 417 r10d = [rsp + 0x30 {var_198_1}].d 0x1815 418 goto 407 @ 0x181a 0x14cb 419 esi = esi + [rsp + 0x10 {var_1b8_1}].d 0x14d1 420 if (al != 0x72) then 438 @ 0x14df else 441 @ 0x14d3 0x14bf 421 [rsp + 0x10 {var_1b8_1}].d = [rsp + 0x10 {var_1b8_1}].d + 1 0x14c4 422 eax = esi 0x14c6 423 goto 424 @ 0x1412 0x1412 424 eax = eax + [rsp + 0x10 {var_1b8_1}].d 0x1412 425 goto 444 @ 0x1416 0x184a 426 ebx = [rsp + 0x14 {var_1b4_2}].d 0x1850 427 if (ebx == 0) then 446 @ 0x1877 else 450 @ 0x1852 0x1824 428 edi = 0x6e {""} 0x1829 429 call(0x1060) 0x182e 430 rdi = 0x2007 {"=%d\n"} 0x1835 431 esi = r14d 0x1838 432 eax = 0 0x183a 433 call(0x1030) 0x183f 434 r9d = r12d 0x1842 435 r8d = r13d 0x1845 436 r10d = [rsp + 0x30 {var_198_1}].d 0x1845 437 goto 426 @ 0x184a 0x14df 438 [rsp + 0x3c {var_18c_1}].d = r12d 0x14e4 439 esi = esi + [rsp + 0xc {var_1bc_1}].d 0x14ea 440 if (al != 0x73) then 460 @ 0x1501 else 462 @ 0x14ec 0x14d3 441 [rsp + 0xc {var_1bc_1}].d = [rsp + 0xc {var_1bc_1}].d + 1 0x14d8 442 eax = esi 0x14da 443 goto 444 @ 0x1416 0x1416 444 eax = eax + [rsp + 0xc {var_1bc_1}].d 0x1416 445 goto 243 @ 0x141a 0x1877 446 ebp = [rsp + 0x18 {var_1b0_1}].d 0x187b 447 cond:6 = ebp == 0 0x187d 448 ebx = [rsp + 0xc {var_1bc_1}].d 0x1881 449 if (cond:6) then 468 @ 0x18a8 else 470 @ 0x1883 0x1852 450 edi = 0x6f {""} 0x1857 451 call(0x1060) 0x185c 452 rdi = 0x2007 {"=%d\n"} 0x1863 453 esi = ebx 0x1865 454 eax = 0 0x1867 455 call(0x1030) 0x186c 456 r9d = r12d 0x186f 457 r8d = r13d 0x1872 458 r10d = [rsp + 0x30 {var_198_1}].d 0x1872 459 goto 446 @ 0x1877 0x1501 460 esi = esi + [rsp + 8 {var_1c0_1}].d 0x1507 461 if (al != 0x74) then 480 @ 0x151c else 482 @ 0x1509 0x14ec 462 r12d = [rsp + 8 {var_1c0_1}].d 0x14f1 463 r12d = r12d + 1 0x14f5 464 eax = esi 0x14f7 465 [rsp + 8 {var_1c0_1}].d = r12d 0x14fc 466 eax = eax + r12d 0x14ff 467 goto 485 @ 0x150f 0x18a8 468 ebp = [rsp + 0x10 {var_1b8_1}].d 0x18ae 469 if (ebp == 0) then 488 @ 0x18d5 else 491 @ 0x18b0 0x1883 470 edi = 0x70 {""} 0x1888 471 call(0x1060) 0x188d 472 rdi = 0x2007 {"=%d\n"} 0x1894 473 esi = ebp 0x1896 474 eax = 0 0x1898 475 call(0x1030) 0x189d 476 r9d = r12d 0x18a0 477 r8d = r13d 0x18a3 478 r10d = [rsp + 0x30 {var_198_1}].d 0x18a3 479 goto 468 @ 0x18a8 0x151c 480 esi = esi + r9d 0x1521 481 if (al != 0x75) then 501 @ 0x1533 else 503 @ 0x1523 0x1509 482 r9d = r9d + 1 0x150d 483 eax = esi 0x150d 484 goto 485 @ 0x150f 0x150f 485 eax = eax + r9d 0x1512 486 r12d = [rsp + 0x3c {var_18c_1}].d 0x1517 487 goto 264 @ 0x1421 0x18d5 488 cond:7 = ebx == 0 0x18d7 489 ebp = [rsp + 8 {var_1c0_1}].d 0x18db 490 if (cond:7) then 507 @ 0x1904 else 508 @ 0x18dd 0x18b0 491 edi = 0x71 {""} 0x18b5 492 call(0x1060) 0x18ba 493 rdi = 0x2007 {"=%d\n"} 0x18c1 494 esi = ebp 0x18c3 495 eax = 0 0x18c5 496 call(0x1030) 0x18ca 497 r9d = r12d 0x18cd 498 r8d = r13d 0x18d0 499 r10d = [rsp + 0x30 {var_198_1}].d 0x18d0 500 goto 488 @ 0x18d5 0x1533 501 esi = esi + [rsp + 0x3c {var_18c_1}].d 0x1539 502 if (al != 0x76) then 518 @ 0x1546 else 520 @ 0x153b 0x1523 503 r12d = [rsp + 0x3c {var_18c_1}].d 0x1528 504 r12d = r12d + 1 0x152c 505 eax = esi 0x152e 506 goto 264 @ 0x1421 0x1904 507 if (ebp == 0) then 524 @ 0x192e else 525 @ 0x1906 0x18dd 508 edi = 0x72 {""} 0x18e2 509 call(0x1060) 0x18e7 510 rdi = 0x2007 {"=%d\n"} 0x18ee 511 esi = ebx 0x18f0 512 eax = 0 0x18f2 513 call(0x1030) 0x18f7 514 r9d = r12d 0x18fa 515 r8d = r13d 0x18fd 516 r10d = [rsp + 0x30 {var_198_1}].d 0x18fd 517 goto 507 @ 0x1904 0x1546 518 esi = esi + r8d 0x154b 519 if (al != 0x77) then 535 @ 0x1568 else 537 @ 0x154d 0x153b 520 r8d = r8d + 1 0x153f 521 eax = esi 0x1541 522 eax = eax + r8d 0x1544 523 goto 540 @ 0x1553 0x192e 524 if (r9d == 0) then 542 @ 0x1955 else 544 @ 0x1930 0x1906 525 edi = 0x73 {""} 0x190b 526 call(0x1060) 0x1910 527 rdi = 0x2007 {"=%d\n"} 0x1917 528 esi = ebp 0x1919 529 eax = 0 0x191b 530 call(0x1030) 0x1920 531 r9d = r12d 0x1923 532 r8d = r13d 0x1926 533 r10d = [rsp + 0x30 {var_198_1}].d 0x1926 534 goto 524 @ 0x192e 0x1568 535 esi = esi + r11d 0x156d 536 if (al != 0x78) then 554 @ 0x1577 else 556 @ 0x156f 0x154d 537 r11d = r11d + 1 0x1551 538 eax = esi 0x1551 539 goto 540 @ 0x1553 0x1553 540 eax = eax + r11d 0x1553 541 goto 559 @ 0x1556 0x1955 542 ebx = [rsp + 0x3c {var_18c_2}].d 0x195b 543 if (ebx == 0) then 561 @ 0x1982 else 562 @ 0x195d 0x1930 544 edi = 0x74 {""} 0x1935 545 ebx = r9d 0x1938 546 call(0x1060) 0x193d 547 rdi = 0x2007 {"=%d\n"} 0x1944 548 esi = ebx 0x1946 549 eax = 0 0x1948 550 call(0x1030) 0x194d 551 r8d = r13d 0x1950 552 r10d = [rsp + 0x30 {var_198_1}].d 0x1950 553 goto 542 @ 0x1955 0x1577 554 esi = esi + r13d 0x157c 555 if (al != 0x79) then 571 @ 0x1586 else 578 @ 0x157e 0x156f 556 r13d = r13d + 1 0x1573 557 eax = esi 0x1575 558 goto 559 @ 0x1556 0x1556 559 eax = eax + r13d 0x1556 560 goto 581 @ 0x1559 0x1982 561 if (r8d == 0) then 584 @ 0x19a6 else 586 @ 0x1984 0x195d 562 edi = 0x75 {""} 0x1962 563 call(0x1060) 0x1967 564 rdi = 0x2007 {"=%d\n"} 0x196e 565 esi = ebx 0x1970 566 eax = 0 0x1972 567 call(0x1030) 0x1977 568 r8d = r13d 0x197a 569 r10d = [rsp + 0x30 {var_198_1}].d 0x197a 570 goto 561 @ 0x1982 0x1586 571 r12d = esi 0x1589 572 r12d = r12d + r10d 0x158c 573 esi = 0 0x1590 574 sil = al == 0x7a 0x1594 575 edi = edi + esi 0x1596 576 esi = r12d 0x1599 577 goto 595 @ 0x155e 0x157e 578 r10d = r10d + 1 0x1582 579 eax = esi 0x1584 580 goto 581 @ 0x1559 0x1559 581 eax = eax + r10d 0x155c 582 esi = eax 0x155c 583 goto 595 @ 0x155e 0x19a6 584 ebp = [rsp + 0x54 {var_174_1}].d 0x19ac 585 if (ebp == 0) then 597 @ 0x19cd else 599 @ 0x19ae 0x1984 586 edi = 0x76 {""} 0x1989 587 ebx = r8d 0x198c 588 call(0x1060) 0x1991 589 rdi = 0x2007 {"=%d\n"} 0x1998 590 esi = ebx 0x199a 591 eax = 0 0x199c 592 call(0x1030) 0x19a1 593 r10d = [rsp + 0x30 {var_198_1}].d 0x19a1 594 goto 584 @ 0x19a6 0x155e 595 r12d = [rsp + 0x3c {var_18c_1}].d 0x1563 596 goto 93 @ 0x12b4 0x19cd 597 ebp = [rsp + 0x58 {var_170_1}].d 0x19d3 598 if (ebp == 0) then 607 @ 0x19f7 else 608 @ 0x19d5 0x19ae 599 edi = 0x77 {""} 0x19b3 600 call(0x1060) 0x19b8 601 rdi = 0x2007 {"=%d\n"} 0x19bf 602 esi = ebp 0x19c1 603 eax = 0 0x19c3 604 call(0x1030) 0x19c8 605 r10d = [rsp + 0x30 {var_198_1}].d 0x19c8 606 goto 597 @ 0x19cd 0x19f7 607 if (r10d == 0) then 616 @ 0x1a16 else 618 @ 0x19f9 0x19d5 608 edi = 0x78 {""} 0x19da 609 call(0x1060) 0x19df 610 rdi = 0x2007 {"=%d\n"} 0x19e6 611 esi = ebp 0x19e8 612 eax = 0 0x19ea 613 call(0x1030) 0x19ef 614 r10d = [rsp + 0x30 {var_198_1}].d 0x19ef 615 goto 607 @ 0x19f7 0x1a16 616 ebx = [rsp + 0x5c {var_16c_1}].d 0x1a1c 617 if (ebx == 0) then 50 @ 0x1a48 else 626 @ 0x1a1e 0x19f9 618 edi = 0x79 {""} 0x19fe 619 ebx = r10d 0x1a01 620 call(0x1060) 0x1a06 621 rdi = 0x2007 {"=%d\n"} 0x1a0d 622 esi = ebx 0x1a0f 623 eax = 0 0x1a11 624 call(0x1030) 0x1a11 625 goto 616 @ 0x1a16 0x1a1e 626 edi = 0x7a {""} 0x1a23 627 call(0x1060) 0x1a28 628 rdi = 0x2007 {"=%d\n"} 0x1a2f 629 esi = ebx 0x1a31 630 eax = 0 0x1a33 631 call(0x1030) 0x1a38 632 goto 50 @ 0x1a48 int64_t _fini(): 0x1a60 0 rsp = rsp - 8 0x1a64 1 rsp = rsp + 8 0x1a68 2 <return> jump(pop)
POJ_100
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t putchar(int32_t c): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVATSHp"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r12) 0x1177 4 push(rbx) 0x1178 5 rsp = rsp - 0xc670 0x117f 6 rdi = rsp {var_c698} 0x1182 7 ebp = 0 0x1184 8 edx = 0x320 {"d-linux-x86-64.so.2"} 0x1189 9 esi = 0 0x118b 10 call(0x1030) 0x1190 11 rbx = rsp + 0x320 {var_c378} 0x1198 12 rdi = rbx {var_c378} 0x119b 13 eax = 0 0x119d 14 call(0x1050) 0x11a2 15 rdi = rbx {var_c378} 0x11a5 16 call(0x1040) 0x11aa 17 r14 = rax 0x11b0 18 if (r14d s<= 0) then 19 @ 0x1381 else 22 @ 0x11b6 0x1381 19 edi = 0xa {""} 0x1386 20 call(0x1060) 0x1386 21 goto 24 @ 0x138b 0x11b6 22 eax = 0 0x11b8 23 goto 32 @ 0x11e4 0x138b 24 eax = 0 0x138d 25 rsp = rsp + 0xc670 0x1394 26 rbx = pop 0x1395 27 r12 = pop 0x1397 28 r14 = pop 0x1399 29 r15 = pop 0x139b 30 rbp = pop 0x139c 31 <return> jump(pop) 0x11e4 32 rcx = sx.q(eax) 0x11e7 33 edx = zx.d([rsp + rcx + 0x320].b) 0x11f2 34 if (dl == 0x20) then 35 @ 0x1210 else 38 @ 0x11f7 0x1210 35 ebp = ebp + 1 0x1213 36 [rsp + (rcx << 2) + 0x2a30].d = -1 0x121e 37 goto 39 @ 0x11dc 0x11f7 38 if (dl == 0x2c) then 41 @ 0x11c0 else 46 @ 0x11f9 0x11dc 39 eax = eax + 1 0x11e2 40 if (eax s>= r14d) then 50 @ 0x1220 else 32 @ 0x11e4 0x11c0 41 [rsp + (rcx << 2) + 0x2a30].d = -1 0x11cb 42 ebp = ebp + 1 0x11ce 43 eax = (rcx + 1).d 0x11d1 44 [rsp + (rcx << 2) + 0x2a34].d = -1 0x11d1 45 goto 39 @ 0x11dc 0x11f9 46 [rsp + (rcx << 2) + 0x2a30].d = ebp 0x1200 47 rcx = sx.q(ebp) 0x1203 48 [rsp + (rcx << 2)].d = [rsp + (rcx << 2)].d + 1 0x1207 49 goto 39 @ 0x11dc 0x1220 50 temp0.d = ebp 0x1220 51 cond:0 = temp0.d == 0 0x1222 52 if (temp0.d s< 0) then 53 @ 0x1260 else 54 @ 0x1224 0x1260 53 if (r14d s> 0) then 55 @ 0x1276 else 58 @ 0x1262 0x1224 54 if (cond:0) then 59 @ 0x1267 else 62 @ 0x1226 0x1276 55 ebx = r14d 0x1279 56 ebp = 0 0x127b 57 goto 64 @ 0x1291 0x1262 58 goto 19 @ 0x1381 0x1267 59 r12d = 0 0x126a 60 r15d = 0 0x126a 61 goto 65 @ 0x1270 0x1226 62 ecx = ebp 0x122b 63 if (ebp != 1) then 66 @ 0x12e6 else 73 @ 0x1231 0x1291 64 if ([rsp + (rbp << 2) + 0x2a30].d != r12d) then 77 @ 0x1280 else 79 @ 0x1293 0x1270 65 if (r14d s<= 0) then 19 @ 0x1381 else 55 @ 0x1276 0x12e6 66 edx = ecx 0x12e8 67 edx = edx & 0xfffffffe 0x12eb 68 rdx = neg.q(rdx) 0x12ee 69 r15d = 0 0x12f1 70 eax = 1 0x12f6 71 r12d = 0 0x12f9 72 goto 82 @ 0x1319 0x1231 73 r15d = 0 0x1234 74 eax = 1 0x1239 75 r12d = 0 0x1239 76 goto 85 @ 0x123f 0x1280 77 rbp = rbp + 1 0x1287 78 if (rbx == rbp) then 86 @ 0x12a2 else 64 @ 0x1291 0x1293 79 edi = sx.d([rsp + rbp + 0x320].b) 0x129b 80 call(0x1060) 0x12a0 81 goto 77 @ 0x1280 0x1319 82 esi = [rsp + (rax << 2)].d 0x131c 83 rdi = sx.q(r12d) 0x1322 84 if (esi s<= [rsp + (rdi << 2)].d) then 89 @ 0x1330 else 92 @ 0x1324 0x123f 85 if ((cl & 1) == 0) then 65 @ 0x1270 else 94 @ 0x1241 0x12a2 86 edi = 0xa {""} 0x12a7 87 call(0x1060) 0x12af 88 if (r14d s<= 0) then 24 @ 0x138b else 97 @ 0x12b5 0x1330 89 rbp = sx.q(r15d) 0x1333 90 edi = eax 0x1338 91 if (esi s< [rsp + (rbp << 2)].d) then 100 @ 0x133d else 102 @ 0x133a 0x1324 92 r12d = eax 0x1327 93 goto 104 @ 0x1340 0x1241 94 ecx = [rsp + (rax << 2)].d 0x1244 95 rdx = sx.q(r12d) 0x124a 96 if (ecx s<= [rsp + (rdx << 2)].d) then 108 @ 0x136d else 110 @ 0x1250 0x12b5 97 ebx = r14d 0x12b8 98 ebp = 0 0x12ba 99 goto 112 @ 0x12d5 0x133d 100 r15d = edi 0x133d 101 goto 104 @ 0x1340 0x133a 102 edi = r15d 0x133a 103 goto 100 @ 0x133d 0x1340 104 edi = [rsp + (rax << 2) + 4].d 0x1344 105 rbp = sx.q(r12d) 0x1347 106 rsi = rax + 1 0x134e 107 if (edi s<= [rsp + (rbp << 2)].d) then 113 @ 0x1360 else 115 @ 0x1350 0x136d 108 r15 = sx.q(r15d) 0x1374 109 if (ecx s< [rsp + (r15 << 2)].d) then 117 else 119 @ 0x137b 0x1250 110 r12d = eax 0x1256 111 if (r14d s> 0) then 55 @ 0x1276 else 120 @ 0x1258 0x12d5 112 if ([rsp + (rbp << 2) + 0x2a30].d != r15d) then 121 @ 0x12c0 else 123 @ 0x12d7 0x1360 113 rbp = sx.q(r15d) 0x1366 114 if (edi s< [rsp + (rbp << 2)].d) then 126 @ 0x1300 else 128 @ 0x1368 0x1350 115 r12d = esi 0x1353 116 goto 130 @ 0x1303 0x1374 117 r15d = eax 0x1374 118 goto 119 @ 0x137b 0x137b 119 if (r14d s> 0) then 55 @ 0x1276 else 19 @ 0x1381 0x1258 120 goto 19 @ 0x1381 0x12c0 121 rbp = rbp + 1 0x12c7 122 if (rbx == rbp) then 24 @ 0x138b else 112 @ 0x12d5 0x12d7 123 edi = sx.d([rsp + rbp + 0x320].b) 0x12df 124 call(0x1060) 0x12e4 125 goto 121 @ 0x12c0 0x1300 126 r15d = esi 0x1300 127 goto 130 @ 0x1303 0x1368 128 esi = r15d 0x136b 129 goto 126 @ 0x1300 0x1303 130 rsi = rdx + rax 0x1307 131 rsi = rsi + 2 0x130b 132 rax = rax + 2 0x1313 133 if (rsi == 1) then 85 @ 0x123f else 82 @ 0x1319 int64_t _fini(): 0x13a4 0 rsp = rsp - 8 0x13a8 1 rsp = rsp + 8 0x13ac 2 <return> jump(pop)
POJ_24
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHHm"} 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 - 0x6da0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x6d94 {var_6d9c}].d = 0 0x116c 5 [rbp - 0x5dd4 {var_5ddc}].d = 0 0x116c 6 goto 7 @ 0x1180 0x1180 7 if ([rbp - 0x5dd4 {var_5ddc}].d s>= 0x3e8) then 8 @ 0x12fa else 10 @ 0x1186 0x12fa 8 [rbp - 0x5dd4 {var_5ddc_1}].d = 0 0x12fa 9 goto 40 @ 0x1304 0x1186 10 rax = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x118d 11 rsi = rbp - 0xfb0 {var_fb8} 0x1194 12 rax = rax << 2 0x1198 13 rsi = rsi + rax 0x119b 14 rax = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x11a2 15 rdx = rbp - 0x1f50 {var_1f58} 0x11a9 16 rax = rax << 2 0x11ad 17 rdx = rdx + rax 0x11b0 18 rax = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x11b7 19 rcx = rbp - 0x2ef0 {var_2ef8} 0x11be 20 rax = rax << 2 0x11c2 21 rcx = rcx + rax 0x11c5 22 rax = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x11cc 23 r8 = rbp - 0x3e90 {var_3e98} 0x11d3 24 rax = rax << 2 0x11d7 25 r8 = r8 + rax 0x11da 26 rax = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x11e1 27 r9 = rbp - 0x4e30 {var_4e38} 0x11e8 28 rax = rax << 2 0x11ec 29 r9 = r9 + rax 0x11ef 30 rdi = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x11f6 31 rax = rbp - 0x5dd0 {var_5dd8} 0x11fd 32 rdi = rdi << 2 0x1201 33 rax = rax + rdi 0x1204 34 rdi = 0x2004 {"%d%d%d%d%d%d"} 0x120b 35 [rsp {var_6da8_1}].q = rax 0x120f 36 al = 0 0x1211 37 call(0x1040) 0x1216 38 rax = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x1225 39 if ([rbp + (rax << 2) - 0xfb0].d == 0) then 42 @ 0x12f0 else 43 @ 0x122b 0x1304 40 eax = [rbp - 0x5dd4 {var_5ddc_1}].d 0x1310 41 if (eax s>= [rbp - 0x6d94 {var_6d9c}].d) then 75 @ 0x1346 else 79 @ 0x1316 0x12f0 42 goto 8 @ 0x12fa 0x122b 43 rax = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x1232 44 eax = [rbp + (rax << 2) - 0x3e90].d 0x1239 45 eax = eax + 0xb 0x123c 46 rcx = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x1243 47 eax = eax - [rbp + (rcx << 2) - 0xfb0].d 0x124a 48 eax = eax * 0xe10 0x1250 49 [rbp - 0x6d84 {var_6d8c_1}].d = eax 0x1256 50 rax = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x125d 51 eax = [rbp + (rax << 2) - 0x1f50].d * 0x3c 0x1265 52 rcx = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x126c 53 eax = eax + [rbp + (rcx << 2) - 0x2ef0].d 0x1273 54 [rbp - 0x6d88 {var_6d90_1}].d = eax 0x1279 55 eax = 0xe10 {""} 0x127e 56 eax = eax - [rbp - 0x6d88 {var_6d90_1}].d 0x1284 57 [rbp - 0x6d8c {var_6d94_1}].d = eax 0x128a 58 rax = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x1291 59 eax = [rbp + (rax << 2) - 0x4e30].d * 0x3c 0x1299 60 rcx = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x12a0 61 eax = eax + [rbp + (rcx << 2) - 0x5dd0].d 0x12a7 62 [rbp - 0x6d90 {var_6d98_1}].d = eax 0x12ad 63 ecx = [rbp - 0x6d84 {var_6d8c_1}].d 0x12b3 64 ecx = ecx + [rbp - 0x6d8c {var_6d94_1}].d 0x12b9 65 ecx = ecx + [rbp - 0x6d90 {var_6d98_1}].d 0x12bf 66 rax = sx.q([rbp - 0x5dd4 {var_5ddc}].d) 0x12c6 67 [rbp + (rax << 2) - 0x6d80].d = ecx 0x12cd 68 eax = [rbp - 0x6d94 {var_6d9c}].d 0x12d3 69 eax = eax + 1 0x12d6 70 [rbp - 0x6d94 {var_6d9c}].d = eax 0x12dc 71 eax = [rbp - 0x5dd4 {var_5ddc}].d 0x12e2 72 eax = eax + 1 0x12e5 73 [rbp - 0x5dd4 {var_5ddc}].d = eax 0x12eb 74 goto 88 @ 0x12f5 0x1346 75 eax = 0 0x1348 76 rsp = rsp + 0x6da0 0x134f 77 rbp = pop 0x1350 78 <return> jump(pop) 0x1316 79 rax = sx.q([rbp - 0x5dd4 {var_5ddc_1}].d) 0x131d 80 esi = [rbp + (rax << 2) - 0x6d80].d 0x1324 81 rdi = 0x2011 {"%d\n"} 0x132b 82 al = 0 0x132d 83 call(0x1030) 0x1332 84 eax = [rbp - 0x5dd4 {var_5ddc_1}].d 0x1338 85 eax = eax + 1 0x133b 86 [rbp - 0x5dd4 {var_5ddc_1}].d = eax 0x1341 87 goto 40 @ 0x1304 0x12f5 88 goto 7 @ 0x1180 int64_t _fini(): 0x1358 0 rsp = rsp - 8 0x135c 1 rsp = rsp + 8 0x1360 2 <return> jump(pop)
POJ_87
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1370 {"UAWAVAUATSHX"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) void circle(int64_t arg1, int32_t arg2, int32_t arg3, int32_t arg4, int32_t arg5): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x28 0x115e 7 r14d = edx 0x1161 8 r13 = rdi 0x1164 9 cond:0 = esi == edx 0x1166 10 [rsp + 0x10 {var_48}].d = esi 0x116a 11 [rsp + 0xc {var_4c}].d = r8d 0x116f 12 if (cond:0) then 13 @ 0x12c4 else 14 @ 0x1175 0x12c4 13 if (ecx s>= r8d) then 16 @ 0x1306 else 18 @ 0x12c6 0x1175 14 cond:1 = ecx s>= r8d 0x1178 15 if (ecx == r8d) then 13 @ 0x12c4 else 29 @ 0x117e 0x1306 16 edx = [rsp + 0x10 {var_48}].d 0x130d 17 if (edx s> r14d) then 35 @ 0x135a else 43 @ 0x130f 0x12c6 18 rax = sx.q([rsp + 0x10 {var_48}].d) 0x12cb 19 rdx = sx.q(ecx) 0x12ce 20 rax = rax * 0x190 0x12d5 21 rax = rax + r13 0x12d8 22 r15 = rax + (rdx << 2) 0x12dc 23 eax = [rsp + 0xc {var_4c}].d 0x12e0 24 ebp = eax 0x12e2 25 ebp = ebp - ecx 0x12e4 26 r12 = 0x2004 {"%d\n"} 0x12eb 27 ebx = 0 0x12ed 28 goto 53 @ 0x12f0 0x117e 29 [rsp + 0x20 {var_38_1}].q = r13 0x1183 30 rax = sx.q(esi) 0x1186 31 [rsp + 0x18 {var_40_1}].q = rax 0x118b 32 [rsp + 0x14 {var_44_1}].d = ecx 0x118f 33 r15 = sx.q(ecx) 0x1192 34 if (cond:1) then 59 @ 0x11d7 else 62 @ 0x1194 0x135a 35 rsp = rsp + 0x28 0x135e 36 rbx = pop 0x135f 37 r12 = pop 0x1361 38 r13 = pop 0x1363 39 r14 = pop 0x1365 40 r15 = pop 0x1367 41 rbp = pop 0x1368 42 <return> jump(pop) 0x130f 43 rax = sx.q([rsp + 0xc {var_4c}].d) 0x1314 44 rcx = sx.q(edx) 0x1317 45 rcx = rcx * 0x190 0x131e 46 r13 = r13 + rcx 0x1321 47 rbp = rax << 2 0x1329 48 rbp = rbp + r13 0x132c 49 r14d = r14d - edx 0x132f 50 r14d = r14d + 1 0x1333 51 rbx = 0x2004 {"%d\n"} 0x133a 52 goto 71 @ 0x1340 0x12f0 53 esi = [r15 + (rbx << 2)].d 0x12f4 54 rdi = r12 0x12f7 55 eax = 0 0x12f9 56 call(0x1030) 0x12fe 57 rbx = rbx + 1 0x1304 58 if (ebp != ebx) then 53 @ 0x12f0 else 16 @ 0x1306 0x11d7 59 cond:2 = [rsp + 0x10 {var_48}].d s>= r14d 0x11dc 60 r13 = [rsp + 0x20 {var_38_1}].q 0x11e1 61 if (cond:2) then 79 @ 0x1229 else 81 @ 0x11e3 0x1194 62 rax = [rsp + 0x18 {var_40_1}].q * 0x190 0x119d 63 rax = rax + [rsp + 0x20 {var_38_1}].q 0x11a2 64 r12 = rax + (r15 << 2) 0x11a6 65 eax = [rsp + 0xc {var_4c}].d 0x11aa 66 r13d = eax 0x11ad 67 r13d = r13d - [rsp + 0x14 {var_44_1}].d 0x11b2 68 rbp = 0x2004 {"%d\n"} 0x11b9 69 ebx = 0 0x11bb 70 goto 89 @ 0x11c0 0x1340 71 esi = [rbp].d 0x1343 72 rdi = rbx 0x1346 73 eax = 0 0x1348 74 call(0x1030) 0x134d 75 rbp = rbp + 0x190 0x1354 76 temp0.d = r14d 0x1354 77 r14d = r14d - 1 0x1358 78 if (temp0.d != 1) then 71 @ 0x1340 else 35 @ 0x135a 0x1229 79 eax = [rsp + 0xc {var_4c}].d 0x1231 80 if (eax s<= [rsp + 0x14 {var_44_1}].d) then 95 @ 0x1267 else 98 @ 0x1233 0x11e3 81 rax = sx.q([rsp + 0xc {var_4c}].d) 0x11e8 82 rcx = [rsp + 0x18 {var_40_1}].q * 0x190 0x11f1 83 rcx = rcx + r13 0x11f4 84 rbp = rcx + (rax << 2) 0x11f8 85 ebx = r14d 0x11fb 86 ebx = ebx - [rsp + 0x10 {var_48}].d 0x11ff 87 r12 = 0x2004 {"%d\n"} 0x1206 88 goto 104 @ 0x1210 0x11c0 89 esi = [r12 + (rbx << 2)].d 0x11c4 90 rdi = rbp 0x11c7 91 eax = 0 0x11c9 92 call(0x1030) 0x11ce 93 rbx = rbx + 1 0x11d5 94 if (r13d != ebx) then 89 @ 0x11c0 else 59 @ 0x11d7 0x1267 95 cond:3 = r14d s<= [rsp + 0x10 {var_48}].d 0x126c 96 r12 = [rsp + 0x18 {var_40_1}].q 0x1271 97 if (cond:3) then 35 @ 0x135a else 112 @ 0x1277 0x1233 98 rbx = sx.q(eax) 0x1236 99 rax = sx.q(r14d) 0x1239 100 rbp = rax * 0x190 0x1240 101 rbp = rbp + r13 0x1243 102 r12 = 0x2004 {"%d\n"} 0x124a 103 goto 119 @ 0x1250 0x1210 104 esi = [rbp].d 0x1213 105 rdi = r12 0x1216 106 eax = 0 0x1218 107 call(0x1030) 0x121d 108 rbp = rbp + 0x190 0x1224 109 temp1.d = ebx 0x1224 110 ebx = ebx - 1 0x1227 111 if (temp1.d != 1) then 104 @ 0x1210 else 79 @ 0x1229 0x1277 112 rbp = sx.q(r14d) 0x127a 113 rax = rbp * 0x190 0x1281 114 r13 = r13 + rax 0x1284 115 rbx = r15 << 2 0x128c 116 rbx = rbx + r13 0x128f 117 r14 = 0x2004 {"%d\n"} 0x1296 118 goto 125 @ 0x12a0 0x1250 119 esi = [rbp + (rbx << 2)].d 0x1254 120 rdi = r12 0x1257 121 eax = 0 0x1259 122 call(0x1030) 0x125e 123 rbx = rbx - 1 0x1265 124 if (rbx s> r15) then 119 @ 0x1250 else 95 @ 0x1267 0x12a0 125 esi = [rbx].d 0x12a2 126 rdi = r14 0x12a5 127 eax = 0 0x12a7 128 call(0x1030) 0x12ac 129 rbp = rbp - 1 0x12b0 130 rbx = rbx - 0x190 0x12ba 131 if (rbp s> r12) then 125 @ 0x12a0 else 132 @ 0x12bc 0x12bc 132 goto 35 @ 0x135a int32_t main(int32_t argc, char** argv, char** envp): 0x1370 0 push(rbp) 0x1371 1 push(r15) 0x1373 2 push(r14) 0x1375 3 push(r13) 0x1377 4 push(r12) 0x1379 5 push(rbx) 0x137a 6 rsp = rsp - 0x9c58 0x1381 7 rdi = 0x2008 {"%d %d"} 0x1388 8 rsi = rsp + 0xc {var_9c7c} 0x138d 9 rdx = rsp + 8 {var_9c80} 0x1392 10 eax = 0 0x1394 11 call(0x1040) 0x1399 12 r14d = [rsp + 0xc {var_9c7c}].d 0x13a1 13 if (r14d s<= 0) then 14 @ 0x1414 else 15 @ 0x13a3 0x1414 14 if (r14d s<= 0) then 19 @ 0x1457 else 28 @ 0x1416 0x13a3 15 r15 = rsp + 0x10 {var_9c78} 0x13a8 16 r13 = 0x200b {"%d"} 0x13af 17 r12d = 0 0x13b2 18 goto 30 @ 0x13da 0x1457 19 eax = 0 0x1459 20 rsp = rsp + 0x9c58 0x1460 21 rbx = pop 0x1461 22 r12 = pop 0x1463 23 r13 = pop 0x1465 24 r14 = pop 0x1467 25 r15 = pop 0x1469 26 rbp = pop 0x146a 27 <return> jump(pop) 0x1416 28 ebx = [rsp + 8 {var_9c80}].d 0x141c 29 if (ebx s<= 0) then 19 @ 0x1457 else 31 @ 0x141e 0x13da 30 if ([rsp + 8 {var_9c80}].d s<= 0) then 36 @ 0x13c0 else 40 @ 0x13dc 0x141e 31 r14d = r14d - 1 0x1422 32 ebx = ebx - 1 0x1425 33 ebp = 0 0x1427 34 r15 = rsp + 0x10 {var_9c78} 0x142c 35 goto 43 @ 0x1430 0x13c0 36 r12 = r12 + 1 0x13c4 37 r14 = sx.q([rsp + 0xc {var_9c7c}].d) 0x13c9 38 r15 = r15 + 0x190 0x13d3 39 if (r12 s>= r14) then 14 @ 0x1414 else 30 @ 0x13da 0x13dc 40 rbp = r15 0x13df 41 ebx = 0 0x13eb 42 goto 51 @ 0x13f0 0x1430 43 rdi = r15 {var_9c78} 0x1433 44 esi = ebp 0x1435 45 edx = r14d 0x1438 46 ecx = ebp 0x143a 47 r8d = ebx 0x143d 48 call(0x1150) 0x1442 49 ebp = ebp + 1 0x1448 50 if (ebp s>= r14d) then 19 @ 0x1457 else 59 @ 0x144a 0x13f0 51 rdi = r13 0x13f3 52 rsi = rbp 0x13f6 53 eax = 0 0x13f8 54 call(0x1040) 0x13fd 55 rbx = rbx + 1 0x1401 56 rax = sx.q([rsp + 8 {var_9c80}].d) 0x1406 57 rbp = rbp + 4 0x140d 58 if (rbx s< rax) then 51 @ 0x13f0 else 64 @ 0x140f 0x144a 59 r14d = r14d - 1 0x144e 60 eax = (rbx - 1).d 0x1451 61 cond:0 = ebp s< ebx 0x1453 62 ebx = eax 0x1455 63 if (cond:0) then 43 @ 0x1430 else 19 @ 0x1457 0x140f 64 goto 36 @ 0x13c0 int64_t _fini(): 0x1470 0 rsp = rsp - 8 0x1474 1 rsp = rsp + 8 0x1478 2 <return> jump(pop)
POJ_46
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"HH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 rsp = rsp - 0x18 0x1154 1 rdi = 0x2004 {"%d%d%d"} 0x115b 2 rsi = rsp + 0x14 {var_4} 0x1160 3 rdx = rsp + 0x10 {var_8} 0x1165 4 rcx = rsp + 0xc {var_c} 0x116a 5 eax = 0 0x116c 6 call(0x1040) 0x1171 7 edx = [rsp + 0x14 {var_4}].d 0x1175 8 eax = (rdx - 1).d 0x1178 9 ecx = (rdx + 2).d 0x117d 10 if (eax s>= 0) then 11 else 13 @ 0x1180 0x117d 11 ecx = eax 0x117d 12 goto 13 @ 0x1180 0x1180 13 ecx = ecx s>> 2 0x1183 14 rax = sx.q(eax) 0x1185 15 rsi = rax * -0x51eb851f 0x118c 16 rdi = rsi 0x118f 17 rdi = rdi u>> 0x3f 0x1193 18 rsi = rsi s>> 0x25 0x1197 19 esi = esi + edi 0x1199 20 rdi = rax * 0x51eb851f 0x11a0 21 rax = rdi 0x11a3 22 rax = rax u>> 0x3f 0x11a7 23 rdi = rdi s>> 0x27 0x11ab 24 edi = edi + eax 0x11ad 25 eax = (rcx + rdx).d 0x11b0 26 eax = eax - 1 0x11b3 27 eax = eax + esi 0x11b5 28 eax = eax + edi 0x11b7 29 ecx = [rsp + 0x10 {var_8}].d 0x11be 30 if (ecx s< 2) then 31 @ 0x12ef else 44 @ 0x11c4 0x12ef 31 eax = eax + [rsp + 0xc {var_c}].d 0x12f3 32 rcx = sx.q(eax) 0x12f6 33 rax = rcx * -0x6db6db6d 0x12fd 34 rax = rax u>> 0x20 0x1301 35 eax = eax + ecx 0x1303 36 edx = eax 0x1305 37 edx = edx u>> 0x1f 0x1308 38 eax = eax s>> 2 0x130b 39 eax = eax + edx 0x130d 40 edx = (rax << 3).d 0x1314 41 eax = eax - edx 0x1316 42 eax = eax + ecx 0x131b 43 if (eax u> 6) then 48 @ 0x1334 else 51 @ 0x131d 0x11c4 44 esi = edx * -0x3d70a3d7 0x11ca 45 esi = esi + 0x51eb850 0x11d0 46 esi = ror.d(esi, 4) 0x11d9 47 if (esi u<= 0xa3d70a) then 58 @ 0x1259 else 60 @ 0x11de 0x1334 48 eax = 0 0x1336 49 rsp = rsp + 0x18 0x133a 50 <return> jump(pop) 0x131d 51 rax = sx.q(eax) 0x131f 52 rcx = 0x2030 {";("} 0x1326 53 rdi = sx.q([rcx + (rax << 2)].d) 0x132a 54 rdi = rdi + rcx 0x132d 55 eax = 0 0x132f 56 call(0x1030) 0x132f 57 goto 48 @ 0x1334 0x1259 58 edx = 1 0x125e 59 goto 61 @ 0x1275 0x11de 60 if ((dl & 3) != 0) then 64 @ 0x12a5 else 66 @ 0x11e4 0x1275 61 esi = edx 0x1277 62 esi = esi & 0x7ffffffd 0x1280 63 if (esi == 8) then 76 @ 0x1260 else 78 @ 0x1282 0x12a5 64 edx = 1 0x12aa 65 goto 81 @ 0x12ba 0x11e4 66 rsi = sx.q(edx) 0x11e7 67 rsi = rsi * 0x51eb851f 0x11ee 68 rdi = rsi 0x11f1 69 rdi = rdi u>> 0x3f 0x11f5 70 rsi = rsi s>> 0x25 0x11f9 71 esi = esi + edi 0x11fb 72 esi = esi * 0x64 0x11fe 73 temp0.d = edx 0x11fe 74 edx = edx - esi 0x1200 75 if (temp0.d == esi) then 64 @ 0x12a5 else 84 @ 0x1206 0x1260 76 eax = eax + 3 0x1260 77 goto 86 @ 0x1263 0x1282 78 edi = edx 0x1284 79 edi = edi & 0x7ffffff9 0x128d 80 if (edi == 1) then 76 @ 0x1260 else 91 @ 0x1292 0x12ba 81 esi = edx 0x12bc 82 esi = esi & 0x7ffffffd 0x12c5 83 if (esi == 8) then 92 @ 0x12b0 else 95 @ 0x12c7 0x1206 84 edx = 1 0x120b 85 goto 98 @ 0x1229 0x1263 86 esi = 0 0x1268 87 sil = edx == 2 0x126c 88 eax = eax + esi 0x126e 89 edx = edx + 1 0x1273 90 if (ecx == edx) then 31 @ 0x12ef else 61 @ 0x1275 0x1292 91 if (edx == 0xc) then 76 @ 0x1260 else 101 @ 0x1294 0x12b0 92 eax = eax + 3 0x12b3 93 edx = edx + 1 0x12b8 94 if (ecx == edx) then 31 @ 0x12ef else 81 @ 0x12ba 0x12c7 95 edi = edx 0x12c9 96 edi = edi & 0x7ffffff9 0x12d2 97 if (edi == 1) then 92 @ 0x12b0 else 103 @ 0x12d7 0x1229 98 esi = edx 0x122b 99 esi = esi & 0x7ffffffd 0x1234 100 if (esi == 8) then 104 @ 0x1210 else 106 @ 0x1236 0x1294 101 edi = (rax + 2).d 0x129a 102 if (esi == 4) then 109 else 111 @ 0x12a0 0x12d7 103 if (edx == 0xc) then 92 @ 0x12b0 else 112 @ 0x12d9 0x1210 104 eax = eax + 3 0x1210 105 goto 114 @ 0x1213 0x1236 106 edi = edx 0x1238 107 edi = edi & 0x7ffffff9 0x1241 108 if (edi == 1) then 104 @ 0x1210 else 119 @ 0x1246 0x129a 109 eax = edi 0x129a 110 goto 111 @ 0x12a0 0x12a0 111 if (esi == 9) then 120 else 122 @ 0x12a3 0x12d9 112 edi = (rax + 2).d 0x12df 113 if (esi == 4) then 123 else 125 @ 0x12e5 0x1213 114 esi = 0 0x1218 115 sil = edx == 2 0x121c 116 eax = eax + esi 0x121e 117 edx = edx + 1 0x1223 118 if (ecx == edx) then 31 @ 0x12ef else 98 @ 0x1229 0x1246 119 if (edx == 0xc) then 104 @ 0x1210 else 126 @ 0x1248 0x12a0 120 eax = edi 0x12a0 121 goto 122 @ 0x12a3 0x12a3 122 goto 86 @ 0x1263 0x12df 123 eax = edi 0x12df 124 goto 125 @ 0x12e5 0x12e5 125 if (esi == 9) then 128 else 130 @ 0x12e8 0x1248 126 edi = (rax + 2).d 0x124e 127 if (esi == 4) then 132 else 134 @ 0x1254 0x12e5 128 eax = edi 0x12e5 129 goto 130 @ 0x12e8 0x12e8 130 edx = edx + 1 0x12ed 131 if (ecx != edx) then 81 @ 0x12ba else 31 @ 0x12ef 0x124e 132 eax = edi 0x124e 133 goto 134 @ 0x1254 0x1254 134 if (esi == 9) then 135 else 137 @ 0x1257 0x1254 135 eax = edi 0x1254 136 goto 137 @ 0x1257 0x1257 137 goto 114 @ 0x1213 int64_t _fini(): 0x1340 0 rsp = rsp - 8 0x1344 1 rsp = rsp + 8 0x1348 2 <return> jump(pop)
POJ_66
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x90 0x116b 3 [rbp - 0x84 {var_8c}].d = 0 0x1175 4 rdi = rbp - 0x70 {var_78} 0x1179 5 al = 0 0x117b 6 call(0x1050) 0x1180 7 rdi = rbp - 0x70 {var_78} 0x1184 8 call(0x1040) 0x1189 9 [rbp - 0x7c {var_84}].d = eax 0x118c 10 rax = rbp - 0x70 {var_78} 0x1190 11 [rbp - 0x78 {var_80}].q = rax {var_78} 0x1194 12 eax = [rbp - 0x7c {var_84}].d 0x1197 13 eax = eax - 1 0x119a 14 [rbp - 0x80 {var_88}].d = eax 0x119a 15 goto 16 @ 0x11a1 0x11a1 16 if ([rbp - 0x80 {var_88}].d s< 0) then 17 @ 0x12af else 20 @ 0x11a7 0x12af 17 rsp = rsp + 0x90 0x12b6 18 rbp = pop 0x12b7 19 <return> jump(pop) 0x11a7 20 eax = [rbp - 0x84 {var_8c}].d 0x11ad 21 eax = eax + 1 0x11b0 22 [rbp - 0x84 {var_8c}].d = eax 0x11b6 23 rax = sx.q([rbp - 0x80 {var_88}].d) 0x11ba 24 eax = sx.d([rbp + rax - 0x70].b) 0x11c2 25 if (eax != 0x20) then 26 @ 0x123d else 27 @ 0x11c8 0x123d 26 if ([rbp - 0x80 {var_88}].d != 0) then 29 @ 0x129c else 30 @ 0x1243 0x11c8 27 [rbp - 0x88 {var_90_1}].d = 1 0x11c8 28 goto 32 @ 0x11d2 0x129c 29 goto 36 @ 0x12a1 0x1243 30 [rbp - 0x88 {var_90_2}].d = 0 0x1243 31 goto 40 @ 0x124d 0x11d2 32 eax = [rbp - 0x88 {var_90_1}].d 0x11d8 33 ecx = [rbp - 0x84 {var_8c}].d 0x11de 34 ecx = ecx - 1 0x11e3 35 if (eax s> ecx) then 42 @ 0x1221 else 47 @ 0x11e9 0x12a1 36 eax = [rbp - 0x80 {var_88}].d 0x12a4 37 eax = eax - 1 0x12a7 38 [rbp - 0x80 {var_88}].d = eax 0x12aa 39 goto 16 @ 0x11a1 0x124d 40 eax = [rbp - 0x88 {var_90_2}].d 0x1259 41 if (eax s>= [rbp - 0x84 {var_8c}].d) then 59 @ 0x1297 else 60 @ 0x125f 0x1221 42 rdi = 0x2007 {" "} 0x1228 43 al = 0 0x122a 44 call(0x1030) 0x122f 45 [rbp - 0x84 {var_8c}].d = 0 0x122f 46 goto 26 @ 0x123d 0x11e9 47 rax = [rbp - 0x78 {var_80}].q {var_78} 0x11ed 48 rcx = sx.q([rbp - 0x80 {var_88}].d) 0x11f1 49 rax = rax + rcx 0x11f4 50 rcx = sx.q([rbp - 0x88 {var_90_1}].d) 0x11fb 51 esi = sx.d([rax + rcx].b) 0x11ff 52 rdi = 0x2004 {"%c"} 0x1206 53 al = 0 0x1208 54 call(0x1030) 0x120d 55 eax = [rbp - 0x88 {var_90_1}].d 0x1213 56 eax = eax + 1 0x1216 57 [rbp - 0x88 {var_90_1}].d = eax 0x121c 58 goto 32 @ 0x11d2 0x1297 59 goto 29 @ 0x129c 0x125f 60 rax = [rbp - 0x78 {var_80}].q {var_78} 0x1263 61 rcx = sx.q([rbp - 0x80 {var_88}].d) 0x1267 62 rax = rax + rcx 0x126a 63 rcx = sx.q([rbp - 0x88 {var_90_2}].d) 0x1271 64 esi = sx.d([rax + rcx].b) 0x1275 65 rdi = 0x2004 {"%c"} 0x127c 66 al = 0 0x127e 67 call(0x1030) 0x1283 68 eax = [rbp - 0x88 {var_90_2}].d 0x1289 69 eax = eax + 1 0x128c 70 [rbp - 0x88 {var_90_2}].d = eax 0x1292 71 goto 40 @ 0x124d int64_t _fini(): 0x12bc 0 rsp = rsp - 8 0x12c0 1 rsp = rsp + 8 0x12c4 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 {"UAWAVAUATSHxH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x78 0x115e 7 rdi = 0x2013 {"%d"} 0x1165 8 r13d = 0 0x1168 9 rsi = rsp + 0xc {var_9c} 0x116d 10 eax = 0 0x116f 11 call(0x1040) 0x1174 12 [rsp + 0x68 {var_4c+0xc}].d = -1 0x1181 13 if ([rsp + 0xc {var_9c}].d s<= 0) then 14 @ 0x128e else 16 @ 0x1187 0x128e 14 edx = 0xffffffff {""} 0x128e 15 goto 21 @ 0x1293 0x1187 16 r12 = 0x2004 {"%s %d %d %c %c %d"} 0x118e 17 r14 = rsp + 0x10 {var_98} 0x1193 18 r13d = 0 0x1196 19 r15d = 0 0x1199 20 goto 34 @ 0x11b2 0x1293 21 rdi = 0x2016 {"%s\n%d\n%d\n"} 0x129a 22 rsi = rsp + 0x40 {var_68} 0x129f 23 ecx = r13d 0x12a2 24 eax = 0 0x12a4 25 call(0x1030) 0x12a9 26 rsp = rsp + 0x78 0x12ad 27 rbx = pop 0x12ae 28 r12 = pop 0x12b0 29 r13 = pop 0x12b2 30 r14 = pop 0x12b4 31 r15 = pop 0x12b6 32 rbp = pop 0x12b7 33 <return> jump(pop) 0x11b2 34 rax = rsp + 0x34 {var_74} 0x11b7 35 [rsp {var_a8_1}].q = rax {var_74} 0x11bb 36 rdi = r12 0x11be 37 rsi = r14 {var_98} 0x11c1 38 rdx = rsp + 0x28 {var_88+0x8} 0x11c6 39 rcx = rsp + 0x2c {var_7c} 0x11cb 40 r8 = rsp + 0x30 {var_78} 0x11d0 41 r9 = rsp + 0x31 {var_77} 0x11d5 42 eax = 0 0x11d7 43 call(0x1040) 0x11dc 44 cond:0 = [rsp + 0x34 {var_74}].d s> 0 0x11e1 45 esi = 0x1f40 {""} 0x11e6 46 if (cond:0) then 47 @ 0x11ea else 52 @ 0x11e8 0x11ea 47 edx = [rsp + 0x28 {var_88+0x8}].d 0x11ee 48 edi = [rsp + 0x2c {var_7c}].d 0x11f2 49 cond:1 = edx s< 0x51 0x11f5 50 eax = 0 0x11fa 51 if (cond:1) then 54 else 56 @ 0x1200 0x11e8 52 esi = 0 0x11e8 53 goto 47 @ 0x11ea 0x11fa 54 esi = eax 0x11fa 55 goto 56 @ 0x1200 0x1200 56 bl = edx s>= 0x56 0x1206 57 cl = edi s>= 0x51 0x1209 58 ebp = (rsi + 0xfa0).d 0x1211 59 if ((bl & cl) == 0) then 60 else 62 @ 0x1214 0x1211 60 ebp = esi 0x1211 61 goto 62 @ 0x1214 0x1214 62 eax = (rbp + 0x7d0).d 0x121d 63 if (edx s< 0x5b) then 64 else 66 @ 0x1220 0x121d 64 eax = ebp 0x121d 65 goto 66 @ 0x1220 0x1220 66 [rsp + 0x38 {var_70_1}].d = esi 0x1226 67 if ((bl & cl) != 0) then 68 @ 0x122d else 70 @ 0x122b 0x122d 68 [rsp + 0x38 {var_70_2}].d = eax 0x122d 69 goto 71 @ 0x1234 0x122b 70 if (edx s< 0x5b) then 71 @ 0x1234 else 68 @ 0x122d 0x1234 71 if (edx s< 0x56) then 72 @ 0x1249 else 73 @ 0x123b 0x1249 72 if (edi s< 0x51) then 74 @ 0x125f else 75 @ 0x1250 0x123b 73 if ([rsp + 0x31 {var_77}].b != 0x59) then 72 @ 0x1249 else 76 @ 0x123d 0x125f 74 if (eax s<= [rsp + 0x68].d) then 79 @ 0x11a0 else 82 @ 0x1265 0x1250 75 if ([rsp + 0x30 {var_78}].b != 0x59) then 74 @ 0x125f else 89 @ 0x1252 0x123d 76 eax = eax + 0x3e8 0x1242 77 [rsp + 0x38 {var_70_3}].d = eax 0x1242 78 goto 72 @ 0x1249 0x11a0 79 r13d = r13d + eax 0x11a3 80 r15d = r15d + 1 0x11ac 81 if (r15d s>= [rsp + 0xc {var_9c}].d) then 92 @ 0x1288 else 34 @ 0x11b2 0x1265 82 xmm0 = [rsp + 0x10 {var_98}].o 0x126a 83 xmm1 = [rsp + 0x20 {var_88}].o 0x126f 84 xmm2 = [rsp + 0x2c {var_7c}].o 0x1274 85 [rsp + 0x5c {var_4c_1}].o = xmm2 0x1279 86 [rsp + 0x50 {var_58_1}].o = xmm1 0x127e 87 [rsp + 0x40 {var_68}].o = xmm0 0x1283 88 goto 79 @ 0x11a0 0x1252 89 eax = eax + 0x352 0x1257 90 [rsp + 0x38 {var_70_4}].d = eax 0x1257 91 goto 74 @ 0x125f 0x1288 92 edx = [rsp + 0x68 {var_4c_1+0xc}].d 0x128c 93 goto 21 @ 0x1293 int64_t _fini(): 0x12bc 0 rsp = rsp - 8 0x12c0 1 rsp = rsp + 8 0x12c4 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) 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 - 0x108 0x1171 7 rdi = 0x2004 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_12c} 0x117d 9 eax = 0 0x117f 10 call(0x1050) 0x1189 11 if ([rsp + 0xc {var_12c}].d s<= 0) then 12 @ 0x125b else 21 @ 0x118f 0x125b 12 eax = 0 0x125d 13 rsp = rsp + 0x108 0x1264 14 rbx = pop 0x1265 15 r12 = pop 0x1267 16 r13 = pop 0x1269 17 r14 = pop 0x126b 18 r15 = pop 0x126d 19 rbp = pop 0x126e 20 <return> jump(pop) 0x118f 21 r14 = rsp + 0x14 {var_124} 0x1194 22 r13d = 1 0x119a 23 r12 = 0x2004 {"%d"} 0x11a1 24 goto 25 @ 0x11d2 0x11d2 25 rdi = r12 0x11d5 26 rsi = rsp + 8 {var_130} 0x11da 27 eax = 0 0x11dc 28 call(0x1050) 0x11e1 29 eax = [rsp + 8 {var_130}].d 0x11e7 30 if (eax s<= 0) then 31 @ 0x120f else 35 @ 0x11e9 0x120f 31 ebp = 0 0x1211 32 ecx = 1 0x1216 33 edx = 1 0x121b 34 goto 38 @ 0x1220 0x11e9 35 rbp = r14 {var_124} 0x11ec 36 r15d = 0 0x11ef 37 goto 45 @ 0x11f0 0x1220 38 ebp = ebp + 1 0x1223 39 esi = ecx 0x1225 40 edi = (rdx + 3).d 0x1228 41 ebx = 0 0x122a 42 temp0.d = [rsp + (rsi << 2) + 0x10].d 0x122a 43 cond:0 = ebp == temp0.d 0x122e 44 if (ebp != temp0.d) then 53 else 55 @ 0x1231 0x11f0 45 rdi = r12 0x11f3 46 rsi = rbp 0x11f6 47 eax = 0 0x11f8 48 call(0x1050) 0x11fd 49 rax = sx.q([rsp + 8 {var_130}].d) 0x1202 50 r15 = r15 + 1 0x1206 51 rbp = rbp + 4 0x120d 52 if (r15 s< rax) then 45 @ 0x11f0 else 31 @ 0x120f 0x122e 53 edi = edx 0x122e 54 goto 55 @ 0x1231 0x1231 55 bl = cond:0 0x1234 56 ecx = ecx + ebx 0x1236 57 edx = (rdi + 1).d 0x123c 58 if (edi s< 0x3c) then 38 @ 0x1220 else 59 @ 0x1240 0x1240 59 if (eax s<= 0) then 60 @ 0x11b0 else 68 @ 0x1246 0x11b0 60 rdi = 0x2007 {"%d\n"} 0x11b7 61 esi = ebp 0x11b9 62 eax = 0 0x11bb 63 call(0x1030) 0x11c0 64 eax = (r13 + 1).d 0x11c4 65 cond:1 = r13d s>= [rsp + 0xc {var_12c}].d 0x11c9 66 r13d = eax 0x11cc 67 if (cond:1) then 12 @ 0x125b else 25 @ 0x11d2 0x1246 68 edx = eax 0x1248 69 rdx = rdx << 2 0x124c 70 rdi = r14 {var_124} 0x124f 71 esi = 0 0x1251 72 call(0x1040) 0x1256 73 goto 60 @ 0x11b0 int64_t _fini(): 0x1274 0 rsp = rsp - 8 0x1278 1 rsp = rsp + 8 0x127c 2 <return> jump(pop)
POJ_86
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x4c8 0x1161 7 rdi = 0x2070 {"%d%d"} 0x1168 8 rsi = rsp + 0xc {var_4ec} 0x116d 9 rdx = rsp + 8 {var_4f0} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x1179 12 eax = [rsp + 0xc {var_4ec}].d 0x117d 13 r8d = [rsp + 8 {var_4f0}].d 0x1182 14 ecx = eax 0x1184 15 ecx = ecx | r8d 0x1187 16 if (ecx != 0) then 17 @ 0x119b else 20 @ 0x1189 0x119b 17 r12 = rsp + 0xc {var_4ec} 0x11a0 18 r13 = rsp + 8 {var_4f0} 0x11a5 19 goto 28 @ 0x11e8 0x1189 20 rsp = rsp + 0x4c8 0x1190 21 rbx = pop 0x1191 22 r12 = pop 0x1193 23 r13 = pop 0x1195 24 r14 = pop 0x1197 25 r15 = pop 0x1199 26 rbp = pop 0x119a 27 <return> jump(pop) 0x11e8 28 if (eax s<= 0) then 29 @ 0x11b0 else 43 @ 0x11ea 0x11b0 29 esi = [rsp + 0x10 {var_4e8}].d 0x11b4 30 rdi = 0x2075 {"%d\n"} 0x11bb 31 eax = 0 0x11bd 32 call(0x1030) 0x11c2 33 rdi = 0x2070 {"%d%d"} 0x11c9 34 rsi = r12 {var_4ec} 0x11cc 35 rdx = r13 {var_4f0} 0x11cf 36 eax = 0 0x11d1 37 call(0x1040) 0x11d6 38 eax = [rsp + 0xc {var_4ec}].d 0x11da 39 r8d = [rsp + 8 {var_4f0}].d 0x11df 40 ecx = eax 0x11e1 41 ecx = ecx | r8d 0x11e4 42 if (ecx == 0) then 20 @ 0x1189 else 28 @ 0x11e8 0x11ea 43 r10d = eax 0x11f0 44 if (eax u>= 8) then 45 @ 0x1200 else 55 @ 0x11f2 0x1200 45 ecx = r10d 0x1203 46 ecx = ecx & 0xfffffff8 0x1206 47 rsi = rcx - 8 0x120a 48 rdx = rsi 0x120d 49 rdx = rdx u>> 3 0x1211 50 rdx = rdx + 1 0x1215 51 cond:0 = rsi == 0 0x1218 52 xmm9 = _mm_cmpeq_epi32(xmm9, xmm9) 0x121d 53 xmm8 = [0x2030].o 0x1226 54 if (cond:0) then 57 @ 0x13f3 else 61 @ 0x122c 0x11f2 55 ecx = 0 0x11f4 56 goto 70 @ 0x12e0 0x13f3 57 esi = 0 0x13f5 58 xmm0 = [0x2020].o 0x13fd 59 xmm1 = [0x2010].o 0x1408 60 if ((dl & 1) != 0) then 74 @ 0x12b1 else 81 @ 0x140e 0x122c 61 rdi = rdx 0x122f 62 rdi = rdi & 0xfffffffffffffffe 0x1233 63 esi = 0 0x1235 64 xmm0 = [0x2020].o 0x123c 65 xmm1 = [0x2010].o 0x1243 66 xmm7 = [0x2040].o 0x124b 67 xmm6 = [0x2050].o 0x1253 68 xmm5 = [0x2060].o 0x125b 69 goto 82 @ 0x1260 0x12e0 70 rdx = rcx + 1 0x12e4 71 [rsp + (rcx << 2) + 0x10].d = edx 0x12e8 72 rcx = rdx 0x12ee 73 if (r10 != rdx) then 70 @ 0x12e0 else 101 @ 0x12f3 0x12b1 74 xmm0 = _mm_shuffle_ps(xmm0, xmm1, 0x88) 0x12b5 75 xmm1 = xmm0 0x12b8 76 xmm1 = _mm_sub_epi32(xmm1, xmm9) 0x12bd 77 xmm0 = _mm_add_epi32(xmm0, xmm8) 0x12c2 78 [rsp + (rsi << 2) + 0x10].o = xmm1 0x12c8 79 [rsp + (rsi << 2) + 0x20].o = xmm0 0x12c8 80 goto 102 @ 0x12d1 0x140e 81 goto 102 @ 0x12d1 0x1260 82 xmm2 = xmm0 0x1263 83 xmm2 = _mm_shuffle_ps(xmm2, xmm1, 0x88) 0x1267 84 xmm3 = xmm2 0x126a 85 xmm3 = _mm_sub_epi32(xmm3, xmm9) 0x126f 86 xmm4 = xmm2 0x1272 87 xmm4 = _mm_add_epi32(xmm4, xmm8) 0x1277 88 [rsp + (rsi << 2) + 0x10].o = xmm3 0x127d 89 [rsp + (rsi << 2) + 0x20].o = xmm4 0x1283 90 xmm3 = xmm2 0x1286 91 xmm3 = _mm_add_epi32(xmm3, xmm7) 0x128a 92 xmm2 = _mm_add_epi32(xmm2, xmm6) 0x128e 93 [rsp + (rsi << 2) + 0x30].o = xmm3 0x1294 94 [rsp + (rsi << 2) + 0x40].o = xmm2 0x129a 95 rsi = rsi + 0x10 0x129e 96 xmm0 = _mm_add_epi64(xmm0, xmm5) 0x12a2 97 xmm1 = _mm_add_epi64(xmm1, xmm5) 0x12a6 98 temp2.q = rdi 0x12a6 99 rdi = rdi - 2 0x12aa 100 if (temp2.q != 2) then 82 @ 0x1260 else 103 @ 0x12af 0x12f3 101 if (eax s< 2) then 29 @ 0x11b0 else 104 @ 0x12f9 0x12d1 102 if (rcx == r10) then 101 @ 0x12f3 else 109 @ 0x12dd 0x12af 103 if ((dl & 1) == 0) then 102 @ 0x12d1 else 74 @ 0x12b1 0x12f9 104 r9 = r10 0x12fc 105 r9 = neg.q(r9) 0x12ff 106 r15d = 0 0x1302 107 eax = 0 0x1304 108 goto 110 @ 0x131e 0x12dd 109 goto 70 @ 0x12e0 0x131e 110 r11 = r10 0x1321 111 eax = eax + r8d 0x1324 112 r10 = r10 - 1 0x1328 113 rcx = sx.q(eax) 0x132e 114 if (r11 s<= rcx) then 115 @ 0x1340 else 127 @ 0x1330 0x1340 115 temp3.d:temp4.d = sx.q(eax) 0x1340 116 edx = temp3.d 0x1340 117 eax = temp4.d 0x1341 118 temp5.d = edx 0x1341 119 temp6.d = eax 0x1341 120 temp0.d = divs.dp.d(temp5.d:temp6.d, r11d) 0x1341 121 temp7.d = edx 0x1341 122 temp8.d = eax 0x1341 123 temp1.d = mods.dp.d(temp7.d:temp8.d, r11d) 0x1341 124 eax = temp0.d 0x1341 125 edx = temp1.d 0x1346 126 if (edx == 0) then 129 @ 0x13e9 else 132 @ 0x134c 0x1330 127 ecx = (rax - 1).d 0x1333 128 goto 136 @ 0x1353 0x13e9 129 ecx = r10d 0x13ec 130 eax = 0 0x13ee 131 goto 138 @ 0x1356 0x134c 132 eax = edx 0x134e 133 ecx = edx 0x1350 134 ecx = ecx - 1 0x1350 135 goto 136 @ 0x1353 0x1353 136 rcx = sx.q(ecx) 0x1353 137 goto 138 @ 0x1356 0x1356 138 rdx = r15 0x1359 139 rdx = not.q(rdx) 0x135c 140 [rsp + (rcx << 2) + 0x10].d = 0 0x1367 141 if (rdx != r9) then 142 @ 0x1390 else 147 @ 0x1369 0x1390 142 rsi = r11 0x1393 143 rsi = rsi & 0xfffffffffffffffe 0x1397 144 edx = 0 0x1399 145 ecx = 0 0x139b 146 goto 150 @ 0x13ae 0x1369 147 edx = 0 0x136b 148 ecx = 0 0x136b 149 goto 152 @ 0x1371 0x13ae 150 edi = [rsp + (rdx << 2) + 0x10].d 0x13b4 151 if (edi == 0) then 153 @ 0x13c8 else 155 @ 0x13b6 0x1371 152 if ((r11b & 1) == 0) then 159 @ 0x1310 else 161 @ 0x1373 0x13c8 153 edi = [rsp + (rdx << 2) + 0x14].d 0x13ce 154 if (edi == 0) then 163 @ 0x13a5 else 165 @ 0x13d0 0x13b6 155 rcx = sx.q(ecx) 0x13b9 156 [rsp + (rcx << 2) + 0x10].d = edi 0x13bd 157 edi = eax 0x13c2 158 if (rdx == rdi) then 171 else 173 @ 0x13c5 0x1310 159 r15 = r15 + 1 0x1318 160 if (r11 s< 3) then 29 @ 0x11b0 else 110 @ 0x131e 0x1373 161 esi = [rsp + (rdx << 2) + 0x10].d 0x1379 162 if (esi == 0) then 159 @ 0x1310 else 175 @ 0x137b 0x13a5 163 rdx = rdx + 2 0x13ac 164 if (rsi == rdx) then 152 @ 0x1371 else 150 @ 0x13ae 0x13d0 165 rbp = rdx + 1 0x13d4 166 r14 = sx.q(ecx) 0x13d7 167 [rsp + (r14 << 2) + 0x10].d = edi 0x13dc 168 ebx = eax 0x13de 169 edi = ecx 0x13e3 170 if (rbp == rbx) then 179 @ 0x13a0 else 182 @ 0x13e5 0x13c2 171 eax = ecx 0x13c2 172 goto 173 @ 0x13c5 0x13c5 173 ecx = ecx + 1 0x13c5 174 goto 153 @ 0x13c8 0x137b 175 rcx = sx.q(ecx) 0x137e 176 [rsp + (rcx << 2) + 0x10].d = esi 0x1382 177 esi = eax 0x1387 178 if (rdx != rsi) then 184 else 186 @ 0x138a 0x13a0 179 ecx = ecx + 1 0x13a3 180 eax = edi 0x13a3 181 goto 163 @ 0x13a5 0x13e5 182 edi = eax 0x13e7 183 goto 179 @ 0x13a0 0x1387 184 ecx = eax 0x1387 185 goto 186 @ 0x138a 0x138a 186 eax = ecx 0x138c 187 goto 159 @ 0x1310 int64_t _fini(): 0x1418 0 rsp = rsp - 8 0x141c 1 rsp = rsp + 8 0x1420 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 {"UAWAVAUATSHX"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x9c58 0x1161 7 rdi = 0x2007 {"%d"} 0x1168 8 rsi = rsp + 0xc {var_9c7c} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1179 11 if ([rsp + 0xc {var_9c7c}].d s<= 0) then 12 @ 0x1234 else 15 @ 0x117f 0x1234 12 ecx = (rbx + rbx).d 0x1237 13 eax = (r14 + r14).d 0x123d 14 if (ecx s<= eax) then 20 @ 0x1247 else 26 @ 0x123f 0x117f 15 r15 = 0x2004 {"%d %d"} 0x1186 16 r12 = rsp + 8 {var_9c80} 0x118b 17 r13 = rsp + 4 {var_9c84} 0x1190 18 ebp = 0 0x1192 19 goto 29 @ 0x11ad 0x1247 20 ecx = ecx - 2 0x124a 21 ecx = ecx | 1 0x124d 22 rdx = sx.q(ecx) 0x1250 23 rdx = rsp + (rdx << 2) 0x1254 24 rdx = rdx + 0x10 0x1258 25 goto 36 @ 0x1263 0x123f 26 ecx = (rbx + rbx).d 0x1242 27 ecx = ecx - 1 0x1245 28 goto 37 @ 0x1274 0x11ad 29 rdi = r15 0x11b0 30 rsi = r12 {var_9c80} 0x11b3 31 rdx = r13 {var_9c84} 0x11b6 32 eax = 0 0x11b8 33 call(0x1040) 0x11bd 34 eax = [rsp + 8 {var_9c80}].d 0x11c3 35 if (ebp == 0) then 38 @ 0x11e0 else 41 @ 0x11c7 0x1263 36 if ([rdx].d == 0) then 37 @ 0x1274 else 42 @ 0x1265 0x1274 37 if (ecx != eax) then 45 @ 0x128b else 49 @ 0x1276 0x11e0 38 r14d = [rsp + 4 {var_9c84}].d 0x11e5 39 ebx = eax 0x11e5 40 goto 55 @ 0x11e7 0x11c7 41 if (ebx s> eax) then 60 else 62 @ 0x11ca 0x1265 42 ecx = ecx + 1 0x1268 43 rdx = rdx + 4 0x126e 44 if (eax != ecx) then 36 @ 0x1263 else 64 @ 0x1270 0x128b 45 rdi = 0x2011 {"no"} 0x1292 46 eax = 0 0x1294 47 call(0x1030) 0x1294 48 goto 66 @ 0x1299 0x1276 49 rdi = 0x200a {"%d %d\n"} 0x127d 50 esi = ebx 0x127f 51 edx = r14d 0x1282 52 eax = 0 0x1284 53 call(0x1030) 0x1289 54 goto 66 @ 0x1299 0x11e7 55 edx = [rsp + 8 {var_9c80}].d 0x11eb 56 edx = edx + edx 0x11ed 57 eax = [rsp + 4 {var_9c84}].d 0x11f1 58 eax = eax + eax 0x11f5 59 if (edx s> eax) then 74 @ 0x11a0 else 76 @ 0x11f7 0x11c7 60 ebx = eax 0x11c7 61 goto 62 @ 0x11ca 0x11ca 62 eax = [rsp + 4 {var_9c84}].d 0x11d1 63 if (r14d s< eax) then 86 else 88 @ 0x11d5 0x1270 64 ecx = eax 0x1270 65 goto 37 @ 0x1274 0x1299 66 rsp = rsp + 0x9c58 0x12a0 67 rbx = pop 0x12a1 68 r12 = pop 0x12a3 69 r13 = pop 0x12a5 70 r14 = pop 0x12a7 71 r15 = pop 0x12a9 72 rbp = pop 0x12aa 73 <return> jump(pop) 0x11a0 74 ebp = ebp + 1 0x11a7 75 if (ebp s>= [rsp + 0xc {var_9c7c}].d) then 12 @ 0x1234 else 29 @ 0x11ad 0x11f7 76 ecx = (rdx - 2).d 0x11fa 77 ecx = ecx | 1 0x11fd 78 rcx = sx.q(ecx) 0x1200 79 rsi = rsp + 0x14 {var_9c74} 0x1205 80 rcx = rsi + (rcx << 2) 0x1209 81 rcx = rcx - 4 0x120d 82 eax = eax - edx 0x120f 83 rax = rax + 1 0x1213 84 edx = 0 0x121f 85 goto 89 @ 0x1220 0x11d1 86 r14d = eax 0x11d1 87 goto 88 @ 0x11d5 0x11d5 88 goto 55 @ 0x11e7 0x1220 89 [rcx + (rdx << 2)].d = 1 0x1227 90 rdx = rdx + 1 0x122d 91 if (eax != edx) then 89 @ 0x1220 else 92 @ 0x122f 0x122f 92 goto 74 @ 0x11a0 int64_t _fini(): 0x12b0 0 rsp = rsp - 8 0x12b4 1 rsp = rsp + 8 0x12b8 2 <return> jump(pop)
POJ_76
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHHP"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x650 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0xc {var_14}].d = 0 0x1169 5 [rbp - 0x10 {var_18}].d = 0 0x1170 6 rdi = 0x2007 {"%d"} 0x1177 7 rsi = rbp - 8 {var_10} 0x117b 8 al = 0 0x117d 9 call(0x1040) 0x1182 10 [rbp - 0xc {var_14_1}].d = 0 0x1182 11 goto 12 @ 0x1189 0x1189 12 eax = [rbp - 0xc {var_14_1}].d 0x118f 13 if (eax s>= [rbp - 8 {var_10}].d) then 14 @ 0x11d9 else 16 @ 0x1195 0x11d9 14 [rbp - 0xc {var_14_2}].d = 0 0x11d9 15 goto 32 @ 0x11e0 0x1195 16 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x1199 17 rsi = rbp - 0x650 {var_658} 0x11a0 18 rax = rax << 3 0x11a4 19 rsi = rsi + rax 0x11a7 20 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x11ab 21 rdx = rbp - 0x650 {var_658} 0x11b2 22 rax = rax << 3 0x11b6 23 rdx = rdx + rax 0x11b9 24 rdx = rdx + 4 0x11bd 25 rdi = 0x2004 {"%d %d"} 0x11c4 26 al = 0 0x11c6 27 call(0x1040) 0x11cb 28 eax = [rbp - 0xc {var_14_1}].d 0x11ce 29 eax = eax + 1 0x11d1 30 [rbp - 0xc {var_14_1}].d = eax 0x11d4 31 goto 12 @ 0x1189 0x11e0 32 eax = [rbp - 0xc {var_14_2}].d 0x11e6 33 if (eax s>= [rbp - 8 {var_10}].d) then 34 @ 0x13e8 else 35 @ 0x11ec 0x13e8 34 if ([rbp - 0x10 {var_18}].d != 0) then 37 @ 0x1405 else 38 @ 0x13ee 0x11ec 35 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x11f8 36 if ([rbp + (rax << 3) - 0x650].d != 0) then 42 @ 0x121e else 44 @ 0x11fe 0x1405 37 if ([rbp - 0x10 {var_18}].d s<= 0) then 46 @ 0x141e else 50 @ 0x140b 0x13ee 38 rdi = 0x200a {"Tie\n"} 0x13f5 39 al = 0 0x13f7 40 call(0x1030) 0x13fc 41 goto 54 @ 0x1431 0x121e 42 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x122a 43 if ([rbp + (rax << 3) - 0x650].d != 0) then 58 @ 0x1250 else 60 @ 0x1230 0x11fe 44 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x120a 45 if ([rbp + (rax << 3) - 0x64c].d != 1) then 42 @ 0x121e else 62 @ 0x1210 0x141e 46 rdi = 0x2012 {"B\n"} 0x1425 47 al = 0 0x1427 48 call(0x1030) 0x1427 49 goto 66 @ 0x142c 0x140b 50 rdi = 0x200f {"A\n"} 0x1412 51 al = 0 0x1414 52 call(0x1030) 0x1419 53 goto 66 @ 0x142c 0x1431 54 eax = 0 0x1433 55 rsp = rsp + 0x650 0x143a 56 rbp = pop 0x143b 57 <return> jump(pop) 0x1250 58 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x125c 59 if ([rbp + (rax << 3) - 0x650].d != 0) then 67 @ 0x1282 else 69 @ 0x1262 0x1230 60 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x123c 61 if ([rbp + (rax << 3) - 0x64c].d != 2) then 58 @ 0x1250 else 71 @ 0x1242 0x1210 62 eax = [rbp - 0x10 {var_18}].d 0x1213 63 eax = eax + 1 0x1216 64 [rbp - 0x10 {var_18}].d = eax 0x1219 65 goto 75 @ 0x13d1 0x142c 66 goto 54 @ 0x1431 0x1282 67 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x128e 68 if ([rbp + (rax << 3) - 0x650].d != 1) then 76 @ 0x12b4 else 78 @ 0x1294 0x1262 69 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x126e 70 if ([rbp + (rax << 3) - 0x64c].d != 0) then 67 @ 0x1282 else 80 @ 0x1274 0x1242 71 eax = [rbp - 0x10 {var_18}].d 0x1245 72 eax = eax - 1 0x1248 73 [rbp - 0x10 {var_18}].d = eax 0x124b 74 goto 84 @ 0x13cc 0x13d1 75 goto 85 @ 0x13d6 0x12b4 76 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x12c0 77 if ([rbp + (rax << 3) - 0x650].d != 1) then 89 @ 0x12e6 else 91 @ 0x12c6 0x1294 78 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x12a0 79 if ([rbp + (rax << 3) - 0x64c].d != 0) then 76 @ 0x12b4 else 93 @ 0x12a6 0x1274 80 eax = [rbp - 0x10 {var_18}].d 0x1277 81 eax = eax 0x127a 82 [rbp - 0x10 {var_18}].d = eax 0x127d 83 goto 97 @ 0x13c7 0x13cc 84 goto 75 @ 0x13d1 0x13d6 85 eax = [rbp - 0xc {var_14_2}].d 0x13d9 86 eax = eax + 1 0x13dc 87 [rbp - 0xc {var_14_2}].d = eax 0x13df 88 goto 32 @ 0x11e0 0x12e6 89 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x12f2 90 if ([rbp + (rax << 3) - 0x650].d != 1) then 98 @ 0x1318 else 100 @ 0x12f8 0x12c6 91 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x12d2 92 if ([rbp + (rax << 3) - 0x64c].d != 1) then 89 @ 0x12e6 else 102 @ 0x12d8 0x12a6 93 eax = [rbp - 0x10 {var_18}].d 0x12a9 94 eax = eax - 1 0x12ac 95 [rbp - 0x10 {var_18}].d = eax 0x12af 96 goto 106 @ 0x13c2 0x13c7 97 goto 84 @ 0x13cc 0x1318 98 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1324 99 if ([rbp + (rax << 3) - 0x650].d != 2) then 107 @ 0x134a else 109 @ 0x132a 0x12f8 100 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1304 101 if ([rbp + (rax << 3) - 0x64c].d != 2) then 98 @ 0x1318 else 111 @ 0x130a 0x12d8 102 eax = [rbp - 0x10 {var_18}].d 0x12db 103 eax = eax 0x12de 104 [rbp - 0x10 {var_18}].d = eax 0x12e1 105 goto 115 @ 0x13bd 0x13c2 106 goto 97 @ 0x13c7 0x134a 107 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1356 108 if ([rbp + (rax << 3) - 0x650].d != 2) then 116 @ 0x137c else 118 @ 0x135c 0x132a 109 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1336 110 if ([rbp + (rax << 3) - 0x64c].d != 0) then 107 @ 0x134a else 120 @ 0x133c 0x130a 111 eax = [rbp - 0x10 {var_18}].d 0x130d 112 eax = eax + 1 0x1310 113 [rbp - 0x10 {var_18}].d = eax 0x1313 114 goto 124 @ 0x13b8 0x13bd 115 goto 106 @ 0x13c2 0x137c 116 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1388 117 if ([rbp + (rax << 3) - 0x650].d != 2) then 125 @ 0x13a9 else 126 @ 0x138e 0x135c 118 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1368 119 if ([rbp + (rax << 3) - 0x64c].d != 1) then 116 @ 0x137c else 128 @ 0x136e 0x133c 120 eax = [rbp - 0x10 {var_18}].d 0x133f 121 eax = eax + 1 0x1342 122 [rbp - 0x10 {var_18}].d = eax 0x1345 123 goto 132 @ 0x13b3 0x13b8 124 goto 115 @ 0x13bd 0x13a9 125 goto 133 @ 0x13ae 0x138e 126 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x139a 127 if ([rbp + (rax << 3) - 0x64c].d != 2) then 125 @ 0x13a9 else 134 @ 0x13a0 0x136e 128 eax = [rbp - 0x10 {var_18}].d 0x1371 129 eax = eax - 1 0x1374 130 [rbp - 0x10 {var_18}].d = eax 0x1377 131 goto 133 @ 0x13ae 0x13b3 132 goto 124 @ 0x13b8 0x13ae 133 goto 132 @ 0x13b3 0x13a0 134 eax = [rbp - 0x10 {var_18}].d 0x13a3 135 eax = eax 0x13a6 136 [rbp - 0x10 {var_18}].d = eax 0x13a6 137 goto 125 @ 0x13a9 int64_t _fini(): 0x1440 0 rsp = rsp - 8 0x1444 1 rsp = rsp + 8 0x1448 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) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) double sqrt(double x): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1270 {"UAWAVAUATSHh"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int64_t f(int64_t* arg1, uint64_t arg2[0x2] @ zmm0, uint64_t arg3[0x2] @ zmm3, uint64_t arg4[0x2] @ zmm5): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(rbx) 0x1176 4 rsp = rsp - 0x18 0x117a 5 xmm2 = xmm0 0x117e 6 xmm4 = zx.o([0x2008].q) 0x1186 7 xmm4.q = xmm4.q f+ xmm0.q 0x118a 8 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x118e 9 flag:p = is_unordered.q(xmm4.q, xmm3.q) 0x118e 10 flag:c = xmm4.q f< xmm3.q | is_unordered.q(xmm4.q, xmm3.q) 0x118e 11 flag:z = xmm4.q f== xmm3.q | is_unordered.q(xmm4.q, xmm3.q) 0x118e 12 flag:s = 0 0x118e 13 flag:o = 0 0x118e 14 flag:a = 0 0x1192 15 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1196 16 if (flag:c) then 17 @ 0x1243 else 25 @ 0x119c 0x1243 17 xmm0.q = xmm0.q f/ xmm2.q 0x1247 18 flag:p = is_unordered.q(xmm0.q, xmm3.q) 0x1247 19 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x1247 20 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x1247 21 flag:s = 0 0x1247 22 flag:o = 0 0x1247 23 flag:a = 0 0x124b 24 if (flag:c) then 33 @ 0x1253 else 35 @ 0x124d 0x119c 25 r14 = rdi 0x119f 26 [rsp {var_38_1}].q = xmm2.q 0x11a4 27 xmm5 = _mm_xor_pd(xmm5, xmm5) 0x11a8 28 ebp = 1 0x11ad 29 r15 = 0x2018 {"%lf"} 0x11b4 30 rbx = rdi 0x11b7 31 [rsp + 8 {var_30_1}].q = xmm4.q 0x11bd 32 goto 37 @ 0x11c0 0x1253 33 call(0x1060) 0x1253 34 goto 56 @ 0x1258 0x124d 35 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1251 36 goto 56 @ 0x1258 0x11c0 37 [rsp + 0x10 {var_28_1}].q = xmm5.q 0x11c6 38 rdi = r15 0x11c9 39 rsi = rbx 0x11cc 40 eax = 0 0x11ce 41 call(0x1050) 0x11d3 42 xmm5 = zx.o([rsp + 0x10 {var_28_1}].q) 0x11d9 43 xmm4 = zx.o([rsp + 8 {var_30_1}].q) 0x11df 44 xmm5.q = xmm5.q f+ fconvert.t([rbx].q) 0x11e3 45 xmm0 = 0 0x11e6 46 xmm0.q = float.d(ebp) 0x11ea 47 rbx = rbx + 8 0x11ee 48 ebp = ebp + 1 0x11f1 49 flag:p = is_unordered.q(xmm4.q, xmm0.q) 0x11f1 50 flag:c = xmm4.q f< xmm0.q | is_unordered.q(xmm4.q, xmm0.q) 0x11f1 51 flag:z = xmm4.q f== xmm0.q | is_unordered.q(xmm4.q, xmm0.q) 0x11f1 52 flag:s = 0 0x11f1 53 flag:o = 0 0x11f1 54 flag:a = 0 0x11f5 55 if (not(flag:c)) then 37 @ 0x11c0 else 64 @ 0x11f7 0x1258 56 rdi = 0x201c {"%.5lf\n"} 0x125f 57 al = 1 0x1261 58 rsp = rsp + 0x18 0x1265 59 rbx = pop 0x1266 60 r14 = pop 0x1268 61 r15 = pop 0x126a 62 rbp = pop 0x126b 63 <return> tailcall(0x1030) 0x11f7 64 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11fb 65 flag:p = is_unordered.q(xmm4.q, xmm0.q) 0x11fb 66 flag:c = xmm4.q f< xmm0.q | is_unordered.q(xmm4.q, xmm0.q) 0x11fb 67 flag:z = xmm4.q f== xmm0.q | is_unordered.q(xmm4.q, xmm0.q) 0x11fb 68 flag:s = 0 0x11fb 69 flag:o = 0 0x11fb 70 flag:a = 0 0x11ff 71 xmm2 = zx.o([rsp {var_38_1}].q) 0x1204 72 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x1208 73 if (flag:c) then 17 @ 0x1243 else 74 @ 0x120a 0x120a 74 xmm5.q = xmm5.q f/ xmm2.q 0x120e 75 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1212 76 eax = 0 0x121e 77 goto 78 @ 0x1220 0x1220 78 xmm1 = zx.o([r14 + (rax << 3)].q) 0x1226 79 xmm1.q = xmm1.q f- xmm5.q 0x122a 80 xmm1.q = xmm1.q f* xmm1.q 0x122e 81 xmm0.q = xmm0.q f+ xmm1.q 0x1232 82 rax = rax + 1 0x1236 83 xmm1 = 0 0x1239 84 xmm1.q = float.d(eax) 0x123d 85 flag:p = is_unordered.q(xmm4.q, xmm1.q) 0x123d 86 flag:c = xmm4.q f< xmm1.q | is_unordered.q(xmm4.q, xmm1.q) 0x123d 87 flag:z = xmm4.q f== xmm1.q | is_unordered.q(xmm4.q, xmm1.q) 0x123d 88 flag:s = 0 0x123d 89 flag:o = 0 0x123d 90 flag:a = 0 0x1241 91 if (not(flag:c)) then 78 @ 0x1220 else 17 @ 0x1243 int32_t main(int32_t argc, char** argv, char** envp): 0x1270 0 push(rbp) 0x1271 1 push(r15) 0x1273 2 push(r14) 0x1275 3 push(r13) 0x1277 4 push(r12) 0x1279 5 push(rbx) 0x127a 6 rsp = rsp - 0x368 0x1281 7 rdi = 0x2023 {"%d"} 0x1288 8 rsi = rsp + 0xc {var_38c} 0x128d 9 eax = 0 0x128f 10 call(0x1050) 0x1299 11 if ([rsp + 0xc {var_38c}].d s<= 0) then 12 @ 0x13ce else 21 @ 0x129f 0x13ce 12 eax = 0 0x13d0 13 rsp = rsp + 0x368 0x13d7 14 rbx = pop 0x13d8 15 r12 = pop 0x13da 16 r13 = pop 0x13dc 17 r14 = pop 0x13de 18 r15 = pop 0x13e0 19 rbp = pop 0x13e1 20 <return> jump(pop) 0x129f 21 ebp = 1 0x12a4 22 r13 = 0x2018 {"%lf"} 0x12ab 23 r12 = rsp + 0x28 {var_370} 0x12b0 24 r14 = 0x201c {"%.5lf\n"} 0x12b7 25 goto 26 @ 0x12de 0x12de 26 edx = 0x330 {"o.2"} 0x12e3 27 rdi = rsp + 0x30 {var_368} 0x12e8 28 esi = 0 0x12ea 29 call(0x1040) 0x12ef 30 rdi = r13 0x12f2 31 rsi = r12 {var_370} 0x12f5 32 eax = 0 0x12f7 33 call(0x1050) 0x12fc 34 xmm2 = zx.o([rsp + 0x28 {var_370}].q) 0x1302 35 xmm3 = xmm2 0x1306 36 xmm3.q = xmm3.q f+ fconvert.t([0x2008].q) 0x130e 37 flag:p = is_unordered.q(xmm3.q, fconvert.t([0x2010].q)) 0x130e 38 flag:c = xmm3.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm3.q, fconvert.t([0x2010].q)) 0x130e 39 flag:z = xmm3.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm3.q, fconvert.t([0x2010].q)) 0x130e 40 flag:s = 0 0x130e 41 flag:o = 0 0x130e 42 flag:a = 0 0x1316 43 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x131a 44 if (flag:c) then 45 @ 0x13b3 else 53 @ 0x1320 0x13b3 45 xmm0.q = xmm0.q f/ xmm2.q 0x13b7 46 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x13b7 47 flag:c = xmm0.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x13b7 48 flag:z = xmm0.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x13b7 49 flag:s = 0 0x13b7 50 flag:o = 0 0x13b7 51 flag:a = 0 0x13bf 52 if (flag:c) then 59 @ 0x12c0 else 61 @ 0x13c5 0x1320 53 [rsp + 0x10 {var_388_1}].q = xmm2.q 0x1326 54 xmm4 = 0 0x1329 55 r15d = 1 0x132f 56 rbx = rsp + 0x30 {var_368} 0x1334 57 [rsp + 0x18 {var_380_1}].q = xmm3.q 0x133a 58 goto 63 @ 0x1340 0x12c0 59 call(0x1060) 0x12c0 60 goto 82 @ 0x12c5 0x13c5 61 xmm0 = _mm_sqrt_sd(xmm0.q) 0x13c9 62 goto 82 @ 0x12c5 0x1340 63 [rsp + 0x20 {var_378_1}].q = xmm4.q 0x1346 64 rdi = r13 0x1349 65 rsi = rbx 0x134c 66 eax = 0 0x134e 67 call(0x1050) 0x1353 68 xmm4 = zx.o([rsp + 0x20 {var_378_1}].q) 0x1359 69 xmm3 = zx.o([rsp + 0x18 {var_380_1}].q) 0x135f 70 xmm4.q = xmm4.q f+ fconvert.t([rbx].q) 0x1363 71 xmm0 = 0 0x1366 72 xmm0.q = float.d(r15d) 0x136b 73 rbx = rbx + 8 0x136f 74 r15d = r15d + 1 0x1373 75 flag:p = is_unordered.q(xmm3.q, xmm0.q) 0x1373 76 flag:c = xmm3.q f< xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x1373 77 flag:z = xmm3.q f== xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x1373 78 flag:s = 0 0x1373 79 flag:o = 0 0x1373 80 flag:a = 0 0x1377 81 if (not(flag:c)) then 63 @ 0x1340 else 89 @ 0x1379 0x12c5 82 rdi = r14 0x12c8 83 al = 1 0x12ca 84 call(0x1030) 0x12cf 85 eax = (rbp + 1).d 0x12d2 86 cond:0 = ebp s>= [rsp + 0xc {var_38c}].d 0x12d6 87 ebp = eax 0x12d8 88 if (cond:0) then 12 @ 0x13ce else 26 @ 0x12de 0x1379 89 xmm2 = zx.o([rsp + 0x10 {var_388_1}].q) 0x137f 90 xmm4.q = xmm4.q f/ xmm2.q 0x1383 91 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1387 92 eax = 0 0x1389 93 goto 94 @ 0x1390 0x1390 94 xmm1 = zx.o([rsp + (rax << 3) + 0x30].q) 0x1396 95 xmm1.q = xmm1.q f- xmm4.q 0x139a 96 xmm1.q = xmm1.q f* xmm1.q 0x139e 97 xmm0.q = xmm0.q f+ xmm1.q 0x13a2 98 rax = rax + 1 0x13a6 99 xmm1 = 0 0x13a9 100 xmm1.q = float.d(eax) 0x13ad 101 flag:p = is_unordered.q(xmm3.q, xmm1.q) 0x13ad 102 flag:c = xmm3.q f< xmm1.q | is_unordered.q(xmm3.q, xmm1.q) 0x13ad 103 flag:z = xmm3.q f== xmm1.q | is_unordered.q(xmm3.q, xmm1.q) 0x13ad 104 flag:s = 0 0x13ad 105 flag:o = 0 0x13ad 106 flag:a = 0 0x13b1 107 if (not(flag:c)) then 94 @ 0x1390 else 45 @ 0x13b3 int64_t _fini(): 0x13e8 0 rsp = rsp - 8 0x13ec 1 rsp = rsp + 8 0x13f0 2 <return> jump(pop)
POJ_38
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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 - 0x7d40 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rdi = 0x2007 {"%d"} 0x1169 5 rsi = rbp - 8 {var_10} 0x116d 6 al = 0 0x116f 7 call(0x1040) 0x1174 8 [rbp - 0x3e94 {var_3e9c}].d = 0 0x1174 9 goto 10 @ 0x117e 0x117e 10 eax = [rbp - 0x3e94 {var_3e9c}].d 0x1187 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11dd else 15 @ 0x118d 0x11dd 12 [rbp - 0x7d24 {var_7d2c}].d = 0 0x11e7 13 [rbp - 0x3e94 {var_3e9c_1}].d = 0 0x11e7 14 goto 31 @ 0x11f1 0x118d 15 rax = sx.q([rbp - 0x3e94 {var_3e9c}].d) 0x1194 16 rsi = rbp - 0x3e90 {var_3e98} 0x119b 17 rax = rax << 4 0x119f 18 rsi = rsi + rax 0x11a2 19 rax = sx.q([rbp - 0x3e94 {var_3e9c}].d) 0x11a9 20 rdx = rbp - 0x3e90 {var_3e98} 0x11b0 21 rax = rax << 4 0x11b4 22 rdx = rdx + rax 0x11b7 23 rdx = rdx + 0xc 0x11bb 24 rdi = 0x2004 {"%s %d"} 0x11c2 25 al = 0 0x11c4 26 call(0x1040) 0x11c9 27 eax = [rbp - 0x3e94 {var_3e9c}].d 0x11cf 28 eax = eax + 1 0x11d2 29 [rbp - 0x3e94 {var_3e9c}].d = eax 0x11d8 30 goto 10 @ 0x117e 0x11f1 31 eax = [rbp - 0x3e94 {var_3e9c_1}].d 0x11fa 32 if (eax s>= [rbp - 8 {var_10}].d) then 33 @ 0x127f else 35 @ 0x1200 0x127f 33 [rbp - 0x7d28 {var_7d30}].d = 1 0x127f 34 goto 40 @ 0x1289 0x1200 35 rcx = sx.q([rbp - 0x3e94 {var_3e9c_1}].d) 0x1207 36 rax = rbp - 0x3e90 {var_3e98} 0x120e 37 rcx = rcx << 4 0x1212 38 rax = rax + rcx 0x1219 39 if ([rax + 0xc].d s<= 0x3b) then 42 @ 0x1266 else 43 @ 0x121f 0x1289 40 eax = [rbp - 0x7d28 {var_7d30}].d 0x1295 41 if (eax s>= [rbp - 0x7d24 {var_7d2c}].d) then 59 @ 0x13c2 else 61 @ 0x129b 0x1266 42 goto 63 @ 0x126b 0x121f 43 rcx = sx.q([rbp - 0x7d24 {var_7d2c}].d) 0x1226 44 rax = rbp - 0x7d20 {var_7d28} 0x122d 45 rcx = rcx << 4 0x1231 46 rax = rax + rcx 0x1234 47 rdx = sx.q([rbp - 0x3e94 {var_3e9c_1}].d) 0x123b 48 rcx = rbp - 0x3e90 {var_3e98} 0x1242 49 rdx = rdx << 4 0x1246 50 rcx = rcx + rdx 0x1249 51 rdx = [rcx].q 0x124c 52 [rax].q = rdx 0x124f 53 rcx = [rcx + 8].q 0x1253 54 [rax + 8].q = rcx 0x1257 55 eax = [rbp - 0x7d24 {var_7d2c}].d 0x125d 56 eax = eax + 1 0x1260 57 [rbp - 0x7d24 {var_7d2c}].d = eax 0x1260 58 goto 42 @ 0x1266 0x13c2 59 [rbp - 0x3e94 {var_3e9c_3}].d = 0 0x13c2 60 goto 67 @ 0x13cc 0x129b 61 [rbp - 0x3e94 {var_3e9c_2}].d = 0 0x129b 62 goto 69 @ 0x12a5 0x126b 63 eax = [rbp - 0x3e94 {var_3e9c_1}].d 0x1271 64 eax = eax + 1 0x1274 65 [rbp - 0x3e94 {var_3e9c_1}].d = eax 0x127a 66 goto 31 @ 0x11f1 0x13cc 67 eax = [rbp - 0x3e94 {var_3e9c_3}].d 0x13d8 68 if (eax s>= [rbp - 0x7d24 {var_7d2c}].d) then 73 @ 0x1415 else 75 @ 0x13de 0x12a5 69 eax = [rbp - 0x3e94 {var_3e9c_2}].d 0x12ab 70 ecx = [rbp - 0x7d24 {var_7d2c}].d 0x12b1 71 ecx = ecx - [rbp - 0x7d28 {var_7d30}].d 0x12b9 72 if (eax s>= ecx) then 86 @ 0x13a9 else 87 @ 0x12bf 0x1415 73 [rbp - 0x3e94 {var_3e9c_4}].d = 0 0x1415 74 goto 99 @ 0x141f 0x13de 75 rax = sx.q([rbp - 0x3e94 {var_3e9c_3}].d) 0x13e5 76 rsi = rbp - 0x7d20 {var_7d28} 0x13ec 77 rax = rax << 4 0x13f0 78 rsi = rsi + rax 0x13f3 79 rdi = 0x200a {"%s\n"} 0x13fa 80 al = 0 0x13fc 81 call(0x1030) 0x1401 82 eax = [rbp - 0x3e94 {var_3e9c_3}].d 0x1407 83 eax = eax + 1 0x140a 84 [rbp - 0x3e94 {var_3e9c_3}].d = eax 0x1410 85 goto 67 @ 0x13cc 0x13a9 86 goto 101 @ 0x13ae 0x12bf 87 rcx = sx.q([rbp - 0x3e94 {var_3e9c_2}].d) 0x12c6 88 rax = rbp - 0x7d20 {var_7d28} 0x12cd 89 rcx = rcx << 4 0x12d1 90 rax = rax + rcx 0x12d4 91 eax = [rax + 0xc].d 0x12d7 92 ecx = [rbp - 0x3e94 {var_3e9c_2}].d 0x12dd 93 ecx = ecx + 1 0x12e0 94 rdx = sx.q(ecx) 0x12e3 95 rcx = rbp - 0x7d20 {var_7d28} 0x12ea 96 rdx = rdx << 4 0x12ee 97 rcx = rcx + rdx 0x12f4 98 if (eax s>= [rcx + 0xc].d) then 105 @ 0x1390 else 106 @ 0x12fa 0x141f 99 eax = [rbp - 0x3e94 {var_3e9c_4}].d 0x1428 100 if (eax s>= [rbp - 8 {var_10}].d) then 139 @ 0x1489 else 143 @ 0x142e 0x13ae 101 eax = [rbp - 0x7d28 {var_7d30}].d 0x13b4 102 eax = eax + 1 0x13b7 103 [rbp - 0x7d28 {var_7d30}].d = eax 0x13bd 104 goto 40 @ 0x1289 0x1390 105 goto 148 @ 0x1395 0x12fa 106 eax = [rbp - 0x3e94 {var_3e9c_2}].d 0x1300 107 eax = eax + 1 0x1303 108 rcx = sx.q(eax) 0x1306 109 rax = rbp - 0x7d20 {var_7d28} 0x130d 110 rcx = rcx << 4 0x1311 111 rax = rax + rcx 0x1314 112 rcx = [rax].q 0x1317 113 [rbp - 0x7d38 {var_7d40_1}].q = rcx 0x131e 114 rax = [rax + 8].q 0x1322 115 [rbp - 0x7d30 {var_7d38_1}].q = rax 0x1329 116 eax = [rbp - 0x3e94 {var_3e9c_2}].d 0x132f 117 eax = eax + 1 0x1332 118 rcx = sx.q(eax) 0x1335 119 rax = rbp - 0x7d20 {var_7d28} 0x133c 120 rcx = rcx << 4 0x1340 121 rax = rax + rcx 0x1343 122 rdx = sx.q([rbp - 0x3e94 {var_3e9c_2}].d) 0x134a 123 rcx = rbp - 0x7d20 {var_7d28} 0x1351 124 rdx = rdx << 4 0x1355 125 rcx = rcx + rdx 0x1358 126 rdx = [rcx].q 0x135b 127 [rax].q = rdx 0x135e 128 rcx = [rcx + 8].q 0x1362 129 [rax + 8].q = rcx 0x1366 130 rcx = sx.q([rbp - 0x3e94 {var_3e9c_2}].d) 0x136d 131 rax = rbp - 0x7d20 {var_7d28} 0x1374 132 rcx = rcx << 4 0x1378 133 rax = rax + rcx 0x137b 134 rcx = [rbp - 0x7d38 {var_7d40_1}].q 0x1382 135 [rax].q = rcx 0x1385 136 rcx = [rbp - 0x7d30 {var_7d38_1}].q 0x138c 137 [rax + 8].q = rcx 0x138c 138 goto 105 @ 0x1390 0x1489 139 eax = 0 0x148b 140 rsp = rsp + 0x7d40 0x1492 141 rbp = pop 0x1493 142 <return> jump(pop) 0x142e 143 rcx = sx.q([rbp - 0x3e94 {var_3e9c_4}].d) 0x1435 144 rax = rbp - 0x3e90 {var_3e98} 0x143c 145 rcx = rcx << 4 0x1440 146 rax = rax + rcx 0x1447 147 if ([rax + 0xc].d s>= 0x3c) then 152 @ 0x1470 else 153 @ 0x144d 0x1395 148 eax = [rbp - 0x3e94 {var_3e9c_2}].d 0x139b 149 eax = eax + 1 0x139e 150 [rbp - 0x3e94 {var_3e9c_2}].d = eax 0x13a4 151 goto 69 @ 0x12a5 0x1470 152 goto 161 @ 0x1475 0x144d 153 rax = sx.q([rbp - 0x3e94 {var_3e9c_4}].d) 0x1454 154 rsi = rbp - 0x3e90 {var_3e98} 0x145b 155 rax = rax << 4 0x145f 156 rsi = rsi + rax 0x1462 157 rdi = 0x200a {"%s\n"} 0x1469 158 al = 0 0x146b 159 call(0x1030) 0x146b 160 goto 152 @ 0x1470 0x1475 161 eax = [rbp - 0x3e94 {var_3e9c_4}].d 0x147b 162 eax = eax + 1 0x147e 163 [rbp - 0x3e94 {var_3e9c_4}].d = eax 0x1484 164 goto 99 @ 0x141f int64_t _fini(): 0x1498 0 rsp = rsp - 8 0x149c 1 rsp = rsp + 8 0x14a0 2 <return> jump(pop)
POJ_9
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH`E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x60 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 0x2004 {"%d"} 0x1166 5 rsi = rbp - 8 {var_10} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1171 8 [rbp - 0xc {var_14}].d = 0 0x1171 9 goto 10 @ 0x1178 0x1178 10 eax = [rbp - 0xc {var_14}].d 0x117e 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11af else 14 @ 0x1184 0x11af 12 [rbp - 0x10 {var_18}].d = 1 0x11af 13 goto 25 @ 0x11b6 0x1184 14 rax = sx.q([rbp - 0xc {var_14}].d) 0x1188 15 rsi = rbp - 0x60 {var_68} 0x118c 16 rax = rax << 2 0x1190 17 rsi = rsi + rax 0x1193 18 rdi = 0x2004 {"%d"} 0x119a 19 al = 0 0x119c 20 call(0x1040) 0x11a1 21 eax = [rbp - 0xc {var_14}].d 0x11a4 22 eax = eax + 1 0x11a7 23 [rbp - 0xc {var_14}].d = eax 0x11aa 24 goto 10 @ 0x1178 0x11b6 25 eax = [rbp - 0x10 {var_18}].d 0x11bc 26 if (eax s> [rbp - 8 {var_10}].d) then 27 @ 0x122f else 31 @ 0x11c2 0x122f 27 eax = 0 0x1231 28 rsp = rsp + 0x60 0x1235 29 rbp = pop 0x1236 30 <return> jump(pop) 0x11c2 31 eax = [rbp - 0x10 {var_18}].d 0x11c5 32 eax = eax - 1 0x11c8 33 rax = sx.q(eax) 0x11cf 34 if ([rbp + (rax << 2) - 0x60].d == 1) then 35 @ 0x11e8 else 39 @ 0x11d5 0x11e8 35 rdi = 0x2007 {"1\n"} 0x11ef 36 al = 0 0x11f1 37 call(0x1030) 0x11f6 38 goto 43 @ 0x121c 0x11d5 39 eax = [rbp - 0x10 {var_18}].d 0x11d8 40 eax = eax - 1 0x11db 41 rax = sx.q(eax) 0x11e2 42 if ([rbp + (rax << 2) - 0x60].d != 2) then 44 @ 0x11fb else 35 @ 0x11e8 0x121c 43 goto 54 @ 0x1221 0x11fb 44 eax = [rbp - 0x10 {var_18}].d 0x11fe 45 eax = eax - 1 0x1201 46 rax = sx.q(eax) 0x1203 47 edi = [rbp + (rax << 2) - 0x60].d 0x1207 48 call(0x1240) 0x120c 49 esi = eax 0x120e 50 rdi = 0x200a {"%d\n"} 0x1215 51 al = 0 0x1217 52 call(0x1030) 0x1217 53 goto 43 @ 0x121c 0x1221 54 eax = [rbp - 0x10 {var_18}].d 0x1224 55 eax = eax + 1 0x1227 56 [rbp - 0x10 {var_18}].d = eax 0x122a 57 goto 25 @ 0x11b6 uint64_t fb(int32_t arg1): 0x1240 0 push(rbp) 0x1241 1 rbp = rsp {__saved_rbp} 0x1244 2 [rbp - 4 {var_c}].d = edi 0x1247 3 [rbp - 8 {var_10}].d = 1 0x124e 4 [rbp - 0xc {var_14}].d = 1 0x1255 5 [rbp - 0x14 {var_1c}].d = 3 0x1255 6 goto 7 @ 0x125c 0x125c 7 eax = [rbp - 0x14 {var_1c}].d 0x1262 8 if (eax s> [rbp - 4 {var_c}].d) then 9 @ 0x128b else 12 @ 0x1268 0x128b 9 eax = [rbp - 0x10 {var_18}].d 0x128e 10 rbp = pop 0x128f 11 <return> jump(pop) 0x1268 12 eax = [rbp - 8 {var_10}].d 0x126b 13 eax = eax + [rbp - 0xc {var_14}].d 0x126e 14 [rbp - 0x10 {var_18}].d = eax 0x1271 15 eax = [rbp - 0xc {var_14}].d 0x1274 16 [rbp - 8 {var_10}].d = eax 0x1277 17 eax = [rbp - 0x10 {var_18}].d 0x127a 18 [rbp - 0xc {var_14}].d = eax 0x127d 19 eax = [rbp - 0x14 {var_1c}].d 0x1280 20 eax = eax + 1 0x1283 21 [rbp - 0x14 {var_1c}].d = eax 0x1286 22 goto 7 @ 0x125c int64_t _fini(): 0x1294 0 rsp = rsp - 8 0x1298 1 rsp = rsp + 8 0x129c 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 char* gets(char* buf): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t putchar(int32_t c): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1180 {"UAVSH0"} 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 sort(int32_t* arg1, int32_t arg2): 0x1150 0 rcx = sx.q(esi) 0x1153 1 eax = [rdi + (rcx << 2) - 4].d 0x115a 2 if (ecx s< 2) then 3 @ 0x1172 else 5 @ 0x115c 0x1172 3 [rdi].d = eax 0x1174 4 <return> jump(pop) 0x115c 5 goto 6 @ 0x1160 0x1160 6 edx = [rdi + (rcx << 2) - 8].d 0x1164 7 [rdi + (rcx << 2) - 4].d = edx 0x1168 8 rcx = rcx - 1 0x1170 9 if (rcx s> 1) then 6 @ 0x1160 else 3 @ 0x1172 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 - 0x130 0x118b 4 r14d = 0 0x118e 5 rbx = rsp {var_148} 0x1191 6 rdi = rbx {var_148} 0x1194 7 eax = 0 0x1196 8 call(0x1030) 0x119b 9 goto 10 @ 0x11ac 0x11ac 10 edi = sx.d([rbx].b) 0x11b2 11 if (edi == 0x20) then 12 @ 0x11c0 else 15 @ 0x11b7 0x11c0 12 ebp = 0 0x11c2 13 edi = 0x20 {"@"} 0x11cb 14 if (r14d == 1) then 16 @ 0x11a0 else 18 @ 0x11cd 0x11b7 15 if (dil == 0) then 19 @ 0x11cf else 24 @ 0x11b9 0x11a0 16 call(0x1040) 0x11a0 17 goto 26 @ 0x11a5 0x11cd 18 goto 26 @ 0x11a5 0x11cf 19 rsp = rsp + 0x130 0x11d6 20 rbx = pop 0x11d7 21 r14 = pop 0x11d9 22 rbp = pop 0x11da 23 <return> jump(pop) 0x11b9 24 ebp = 1 0x11be 25 goto 16 @ 0x11a0 0x11a5 26 rbx = rbx + 1 0x11a9 27 r14d = ebp 0x11a9 28 goto 10 @ 0x11ac int64_t _fini(): 0x11e0 0 rsp = rsp - 8 0x11e4 1 rsp = rsp + 8 0x11e8 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 {"SH`"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0x260 0x1158 2 rbx = 0x2004 {"%s"} 0x115f 3 rsi = rsp + 0x130 {var_138} 0x1167 4 rdi = rbx 0x116a 5 eax = 0 0x116c 6 call(0x1040) 0x1171 7 rsi = rsp {var_268} 0x1174 8 rdi = rbx 0x1177 9 eax = 0 0x1179 10 call(0x1040) 0x117e 11 al = [rsp {var_268}].b 0x1183 12 if (al == 0) then 13 @ 0x11a1 else 17 @ 0x1185 0x11a1 13 eax = 0 0x11a3 14 rsp = rsp + 0x260 0x11aa 15 rbx = pop 0x11ab 16 <return> jump(pop) 0x1185 17 cl = [rsp + 0x130 {var_138}].b 0x118c 18 esi = 0 0x118e 19 goto 20 @ 0x1192 0x1192 20 if (cl == al) then 21 @ 0x11ac else 28 @ 0x1194 0x11ac 21 rdi = 0x2007 {"%d"} 0x11b3 22 eax = 0 0x11b5 23 call(0x1030) 0x11ba 24 eax = 0 0x11bc 25 rsp = rsp + 0x260 0x11c3 26 rbx = pop 0x11c4 27 <return> jump(pop) 0x1194 28 eax = zx.d([rsp + rsi + 1].b) 0x1199 29 rsi = rsi + 1 0x119f 30 if (al != 0) then 20 @ 0x1192 else 13 @ 0x11a1 int64_t _fini(): 0x11cc 0 rsp = rsp - 8 0x11d0 1 rsp = rsp + 8 0x11d4 2 <return> jump(pop)
POJ_45
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH0E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x30 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 [rbp - 8 {var_10}].d = edi 0x1162 5 [rbp - 0x10 {var_18}].q = rsi 0x1166 6 [rbp - 0x1c {var_24}].d = 1 0x116d 7 rdi = 0x2004 {"%d"} 0x1174 8 rsi = rbp - 0x18 {var_20} 0x1178 9 al = 0 0x117a 10 call(0x1040) 0x117f 11 [rbp - 0x14 {var_1c}].d = 1 0x117f 12 goto 13 @ 0x118a 0x118a 13 if ([rbp - 0x14 {var_1c}].d s> 5) then 14 @ 0x11c5 else 16 @ 0x1190 0x11c5 14 [rbp - 0x14 {var_1c_1}].d = 1 0x11c5 15 goto 31 @ 0x11cc 0x1190 16 eax = [rbp - 0x1c {var_24}].d * 0xa 0x1194 17 [rbp - 0x1c {var_24}].d = eax 0x1197 18 eax = [rbp - 0x18 {var_20}].d 0x119a 19 temp2.d:temp3.d = sx.q(eax) 0x119a 20 edx = temp2.d 0x119a 21 eax = temp3.d 0x119b 22 temp4.d = edx 0x119b 23 temp5.d = eax 0x119b 24 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0x1c {var_24}].d) 0x119b 25 temp6.d = edx 0x119b 26 temp7.d = eax 0x119b 27 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0x1c {var_24}].d) 0x119b 28 eax = temp0.d 0x119b 29 edx = temp1.d 0x11a1 30 if (eax != 0) then 33 @ 0x11b2 else 34 @ 0x11a7 0x11cc 31 eax = [rbp - 0x14 {var_1c_1}].d 0x11d2 32 if (eax s> [rbp - 0x20 {var_28}].d) then 37 @ 0x1230 else 44 @ 0x11d8 0x11b2 33 goto 59 @ 0x11b7 0x11a7 34 eax = [rbp - 0x14 {var_1c}].d 0x11aa 35 [rbp - 0x20 {var_28}].d = eax 0x11ad 36 goto 14 @ 0x11c5 0x1230 37 rdi = 0x2009 {"\n"} 0x1237 38 al = 0 0x1239 39 call(0x1030) 0x123e 40 eax = 0 0x1240 41 rsp = rsp + 0x30 0x1244 42 rbp = pop 0x1245 43 <return> jump(pop) 0x11d8 44 eax = [rbp - 0x18 {var_20}].d 0x11db 45 ecx = 0xa {""} 0x11e0 46 temp8.d:temp9.d = sx.q(eax) 0x11e0 47 edx = temp8.d 0x11e0 48 eax = temp9.d 0x11e1 49 temp10.d = edx 0x11e1 50 temp11.d = eax 0x11e1 51 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11e1 52 temp12.d = edx 0x11e1 53 temp13.d = eax 0x11e1 54 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11e1 55 eax = temp0.d 0x11e1 56 edx = temp1.d 0x11e3 57 [rbp - 0x24 {var_2c_1}].d = edx 0x11ea 58 if ([rbp - 0x24 {var_2c_1}].d != 0) then 63 @ 0x1203 else 68 @ 0x11f0 0x11b7 59 eax = [rbp - 0x14 {var_1c}].d 0x11ba 60 eax = eax + 1 0x11bd 61 [rbp - 0x14 {var_1c}].d = eax 0x11c0 62 goto 13 @ 0x118a 0x1203 63 esi = [rbp - 0x24 {var_2c_1}].d 0x1206 64 rdi = 0x2004 {"%d"} 0x120d 65 al = 0 0x120f 66 call(0x1030) 0x120f 67 goto 72 @ 0x1214 0x11f0 68 rdi = 0x2007 {"0"} 0x11f7 69 al = 0 0x11f9 70 call(0x1030) 0x11fe 71 goto 72 @ 0x1214 0x1214 72 eax = [rbp - 0x18 {var_20}].d 0x1217 73 ecx = 0xa {""} 0x121c 74 temp14.d:temp15.d = sx.q(eax) 0x121c 75 edx = temp14.d 0x121c 76 eax = temp15.d 0x121d 77 temp16.d = edx 0x121d 78 temp17.d = eax 0x121d 79 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x121d 80 temp18.d = edx 0x121d 81 temp19.d = eax 0x121d 82 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x121d 83 eax = temp0.d 0x121d 84 edx = temp1.d 0x121f 85 [rbp - 0x18 {var_20}].d = eax 0x1222 86 eax = [rbp - 0x14 {var_1c_1}].d 0x1225 87 eax = eax + 1 0x1228 88 [rbp - 0x14 {var_1c_1}].d = eax 0x122b 89 goto 31 @ 0x11cc int64_t _fini(): 0x124c 0 rsp = rsp - 8 0x1250 1 rsp = rsp + 8 0x1254 2 <return> jump(pop)
POJ_16
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t 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 {"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 - 0xc {var_14}].d = 0 0x1176 5 rdi = rbp - 0x30 {var_38} 0x117a 6 esi = 0 0x117c 7 edx = 0x18 {"p"} 0x1181 8 call(0x1040) 0x1186 9 rdi = 0x2004 {"%d"} 0x118d 10 rsi = rbp - 8 {var_10} 0x1191 11 al = 0 0x1193 12 call(0x1050) 0x119c 13 if ([rbp - 8 {var_10}].d != 0) then 14 @ 0x11b0 else 15 @ 0x11a2 0x11b0 14 goto 19 @ 0x11b9 0x11a2 15 rdi = 0x2007 {"0"} 0x11a9 16 al = 0 0x11ab 17 call(0x1030) 0x11ab 18 goto 14 @ 0x11b0 0x11b9 19 if ([rbp - 8 {var_10}].d == 0) then 20 @ 0x11ee else 22 @ 0x11bf 0x11ee 20 [rbp - 0x10 {var_18}].d = 0 0x11ee 21 goto 56 @ 0x11f5 0x11bf 22 eax = [rbp - 8 {var_10}].d 0x11c2 23 ecx = 0xa {""} 0x11c7 24 temp2.d:temp3.d = sx.q(eax) 0x11c7 25 edx = temp2.d 0x11c7 26 eax = temp3.d 0x11c8 27 temp4.d = edx 0x11c8 28 temp5.d = eax 0x11c8 29 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11c8 30 temp6.d = edx 0x11c8 31 temp7.d = eax 0x11c8 32 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11c8 33 eax = temp0.d 0x11c8 34 edx = temp1.d 0x11ca 35 eax = [rbp - 0xc {var_14}].d 0x11cd 36 ecx = eax 0x11cf 37 ecx = ecx + 1 0x11d2 38 [rbp - 0xc {var_14}].d = ecx 0x11d5 39 rax = sx.q(eax) 0x11d7 40 [rbp + (rax << 2) - 0x30].d = edx 0x11db 41 eax = [rbp - 8 {var_10}].d 0x11de 42 ecx = 0xa {""} 0x11e3 43 temp8.d:temp9.d = sx.q(eax) 0x11e3 44 edx = temp8.d 0x11e3 45 eax = temp9.d 0x11e4 46 temp10.d = edx 0x11e4 47 temp11.d = eax 0x11e4 48 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11e4 49 temp12.d = edx 0x11e4 50 temp13.d = eax 0x11e4 51 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11e4 52 eax = temp0.d 0x11e4 53 edx = temp1.d 0x11e6 54 [rbp - 8 {var_10}].d = eax 0x11e9 55 goto 19 @ 0x11b9 0x11f5 56 eax = [rbp - 0x10 {var_18}].d 0x11fb 57 if (eax s>= [rbp - 0xc {var_14}].d) then 58 @ 0x1225 else 62 @ 0x1201 0x1225 58 eax = 0 0x1227 59 rsp = rsp + 0x30 0x122b 60 rbp = pop 0x122c 61 <return> jump(pop) 0x1201 62 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1205 63 esi = [rbp + (rax << 2) - 0x30].d 0x1209 64 rdi = 0x2004 {"%d"} 0x1210 65 al = 0 0x1212 66 call(0x1030) 0x1217 67 eax = [rbp - 0x10 {var_18}].d 0x121a 68 eax = eax + 1 0x121d 69 [rbp - 0x10 {var_18}].d = eax 0x1220 70 goto 56 @ 0x11f5 int64_t _fini(): 0x1234 0 rsp = rsp - 8 0x1238 1 rsp = rsp + 8 0x123c 2 <return> jump(pop)
POJ_16
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHHp"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x670 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x10 {var_18}].d = 0 0x1169 5 [rbp - 0x14 {var_1c}].d = 0 0x1170 6 rdi = 0x2004 {"%d"} 0x1177 7 rsi = rbp - 0xc {var_14} 0x117b 8 al = 0 0x117d 9 call(0x1040) 0x1182 10 [rbp - 8 {var_10}].d = 0 0x1182 11 goto 12 @ 0x1189 0x1189 12 eax = [rbp - 8 {var_10}].d 0x118f 13 if (eax s>= [rbp - 0xc {var_14}].d) then 14 @ 0x11d9 else 16 @ 0x1195 0x11d9 14 [rbp - 8 {var_10_1}].d = 0 0x11d9 15 goto 32 @ 0x11e0 0x1195 16 rax = sx.q([rbp - 8 {var_10}].d) 0x1199 17 rsi = rbp - 0x670 {var_678} 0x11a0 18 rax = rax * 0x18 0x11a4 19 rsi = rsi + rax 0x11a7 20 rax = sx.q([rbp - 8 {var_10}].d) 0x11ab 21 rdx = rbp - 0x670 {var_678} 0x11b2 22 rax = rax * 0x18 0x11b6 23 rdx = rdx + rax 0x11b9 24 rdx = rdx + 0x10 0x11bd 25 rdi = 0x2007 {"%s %lf"} 0x11c4 26 al = 0 0x11c6 27 call(0x1040) 0x11cb 28 eax = [rbp - 8 {var_10}].d 0x11ce 29 eax = eax + 1 0x11d1 30 [rbp - 8 {var_10}].d = eax 0x11d4 31 goto 12 @ 0x1189 0x11e0 32 eax = [rbp - 8 {var_10_1}].d 0x11e6 33 if (eax s>= [rbp - 0xc {var_14}].d) then 34 @ 0x129f else 36 @ 0x11ec 0x129f 34 [rbp - 8 {var_10_2}].d = 0 0x129f 35 goto 42 @ 0x12a6 0x11ec 36 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x11f0 37 rax = rbp - 0x670 {var_678} 0x11f7 38 rcx = rcx * 0x18 0x11fb 39 rax = rax + rcx 0x11fe 40 eax = sx.d([rax].b) 0x1204 41 if (eax != 0x6d) then 44 @ 0x123c else 50 @ 0x120a 0x12a6 42 eax = [rbp - 8 {var_10_2}].d 0x12ac 43 if (eax s>= [rbp - 0x10 {var_18}].d) then 61 @ 0x1360 else 67 @ 0x12b2 0x123c 44 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x1240 45 rax = rbp - 0x670 {var_678} 0x1247 46 rcx = rcx * 0x18 0x124b 47 rax = rax + rcx 0x124e 48 eax = sx.d([rax].b) 0x1254 49 if (eax != 0x66) then 69 @ 0x1287 else 70 @ 0x125a 0x120a 50 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x120e 51 rax = rbp - 0x670 {var_678} 0x1215 52 rcx = rcx * 0x18 0x1219 53 rax = rax + rcx 0x121c 54 xmm0 = zx.o([rax + 0x10].q) 0x1221 55 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1225 56 [rbp + (rax << 3) - 0x160].q = xmm0.q 0x122e 57 eax = [rbp - 0x10 {var_18}].d 0x1231 58 eax = eax + 1 0x1234 59 [rbp - 0x10 {var_18}].d = eax 0x1237 60 goto 81 @ 0x128c 0x1360 61 xmm0 = zx.o([rbp - 0x160 {var_168}].q) 0x1368 62 rdi = 0x200f {"%.2lf"} 0x136f 63 al = 1 0x1371 64 call(0x1030) 0x1376 65 [rbp - 8 {var_10_3}].d = 1 0x1376 66 goto 82 @ 0x137d 0x12b2 67 [rbp - 0x18 {var_20_1}].d = 0 0x12b2 68 goto 84 @ 0x12b9 0x1287 69 goto 81 @ 0x128c 0x125a 70 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x125e 71 rax = rbp - 0x670 {var_678} 0x1265 72 rcx = rcx * 0x18 0x1269 73 rax = rax + rcx 0x126c 74 xmm0 = zx.o([rax + 0x10].q) 0x1271 75 rax = sx.q([rbp - 0x14 {var_1c}].d) 0x1275 76 [rbp + (rax << 3) - 0x2a0].q = xmm0.q 0x127e 77 eax = [rbp - 0x14 {var_1c}].d 0x1281 78 eax = eax + 1 0x1284 79 [rbp - 0x14 {var_1c}].d = eax 0x1284 80 goto 69 @ 0x1287 0x128c 81 goto 88 @ 0x1291 0x137d 82 eax = [rbp - 8 {var_10_3}].d 0x1383 83 if (eax s>= [rbp - 0x10 {var_18}].d) then 92 @ 0x13b2 else 94 @ 0x1389 0x12b9 84 eax = [rbp - 0x18 {var_20_1}].d 0x12bc 85 ecx = [rbp - 0x10 {var_18}].d 0x12bf 86 ecx = ecx - 1 0x12c4 87 if (eax s>= ecx) then 103 @ 0x134d else 104 @ 0x12ca 0x1291 88 eax = [rbp - 8 {var_10_1}].d 0x1294 89 eax = eax + 1 0x1297 90 [rbp - 8 {var_10_1}].d = eax 0x129a 91 goto 32 @ 0x11e0 0x13b2 92 [rbp - 8 {var_10_4}].d = 0 0x13b2 93 goto 116 @ 0x13b9 0x1389 94 rax = sx.q([rbp - 8 {var_10_3}].d) 0x138d 95 xmm0 = zx.o([rbp + (rax << 3) - 0x160].q) 0x1396 96 rdi = 0x200e {" %.2lf"} 0x139d 97 al = 1 0x139f 98 call(0x1030) 0x13a4 99 eax = [rbp - 8 {var_10_3}].d 0x13a7 100 eax = eax + 1 0x13aa 101 [rbp - 8 {var_10_3}].d = eax 0x13ad 102 goto 82 @ 0x137d 0x134d 103 goto 118 @ 0x1352 0x12ca 104 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x12ce 105 xmm0 = zx.o([rbp + (rax << 3) - 0x160].q) 0x12d7 106 eax = [rbp - 0x18 {var_20_1}].d 0x12da 107 eax = eax + 1 0x12dd 108 rax = sx.q(eax) 0x12df 109 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0x160].q)) 0x12df 110 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0x160].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0x160].q)) 0x12df 111 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0x160].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0x160].q)) 0x12df 112 flag:s = 0 0x12df 113 flag:o = 0 0x12df 114 flag:a = 0 0x12e8 115 if (flag:z || flag:c) then 122 @ 0x133a else 123 @ 0x12ee 0x13b9 116 eax = [rbp - 8 {var_10_4}].d 0x13bf 117 if (eax s>= [rbp - 0x14 {var_1c}].d) then 138 @ 0x1477 else 140 @ 0x13c5 0x1352 118 eax = [rbp - 8 {var_10_2}].d 0x1355 119 eax = eax + 1 0x1358 120 [rbp - 8 {var_10_2}].d = eax 0x135b 121 goto 42 @ 0x12a6 0x133a 122 goto 142 @ 0x133f 0x12ee 123 eax = [rbp - 0x18 {var_20_1}].d 0x12f1 124 eax = eax + 1 0x12f4 125 rax = sx.q(eax) 0x12f6 126 xmm0 = zx.o([rbp + (rax << 3) - 0x160].q) 0x12ff 127 [rbp - 0x2a8 {var_2b0_1}].q = xmm0.q 0x1307 128 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x130b 129 xmm0 = zx.o([rbp + (rax << 3) - 0x160].q) 0x1314 130 eax = [rbp - 0x18 {var_20_1}].d 0x1317 131 eax = eax + 1 0x131a 132 rax = sx.q(eax) 0x131c 133 [rbp + (rax << 3) - 0x160].q = xmm0.q 0x1325 134 xmm0 = zx.o([rbp - 0x2a8 {var_2b0_1}].q) 0x132d 135 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x1331 136 [rbp + (rax << 3) - 0x160].q = xmm0.q 0x1331 137 goto 122 @ 0x133a 0x1477 138 [rbp - 0x18 {var_20_3}].d = 0 0x1477 139 goto 146 @ 0x147e 0x13c5 140 [rbp - 0x18 {var_20_2}].d = 0 0x13c5 141 goto 148 @ 0x13cc 0x133f 142 eax = [rbp - 0x18 {var_20_1}].d 0x1342 143 eax = eax + 1 0x1345 144 [rbp - 0x18 {var_20_1}].d = eax 0x1348 145 goto 84 @ 0x12b9 0x147e 146 eax = [rbp - 0x18 {var_20_3}].d 0x1484 147 if (eax s>= [rbp - 0x14 {var_1c}].d) then 152 @ 0x14b3 else 156 @ 0x148a 0x13cc 148 eax = [rbp - 0x18 {var_20_2}].d 0x13cf 149 ecx = [rbp - 0x14 {var_1c}].d 0x13d2 150 ecx = ecx - 1 0x13d7 151 if (eax s>= ecx) then 165 @ 0x1464 else 166 @ 0x13dd 0x14b3 152 eax = 0 0x14b5 153 rsp = rsp + 0x670 0x14bc 154 rbp = pop 0x14bd 155 <return> jump(pop) 0x148a 156 rax = sx.q([rbp - 0x18 {var_20_3}].d) 0x148e 157 xmm0 = zx.o([rbp + (rax << 3) - 0x2a0].q) 0x1497 158 rdi = 0x200e {" %.2lf"} 0x149e 159 al = 1 0x14a0 160 call(0x1030) 0x14a5 161 eax = [rbp - 0x18 {var_20_3}].d 0x14a8 162 eax = eax + 1 0x14ab 163 [rbp - 0x18 {var_20_3}].d = eax 0x14ae 164 goto 146 @ 0x147e 0x1464 165 goto 179 @ 0x1469 0x13dd 166 rax = sx.q([rbp - 0x18 {var_20_2}].d) 0x13e1 167 xmm1 = zx.o([rbp + (rax << 3) - 0x2a0].q) 0x13ea 168 eax = [rbp - 0x18 {var_20_2}].d 0x13ed 169 eax = eax + 1 0x13f0 170 rax = sx.q(eax) 0x13f2 171 xmm0 = zx.o([rbp + (rax << 3) - 0x2a0].q) 0x13fb 172 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x13fb 173 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13fb 174 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13fb 175 flag:s = 0 0x13fb 176 flag:o = 0 0x13fb 177 flag:a = 0 0x13ff 178 if (flag:z || flag:c) then 183 @ 0x1451 else 184 @ 0x1405 0x1469 179 eax = [rbp - 8 {var_10_4}].d 0x146c 180 eax = eax + 1 0x146f 181 [rbp - 8 {var_10_4}].d = eax 0x1472 182 goto 116 @ 0x13b9 0x1451 183 goto 199 @ 0x1456 0x1405 184 rax = sx.q([rbp - 0x18 {var_20_2}].d) 0x1409 185 xmm0 = zx.o([rbp + (rax << 3) - 0x2a0].q) 0x1412 186 [rbp - 0x2a8 {var_2b0_2}].q = xmm0.q 0x141a 187 eax = [rbp - 0x18 {var_20_2}].d 0x141d 188 eax = eax + 1 0x1420 189 rax = sx.q(eax) 0x1422 190 xmm0 = zx.o([rbp + (rax << 3) - 0x2a0].q) 0x142b 191 rax = sx.q([rbp - 0x18 {var_20_2}].d) 0x142f 192 [rbp + (rax << 3) - 0x2a0].q = xmm0.q 0x1438 193 xmm0 = zx.o([rbp - 0x2a8 {var_2b0_2}].q) 0x1440 194 eax = [rbp - 0x18 {var_20_2}].d 0x1443 195 eax = eax + 1 0x1446 196 rax = sx.q(eax) 0x1448 197 [rbp + (rax << 3) - 0x2a0].q = xmm0.q 0x1448 198 goto 183 @ 0x1451 0x1456 199 eax = [rbp - 0x18 {var_20_2}].d 0x1459 200 eax = eax + 1 0x145c 201 [rbp - 0x18 {var_20_2}].d = eax 0x145f 202 goto 148 @ 0x13cc int64_t _fini(): 0x14c4 0 rsp = rsp - 8 0x14c8 1 rsp = rsp + 8 0x14cc 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) 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 - 0x7e0 0x116c 4 rdi = 0x2004 {"%d %d"} 0x1173 5 rsi = rsp + 0xc {var_7ec} 0x1178 6 rdx = rsp + 8 {var_7f0} 0x117d 7 eax = 0 0x117f 8 call(0x1040) 0x1189 9 if ([rsp + 0xc {var_7ec}].d s<= 0) then 10 @ 0x11bf else 13 @ 0x118b 0x11bf 10 edi = 0xa {""} 0x11c4 11 call(0x1050) 0x11ce 12 if ([rsp + 8 {var_7f0}].d s<= 0) then 17 @ 0x11ff else 23 @ 0x11d0 0x118b 13 r15 = rsp + 0x1a0 {var_658} 0x1193 14 r14 = 0x2007 {"%d"} 0x119a 15 ebx = 0 0x119c 16 goto 27 @ 0x11a0 0x11ff 17 edi = 0xa {""} 0x1204 18 call(0x1050) 0x1209 19 r8d = [rsp + 0xc {var_7ec}].d 0x120e 20 r9d = r8d 0x1211 21 r9d = r9d * r8d 0x1218 22 if (r9d == 0) then 35 @ 0x1303 else 39 @ 0x1222 0x11d0 23 r15 = rsp + 0x10 {var_7e8} 0x11d5 24 r14 = 0x2007 {"%d"} 0x11dc 25 ebx = 0 0x11de 26 goto 40 @ 0x11e0 0x11a0 27 rdi = r14 0x11a3 28 rsi = r15 0x11a6 29 eax = 0 0x11a8 30 call(0x1040) 0x11ad 31 rbx = rbx + 1 0x11b1 32 rax = sx.q([rsp + 0xc {var_7ec}].d) 0x11b6 33 r15 = r15 + 4 0x11bd 34 if (rbx s< rax) then 27 @ 0x11a0 else 10 @ 0x11bf 0x1303 35 r11d = [rsp + 8 {var_7f0}].d 0x1308 36 r9d = r11d 0x130b 37 r9d = r9d * r11d 0x1312 38 if (r9d == 0) then 48 @ 0x13e1 else 50 @ 0x131c 0x1222 39 if (r8d s< 2) then 35 @ 0x1303 else 51 @ 0x1228 0x11e0 40 rdi = r14 0x11e3 41 rsi = r15 0x11e6 42 eax = 0 0x11e8 43 call(0x1040) 0x11ed 44 rbx = rbx + 1 0x11f1 45 rax = sx.q([rsp + 8 {var_7f0}].d) 0x11f6 46 r15 = r15 + 4 0x11fd 47 if (rbx s< rax) then 40 @ 0x11e0 else 17 @ 0x11ff 0x13e1 48 r11d = r11d + r8d 0x13e7 49 if (r11d s<= 0) then 56 @ 0x14d5 else 62 @ 0x13ed 0x131c 50 if (r11d s< 2) then 48 @ 0x13e1 else 65 @ 0x1322 0x1228 51 r10d = (r8 - 1).d 0x122c 52 esi = r10d 0x122f 53 esi = esi & 0xfffffffe 0x1232 54 edi = 1 0x1237 55 goto 70 @ 0x124e 0x14d5 56 eax = 0 0x14d7 57 rsp = rsp + 0x7e0 0x14de 58 rbx = pop 0x14df 59 r14 = pop 0x14e1 60 r15 = pop 0x14e3 61 <return> jump(pop) 0x13ed 62 rcx = sx.q(r8d) 0x13f0 63 r8d = r11d 0x13f7 64 if (r11d != 1) then 72 @ 0x13fd else 81 @ 0x13f9 0x1322 65 r10d = (r11 - 1).d 0x1326 66 edi = r10d 0x1329 67 edi = edi & 0xfffffffe 0x132c 68 ebx = 1 0x1331 69 goto 83 @ 0x134e 0x124e 70 edx = [rsp + 0x1a0 {var_658}].d 0x1259 71 if (r10d != 1) then 85 @ 0x1260 else 87 @ 0x125b 0x13fd 72 edi = r8d 0x1400 73 edi = edi & 0xfffffffe 0x1403 74 rax = rcx << 2 0x140b 75 rax = neg.q(rax) 0x140e 76 rbx = rsp + rax 0x1412 77 rbx = rbx + 0x10 0x1416 78 rdx = rsp + 0x1a0 {var_658} 0x141e 79 esi = 0 0x141e 80 goto 89 @ 0x1420 0x13f9 81 esi = 0 0x13fb 82 goto 92 @ 0x1460 0x134e 83 eax = [rsp + 0x10 {var_7e8}].d 0x1356 84 if (r10d != 1) then 93 @ 0x1360 else 95 @ 0x1358 0x1260 85 ecx = 0 0x1262 86 goto 97 @ 0x1286 0x125b 87 eax = 0 0x125d 88 goto 99 @ 0x12db 0x1420 89 cond:0 = rsi s< rcx 0x1423 90 rax = rbx 0x1426 91 if (cond:0) then 100 else 102 @ 0x142a 0x1460 92 if ((r8b & 1) == 0) then 108 @ 0x1485 else 109 @ 0x1462 0x1360 93 edx = 0 0x1362 94 goto 116 @ 0x1380 0x1358 95 esi = 0 0x135a 96 goto 118 @ 0x13c2 0x1286 97 eax = [rsp + (rcx << 2) + 0x1a4].d 0x128f 98 if (edx s>= eax) then 119 @ 0x12b0 else 124 @ 0x1291 0x12db 99 if ((r10b & 1) == 0) then 128 @ 0x1240 else 132 @ 0x12e1 0x1426 100 rax = rdx 0x1426 101 goto 102 @ 0x142a 0x142a 102 eax = [rax].d 0x142c 103 [rsp + (rsi << 2) + 0x330].d = eax 0x1433 104 rax = rsi + 1 0x1437 105 cond:1 = rax s< rcx 0x143a 106 rax = rbx 0x143d 107 if (cond:1) then 134 else 136 @ 0x1441 0x1485 108 if (r11d s<= 0) then 56 @ 0x14d5 else 142 @ 0x1487 0x1462 109 rax = rsi 0x1465 110 temp0.q = rax 0x1465 111 rax = rax - rcx 0x1465 112 cond:2 = temp0.q s< rcx 0x1468 113 rcx = rsp + (rsi << 2) + 0x1a0 0x1470 114 rax = rsp + (rax << 2) + 0x10 0x1475 115 if (cond:2) then 146 else 148 @ 0x1479 0x1380 116 esi = [rsp + (rdx << 2) + 0x14].d 0x1386 117 if (eax s>= esi) then 151 @ 0x13a0 else 156 @ 0x1388 0x13c2 118 if ((r10b & 1) == 0) then 160 @ 0x1340 else 164 @ 0x13c8 0x12b0 119 [rsp + (rcx << 2) + 0x1a0].d = eax 0x12b7 120 [rsp + (rcx << 2) + 0x1a4].d = edx 0x12be 121 rax = rcx + 2 0x12c2 122 ebx = [rsp + (rcx << 2) + 0x1a8].d 0x12cb 123 if (edx s>= ebx) then 166 @ 0x1270 else 170 @ 0x12cd 0x1291 124 edx = eax 0x1293 125 rax = rcx + 2 0x1297 126 ebx = [rsp + (rcx << 2) + 0x1a8].d 0x12a0 127 if (edx s>= ebx) then 166 @ 0x1270 else 173 @ 0x12a2 0x1240 128 eax = (rdi + 1).d 0x1243 129 cond:3 = edi == r9d 0x1246 130 edi = eax 0x1248 131 if (cond:3) then 35 @ 0x1303 else 70 @ 0x124e 0x12e1 132 ecx = [rsp + (rax << 2) + 0x1a4].d 0x12ea 133 if (edx s< ecx) then 128 @ 0x1240 else 174 @ 0x12f0 0x143d 134 rax = rdx 0x143d 135 goto 136 @ 0x1441 0x1441 136 eax = [rax + 4].d 0x1444 137 [rsp + (rsi << 2) + 0x334].d = eax 0x144b 138 rsi = rsi + 2 0x144f 139 rdx = rdx + 8 0x1453 140 rbx = rbx + 8 0x145a 141 if (rsi != rdi) then 89 @ 0x1420 else 92 @ 0x1460 0x1487 142 r15 = 0x2007 {"%d"} 0x148e 143 r14 = 0x200a {"%d "} 0x1495 144 ebx = 0 0x1497 145 goto 177 @ 0x14c4 0x1475 146 rax = rcx 0x1475 147 goto 148 @ 0x1479 0x1479 148 eax = [rax].d 0x147b 149 [rsp + (rsi << 2) + 0x330].d = eax 0x147b 150 goto 108 @ 0x1485 0x13a0 151 [rsp + (rdx << 2) + 0x10].d = esi 0x13a4 152 [rsp + (rdx << 2) + 0x14].d = eax 0x13a8 153 rsi = rdx + 2 0x13ac 154 ecx = [rsp + (rdx << 2) + 0x18].d 0x13b2 155 if (eax s>= ecx) then 180 @ 0x1370 else 184 @ 0x13b4 0x1388 156 eax = esi 0x138a 157 rsi = rdx + 2 0x138e 158 ecx = [rsp + (rdx << 2) + 0x18].d 0x1394 159 if (eax s>= ecx) then 180 @ 0x1370 else 187 @ 0x1396 0x1340 160 eax = (rbx + 1).d 0x1343 161 cond:4 = ebx == r9d 0x1346 162 ebx = eax 0x1348 163 if (cond:4) then 48 @ 0x13e1 else 83 @ 0x134e 0x13c8 164 ecx = [rsp + (rsi << 2) + 0x14].d 0x13ce 165 if (eax s< ecx) then 160 @ 0x1340 else 188 @ 0x13d4 0x1270 166 [rsp + (rcx << 2) + 0x1a4].d = ebx 0x1277 167 [rsp + (rcx << 2) + 0x1a8].d = edx 0x127e 168 rcx = rax 0x1284 169 if (rsi == rax) then 99 @ 0x12db else 97 @ 0x1286 0x12cd 170 edx = ebx 0x12cf 171 rcx = rax 0x12d5 172 if (rsi != rax) then 97 @ 0x1286 else 99 @ 0x12db 0x12a2 173 goto 170 @ 0x12cd 0x12f0 174 [rsp + (rax << 2) + 0x1a0].d = ecx 0x12f7 175 [rsp + (rax << 2) + 0x1a4].d = edx 0x12fe 176 goto 128 @ 0x1240 0x14c4 177 r11d = r11d - 1 0x14c8 178 rdi = r15 0x14ce 179 if (rbx == r11) then 191 @ 0x14a0 else 199 @ 0x14d0 0x1370 180 [rsp + (rdx << 2) + 0x14].d = ecx 0x1374 181 [rsp + (rdx << 2) + 0x18].d = eax 0x1378 182 rdx = rsi 0x137e 183 if (rdi == rsi) then 118 @ 0x13c2 else 116 @ 0x1380 0x13b4 184 eax = ecx 0x13b6 185 rdx = rsi 0x13bc 186 if (rdi != rsi) then 116 @ 0x1380 else 118 @ 0x13c2 0x1396 187 goto 184 @ 0x13b4 0x13d4 188 [rsp + (rsi << 2) + 0x10].d = ecx 0x13d8 189 [rsp + (rsi << 2) + 0x14].d = eax 0x13dc 190 goto 160 @ 0x1340 0x14a0 191 esi = [rsp + (rbx << 2) + 0x330].d 0x14a7 192 eax = 0 0x14a9 193 call(0x1030) 0x14ae 194 rbx = rbx + 1 0x14b2 195 rax = sx.q([rsp + 0xc {var_7ec}].d) 0x14b7 196 r11 = sx.q([rsp + 8 {var_7f0}].d) 0x14bc 197 r11 = r11 + rax 0x14c2 198 if (rbx s>= r11) then 56 @ 0x14d5 else 177 @ 0x14c4 0x14d0 199 rdi = r14 0x14d3 200 goto 191 @ 0x14a0 int64_t _fini(): 0x14e8 0 rsp = rsp - 8 0x14ec 1 rsp = rsp + 8 0x14f0 2 <return> jump(pop)
POJ_8
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 = 0x1230 {"UAWAVATSHH= "} 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 judge(double arg1, uint64_t arg2[0x2] @ zmm0, uint64_t arg3[0x2] @ zmm4): 0x1170 0 push(rbp) 0x1171 1 push(r14) 0x1173 2 push(rbx) 0x1174 3 rsp = rsp - 0x10 0x1178 4 ebp = edi 0x117a 5 r14d = 0 0x1181 6 if ((bpl & 1) == 0) then 7 @ 0x11c7 else 13 @ 0x1183 0x11c7 7 eax = r14d 0x11ca 8 rsp = rsp + 0x10 0x11ce 9 rbx = pop 0x11cf 10 r14 = pop 0x11d1 11 rbp = pop 0x11d2 12 <return> jump(pop) 0x1183 13 xmm2.q = float.d(ebp) 0x1187 14 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x118b 15 flag:p = is_unordered.q(xmm2.q, xmm0.q) 0x118b 16 flag:c = xmm2.q f< xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x118b 17 flag:z = xmm2.q f== xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x118b 18 flag:s = 0 0x118b 19 flag:o = 0 0x118b 20 flag:a = 0 0x118f 21 [rsp {var_28_1}].q = xmm2.q 0x1194 22 if (flag:c) then 23 @ 0x11a9 else 33 @ 0x1196 0x11a9 23 xmm0 = xmm2 0x11ad 24 call(0x1050) 0x11b2 25 xmm2 = zx.o([rsp {var_28_1}].q) 0x11b7 26 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11b7 27 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11b7 28 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11b7 29 flag:s = 0 0x11b7 30 flag:o = 0 0x11b7 31 flag:a = 0 0x11bf 32 if (not(flag:c)) then 42 @ 0x11d3 else 47 @ 0x11c1 0x1196 33 xmm0 = 0 0x1199 34 xmm0 = _mm_sqrt_sd(xmm2.q) 0x119d 35 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x119d 36 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x119d 37 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x119d 38 flag:s = 0 0x119d 39 flag:o = 0 0x119d 40 flag:a = 0 0x11a5 41 if (flag:c) then 47 @ 0x11c1 else 49 @ 0x11a7 0x11d3 42 ebx = 3 0x11d8 43 xmm3 = _mm_sqrt_sd(xmm2.q) 0x11dc 44 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x11e0 45 [rsp + 8 {var_20_1}].q = xmm3.q 0x11e6 46 goto 50 @ 0x11fd 0x11c1 47 r14d = 1 0x11c1 48 goto 7 @ 0x11c7 0x11a7 49 goto 42 @ 0x11d3 0x11fd 50 eax = ebp 0x11ff 51 temp2.d:temp3.d = sx.q(eax) 0x11ff 52 edx = temp2.d 0x11ff 53 eax = temp3.d 0x1200 54 temp4.d = edx 0x1200 55 temp5.d = eax 0x1200 56 temp0.d = divs.dp.d(temp4.d:temp5.d, ebx) 0x1200 57 temp6.d = edx 0x1200 58 temp7.d = eax 0x1200 59 temp1.d = mods.dp.d(temp6.d:temp7.d, ebx) 0x1200 60 eax = temp0.d 0x1200 61 edx = temp1.d 0x1204 62 if (edx == 0) then 7 @ 0x11c7 else 63 @ 0x1206 0x1206 63 ebx = ebx + 2 0x1209 64 flag:p = is_unordered.q(xmm2.q, xmm4.q) 0x1209 65 flag:c = xmm2.q f< xmm4.q | is_unordered.q(xmm2.q, xmm4.q) 0x1209 66 flag:z = xmm2.q f== xmm4.q | is_unordered.q(xmm2.q, xmm4.q) 0x1209 67 flag:s = 0 0x1209 68 flag:o = 0 0x1209 69 flag:a = 0 0x120d 70 xmm0 = xmm3 0x1211 71 if (not(flag:c)) then 72 @ 0x11f0 else 81 @ 0x1213 0x11f0 72 xmm1 = 0 0x11f3 73 xmm1.q = float.d(ebx) 0x11f7 74 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x11f7 75 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11f7 76 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11f7 77 flag:s = 0 0x11f7 78 flag:o = 0 0x11f7 79 flag:a = 0 0x11fb 80 if (flag:c) then 47 @ 0x11c1 else 50 @ 0x11fd 0x1213 81 xmm0 = xmm2 0x1217 82 call(0x1050) 0x121c 83 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x1220 84 xmm3 = zx.o([rsp + 8 {var_20_1}].q) 0x1226 85 xmm2 = zx.o([rsp {var_28_1}].q) 0x122b 86 goto 72 @ 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(r12) 0x1237 4 push(rbx) 0x1238 5 rsp = rsp - 0x10 0x123c 6 rdi = 0x2018 {"%d"} 0x1243 7 rsi = rsp + 0xc {var_2c} 0x1248 8 eax = 0 0x124a 9 call(0x1040) 0x1254 10 if ([rsp + 0xc {var_2c}].d s< 4) then 11 @ 0x13e9 else 14 @ 0x125a 0x13e9 11 rdi = 0x2022 {"empty"} 0x13f0 12 call(0x1060) 0x13f0 13 goto 18 @ 0x13f5 0x125a 14 ebx = 2 0x125f 15 r14 = 0x201b {"%d %d\n"} 0x1266 16 r15d = 0 0x1269 17 goto 25 @ 0x129a 0x13f5 18 rsp = rsp + 0x10 0x13f9 19 rbx = pop 0x13fa 20 r12 = pop 0x13fc 21 r14 = pop 0x13fe 22 r15 = pop 0x1400 23 rbp = pop 0x1401 24 <return> jump(pop) 0x129a 25 if ((bl & 1) == 0) then 26 @ 0x1283 else 32 @ 0x129c 0x1283 26 eax = (rbx + 1).d 0x1286 27 ecx = [rsp + 0xc {var_2c}].d 0x128a 28 ecx = ecx - 2 0x128d 29 cond:0 = ebx s>= ecx 0x128f 30 ebx = eax 0x1291 31 if (cond:0) then 42 @ 0x13e7 else 25 @ 0x129a 0x129c 32 xmm2 = 0 0x129f 33 xmm2.q = float.d(ebx) 0x12a3 34 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12a3 35 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12a3 36 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12a3 37 flag:s = 0 0x12a3 38 flag:o = 0 0x12a3 39 flag:a = 0 0x12ab 40 [rsp {var_38_1}].q = xmm2.q 0x12b0 41 if (flag:c) then 43 @ 0x12d0 else 53 @ 0x12b2 0x13e7 42 if (r15d != 0) then 18 @ 0x13f5 else 11 @ 0x13e9 0x12d0 43 xmm0 = xmm2 0x12d4 44 call(0x1050) 0x12d9 45 xmm2 = zx.o([rsp {var_38_1}].q) 0x12de 46 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12de 47 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12de 48 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12de 49 flag:s = 0 0x12de 50 flag:o = 0 0x12de 51 flag:a = 0 0x12e6 52 if (not(flag:c)) then 62 @ 0x1320 else 64 @ 0x12e8 0x12b2 53 xmm0 = 0 0x12b5 54 xmm0 = _mm_sqrt_sd(xmm2.q) 0x12b9 55 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12b9 56 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12b9 57 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12b9 58 flag:s = 0 0x12b9 59 flag:o = 0 0x12b9 60 flag:a = 0 0x12c1 61 if (flag:c) then 64 @ 0x12e8 else 75 @ 0x12c3 0x1320 62 ebp = 3 0x1325 63 goto 76 @ 0x134b 0x12e8 64 r12d = (rbx + 2).d 0x12ec 65 xmm2 = 0 0x12ef 66 xmm2.q = float.d(r12d) 0x12f4 67 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12f4 68 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12f4 69 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12f4 70 flag:s = 0 0x12f4 71 flag:o = 0 0x12f4 72 flag:a = 0 0x12fc 73 [rsp {var_38_2}].q = xmm2.q 0x1301 74 if (flag:c) then 88 @ 0x136f else 98 @ 0x1303 0x12c3 75 goto 62 @ 0x1320 0x134b 76 eax = ebx 0x134d 77 edx = 0 0x134f 78 temp2.d = ebp 0x134f 79 temp3.d = edx 0x134f 80 temp4.d = eax 0x134f 81 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x134f 82 temp5.d = edx 0x134f 83 temp6.d = eax 0x134f 84 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x134f 85 eax = temp0.d 0x134f 86 edx = temp1.d 0x1353 87 if (edx == 0) then 26 @ 0x1283 else 107 @ 0x1359 0x136f 88 xmm0 = xmm2 0x1373 89 call(0x1050) 0x1378 90 xmm2 = zx.o([rsp {var_38_2}].q) 0x137d 91 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x137d 92 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x137d 93 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x137d 94 flag:s = 0 0x137d 95 flag:o = 0 0x137d 96 flag:a = 0 0x1385 97 if (flag:c) then 115 @ 0x1270 else 122 @ 0x138b 0x1303 98 xmm0 = 0 0x1306 99 xmm0 = _mm_sqrt_sd(xmm2.q) 0x130a 100 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x130a 101 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x130a 102 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x130a 103 flag:s = 0 0x130a 104 flag:o = 0 0x130a 105 flag:a = 0 0x1312 106 if (flag:c) then 115 @ 0x1270 else 124 @ 0x1318 0x1359 107 ebp = ebp + 2 0x135c 108 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x135c 109 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x135c 110 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x135c 111 flag:s = 0 0x135c 112 flag:o = 0 0x135c 113 flag:a = 0 0x1364 114 if (flag:c) then 125 @ 0x1330 else 129 @ 0x1366 0x1270 115 rdi = r14 0x1273 116 esi = ebx 0x1275 117 edx = r12d 0x1278 118 eax = 0 0x127a 119 call(0x1030) 0x127f 120 r15d = r15d + 1 0x127f 121 goto 26 @ 0x1283 0x138b 122 ebp = 3 0x1390 123 goto 132 @ 0x13bf 0x1318 124 goto 122 @ 0x138b 0x1330 125 xmm0 = xmm2 0x1334 126 call(0x1050) 0x1339 127 xmm2 = zx.o([rsp {var_38_1}].q) 0x1339 128 goto 144 @ 0x133e 0x1366 129 xmm0 = 0 0x1369 130 xmm0 = _mm_sqrt_sd(xmm2.q) 0x136d 131 goto 144 @ 0x133e 0x13bf 132 eax = r12d 0x13c2 133 edx = 0 0x13c4 134 temp2.d = ebp 0x13c4 135 temp7.d = edx 0x13c4 136 temp8.d = eax 0x13c4 137 temp0.d = divu.dp.d(temp7.d:temp8.d, temp2.d) 0x13c4 138 temp9.d = edx 0x13c4 139 temp10.d = eax 0x13c4 140 temp1.d = modu.dp.d(temp9.d:temp10.d, temp2.d) 0x13c4 141 eax = temp0.d 0x13c4 142 edx = temp1.d 0x13c8 143 if (edx == 0) then 26 @ 0x1283 else 153 @ 0x13ce 0x133e 144 xmm1 = 0 0x1341 145 xmm1.q = float.d(ebp) 0x1345 146 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1345 147 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1345 148 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1345 149 flag:s = 0 0x1345 150 flag:o = 0 0x1345 151 flag:a = 0 0x1349 152 if (flag:c) then 64 @ 0x12e8 else 76 @ 0x134b 0x13ce 153 ebp = ebp + 2 0x13d1 154 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13d1 155 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13d1 156 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13d1 157 flag:s = 0 0x13d1 158 flag:o = 0 0x13d1 159 flag:a = 0 0x13d9 160 if (flag:c) then 161 @ 0x13a0 else 165 @ 0x13db 0x13a0 161 xmm0 = xmm2 0x13a4 162 call(0x1050) 0x13a9 163 xmm2 = zx.o([rsp {var_38_2}].q) 0x13a9 164 goto 168 @ 0x13ae 0x13db 165 xmm0 = 0 0x13de 166 xmm0 = _mm_sqrt_sd(xmm2.q) 0x13e2 167 goto 168 @ 0x13ae 0x13ae 168 xmm1 = 0 0x13b1 169 xmm1.q = float.d(ebp) 0x13b5 170 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x13b5 171 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13b5 172 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13b5 173 flag:s = 0 0x13b5 174 flag:o = 0 0x13b5 175 flag:a = 0 0x13b9 176 if (flag:c) then 115 @ 0x1270 else 132 @ 0x13bf int64_t _fini(): 0x1408 0 rsp = rsp - 8 0x140c 1 rsp = rsp + 8 0x1410 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 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"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 - 0x400 0x1170 6 rdi = 0x2004 {"%d"} 0x1177 7 rsi = rsp + 0xc {var_41c} 0x117c 8 eax = 0 0x117e 9 call(0x1040) 0x1188 10 if ([rsp + 0xc {var_41c}].d s<= 0) then 11 @ 0x12c9 else 18 @ 0x118e 0x12c9 11 rsp = rsp + 0x400 0x12d0 12 rbx = pop 0x12d1 13 r12 = pop 0x12d3 14 r13 = pop 0x12d5 15 r14 = pop 0x12d7 16 r15 = pop 0x12d9 17 <return> jump(pop) 0x118e 18 r15 = rsp + 0x10 {var_418} 0x1193 19 r14 = 0x2007 {"%s"} 0x119a 20 ebx = 0 0x119c 21 goto 22 @ 0x11a0 0x11a0 22 rdi = r14 0x11a3 23 rsi = r15 0x11a6 24 eax = 0 0x11a8 25 call(0x1040) 0x11ad 26 rbx = rbx + 1 0x11b1 27 rax = sx.q([rsp + 0xc {var_41c}].d) 0x11b6 28 r15 = r15 + 0x14 0x11bd 29 if (rbx s< rax) then 22 @ 0x11a0 else 30 @ 0x11c1 0x11c1 30 if (eax s<= 0) then 11 @ 0x12c9 else 31 @ 0x11c7 0x11c7 31 r13 = rsp + 0x10 {var_418} 0x11cc 32 r15d = 0xfffffffe {""} 0x11d2 33 r12d = 0 0x11d5 34 goto 35 @ 0x1200 0x1200 35 rax = r12 + (r12 << 2) 0x1204 36 r14 = rsp + (rax << 2) 0x1208 37 r14 = r14 + 0x10 0x120c 38 rdi = r14 0x120f 39 call(0x1030) 0x1214 40 ecx = (rax - 1).d 0x1217 41 rcx = sx.q(ecx) 0x121a 42 cl = [rcx + r14].b 0x1221 43 if (cl == 0x72) then 44 @ 0x1263 else 45 @ 0x1226 0x1263 44 if (eax s< 3) then 46 @ 0x11e0 else 52 @ 0x1269 0x1226 45 if (cl != 0x79) then 55 @ 0x1293 else 56 @ 0x122b 0x11e0 46 edi = 0xa {""} 0x11e5 47 call(0x1050) 0x11ea 48 r12 = r12 + 1 0x11ee 49 rax = sx.q([rsp + 0xc {var_41c}].d) 0x11f3 50 r13 = r13 + 0x14 0x11fa 51 if (r12 s>= rax) then 11 @ 0x12c9 else 35 @ 0x1200 0x1269 52 r14d = (rax + r15).d 0x126d 53 ebx = 0 0x126f 54 goto 57 @ 0x1270 0x1293 55 if (eax s< 4) then 46 @ 0x11e0 else 61 @ 0x1299 0x122b 56 if (eax s< 3) then 46 @ 0x11e0 else 65 @ 0x122d 0x1270 57 edi = sx.d([r13 + rbx].b) 0x1276 58 call(0x1050) 0x127b 59 rbx = rbx + 1 0x1282 60 if (r14 != rbx) then 57 @ 0x1270 else 68 @ 0x1284 0x1299 61 r14d = (r15 + rax).d 0x129d 62 r14d = r14d - 1 0x12a1 63 ebx = 0 0x12ad 64 goto 69 @ 0x12b0 0x122d 65 r14d = (rax + r15).d 0x1231 66 ebx = 0 0x123d 67 goto 73 @ 0x1240 0x1284 68 goto 46 @ 0x11e0 0x12b0 69 edi = sx.d([r13 + rbx].b) 0x12b6 70 call(0x1050) 0x12bb 71 rbx = rbx + 1 0x12c2 72 if (r14 != rbx) then 69 @ 0x12b0 else 77 @ 0x12c4 0x1240 73 edi = sx.d([r13 + rbx].b) 0x1246 74 call(0x1050) 0x124b 75 rbx = rbx + 1 0x1252 76 if (r14 != rbx) then 73 @ 0x1240 else 78 @ 0x1254 0x12c4 77 goto 46 @ 0x11e0 0x1254 78 goto 46 @ 0x11e0 int64_t _fini(): 0x12e0 0 rsp = rsp - 8 0x12e4 1 rsp = rsp + 8 0x12e8 2 <return> jump(pop)
POJ_57
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int64_t malloc(uint64_t bytes): 0x1050 0 <return> tailcall([0x4028].q) int32_t putchar(int32_t c): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"AWAVATSPH="} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(r15) 0x1172 1 push(r14) 0x1174 2 push(r12) 0x1176 3 push(rbx) 0x1177 4 push(rax) 0x1178 5 rdi = 0x2004 {"%d"} 0x117f 6 rsi = rsp + 4 {var_28+0x4} 0x1184 7 eax = 0 0x1186 8 call(0x1040) 0x118b 9 rbx = sx.q([rsp + 4 {var_28+0x4}].d) 0x1190 10 rdi = rbx << 2 0x1198 11 call(0x1050) 0x11a0 12 if (rbx s<= 0) then 13 @ 0x1235 else 20 @ 0x11a6 0x1235 13 eax = 0 0x1237 14 rsp = rsp + 8 0x123b 15 rbx = pop 0x123c 16 r12 = pop 0x123e 17 r14 = pop 0x1240 18 r15 = pop 0x1242 19 <return> jump(pop) 0x11a6 20 r15 = rax 0x11a9 21 r14 = 0x2004 {"%d"} 0x11b0 22 r12 = rax 0x11b3 23 ebx = 0 0x11bf 24 goto 25 @ 0x11c0 0x11c0 25 rdi = r14 0x11c3 26 rsi = r12 0x11c6 27 eax = 0 0x11c8 28 call(0x1040) 0x11cd 29 rbx = rbx + 1 0x11d1 30 rax = sx.q([rsp + 4 {var_28+0x4}].d) 0x11d6 31 r12 = r12 + 4 0x11dd 32 if (rbx s< rax) then 25 @ 0x11c0 else 33 @ 0x11e1 0x11e1 33 if (eax s<= 0) then 13 @ 0x1235 else 34 @ 0x11e3 0x11e3 34 ebx = eax 0x11e5 35 r14 = 0x2004 {"%d"} 0x11ec 36 r12 = rbx - 1 0x11f0 37 eax = eax 0x11f5 38 if (rbx == rax) then 39 @ 0x120a else 45 @ 0x11f7 0x120a 39 eax = r12d 0x120d 40 esi = [r15 + (rax << 2)].d 0x1211 41 rdi = r14 0x1214 42 eax = 0 0x1216 43 call(0x1030) 0x121f 44 if (rbx u< 2) then 13 @ 0x1235 else 46 @ 0x1221 0x11f7 45 goto 51 @ 0x1200 0x1221 46 eax = [rsp + 4 {var_28+0x4}].d 0x1225 47 rbx = r12 0x1228 48 r12 = rbx - 1 0x122c 49 eax = eax 0x1231 50 if (rbx != rax) then 51 @ 0x1200 else 54 @ 0x1233 0x1200 51 edi = 0x20 {"@"} 0x1205 52 call(0x1060) 0x1205 53 goto 39 @ 0x120a 0x1233 54 goto 39 @ 0x120a int64_t _fini(): 0x1248 0 rsp = rsp - 8 0x124c 1 rsp = rsp + 8 0x1250 2 <return> jump(pop)
POJ_47
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAVSH H"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r14) 0x1153 2 push(rbx) 0x1154 3 rsp = rsp - 0x20 0x1158 4 rbx = 0x2004 {"%d%d%d"} 0x115f 5 ebp = 0 0x1161 6 rsi = rsp + 0xc {var_2c} 0x1166 7 rdx = rsp + 8 {var_30} 0x116b 8 rcx = rsp + 0x14 {var_24} 0x1170 9 rdi = rbx 0x1173 10 eax = 0 0x1175 11 call(0x1040) 0x117a 12 rsi = rsp + 0x1c {var_1c} 0x117f 13 rdx = rsp + 0x18 {var_20} 0x1184 14 rcx = rsp + 0x10 {var_28} 0x1189 15 rdi = rbx 0x118c 16 eax = 0 0x118e 17 call(0x1040) 0x1193 18 r11d = [rsp + 0x1c {var_1c}].d 0x1198 19 edi = [rsp + 0xc {var_2c}].d 0x119c 20 ebx = [rsp + 8 {var_30}].d 0x11a0 21 r9d = [rsp + 0x18 {var_20}].d 0x11a5 22 r8d = 0xad5 {""} 0x11ab 23 goto 24 @ 0x11c8 0x11c8 24 sil = (dil & 3) != 0 0x11cc 25 edx = edi * -0x3d70a3d7 0x11d2 26 edx = edx + 0x51eb850 0x11d8 27 edx = ror.d(edx, 2) 0x11db 28 flag:c = edx u< 0x28f5c29 0x11e1 29 dl = flag:c 0x11e4 30 dl = dl | sil 0x11e7 31 r14 = sx.q(edi) 0x11ea 32 rsi = r14 * 0x51eb851f 0x11f1 33 r10 = rsi 0x11f4 34 r10 = r10 u>> 0x3f 0x11f8 35 rsi = rsi s>> 0x27 0x11fc 36 esi = esi + r10d 0x11ff 37 esi = esi * 0x190 0x1205 38 r14d = r14d - esi 0x1208 39 goto 40 @ 0x123e 0x123e 40 esi = ebp 0x1240 41 cond:0 = edi != r11d 0x1243 42 if (edi s< r11d) then 43 @ 0x124c else 45 @ 0x1245 0x124c 43 ebp = (rbx - 1).d 0x1252 44 if (ebp u>= 0xc) then 46 @ 0x1267 else 47 @ 0x1254 0x1245 45 if (cond:0) then 52 @ 0x127a else 63 @ 0x124a 0x1267 46 if (dl == 0) then 64 @ 0x126e else 66 @ 0x126c 0x1254 47 eax = (rbx - 1).d 0x1257 48 eax = zx.d(al) 0x125a 49 ebp = 0x1f {""} 0x125f 50 flag:c = test_bit(r8d, eax) 0x1263 51 if (flag:c) then 67 @ 0x122c else 46 @ 0x1267 0x127a 52 esi = esi + [rsp + 0x10 {var_28}].d 0x127e 53 esi = esi - [rsp + 0x14 {var_24}].d 0x1282 54 rdi = 0x200b {"%d\n"} 0x1289 55 eax = 0 0x128b 56 call(0x1030) 0x1290 57 eax = 0 0x1292 58 rsp = rsp + 0x20 0x1296 59 rbx = pop 0x1297 60 r14 = pop 0x1299 61 rbp = pop 0x129a 62 <return> jump(pop) 0x124a 63 if (ebx s>= r9d) then 52 @ 0x127a else 43 @ 0x124c 0x126e 64 ebp = 0x1d {""} 0x1276 65 if (ebx == 2) then 67 @ 0x122c else 71 @ 0x1278 0x126c 66 if (r14d != 0) then 72 @ 0x1213 else 64 @ 0x126e 0x122c 67 ebp = ebp + esi 0x122e 68 ebx = ebx + 1 0x1231 69 [rsp + 8 {var_30}].d = ebx 0x1238 70 if (ebx == 0xd) then 81 @ 0x11b0 else 40 @ 0x123e 0x1278 71 goto 72 @ 0x1213 0x1213 72 al = r14d != 0 0x1219 73 cl = ebx == 2 0x121c 74 cl = cl & al 0x121e 75 cl = cl & dl 0x1220 76 cl = cl ^ 1 0x1223 77 eax = zx.d(cl) 0x1226 78 ebp = (rax + rax).d 0x1229 79 ebp = ebp + 0x1c 0x1229 80 goto 67 @ 0x122c 0x11b0 81 [rsp + 8 {var_30}].d = 1 0x11b8 82 edi = edi + 1 0x11bb 83 [rsp + 0xc {var_2c}].d = edi 0x11bf 84 ebx = 1 0x11bf 85 goto 24 @ 0x11c8 int64_t date(int32_t arg1, int32_t arg2): 0x12a0 0 ecx = (rsi - 1).d 0x12a6 1 if (ecx u>= 0xc) then 2 @ 0x12bb else 11 @ 0x12a8 0x12bb 2 al = (dil & 3) != 0 0x12be 3 ecx = edi * -0x3d70a3d7 0x12c4 4 ecx = ecx + 0x51eb850 0x12ca 5 edx = ecx 0x12cc 6 edx = ror.d(edx, 2) 0x12cf 7 flag:c = edx u< 0x28f5c29 0x12d5 8 dl = flag:c 0x12d8 9 dl = dl | al 0x12dd 10 if (dl != 1) then 15 @ 0x12eb else 17 @ 0x12df 0x12a8 11 eax = 0x1f {""} 0x12ad 12 edx = 0xad5 {""} 0x12b2 13 flag:c = test_bit(edx, ecx) 0x12b5 14 if (flag:c) then 20 @ 0x12f5 else 2 @ 0x12bb 0x12eb 15 eax = 0x1d {""} 0x12f3 16 if (esi != 2) then 21 @ 0x12f8 else 20 @ 0x12f5 0x12df 17 eax = ecx 0x12e1 18 eax = ror.d(eax, 4) 0x12e9 19 if (eax u> 0xa3d70a) then 21 @ 0x12f8 else 15 @ 0x12eb 0x12f5 20 <return> jump(pop) 0x12f8 21 if (dl == 0) then 22 @ 0x130f else 24 @ 0x12fa 0x130f 22 eax = 0x1e {""} 0x1314 23 <return> jump(pop) 0x12fa 24 ecx = ror.d(ecx, 4) 0x1303 25 if (ecx u< 0xa3d70b) then 22 @ 0x130f else 26 @ 0x1305 0x1305 26 eax = 0x1c {""} 0x130d 27 if (esi == 2) then 20 @ 0x12f5 else 22 @ 0x130f int64_t _fini(): 0x131c 0 rsp = rsp - 8 0x1320 1 rsp = rsp + 8 0x1324 2 <return> jump(pop)
POJ_80
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) void __cxa_finalize(void* d): 0x1040 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1054 0 ebp = 0 0x1056 1 r9 = rdx 0x1059 2 rsi = pop 0x105a 3 rdx = rsp {arg_8} 0x105d 4 rsp = rsp & 0xfffffffffffffff0 0x1061 5 push(rax) 0x1062 6 push(rsp) 0x1063 7 r8d = 0 0x1066 8 ecx = 0 0x1068 9 rdi = 0x1140 {"UHHPE"} 0x106f 10 call([0x3ff8].q) 0x106f 11 noreturn void deregister_tm_clones(): 0x1080 0 rdi = 0x4030 {""} 0x1087 1 rax = 0x4030 {""} 0x1091 2 if (rax == rdi) then 3 @ 0x10a8 else 4 @ 0x1093 0x10a8 3 <return> jump(pop) 0x1093 4 rax = [0x3fd8].q 0x109d 5 if (rax == 0) then 3 @ 0x10a8 else 6 @ 0x109f 0x109f 6 <return> tailcall(rax) void register_tm_clones(): 0x10b0 0 rdi = 0x4030 {""} 0x10b7 1 rsi = 0x4030 {""} 0x10be 2 rsi = rsi - rdi 0x10c1 3 rax = rsi 0x10c4 4 rsi = rsi u>> 0x3f 0x10c8 5 rax = rax s>> 3 0x10cc 6 rsi = rsi + rax 0x10cf 7 rsi = rsi s>> 1 0x10d2 8 if (rsi == 0) then 9 @ 0x10e8 else 10 @ 0x10d4 0x10e8 9 <return> jump(pop) 0x10d4 10 rax = [0x3ff0].q 0x10de 11 if (rax == 0) then 9 @ 0x10e8 else 12 @ 0x10e0 0x10e0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x10fb 0 if ([0x4030].b != 0) then 1 @ 0x1128 else 2 @ 0x10fd 0x1128 1 <return> jump(pop) 0x10fd 2 push(rbp) 0x10fe 3 cond:0 = [0x3fe0].q == 0 0x1106 4 rbp = rsp {__saved_rbp} 0x1109 5 if (cond:0) then 6 @ 0x1117 else 10 @ 0x110b 0x1117 6 call(0x1080) 0x111c 7 [0x4030].b = 1 0x1123 8 rbp = pop 0x1124 9 <return> jump(pop) 0x110b 10 rdi = [0x4028].q 0x1112 11 call(0x1040) 0x1112 12 goto 6 @ 0x1117 int64_t frame_dummy(): 0x1134 0 <return> tailcall(0x10b0) int32_t main(int32_t argc, char** argv, char** envp): 0x1140 0 push(rbp) 0x1141 1 rbp = rsp {__saved_rbp} 0x1144 2 rsp = rsp - 0x50 0x1148 3 [rbp - 4 {var_c}].d = 0 0x114f 4 [rbp - 8 {var_10}].d = 1 0x114f 5 goto 6 @ 0x115a 0x115a 6 if ([rbp - 8 {var_10}].d s> 5) then 7 @ 0x136d else 11 @ 0x1160 0x136d 7 eax = 0 0x136f 8 rsp = rsp + 0x50 0x1373 9 rbp = pop 0x1374 10 <return> jump(pop) 0x1160 11 [rbp - 0xc {var_14_1}].d = 1 0x1160 12 goto 13 @ 0x116b 0x116b 13 if ([rbp - 0xc {var_14_1}].d s> 5) then 14 @ 0x135a else 15 @ 0x1171 0x135a 14 goto 17 @ 0x135f 0x1171 15 [rbp - 0x10 {var_18_1}].d = 1 0x1171 16 goto 21 @ 0x117c 0x135f 17 eax = [rbp - 8 {var_10}].d 0x1362 18 eax = eax + 1 0x1365 19 [rbp - 8 {var_10}].d = eax 0x1368 20 goto 6 @ 0x115a 0x117c 21 if ([rbp - 0x10 {var_18_1}].d s> 5) then 22 @ 0x1347 else 23 @ 0x1182 0x1347 22 goto 25 @ 0x134c 0x1182 23 [rbp - 0x14 {var_1c_1}].d = 1 0x1182 24 goto 29 @ 0x118d 0x134c 25 eax = [rbp - 0xc {var_14_1}].d 0x134f 26 eax = eax + 1 0x1352 27 [rbp - 0xc {var_14_1}].d = eax 0x1355 28 goto 13 @ 0x116b 0x118d 29 if ([rbp - 0x14 {var_1c_1}].d s> 5) then 30 @ 0x1334 else 31 @ 0x1193 0x1334 30 goto 33 @ 0x1339 0x1193 31 eax = [rbp - 8 {var_10}].d 0x1199 32 if (eax == [rbp - 0xc {var_14_1}].d) then 37 @ 0x1321 else 38 @ 0x119f 0x1339 33 eax = [rbp - 0x10 {var_18_1}].d 0x133c 34 eax = eax + 1 0x133f 35 [rbp - 0x10 {var_18_1}].d = eax 0x1342 36 goto 21 @ 0x117c 0x1321 37 goto 40 @ 0x1326 0x119f 38 eax = [rbp - 0xc {var_14_1}].d 0x11a5 39 if (eax == [rbp - 0x10 {var_18_1}].d) then 37 @ 0x1321 else 44 @ 0x11ab 0x1326 40 eax = [rbp - 0x14 {var_1c_1}].d 0x1329 41 eax = eax + 1 0x132c 42 [rbp - 0x14 {var_1c_1}].d = eax 0x132f 43 goto 29 @ 0x118d 0x11ab 44 eax = [rbp - 0x10 {var_18_1}].d 0x11b1 45 if (eax == [rbp - 0x14 {var_1c_1}].d) then 37 @ 0x1321 else 46 @ 0x11b7 0x11b7 46 eax = [rbp - 0x14 {var_1c_1}].d 0x11bd 47 if (eax == [rbp - 8 {var_10}].d) then 37 @ 0x1321 else 48 @ 0x11c3 0x11c3 48 eax = [rbp - 8 {var_10}].d 0x11c6 49 eax = eax + [rbp - 0xc {var_14_1}].d 0x11c9 50 ecx = [rbp - 0x10 {var_18_1}].d 0x11cc 51 ecx = ecx + [rbp - 0x14 {var_1c_1}].d 0x11d1 52 if (eax != ecx) then 53 @ 0x131c else 54 @ 0x11d7 0x131c 53 goto 37 @ 0x1321 0x11d7 54 eax = [rbp - 8 {var_10}].d 0x11da 55 eax = eax + [rbp - 0x14 {var_1c_1}].d 0x11dd 56 ecx = [rbp - 0x10 {var_18_1}].d 0x11e0 57 ecx = ecx + [rbp - 0xc {var_14_1}].d 0x11e5 58 if (eax s<= ecx) then 59 @ 0x1317 else 60 @ 0x11eb 0x1317 59 goto 53 @ 0x131c 0x11eb 60 eax = [rbp - 8 {var_10}].d 0x11ee 61 eax = eax + [rbp - 0x10 {var_18_1}].d 0x11f4 62 if (eax s>= [rbp - 0xc {var_14_1}].d) then 63 @ 0x1312 else 64 @ 0x11fa 0x1312 63 goto 59 @ 0x1317 0x11fa 64 [rbp - 0x50 {var_58}].b = 0x7a {""} 0x11fe 65 eax = [rbp - 8 {var_10}].d 0x1201 66 [rbp - 0x4c {var_54}].d = eax 0x1204 67 [rbp - 0x48 {var_50_1}].b = 0x71 {""} 0x1208 68 eax = [rbp - 0xc {var_14_1}].d 0x120b 69 [rbp - 0x44 {var_4c_1}].d = eax 0x120e 70 [rbp - 0x40 {var_48_1}].b = 0x73 {""} 0x1212 71 eax = [rbp - 0x10 {var_18_1}].d 0x1215 72 [rbp - 0x3c {var_44_1}].d = eax 0x1218 73 [rbp - 0x38 {var_40_1}].b = 0x6c {""} 0x121c 74 eax = [rbp - 0x14 {var_1c_1}].d 0x121f 75 [rbp - 0x34 {var_3c_1}].d = eax 0x1222 76 [rbp - 0x18 {var_20_1}].d = 0 0x1222 77 goto 78 @ 0x122d 0x122d 78 if ([rbp - 0x18 {var_20_1}].d s>= 4) then 79 @ 0x12ce else 81 @ 0x1233 0x12ce 79 [rbp - 0x18 {var_20_2}].d = 0 0x12ce 80 goto 85 @ 0x12d9 0x1233 81 eax = [rbp - 0x18 {var_20_1}].d 0x1236 82 eax = eax + 1 0x1239 83 [rbp - 0x1c {var_24_1}].d = eax 0x1239 84 goto 86 @ 0x1240 0x12d9 85 if ([rbp - 0x18 {var_20_2}].d s>= 4) then 87 @ 0x130d else 88 @ 0x12df 0x1240 86 if ([rbp - 0x1c {var_24_1}].d s>= 4) then 99 @ 0x12bb else 100 @ 0x1246 0x130d 87 goto 63 @ 0x1312 0x12df 88 rax = sx.q([rbp - 0x18 {var_20_2}].d) 0x12e3 89 esi = sx.d([rbp + (rax << 3) - 0x50].b) 0x12e8 90 rax = sx.q([rbp - 0x18 {var_20_2}].d) 0x12ec 91 edx = [rbp + (rax << 3) - 0x4c].d * 0xa 0x12f1 92 rdi = 0x2004 {"%c %d\n"} 0x12f8 93 al = 0 0x12fa 94 call(0x1030) 0x12ff 95 eax = [rbp - 0x18 {var_20_2}].d 0x1302 96 eax = eax + 1 0x1305 97 [rbp - 0x18 {var_20_2}].d = eax 0x1308 98 goto 85 @ 0x12d9 0x12bb 99 goto 104 @ 0x12c0 0x1246 100 rax = sx.q([rbp - 0x1c {var_24_1}].d) 0x124a 101 eax = [rbp + (rax << 3) - 0x4c].d 0x124e 102 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x1256 103 if (eax s<= [rbp + (rcx << 3) - 0x4c].d) then 108 @ 0x12a8 else 109 @ 0x125c 0x12c0 104 eax = [rbp - 0x18 {var_20_1}].d 0x12c3 105 eax = eax + 1 0x12c6 106 [rbp - 0x18 {var_20_1}].d = eax 0x12c9 107 goto 78 @ 0x122d 0x12a8 108 goto 130 @ 0x12ad 0x125c 109 rax = sx.q([rbp - 0x1c {var_24_1}].d) 0x1260 110 eax = [rbp + (rax << 3) - 0x4c].d 0x1264 111 [rbp - 0x20 {var_28_1}].d = eax 0x1267 112 rax = sx.q([rbp - 0x1c {var_24_1}].d) 0x126b 113 al = [rbp + (rax << 3) - 0x50].b 0x126f 114 [rbp - 0x21 {var_29_1}].b = al 0x1272 115 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x1276 116 ecx = [rbp + (rax << 3) - 0x4c].d 0x127a 117 rax = sx.q([rbp - 0x1c {var_24_1}].d) 0x127e 118 [rbp + (rax << 3) - 0x4c].d = ecx 0x1282 119 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x1286 120 cl = [rbp + (rax << 3) - 0x50].b 0x128a 121 rax = sx.q([rbp - 0x1c {var_24_1}].d) 0x128e 122 [rbp + (rax << 3) - 0x50].b = cl 0x1292 123 ecx = [rbp - 0x20 {var_28_1}].d 0x1295 124 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x1299 125 [rbp + (rax << 3) - 0x4c].d = ecx 0x129d 126 cl = [rbp - 0x21 {var_29_1}].b 0x12a0 127 rax = sx.q([rbp - 0x18 {var_20_1}].d) 0x12a4 128 [rbp + (rax << 3) - 0x50].b = cl 0x12a4 129 goto 108 @ 0x12a8 0x12ad 130 eax = [rbp - 0x1c {var_24_1}].d 0x12b0 131 eax = eax + 1 0x12b3 132 [rbp - 0x1c {var_24_1}].d = eax 0x12b6 133 goto 86 @ 0x1240 int64_t _fini(): 0x137c 0 rsp = rsp - 8 0x1380 1 rsp = rsp + 8 0x1384 2 <return> jump(pop)
POJ_78
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_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 {"AWAVSH8"} 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 - 0x138a0 0x116c 4 rdi = 0x2004 {"%d"} 0x1173 5 rsi = rsp + 0xc {var_138ac} 0x1178 6 eax = 0 0x117a 7 call(0x1040) 0x1184 8 if ([rsp + 0xc {var_138ac}].d s<= 0) then 9 @ 0x11c4 else 10 @ 0x1186 0x11c4 9 if ([rsp + 0xc {var_138ac}].d s<= 0) then 14 @ 0x124b else 19 @ 0x11ca 0x1186 10 r15 = rsp + 0x10 {var_138a8} 0x118b 11 r14 = 0x2004 {"%d"} 0x1192 12 ebx = 0 0x119e 13 goto 23 @ 0x11a0 0x124b 14 rsp = rsp + 0x138a0 0x1252 15 rbx = pop 0x1253 16 r14 = pop 0x1255 17 r15 = pop 0x1257 18 <return> jump(pop) 0x11ca 19 r15d = 0 0x11cd 20 r14 = 0x2004 {"%d"} 0x11d4 21 ebx = 0 0x11d6 22 goto 31 @ 0x11ff 0x11a0 23 rdi = r14 0x11a3 24 rsi = r15 0x11a6 25 eax = 0 0x11a8 26 call(0x1040) 0x11ad 27 rbx = rbx + 1 0x11b1 28 rax = sx.q([rsp + 0xc {var_138ac}].d) 0x11b6 29 r15 = r15 + 4 0x11bd 30 if (rbx s< rax) then 23 @ 0x11a0 else 9 @ 0x11c4 0x11ff 31 if (rbx == 0) then 32 @ 0x1230 else 34 @ 0x1201 0x1230 32 eax = 1 0x1238 33 if (eax != 1) then 38 @ 0x11ee else 41 @ 0x123d 0x1201 34 ecx = [rsp + (rbx << 2) + 0x10].d 0x1205 35 eax = 1 0x120a 36 edx = 0 0x120c 37 goto 42 @ 0x1214 0x11ee 38 rbx = rbx + 1 0x11f2 39 rax = sx.q([rsp + 0xc {var_138ac}].d) 0x11fa 40 if (rbx s>= rax) then 14 @ 0x124b else 31 @ 0x11ff 0x123d 41 if (rbx == 0) then 43 @ 0x11e0 else 48 @ 0x123f 0x1214 42 if (ecx == [rsp + (rdx << 2) + 0x10].d) then 51 else 53 @ 0x1218 0x11e0 43 esi = [rsp + (rbx << 2) + 0x10].d 0x11e4 44 rdi = r14 0x11e7 45 eax = 0 0x11e9 46 call(0x1030) 0x11e9 47 goto 38 @ 0x11ee 0x123f 48 edi = 0x20 {"@"} 0x1244 49 call(0x1050) 0x1249 50 goto 43 @ 0x11e0 0x1214 51 eax = r15d 0x1214 52 goto 53 @ 0x1218 0x1218 53 rdx = rdx + 1 0x121f 54 if (rbx != rdx) then 42 @ 0x1214 else 55 @ 0x1224 0x1224 55 if (eax != 1) then 38 @ 0x11ee else 56 @ 0x1226 0x1226 56 goto 41 @ 0x123d int64_t _fini(): 0x125c 0 rsp = rsp - 8 0x1260 1 rsp = rsp + 8 0x1264 2 <return> jump(pop)
POJ_13
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_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 - 0x20 {var_28}].d = 0 0x115f 4 rdi = 0x2008 {"%d"} 0x1166 5 rsi = rbp - 4 {var_c} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1171 8 [rbp - 0x14 {var_1c}].d = 1 0x1171 9 goto 10 @ 0x1178 0x1178 10 eax = [rbp - 0x14 {var_1c}].d 0x117e 11 if (eax s> [rbp - 4 {var_c}].d) then 12 @ 0x1237 else 15 @ 0x1184 0x1237 12 rsp = rsp + 0x20 0x123b 13 rbp = pop 0x123c 14 <return> jump(pop) 0x1184 15 rdi = 0x2004 {"%d%d%d"} 0x118b 16 rsi = rbp - 8 {var_10} 0x118f 17 rdx = rbp - 0xc {var_14} 0x1193 18 rcx = rbp - 0x10 {var_18} 0x1197 19 al = 0 0x1199 20 call(0x1040) 0x119e 21 eax = [rbp - 0xc {var_14}].d 0x11a4 22 if (eax s<= [rbp - 0x10 {var_18}].d) then 23 @ 0x11bc else 26 @ 0x11aa 0x11bc 23 eax = [rbp - 0xc {var_14}].d 0x11bf 24 [rbp - 0x18 {var_20_1}].d = eax 0x11bf 25 goto 33 @ 0x11c2 0x11aa 26 eax = [rbp - 0xc {var_14}].d 0x11ad 27 [rbp - 0x1c {var_24_1}].d = eax 0x11b0 28 eax = [rbp - 0x10 {var_18}].d 0x11b3 29 [rbp - 0xc {var_14}].d = eax 0x11b6 30 eax = [rbp - 0x1c {var_24_1}].d 0x11b9 31 [rbp - 0x10 {var_18}].d = eax 0x11b9 32 goto 23 @ 0x11bc 0x11c2 33 eax = [rbp - 0x18 {var_20_1}].d 0x11c8 34 if (eax s>= [rbp - 0x10 {var_18}].d) then 35 @ 0x11ed else 49 @ 0x11ce 0x11ed 35 eax = [rbp - 0x20 {var_28}].d 0x11f0 36 ecx = 7 0x11f5 37 temp2.d:temp3.d = sx.q(eax) 0x11f5 38 edx = temp2.d 0x11f5 39 eax = temp3.d 0x11f6 40 temp4.d = edx 0x11f6 41 temp5.d = eax 0x11f6 42 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11f6 43 temp6.d = edx 0x11f6 44 temp7.d = eax 0x11f6 45 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11f6 46 eax = temp0.d 0x11f6 47 edx = temp1.d 0x11fb 48 if (edx != 0) then 58 @ 0x1214 else 62 @ 0x1201 0x11ce 49 edi = [rbp - 8 {var_10}].d 0x11d1 50 esi = [rbp - 0x18 {var_20_1}].d 0x11d4 51 call(0x1240) 0x11d9 52 eax = eax + [rbp - 0x20 {var_28}].d 0x11dc 53 [rbp - 0x20 {var_28}].d = eax 0x11df 54 eax = [rbp - 0x18 {var_20_1}].d 0x11e2 55 eax = eax + 1 0x11e5 56 [rbp - 0x18 {var_20_1}].d = eax 0x11e8 57 goto 33 @ 0x11c2 0x1214 58 rdi = 0x2010 {"NO\n"} 0x121b 59 al = 0 0x121d 60 call(0x1030) 0x121d 61 goto 66 @ 0x1222 0x1201 62 rdi = 0x200b {"YES\n"} 0x1208 63 al = 0 0x120a 64 call(0x1030) 0x120f 65 goto 66 @ 0x1222 0x1222 66 [rbp - 0x20 {var_28}].d = 0 0x1229 67 eax = [rbp - 0x14 {var_1c}].d 0x122c 68 eax = eax + 1 0x122f 69 [rbp - 0x14 {var_1c}].d = eax 0x1232 70 goto 10 @ 0x1178 uint64_t monthday(int32_t arg1, int32_t arg2): 0x1240 0 push(rbp) 0x1241 1 rbp = rsp {__saved_rbp} 0x1244 2 rsp = rsp - 0x10 0x1248 3 [rbp - 8 {var_10}].d = edi 0x124b 4 [rbp - 0xc {var_14}].d = esi 0x1252 5 if ([rbp - 0xc {var_14}].d == 1) then 6 @ 0x1294 else 8 @ 0x125c 0x1294 6 [rbp - 4 {var_c}].d = 0x1f {""} 0x129b 7 goto 9 @ 0x12c4 0x125c 8 if ([rbp - 0xc {var_14}].d == 3) then 6 @ 0x1294 else 13 @ 0x1266 0x12c4 9 eax = [rbp - 4 {var_c}].d 0x12c7 10 rsp = rsp + 0x10 0x12cb 11 rbp = pop 0x12cc 12 <return> jump(pop) 0x1266 13 if ([rbp - 0xc {var_14}].d == 5) then 6 @ 0x1294 else 14 @ 0x1270 0x1270 14 if ([rbp - 0xc {var_14}].d == 7) then 6 @ 0x1294 else 15 @ 0x127a 0x127a 15 if ([rbp - 0xc {var_14}].d == 8) then 6 @ 0x1294 else 16 @ 0x1284 0x1284 16 if ([rbp - 0xc {var_14}].d == 0xa) then 6 @ 0x1294 else 17 @ 0x128e 0x128e 17 if ([rbp - 0xc {var_14}].d != 0xc) then 18 @ 0x12a4 else 6 @ 0x1294 0x12a4 18 if ([rbp - 0xc {var_14}].d != 2) then 19 @ 0x12bd else 21 @ 0x12aa 0x12bd 19 [rbp - 4 {var_c}].d = 0x1e {""} 0x12bd 20 goto 9 @ 0x12c4 0x12aa 21 edi = [rbp - 8 {var_10}].d 0x12ad 22 call(0x12d0) 0x12b2 23 eax = eax + 0x1c 0x12b5 24 [rbp - 4 {var_c}].d = eax 0x12b8 25 goto 9 @ 0x12c4 uint64_t leapyear(int32_t arg1): 0x12d0 0 push(rbp) 0x12d1 1 rbp = rsp {__saved_rbp} 0x12d4 2 [rbp - 8 {var_10}].d = edi 0x12d7 3 eax = [rbp - 8 {var_10}].d 0x12da 4 ecx = 0x190 {""} 0x12df 5 temp2.d:temp3.d = sx.q(eax) 0x12df 6 edx = temp2.d 0x12df 7 eax = temp3.d 0x12e0 8 temp4.d = edx 0x12e0 9 temp5.d = eax 0x12e0 10 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x12e0 11 temp6.d = edx 0x12e0 12 temp7.d = eax 0x12e0 13 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x12e0 14 eax = temp0.d 0x12e0 15 edx = temp1.d 0x12e5 16 if (edx == 0) then 17 @ 0x1313 else 19 @ 0x12eb 0x1313 17 [rbp - 4 {var_c}].d = 1 0x131a 18 goto 33 @ 0x1326 0x12eb 19 eax = [rbp - 8 {var_10}].d 0x12ee 20 ecx = 4 0x12f3 21 temp8.d:temp9.d = sx.q(eax) 0x12f3 22 edx = temp8.d 0x12f3 23 eax = temp9.d 0x12f4 24 temp10.d = edx 0x12f4 25 temp11.d = eax 0x12f4 26 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x12f4 27 temp12.d = edx 0x12f4 28 temp13.d = eax 0x12f4 29 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x12f4 30 eax = temp0.d 0x12f4 31 edx = temp1.d 0x12f9 32 if (edx != 0) then 36 @ 0x131f else 38 @ 0x12ff 0x1326 33 eax = [rbp - 4 {var_c}].d 0x1329 34 rbp = pop 0x132a 35 <return> jump(pop) 0x131f 36 [rbp - 4 {var_c}].d = 0 0x131f 37 goto 33 @ 0x1326 0x12ff 38 eax = [rbp - 8 {var_10}].d 0x1302 39 ecx = 0x64 {""} 0x1307 40 temp14.d:temp15.d = sx.q(eax) 0x1307 41 edx = temp14.d 0x1307 42 eax = temp15.d 0x1308 43 temp16.d = edx 0x1308 44 temp17.d = eax 0x1308 45 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x1308 46 temp18.d = edx 0x1308 47 temp19.d = eax 0x1308 48 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x1308 49 eax = temp0.d 0x1308 50 edx = temp1.d 0x130d 51 if (edx == 0) then 36 @ 0x131f else 17 @ 0x1313 int64_t _fini(): 0x1330 0 rsp = rsp - 8 0x1334 1 rsp = rsp + 8 0x1338 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 {"UAWAVAUATSPH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4040].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4040].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 push(rax) 0x115b 7 rdi = 0x2004 {"%d"} 0x1162 8 ebx = 0 0x1164 9 rsi = rsp + 4 {var_38+0x4} 0x1169 10 eax = 0 0x116b 11 call(0x1040) 0x1170 12 eax = [rsp + 4 {var_38+0x4}].d 0x1174 13 esi = 0 0x117b 14 if (eax s<= 0) then 15 @ 0x1323 else 30 @ 0x1181 0x1323 15 ebx = ebx - 2 0x1326 16 esi = esi - 2 0x1329 17 esi = esi * ebx 0x132c 18 rdi = 0x2004 {"%d"} 0x1333 19 eax = 0 0x1335 20 call(0x1030) 0x133a 21 eax = 0 0x133c 22 rsp = rsp + 8 0x1340 23 rbx = pop 0x1341 24 r12 = pop 0x1343 25 r13 = pop 0x1345 26 r14 = pop 0x1347 27 r15 = pop 0x1349 28 rbp = pop 0x134a 29 <return> jump(pop) 0x1181 30 r15 = 0x4050 {""} 0x1188 31 r14 = 0x2004 {"%d"} 0x118f 32 r12d = 0 0x1192 33 goto 34 @ 0x11b5 0x11b5 34 if (eax s<= 0) then 35 @ 0x11a0 else 39 @ 0x11b7 0x11a0 35 rcx = sx.q(eax) 0x11a3 36 r12 = r12 + 1 0x11a7 37 r15 = r15 + 0xfa0 0x11b1 38 if (r12 s>= rcx) then 42 @ 0x11e3 else 34 @ 0x11b5 0x11b7 39 r13 = r15 0x11ba 40 ebx = 0 0x11bc 41 goto 43 @ 0x11c0 0x11e3 42 if (eax s<= 0) then 51 @ 0x131f else 54 @ 0x11e9 0x11c0 43 rdi = r14 0x11c3 44 rsi = r13 0x11c6 45 eax = 0 0x11c8 46 call(0x1040) 0x11cd 47 rbx = rbx + 1 0x11d1 48 rax = sx.q([rsp + 4 {var_38+0x4}].d) 0x11d6 49 r13 = r13 + 4 0x11dd 50 if (rbx s< rax) then 43 @ 0x11c0 else 64 @ 0x11df 0x131f 51 ebx = 0 0x1321 52 esi = 0 0x1321 53 goto 15 @ 0x1323 0x11e9 54 r9d = eax 0x11ec 55 r8 = r9 - 1 0x11f0 56 r14d = r9d 0x11f3 57 r14d = r14d & 3 0x11f7 58 r11d = r9d 0x11fa 59 r11d = r11d & 0xfffffffc 0x11fe 60 rsi = 0x405c {""} 0x1205 61 r10 = 0x4050 {""} 0x120c 62 ebx = 0 0x120e 63 goto 65 @ 0x1227 0x11df 64 goto 35 @ 0x11a0 0x1227 65 edx = 0 0x122d 66 if (r8 u< 3) then 67 @ 0x1272 else 68 @ 0x122f 0x1272 67 if (r14 == 0) then 69 @ 0x1210 else 73 @ 0x1274 0x122f 68 goto 76 @ 0x1230 0x1210 69 rbx = rbx + 1 0x1214 70 rsi = rsi + 0xfa0 0x121b 71 r10 = r10 + 0xfa0 0x1225 72 if (rbx == r9) then 81 @ 0x129c else 65 @ 0x1227 0x1274 73 r15 = r10 + (rdx << 2) 0x1278 74 edi = 0 0x127a 75 goto 84 @ 0x1280 0x1230 76 edi = (rdx + 1).d 0x1233 77 ebp = (rdx + 2).d 0x1236 78 temp0.d = [rsi + (rdx << 2) - 0xc].d 0x1236 79 cond:0 = temp0.d == 0 0x123b 80 if (temp0.d == 0) then 88 else 90 @ 0x123e 0x129c 81 esi = 0 0x129e 82 ebx = 0 0x12a5 83 if (ecx s< 0) then 91 @ 0x12e8 else 92 @ 0x12a7 0x1280 84 ebp = (rdx + rdi).d 0x1283 85 temp1.d = [r15 + (rdi << 2)].d 0x1283 86 cond:5 = temp1.d == 0 0x1288 87 if (temp1.d == 0) then 100 else 102 @ 0x128b 0x123b 88 ecx = edx 0x123b 89 goto 90 @ 0x123e 0x123e 90 if (cond:0) then 103 else 105 @ 0x1241 0x12e8 91 if (eax s< 0) then 15 @ 0x1323 else 108 @ 0x12ea 0x12a7 92 rdx = sx.q(eax) 0x12aa 93 r8d = (rcx + 1).d 0x12ae 94 ebx = 0 0x12b0 95 rdx = rdx * 0xfa0 0x12b7 96 rdi = 0x4050 {""} 0x12be 97 rdi = rdi + rdx 0x12c1 98 edx = ecx 0x12cd 99 goto 113 @ 0x12d0 0x1288 100 eax = ebx 0x1288 101 goto 102 @ 0x128b 0x128b 102 if (cond:5) then 115 else 117 @ 0x128e 0x123e 103 eax = ebx 0x123e 104 goto 105 @ 0x1241 0x1241 105 temp2.d = [rsi + (rdx << 2) - 8].d 0x1241 106 cond:1 = temp2.d == 0 0x1246 107 if (temp2.d == 0) then 119 else 121 @ 0x1249 0x12ea 108 rdx = sx.q(ecx) 0x12ed 109 ecx = (rax + 1).d 0x12f0 110 esi = 0 0x12f2 111 rdi = 0x4050 {""} 0x12f9 112 goto 122 @ 0x1300 0x12d0 113 ebp = edx 0x12d6 114 if ([rdi + (rbp << 2)].d != 0) then 91 @ 0x12e8 else 126 @ 0x12d8 0x128b 115 ecx = ebp 0x128b 116 goto 117 @ 0x128e 0x128e 117 rdi = rdi + 1 0x1295 118 if (r14 != rdi) then 84 @ 0x1280 else 129 @ 0x1297 0x1246 119 ecx = edi 0x1246 120 goto 121 @ 0x1249 0x1249 121 if (cond:1) then 130 else 132 @ 0x124c 0x1300 122 ebp = eax 0x1302 123 rbp = rbp * 0xfa0 0x1309 124 rbp = rbp + rdi 0x1311 125 if ([rbp + (rdx << 2)].d != 0) then 15 @ 0x1323 else 137 @ 0x1313 0x12d8 126 ebx = ebx + 1 0x12db 127 edx = edx - 1 0x12e1 128 if (r8d != ebx) then 113 @ 0x12d0 else 142 @ 0x12e3 0x1297 129 goto 69 @ 0x1210 0x1249 130 eax = ebx 0x1249 131 goto 132 @ 0x124c 0x124c 132 temp3.d = [rsi + (rdx << 2) - 4].d 0x124c 133 cond:2 = temp3.d == 0 0x124c 134 cond:3 = temp3.d == 0 0x1251 135 edi = ecx 0x1253 136 if (cond:2) then 144 else 146 @ 0x1256 0x1313 137 esi = esi + 1 0x1316 138 temp4.d = eax 0x1316 139 eax = eax - 1 0x1316 140 flag:c = temp4.d u>= 1 0x1319 141 if (flag:c) then 122 @ 0x1300 else 147 @ 0x131b 0x12e3 142 ebx = r8d 0x12e3 143 goto 91 @ 0x12e8 0x1253 144 edi = ebp 0x1253 145 goto 146 @ 0x1256 0x1256 146 if (cond:3) then 149 else 151 @ 0x1259 0x131b 147 esi = ecx 0x131d 148 goto 15 @ 0x1323 0x1256 149 eax = ebx 0x1256 150 goto 151 @ 0x1259 0x1259 151 ecx = (rdx + 3).d 0x125c 152 temp5.d = [rsi + (rdx << 2)].d 0x125c 153 cond:4 = temp5.d != 0 0x1260 154 if (temp5.d == 0) then 155 else 157 @ 0x1263 0x1260 155 eax = ebx 0x1260 156 goto 157 @ 0x1263 0x1263 157 if (cond:4) then 158 else 160 @ 0x1266 0x1263 158 ecx = edi 0x1263 159 goto 160 @ 0x1266 0x1266 160 rdx = rdx + 4 0x126d 161 if (rdx != r11) then 76 @ 0x1230 else 67 @ 0x1272 int64_t _fini(): 0x1350 0 rsp = rsp - 8 0x1354 1 rsp = rsp + 8 0x1358 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 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 {"AWAVATSH>"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r12) 0x1156 3 push(rbx) 0x1157 4 rsp = rsp - 0x3e98 0x115e 5 rdi = 0x2010 {"%d"} 0x1165 6 rsi = rsp + 0xc {var_3eac} 0x116a 7 eax = 0 0x116c 8 call(0x1030) 0x1176 9 if ([rsp + 0xc {var_3eac}].d s<= 0) then 10 @ 0x126b else 17 @ 0x117c 0x126b 10 eax = 0 0x126d 11 rsp = rsp + 0x3e98 0x1274 12 rbx = pop 0x1275 13 r12 = pop 0x1277 14 r14 = pop 0x1279 15 r15 = pop 0x127b 16 <return> jump(pop) 0x117c 17 r14 = rsp + 0x10 {var_3ea8} 0x1181 18 r12 = rsp + 0x1f50 {var_1f68} 0x1189 19 r15 = 0x2013 {"%lf %lf"} 0x1190 20 ebx = 0 0x119c 21 goto 22 @ 0x11a0 0x11a0 22 rdi = r15 0x11a3 23 rsi = r12 0x11a6 24 rdx = r14 0x11a9 25 eax = 0 0x11ab 26 call(0x1030) 0x11b0 27 rbx = rbx + 1 0x11b4 28 rax = sx.q([rsp + 0xc {var_3eac}].d) 0x11b9 29 r14 = r14 + 8 0x11bd 30 r12 = r12 + 8 0x11c4 31 if (rbx s< rax) then 22 @ 0x11a0 else 32 @ 0x11c9 0x11c9 32 if (eax s< 2) then 10 @ 0x126b else 33 @ 0x11cf 0x11cf 33 ebx = 1 0x11d4 34 xmm3 = zx.o([0x2008].q) 0x11dc 35 r14 = 0x2020 {"worse"} 0x11e3 36 r15 = 0x201b {"same"} 0x11ea 37 r12 = 0x2026 {"better"} 0x11f1 38 goto 39 @ 0x121b 0x121b 39 xmm0 = [rsp + 0x10 {var_3ea8}].o 0x1221 40 xmm0 = xmm0.q | [rsp + (rbx << 3) + 0x10].q << 0x40 0x1227 41 xmm1 = [rsp + 0x1f50 {var_1f68}].o 0x1230 42 xmm1 = xmm1.q | [rsp + (rbx << 3) + 0x1f50].q << 0x40 0x1239 43 xmm0 = _mm_div_pd(xmm0, xmm1) 0x123d 44 xmm1 = xmm0 0x1241 45 xmm1 = _mm_unpackhi_pd(xmm1, xmm0.q) 0x1245 46 xmm2 = xmm0 0x1249 47 xmm2.q = xmm2.q f- xmm1.q 0x124d 48 flag:p = is_unordered.q(xmm2.q, xmm3.q) 0x124d 49 flag:c = xmm2.q f< xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x124d 50 flag:z = xmm2.q f== xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x124d 51 flag:s = 0 0x124d 52 flag:o = 0 0x124d 53 flag:a = 0 0x1251 54 rax = r14 0x1254 55 if (not(flag:z) && not(flag:c)) then 56 @ 0x1259 else 65 @ 0x1256 0x1259 56 xmm1.q = xmm1.q f- xmm0.q 0x125d 57 flag:p = is_unordered.q(xmm1.q, xmm3.q) 0x125d 58 flag:c = xmm1.q f< xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x125d 59 flag:z = xmm1.q f== xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x125d 60 flag:s = 0 0x125d 61 flag:o = 0 0x125d 62 flag:a = 0 0x1261 63 rdi = r12 0x1264 64 if (not(flag:z) && not(flag:c)) then 67 @ 0x1200 else 73 @ 0x1266 0x1256 65 rax = r15 0x1256 66 goto 56 @ 0x1259 0x1200 67 call(0x1040) 0x1205 68 rbx = rbx + 1 0x1209 69 rax = sx.q([rsp + 0xc {var_3eac}].d) 0x120e 70 cond:0 = rbx s>= rax 0x1211 71 xmm3 = zx.o([0x2008].q) 0x1219 72 if (cond:0) then 10 @ 0x126b else 39 @ 0x121b 0x1266 73 rdi = rax 0x1269 74 goto 67 @ 0x1200 int64_t _fini(): 0x1280 0 rsp = rsp - 8 0x1284 1 rsp = rsp + 8 0x1288 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 {"AWAVSHP"} 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 - 0x9c50 0x115c 4 rdi = 0x2004 {"%d %d"} 0x1163 5 rsi = rsp + 8 {var_9c60} 0x1168 6 rdx = rsp + 0xc {var_9c5c} 0x116d 7 eax = 0 0x116f 8 call(0x1040) 0x1174 9 ecx = [rsp + 8 {var_9c60}].d 0x117a 10 if (ecx s<= 0) then 11 @ 0x11b2 else 12 @ 0x117c 0x11b2 11 if (ecx s< 2) then 16 @ 0x1218 else 18 @ 0x11b4 0x117c 12 r15 = rsp + 0x10 {var_9c58} 0x1181 13 r14 = 0x2007 {"%d"} 0x1188 14 ebx = 0 0x118a 15 goto 24 @ 0x1190 0x1218 16 rdi = 0x200a {"no"} 0x1218 17 goto 32 @ 0x121f 0x11b4 18 ecx = ecx - 1 0x11b7 19 r9d = [rsp + 0xc {var_9c5c}].d 0x11bc 20 ecx = ecx 0x11be 21 r8d = 0 0x11c1 22 esi = 0 0x11cd 23 goto 40 @ 0x11d0 0x1190 24 rdi = r14 0x1193 25 rsi = r15 0x1196 26 eax = 0 0x1198 27 call(0x1040) 0x119d 28 rbx = rbx + 1 0x11a1 29 rcx = sx.q([rsp + 8 {var_9c60}].d) 0x11a6 30 r15 = r15 + 4 0x11ad 31 if (rbx s< rcx) then 24 @ 0x1190 else 11 @ 0x11b2 0x121f 32 eax = 0 0x1221 33 call(0x1030) 0x1226 34 eax = 0 0x1228 35 rsp = rsp + 0x9c50 0x122f 36 rbx = pop 0x1230 37 r14 = pop 0x1232 38 r15 = pop 0x1234 39 <return> jump(pop) 0x11d0 40 edi = [rsp + (r8 << 2) + 0x10].d 0x11d5 41 ebx = 0 0x11d7 42 goto 43 @ 0x11e0 0x11e0 43 edx = [rsp + (rbx << 2) + 0x10].d 0x11e4 44 edx = edx + edi 0x11e6 45 eax = 0 0x11eb 46 al = edx == r9d 0x11ee 47 esi = esi + eax 0x11f0 48 rbx = rbx + 1 0x11f7 49 if (rcx != rbx) then 43 @ 0x11e0 else 50 @ 0x11f9 0x11f9 50 r8 = r8 + 1 0x1200 51 if (r8 != rcx) then 40 @ 0x11d0 else 52 @ 0x1202 0x1202 52 cond:0 = esi == 0 0x1204 53 rax = 0x200a {"no"} 0x120b 54 rdi = 0x200d {"yes"} 0x1212 55 if (cond:0) then 56 else 58 @ 0x1216 0x1212 56 rdi = rax 0x1212 57 goto 58 @ 0x1216 0x1216 58 goto 32 @ 0x121f int64_t _fini(): 0x123c 0 rsp = rsp - 8 0x1240 1 rsp = rsp + 8 0x1244 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) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x3e818 0x116e 5 rdi = 0x2054 {"%d"} 0x1175 6 rsi = rsp + 0xc {var_3e82c} 0x117a 7 eax = 0 0x117c 8 call(0x1040) 0x1181 9 eax = [rsp + 0xc {var_3e82c}].d 0x1187 10 if (eax s<= 0) then 11 @ 0x1243 else 14 @ 0x118d 0x1243 11 eax = eax - 1 0x1246 12 rax = sx.q(eax) 0x1246 13 goto 19 @ 0x1248 0x118d 14 r15 = rsp + 0x10 {var_3e828} 0x1192 15 r14 = 0x2057 {"%s"} 0x1199 16 rbx = 0x2004 {"%d"} 0x11a0 17 r12d = 0 0x11ad 18 goto 32 @ 0x11b0 0x1248 19 rax = rax << 8 0x124c 20 rsi = rsp + rax 0x1250 21 rsi = rsi + 0x10 0x1254 22 rdi = 0x2057 {"%s"} 0x125b 23 eax = 0 0x125d 24 call(0x1030) 0x1262 25 eax = 0 0x1264 26 rsp = rsp + 0x3e818 0x126b 27 rbx = pop 0x126c 28 r12 = pop 0x126e 29 r14 = pop 0x1270 30 r15 = pop 0x1272 31 <return> jump(pop) 0x11b0 32 rax = r12 0x11b3 33 rax = rax << 8 0x11b7 34 rsi = rsp + rax 0x11bb 35 rsi = rsi + 0x10 0x11bf 36 rdi = r14 0x11c2 37 eax = 0 0x11c4 38 call(0x1040) 0x11c9 39 rax = r15 0x11cc 40 goto 41 @ 0x11d6 0x11d6 41 ecx = zx.d([rax].b) 0x11d9 42 edx = (rcx - 0x41).d 0x11df 43 if (dl u> 0x13) then 44 @ 0x11f9 else 45 @ 0x11e1 0x11f9 44 if (cl != 0) then 50 @ 0x11d2 else 52 @ 0x11fb 0x11e1 45 cl = 0x41 {""} 0x11e3 46 edx = zx.d(dl) 0x11e6 47 rdx = sx.q([rbx + (rdx << 2)].d) 0x11ea 48 rdx = rdx + rbx 0x11ed 49 jump(rdx => 56 @ 0x11ce, 58 @ 0x11d0, 50 @ 0x11d2, 60 @ 0x11ef, 62 @ 0x11f3) 0x11d2 50 rax = rax + 1 0x11d2 51 goto 41 @ 0x11d6 0x11fb 52 r12 = r12 + 1 0x11ff 53 rax = sx.q([rsp + 0xc {var_3e82c}].d) 0x1204 54 r15 = r15 + 0x100 0x120e 55 if (r12 s< rax) then 32 @ 0x11b0 else 64 @ 0x1213 0x11ce 56 cl = 0x43 {""} 0x11ce 57 goto 58 @ 0x11d0 0x11d0 58 [rax].b = cl 0x11d0 59 goto 50 @ 0x11d2 0x11ef 60 cl = 0x54 {""} 0x11f1 61 goto 58 @ 0x11d0 0x11f3 62 cl = 0x47 {""} 0x11f5 63 goto 58 @ 0x11d0 0x1213 64 if (eax s< 2) then 11 @ 0x1243 else 65 @ 0x1215 0x1215 65 r14 = rsp + 0x10 {var_3e828} 0x121a 66 ebx = 0 0x121c 67 goto 68 @ 0x1220 0x1220 68 rdi = r14 0x1223 69 call(0x1050) 0x1228 70 rbx = rbx + 1 0x122c 71 rax = sx.q([rsp + 0xc {var_3e82c}].d) 0x1231 72 rax = rax - 1 0x1235 73 r14 = r14 + 0x100 0x123f 74 if (rbx s< rax) then 68 @ 0x1220 else 75 @ 0x1241 0x1241 75 goto 19 @ 0x1248 int64_t _fini(): 0x1278 0 rsp = rsp - 8 0x127c 1 rsp = rsp + 8 0x1280 2 <return> jump(pop)
POJ_33
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(rbx) 0x1165 3 rsp = rsp - 0x400 0x116c 4 rdi = 0x2008 {"%f"} 0x1173 5 rsi = rsp + 8 {var_410} 0x1178 6 eax = 0 0x117a 7 call(0x1050) 0x117f 8 rbx = 0x200b {"%s"} 0x1186 9 r14 = rsp + 0x10 {var_408} 0x118b 10 rdi = rbx 0x118e 11 rsi = r14 {var_408} 0x1191 12 eax = 0 0x1193 13 call(0x1050) 0x1198 14 r15 = rsp + 0x204 {var_214} 0x11a0 15 rdi = rbx 0x11a3 16 rsi = r15 {var_214} 0x11a6 17 eax = 0 0x11a8 18 call(0x1050) 0x11ad 19 rdi = r14 {var_408} 0x11b0 20 call(0x1040) 0x11b5 21 rbx = rax 0x11b8 22 rdi = r15 {var_214} 0x11bb 23 call(0x1040) 0x11c0 24 rdi = 0x200e {"error"} 0x11ca 25 if (rbx != rax) then 26 @ 0x129a else 29 @ 0x11d0 0x129a 26 eax = 0 0x129c 27 call(0x1030) 0x129c 28 goto 38 @ 0x12a1 0x11d0 29 rcx = rbx 0x11d3 30 rcx = rcx u>> 1 0x11d6 31 eax = ebx 0x11d8 32 eax = eax & 1 0x11db 33 rax = rax | rcx 0x11de 34 temp0.q = rbx 0x11de 35 cond:0 = temp0.q != 0 0x11de 36 cond:1 = temp0.q == 0 0x11e1 37 if (temp0.q s< 0) then 44 @ 0x1255 else 47 @ 0x11e3 0x12a1 38 eax = 0 0x12a3 39 rsp = rsp + 0x400 0x12aa 40 rbx = pop 0x12ab 41 r14 = pop 0x12ad 42 r15 = pop 0x12af 43 <return> jump(pop) 0x1255 44 xmm0.d = float.s(rax) 0x125a 45 xmm0.d = xmm0.d f+ xmm0.d 0x125e 46 if (cond:0) then 49 @ 0x11ea else 54 @ 0x1260 0x11e3 47 xmm0.d = float.s(rbx) 0x11e8 48 if (cond:1) then 54 @ 0x1260 else 49 @ 0x11ea 0x11ea 49 xmm2 = 0 0x11ed 50 eax = 0 0x11ef 51 ecx = 0x80045 {""} 0x11f4 52 xmm1 = [0x2004].d 0x11fc 53 goto 56 @ 0x1213 0x1260 54 xmm3 = 0 0x1260 55 goto 59 @ 0x1263 0x1213 56 edx = zx.d([rsp + rax + 0x10].b) 0x1218 57 esi = (rdx - 0x41).d 0x121f 58 if (sil u> 0x13) then 26 @ 0x129a else 67 @ 0x1221 0x1263 59 xmm3.d = xmm3.d f/ xmm0.d 0x1267 60 flag:p = is_unordered.d(xmm3.d, fconvert.t([rsp + 8 {var_410}].d)) 0x1267 61 flag:c = xmm3.d f< fconvert.t([rsp + 8 {var_410}].d) | is_unordered.d(xmm3.d, fconvert.t([rsp + 8 {var_410}].d)) 0x1267 62 flag:z = xmm3.d f== fconvert.t([rsp + 8 {var_410}].d) | is_unordered.d(xmm3.d, fconvert.t([rsp + 8 {var_410}].d)) 0x1267 63 flag:s = 0 0x1267 64 flag:o = 0 0x1267 65 flag:a = 0 0x126c 66 if (flag:c) then 70 @ 0x1288 else 78 @ 0x126e 0x1221 67 esi = zx.d(sil) 0x1225 68 flag:c = test_bit(rcx, rsi) 0x1229 69 if (not(flag:c)) then 26 @ 0x129a else 84 @ 0x122b 0x1288 70 xmm0 = [rsp + 8 {var_410}].d 0x128e 71 flag:p = is_unordered.d(xmm0.d, xmm3.d) 0x128e 72 flag:c = xmm0.d f< xmm3.d | is_unordered.d(xmm0.d, xmm3.d) 0x128e 73 flag:z = xmm0.d f== xmm3.d | is_unordered.d(xmm0.d, xmm3.d) 0x128e 74 flag:s = 0 0x128e 75 flag:o = 0 0x128e 76 flag:a = 0 0x1291 77 if (flag:z || flag:c) then 38 @ 0x12a1 else 87 @ 0x1293 0x126e 78 rdi = 0x2014 {"yes"} 0x1275 79 eax = 0 0x1277 80 [rsp + 0xc {var_40c_1}].d = xmm3.d 0x127d 81 call(0x1030) 0x1282 82 xmm3 = [rsp + 0xc {var_40c_1}].d 0x1282 83 goto 70 @ 0x1288 0x122b 84 esi = zx.d([rsp + rax + 0x204].b) 0x1233 85 ebx = (rsi - 0x41).d 0x1239 86 if (bl u> 0x13) then 26 @ 0x129a else 89 @ 0x123b 0x1293 87 rdi = 0x2018 {"no"} 0x1293 88 goto 26 @ 0x129a 0x123b 89 ebx = zx.d(bl) 0x123e 90 flag:c = test_bit(rcx, rbx) 0x1242 91 if (not(flag:c)) then 26 @ 0x129a else 92 @ 0x1244 0x1244 92 xmm3 = xmm2 0x1247 93 xmm3.d = xmm3.d f+ xmm1.d 0x124e 94 if (dl == sil) then 95 @ 0x1200 else 106 @ 0x1250 0x1200 95 rax = rax + 1 0x1204 96 xmm2 = 0 0x1207 97 xmm2.d = float.s(eax) 0x120b 98 flag:p = is_unordered.d(xmm0.d, xmm2.d) 0x120b 99 flag:c = xmm0.d f< xmm2.d | is_unordered.d(xmm0.d, xmm2.d) 0x120b 100 flag:z = xmm0.d f== xmm2.d | is_unordered.d(xmm0.d, xmm2.d) 0x120b 101 flag:s = 0 0x120b 102 flag:o = 0 0x120b 103 flag:a = 0 0x120e 104 xmm2 = xmm3 0x1211 105 if (flag:z || flag:c) then 59 @ 0x1263 else 56 @ 0x1213 0x1250 106 xmm3 = xmm2 0x1253 107 goto 95 @ 0x1200 int64_t _fini(): 0x12b4 0 rsp = rsp - 8 0x12b8 1 rsp = rsp + 8 0x12bc 2 <return> jump(pop)
POJ_5
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) double pow(double x, double y): 0x1050 0 <return> tailcall([0x4028].q) uint64_t strlen(char const* arg1): 0x1060 0 <return> tailcall([0x4030].q) int32_t scanf(char const* format, ...): 0x1070 0 <return> tailcall([0x4038].q) int32_t puts(char const* str): 0x1080 0 <return> tailcall([0x4040].q) int32_t putchar(int32_t c): 0x1090 0 <return> tailcall([0x4048].q) void __cxa_finalize(void* d): 0x10a0 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x10b4 0 ebp = 0 0x10b6 1 r9 = rdx 0x10b9 2 rsi = pop 0x10ba 3 rdx = rsp {arg_8} 0x10bd 4 rsp = rsp & 0xfffffffffffffff0 0x10c1 5 push(rax) 0x10c2 6 push(rsp) 0x10c3 7 r8d = 0 0x10c6 8 ecx = 0 0x10c8 9 rdi = 0x11a0 {"UAVSH "} 0x10cf 10 call([0x3ff8].q) 0x10cf 11 noreturn void deregister_tm_clones(): 0x10e0 0 rdi = 0x4060 {""} 0x10e7 1 rax = 0x4060 {""} 0x10f1 2 if (rax == rdi) then 3 @ 0x1108 else 4 @ 0x10f3 0x1108 3 <return> jump(pop) 0x10f3 4 rax = [0x3fd8].q 0x10fd 5 if (rax == 0) then 3 @ 0x1108 else 6 @ 0x10ff 0x10ff 6 <return> tailcall(rax) void register_tm_clones(): 0x1110 0 rdi = 0x4060 {""} 0x1117 1 rsi = 0x4060 {""} 0x111e 2 rsi = rsi - rdi 0x1121 3 rax = rsi 0x1124 4 rsi = rsi u>> 0x3f 0x1128 5 rax = rax s>> 3 0x112c 6 rsi = rsi + rax 0x112f 7 rsi = rsi s>> 1 0x1132 8 if (rsi == 0) then 9 @ 0x1148 else 10 @ 0x1134 0x1148 9 <return> jump(pop) 0x1134 10 rax = [0x3ff0].q 0x113e 11 if (rax == 0) then 9 @ 0x1148 else 12 @ 0x1140 0x1140 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x115b 0 if ([0x4060].b != 0) then 1 @ 0x1188 else 2 @ 0x115d 0x1188 1 <return> jump(pop) 0x115d 2 push(rbp) 0x115e 3 cond:0 = [0x3fe0].q == 0 0x1166 4 rbp = rsp {__saved_rbp} 0x1169 5 if (cond:0) then 6 @ 0x1177 else 10 @ 0x116b 0x1177 6 call(0x10e0) 0x117c 7 [0x4060].b = 1 0x1183 8 rbp = pop 0x1184 9 <return> jump(pop) 0x116b 10 rdi = [0x4058].q 0x1172 11 call(0x10a0) 0x1172 12 goto 6 @ 0x1177 int64_t frame_dummy(): 0x1194 0 <return> tailcall(0x1110) int32_t main(int32_t argc, char** argv, char** envp): 0x11a0 0 push(rbp) 0x11a1 1 push(r14) 0x11a3 2 push(rbx) 0x11a4 3 rsp = rsp - 0xbe0 0x11ab 4 rdi = rsp + 0x280 {var_978} 0x11b3 5 edx = 0x4b0 {"x"} 0x11b8 6 esi = 0 0x11ba 7 call(0x1040) 0x11bf 8 rdi = rsp + 0x730 {var_4c8} 0x11c7 9 edx = 0x4b0 {"x"} 0x11cc 10 esi = 0 0x11ce 11 call(0x1040) 0x11d3 12 rbx = rsp + 0x150 {var_aa8} 0x11db 13 edx = 0x12c {""} 0x11e0 14 rdi = rbx {var_aa8} 0x11e3 15 esi = 0 0x11e5 16 call(0x1040) 0x11ea 17 rdi = rsp + 0x20 {var_bd8} 0x11ef 18 edx = 0x12c {""} 0x11f4 19 esi = 0 0x11f6 20 call(0x1040) 0x11fb 21 rdi = 0x2004 {"%d%s%d"} 0x1202 22 rsi = rsp + 0xc {var_bec} 0x1207 23 rcx = rsp + 8 {var_bf0} 0x120c 24 rdx = rbx {var_aa8} 0x120f 25 eax = 0 0x1211 26 call(0x1070) 0x1216 27 rdi = rbx {var_aa8} 0x1219 28 call(0x1060) 0x1220 29 if (eax s<= 0) then 30 @ 0x1302 else 35 @ 0x1226 0x1302 30 edi = 0x30 {""} 0x1307 31 call(0x1090) 0x130c 32 eax = 0 0x130e 33 rcx = sx.q([rsp + 8 {var_bf0}].d) 0x1317 34 if (rcx == 0xa) then 40 @ 0x12ec else 45 @ 0x131c 0x1226 35 r14d = eax 0x1229 36 ebp = (rax - 1).d 0x122c 37 ebx = 0 0x122e 38 eax = 0 0x1230 39 goto 46 @ 0x1297 0x12ec 40 rdi = 0x2008 {"%d"} 0x12f3 41 rsi = rax 0x12f6 42 eax = 0 0x12f8 43 call(0x1030) 0x12fd 44 goto 49 @ 0x13a4 0x131c 45 if (rax s<= 0) then 55 @ 0x139a else 58 @ 0x131e 0x1297 46 ecx = sx.d([rsp + rbx + 0x150].b) 0x129f 47 edx = (rcx - 0x30).d 0x12a5 48 if (dl u<= 9) then 60 @ 0x1240 else 62 @ 0x12a7 0x13a4 49 eax = 0 0x13a6 50 rsp = rsp + 0xbe0 0x13ad 51 rbx = pop 0x13ae 52 r14 = pop 0x13b0 53 rbp = pop 0x13b1 54 <return> jump(pop) 0x139a 55 rdi = rsp + 0x20 {var_bd8} 0x139f 56 call(0x1080) 0x139f 57 goto 49 @ 0x13a4 0x131e 58 esi = 0 0x1320 59 goto 64 @ 0x1345 0x1240 60 ecx = ecx - 0x30 0x1240 61 goto 68 @ 0x1243 0x12a7 62 edx = (rcx - 0x41).d 0x12ad 63 if (dl u> 0x19) then 70 @ 0x12c0 else 72 @ 0x12af 0x1345 64 rdx = rax 0x1348 65 rdx = rdx | rcx 0x134b 66 rdx = rdx u>> 0x20 0x134f 67 if (rdx != 0) then 74 @ 0x1330 else 80 @ 0x1351 0x1243 68 [rsp + (rbx << 2) + 0x280].d = ecx 0x1243 69 goto 91 @ 0x124a 0x12c0 70 edx = (rcx - 0x61).d 0x12c6 71 if (dl u>= 0x1a) then 108 @ 0x12d0 else 110 @ 0x12c8 0x12af 72 ecx = ecx - 0x37 0x12b2 73 goto 68 @ 0x1243 0x1330 74 rdx:rax = sx.o(rax) 0x1332 75 temp0.q = divs.dp.q(rdx:rax, rcx) 0x1332 76 temp1.q = mods.dp.q(rdx:rax, rcx) 0x1332 77 rax = temp0.q 0x1332 78 rdx = temp1.q 0x1332 79 goto 112 @ 0x1335 0x1351 80 edx = 0 0x1353 81 temp2.d = ecx 0x1353 82 temp3.d = edx 0x1353 83 temp4.d = eax 0x1353 84 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1353 85 temp5.d = edx 0x1353 86 temp6.d = eax 0x1353 87 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1353 88 eax = temp0.d 0x1353 89 edx = temp1.d 0x1355 90 goto 112 @ 0x1335 0x124a 91 xmm0 = 0 0x124d 92 xmm0.q = float.d(rax) 0x1252 93 [rsp + 0x18 {var_be0_1}].q = xmm0.q 0x1258 94 xmm0 = 0 0x125b 95 xmm0.q = float.d(ecx) 0x125f 96 [rsp + 0x10 {var_be8_1}].q = xmm0.q 0x1265 97 xmm0 = 0 0x1268 98 xmm0.q = float.d([rsp + 0xc {var_bec}].d) 0x126e 99 xmm1 = 0 0x1271 100 xmm1.q = float.d(ebp) 0x1275 101 call(0x1050) 0x127a 102 xmm0.q = xmm0.q f* fconvert.t([rsp + 0x10 {var_be8_1}].q) 0x1280 103 xmm0.q = xmm0.q f+ fconvert.t([rsp + 0x18 {var_be0_1}].q) 0x1286 104 rax = int.q(ftrunc(xmm0.q)) 0x128b 105 rbx = rbx + 1 0x128f 106 ebp = ebp - 1 0x1295 107 if (r14 == rbx) then 115 @ 0x12df else 46 @ 0x1297 0x12d0 108 ecx = [rsp + (rbx << 2) + 0x280].d 0x12d7 109 goto 91 @ 0x124a 0x12c8 110 ecx = ecx - 0x57 0x12cb 111 goto 68 @ 0x1243 0x1335 112 [rsp + (rsi << 2) + 0x730].d = edx 0x133c 113 rsi = rsi + 1 0x1343 114 if (rax s<= 0) then 116 @ 0x1359 else 64 @ 0x1345 0x12df 115 if (rax == 0) then 30 @ 0x1302 else 117 @ 0x12e1 0x1359 116 if (esi == 0) then 55 @ 0x139a else 119 @ 0x135b 0x12e1 117 rcx = sx.q([rsp + 8 {var_bf0}].d) 0x12ea 118 if (rcx != 0xa) then 45 @ 0x131c else 40 @ 0x12ec 0x135b 119 rcx = sx.q(esi) 0x135e 120 rax = rsp + (rcx << 2) 0x1362 121 rax = rax + 0x730 0x1368 122 ecx = ecx 0x136a 123 edx = 0 0x136c 124 goto 125 @ 0x1385 0x1385 125 esi = [rax - 4].d 0x1388 126 bl = 0x30 {""} 0x138a 127 cond:0 = esi s< 0xa 0x138d 128 if (esi u< 0xa) then 129 @ 0x1370 else 132 @ 0x138f 0x1370 129 sil = sil + bl 0x1373 130 [rsp + rdx + 0x20].b = sil 0x1373 131 goto 133 @ 0x1378 0x138f 132 if (cond:0) then 133 @ 0x1378 else 136 @ 0x1391 0x1378 133 rdx = rdx + 1 0x137c 134 rax = rax - 4 0x1383 135 if (rcx == rdx) then 55 @ 0x139a else 125 @ 0x1385 0x1391 136 bl = 0x37 {""} 0x1396 137 if ([rax].d s<= 0x23) then 129 @ 0x1370 else 138 @ 0x1398 0x1398 138 goto 133 @ 0x1378 int64_t _fini(): 0x13b8 0 rsp = rsp - 8 0x13bc 1 rsp = rsp + 8 0x13c0 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 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 {"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 - 0x16a0 0x115c 4 rdi = 0x2006 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_16ac} 0x1168 6 eax = 0 0x116a 7 call(0x1030) 0x1174 8 if ([rsp + 0xc {var_16ac}].d s<= 0) then 9 @ 0x12d2 else 14 @ 0x117a 0x12d2 9 rsp = rsp + 0x16a0 0x12d9 10 rbx = pop 0x12da 11 r14 = pop 0x12dc 12 r15 = pop 0x12de 13 <return> jump(pop) 0x117a 14 rbx = rsp + 0x7a0 {var_f18} 0x1182 15 r14 = 0x2004 {"%s%d"} 0x1189 16 r15d = 0 0x118c 17 goto 18 @ 0x1190 0x1190 18 rdx = rbx + 0xc 0x1194 19 rdi = r14 0x1197 20 rsi = rbx 0x119a 21 eax = 0 0x119c 22 call(0x1030) 0x11a1 23 r15 = r15 + 1 0x11a5 24 rax = sx.q([rsp + 0xc {var_16ac}].d) 0x11aa 25 rbx = rbx + 0x10 0x11b1 26 if (r15 s< rax) then 18 @ 0x1190 else 27 @ 0x11b3 0x11b3 27 ecx = eax 0x11b7 28 if (ecx s<= 0) then 9 @ 0x12d2 else 29 @ 0x11bd 0x11bd 29 rcx = rcx << 4 0x11c1 30 edx = 0 0x11c3 31 r14d = 0 0x11c6 32 eax = 0 0x11c8 33 goto 34 @ 0x11ff 0x11ff 34 if ([rsp + rdx + 0x7ac].d s< 0x3c) then 35 @ 0x11d0 else 42 @ 0x1201 0x11d0 35 r14 = sx.q(r14d) 0x11d3 36 rsi = r14 0x11d6 37 rsi = rsi << 4 0x11da 38 xmm0 = [rsp + rdx + 0x7a0].o 0x11e2 39 [rsp + rsi + 0xf20].o = xmm0 0x11ea 40 r14d = r14d + 1 0x11ea 41 goto 49 @ 0x11ee 0x1201 42 rax = sx.q(eax) 0x1203 43 rsi = rax 0x1206 44 rsi = rsi << 4 0x120a 45 xmm0 = [rsp + rdx + 0x7a0].o 0x1212 46 [rsp + rsi + 0x20].o = xmm0 0x1217 47 eax = eax + 1 0x121a 48 goto 49 @ 0x11ee 0x11ee 49 rdx = rdx + 0x10 0x11f5 50 if (rcx == rdx) then 51 @ 0x121f else 34 @ 0x11ff 0x121f 51 if (eax s< 2) then 52 @ 0x1280 else 53 @ 0x1221 0x1280 52 if (eax s<= 0) then 57 @ 0x12a5 else 58 @ 0x1282 0x1221 53 r8d = (rax - 1).d 0x1225 54 edx = 0 0x1227 55 esi = r8d 0x122a 56 goto 61 @ 0x123b 0x12a5 57 if (r14d s<= 0) then 9 @ 0x12d2 else 65 @ 0x12a7 0x1282 58 r15d = eax 0x1285 59 rbx = rsp + 0x20 {var_1698} 0x128a 60 goto 68 @ 0x1290 0x123b 61 edi = edx 0x123d 62 edi = not.d(edi) 0x123f 63 edi = edi + eax 0x1243 64 if (edi s<= 0) then 74 @ 0x1230 else 77 @ 0x1245 0x12a7 65 r14d = r14d 0x12aa 66 rbx = rsp + 0xf20 {var_798} 0x12bc 67 goto 81 @ 0x12c0 0x1290 68 rdi = rbx 0x1293 69 call(0x1040) 0x1298 70 rbx = rbx + 0x10 0x129c 71 temp0.q = r15 0x129c 72 r15 = r15 - 1 0x12a0 73 if (temp0.q != 1) then 68 @ 0x1290 else 57 @ 0x12a5 0x1230 74 edx = edx + 1 0x1233 75 esi = esi - 1 0x1239 76 if (edx == r8d) then 52 @ 0x1280 else 61 @ 0x123b 0x1245 77 edi = esi 0x1247 78 rdi = rdi << 4 0x124b 79 ebx = 0 0x124d 80 goto 87 @ 0x1259 0x12c0 81 rdi = rbx 0x12c3 82 call(0x1040) 0x12c8 83 rbx = rbx + 0x10 0x12cc 84 temp1.q = r14 0x12cc 85 r14 = r14 - 1 0x12d0 86 if (temp1.q != 1) then 81 @ 0x12c0 else 9 @ 0x12d2 0x1259 87 ecx = [rsp + rbx + 0x2c].d 0x1261 88 if (ecx s>= [rsp + rbx + 0x3c].d) then 89 @ 0x1250 else 91 @ 0x1263 0x1250 89 rbx = rbx + 0x10 0x1257 90 if (rdi == rbx) then 74 @ 0x1230 else 87 @ 0x1259 0x1263 91 xmm0 = [rsp + rbx + 0x20].o 0x1268 92 [rsp + 0x10 {var_16a8_1}].o = xmm0 0x126d 93 xmm1 = [rsp + rbx + 0x30].o 0x1272 94 [rsp + rbx + 0x20].o = xmm1 0x1277 95 [rsp + rbx + 0x30].o = xmm0 0x127c 96 goto 89 @ 0x1250 int64_t _fini(): 0x12e4 0 rsp = rsp - 8 0x12e8 1 rsp = rsp + 8 0x12ec 2 <return> jump(pop)
POJ_9
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x186b8 0x1171 7 rdi = 0x2004 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_186dc} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 0xc {var_186dc}].d s<= 0) then 12 @ 0x124f else 21 @ 0x118f 0x124f 12 eax = 0 0x1251 13 rsp = rsp + 0x186b8 0x1258 14 rbx = pop 0x1259 15 r12 = pop 0x125b 16 r13 = pop 0x125d 17 r14 = pop 0x125f 18 r15 = pop 0x1261 19 rbp = pop 0x1262 20 <return> jump(pop) 0x118f 21 r14 = 0x2007 {"%s"} 0x1196 22 r13 = rsp + 0x10 {var_186d8} 0x119b 23 r12 = 0x200a {"%c\n"} 0x11a2 24 ebp = 0 0x11a4 25 goto 26 @ 0x11bd 0x11bd 26 rdi = r14 0x11c0 27 rsi = r13 {var_186d8} 0x11c3 28 eax = 0 0x11c5 29 call(0x1040) 0x11ca 30 bl = [rsp + 0x10 {var_186d8}].b 0x11d0 31 if (bl == 0) then 32 @ 0x1238 else 33 @ 0x11d2 0x1238 32 if (r15d != 0) then 37 @ 0x11b0 else 39 @ 0x123e 0x11d2 33 dil = [rsp + 0x10 {var_186d8}].b 0x11d7 34 edx = 0 0x11d9 35 eax = ebx 0x11d9 36 goto 42 @ 0x11de 0x11b0 37 ebp = ebp + 1 0x11b7 38 if (ebp s>= [rsp + 0xc {var_186dc}].d) then 12 @ 0x124f else 26 @ 0x11bd 0x123e 39 rdi = 0x200e {"no"} 0x1245 40 call(0x1050) 0x124a 41 goto 37 @ 0x11b0 0x11de 42 if (dil == 0) then 43 @ 0x1222 else 49 @ 0x11e0 0x1222 43 esi = sx.d(bl) 0x1225 44 rdi = r12 0x1228 45 eax = 0 0x122a 46 call(0x1030) 0x122f 47 r15d = 1 0x122f 48 goto 32 @ 0x1238 0x11e0 49 esi = 0 0x11e2 50 ecx = edi 0x11e4 51 goto 52 @ 0x1200 0x1200 52 if (rdx == rsi) then 53 @ 0x11f0 else 56 @ 0x1204 0x11f0 53 ecx = zx.d([rsp + rsi + 0x11].b) 0x11f5 54 rsi = rsi + 1 0x11fb 55 if (cl == 0) then 57 @ 0x1220 else 52 @ 0x1200 0x1204 56 if (al != cl) then 53 @ 0x11f0 else 59 @ 0x1206 0x1220 57 ebx = eax 0x1220 58 goto 43 @ 0x1222 0x1206 59 al = [rsp + rdx + 0x11].b 0x120a 60 rdx = rdx + 1 0x1210 61 if (al != 0) then 42 @ 0x11de else 62 @ 0x1212 0x1212 62 r15d = 0 0x1215 63 goto 32 @ 0x1238 int64_t _fini(): 0x1268 0 rsp = rsp - 8 0x126c 1 rsp = rsp + 8 0x1270 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) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"AWAVATSHxH="} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(r15) 0x1172 1 push(r14) 0x1174 2 push(r12) 0x1176 3 push(rbx) 0x1177 4 rsp = rsp - 0x78 0x117b 5 rdi = 0x2004 {"%d"} 0x1182 6 rsi = rsp + 0xc {var_8c} 0x1187 7 eax = 0 0x1189 8 call(0x1040) 0x1193 9 if ([rsp + 0xc {var_8c}].d s< 0) then 10 @ 0x12b8 else 16 @ 0x1199 0x12b8 10 rsp = rsp + 0x78 0x12bc 11 rbx = pop 0x12bd 12 r12 = pop 0x12bf 13 r14 = pop 0x12c1 14 r15 = pop 0x12c3 15 <return> jump(pop) 0x1199 16 r12 = rsp + 0x10 {var_88} 0x119e 17 r14 = 0x2007 {"1"} 0x11a5 18 r15 = 0x2009 {"0"} 0x11ac 19 ebx = 0 0x11ae 20 goto 21 @ 0x11c7 0x11c7 21 rdi = r12 {var_88} 0x11ca 22 eax = 0 0x11cc 23 call(0x1050) 0x11d1 24 rdi = r12 {var_88} 0x11d4 25 call(0x1030) 0x11db 26 if (eax s<= 0) then 27 @ 0x11b8 else 31 @ 0x11dd 0x11b8 27 eax = (rbx + 1).d 0x11bb 28 cond:0 = ebx s>= [rsp + 0xc {var_8c}].d 0x11bf 29 ebx = eax 0x11c1 30 if (cond:0) then 10 @ 0x12b8 else 21 @ 0x11c7 0x11dd 31 cl = [rsp + 0x10 {var_88}].b 0x11e1 32 edx = (rcx - 0x41).d 0x11e4 33 eax = eax - 1 0x11ea 34 if (dl u> 0x19) then 35 @ 0x1243 else 36 @ 0x11ec 0x1243 35 if (cl == 0x5f) then 40 @ 0x1254 else 44 @ 0x1245 0x11ec 36 eax = eax 0x11ee 37 rax = rax + 1 0x11f2 38 ecx = 0 0x11f4 39 goto 47 @ 0x1215 0x1254 40 eax = eax 0x1256 41 rax = rax + 1 0x125a 42 ecx = 0 0x125c 43 goto 48 @ 0x1275 0x1245 44 cl = cl - 0x61 0x1248 45 rdi = r15 0x124e 46 if (cl u> 0x19) then 49 @ 0x11b3 else 40 @ 0x1254 0x1215 47 if (rcx == 0) then 51 @ 0x1205 else 53 @ 0x1217 0x1275 48 if (rcx == 0) then 55 @ 0x1269 else 57 @ 0x1277 0x11b3 49 call(0x1060) 0x11b3 50 goto 27 @ 0x11b8 0x1205 51 rcx = rcx + 1 0x120c 52 if (rax == rcx) then 59 @ 0x12b0 else 47 @ 0x1215 0x1217 53 edx = zx.d([rsp + rcx + 0x10].b) 0x121f 54 if (dl s< 0x30) then 61 @ 0x11b0 else 63 @ 0x1221 0x1269 55 rcx = rcx + 1 0x1270 56 if (rax == rcx) then 59 @ 0x12b0 else 48 @ 0x1275 0x1277 57 edx = zx.d([rsp + rcx + 0x10].b) 0x127f 58 if (dl s< 0x30) then 61 @ 0x11b0 else 65 @ 0x1285 0x12b0 59 rdi = r14 0x12b3 60 goto 49 @ 0x11b3 0x11b0 61 rdi = r15 0x11b0 62 goto 49 @ 0x11b3 0x1221 63 esi = (rdx - 0x3a).d 0x1228 64 if (sil u< 7) then 61 @ 0x11b0 else 67 @ 0x122a 0x1285 65 esi = (rdx - 0x3a).d 0x128c 66 if (sil u< 7) then 61 @ 0x11b0 else 69 @ 0x1292 0x122a 67 esi = (rdx - 0x5b).d 0x1231 68 if (sil u>= 6) then 71 @ 0x1203 else 72 @ 0x1236 0x1292 69 esi = (rdx - 0x5b).d 0x1299 70 if (sil u>= 6) then 73 @ 0x1263 else 74 @ 0x129e 0x1203 71 if (dl u> 0x7a) then 61 @ 0x11b0 else 51 @ 0x1205 0x1236 72 if (dl == 0x5f) then 51 @ 0x1205 else 75 @ 0x1238 0x1263 73 if (dl u> 0x7a) then 61 @ 0x11b0 else 55 @ 0x1269 0x129e 74 if (dl == 0x5f) then 55 @ 0x1269 else 76 @ 0x12a0 0x1238 75 goto 61 @ 0x11b0 0x12a0 76 goto 61 @ 0x11b0 int64_t _fini(): 0x12c8 0 rsp = rsp - 8 0x12cc 1 rsp = rsp + 8 0x12d0 2 <return> jump(pop)
POJ_58
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 {"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 change(int32_t arg1, int32_t arg2): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 [rbp - 8 {var_10}].d = edi 0x1157 3 [rbp - 0xc {var_14}].d = esi 0x115e 4 if ([rbp - 0xc {var_14}].d s< 0) then 5 @ 0x118e else 7 @ 0x1168 0x118e 5 [rbp - 4 {var_c}].d = 0 0x118e 6 goto 8 @ 0x1195 0x1168 7 if ([rbp - 0xc {var_14}].d s> 4) then 5 @ 0x118e else 11 @ 0x1172 0x1195 8 eax = [rbp - 4 {var_c}].d 0x1198 9 rbp = pop 0x1199 10 <return> jump(pop) 0x1172 11 if ([rbp - 8 {var_10}].d s< 0) then 5 @ 0x118e else 12 @ 0x117c 0x117c 12 if ([rbp - 8 {var_10}].d s> 4) then 5 @ 0x118e else 13 @ 0x1182 0x1182 13 [rbp - 4 {var_c}].d = 1 0x1189 14 goto 8 @ 0x1195 int32_t main(int32_t argc, char** argv, char** envp): 0x11a0 0 push(rbp) 0x11a1 1 rbp = rsp {__saved_rbp} 0x11a4 2 rsp = rsp - 0x90 0x11ab 3 [rbp - 0x7c {var_84}].d = 0 0x11ab 4 goto 5 @ 0x11b6 0x11b6 5 if ([rbp - 0x7c {var_84}].d s>= 5) then 6 @ 0x1216 else 15 @ 0x11bc 0x1216 6 rdi = 0x2004 {"%d %d"} 0x121d 7 rsi = rbp - 0x74 {var_7c} 0x1221 8 rdx = rbp - 0x78 {var_80} 0x1225 9 al = 0 0x1227 10 call(0x1040) 0x122c 11 edi = [rbp - 0x78 {var_80}].d 0x122f 12 esi = [rbp - 0x74 {var_7c}].d 0x1232 13 call(0x1150) 0x123a 14 if (eax != 0) then 17 @ 0x1253 else 21 @ 0x1240 0x11bc 15 [rbp - 0x80 {var_88_1}].d = 0 0x11bc 16 goto 25 @ 0x11c7 0x1253 17 edi = [rbp - 0x78 {var_80}].d 0x1256 18 esi = [rbp - 0x74 {var_7c}].d 0x1259 19 call(0x1150) 0x1261 20 if (eax != 1) then 26 @ 0x1395 else 27 @ 0x1267 0x1240 21 rdi = 0x200a {"error"} 0x1247 22 al = 0 0x1249 23 call(0x1030) 0x124e 24 goto 29 @ 0x139a 0x11c7 25 if ([rbp - 0x80 {var_88_1}].d s>= 5) then 32 @ 0x1203 else 33 @ 0x11cd 0x1395 26 goto 29 @ 0x139a 0x1267 27 [rbp - 0x7c {var_84_1}].d = 0 0x1267 28 goto 47 @ 0x1272 0x139a 29 rsp = rsp + 0x90 0x13a1 30 rbp = pop 0x13a2 31 <return> jump(pop) 0x1203 32 goto 48 @ 0x1208 0x11cd 33 rax = sx.q([rbp - 0x7c {var_84}].d) 0x11d1 34 rsi = rbp - 0x70 {var_78} 0x11d5 35 rax = rax * 0x14 0x11d9 36 rsi = rsi + rax 0x11dc 37 rax = sx.q([rbp - 0x80 {var_88_1}].d) 0x11e0 38 rax = rax << 2 0x11e4 39 rsi = rsi + rax 0x11e7 40 rdi = 0x2007 {"%d"} 0x11ee 41 al = 0 0x11f0 42 call(0x1040) 0x11f5 43 eax = [rbp - 0x80 {var_88_1}].d 0x11f8 44 eax = eax + 1 0x11fb 45 [rbp - 0x80 {var_88_1}].d = eax 0x11fe 46 goto 25 @ 0x11c7 0x1272 47 if ([rbp - 0x7c {var_84_1}].d s>= 5) then 52 @ 0x12ea else 54 @ 0x1278 0x1208 48 eax = [rbp - 0x7c {var_84}].d 0x120b 49 eax = eax + 1 0x120e 50 [rbp - 0x7c {var_84}].d = eax 0x1211 51 goto 5 @ 0x11b6 0x12ea 52 [rbp - 0x7c {var_84_2}].d = 0 0x12ea 53 goto 84 @ 0x12f5 0x1278 54 rcx = sx.q([rbp - 0x78 {var_80}].d) 0x127c 55 rax = rbp - 0x70 {var_78} 0x1280 56 rcx = rcx * 0x14 0x1284 57 rax = rax + rcx 0x1287 58 rcx = sx.q([rbp - 0x7c {var_84_1}].d) 0x128b 59 eax = [rax + (rcx << 2)].d 0x128e 60 [rbp - 0x84 {var_8c_1}].d = eax 0x1294 61 rcx = sx.q([rbp - 0x74 {var_7c}].d) 0x1298 62 rax = rbp - 0x70 {var_78} 0x129c 63 rcx = rcx * 0x14 0x12a0 64 rax = rax + rcx 0x12a3 65 rcx = sx.q([rbp - 0x7c {var_84_1}].d) 0x12a7 66 edx = [rax + (rcx << 2)].d 0x12aa 67 rcx = sx.q([rbp - 0x78 {var_80}].d) 0x12ae 68 rax = rbp - 0x70 {var_78} 0x12b2 69 rcx = rcx * 0x14 0x12b6 70 rax = rax + rcx 0x12b9 71 rcx = sx.q([rbp - 0x7c {var_84_1}].d) 0x12bd 72 [rax + (rcx << 2)].d = edx 0x12c0 73 edx = [rbp - 0x84 {var_8c_1}].d 0x12c6 74 rcx = sx.q([rbp - 0x74 {var_7c}].d) 0x12ca 75 rax = rbp - 0x70 {var_78} 0x12ce 76 rcx = rcx * 0x14 0x12d2 77 rax = rax + rcx 0x12d5 78 rcx = sx.q([rbp - 0x7c {var_84_1}].d) 0x12d9 79 [rax + (rcx << 2)].d = edx 0x12dc 80 eax = [rbp - 0x7c {var_84_1}].d 0x12df 81 eax = eax + 1 0x12e2 82 [rbp - 0x7c {var_84_1}].d = eax 0x12e5 83 goto 47 @ 0x1272 0x12f5 84 if ([rbp - 0x7c {var_84_2}].d s>= 5) then 85 @ 0x1390 else 86 @ 0x12fb 0x1390 85 goto 26 @ 0x1395 0x12fb 86 [rbp - 0x80 {var_88_2}].d = 0 0x12fb 87 goto 88 @ 0x1306 0x1306 88 if ([rbp - 0x80 {var_88_2}].d s>= 5) then 89 @ 0x137d else 90 @ 0x130c 0x137d 89 goto 100 @ 0x1382 0x130c 90 rcx = sx.q([rbp - 0x7c {var_84_2}].d) 0x1310 91 rax = rbp - 0x70 {var_78} 0x1314 92 rcx = rcx * 0x14 0x1318 93 rax = rax + rcx 0x131b 94 rcx = sx.q([rbp - 0x80 {var_88_2}].d) 0x131f 95 esi = [rax + (rcx << 2)].d 0x1322 96 rdi = 0x2007 {"%d"} 0x1329 97 al = 0 0x132b 98 call(0x1030) 0x1334 99 if ([rbp - 0x80 {var_88_2}].d s>= 4) then 104 @ 0x134c else 105 @ 0x133a 0x1382 100 eax = [rbp - 0x7c {var_84_2}].d 0x1385 101 eax = eax + 1 0x1388 102 [rbp - 0x7c {var_84_2}].d = eax 0x138b 103 goto 84 @ 0x12f5 0x134c 104 if ([rbp - 0x7c {var_84_2}].d s>= 4) then 109 @ 0x136a else 110 @ 0x1356 0x133a 105 rdi = 0x2010 {" "} 0x1341 106 al = 0 0x1343 107 call(0x1030) 0x1343 108 goto 104 @ 0x134c 0x136a 109 goto 111 @ 0x136f 0x1356 110 if ([rbp - 0x80 {var_88_2}].d != 4) then 109 @ 0x136a else 115 @ 0x135c 0x136f 111 eax = [rbp - 0x80 {var_88_2}].d 0x1372 112 eax = eax + 1 0x1375 113 [rbp - 0x80 {var_88_2}].d = eax 0x1378 114 goto 88 @ 0x1306 0x135c 115 rdi = 0x2012 {"\n"} 0x1363 116 al = 0 0x1365 117 call(0x1030) 0x1365 118 goto 109 @ 0x136a int64_t _fini(): 0x13a8 0 rsp = rsp - 8 0x13ac 1 rsp = rsp + 8 0x13b0 2 <return> jump(pop)
POJ_81
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t 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) 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 {"AWAVAUATSH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(r15) 0x1172 1 push(r14) 0x1174 2 push(r13) 0x1176 3 push(r12) 0x1178 4 push(rbx) 0x1179 5 rsp = rsp - 0x300 0x1180 6 r14 = 0x2004 {"%s"} 0x1187 7 r12d = 0 0x118a 8 r13 = rsp {var_328} 0x118d 9 rdi = r14 0x1190 10 rsi = r13 {var_328} 0x1193 11 eax = 0 0x1195 12 call(0x1060) 0x119a 13 r15 = rsp + 0x200 {var_128} 0x11a2 14 rdi = r14 0x11a5 15 rsi = r15 {var_128} 0x11a8 16 eax = 0 0x11aa 17 call(0x1060) 0x11af 18 rsi = rsp + 0x100 {var_228} 0x11b7 19 rdi = r14 0x11ba 20 eax = 0 0x11bc 21 call(0x1060) 0x11c1 22 rdi = r13 {var_328} 0x11c4 23 call(0x1050) 0x11c9 24 r14 = rax 0x11cc 25 rdi = r15 {var_128} 0x11cf 26 call(0x1050) 0x11d4 27 edx = 0 0x11d9 28 temp0.d = r14d 0x11d9 29 r14d = r14d - eax 0x11dc 30 if (temp0.d s< eax) then 31 @ 0x1236 else 32 @ 0x11de 0x1236 31 if (edx != eax) then 36 @ 0x1252 else 48 @ 0x123a 0x11de 32 r14d = r14d + 1 0x11e2 33 ecx = eax 0x11e4 34 r12d = 0 0x11e7 35 goto 49 @ 0x11f0 0x1252 36 rdi = 0x2004 {"%s"} 0x1259 37 rsi = rsp {var_328} 0x125c 38 eax = 0 0x125e 39 call(0x1030) 0x1263 40 eax = 0 0x1265 41 rsp = rsp + 0x300 0x126c 42 rbx = pop 0x126d 43 r12 = pop 0x126f 44 r13 = pop 0x1271 45 r14 = pop 0x1273 46 r15 = pop 0x1275 47 <return> jump(pop) 0x123a 48 if (eax s<= 0) then 36 @ 0x1252 else 51 @ 0x123c 0x11f0 49 edx = 0 0x11f7 50 if (eax s<= 0) then 57 @ 0x1220 else 58 @ 0x11f9 0x123c 51 ecx = r12d 0x123f 52 rdi = rsp + rcx 0x1243 53 edx = eax 0x1245 54 rsi = rsp + 0x100 {var_228} 0x124d 55 call(0x1040) 0x124d 56 goto 36 @ 0x1252 0x1220 57 if (edx == eax) then 31 @ 0x1236 else 61 @ 0x1222 0x11f9 58 esi = 0 0x11fb 59 edx = 0 0x11fd 60 goto 64 @ 0x1200 0x1222 61 r12 = r12 + 1 0x1226 62 r13 = r13 + 1 0x122d 63 if (r12 != r14) then 49 @ 0x11f0 else 70 @ 0x122f 0x1200 64 ebx = zx.d([r13 + rsi].b) 0x1206 65 edi = 0 0x120f 66 dil = bl == [rsp + rsi + 0x200].b 0x1213 67 edx = edx + edi 0x1215 68 rsi = rsi + 1 0x121c 69 if (rcx != rsi) then 64 @ 0x1200 else 57 @ 0x1220 0x122f 70 edx = 0 0x1231 71 r12d = r14d 0x1231 72 goto 31 @ 0x1236 int64_t _fini(): 0x127c 0 rsp = rsp - 8 0x1280 1 rsp = rsp + 8 0x1284 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 getchar(): 0x1040 0 <return> tailcall([0x4020].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"AWAVSHj"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(r15) 0x1172 1 push(r14) 0x1174 2 push(rbx) 0x1175 3 rsp = rsp - 0x186a10 0x117c 4 rdi = rsp + 0x10 {var_186a18} 0x1181 5 edx = 0x61a80 {""} 0x1186 6 esi = 0 0x1188 7 call(0x1050) 0x118d 8 rdi = rsp + 0x124f90 {var_61a98} 0x1195 9 edx = 0x61a80 {""} 0x119a 10 esi = 0 0x119c 11 call(0x1050) 0x11a1 12 rdi = 0x2007 {"%d"} 0x11a8 13 rsi = rsp + 0xc {var_186a1c} 0x11ad 14 eax = 0 0x11af 15 call(0x1060) 0x11b4 16 rdx = rsp + 0x61a94 {var_124f94} 0x11bc 17 rdi = 0x2004 {"%d %d"} 0x11c3 18 rsi = rsp + 0x61a90 {var_124f98} 0x11cb 19 eax = 0 0x11cd 20 call(0x1060) 0x11d2 21 eax = [rsp + 0x61a90 {var_124f98}].d 0x11d9 22 temp0.d = eax 0x11d9 23 temp1.d = [rsp + 0x61a94 {var_124f94}].d 0x11d9 24 eax = eax + [rsp + 0x61a94 {var_124f94}].d 0x11e0 25 if (temp0.d != neg.d(temp1.d)) then 26 @ 0x11f3 else 30 @ 0x11e2 0x11f3 26 rbx = rsp + 0x61a9c {var_124f8c} 0x11fb 27 r14 = 0x2004 {"%d %d"} 0x1202 28 r15d = 0 0x120f 29 goto 32 @ 0x1210 0x11e2 30 eax = [rsp + 0xc {var_186a1c}].d 0x11e8 31 if (eax s> 0) then 46 @ 0x1327 else 49 @ 0x11ee 0x1210 32 rsi = rbx - 4 0x1214 33 rdi = r14 0x1217 34 rdx = rbx 0x121a 35 eax = 0 0x121c 36 call(0x1060) 0x1221 37 eax = [rbx - 4].d 0x1224 38 r15 = r15 - 1 0x1228 39 rcx = rbx + 8 0x122c 40 temp2.d = eax 0x122c 41 temp3.d = [rbx].d 0x122c 42 eax = eax + [rbx].d 0x122c 43 cond:0 = temp2.d != neg.d(temp3.d) 0x122e 44 rbx = rcx 0x1231 45 if (cond:0) then 32 @ 0x1210 else 50 @ 0x1233 0x1327 46 r14 = 0x2007 {"%d"} 0x132e 47 ebx = 0 0x1330 48 goto 52 @ 0x134c 0x11ee 49 goto 54 @ 0x1371 0x1233 50 eax = [rsp + 0xc {var_186a1c}].d 0x1239 51 if (eax s<= 0) then 54 @ 0x1371 else 64 @ 0x1242 0x134c 52 ecx = (rax - 1).d 0x1353 53 if ([rsp + (rbx << 2) + 0x10].d != ecx) then 65 @ 0x1340 else 68 @ 0x135d 0x1371 54 eax = 0 0x1373 55 call(0x1040) 0x1378 56 eax = 0 0x137a 57 call(0x1040) 0x137f 58 eax = 0 0x1381 59 rsp = rsp + 0x186a10 0x1388 60 rbx = pop 0x1389 61 r14 = pop 0x138b 62 r15 = pop 0x138d 63 <return> jump(pop) 0x1242 64 if (r15d == 0) then 46 @ 0x1327 else 69 @ 0x1248 0x1340 65 rbx = rbx + 1 0x1344 66 rcx = sx.q(eax) 0x134a 67 if (rbx s>= rcx) then 54 @ 0x1371 else 52 @ 0x134c 0x135d 68 if ([rsp + (rbx << 2) + 0x124f90].d != 0) then 65 @ 0x1340 else 79 @ 0x135f 0x1248 69 rcx = r15 0x124b 70 rcx = neg.q(rcx) 0x124e 71 r8d = ecx 0x1251 72 esi = r15d 0x1254 73 esi = neg.d(esi) 0x1256 74 edi = ecx 0x1258 75 edi = edi & 1 0x125b 76 rsi = rsi - rdi 0x125e 77 edi = 0 0x1260 78 goto 85 @ 0x1279 0x135f 79 rdi = r14 0x1362 80 esi = ebx 0x1364 81 eax = 0 0x1366 82 call(0x1030) 0x136b 83 eax = [rsp + 0xc {var_186a1c}].d 0x136f 84 goto 65 @ 0x1340 0x1279 85 ebx = 0 0x127f 86 if (r8d != 1) then 87 @ 0x12a9 else 89 @ 0x1284 0x12a9 87 edx = [rsp + (rbx << 3) + 0x61a94].d 0x12b3 88 if (rdi == rdx) then 90 @ 0x12d0 else 93 @ 0x12b5 0x1284 89 if ((cl & 1) == 0) then 95 @ 0x1270 else 97 @ 0x1286 0x12d0 90 [rsp + (rdi << 2) + 0x10].d = [rsp + (rdi << 2) + 0x10].d + 1 0x12d5 91 edx = [rsp + (rbx << 3) + 0x61a9c].d 0x12df 92 if (rdi != rdx) then 99 @ 0x12a0 else 101 @ 0x12e1 0x12b5 93 edx = [rsp + (rbx << 3) + 0x61a9c].d 0x12bf 94 if (rdi != rdx) then 99 @ 0x12a0 else 103 @ 0x12c1 0x1270 95 rdi = rdi + 1 0x1277 96 if (rdi == rax) then 104 @ 0x12e8 else 85 @ 0x1279 0x1286 97 edx = [rsp + (rbx << 3) + 0x61a94].d 0x1290 98 if (rdi != rdx) then 95 @ 0x1270 else 107 @ 0x1292 0x12a0 99 rbx = rbx + 2 0x12a7 100 if (rsi == rbx) then 89 @ 0x1284 else 87 @ 0x12a9 0x12e1 101 [rsp + (rdi << 2) + 0x10].d = [rsp + (rdi << 2) + 0x10].d + 1 0x12e6 102 goto 99 @ 0x12a0 0x12c1 103 goto 101 @ 0x12e1 0x12e8 104 r15d = neg.d(r15d) 0x12eb 105 ecx = 0 0x12ed 106 goto 109 @ 0x1301 0x1292 107 [rsp + (rdi << 2) + 0x10].d = [rsp + (rdi << 2) + 0x10].d + 1 0x1297 108 goto 95 @ 0x1270 0x1301 109 edx = 0 0x130d 110 goto 111 @ 0x1310 0x1310 111 esi = [rsp + (rdx << 3) + 0x61a90].d 0x131a 112 if (rcx == rsi) then 113 @ 0x12f0 else 115 @ 0x131c 0x12f0 113 [rsp + (rcx << 2) + 0x124f90].d = [rsp + (rcx << 2) + 0x124f90].d + 1 0x12f0 114 goto 117 @ 0x12f8 0x131c 115 rdx = rdx + 1 0x1323 116 if (r15 != rdx) then 111 @ 0x1310 else 119 @ 0x1325 0x12f8 117 rcx = rcx + 1 0x12ff 118 if (rcx == rax) then 46 @ 0x1327 else 109 @ 0x1301 0x1325 119 goto 117 @ 0x12f8 int64_t _fini(): 0x1394 0 rsp = rsp - 8 0x1398 1 rsp = rsp + 8 0x139c 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) 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 {"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 - 0x428 0x116a 3 rdi = 0x2038 {"%lf"} 0x1171 4 rsi = rsp + 0x28 {var_410} 0x1176 5 eax = 0 0x1178 6 call(0x1050) 0x117d 7 rdi = 0x203c {"%s%s"} 0x1184 8 rbx = rsp + 0x230 {var_208} 0x118c 9 r14 = rsp + 0x30 {var_408} 0x1191 10 rsi = rbx {var_208} 0x1194 11 rdx = r14 {var_408} 0x1197 12 eax = 0 0x1199 13 call(0x1050) 0x119e 14 rdi = rbx {var_208} 0x11a1 15 call(0x1040) 0x11a6 16 rbx = rax 0x11a9 17 xmm0 = rax 0x11ae 18 xmm0 = __punpckldq_xmmdq_memdq(xmm0, [0x2010].o) 0x11b6 19 xmm0 = __subpd_xmmpd_mempd(xmm0, [0x2020].o) 0x11be 20 xmm1 = xmm0 0x11c2 21 xmm1 = _mm_unpackhi_pd(xmm1, xmm0.q) 0x11c6 22 xmm1.q = xmm1.q f+ xmm0.q 0x11ca 23 [rsp + 0x10 {var_428}].o = xmm1 0x11d0 24 rdi = r14 {var_408} 0x11d3 25 call(0x1040) 0x11d8 26 xmm3 = [rsp + 0x10 {var_428}].o 0x11de 27 xmm0 = rax 0x11e3 28 xmm0 = __punpckldq_xmmdq_memdq(xmm0, [0x2010].o) 0x11eb 29 xmm0 = __subpd_xmmpd_mempd(xmm0, [0x2020].o) 0x11f3 30 xmm1 = xmm0 0x11f7 31 xmm1 = _mm_unpackhi_pd(xmm1, xmm0.q) 0x11fb 32 xmm1.q = xmm1.q f+ xmm0.q 0x11ff 33 flag:p = is_unordered.q(xmm3.q, xmm1.q) 0x11ff 34 flag:c = xmm3.q f< xmm1.q | is_unordered.q(xmm3.q, xmm1.q) 0x11ff 35 flag:z = xmm3.q f== xmm1.q | is_unordered.q(xmm3.q, xmm1.q) 0x11ff 36 flag:s = 0 0x11ff 37 flag:o = 0 0x11ff 38 flag:a = 0 0x1203 39 if (not(flag:z)) then 40 @ 0x1207 else 47 @ 0x1205 0x1207 40 rdi = 0x2041 {"error"} 0x120e 41 eax = 0 0x1210 42 [rsp {var_438}].o = xmm1 0x1215 43 call(0x1030) 0x121a 44 xmm1 = [rsp {var_438}].o 0x121f 45 xmm3 = [rsp + 0x10 {var_428}].o 0x121f 46 goto 48 @ 0x1225 0x1205 47 if (not(flag:p)) then 48 @ 0x1225 else 40 @ 0x1207 0x1225 48 flag:p = is_unordered.q(xmm3.q, xmm1.q) 0x1225 49 flag:c = xmm3.q f< xmm1.q | is_unordered.q(xmm3.q, xmm1.q) 0x1225 50 flag:z = xmm3.q f== xmm1.q | is_unordered.q(xmm3.q, xmm1.q) 0x1225 51 flag:s = 0 0x1225 52 flag:o = 0 0x1225 53 flag:a = 0 0x1229 54 if (not(flag:z)) then 55 @ 0x130c else 60 @ 0x122f 0x130c 55 eax = 0 0x130e 56 rsp = rsp + 0x428 0x1315 57 rbx = pop 0x1316 58 r14 = pop 0x1318 59 <return> jump(pop) 0x122f 60 if (flag:p) then 55 @ 0x130c else 61 @ 0x1238 0x1238 61 if (rbx == 0) then 62 @ 0x12b3 else 65 @ 0x123a 0x12b3 62 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x12b7 63 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x12b7 64 goto 71 @ 0x12bb 0x123a 65 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x123e 66 eax = 0 0x1240 67 ecx = 0x80045 {""} 0x1245 68 xmm1 = zx.o([0x2030].q) 0x124d 69 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1251 70 goto 78 @ 0x1275 0x12bb 71 flag:p = is_unordered.q(xmm4.q, xmm3.q) 0x12bb 72 flag:c = xmm4.q f< xmm3.q | is_unordered.q(xmm4.q, xmm3.q) 0x12bb 73 flag:z = xmm4.q f== xmm3.q | is_unordered.q(xmm4.q, xmm3.q) 0x12bb 74 flag:s = 0 0x12bb 75 flag:o = 0 0x12bb 76 flag:a = 0 0x12bf 77 if (not(flag:z)) then 81 @ 0x12f6 else 88 @ 0x12c1 0x1275 78 edx = zx.d([rsp + rax + 0x230].b) 0x127d 79 esi = (rdx - 0x41).d 0x1284 80 if (sil u> 0x13) then 89 @ 0x1264 else 99 @ 0x1286 0x12f6 81 flag:p = is_unordered.q(xmm4.q, xmm3.q) 0x12f6 82 flag:c = xmm4.q f< xmm3.q | is_unordered.q(xmm4.q, xmm3.q) 0x12f6 83 flag:z = xmm4.q f== xmm3.q | is_unordered.q(xmm4.q, xmm3.q) 0x12f6 84 flag:s = 0 0x12f6 85 flag:o = 0 0x12f6 86 flag:a = 0 0x12fa 87 if (not(flag:z)) then 102 @ 0x12fe else 106 @ 0x12fc 0x12c1 88 if (flag:p) then 81 @ 0x12f6 else 107 @ 0x12c3 0x1264 89 rax = rax + 1 0x1268 90 xmm2 = 0 0x126b 91 xmm2.q = float.d(eax) 0x126f 92 flag:p = is_unordered.q(xmm3.q, xmm2.q) 0x126f 93 flag:c = xmm3.q f< xmm2.q | is_unordered.q(xmm3.q, xmm2.q) 0x126f 94 flag:z = xmm3.q f== xmm2.q | is_unordered.q(xmm3.q, xmm2.q) 0x126f 95 flag:s = 0 0x126f 96 flag:o = 0 0x126f 97 flag:a = 0 0x1273 98 if (flag:z || flag:c) then 71 @ 0x12bb else 78 @ 0x1275 0x1286 99 esi = zx.d(sil) 0x128a 100 flag:c = test_bit(rcx, rsi) 0x128e 101 if (not(flag:c)) then 89 @ 0x1264 else 117 @ 0x1290 0x12fe 102 rdi = 0x2041 {"error"} 0x1305 103 eax = 0 0x1307 104 call(0x1030) 0x1307 105 goto 55 @ 0x130c 0x12fc 106 if (not(flag:p)) then 55 @ 0x130c else 102 @ 0x12fe 0x12c3 107 xmm0.q = xmm0.q f/ xmm3.q 0x12c7 108 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + 0x28 {var_410}].q)) 0x12c7 109 flag:c = xmm0.q f< fconvert.t([rsp + 0x28 {var_410}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 0x28 {var_410}].q)) 0x12c7 110 flag:z = xmm0.q f== fconvert.t([rsp + 0x28 {var_410}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 0x28 {var_410}].q)) 0x12c7 111 flag:s = 0 0x12c7 112 flag:o = 0 0x12c7 113 flag:a = 0 0x12cd 114 rax = 0x2047 {"yes"} 0x12d4 115 rdi = 0x204b {"no"} 0x12db 116 if (not(flag:z) && not(flag:c)) then 120 else 122 @ 0x12df 0x1290 117 esi = zx.d([rsp + rax + 0x30].b) 0x1295 118 edi = (rsi - 0x41).d 0x129c 119 if (dil u> 0x13) then 89 @ 0x1264 else 128 @ 0x129e 0x12db 120 rdi = rax 0x12db 121 goto 122 @ 0x12df 0x12df 122 eax = 0 0x12e1 123 [rsp {var_438[0].q}].q = xmm4.q 0x12e6 124 call(0x1030) 0x12eb 125 xmm4 = zx.o([rsp {var_438[0].q}].q) 0x12f0 126 xmm3 = [rsp + 0x10 {var_428}].o 0x12f0 127 goto 81 @ 0x12f6 0x129e 128 edi = zx.d(dil) 0x12a2 129 flag:c = test_bit(rcx, rdi) 0x12a6 130 if (not(flag:c)) then 89 @ 0x1264 else 131 @ 0x12ab 0x12ab 131 if (dl != sil) then 132 @ 0x1260 else 134 @ 0x12ad 0x1260 132 xmm4.q = xmm4.q f+ xmm1.q 0x1260 133 goto 89 @ 0x1264 0x12ad 134 xmm0.q = xmm0.q f+ xmm1.q 0x12b1 135 goto 132 @ 0x1260 int64_t _fini(): 0x1320 0 rsp = rsp - 8 0x1324 1 rsp = rsp + 8 0x1328 2 <return> jump(pop)
POJ_5
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"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 - 0xe0 0x1168 2 rbx = rsp {var_e8} 0x116b 3 rdi = rbx {var_e8} 0x116e 4 eax = 0 0x1170 5 call(0x1050) 0x1175 6 rdi = rbx {var_e8} 0x1178 7 call(0x1040) 0x117d 8 cl = [rsp {var_e8}].b 0x1180 9 [rsp + 0x70 {var_78}].b = cl 0x1186 10 if (eax s<= 0) then 11 @ 0x11c5 else 19 @ 0x1188 0x11c5 11 rdi = 0x2004 {"%s"} 0x11cc 12 rsi = rsp + 0x70 {var_78} 0x11d1 13 eax = 0 0x11d3 14 call(0x1030) 0x11d8 15 eax = 0 0x11da 16 rsp = rsp + 0xe0 0x11e1 17 rbx = pop 0x11e2 18 <return> jump(pop) 0x1188 19 eax = eax + 1 0x118b 20 ecx = 1 0x1190 21 edx = 1 0x1195 22 goto 23 @ 0x11b3 0x11b3 23 ebx = zx.d([rsp + rdx].b) 0x11ba 24 if (bl != 0x20) then 25 @ 0x11a0 else 29 @ 0x11c1 0x11a0 25 rcx = sx.q(ecx) 0x11a3 26 [rsp + rcx + 0x70].b = bl 0x11a7 27 ecx = ecx + 1 0x11a7 28 goto 30 @ 0x11aa 0x11c1 29 if ([rsp + rdx - 1].b != 0x20) then 25 @ 0x11a0 else 32 @ 0x11c3 0x11aa 30 rdx = rdx + 1 0x11b1 31 if (rax == rdx) then 11 @ 0x11c5 else 23 @ 0x11b3 0x11c3 32 goto 30 @ 0x11aa int64_t _fini(): 0x11e8 0 rsp = rsp - 8 0x11ec 1 rsp = rsp + 8 0x11f0 2 <return> jump(pop)
POJ_26
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHHE"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x10 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 [rbp - 0xc {var_14}].d = 0 0x1166 5 rdi = 0x2004 {"%d"} 0x116d 6 rsi = rbp - 8 {var_10} 0x1171 7 al = 0 0x1173 8 call(0x1040) 0x117c 9 if ([rbp - 8 {var_10}].d != 1) then 10 @ 0x1195 else 12 @ 0x1182 0x1195 10 [rbp - 0x10 {var_18_1}].d = 0 0x1195 11 goto 16 @ 0x11a3 0x1182 12 rdi = 0x2007 {"End"} 0x1189 13 al = 0 0x118b 14 call(0x1030) 0x1190 15 goto 17 @ 0x123d 0x11a3 16 if ([rbp - 0x10 {var_18_1}].d s>= 0x1869f) then 21 @ 0x1238 else 22 @ 0x11a9 0x123d 17 eax = 0 0x123f 18 rsp = rsp + 0x10 0x1243 19 rbp = pop 0x1244 20 <return> jump(pop) 0x1238 21 goto 17 @ 0x123d 0x11a9 22 eax = [rbp - 8 {var_10}].d 0x11ac 23 [rbp - 0xc {var_14_1}].d = eax 0x11af 24 eax = [rbp - 8 {var_10}].d 0x11b2 25 ecx = 2 0x11b7 26 temp2.d:temp3.d = sx.q(eax) 0x11b7 27 edx = temp2.d 0x11b7 28 eax = temp3.d 0x11b8 29 temp4.d = edx 0x11b8 30 temp5.d = eax 0x11b8 31 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11b8 32 temp6.d = edx 0x11b8 33 temp7.d = eax 0x11b8 34 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11b8 35 eax = temp0.d 0x11b8 36 edx = temp1.d 0x11bd 37 if (edx != 0) then 38 @ 0x11ea else 47 @ 0x11c3 0x11ea 38 eax = [rbp - 8 {var_10}].d * 3 0x11ee 39 eax = eax + 1 0x11f1 40 [rbp - 8 {var_10}].d = eax 0x11f4 41 esi = [rbp - 0xc {var_14_1}].d 0x11f7 42 edx = [rbp - 8 {var_10}].d 0x11fa 43 rdi = 0x2014 {"%d*3+1=%d\n"} 0x1201 44 al = 0 0x1203 45 call(0x1030) 0x1203 46 goto 67 @ 0x120c 0x11c3 47 eax = [rbp - 8 {var_10}].d 0x11c6 48 ecx = 2 0x11cb 49 temp8.d:temp9.d = sx.q(eax) 0x11cb 50 edx = temp8.d 0x11cb 51 eax = temp9.d 0x11cc 52 temp10.d = edx 0x11cc 53 temp11.d = eax 0x11cc 54 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11cc 55 temp12.d = edx 0x11cc 56 temp13.d = eax 0x11cc 57 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11cc 58 eax = temp0.d 0x11cc 59 edx = temp1.d 0x11ce 60 [rbp - 8 {var_10}].d = eax 0x11d1 61 esi = [rbp - 0xc {var_14_1}].d 0x11d4 62 edx = [rbp - 8 {var_10}].d 0x11d7 63 rdi = 0x200b {"%d/2=%d\n"} 0x11de 64 al = 0 0x11e0 65 call(0x1030) 0x11e5 66 goto 67 @ 0x120c 0x120c 67 if ([rbp - 8 {var_10}].d != 1) then 68 @ 0x1225 else 69 @ 0x1212 0x1225 68 goto 73 @ 0x122a 0x1212 69 rdi = 0x2007 {"End"} 0x1219 70 al = 0 0x121b 71 call(0x1030) 0x1220 72 goto 21 @ 0x1238 0x122a 73 eax = [rbp - 0x10 {var_18_1}].d 0x122d 74 eax = eax + 1 0x1230 75 [rbp - 0x10 {var_18_1}].d = eax 0x1233 76 goto 16 @ 0x11a3 int64_t _fini(): 0x124c 0 rsp = rsp - 8 0x1250 1 rsp = rsp + 8 0x1254 2 <return> jump(pop)
POJ_34
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* strcpy(char* arg1, char const* arg2): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) int32_t puts(char const* str): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"AWAVATSH8N"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(r15) 0x1182 1 push(r14) 0x1184 2 push(r12) 0x1186 3 push(rbx) 0x1187 4 rsp = rsp - 0x4e38 0x118e 5 rdi = 0x2004 {"%d"} 0x1195 6 rsi = rsp + 0xc {var_4e4c} 0x119a 7 eax = 0 0x119c 8 call(0x1060) 0x11a6 9 if ([rsp + 0xc {var_4e4c}].d s<= 0) then 10 @ 0x1241 else 17 @ 0x11ac 0x1241 10 eax = 0 0x1243 11 rsp = rsp + 0x4e38 0x124a 12 rbx = pop 0x124b 13 r12 = pop 0x124d 14 r14 = pop 0x124f 15 r15 = pop 0x1251 16 <return> jump(pop) 0x11ac 17 r14 = rsp + 0x2720 {var_2738} 0x11b4 18 r12 = rsp + 0x10 {var_4e48} 0x11b9 19 r15 = 0x2007 {"%s"} 0x11c0 20 ebx = 0 0x11cc 21 goto 22 @ 0x11d0 0x11d0 22 rdi = r15 0x11d3 23 rsi = r14 0x11d6 24 eax = 0 0x11d8 25 call(0x1060) 0x11dd 26 rdi = r15 0x11e0 27 rsi = r12 0x11e3 28 eax = 0 0x11e5 29 call(0x1060) 0x11ea 30 rbx = rbx + 1 0x11ee 31 rax = sx.q([rsp + 0xc {var_4e4c}].d) 0x11f3 32 r14 = r14 + 0x64 0x11f7 33 r12 = r12 + 0x64 0x11fe 34 if (rbx s< rax) then 22 @ 0x11d0 else 35 @ 0x1202 0x1202 35 if (eax s<= 0) then 10 @ 0x1241 else 36 @ 0x1204 0x1204 36 r14 = rsp + 0x2720 {var_2738} 0x120c 37 r15 = rsp + 0x10 {var_4e48} 0x1211 38 ebx = 0 0x121d 39 goto 40 @ 0x1220 0x1220 40 rdi = r14 0x1223 41 rsi = r15 0x1226 42 call(0x1260) 0x122b 43 rbx = rbx + 1 0x122f 44 rax = sx.q([rsp + 0xc {var_4e4c}].d) 0x1234 45 r14 = r14 + 0x64 0x1238 46 r15 = r15 + 0x64 0x123f 47 if (rbx s< rax) then 40 @ 0x1220 else 10 @ 0x1241 int64_t f(char* arg1, char* arg2): 0x1260 0 push(r15) 0x1262 1 push(r14) 0x1264 2 push(rbx) 0x1265 3 rsp = rsp - 0xe0 0x126c 4 r15 = rsi 0x126f 5 rbx = rdi 0x1272 6 rdi = rsp {var_f8} 0x1275 7 rsi = rbx 0x1278 8 call(0x1050) 0x127d 9 rdi = rbx 0x1280 10 call(0x1040) 0x1285 11 r14 = rax 0x1288 12 rdi = r15 0x128b 13 call(0x1040) 0x1292 14 if (eax s<= 0) then 15 @ 0x12fc else 16 @ 0x1294 0x12fc 15 if (r14d s<= 0) then 25 @ 0x133e else 32 @ 0x12fe 0x1294 16 rcx = sx.q(r14d) 0x1297 17 rax = sx.q(eax) 0x1299 18 esi = (rax + 1).d 0x129c 19 r15 = r15 + rax 0x129f 20 rbx = rbx + rcx 0x12a2 21 rdi = rsp + rcx 0x12a6 22 rsi = neg.q(rsi) 0x12a9 23 rdx = -1 0x12b0 24 goto 35 @ 0x12d0 0x133e 25 rdi = rsp + 0x70 {var_88} 0x1343 26 call(0x1070) 0x1348 27 rsp = rsp + 0xe0 0x134f 28 rbx = pop 0x1350 29 r14 = pop 0x1352 30 r15 = pop 0x1354 31 <return> jump(pop) 0x12fe 32 ecx = r14d 0x1301 33 eax = 0 0x130d 34 goto 38 @ 0x1314 0x12d0 35 eax = zx.d([rbx + rdx].b) 0x12d4 36 ecx = zx.d([r15 + rdx].b) 0x12db 37 if (al s>= cl) then 39 @ 0x12c0 else 44 @ 0x12dd 0x1314 38 if ([rsp + rax].b != 0x30) then 52 @ 0x1324 else 53 @ 0x1316 0x12c0 39 al = al - cl 0x12c2 40 al = al + 0x30 0x12c4 41 [rdi + rdx].b = al 0x12c7 42 rdx = rdx - 1 0x12ce 43 if (rsi == rdx) then 15 @ 0x12fc else 35 @ 0x12d0 0x12dd 44 al = al + 0xa 0x12df 45 [rbx + rdx].b = al 0x12e2 46 ecx = zx.d([rbx + rdx - 1].b) 0x12e7 47 cl = cl - 1 0x12ea 48 [rbx + rdx - 1].b = cl 0x12ee 49 [rdi + rdx - 1].b = cl 0x12f2 50 ecx = zx.d([r15 + rdx].b) 0x12f7 51 goto 39 @ 0x12c0 0x1324 52 if (r14d s< eax) then 25 @ 0x133e else 55 @ 0x1326 0x1316 53 rax = rax + 1 0x131d 54 if (rcx != rax) then 38 @ 0x1314 else 62 @ 0x131f 0x1326 55 rsi = rsp + rax 0x132a 56 r14d = r14d - eax 0x132d 57 r14d = r14d + 1 0x1331 58 rdi = rsp + 0x70 {var_88} 0x1336 59 rdx = r14 0x1339 60 call(0x1030) 0x1339 61 goto 25 @ 0x133e 0x131f 62 goto 25 @ 0x133e int64_t _fini(): 0x135c 0 rsp = rsp - 8 0x1360 1 rsp = rsp + 8 0x1364 2 <return> jump(pop)
POJ_32
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 {"UAWAVAUATSHH="} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0x18 0x117e 7 rdi = 0x2018 {"%d"} 0x1185 8 rsi = rsp + 0xc {var_3c} 0x118a 9 eax = 0 0x118c 10 call(0x1040) 0x1196 11 if ([rsp + 0xc {var_3c}].d s< 3) then 12 @ 0x12c5 else 15 @ 0x119c 0x12c5 12 rdi = 0x2022 {"empty"} 0x12cc 13 call(0x1060) 0x12cc 14 goto 20 @ 0x12d1 0x119c 15 r13d = 3 0x11a2 16 r14 = 0x201b {"%d %d\n"} 0x11a9 17 r15d = 0 0x11ac 18 r12d = 0 0x11af 19 goto 29 @ 0x11d5 0x12d1 20 eax = 0 0x12d3 21 rsp = rsp + 0x18 0x12d7 22 rbx = pop 0x12d8 23 r12 = pop 0x12da 24 r13 = pop 0x12dc 25 r14 = pop 0x12de 26 r15 = pop 0x12e0 27 rbp = pop 0x12e1 28 <return> jump(pop) 0x11d5 29 xmm2 = 0 0x11d8 30 xmm2.q = float.d(r13d) 0x11dd 31 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x11dd 32 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x11dd 33 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x11dd 34 flag:s = 0 0x11dd 35 flag:o = 0 0x11dd 36 flag:a = 0 0x11e5 37 [rsp + 0x10 {var_38_1}].q = xmm2.q 0x11eb 38 if (flag:c) then 39 @ 0x1210 else 49 @ 0x11ed 0x1210 39 xmm0 = xmm2 0x1214 40 call(0x1050) 0x1219 41 xmm2 = zx.o([rsp + 0x10 {var_38_1}].q) 0x121f 42 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x121f 43 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x121f 44 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x121f 45 flag:s = 0 0x121f 46 flag:o = 0 0x121f 47 flag:a = 0 0x1227 48 if (flag:c) then 58 @ 0x1298 else 61 @ 0x1229 0x11ed 49 xmm0 = 0 0x11f0 50 xmm0 = _mm_sqrt_sd(xmm2.q) 0x11f4 51 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11f4 52 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11f4 53 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x11f4 54 flag:s = 0 0x11f4 55 flag:o = 0 0x11f4 56 flag:a = 0 0x11fc 57 if (not(flag:c)) then 61 @ 0x1229 else 64 @ 0x11fe 0x1298 58 eax = r13d 0x129b 59 eax = eax - r12d 0x12a1 60 if (eax != 2) then 65 @ 0x11c0 else 67 @ 0x12a7 0x1229 61 ebp = 0 0x122b 62 ebx = 3 0x1230 63 goto 74 @ 0x125f 0x11fe 64 goto 58 @ 0x1298 0x11c0 65 r12d = r13d 0x11c0 66 goto 95 @ 0x11c3 0x12a7 67 rdi = r14 0x12aa 68 esi = r12d 0x12ad 69 edx = r13d 0x12b0 70 eax = 0 0x12b2 71 call(0x1030) 0x12b7 72 r15d = r15d + 1 0x12bb 73 goto 65 @ 0x11c0 0x125f 74 ecx = (rbx - 1).d 0x1262 75 eax = r13d 0x1265 76 edx = 0 0x1267 77 temp2.d = ecx 0x1267 78 temp3.d = edx 0x1267 79 temp4.d = eax 0x1267 80 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1267 81 temp5.d = edx 0x1267 82 temp6.d = eax 0x1267 83 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1267 84 eax = temp0.d 0x1267 85 edx = temp1.d 0x1269 86 flag:c = edx u< 1 0x126c 87 ebp = adc.d(ebp, 0, flag:c) 0x126f 88 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x126f 89 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x126f 90 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x126f 91 flag:s = 0 0x126f 92 flag:o = 0 0x126f 93 flag:a = 0 0x1277 94 if (flag:c) then 99 @ 0x1240 else 103 @ 0x1279 0x11c3 95 eax = (r13 + 1).d 0x11c7 96 cond:0 = r13d s>= [rsp + 0xc {var_3c}].d 0x11cc 97 r13d = eax 0x11cf 98 if (cond:0) then 106 @ 0x12c3 else 29 @ 0x11d5 0x1240 99 xmm0 = xmm2 0x1244 100 call(0x1050) 0x1249 101 xmm2 = zx.o([rsp + 0x10 {var_38_1}].q) 0x1249 102 goto 107 @ 0x124f 0x1279 103 xmm0 = 0 0x127c 104 xmm0 = _mm_sqrt_sd(xmm2.q) 0x1280 105 goto 107 @ 0x124f 0x12c3 106 if (r15d != 0) then 20 @ 0x12d1 else 12 @ 0x12c5 0x124f 107 xmm1 = 0 0x1252 108 xmm1.q = float.d(ebx) 0x1256 109 ebx = ebx + 1 0x1259 110 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1259 111 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1259 112 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1259 113 flag:s = 0 0x1259 114 flag:o = 0 0x1259 115 flag:a = 0 0x125d 116 if (flag:c) then 117 @ 0x1292 else 74 @ 0x125f 0x1292 117 if (ebp != 0) then 95 @ 0x11c3 else 58 @ 0x1298 int64_t _fini(): 0x12e8 0 rsp = rsp - 8 0x12ec 1 rsp = rsp + 8 0x12f0 2 <return> jump(pop)
POJ_60
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHX"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x9c58 0x1161 7 rdi = 0x2004 {"%d"} 0x1168 8 ebp = 0 0x116a 9 rsi = rsp + 0xc {var_9c7c} 0x116f 10 eax = 0 0x1171 11 call(0x1040) 0x1176 12 ecx = [rsp + 0xc {var_9c7c}].d 0x117c 13 if (ecx s<= 0) then 14 @ 0x121c else 16 @ 0x1182 0x121c 14 eax = ecx 0x1220 15 if (ecx s<= 0) then 20 @ 0x1268 else 21 @ 0x1222 0x1182 16 r12 = rsp + 0x10 {var_9c78} 0x1187 17 r15 = 0x2004 {"%d"} 0x118e 18 r13d = 0 0x1191 19 goto 24 @ 0x11b5 0x1268 20 if (ecx s<= 0) then 27 @ 0x12b4 else 29 @ 0x126a 0x1222 21 rdx = rsp + 0x10 {var_9c78} 0x1227 22 esi = 0 0x1229 23 goto 33 @ 0x1230 0x11b5 24 eax = [rsp + 0xc {var_9c7c}].d 0x11b9 25 r14d = 0 0x11c1 26 if (eax s<= 0) then 36 @ 0x11ef else 38 @ 0x11c3 0x12b4 27 esi = 0 0x12b4 28 goto 41 @ 0x12b6 0x126a 29 rcx = rax * 0x190 0x1271 30 rdx = rsp + 0x10 {var_9c78} 0x1276 31 edi = 0 0x1278 32 goto 56 @ 0x1280 0x1230 33 edi = 0 0x1232 34 ebp = 0 0x123e 35 goto 59 @ 0x1240 0x11ef 36 eax = eax - 1 0x11f5 37 if (r14d != eax) then 64 @ 0x11a0 else 68 @ 0x11f7 0x11c3 38 rbx = r12 0x11c6 39 r14d = 0 0x11c9 40 goto 77 @ 0x11d0 0x12b6 41 ebp = ebp - 2 0x12b9 42 esi = esi - 2 0x12bc 43 esi = esi * ebp 0x12bf 44 rdi = 0x2004 {"%d"} 0x12c6 45 eax = 0 0x12c8 46 call(0x1030) 0x12cd 47 eax = 0 0x12cf 48 rsp = rsp + 0x9c58 0x12d6 49 rbx = pop 0x12d7 50 r12 = pop 0x12d9 51 r13 = pop 0x12db 52 r14 = pop 0x12dd 53 r15 = pop 0x12df 54 rbp = pop 0x12e0 55 <return> jump(pop) 0x1280 56 ebx = 0 0x1282 57 esi = 0 0x128e 58 goto 85 @ 0x1290 0x1240 59 temp0.d = [rdx + (rdi << 2)].d 0x1240 60 flag:c = temp0.d u< 1 0x1244 61 ebp = adc.d(ebp, 0, flag:c) 0x1247 62 rdi = rdi + 1 0x124e 63 if (rax != rdi) then 59 @ 0x1240 else 90 @ 0x1252 0x11a0 64 r13 = r13 + 1 0x11a4 65 rcx = sx.q([rsp + 0xc {var_9c7c}].d) 0x11a9 66 r12 = r12 + 0x190 0x11b3 67 if (r13 s>= rcx) then 14 @ 0x121c else 24 @ 0x11b5 0x11f7 68 eax = r14d 0x11fa 69 rcx = r13 * 0x190 0x1201 70 rcx = rcx + rsp 0x1204 71 rcx = rcx + 0x10 0x1208 72 rsi = rcx + (rax << 2) 0x120c 73 rdi = 0x2007 {"%d\n"} 0x1213 74 eax = 0 0x1215 75 call(0x1040) 0x121a 76 goto 64 @ 0x11a0 0x11d0 77 rdi = r15 0x11d3 78 rsi = rbx 0x11d6 79 eax = 0 0x11d8 80 call(0x1040) 0x11dd 81 r14 = r14 + 1 0x11e1 82 rax = sx.q([rsp + 0xc {var_9c7c}].d) 0x11e6 83 rbx = rbx + 4 0x11ed 84 if (r14 s< rax) then 77 @ 0x11d0 else 36 @ 0x11ef 0x1290 85 temp1.d = [rdx + rbx].d 0x1290 86 flag:c = temp1.d u< 1 0x1294 87 esi = adc.d(esi, 0, flag:c) 0x1297 88 rbx = rbx + 0x190 0x12a1 89 if (rcx != rbx) then 85 @ 0x1290 else 91 @ 0x12a5 0x1252 90 if (ebp != 0) then 20 @ 0x1268 else 92 @ 0x1254 0x12a5 91 if (esi != 0) then 41 @ 0x12b6 else 95 @ 0x12a7 0x1254 92 rsi = rsi + 1 0x1258 93 rdx = rdx + 0x190 0x1262 94 if (rsi != rax) then 33 @ 0x1230 else 98 @ 0x1264 0x12a7 95 rdi = rdi + 1 0x12ab 96 rdx = rdx + 4 0x12b2 97 if (rdi != rax) then 56 @ 0x1280 else 27 @ 0x12b4 0x1264 98 ebp = 0 0x1264 99 goto 20 @ 0x1268 int64_t _fini(): 0x12e8 0 rsp = rsp - 8 0x12ec 1 rsp = rsp + 8 0x12f0 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) 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 {"AWAVATSH+"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x2bc8 0x116e 5 r12d = 0 0x1171 6 r14 = rsp + 0x4b0 {var_2738} 0x1179 7 rdi = r14 {var_2738} 0x117c 8 eax = 0 0x117e 9 call(0x1050) 0x1183 10 rdi = r14 {var_2738} 0x1186 11 call(0x1040) 0x118d 12 if (eax s<= 0) then 13 @ 0x1206 else 24 @ 0x118f 0x1206 13 rax = sx.q(r12d) 0x1209 14 esi = [rsp + (rax << 2)].d 0x120c 15 rdi = 0x2008 {"%d\n"} 0x1213 16 eax = 0 0x1215 17 call(0x1030) 0x121a 18 rsp = rsp + 0x2bc8 0x1221 19 rbx = pop 0x1222 20 r12 = pop 0x1224 21 r14 = pop 0x1226 22 r15 = pop 0x1228 23 <return> jump(pop) 0x118f 24 r12d = 0 0x1192 25 ecx = 0 0x1194 26 goto 27 @ 0x11a9 0x11a9 27 rdx = sx.q(ecx) 0x11ac 28 rsi = rsp + rdx 0x11b0 29 rsi = rsi + 0x4b0 0x11b7 30 edx = 0 0x11bd 31 if (([rsi + rdx].b & 0xdf) == 0) then 32 @ 0x11cc else 33 @ 0x11bf 0x11cc 32 if (edx == 0) then 34 @ 0x11a0 else 37 @ 0x11ce 0x11bf 33 goto 41 @ 0x11c0 0x11a0 34 ecx = ecx + edx 0x11a2 35 ecx = ecx + 1 0x11a7 36 if (ecx s>= eax) then 43 @ 0x11df else 27 @ 0x11a9 0x11ce 37 rsi = sx.q(r12d) 0x11d1 38 r12d = r12d + 1 0x11d5 39 [rsp + (rsi << 2) + 4].d = edx 0x11d9 40 goto 34 @ 0x11a0 0x11c0 41 rdx = rdx + 1 0x11c8 42 if (([rsi + rdx].b & 0xdf) != 0) then 41 @ 0x11c0 else 32 @ 0x11cc 0x11df 43 if (r12d s< 2) then 13 @ 0x1206 else 44 @ 0x11e1 0x11e1 44 r15d = r12d 0x11e4 45 ebx = 1 0x11e9 46 r14 = 0x2004 {"%d,"} 0x11e9 47 goto 48 @ 0x11f0 0x11f0 48 esi = [rsp + (rbx << 2)].d 0x11f3 49 rdi = r14 0x11f6 50 eax = 0 0x11f8 51 call(0x1030) 0x11fd 52 rbx = rbx + 1 0x1204 53 if (r15 != rbx) then 48 @ 0x11f0 else 13 @ 0x1206 int64_t _fini(): 0x1230 0 rsp = rsp - 8 0x1234 1 rsp = rsp + 8 0x1238 2 <return> jump(pop)
POJ_28
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x110 0x115b 3 [rbp - 8 {var_10}].d = 0 0x1162 4 [rbp - 0xdc {var_e4}].d = 0 0x1162 5 goto 6 @ 0x116c 0x116c 6 rax = sx.q([rbp - 8 {var_10}].d) 0x1170 7 rsi = rbp - 0xd0 {var_d8} 0x1177 8 rax = rax << 2 0x117b 9 rsi = rsi + rax 0x117e 10 rax = sx.q([rbp - 8 {var_10}].d) 0x1182 11 rdx = rbp - 0x110 {var_118} 0x1189 12 rdx = rdx + rax 0x118c 13 rdi = 0x2004 {"%d%c"} 0x1193 14 al = 0 0x1195 15 call(0x1040) 0x119a 16 eax = [rbp - 8 {var_10}].d 0x119d 17 eax = eax + 1 0x11a0 18 [rbp - 8 {var_10}].d = eax 0x11a3 19 eax = [rbp - 8 {var_10}].d 0x11a6 20 eax = eax - 1 0x11a9 21 rax = sx.q(eax) 0x11ab 22 eax = sx.d([rbp + rax - 0x110].b) 0x11b6 23 if (eax == 0x2c) then 6 @ 0x116c else 24 @ 0x11bc 0x11bc 24 eax = [rbp - 0xd0 {var_d8}].d 0x11c2 25 [rbp - 0xd4 {var_dc}].d = eax 0x11c8 26 [rbp - 4 {var_c}].d = 0 0x11c8 27 goto 28 @ 0x11cf 0x11cf 28 eax = [rbp - 4 {var_c}].d 0x11d2 29 ecx = [rbp - 8 {var_10}].d 0x11d5 30 ecx = ecx - 1 0x11da 31 if (eax s> ecx) then 32 @ 0x121b else 34 @ 0x11e0 0x121b 32 [rbp - 4 {var_c_1}].d = 0 0x121b 33 goto 37 @ 0x1222 0x11e0 34 rax = sx.q([rbp - 4 {var_c}].d) 0x11e4 35 eax = [rbp + (rax << 2) - 0xd0].d 0x11f1 36 if (eax s<= [rbp - 0xd4 {var_dc}].d) then 41 @ 0x1208 else 42 @ 0x11f7 0x1222 37 eax = [rbp - 4 {var_c_1}].d 0x1225 38 ecx = [rbp - 8 {var_10}].d 0x1228 39 ecx = ecx - 1 0x122d 40 if (eax s> ecx) then 46 @ 0x1287 else 47 @ 0x1233 0x1208 41 goto 50 @ 0x120d 0x11f7 42 rax = sx.q([rbp - 4 {var_c}].d) 0x11fb 43 eax = [rbp + (rax << 2) - 0xd0].d 0x1202 44 [rbp - 0xd4 {var_dc}].d = eax 0x1202 45 goto 41 @ 0x1208 0x1287 46 if ([rbp - 0xdc {var_e4}].d != 0) then 54 @ 0x12a0 else 56 @ 0x128d 0x1233 47 rax = sx.q([rbp - 4 {var_c_1}].d) 0x1237 48 eax = [rbp + (rax << 2) - 0xd0].d 0x1244 49 if (eax s>= [rbp - 0xd4 {var_dc}].d) then 60 @ 0x125e else 64 @ 0x124a 0x120d 50 eax = [rbp - 4 {var_c}].d 0x1210 51 eax = eax + 1 0x1213 52 [rbp - 4 {var_c}].d = eax 0x1216 53 goto 28 @ 0x11cf 0x12a0 54 [rbp - 4 {var_c_2}].d = 0 0x12a0 55 goto 68 @ 0x12a7 0x128d 56 rdi = 0x2009 {"No\n"} 0x1294 57 al = 0 0x1296 58 call(0x1030) 0x129b 59 goto 72 @ 0x1376 0x125e 60 eax = [rbp - 0xdc {var_e4}].d 0x1264 61 eax = eax 0x1267 62 [rbp - 0xdc {var_e4}].d = eax 0x1267 63 goto 75 @ 0x126d 0x124a 64 eax = [rbp - 0xdc {var_e4}].d 0x1250 65 eax = eax + 1 0x1253 66 [rbp - 0xdc {var_e4}].d = eax 0x1259 67 goto 75 @ 0x126d 0x12a7 68 eax = [rbp - 4 {var_c_2}].d 0x12aa 69 ecx = [rbp - 8 {var_10}].d 0x12ad 70 ecx = ecx - 1 0x12b2 71 if (eax s> ecx) then 76 @ 0x12f8 else 78 @ 0x12b8 0x1376 72 rsp = rsp + 0x110 0x137d 73 rbp = pop 0x137e 74 <return> jump(pop) 0x126d 75 goto 81 @ 0x1272 0x12f8 76 [rbp - 4 {var_c_3}].d = 0 0x12f8 77 goto 85 @ 0x12ff 0x12b8 78 rax = sx.q([rbp - 4 {var_c_2}].d) 0x12bc 79 eax = [rbp + (rax << 2) - 0xd0].d 0x12c9 80 if (eax s>= [rbp - 0xd4 {var_dc}].d) then 89 @ 0x12e5 else 90 @ 0x12cf 0x1272 81 eax = [rbp - 4 {var_c_1}].d 0x1275 82 eax = eax + 1 0x1278 83 [rbp - 4 {var_c_1}].d = eax 0x127b 84 goto 37 @ 0x1222 0x12ff 85 eax = [rbp - 4 {var_c_3}].d 0x1302 86 ecx = [rbp - 8 {var_10}].d 0x1305 87 ecx = ecx - 1 0x130a 88 if (eax s> ecx) then 94 @ 0x1362 else 99 @ 0x1310 0x12e5 89 goto 102 @ 0x12ea 0x12cf 90 rax = sx.q([rbp - 4 {var_c_2}].d) 0x12d3 91 eax = [rbp + (rax << 2) - 0xd0].d 0x12da 92 [rbp - 0xd8 {var_e0}].d = eax 0x12e0 93 goto 76 @ 0x12f8 0x1362 94 esi = [rbp - 0xd8 {var_e0}].d 0x1368 95 rdi = 0x200d {"%d\n"} 0x136f 96 al = 0 0x1371 97 call(0x1030) 0x1371 98 goto 72 @ 0x1376 0x1310 99 rax = sx.q([rbp - 4 {var_c_3}].d) 0x1314 100 eax = [rbp + (rax << 2) - 0xd0].d 0x1321 101 if (eax s<= [rbp - 0xd8 {var_e0}].d) then 106 @ 0x134f else 107 @ 0x1327 0x12ea 102 eax = [rbp - 4 {var_c_2}].d 0x12ed 103 eax = eax + 1 0x12f0 104 [rbp - 4 {var_c_2}].d = eax 0x12f3 105 goto 68 @ 0x12a7 0x134f 106 goto 110 @ 0x1354 0x1327 107 rax = sx.q([rbp - 4 {var_c_3}].d) 0x132b 108 eax = [rbp + (rax << 2) - 0xd0].d 0x1338 109 if (eax s>= [rbp - 0xd4 {var_dc}].d) then 106 @ 0x134f else 114 @ 0x133e 0x1354 110 eax = [rbp - 4 {var_c_3}].d 0x1357 111 eax = eax + 1 0x135a 112 [rbp - 4 {var_c_3}].d = eax 0x135d 113 goto 85 @ 0x12ff 0x133e 114 rax = sx.q([rbp - 4 {var_c_3}].d) 0x1342 115 eax = [rbp + (rax << 2) - 0xd0].d 0x1349 116 [rbp - 0xd8 {var_e0}].d = eax 0x1349 117 goto 106 @ 0x134f int64_t _fini(): 0x1384 0 rsp = rsp - 8 0x1388 1 rsp = rsp + 8 0x138c 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) 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 - 0x80 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = 0x2030 {"%d"} 0x1179 5 rsi = rbp - 8 {var_10} 0x117d 6 al = 0 0x117f 7 call(0x1040) 0x117f 8 goto 9 @ 0x1184 0x1184 9 eax = [rbp - 4 {var_c}].d 0x118a 10 if (eax s>= [rbp - 8 {var_10}].d) then 11 @ 0x16a9 else 14 @ 0x1190 0x16a9 11 rsp = rsp + 0x80 0x16b0 12 rbp = pop 0x16b1 13 <return> jump(pop) 0x1190 14 rdi = 0x2033 {"%lf%lf%lf"} 0x1197 15 rsi = rbp - 0x10 {var_18} 0x119b 16 rdx = rbp - 0x18 {var_20} 0x119f 17 rcx = rbp - 0x20 {var_28} 0x11a3 18 al = 0 0x11a5 19 call(0x1040) 0x11aa 20 xmm0 = zx.o([rbp - 0x18 {var_20}].q) 0x11af 21 xmm2 = zx.o([rbp - 0x18 {var_20}].q) 0x11b4 22 xmm1 = zx.o([0x2008].q) 0x11bc 23 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x11c1 24 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x20 {var_28}].q) 0x11c6 25 rax = xmm1.q 0x11cb 26 rcx = -0x8000000000000000 0x11d5 27 rax = rax ^ rcx 0x11d8 28 xmm1 = rax 0x11dd 29 xmm0.q = xmm0.q f* xmm2.q 0x11e1 30 xmm0.q = xmm0.q f+ xmm1.q 0x11e5 31 xmm1 = 0 0x11e8 32 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x11e8 33 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11e8 34 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11e8 35 flag:s = 0 0x11e8 36 flag:o = 0 0x11e8 37 flag:a = 0 0x11ec 38 if (flag:z || flag:c) then 39 @ 0x130b else 58 @ 0x11f2 0x130b 39 xmm1 = zx.o([rbp - 0x18 {var_20}].q) 0x1310 40 xmm2 = zx.o([rbp - 0x18 {var_20}].q) 0x1315 41 xmm0 = zx.o([0x2008].q) 0x131d 42 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x1322 43 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x20 {var_28}].q) 0x1327 44 rax = xmm0.q 0x132c 45 rcx = -0x8000000000000000 0x1336 46 rax = rax ^ rcx 0x1339 47 xmm0 = rax 0x133e 48 xmm1.q = xmm1.q f* xmm2.q 0x1342 49 xmm1.q = xmm1.q f+ xmm0.q 0x1346 50 xmm0 = zx.o([0x2010].q) 0x134e 51 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x134e 52 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x134e 53 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x134e 54 flag:s = 0 0x134e 55 flag:o = 0 0x134e 56 flag:a = 0 0x1352 57 if (flag:z || flag:c) then 112 @ 0x13e5 else 124 @ 0x1358 0x11f2 58 xmm0 = zx.o([rbp - 0x18 {var_20}].q) 0x11f7 59 rax = xmm0.q 0x11fc 60 rcx = -0x8000000000000000 0x1206 61 rax = rax ^ rcx 0x1209 62 xmm0 = rax 0x120e 63 [rbp - 0x38 {var_40_1}].q = xmm0.q 0x1213 64 xmm0 = zx.o([rbp - 0x18 {var_20}].q) 0x1218 65 xmm2 = zx.o([rbp - 0x18 {var_20}].q) 0x121d 66 xmm1 = zx.o([0x2008].q) 0x1225 67 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x122a 68 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x20 {var_28}].q) 0x122f 69 rax = xmm1.q 0x1234 70 rcx = -0x8000000000000000 0x123e 71 rax = rax ^ rcx 0x1241 72 xmm1 = rax 0x1246 73 xmm0.q = xmm0.q f* xmm2.q 0x124a 74 xmm0.q = xmm0.q f+ xmm1.q 0x124e 75 call(0x1050) 0x1253 76 xmm1 = xmm0 0x1256 77 xmm0 = zx.o([rbp - 0x38 {var_40_1}].q) 0x125b 78 xmm0.q = xmm0.q f+ xmm1.q 0x125f 79 xmm1 = zx.o([0x2020].q) 0x1267 80 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x126c 81 xmm0.q = xmm0.q f/ xmm1.q 0x1270 82 [rbp - 0x28 {var_30_1}].q = xmm0.q 0x1275 83 xmm0 = zx.o([rbp - 0x18 {var_20}].q) 0x127a 84 rax = xmm0.q 0x127f 85 rcx = -0x8000000000000000 0x1289 86 rax = rax ^ rcx 0x128c 87 xmm0 = rax 0x1291 88 [rbp - 0x30 {var_38_1}].q = xmm0.q 0x1296 89 xmm0 = zx.o([rbp - 0x18 {var_20}].q) 0x129b 90 xmm2 = zx.o([rbp - 0x18 {var_20}].q) 0x12a0 91 xmm1 = zx.o([0x2008].q) 0x12a8 92 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x12ad 93 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x20 {var_28}].q) 0x12b2 94 rax = xmm1.q 0x12b7 95 rcx = -0x8000000000000000 0x12c1 96 rax = rax ^ rcx 0x12c4 97 xmm1 = rax 0x12c9 98 xmm0.q = xmm0.q f* xmm2.q 0x12cd 99 xmm0.q = xmm0.q f+ xmm1.q 0x12d1 100 call(0x1050) 0x12d6 101 xmm1 = zx.o([rbp - 0x30 {var_38_1}].q) 0x12db 102 xmm2 = xmm0 0x12de 103 xmm0 = zx.o([rbp - 0x28 {var_30_1}].q) 0x12e3 104 xmm1.q = xmm1.q f- xmm2.q 0x12e7 105 xmm2 = zx.o([0x2020].q) 0x12ef 106 xmm2.q = xmm2.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x12f4 107 xmm1.q = xmm1.q f/ xmm2.q 0x12f8 108 rdi = 0x203d {"x1=%.5f;x2=%.5f"} 0x12ff 109 al = 2 0x1301 110 call(0x1030) 0x1306 111 goto 143 @ 0x168d 0x13e5 112 xmm1 = zx.o([rbp - 0x18 {var_20}].q) 0x13ea 113 xmm0 = zx.o([0x2020].q) 0x13f2 114 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x13f7 115 xmm1.q = xmm1.q f/ xmm0.q 0x13fb 116 xmm0 = zx.o([0x2010].q) 0x1403 117 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1403 118 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1403 119 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1403 120 flag:s = 0 0x1403 121 flag:o = 0 0x1403 122 flag:a = 0 0x1407 123 if (flag:z || flag:c) then 150 @ 0x1529 else 216 @ 0x140d 0x1358 124 xmm0 = zx.o([rbp - 0x18 {var_20}].q) 0x135d 125 xmm2 = zx.o([rbp - 0x18 {var_20}].q) 0x1362 126 xmm1 = zx.o([0x2008].q) 0x136a 127 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x136f 128 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x20 {var_28}].q) 0x1374 129 rax = xmm1.q 0x1379 130 rcx = -0x8000000000000000 0x1383 131 rax = rax ^ rcx 0x1386 132 xmm1 = rax 0x138b 133 xmm0.q = xmm0.q f* xmm2.q 0x138f 134 xmm0.q = xmm0.q f+ xmm1.q 0x1393 135 xmm1 = zx.o([0x2018].q) 0x139b 136 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x139b 137 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x139b 138 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x139b 139 flag:s = 0 0x139b 140 flag:o = 0 0x139b 141 flag:a = 0 0x139f 142 if (flag:z || flag:c) then 112 @ 0x13e5 else 228 @ 0x13a5 0x168d 143 eax = [rbp - 4 {var_c}].d 0x1690 144 eax = eax + 1 0x1693 145 [rbp - 4 {var_c}].d = eax 0x1696 146 rdi = 0x2074 {"\n"} 0x169d 147 al = 0 0x169f 148 call(0x1030) 0x16a4 149 goto 9 @ 0x1184 0x1529 150 xmm0 = zx.o([rbp - 0x18 {var_20}].q) 0x152e 151 rax = xmm0.q 0x1533 152 rcx = -0x8000000000000000 0x153d 153 rax = rax ^ rcx 0x1540 154 xmm0 = rax 0x1545 155 xmm1 = zx.o([0x2020].q) 0x154d 156 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x1552 157 xmm0.q = xmm0.q f/ xmm1.q 0x1556 158 [rbp - 0x58 {var_60_1}].q = xmm0.q 0x155b 159 xmm1 = zx.o([0x2020].q) 0x1563 160 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x1568 161 xmm0 = zx.o([0x2028].q) 0x1570 162 xmm0.q = xmm0.q f/ xmm1.q 0x1574 163 [rbp - 0x78 {var_80_1}].q = xmm0.q 0x1579 164 xmm0 = zx.o([0x2008].q) 0x1581 165 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x1586 166 xmm2 = zx.o([rbp - 0x20 {var_28}].q) 0x158b 167 xmm1 = zx.o([rbp - 0x18 {var_20}].q) 0x1590 168 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x18 {var_20}].q) 0x1595 169 rax = xmm1.q 0x159a 170 rcx = -0x8000000000000000 0x15a4 171 rax = rax ^ rcx 0x15a7 172 xmm1 = rax 0x15ac 173 xmm0.q = xmm0.q f* xmm2.q 0x15b0 174 xmm0.q = xmm0.q f+ xmm1.q 0x15b4 175 call(0x1050) 0x15b9 176 xmm1 = xmm0 0x15bc 177 xmm0 = zx.o([rbp - 0x78 {var_80_1}].q) 0x15c1 178 xmm0.q = xmm0.q f* xmm1.q 0x15c5 179 [rbp - 0x68 {var_70_1}].q = xmm0.q 0x15ca 180 xmm0 = zx.o([rbp - 0x18 {var_20}].q) 0x15cf 181 rax = xmm0.q 0x15d4 182 rcx = -0x8000000000000000 0x15de 183 rax = rax ^ rcx 0x15e1 184 xmm0 = rax 0x15e6 185 xmm1 = zx.o([0x2020].q) 0x15ee 186 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x15f3 187 xmm0.q = xmm0.q f/ xmm1.q 0x15f7 188 [rbp - 0x60 {var_68_1}].q = xmm0.q 0x15fc 189 xmm1 = zx.o([0x2020].q) 0x1604 190 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x1609 191 xmm0 = zx.o([0x2028].q) 0x1611 192 xmm0.q = xmm0.q f/ xmm1.q 0x1615 193 [rbp - 0x70 {var_78_1}].q = xmm0.q 0x161a 194 xmm0 = zx.o([0x2008].q) 0x1622 195 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x1627 196 xmm2 = zx.o([rbp - 0x20 {var_28}].q) 0x162c 197 xmm1 = zx.o([rbp - 0x18 {var_20}].q) 0x1631 198 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x18 {var_20}].q) 0x1636 199 rax = xmm1.q 0x163b 200 rcx = -0x8000000000000000 0x1645 201 rax = rax ^ rcx 0x1648 202 xmm1 = rax 0x164d 203 xmm0.q = xmm0.q f* xmm2.q 0x1651 204 xmm0.q = xmm0.q f+ xmm1.q 0x1655 205 call(0x1050) 0x165a 206 xmm3 = zx.o([rbp - 0x70 {var_78_1}].q) 0x165f 207 xmm1 = zx.o([rbp - 0x68 {var_70_1}].q) 0x1664 208 xmm2 = zx.o([rbp - 0x60 {var_68_1}].q) 0x1669 209 xmm4 = xmm0 0x166c 210 xmm0 = zx.o([rbp - 0x58 {var_60_1}].q) 0x1671 211 xmm3.q = xmm3.q f* xmm4.q 0x1675 212 rdi = 0x2058 {"x1=%.5f+%.5fi;x2=%.5f-%.5fi"} 0x167c 213 al = 4 0x167e 214 call(0x1030) 0x167e 215 goto 240 @ 0x1683 0x140d 216 xmm0 = zx.o([rbp - 0x18 {var_20}].q) 0x1412 217 xmm1 = zx.o([0x2020].q) 0x141a 218 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x141f 219 xmm0.q = xmm0.q f/ xmm1.q 0x1423 220 xmm1 = zx.o([0x2018].q) 0x142b 221 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x142b 222 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x142b 223 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x142b 224 flag:s = 0 0x142b 225 flag:o = 0 0x142b 226 flag:a = 0 0x142f 227 if (flag:z || flag:c) then 150 @ 0x1529 else 241 @ 0x1435 0x13a5 228 xmm0 = zx.o([rbp - 0x18 {var_20}].q) 0x13aa 229 rax = xmm0.q 0x13af 230 rcx = -0x8000000000000000 0x13b9 231 rax = rax ^ rcx 0x13bc 232 xmm0 = rax 0x13c1 233 xmm1 = zx.o([0x2020].q) 0x13c9 234 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x13ce 235 xmm0.q = xmm0.q f/ xmm1.q 0x13d2 236 rdi = 0x204d {"x1=x2=%.5f"} 0x13d9 237 al = 1 0x13db 238 call(0x1030) 0x13e0 239 goto 288 @ 0x1688 0x1683 240 goto 288 @ 0x1688 0x1435 241 xmm1 = zx.o([0x2020].q) 0x143d 242 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x1442 243 xmm0 = zx.o([0x2028].q) 0x144a 244 xmm0.q = xmm0.q f/ xmm1.q 0x144e 245 [rbp - 0x50 {var_58_1}].q = xmm0.q 0x1453 246 xmm0 = zx.o([0x2008].q) 0x145b 247 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x1460 248 xmm2 = zx.o([rbp - 0x20 {var_28}].q) 0x1465 249 xmm1 = zx.o([rbp - 0x18 {var_20}].q) 0x146a 250 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x18 {var_20}].q) 0x146f 251 rax = xmm1.q 0x1474 252 rcx = -0x8000000000000000 0x147e 253 rax = rax ^ rcx 0x1481 254 xmm1 = rax 0x1486 255 xmm0.q = xmm0.q f* xmm2.q 0x148a 256 xmm0.q = xmm0.q f+ xmm1.q 0x148e 257 call(0x1050) 0x1493 258 xmm1 = xmm0 0x1496 259 xmm0 = zx.o([rbp - 0x50 {var_58_1}].q) 0x149b 260 xmm0.q = xmm0.q f* xmm1.q 0x149f 261 [rbp - 0x40 {var_48_1}].q = xmm0.q 0x14a4 262 xmm1 = zx.o([0x2020].q) 0x14ac 263 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x14b1 264 xmm0 = zx.o([0x2028].q) 0x14b9 265 xmm0.q = xmm0.q f/ xmm1.q 0x14bd 266 [rbp - 0x48 {var_50_1}].q = xmm0.q 0x14c2 267 xmm0 = zx.o([0x2008].q) 0x14ca 268 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x10 {var_18}].q) 0x14cf 269 xmm2 = zx.o([rbp - 0x20 {var_28}].q) 0x14d4 270 xmm1 = zx.o([rbp - 0x18 {var_20}].q) 0x14d9 271 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x18 {var_20}].q) 0x14de 272 rax = xmm1.q 0x14e3 273 rcx = -0x8000000000000000 0x14ed 274 rax = rax ^ rcx 0x14f0 275 xmm1 = rax 0x14f5 276 xmm0.q = xmm0.q f* xmm2.q 0x14f9 277 xmm0.q = xmm0.q f+ xmm1.q 0x14fd 278 call(0x1050) 0x1502 279 xmm3 = zx.o([rbp - 0x48 {var_50_1}].q) 0x1507 280 xmm1 = zx.o([rbp - 0x40 {var_48_1}].q) 0x150c 281 xmm3.q = xmm3.q f* xmm0.q 0x1510 282 rdi = 0x2058 {"x1=%.5f+%.5fi;x2=%.5f-%.5fi"} 0x1517 283 xmm2 = 0 0x151a 284 xmm0 = xmm2 0x151d 285 al = 4 0x151f 286 call(0x1030) 0x1524 287 goto 240 @ 0x1683 0x1688 288 goto 143 @ 0x168d int64_t _fini(): 0x16b8 0 rsp = rsp - 8 0x16bc 1 rsp = rsp + 8 0x16c0 2 <return> jump(pop)
POJ_27
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x61a90 0x115c 4 rdi = 0x200f {"%d"} 0x1163 5 rsi = rsp + 0xc {var_61a9c} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 r8d = [rsp + 0xc {var_61a9c}].d 0x1177 9 if (r8d s<= 0) then 10 @ 0x11b6 else 11 @ 0x1179 0x11b6 10 if (r8d s<= 0) then 15 @ 0x1226 else 17 @ 0x11b8 0x1179 11 rbx = rsp + 0x10 {var_61a98} 0x117e 12 r14 = 0x2004 {"%d%d"} 0x1185 13 r15d = 0 0x1188 14 goto 20 @ 0x1190 0x1226 15 edx = [rsp + 0xc {var_61a9c}].d 0x122d 16 if (edx s>= 2) then 29 @ 0x1255 else 32 @ 0x122f 0x11b8 17 ecx = (r8 - 1).d 0x11bc 18 r9d = 1 0x11c2 19 goto 34 @ 0x11df 0x1190 20 rdx = rbx + 4 0x1194 21 rdi = r14 0x1197 22 rsi = rbx 0x119a 23 eax = 0 0x119c 24 call(0x1040) 0x11a1 25 r15 = r15 + 1 0x11a5 26 r8 = sx.q([rsp + 0xc {var_61a9c}].d) 0x11aa 27 rbx = rbx + 8 0x11b1 28 if (r15 s< r8) then 20 @ 0x1190 else 10 @ 0x11b6 0x1255 29 ecx = 0 0x1257 30 r8 = rsp + 0x24 {var_61a84} 0x125c 31 goto 36 @ 0x126d 0x122f 32 esi = edx 0x122f 33 goto 40 @ 0x1234 0x11df 34 ecx = ecx 0x11e4 35 if (r8d s<= r9d) then 41 @ 0x11d0 else 46 @ 0x11e6 0x126d 36 rdi = sx.q(ecx) 0x1270 37 esi = [rsp + (rdi << 3) + 0x14].d 0x1274 38 ebx = (rdi + 1).d 0x127b 39 if (esi s>= [rsp + (rdi << 3) + 0x18].d) then 48 @ 0x1290 else 51 @ 0x127d 0x1234 40 if (esi != 1) then 54 @ 0x12d4 else 58 @ 0x123a 0x11d0 41 eax = (r9 + 1).d 0x11d4 42 ecx = ecx - 1 0x11d7 43 cond:0 = r9d == r8d 0x11da 44 r9d = eax 0x11dd 45 if (cond:0) then 15 @ 0x1226 else 34 @ 0x11df 0x11e6 46 esi = 0 0x11e8 47 goto 64 @ 0x11f8 0x1290 48 rax = rdi + 1 0x1294 49 eax = [rsp + (rax << 3) + 0x14].d 0x129a 50 if (esi s>= eax) then 68 @ 0x12a0 else 70 @ 0x129c 0x127d 51 esi = edx 0x127f 52 ecx = ebx 0x1281 53 goto 72 @ 0x1264 0x12d4 54 rdi = 0x2009 {"no"} 0x12db 55 eax = 0 0x12dd 56 call(0x1030) 0x12dd 57 goto 75 @ 0x12e2 0x123a 58 esi = [rsp + 0x10 {var_61a98}].d 0x123e 59 edx = [rsp + 0x14 {var_61a94}].d 0x1242 60 rdi = 0x200c {"%d %d"} 0x1249 61 eax = 0 0x124b 62 call(0x1030) 0x1250 63 goto 75 @ 0x12e2 0x11f8 64 ebx = [rsp + (rsi << 3) + 0x10].d 0x11fc 65 eax = [rsp + (rsi << 3) + 0x18].d 0x1200 66 rdi = rsi + 1 0x1206 67 if (ebx s<= eax) then 81 @ 0x11f0 else 83 @ 0x1208 0x12a0 68 esi = (rdx - 1).d 0x12a5 69 if (ebx s>= esi) then 91 @ 0x1260 else 93 @ 0x12a7 0x129c 70 [rsp + (rdi << 3) + 0x14].d = eax 0x129c 71 goto 68 @ 0x12a0 0x1264 72 eax = (rsi - 2).d 0x1267 73 edx = esi 0x126b 74 if (ecx s> eax) then 40 @ 0x1234 else 36 @ 0x126d 0x12e2 75 eax = 0 0x12e4 76 rsp = rsp + 0x61a90 0x12eb 77 rbx = pop 0x12ec 78 r14 = pop 0x12ee 79 r15 = pop 0x12f0 80 <return> jump(pop) 0x11f0 81 rsi = rdi 0x11f6 82 if (rcx == rdi) then 41 @ 0x11d0 else 64 @ 0x11f8 0x1208 83 rdx = rsi + rsi 0x120c 84 [rsp + (rdx << 2) + 0x18].d = ebx 0x1210 85 [rsp + (rdx << 2) + 0x10].d = eax 0x1214 86 eax = [rsp + (rsi << 3) + 0x14].d 0x1218 87 edx = [rsp + (rsi << 3) + 0x1c].d 0x121c 88 [rsp + (rsi << 3) + 0x1c].d = eax 0x1220 89 [rsp + (rsi << 3) + 0x14].d = edx 0x1224 90 goto 81 @ 0x11f0 0x1260 91 [rsp + 0xc {var_61a9c}].d = esi 0x1260 92 goto 72 @ 0x1264 0x12a7 93 rbx = r8 + (rdi << 3) 0x12ab 94 edx = edx - edi 0x12ad 95 edx = edx - 2 0x12b0 96 edi = 0 0x12bc 97 goto 98 @ 0x12c0 0x12c0 98 rax = [rbx + (rdi << 3) - 4].q 0x12c5 99 [rbx + (rdi << 3) - 0xc].q = rax 0x12ca 100 rdi = rdi + 1 0x12d0 101 if (edx != edi) then 98 @ 0x12c0 else 102 @ 0x12d2 0x12d2 102 goto 91 @ 0x1260 int64_t _fini(): 0x12f8 0 rsp = rsp - 8 0x12fc 1 rsp = rsp + 8 0x1300 2 <return> jump(pop)
POJ_76
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 {"AWAVSH8"} 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 - 0x13890 0x115c 4 r14 = 0x2005 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_1389c} 0x1168 6 rdi = r14 0x116b 7 eax = 0 0x116d 8 call(0x1040) 0x1172 9 r15 = rsp + 0x10 {var_13898} 0x1177 10 ebx = 0 0x1179 11 goto 12 @ 0x1180 0x1180 12 rdi = r14 0x1183 13 rsi = r15 0x1186 14 eax = 0 0x1188 15 call(0x1040) 0x118d 16 rbx = rbx + 1 0x1191 17 rax = sx.q([rsp + 0xc {var_1389c}].d) 0x1196 18 r15 = r15 + 4 0x119d 19 if (rbx s< rax) then 12 @ 0x1180 else 20 @ 0x119f 0x119f 20 esi = [rsp + 0x10 {var_13898}].d 0x11a3 21 rdi = 0x2005 {"%d"} 0x11aa 22 eax = 0 0x11ac 23 call(0x1030) 0x11b1 24 eax = [rsp + 0xc {var_1389c}].d 0x11b8 25 if (eax s< 2) then 26 @ 0x1219 else 32 @ 0x11ba 0x1219 26 eax = 0 0x121b 27 rsp = rsp + 0x13890 0x1222 28 rbx = pop 0x1223 29 r14 = pop 0x1225 30 r15 = pop 0x1227 31 <return> jump(pop) 0x11ba 32 ebx = 1 0x11bf 33 r14 = 0x2004 {" %d"} 0x11c6 34 goto 35 @ 0x11dc 0x11dc 35 esi = [rsp + (rbx << 2) + 0x10].d 0x11e0 36 ecx = 0 0x11ec 37 goto 38 @ 0x11f4 0x11f4 38 if ([rsp + (rcx << 2) + 0x10].d == esi) then 39 @ 0x1202 else 41 @ 0x11f6 0x1202 39 ecx = ecx 0x1207 40 if (rcx != rbx) then 43 @ 0x11d0 else 46 @ 0x1209 0x11f6 41 rcx = rcx + 1 0x11fd 42 if (rbx != rcx) then 38 @ 0x11f4 else 51 @ 0x11ff 0x11d0 43 rbx = rbx + 1 0x11d4 44 rcx = sx.q(eax) 0x11da 45 if (rbx s>= rcx) then 26 @ 0x1219 else 35 @ 0x11dc 0x1209 46 rdi = r14 0x120c 47 eax = 0 0x120e 48 call(0x1030) 0x1213 49 eax = [rsp + 0xc {var_1389c}].d 0x1217 50 goto 43 @ 0x11d0 0x11ff 51 rcx = rbx 0x11ff 52 goto 39 @ 0x1202 int64_t _fini(): 0x122c 0 rsp = rsp - 8 0x1230 1 rsp = rsp + 8 0x1234 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 {"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 - 0x1a8 0x116a 3 rdi = 0x2004 {"%s %s"} 0x1171 4 rsi = rsp {var_1b8} 0x1174 5 r14 = rsp + 0x70 {var_148} 0x1179 6 rdx = r14 {var_148} 0x117c 7 eax = 0 0x117e 8 call(0x1050) 0x1183 9 rdi = r14 {var_148} 0x1186 10 call(0x1040) 0x118e 11 if (rax s<= 0) then 12 @ 0x11e5 else 16 @ 0x1190 0x11e5 12 rsp = rsp + 0x1a8 0x11ec 13 rbx = pop 0x11ed 14 r14 = pop 0x11ef 15 <return> jump(pop) 0x1190 16 rbx = rax 0x1193 17 rdi = rsp {var_1b8} 0x1196 18 call(0x1040) 0x119b 19 rsi = r14 {var_148} 0x11a1 20 if (rax == 0) then 21 @ 0x11f0 else 29 @ 0x11a3 0x11f0 21 rsi = rsi - r14 0x11f3 22 rdi = 0x200a {"%d"} 0x11fa 23 eax = 0 0x11fc 24 call(0x1030) 0x1201 25 rsp = rsp + 0x1a8 0x1208 26 rbx = pop 0x1209 27 r14 = pop 0x120b 28 <return> jump(pop) 0x11a3 29 rcx = rsp + rbx 0x11a7 30 rcx = rcx + 0x70 0x11ab 31 rsi = rsp + 0x70 {var_148} 0x11ab 32 goto 33 @ 0x11b0 0x11b0 33 edx = 0 0x11bc 34 goto 35 @ 0x11c0 0x11c0 35 ebx = zx.d([rsi + rdx].b) 0x11c7 36 if (bl != [rsp + rdx].b) then 37 @ 0x11d5 else 39 @ 0x11c9 0x11d5 37 edx = edx 0x11da 38 if (rax == rdx) then 21 @ 0x11f0 else 41 @ 0x11dc 0x11c9 39 rdx = rdx + 1 0x11d0 40 if (rax != rdx) then 35 @ 0x11c0 else 43 @ 0x11d2 0x11dc 41 rsi = rsi + 1 0x11e3 42 if (rsi u< rcx) then 33 @ 0x11b0 else 12 @ 0x11e5 0x11d2 43 rdx = rax 0x11d2 44 goto 37 @ 0x11d5 int64_t _fini(): 0x1210 0 rsp = rsp - 8 0x1214 1 rsp = rsp + 8 0x1218 2 <return> jump(pop)
POJ_45
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 = 0x11a0 {"AVSPH\"} 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 jiaohuan(int32_t arg1, int32_t arg2): 0x1160 0 rax = sx.q(edi) 0x1163 1 rcx = sx.q(esi) 0x1166 2 rax = rax + (rax << 2) 0x116a 3 rdx = 0x4050 {""} 0x1171 4 rcx = rcx + (rcx << 2) 0x1175 5 xmm0 = [rdx + (rax << 2)].o 0x1179 6 xmm1 = [rdx + (rcx << 2)].o 0x117d 7 [rdx + (rax << 2)].o = xmm1 0x1181 8 [rdx + (rcx << 2)].o = xmm0 0x1185 9 esi = [rdx + (rax << 2) + 0x10].d 0x1189 10 edi = [rdx + (rcx << 2) + 0x10].d 0x118d 11 [rdx + (rax << 2) + 0x10].d = edi 0x1191 12 [rdx + (rcx << 2) + 0x10].d = esi 0x1195 13 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x11a0 0 push(r14) 0x11a2 1 push(rbx) 0x11a3 2 push(rax) 0x11a4 3 rbx = 0x2007 {"%d"} 0x11ab 4 r14 = 0x4050 {""} 0x11b2 5 rdi = rbx 0x11b5 6 rsi = r14 0x11b8 7 eax = 0 0x11ba 8 call(0x1040) 0x11bf 9 rsi = 0x4054 {""} 0x11c6 10 rdi = rbx 0x11c9 11 eax = 0 0x11cb 12 call(0x1040) 0x11d0 13 rsi = 0x4058 {""} 0x11d7 14 rdi = rbx 0x11da 15 eax = 0 0x11dc 16 call(0x1040) 0x11e1 17 rsi = 0x405c {""} 0x11e8 18 rdi = rbx 0x11eb 19 eax = 0 0x11ed 20 call(0x1040) 0x11f2 21 rsi = 0x4060 {""} 0x11f9 22 rdi = rbx 0x11fc 23 eax = 0 0x11fe 24 call(0x1040) 0x1203 25 rsi = 0x4064 {""} 0x120a 26 rdi = rbx 0x120d 27 eax = 0 0x120f 28 call(0x1040) 0x1214 29 rsi = 0x4068 {""} 0x121b 30 rdi = rbx 0x121e 31 eax = 0 0x1220 32 call(0x1040) 0x1225 33 rsi = 0x406c {""} 0x122c 34 rdi = rbx 0x122f 35 eax = 0 0x1231 36 call(0x1040) 0x1236 37 rsi = 0x4070 {""} 0x123d 38 rdi = rbx 0x1240 39 eax = 0 0x1242 40 call(0x1040) 0x1247 41 rsi = 0x4074 {""} 0x124e 42 rdi = rbx 0x1251 43 eax = 0 0x1253 44 call(0x1040) 0x1258 45 rsi = 0x4078 {""} 0x125f 46 rdi = rbx 0x1262 47 eax = 0 0x1264 48 call(0x1040) 0x1269 49 rsi = 0x407c {""} 0x1270 50 rdi = rbx 0x1273 51 eax = 0 0x1275 52 call(0x1040) 0x127a 53 rsi = 0x4080 {""} 0x1281 54 rdi = rbx 0x1284 55 eax = 0 0x1286 56 call(0x1040) 0x128b 57 rsi = 0x4084 {""} 0x1292 58 rdi = rbx 0x1295 59 eax = 0 0x1297 60 call(0x1040) 0x129c 61 rsi = 0x4088 {""} 0x12a3 62 rdi = rbx 0x12a6 63 eax = 0 0x12a8 64 call(0x1040) 0x12ad 65 rsi = 0x408c {""} 0x12b4 66 rdi = rbx 0x12b7 67 eax = 0 0x12b9 68 call(0x1040) 0x12be 69 rsi = 0x4090 {""} 0x12c5 70 rdi = rbx 0x12c8 71 eax = 0 0x12ca 72 call(0x1040) 0x12cf 73 rsi = 0x4094 {""} 0x12d6 74 rdi = rbx 0x12d9 75 eax = 0 0x12db 76 call(0x1040) 0x12e0 77 rsi = 0x4098 {""} 0x12e7 78 rdi = rbx 0x12ea 79 eax = 0 0x12ec 80 call(0x1040) 0x12f1 81 rsi = 0x409c {""} 0x12f8 82 rdi = rbx 0x12fb 83 eax = 0 0x12fd 84 call(0x1040) 0x1302 85 rsi = 0x40a0 {""} 0x1309 86 rdi = rbx 0x130c 87 eax = 0 0x130e 88 call(0x1040) 0x1313 89 rsi = 0x40a4 {""} 0x131a 90 rdi = rbx 0x131d 91 eax = 0 0x131f 92 call(0x1040) 0x1324 93 rsi = 0x40a8 {""} 0x132b 94 rdi = rbx 0x132e 95 eax = 0 0x1330 96 call(0x1040) 0x1335 97 rsi = 0x40ac {""} 0x133c 98 rdi = rbx 0x133f 99 eax = 0 0x1341 100 call(0x1040) 0x1346 101 rsi = 0x40b0 {""} 0x134d 102 rdi = rbx 0x1350 103 eax = 0 0x1352 104 call(0x1040) 0x1357 105 rdi = 0x2004 {"%d %d"} 0x135e 106 rsi = rsp + 4 {var_18+0x4} 0x1363 107 rdx = rsp {var_18} 0x1366 108 eax = 0 0x1368 109 call(0x1040) 0x136d 110 eax = [rsp + 4 {var_18+0x4}].d 0x1375 111 if (rax u> 4) then 112 @ 0x155f else 115 @ 0x137b 0x155f 112 rdi = 0x2012 {"error"} 0x1566 113 call(0x1050) 0x1566 114 goto 117 @ 0x156b 0x137b 115 ecx = [rsp {var_18}].d 0x1381 116 if (ecx s> 4) then 112 @ 0x155f else 122 @ 0x1389 0x156b 117 eax = 0 0x156d 118 rsp = rsp + 8 0x1571 119 rbx = pop 0x1572 120 r14 = pop 0x1574 121 <return> jump(pop) 0x1389 122 if (ecx s< 0) then 112 @ 0x155f else 123 @ 0x138f 0x138f 123 rax = rax + (rax << 2) 0x1393 124 rcx = rcx + (rcx << 2) 0x1397 125 xmm0 = [r14 + (rax << 2)].o 0x139c 126 xmm1 = [r14 + (rcx << 2)].o 0x13a1 127 [r14 + (rax << 2)].o = xmm1 0x13a6 128 [r14 + (rcx << 2)].o = xmm0 0x13ab 129 edx = [r14 + (rax << 2) + 0x10].d 0x13b0 130 esi = [r14 + (rcx << 2) + 0x10].d 0x13b5 131 [r14 + (rax << 2) + 0x10].d = esi 0x13ba 132 [r14 + (rcx << 2) + 0x10].d = edx 0x13bf 133 esi = [0x4050].d 0x13c5 134 rbx = 0x200a {"%d "} 0x13cc 135 rdi = rbx 0x13cf 136 eax = 0 0x13d1 137 call(0x1030) 0x13d6 138 esi = [0x4054].d 0x13dc 139 rdi = rbx 0x13df 140 eax = 0 0x13e1 141 call(0x1030) 0x13e6 142 esi = [0x4058].d 0x13ec 143 rdi = rbx 0x13ef 144 eax = 0 0x13f1 145 call(0x1030) 0x13f6 146 esi = [0x405c].d 0x13fc 147 rdi = rbx 0x13ff 148 eax = 0 0x1401 149 call(0x1030) 0x1406 150 esi = [0x4060].d 0x140c 151 r14 = 0x200e {"%d\n"} 0x1413 152 rdi = r14 0x1416 153 eax = 0 0x1418 154 call(0x1030) 0x141d 155 esi = [0x4064].d 0x1423 156 rdi = rbx 0x1426 157 eax = 0 0x1428 158 call(0x1030) 0x142d 159 esi = [0x4068].d 0x1433 160 rdi = rbx 0x1436 161 eax = 0 0x1438 162 call(0x1030) 0x143d 163 esi = [0x406c].d 0x1443 164 rdi = rbx 0x1446 165 eax = 0 0x1448 166 call(0x1030) 0x144d 167 esi = [0x4070].d 0x1453 168 rdi = rbx 0x1456 169 eax = 0 0x1458 170 call(0x1030) 0x145d 171 esi = [0x4074].d 0x1463 172 rdi = r14 0x1466 173 eax = 0 0x1468 174 call(0x1030) 0x146d 175 esi = [0x4078].d 0x1473 176 rdi = rbx 0x1476 177 eax = 0 0x1478 178 call(0x1030) 0x147d 179 esi = [0x407c].d 0x1483 180 rdi = rbx 0x1486 181 eax = 0 0x1488 182 call(0x1030) 0x148d 183 esi = [0x4080].d 0x1493 184 rdi = rbx 0x1496 185 eax = 0 0x1498 186 call(0x1030) 0x149d 187 esi = [0x4084].d 0x14a3 188 rdi = rbx 0x14a6 189 eax = 0 0x14a8 190 call(0x1030) 0x14ad 191 esi = [0x4088].d 0x14b3 192 rdi = r14 0x14b6 193 eax = 0 0x14b8 194 call(0x1030) 0x14bd 195 esi = [0x408c].d 0x14c3 196 rdi = rbx 0x14c6 197 eax = 0 0x14c8 198 call(0x1030) 0x14cd 199 esi = [0x4090].d 0x14d3 200 rdi = rbx 0x14d6 201 eax = 0 0x14d8 202 call(0x1030) 0x14dd 203 esi = [0x4094].d 0x14e3 204 rdi = rbx 0x14e6 205 eax = 0 0x14e8 206 call(0x1030) 0x14ed 207 esi = [0x4098].d 0x14f3 208 rdi = rbx 0x14f6 209 eax = 0 0x14f8 210 call(0x1030) 0x14fd 211 esi = [0x409c].d 0x1503 212 rdi = r14 0x1506 213 eax = 0 0x1508 214 call(0x1030) 0x150d 215 esi = [0x40a0].d 0x1513 216 rdi = rbx 0x1516 217 eax = 0 0x1518 218 call(0x1030) 0x151d 219 esi = [0x40a4].d 0x1523 220 rdi = rbx 0x1526 221 eax = 0 0x1528 222 call(0x1030) 0x152d 223 esi = [0x40a8].d 0x1533 224 rdi = rbx 0x1536 225 eax = 0 0x1538 226 call(0x1030) 0x153d 227 esi = [0x40ac].d 0x1543 228 rdi = rbx 0x1546 229 eax = 0 0x1548 230 call(0x1030) 0x154d 231 esi = [0x40b0].d 0x1553 232 rdi = r14 0x1556 233 eax = 0 0x1558 234 call(0x1030) 0x155d 235 goto 117 @ 0x156b int64_t _fini(): 0x157c 0 rsp = rsp - 8 0x1580 1 rsp = rsp + 8 0x1584 2 <return> jump(pop)
POJ_81
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) 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 = 0x2004 {"%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 @ 0x124f else 21 @ 0x119f 0x124f 12 eax = 0 0x1251 13 rsp = rsp + 0x186b8 0x1258 14 rbx = pop 0x1259 15 r12 = pop 0x125b 16 r13 = pop 0x125d 17 r14 = pop 0x125f 18 r15 = pop 0x1261 19 rbp = pop 0x1262 20 <return> jump(pop) 0x119f 21 r14 = 0x2007 {"\n%s"} 0x11a6 22 r13 = rsp + 0x10 {var_186d8} 0x11ab 23 r15 = 0x200b {"%c\n"} 0x11b2 24 r12 = 0x200f {"no"} 0x11b9 25 ebp = 0 0x11bb 26 goto 27 @ 0x11d1 0x11d1 27 rdi = r14 0x11d4 28 rsi = r13 {var_186d8} 0x11d7 29 eax = 0 0x11d9 30 call(0x1050) 0x11de 31 rdi = r13 {var_186d8} 0x11e1 32 call(0x1040) 0x11e8 33 if (eax s<= 0) then 34 @ 0x11c0 else 37 @ 0x11ea 0x11c0 34 rdi = r12 0x11c3 35 call(0x1060) 0x11c3 36 goto 42 @ 0x11c8 0x11ea 37 rdi = sx.q(eax) 0x11ed 38 ecx = edi 0x11ef 39 bl = 1 0x11f1 40 edx = 0 0x11f1 41 goto 44 @ 0x11f3 0x11c8 42 ebp = ebp + 1 0x11cf 43 if (ebp s>= [rsp + 0xc {var_186dc}].d) then 12 @ 0x124f else 27 @ 0x11d1 0x11f3 44 esi = 0 0x11f5 45 goto 46 @ 0x120c 0x120c 46 if (rdx == rsi) then 47 @ 0x1200 else 49 @ 0x120e 0x1200 47 rsi = rsi + 1 0x1207 48 if (rcx == rsi) then 51 @ 0x1230 else 46 @ 0x120c 0x120e 49 eax = zx.d([rsp + rdx + 0x10].b) 0x1217 50 if (al != [rsp + rsi + 0x10].b) then 47 @ 0x1200 else 57 @ 0x1219 0x1230 51 eax = edx 0x1232 52 esi = sx.d([rsp + rax + 0x10].b) 0x1237 53 rdi = r15 0x123a 54 eax = 0 0x123c 55 call(0x1030) 0x1244 56 if ((bl & 1) == 0) then 34 @ 0x11c0 else 60 @ 0x124a 0x1219 57 rdx = rdx + 1 0x1220 58 bl = rdx s< rdi 0x1226 59 if (rdx != rcx) then 44 @ 0x11f3 else 61 @ 0x1228 0x124a 60 goto 42 @ 0x11c8 0x1228 61 goto 34 @ 0x11c0 int64_t _fini(): 0x1268 0 rsp = rsp - 8 0x126c 1 rsp = rsp + 8 0x1270 2 <return> jump(pop)
POJ_37
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r12) 0x1157 4 push(rbx) 0x1158 5 rsp = rsp - 0x7e0 0x115f 6 rdi = 0x2004 {"%d"} 0x1166 7 rsi = rsp + 0xc {var_7fc} 0x116b 8 eax = 0 0x116d 9 call(0x1040) 0x1177 10 if ([rsp + 0xc {var_7fc}].d s<= 0) then 11 @ 0x12be else 19 @ 0x117d 0x12be 11 eax = 0 0x12c0 12 rsp = rsp + 0x7e0 0x12c7 13 rbx = pop 0x12c8 14 r12 = pop 0x12ca 15 r14 = pop 0x12cc 16 r15 = pop 0x12ce 17 rbp = pop 0x12cf 18 <return> jump(pop) 0x117d 19 rbx = rsp + 0x10 {var_7f8} 0x1182 20 r14 = 0x2004 {"%d"} 0x1189 21 ebp = 0 0x118b 22 r12d = 0 0x118e 23 goto 24 @ 0x1190 0x1190 24 rdi = r14 0x1193 25 rsi = rbx 0x1196 26 eax = 0 0x1198 27 call(0x1040) 0x119d 28 eax = [rbx].d 0x119f 29 eax = eax & 1 0x11a2 30 r12d = r12d + eax 0x11a5 31 rbp = rbp + 1 0x11a9 32 rax = sx.q([rsp + 0xc {var_7fc}].d) 0x11ae 33 rbx = rbx + 4 0x11b5 34 if (rbp s< rax) then 24 @ 0x1190 else 35 @ 0x11b9 0x11b9 35 if (eax s<= 0) then 11 @ 0x12be else 36 @ 0x11bf 0x11bf 36 r10d = (rax - 1).d 0x11c3 37 r9d = 1 0x11c9 38 edx = 0 0x11cb 39 goto 40 @ 0x11ea 0x11ea 40 if (eax s<= r9d) then 41 @ 0x11d0 else 47 @ 0x11ec 0x11d0 41 ecx = (r9 + 1).d 0x11d4 42 edx = edx + 1 0x11d7 43 r10d = r10d - 1 0x11db 44 cond:0 = r9d == eax 0x11de 45 r9d = ecx 0x11e1 46 if (cond:0) then 52 @ 0x1274 else 40 @ 0x11ea 0x11ec 47 r8d = edx 0x11ef 48 r8d = not.d(r8d) 0x11f2 49 r8d = r8d + eax 0x11f5 50 ebx = [rsp + 0x10 {var_7f8}].d 0x11fd 51 if (r8d != 1) then 53 @ 0x1220 else 57 @ 0x11ff 0x1274 52 if (eax s<= 0) then 11 @ 0x12be else 59 @ 0x1276 0x1220 53 ecx = r10d 0x1223 54 ecx = ecx & 0xfffffffe 0x1226 55 ebp = 0 0x1228 56 goto 63 @ 0x1240 0x11ff 57 esi = 0 0x11ff 58 goto 65 @ 0x1205 0x1276 59 r15 = 0x2007 {"%d,"} 0x127d 60 ebx = 0 0x127f 61 ebp = 0 0x1281 62 goto 66 @ 0x129e 0x1240 63 esi = [rsp + (rbp << 2) + 0x14].d 0x1246 64 if (ebx s<= esi) then 68 @ 0x1260 else 70 @ 0x1248 0x1205 65 if ((r8b & 1) == 0) then 41 @ 0x11d0 else 73 @ 0x1207 0x129e 66 esi = [rsp + (rbx << 2) + 0x10].d 0x12a6 67 if ((sil & 1) == 0) then 75 @ 0x1290 else 78 @ 0x12a8 0x1260 68 ebx = esi 0x1260 69 goto 82 @ 0x1262 0x1248 70 [rsp + (rbp << 2) + 0x14].d = ebx 0x124c 71 [rsp + (rbp << 2) + 0x10].d = esi 0x1250 72 goto 82 @ 0x1262 0x1207 73 ecx = [rsp + (rsi << 2) + 0x14].d 0x120d 74 if (ebx s<= ecx) then 41 @ 0x11d0 else 85 @ 0x120f 0x1290 75 rbx = rbx + 1 0x1294 76 rax = sx.q([rsp + 0xc {var_7fc}].d) 0x129c 77 if (rbx s>= rax) then 11 @ 0x12be else 66 @ 0x129e 0x12a8 78 ebp = ebp + 1 0x12ab 79 cond:1 = ebp == r12d 0x12ae 80 rdi = r15 0x12b1 81 if (cond:1) then 88 else 90 @ 0x12b5 0x1262 82 rsi = rbp + 2 0x1266 83 edi = [rsp + (rbp << 2) + 0x18].d 0x126c 84 if (ebx s> edi) then 93 @ 0x1230 else 96 @ 0x126e 0x120f 85 [rsp + (rsi << 2) + 0x14].d = ebx 0x1213 86 [rsp + (rsi << 2) + 0x10].d = ecx 0x1217 87 goto 41 @ 0x11d0 0x12b1 88 rdi = r14 0x12b1 89 goto 90 @ 0x12b5 0x12b5 90 eax = 0 0x12b7 91 call(0x1030) 0x12bc 92 goto 75 @ 0x1290 0x1230 93 [rsp + (rbp << 2) + 0x18].d = ebx 0x1234 94 [rsp + (rbp << 2) + 0x14].d = edi 0x1234 95 goto 98 @ 0x1238 0x126e 96 ebx = edi 0x1270 97 goto 98 @ 0x1238 0x1238 98 rbp = rsi 0x123e 99 if (rcx == rsi) then 65 @ 0x1205 else 63 @ 0x1240 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) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 [rbp - 0x14 {var_1c}].d = 0 0x1166 5 [rbp - 0x18 {var_20}].d = 0 0x116d 6 rdi = 0x2004 {"%d\n"} 0x1174 7 rsi = rbp - 8 {var_10} 0x1178 8 al = 0 0x117a 9 call(0x1040) 0x117f 10 [rbp - 0x1c {var_24}].d = 0 0x117f 11 goto 12 @ 0x1186 0x1186 12 eax = [rbp - 0x1c {var_24}].d 0x118c 13 if (eax s>= [rbp - 8 {var_10}].d) then 14 @ 0x1253 else 16 @ 0x1192 0x1253 14 eax = [rbp - 0x14 {var_1c}].d 0x1259 15 if (eax s<= [rbp - 0x18 {var_20}].d) then 23 @ 0x1272 else 25 @ 0x125f 0x1192 16 rsi = rbp - 0x10 {var_18} 0x1196 17 rdx = rbp - 0x10 {var_18} 0x119a 18 rdx = rdx + 4 {var_14} 0x119e 19 rdi = 0x2008 {"%d %d"} 0x11a5 20 al = 0 0x11a7 21 call(0x1040) 0x11b0 22 if ([rbp - 0x10 {var_18}].d != 0) then 29 @ 0x11c4 else 30 @ 0x11ba 0x1272 23 eax = [rbp - 0x14 {var_1c}].d 0x1278 24 if (eax s>= [rbp - 0x18 {var_20}].d) then 31 @ 0x1291 else 35 @ 0x127e 0x125f 25 rdi = 0x200e {"A"} 0x1266 26 al = 0 0x1268 27 call(0x1030) 0x126d 28 goto 39 @ 0x12a4 0x11c4 29 if ([rbp - 0x10 {var_18}].d != 1) then 43 @ 0x11d8 else 44 @ 0x11ce 0x11ba 30 if ([rbp - 0xc {var_14}].d == 1) then 45 @ 0x11e8 else 29 @ 0x11c4 0x1291 31 rdi = 0x2012 {"Tie"} 0x1298 32 al = 0 0x129a 33 call(0x1030) 0x129a 34 goto 49 @ 0x129f 0x127e 35 rdi = 0x2010 {"B"} 0x1285 36 al = 0 0x1287 37 call(0x1030) 0x128c 38 goto 49 @ 0x129f 0x12a4 39 eax = 0 0x12a6 40 rsp = rsp + 0x20 0x12aa 41 rbp = pop 0x12ab 42 <return> jump(pop) 0x11d8 43 if ([rbp - 0x10 {var_18}].d != 2) then 50 @ 0x11fa else 51 @ 0x11e2 0x11ce 44 if ([rbp - 0xc {var_14}].d == 2) then 45 @ 0x11e8 else 43 @ 0x11d8 0x11e8 45 eax = [rbp - 0x14 {var_1c}].d 0x11eb 46 eax = eax + 1 0x11ee 47 [rbp - 0x14 {var_1c}].d = eax 0x11f1 48 goto 52 @ 0x1240 0x129f 49 goto 39 @ 0x12a4 0x11fa 50 if ([rbp - 0x10 {var_18}].d != 1) then 53 @ 0x120e else 54 @ 0x1204 0x11e2 51 if ([rbp - 0xc {var_14}].d != 0) then 50 @ 0x11fa else 45 @ 0x11e8 0x1240 52 goto 55 @ 0x1245 0x120e 53 if ([rbp - 0x10 {var_18}].d != 2) then 59 @ 0x1222 else 60 @ 0x1218 0x1204 54 if ([rbp - 0xc {var_14}].d == 0) then 61 @ 0x1232 else 53 @ 0x120e 0x1245 55 eax = [rbp - 0x1c {var_24}].d 0x1248 56 eax = eax + 1 0x124b 57 [rbp - 0x1c {var_24}].d = eax 0x124e 58 goto 12 @ 0x1186 0x1222 59 if ([rbp - 0x10 {var_18}].d != 0) then 65 @ 0x123b else 66 @ 0x122c 0x1218 60 if ([rbp - 0xc {var_14}].d == 1) then 61 @ 0x1232 else 59 @ 0x1222 0x1232 61 eax = [rbp - 0x18 {var_20}].d 0x1235 62 eax = eax + 1 0x1238 63 [rbp - 0x18 {var_20}].d = eax 0x1238 64 goto 65 @ 0x123b 0x123b 65 goto 52 @ 0x1240 0x122c 66 if ([rbp - 0xc {var_14}].d != 2) then 65 @ 0x123b else 61 @ 0x1232 int64_t _fini(): 0x12b0 0 rsp = rsp - 8 0x12b4 1 rsp = rsp + 8 0x12b8 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) 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 {"AWAVATSHX"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x658 0x116e 5 rdi = 0x2006 {"%d"} 0x1175 6 rsi = rsp + 0xc {var_66c} 0x117a 7 eax = 0 0x117c 8 call(0x1040) 0x1186 9 if ([rsp + 0xc {var_66c}].d s<= 0) then 10 @ 0x1260 else 14 @ 0x118c 0x1260 10 rdi = 0x2009 {"Tie"} 0x1267 11 eax = 0 0x1269 12 call(0x1030) 0x1269 13 goto 19 @ 0x126e 0x118c 14 r14 = rsp + 0x10 {var_668} 0x1191 15 r12 = rsp + 0x330 {var_348} 0x1199 16 r15 = 0x2004 {"%d%d"} 0x11a0 17 ebx = 0 0x11ac 18 goto 26 @ 0x11b0 0x126e 19 eax = 0 0x1270 20 rsp = rsp + 0x658 0x1277 21 rbx = pop 0x1278 22 r12 = pop 0x127a 23 r14 = pop 0x127c 24 r15 = pop 0x127e 25 <return> jump(pop) 0x11b0 26 rdi = r15 0x11b3 27 rsi = r12 0x11b6 28 rdx = r14 0x11b9 29 eax = 0 0x11bb 30 call(0x1040) 0x11c0 31 rbx = rbx + 1 0x11c4 32 rax = sx.q([rsp + 0xc {var_66c}].d) 0x11c9 33 r14 = r14 + 4 0x11cd 34 r12 = r12 + 4 0x11d4 35 if (rbx s< rax) then 26 @ 0x11b0 else 36 @ 0x11d6 0x11d6 36 eax = eax 0x11da 37 if (eax s<= 0) then 10 @ 0x1260 else 38 @ 0x11e0 0x11e0 38 ecx = 0 0x11e2 39 edx = 0 0x11e4 40 esi = 0 0x11e6 41 goto 42 @ 0x11fc 0x11fc 42 edi = [rsp + (rcx << 2) + 0x330].d 0x1206 43 if (edi == 1) then 44 @ 0x1220 else 46 @ 0x120a 0x1220 44 edi = [rsp + (rcx << 2) + 0x10].d 0x1226 45 if (edi == 0) then 47 @ 0x11f0 else 49 @ 0x122b 0x120a 46 if (edi != 0) then 50 @ 0x1230 else 52 @ 0x120c 0x11f0 47 edx = edx + 1 0x11f0 48 goto 54 @ 0x11f3 0x122b 49 if (edi == 2) then 56 @ 0x123d else 58 @ 0x122d 0x1230 50 edi = [rsp + (rcx << 2) + 0x10].d 0x1237 51 if (edi == 1) then 47 @ 0x11f0 else 59 @ 0x123b 0x120c 52 edi = [rsp + (rcx << 2) + 0x10].d 0x1213 53 if (edi == 2) then 47 @ 0x11f0 else 60 @ 0x1218 0x11f3 54 rcx = rcx + 1 0x11fa 55 if (rax == rcx) then 61 @ 0x1242 else 42 @ 0x11fc 0x123d 56 esi = esi + 1 0x1240 57 goto 54 @ 0x11f3 0x122d 58 goto 54 @ 0x11f3 0x123b 59 if (edi != 0) then 54 @ 0x11f3 else 56 @ 0x123d 0x1218 60 if (edi == 1) then 56 @ 0x123d else 63 @ 0x121a 0x1242 61 cond:0 = esi s>= edx 0x1244 62 if (esi s<= edx) then 64 @ 0x1252 else 65 @ 0x1246 0x121a 63 goto 54 @ 0x11f3 0x1252 64 if (cond:0) then 10 @ 0x1260 else 68 @ 0x1254 0x1246 65 edi = 0x41 {""} 0x124b 66 call(0x1050) 0x1250 67 goto 19 @ 0x126e 0x1254 68 edi = 0x42 {""} 0x1259 69 call(0x1050) 0x125e 70 goto 19 @ 0x126e int64_t _fini(): 0x1284 0 rsp = rsp - 8 0x1288 1 rsp = rsp + 8 0x128c 2 <return> jump(pop)
POJ_65
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAVSH0H="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r14) 0x1153 2 push(rbx) 0x1154 3 rsp = rsp - 0x30 0x1158 4 rdi = 0x2018 {"%d"} 0x115f 5 rsi = rsp + 4 {var_44} 0x1164 6 eax = 0 0x1166 7 call(0x1040) 0x116b 8 eax = [rsp + 4 {var_44}].d 0x116f 9 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1175 10 if (eax s<= 0) then 11 @ 0x125c else 19 @ 0x117b 0x125c 11 [rsp + 0x20 {var_28}].q = xmm0.q 0x1262 12 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1266 13 [rsp + 0x18 {var_30}].q = xmm0.q 0x126c 14 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1270 15 [rsp + 0x10 {var_38}].q = xmm0.q 0x1276 16 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x127a 17 [rsp + 8 {var_40}].q = xmm0.q 0x127a 18 goto 30 @ 0x1280 0x117b 19 [rsp + 8 {var_40}].q = xmm0.q 0x1181 20 r14 = 0x2018 {"%d"} 0x1188 21 rbx = rsp + 0x2c {var_1c} 0x118d 22 ebp = 0 0x118f 23 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1193 24 [rsp + 0x10 {var_38}].q = xmm0.q 0x1199 25 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x119d 26 [rsp + 0x18 {var_30}].q = xmm0.q 0x11a3 27 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11a7 28 [rsp + 0x20 {var_28}].q = xmm0.q 0x11ad 29 goto 68 @ 0x11df 0x1280 30 xmm1 = 0 0x1283 31 xmm1.q = float.d(eax) 0x1287 32 xmm0 = zx.o([rsp + 0x20 {var_28}].q) 0x128d 33 xmm0.q = xmm0.q f/ xmm1.q 0x1291 34 xmm0.q = xmm0.q f* fconvert.t([0x2010].q) 0x1299 35 rdi = 0x201b {"1-18: %.2lf%%\n"} 0x12a0 36 al = 1 0x12a2 37 call(0x1030) 0x12a7 38 xmm1 = 0 0x12aa 39 xmm1.q = float.d([rsp + 4 {var_44}].d) 0x12b0 40 xmm0 = zx.o([rsp + 0x18 {var_30}].q) 0x12b6 41 xmm0.q = xmm0.q f/ xmm1.q 0x12ba 42 xmm0.q = xmm0.q f* fconvert.t([0x2010].q) 0x12c2 43 rdi = 0x202a {"19-35: %.2lf%%\n"} 0x12c9 44 al = 1 0x12cb 45 call(0x1030) 0x12d0 46 xmm1 = 0 0x12d3 47 xmm1.q = float.d([rsp + 4 {var_44}].d) 0x12d9 48 xmm0 = zx.o([rsp + 0x10 {var_38}].q) 0x12df 49 xmm0.q = xmm0.q f/ xmm1.q 0x12e3 50 xmm0.q = xmm0.q f* fconvert.t([0x2010].q) 0x12eb 51 rdi = 0x203a {"36-60: %.2lf%%\n"} 0x12f2 52 al = 1 0x12f4 53 call(0x1030) 0x12f9 54 xmm1 = 0 0x12fc 55 xmm1.q = float.d([rsp + 4 {var_44}].d) 0x1302 56 xmm0 = zx.o([rsp + 8 {var_40}].q) 0x1308 57 xmm0.q = xmm0.q f/ xmm1.q 0x130c 58 xmm0.q = xmm0.q f* fconvert.t([0x2010].q) 0x1314 59 rdi = 0x204a {"60??: %.2lf%%\n"} 0x131b 60 al = 1 0x131d 61 call(0x1030) 0x1322 62 eax = 0 0x1324 63 rsp = rsp + 0x30 0x1328 64 rbx = pop 0x1329 65 r14 = pop 0x132b 66 rbp = pop 0x132c 67 <return> jump(pop) 0x11df 68 rdi = r14 0x11e2 69 rsi = rbx {var_1c} 0x11e5 70 eax = 0 0x11e7 71 call(0x1040) 0x11ec 72 eax = [rsp + 0x2c {var_1c}].d 0x11f0 73 ecx = (rax - 1).d 0x11f6 74 if (ecx u<= 0x11) then 75 @ 0x11b0 else 80 @ 0x11f8 0x11b0 75 xmm0 = zx.o([rsp + 0x20 {var_28}].q) 0x11b6 76 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q) 0x11be 77 [rsp + 0x20 {var_28}].q = xmm0.q 0x11c4 78 xmm1 = zx.o([rsp + 8 {var_40}].q) 0x11c4 79 goto 84 @ 0x11ca 0x11f8 80 ecx = (rax - 0x13).d 0x11fb 81 cond:0 = ecx u> 0x10 0x11fe 82 xmm1 = zx.o([rsp + 8 {var_40}].q) 0x1204 83 if (cond:0) then 88 @ 0x1220 else 90 @ 0x1206 0x11ca 84 [rsp + 8 {var_40}].q = xmm1.q 0x11d0 85 ebp = ebp + 1 0x11d3 86 eax = [rsp + 4 {var_44}].d 0x11d9 87 if (ebp s>= eax) then 30 @ 0x1280 else 68 @ 0x11df 0x1220 88 ecx = (rax - 0x24).d 0x1226 89 if (ecx u> 0x18) then 94 @ 0x123e else 97 @ 0x1228 0x1206 90 xmm0 = zx.o([rsp + 0x18 {var_30}].q) 0x120c 91 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q) 0x1214 92 [rsp + 0x18 {var_30}].q = xmm0.q 0x121a 93 goto 84 @ 0x11ca 0x123e 94 xmm0 = xmm1 0x1242 95 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q) 0x124d 96 if (eax s>= 0x3d) then 101 @ 0x1253 else 103 @ 0x124f 0x1228 97 xmm0 = zx.o([rsp + 0x10 {var_38}].q) 0x122e 98 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q) 0x1236 99 [rsp + 0x10 {var_38}].q = xmm0.q 0x123c 100 goto 84 @ 0x11ca 0x1253 101 xmm1 = xmm0 0x1257 102 goto 84 @ 0x11ca 0x124f 103 xmm0 = xmm1 0x124f 104 goto 101 @ 0x1253 int64_t _fini(): 0x1334 0 rsp = rsp - 8 0x1338 1 rsp = rsp + 8 0x133c 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 getchar(): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH@H="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x40 0x1168 3 rdi = 0x2004 {"%d\n"} 0x116f 4 eax = 0 0x1171 5 rsi = rbp - 4 {var_c} 0x1175 6 call(0x1050) 0x117a 7 eax = [rbp - 4 {var_c}].d 0x117d 8 rcx = rsp {var_48} 0x1180 9 [rbp - 0x20 {var_28}].q = rcx {var_48} 0x1184 10 rdx = rax 0x1187 11 rdx = rdx << 5 0x118b 12 rcx = rsp {var_48} 0x118e 13 rcx = rcx - rdx 0x1191 14 [rbp - 0x40 {var_48}].q = rcx 0x1195 15 rsp = rcx 0x1198 16 [rbp - 0x28 {var_30}].q = rax 0x119c 17 eax = [rbp - 4 {var_c}].d 0x119f 18 rdx = (rax << 2) + 0xf 0x11a7 19 rdx = rdx & 0xfffffffffffffff0 0x11ab 20 rcx = rsp 0x11ae 21 rcx = rcx - rdx 0x11b1 22 [rbp - 0x38 {var_40}].q = rcx 0x11b5 23 rsp = rcx 0x11b8 24 [rbp - 0x30 {var_38}].q = rax 0x11bc 25 [rbp - 0xc {var_14}].d = 0 0x11bc 26 goto 27 @ 0x11c7 0x11c7 27 if ([rbp - 0xc {var_14}].d s> 0x20) then 28 @ 0x11ea else 30 @ 0x11cd 0x11ea 28 [rbp - 0xc {var_14_1}].d = 0 0x11ea 29 goto 37 @ 0x11f1 0x11cd 30 rax = [rbp - 0x38 {var_40}].q 0x11d1 31 rcx = sx.q([rbp - 0xc {var_14}].d) 0x11d5 32 [rax + (rcx << 2)].d = 0 0x11dc 33 eax = [rbp - 0xc {var_14}].d 0x11df 34 eax = eax + 1 0x11e2 35 [rbp - 0xc {var_14}].d = eax 0x11e5 36 goto 27 @ 0x11c7 0x11f1 37 eax = [rbp - 0xc {var_14_1}].d 0x11f7 38 if (eax s>= [rbp - 4 {var_c}].d) then 39 @ 0x126c else 41 @ 0x11fd 0x126c 39 [rbp - 0xc {var_14_2}].d = 0 0x126c 40 goto 43 @ 0x1273 0x11fd 41 [rbp - 0x10 {var_18_1}].d = 0 0x11fd 42 goto 45 @ 0x1204 0x1273 43 eax = [rbp - 0xc {var_14_2}].d 0x1279 44 if (eax s>= [rbp - 4 {var_c}].d) then 50 @ 0x1344 else 55 @ 0x127f 0x1204 45 al = 0 0x1206 46 call(0x1040) 0x120b 47 [rbp - 0x11 {var_19_1}].b = al 0x120e 48 eax = sx.d(al) 0x1214 49 if (eax == 0xa) then 66 @ 0x1259 else 67 @ 0x121a 0x1344 50 rax = [rbp - 0x20].q {var_48} 0x1348 51 rsp = rax 0x134b 52 rsp = rbp 0x134e 53 rbp = pop 0x134f 54 <return> jump(pop) 0x127f 55 rcx = [rbp - 0x38 {var_40}].q 0x1283 56 rax = [rbp - 0x40 {var_48}].q 0x1287 57 rdx = sx.q([rbp - 0xc {var_14_2}].d) 0x128b 58 rdx = rdx << 5 0x128f 59 rax = rax + rdx 0x1292 60 rdx = sx.q([rbp - 0xc {var_14_2}].d) 0x1296 61 ecx = [rcx + (rdx << 2)].d 0x1299 62 ecx = ecx - 1 0x129c 63 rcx = sx.q(ecx) 0x129f 64 eax = sx.d([rax + rcx].b) 0x12a6 65 if (eax != 0x67) then 85 @ 0x12f1 else 103 @ 0x12ac 0x1259 66 goto 121 @ 0x125e 0x121a 67 rax = [rbp - 0x38 {var_40}].q 0x121e 68 rcx = [rbp - 0x40 {var_48}].q 0x1222 69 sil = [rbp - 0x11 {var_19_1}].b 0x1226 70 rdx = sx.q([rbp - 0xc {var_14_1}].d) 0x122a 71 rdx = rdx << 5 0x122e 72 rcx = rcx + rdx 0x1231 73 edx = [rbp - 0x10 {var_18_1}].d 0x1234 74 edi = edx 0x1236 75 edi = edi + 1 0x1239 76 [rbp - 0x10 {var_18_1}].d = edi 0x123c 77 rdx = sx.q(edx) 0x123f 78 [rcx + rdx].b = sil 0x1243 79 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1247 80 edx = [rax + (rcx << 2)].d 0x124a 81 edx = edx + 1 0x124d 82 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1251 83 [rax + (rcx << 2)].d = edx 0x1254 84 goto 45 @ 0x1204 0x12f1 85 rsi = [rbp - 0x40 {var_48}].q 0x12f5 86 rcx = [rbp - 0x38 {var_40}].q 0x12f9 87 rdx = sx.q([rbp - 0xc {var_14_2}].d) 0x12fd 88 rdx = rdx << 5 0x1301 89 rax = rsi 0x1304 90 rax = rax + rdx 0x1307 91 rdx = sx.q([rbp - 0xc {var_14_2}].d) 0x130b 92 ecx = [rcx + (rdx << 2)].d 0x130e 93 ecx = ecx - 2 0x1311 94 rcx = sx.q(ecx) 0x1314 95 [rax + rcx].b = 0 0x1318 96 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x131c 97 rax = rax << 5 0x1320 98 rsi = rsi + rax 0x1323 99 rdi = 0x2008 {"%s\n"} 0x132a 100 al = 0 0x132c 101 call(0x1030) 0x132c 102 goto 125 @ 0x1331 0x12ac 103 rsi = [rbp - 0x40 {var_48}].q 0x12b0 104 rcx = [rbp - 0x38 {var_40}].q 0x12b4 105 rdx = sx.q([rbp - 0xc {var_14_2}].d) 0x12b8 106 rdx = rdx << 5 0x12bc 107 rax = rsi 0x12bf 108 rax = rax + rdx 0x12c2 109 rdx = sx.q([rbp - 0xc {var_14_2}].d) 0x12c6 110 ecx = [rcx + (rdx << 2)].d 0x12c9 111 ecx = ecx - 3 0x12cc 112 rcx = sx.q(ecx) 0x12cf 113 [rax + rcx].b = 0 0x12d3 114 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x12d7 115 rax = rax << 5 0x12db 116 rsi = rsi + rax 0x12de 117 rdi = 0x2008 {"%s\n"} 0x12e5 118 al = 0 0x12e7 119 call(0x1030) 0x12ec 120 goto 125 @ 0x1331 0x125e 121 eax = [rbp - 0xc {var_14_1}].d 0x1261 122 eax = eax + 1 0x1264 123 [rbp - 0xc {var_14_1}].d = eax 0x1267 124 goto 37 @ 0x11f1 0x1331 125 goto 126 @ 0x1336 0x1336 126 eax = [rbp - 0xc {var_14_2}].d 0x1339 127 eax = eax + 1 0x133c 128 [rbp - 0xc {var_14_2}].d = eax 0x133f 129 goto 43 @ 0x1273 int64_t _fini(): 0x1354 0 rsp = rsp - 8 0x1358 1 rsp = rsp + 8 0x135c 2 <return> jump(pop)
POJ_57
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 {"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 - 0x100 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rsi = rbp - 0x80 {var_88} 0x1186 5 rdi = 0x2004 {"%s"} 0x118d 6 al = 0 0x118f 7 call(0x1050) 0x1194 8 rdi = rbp - 0x80 {var_88} 0x1198 9 call(0x1040) 0x119d 10 [rbp - 0xc {var_14}].d = eax 0x11a4 11 if ([rbp - 0xc {var_14}].d != 1) then 12 @ 0x11c5 else 13 @ 0x11aa 0x11c5 12 if ([rbp - 0xc {var_14}].d != 2) then 18 @ 0x1214 else 19 @ 0x11cb 0x11aa 13 esi = sx.d([rbp - 0x80 {var_88}].b) 0x11ae 14 rdi = 0x2007 {"0\n%c"} 0x11b5 15 al = 0 0x11b7 16 call(0x1030) 0x11bc 17 goto 26 @ 0x13da 0x1214 18 if ([rbp - 0xc {var_14}].d s> 3) then 30 @ 0x1240 else 32 @ 0x121e 0x11cb 19 eax = sx.d([rbp - 0x80 {var_88}].b) 0x11cf 20 eax = eax - 0x30 0x11d2 21 eax = eax * 0xa 0x11d5 22 ecx = sx.d([rbp - 0x7f {var_87}].b) 0x11d9 23 eax = eax + ecx 0x11db 24 eax = eax - 0x30 0x11e1 25 if (eax s>= 0xd) then 18 @ 0x1214 else 33 @ 0x11e7 0x13da 26 eax = 0 0x13dc 27 rsp = rsp + 0x100 0x13e3 28 rbp = pop 0x13e4 29 <return> jump(pop) 0x1240 30 [rbp - 8 {var_10_1}].d = 0 0x1240 31 goto 42 @ 0x1247 0x121e 32 if ([rbp - 0xc {var_14}].d != 2) then 46 @ 0x13d0 else 47 @ 0x1224 0x11e7 33 rdi = 0x200c {"0\n"} 0x11ee 34 al = 0 0x11f0 35 call(0x1030) 0x11f5 36 esi = sx.d([rbp - 0x80 {var_88}].b) 0x11f9 37 edx = sx.d([rbp - 0x7f {var_87}].b) 0x11fd 38 rdi = 0x200f {"%c%c"} 0x1204 39 al = 0 0x1206 40 call(0x1030) 0x120b 41 goto 54 @ 0x13d5 0x1247 42 eax = [rbp - 8 {var_10_1}].d 0x124a 43 ecx = [rbp - 0xc {var_14}].d 0x124d 44 ecx = ecx - 1 0x1252 45 if (eax s>= ecx) then 55 @ 0x1300 else 56 @ 0x125c 0x13d0 46 goto 54 @ 0x13d5 0x1224 47 eax = sx.d([rbp - 0x80 {var_88}].b) 0x1228 48 eax = eax - 0x30 0x122b 49 eax = eax * 0xa 0x122e 50 ecx = sx.d([rbp - 0x7f {var_87}].b) 0x1232 51 eax = eax + ecx 0x1234 52 eax = eax - 0x30 0x123a 53 if (eax s<= 0xd) then 46 @ 0x13d0 else 30 @ 0x1240 0x13d5 54 goto 26 @ 0x13da 0x1300 55 if ([rbp - 0x18 {var_20}].d s<= 9) then 57 @ 0x1321 else 62 @ 0x1306 0x125c 56 if ([rbp - 8 {var_10_1}].d != 0) then 68 @ 0x127d else 77 @ 0x1262 0x1321 57 eax = [rbp - 0x18 {var_20}].d 0x1324 58 eax = eax + 0x30 0x1327 59 [rbp - 0xf2 {var_fa}].b = al 0x132d 60 [rbp - 0xf1 {var_f9_2}].b = 0 0x132d 61 goto 84 @ 0x1334 0x1306 62 [rbp - 0xf2 {var_fa}].b = 0x31 {""} 0x130d 63 eax = [rbp - 0x18 {var_20}].d 0x1310 64 eax = eax - 0xa 0x1313 65 eax = eax + 0x30 0x1316 66 [rbp - 0xf1 {var_f9_1}].b = al 0x131c 67 goto 84 @ 0x1334 0x127d 68 eax = [rbp - 0x18 {var_20}].d * 0xa 0x1281 69 ecx = [rbp - 8 {var_10_1}].d 0x1284 70 ecx = ecx + 1 0x1287 71 rcx = sx.q(ecx) 0x128a 72 ecx = sx.d([rbp + rcx - 0x80].b) 0x128f 73 ecx = ecx - 0x30 0x1292 74 eax = eax + ecx 0x1294 75 [rbp - 0x14 {var_1c_1}].d = eax 0x129b 76 if ([rbp - 0x14 {var_1c_1}].d s< 0xd) then 86 @ 0x12d3 else 93 @ 0x12a1 0x1262 77 rax = sx.q([rbp - 8 {var_10_1}].d) 0x1266 78 eax = sx.d([rbp + rax - 0x80].b) 0x126b 79 eax = eax - 0x30 0x126e 80 [rbp - 0x18 {var_20}].d = eax 0x1271 81 rax = sx.q([rbp - 8 {var_10_1}].d) 0x1275 82 [rbp + rax - 0xf0].b = 0x30 {""} 0x1275 83 goto 68 @ 0x127d 0x1334 84 [rbp - 8 {var_10_2}].d = 0 0x1334 85 goto 127 @ 0x133b 0x12d3 86 eax = [rbp - 8 {var_10_1}].d 0x12d6 87 eax = eax + 1 0x12d9 88 rax = sx.q(eax) 0x12db 89 [rbp + rax - 0xf0].b = 0x30 {""} 0x12e3 90 eax = [rbp - 0x14 {var_1c_1}].d 0x12e6 91 [rbp - 0x18 {var_20}].d = eax 0x12e6 92 goto 129 @ 0x12e9 0x12a1 93 eax = [rbp - 0x14 {var_1c_1}].d 0x12a4 94 ecx = 0xd {""} 0x12a9 95 temp2.d:temp3.d = sx.q(eax) 0x12a9 96 edx = temp2.d 0x12a9 97 eax = temp3.d 0x12aa 98 temp4.d = edx 0x12aa 99 temp5.d = eax 0x12aa 100 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x12aa 101 temp6.d = edx 0x12aa 102 temp7.d = eax 0x12aa 103 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x12aa 104 eax = temp0.d 0x12aa 105 edx = temp1.d 0x12ac 106 eax = eax + 0x30 0x12af 107 cl = al 0x12b1 108 eax = [rbp - 8 {var_10_1}].d 0x12b4 109 eax = eax + 1 0x12b7 110 rax = sx.q(eax) 0x12b9 111 [rbp + rax - 0xf0].b = cl 0x12c0 112 eax = [rbp - 0x14 {var_1c_1}].d 0x12c3 113 ecx = 0xd {""} 0x12c8 114 temp8.d:temp9.d = sx.q(eax) 0x12c8 115 edx = temp8.d 0x12c8 116 eax = temp9.d 0x12c9 117 temp10.d = edx 0x12c9 118 temp11.d = eax 0x12c9 119 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x12c9 120 temp12.d = edx 0x12c9 121 temp13.d = eax 0x12c9 122 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x12c9 123 eax = temp0.d 0x12c9 124 edx = temp1.d 0x12cb 125 [rbp - 0x18 {var_20}].d = edx 0x12ce 126 goto 129 @ 0x12e9 0x133b 127 eax = [rbp - 8 {var_10_2}].d 0x1341 128 if (eax s>= [rbp - 0xc {var_14}].d) then 130 @ 0x137a else 133 @ 0x1347 0x12e9 129 goto 136 @ 0x12ee 0x137a 130 eax = [rbp - 0x10 {var_18}].d 0x137d 131 [rbp - 8 {var_10_3}].d = eax 0x137d 132 goto 140 @ 0x1380 0x1347 133 rax = sx.q([rbp - 8 {var_10_2}].d) 0x134b 134 eax = sx.d([rbp + rax - 0xf0].b) 0x1356 135 if (eax == 0x30) then 142 @ 0x1367 else 143 @ 0x135c 0x12ee 136 eax = [rbp - 8 {var_10_1}].d 0x12f1 137 eax = eax + 1 0x12f4 138 [rbp - 8 {var_10_1}].d = eax 0x12f7 139 goto 42 @ 0x1247 0x1380 140 eax = [rbp - 8 {var_10_3}].d 0x1386 141 if (eax s>= [rbp - 0xc {var_14}].d) then 146 @ 0x13b4 else 153 @ 0x138c 0x1367 142 goto 162 @ 0x136c 0x135c 143 eax = [rbp - 8 {var_10_2}].d 0x135f 144 [rbp - 0x10 {var_18}].d = eax 0x1362 145 goto 130 @ 0x137a 0x13b4 146 rdi = 0x200d {"\n"} 0x13bb 147 al = 0 0x13bd 148 call(0x1030) 0x13c2 149 rdi = rbp - 0xf2 {var_fa} 0x13c9 150 al = 0 0x13cb 151 call(0x1060) 0x13cb 152 goto 46 @ 0x13d0 0x138c 153 rax = sx.q([rbp - 8 {var_10_3}].d) 0x1390 154 esi = sx.d([rbp + rax - 0xf0].b) 0x1398 155 rdi = 0x2009 {"%c"} 0x139f 156 al = 0 0x13a1 157 call(0x1030) 0x13a6 158 eax = [rbp - 8 {var_10_3}].d 0x13a9 159 eax = eax + 1 0x13ac 160 [rbp - 8 {var_10_3}].d = eax 0x13af 161 goto 140 @ 0x1380 0x136c 162 eax = [rbp - 8 {var_10_2}].d 0x136f 163 eax = eax + 1 0x1372 164 [rbp - 8 {var_10_2}].d = eax 0x1375 165 goto 127 @ 0x133b int64_t _fini(): 0x13ec 0 rsp = rsp - 8 0x13f0 1 rsp = rsp + 8 0x13f4 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) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t putchar(int32_t c): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVATSH@H="} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r12) 0x1177 4 push(rbx) 0x1178 5 rsp = rsp - 0x40 0x117c 6 rdi = 0x2004 {"%d"} 0x1183 7 rsi = rsp + 0xc {var_5c} 0x1188 8 eax = 0 0x118a 9 call(0x1050) 0x118f 10 rbx = 0x2007 {"%s"} 0x1196 11 r14 = rsp + 0x10 {var_58} 0x119b 12 rdi = rbx 0x119e 13 rsi = r14 {var_58} 0x11a1 14 eax = 0 0x11a3 15 call(0x1050) 0x11a8 16 rdi = rbx 0x11ab 17 rsi = r14 {var_58} 0x11ae 18 eax = 0 0x11b0 19 call(0x1030) 0x11ba 20 if ([rsp + 0xc {var_5c}].d s< 2) then 21 @ 0x1251 else 29 @ 0x11c0 0x1251 21 eax = 0 0x1253 22 rsp = rsp + 0x40 0x1257 23 rbx = pop 0x1258 24 r12 = pop 0x125a 25 r14 = pop 0x125c 26 r15 = pop 0x125e 27 rbp = pop 0x125f 28 <return> jump(pop) 0x11c0 29 r15 = rsp + 0x10 {var_58} 0x11c5 30 rdi = r15 {var_58} 0x11c8 31 call(0x1040) 0x11cd 32 r12 = rax 0x11d0 33 ebp = 1 0x11d5 34 r14 = 0x2007 {"%s"} 0x11dc 35 goto 36 @ 0x1206 0x1206 36 rdi = r14 0x1209 37 rsi = r15 {var_58} 0x120c 38 eax = 0 0x120e 39 call(0x1050) 0x1213 40 rdi = r15 {var_58} 0x1216 41 call(0x1040) 0x121b 42 rbx = rax 0x121e 43 ebx = ebx + r12d 0x1224 44 if (ebx s< 0x50) then 45 @ 0x11e0 else 55 @ 0x1226 0x11e0 45 ebx = ebx + 1 0x11e3 46 edi = 0x20 {"@"} 0x11e8 47 call(0x1060) 0x11ed 48 rdi = r14 0x11f0 49 rsi = r15 {var_58} 0x11f3 50 eax = 0 0x11f5 51 call(0x1030) 0x11fa 52 r12d = ebx 0x11fd 53 ebp = ebp + 1 0x1204 54 if (ebp s>= [rsp + 0xc {var_5c}].d) then 21 @ 0x1251 else 36 @ 0x1206 0x1226 55 edi = 0xa {""} 0x122b 56 call(0x1060) 0x1230 57 rdi = r14 0x1233 58 rsi = r15 {var_58} 0x1236 59 eax = 0 0x1238 60 call(0x1030) 0x123d 61 rdi = r15 {var_58} 0x1240 62 call(0x1040) 0x1245 63 r12 = rax 0x1248 64 ebp = ebp + 1 0x124f 65 if (ebp s< [rsp + 0xc {var_5c}].d) then 36 @ 0x1206 else 21 @ 0x1251 int64_t _fini(): 0x1264 0 rsp = rsp - 8 0x1268 1 rsp = rsp + 8 0x126c 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 char* gets(char* buf): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t puts(char const* str): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x8110 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x80f8 {var_8100}].d = 0 0x116c 5 [rbp - 0x8104 {var_810c}].d = 0 0x1176 6 rdi = rbp - 0xbc0 {var_bc8} 0x117d 7 al = 0 0x117f 8 call(0x1030) 0x1184 9 [rbp - 0x80f4 {var_80fc}].d = 0 0x1184 10 goto 11 @ 0x118e 0x118e 11 rax = sx.q([rbp - 0x80f4 {var_80fc}].d) 0x1195 12 eax = sx.d([rbp + rax - 0xbc0].b) 0x11a0 13 if (eax == 0) then 14 @ 0x12e3 else 23 @ 0x11a6 0x12e3 14 rax = sx.q([rbp - 0x8104 {var_810c}].d) 0x12ea 15 [rbp + rax - 0x80f0].b = 0 0x12f2 16 rdi = rbp - 0x80f0 {var_80f8} 0x12f9 17 al = 0 0x12fb 18 call(0x1040) 0x1300 19 eax = 0 0x1302 20 rsp = rsp + 0x8110 0x1309 21 rbp = pop 0x130a 22 <return> jump(pop) 0x11a6 23 rax = sx.q([rbp - 0x80f4 {var_80fc}].d) 0x11ad 24 eax = sx.d([rbp + rax - 0xbc0].b) 0x11b8 25 if (eax != 0x20) then 26 @ 0x11f2 else 34 @ 0x11be 0x11f2 26 rax = sx.q([rbp - 0x80f4 {var_80fc}].d) 0x11f9 27 cl = [rbp + rax - 0xbc0].b 0x1200 28 rax = sx.q([rbp - 0x8104 {var_810c}].d) 0x1207 29 [rbp + rax - 0x80f0].b = cl 0x120e 30 eax = [rbp - 0x8104 {var_810c}].d 0x1214 31 eax = eax + 1 0x1217 32 [rbp - 0x8104 {var_810c}].d = eax 0x1217 33 goto 37 @ 0x121d 0x11be 34 rax = sx.q([rbp - 0x80f4 {var_80fc}].d) 0x11c5 35 eax = sx.d([rbp + rax - 0xbc0].b) 0x11d0 36 if (eax != 0x20) then 37 @ 0x121d else 40 @ 0x11d6 0x121d 37 rax = sx.q([rbp - 0x80f4 {var_80fc}].d) 0x1224 38 eax = sx.d([rbp + rax - 0xbc0].b) 0x122f 39 if (eax != 0x20) then 45 @ 0x12ca else 46 @ 0x1235 0x11d6 40 eax = [rbp - 0x80f4 {var_80fc}].d 0x11dc 41 eax = eax + 1 0x11df 42 rax = sx.q(eax) 0x11e1 43 eax = sx.d([rbp + rax - 0xbc0].b) 0x11ec 44 if (eax == 0x20) then 37 @ 0x121d else 26 @ 0x11f2 0x12ca 45 goto 51 @ 0x12cf 0x1235 46 eax = [rbp - 0x80f4 {var_80fc}].d 0x123b 47 eax = eax + 1 0x123e 48 rax = sx.q(eax) 0x1240 49 eax = sx.d([rbp + rax - 0xbc0].b) 0x124b 50 if (eax != 0x20) then 45 @ 0x12ca else 55 @ 0x1251 0x12cf 51 eax = [rbp - 0x80f4 {var_80fc}].d 0x12d5 52 eax = eax + 1 0x12d8 53 [rbp - 0x80f4 {var_80fc}].d = eax 0x12de 54 goto 11 @ 0x118e 0x1251 55 rax = sx.q([rbp - 0x8104 {var_810c}].d) 0x1258 56 [rbp + rax - 0x80f0].b = 0x20 {"@"} 0x1260 57 eax = [rbp - 0x8104 {var_810c}].d 0x1266 58 eax = eax + 1 0x1269 59 [rbp - 0x8104 {var_810c}].d = eax 0x126f 60 eax = [rbp - 0x80f4 {var_80fc}].d 0x1275 61 [rbp - 0x80f8 {var_8100_1}].d = eax 0x127b 62 eax = [rbp - 0x80f8 {var_8100_1}].d 0x1281 63 eax = eax + 1 0x1284 64 [rbp - 0x80fc {var_8104_1}].d = eax 0x1284 65 goto 66 @ 0x128a 0x128a 66 rax = sx.q([rbp - 0x80fc {var_8104_1}].d) 0x1291 67 eax = sx.d([rbp + rax - 0xbc0].b) 0x129c 68 if (eax != 0x20) then 69 @ 0x12c5 else 70 @ 0x12a2 0x12c5 69 goto 45 @ 0x12ca 0x12a2 70 eax = [rbp - 0x80f4 {var_80fc}].d 0x12a8 71 eax = eax + 1 0x12ab 72 [rbp - 0x80f4 {var_80fc}].d = eax 0x12b1 73 eax = [rbp - 0x80fc {var_8104_1}].d 0x12b7 74 eax = eax + 1 0x12ba 75 [rbp - 0x80fc {var_8104_1}].d = eax 0x12c0 76 goto 66 @ 0x128a int64_t _fini(): 0x1310 0 rsp = rsp - 8 0x1314 1 rsp = rsp + 8 0x1318 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) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x3e8 0x116e 5 rdi = 0x2030 {"%s"} 0x1175 6 rbx = rsp {var_408} 0x1178 7 rsi = rbx {var_408} 0x117b 8 eax = 0 0x117d 9 call(0x1050) 0x1182 10 rdi = rbx {var_408} 0x1185 11 call(0x1040) 0x118a 12 r14 = rax 0x1190 13 if (r14d s<= 0) then 14 @ 0x136d else 21 @ 0x1196 0x136d 14 eax = 0 0x136f 15 rsp = rsp + 0x3e8 0x1376 16 rbx = pop 0x1377 17 r12 = pop 0x1379 18 r14 = pop 0x137b 19 r15 = pop 0x137d 20 <return> jump(pop) 0x1196 21 eax = r14d 0x119d 22 if (rax u>= 8) then 23 @ 0x11a6 else 32 @ 0x119f 0x11a6 23 edx = r14d 0x11a9 24 edx = edx & 7 0x11ac 25 rcx = rax 0x11af 26 rcx = rcx - rdx 0x11b2 27 esi = 0 0x11b4 28 xmm0 = [0x2010].o 0x11bc 29 xmm1 = [0x2020].o 0x11c4 30 xmm2 = _mm_cmpeq_epi32(xmm2, xmm2) 0x11c8 31 goto 34 @ 0x11dd 0x119f 32 ecx = 0 0x11a1 33 goto 43 @ 0x1389 0x11dd 34 xmm3 = [rsp + rsi].q 0x11e2 35 xmm4 = xmm3 0x11e6 36 xmm4 = _mm_add_epi8(xmm4, xmm0) 0x11ea 37 xmm5 = xmm4 0x11ee 38 xmm5 = _mm_max_epu8(xmm5, xmm1) 0x11f2 39 xmm5 = _mm_cmpeq_epi8(xmm5, xmm4) 0x11f6 40 edi = xmm5.d 0x11fa 41 dil = not.b(dil) 0x1201 42 if ((dil & 1) == 0) then 46 @ 0x120f else 53 @ 0x1203 0x1389 43 edx = zx.d([rsp + rcx].b) 0x138d 44 esi = (rdx - 0x61).d 0x1394 45 if (sil u> 0x19) then 57 @ 0x1380 else 59 @ 0x1396 0x120f 46 xmm4 = xmm5 0x1213 47 xmm4 = xmm4 ^ xmm2 0x1217 48 xmm6 = xmm4 0x121b 49 xmm6 = _mm_slli_epi32(xmm6, 8) 0x1220 50 edi = xmm6.d 0x1224 51 edi = edi u>> 0x10 0x122b 52 if ((dil & 1) == 0) then 62 @ 0x123d else 66 @ 0x122d 0x1203 53 edi = xmm3.d 0x1207 54 dil = dil - 0x20 0x120b 55 [rsp + rsi].b = dil 0x120b 56 goto 46 @ 0x120f 0x1380 57 rcx = rcx + 1 0x1387 58 if (rax == rcx) then 71 @ 0x1317 else 43 @ 0x1389 0x1396 59 dl = dl - 0x20 0x1399 60 [rsp + rcx].b = dl 0x139c 61 goto 57 @ 0x1380 0x123d 62 xmm6 = _mm_shufflelo_epi16(xmm5, 0x55) 0x1242 63 xmm6 = xmm6 ^ xmm2 0x1246 64 edi = _mm_extract_epi16(xmm6, 2) 0x124f 65 if ((dil & 1) == 0) then 72 @ 0x1261 else 76 @ 0x1251 0x122d 66 edi = xmm3.d 0x1231 67 edi = edi u>> 8 0x1234 68 dil = dil - 0x20 0x1238 69 [rsp + rsi + 1].b = dil 0x1238 70 goto 62 @ 0x123d 0x1317 71 if (r14d s<= 0) then 14 @ 0x136d else 81 @ 0x1319 0x1261 72 xmm6 = xmm4 0x1265 73 xmm6 = _mm_slli_epi64(xmm6, 0x18) 0x126a 74 edi = _mm_extract_epi16(xmm6, 3) 0x1273 75 if ((dil & 1) == 0) then 84 @ 0x1285 else 88 @ 0x1275 0x1251 76 edi = xmm3.d 0x1255 77 edi = edi u>> 0x10 0x1258 78 dil = dil - 0x20 0x125c 79 [rsp + rsi + 2].b = dil 0x125c 80 goto 72 @ 0x1261 0x1319 81 r15 = 0x2033 {"(%c,%d)"} 0x1320 82 r12d = 0 0x132d 83 goto 93 @ 0x1330 0x1285 84 xmm5 = _mm_shuffle_epi32(xmm5, 0x55) 0x128a 85 xmm5 = xmm5 ^ xmm2 0x128e 86 edi = _mm_extract_epi16(xmm5, 4) 0x1297 87 if ((dil & 1) == 0) then 97 @ 0x12a7 else 101 @ 0x1299 0x1275 88 edi = xmm3.d 0x1279 89 edi = edi u>> 0x18 0x127c 90 dil = dil - 0x20 0x1280 91 [rsp + rsi + 3].b = dil 0x1280 92 goto 84 @ 0x1285 0x1330 93 rsi = sx.q(r12d) 0x1333 94 rbx = rsi 0x1336 95 edx = 0 0x1338 96 goto 105 @ 0x1340 0x12a7 97 xmm5 = xmm4 0x12ab 98 xmm5 = _mm_slli_si128(xmm5, 5) 0x12b0 99 edi = _mm_extract_epi16(xmm5, 5) 0x12b9 100 if ((dil & 1) == 0) then 110 @ 0x12cc else 112 @ 0x12bb 0x1299 101 edi = _mm_extract_epi16(xmm3, 2) 0x129e 102 dil = dil - 0x20 0x12a2 103 [rsp + rsi + 4].b = dil 0x12a2 104 goto 97 @ 0x12a7 0x1340 105 rcx = rbx 0x1343 106 eax = zx.d([rsp + rbx].b) 0x1347 107 edx = edx + 1 0x134a 108 rbx = rbx + 1 0x1352 109 if (al == [rsp + rcx + 1].b) then 105 @ 0x1340 else 117 @ 0x1354 0x12cc 110 edi = _mm_extract_epi16(xmm4, 3) 0x12d5 111 if ((dil & 1) == 0) then 125 @ 0x12e5 else 128 @ 0x12d7 0x12bb 112 edi = _mm_extract_epi16(xmm3, 2) 0x12c0 113 edi = edi u>> 8 0x12c3 114 dil = dil - 0x20 0x12c7 115 [rsp + rsi + 5].b = dil 0x12c7 116 goto 110 @ 0x12cc 0x1354 117 r12d = r12d + edx 0x1357 118 esi = sx.d([rsp + rsi].b) 0x135b 119 rdi = r15 0x135e 120 eax = 0 0x1360 121 call(0x1030) 0x1365 122 cond:0 = r12d s< r14d 0x1368 123 r12 = rbx 0x136b 124 if (cond:0) then 93 @ 0x1330 else 14 @ 0x136d 0x12e5 125 xmm4 = _mm_slli_si128(xmm4, 7) 0x12ea 126 edi = _mm_extract_epi16(xmm4, 7) 0x12f3 127 if ((dil & 1) == 0) then 132 @ 0x11d0 else 134 @ 0x12f9 0x12d7 128 edi = _mm_extract_epi16(xmm3, 3) 0x12dc 129 dil = dil - 0x20 0x12e0 130 [rsp + rsi + 6].b = dil 0x12e0 131 goto 125 @ 0x12e5 0x11d0 132 rsi = rsi + 8 0x11d7 133 if (rcx == rsi) then 139 @ 0x1312 else 34 @ 0x11dd 0x12f9 134 edi = _mm_extract_epi16(xmm3, 3) 0x12fe 135 edi = edi u>> 8 0x1301 136 dil = dil - 0x20 0x1305 137 [rsp + rsi + 7].b = dil 0x130a 138 goto 132 @ 0x11d0 0x1312 139 if (rdx != 0) then 43 @ 0x1389 else 71 @ 0x1317 int64_t _fini(): 0x13a4 0 rsp = rsp - 8 0x13a8 1 rsp = rsp + 8 0x13ac 2 <return> jump(pop)
POJ_103
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x11b0 {"UAWAVSPH=F"} 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 joy(int32_t arg1, int32_t arg2): 0x1153 0 if (edi s< 4) then 1 @ 0x1175 else 3 @ 0x1155 0x1175 1 ecx = 1 0x117d 2 if (esi s< 4) then 5 @ 0x11a5 else 7 @ 0x117f 0x1155 3 ecx = 2 0x115a 4 goto 9 @ 0x1160 0x11a5 5 eax = ecx 0x11a7 6 <return> jump(pop) 0x117f 7 edi = 2 0x118e 8 goto 22 @ 0x1190 0x1160 9 eax = edi 0x1162 10 temp2.d:temp3.d = sx.q(eax) 0x1162 11 edx = temp2.d 0x1162 12 eax = temp3.d 0x1163 13 temp4.d = edx 0x1163 14 temp5.d = eax 0x1163 15 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x1163 16 temp6.d = edx 0x1163 17 temp7.d = eax 0x1163 18 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x1163 19 eax = temp0.d 0x1163 20 edx = temp1.d 0x1167 21 if (edx == 0) then 35 @ 0x11a8 else 38 @ 0x1169 0x1190 22 eax = esi 0x1192 23 temp8.d:temp9.d = sx.q(eax) 0x1192 24 edx = temp8.d 0x1192 25 eax = temp9.d 0x1193 26 temp10.d = edx 0x1193 27 temp11.d = eax 0x1193 28 temp0.d = divs.dp.d(temp10.d:temp11.d, edi) 0x1193 29 temp12.d = edx 0x1193 30 temp13.d = eax 0x1193 31 temp1.d = mods.dp.d(temp12.d:temp13.d, edi) 0x1193 32 eax = temp0.d 0x1193 33 edx = temp1.d 0x1197 34 if (edx == 0) then 35 @ 0x11a8 else 42 @ 0x1199 0x11a8 35 ecx = 0 0x11aa 36 eax = ecx 0x11ac 37 <return> jump(pop) 0x1169 38 ecx = ecx + 1 0x116c 39 eax = ecx 0x116e 40 eax = eax * ecx 0x1173 41 if (eax s<= edi) then 9 @ 0x1160 else 1 @ 0x1175 0x1199 42 edi = edi + 1 0x119c 43 eax = edi 0x119e 44 eax = eax * edi 0x11a3 45 if (eax s<= esi) then 22 @ 0x1190 else 5 @ 0x11a5 int32_t main(int32_t argc, char** argv, char** envp): 0x11b0 0 push(rbp) 0x11b1 1 push(r15) 0x11b3 2 push(r14) 0x11b5 3 push(rbx) 0x11b6 4 push(rax) 0x11b7 5 rdi = 0x2004 {"%d"} 0x11be 6 rsi = rsp + 4 {var_28+0x4} 0x11c3 7 eax = 0 0x11c5 8 call(0x1040) 0x11ca 9 r8d = [rsp + 4 {var_28+0x4}].d 0x11d3 10 if (r8d s< 6) then 11 @ 0x129b else 18 @ 0x11d9 0x129b 11 eax = 0 0x129d 12 rsp = rsp + 8 0x12a1 13 rbx = pop 0x12a2 14 r14 = pop 0x12a4 15 r15 = pop 0x12a6 16 rbp = pop 0x12a7 17 <return> jump(pop) 0x11d9 18 ebp = 6 0x11de 19 r15d = 3 0x11e4 20 r14 = 0x2007 {"%d=%d+%d\n"} 0x11eb 21 goto 22 @ 0x11f0 0x11f0 22 cond:1 = r15d u>= 3 0x11f4 23 ebx = 2 0x11f9 24 r9d = 2 0x11ff 25 if (cond:1) then 26 else 28 @ 0x1203 0x11ff 26 r9d = r15d 0x11ff 27 goto 28 @ 0x1203 0x1203 28 goto 29 @ 0x121d 0x121d 29 if (ebx u< 4) then 30 @ 0x1246 else 33 @ 0x121f 0x1246 30 ecx = ebp 0x1248 31 ecx = ecx - ebx 0x124d 32 if (ecx s< 4) then 35 @ 0x1278 else 42 @ 0x124f 0x121f 33 ecx = 2 0x122e 34 goto 44 @ 0x1230 0x1278 35 rdi = r14 0x127b 36 esi = ebp 0x127d 37 edx = ebx 0x127f 38 eax = 0 0x1281 39 call(0x1030) 0x1286 40 r8d = [rsp + 4 {var_28+0x4}].d 0x1286 41 goto 56 @ 0x128b 0x124f 42 esi = 3 0x125e 43 goto 59 @ 0x1260 0x1230 44 eax = ebx 0x1232 45 edx = 0 0x1234 46 temp2.d = ecx 0x1234 47 temp3.d = edx 0x1234 48 temp4.d = eax 0x1234 49 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1234 50 temp5.d = edx 0x1234 51 temp6.d = eax 0x1234 52 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1234 53 eax = temp0.d 0x1234 54 edx = temp1.d 0x1238 55 if (edx == 0) then 73 @ 0x1210 else 77 @ 0x123a 0x128b 56 ebp = ebp + 2 0x128e 57 r15d = r15d + 1 0x1295 58 if (ebp s<= r8d) then 22 @ 0x11f0 else 11 @ 0x129b 0x1260 59 edi = (rsi - 1).d 0x1263 60 eax = ecx 0x1265 61 temp7.d:temp8.d = sx.q(eax) 0x1265 62 edx = temp7.d 0x1265 63 eax = temp8.d 0x1266 64 temp9.d = edx 0x1266 65 temp10.d = eax 0x1266 66 temp0.d = divs.dp.d(temp9.d:temp10.d, edi) 0x1266 67 temp11.d = edx 0x1266 68 temp12.d = eax 0x1266 69 temp1.d = mods.dp.d(temp11.d:temp12.d, edi) 0x1266 70 eax = temp0.d 0x1266 71 edx = temp1.d 0x126a 72 if (edx == 0) then 73 @ 0x1210 else 81 @ 0x126c 0x1210 73 eax = (rbx + 1).d 0x1213 74 cond:0 = ebx == r9d 0x1216 75 ebx = eax 0x1218 76 if (cond:0) then 56 @ 0x128b else 29 @ 0x121d 0x123a 77 ecx = ecx + 1 0x123d 78 eax = ecx 0x123f 79 eax = eax * ecx 0x1244 80 if (eax u<= ebx) then 44 @ 0x1230 else 30 @ 0x1246 0x126c 81 eax = esi 0x126e 82 eax = eax * esi 0x1271 83 esi = esi + 1 0x1276 84 if (eax s<= ecx) then 59 @ 0x1260 else 35 @ 0x1278 int64_t _fini(): 0x12ac 0 rsp = rsp - 8 0x12b0 1 rsp = rsp + 8 0x12b4 2 <return> jump(pop)
POJ_68
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(rbx) 0x1165 3 rsp = rsp - 0x410 0x116c 4 rdi = 0x2020 {"%lf"} 0x1173 5 rsi = rsp + 8 {var_420} 0x1178 6 eax = 0 0x117a 7 call(0x1050) 0x117f 8 rbx = 0x2024 {"%s"} 0x1186 9 r14 = rsp + 0x210 {var_218} 0x118e 10 rdi = rbx 0x1191 11 rsi = r14 {var_218} 0x1194 12 eax = 0 0x1196 13 call(0x1050) 0x119b 14 r15 = rsp + 0x10 {var_418} 0x11a0 15 rdi = rbx 0x11a3 16 rsi = r15 {var_418} 0x11a6 17 eax = 0 0x11a8 18 call(0x1050) 0x11ad 19 rdi = r14 {var_218} 0x11b0 20 call(0x1040) 0x11b5 21 r14 = rax 0x11b8 22 rdi = r15 {var_418} 0x11bb 23 call(0x1040) 0x11c0 24 rdi = 0x2027 {"error"} 0x11ca 25 if (r14d != eax) then 26 @ 0x1328 else 34 @ 0x11d0 0x1328 26 eax = 0 0x132a 27 call(0x1030) 0x132f 28 eax = 0 0x1331 29 rsp = rsp + 0x410 0x1338 30 rbx = pop 0x1339 31 r14 = pop 0x133b 32 r15 = pop 0x133d 33 <return> jump(pop) 0x11d0 34 xmm0 = 0 0x11d7 35 if (r14d s<= 0) then 36 @ 0x1304 else 48 @ 0x11dd 0x1304 36 xmm1 = 0 0x1307 37 xmm1.q = float.d(r14d) 0x130c 38 xmm0.q = xmm0.q f/ xmm1.q 0x1310 39 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_420}].q)) 0x1310 40 flag:c = xmm0.q f< fconvert.t([rsp + 8 {var_420}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_420}].q)) 0x1310 41 flag:z = xmm0.q f== fconvert.t([rsp + 8 {var_420}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_420}].q)) 0x1310 42 flag:s = 0 0x1310 43 flag:o = 0 0x1310 44 flag:a = 0 0x1316 45 rax = 0x202d {"yes"} 0x131d 46 rdi = 0x2031 {"no"} 0x1324 47 if (not(flag:z) && not(flag:c)) then 52 else 54 0x11dd 48 eax = r14d 0x11e0 49 ecx = 0 0x11e2 50 edx = 0x80045 {""} 0x11e7 51 goto 55 @ 0x11f0 0x1324 52 rdi = rax 0x1324 53 goto 54 0x1324 54 goto 26 @ 0x1328 0x11f0 55 ebx = zx.d([rsp + rcx + 0x210].b) 0x11f8 56 bl = bl - 0x41 0x11fe 57 if (bl u> 0x13) then 26 @ 0x1328 else 58 @ 0x1204 0x1204 58 esi = zx.d(bl) 0x1207 59 flag:c = test_bit(rdx, rsi) 0x120b 60 if (not(flag:c)) then 26 @ 0x1328 else 61 @ 0x1211 0x1211 61 ebx = zx.d([rsp + rcx + 0x10].b) 0x1216 62 bl = bl - 0x41 0x121c 63 if (bl u> 0x13) then 26 @ 0x1328 else 64 @ 0x1222 0x1222 64 esi = zx.d(bl) 0x1225 65 flag:c = test_bit(rdx, rsi) 0x1229 66 if (not(flag:c)) then 26 @ 0x1328 else 67 @ 0x122f 0x122f 67 rcx = rcx + 1 0x1236 68 if (rax != rcx) then 55 @ 0x11f0 else 69 @ 0x123b 0x123b 69 if (r14d s<= 0) then 36 @ 0x1304 else 70 @ 0x1244 0x1244 70 if (eax u>= 8) then 71 @ 0x124f else 80 @ 0x1246 0x124f 71 edx = r14d 0x1252 72 edx = edx & 7 0x1255 73 rcx = rax 0x1258 74 rcx = rcx - rdx 0x125b 75 xmm0 = 0 0x125f 76 esi = 0 0x1261 77 xmm2 = [0x2010].o 0x1269 78 xmm1 = 0 0x126d 79 goto 83 @ 0x1270 0x1246 80 ecx = 0 0x1248 81 esi = 0 0x124a 82 goto 99 @ 0x12e0 0x1270 83 xmm3 = [rsp + rsi + 0x210].q 0x1279 84 xmm4 = [rsp + rsi + 0x214].d 0x1282 85 xmm5 = [rsp + rsi + 0x10].q 0x1288 86 xmm5 = _mm_cmpeq_epi8(xmm5, xmm3) 0x128c 87 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q) 0x1290 88 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q) 0x1294 89 xmm3 = [rsp + rsi + 0x14].d 0x129a 90 xmm3 = _mm_cmpeq_epi8(xmm3, xmm4) 0x129e 91 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x12a2 92 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x12a6 93 xmm5 = xmm5 & xmm2 0x12aa 94 xmm0 = _mm_add_epi32(xmm0, xmm5) 0x12ae 95 xmm3 = xmm3 & xmm2 0x12b2 96 xmm1 = _mm_add_epi32(xmm1, xmm3) 0x12b6 97 rsi = rsi + 8 0x12bd 98 if (rcx != rsi) then 83 @ 0x1270 else 105 @ 0x12bf 0x12e0 99 edx = zx.d([rsp + rcx + 0x210].b) 0x12e8 100 edi = 0 0x12ee 101 dil = dl == [rsp + rcx + 0x10].b 0x12f2 102 esi = esi + edi 0x12f4 103 rcx = rcx + 1 0x12fb 104 if (rax != rcx) then 99 @ 0x12e0 else 112 @ 0x12fd 0x12bf 105 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x12c3 106 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x12c8 107 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x12cc 108 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x12d1 109 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x12d5 110 esi = xmm1.d 0x12dc 111 if (rdx == 0) then 112 @ 0x12fd else 115 @ 0x12de 0x12fd 112 xmm0 = 0 0x1300 113 xmm0.q = float.d(esi) 0x1300 114 goto 36 @ 0x1304 0x12de 115 goto 99 @ 0x12e0 int64_t _fini(): 0x1344 0 rsp = rsp - 8 0x1348 1 rsp = rsp + 8 0x134c 2 <return> jump(pop)
POJ_5
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHH0"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0x230 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rdi = 0x2004 {"%d"} 0x1189 5 rsi = rbp - 8 {var_10} 0x118d 6 al = 0 0x118f 7 call(0x1060) 0x1194 8 rsi = rbp - 0x70 {var_78} 0x1198 9 rdi = 0x2007 {"%s"} 0x119f 10 al = 0 0x11a1 11 call(0x1060) 0x11a6 12 rdi = 0x2004 {"%d"} 0x11ad 13 rsi = rbp - 0xc {var_14} 0x11b1 14 al = 0 0x11b3 15 call(0x1060) 0x11b8 16 [rbp - 0x78 {var_80}].q = 0 0x11c0 17 rdi = rbp - 0x70 {var_78} 0x11c4 18 call(0x1050) 0x11c9 19 [rbp - 0x90 {var_98}].d = eax 0x11cf 20 [rbp - 0x84 {var_8c}].d = 0 0x11cf 21 goto 22 @ 0x11d9 0x11d9 22 eax = [rbp - 0x84 {var_8c}].d 0x11e5 23 if (eax s>= [rbp - 0x90 {var_98}].d) then 24 @ 0x12fb else 31 @ 0x11eb 0x12fb 24 rdi = rbp - 0x220 {var_228} 0x1302 25 esi = 0 0x1304 26 edx = 0x190 {""} 0x1309 27 call(0x1040) 0x130e 28 [rbp - 0x220 {var_228}].d = -1 0x1318 29 [rbp - 0x88 {var_90_2}].d = 0 0x1318 30 goto 34 @ 0x1322 0x11eb 31 rax = sx.q([rbp - 0x84 {var_8c}].d) 0x11f2 32 eax = sx.d([rbp + rax - 0x70].b) 0x11fa 33 if (eax s< 0x41) then 53 @ 0x1232 else 56 @ 0x1200 0x1322 34 rax = [rbp - 0x78 {var_80}].q 0x1326 35 rcx = sx.q([rbp - 0xc {var_14}].d) 0x132a 36 rdx:rax = sx.o(rax) 0x132c 37 temp0.q = divs.dp.q(rdx:rax, rcx) 0x132c 38 temp1.q = mods.dp.q(rdx:rax, rcx) 0x132c 39 rax = temp0.q 0x132c 40 rdx = temp1.q 0x132f 41 ecx = edx 0x1331 42 rax = sx.q([rbp - 0x88 {var_90_2}].d) 0x1338 43 [rbp + (rax << 2) - 0x220].d = ecx 0x133f 44 rax = [rbp - 0x78 {var_80}].q 0x1343 45 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1347 46 rdx:rax = sx.o(rax) 0x1349 47 temp0.q = divs.dp.q(rdx:rax, rcx) 0x1349 48 temp1.q = mods.dp.q(rdx:rax, rcx) 0x1349 49 rax = temp0.q 0x1349 50 rdx = temp1.q 0x134c 51 [rbp - 0x78 {var_80}].q = rax 0x1355 52 if ([rbp - 0x78 {var_80}].q != 0) then 59 @ 0x1360 else 60 @ 0x135b 0x1232 53 rax = sx.q([rbp - 0x84 {var_8c}].d) 0x1239 54 eax = sx.d([rbp + rax - 0x70].b) 0x1241 55 if (eax s< 0x61) then 61 @ 0x1279 else 67 @ 0x1247 0x1200 56 rax = sx.q([rbp - 0x84 {var_8c}].d) 0x1207 57 eax = sx.d([rbp + rax - 0x70].b) 0x120f 58 if (eax s> 0x5a) then 53 @ 0x1232 else 70 @ 0x1215 0x1360 59 goto 77 @ 0x1365 0x135b 60 goto 81 @ 0x1379 0x1279 61 rax = sx.q([rbp - 0x84 {var_8c}].d) 0x1280 62 eax = sx.d([rbp + rax - 0x70].b) 0x1285 63 eax = eax - 0x30 0x1288 64 rax = sx.q(eax) 0x128a 65 [rbp - 0x80 {var_88_1}].q = rax 0x128a 66 goto 84 @ 0x128e 0x1247 67 rax = sx.q([rbp - 0x84 {var_8c}].d) 0x124e 68 eax = sx.d([rbp + rax - 0x70].b) 0x1256 69 if (eax s> 0x7a) then 61 @ 0x1279 else 85 @ 0x125c 0x1215 70 rax = sx.q([rbp - 0x84 {var_8c}].d) 0x121c 71 eax = sx.d([rbp + rax - 0x70].b) 0x1221 72 eax = eax - 0x41 0x1224 73 eax = eax + 0xa 0x1227 74 rax = sx.q(eax) 0x1229 75 [rbp - 0x80 {var_88_1}].q = rax 0x122d 76 goto 92 @ 0x1293 0x1365 77 eax = [rbp - 0x88 {var_90_2}].d 0x136b 78 eax = eax + 1 0x136e 79 [rbp - 0x88 {var_90_2}].d = eax 0x1374 80 goto 34 @ 0x1322 0x1379 81 eax = [rbp - 0x88 {var_90_2}].d 0x137f 82 [rbp - 0x8c {var_94}].d = eax 0x137f 83 goto 94 @ 0x138c 0x128e 84 goto 92 @ 0x1293 0x125c 85 rax = sx.q([rbp - 0x84 {var_8c}].d) 0x1263 86 eax = sx.d([rbp + rax - 0x70].b) 0x1268 87 eax = eax - 0x61 0x126b 88 eax = eax + 0xa 0x126e 89 rax = sx.q(eax) 0x1270 90 [rbp - 0x80 {var_88_1}].q = rax 0x1274 91 goto 84 @ 0x128e 0x1293 92 [rbp - 0x88 {var_90_1}].d = 1 0x1293 93 goto 95 @ 0x129d 0x138c 94 if ([rbp - 0x8c {var_94}].d s< 0) then 100 @ 0x1410 else 104 @ 0x1392 0x129d 95 eax = [rbp - 0x88 {var_90_1}].d 0x12a3 96 ecx = [rbp - 0x90 {var_98}].d 0x12a9 97 ecx = ecx - [rbp - 0x84 {var_8c}].d 0x12af 98 ecx = ecx - 1 0x12b4 99 if (eax s> ecx) then 106 @ 0x12db else 113 @ 0x12ba 0x1410 100 eax = [rbp - 4 {var_c}].d 0x1413 101 rsp = rsp + 0x230 0x141a 102 rbp = pop 0x141b 103 <return> jump(pop) 0x1392 104 rax = sx.q([rbp - 0x8c {var_94}].d) 0x13a1 105 if ([rbp + (rax << 2) - 0x220].d s< 0xa) then 120 @ 0x13db else 126 @ 0x13a7 0x12db 106 rax = [rbp - 0x80 {var_88_1}].q 0x12df 107 rax = rax + [rbp - 0x78 {var_80}].q 0x12e3 108 [rbp - 0x78 {var_80}].q = rax 0x12e7 109 eax = [rbp - 0x84 {var_8c}].d 0x12ed 110 eax = eax + 1 0x12f0 111 [rbp - 0x84 {var_8c}].d = eax 0x12f6 112 goto 22 @ 0x11d9 0x12ba 113 rax = sx.q([rbp - 8 {var_10}].d) 0x12be 114 rax = rax * [rbp - 0x80 {var_88_1}].q 0x12c3 115 [rbp - 0x80 {var_88_1}].q = rax 0x12c7 116 eax = [rbp - 0x88 {var_90_1}].d 0x12cd 117 eax = eax + 1 0x12d0 118 [rbp - 0x88 {var_90_1}].d = eax 0x12d6 119 goto 95 @ 0x129d 0x13db 120 rax = sx.q([rbp - 0x8c {var_94}].d) 0x13e2 121 esi = [rbp + (rax << 2) - 0x220].d 0x13e9 122 rdi = 0x2004 {"%d"} 0x13f0 123 al = 0 0x13f2 124 call(0x1030) 0x13f2 125 goto 136 @ 0x13f7 0x13a7 126 rax = sx.q([rbp - 0x8c {var_94}].d) 0x13ae 127 eax = [rbp + (rax << 2) - 0x220].d 0x13b5 128 eax = eax + 0x41 0x13b8 129 eax = eax - 0xa 0x13bb 130 [rbp - 0x221 {var_229_1}].b = al 0x13c1 131 esi = sx.d([rbp - 0x221 {var_229_1}].b) 0x13c8 132 rdi = 0x200a {"%c"} 0x13cf 133 al = 0 0x13d1 134 call(0x1030) 0x13d6 135 goto 136 @ 0x13f7 0x13f7 136 goto 137 @ 0x13fc 0x13fc 137 eax = [rbp - 0x8c {var_94}].d 0x1402 138 eax = eax - 1 0x1405 139 [rbp - 0x8c {var_94}].d = eax 0x140b 140 goto 94 @ 0x138c int64_t _fini(): 0x1420 0 rsp = rsp - 8 0x1424 1 rsp = rsp + 8 0x1428 2 <return> jump(pop)
POJ_55
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x13e0 {"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) int64_t panduansushu(int32_t arg1): 0x1160 0 eax = 0 0x1165 1 if (edi s< 2) then 2 @ 0x11e4 else 3 @ 0x1167 0x11e4 2 <return> jump(pop) 0x1167 3 r9d = edi 0x116a 4 r8d = edi 0x116d 5 r8d = r8d u>> 1 0x1174 6 if (r8d != 1) then 7 @ 0x117f else 11 @ 0x1176 0x117f 7 r8d = r8d & 0xfffffffe 0x1183 8 esi = 1 0x1188 9 ecx = 0 0x118a 10 goto 14 @ 0x1190 0x1176 11 esi = 1 0x117b 12 ecx = 0 0x117d 13 goto 48 @ 0x11c3 0x1190 14 eax = r9d 0x1193 15 temp2.d:temp3.d = sx.q(eax) 0x1193 16 edx = temp2.d 0x1193 17 eax = temp3.d 0x1194 18 temp4.d = edx 0x1194 19 temp5.d = eax 0x1194 20 temp0.d = divs.dp.d(temp4.d:temp5.d, esi) 0x1194 21 temp6.d = edx 0x1194 22 temp7.d = eax 0x1194 23 temp1.d = mods.dp.d(temp6.d:temp7.d, esi) 0x1194 24 eax = temp0.d 0x1194 25 edx = temp1.d 0x1198 26 al = edx == 0 0x119e 27 dl = esi != 1 0x11a1 28 dl = dl & al 0x11a3 29 eax = zx.d(dl) 0x11a6 30 ecx = ecx + eax 0x11a8 31 edi = (rsi + 1).d 0x11ab 32 eax = r9d 0x11ae 33 temp8.d:temp9.d = sx.q(eax) 0x11ae 34 edx = temp8.d 0x11ae 35 eax = temp9.d 0x11af 36 temp10.d = edx 0x11af 37 temp11.d = eax 0x11af 38 temp0.d = divs.dp.d(temp10.d:temp11.d, edi) 0x11af 39 temp12.d = edx 0x11af 40 temp13.d = eax 0x11af 41 temp1.d = mods.dp.d(temp12.d:temp13.d, edi) 0x11af 42 eax = temp0.d 0x11af 43 edx = temp1.d 0x11b1 44 flag:c = edx u< 1 0x11b4 45 ecx = adc.d(ecx, 0, flag:c) 0x11b7 46 esi = esi + 2 0x11bd 47 if (edi != r8d) then 14 @ 0x1190 else 48 @ 0x11c3 0x11c3 48 if ((r9b & 2) == 0) then 49 @ 0x11dd else 52 @ 0x11c5 0x11dd 49 eax = 0 0x11e1 50 al = ecx != 0 0x11e1 51 goto 2 @ 0x11e4 0x11c5 52 eax = r9d 0x11c8 53 temp14.d:temp15.d = sx.q(eax) 0x11c8 54 edx = temp14.d 0x11c8 55 eax = temp15.d 0x11c9 56 temp16.d = edx 0x11c9 57 temp17.d = eax 0x11c9 58 temp0.d = divs.dp.d(temp16.d:temp17.d, esi) 0x11c9 59 temp18.d = edx 0x11c9 60 temp19.d = eax 0x11c9 61 temp1.d = mods.dp.d(temp18.d:temp19.d, esi) 0x11c9 62 eax = temp0.d 0x11c9 63 edx = temp1.d 0x11cd 64 al = edx == 0 0x11d3 65 dl = esi != 1 0x11d6 66 dl = dl & al 0x11d8 67 eax = zx.d(dl) 0x11db 68 ecx = ecx + eax 0x11db 69 goto 49 @ 0x11dd uint64_t suanweishu(int32_t arg1): 0x11f0 0 eax = 0 0x11f4 1 if (edi == 0) then 2 @ 0x1222 else 3 @ 0x11f6 0x1222 2 <return> jump(pop) 0x11f6 3 goto 4 @ 0x1200 0x1200 4 rcx = sx.q(edi) 0x1203 5 rdi = rcx * 0x66666667 0x120a 6 rdx = rdi 0x120d 7 rdx = rdx u>> 0x3f 0x1211 8 rdi = rdi s>> 0x22 0x1215 9 edi = edi + edx 0x1217 10 eax = eax + 1 0x121a 11 ecx = ecx + 9 0x1220 12 if (ecx u> 0x12) then 4 @ 0x1200 else 2 @ 0x1222 int64_t panduanfanwen(int32_t arg1, int32_t arg2): 0x1230 0 esi = esi - 2 0x1236 1 if (esi u> 3) then 2 @ 0x13d0 else 4 @ 0x123c 0x13d0 2 eax = 1 0x13d5 3 <return> jump(pop) 0x123c 4 rax = 0x2004 {"HrM%d%d"} 0x1243 5 rcx = sx.q([rax + (rsi << 2)].d) 0x1247 6 rcx = rcx + rax 0x124a 7 jump(rcx => 8 @ 0x124c, 19 @ 0x1276, 35 @ 0x12e8, 51 @ 0x1394) 0x124c 8 rax = sx.q(edi) 0x124f 9 rcx = rax * 0x66666667 0x1256 10 rax = rcx 0x1259 11 rax = rax u>> 0x3f 0x125d 12 rcx = rcx s>> 0x22 0x1261 13 ecx = ecx + eax 0x1263 14 eax = (rcx + rcx).d 0x1266 15 eax = (rax + (rax << 2)).d 0x1269 16 edi = edi - eax 0x126b 17 eax = 0 0x126f 18 if (ecx != edi) then 2 @ 0x13d0 else 67 @ 0x1275 0x1276 19 rax = sx.q(edi) 0x1279 20 rcx = rax * 0x66666667 0x1280 21 rdx = rcx 0x1283 22 rdx = rdx u>> 0x3f 0x1287 23 rcx = rcx s>> 0x22 0x128b 24 ecx = ecx + edx 0x128d 25 ecx = ecx + ecx 0x128f 26 ecx = (rcx + (rcx << 2)).d 0x1292 27 edx = edi 0x1294 28 edx = edx - ecx 0x1296 29 rcx = rax * 0x10624dd3 0x129d 30 rsi = rcx 0x12a0 31 rsi = rsi u>> 0x3f 0x12a4 32 rcx = rcx s>> 0x26 0x12a8 33 ecx = ecx + esi 0x12ac 34 if (edx != ecx) then 2 @ 0x13d0 else 68 @ 0x12b2 0x12e8 35 rax = sx.q(edi) 0x12eb 36 rcx = rax * 0x66666667 0x12f2 37 rdx = rcx 0x12f5 38 rdx = rdx u>> 0x3f 0x12f9 39 rcx = rcx s>> 0x22 0x12fd 40 ecx = ecx + edx 0x12ff 41 ecx = ecx + ecx 0x1301 42 ecx = (rcx + (rcx << 2)).d 0x1304 43 edx = eax 0x1306 44 edx = edx - ecx 0x1308 45 rcx = rax * 0x68db8bad 0x130f 46 rsi = rcx 0x1312 47 rsi = rsi u>> 0x3f 0x1316 48 rcx = rcx s>> 0x2c 0x131a 49 ecx = ecx + esi 0x131e 50 if (edx != ecx) then 2 @ 0x13d0 else 84 @ 0x1324 0x1394 51 rax = sx.q(edi) 0x1397 52 rcx = rax * 0x66666667 0x139e 53 rdx = rcx 0x13a1 54 rdx = rdx u>> 0x3f 0x13a5 55 rcx = rcx s>> 0x22 0x13a9 56 ecx = ecx + edx 0x13ab 57 ecx = ecx + ecx 0x13ad 58 ecx = (rcx + (rcx << 2)).d 0x13b0 59 edi = edi - ecx 0x13b2 60 rcx = rax * 0x51eb851f 0x13b9 61 rax = rcx 0x13bc 62 rax = rax u>> 0x3f 0x13c0 63 rcx = rcx s>> 0x25 0x13c4 64 ecx = ecx + eax 0x13c6 65 eax = 0 0x13ca 66 if (edi == ecx) then 67 @ 0x1275 else 2 @ 0x13d0 0x1275 67 <return> jump(pop) 0x12b2 68 rax = rax * 0x51eb851f 0x12b9 69 rcx = rax 0x12bc 70 rcx = rcx u>> 0x3f 0x12c0 71 rax = rax s>> 0x25 0x12c4 72 eax = eax + ecx 0x12c6 73 ecx = eax * 0x64 0x12c9 74 edi = edi - ecx 0x12cb 75 ecx = sx.d(dil) 0x12cf 76 ecx = ecx * 0x67 0x12d2 77 ecx = zx.d(cx) 0x12d5 78 edx = sx.d(cx) 0x12d8 79 ecx = ecx u>> 0xf 0x12db 80 edx = edx u>> 0xa 0x12de 81 dl = dl + cl 0x12e0 82 ecx = sx.d(dl) 0x12e3 83 goto 106 @ 0x136a 0x1324 84 rcx = rax * 0x51eb851f 0x132b 85 rdx = rcx 0x132e 86 rdx = rdx u>> 0x3f 0x1332 87 rcx = rcx u>> 0x25 0x1336 88 ecx = ecx + edx 0x1338 89 ecx = ecx * 0x64 0x133b 90 edx = eax 0x133d 91 edx = edx - ecx 0x133f 92 ecx = sx.d(dl) 0x1342 93 ecx = ecx * 0x67 0x1345 94 ecx = zx.d(cx) 0x1348 95 edx = sx.d(cx) 0x134b 96 ecx = ecx u>> 0xf 0x134e 97 edx = edx u>> 0xa 0x1351 98 dl = dl + cl 0x1353 99 ecx = sx.d(dl) 0x1356 100 rax = rax * 0x10624dd3 0x135d 101 rdx = rax 0x1360 102 rdx = rdx u>> 0x3f 0x1364 103 rax = rax s>> 0x26 0x1368 104 eax = eax + edx 0x1368 105 goto 106 @ 0x136a 0x136a 106 rdx = sx.q(eax) 0x136d 107 rax = rdx * 0x66666667 0x1374 108 rsi = rax 0x1377 109 rsi = rsi u>> 0x3f 0x137b 110 rax = rax s>> 0x22 0x137f 111 eax = eax + esi 0x1381 112 eax = eax + eax 0x1383 113 eax = (rax + (rax << 2)).d 0x1386 114 edx = edx - eax 0x1388 115 eax = 0 0x138c 116 if (edx == ecx) then 67 @ 0x1275 else 117 @ 0x1392 0x1392 117 goto 2 @ 0x13d0 int32_t main(int32_t argc, char** argv, char** envp): 0x13e0 0 push(rbp) 0x13e1 1 push(r15) 0x13e3 2 push(r14) 0x13e5 3 push(rbx) 0x13e6 4 rsp = rsp - 0x1a8 0x13ed 5 rdi = rsp + 0x10 {var_1b8} 0x13f2 6 r15d = 0 0x13f5 7 edx = 0x190 {""} 0x13fa 8 esi = 0 0x13fc 9 call(0x1040) 0x1401 10 rdi = 0x2024 {"%d%d"} 0x1408 11 rsi = rsp + 0xc {var_1bc} 0x140d 12 rdx = rsp + 8 {var_1c0} 0x1412 13 eax = 0 0x1414 14 call(0x1050) 0x1419 15 r10d = [rsp + 0xc {var_1bc}].d 0x141e 16 r9d = [rsp + 8 {var_1c0}].d 0x1426 17 if (r10d s> r9d) then 18 @ 0x172c else 22 @ 0x142c 0x172c 18 rdi = 0x202d {"no"} 0x1733 19 eax = 0 0x1735 20 call(0x1030) 0x1735 21 goto 26 @ 0x173a 0x142c 22 r8 = 0x2014 {"M%d%d"} 0x1433 23 ebx = r10d 0x1436 24 r11d = 0 0x1439 25 goto 33 @ 0x1460 0x173a 26 eax = 0 0x173c 27 rsp = rsp + 0x1a8 0x1743 28 rbx = pop 0x1744 29 r14 = pop 0x1746 30 r15 = pop 0x1748 31 rbp = pop 0x1749 32 <return> jump(pop) 0x1460 33 if (ebx s>= 2) then 34 @ 0x14e0 else 37 @ 0x1464 0x14e0 34 ecx = ebx 0x14e2 35 ecx = ecx u>> 1 0x14e7 36 if (ecx != 1) then 38 @ 0x1500 else 42 @ 0x14e9 0x1464 37 if (ebx == 0) then 45 @ 0x1444 else 51 @ 0x1466 0x1500 38 ecx = ecx & 0xfffffffe 0x1503 39 esi = 1 0x1508 40 edi = 0 0x150a 41 goto 54 @ 0x1510 0x14e9 42 esi = 1 0x14ee 43 edi = 0 0x14f0 44 goto 88 @ 0x153f 0x1444 45 ebx = (r10 + r11).d 0x1448 46 ebx = ebx + 1 0x144b 47 eax = r11d 0x144e 48 eax = eax + 1 0x1451 49 r11d = eax 0x1457 50 if (ebx s> r9d) then 89 @ 0x16cd else 33 @ 0x1460 0x1466 51 eax = 0xffffffff {""} 0x146b 52 ecx = ebx 0x146d 53 goto 91 @ 0x1470 0x1510 54 eax = ebx 0x1512 55 temp2.d:temp3.d = sx.q(eax) 0x1512 56 edx = temp2.d 0x1512 57 eax = temp3.d 0x1513 58 temp4.d = edx 0x1513 59 temp5.d = eax 0x1513 60 temp0.d = divs.dp.d(temp4.d:temp5.d, esi) 0x1513 61 temp6.d = edx 0x1513 62 temp7.d = eax 0x1513 63 temp1.d = mods.dp.d(temp6.d:temp7.d, esi) 0x1513 64 eax = temp0.d 0x1513 65 edx = temp1.d 0x1517 66 al = edx == 0 0x151d 67 dl = esi != 1 0x1520 68 dl = dl & al 0x1522 69 eax = zx.d(dl) 0x1525 70 edi = edi + eax 0x1527 71 ebp = (rsi + 1).d 0x152a 72 eax = ebx 0x152c 73 temp8.d:temp9.d = sx.q(eax) 0x152c 74 edx = temp8.d 0x152c 75 eax = temp9.d 0x152d 76 temp10.d = edx 0x152d 77 temp11.d = eax 0x152d 78 temp0.d = divs.dp.d(temp10.d:temp11.d, ebp) 0x152d 79 temp12.d = edx 0x152d 80 temp13.d = eax 0x152d 81 temp1.d = mods.dp.d(temp12.d:temp13.d, ebp) 0x152d 82 eax = temp0.d 0x152d 83 edx = temp1.d 0x152f 84 flag:c = edx u< 1 0x1532 85 edi = adc.d(edi, 0, flag:c) 0x1535 86 esi = esi + 2 0x153a 87 if (ebp != ecx) then 54 @ 0x1510 else 88 @ 0x153f 0x153f 88 if ((bl & 2) == 0) then 100 @ 0x1442 else 101 @ 0x1545 0x16cd 89 esi = [rsp + 0x10 {var_1b8}].d 0x16d3 90 if (esi == 0) then 18 @ 0x172c else 119 @ 0x16d9 0x1470 91 rdx = sx.q(ecx) 0x1473 92 rcx = rdx * 0x66666667 0x147a 93 rsi = rcx 0x147d 94 rsi = rsi u>> 0x3f 0x1481 95 rcx = rcx s>> 0x22 0x1485 96 ecx = ecx + esi 0x1487 97 edx = edx + 9 0x148a 98 eax = eax + 1 0x1490 99 if (edx u> 0x12) then 91 @ 0x1470 else 120 @ 0x1492 0x1442 100 if (edi == 0) then 51 @ 0x1466 else 45 @ 0x1444 0x1545 101 eax = ebx 0x1547 102 temp14.d:temp15.d = sx.q(eax) 0x1547 103 edx = temp14.d 0x1547 104 eax = temp15.d 0x1548 105 temp16.d = edx 0x1548 106 temp17.d = eax 0x1548 107 temp0.d = divs.dp.d(temp16.d:temp17.d, esi) 0x1548 108 temp18.d = edx 0x1548 109 temp19.d = eax 0x1548 110 temp1.d = mods.dp.d(temp18.d:temp19.d, esi) 0x1548 111 eax = temp0.d 0x1548 112 edx = temp1.d 0x154c 113 al = edx == 0 0x1552 114 cl = esi != 1 0x1555 115 cl = cl & al 0x1557 116 eax = zx.d(cl) 0x155a 117 edi = edi + eax 0x155c 118 goto 100 @ 0x1442 0x16d9 119 if (r15d s< 2) then 122 @ 0x171c else 126 @ 0x16db 0x1492 120 eax = eax - 1 0x1498 121 if (eax u> 3) then 45 @ 0x1444 else 131 @ 0x149a 0x171c 122 rdi = 0x2026 {"%d"} 0x1723 123 eax = 0 0x1725 124 call(0x1030) 0x172a 125 goto 26 @ 0x173a 0x16db 126 r15d = r15d - 1 0x16df 127 rdi = 0x2029 {"%d,"} 0x16e6 128 eax = 0 0x16e8 129 call(0x1030) 0x16f1 130 if (r15d == 1) then 134 @ 0x1717 else 136 @ 0x16f3 0x149a 131 rax = sx.q([r8 + (rax << 2)].d) 0x149e 132 rax = rax + r8 0x14a1 133 jump(rax => 139 @ 0x14a3, 150 @ 0x1561, 166 @ 0x15a2, 182 @ 0x1615) 0x1717 134 esi = [rsp + (r15 << 2) + 0x10].d 0x1717 135 goto 122 @ 0x171c 0x16f3 136 ebx = 1 0x16f8 137 r14 = 0x2029 {"%d,"} 0x16ff 138 goto 198 @ 0x1700 0x14a3 139 rax = sx.q(ebx) 0x14a6 140 rax = rax * 0x66666667 0x14ad 141 rcx = rax 0x14b0 142 rcx = rcx u>> 0x3f 0x14b4 143 rax = rax s>> 0x22 0x14b8 144 eax = eax + ecx 0x14ba 145 ecx = (rax + rax).d 0x14bd 146 ecx = (rcx + (rcx << 2)).d 0x14c0 147 edx = ebx 0x14c2 148 edx = edx - ecx 0x14c6 149 if (eax != edx) then 45 @ 0x1444 else 204 @ 0x14cc 0x1561 150 rax = sx.q(ebx) 0x1564 151 rcx = rax * 0x66666667 0x156b 152 rdx = rcx 0x156e 153 rdx = rdx u>> 0x3f 0x1572 154 rcx = rcx s>> 0x22 0x1576 155 ecx = ecx + edx 0x1578 156 ecx = ecx + ecx 0x157a 157 ecx = (rcx + (rcx << 2)).d 0x157d 158 edx = ebx 0x157f 159 edx = edx - ecx 0x1581 160 rax = rax * 0x51eb851f 0x1588 161 rcx = rax 0x158b 162 rcx = rcx u>> 0x3f 0x158f 163 rax = rax s>> 0x25 0x1593 164 eax = eax + ecx 0x1597 165 if (edx != eax) then 45 @ 0x1444 else 205 @ 0x159d 0x15a2 166 rax = sx.q(ebx) 0x15a5 167 rcx = rax * 0x66666667 0x15ac 168 rdx = rcx 0x15af 169 rdx = rdx u>> 0x3f 0x15b3 170 rcx = rcx s>> 0x22 0x15b7 171 ecx = ecx + edx 0x15b9 172 ecx = ecx + ecx 0x15bb 173 ecx = (rcx + (rcx << 2)).d 0x15be 174 edx = ebx 0x15c0 175 edx = edx - ecx 0x15c2 176 rcx = rax * 0x10624dd3 0x15c9 177 rsi = rcx 0x15cc 178 rsi = rsi u>> 0x3f 0x15d0 179 rcx = rcx s>> 0x26 0x15d4 180 ecx = ecx + esi 0x15d8 181 if (edx != ecx) then 45 @ 0x1444 else 206 @ 0x15de 0x1615 182 rax = sx.q(ebx) 0x1618 183 rcx = rax * 0x66666667 0x161f 184 rdx = rcx 0x1622 185 rdx = rdx u>> 0x3f 0x1626 186 rcx = rcx s>> 0x22 0x162a 187 ecx = ecx + edx 0x162c 188 ecx = ecx + ecx 0x162e 189 ecx = (rcx + (rcx << 2)).d 0x1631 190 edx = ebx 0x1633 191 edx = edx - ecx 0x1635 192 rcx = rax * 0x68db8bad 0x163c 193 rsi = rcx 0x163f 194 rsi = rsi u>> 0x3f 0x1643 195 rcx = rcx s>> 0x2c 0x1647 196 ecx = ecx + esi 0x164b 197 if (edx != ecx) then 45 @ 0x1444 else 223 @ 0x1651 0x1700 198 esi = [rsp + (rbx << 2) + 0x10].d 0x1704 199 rdi = r14 0x1707 200 eax = 0 0x1709 201 call(0x1030) 0x170e 202 rbx = rbx + 1 0x1715 203 if (r15 != rbx) then 198 @ 0x1700 else 134 @ 0x1717 0x14cc 204 goto 245 @ 0x16bc 0x159d 205 goto 245 @ 0x16bc 0x15de 206 rax = rax * 0x51eb851f 0x15e5 207 rcx = rax 0x15e8 208 rcx = rcx u>> 0x3f 0x15ec 209 rax = rax s>> 0x25 0x15f0 210 eax = eax + ecx 0x15f2 211 ecx = eax * 0x64 0x15f5 212 edx = ebx 0x15f7 213 edx = edx - ecx 0x15f9 214 ecx = sx.d(dl) 0x15fc 215 ecx = ecx * 0x67 0x15ff 216 ecx = zx.d(cx) 0x1602 217 edx = sx.d(cx) 0x1605 218 ecx = ecx u>> 0xf 0x1608 219 edx = edx u>> 0xa 0x160b 220 dl = dl + cl 0x160d 221 ecx = sx.d(dl) 0x1610 222 goto 249 @ 0x1697 0x1651 223 rcx = rax * 0x51eb851f 0x1658 224 rdx = rcx 0x165b 225 rdx = rdx u>> 0x3f 0x165f 226 rcx = rcx u>> 0x25 0x1663 227 ecx = ecx + edx 0x1665 228 ecx = ecx * 0x64 0x1668 229 edx = ebx 0x166a 230 edx = edx - ecx 0x166c 231 ecx = sx.d(dl) 0x166f 232 ecx = ecx * 0x67 0x1672 233 ecx = zx.d(cx) 0x1675 234 edx = sx.d(cx) 0x1678 235 ecx = ecx u>> 0xf 0x167b 236 edx = edx u>> 0xa 0x167e 237 dl = dl + cl 0x1680 238 ecx = sx.d(dl) 0x1683 239 rax = rax * 0x10624dd3 0x168a 240 rdx = rax 0x168d 241 rdx = rdx u>> 0x3f 0x1691 242 rax = rax s>> 0x26 0x1695 243 eax = eax + edx 0x1695 244 goto 249 @ 0x1697 0x16bc 245 r15 = sx.q(r15d) 0x16bf 246 [rsp + (r15 << 2) + 0x10].d = ebx 0x16c4 247 r15d = r15d + 1 0x16c8 248 goto 45 @ 0x1444 0x1697 249 rax = sx.q(eax) 0x1699 250 rdx = rax * 0x66666667 0x16a0 251 rsi = rdx 0x16a3 252 rsi = rsi u>> 0x3f 0x16a7 253 rdx = rdx s>> 0x22 0x16ab 254 edx = edx + esi 0x16ad 255 edx = edx + edx 0x16af 256 edx = (rdx + (rdx << 2)).d 0x16b2 257 eax = eax - edx 0x16b6 258 if (eax != ecx) then 45 @ 0x1444 else 245 @ 0x16bc int64_t _fini(): 0x1750 0 rsp = rsp - 8 0x1754 1 rsp = rsp + 8 0x1758 2 <return> jump(pop)
POJ_74
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSPH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 push(rax) 0x116b 7 rdi = 0x2004 {"%d"} 0x1172 8 r14 = 0x4050 {""} 0x1179 9 r13d = 0 0x117c 10 rsi = r14 0x117f 11 eax = 0 0x1181 12 call(0x1050) 0x1186 13 eax = 0 0x1188 14 call(0x1040) 0x118d 15 r12d = 1 0x1193 16 ebp = 1 0x119b 17 if (eax != 0x2c) then 18 @ 0x11d3 else 19 @ 0x119d 0x11d3 18 if (ebp u>= 2) then 23 else 25 @ 0x11db 0x119d 19 rbx = 0x4054 {""} 0x11a4 20 ebp = 1 0x11a9 21 r15 = 0x2004 {"%d"} 0x11a9 22 goto 26 @ 0x11b0 0x11d3 23 r12d = ebp 0x11d3 24 goto 25 @ 0x11db 0x11db 25 if (r12d u>= 8) then 35 @ 0x11e4 else 42 @ 0x11dd 0x11b0 26 rdi = r15 0x11b3 27 rsi = rbx 0x11b6 28 eax = 0 0x11b8 29 call(0x1050) 0x11bd 30 eax = 0 0x11bf 31 call(0x1040) 0x11c4 32 rbx = rbx + 4 0x11c8 33 ebp = ebp + 1 0x11ce 34 if (eax == 0x2c) then 26 @ 0x11b0 else 18 @ 0x11d3 0x11e4 35 eax = r12d 0x11e7 36 eax = eax & 0xfffffff8 0x11ea 37 rdx = rax - 8 0x11ee 38 rcx = rdx 0x11f1 39 rcx = rcx u>> 3 0x11f5 40 rcx = rcx + 1 0x11fc 41 if (rdx == 0) then 44 @ 0x1654 else 48 @ 0x1202 0x11dd 42 eax = 0 0x11df 43 goto 54 @ 0x1327 0x1654 44 xmm0 = 0 0x1658 45 edx = 0 0x165a 46 xmm1 = 0 0x1661 47 if ((cl & 1) != 0) then 59 @ 0x129a else 74 @ 0x1667 0x1202 48 rsi = rcx 0x1205 49 rsi = rsi & 0xfffffffffffffffe 0x1209 50 xmm0 = 0 0x120d 51 edx = 0 0x120f 52 xmm1 = 0 0x121d 53 goto 75 @ 0x1220 0x1327 54 rcx = r14 + (rax << 2) 0x132b 55 rdx = r12 0x132e 56 rdx = rdx - rax 0x1331 57 eax = 0 0x133d 58 goto 103 @ 0x1340 0x129a 59 xmm2 = [r14 + (rdx << 2)].o 0x12a0 60 xmm3 = [r14 + (rdx << 2) + 0x10].o 0x12a7 61 xmm4 = xmm2 0x12ab 62 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0) 0x12af 63 xmm2 = xmm2 & xmm4 0x12b3 64 xmm4 = xmm4 & not.o(xmm0) 0x12b7 65 xmm4 = xmm4 | xmm2 0x12bb 66 xmm2 = xmm3 0x12bf 67 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x12c3 68 xmm3 = xmm3 & xmm2 0x12c7 69 xmm2 = xmm2 & not.o(xmm1) 0x12cb 70 xmm2 = xmm2 | xmm3 0x12cf 71 xmm0 = xmm4 0x12d3 72 xmm1 = xmm2 0x12d3 73 goto 105 @ 0x12d7 0x1667 74 goto 105 @ 0x12d7 0x1220 75 xmm2 = [r14 + (rdx << 2)].o 0x1226 76 xmm3 = [r14 + (rdx << 2) + 0x10].o 0x122d 77 xmm4 = [r14 + (rdx << 2) + 0x20].o 0x1234 78 xmm5 = [r14 + (rdx << 2) + 0x30].o 0x123b 79 xmm6 = xmm2 0x123f 80 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0) 0x1243 81 xmm2 = xmm2 & xmm6 0x1247 82 xmm6 = xmm6 & not.o(xmm0) 0x124b 83 xmm6 = xmm6 | xmm2 0x124f 84 xmm2 = xmm3 0x1253 85 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1257 86 xmm3 = xmm3 & xmm2 0x125b 87 xmm2 = xmm2 & not.o(xmm1) 0x125f 88 xmm2 = xmm2 | xmm3 0x1263 89 xmm0 = xmm4 0x1267 90 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6) 0x126b 91 xmm4 = xmm4 & xmm0 0x126f 92 xmm0 = xmm0 & not.o(xmm6) 0x1273 93 xmm0 = xmm0 | xmm4 0x1277 94 xmm1 = xmm5 0x127b 95 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x127f 96 xmm5 = xmm5 & xmm1 0x1283 97 xmm1 = xmm1 & not.o(xmm2) 0x1287 98 xmm1 = xmm1 | xmm5 0x128b 99 rdx = rdx + 0x10 0x128f 100 temp0.q = rsi 0x128f 101 rsi = rsi - 2 0x1293 102 if (temp0.q != 2) then 75 @ 0x1220 else 124 @ 0x1298 0x1340 103 esi = [rcx + (rax << 2)].d 0x1346 104 if (esi s> r13d) then 125 else 127 @ 0x134a 0x12d7 105 xmm2 = xmm0 0x12db 106 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x12df 107 xmm0 = xmm0 & xmm2 0x12e3 108 xmm2 = xmm2 & not.o(xmm1) 0x12e7 109 xmm2 = xmm2 | xmm0 0x12eb 110 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x12f0 111 xmm1 = xmm2 0x12f4 112 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x12f8 113 xmm2 = xmm2 & xmm1 0x12fc 114 xmm1 = xmm1 & not.o(xmm0) 0x1300 115 xmm1 = xmm1 | xmm2 0x1304 116 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1309 117 xmm2 = xmm1 0x130d 118 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x1311 119 xmm1 = xmm1 & xmm2 0x1315 120 xmm2 = xmm2 & not.o(xmm0) 0x1319 121 xmm2 = xmm2 | xmm1 0x131d 122 r13d = xmm2.d 0x1325 123 if (rax == r12) then 129 @ 0x1357 else 54 @ 0x1327 0x1298 124 if ((cl & 1) == 0) then 105 @ 0x12d7 else 59 @ 0x129a 0x1346 125 r13d = esi 0x1346 126 goto 127 @ 0x134a 0x134a 127 rax = rax + 1 0x1351 128 if (rdx != rax) then 103 @ 0x1340 else 129 @ 0x1357 0x1357 129 if (r12d u>= 8) then 130 @ 0x1360 else 136 @ 0x1359 0x1360 130 eax = r12d 0x1363 131 eax = eax & 0xfffffff8 0x1366 132 xmm0 = r13d 0x136b 133 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x1370 134 ecx = 0 0x1372 135 goto 138 @ 0x138d 0x1359 136 eax = 0 0x135b 137 goto 142 @ 0x149f 0x138d 138 xmm1 = [r14 + (rcx << 2)].o 0x1393 139 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0) 0x1397 140 edx = xmm1.d 0x139e 141 if ((dl & 1) != 0) then 147 @ 0x1400 else 150 @ 0x13a0 0x149f 142 rcx = r14 + (rax << 2) 0x14a3 143 rdx = r12 0x14a6 144 rdx = rdx - rax 0x14a9 145 eax = 0 0x14ab 146 goto 152 @ 0x14bd 0x1400 147 [r14 + (rcx << 2)].d = 0 0x1408 148 edx = _mm_extract_epi16(xmm1, 2) 0x1410 149 if ((dl & 1) == 0) then 153 @ 0x13aa else 155 @ 0x1412 0x13a0 150 edx = _mm_extract_epi16(xmm1, 2) 0x13a8 151 if ((dl & 1) != 0) then 155 @ 0x1412 else 153 @ 0x13aa 0x14bd 152 if ([rcx + (rax << 2)].d != r13d) then 158 @ 0x14b0 else 160 @ 0x14bf 0x13aa 153 edx = _mm_extract_epi16(xmm1, 4) 0x13b2 154 if ((dl & 1) != 0) then 162 @ 0x1425 else 165 @ 0x13b4 0x1412 155 [r14 + (rcx << 2) + 4].d = 0 0x141b 156 edx = _mm_extract_epi16(xmm1, 4) 0x1423 157 if ((dl & 1) == 0) then 165 @ 0x13b4 else 162 @ 0x1425 0x14b0 158 rax = rax + 1 0x14b7 159 if (rdx == rax) then 167 @ 0x1494 else 152 @ 0x14bd 0x14bf 160 [rcx + (rax << 2)].d = 0 0x14c6 161 goto 158 @ 0x14b0 0x1425 162 [r14 + (rcx << 2) + 8].d = 0 0x142e 163 edx = _mm_extract_epi16(xmm1, 6) 0x1436 164 if ((dl & 1) != 0) then 168 @ 0x13be else 170 @ 0x1438 0x13b4 165 edx = _mm_extract_epi16(xmm1, 6) 0x13bc 166 if ((dl & 1) == 0) then 171 @ 0x13c7 else 168 @ 0x13be 0x1494 167 if (r12d u>= 8) then 175 @ 0x14c8 else 182 @ 0x1496 0x13be 168 [r14 + (rcx << 2) + 0xc].d = 0 0x13be 169 goto 171 @ 0x13c7 0x1438 170 goto 171 @ 0x13c7 0x13c7 171 xmm1 = [r14 + (rcx << 2) + 0x10].o 0x13ce 172 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0) 0x13d2 173 edx = xmm1.d 0x13d9 174 if ((dl & 1) != 0) then 185 @ 0x1440 else 188 @ 0x13db 0x14c8 175 eax = r12d 0x14cb 176 eax = eax & 0xfffffff8 0x14ce 177 rdx = rax - 8 0x14d2 178 rcx = rdx 0x14d5 179 rcx = rcx u>> 3 0x14d9 180 rcx = rcx + 1 0x14e0 181 if (rdx == 0) then 190 @ 0x166c else 194 @ 0x14e6 0x1496 182 eax = 0 0x1498 183 esi = 0 0x149a 184 goto 200 @ 0x1606 0x1440 185 [r14 + (rcx << 2) + 0x10].d = 0 0x1449 186 edx = _mm_extract_epi16(xmm1, 2) 0x1451 187 if ((dl & 1) == 0) then 204 @ 0x13e5 else 206 @ 0x1453 0x13db 188 edx = _mm_extract_epi16(xmm1, 2) 0x13e3 189 if ((dl & 1) != 0) then 206 @ 0x1453 else 204 @ 0x13e5 0x166c 190 xmm0 = 0 0x1670 191 edx = 0 0x1672 192 xmm1 = 0 0x1679 193 if ((cl & 1) != 0) then 209 @ 0x157a else 224 @ 0x167f 0x14e6 194 rsi = rcx 0x14e9 195 rsi = rsi & 0xfffffffffffffffe 0x14ed 196 xmm0 = 0 0x14f1 197 edx = 0 0x14f3 198 xmm1 = 0 0x14f7 199 goto 225 @ 0x1500 0x1606 200 rcx = r14 + (rax << 2) 0x160a 201 r12 = r12 - rax 0x160d 202 eax = 0 0x160f 203 goto 253 @ 0x1610 0x13e5 204 edx = _mm_extract_epi16(xmm1, 4) 0x13ed 205 if ((dl & 1) != 0) then 255 @ 0x1466 else 258 @ 0x13ef 0x1453 206 [r14 + (rcx << 2) + 0x14].d = 0 0x145c 207 edx = _mm_extract_epi16(xmm1, 4) 0x1464 208 if ((dl & 1) == 0) then 258 @ 0x13ef else 255 @ 0x1466 0x157a 209 xmm2 = [r14 + (rdx << 2)].o 0x1580 210 xmm3 = [r14 + (rdx << 2) + 0x10].o 0x1587 211 xmm4 = xmm2 0x158b 212 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0) 0x158f 213 xmm2 = xmm2 & xmm4 0x1593 214 xmm4 = xmm4 & not.o(xmm0) 0x1597 215 xmm4 = xmm4 | xmm2 0x159b 216 xmm2 = xmm3 0x159f 217 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x15a3 218 xmm3 = xmm3 & xmm2 0x15a7 219 xmm2 = xmm2 & not.o(xmm1) 0x15ab 220 xmm2 = xmm2 | xmm3 0x15af 221 xmm0 = xmm4 0x15b3 222 xmm1 = xmm2 0x15b3 223 goto 260 @ 0x15b7 0x167f 224 goto 260 @ 0x15b7 0x1500 225 xmm2 = [r14 + (rdx << 2)].o 0x1506 226 xmm3 = [r14 + (rdx << 2) + 0x10].o 0x150d 227 xmm4 = [r14 + (rdx << 2) + 0x20].o 0x1514 228 xmm5 = [r14 + (rdx << 2) + 0x30].o 0x151b 229 xmm6 = xmm2 0x151f 230 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0) 0x1523 231 xmm2 = xmm2 & xmm6 0x1527 232 xmm6 = xmm6 & not.o(xmm0) 0x152b 233 xmm6 = xmm6 | xmm2 0x152f 234 xmm2 = xmm3 0x1533 235 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1537 236 xmm3 = xmm3 & xmm2 0x153b 237 xmm2 = xmm2 & not.o(xmm1) 0x153f 238 xmm2 = xmm2 | xmm3 0x1543 239 xmm0 = xmm4 0x1547 240 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6) 0x154b 241 xmm4 = xmm4 & xmm0 0x154f 242 xmm0 = xmm0 & not.o(xmm6) 0x1553 243 xmm0 = xmm0 | xmm4 0x1557 244 xmm1 = xmm5 0x155b 245 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x155f 246 xmm5 = xmm5 & xmm1 0x1563 247 xmm1 = xmm1 & not.o(xmm2) 0x1567 248 xmm1 = xmm1 | xmm5 0x156b 249 rdx = rdx + 0x10 0x156f 250 temp1.q = rsi 0x156f 251 rsi = rsi - 2 0x1573 252 if (temp1.q != 2) then 225 @ 0x1500 else 279 @ 0x1578 0x1610 253 edx = [rcx + (rax << 2)].d 0x1615 254 if (edx s> esi) then 280 else 282 @ 0x1618 0x1466 255 [r14 + (rcx << 2) + 0x18].d = 0 0x146f 256 edx = _mm_extract_epi16(xmm1, 6) 0x1477 257 if ((dl & 1) == 0) then 284 @ 0x1380 else 286 @ 0x147d 0x13ef 258 edx = _mm_extract_epi16(xmm1, 6) 0x13f7 259 if ((dl & 1) == 0) then 284 @ 0x1380 else 288 @ 0x13f9 0x15b7 260 xmm2 = xmm0 0x15bb 261 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x15bf 262 xmm0 = xmm0 & xmm2 0x15c3 263 xmm2 = xmm2 & not.o(xmm1) 0x15c7 264 xmm2 = xmm2 | xmm0 0x15cb 265 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x15d0 266 xmm1 = xmm2 0x15d4 267 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x15d8 268 xmm2 = xmm2 & xmm1 0x15dc 269 xmm1 = xmm1 & not.o(xmm0) 0x15e0 270 xmm1 = xmm1 | xmm2 0x15e4 271 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x15e9 272 xmm2 = xmm1 0x15ed 273 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x15f1 274 xmm1 = xmm1 & xmm2 0x15f5 275 xmm2 = xmm2 & not.o(xmm0) 0x15f9 276 xmm2 = xmm2 | xmm1 0x15fd 277 esi = xmm2.d 0x1604 278 if (rax == r12) then 289 @ 0x1623 else 200 @ 0x1606 0x1578 279 if ((cl & 1) == 0) then 260 @ 0x15b7 else 209 @ 0x157a 0x1615 280 esi = edx 0x1615 281 goto 282 @ 0x1618 0x1618 282 rax = rax + 1 0x161f 283 if (r12 != rax) then 253 @ 0x1610 else 289 @ 0x1623 0x1380 284 rcx = rcx + 8 0x1387 285 if (rax == rcx) then 290 @ 0x148e else 138 @ 0x138d 0x147d 286 [r14 + (rcx << 2) + 0x1c].d = 0 0x1486 287 goto 284 @ 0x1380 0x13f9 288 goto 286 @ 0x147d 0x1623 289 if (esi == 0) then 291 @ 0x1635 else 295 @ 0x1625 0x148e 290 if (rax != r12) then 142 @ 0x149f else 167 @ 0x1494 0x1635 291 rdi = 0x2007 {"No"} 0x163c 292 eax = 0 0x163e 293 call(0x1030) 0x163e 294 goto 299 @ 0x1643 0x1625 295 rdi = 0x2004 {"%d"} 0x162c 296 eax = 0 0x162e 297 call(0x1030) 0x1633 298 goto 299 @ 0x1643 0x1643 299 eax = 0 0x1645 300 rsp = rsp + 8 0x1649 301 rbx = pop 0x164a 302 r12 = pop 0x164c 303 r13 = pop 0x164e 304 r14 = pop 0x1650 305 r15 = pop 0x1652 306 rbp = pop 0x1653 307 <return> jump(pop) int64_t _fini(): 0x1688 0 rsp = rsp - 8 0x168c 1 rsp = rsp + 8 0x1690 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 = 0x11c0 {"UHH0E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) uint64_t fbnq(int32_t arg1): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x10 0x1158 3 [rbp - 8 {var_10}].d = edi 0x115f 4 if ([rbp - 8 {var_10}].d != 0) then 5 @ 0x1175 else 6 @ 0x1165 0x1175 5 if ([rbp - 8 {var_10}].d != 1) then 8 @ 0x1187 else 20 @ 0x117b 0x1165 6 [rbp - 4 {var_c}].d = 0 0x116c 7 goto 22 @ 0x11aa 0x1187 8 edi = [rbp - 8 {var_10}].d 0x118a 9 edi = edi - 1 0x118d 10 call(0x1150) 0x1192 11 [rbp - 0xc {var_14_1}].d = eax 0x1195 12 edi = [rbp - 8 {var_10}].d 0x1198 13 edi = edi - 2 0x119b 14 call(0x1150) 0x11a0 15 ecx = eax 0x11a2 16 eax = [rbp - 0xc {var_14_1}].d 0x11a5 17 eax = eax + ecx 0x11a7 18 [rbp - 4 {var_c}].d = eax 0x11a7 19 goto 22 @ 0x11aa 0x117b 20 [rbp - 4 {var_c}].d = 1 0x1182 21 goto 22 @ 0x11aa 0x11aa 22 eax = [rbp - 4 {var_c}].d 0x11ad 23 rsp = rsp + 0x10 0x11b1 24 rbp = pop 0x11b2 25 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x11c0 0 push(rbp) 0x11c1 1 rbp = rsp {__saved_rbp} 0x11c4 2 rsp = rsp - 0x30 0x11c8 3 [rbp - 4 {var_c}].d = 0 0x11cf 4 rdi = 0x2004 {"%d"} 0x11d6 5 rsi = rbp - 8 {var_10} 0x11da 6 al = 0 0x11dc 7 call(0x1040) 0x11e1 8 [rbp - 0x14 {var_1c}].d = 0 0x11e1 9 goto 10 @ 0x11e8 0x11e8 10 eax = [rbp - 0x14 {var_1c}].d 0x11ee 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x1286 else 16 @ 0x11f4 0x1286 12 eax = 0 0x1288 13 rsp = rsp + 0x30 0x128c 14 rbp = pop 0x128d 15 <return> jump(pop) 0x11f4 16 rdi = 0x2004 {"%d"} 0x11fb 17 rsi = rbp - 0xc {var_14} 0x11ff 18 al = 0 0x1201 19 call(0x1040) 0x1206 20 xmm0 = 0 0x1209 21 [rbp - 0x20 {var_28_1}].q = xmm0.q 0x120e 22 [rbp - 0x10 {var_18_1}].d = 1 0x120e 23 goto 24 @ 0x1215 0x1215 24 eax = [rbp - 0x10 {var_18_1}].d 0x121b 25 if (eax s> [rbp - 0xc {var_14}].d) then 26 @ 0x1265 else 34 @ 0x1221 0x1265 26 xmm0 = zx.o([rbp - 0x20 {var_28_1}].q) 0x126a 27 rdi = 0x2007 {"%.3lf\n"} 0x1271 28 al = 1 0x1273 29 call(0x1030) 0x1278 30 eax = [rbp - 0x14 {var_1c}].d 0x127b 31 eax = eax + 1 0x127e 32 [rbp - 0x14 {var_1c}].d = eax 0x1281 33 goto 10 @ 0x11e8 0x1221 34 edi = [rbp - 0x10 {var_18_1}].d 0x1224 35 edi = edi + 2 0x1227 36 call(0x1150) 0x122c 37 xmm0.q = float.d(eax) 0x1230 38 [rbp - 0x28 {var_30_1}].q = xmm0.q 0x1235 39 edi = [rbp - 0x10 {var_18_1}].d 0x1238 40 edi = edi + 1 0x123b 41 call(0x1150) 0x1240 42 xmm0 = zx.o([rbp - 0x28 {var_30_1}].q) 0x1245 43 xmm1.q = float.d(eax) 0x1249 44 xmm0.q = xmm0.q f/ xmm1.q 0x124d 45 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x20 {var_28_1}].q) 0x1252 46 [rbp - 0x20 {var_28_1}].q = xmm0.q 0x1257 47 eax = [rbp - 0x10 {var_18_1}].d 0x125a 48 eax = eax + 1 0x125d 49 [rbp - 0x10 {var_18_1}].d = eax 0x1260 50 goto 24 @ 0x1215 int64_t _fini(): 0x1294 0 rsp = rsp - 8 0x1298 1 rsp = rsp + 8 0x129c 2 <return> jump(pop)
POJ_29
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) char* gets(char* buf): 0x1060 0 <return> tailcall([0x4030].q) int32_t 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 {"AWAVATSHF"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(r15) 0x1182 1 push(r14) 0x1184 2 push(r12) 0x1186 3 push(rbx) 0x1187 4 rsp = rsp - 0xf46f8 0x118e 5 rdi = rsp {var_f4718} 0x1191 6 r12d = 0 0x1194 7 edx = 0x4b0 {"U"} 0x1199 8 esi = 0 0x119b 9 call(0x1040) 0x11a0 10 r14 = rsp + 0x4b0 {var_f4268} 0x11a8 11 rdi = r14 {var_f4268} 0x11ab 12 eax = 0 0x11ad 13 call(0x1060) 0x11b2 14 rdi = r14 {var_f4268} 0x11b5 15 call(0x1050) 0x11bc 16 if (eax s<= 0) then 17 @ 0x11fb else 18 @ 0x11be 0x11fb 17 if (r12d s< 0) then 22 @ 0x1237 else 28 @ 0x11fd 0x11be 18 eax = eax 0x11c0 19 ecx = 0 0x11c2 20 r12d = 0 0x11c5 21 goto 33 @ 0x11e0 0x1237 22 rsp = rsp + 0xf46f8 0x123e 23 rbx = pop 0x123f 24 r12 = pop 0x1241 25 r14 = pop 0x1243 26 r15 = pop 0x1245 27 <return> jump(pop) 0x11fd 28 r15d = r12d 0x1200 29 r12d = r12d + 1 0x1204 30 r14 = 0x2004 {"%d"} 0x120b 31 ebx = 0 0x120d 32 goto 37 @ 0x1219 0x11e0 33 cond:0 = [rsp + rcx + 0x4b0].b == 0x20 0x11e8 34 rsi = sx.q(r12d) 0x11eb 35 edx = [rsp + (rsi << 2)].d 0x11ee 36 if (cond:0) then 42 @ 0x11d0 else 45 @ 0x11f0 0x1219 37 esi = [rsp + (rbx << 2)].d 0x121c 38 rdi = r14 0x121f 39 eax = 0 0x1221 40 call(0x1030) 0x1229 41 if (r15 == rbx) then 48 @ 0x1210 else 50 @ 0x122b 0x11d0 42 flag:c = edx u< 1 0x11d3 43 r12d = sbb.d(r12d, -1, flag:c) 0x11d3 44 goto 53 @ 0x11d7 0x11f0 45 edx = edx + 1 0x11f3 46 [rsp + (rsi << 2)].d = edx 0x11f6 47 goto 53 @ 0x11d7 0x1210 48 rbx = rbx + 1 0x1217 49 if (r12 == rbx) then 22 @ 0x1237 else 37 @ 0x1219 0x122b 50 edi = 0x2c {""} 0x1230 51 call(0x1070) 0x1235 52 goto 48 @ 0x1210 0x11d7 53 rcx = rcx + 1 0x11de 54 if (rax == rcx) then 17 @ 0x11fb else 33 @ 0x11e0 int64_t _fini(): 0x124c 0 rsp = rsp - 8 0x1250 1 rsp = rsp + 8 0x1254 2 <return> jump(pop)
POJ_28
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHHP"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x150 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rdi = 0x2004 {"%d,%d"} 0x1169 5 rsi = rbp - 0x114 {var_11c} 0x1170 6 rdx = rbp - 0x118 {var_120} 0x1177 7 al = 0 0x1179 8 call(0x1040) 0x117e 9 [rbp - 0x11c {var_124}].d = 0 0x117e 10 goto 11 @ 0x1188 0x1188 11 eax = [rbp - 0x11c {var_124}].d 0x1194 12 if (eax s>= [rbp - 0x114 {var_11c}].d) then 13 @ 0x1214 else 15 @ 0x119a 0x1214 13 [rbp - 0x130 {var_138}].d = 0 0x1214 14 goto 17 @ 0x121e 0x119a 15 [rbp - 0x120 {var_128_1}].d = 0 0x119a 16 goto 19 @ 0x11a4 0x121e 17 eax = [rbp - 0x130 {var_138}].d 0x122a 18 if (eax s>= [rbp - 0x114 {var_11c}].d) then 21 @ 0x13fe else 22 @ 0x1230 0x11a4 19 eax = [rbp - 0x120 {var_128_1}].d 0x11b0 20 if (eax s>= [rbp - 0x118 {var_120}].d) then 24 @ 0x11fb else 25 @ 0x11b6 0x13fe 21 if ([rbp - 0x12c {var_134}].d != 1) then 39 @ 0x1423 else 43 @ 0x1404 0x1230 22 [rbp - 0x134 {var_13c_1}].d = 0 0x1230 23 goto 49 @ 0x123a 0x11fb 24 goto 51 @ 0x1200 0x11b6 25 rax = sx.q([rbp - 0x11c {var_124}].d) 0x11bd 26 rsi = rbp - 0x110 {var_118} 0x11c4 27 rax = rax << 5 0x11c8 28 rsi = rsi + rax 0x11cb 29 rax = sx.q([rbp - 0x120 {var_128_1}].d) 0x11d2 30 rax = rax << 2 0x11d6 31 rsi = rsi + rax 0x11d9 32 rdi = 0x200d {"%d"} 0x11e0 33 al = 0 0x11e2 34 call(0x1040) 0x11e7 35 eax = [rbp - 0x120 {var_128_1}].d 0x11ed 36 eax = eax + 1 0x11f0 37 [rbp - 0x120 {var_128_1}].d = eax 0x11f6 38 goto 19 @ 0x11a4 0x1423 39 rdi = 0x2010 {"No"} 0x142a 40 al = 0 0x142c 41 call(0x1030) 0x142c 42 goto 55 @ 0x1431 0x1404 43 esi = [rbp - 0x124 {var_12c}].d 0x140a 44 edx = [rbp - 0x128 {var_130}].d 0x1410 45 rdi = 0x200a {"%d+%d"} 0x1417 46 al = 0 0x1419 47 call(0x1030) 0x141e 48 goto 55 @ 0x1431 0x123a 49 eax = [rbp - 0x134 {var_13c_1}].d 0x1246 50 if (eax s>= [rbp - 0x118 {var_120}].d) then 59 @ 0x13de else 60 @ 0x124c 0x1200 51 eax = [rbp - 0x11c {var_124}].d 0x1206 52 eax = eax + 1 0x1209 53 [rbp - 0x11c {var_124}].d = eax 0x120f 54 goto 11 @ 0x1188 0x1431 55 eax = 0 0x1433 56 rsp = rsp + 0x150 0x143a 57 rbp = pop 0x143b 58 <return> jump(pop) 0x13de 59 goto 63 @ 0x13e3 0x124c 60 [rbp - 0x13c {var_144_1}].d = 0 0x1256 61 [rbp - 0x138 {var_140_1}].d = 0 0x1256 62 goto 67 @ 0x1260 0x13e3 63 eax = [rbp - 0x130 {var_138}].d 0x13e9 64 eax = eax + 1 0x13ec 65 [rbp - 0x130 {var_138}].d = eax 0x13f2 66 goto 17 @ 0x121e 0x1260 67 eax = [rbp - 0x138 {var_140_1}].d 0x126c 68 if (eax s>= [rbp - 0x118 {var_120}].d) then 69 @ 0x12de else 73 @ 0x1272 0x12de 69 eax = [rbp - 0x13c {var_144_1}].d 0x12e4 70 ecx = [rbp - 0x118 {var_120}].d 0x12ea 71 ecx = ecx - 1 0x12ef 72 if (eax != ecx) then 85 @ 0x13c5 else 86 @ 0x12f5 0x1272 73 rcx = sx.q([rbp - 0x130 {var_138}].d) 0x1279 74 rax = rbp - 0x110 {var_118} 0x1280 75 rcx = rcx << 5 0x1284 76 rax = rax + rcx 0x1287 77 rcx = sx.q([rbp - 0x134 {var_13c_1}].d) 0x128e 78 eax = [rax + (rcx << 2)].d 0x1291 79 rdx = sx.q([rbp - 0x130 {var_138}].d) 0x1298 80 rcx = rbp - 0x110 {var_118} 0x129f 81 rdx = rdx << 5 0x12a3 82 rcx = rcx + rdx 0x12a6 83 rdx = sx.q([rbp - 0x138 {var_140_1}].d) 0x12b0 84 if (eax s<= [rcx + (rdx << 2)].d) then 89 @ 0x12c5 else 90 @ 0x12b6 0x13c5 85 goto 94 @ 0x13ca 0x12f5 86 [rbp - 0x144 {var_14c_1}].d = 0 0x12ff 87 [rbp - 0x140 {var_148_1}].d = 0 0x12ff 88 goto 98 @ 0x1309 0x12c5 89 goto 100 @ 0x12ca 0x12b6 90 eax = [rbp - 0x13c {var_144_1}].d 0x12bc 91 eax = eax + 1 0x12bf 92 [rbp - 0x13c {var_144_1}].d = eax 0x12bf 93 goto 89 @ 0x12c5 0x13ca 94 eax = [rbp - 0x134 {var_13c_1}].d 0x13d0 95 eax = eax + 1 0x13d3 96 [rbp - 0x134 {var_13c_1}].d = eax 0x13d9 97 goto 49 @ 0x123a 0x1309 98 eax = [rbp - 0x140 {var_148_1}].d 0x1315 99 if (eax s>= [rbp - 0x114 {var_11c}].d) then 104 @ 0x1387 else 108 @ 0x131b 0x12ca 100 eax = [rbp - 0x138 {var_140_1}].d 0x12d0 101 eax = eax + 1 0x12d3 102 [rbp - 0x138 {var_140_1}].d = eax 0x12d9 103 goto 67 @ 0x1260 0x1387 104 eax = [rbp - 0x144 {var_14c_1}].d 0x138d 105 ecx = [rbp - 0x114 {var_11c}].d 0x1393 106 ecx = ecx - 1 0x1398 107 if (eax != ecx) then 120 @ 0x13c0 else 121 @ 0x139e 0x131b 108 rcx = sx.q([rbp - 0x130 {var_138}].d) 0x1322 109 rax = rbp - 0x110 {var_118} 0x1329 110 rcx = rcx << 5 0x132d 111 rax = rax + rcx 0x1330 112 rcx = sx.q([rbp - 0x134 {var_13c_1}].d) 0x1337 113 eax = [rax + (rcx << 2)].d 0x133a 114 rdx = sx.q([rbp - 0x140 {var_148_1}].d) 0x1341 115 rcx = rbp - 0x110 {var_118} 0x1348 116 rdx = rdx << 5 0x134c 117 rcx = rcx + rdx 0x134f 118 rdx = sx.q([rbp - 0x134 {var_13c_1}].d) 0x1359 119 if (eax s>= [rcx + (rdx << 2)].d) then 127 @ 0x136e else 128 @ 0x135f 0x13c0 120 goto 85 @ 0x13c5 0x139e 121 eax = [rbp - 0x130 {var_138}].d 0x13a4 122 [rbp - 0x124 {var_12c}].d = eax 0x13aa 123 eax = [rbp - 0x134 {var_13c_1}].d 0x13b0 124 [rbp - 0x128 {var_130}].d = eax 0x13b6 125 [rbp - 0x12c {var_134}].d = 1 0x13b6 126 goto 120 @ 0x13c0 0x136e 127 goto 132 @ 0x1373 0x135f 128 eax = [rbp - 0x144 {var_14c_1}].d 0x1365 129 eax = eax + 1 0x1368 130 [rbp - 0x144 {var_14c_1}].d = eax 0x1368 131 goto 127 @ 0x136e 0x1373 132 eax = [rbp - 0x140 {var_148_1}].d 0x1379 133 eax = eax + 1 0x137c 134 [rbp - 0x140 {var_148_1}].d = eax 0x1382 135 goto 98 @ 0x1309 int64_t _fini(): 0x1440 0 rsp = rsp - 8 0x1444 1 rsp = rsp + 8 0x1448 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 = 0x1210 {"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 changeline(int64_t arg1, int32_t arg2, int32_t arg3): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 [rbp - 0x10 {var_18}].q = rdi 0x1158 3 [rbp - 0x14 {var_1c}].d = esi 0x115b 4 [rbp - 0x18 {var_20}].d = edx 0x1162 5 if ([rbp - 0x14 {var_1c}].d s> 4) then 6 @ 0x11fb else 8 @ 0x116c 0x11fb 6 [rbp - 4 {var_c}].d = 0 0x11fb 7 goto 9 @ 0x1202 0x116c 8 if ([rbp - 0x18 {var_20}].d s> 4) then 6 @ 0x11fb else 12 @ 0x1172 0x1202 9 eax = [rbp - 4 {var_c}].d 0x1205 10 rbp = pop 0x1206 11 <return> jump(pop) 0x1172 12 [rbp - 0x1c {var_24_1}].d = 0 0x1172 13 goto 14 @ 0x117d 0x117d 14 if ([rbp - 0x1c {var_24_1}].d s>= 5) then 15 @ 0x11ef else 17 @ 0x1183 0x11ef 15 [rbp - 4 {var_c}].d = 1 0x11f6 16 goto 9 @ 0x1202 0x1183 17 rax = [rbp - 0x10 {var_18}].q 0x1187 18 rcx = sx.q([rbp - 0x18 {var_20}].d) 0x118b 19 rcx = rcx * 0x14 0x118f 20 rax = rax + rcx 0x1192 21 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x1196 22 eax = [rax + (rcx << 2)].d 0x1199 23 [rbp - 0x20 {var_28_1}].d = eax 0x119c 24 rax = [rbp - 0x10 {var_18}].q 0x11a0 25 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x11a4 26 rcx = rcx * 0x14 0x11a8 27 rax = rax + rcx 0x11ab 28 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x11af 29 edx = [rax + (rcx << 2)].d 0x11b2 30 rax = [rbp - 0x10 {var_18}].q 0x11b6 31 rcx = sx.q([rbp - 0x18 {var_20}].d) 0x11ba 32 rcx = rcx * 0x14 0x11be 33 rax = rax + rcx 0x11c1 34 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x11c5 35 [rax + (rcx << 2)].d = edx 0x11c8 36 edx = [rbp - 0x20 {var_28_1}].d 0x11cb 37 rax = [rbp - 0x10 {var_18}].q 0x11cf 38 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x11d3 39 rcx = rcx * 0x14 0x11d7 40 rax = rax + rcx 0x11da 41 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x11de 42 [rax + (rcx << 2)].d = edx 0x11e1 43 eax = [rbp - 0x1c {var_24_1}].d 0x11e4 44 eax = eax + 1 0x11e7 45 [rbp - 0x1c {var_24_1}].d = eax 0x11ea 46 goto 14 @ 0x117d int32_t main(int32_t argc, char** argv, char** envp): 0x1210 0 push(rbp) 0x1211 1 rbp = rsp {__saved_rbp} 0x1214 2 rsp = rsp - 0x80 0x121b 3 [rbp - 0x74 {var_7c}].d = 0 0x121b 4 goto 5 @ 0x1226 0x1226 5 if ([rbp - 0x74 {var_7c}].d s>= 5) then 6 @ 0x1286 else 16 @ 0x122c 0x1286 6 rdi = 0x2004 {"%d %d"} 0x128d 7 rsi = rbp - 0x80 {var_88} 0x1291 8 rdx = rbp - 0x7c {var_84} 0x1295 9 al = 0 0x1297 10 call(0x1040) 0x129c 11 rdi = rbp - 0x70 {var_78} 0x12a0 12 esi = [rbp - 0x7c {var_84}].d 0x12a3 13 edx = [rbp - 0x80 {var_88}].d 0x12a6 14 call(0x1150) 0x12ae 15 if (eax == 0) then 18 @ 0x1350 else 22 @ 0x12b4 0x122c 16 [rbp - 0x78 {var_80_1}].d = 0 0x122c 17 goto 24 @ 0x1237 0x1350 18 rdi = 0x200c {"error\n"} 0x1357 19 al = 0 0x1359 20 call(0x1030) 0x1359 21 goto 25 @ 0x135e 0x12b4 22 [rbp - 0x74 {var_7c_1}].d = 0 0x12b4 23 goto 28 @ 0x12bf 0x1237 24 if ([rbp - 0x78 {var_80_1}].d s>= 5) then 29 @ 0x1273 else 30 @ 0x123d 0x135e 25 rsp = rsp + 0x80 0x1365 26 rbp = pop 0x1366 27 <return> jump(pop) 0x12bf 28 if ([rbp - 0x74 {var_7c_1}].d s>= 5) then 44 @ 0x134b else 45 @ 0x12c5 0x1273 29 goto 47 @ 0x1278 0x123d 30 rax = sx.q([rbp - 0x74 {var_7c}].d) 0x1241 31 rsi = rbp - 0x70 {var_78} 0x1245 32 rax = rax * 0x14 0x1249 33 rsi = rsi + rax 0x124c 34 rax = sx.q([rbp - 0x78 {var_80_1}].d) 0x1250 35 rax = rax << 2 0x1254 36 rsi = rsi + rax 0x1257 37 rdi = 0x2007 {"%d"} 0x125e 38 al = 0 0x1260 39 call(0x1040) 0x1265 40 eax = [rbp - 0x78 {var_80_1}].d 0x1268 41 eax = eax + 1 0x126b 42 [rbp - 0x78 {var_80_1}].d = eax 0x126e 43 goto 24 @ 0x1237 0x134b 44 goto 25 @ 0x135e 0x12c5 45 [rbp - 0x78 {var_80_2}].d = 0 0x12c5 46 goto 51 @ 0x12d0 0x1278 47 eax = [rbp - 0x74 {var_7c}].d 0x127b 48 eax = eax + 1 0x127e 49 [rbp - 0x74 {var_7c}].d = eax 0x1281 50 goto 5 @ 0x1226 0x12d0 51 if ([rbp - 0x78 {var_80_2}].d s>= 5) then 52 @ 0x1338 else 53 @ 0x12d6 0x1338 52 goto 63 @ 0x133d 0x12d6 53 rcx = sx.q([rbp - 0x74 {var_7c_1}].d) 0x12da 54 rax = rbp - 0x70 {var_78} 0x12de 55 rcx = rcx * 0x14 0x12e2 56 rax = rax + rcx 0x12e5 57 rcx = sx.q([rbp - 0x78 {var_80_2}].d) 0x12e9 58 esi = [rax + (rcx << 2)].d 0x12ec 59 rdi = 0x2007 {"%d"} 0x12f3 60 al = 0 0x12f5 61 call(0x1030) 0x12fe 62 if ([rbp - 0x78 {var_80_2}].d == 4) then 67 @ 0x1317 else 71 @ 0x1304 0x133d 63 eax = [rbp - 0x74 {var_7c_1}].d 0x1340 64 eax = eax + 1 0x1343 65 [rbp - 0x74 {var_7c_1}].d = eax 0x1346 66 goto 28 @ 0x12bf 0x1317 67 rdi = 0x2011 {"\n"} 0x131e 68 al = 0 0x1320 69 call(0x1030) 0x1320 70 goto 75 @ 0x1325 0x1304 71 rdi = 0x200a {" "} 0x130b 72 al = 0 0x130d 73 call(0x1030) 0x1312 74 goto 75 @ 0x1325 0x1325 75 goto 76 @ 0x132a 0x132a 76 eax = [rbp - 0x78 {var_80_2}].d 0x132d 77 eax = eax + 1 0x1330 78 [rbp - 0x78 {var_80_2}].d = eax 0x1333 79 goto 51 @ 0x12d0 int64_t _fini(): 0x136c 0 rsp = rsp - 8 0x1370 1 rsp = rsp + 8 0x1374 2 <return> jump(pop)
POJ_81
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) double cos(double arg1): 0x1060 0 <return> tailcall([0x4030].q) int32_t puts(char const* str): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"HXH="} 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 rsp = rsp - 0x58 0x1184 1 rdi = 0x2020 {"%lf%lf%lf%lf%lf"} 0x118b 2 rsi = rsp + 0x50 {var_8} 0x1190 3 rdx = rsp + 0x48 {var_10} 0x1195 4 rcx = rsp + 0x40 {var_18} 0x119a 5 r8 = rsp + 0x38 {var_20} 0x119f 6 r9 = rsp {var_58} 0x11a2 7 eax = 0 0x11a4 8 call(0x1040) 0x11a9 9 xmm0 = zx.o([rsp + 0x50 {var_8}].q) 0x11af 10 xmm1 = zx.o([rsp + 0x48 {var_10}].q) 0x11b5 11 xmm5 = xmm0 0x11b9 12 xmm2 = xmm0 0x11bd 13 [rsp + 0x30 {var_28}].q = xmm0.q 0x11c3 14 xmm5.q = xmm5.q f+ xmm1.q 0x11c7 15 xmm3 = xmm1 0x11cb 16 [rsp + 0x28 {var_30}].q = xmm1.q 0x11d1 17 xmm0 = zx.o([rsp + 0x40 {var_18}].q) 0x11d7 18 xmm5.q = xmm5.q f+ xmm0.q 0x11db 19 xmm4 = xmm0 0x11df 20 [rsp + 0x20 {var_38}].q = xmm0.q 0x11e5 21 xmm0 = zx.o([rsp + 0x38 {var_20}].q) 0x11eb 22 xmm5.q = xmm5.q f+ xmm0.q 0x11ef 23 xmm6 = xmm0 0x11f3 24 [rsp + 0x18 {var_40}].q = xmm0.q 0x11f9 25 xmm5.q = xmm5.q f* fconvert.t([0x2008].q) 0x1201 26 xmm0 = xmm5 0x1205 27 xmm0.q = xmm0.q f- xmm2.q 0x1209 28 xmm1 = xmm5 0x120d 29 xmm1.q = xmm1.q f- xmm3.q 0x1211 30 xmm1.q = xmm1.q f* xmm0.q 0x1215 31 xmm0 = xmm5 0x1219 32 xmm0.q = xmm0.q f- xmm4.q 0x121d 33 xmm0.q = xmm0.q f* xmm1.q 0x1221 34 xmm5.q = xmm5.q f- xmm6.q 0x1225 35 xmm5.q = xmm5.q f* xmm0.q 0x1229 36 [rsp + 0x10 {var_48}].q = xmm5.q 0x122f 37 xmm0 = zx.o([rsp {var_58}].q) 0x1234 38 xmm0.q = xmm0.q f/ fconvert.t([0x2010].q) 0x123c 39 xmm0.q = xmm0.q f* fconvert.t([0x2018].q) 0x1244 40 call(0x1060) 0x1249 41 [rsp + 8 {var_50}].q = xmm0.q 0x124f 42 xmm0 = zx.o([rsp {var_58}].q) 0x1254 43 xmm0.q = xmm0.q f/ fconvert.t([0x2010].q) 0x125c 44 xmm0.q = xmm0.q f* fconvert.t([0x2018].q) 0x1264 45 call(0x1060) 0x1269 46 xmm1 = zx.o([rsp + 0x10 {var_48}].q) 0x126f 47 xmm2 = zx.o([rsp + 0x28 {var_30}].q) 0x1275 48 xmm2.q = xmm2.q f* fconvert.t([rsp + 0x30 {var_28}].q) 0x127b 49 xmm2.q = xmm2.q f* fconvert.t([rsp + 0x20 {var_38}].q) 0x1281 50 xmm2.q = xmm2.q f* fconvert.t([rsp + 0x18 {var_40}].q) 0x1287 51 xmm2.q = xmm2.q f* fconvert.t([rsp + 8 {var_50}].q) 0x128d 52 xmm2.q = xmm2.q f* xmm0.q 0x1291 53 xmm1.q = xmm1.q f- xmm2.q 0x1295 54 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1299 55 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1299 56 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1299 57 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1299 58 flag:s = 0 0x1299 59 flag:o = 0 0x1299 60 flag:a = 0 0x129d 61 if (flag:z || flag:c) then 62 @ 0x12ad else 69 @ 0x129f 0x12ad 62 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x12ad 63 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x12ad 64 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x12ad 65 flag:s = 0 0x12ad 66 flag:o = 0 0x12ad 67 flag:a = 0 0x12b1 68 if (flag:c) then 72 @ 0x12dd else 75 @ 0x12b3 0x129f 69 rdi = 0x2036 {"Invalid input"} 0x12a6 70 call(0x1070) 0x12ab 71 goto 72 @ 0x12dd 0x12dd 72 eax = 0 0x12df 73 rsp = rsp + 0x58 0x12e3 74 <return> jump(pop) 0x12b3 75 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x12b7 76 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x12b7 77 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x12b7 78 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x12b7 79 flag:s = 0 0x12b7 80 flag:o = 0 0x12b7 81 flag:a = 0 0x12bb 82 if (flag:c) then 83 @ 0x12c6 else 86 @ 0x12bd 0x12c6 83 xmm0 = xmm1 0x12ca 84 call(0x1050) 0x12ca 85 goto 89 @ 0x12cf 0x12bd 86 xmm0 = 0 0x12c0 87 xmm0 = _mm_sqrt_sd(xmm1.q) 0x12c4 88 goto 89 @ 0x12cf 0x12cf 89 rdi = 0x2030 {"%.4lf"} 0x12d6 90 al = 1 0x12d8 91 call(0x1030) 0x12d8 92 goto 72 @ 0x12dd int64_t _fini(): 0x12e8 0 rsp = rsp - 8 0x12ec 1 rsp = rsp + 8 0x12f0 2 <return> jump(pop)
POJ_40
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 {"SHH= "} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0x10 0x1155 2 rdi = 0x207c {"%d%d%d"} 0x115c 3 rsi = rsp + 0xc {var_c} 0x1161 4 rdx = rsp + 8 {var_10} 0x1166 5 rcx = rsp + 4 {var_14} 0x116b 6 eax = 0 0x116d 7 call(0x1040) 0x1172 8 rax = sx.q([rsp + 0xc {var_c}].d) 0x1177 9 rcx = rax * -0x6db6db6d 0x117e 10 rcx = rcx u>> 0x20 0x1182 11 ecx = ecx + eax 0x1184 12 edx = ecx 0x1186 13 edx = edx u>> 0x1f 0x1189 14 ecx = ecx s>> 2 0x118c 15 ecx = ecx + edx 0x118e 16 edx = (rcx << 3).d 0x1195 17 ecx = ecx - edx 0x1197 18 ecx = ecx + eax 0x1199 19 edx = (rax + 3).d 0x119e 20 if (eax s>= 0) then 21 else 23 @ 0x11a1 0x119e 21 edx = eax 0x119e 22 goto 23 @ 0x11a1 0x11a1 23 edx = edx s>> 2 0x11a4 24 edx = edx + ecx 0x11a6 25 rdi = rax * -0x51eb851f 0x11ad 26 rcx = rdi 0x11b0 27 rcx = rcx u>> 0x3f 0x11b4 28 rdi = rdi s>> 0x25 0x11b8 29 edi = edi + ecx 0x11ba 30 edi = edi + edx 0x11bc 31 rbx = rax * 0x51eb851f 0x11c3 32 rcx = rbx 0x11c6 33 rcx = rcx u>> 0x3f 0x11ca 34 rbx = rbx s>> 0x27 0x11ce 35 ebx = ebx + ecx 0x11d0 36 edi = edi + ebx 0x11d2 37 r9d = [rsp + 8 {var_10}].d 0x11db 38 if (r9d s< 2) then 39 @ 0x12cc else 43 @ 0x11e1 0x12cc 39 ecx = [rsp + 4 {var_14}].d 0x12d0 40 edx = (rdi + rcx).d 0x12d3 41 edx = edx - 1 0x12d8 42 if ((al & 3) != 0) then 46 @ 0x1302 else 50 @ 0x12da 0x11e1 43 r8 = r9 - 1 0x11e5 44 r11d = 1 0x11ef 45 if (r8 u< 8) then 61 @ 0x12a4 else 67 @ 0x11f5 0x1302 46 ecx = ebx * 0x190 0x1308 47 temp0.d = eax 0x1308 48 eax = eax - ecx 0x130a 49 if (temp0.d != ecx) then 75 @ 0x1315 else 97 @ 0x1310 0x12da 50 rcx = sx.q(eax) 0x12dd 51 rcx = rcx * 0x51eb851f 0x12e4 52 rsi = rcx 0x12e7 53 rsi = rsi u>> 0x3f 0x12eb 54 rcx = rcx s>> 0x25 0x12ef 55 ecx = ecx + esi 0x12f1 56 ecx = ecx * 0x64 0x12f4 57 esi = eax 0x12f6 58 temp1.d = esi 0x12f6 59 esi = esi - ecx 0x12f8 60 if (temp1.d == ecx) then 46 @ 0x1302 else 98 @ 0x12fe 0x12a4 61 rcx = 0x2010 {""} 0x12ab 62 rdx = rcx + (r11 << 2) 0x12af 63 rsi = r9 0x12b2 64 rsi = rsi - r11 0x12b5 65 ecx = 0 0x12b7 66 goto 99 @ 0x12c0 0x11f5 67 r11 = r8 0x11f8 68 r11 = r11 & 0xfffffffffffffff8 0x11fc 69 xmm0 = edi 0x1200 70 rcx = r11 - 8 0x1204 71 r10 = rcx 0x1207 72 r10 = r10 u>> 3 0x120b 73 r10 = r10 + 1 0x1212 74 if (rcx == 0) then 102 @ 0x1361 else 105 @ 0x1218 0x1315 75 rax = sx.q(edx) 0x1318 76 rcx = rax * -0x6db6db6d 0x131f 77 rcx = rcx u>> 0x20 0x1323 78 ecx = ecx + eax 0x1325 79 edx = ecx 0x1327 80 edx = edx u>> 0x1f 0x132a 81 ecx = ecx s>> 2 0x132d 82 ecx = ecx + edx 0x132f 83 edx = (rcx << 3).d 0x1336 84 ecx = ecx - edx 0x1338 85 ecx = ecx + eax 0x133a 86 rax = sx.q(ecx) 0x133d 87 rcx = 0x2044 {""} 0x1344 88 rsi = sx.q([rcx + (rax << 2)].d) 0x1348 89 rsi = rsi + rcx 0x134b 90 rdi = 0x2083 {"%s.\n"} 0x1352 91 eax = 0 0x1354 92 call(0x1030) 0x1359 93 eax = 0 0x135b 94 rsp = rsp + 0x10 0x135f 95 rbx = pop 0x1360 96 <return> jump(pop) 0x1310 97 if (r9d s>= 3) then 75 @ 0x1315 else 111 @ 0x1312 0x12fe 98 if (r9d s<= 2) then 111 @ 0x1312 else 113 @ 0x1300 0x12c0 99 edi = edi + [rdx + (rcx << 2)].d 0x12c3 100 rcx = rcx + 1 0x12ca 101 if (rsi != rcx) then 99 @ 0x12c0 else 39 @ 0x12cc 0x1361 102 xmm1 = 0 0x1365 103 edx = 1 0x136e 104 if ((r10b & 1) != 0) then 114 @ 0x1267 else 120 @ 0x1374 0x1218 105 rdi = r10 0x121b 106 rdi = rdi & 0xfffffffffffffffe 0x121f 107 xmm1 = 0 0x1223 108 edx = 1 0x1228 109 rsi = 0x2010 {""} 0x122f 110 goto 121 @ 0x1230 0x1312 111 edx = edx - 1 0x1312 112 goto 75 @ 0x1315 0x1300 113 goto 75 @ 0x1315 0x1267 114 rcx = 0x2010 {""} 0x126e 115 xmm2 = [rcx + (rdx << 2)].o 0x1273 116 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x1277 117 xmm2 = [rcx + (rdx << 2) + 0x10].o 0x127d 118 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x127d 119 goto 133 @ 0x1281 0x1374 120 goto 133 @ 0x1281 0x1230 121 xmm2 = [rsi + (rdx << 2)].o 0x1235 122 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x1239 123 xmm3 = [rsi + (rdx << 2) + 0x10].o 0x123f 124 xmm3 = _mm_add_epi32(xmm3, xmm1) 0x1243 125 xmm0 = [rsi + (rdx << 2) + 0x20].o 0x1249 126 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x124d 127 xmm1 = [rsi + (rdx << 2) + 0x30].o 0x1253 128 xmm1 = _mm_add_epi32(xmm1, xmm3) 0x1257 129 rdx = rdx + 0x10 0x125b 130 temp2.q = rdi 0x125b 131 rdi = rdi - 2 0x125f 132 if (temp2.q != 2) then 121 @ 0x1230 else 140 @ 0x1265 0x1281 133 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1285 134 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x128a 135 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x128e 136 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1293 137 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1297 138 edi = xmm0.d 0x129e 139 if (r8 == r11) then 39 @ 0x12cc else 141 @ 0x12a0 0x1265 140 if ((r10b & 1) == 0) then 133 @ 0x1281 else 114 @ 0x1267 0x12a0 141 r11 = r11 | 1 0x12a0 142 goto 61 @ 0x12a4 int64_t _fini(): 0x1380 0 rsp = rsp - 8 0x1384 1 rsp = rsp + 8 0x1388 2 <return> jump(pop)
POJ_66
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 {"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 = 0x2007 {"%d"} 0x1175 8 rsi = rsp + 0xc {var_3c} 0x117a 9 eax = 0 0x117c 10 call(0x1040) 0x1186 11 if ([rsp + 0xc {var_3c}].d s<= 0) then 12 @ 0x1231 else 16 @ 0x118c 0x1231 12 rdi = 0x200a {"Tie"} 0x1238 13 eax = 0 0x123a 14 call(0x1030) 0x123a 15 goto 23 @ 0x123f 0x118c 16 r14 = 0x2004 {"%d %d"} 0x1193 17 r15 = rsp + 0x14 {var_34} 0x1198 18 r13 = rsp + 0x10 {var_38} 0x119d 19 ebp = 0 0x119f 20 r12d = 0 0x11a2 21 ebx = 0 0x11a4 22 goto 32 @ 0x11bc 0x123f 23 eax = 0 0x1241 24 rsp = rsp + 0x18 0x1245 25 rbx = pop 0x1246 26 r12 = pop 0x1248 27 r13 = pop 0x124a 28 r14 = pop 0x124c 29 r15 = pop 0x124e 30 rbp = pop 0x124f 31 <return> jump(pop) 0x11bc 32 rdi = r14 0x11bf 33 rsi = r15 {var_34} 0x11c2 34 rdx = r13 {var_38} 0x11c5 35 eax = 0 0x11c7 36 call(0x1040) 0x11cc 37 eax = [rsp + 0x14 {var_34}].d 0x11d0 38 ecx = [rsp + 0x10 {var_38}].d 0x11d6 39 if (eax != 0) then 40 @ 0x11e0 else 41 @ 0x11db 0x11e0 40 if (eax != 1) then 42 @ 0x11ea else 43 @ 0x11e5 0x11db 41 if (ecx == 1) then 44 @ 0x11b0 else 40 @ 0x11e0 0x11ea 42 if (eax != 2) then 46 @ 0x11f2 else 47 @ 0x11ee 0x11e5 43 if (ecx == 2) then 44 @ 0x11b0 else 42 @ 0x11ea 0x11b0 44 ebx = ebx + 1 0x11b0 45 goto 48 @ 0x11b3 0x11f2 46 if (ecx != 0) then 50 @ 0x11fc else 51 @ 0x11f7 0x11ee 47 if (ecx == 0) then 44 @ 0x11b0 else 46 @ 0x11f2 0x11b3 48 ebp = ebp + 1 0x11ba 49 if (ebp s>= [rsp + 0xc {var_3c}].d) then 52 @ 0x1212 else 32 @ 0x11bc 0x11fc 50 if (ecx != 1) then 54 @ 0x1206 else 55 @ 0x1201 0x11f7 51 if (eax == 1) then 56 @ 0x120c else 50 @ 0x11fc 0x1212 52 cond:0 = ebx s>= r12d 0x1215 53 if (ebx s<= r12d) then 58 @ 0x1223 else 59 @ 0x1217 0x1206 54 if (ecx != 2) then 48 @ 0x11b3 else 62 @ 0x120a 0x1201 55 if (eax == 2) then 56 @ 0x120c else 54 @ 0x1206 0x120c 56 r12d = r12d + 1 0x1210 57 goto 48 @ 0x11b3 0x1223 58 if (cond:0) then 12 @ 0x1231 else 63 @ 0x1225 0x1217 59 edi = 0x41 {""} 0x121c 60 call(0x1050) 0x1221 61 goto 23 @ 0x123f 0x120a 62 if (eax != 0) then 48 @ 0x11b3 else 56 @ 0x120c 0x1225 63 edi = 0x42 {""} 0x122a 64 call(0x1050) 0x122f 65 goto 23 @ 0x123f int64_t _fini(): 0x1254 0 rsp = rsp - 8 0x1258 1 rsp = rsp + 8 0x125c 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 = 0x1190 {"AWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int64_t test(int64_t arg1, int32_t arg2, int32_t arg3, int32_t arg4): 0x1150 0 eax = 1 0x1157 1 if (ecx s<= 0) then 2 @ 0x117e else 3 @ 0x1159 0x117e 2 <return> jump(pop) 0x1159 3 rsi = sx.q(esi) 0x115c 4 rdx = sx.q(edx) 0x115f 5 rsi = rsi << 5 0x1163 6 rdi = rdi + rsi 0x1166 7 edx = [rdi + (rdx << 2)].d 0x1169 8 ecx = ecx 0x116b 9 esi = 0 0x116d 10 goto 11 @ 0x1173 0x1173 11 if ([rdi + (rsi << 2)].d s< edx) then 12 @ 0x117f else 14 @ 0x1175 0x117f 12 eax = 0 0x1181 13 <return> jump(pop) 0x1175 14 rsi = rsi + 1 0x117c 15 if (rcx != rsi) then 11 @ 0x1173 else 2 @ 0x117e int32_t main(int32_t argc, char** argv, char** envp): 0x1190 0 push(r15) 0x1192 1 push(r14) 0x1194 2 push(r13) 0x1196 3 push(r12) 0x1198 4 push(rbx) 0x1199 5 rsp = rsp - 0x110 0x11a0 6 xmm0 = 0 0x11a3 7 [rsp + 0x100 {var_38}].o = xmm0 0x11ab 8 [rsp + 0xf0 {var_48}].o = xmm0 0x11b3 9 [rsp + 0xe0 {var_58}].o = xmm0 0x11bb 10 [rsp + 0xd0 {var_68}].o = xmm0 0x11c3 11 [rsp + 0xc0 {var_78}].o = xmm0 0x11cb 12 [rsp + 0xb0 {var_88}].o = xmm0 0x11d3 13 [rsp + 0xa0 {var_98}].o = xmm0 0x11db 14 [rsp + 0x90 {var_a8}].o = xmm0 0x11e3 15 [rsp + 0x80 {var_b8}].o = xmm0 0x11eb 16 [rsp + 0x70 {var_c8}].o = xmm0 0x11f0 17 [rsp + 0x60 {var_d8}].o = xmm0 0x11f5 18 [rsp + 0x50 {var_e8}].o = xmm0 0x11fa 19 [rsp + 0x40 {var_f8}].o = xmm0 0x11ff 20 [rsp + 0x30 {var_108}].o = xmm0 0x1204 21 [rsp + 0x20 {var_118}].o = xmm0 0x1209 22 [rsp + 0x10 {var_128}].o = xmm0 0x120e 23 rdi = 0x2004 {"%d,%d"} 0x1215 24 rsi = rsp + 0xc {var_12c} 0x121a 25 rdx = rsp + 8 {var_130} 0x121f 26 eax = 0 0x1221 27 call(0x1040) 0x122b 28 if ([rsp + 0xc {var_12c}].d s<= 0) then 29 @ 0x1281 else 31 @ 0x122d 0x1281 29 eax = [rsp + 8 {var_130}].d 0x1287 30 if (eax s<= 0) then 35 @ 0x12fd else 39 @ 0x1289 0x122d 31 r15 = rsp + 0x10 {var_128} 0x1232 32 r14 = 0x200d {"%d"} 0x1239 33 r12d = 0 0x123c 34 goto 43 @ 0x1257 0x12fd 35 rdi = 0x2010 {"No"} 0x1304 36 eax = 0 0x1306 37 call(0x1030) 0x130b 38 goto 44 @ 0x131d 0x1289 39 r8d = 0 0x128c 40 rsi = rsp + 0x10 {var_128} 0x1291 41 edx = 0 0x1291 42 goto 52 @ 0x1296 0x1257 43 if ([rsp + 8 {var_130}].d s<= 0) then 53 @ 0x1240 else 57 @ 0x1259 0x131d 44 eax = 0 0x131f 45 rsp = rsp + 0x110 0x1326 46 rbx = pop 0x1327 47 r12 = pop 0x1329 48 r13 = pop 0x132b 49 r14 = pop 0x132d 50 r15 = pop 0x132f 51 <return> jump(pop) 0x1296 52 if (eax == 1) then 60 @ 0x12c4 else 68 @ 0x1298 0x1240 53 r12 = r12 + 1 0x1244 54 rax = sx.q([rsp + 0xc {var_12c}].d) 0x1249 55 r15 = r15 + 0x20 0x1250 56 if (r12 s>= rax) then 29 @ 0x1281 else 43 @ 0x1257 0x1259 57 r13 = r15 0x125c 58 ebx = 0 0x125e 59 goto 73 @ 0x1260 0x12c4 60 rcx = sx.q(edx) 0x12c7 61 rdi = r8 0x12ca 62 rdi = rdi << 5 0x12ce 63 rdi = rdi + rsp 0x12d1 64 rdi = rdi + 0x10 0x12d5 65 edi = [rdi + (rcx << 2)].d 0x12d8 66 ebx = 0 0x12da 67 goto 81 @ 0x12e3 0x1298 68 rdi = r8 0x129b 69 rdi = rdi << 5 0x129f 70 edi = [rsp + rdi + 0x10].d 0x12a3 71 ebx = 1 0x12a8 72 goto 82 @ 0x12b0 0x1260 73 rdi = r14 0x1263 74 rsi = r13 0x1266 75 eax = 0 0x1268 76 call(0x1040) 0x126d 77 rbx = rbx + 1 0x1271 78 rax = sx.q([rsp + 8 {var_130}].d) 0x1276 79 r13 = r13 + 4 0x127d 80 if (rbx s< rax) then 73 @ 0x1260 else 85 @ 0x127f 0x12e3 81 if ([rsi + (rbx << 2)].d s< edi) then 86 @ 0x12f0 else 89 @ 0x12e5 0x12b0 82 ecx = [rsi + (rbx << 2)].d 0x12b3 83 cond:0 = ecx s> edi 0x12b5 84 if (ecx s> edi) then 91 else 93 @ 0x12b8 0x127f 85 goto 53 @ 0x1240 0x12f0 86 r8 = r8 + 1 0x12f4 87 rsi = rsi + 0x20 0x12fb 88 if (r8 != rax) then 52 @ 0x1296 else 35 @ 0x12fd 0x12e5 89 rbx = rbx + 1 0x12ec 90 if (rax != rbx) then 81 @ 0x12e3 else 94 @ 0x12ee 0x12b5 91 edi = ecx 0x12b5 92 goto 93 @ 0x12b8 0x12b8 93 if (cond:0) then 95 else 97 @ 0x12bb 0x12ee 94 goto 99 @ 0x130d 0x12b8 95 edx = ebx 0x12b8 96 goto 97 @ 0x12bb 0x12bb 97 rbx = rbx + 1 0x12c2 98 if (rax != rbx) then 82 @ 0x12b0 else 60 @ 0x12c4 0x130d 99 rdi = 0x200a {"%d+%d"} 0x1314 100 esi = 0 0x1316 101 eax = 0 0x1318 102 call(0x1030) 0x1318 103 goto 44 @ 0x131d int64_t _fini(): 0x1334 0 rsp = rsp - 8 0x1338 1 rsp = rsp + 8 0x133c 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 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 - 0xe0 0x1170 6 r15d = 0 0x1173 7 rbx = rsp {var_108} 0x1176 8 rdi = rbx {var_108} 0x1179 9 eax = 0 0x117b 10 call(0x1040) 0x1180 11 rdi = rbx {var_108} 0x1183 12 call(0x1030) 0x1188 13 r14 = rax 0x118e 14 if (r14d s<= 0) then 15 @ 0x11ff else 17 @ 0x1190 0x11ff 15 al = [rsp {var_108}].b 0x1204 16 if (al == 0x20) then 19 @ 0x123e else 30 @ 0x1209 0x1190 17 r13d = r14d 0x1193 18 goto 31 @ 0x11b5 0x123e 19 edi = 0xa {""} 0x1243 20 eax = 0 0x1245 21 call(0x1050) 0x124a 22 eax = 0 0x124c 23 rsp = rsp + 0xe0 0x1253 24 rbx = pop 0x1254 25 r12 = pop 0x1256 26 r13 = pop 0x1258 27 r14 = pop 0x125a 28 r15 = pop 0x125c 29 <return> jump(pop) 0x1209 30 if (r14d == 0) then 19 @ 0x123e else 35 @ 0x120b 0x11b5 31 r12 = r13 - 1 0x11b9 32 eax = r12d 0x11bc 33 al = [rsp + rax].b 0x11c1 34 if (al != 0x20) then 38 @ 0x11a0 else 44 @ 0x11c6 0x120b 35 r14d = r14d 0x120e 36 ebx = 1 0x121d 37 goto 45 @ 0x1220 0x11a0 38 r15 = sx.q(r15d) 0x11a3 39 [rsp + r15 + 0x70].b = al 0x11a8 40 r15d = r15d + 1 0x11ac 41 cond:0 = r13 s<= 1 0x11b0 42 r13 = r12 0x11b3 43 if (cond:0) then 15 @ 0x11ff else 31 @ 0x11b5 0x11c6 44 if (r15d s<= 0) then 50 @ 0x11e7 else 57 @ 0x11c8 0x1220 45 edi = sx.d(al) 0x1223 46 eax = 0 0x1225 47 call(0x1050) 0x122a 48 eax = zx.d([rsp + rbx].b) 0x1230 49 if (al == 0x20) then 19 @ 0x123e else 60 @ 0x1232 0x11e7 50 r15d = 0 0x11ea 51 edi = 0x20 {"@"} 0x11ef 52 eax = 0 0x11f1 53 call(0x1050) 0x11f6 54 cond:2 = r13 s> 1 0x11fa 55 r13 = r12 0x11fd 56 if (cond:2) then 31 @ 0x11b5 else 15 @ 0x11ff 0x11c8 57 ebx = r15d 0x11cb 58 rbx = rbx + 1 0x11cf 59 goto 64 @ 0x11d0 0x1232 60 rcx = rbx + 1 0x1236 61 cond:1 = r14 != rbx 0x1239 62 rbx = rcx 0x123c 63 if (cond:1) then 45 @ 0x1220 else 19 @ 0x123e 0x11d0 64 eax = (rbx - 2).d 0x11d3 65 edi = sx.d([rsp + rax + 0x70].b) 0x11d8 66 call(0x1050) 0x11dd 67 rbx = rbx - 1 0x11e5 68 if (rbx u> 1) then 64 @ 0x11d0 else 50 @ 0x11e7 int64_t _fini(): 0x1264 0 rsp = rsp - 8 0x1268 1 rsp = rsp + 8 0x126c 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) 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 {"AWAVAUATSH\t"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r13) 0x1166 3 push(r12) 0x1168 4 push(rbx) 0x1169 5 rsp = rsp - 0x9a0 0x1170 6 rdi = 0x2040 {"%d"} 0x1177 7 rsi = rsp + 4 {var_9c4} 0x117c 8 eax = 0 0x117e 9 call(0x1040) 0x1188 10 if ([rsp + 4 {var_9c4}].d s<= 0) then 11 @ 0x1421 else 19 @ 0x118e 0x1421 11 eax = 0 0x1423 12 rsp = rsp + 0x9a0 0x142a 13 rbx = pop 0x142b 14 r12 = pop 0x142d 15 r13 = pop 0x142f 16 r14 = pop 0x1431 17 r15 = pop 0x1433 18 <return> jump(pop) 0x118e 19 r14 = rsp + 0x40 {var_988} 0x1193 20 r15 = rsp + 0x360 {var_668} 0x119b 21 r13 = rsp + 0x680 {var_348} 0x11a3 22 r12 = 0x2043 {"%lf %lf %lf"} 0x11aa 23 ebx = 0 0x11ac 24 goto 25 @ 0x11b0 0x11b0 25 rdi = r12 0x11b3 26 rsi = r13 0x11b6 27 rdx = r15 0x11b9 28 rcx = r14 0x11bc 29 eax = 0 0x11be 30 call(0x1040) 0x11c3 31 rbx = rbx + 1 0x11c7 32 rax = sx.q([rsp + 4 {var_9c4}].d) 0x11cc 33 r14 = r14 + 8 0x11d0 34 r15 = r15 + 8 0x11d4 35 r13 = r13 + 8 0x11db 36 if (rbx s< rax) then 25 @ 0x11b0 else 37 @ 0x11df 0x11df 37 if (eax s<= 0) then 11 @ 0x1421 else 38 @ 0x11e5 0x11e5 38 ebx = 0 0x11e7 39 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x11eb 40 xmm1 = [0x2020].o 0x11f3 41 r12 = 0x204f {"x1=%.5f;x2=%.5f\n"} 0x11fa 42 r14 = 0x2060 {"x1=x2=%.5f\n"} 0x1201 43 r15 = 0x206c {"x1=%.5f+%.5fi;x2=%.5f-%.5fi\n"} 0x1208 44 goto 45 @ 0x1254 0x1254 45 xmm6 = zx.o([rsp + (rbx << 3) + 0x680].q) 0x125d 46 xmm5 = zx.o([rsp + (rbx << 3) + 0x360].q) 0x1266 47 xmm0 = xmm6 0x126a 48 xmm0.q = xmm0.q f* fconvert.t([0x2008].q) 0x1272 49 xmm0.q = xmm0.q f* fconvert.t([rsp + (rbx << 3) + 0x40].q) 0x1278 50 xmm2 = xmm5 0x127c 51 xmm2.q = xmm2.q f* xmm5.q 0x1280 52 xmm2.q = xmm2.q f+ xmm0.q 0x1284 53 flag:p = is_unordered.q(xmm2.q, xmm3.q) 0x1284 54 flag:c = xmm2.q f< xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x1284 55 flag:z = xmm2.q f== xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x1284 56 flag:s = 0 0x1284 57 flag:o = 0 0x1284 58 flag:a = 0 0x1288 59 if (flag:z || flag:c) then 60 @ 0x1320 else 62 @ 0x128e 0x1320 60 xmm5 = _mm_xor_pd(xmm5, xmm1) 0x1324 61 if (not(flag:z)) then 74 @ 0x1337 else 83 @ 0x1326 0x128e 62 xmm4 = 0 0x1291 63 xmm4 = _mm_sqrt_sd(xmm2.q) 0x1295 64 flag:p = is_unordered.q(xmm2.q, xmm3.q) 0x1295 65 flag:c = xmm2.q f< xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x1295 66 flag:z = xmm2.q f== xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x1295 67 flag:s = 0 0x1295 68 flag:o = 0 0x1295 69 flag:a = 0 0x1299 70 xmm0 = xmm4 0x129d 71 [rsp + 0x10 {var_9b8_1}].o = xmm5 0x12a3 72 [rsp + 8 {var_9c0_1}].q = xmm6.q 0x12a9 73 if (not(flag:c)) then 84 @ 0x12e4 else 91 @ 0x12ab 0x1337 74 xmm0 = zx.o([0x2010].q) 0x133f 75 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x133f 76 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x133f 77 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x133f 78 flag:s = 0 0x133f 79 flag:o = 0 0x133f 80 flag:a = 0 0x1343 81 xmm2 = _mm_xor_pd(xmm2, xmm1) 0x1347 82 if (flag:c) then 102 @ 0x1393 else 111 @ 0x1349 0x1326 83 if (flag:p) then 74 @ 0x1337 else 114 @ 0x1328 0x12e4 84 flag:p = is_unordered.q(xmm2.q, xmm3.q) 0x12e4 85 flag:c = xmm2.q f< xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x12e4 86 flag:z = xmm2.q f== xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x12e4 87 flag:s = 0 0x12e4 88 flag:o = 0 0x12e4 89 flag:a = 0 0x12e8 90 if (not(flag:c)) then 121 @ 0x1210 else 136 @ 0x12ee 0x12ab 91 xmm0 = xmm2 0x12af 92 [rsp + 0x20 {var_9a8}].o = xmm2 0x12b5 93 [rsp + 0x38 {var_990_1}].q = xmm4.q 0x12bb 94 call(0x1050) 0x12c0 95 xmm4 = zx.o([rsp + 0x38 {var_990_1}].q) 0x12c6 96 xmm2 = [rsp + 0x20 {var_9a8}].o 0x12cc 97 xmm6 = zx.o([rsp + 8 {var_9c0_1}].q) 0x12d2 98 xmm5 = [rsp + 0x10 {var_9b8_1}].o 0x12d8 99 xmm1 = [0x2020].o 0x12e0 100 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x12e0 101 goto 84 @ 0x12e4 0x1393 102 xmm0 = xmm2 0x1397 103 [rsp + 0x10 {var_9b8_3}].o = xmm5 0x139d 104 [rsp + 8 {var_9c0_3}].q = xmm6.q 0x13a3 105 call(0x1050) 0x13a8 106 xmm6 = zx.o([rsp + 8 {var_9c0_3}].q) 0x13ae 107 xmm5 = [rsp + 0x10 {var_9b8_3}].o 0x13b4 108 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x13b8 109 xmm1 = xmm0 0x13b8 110 goto 145 @ 0x13bc 0x1349 111 xmm1 = 0 0x134c 112 xmm1 = _mm_sqrt_sd(xmm2.q) 0x1350 113 goto 145 @ 0x13bc 0x1328 114 flag:p = is_unordered.q(xmm2.q, xmm3.q) 0x1328 115 flag:c = xmm2.q f< xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x1328 116 flag:z = xmm2.q f== xmm3.q | is_unordered.q(xmm2.q, xmm3.q) 0x1328 117 flag:s = 0 0x1328 118 flag:o = 0 0x1328 119 flag:a = 0 0x132c 120 if (flag:c) then 163 @ 0x1352 else 170 @ 0x132e 0x1210 121 xmm0.q = xmm0.q f- xmm5.q 0x1214 122 xmm5 = _mm_xor_pd(xmm5, xmm1) 0x1218 123 xmm6.q = xmm6.q f+ xmm6.q 0x121c 124 xmm0.q = xmm0.q f/ xmm6.q 0x1220 125 xmm5.q = xmm5.q f- xmm4.q 0x1224 126 xmm5.q = xmm5.q f/ xmm6.q 0x1228 127 rdi = r12 0x122b 128 xmm1 = xmm5 0x122f 129 al = 2 0x1231 130 call(0x1030) 0x1236 131 xmm1 = [0x2020].o 0x123e 132 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x1242 133 rbx = rbx + 1 0x1246 134 rax = sx.q([rsp + 4 {var_9c4}].d) 0x124e 135 if (rbx s>= rax) then 11 @ 0x1421 else 45 @ 0x1254 0x12ee 136 [rsp + 0x20 {var_9a8[0]}].q = xmm0.q 0x12f4 137 xmm0 = xmm2 0x12f8 138 call(0x1050) 0x12fd 139 xmm6 = zx.o([rsp + 8 {var_9c0_1}].q) 0x1303 140 xmm5 = [rsp + 0x10 {var_9b8_1}].o 0x1309 141 xmm1 = [0x2020].o 0x1311 142 xmm4 = xmm0 0x1315 143 xmm0 = zx.o([rsp + 0x20 {var_9a8[0]}].q) 0x131b 144 goto 121 @ 0x1210 0x13bc 145 xmm6.q = xmm6.q f+ xmm6.q 0x13c0 146 xmm5.q = xmm5.q f/ xmm6.q 0x13c4 147 xmm2 = xmm5 0x13c8 148 xmm4 = [0x2030].o 0x13d0 149 xmm2 = _mm_and_pd(xmm2, xmm4) 0x13d4 150 xmm0 = xmm5 0x13d8 151 xmm0 = _mm_cmpeq_sd(xmm0.q, xmm3.q, 0) 0x13dd 152 xmm2 = _mm_and_pd(xmm2, xmm0) 0x13e1 153 xmm0 = _mm_andnot_pd(xmm0, xmm5) 0x13e5 154 xmm0 = _mm_or_pd(xmm0, xmm2) 0x13e9 155 xmm1.q = xmm1.q f/ xmm6.q 0x13ed 156 xmm1 = _mm_and_pd(xmm1, xmm4) 0x13f1 157 rdi = r15 0x13f4 158 xmm2 = xmm0 0x13f8 159 xmm3 = xmm1 0x13fc 160 al = 4 0x13fe 161 call(0x1030) 0x13fe 162 goto 173 @ 0x1403 0x1352 163 xmm0 = xmm2 0x1356 164 [rsp + 0x10 {var_9b8_2}].o = xmm5 0x135c 165 [rsp + 8 {var_9c0_2}].q = xmm6.q 0x1362 166 call(0x1050) 0x1367 167 xmm6 = zx.o([rsp + 8 {var_9c0_2}].q) 0x136d 168 xmm5 = [rsp + 0x10 {var_9b8_2}].o 0x136d 169 goto 178 @ 0x1373 0x132e 170 xmm0 = 0 0x1331 171 xmm0 = _mm_sqrt_sd(xmm2.q) 0x1335 172 goto 178 @ 0x1373 0x1403 173 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x1407 174 xmm1 = [0x2020].o 0x140f 175 rbx = rbx + 1 0x1413 176 rax = sx.q([rsp + 4 {var_9c4}].d) 0x141b 177 if (rbx s< rax) then 45 @ 0x1254 else 11 @ 0x1421 0x1373 178 xmm5.q = xmm5.q f- xmm0.q 0x1377 179 xmm6.q = xmm6.q f+ xmm6.q 0x137b 180 xmm5.q = xmm5.q f/ xmm6.q 0x137f 181 rdi = r14 0x1382 182 xmm0 = xmm5 0x1386 183 xmm1 = xmm5 0x138a 184 al = 2 0x138c 185 call(0x1030) 0x1391 186 goto 173 @ 0x1403 int64_t _fini(): 0x1438 0 rsp = rsp - 8 0x143c 1 rsp = rsp + 8 0x1440 2 <return> jump(pop)
POJ_27
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x1a0 0x115c 4 rdi = 0x2004 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_1ac} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 eax = [rsp + 0xc {var_1ac}].d 0x1175 9 if (eax s<= 0) then 10 @ 0x11af else 15 @ 0x1177 0x11af 10 r8 = sx.q(eax) 0x11b2 11 ecx = r8d 0x11b5 12 rdx = rsp + 0x10 {var_1a8} 0x11ba 13 r9d = 0 0x11bd 14 goto 19 @ 0x11cd 0x1177 15 r15 = rsp + 0x10 {var_1a8} 0x117c 16 r14 = 0x2004 {"%d"} 0x1183 17 ebx = 0 0x118f 18 goto 22 @ 0x1190 0x11cd 19 rdi = r9 0x11d0 20 r9 = r9 + 1 0x11d7 21 if (r9 s>= r8) then 30 @ 0x11c0 else 33 @ 0x11d9 0x1190 22 rdi = r14 0x1193 23 rsi = r15 0x1196 24 eax = 0 0x1198 25 call(0x1040) 0x119d 26 rbx = rbx + 1 0x11a1 27 rax = sx.q([rsp + 0xc {var_1ac}].d) 0x11a6 28 r15 = r15 + 4 0x11ad 29 if (rbx s< rax) then 22 @ 0x1190 else 10 @ 0x11af 0x11c0 30 rdx = rdx + 4 0x11c4 31 rcx = rcx - 1 0x11cb 32 if (rdi != 0) then 35 @ 0x11fd else 19 @ 0x11cd 0x11d9 33 ebx = 1 0x11de 34 goto 50 @ 0x11e9 0x11fd 35 esi = [rsp + 0x10 {var_1a8}].d 0x1201 36 rbx = 0x2007 {"%d\n"} 0x1208 37 rdi = rbx 0x120b 38 eax = 0 0x120d 39 call(0x1030) 0x1212 40 esi = [rsp + 0x14 {var_1a4}].d 0x1216 41 rdi = rbx 0x1219 42 eax = 0 0x121b 43 call(0x1030) 0x1220 44 eax = 0 0x1222 45 rsp = rsp + 0x1a0 0x1229 46 rbx = pop 0x122a 47 r14 = pop 0x122c 48 r15 = pop 0x122e 49 <return> jump(pop) 0x11e9 50 eax = [rdx + (rbx << 2)].d 0x11ec 51 esi = [rsp + (rdi << 2) + 0x10].d 0x11f2 52 if (eax s<= esi) then 53 @ 0x11e0 else 55 @ 0x11f4 0x11e0 53 rbx = rbx + 1 0x11e7 54 if (rcx == rbx) then 30 @ 0x11c0 else 50 @ 0x11e9 0x11f4 55 [rdx + (rbx << 2)].d = esi 0x11f7 56 [rsp + (rdi << 2) + 0x10].d = eax 0x11fb 57 goto 53 @ 0x11e0 int64_t _fini(): 0x1234 0 rsp = rsp - 8 0x1238 1 rsp = rsp + 8 0x123c 2 <return> jump(pop)
POJ_84
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x90 0x115c 4 rdi = 0x2048 {"%d"} 0x1163 5 rsi = rsp + 8 {var_a0} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 ecx = [rsp + 8 {var_a0}].d 0x1175 9 if (ecx s<= 0) then 10 @ 0x127c else 13 @ 0x117b 0x127c 10 eax = ecx 0x127e 11 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1285 12 if (eax != 1) then 17 @ 0x137d else 21 @ 0x128b 0x117b 13 r15 = rsp + 0x10 {var_98} 0x1180 14 r14 = 0x2048 {"%d"} 0x1187 15 ebx = 0 0x1189 16 goto 23 @ 0x1190 0x137d 17 edx = eax 0x137f 18 edx = edx & 0xfffffffe 0x1382 19 ecx = 0 0x138e 20 goto 31 @ 0x1390 0x128b 21 ecx = 0 0x128d 22 goto 43 @ 0x13c9 0x1190 23 rdi = r14 0x1193 24 rsi = r15 0x1196 25 eax = 0 0x1198 26 call(0x1040) 0x119d 27 rbx = rbx + 1 0x11a1 28 rcx = sx.q([rsp + 8 {var_a0}].d) 0x11a6 29 r15 = r15 + 4 0x11ad 30 if (rbx s< rcx) then 23 @ 0x1190 else 44 @ 0x11b1 0x1390 31 xmm2 = 0 0x1393 32 xmm2.q = float.d([rsp + (rcx << 2) + 0x10].d) 0x1399 33 xmm2.q = xmm2.q f/ xmm1.q 0x139d 34 xmm2.q = xmm2.q f* fconvert.t([rsp + (rcx << 3) + 0x40].q) 0x13a3 35 xmm2.q = xmm2.q f+ xmm0.q 0x13a7 36 xmm0 = 0 0x13aa 37 xmm0.q = float.d([rsp + (rcx << 2) + 0x14].d) 0x13b0 38 xmm0.q = xmm0.q f/ xmm1.q 0x13b4 39 xmm0.q = xmm0.q f* fconvert.t([rsp + (rcx << 3) + 0x48].q) 0x13ba 40 xmm0.q = xmm0.q f+ xmm2.q 0x13be 41 rcx = rcx + 2 0x13c5 42 if (rdx != rcx) then 31 @ 0x1390 else 43 @ 0x13c9 0x13c9 43 if ((al & 1) == 0) then 45 @ 0x13e2 else 54 @ 0x13cb 0x11b1 44 if (ecx s<= 0) then 10 @ 0x127c else 60 @ 0x11b7 0x13e2 45 rdi = 0x204b {"%.2lf"} 0x13e9 46 al = 1 0x13eb 47 call(0x1030) 0x13f0 48 eax = 0 0x13f2 49 rsp = rsp + 0x90 0x13f9 50 rbx = pop 0x13fa 51 r14 = pop 0x13fc 52 r15 = pop 0x13fe 53 <return> jump(pop) 0x13cb 54 xmm2 = 0 0x13ce 55 xmm2.q = float.d([rsp + (rcx << 2) + 0x10].d) 0x13d4 56 xmm2.q = xmm2.q f/ xmm1.q 0x13d8 57 xmm2.q = xmm2.q f* fconvert.t([rsp + (rcx << 3) + 0x40].q) 0x13de 58 xmm0.q = xmm0.q f+ xmm2.q 0x13de 59 goto 45 @ 0x13e2 0x11b7 60 r14 = 0x2048 {"%d"} 0x11be 61 r15 = rsp + 0xc {var_9c} 0x11c3 62 ebx = 0 0x11cf 63 goto 64 @ 0x11d0 0x11d0 64 rdi = r14 0x11d3 65 rsi = r15 {var_9c} 0x11d6 66 eax = 0 0x11d8 67 call(0x1040) 0x11dd 68 eax = [rsp + 0xc {var_9c}].d 0x11e1 69 xmm0 = [0x2008].q 0x11ec 70 if (eax s> 0x59) then 71 @ 0x1250 else 73 @ 0x11ee 0x1250 71 [rsp + (rbx << 3) + 0x40].q = xmm0.q 0x1250 72 goto 75 @ 0x1256 0x11ee 73 xmm0 = [0x2010].q 0x11f9 74 if (eax s> 0x54) then 71 @ 0x1250 else 78 @ 0x11fb 0x1256 75 rbx = rbx + 1 0x125a 76 rcx = sx.q([rsp + 8 {var_a0}].d) 0x1262 77 if (rbx s< rcx) then 64 @ 0x11d0 else 80 @ 0x126a 0x11fb 78 xmm0 = [0x2018].q 0x1206 79 if (eax s> 0x51) then 71 @ 0x1250 else 81 @ 0x1208 0x126a 80 if (ecx s<= 0) then 10 @ 0x127c else 83 @ 0x126c 0x1208 81 xmm0 = [0x2020].q 0x1213 82 if (eax s> 0x4d) then 71 @ 0x1250 else 85 @ 0x1215 0x126c 83 eax = ecx 0x1271 84 if (ecx u>= 8) then 87 @ 0x1292 else 96 @ 0x1273 0x1215 85 xmm0 = [0x2028].q 0x1220 86 if (eax s> 0x4a) then 71 @ 0x1250 else 99 @ 0x1222 0x1292 87 ecx = eax 0x1294 88 ecx = ecx & 0xfffffff8 0x1297 89 rsi = rcx - 8 0x129b 90 rdi = rsi 0x129e 91 rdi = rdi u>> 3 0x12a2 92 rdi = rdi + 1 0x12a6 93 edx = edi 0x12a8 94 edx = edx & 3 0x12af 95 if (rsi u>= 0x18) then 101 @ 0x12bd else 106 @ 0x12b1 0x1273 96 ecx = 0 0x1275 97 edx = 0 0x1277 98 goto 110 @ 0x1360 0x1222 99 xmm0 = [0x2030].q 0x122d 100 if (eax s> 0x47) then 71 @ 0x1250 else 113 @ 0x122f 0x12bd 101 rdi = rdi & 0xfffffffffffffffc 0x12c1 102 xmm0 = 0 0x12c5 103 esi = 0 0x12c7 104 xmm1 = 0 0x12cb 105 goto 115 @ 0x12d0 0x12b1 106 xmm0 = 0 0x12b5 107 esi = 0 0x12b7 108 xmm1 = 0 0x12bb 109 goto 127 @ 0x1310 0x1360 110 edx = edx + [rsp + (rcx << 2) + 0x10].d 0x1364 111 rcx = rcx + 1 0x136b 112 if (rax != rcx) then 110 @ 0x1360 else 128 @ 0x136d 0x122f 113 xmm0 = [0x2038].q 0x123a 114 if (eax s> 0x43) then 71 @ 0x1250 else 131 @ 0x123c 0x12d0 115 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x10].o) 0x12d6 116 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x20].o) 0x12dc 117 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x30].o) 0x12e2 118 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x40].o) 0x12e8 119 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x50].o) 0x12ee 120 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x60].o) 0x12f4 121 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x70].o) 0x12fa 122 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x80].o) 0x1303 123 rsi = rsi + 0x20 0x1307 124 temp0.q = rdi 0x1307 125 rdi = rdi - 4 0x130b 126 if (temp0.q != 4) then 115 @ 0x12d0 else 127 @ 0x1310 0x1310 127 if (rdx == 0) then 133 @ 0x1334 else 140 @ 0x1312 0x136d 128 xmm1 = 0 0x1370 129 xmm1.q = float.d(edx) 0x1377 130 if (eax == 1) then 21 @ 0x128b else 17 @ 0x137d 0x123c 131 xmm0 = [0x2040].q 0x1247 132 if (eax s< 0x40) then 75 @ 0x1256 else 145 @ 0x1249 0x1334 133 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1338 134 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x133d 135 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1341 136 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1346 137 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x134a 138 edx = xmm0.d 0x1351 139 if (rcx == rax) then 128 @ 0x136d else 146 @ 0x135d 0x1312 140 rsi = rsp + (rsi << 2) 0x1316 141 rsi = rsi + 0x20 0x131a 142 rdx = rdx << 5 0x131e 143 edi = 0 0x131e 144 goto 147 @ 0x1320 0x1249 145 goto 71 @ 0x1250 0x135d 146 goto 110 @ 0x1360 0x1320 147 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + rdi - 0x10].o) 0x1326 148 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + rdi].o) 0x132b 149 rdi = rdi + 0x20 0x1332 150 if (rdx != rdi) then 147 @ 0x1320 else 133 @ 0x1334 int64_t _fini(): 0x1404 0 rsp = rsp - 8 0x1408 1 rsp = rsp + 8 0x140c 2 <return> jump(pop)
POJ_83