text
stringlengths
4
256k
label
stringclasses
104 values
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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\t"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r12) 0x1156 3 push(rbx) 0x1157 4 rsp = rsp - 0x988 0x115e 5 rdi = 0x2021 {"%d"} 0x1165 6 rsi = rsp + 0xc {var_99c} 0x116a 7 eax = 0 0x116c 8 call(0x1040) 0x1171 9 eax = [rsp + 0xc {var_99c}].d 0x1177 10 if (eax s<= 0) then 11 @ 0x11bc else 13 @ 0x1179 0x11bc 11 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11bc 12 goto 18 @ 0x11c0 0x1179 13 rbx = rsp + 0x20 {var_988} 0x117e 14 r14 = 0x2021 {"%d"} 0x1185 15 r12d = 0 0x1188 16 r15d = 0 0x118b 17 goto 27 @ 0x1190 0x11c0 18 xmm1.q = float.d(eax) 0x11c4 19 xmm0.q = xmm0.q f/ xmm1.q 0x11c8 20 xmm0.d = fconvert.s(xmm0.q) 0x11cc 21 xmm1 = 0 0x11cf 22 xmm1.d = float.s([rsp + 0x20 {var_988}].d) 0x11d5 23 xmm1.d = xmm1.d f- xmm0.d 0x11d9 24 xmm1 = __andps_xmmxud_memxud(xmm1, [0x2010].o) 0x11e0 25 ecx = eax 0x11e4 26 if (eax s<= 0) then 37 @ 0x121b else 39 @ 0x11e6 0x1190 27 rdi = r14 0x1193 28 rsi = rbx 0x1196 29 eax = 0 0x1198 30 call(0x1040) 0x119d 31 rax = sx.q([rbx].d) 0x11a0 32 r15 = r15 + rax 0x11a3 33 r12 = r12 + 1 0x11a7 34 rax = sx.q([rsp + 0xc {var_99c}].d) 0x11ac 35 rbx = rbx + 4 0x11b3 36 if (r12 s< rax) then 27 @ 0x1190 else 42 @ 0x11b5 0x121b 37 xmm3 = xmm1 0x121b 38 goto 44 @ 0x121e 0x11e6 39 edx = 0 0x11e8 40 xmm2 = [0x2010].o 0x11ef 41 goto 47 @ 0x11f0 0x11b5 42 xmm0.q = float.d(r15) 0x11ba 43 goto 18 @ 0x11c0 0x121e 44 cond:0 = eax s<= 0 0x1220 45 [rsp + 0x10 {var_998}].o = xmm3 0x1225 46 if (cond:0) then 56 @ 0x124f else 57 @ 0x1227 0x11f0 47 xmm3 = 0 0x11f3 48 xmm3.d = float.s([rsp + (rdx << 2) + 0x20].d) 0x11f9 49 xmm3.d = xmm3.d f- xmm0.d 0x11fd 50 xmm3 = _mm_and_ps(xmm3, xmm2) 0x1200 51 [rsp + (rdx << 2) + 0x4d0].d = xmm3.d 0x1209 52 xmm3 = _mm_max_ss(xmm3.d, xmm1.d) 0x120d 53 rdx = rdx + 1 0x1211 54 xmm1 = xmm3 0x1217 55 if (rcx != rdx) then 47 @ 0x11f0 else 59 @ 0x1219 0x124f 56 if (ebx s< [rsp + 0xc {var_99c}].d) then 60 @ 0x1273 else 63 @ 0x1251 0x1227 57 ebx = 0 0x1229 58 goto 64 @ 0x1230 0x1219 59 goto 44 @ 0x121e 0x1273 60 rbx = sx.q(ebx) 0x1276 61 r14 = 0x2020 {",%d"} 0x127d 62 goto 72 @ 0x128e 0x1251 63 goto 80 @ 0x12b3 0x1230 64 xmm0 = [rsp + (rbx << 2) + 0x4d0].d 0x1239 65 flag:p = is_unordered.d(xmm0.d, xmm3.d) 0x1239 66 flag:c = xmm0.d f< xmm3.d | is_unordered.d(xmm0.d, xmm3.d) 0x1239 67 flag:z = xmm0.d f== xmm3.d | is_unordered.d(xmm0.d, xmm3.d) 0x1239 68 flag:s = 0 0x1239 69 flag:o = 0 0x1239 70 flag:a = 0 0x123c 71 if (not(flag:z)) then 86 @ 0x1240 else 88 @ 0x123e 0x128e 72 xmm0 = [rsp + (rbx << 2) + 0x4d0].d 0x1297 73 flag:p = is_unordered.d(xmm0.d, xmm3.d) 0x1297 74 flag:c = xmm0.d f< xmm3.d | is_unordered.d(xmm0.d, xmm3.d) 0x1297 75 flag:z = xmm0.d f== xmm3.d | is_unordered.d(xmm0.d, xmm3.d) 0x1297 76 flag:s = 0 0x1297 77 flag:o = 0 0x1297 78 flag:a = 0 0x129a 79 if (not(flag:z)) then 89 @ 0x1280 else 92 @ 0x129c 0x12b3 80 rsp = rsp + 0x988 0x12ba 81 rbx = pop 0x12bb 82 r12 = pop 0x12bd 83 r14 = pop 0x12bf 84 r15 = pop 0x12c1 85 <return> jump(pop) 0x1240 86 rbx = rbx + 1 0x1247 87 if (rcx != rbx) then 64 @ 0x1230 else 93 @ 0x1249 0x123e 88 if (not(flag:p)) then 94 @ 0x1253 else 86 @ 0x1240 0x1280 89 rbx = rbx + 1 0x1284 90 rax = sx.q([rsp + 0xc {var_99c}].d) 0x128c 91 if (rbx s>= rax) then 80 @ 0x12b3 else 72 @ 0x128e 0x129c 92 if (flag:p) then 89 @ 0x1280 else 101 @ 0x129e 0x1249 93 goto 56 @ 0x124f 0x1253 94 esi = [rsp + (rbx << 2) + 0x20].d 0x1257 95 rdi = 0x2021 {"%d"} 0x125e 96 eax = 0 0x1260 97 call(0x1030) 0x1265 98 xmm3 = [rsp + 0x10 {var_998}].o 0x126a 99 ebx = ebx + 1 0x1271 100 if (ebx s>= [rsp + 0xc {var_99c}].d) then 80 @ 0x12b3 else 60 @ 0x1273 0x129e 101 esi = [rsp + (rbx << 2) + 0x20].d 0x12a2 102 rdi = r14 0x12a5 103 eax = 0 0x12a7 104 call(0x1030) 0x12ac 105 xmm3 = [rsp + 0x10 {var_998}].o 0x12b1 106 goto 89 @ 0x1280 int64_t _fini(): 0x12c8 0 rsp = rsp - 8 0x12cc 1 rsp = rsp + 8 0x12d0 2 <return> jump(pop)
POJ_21
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 0x2007 {"%d"} 0x1166 5 rsi = rbp - 0x10 {var_18} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1171 8 [rbp - 0xc {var_14}].d = -0x2710 0x1178 9 [rbp - 8 {var_10}].d = -0x2710 0x1178 10 goto 11 @ 0x117f 0x117f 11 eax = [rbp - 0x10 {var_18}].d 0x1182 12 ecx = eax 0x1184 13 ecx = ecx - 1 0x1187 14 [rbp - 0x10 {var_18}].d = ecx 0x118d 15 if (eax s<= 0) then 16 @ 0x11fa else 25 @ 0x1193 0x11fa 16 esi = [rbp - 8 {var_10}].d 0x11fd 17 edx = [rbp - 0xc {var_14}].d 0x1200 18 rdi = 0x2004 {"%d\n%d"} 0x1207 19 al = 0 0x1209 20 call(0x1030) 0x120e 21 eax = 0 0x1210 22 rsp = rsp + 0x20 0x1214 23 rbp = pop 0x1215 24 <return> jump(pop) 0x1193 25 rdi = 0x2007 {"%d"} 0x119a 26 rsi = rbp - 0x14 {var_1c} 0x119e 27 al = 0 0x11a0 28 call(0x1040) 0x11a5 29 eax = [rbp - 0x14 {var_1c}].d 0x11ab 30 if (eax s<= [rbp - 8 {var_10}].d) then 31 @ 0x11c2 else 33 @ 0x11b1 0x11c2 31 eax = [rbp - 0x14 {var_1c}].d 0x11c8 32 if (eax != [rbp - 8 {var_10}].d) then 38 @ 0x11d9 else 40 @ 0x11ce 0x11b1 33 eax = [rbp - 8 {var_10}].d 0x11b4 34 [rbp - 0xc {var_14}].d = eax 0x11b7 35 eax = [rbp - 0x14 {var_1c}].d 0x11ba 36 [rbp - 8 {var_10}].d = eax 0x11bd 37 goto 43 @ 0x11f5 0x11d9 38 eax = [rbp - 0x14 {var_1c}].d 0x11df 39 if (eax s<= [rbp - 0xc {var_14}].d) then 44 @ 0x11eb else 45 @ 0x11e5 0x11ce 40 eax = [rbp - 8 {var_10}].d 0x11d1 41 [rbp - 0xc {var_14}].d = eax 0x11d4 42 goto 48 @ 0x11f0 0x11f5 43 goto 11 @ 0x117f 0x11eb 44 goto 48 @ 0x11f0 0x11e5 45 eax = [rbp - 0x14 {var_1c}].d 0x11e8 46 [rbp - 0xc {var_14}].d = eax 0x11e8 47 goto 44 @ 0x11eb 0x11f0 48 goto 43 @ 0x11f5 int64_t _fini(): 0x121c 0 rsp = rsp - 8 0x1220 1 rsp = rsp + 8 0x1224 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 {"HH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 rsp = rsp - 0x18 0x1154 1 rdi = 0x2004 {"%d"} 0x115b 2 rsi = rsp + 0x14 {var_4} 0x1160 3 eax = 0 0x1162 4 call(0x1040) 0x1167 5 rax = sx.q([rsp + 0x14 {var_4}].d) 0x116c 6 rsi = rax * 0x51eb851f 0x1173 7 rcx = rsi 0x1176 8 rcx = rcx u>> 0x3f 0x117a 9 rsi = rsi s>> 0x25 0x117e 10 esi = esi + ecx 0x1180 11 ecx = esi * 0x64 0x1183 12 eax = eax - ecx 0x1185 13 rax = sx.q(eax) 0x1187 14 rdx = rax * 0x51eb851f 0x118e 15 rcx = rdx 0x1191 16 rcx = rcx u>> 0x3f 0x1195 17 rdx = rdx s>> 0x24 0x1199 18 edx = edx + ecx 0x119b 19 ecx = edx * 0x32 0x119e 20 eax = eax - ecx 0x11a0 21 rax = sx.q(eax) 0x11a2 22 rcx = rax * 0x66666667 0x11a9 23 rdi = rcx 0x11ac 24 rdi = rdi u>> 0x3f 0x11b0 25 rcx = rcx s>> 0x23 0x11b4 26 ecx = ecx + edi 0x11b6 27 edi = (rcx << 2).d 0x11bd 28 edi = (rdi + (rdi << 2)).d 0x11c0 29 eax = eax - edi 0x11c2 30 rax = sx.q(eax) 0x11c4 31 r8 = rax * 0x66666667 0x11cb 32 rdi = r8 0x11ce 33 rdi = rdi u>> 0x3f 0x11d2 34 r8 = r8 s>> 0x22 0x11d6 35 r8d = r8d + edi 0x11d9 36 edi = (r8 + r8).d 0x11dd 37 edi = (rdi + (rdi << 2)).d 0x11e0 38 eax = eax - edi 0x11e2 39 rax = sx.q(eax) 0x11e4 40 r9 = rax * 0x66666667 0x11eb 41 rdi = r9 0x11ee 42 rdi = rdi u>> 0x3f 0x11f2 43 r9 = r9 s>> 0x21 0x11f6 44 r9d = r9d + edi 0x11f9 45 edi = (r9 + (r9 << 2)).d 0x11fd 46 eax = eax - edi 0x11ff 47 [rsp {var_18}].d = eax 0x1202 48 rdi = 0x2007 {"%d\n%d\n%d\n%d\n%d\n%d\n"} 0x1209 49 eax = 0 0x120b 50 call(0x1030) 0x1210 51 eax = 0 0x1212 52 rsp = rsp + 0x18 0x1216 53 <return> jump(pop) int64_t _fini(): 0x121c 0 rsp = rsp - 8 0x1220 1 rsp = rsp + 8 0x1224 2 <return> jump(pop)
POJ_97
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHAWAVAUATSHHH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp 0x1164 2 push(r15) 0x1166 3 push(r14) 0x1168 4 push(r13) 0x116a 5 push(r12) 0x116c 6 push(rbx) 0x116d 7 rsp = rsp - 0x48 0x1171 8 rdi = 0x2004 {"%d%d"} 0x1178 9 rsi = rbp - 0x30 {var_38} 0x117c 10 rdx = rbp - 0x2c {var_34} 0x1180 11 eax = 0 0x1182 12 call(0x1040) 0x1187 13 [rbp - 0x58 {var_60}].q = rsp {var_78} 0x118b 14 eax = [rbp - 0x30 {var_38}].d 0x118e 15 edx = [rbp - 0x2c {var_34}].d 0x1191 16 rcx = rdx 0x1194 17 [rbp - 0x40 {var_48}].q = rdx 0x1198 18 rax = rax * rdx 0x119c 19 rax = (rax << 2) + 0xf 0x11a4 20 rax = rax & 0xfffffffffffffff0 0x11a8 21 rcx = rsp {var_78} 0x11ab 22 rcx = rcx - rax 0x11ae 23 [rbp - 0x38 {var_40}].q = rcx 0x11b2 24 rsp = rcx 0x11b9 25 if ([rbp - 0x30 {var_38}].d s<= 0) then 26 @ 0x1220 else 31 @ 0x11bb 0x1220 26 r10 = [rbp - 0x38 {var_40}].q 0x1224 27 eax = [r10].d 0x1227 28 cond:0 = eax s< [r10 + 4].d 0x122b 29 r9 = [rbp - 0x40 {var_48}].q 0x122f 30 if (cond:0) then 38 @ 0x124d else 40 @ 0x1235 0x11bb 31 rax = [rbp - 0x40 {var_48}].q 0x11bf 32 rax = rax << 2 0x11c7 33 [rbp - 0x48 {var_50_1}].q = rax 0x11cb 34 r14 = 0x2006 {"%d"} 0x11d2 35 r12 = [rbp - 0x38 {var_40}].q 0x11d6 36 r13d = 0 0x11d9 37 goto 41 @ 0x11f5 0x124d 38 eax = [rbp - 0x2c {var_34}].d 0x1253 39 if (eax s< 3) then 42 @ 0x12ac else 44 @ 0x1255 0x1235 40 if (eax s< [r10 + (r9 << 2)].d) then 38 @ 0x124d else 48 @ 0x1237 0x11f5 41 if ([rbp - 0x2c {var_34}].d s<= 0) then 54 @ 0x11e0 else 58 @ 0x11f7 0x12ac 42 esi = (rax - 1).d 0x12af 43 goto 61 @ 0x12b5 0x1255 44 r15 = r10 + (r9 << 2) 0x1259 45 ebx = 1 0x125e 46 r14 = 0x2009 {"0 %d\n"} 0x1265 47 goto 65 @ 0x127d 0x1237 48 rdi = 0x201c {"0 0"} 0x123e 49 rbx = r9 0x1241 50 call(0x1050) 0x1246 51 r9 = rbx 0x1249 52 r10 = [rbp - 0x38 {var_40}].q 0x1249 53 goto 38 @ 0x124d 0x11e0 54 r13 = r13 + 1 0x11e4 55 rax = sx.q([rbp - 0x30 {var_38}].d) 0x11e8 56 r12 = r12 + [rbp - 0x48 {var_50_1}].q 0x11ef 57 if (r13 s>= rax) then 26 @ 0x1220 else 41 @ 0x11f5 0x11f7 58 rbx = r12 0x11fa 59 r15d = 0 0x11fd 60 goto 69 @ 0x1200 0x12b5 61 rcx = sx.q(esi) 0x12b8 62 edx = [r10 + (rcx << 2)].d 0x12bc 63 rax = sx.q(eax) 0x12c3 64 if (edx s< [r10 + (rax << 2) - 8].d) then 77 @ 0x12e6 else 79 @ 0x12c5 0x127d 65 rsi = rbx 0x1280 66 eax = [r10 + (rbx << 2)].d 0x1284 67 rbx = rbx + 1 0x128d 68 if (eax s< [r10 + (rsi << 2) + 4].d) then 81 @ 0x1270 else 84 @ 0x1294 0x1200 69 rdi = r14 0x1203 70 rsi = rbx 0x1206 71 eax = 0 0x1208 72 call(0x1040) 0x120d 73 r15 = r15 + 1 0x1211 74 rax = sx.q([rbp - 0x2c {var_34}].d) 0x1215 75 rbx = rbx + 4 0x121c 76 if (r15 s< rax) then 69 @ 0x1200 else 85 @ 0x121e 0x12e6 77 eax = [rbp - 0x30 {var_38}].d 0x12ec 78 if (eax s< 3) then 86 @ 0x1467 else 88 @ 0x12f2 0x12c5 79 rax = r10 + (r9 << 2) 0x12cc 80 if (edx s< [rax + (rcx << 2)].d) then 77 @ 0x12e6 else 95 @ 0x12ce 0x1270 81 rax = sx.q([rbp - 0x2c {var_34}].d) 0x1274 82 rsi = rax - 1 0x127b 83 if (rbx s>= rsi) then 102 @ 0x12b1 else 65 @ 0x127d 0x1294 84 if (eax s< [r10 + (rsi << 2) - 4].d) then 81 @ 0x1270 else 104 @ 0x129a 0x121e 85 goto 54 @ 0x11e0 0x1467 86 esi = (rax - 1).d 0x1467 87 goto 105 @ 0x146a 0x12f2 88 r14 = r10 + (r9 << 2) 0x12f6 89 rax = r9 << 2 0x12fe 90 [rbp - 0x60 {var_68_1}].q = rax 0x1302 91 r13 = r10 + (r9 << 3) 0x1306 92 ecx = 1 0x130b 93 r15 = r10 0x130e 94 goto 109 @ 0x1332 0x12ce 95 rdi = 0x2009 {"0 %d\n"} 0x12d5 96 eax = 0 0x12d7 97 rbx = r9 0x12da 98 call(0x1030) 0x12df 99 r9 = rbx 0x12e2 100 r10 = [rbp - 0x38 {var_40}].q 0x12e2 101 goto 77 @ 0x12e6 0x12b1 102 r9 = [rbp - 0x40 {var_48}].q 0x12b1 103 goto 61 @ 0x12b5 0x129a 104 if (eax s< [r15 + (rsi << 2)].d) then 81 @ 0x1270 else 121 @ 0x129c 0x146a 105 rdx = sx.q(esi) 0x146d 106 rdx = rdx * r9 0x1471 107 ecx = [r10 + (rdx << 2)].d 0x147a 108 if (ecx s< [r10 + (rdx << 2) + 4].d) then 126 @ 0x14a3 else 128 @ 0x147c 0x1332 109 rsi = rcx 0x1335 110 rax = rcx 0x1338 111 rax = rax * r9 0x133c 112 r8 = r10 + (rax << 2) 0x1340 113 eax = [r10 + (rax << 2)].d 0x1344 114 r12 = rcx + 1 0x1348 115 [rbp - 0x68 {var_70_1}].q = r12 0x134c 116 r12 = r12 * r9 0x1350 117 cond:1 = eax s< [r10 + (r12 << 2)].d 0x1354 118 [rbp - 0x48 {var_50_2}].q = rcx 0x1358 119 [rbp - 0x50 {var_58_1}].q = r8 0x135c 120 if (cond:1) then 132 @ 0x13a0 else 134 @ 0x135e 0x129c 121 rdi = r14 0x129f 122 eax = 0 0x12a1 123 call(0x1030) 0x12a6 124 r10 = [rbp - 0x38 {var_40}].q 0x12aa 125 goto 81 @ 0x1270 0x14a3 126 eax = [rbp - 0x2c {var_34}].d 0x14a9 127 if (eax s< 3) then 137 @ 0x1525 else 139 @ 0x14ab 0x147c 128 eax = eax - 2 0x147f 129 rax = sx.q(eax) 0x1481 130 rax = rax * r9 0x1489 131 if (ecx s< [r10 + (rax << 2)].d) then 126 @ 0x14a3 else 143 @ 0x148b 0x13a0 132 eax = [rbp - 0x2c {var_34}].d 0x13a6 133 if (eax s< 3) then 150 @ 0x1400 else 152 @ 0x13a8 0x135e 134 rcx = rsi - 1 0x1362 135 rcx = rcx * r9 0x136a 136 if (eax s< [r10 + (rcx << 2)].d) then 132 @ 0x13a0 else 154 @ 0x1370 0x1525 137 edx = (rax - 1).d 0x1528 138 goto 155 @ 0x152e 0x14ab 139 r15 = r9 << 2 0x14b3 140 ebx = 1 0x14b8 141 r14 = 0x2015 {"%d %d\n"} 0x14bf 142 goto 164 @ 0x14dd 0x148b 143 rdi = 0x200f {"%d 0\n"} 0x1492 144 eax = 0 0x1494 145 rbx = r9 0x1497 146 call(0x1030) 0x149c 147 r9 = rbx 0x149f 148 r10 = [rbp - 0x38 {var_40}].q 0x149f 149 goto 126 @ 0x14a3 0x1400 150 edx = (rax - 1).d 0x1403 151 goto 173 @ 0x1414 0x13a8 152 ebx = 1 0x13ad 153 goto 177 @ 0x13c1 0x1370 154 if (eax s< [r8 + 4].d) then 132 @ 0x13a0 else 179 @ 0x1372 0x152e 155 rcx = sx.q([rbp - 0x30 {var_38}].d) 0x1532 156 rsi = rcx - 1 0x1536 157 rdi = rsi 0x1539 158 rdi = rdi * r9 0x153d 159 rdi = r10 + (rdi << 2) 0x1541 160 r8 = sx.q(edx) 0x1544 161 ebx = [rdi + (r8 << 2)].d 0x1548 162 rax = sx.q(eax) 0x154e 163 if (ebx s< [rdi + (rax << 2) - 8].d) then 188 @ 0x1570 else 198 @ 0x1550 0x14dd 164 rdx = rbx 0x14e0 165 rax = sx.q([rbp - 0x30 {var_38}].d) 0x14e4 166 rsi = rax - 1 0x14e8 167 rdi = r15 0x14eb 168 rdi = rdi * rsi 0x14ef 169 rdi = rdi + r10 0x14f2 170 ecx = [rdi + (rbx << 2)].d 0x14f5 171 rbx = rbx + 1 0x14fd 172 if (ecx s< [rdi + (rdx << 2) + 4].d) then 202 @ 0x14d0 else 205 @ 0x1503 0x1414 173 rdi = r10 + (r12 << 2) 0x1418 174 rbx = sx.q(edx) 0x141b 175 ecx = [r8 + (rbx << 2)].d 0x1422 176 if (ecx s< [rdi + (rbx << 2)].d) then 206 @ 0x1310 else 214 @ 0x1428 0x13c1 177 eax = [r14 + (rbx << 2)].d 0x13c9 178 if (eax s< [r15 + (rbx << 2)].d) then 218 @ 0x13b0 else 222 @ 0x13d0 0x1372 179 rdi = 0x200f {"%d 0\n"} 0x1379 180 eax = 0 0x137b 181 rbx = r9 0x137e 182 call(0x1030) 0x1383 183 r8 = [rbp - 0x50 {var_58_1}].q 0x1387 184 r9 = rbx 0x138a 185 rsi = [rbp - 0x48 {var_50_2}].q 0x138e 186 r10 = [rbp - 0x38 {var_40}].q 0x139c 187 goto 132 @ 0x13a0 0x1570 188 rsp = [rbp - 0x58].q 0x1574 189 eax = 0 0x1576 190 rsp = rbp - 0x28 0x157a 191 rbx = pop 0x157b 192 r12 = pop 0x157d 193 r13 = pop 0x157f 194 r14 = pop 0x1581 195 r15 = pop 0x1583 196 rbp = pop 0x1584 197 <return> jump(pop) 0x1550 198 rcx = rcx - 2 0x1554 199 rcx = rcx * r9 0x1558 200 rax = r10 + (rcx << 2) 0x1560 201 if (ebx s< [rax + (r8 << 2)].d) then 188 @ 0x1570 else 223 @ 0x1562 0x14d0 202 rax = sx.q([rbp - 0x2c {var_34}].d) 0x14d4 203 rdx = rax - 1 0x14db 204 if (rbx s>= rdx) then 227 @ 0x152a else 164 @ 0x14dd 0x1503 205 if (ecx s< [rdi + (rdx << 2) - 4].d) then 202 @ 0x14d0 else 229 @ 0x1505 0x1310 206 rax = sx.q([rbp - 0x30 {var_38}].d) 0x1314 207 rsi = rax - 1 0x1318 208 rcx = [rbp - 0x60 {var_68_1}].q 0x131c 209 r14 = r14 + rcx 0x131f 210 r13 = r13 + rcx 0x1322 211 r15 = r15 + rcx 0x1325 212 rcx = [rbp - 0x68 {var_70_1}].q 0x132c 213 if (rcx s>= rsi) then 105 @ 0x146a else 109 @ 0x1332 0x1428 214 rdi = rsi - 1 0x142c 215 rdi = rdi * r9 0x1430 216 rdi = r10 + (rdi << 2) 0x1437 217 if (ecx s< [rdi + (rbx << 2)].d) then 206 @ 0x1310 else 233 @ 0x143d 0x13b0 218 rbx = rbx + 1 0x13b4 219 rax = sx.q([rbp - 0x2c {var_34}].d) 0x13b8 220 rdx = rax - 1 0x13bf 221 if (rbx s>= rdx) then 235 @ 0x1410 else 177 @ 0x13c1 0x13d0 222 if (eax s< [r13 + (rbx << 2)].d) then 218 @ 0x13b0 else 237 @ 0x13d7 0x1562 223 rdi = 0x2015 {"%d %d\n"} 0x1569 224 eax = 0 0x156b 225 call(0x1030) 0x156b 226 goto 188 @ 0x1570 0x152a 227 r9 = [rbp - 0x40 {var_48}].q 0x152a 228 goto 155 @ 0x152e 0x1505 229 rax = rax - 2 0x1509 230 rax = rax * r15 0x150d 231 rax = rax + r10 0x1513 232 if (ecx s< [rax + (rdx << 2)].d) then 202 @ 0x14d0 else 238 @ 0x1515 0x143d 233 rax = sx.q(eax) 0x1444 234 if (ecx s< [r8 + (rax << 2) - 8].d) then 206 @ 0x1310 else 243 @ 0x144a 0x1410 235 r9 = [rbp - 0x40 {var_48}].q 0x1410 236 goto 173 @ 0x1414 0x13d7 237 if (eax s< [r14 + (rbx << 2) + 4].d) then 218 @ 0x13b0 else 250 @ 0x13de 0x1515 238 rdi = r14 0x1518 239 eax = 0 0x151a 240 call(0x1030) 0x151f 241 r10 = [rbp - 0x38 {var_40}].q 0x1523 242 goto 202 @ 0x14d0 0x144a 243 rdi = 0x2015 {"%d %d\n"} 0x1451 244 eax = 0 0x1453 245 rbx = r9 0x1456 246 call(0x1030) 0x145b 247 r9 = rbx 0x145e 248 r10 = [rbp - 0x38 {var_40}].q 0x1462 249 goto 206 @ 0x1310 0x13de 250 if (eax s< [r14 + (rbx << 2) - 4].d) then 218 @ 0x13b0 else 251 @ 0x13e0 0x13e0 251 rdi = 0x2015 {"%d %d\n"} 0x13e7 252 edx = ebx 0x13e9 253 eax = 0 0x13eb 254 call(0x1030) 0x13f0 255 r8 = [rbp - 0x50 {var_58_1}].q 0x13f4 256 rsi = [rbp - 0x48 {var_50_2}].q 0x13f8 257 r10 = [rbp - 0x38 {var_40}].q 0x13fc 258 goto 218 @ 0x13b0 int64_t _fini(): 0x158c 0 rsp = rsp - 8 0x1590 1 rsp = rsp + 8 0x1594 2 <return> jump(pop)
POJ_72
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t 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 = 0x11c0 {"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) void quicksort(int64_t arg1, int32_t arg2): 0x1163 0 if (esi s< 2) then 1 @ 0x11b3 else 2 @ 0x1165 0x11b3 1 <return> jump(pop) 0x1165 2 r9d = (rsi - 1).d 0x1169 3 goto 4 @ 0x117a 0x117a 4 r8d = esi 0x117d 5 esi = (r8 - 1).d 0x1181 6 edx = 0 0x1183 7 goto 8 @ 0x1198 0x1198 8 r10d = [rdi + (rdx << 2)].d 0x119c 9 eax = [rdi + (rdx << 2) + 4].d 0x11a0 10 rcx = rdx + 1 0x11a7 11 if (r10d s>= eax) then 12 @ 0x1190 else 14 @ 0x11a9 0x1190 12 rdx = rcx 0x1196 13 if (r9 == rcx) then 17 @ 0x1170 else 8 @ 0x1198 0x11a9 14 [rdi + (rdx << 2)].d = eax 0x11ac 15 [rdi + (rdx << 2) + 4].d = r10d 0x11b1 16 goto 12 @ 0x1190 0x1170 17 r9 = r9 - 1 0x1178 18 if (r8d s< 3) then 1 @ 0x11b3 else 4 @ 0x117a int32_t main(int32_t argc, char** argv, char** envp): 0x11c0 0 push(rbp) 0x11c1 1 push(r15) 0x11c3 2 push(r14) 0x11c5 3 push(r13) 0x11c7 4 push(r12) 0x11c9 5 push(rbx) 0x11ca 6 rsp = rsp - 0x1f68 0x11d1 7 rdi = 0x2004 {"%d"} 0x11d8 8 rsi = rsp + 0xc {var_1f8c} 0x11dd 9 eax = 0 0x11df 10 call(0x1050) 0x11e9 11 if ([rsp + 0xc {var_1f8c}].d == 0) then 12 @ 0x13f7 else 25 @ 0x11ef 0x13f7 12 eax = 0 0x13f9 13 call(0x1040) 0x13fe 14 eax = 0 0x1400 15 call(0x1040) 0x1405 16 eax = 0 0x1407 17 rsp = rsp + 0x1f68 0x140e 18 rbx = pop 0x140f 19 r12 = pop 0x1411 20 r13 = pop 0x1413 21 r14 = pop 0x1415 22 r15 = pop 0x1417 23 rbp = pop 0x1418 24 <return> jump(pop) 0x11ef 25 r12 = 0x2004 {"%d"} 0x11f6 26 r14 = 0x2007 {"%d\n"} 0x11fd 27 r15 = rsp + 0xc {var_1f8c} 0x1202 28 goto 29 @ 0x1239 0x1239 29 if ([rsp + 0xc {var_1f8c}].d s<= 0) then 30 @ 0x126f else 32 @ 0x123b 0x126f 30 r8d = [rsp + 0xc {var_1f8c}].d 0x1277 31 if (r8d s<= 0) then 35 @ 0x12a3 else 36 @ 0x1279 0x123b 32 rbx = rsp + 0xfc0 {var_fd8} 0x1243 33 r13d = 0 0x1246 34 goto 39 @ 0x1250 0x12a3 35 if (r8d s< 2) then 47 @ 0x1373 else 48 @ 0x12a9 0x1279 36 rbx = rsp + 0x10 {var_1f88} 0x127e 37 ebp = 0 0x127e 38 goto 52 @ 0x1280 0x1250 39 rdi = r12 0x1253 40 rsi = rbx 0x1256 41 eax = 0 0x1258 42 call(0x1050) 0x125d 43 r13 = r13 + 1 0x1261 44 rax = sx.q([rsp + 0xc {var_1f8c}].d) 0x1266 45 rbx = rbx + 4 0x126d 46 if (r13 s< rax) then 39 @ 0x1250 else 30 @ 0x126f 0x1373 47 if (r8d s<= 0) then 60 @ 0x1210 else 62 @ 0x1379 0x12a9 48 ecx = (r8 - 1).d 0x12ad 49 rdx = rcx 0x12b0 50 esi = r8d 0x12b3 51 goto 68 @ 0x12ce 0x1280 52 rdi = r12 0x1283 53 rsi = rbx 0x1286 54 eax = 0 0x1288 55 call(0x1050) 0x128d 56 rbp = rbp + 1 0x1291 57 r8 = sx.q([rsp + 0xc {var_1f8c}].d) 0x1296 58 rbx = rbx + 4 0x129d 59 if (rbp s< r8) then 52 @ 0x1280 else 35 @ 0x12a3 0x1210 60 esi = 0 0x1210 61 goto 70 @ 0x1212 0x1379 62 ecx = (r8 - 1).d 0x137d 63 esi = 0 0x137f 64 edx = 0 0x1381 65 edi = ecx 0x1383 66 r9d = 0 0x1386 67 goto 78 @ 0x13a6 0x12ce 68 edi = 0 0x12d0 69 goto 84 @ 0x12e8 0x1212 70 rdi = r14 0x1215 71 eax = 0 0x1217 72 call(0x1030) 0x121c 73 rdi = r12 0x121f 74 rsi = r15 {var_1f8c} 0x1222 75 eax = 0 0x1224 76 call(0x1050) 0x122e 77 if ([rsp + 0xc {var_1f8c}].d == 0) then 12 @ 0x13f7 else 29 @ 0x1239 0x13a6 78 rax = sx.q(edi) 0x13a9 79 ebp = [rsp + (rax << 2) + 0xfc0].d 0x13b0 80 rax = sx.q(ecx) 0x13b3 81 temp0.d = [rsp + (rax << 2) + 0x10].d 0x13b3 82 cond:0 = ebp s< temp0.d 0x13b7 83 if (ebp s> temp0.d) then 88 @ 0x1390 else 94 @ 0x13b9 0x12e8 84 ebx = [rsp + (rdi << 2) + 0xfc0].d 0x12ef 85 eax = [rsp + (rdi << 2) + 0xfc4].d 0x12f6 86 rbp = rdi + 1 0x12fc 87 if (ebx s>= eax) then 95 @ 0x12e0 else 97 @ 0x12fe 0x1390 88 esi = esi + 0xc8 0x1396 89 edi = edi - 1 0x1399 90 ecx = ecx - 1 0x139c 91 temp1.d = r8d 0x139c 92 r8d = r8d - 1 0x13a0 93 if (temp1.d == 1) then 70 @ 0x1212 else 78 @ 0x13a6 0x13b9 94 if (cond:0) then 100 @ 0x13e0 else 102 @ 0x13bb 0x12e0 95 rdi = rbp 0x12e6 96 if (rdx == rbp) then 106 @ 0x12c0 else 84 @ 0x12e8 0x12fe 97 [rsp + (rdi << 2) + 0xfc0].d = eax 0x1305 98 [rsp + (rdi << 2) + 0xfc4].d = ebx 0x130c 99 goto 95 @ 0x12e0 0x13e0 100 esi = esi - 0xc8 0x13e0 101 goto 111 @ 0x13e6 0x13bb 102 rbx = sx.q(r9d) 0x13be 103 rax = sx.q(edx) 0x13c1 104 eax = [rsp + (rax << 2) + 0x10].d 0x13cc 105 if ([rsp + (rbx << 2) + 0xfc0].d s<= eax) then 113 @ 0x13dc else 114 @ 0x13ce 0x12c0 106 eax = (rsi - 1).d 0x12c3 107 rdx = rdx - 1 0x12c7 108 cond:1 = esi s< 3 0x12ca 109 esi = eax 0x12cc 110 if (cond:1) then 117 @ 0x1314 else 68 @ 0x12ce 0x13e6 111 edi = edi - 1 0x13e6 112 goto 118 @ 0x13e9 0x13dc 113 if (ebp s>= eax) then 111 @ 0x13e6 else 122 @ 0x13de 0x13ce 114 esi = esi + 0xc8 0x13d4 115 r9d = r9d + 1 0x13d8 116 goto 118 @ 0x13e9 0x1314 117 if (r8d s< 2) then 47 @ 0x1373 else 123 @ 0x1316 0x13e9 118 edx = edx + 1 0x13ec 119 temp2.d = r8d 0x13ec 120 r8d = r8d - 1 0x13f0 121 if (temp2.d != 1) then 78 @ 0x13a6 else 125 @ 0x13f2 0x13de 122 goto 100 @ 0x13e0 0x1316 123 edx = r8d 0x1319 124 goto 126 @ 0x132e 0x13f2 125 goto 70 @ 0x1212 0x132e 126 esi = 0 0x1330 127 goto 128 @ 0x1348 0x1348 128 ebp = [rsp + (rsi << 2) + 0x10].d 0x134c 129 eax = [rsp + (rsi << 2) + 0x14].d 0x1350 130 rdi = rsi + 1 0x1356 131 if (ebp s>= eax) then 132 @ 0x1340 else 134 @ 0x1358 0x1340 132 rsi = rdi 0x1346 133 if (rcx == rdi) then 137 @ 0x1320 else 128 @ 0x1348 0x1358 134 [rsp + (rsi << 2) + 0x10].d = eax 0x135c 135 [rsp + (rsi << 2) + 0x14].d = ebp 0x1360 136 goto 132 @ 0x1340 0x1320 137 eax = (rdx - 1).d 0x1323 138 rcx = rcx - 1 0x1327 139 cond:2 = edx s< 3 0x132a 140 edx = eax 0x132c 141 if (cond:2) then 47 @ 0x1373 else 126 @ 0x132e int64_t _fini(): 0x1420 0 rsp = rsp - 8 0x1424 1 rsp = rsp + 8 0x1428 2 <return> jump(pop)
POJ_92
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x7e8 0x116e 5 rdi = 0x2004 {"%d"} 0x1175 6 rsi = rsp + 8 {var_800} 0x117a 7 eax = 0 0x117c 8 call(0x1040) 0x1186 9 if ([rsp + 8 {var_800}].d s<= 0) then 10 @ 0x12d8 else 17 @ 0x118c 0x12d8 10 eax = 0 0x12da 11 rsp = rsp + 0x7e8 0x12e1 12 rbx = pop 0x12e2 13 r12 = pop 0x12e4 14 r14 = pop 0x12e6 15 r15 = pop 0x12e8 16 <return> jump(pop) 0x118c 17 r14 = 0x2004 {"%d"} 0x1193 18 r15 = rsp + 0xc {var_7fc} 0x1198 19 ebx = 0 0x119a 20 r12d = 0 0x119d 21 goto 22 @ 0x11a9 0x11a9 22 rdi = r14 0x11ac 23 rsi = r15 {var_7fc} 0x11af 24 eax = 0 0x11b1 25 call(0x1040) 0x11b6 26 eax = [rsp + 0xc {var_7fc}].d 0x11bc 27 if ((al & 1) == 0) then 28 @ 0x11a0 else 30 @ 0x11be 0x11a0 28 ebx = ebx + 1 0x11a7 29 if (ebx s>= [rsp + 8 {var_800}].d) then 34 @ 0x11cf else 22 @ 0x11a9 0x11be 30 r12 = sx.q(r12d) 0x11c1 31 [rsp + (r12 << 2) + 0x10].d = eax 0x11c6 32 r12d = r12d + 1 0x11ca 33 goto 28 @ 0x11a0 0x11cf 34 if (r12d s<= 0) then 10 @ 0x12d8 else 35 @ 0x11d5 0x11d5 35 r10d = (r12 - 1).d 0x11da 36 r9d = 1 0x11e0 37 ecx = 0 0x11e2 38 goto 39 @ 0x120a 0x120a 39 if (r12d s<= r9d) then 40 @ 0x11f0 else 46 @ 0x120c 0x11f0 40 eax = (r9 + 1).d 0x11f4 41 ecx = ecx + 1 0x11f7 42 r10d = r10d - 1 0x11fb 43 cond:0 = r9d == r12d 0x11fe 44 r9d = eax 0x1201 45 if (cond:0) then 51 @ 0x1295 else 39 @ 0x120a 0x120c 46 r8d = ecx 0x120f 47 r8d = not.d(r8d) 0x1212 48 r8d = r8d + r12d 0x1215 49 ebx = [rsp + 0x10 {var_7f8}].d 0x121d 50 if (r8d != 1) then 52 @ 0x1240 else 56 @ 0x121f 0x1295 51 if (r12d s<= 0) then 10 @ 0x12d8 else 58 @ 0x1297 0x1240 52 eax = r10d 0x1243 53 eax = eax & 0xfffffffe 0x1246 54 edi = 0 0x1248 55 goto 63 @ 0x1260 0x121f 56 edx = 0 0x121f 57 goto 65 @ 0x1225 0x1297 58 r15d = (r12 - 1).d 0x129c 59 r12d = r12d 0x129f 60 r14 = 0x2004 {"%d"} 0x12a6 61 ebx = 0 0x12a8 62 goto 66 @ 0x12b9 0x1260 63 edx = [rsp + (rdi << 2) + 0x14].d 0x1266 64 if (ebx s<= edx) then 71 @ 0x1280 else 73 @ 0x1268 0x1225 65 if ((r8b & 1) == 0) then 40 @ 0x11f0 else 76 @ 0x1227 0x12b9 66 esi = [rsp + (rbx << 2) + 0x10].d 0x12bd 67 rdi = r14 0x12c0 68 eax = 0 0x12c2 69 call(0x1030) 0x12ca 70 if (r15 == rbx) then 78 @ 0x12b0 else 80 @ 0x12cc 0x1280 71 ebx = edx 0x1280 72 goto 83 @ 0x1282 0x1268 73 [rsp + (rdi << 2) + 0x14].d = ebx 0x126c 74 [rsp + (rdi << 2) + 0x10].d = edx 0x1270 75 goto 83 @ 0x1282 0x1227 76 eax = [rsp + (rdx << 2) + 0x14].d 0x122d 77 if (ebx s<= eax) then 40 @ 0x11f0 else 86 @ 0x122f 0x12b0 78 rbx = rbx + 1 0x12b7 79 if (r12 == rbx) then 10 @ 0x12d8 else 66 @ 0x12b9 0x12cc 80 edi = 0x2c {""} 0x12d1 81 call(0x1050) 0x12d6 82 goto 78 @ 0x12b0 0x1282 83 rdx = rdi + 2 0x1286 84 esi = [rsp + (rdi << 2) + 0x18].d 0x128c 85 if (ebx s> esi) then 89 @ 0x1250 else 92 @ 0x128e 0x122f 86 [rsp + (rdx << 2) + 0x14].d = ebx 0x1233 87 [rsp + (rdx << 2) + 0x10].d = eax 0x1237 88 goto 40 @ 0x11f0 0x1250 89 [rsp + (rdi << 2) + 0x18].d = ebx 0x1254 90 [rsp + (rdi << 2) + 0x14].d = esi 0x1254 91 goto 94 @ 0x1258 0x128e 92 ebx = esi 0x1290 93 goto 94 @ 0x1258 0x1258 94 rdi = rdx 0x125e 95 if (rax == rdx) then 65 @ 0x1225 else 63 @ 0x1260 int64_t _fini(): 0x12f0 0 rsp = rsp - 8 0x12f4 1 rsp = rsp + 8 0x12f8 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 {"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 - 0xb8 0x115e 5 rdi = 0x2007 {"%d"} 0x1165 6 rsi = rsp + 0xc {var_cc} 0x116a 7 eax = 0 0x116c 8 call(0x1040) 0x1176 9 if ([rsp + 0xc {var_cc}].d s<= 0) then 10 @ 0x11f7 else 17 @ 0x1178 0x11f7 10 eax = 0 0x11f9 11 rsp = rsp + 0xb8 0x1200 12 rbx = pop 0x1201 13 r12 = pop 0x1203 14 r14 = pop 0x1205 15 r15 = pop 0x1207 16 <return> jump(pop) 0x1178 17 r14 = rsp + 0x10 {var_c8} 0x117d 18 r12 = rsp + 0x60 {var_78} 0x1182 19 r15 = 0x2004 {"%d %d"} 0x1189 20 ebx = 0 0x118b 21 goto 22 @ 0x1190 0x1190 22 rdi = r15 0x1193 23 rsi = r12 0x1196 24 rdx = r14 0x1199 25 eax = 0 0x119b 26 call(0x1040) 0x11a0 27 rbx = rbx + 1 0x11a4 28 rax = sx.q([rsp + 0xc {var_cc}].d) 0x11a9 29 r14 = r14 + 4 0x11ad 30 r12 = r12 + 4 0x11b4 31 if (rbx s< rax) then 22 @ 0x1190 else 32 @ 0x11b8 0x11b8 32 if (eax s<= 0) then 10 @ 0x11f7 else 33 @ 0x11ba 0x11ba 33 r14 = 0x200a {"%d\n"} 0x11c1 34 ebx = 0 0x11cd 35 goto 36 @ 0x11d0 0x11d0 36 edi = [rsp + (rbx << 2) + 0x60].d 0x11d4 37 esi = [rsp + (rbx << 2) + 0x10].d 0x11d8 38 call(0x1210) 0x11dd 39 rdi = r14 0x11e0 40 esi = eax 0x11e2 41 eax = 0 0x11e4 42 call(0x1030) 0x11e9 43 rbx = rbx + 1 0x11ed 44 rax = sx.q([rsp + 0xc {var_cc}].d) 0x11f5 45 if (rbx s< rax) then 36 @ 0x11d0 else 10 @ 0x11f7 uint64_t k(int32_t arg1, int32_t arg2): 0x1210 0 push(rbp) 0x1211 1 push(r15) 0x1213 2 push(r14) 0x1215 3 push(rbx) 0x1216 4 push(rax) 0x1217 5 temp0.d = edi 0x1217 6 cond:0 = temp0.d == 0 0x1219 7 if (temp0.d s< 0) then 8 @ 0x1266 else 10 @ 0x121b 0x1266 8 eax = 0 0x1266 9 goto 12 @ 0x1268 0x121b 10 eax = 1 0x1220 11 if (cond:0) then 12 @ 0x1268 else 18 @ 0x1222 0x1268 12 rsp = rsp + 8 0x126c 13 rbx = pop 0x126d 14 r14 = pop 0x126f 15 r15 = pop 0x1271 16 rbp = pop 0x1272 17 <return> jump(pop) 0x1222 18 ebx = esi 0x1227 19 if (esi == 1) then 12 @ 0x1268 else 20 @ 0x1229 0x1229 20 r14d = edi 0x122c 21 ebp = edi 0x122e 22 ebp = ebp - ebx 0x1230 23 eax = 0 0x123c 24 goto 25 @ 0x1240 0x1240 25 r15d = eax 0x1243 26 edi = ebp 0x1245 27 esi = ebx 0x1247 28 call(0x1210) 0x124c 29 eax = eax + r15d 0x1252 30 if (r14d == 0) then 31 @ 0x1261 else 33 @ 0x1254 0x1261 31 eax = eax + 1 0x1264 32 goto 12 @ 0x1268 0x1254 33 ecx = (rbx - 1).d 0x1257 34 ebp = ebp + 1 0x125a 35 cond:1 = ebx != 2 0x125d 36 ebx = ecx 0x125f 37 if (cond:1) then 25 @ 0x1240 else 31 @ 0x1261 int64_t _fini(): 0x1278 0 rsp = rsp - 8 0x127c 1 rsp = rsp + 8 0x1280 2 <return> jump(pop)
POJ_90
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVAUATSH`L5"} 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 - 0x60 0x115d 6 r14 = 0x2004 {"%d"} 0x1164 7 r12 = rsp + 0xc {var_7c} 0x1169 8 r15 = 0x2007 {"%d\n"} 0x1170 9 goto 10 @ 0x1195 0x1195 10 rdi = r14 0x1198 11 rsi = r12 {var_7c} 0x119b 12 eax = 0 0x119d 13 call(0x1040) 0x11a2 14 eax = [rsp + 0xc {var_7c}].d 0x11a6 15 ecx = (rax + 1).d 0x11ac 16 if (ecx u< 2) then 17 @ 0x1180 else 19 @ 0x11ae 0x1180 17 esi = 0 0x1185 18 if (eax == -1) then 22 @ 0x12d0 else 30 @ 0x118b 0x11ae 19 ecx = 1 0x11b3 20 r13d = 0 0x11b6 21 goto 34 @ 0x11c0 0x12d0 22 eax = 0 0x12d2 23 rsp = rsp + 0x60 0x12d6 24 rbx = pop 0x12d7 25 r12 = pop 0x12d9 26 r13 = pop 0x12db 27 r14 = pop 0x12dd 28 r15 = pop 0x12df 29 <return> jump(pop) 0x118b 30 rdi = r15 0x118e 31 eax = 0 0x1190 32 call(0x1030) 0x1190 33 goto 10 @ 0x1195 0x11c0 34 ebx = ecx 0x11c2 35 [rsp + (r13 << 2) + 0x10].d = eax 0x11c7 36 r13 = r13 + 1 0x11cb 37 rdi = r14 0x11ce 38 rsi = r12 {var_7c} 0x11d1 39 eax = 0 0x11d3 40 call(0x1040) 0x11d8 41 eax = [rsp + 0xc {var_7c}].d 0x11dc 42 edx = (rax + 1).d 0x11df 43 ecx = (rbx + 1).d 0x11e5 44 if (edx u> 1) then 34 @ 0x11c0 else 45 @ 0x11ea 0x11ea 45 if (eax == -1) then 22 @ 0x12d0 else 46 @ 0x11f3 0x11f3 46 if (r13d == 0) then 47 @ 0x12c9 else 49 @ 0x11f9 0x12c9 47 esi = 0 0x12cb 48 goto 30 @ 0x118b 0x11f9 49 r9d = r13d 0x11fc 50 r13d = r13d & 7 0x1200 51 r8 = r9 0x1203 52 r8 = r8 - r13 0x1206 53 edx = ebx 0x1208 54 ebx = ebx & 7 0x120b 55 rdi = rdx 0x120e 56 rdi = rdi - rbx 0x1211 57 r10d = 0 0x1214 58 esi = 0 0x1216 59 goto 60 @ 0x122d 0x122d 60 eax = [rsp + (r10 << 2) + 0x10].d 0x1232 61 eax = eax + eax 0x1238 62 if (r9d u>= 8) then 63 @ 0x1240 else 69 @ 0x123a 0x1240 63 xmm0 = esi 0x1244 64 xmm1 = eax 0x1248 65 xmm2 = _mm_shuffle_epi32(xmm1, 0) 0x124d 66 xmm1 = 0 0x1251 67 esi = 0 0x125d 68 goto 71 @ 0x1260 0x123a 69 ebx = 0 0x123c 70 goto 79 @ 0x12b0 0x1260 71 xmm3 = [rsp + (rsi << 2) + 0x10].o 0x1266 72 xmm3 = _mm_cmpeq_epi32(xmm3, xmm2) 0x126a 73 xmm0 = _mm_sub_epi32(xmm0, xmm3) 0x126e 74 xmm3 = [rsp + (rsi << 2) + 0x20].o 0x1274 75 xmm3 = _mm_cmpeq_epi32(xmm3, xmm2) 0x1278 76 xmm1 = _mm_sub_epi32(xmm1, xmm3) 0x127c 77 rsi = rsi + 8 0x1283 78 if (rdi != rsi) then 71 @ 0x1260 else 84 @ 0x1285 0x12b0 79 ecx = 0 0x12b6 80 cl = [rsp + (rbx << 2) + 0x10].d == eax 0x12b9 81 esi = esi + ecx 0x12bb 82 rbx = rbx + 1 0x12c2 83 if (rdx != rbx) then 79 @ 0x12b0 else 92 @ 0x12c4 0x1285 84 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1289 85 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x128e 86 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1292 87 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1297 88 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x129b 89 esi = xmm1.d 0x129f 90 rbx = r8 0x12a5 91 if (r13 == 0) then 93 @ 0x1220 else 95 @ 0x12ab 0x12c4 92 goto 93 @ 0x1220 0x1220 93 r10 = r10 + 1 0x1227 94 if (r10 == r9) then 30 @ 0x118b else 60 @ 0x122d 0x12ab 95 goto 79 @ 0x12b0 int64_t _fini(): 0x12e4 0 rsp = rsp - 8 0x12e8 1 rsp = rsp + 8 0x12ec 2 <return> jump(pop)
POJ_12
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 {"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) uint64_t reverse(int32_t arg1): 0x1150 0 edx = edi 0x1152 1 edx = neg.d(edx) 0x1154 2 if (edx s< 0) then 3 else 5 @ 0x1157 0x1154 3 edx = edi 0x1154 4 goto 5 @ 0x1157 0x1157 5 r9d = 0 0x115d 6 if (edx u< 0xa) then 7 @ 0x1196 else 9 @ 0x115f 0x1196 7 ecx = edx 0x1196 8 goto 12 @ 0x1198 0x115f 9 r9d = 0 0x1162 10 r8d = 0xcccccccd {""} 0x1168 11 goto 25 @ 0x1170 0x1198 12 eax = ecx 0x119a 13 edx = 0xcccccccd {""} 0x119f 14 rdx = rdx * rax 0x11a3 15 rdx = rdx u>> 0x23 0x11a7 16 edx = edx + edx 0x11a9 17 eax = (rdx + (rdx << 2)).d 0x11ac 18 ecx = ecx - eax 0x11ae 19 ecx = ecx + r9d 0x11b1 20 eax = ecx 0x11b3 21 eax = neg.d(eax) 0x11b5 22 temp0.d = edi 0x11b5 23 cond:1 = temp0.d == 0 0x11b7 24 if (temp0.d s> 0) then 38 else 40 @ 0x11ba 0x1170 25 ecx = edx 0x1172 26 rcx = rcx * r8 0x1176 27 rcx = rcx u>> 0x23 0x117a 28 esi = (rcx + rcx).d 0x117d 29 esi = (rsi + (rsi << 2)).d 0x1180 30 eax = edx 0x1182 31 eax = eax - esi 0x1184 32 eax = eax + r9d 0x1187 33 eax = eax + eax 0x1189 34 r9d = (rax + (rax << 2)).d 0x118d 35 cond:0 = edx u> 0x63 0x1190 36 edx = ecx 0x1192 37 if (cond:0) then 25 @ 0x1170 else 41 @ 0x1194 0x11b7 38 eax = ecx 0x11b7 39 goto 40 @ 0x11ba 0x11ba 40 if (cond:1) then 42 else 44 @ 0x11bd 0x1194 41 goto 12 @ 0x1198 0x11ba 42 eax = edi 0x11ba 43 goto 44 @ 0x11bd 0x11bd 44 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x11c0 0 push(rbp) 0x11c1 1 push(r15) 0x11c3 2 push(r14) 0x11c5 3 push(r12) 0x11c7 4 push(rbx) 0x11c8 5 rsp = rsp - 0x10 0x11cc 6 ebp = 1 0x11d1 7 r14 = 0x2004 {"%d"} 0x11d8 8 r15 = rsp + 0xc {var_2c} 0x11dd 9 ebx = 0xcccccccd {""} 0x11e2 10 r12 = 0x2007 {"%d\n"} 0x11e9 11 goto 12 @ 0x122b 0x122b 12 rdi = r14 0x122e 13 rsi = r15 {var_2c} 0x1231 14 eax = 0 0x1233 15 call(0x1040) 0x1238 16 r8d = [rsp + 0xc {var_2c}].d 0x123d 17 esi = r8d 0x1240 18 esi = neg.d(esi) 0x1242 19 if (esi s< 0) then 20 else 22 @ 0x1249 0x1242 20 esi = r8d 0x1242 21 goto 22 @ 0x1249 0x1249 22 if (esi u< 0xa) then 23 @ 0x11f0 else 26 @ 0x124b 0x11f0 23 ecx = esi 0x11f2 24 edx = 0 0x11f2 25 goto 28 @ 0x11f4 0x124b 26 edx = 0 0x124d 27 goto 40 @ 0x1250 0x11f4 28 eax = ecx 0x11f6 29 rax = rax * rbx 0x11fa 30 rax = rax u>> 0x23 0x11fe 31 eax = eax + eax 0x1200 32 eax = (rax + (rax << 2)).d 0x1203 33 ecx = ecx - eax 0x1205 34 ecx = ecx + edx 0x1207 35 esi = ecx 0x1209 36 esi = neg.d(esi) 0x120b 37 temp0.d = r8d 0x120b 38 cond:1 = temp0.d == 0 0x120e 39 if (temp0.d s> 0) then 53 else 55 @ 0x1211 0x1250 40 ecx = esi 0x1252 41 rcx = rcx * rbx 0x1256 42 rcx = rcx u>> 0x23 0x125a 43 edi = (rcx + rcx).d 0x125d 44 edi = (rdi + (rdi << 2)).d 0x1260 45 eax = esi 0x1262 46 eax = eax - edi 0x1264 47 eax = eax + edx 0x1266 48 eax = eax + eax 0x1268 49 edx = (rax + (rax << 2)).d 0x126b 50 cond:0 = esi u> 0x63 0x126e 51 esi = ecx 0x1270 52 if (cond:0) then 40 @ 0x1250 else 56 @ 0x1272 0x120e 53 esi = ecx 0x120e 54 goto 55 @ 0x1211 0x1211 55 if (cond:1) then 57 else 59 @ 0x1215 0x1272 56 goto 28 @ 0x11f4 0x1211 57 esi = r8d 0x1211 58 goto 59 @ 0x1215 0x1215 59 [rsp + 0xc {var_2c}].d = esi 0x1219 60 rdi = r12 0x121c 61 eax = 0 0x121e 62 call(0x1030) 0x1223 63 ebp = ebp + 1 0x1229 64 if (ebp == 7) then 65 @ 0x1274 else 12 @ 0x122b 0x1274 65 eax = 0 0x1276 66 rsp = rsp + 0x10 0x127a 67 rbx = pop 0x127b 68 r12 = pop 0x127d 69 r14 = pop 0x127f 70 r15 = pop 0x1281 71 rbp = pop 0x1282 72 <return> jump(pop) int64_t _fini(): 0x1288 0 rsp = rsp - 8 0x128c 1 rsp = rsp + 8 0x1290 2 <return> jump(pop)
POJ_44
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 {"UAWAVAUATSHq"} 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 - 0x27118 0x1161 7 rdi = 0x2004 {"%d %d"} 0x1168 8 rsi = rsp + 4 {var_27144} 0x116d 9 rdx = rsp {var_27148} 0x1170 10 eax = 0 0x1172 11 call(0x1040) 0x117c 12 if ([rsp + 4 {var_27144}].d s<= 0) then 13 @ 0x1242 else 14 @ 0x1182 0x1242 13 if (eax s< [rsp + 0x330 {var_26e18}].d) then 19 @ 0x125c else 21 @ 0x1248 0x1182 14 r12 = rsp + 0x10 {var_27138} 0x1187 15 r15 = 0x200a {"%d "} 0x118e 16 r14 = 0x2007 {"%d"} 0x1195 17 r13d = 0 0x1198 18 goto 22 @ 0x11b5 0x125c 19 eax = [rsp {var_27148}].d 0x1262 20 if (eax s< 3) then 24 @ 0x12bb else 28 @ 0x1264 0x1248 21 if (eax s< [rsp + 0x14 {var_27134}].d) then 19 @ 0x125c else 32 @ 0x124a 0x11b5 22 eax = [rsp {var_27148}].d 0x11bb 23 if (eax s< 2) then 38 @ 0x1200 else 41 @ 0x11bd 0x12bb 24 eax = eax - 1 0x12be 25 r15d = 1 0x12c4 26 ecx = eax 0x12c4 27 goto 44 @ 0x12c9 0x1264 28 r15d = 1 0x126a 29 rbx = rsp + 0x10 {var_27138} 0x126f 30 r14 = 0x200e {"%d %d\n"} 0x1276 31 goto 45 @ 0x128f 0x124a 32 rdi = 0x200e {"%d %d\n"} 0x1251 33 esi = 0 0x1253 34 edx = 0 0x1255 35 eax = 0 0x1257 36 call(0x1030) 0x1257 37 goto 19 @ 0x125c 0x1200 38 eax = eax - 1 0x1203 39 ebp = 0 0x1207 40 if (ebp != eax) then 49 @ 0x11a0 else 53 @ 0x1209 0x11bd 41 rbx = r12 0x11c0 42 ebp = 0 0x11cc 43 goto 62 @ 0x11d0 0x12c9 44 if (r15d != ecx) then 71 @ 0x12f7 else 73 @ 0x12cb 0x128f 45 rdx = r15 0x1292 46 r15 = r15 + 1 0x1296 47 ecx = [rbx + 4].d 0x129f 48 if (ecx s< [rbx + 0x324].d) then 76 @ 0x1280 else 80 @ 0x12a4 0x11a0 49 r13 = r13 + 1 0x11a4 50 rax = sx.q([rsp + 4 {var_27144}].d) 0x11a9 51 r12 = r12 + 0x320 0x11b3 52 if (r13 s>= rax) then 81 @ 0x122c else 22 @ 0x11b5 0x1209 53 eax = ebp 0x120b 54 rcx = r13 * 0x320 0x1212 55 rcx = rcx + rsp 0x1215 56 rcx = rcx + 0x10 0x1219 57 rsi = rcx + (rax << 2) 0x121d 58 rdi = r14 0x1220 59 eax = 0 0x1222 60 call(0x1040) 0x1227 61 goto 49 @ 0x11a0 0x11d0 62 rdi = r15 0x11d3 63 rsi = rbx 0x11d6 64 eax = 0 0x11d8 65 call(0x1040) 0x11dd 66 rbp = rbp + 1 0x11e1 67 rax = sx.q([rsp {var_27148}].d) 0x11e5 68 rax = rax - 1 0x11e9 69 rbx = rbx + 4 0x11f0 70 if (rbp s< rax) then 62 @ 0x11d0 else 83 @ 0x11f4 0x12f7 71 eax = [rsp + 4 {var_27144}].d 0x12fe 72 if (eax s< 3) then 84 @ 0x1449 else 87 @ 0x1304 0x12cb 73 ecx = r15d 0x12ce 74 eax = [rsp + (rcx << 2) + 0x10].d 0x12d9 75 if (eax s< [rsp + (rcx << 2) + 0x330].d) then 71 @ 0x12f7 else 91 @ 0x12db 0x1280 76 ecx = (rax - 1).d 0x1283 77 rdx = sx.q(ecx) 0x1286 78 rbx = rbx + 4 0x128d 79 if (r15 s>= rdx) then 44 @ 0x12c9 else 45 @ 0x128f 0x12a4 80 if (ecx s< [rbx + 8].d) then 76 @ 0x1280 else 93 @ 0x12a8 0x122c 81 eax = [rsp + 0x10 {var_27138}].d 0x1237 82 if (eax s>= [rsp + 0x330 {var_26e18}].d) then 21 @ 0x1248 else 94 @ 0x1239 0x11f4 83 if (ebp != eax) then 49 @ 0x11a0 else 95 @ 0x11f6 0x1449 84 eax = eax - 1 0x144c 85 r15d = 1 0x144c 86 goto 96 @ 0x1455 0x1304 87 r15d = 1 0x130a 88 r12 = rsp + 0x10 {var_27138} 0x130f 89 r14 = 0x200e {"%d %d\n"} 0x1316 90 goto 97 @ 0x133d 0x12db 91 rcx = sx.q(r15d) 0x12e2 92 if (eax s< [rsp + (rcx << 2) + 0xc].d) then 71 @ 0x12f7 else 100 @ 0x12e4 0x12a8 93 if (ecx s< [rbx].d) then 76 @ 0x1280 else 106 @ 0x12aa 0x1239 94 goto 19 @ 0x125c 0x11f6 95 goto 53 @ 0x1209 0x1455 96 if (r15d != eax) then 112 @ 0x155b else 121 @ 0x145b 0x133d 97 r13 = r15 * 0x320 0x1344 98 eax = [rsp + r13 + 0x10].d 0x1351 99 if (eax s< [rsp + r13 - 0x310].d) then 128 @ 0x1373 else 130 @ 0x135b 0x12e4 100 rdi = 0x200e {"%d %d\n"} 0x12eb 101 esi = 0 0x12ed 102 edx = r15d 0x12f0 103 eax = 0 0x12f2 104 call(0x1030) 0x12f2 105 goto 71 @ 0x12f7 0x12aa 106 rdi = r14 0x12ad 107 esi = 0 0x12af 108 eax = 0 0x12b1 109 call(0x1030) 0x12b6 110 eax = [rsp {var_27148}].d 0x12b9 111 goto 76 @ 0x1280 0x155b 112 eax = 0 0x155d 113 rsp = rsp + 0x27118 0x1564 114 rbx = pop 0x1565 115 r12 = pop 0x1567 116 r13 = pop 0x1569 117 r14 = pop 0x156b 118 r15 = pop 0x156d 119 rbp = pop 0x156e 120 <return> jump(pop) 0x145b 121 eax = (r15 - 1).d 0x145f 122 rax = sx.q(eax) 0x1461 123 rbp = rax * 0x320 0x1468 124 eax = r15d 0x146b 125 r13 = rax * 0x320 0x1472 126 eax = [rsp + r13 + 0x10].d 0x147b 127 if (eax s< [rsp + rbp + 0x10].d) then 131 @ 0x1497 else 133 @ 0x1482 0x1373 128 eax = [rsp {var_27148}].d 0x1379 129 if (eax s< 3) then 134 @ 0x13e0 else 138 @ 0x137b 0x135b 130 if (eax s< [rsp + r13 + 0x330].d) then 128 @ 0x1373 else 140 @ 0x1362 0x1497 131 eax = [rsp {var_27148}].d 0x149d 132 if (eax s< 3) then 141 @ 0x150c else 145 @ 0x149f 0x1482 133 if (eax s< [rsp + r13 + 0x14].d) then 131 @ 0x1497 else 153 @ 0x1484 0x13e0 134 eax = eax - 1 0x13e3 135 ebx = 1 0x13e8 136 ecx = eax 0x13e8 137 goto 159 @ 0x13ec 0x137b 138 ebx = 1 0x1380 139 goto 160 @ 0x139b 0x1362 140 if (eax s< [rsp + r13 + 0x14].d) then 128 @ 0x1373 else 164 @ 0x1364 0x150c 141 eax = eax - 1 0x150f 142 ebx = 1 0x1514 143 ecx = eax 0x1518 144 if (ebx == ecx) then 170 @ 0x1525 else 177 @ 0x151a 0x149f 145 [rsp + 8 {var_27140}].q = rbp 0x14a4 146 rbp = rbp + rsp 0x14a7 147 rbp = rbp + 0x10 0x14ab 148 r12 = rsp + r13 0x14af 149 r12 = r12 + 0x10 0x14b3 150 ebx = 1 0x14b8 151 r14 = 0x200e {"%d %d\n"} 0x14bf 152 goto 178 @ 0x14db 0x1484 153 rdi = 0x200e {"%d %d\n"} 0x148b 154 esi = r15d 0x148e 155 edx = 0 0x1490 156 eax = 0 0x1492 157 call(0x1030) 0x1492 158 goto 131 @ 0x1497 0x13ec 159 if (ebx != ecx) then 182 @ 0x1320 else 187 @ 0x13f2 0x139b 160 rdx = rbx 0x139e 161 rbx = rbx + 1 0x13a2 162 ecx = [r12 + (rdx << 2) + 0x320].d 0x13ae 163 if (ecx s< [r12 + (rdx << 2)].d) then 196 @ 0x1390 else 199 @ 0x13b8 0x1364 164 rdi = r14 0x1367 165 esi = r15d 0x136a 166 edx = 0 0x136c 167 eax = 0 0x136e 168 call(0x1030) 0x136e 169 goto 128 @ 0x1373 0x1525 170 edx = ebx 0x1527 171 rsi = rsp + rbp 0x152b 172 rsi = rsi + 0x10 0x152f 173 rax = rsp + r13 0x1533 174 rax = rax + 0x10 0x1537 175 ecx = [rax + (rdx << 2)].d 0x153d 176 if (ecx s< [rsi + (rdx << 2)].d) then 112 @ 0x155b else 200 @ 0x153f 0x151a 177 goto 112 @ 0x155b 0x14db 178 rdx = rbx 0x14de 179 rbx = rbx + 1 0x14e2 180 ecx = [r12 + (rdx << 2)].d 0x14ea 181 if (ecx s< [rbp + (rdx << 2)].d) then 202 @ 0x14d0 else 205 @ 0x14f1 0x1320 182 r15 = r15 + 1 0x1324 183 rax = sx.q([rsp + 4 {var_27144}].d) 0x1329 184 rax = rax - 1 0x132d 185 r12 = r12 + 0x320 0x1337 186 if (r15 s>= rax) then 96 @ 0x1455 else 97 @ 0x133d 0x13f2 187 rax = r15 - 1 0x13f6 188 ecx = ebx 0x13f8 189 rax = rax * 0x320 0x13ff 190 rsi = rsp + rax 0x1403 191 rsi = rsi + 0x10 0x1407 192 rax = rsp + r13 0x140b 193 rax = rax + 0x10 0x140f 194 edx = [rax + (rcx << 2)].d 0x1415 195 if (edx s< [rsi + (rcx << 2)].d) then 182 @ 0x1320 else 206 @ 0x1422 0x1390 196 ecx = (rax - 1).d 0x1393 197 rdx = sx.q(ecx) 0x1399 198 if (rbx s>= rdx) then 159 @ 0x13ec else 160 @ 0x139b 0x13b8 199 if (ecx s< [r12 + (rdx << 2) + 0x640].d) then 196 @ 0x1390 else 207 @ 0x13c2 0x153f 200 rdx = sx.q(ebx) 0x1546 201 if (ecx s< [rax + (rdx << 2) - 4].d) then 112 @ 0x155b else 208 @ 0x1548 0x14d0 202 ecx = (rax - 1).d 0x14d3 203 rdx = sx.q(ecx) 0x14d9 204 if (rbx s>= rdx) then 214 @ 0x151c else 178 @ 0x14db 0x14f1 205 if (ecx s< [r12 + (rdx << 2) + 4].d) then 202 @ 0x14d0 else 216 @ 0x14f8 0x1422 206 if (edx s< [rax + (rcx << 2) + 0x320].d) then 182 @ 0x1320 else 217 @ 0x1428 0x13c2 207 if (ecx s< [r12 + (rdx << 2) + 0x324].d) then 196 @ 0x1390 else 219 @ 0x13cc 0x1548 208 rdi = 0x200e {"%d %d\n"} 0x154f 209 esi = r15d 0x1552 210 edx = ebx 0x1554 211 eax = 0 0x1556 212 call(0x1030) 0x1556 213 goto 112 @ 0x155b 0x151c 214 rbp = [rsp + 8 {var_27140}].q 0x1523 215 if (ebx != ecx) then 112 @ 0x155b else 170 @ 0x1525 0x14f8 216 if (ecx s< [r12 + (rdx << 2) - 4].d) then 202 @ 0x14d0 else 220 @ 0x14fa 0x1428 217 rcx = sx.q(ebx) 0x142f 218 if (edx s< [rax + (rcx << 2) - 4].d) then 182 @ 0x1320 else 226 @ 0x1435 0x13cc 219 if (ecx s< [r12 + (rdx << 2) + 0x31c].d) then 196 @ 0x1390 else 232 @ 0x13ce 0x14fa 220 rdi = r14 0x14fd 221 esi = r15d 0x1500 222 eax = 0 0x1502 223 call(0x1030) 0x1507 224 eax = [rsp {var_27148}].d 0x150a 225 goto 202 @ 0x14d0 0x1435 226 rdi = r14 0x1438 227 esi = r15d 0x143b 228 edx = ebx 0x143d 229 eax = 0 0x143f 230 call(0x1030) 0x1444 231 goto 182 @ 0x1320 0x13ce 232 rdi = r14 0x13d1 233 esi = r15d 0x13d4 234 eax = 0 0x13d6 235 call(0x1030) 0x13db 236 eax = [rsp {var_27148}].d 0x13de 237 goto 196 @ 0x1390 int64_t _fini(): 0x1574 0 rsp = rsp - 8 0x1578 1 rsp = rsp + 8 0x157c 2 <return> jump(pop)
POJ_72
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int64_t malloc(uint64_t bytes): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x11f0 {"AWAVSH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4048 {""} 0x10a7 1 rax = 0x4048 {""} 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 = 0x4048 {""} 0x10d7 1 rsi = 0x4048 {""} 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 ([0x4048].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 [0x4048].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 f(int32_t arg1, int64_t arg2): 0x1160 0 push(rbp) 0x1161 1 push(rbx) 0x1162 2 push(rax) 0x1163 3 rcx = [0x4058].q 0x116a 4 rax = sx.q(edi) 0x116d 5 ebp = [rcx + (rax << 2)].d 0x1170 6 eax = [0x4050].d 0x117c 7 if (eax s<= [0x4040].d) then 8 @ 0x1184 else 11 @ 0x117e 0x1184 8 edi = edi + 1 0x1187 9 edx = [0x4060].d 0x118f 10 if (edi s>= edx) then 13 @ 0x11df else 17 @ 0x1191 0x117e 11 [0x4040].d = eax 0x117e 12 goto 8 @ 0x1184 0x11df 13 rsp = rsp + 8 0x11e3 14 rbx = pop 0x11e4 15 rbp = pop 0x11e5 16 <return> jump(pop) 0x1191 17 rbx = sx.q(edi) 0x1194 18 goto 19 @ 0x11af 0x11af 19 if ([rcx + (rbx << 2)].d s> ebp) then 20 @ 0x11a0 else 23 @ 0x11b1 0x11a0 20 rbx = rbx + 1 0x11a4 21 rsi = sx.q(edx) 0x11aa 22 if (rbx s>= rsi) then 13 @ 0x11df else 19 @ 0x11af 0x11b1 23 eax = eax + 1 0x11b4 24 [0x4050].d = eax 0x11ba 25 edi = ebx 0x11bc 26 call(0x1160) 0x11c1 27 eax = [0x4050].d 0x11c7 28 eax = eax - 1 0x11ca 29 [0x4050].d = eax 0x11d0 30 rcx = [0x4058].q 0x11d7 31 edx = [0x4060].d 0x11dd 32 goto 20 @ 0x11a0 int32_t main(int32_t argc, char** argv, char** envp): 0x11f0 0 push(r15) 0x11f2 1 push(r14) 0x11f4 2 push(rbx) 0x11f5 3 rdi = 0x2004 {"%d"} 0x11fc 4 rsi = 0x4060 {""} 0x1203 5 eax = 0 0x1205 6 call(0x1040) 0x120a 7 rbx = sx.q([0x4060].d) 0x1211 8 rdi = rbx << 2 0x1219 9 call(0x1050) 0x121e 10 [0x4058].q = rax 0x1228 11 if (rbx s<= 0) then 12 @ 0x12ca else 19 @ 0x122e 0x12ca 12 esi = [0x4040].d 0x12d0 13 rdi = 0x2007 {"%d\n"} 0x12d7 14 eax = 0 0x12d9 15 rbx = pop 0x12da 16 r14 = pop 0x12dc 17 r15 = pop 0x12de 18 <return> tailcall(0x1030) 0x122e 19 rdi = 0x2004 {"%d"} 0x1235 20 rsi = rax 0x1238 21 eax = 0 0x123a 22 call(0x1040) 0x123f 23 eax = [0x4060].d 0x1248 24 if (eax s< 2) then 25 @ 0x128a else 26 @ 0x124a 0x128a 25 if (eax s<= 0) then 12 @ 0x12ca else 30 @ 0x128c 0x124a 26 r15d = 1 0x1250 27 ebx = 4 0x1255 28 r14 = 0x2004 {"%d"} 0x125c 29 goto 33 @ 0x1260 0x128c 30 ebx = 0 0x128e 31 eax = [0x4050].d 0x129e 32 goto 42 @ 0x12a0 0x1260 33 rsi = [0x4058].q 0x1267 34 rsi = rsi + rbx 0x126a 35 rdi = r14 0x126d 36 eax = 0 0x126f 37 call(0x1040) 0x1274 38 r15 = r15 + 1 0x1278 39 rax = sx.q([0x4060].d) 0x127f 40 rbx = rbx + 4 0x1286 41 if (r15 s< rax) then 33 @ 0x1260 else 25 @ 0x128a 0x12a0 42 eax = eax + 1 0x12a3 43 [0x4050].d = eax 0x12a9 44 edi = ebx 0x12ab 45 call(0x1160) 0x12b0 46 eax = [0x4050].d 0x12b6 47 eax = eax - 1 0x12b9 48 [0x4050].d = eax 0x12bf 49 ebx = ebx + 1 0x12c8 50 if (ebx s< [0x4060].d) then 42 @ 0x12a0 else 12 @ 0x12ca int64_t _fini(): 0x12e8 0 rsp = rsp - 8 0x12ec 1 rsp = rsp + 8 0x12f0 2 <return> jump(pop)
POJ_10
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHHE"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x10 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 0x2004 {"%d"} 0x1166 5 rsi = rbp - 8 {var_10} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1171 8 edi = [rbp - 8 {var_10}].d 0x1174 9 call(0x1190) 0x1179 10 eax = 0 0x117b 11 rsp = rsp + 0x10 0x117f 12 rbp = pop 0x1180 13 <return> jump(pop) void reverse(int32_t arg1): 0x1190 0 push(rbp) 0x1191 1 rbp = rsp {__saved_rbp} 0x1194 2 rsp = rsp - 0x10 0x1198 3 [rbp - 4 {var_c}].d = edi 0x119f 4 if ([rbp - 4 {var_c}].d s>= 1) then 5 @ 0x11aa else 38 @ 0x11a5 0x11aa 5 eax = [rbp - 4 {var_c}].d 0x11ad 6 ecx = 0xa {""} 0x11b2 7 temp2.d:temp3.d = sx.q(eax) 0x11b2 8 edx = temp2.d 0x11b2 9 eax = temp3.d 0x11b3 10 temp4.d = edx 0x11b3 11 temp5.d = eax 0x11b3 12 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11b3 13 temp6.d = edx 0x11b3 14 temp7.d = eax 0x11b3 15 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11b3 16 eax = temp0.d 0x11b3 17 edx = temp1.d 0x11b5 18 esi = edx 0x11b7 19 rdi = 0x2004 {"%d"} 0x11be 20 al = 0 0x11c0 21 call(0x1030) 0x11c5 22 eax = [rbp - 4 {var_c}].d 0x11c8 23 ecx = 0xa {""} 0x11cd 24 temp8.d:temp9.d = sx.q(eax) 0x11cd 25 edx = temp8.d 0x11cd 26 eax = temp9.d 0x11ce 27 temp10.d = edx 0x11ce 28 temp11.d = eax 0x11ce 29 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11ce 30 temp12.d = edx 0x11ce 31 temp13.d = eax 0x11ce 32 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11ce 33 eax = temp0.d 0x11ce 34 edx = temp1.d 0x11d0 35 edi = eax 0x11d2 36 call(0x1190) 0x11d2 37 goto 39 @ 0x11d7 0x11a5 38 goto 39 @ 0x11d7 0x11d7 39 rsp = rsp + 0x10 0x11db 40 rbp = pop 0x11dc 41 <return> jump(pop) int64_t _fini(): 0x11e4 0 rsp = rsp - 8 0x11e8 1 rsp = rsp + 8 0x11ec 2 <return> jump(pop)
POJ_56
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 = 0x2006 {"%d"} 0x1175 8 ebp = 0 0x1177 9 rsi = rsp + 0xc {var_3c} 0x117c 10 eax = 0 0x117e 11 call(0x1040) 0x1183 12 cond:0 = [rsp + 0xc {var_3c}].d s<= 0 0x1188 13 r12d = 0 0x118e 14 if (cond:0) then 15 @ 0x121e else 18 @ 0x1194 0x121e 15 cond:1 = ebp s>= r12d 0x121e 16 cond:2 = ebp != r12d 0x1221 17 if (ebp s<= r12d) then 25 @ 0x122f else 26 @ 0x1223 0x1194 18 r14 = 0x2004 {"%d%d"} 0x119b 19 r15 = rsp + 0x14 {var_34} 0x11a0 20 r13 = rsp + 0x10 {var_38} 0x11a5 21 r12d = 0 0x11a8 22 ebp = 0 0x11aa 23 ebx = 0 0x11ac 24 goto 29 @ 0x11bc 0x122f 25 if (cond:1) then 37 @ 0x123d else 38 @ 0x1231 0x1223 26 edi = 0x41 {""} 0x1228 27 call(0x1050) 0x122d 28 goto 41 @ 0x124d 0x11bc 29 rdi = r14 0x11bf 30 rsi = r15 {var_34} 0x11c2 31 rdx = r13 {var_38} 0x11c5 32 eax = 0 0x11c7 33 call(0x1040) 0x11cc 34 eax = [rsp + 0x14 {var_34}].d 0x11d0 35 ecx = [rsp + 0x10 {var_38}].d 0x11d6 36 if (eax == ecx) then 50 @ 0x11b3 else 52 @ 0x11da 0x123d 37 if (cond:2) then 41 @ 0x124d else 53 @ 0x123f 0x1231 38 edi = 0x42 {""} 0x1236 39 call(0x1050) 0x123b 40 goto 41 @ 0x124d 0x124d 41 eax = 0 0x124f 42 rsp = rsp + 0x18 0x1253 43 rbx = pop 0x1254 44 r12 = pop 0x1256 45 r13 = pop 0x1258 46 r14 = pop 0x125a 47 r15 = pop 0x125c 48 rbp = pop 0x125d 49 <return> jump(pop) 0x11b3 50 ebx = ebx + 1 0x11ba 51 if (ebx s>= [rsp + 0xc {var_3c}].d) then 15 @ 0x121e else 29 @ 0x11bc 0x11da 52 if (eax != 0) then 57 @ 0x11e3 else 58 @ 0x11df 0x123f 53 rdi = 0x2009 {"Tie"} 0x1246 54 eax = 0 0x1248 55 call(0x1030) 0x1248 56 goto 41 @ 0x124d 0x11e3 57 if (eax != 0) then 59 @ 0x11ed else 60 @ 0x11e8 0x11df 58 if (ecx == 1) then 61 @ 0x11b0 else 57 @ 0x11e3 0x11ed 59 if (eax != 1) then 63 @ 0x11fc else 64 @ 0x11f1 0x11e8 60 if (ecx == 2) then 65 @ 0x11f3 else 59 @ 0x11ed 0x11b0 61 ebp = ebp + 1 0x11b0 62 goto 50 @ 0x11b3 0x11fc 63 if (eax != 1) then 67 @ 0x1206 else 68 @ 0x1201 0x11f1 64 if (ecx != 0) then 63 @ 0x11fc else 65 @ 0x11f3 0x11f3 65 r12d = r12d + 1 0x11f7 66 goto 50 @ 0x11b3 0x1206 67 if (eax != 2) then 69 @ 0x120c else 76 @ 0x120a 0x1201 68 if (ecx == 2) then 61 @ 0x11b0 else 67 @ 0x1206 0x120c 69 eax = eax ^ 2 0x120f 70 ecx = ecx ^ 1 0x1212 71 edx = 0 0x1214 72 ecx = ecx | eax 0x1216 73 dl = ecx == 0 0x1219 74 r12d = r12d + edx 0x121c 75 goto 50 @ 0x11b3 0x120a 76 if (ecx == 0) then 61 @ 0x11b0 else 69 @ 0x120c int64_t _fini(): 0x1264 0 rsp = rsp - 8 0x1268 1 rsp = rsp + 8 0x126c 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) 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 - 0x220 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 rdi = 0x2004 {"%d,%d"} 0x1179 5 rsi = rbp - 0x1a4 {var_1ac} 0x1180 6 rdx = rbp - 0x1a8 {var_1b0} 0x1187 7 al = 0 0x1189 8 call(0x1050) 0x118e 9 [rbp - 0x1ac {var_1b4}].d = 0 0x118e 10 goto 11 @ 0x1198 0x1198 11 eax = [rbp - 0x1ac {var_1b4}].d 0x11a4 12 if (eax s>= [rbp - 0x1a4 {var_1ac}].d) then 13 @ 0x1224 else 19 @ 0x11aa 0x1224 13 rdi = rbp - 0x1e0 {var_1e8} 0x122b 14 esi = 0 0x122d 15 edx = 0x28 {"7"} 0x1232 16 call(0x1040) 0x1237 17 [rbp - 0x1b0 {var_1b8_2}].d = 0 0x1237 18 goto 21 @ 0x1241 0x11aa 19 [rbp - 0x1b0 {var_1b8_1}].d = 0 0x11aa 20 goto 23 @ 0x11b4 0x1241 21 eax = [rbp - 0x1b0 {var_1b8_2}].d 0x124d 22 if (eax s>= [rbp - 0x1a8 {var_1b0}].d) then 25 @ 0x1279 else 27 @ 0x1253 0x11b4 23 eax = [rbp - 0x1b0 {var_1b8_1}].d 0x11c0 24 if (eax s>= [rbp - 0x1a8 {var_1b0}].d) then 33 @ 0x120b else 34 @ 0x11c6 0x1279 25 [rbp - 0x1ac {var_1b4_1}].d = 0 0x1279 26 goto 48 @ 0x1283 0x1253 27 rax = sx.q([rbp - 0x1b0 {var_1b8_2}].d) 0x125a 28 [rbp + (rax << 2) - 0x210].d = 0xc8 {""} 0x1265 29 eax = [rbp - 0x1b0 {var_1b8_2}].d 0x126b 30 eax = eax + 1 0x126e 31 [rbp - 0x1b0 {var_1b8_2}].d = eax 0x1274 32 goto 21 @ 0x1241 0x120b 33 goto 50 @ 0x1210 0x11c6 34 rax = sx.q([rbp - 0x1ac {var_1b4}].d) 0x11cd 35 rsi = rbp - 0x1a0 {var_1a8} 0x11d4 36 rax = rax * 0x28 0x11d8 37 rsi = rsi + rax 0x11db 38 rax = sx.q([rbp - 0x1b0 {var_1b8_1}].d) 0x11e2 39 rax = rax << 2 0x11e6 40 rsi = rsi + rax 0x11e9 41 rdi = 0x200d {"%d"} 0x11f0 42 al = 0 0x11f2 43 call(0x1050) 0x11f7 44 eax = [rbp - 0x1b0 {var_1b8_1}].d 0x11fd 45 eax = eax + 1 0x1200 46 [rbp - 0x1b0 {var_1b8_1}].d = eax 0x1206 47 goto 23 @ 0x11b4 0x1283 48 eax = [rbp - 0x1ac {var_1b4_1}].d 0x128f 49 if (eax s>= [rbp - 0x1a4 {var_1ac}].d) then 54 @ 0x1343 else 56 @ 0x1295 0x1210 50 eax = [rbp - 0x1ac {var_1b4}].d 0x1216 51 eax = eax + 1 0x1219 52 [rbp - 0x1ac {var_1b4}].d = eax 0x121f 53 goto 11 @ 0x1198 0x1343 54 [rbp - 0x1b0 {var_1b8_4}].d = 0 0x1343 55 goto 58 @ 0x134d 0x1295 56 [rbp - 0x1b0 {var_1b8_3}].d = 0 0x1295 57 goto 60 @ 0x129f 0x134d 58 eax = [rbp - 0x1b0 {var_1b8_4}].d 0x1359 59 if (eax s>= [rbp - 0x1a8 {var_1b0}].d) then 62 @ 0x140d else 65 @ 0x135f 0x129f 60 eax = [rbp - 0x1b0 {var_1b8_3}].d 0x12ab 61 if (eax s>= [rbp - 0x1a8 {var_1b0}].d) then 67 @ 0x132a else 68 @ 0x12b1 0x140d 62 [rbp - 0x214 {var_21c}].d = 0 0x1417 63 [rbp - 0x1ac {var_1b4_3}].d = 0 0x1417 64 goto 76 @ 0x1421 0x135f 65 [rbp - 0x1ac {var_1b4_2}].d = 0 0x135f 66 goto 78 @ 0x1369 0x132a 67 goto 80 @ 0x132f 0x12b1 68 rcx = sx.q([rbp - 0x1ac {var_1b4_1}].d) 0x12b8 69 rax = rbp - 0x1a0 {var_1a8} 0x12bf 70 rcx = rcx * 0x28 0x12c3 71 rax = rax + rcx 0x12c6 72 rcx = sx.q([rbp - 0x1b0 {var_1b8_3}].d) 0x12cd 73 eax = [rax + (rcx << 2)].d 0x12d0 74 rcx = sx.q([rbp - 0x1ac {var_1b4_1}].d) 0x12de 75 if (eax s<= [rbp + (rcx << 2) - 0x1e0].d) then 84 @ 0x1311 else 85 @ 0x12e4 0x1421 76 eax = [rbp - 0x1ac {var_1b4_3}].d 0x142d 77 if (eax s>= [rbp - 0x1a4 {var_1ac}].d) then 94 @ 0x1522 else 95 @ 0x1433 0x1369 78 eax = [rbp - 0x1ac {var_1b4_2}].d 0x1375 79 if (eax s>= [rbp - 0x1a4 {var_1ac}].d) then 97 @ 0x13f4 else 98 @ 0x137b 0x132f 80 eax = [rbp - 0x1ac {var_1b4_1}].d 0x1335 81 eax = eax + 1 0x1338 82 [rbp - 0x1ac {var_1b4_1}].d = eax 0x133e 83 goto 48 @ 0x1283 0x1311 84 goto 106 @ 0x1316 0x12e4 85 rcx = sx.q([rbp - 0x1ac {var_1b4_1}].d) 0x12eb 86 rax = rbp - 0x1a0 {var_1a8} 0x12f2 87 rcx = rcx * 0x28 0x12f6 88 rax = rax + rcx 0x12f9 89 rcx = sx.q([rbp - 0x1b0 {var_1b8_3}].d) 0x1300 90 ecx = [rax + (rcx << 2)].d 0x1303 91 rax = sx.q([rbp - 0x1ac {var_1b4_1}].d) 0x130a 92 [rbp + (rax << 2) - 0x1e0].d = ecx 0x130a 93 goto 84 @ 0x1311 0x1522 94 if ([rbp - 0x214 {var_21c}].d != 0) then 110 @ 0x1536 else 114 @ 0x1528 0x1433 95 [rbp - 0x1b0 {var_1b8_5}].d = 0 0x1433 96 goto 118 @ 0x143d 0x13f4 97 goto 120 @ 0x13f9 0x137b 98 rcx = sx.q([rbp - 0x1ac {var_1b4_2}].d) 0x1382 99 rax = rbp - 0x1a0 {var_1a8} 0x1389 100 rcx = rcx * 0x28 0x138d 101 rax = rax + rcx 0x1390 102 rcx = sx.q([rbp - 0x1b0 {var_1b8_4}].d) 0x1397 103 eax = [rax + (rcx << 2)].d 0x139a 104 rcx = sx.q([rbp - 0x1b0 {var_1b8_4}].d) 0x13a8 105 if (eax s>= [rbp + (rcx << 2) - 0x210].d) then 124 @ 0x13db else 125 @ 0x13ae 0x1316 106 eax = [rbp - 0x1b0 {var_1b8_3}].d 0x131c 107 eax = eax + 1 0x131f 108 [rbp - 0x1b0 {var_1b8_3}].d = eax 0x1325 109 goto 60 @ 0x129f 0x1536 110 eax = 0 0x1538 111 rsp = rsp + 0x220 0x153f 112 rbp = pop 0x1540 113 <return> jump(pop) 0x1528 114 rdi = 0x2010 {"No"} 0x152f 115 al = 0 0x1531 116 call(0x1030) 0x1531 117 goto 110 @ 0x1536 0x143d 118 eax = [rbp - 0x1b0 {var_1b8_5}].d 0x1449 119 if (eax s>= [rbp - 0x1a8 {var_1b0}].d) then 134 @ 0x1502 else 135 @ 0x144f 0x13f9 120 eax = [rbp - 0x1b0 {var_1b8_4}].d 0x13ff 121 eax = eax + 1 0x1402 122 [rbp - 0x1b0 {var_1b8_4}].d = eax 0x1408 123 goto 58 @ 0x134d 0x13db 124 goto 145 @ 0x13e0 0x13ae 125 rcx = sx.q([rbp - 0x1ac {var_1b4_2}].d) 0x13b5 126 rax = rbp - 0x1a0 {var_1a8} 0x13bc 127 rcx = rcx * 0x28 0x13c0 128 rax = rax + rcx 0x13c3 129 rcx = sx.q([rbp - 0x1b0 {var_1b8_4}].d) 0x13ca 130 ecx = [rax + (rcx << 2)].d 0x13cd 131 rax = sx.q([rbp - 0x1b0 {var_1b8_4}].d) 0x13d4 132 [rbp + (rax << 2) - 0x210].d = ecx 0x13d4 133 goto 124 @ 0x13db 0x1502 134 goto 149 @ 0x1507 0x144f 135 rcx = sx.q([rbp - 0x1ac {var_1b4_3}].d) 0x1456 136 rax = rbp - 0x1a0 {var_1a8} 0x145d 137 rcx = rcx * 0x28 0x1461 138 rax = rax + rcx 0x1464 139 rcx = sx.q([rbp - 0x1b0 {var_1b8_5}].d) 0x146b 140 edi = [rax + (rcx << 2)].d 0x146e 141 rax = sx.q([rbp - 0x1ac {var_1b4_3}].d) 0x1475 142 esi = [rbp + (rax << 2) - 0x1e0].d 0x147c 143 call(0x1550) 0x1484 144 if (eax == 0) then 153 @ 0x14e9 else 154 @ 0x148a 0x13e0 145 eax = [rbp - 0x1ac {var_1b4_2}].d 0x13e6 146 eax = eax + 1 0x13e9 147 [rbp - 0x1ac {var_1b4_2}].d = eax 0x13ef 148 goto 78 @ 0x1369 0x1507 149 eax = [rbp - 0x1ac {var_1b4_3}].d 0x150d 150 eax = eax + 1 0x1510 151 [rbp - 0x1ac {var_1b4_3}].d = eax 0x1516 152 goto 76 @ 0x1421 0x14e9 153 goto 164 @ 0x14ee 0x148a 154 rcx = sx.q([rbp - 0x1ac {var_1b4_3}].d) 0x1491 155 rax = rbp - 0x1a0 {var_1a8} 0x1498 156 rcx = rcx * 0x28 0x149c 157 rax = rax + rcx 0x149f 158 rcx = sx.q([rbp - 0x1b0 {var_1b8_5}].d) 0x14a6 159 edi = [rax + (rcx << 2)].d 0x14a9 160 rax = sx.q([rbp - 0x1b0 {var_1b8_5}].d) 0x14b0 161 esi = [rbp + (rax << 2) - 0x210].d 0x14b7 162 call(0x1580) 0x14bf 163 if (eax == 0) then 153 @ 0x14e9 else 168 @ 0x14c5 0x14ee 164 eax = [rbp - 0x1b0 {var_1b8_5}].d 0x14f4 165 eax = eax + 1 0x14f7 166 [rbp - 0x1b0 {var_1b8_5}].d = eax 0x14fd 167 goto 118 @ 0x143d 0x14c5 168 esi = [rbp - 0x1ac {var_1b4_3}].d 0x14cb 169 edx = [rbp - 0x1b0 {var_1b8_5}].d 0x14d1 170 rdi = 0x200a {"%d+%d"} 0x14d8 171 al = 0 0x14da 172 call(0x1030) 0x14df 173 [rbp - 0x214 {var_21c}].d = 1 0x14df 174 goto 153 @ 0x14e9 uint64_t hangzuida(int32_t arg1, int32_t arg2): 0x1550 0 push(rbp) 0x1551 1 rbp = rsp {__saved_rbp} 0x1554 2 [rbp - 8 {var_10}].d = edi 0x1557 3 [rbp - 0xc {var_14}].d = esi 0x155a 4 eax = [rbp - 8 {var_10}].d 0x1560 5 if (eax != [rbp - 0xc {var_14}].d) then 6 @ 0x1572 else 8 @ 0x1566 0x1572 6 [rbp - 4 {var_c}].d = 0 0x1572 7 goto 10 @ 0x1579 0x1566 8 [rbp - 4 {var_c}].d = 1 0x156d 9 goto 10 @ 0x1579 0x1579 10 eax = [rbp - 4 {var_c}].d 0x157c 11 rbp = pop 0x157d 12 <return> jump(pop) uint64_t liezuixiao(int32_t arg1, int32_t arg2): 0x1580 0 push(rbp) 0x1581 1 rbp = rsp {__saved_rbp} 0x1584 2 [rbp - 8 {var_10}].d = edi 0x1587 3 [rbp - 0xc {var_14}].d = esi 0x158a 4 eax = [rbp - 8 {var_10}].d 0x1590 5 if (eax != [rbp - 0xc {var_14}].d) then 6 @ 0x15a2 else 8 @ 0x1596 0x15a2 6 [rbp - 4 {var_c}].d = 0 0x15a2 7 goto 10 @ 0x15a9 0x1596 8 [rbp - 4 {var_c}].d = 1 0x159d 9 goto 10 @ 0x15a9 0x15a9 10 eax = [rbp - 4 {var_c}].d 0x15ac 11 rbp = pop 0x15ad 12 <return> jump(pop) int64_t _fini(): 0x15b4 0 rsp = rsp - 8 0x15b8 1 rsp = rsp + 8 0x15bc 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) 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 {"UAWAVAUATSH8"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x338 0x1171 7 rdi = 0x2007 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_35c} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 0xc {var_35c}].d s<= 0) then 12 @ 0x122d else 16 @ 0x118f 0x122d 12 rdi = 0x200a {"Tie"} 0x1234 13 eax = 0 0x1236 14 call(0x1030) 0x1236 15 goto 23 @ 0x123b 0x118f 16 r14 = rsp + 0x10 {var_358} 0x1194 17 rbx = rsp + 0x1a0 {var_1c8} 0x119c 18 r15 = 0x2004 {"%d %d"} 0x11a3 19 ebp = 0 0x11a5 20 r13d = 0 0x11a8 21 r12d = 0 0x11ab 22 goto 32 @ 0x11d3 0x123b 23 eax = 0 0x123d 24 rsp = rsp + 0x338 0x1244 25 rbx = pop 0x1245 26 r12 = pop 0x1247 27 r13 = pop 0x1249 28 r14 = pop 0x124b 29 r15 = pop 0x124d 30 rbp = pop 0x124e 31 <return> jump(pop) 0x11d3 32 rdi = r15 0x11d6 33 rsi = rbx 0x11d9 34 rdx = r14 0x11dc 35 eax = 0 0x11de 36 call(0x1040) 0x11e3 37 eax = [rbx].d 0x11e7 38 if (eax == 0) then 39 @ 0x1210 else 41 @ 0x11ec 0x1210 39 ecx = [r14].d 0x1216 40 if (ecx != 1) then 42 @ 0x11b3 else 46 @ 0x1218 0x11ec 41 if (eax == 1) then 48 @ 0x1200 else 50 @ 0x11f1 0x11b3 42 edx = 0 0x11b7 43 dl = eax != ecx 0x11ba 44 r13d = r13d + edx 0x11ba 45 goto 51 @ 0x11bd 0x1218 46 r12d = r12d + 1 0x121c 47 goto 51 @ 0x11bd 0x1200 48 ecx = [r14].d 0x1206 49 if (ecx != 2) then 42 @ 0x11b3 else 56 @ 0x1208 0x11f1 50 if (eax != 2) then 57 @ 0x11b0 else 59 @ 0x11f3 0x11bd 51 rbp = rbp + 1 0x11c1 52 rax = sx.q([rsp + 0xc {var_35c}].d) 0x11c6 53 r14 = r14 + 4 0x11ca 54 rbx = rbx + 4 0x11d1 55 if (rbp s>= rax) then 61 @ 0x1221 else 32 @ 0x11d3 0x1208 56 goto 46 @ 0x1218 0x11b0 57 ecx = [r14].d 0x11b0 58 goto 42 @ 0x11b3 0x11f3 59 ecx = [r14].d 0x11f8 60 if (ecx != 0) then 42 @ 0x11b3 else 62 @ 0x11fa 0x1221 61 if (r12d s> r13d) then 63 @ 0x124f else 66 @ 0x1226 0x11fa 62 goto 46 @ 0x1218 0x124f 63 edi = 0x41 {""} 0x1254 64 call(0x1050) 0x125c 65 if (r12d s>= r13d) then 67 @ 0x122b else 68 @ 0x125e 0x1226 66 if (r12d s< r13d) then 68 @ 0x125e else 67 @ 0x122b 0x122b 67 if (r12d != r13d) then 23 @ 0x123b else 12 @ 0x122d 0x125e 68 edi = 0x42 {""} 0x1263 69 call(0x1050) 0x126b 70 if (r12d == r13d) then 12 @ 0x122d else 71 @ 0x126d 0x126d 71 goto 23 @ 0x123b int64_t _fini(): 0x1274 0 rsp = rsp - 8 0x1278 1 rsp = rsp + 8 0x127c 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 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) char* gets(char* buf): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH("} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x228 0x1171 7 r15d = 0 0x1174 8 rbx = rsp + 0x30 {var_228} 0x1179 9 rdi = rbx {var_228} 0x117c 10 eax = 0 0x117e 11 call(0x1040) 0x1183 12 rdi = rbx {var_228} 0x1186 13 call(0x1030) 0x118e 14 if (eax s>= 2) then 15 @ 0x11a4 else 22 @ 0x1190 0x11a4 15 rcx = sx.q(eax) 0x11a7 16 [rsp + 0x10 {var_248_1}].q = rcx 0x11ac 17 ecx = ecx + 1 0x11af 18 [rsp + 8 {var_250_1}].q = rcx 0x11b4 19 rbp = rsp + 0x31 {var_227} 0x11b9 20 r12d = 2 0x11bf 21 goto 31 @ 0x11e9 0x1190 22 eax = 0 0x1192 23 rsp = rsp + 0x228 0x1199 24 rbx = pop 0x119a 25 r12 = pop 0x119c 26 r13 = pop 0x119e 27 r14 = pop 0x11a0 28 r15 = pop 0x11a2 29 rbp = pop 0x11a3 30 <return> jump(pop) 0x11e9 31 eax = eax - 1 0x11ec 32 cond:0 = [rsp + 0x10 {var_248_1}].q s< r12 0x11f1 33 [rsp + 0x20 {var_238_1}].q = rax 0x11f6 34 [rsp + 0x18 {var_240_1}].q = rbp 0x11fb 35 if (cond:0) then 36 @ 0x11d0 else 42 @ 0x11fd 0x11d0 36 r12 = r12 + 1 0x11d4 37 rbp = [rsp + 0x18 {var_240_1}].q 0x11d9 38 rbp = rbp + 1 0x11dd 39 cond:1 = r12 == [rsp + 8 {var_250_1}].q 0x11e2 40 rax = [rsp + 0x20 {var_238_1}].q 0x11e7 41 if (cond:1) then 22 @ 0x1190 else 31 @ 0x11e9 0x11fd 42 r14d = r12d 0x1200 43 r14d = r14d u>> 1 0x1203 44 r14 = neg.q(r14) 0x1206 45 esi = eax 0x1208 46 r13 = rsp + 0x30 {var_228} 0x120d 47 ebx = 0 0x120f 48 [rsp + 0x28 {var_230_1}].q = rsi 0x1214 49 goto 50 @ 0x1231 0x1231 50 eax = 0 0x1233 51 rcx = r13 0x1236 52 goto 53 @ 0x1240 0x1240 53 edx = zx.d([rcx].b) 0x1247 54 if (dl != [rbp + rax].b) then 55 @ 0x1220 else 59 @ 0x1249 0x1220 55 rbx = rbx + 1 0x1224 56 r13 = r13 + 1 0x1228 57 rbp = rbp + 1 0x122f 58 if (rbx == rsi) then 36 @ 0x11d0 else 50 @ 0x1231 0x1249 59 rcx = rcx + 1 0x124d 60 rax = rax - 1 0x1254 61 if (r14 != rax) then 53 @ 0x1240 else 62 @ 0x1259 0x1259 62 if (r15d == 0) then 63 @ 0x1265 else 65 @ 0x125b 0x1265 63 r15d = 0 0x1268 64 goto 68 @ 0x1270 0x125b 65 edi = 0xa {""} 0x1260 66 call(0x1050) 0x1260 67 goto 63 @ 0x1265 0x1270 68 edi = sx.d([r13 + r15].b) 0x1276 69 call(0x1050) 0x127b 70 r15 = r15 + 1 0x1282 71 if (r12 != r15) then 68 @ 0x1270 else 72 @ 0x1284 0x1284 72 r15d = 1 0x128a 73 rsi = [rsp + 0x28 {var_230_1}].q 0x128f 74 goto 55 @ 0x1220 int64_t _fini(): 0x1298 0 rsp = rsp - 8 0x129c 1 rsp = rsp + 8 0x12a0 2 <return> jump(pop)
POJ_49
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x1b0 0x115b 3 rdi = 0x2004 {"%d%d"} 0x1162 4 rsi = rbp - 0x194 {var_19c} 0x1169 5 rdx = rbp - 0x198 {var_1a0} 0x1170 6 al = 0 0x1172 7 call(0x1040) 0x1177 8 [rbp - 0x19c {var_1a4}].d = 0 0x1177 9 goto 10 @ 0x1181 0x1181 10 eax = [rbp - 0x19c {var_1a4}].d 0x118d 11 if (eax s>= [rbp - 0x194 {var_19c}].d) then 12 @ 0x11ca else 16 @ 0x1193 0x11ca 12 eax = [rbp - 0x194 {var_19c}].d 0x11d0 13 eax = eax - [rbp - 0x198 {var_1a0}].d 0x11d6 14 [rbp - 0x19c {var_1a4_1}].d = eax 0x11d6 15 goto 27 @ 0x11dc 0x1193 16 rax = sx.q([rbp - 0x19c {var_1a4}].d) 0x119a 17 rsi = rbp - 0x190 {var_198} 0x11a1 18 rax = rax << 2 0x11a5 19 rsi = rsi + rax 0x11a8 20 rdi = 0x2006 {"%d"} 0x11af 21 al = 0 0x11b1 22 call(0x1040) 0x11b6 23 eax = [rbp - 0x19c {var_1a4}].d 0x11bc 24 eax = eax + 1 0x11bf 25 [rbp - 0x19c {var_1a4}].d = eax 0x11c5 26 goto 10 @ 0x1181 0x11dc 27 eax = [rbp - 0x19c {var_1a4_1}].d 0x11e8 28 if (eax s>= [rbp - 0x194 {var_19c}].d) then 29 @ 0x128d else 31 @ 0x11ee 0x128d 29 [rbp - 0x19c {var_1a4_2}].d = 0 0x128d 30 goto 39 @ 0x1297 0x11ee 31 rax = sx.q([rbp - 0x19c {var_1a4_1}].d) 0x11f5 32 eax = [rbp + (rax << 2) - 0x190].d 0x11fc 33 [rbp - 0x1a4 {var_1ac_1}].d = eax 0x1202 34 eax = [rbp - 0x19c {var_1a4_1}].d 0x1208 35 eax = eax - [rbp - 0x194 {var_19c}].d 0x120e 36 eax = eax + [rbp - 0x198 {var_1a0}].d 0x1214 37 [rbp - 0x1a0 {var_1a8_1}].d = eax 0x1214 38 goto 41 @ 0x121a 0x1297 39 eax = [rbp - 0x19c {var_1a4_2}].d 0x12a3 40 if (eax s>= [rbp - 0x194 {var_19c}].d) then 43 @ 0x12f4 else 46 @ 0x12b0 0x121a 41 eax = [rbp - 0x1a0 {var_1a8_1}].d 0x1226 42 if (eax s> [rbp - 0x19c {var_1a4_1}].d) then 47 @ 0x1274 else 48 @ 0x122c 0x12f4 43 rsp = rsp + 0x1b0 0x12fb 44 rbp = pop 0x12fc 45 <return> jump(pop) 0x12b0 46 if ([rbp - 0x19c {var_1a4_2}].d == 0) then 60 @ 0x12c4 else 69 @ 0x12b6 0x1274 47 goto 73 @ 0x1279 0x122c 48 rax = sx.q([rbp - 0x1a0 {var_1a8_1}].d) 0x1233 49 eax = [rbp + (rax << 2) - 0x190].d 0x123a 50 [rbp - 0x1a8 {var_1b0_1}].d = eax 0x1240 51 ecx = [rbp - 0x1a4 {var_1ac_1}].d 0x1246 52 rax = sx.q([rbp - 0x1a0 {var_1a8_1}].d) 0x124d 53 [rbp + (rax << 2) - 0x190].d = ecx 0x1254 54 eax = [rbp - 0x1a8 {var_1b0_1}].d 0x125a 55 [rbp - 0x1a4 {var_1ac_1}].d = eax 0x1260 56 eax = [rbp - 0x1a0 {var_1a8_1}].d 0x1266 57 eax = eax + 1 0x1269 58 [rbp - 0x1a0 {var_1a8_1}].d = eax 0x126f 59 goto 41 @ 0x121a 0x12c4 60 rax = sx.q([rbp - 0x19c {var_1a4_2}].d) 0x12cb 61 esi = [rbp + (rax << 2) - 0x190].d 0x12d2 62 rdi = 0x2006 {"%d"} 0x12d9 63 al = 0 0x12db 64 call(0x1030) 0x12e0 65 eax = [rbp - 0x19c {var_1a4_2}].d 0x12e6 66 eax = eax + 1 0x12e9 67 [rbp - 0x19c {var_1a4_2}].d = eax 0x12ef 68 goto 39 @ 0x1297 0x12b6 69 rdi = 0x2009 {" "} 0x12bd 70 al = 0 0x12bf 71 call(0x1030) 0x12bf 72 goto 60 @ 0x12c4 0x1279 73 eax = [rbp - 0x19c {var_1a4_1}].d 0x127f 74 eax = eax + 1 0x1282 75 [rbp - 0x19c {var_1a4_1}].d = eax 0x1288 76 goto 27 @ 0x11dc int64_t _fini(): 0x1304 0 rsp = rsp - 8 0x1308 1 rsp = rsp + 8 0x130c 2 <return> jump(pop)
POJ_52
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 {"AWAVS."} 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 [0x4050].d = 0 0x116f 4 r15 = 0x4070 {""} 0x1176 5 rbx = 0x2004 {"%d "} 0x117d 6 goto 7 @ 0x1180 0x1180 7 [0x4054].d = 0 0x118a 8 eax = 0 0x118c 9 goto 10 @ 0x1190 0x1190 10 rcx = sx.q([0x4050].d) 0x1197 11 rax = sx.q(eax) 0x1199 12 rcx = rcx + (rcx << 2) 0x119d 13 rcx = r15 + (rcx << 2) 0x11a1 14 rsi = rcx + (rax << 2) 0x11a5 15 rdi = rbx 0x11a8 16 eax = 0 0x11aa 17 call(0x1040) 0x11af 18 ecx = [0x4054].d 0x11b5 19 eax = (rcx + 1).d 0x11b8 20 [0x4054].d = eax 0x11c1 21 if (ecx s< 4) then 10 @ 0x1190 else 22 @ 0x11c3 0x11c3 22 eax = [0x4050].d 0x11c9 23 ecx = (rax + 1).d 0x11cc 24 [0x4050].d = ecx 0x11d5 25 if (eax s< 4) then 7 @ 0x1180 else 26 @ 0x11d7 0x11d7 26 rdi = 0x2008 {"%d%d"} 0x11de 27 rsi = 0x405c {""} 0x11e5 28 rdx = 0x4058 {""} 0x11ec 29 eax = 0 0x11ee 30 call(0x1040) 0x11f3 31 rcx = sx.q([0x405c].d) 0x11fe 32 if (rcx s> 4) then 33 @ 0x12ec else 37 @ 0x1204 0x12ec 33 rdi = 0x200d {"error"} 0x12f3 34 eax = 0 0x12f5 35 call(0x1030) 0x12f5 36 goto 39 @ 0x12fa 0x1204 37 eax = [0x4058].d 0x120d 38 if (eax s> 4) then 33 @ 0x12ec else 44 @ 0x1213 0x12fa 39 eax = 0 0x12fc 40 rbx = pop 0x12fd 41 r14 = pop 0x12ff 42 r15 = pop 0x1301 43 <return> jump(pop) 0x1213 44 rax = sx.q(eax) 0x1215 45 rax = rax + (rax << 2) 0x1219 46 rax = r15 + (rax << 2) 0x121d 47 rcx = rcx + (rcx << 2) 0x1221 48 rcx = r15 + (rcx << 2) 0x1225 49 edx = 0 0x1227 50 goto 51 @ 0x1230 0x1230 51 esi = [rcx + (rdx << 2)].d 0x1233 52 edi = [rax + (rdx << 2)].d 0x1236 53 [rcx + (rdx << 2)].d = edi 0x1239 54 [rax + (rdx << 2)].d = esi 0x123c 55 rdx = rdx + 1 0x1244 56 if (rdx != 5) then 51 @ 0x1230 else 57 @ 0x1246 0x1246 57 [0x4060].d = esi 0x124c 58 [0x4050].d = 0 0x1256 59 rbx = 0x2004 {"%d "} 0x125d 60 r14 = 0x200a {"%d"} 0x126e 61 goto 62 @ 0x1270 0x1270 62 [0x4054].d = 0 0x127a 63 eax = 0 0x127c 64 goto 65 @ 0x1280 0x1280 65 rcx = sx.q([0x4050].d) 0x1287 66 rax = sx.q(eax) 0x1289 67 rcx = rcx + (rcx << 2) 0x128d 68 rcx = r15 + (rcx << 2) 0x1291 69 esi = [rcx + (rax << 2)].d 0x1294 70 rdi = rbx 0x1297 71 eax = 0 0x1299 72 call(0x1030) 0x129e 73 ecx = [0x4054].d 0x12a4 74 eax = (rcx + 1).d 0x12a7 75 [0x4054].d = eax 0x12b0 76 if (ecx s< 3) then 65 @ 0x1280 else 77 @ 0x12b2 0x12b2 77 rax = sx.q([0x4050].d) 0x12b9 78 rax = rax + (rax << 2) 0x12bd 79 esi = [r15 + (rax << 2) + 0x10].d 0x12c2 80 rdi = r14 0x12c5 81 eax = 0 0x12c7 82 call(0x1030) 0x12cc 83 edi = 0xa {""} 0x12d1 84 call(0x1050) 0x12d6 85 eax = [0x4050].d 0x12dc 86 ecx = (rax + 1).d 0x12df 87 [0x4050].d = ecx 0x12e8 88 if (eax s< 4) then 62 @ 0x1270 else 89 @ 0x12ea 0x12ea 89 goto 39 @ 0x12fa int64_t _fini(): 0x1308 0 rsp = rsp - 8 0x130c 1 rsp = rsp + 8 0x1310 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 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 {"AWAVAUATSHP"} 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 - 0x50 0x116d 6 ecx = 1 0x1172 7 r12 = 0x2004 {"%d"} 0x1179 8 r15 = rsp {var_78} 0x117c 9 r14 = 0x2007 {"%d\n"} 0x1183 10 goto 11 @ 0x119f 0x119f 11 rbx = rcx 0x11a2 12 rsi = rsp + (rcx << 2) 0x11a6 13 rdi = r12 0x11a9 14 eax = 0 0x11ab 15 call(0x1050) 0x11b0 16 eax = 0 0x11b2 17 call(0x1040) 0x11b7 18 rcx = rbx + 1 0x11bd 19 if (al != 0xa) then 11 @ 0x119f else 20 @ 0x11c2 0x11c2 20 if (ebx == 1) then 21 @ 0x1243 else 29 @ 0x11c4 0x1243 21 eax = 0 0x1245 22 rsp = rsp + 0x50 0x1249 23 rbx = pop 0x124a 24 r12 = pop 0x124c 25 r13 = pop 0x124e 26 r14 = pop 0x1250 27 r15 = pop 0x1252 28 <return> jump(pop) 0x11c4 29 r8d = ebx 0x11c7 30 cond:0 = ebx u>= 3 0x11ca 31 r9d = 2 0x11d0 32 if (cond:0) then 33 else 35 @ 0x11d4 0x11d0 33 r9d = ebx 0x11d0 34 goto 35 @ 0x11d4 0x11d4 35 esi = 0 0x11d6 36 r10d = 1 0x11dc 37 r11 = r8 0x11df 38 r13 = r15 {var_78} 0x11e2 39 goto 40 @ 0x11fd 0x11fd 40 rax = r10 0x1200 41 r10 = r10 + 1 0x1207 42 if (r10 u>= r8) then 43 @ 0x11f0 else 46 @ 0x1209 0x11f0 43 r13 = r13 + 4 0x11f4 44 r11 = r11 - 1 0x11fb 45 if (r10 == r9) then 50 @ 0x1190 else 40 @ 0x11fd 0x1209 46 edi = [rsp + (rax << 2)].d 0x120c 47 ecx = (rdi + rdi).d 0x120f 48 ebx = 2 0x121e 49 goto 55 @ 0x1220 0x1190 50 rdi = r14 0x1193 51 eax = 0 0x1195 52 call(0x1030) 0x119a 53 ecx = 1 0x119a 54 goto 11 @ 0x119f 0x1220 55 edx = [r13 + (rbx << 2)].d 0x1227 56 al = ecx == edx 0x122a 57 edx = edx + edx 0x122e 58 dl = edi == edx 0x1231 59 dl = dl | al 0x1233 60 eax = zx.d(dl) 0x1236 61 esi = esi + eax 0x1238 62 rbx = rbx + 1 0x123f 63 if (r11 != rbx) then 55 @ 0x1220 else 64 @ 0x1241 0x1241 64 goto 43 @ 0x11f0 int64_t _fini(): 0x1258 0 rsp = rsp - 8 0x125c 1 rsp = rsp + 8 0x1260 2 <return> jump(pop)
POJ_12
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 - 0x9cc8 0x1161 7 rdi = 0x2004 {"%d"} 0x1168 8 rsi = rsp + 4 {var_9cf4} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1174 11 eax = [rsp + 4 {var_9cf4}].d 0x117a 12 if (eax s<= 0) then 13 @ 0x1a56 else 21 @ 0x1180 0x1a56 13 rsp = rsp + 0x9cc8 0x1a5d 14 rbx = pop 0x1a5e 15 r12 = pop 0x1a60 16 r13 = pop 0x1a62 17 r14 = pop 0x1a64 18 r15 = pop 0x1a66 19 rbp = pop 0x1a67 20 <return> jump(pop) 0x1180 21 r12 = rsp + 0x80 {var_9c78} 0x1188 22 r13 = 0x2004 {"%d"} 0x118f 23 ecx = 0 0x1191 24 goto 25 @ 0x11d2 0x11d2 25 cond:0 = eax s<= 0 0x11d4 26 [rsp + 0x1c {var_9cdc_1}].d = ecx 0x11d8 27 if (cond:0) then 28 @ 0x11a0 else 30 @ 0x11da 0x11a0 28 [rsp {var_9cf8}].d = 0 0x11a0 29 goto 34 @ 0x11a7 0x11da 30 [rsp {var_9cf8}].d = 0 0x11e1 31 r14 = r12 {var_9c78} 0x11e4 32 r15d = 0 0x11e7 33 goto 44 @ 0x1205 0x11a7 34 rdi = 0x2007 {"%d\n"} 0x11ae 35 esi = [rsp {var_9cf8}].d 0x11b1 36 eax = 0 0x11b3 37 call(0x1030) 0x11b8 38 ecx = [rsp + 0x1c {var_9cdc_1}].d 0x11bc 39 ecx = ecx + 1 0x11bf 40 eax = [rsp + 4 {var_9cf4}].d 0x11c3 41 cond:1 = ecx s>= eax 0x11c5 42 r13 = 0x2004 {"%d"} 0x11cc 43 if (cond:1) then 13 @ 0x1a56 else 25 @ 0x11d2 0x1205 44 if (eax s<= 0) then 45 @ 0x11f0 else 49 @ 0x1207 0x11f0 45 rcx = sx.q(eax) 0x11f3 46 r15 = r15 + 1 0x11f7 47 r14 = r14 + 0x190 0x1201 48 if (r15 s>= rcx) then 52 @ 0x1243 else 44 @ 0x1205 0x1207 49 rbp = r14 0x120a 50 ebx = 0 0x120c 51 goto 53 @ 0x1210 0x1243 52 if (eax s< 2) then 34 @ 0x11a7 else 61 @ 0x1249 0x1210 53 rdi = r13 0x1213 54 rsi = rbp 0x1216 55 eax = 0 0x1218 56 call(0x1040) 0x121d 57 rbx = rbx + 1 0x1221 58 rax = sx.q([rsp + 4 {var_9cf4}].d) 0x1226 59 rbp = rbp + 4 0x122d 60 if (rbx s< rax) then 53 @ 0x1210 else 72 @ 0x122f 0x1249 61 r10d = (rax - 1).d 0x124d 62 r8d = eax 0x1250 63 rax = r8 - 2 0x1254 64 [rsp + 0x68 {var_9c90_1}].q = rax 0x1259 65 rcx = r8 - 9 0x125d 66 rdx = r8 - 1 0x1261 67 rdi = r8 - 8 0x1265 68 ebp = 0 0x1267 69 [rsp + 0x38 {var_9cc0_1}].q = r8 0x126c 70 [rsp {var_9cf8}].d = 0 0x1273 71 goto 73 @ 0x12b2 0x122f 72 goto 45 @ 0x11f0 0x12b2 73 rsi = r8 0x12b5 74 eax = esi 0x12b7 75 eax = eax & 3 0x12ba 76 r13 = rax * 0x190 0x12c1 77 r15 = r8 0x12c4 78 r15 = r15 & 0xfffffffffffffffc 0x12c8 79 [rsp + 0x40 {var_9cb8_1}].q = rdi 0x12cd 80 rdi = rdi u>> 3 0x12d1 81 rdi = rdi + 1 0x12d5 82 rdi = rdi & 0xfffffffffffffffe 0x12d9 83 [rsp + 0x58 {var_9ca0_1}].q = rdi 0x12de 84 r11 = rdx 0x12e1 85 r11 = r11 & 0xfffffffffffffffe 0x12e5 86 r11 = neg.q(r11) 0x12e8 87 [rsp + 0x48 {var_9cb0_1}].q = rdx 0x12ed 88 rdx = rdx & 0xfffffffffffffff8 0x12f1 89 [rsp + 0x60 {var_9c98_1}].q = rdx 0x12f6 90 [rsp + 0x50 {var_9ca8_1}].q = rcx 0x12fb 91 rcx = rcx u>> 3 0x12ff 92 rcx = rcx + 1 0x1303 93 rcx = rcx & 0xfffffffffffffffe 0x1307 94 [rsp + 0x20 {var_9cd8_1}].q = rcx 0x130c 95 [rsp + 0x30 {var_9cc8_1}].q = rbp 0x1311 96 rax = rbp 0x1314 97 rax = not.q(rax) 0x1317 98 rcx = [rsp + 0x38 {var_9cc0_1}].q 0x131c 99 r14 = rax + rcx 0x1320 100 rdx = r8 - 8 0x1324 101 [rsp + 0x78 {var_9c80_1}].q = rdx 0x1329 102 rdx = rdx u>> 3 0x132d 103 rdx = rdx + 1 0x1331 104 [rsp + 0x70 {var_9c88_1}].q = rdx 0x1336 105 rdi = rax + rcx 0x133a 106 rdi = rdi - 8 0x133e 107 [rsp + 8 {var_9cf0_1}].q = rdi 0x1343 108 rdi = rdi u>> 3 0x1347 109 rdi = rdi + 1 0x134b 110 rax = r14 0x134e 111 rax = rax & 0xfffffffffffffff8 0x1352 112 [rsp + 0x10 {var_9ce8_1}].q = rax 0x1357 113 rax = rax + 1 0x135b 114 [rsp + 0x28 {var_9cd0_1}].q = rax 0x1360 115 r8 = r12 {var_9c78} 0x1363 116 rcx = rsp + 0xb4 {var_9c44} 0x136b 117 r12d = 0 0x136e 118 goto 119 @ 0x138b 0x138b 119 r9 = r12 * 0x190 0x1392 120 ebx = [rsp + r9 + 0x80].d 0x139a 121 eax = ebx 0x13a0 122 if (rsi == 1) then 123 @ 0x1512 else 126 @ 0x13a6 0x1512 123 ebx = ebx - eax 0x1514 124 [rsp + r9 + 0x80].d = ebx 0x1520 125 if (rsi == 1) then 129 @ 0x1370 else 133 @ 0x1526 0x13a6 126 ebp = 1 0x13ab 127 eax = ebx 0x13b1 128 if (r14 u< 8) then 135 @ 0x1500 else 137 @ 0x13b7 0x1370 129 r12 = r12 + 1 0x1374 130 rcx = rcx + 0x190 0x137b 131 r8 = r8 + 0x190 0x1385 132 if (r12 == rsi) then 140 @ 0x1610 else 119 @ 0x138b 0x1526 133 ebx = 1 0x152f 134 if (r14 u< 8) then 148 @ 0x15f0 else 151 @ 0x1535 0x1500 135 edx = [r8 + (rbp << 2)].d 0x1506 136 if (eax s> edx) then 154 else 156 @ 0x1509 0x13b7 137 xmm0 = ebx 0x13bb 138 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x13c6 139 if ([rsp + 8 {var_9cf0_1}].q u>= 8) then 158 @ 0x13d3 else 162 @ 0x13c8 0x1610 140 rax = [rsp + 0x10 {var_9ce8_1}].q 0x1615 141 rax = rax + 1 0x1619 142 [rsp + 8 {var_9cf0_2}].q = rax 0x161e 143 r9 = rsp + 0x3a0 {var_9958} 0x1626 144 rcx = rsp + 0x80 {var_9c78} 0x162e 145 r12 = rsp + 0xd00 {var_8ff8} 0x1636 146 eax = 0 0x1638 147 goto 165 @ 0x1659 0x15f0 148 [r8 + (rbx << 2)].d = [r8 + (rbx << 2)].d - eax 0x15f4 149 rbx = rbx + 1 0x15fb 150 if (rsi != rbx) then 148 @ 0x15f0 else 168 @ 0x15fd 0x1535 151 xmm0 = eax 0x1539 152 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x1544 153 if ([rsp + 8 {var_9cf0_1}].q u>= 8) then 169 @ 0x154a else 172 @ 0x1546 0x1506 154 eax = edx 0x1506 155 goto 156 @ 0x1509 0x1509 156 rbp = rbp + 1 0x1510 157 if (rsi != rbp) then 135 @ 0x1500 else 123 @ 0x1512 0x13d3 158 rbp = [rsp + 0x20 {var_9cd8_1}].q 0x13d8 159 eax = 0 0x13da 160 xmm1 = xmm0 0x13de 161 goto 174 @ 0x13e0 0x13c8 162 eax = 0 0x13ca 163 xmm1 = xmm0 0x13ce 164 goto 202 @ 0x1455 0x1659 165 ebp = [rsp + (rax << 2) + 0x80].d 0x1660 166 edi = ebp 0x1666 167 if (rsi == 1) then 203 @ 0x17ba else 206 @ 0x166c 0x15fd 168 goto 129 @ 0x1370 0x154a 169 rbp = [rsp + 0x20 {var_9cd8_1}].q 0x154f 170 ebx = 0 0x155b 171 goto 209 @ 0x1560 0x1546 172 ebx = 0 0x1548 173 goto 225 @ 0x15ac 0x13e0 174 xmm2 = [rcx + (rax << 2) - 0x30].o 0x13e6 175 xmm3 = [rcx + (rax << 2) - 0x20].o 0x13ec 176 xmm4 = [rcx + (rax << 2) - 0x10].o 0x13f2 177 xmm5 = [rcx + (rax << 2)].o 0x13f7 178 xmm6 = xmm2 0x13fb 179 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0) 0x13ff 180 xmm0 = xmm0 & xmm6 0x1403 181 xmm6 = xmm6 & not.o(xmm2) 0x1407 182 xmm6 = xmm6 | xmm0 0x140b 183 xmm2 = xmm3 0x140f 184 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1413 185 xmm1 = xmm1 & xmm2 0x1417 186 xmm2 = xmm2 & not.o(xmm3) 0x141b 187 xmm2 = xmm2 | xmm1 0x141f 188 xmm0 = xmm4 0x1423 189 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6) 0x1427 190 xmm6 = xmm6 & xmm0 0x142b 191 xmm0 = xmm0 & not.o(xmm4) 0x142f 192 xmm0 = xmm0 | xmm6 0x1433 193 xmm1 = xmm5 0x1437 194 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x143b 195 xmm2 = xmm2 & xmm1 0x143f 196 xmm1 = xmm1 & not.o(xmm5) 0x1443 197 xmm1 = xmm1 | xmm2 0x1447 198 rax = rax + 0x10 0x144b 199 temp0.q = rbp 0x144b 200 rbp = rbp - 2 0x144f 201 if (temp0.q != 2) then 174 @ 0x13e0 else 202 @ 0x1455 0x1455 202 if ((dil & 1) == 0) then 226 @ 0x149d else 246 @ 0x1457 0x17ba 203 ebp = ebp - edi 0x17bc 204 [rsp + (rax << 2) + 0x80].d = ebp 0x17c7 205 if (rsi == 1) then 263 @ 0x1640 else 268 @ 0x17cd 0x166c 206 ebx = 1 0x1671 207 edi = ebp 0x1677 208 if (r14 u< 8) then 271 @ 0x1793 else 274 @ 0x167d 0x1560 209 xmm1 = [rcx + (rbx << 2) - 0x30].o 0x1566 210 xmm2 = [rcx + (rbx << 2) - 0x20].o 0x156c 211 xmm3 = [rcx + (rbx << 2) - 0x10].o 0x1572 212 xmm4 = [rcx + (rbx << 2)].o 0x1577 213 xmm1 = _mm_sub_epi32(xmm1, xmm0) 0x157b 214 xmm2 = _mm_sub_epi32(xmm2, xmm0) 0x157f 215 [rcx + (rbx << 2) - 0x30].o = xmm1 0x1585 216 [rcx + (rbx << 2) - 0x20].o = xmm2 0x158b 217 xmm3 = _mm_sub_epi32(xmm3, xmm0) 0x158f 218 xmm4 = _mm_sub_epi32(xmm4, xmm0) 0x1593 219 [rcx + (rbx << 2) - 0x10].o = xmm3 0x1599 220 [rcx + (rbx << 2)].o = xmm4 0x159e 221 rbx = rbx + 0x10 0x15a2 222 temp1.q = rbp 0x15a2 223 rbp = rbp - 2 0x15a6 224 if (temp1.q != 2) then 209 @ 0x1560 else 225 @ 0x15ac 0x15ac 225 if ((dil & 1) == 0) then 280 @ 0x15df else 282 @ 0x15ae 0x149d 226 xmm2 = xmm1 0x14a1 227 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x14a5 228 xmm0 = xmm0 & xmm2 0x14a9 229 xmm2 = xmm2 & not.o(xmm1) 0x14ad 230 xmm2 = xmm2 | xmm0 0x14b1 231 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x14b6 232 xmm1 = xmm0 0x14ba 233 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x14be 234 xmm2 = xmm2 & xmm1 0x14c2 235 xmm1 = xmm1 & not.o(xmm0) 0x14c6 236 xmm1 = xmm1 | xmm2 0x14ca 237 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x14cf 238 xmm2 = xmm0 0x14d3 239 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x14d7 240 xmm1 = xmm1 & xmm2 0x14db 241 xmm2 = xmm2 & not.o(xmm0) 0x14df 242 xmm2 = xmm2 | xmm1 0x14e3 243 eax = xmm2.d 0x14e7 244 rbp = [rsp + 0x28 {var_9cd0_1}].q 0x14f1 245 if (r14 == [rsp + 0x10 {var_9ce8_1}].q) then 123 @ 0x1512 else 293 @ 0x14fd 0x1457 246 rax = rax << 2 0x145b 247 rbp = rsp + r9 0x145f 248 rbp = rbp + 0x80 0x1466 249 rax = rax | 4 0x146a 250 xmm2 = [rax + rbp].o 0x146f 251 xmm3 = [rax + rbp + 0x10].o 0x1475 252 xmm4 = xmm2 0x1479 253 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0) 0x147d 254 xmm0 = xmm0 & xmm4 0x1481 255 xmm4 = xmm4 & not.o(xmm2) 0x1485 256 xmm0 = xmm0 | xmm4 0x1489 257 xmm2 = xmm3 0x148d 258 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1491 259 xmm1 = xmm1 & xmm2 0x1495 260 xmm2 = xmm2 & not.o(xmm3) 0x1499 261 xmm1 = xmm1 | xmm2 0x1499 262 goto 226 @ 0x149d 0x1640 263 rax = rax + 1 0x1644 264 r12 = r12 + 4 0x1648 265 rcx = rcx + 4 0x164c 266 r9 = r9 + 4 0x1653 267 if (rax == rsi) then 294 @ 0x1840 else 165 @ 0x1659 0x17cd 268 ebx = 1 0x17d2 269 rdx = [rsp + 0x30 {var_9cc8_1}].q 0x17dc 270 if ([rsp + 0x68 {var_9c90_1}].q == rdx) then 298 @ 0x1815 else 299 @ 0x17de 0x1793 271 rdx = rbx * 0x190 0x179a 272 rdx = rdx + rcx 0x179d 273 goto 302 @ 0x17a0 0x167d 274 xmm0 = ebp 0x1681 275 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x1686 276 rdi = [rsp + 0x60 {var_9c98_1}].q 0x168b 277 rbx = r12 0x168e 278 xmm1 = xmm0 0x169c 279 goto 304 @ 0x16a0 0x15df 280 rbx = [rsp + 0x28 {var_9cd0_1}].q 0x15e9 281 if (r14 == [rsp + 0x10 {var_9ce8_1}].q) then 129 @ 0x1370 else 336 @ 0x15ef 0x15ae 282 rbx = rbx << 2 0x15b2 283 rbp = rsp + r9 0x15b6 284 rbp = rbp + 0x80 0x15bd 285 rbx = rbx | 4 0x15c1 286 xmm1 = [rbx + rbp].o 0x15c6 287 xmm2 = [rbx + rbp + 0x10].o 0x15cc 288 xmm1 = _mm_sub_epi32(xmm1, xmm0) 0x15d0 289 xmm2 = _mm_sub_epi32(xmm2, xmm0) 0x15d4 290 [rbx + rbp].o = xmm1 0x15d9 291 [rbx + rbp + 0x10].o = xmm2 0x15d9 292 goto 280 @ 0x15df 0x14fd 293 goto 135 @ 0x1500 0x1840 294 eax = [rsp {var_9cf8}].d 0x1843 295 eax = eax + [rsp + 0x214 {var_9ae4}].d 0x184a 296 [rsp {var_9cf8}].d = eax 0x1851 297 if (rsi s< 3) then 337 @ 0x1a49 else 339 @ 0x1857 0x1815 298 if ((r14b & 1) == 0) then 263 @ 0x1640 else 348 @ 0x181b 0x17de 299 ebx = 1 0x17e3 300 rdx = r9 0x17e6 301 goto 353 @ 0x17f0 0x17a0 302 r8d = [rdx].d 0x17a6 303 if (edi s> r8d) then 360 else 362 @ 0x17aa 0x16a0 304 xmm2 = [rbx - 0x640].d 0x16a8 305 xmm3 = [rbx - 0x7d0].d 0x16b0 306 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x16b4 307 xmm2 = [rbx - 0x960].d 0x16bc 308 xmm4 = [rbx - 0xaf0].d 0x16c4 309 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x16c8 310 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x16cc 311 xmm2 = [rbx].d 0x16d0 312 xmm3 = [rbx - 0x190].d 0x16d8 313 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x16dc 314 xmm2 = [rbx - 0x320].d 0x16e4 315 xmm5 = [rbx - 0x4b0].d 0x16ec 316 xmm5 = _mm_unpacklo_epi32(xmm5, xmm2.q) 0x16f0 317 xmm5 = _mm_unpacklo_epi64(xmm5, xmm3.q) 0x16f4 318 xmm2 = xmm4 0x16f8 319 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x16fc 320 xmm3 = xmm0 0x1700 321 xmm3 = xmm3 & xmm2 0x1704 322 xmm2 = xmm2 & not.o(xmm4) 0x1708 323 xmm0 = xmm2 0x170c 324 xmm0 = xmm0 | xmm3 0x1710 325 xmm2 = xmm5 0x1714 326 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1718 327 xmm3 = xmm1 0x171c 328 xmm3 = xmm3 & xmm2 0x1720 329 xmm2 = xmm2 & not.o(xmm5) 0x1724 330 xmm1 = xmm2 0x1728 331 xmm1 = xmm1 | xmm3 0x172c 332 rbx = rbx + 0xc80 0x1733 333 temp2.q = rdi 0x1733 334 rdi = rdi - 8 0x1737 335 if (temp2.q != 8) then 304 @ 0x16a0 else 365 @ 0x173d 0x15ef 336 goto 148 @ 0x15f0 0x1a49 337 r12 = rsp + 0x80 {var_9c78} 0x1a51 338 goto 34 @ 0x11a7 0x1857 339 r8 = rsi - 1 0x185b 340 r9 = rsi 0x185e 341 r9 = r9 & 0xfffffffffffffff8 0x1862 342 ebp = 1 0x1867 343 r12 = rsp + 0x80 {var_9c78} 0x186f 344 rdx = r12 {var_9c78} 0x1872 345 rdi = rsp + 0x3d0 {var_9928} 0x187a 346 r11 = [rsp + 0x58 {var_9ca0_1}].q 0x187f 347 goto 385 @ 0x18aa 0x181b 348 rdx = rbx * 0x190 0x1822 349 rdx = rdx + rsp 0x1825 350 rdx = rdx + 0x80 0x182c 351 [rdx + (rax << 2)].d = [rdx + (rax << 2)].d - edi 0x182f 352 goto 263 @ 0x1640 0x17f0 353 [rdx - 0x190].d = [rdx - 0x190].d - edi 0x17f6 354 [rdx].d = [rdx].d - edi 0x17f8 355 rdx = rdx + 0x320 0x17ff 356 rbp = r11 + rbx 0x1803 357 rbp = rbp + 2 0x1807 358 rbx = rbx + 2 0x180f 359 if (rbp != 1) then 353 @ 0x17f0 else 298 @ 0x1815 0x17a6 360 edi = r8d 0x17a6 361 goto 362 @ 0x17aa 0x17aa 362 rbx = rbx + 1 0x17ae 363 rdx = rdx + 0x190 0x17b8 364 if (rsi != rbx) then 302 @ 0x17a0 else 203 @ 0x17ba 0x173d 365 xmm2 = xmm1 0x1741 366 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x1745 367 xmm0 = xmm0 & xmm2 0x1749 368 xmm2 = xmm2 & not.o(xmm1) 0x174d 369 xmm2 = xmm2 | xmm0 0x1751 370 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x1756 371 xmm1 = xmm0 0x175a 372 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x175e 373 xmm2 = xmm2 & xmm1 0x1762 374 xmm1 = xmm1 & not.o(xmm0) 0x1766 375 xmm1 = xmm1 | xmm2 0x176a 376 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x176f 377 xmm2 = xmm0 0x1773 378 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1777 379 xmm1 = xmm1 & xmm2 0x177b 380 xmm2 = xmm2 & not.o(xmm0) 0x177f 381 xmm2 = xmm2 | xmm1 0x1783 382 edi = xmm2.d 0x1787 383 rbx = [rsp + 8 {var_9cf0_2}].q 0x1791 384 if (r14 == [rsp + 0x10 {var_9ce8_1}].q) then 203 @ 0x17ba else 271 @ 0x1793 0x18aa 385 rbx = rbp + 1 0x18b2 386 if (rsi u>= 8) then 387 @ 0x18c6 else 388 @ 0x18b4 0x18c6 387 if ([rsp + 0x78 {var_9c80_1}].q u>= 8) then 390 @ 0x18d0 else 393 @ 0x18c8 0x18b4 388 eax = 0 0x18b6 389 goto 395 @ 0x1970 0x18d0 390 rax = r11 0x18d3 391 ecx = 0 0x18df 392 goto 399 @ 0x18e0 0x18c8 393 ecx = 0 0x18ca 394 goto 411 @ 0x192a 0x1970 395 ecx = [rdx + (rax << 2) + 0x320].d 0x1977 396 [rdx + (rax << 2) + 0x190].d = ecx 0x197e 397 rax = rax + 1 0x1985 398 if (rsi != rax) then 395 @ 0x1970 else 412 @ 0x1987 0x18e0 399 xmm0 = [rdi + (rcx << 2) - 0x30].o 0x18e6 400 xmm1 = [rdi + (rcx << 2) - 0x20].o 0x18ec 401 xmm2 = [rdi + (rcx << 2) - 0x10].o 0x18f2 402 xmm3 = [rdi + (rcx << 2)].o 0x18f7 403 [rdi + (rcx << 2) - 0x1c0].o = xmm0 0x1900 404 [rdi + (rcx << 2) - 0x1b0].o = xmm1 0x1909 405 [rdi + (rcx << 2) - 0x1a0].o = xmm2 0x1912 406 [rdi + (rcx << 2) - 0x190].o = xmm3 0x191b 407 rcx = rcx + 0x10 0x191f 408 temp3.q = rax 0x191f 409 rax = rax - 2 0x1923 410 if (temp3.q != 2) then 399 @ 0x18e0 else 411 @ 0x192a 0x192a 411 if (([rsp + 0x70 {var_9c88_1}].b & 1) == 0) then 413 @ 0x1962 else 415 @ 0x192c 0x1987 412 goto 426 @ 0x1890 0x1962 413 rax = r9 0x1968 414 if (rsi == r9) then 426 @ 0x1890 else 430 @ 0x196e 0x192c 415 rax = rbx * 0x190 0x1933 416 rax = rax + rsp 0x1936 417 rax = rax + 0x80 0x193c 418 xmm0 = [rax + (rcx << 2)].o 0x1941 419 xmm1 = [rax + (rcx << 2) + 0x10].o 0x1947 420 rax = rbp * 0x190 0x194e 421 rax = rax + rsp 0x1951 422 rax = rax + 0x80 0x1957 423 [rax + (rcx << 2)].o = xmm0 0x195c 424 [rax + (rcx << 2) + 0x10].o = xmm1 0x195c 425 goto 413 @ 0x1962 0x1890 426 rdi = rdi + 0x190 0x1897 427 rdx = rdx + 0x190 0x189e 428 rbp = rbx 0x18a4 429 if (rbx == r10) then 431 @ 0x1994 else 385 @ 0x18aa 0x196e 430 goto 395 @ 0x1970 0x1994 431 if (rsi s< 3) then 34 @ 0x11a7 else 432 @ 0x199a 0x199a 432 r9d = 1 0x19a0 433 rdx = r12 {var_9c78} 0x19a3 434 rbp = rsp + 0x538 {var_97c0} 0x19ab 435 goto 436 @ 0x19c5 0x19c5 436 if (r14 u>= 3) then 437 @ 0x19d0 else 440 @ 0x19c7 0x19d0 437 rdi = rbp 0x19d3 438 ecx = 0 0x19df 439 goto 442 @ 0x19e0 0x19c7 440 ecx = 0 0x19c9 441 goto 453 @ 0x1a19 0x19e0 442 ebx = [rdi - 0x4b0].d 0x19e6 443 eax = [rdi - 0x320].d 0x19ec 444 [rdi - 0x4b4].d = ebx 0x19f2 445 [rdi - 0x324].d = eax 0x19f8 446 eax = [rdi - 0x190].d 0x19fe 447 [rdi - 0x194].d = eax 0x1a04 448 eax = [rdi].d 0x1a06 449 [rdi - 4].d = eax 0x1a09 450 rcx = rcx + 4 0x1a0d 451 rdi = rdi + 0x640 0x1a17 452 if (r15 != rcx) then 442 @ 0x19e0 else 453 @ 0x1a19 0x1a19 453 r9 = r9 + 1 0x1a21 454 if ((sil & 3) == 0) then 455 @ 0x19b0 else 458 @ 0x1a23 0x19b0 455 rbp = rbp + 4 0x19b4 456 rdx = rdx + 4 0x19bb 457 if (r9 == r10) then 462 @ 0x1280 else 436 @ 0x19c5 0x1a23 458 rcx = rcx * 0x190 0x1a2a 459 rcx = rcx + rdx 0x1a2d 460 edi = 0 0x1a2f 461 goto 472 @ 0x1a30 0x1280 462 r10 = r10 - 1 0x1284 463 rbp = [rsp + 0x30 {var_9cc8_1}].q 0x1289 464 rbp = rbp + 1 0x128d 465 rcx = [rsp + 0x50 {var_9ca8_1}].q 0x1292 466 rcx = rcx - 1 0x1296 467 rdx = [rsp + 0x48 {var_9cb0_1}].q 0x129b 468 rdx = rdx - 1 0x129f 469 rdi = [rsp + 0x40 {var_9cb8_1}].q 0x12a4 470 rdi = rdi - 1 0x12ac 471 if (rsi s< 3) then 34 @ 0x11a7 else 73 @ 0x12b2 0x1a30 472 eax = [rcx + rdi + 8].d 0x1a34 473 [rcx + rdi + 4].d = eax 0x1a38 474 rdi = rdi + 0x190 0x1a42 475 if (r13 != rdi) then 472 @ 0x1a30 else 476 @ 0x1a44 0x1a44 476 goto 455 @ 0x19b0 int64_t _fini(): 0x1a6c 0 rsp = rsp - 8 0x1a70 1 rsp = rsp + 8 0x1a74 2 <return> jump(pop)
POJ_18
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 {"UAWAVAUATSHHH="} 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 - 0x48 0x116e 7 rdi = 0x2004 {"%d"} 0x1175 8 rsi = rsp + 0xc {var_6c} 0x117a 9 eax = 0 0x117c 10 call(0x1050) 0x1181 11 r14 = 0x200c {"%s"} 0x1188 12 r15 = rsp + 0x10 {var_68} 0x118d 13 rdi = r14 0x1190 14 rsi = r15 {var_68} 0x1193 15 eax = 0 0x1195 16 call(0x1050) 0x119a 17 rdi = r15 {var_68} 0x119d 18 call(0x1040) 0x11a2 19 rbx = rax 0x11a5 20 rdi = r14 0x11a8 21 rsi = r15 {var_68} 0x11ab 22 eax = 0 0x11ad 23 call(0x1030) 0x11b7 24 if ([rsp + 0xc {var_6c}].d s< 2) then 25 @ 0x1220 else 33 @ 0x11b9 0x1220 25 rsp = rsp + 0x48 0x1224 26 rbx = pop 0x1225 27 r12 = pop 0x1227 28 r13 = pop 0x1229 29 r14 = pop 0x122b 30 r15 = pop 0x122d 31 rbp = pop 0x122e 32 <return> jump(pop) 0x11b9 33 ebx = ebx + 1 0x11bc 34 ebp = 1 0x11c1 35 r14 = 0x200c {"%s"} 0x11c8 36 r15 = rsp + 0x10 {var_68} 0x11cd 37 r12 = 0x2007 {" %s"} 0x11d4 38 r13 = 0x200b {"\n%s"} 0x11db 39 goto 40 @ 0x11e0 0x11e0 40 rdi = r14 0x11e3 41 rsi = r15 {var_68} 0x11e6 42 eax = 0 0x11e8 43 call(0x1050) 0x11ed 44 rdi = r15 {var_68} 0x11f0 45 call(0x1040) 0x11f5 46 ecx = (rax + rbx).d 0x11f8 47 ecx = ecx + 1 0x11fb 48 ebx = eax 0x11fd 49 ebx = ebx + 1 0x1200 50 cond:0 = ecx s< 0x52 0x1200 51 cond:1 = ecx s< 0x52 0x1203 52 rdi = r13 0x1206 53 if (cond:0) then 54 else 56 @ 0x120a 0x1206 54 rdi = r12 0x1206 55 goto 56 @ 0x120a 0x120a 56 if (cond:1) then 57 else 59 @ 0x120d 0x120a 57 ebx = ecx 0x120a 58 goto 59 @ 0x120d 0x120d 59 rsi = r15 {var_68} 0x1210 60 eax = 0 0x1212 61 call(0x1030) 0x1217 62 ebp = ebp + 1 0x121e 63 if (ebp s< [rsp + 0xc {var_6c}].d) then 40 @ 0x11e0 else 25 @ 0x1220 int64_t _fini(): 0x1234 0 rsp = rsp - 8 0x1238 1 rsp = rsp + 8 0x123c 2 <return> jump(pop)
POJ_98
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0xb0 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rdi = rbp - 0x40 {var_48} 0x1186 5 esi = 0 0x1188 6 edx = 0x32 {""} 0x118d 7 call(0x1040) 0x1192 8 [rbp - 0x40 {var_48}].b = 0xa {""} 0x1196 9 rdi = rbp - 0x80 {var_88} 0x119a 10 esi = 0 0x119c 11 edx = 0x32 {""} 0x11a1 12 call(0x1040) 0x11a6 13 [rbp - 0x80 {var_88}].b = 0xa {""} 0x11aa 14 [rbp - 0x84 {var_8c}].d = 0 0x11b4 15 [rbp - 0x88 {var_90}].d = 0 0x11be 16 [rbp - 0x8c {var_94}].d = 0 0x11c8 17 [rbp - 0x90 {var_98}].d = 0 0x11d2 18 rsi = rbp - 0x40 {var_48} 0x11d6 19 rdx = rbp - 0x80 {var_88} 0x11da 20 rdi = 0x2004 {"%s%s"} 0x11e1 21 al = 0 0x11e3 22 call(0x1060) 0x11e8 23 [rbp - 0x84 {var_8c_1}].d = 0 0x11e8 24 goto 25 @ 0x11f2 0x11f2 25 rax = sx.q([rbp - 0x84 {var_8c_1}].d) 0x11f9 26 [rbp - 0x98 {var_a0_1}].q = rax 0x1200 27 rdi = rbp - 0x80 {var_88} 0x1204 28 call(0x1050) 0x1209 29 rcx = rax 0x120c 30 rax = [rbp - 0x98 {var_a0_1}].q 0x1216 31 if (rax u>= rcx) then 32 @ 0x132e else 36 @ 0x121c 0x132e 32 eax = 0 0x1330 33 rsp = rsp + 0xb0 0x1337 34 rbp = pop 0x1338 35 <return> jump(pop) 0x121c 36 eax = sx.d([rbp - 0x40 {var_48}].b) 0x1220 37 rcx = sx.q([rbp - 0x84 {var_8c_1}].d) 0x1227 38 ecx = sx.d([rbp + rcx - 0x80].b) 0x122e 39 if (eax != ecx) then 40 @ 0x1315 else 41 @ 0x1234 0x1315 40 goto 47 @ 0x131a 0x1234 41 eax = [rbp - 0x84 {var_8c_1}].d 0x123a 42 [rbp - 0x90 {var_98_1}].d = eax 0x1240 43 eax = [rbp - 0x84 {var_8c_1}].d 0x1246 44 [rbp - 0x8c {var_94_1}].d = eax 0x124c 45 [rbp - 0x88 {var_90_1}].d = 0 0x124c 46 goto 51 @ 0x1256 0x131a 47 eax = [rbp - 0x84 {var_8c_1}].d 0x1320 48 eax = eax + 1 0x1323 49 [rbp - 0x84 {var_8c_1}].d = eax 0x1329 50 goto 25 @ 0x11f2 0x1256 51 rax = sx.q([rbp - 0x88 {var_90_1}].d) 0x125d 52 [rbp - 0xa0 {var_a8_1}].q = rax 0x1264 53 rdi = rbp - 0x40 {var_48} 0x1268 54 call(0x1050) 0x126d 55 rcx = rax 0x1270 56 rax = [rbp - 0xa0 {var_a8_1}].q 0x127a 57 if (rax u>= rcx) then 58 @ 0x12cd else 65 @ 0x1280 0x12cd 58 rax = sx.q([rbp - 0x88 {var_90_1}].d) 0x12d4 59 [rbp - 0xa8 {var_b0_1}].q = rax 0x12db 60 rdi = rbp - 0x40 {var_48} 0x12df 61 call(0x1050) 0x12e4 62 rcx = rax 0x12e7 63 rax = [rbp - 0xa8 {var_b0_1}].q 0x12f1 64 if (rax != rcx) then 70 @ 0x1310 else 71 @ 0x12f7 0x1280 65 rax = sx.q([rbp - 0x88 {var_90_1}].d) 0x1287 66 eax = sx.d([rbp + rax - 0x40].b) 0x128c 67 rcx = sx.q([rbp - 0x90 {var_98_1}].d) 0x1293 68 ecx = sx.d([rbp + rcx - 0x80].b) 0x129a 69 if (eax == ecx) then 76 @ 0x12a5 else 77 @ 0x12a0 0x1310 70 goto 40 @ 0x1315 0x12f7 71 esi = [rbp - 0x8c {var_94_1}].d 0x12fd 72 rdi = 0x2009 {"%d"} 0x1304 73 al = 0 0x1306 74 call(0x1030) 0x130b 75 goto 32 @ 0x132e 0x12a5 76 goto 78 @ 0x12aa 0x12a0 77 goto 58 @ 0x12cd 0x12aa 78 eax = [rbp - 0x88 {var_90_1}].d 0x12b0 79 eax = eax + 1 0x12b3 80 [rbp - 0x88 {var_90_1}].d = eax 0x12b9 81 eax = [rbp - 0x90 {var_98_1}].d 0x12bf 82 eax = eax + 1 0x12c2 83 [rbp - 0x90 {var_98_1}].d = eax 0x12c8 84 goto 51 @ 0x1256 int64_t _fini(): 0x1340 0 rsp = rsp - 8 0x1344 1 rsp = rsp + 8 0x1348 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 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x118 0x1161 7 xmm0 = 0 0x1164 8 [rsp + 0x100 {var_48}].o = xmm0 0x116c 9 [rsp + 0xf0 {var_58}].o = xmm0 0x1174 10 [rsp + 0xe0 {var_68}].o = xmm0 0x117c 11 [rsp + 0xd0 {var_78}].o = xmm0 0x1184 12 [rsp + 0xc0 {var_88}].o = xmm0 0x118c 13 [rsp + 0xb0 {var_98}].o = xmm0 0x1194 14 [rsp + 0xa0 {var_a8}].o = xmm0 0x119c 15 [rsp + 0x90 {var_b8}].o = xmm0 0x11a4 16 [rsp + 0x80 {var_c8}].o = xmm0 0x11ac 17 [rsp + 0x70 {var_d8}].o = xmm0 0x11b1 18 [rsp + 0x60 {var_e8}].o = xmm0 0x11b6 19 [rsp + 0x50 {var_f8}].o = xmm0 0x11bb 20 [rsp + 0x40 {var_108}].o = xmm0 0x11c0 21 [rsp + 0x30 {var_118}].o = xmm0 0x11c5 22 [rsp + 0x20 {var_128}].o = xmm0 0x11ca 23 [rsp + 0x10 {var_138}].o = xmm0 0x11cf 24 rdi = 0x2004 {"%d,%d"} 0x11d6 25 r15d = 0 0x11d9 26 rsi = rsp + 8 {var_140} 0x11de 27 rdx = rsp + 0xc {var_13c} 0x11e3 28 eax = 0 0x11e5 29 call(0x1040) 0x11ef 30 if ([rsp + 8 {var_140}].d s<= 0) then 31 @ 0x1251 else 33 @ 0x11f1 0x1251 31 r8d = [rsp + 8 {var_140}].d 0x1259 32 if (r8d s<= 0) then 37 @ 0x1338 else 38 @ 0x125f 0x11f1 33 r12 = rsp + 0x10 {var_138} 0x11f6 34 r14 = 0x2007 {"%d"} 0x11fd 35 r13d = 0 0x1200 36 goto 43 @ 0x1227 0x1338 37 if (r15d != 0) then 44 @ 0x1348 else 53 @ 0x133a 0x125f 38 r13 = rsp + 0x10 {var_138} 0x1264 39 r14 = 0x200a {"%d+%d\n"} 0x126b 40 r12d = 0 0x126e 41 r15d = 0 0x1271 42 goto 57 @ 0x1296 0x1227 43 if ([rsp + 0xc {var_13c}].d s<= 0) then 61 @ 0x1210 else 65 @ 0x1229 0x1348 44 eax = 0 0x134a 45 rsp = rsp + 0x118 0x1351 46 rbx = pop 0x1352 47 r12 = pop 0x1354 48 r13 = pop 0x1356 49 r14 = pop 0x1358 50 r15 = pop 0x135a 51 rbp = pop 0x135b 52 <return> jump(pop) 0x133a 53 rdi = 0x2011 {"No"} 0x1341 54 eax = 0 0x1343 55 call(0x1030) 0x1343 56 goto 44 @ 0x1348 0x1296 57 ecx = [rsp + 0xc {var_13c}].d 0x129a 58 esi = 8 0x129f 59 edx = 8 0x12a6 60 if (ecx s<= 0) then 68 @ 0x12d9 else 69 @ 0x12a8 0x1210 61 r13 = r13 + 1 0x1214 62 rax = sx.q([rsp + 8 {var_140}].d) 0x1219 63 r12 = r12 + 0x20 0x1220 64 if (r13 s>= rax) then 31 @ 0x1251 else 43 @ 0x1227 0x1229 65 rbx = r12 0x122c 66 ebp = 0 0x122e 67 goto 73 @ 0x1230 0x12d9 68 if (r8d s<= 0) then 81 @ 0x1317 else 83 @ 0x12db 0x12a8 69 edx = 8 0x12ad 70 edi = 0xffffffff {""} 0x12b2 71 ebp = 0 0x12be 72 goto 91 @ 0x12c0 0x1230 73 rdi = r14 0x1233 74 rsi = rbx 0x1236 75 eax = 0 0x1238 76 call(0x1040) 0x123d 77 rbp = rbp + 1 0x1241 78 rax = sx.q([rsp + 0xc {var_13c}].d) 0x1246 79 rbx = rbx + 4 0x124d 80 if (rbp s< rax) then 73 @ 0x1230 else 94 @ 0x124f 0x1317 81 eax = esi 0x131c 82 if (r12 != rax) then 95 @ 0x1280 else 99 @ 0x1322 0x12db 83 rcx = sx.q(edx) 0x12de 84 eax = r8d 0x12e1 85 rcx = rsp + (rcx << 2) 0x12e5 86 rcx = rcx + 0x10 0x12e9 87 edi = 0x2710 {""} 0x12ee 88 esi = 8 0x12f3 89 ebp = 0 0x12ff 90 goto 104 @ 0x1300 0x12c0 91 eax = [r13 + (rbp << 2)].d 0x12c5 92 cond:0 = edi s< eax 0x12c7 93 if (edi s< eax) then 107 else 109 @ 0x12ca 0x124f 94 goto 61 @ 0x1210 0x1280 95 r12 = r12 + 1 0x1284 96 r8 = sx.q([rsp + 8 {var_140}].d) 0x1289 97 r13 = r13 + 0x20 0x1290 98 if (r12 s>= r8) then 37 @ 0x1338 else 57 @ 0x1296 0x1322 99 rdi = r14 0x1325 100 eax = 0 0x1327 101 call(0x1030) 0x132c 102 r15d = r15d + 1 0x1330 103 goto 95 @ 0x1280 0x1300 104 ebx = [rcx].d 0x1302 105 cond:1 = edi s> ebx 0x1304 106 if (edi s> ebx) then 110 else 112 @ 0x1307 0x12c7 107 edx = ebp 0x12c7 108 goto 109 @ 0x12ca 0x12ca 109 if (cond:0) then 113 else 115 @ 0x12cd 0x1304 110 edi = ebx 0x1304 111 goto 112 @ 0x1307 0x1307 112 if (cond:1) then 117 else 119 @ 0x130a 0x12ca 113 edi = eax 0x12ca 114 goto 115 @ 0x12cd 0x12cd 115 rbp = rbp + 1 0x12d4 116 if (rcx != rbp) then 91 @ 0x12c0 else 68 @ 0x12d9 0x1307 117 esi = ebp 0x1307 118 goto 119 @ 0x130a 0x130a 119 rbp = rbp + 1 0x130e 120 rcx = rcx + 0x20 0x1315 121 if (rax != rbp) then 104 @ 0x1300 else 81 @ 0x1317 int64_t _fini(): 0x1360 0 rsp = rsp - 8 0x1364 1 rsp = rsp + 8 0x1368 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) int64_t calloc(uint64_t n, uint64_t elem_size): 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 {"AWAVATSPH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) 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 push(rax) 0x1168 5 rdi = 0x2004 {"%d"} 0x116f 6 rsi = rsp + 4 {var_28+0x4} 0x1174 7 eax = 0 0x1176 8 call(0x1040) 0x117b 9 rbx = sx.q([rsp + 4 {var_28+0x4}].d) 0x1180 10 esi = 4 0x1185 11 rdi = rbx 0x1188 12 call(0x1050) 0x1190 13 if (rbx s<= 0) then 14 @ 0x1203 else 21 @ 0x1192 0x1203 14 eax = 0 0x1205 15 rsp = rsp + 8 0x1209 16 rbx = pop 0x120a 17 r12 = pop 0x120c 18 r14 = pop 0x120e 19 r15 = pop 0x1210 20 <return> jump(pop) 0x1192 21 r15 = rax 0x1195 22 r14 = 0x2004 {"%d"} 0x119c 23 r12 = rax 0x119f 24 ebx = 0 0x11ab 25 goto 26 @ 0x11b0 0x11b0 26 rdi = r14 0x11b3 27 rsi = r12 0x11b6 28 eax = 0 0x11b8 29 call(0x1040) 0x11bd 30 rbx = rbx + 1 0x11c1 31 rax = sx.q([rsp + 4 {var_28+0x4}].d) 0x11c6 32 r12 = r12 + 4 0x11cd 33 if (rbx s< rax) then 26 @ 0x11b0 else 34 @ 0x11d1 0x11d1 34 if (eax s<= 0) then 14 @ 0x1203 else 35 @ 0x11d3 0x11d3 35 r14 = 0x2007 {"%d\n"} 0x11da 36 ebx = 0 0x11dc 37 goto 38 @ 0x11e0 0x11e0 38 edi = [r15 + (rbx << 2)].d 0x11e4 39 call(0x1220) 0x11e9 40 rdi = r14 0x11ec 41 esi = eax 0x11ee 42 eax = 0 0x11f0 43 call(0x1030) 0x11f5 44 rbx = rbx + 1 0x11f9 45 rax = sx.q([rsp + 4 {var_28+0x4}].d) 0x1201 46 if (rbx s< rax) then 38 @ 0x11e0 else 14 @ 0x1203 uint64_t fibonacci(int32_t arg1): 0x1220 0 push(rbp) 0x1221 1 push(rbx) 0x1222 2 push(rax) 0x1223 3 ebx = edi 0x1225 4 eax = (rbx - 1).d 0x1228 5 ebp = 1 0x1230 6 if (eax u< 2) then 7 @ 0x1256 else 12 @ 0x1232 0x1256 7 eax = ebp 0x1258 8 rsp = rsp + 8 0x125c 9 rbx = pop 0x125d 10 rbp = pop 0x125e 11 <return> jump(pop) 0x1232 12 ebx = ebx - 2 0x1235 13 ebp = 0 0x1237 14 goto 15 @ 0x1240 0x1240 15 edi = ebx 0x1242 16 call(0x1220) 0x1247 17 ebp = ebp + eax 0x1249 18 eax = (rbx - 1).d 0x124c 19 cond:0 = ebx u> 1 0x124f 20 ebx = eax 0x1251 21 if (cond:0) then 15 @ 0x1240 else 22 @ 0x1253 0x1253 22 ebp = ebp + 1 0x1253 23 goto 7 @ 0x1256 int64_t _fini(): 0x1264 0 rsp = rsp - 8 0x1268 1 rsp = rsp + 8 0x126c 2 <return> jump(pop)
POJ_61
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0xa0 0x115c 4 rdi = 0x2010 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_ac} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 xmm0 = zx.o([0x2008].q) 0x117c 9 if ([rsp + 0xc {var_ac}].d s<= 0) then 10 @ 0x1351 else 18 @ 0x1182 0x1351 10 rdi = 0x2013 {"%.2f\n"} 0x1358 11 al = 1 0x135a 12 call(0x1030) 0x135f 13 rsp = rsp + 0xa0 0x1366 14 rbx = pop 0x1367 15 r14 = pop 0x1369 16 r15 = pop 0x136b 17 <return> jump(pop) 0x1182 18 r15 = rsp + 0x40 {var_78} 0x1187 19 r14 = 0x2010 {"%d"} 0x118e 20 ebx = 0 0x118e 21 goto 22 @ 0x1190 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_ac}].d) 0x11a6 28 r15 = r15 + 4 0x11ad 29 if (rbx s< rax) then 22 @ 0x1190 else 30 @ 0x11b1 0x11b1 30 if (eax s<= 0) then 31 @ 0x12d2 else 33 @ 0x11b7 0x12d2 31 xmm0 = zx.o([0x2008].q) 0x12da 32 goto 10 @ 0x1351 0x11b7 33 r15 = rsp + 0x70 {var_48} 0x11bc 34 r14 = 0x2010 {"%d"} 0x11c3 35 ebx = 0 0x11cf 36 goto 37 @ 0x11d0 0x11d0 37 rdi = r14 0x11d3 38 rsi = r15 0x11d6 39 eax = 0 0x11d8 40 call(0x1040) 0x11dd 41 rbx = rbx + 1 0x11e1 42 rax = sx.q([rsp + 0xc {var_ac}].d) 0x11e6 43 r15 = r15 + 4 0x11ed 44 if (rbx s< rax) then 37 @ 0x11d0 else 45 @ 0x11ef 0x11ef 45 eax = eax 0x11f1 46 cond:0 = eax s<= 0 0x11f3 47 xmm0 = zx.o([0x2008].q) 0x11fb 48 if (cond:0) then 10 @ 0x1351 else 49 @ 0x1201 0x1201 49 ecx = 0 0x1203 50 goto 51 @ 0x1225 0x1225 51 edx = [rsp + (rcx << 2) + 0x70].d 0x122c 52 if (edx s>= 0x5a) then 53 @ 0x1210 else 55 @ 0x1231 0x1210 53 [rsp + (rcx << 2) + 0x10].d = 0x40800000 {""} 0x1210 54 goto 56 @ 0x1218 0x1231 55 if (edx s< 0x55) then 58 @ 0x1243 else 59 @ 0x1233 0x1218 56 rcx = rcx + 1 0x121f 57 if (rax == rcx) then 61 @ 0x12be else 51 @ 0x1225 0x1243 58 if (edx s< 0x52) then 62 @ 0x1252 else 63 @ 0x1245 0x1233 59 [rsp + (rcx << 2) + 0x10].d = 0x406ccccd {""} 0x123b 60 goto 56 @ 0x1218 0x12be 61 if (eax s<= 0) then 10 @ 0x1351 else 65 @ 0x12c7 0x1252 62 if (edx s< 0x4e) then 66 @ 0x1261 else 67 @ 0x1254 0x1245 63 [rsp + (rcx << 2) + 0x10].d = 0x40533333 {""} 0x124d 64 goto 56 @ 0x1218 0x12c7 65 if (eax != 1) then 69 @ 0x12dc else 75 @ 0x12c9 0x1261 66 if (edx s< 0x4b) then 79 @ 0x1270 else 80 @ 0x1263 0x1254 67 [rsp + (rcx << 2) + 0x10].d = 0x40400000 {""} 0x125c 68 goto 56 @ 0x1218 0x12dc 69 esi = eax 0x12de 70 esi = esi & 0xfffffffe 0x12e1 71 ecx = 0 0x12e3 72 xmm0 = 0 0x12e6 73 edx = 0 0x12e8 74 goto 82 @ 0x12f0 0x12c9 75 ecx = 0 0x12cb 76 xmm0 = 0 0x12ce 77 edx = 0 0x12d0 78 goto 96 @ 0x1329 0x1270 79 if (edx s< 0x48) then 97 @ 0x127f else 98 @ 0x1272 0x1263 80 [rsp + (rcx << 2) + 0x10].d = 0x402ccccd {""} 0x126b 81 goto 56 @ 0x1218 0x12f0 82 edi = [rsp + (rcx << 2) + 0x40].d 0x12f4 83 xmm1 = 0 0x12f7 84 xmm1.d = float.s(edi) 0x12fb 85 ebx = [rsp + (rcx << 2) + 0x44].d 0x12ff 86 xmm1.d = xmm1.d f* fconvert.t([rsp + (rcx << 2) + 0x10].d) 0x1305 87 xmm1.d = xmm1.d f+ xmm0.d 0x1309 88 xmm0 = 0 0x130c 89 xmm0.d = float.s(ebx) 0x1310 90 edx = edx + edi 0x1312 91 xmm0.d = xmm0.d f* fconvert.t([rsp + (rcx << 2) + 0x14].d) 0x1318 92 xmm0.d = xmm0.d f+ xmm1.d 0x131c 93 edx = edx + ebx 0x131e 94 rcx = rcx + 2 0x1325 95 if (rsi != rcx) then 82 @ 0x12f0 else 96 @ 0x1329 0x1329 96 if ((al & 1) == 0) then 100 @ 0x1342 else 105 @ 0x132b 0x127f 97 if (edx s< 0x44) then 112 @ 0x128e else 113 @ 0x1281 0x1272 98 [rsp + (rcx << 2) + 0x10].d = 0x40133333 {""} 0x127a 99 goto 56 @ 0x1218 0x1342 100 xmm1 = 0 0x1345 101 xmm1.d = float.s(edx) 0x1349 102 xmm0.d = xmm0.d f/ xmm1.d 0x134d 103 xmm0.q = fconvert.d(xmm0.d) 0x134d 104 goto 10 @ 0x1351 0x132b 105 eax = [rsp + (rcx << 2) + 0x40].d 0x132f 106 xmm1 = 0 0x1332 107 xmm1.d = float.s(eax) 0x1336 108 xmm1.d = xmm1.d f* fconvert.t([rsp + (rcx << 2) + 0x10].d) 0x133c 109 xmm0.d = xmm0.d f+ xmm1.d 0x1340 110 edx = edx + eax 0x1340 111 goto 100 @ 0x1342 0x128e 112 if (edx s< 0x40) then 115 @ 0x12a0 else 116 @ 0x1290 0x1281 113 [rsp + (rcx << 2) + 0x10].d = 0x40000000 {""} 0x1289 114 goto 56 @ 0x1218 0x12a0 115 if (edx s< 0x3c) then 118 @ 0x12af else 120 @ 0x12a2 0x1290 116 [rsp + (rcx << 2) + 0x10].d = 0x3fc00000 {""} 0x1298 117 goto 56 @ 0x1218 0x12af 118 [rsp + (rcx << 2) + 0x10].d = 0 0x12b7 119 goto 56 @ 0x1218 0x12a2 120 [rsp + (rcx << 2) + 0x10].d = 0x3f800000 {""} 0x12aa 121 goto 56 @ 0x1218 int64_t _fini(): 0x1370 0 rsp = rsp - 8 0x1374 1 rsp = rsp + 8 0x1378 2 <return> jump(pop)
POJ_83
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) float sqrtf(float x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"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 @ 0x11c8 else 10 @ 0x1186 0x11c8 9 if ([rsp + 0xc {var_138ac}].d s<= 0) then 14 @ 0x1265 else 16 @ 0x11ce 0x1186 10 rbx = rsp + 0x20 {var_13898} 0x118b 11 r14 = 0x2007 {"%f%f"} 0x1192 12 r15d = 0 0x119f 13 goto 20 @ 0x11a0 0x1265 14 xmm1 = 0 0x1265 15 goto 29 @ 0x1268 0x11ce 16 xmm2 = 0 0x11d1 17 r14d = 0 0x11d4 18 xmm3 = 0 0x11d7 19 goto 40 @ 0x11f9 0x11a0 20 rdx = rbx + 4 0x11a4 21 rdi = r14 0x11a7 22 rsi = rbx 0x11aa 23 eax = 0 0x11ac 24 call(0x1040) 0x11b1 25 r15 = r15 + 1 0x11b5 26 rax = sx.q([rsp + 0xc {var_138ac}].d) 0x11ba 27 rbx = rbx + 8 0x11c1 28 if (r15 s< rax) then 20 @ 0x11a0 else 9 @ 0x11c8 0x1268 29 xmm0 = 0 0x126b 30 xmm0.q = fconvert.d(xmm1.d) 0x126f 31 rdi = 0x200c {"%.4f\n"} 0x1276 32 al = 1 0x1278 33 call(0x1030) 0x127d 34 eax = 0 0x127f 35 rsp = rsp + 0x138a0 0x1286 36 rbx = pop 0x1287 37 r14 = pop 0x1289 38 r15 = pop 0x128b 39 <return> jump(pop) 0x11f9 40 if ([rsp + 0xc {var_138ac}].d s<= 0) then 41 @ 0x11e0 else 43 @ 0x11fb 0x11e0 41 xmm1 = xmm3 0x11e0 42 goto 45 @ 0x11e3 0x11fb 43 ebx = 0 0x11fd 44 goto 49 @ 0x1234 0x11e3 45 r14 = r14 + 1 0x11e7 46 rax = sx.q([rsp + 0xc {var_138ac}].d) 0x11ec 47 xmm3 = xmm1 0x11f2 48 if (r14 s>= rax) then 29 @ 0x1268 else 40 @ 0x11f9 0x1234 49 xmm0 = [rsp + (r14 << 3) + 0x20].d 0x123b 50 xmm0.d = xmm0.d f- fconvert.t([rsp + (rbx << 3) + 0x20].d) 0x1241 51 xmm1 = [rsp + (r14 << 3) + 0x24].d 0x1248 52 xmm1.d = xmm1.d f- fconvert.t([rsp + (rbx << 3) + 0x24].d) 0x124e 53 xmm1.d = xmm1.d f* xmm1.d 0x1252 54 xmm0.d = xmm0.d f* xmm0.d 0x1256 55 xmm0.d = xmm0.d f+ xmm1.d 0x125a 56 flag:p = is_unordered.d(xmm0.d, xmm2.d) 0x125a 57 flag:c = xmm0.d f< xmm2.d | is_unordered.d(xmm0.d, xmm2.d) 0x125a 58 flag:z = xmm0.d f== xmm2.d | is_unordered.d(xmm0.d, xmm2.d) 0x125a 59 flag:s = 0 0x125a 60 flag:o = 0 0x125a 61 flag:a = 0 0x125d 62 if (flag:c) then 63 @ 0x1200 else 68 @ 0x125f 0x1200 63 [rsp + 0x10 {var_138a8_1}].o = xmm3 0x1205 64 call(0x1050) 0x120a 65 xmm3 = [rsp + 0x10 {var_138a8_1}].o 0x120f 66 xmm2 = 0 0x120f 67 goto 70 @ 0x1212 0x125f 68 xmm0 = _mm_sqrt_ss(xmm0.d) 0x1263 69 goto 70 @ 0x1212 0x1212 70 xmm1 = xmm3 0x1215 71 xmm1 = _mm_cmpeq_ss(xmm1.d, xmm0.d, 2) 0x121a 72 xmm0 = _mm_and_ps(xmm0, xmm1) 0x121d 73 xmm1 = _mm_andnot_ps(xmm1, xmm3) 0x1220 74 xmm1 = _mm_or_ps(xmm1, xmm0) 0x1223 75 rbx = rbx + 1 0x1227 76 rax = sx.q([rsp + 0xc {var_138ac}].d) 0x122c 77 xmm3 = xmm1 0x1232 78 if (rbx s>= rax) then 45 @ 0x11e3 else 49 @ 0x1234 int64_t _fini(): 0x1290 0 rsp = rsp - 8 0x1294 1 rsp = rsp + 8 0x1298 2 <return> jump(pop)
POJ_70
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t getchar(): 0x1030 0 <return> tailcall([0x4018].q) int64_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 {"SHH\$\nH1H~$HcHf"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbx) 0x1171 1 rsp = rsp - 0x10 0x1175 2 rbx = rsp + 0xa {var_e} 0x117a 3 rdi = rbx {var_e} 0x117d 4 eax = 0 0x117f 5 call(0x1050) 0x1184 6 rdi = rbx {var_e} 0x1187 7 call(0x1040) 0x118e 8 if (eax s<= 0) then 9 @ 0x11b4 else 17 @ 0x1190 0x11b4 9 eax = 0 0x11b6 10 call(0x1030) 0x11bb 11 eax = 0 0x11bd 12 call(0x1030) 0x11c2 13 eax = 0 0x11c4 14 rsp = rsp + 0x10 0x11c8 15 rbx = pop 0x11c9 16 <return> jump(pop) 0x1190 17 rbx = sx.q(eax) 0x1193 18 rbx = rbx + 1 0x1197 19 goto 20 @ 0x11a0 0x11a0 20 edi = sx.d([rsp + rbx + 8].b) 0x11a5 21 call(0x1060) 0x11aa 22 rbx = rbx - 1 0x11b2 23 if (rbx s> 1) then 20 @ 0x11a0 else 9 @ 0x11b4 int64_t _fini(): 0x11d0 0 rsp = rsp - 8 0x11d4 1 rsp = rsp + 8 0x11d8 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 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 {"AWAVATSHxH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x78 0x116b 5 rdi = 0x2080 {"%d%s%d"} 0x1172 6 r15d = 0 0x1175 7 rsi = rsp + 0xc {var_8c} 0x117a 8 r14 = rsp + 0x10 {var_88} 0x117f 9 rcx = rsp + 8 {var_90} 0x1184 10 rdx = r14 {var_88} 0x1187 11 eax = 0 0x1189 12 call(0x1040) 0x118e 13 rdi = r14 {var_88} 0x1191 14 call(0x1030) 0x1196 15 r9d = eax 0x1199 16 temp3.d = r9d 0x1199 17 r9d = r9d - 1 0x119d 18 if (temp3.d - 1 s< 0) then 19 @ 0x1435 else 23 @ 0x11a3 0x1435 19 rcx = sx.q([rsp + 8 {var_90}].d) 0x143a 20 r12d = 0 0x143d 21 esi = 0x37 {""} 0x1442 22 goto 25 @ 0x1477 0x11a3 23 ecx = eax 0x11a9 24 if (rcx u>= 8) then 29 @ 0x11b2 else 43 @ 0x11ab 0x1477 25 rax = r15 0x147a 26 rax = rax | rcx 0x147d 27 rax = rax u>> 0x20 0x1481 28 if (rax != 0) then 45 @ 0x1450 else 53 @ 0x1483 0x11b2 29 r8d = eax 0x11b5 30 r8d = r8d & 7 0x11b9 31 rsi = rcx 0x11bc 32 rsi = rsi - r8 0x11bf 33 ebx = 0 0x11c1 34 xmm8 = [0x2010].o 0x11ca 35 xmm9 = [0x2020].o 0x11d3 36 xmm2 = _mm_cmpeq_epi32(xmm2, xmm2) 0x11d7 37 xmm10 = [0x2030].o 0x11e0 38 xmm14 = [0x2040].o 0x11e9 39 xmm11 = [0x2050].o 0x11f2 40 xmm12 = [0x2060].o 0x11fb 41 xmm13 = [0x2070].o 0x1204 42 goto 66 @ 0x121d 0x11ab 43 esi = 0 0x11ad 44 goto 103 @ 0x1393 0x1450 45 rax = r15 0x1453 46 rdx:rax = sx.o(rax) 0x1455 47 temp0.q = divs.dp.q(rdx:rax, rcx) 0x1455 48 temp1.q = mods.dp.q(rdx:rax, rcx) 0x1455 49 rax = temp0.q 0x1455 50 rdx = temp1.q 0x1458 51 r15 = rax 0x1458 52 goto 106 @ 0x145b 0x1483 53 eax = r15d 0x1486 54 edx = 0 0x1488 55 temp2.d = ecx 0x1488 56 temp4.d = edx 0x1488 57 temp5.d = eax 0x1488 58 temp0.d = divu.dp.d(temp4.d:temp5.d, temp2.d) 0x1488 59 temp6.d = edx 0x1488 60 temp7.d = eax 0x1488 61 temp1.d = modu.dp.d(temp6.d:temp7.d, temp2.d) 0x1488 62 eax = temp0.d 0x1488 63 edx = temp1.d 0x148a 64 r15d = eax 0x148d 65 goto 106 @ 0x145b 0x121d 66 xmm7 = [rsp + rbx + 0x10].q 0x1223 67 xmm3 = xmm7 0x1227 68 xmm3 = _mm_add_epi8(xmm3, xmm8) 0x122c 69 xmm0 = xmm3 0x1230 70 xmm0 = _mm_max_epu8(xmm0, xmm9) 0x1235 71 xmm0 = _mm_cmpeq_epi8(xmm0, xmm3) 0x1239 72 xmm5 = xmm0 0x123d 73 xmm5 = xmm5 ^ xmm2 0x1241 74 xmm6 = _mm_unpacklo_epi8(xmm6, xmm5.q) 0x1245 75 xmm1 = xmm7 0x1249 76 xmm1 = _mm_add_epi8(xmm1, xmm10) 0x124e 77 xmm5 = xmm1 0x1252 78 xmm5 = _mm_max_epu8(xmm5, xmm14) 0x1257 79 xmm5 = _mm_cmpeq_epi8(xmm5, xmm1) 0x125b 80 xmm1 = xmm5 0x125f 81 xmm1 = xmm1 ^ xmm2 0x1263 82 xmm4 = _mm_unpacklo_epi8(xmm4, xmm1.q) 0x1267 83 xmm4 = xmm4 | xmm6 0x126b 84 xmm5 = xmm5 & not.o(xmm0) 0x126f 85 xmm1 = xmm5 0x1273 86 xmm1 = xmm1 & not.o(xmm12) 0x1278 87 xmm5 = xmm5 & xmm13 0x127d 88 xmm5 = xmm5 | xmm1 0x1281 89 xmm5 = _mm_add_epi8(xmm5, xmm7) 0x1285 90 xmm7 = _mm_add_epi8(xmm7, xmm11) 0x128a 91 xmm1 = xmm7 0x128e 92 xmm1 = _mm_max_epu8(xmm1, xmm14) 0x1293 93 xmm1 = _mm_cmpeq_epi8(xmm1, xmm7) 0x1297 94 xmm1 = xmm1 ^ xmm2 0x129b 95 xmm1 = _mm_unpacklo_epi8(xmm1, xmm1.q) 0x129f 96 xmm1 = xmm1 | xmm4 0x12a3 97 xmm5 = xmm5 & xmm0 0x12a7 98 xmm0 = xmm0 & not.o(xmm3) 0x12ab 99 xmm0 = xmm0 | xmm5 0x12af 100 xmm1 = _mm_srai_epi16(xmm1, 8) 0x12b4 101 edi = xmm1.d 0x12bc 102 if ((dil & 1) == 0) then 109 @ 0x12c6 else 111 @ 0x12be 0x1393 103 edi = zx.d([rsp + rsi + 0x10].b) 0x1398 104 ebx = (rdi - 0x30).d 0x139e 105 if (bl u< 0xa) then 114 @ 0x1386 else 116 @ 0x13a0 0x145b 106 cond:0 = rdx s>= 0xa 0x145f 107 eax = 0x30 {""} 0x1464 108 if (cond:0) then 118 else 120 @ 0x1467 0x12c6 109 edi = edi u>> 0x10 0x12cd 110 if ((dil & 1) == 0) then 124 @ 0x12d7 else 126 @ 0x12cf 0x12be 111 edx = xmm0.d 0x12c2 112 [rsp + rbx + 0x10].b = dl 0x12c2 113 goto 109 @ 0x12c6 0x1386 114 [rsp + rsi + 0x10].b = bl 0x1386 115 goto 129 @ 0x138a 0x13a0 116 edx = (rdi - 0x41).d 0x13a6 117 if (dl u<= 0x19) then 131 @ 0x1380 else 133 @ 0x13a8 0x1464 118 eax = esi 0x1464 119 goto 120 @ 0x1467 0x1467 120 al = al + dl 0x1469 121 [rsp + r12 + 0x10].b = al 0x146e 122 r12 = r12 + 1 0x1475 123 if (r15 s<= 0) then 135 @ 0x148f else 25 @ 0x1477 0x12d7 124 edx = _mm_extract_epi16(xmm1, 2) 0x12df 125 if ((dl & 1) == 0) then 141 @ 0x12ec else 143 @ 0x12e1 0x12cf 126 edx = xmm0.d 0x12d3 127 [rsp + rbx + 0x11].b = dh 0x12d3 128 goto 124 @ 0x12d7 0x138a 129 rsi = rsi + 1 0x1391 130 if (rcx == rsi) then 147 @ 0x135e else 103 @ 0x1393 0x1380 131 dil = dil - 0x37 0x1380 132 goto 148 @ 0x1384 0x13a8 133 edx = (rdi - 0x61).d 0x13ae 134 if (dl u> 0x19) then 129 @ 0x138a else 150 @ 0x13b0 0x148f 135 r12 = r12 - 1 0x1493 136 eax = r12d 0x1496 137 r14 = rsp + rax 0x149a 138 r14 = r14 + 0x10 0x149e 139 ebx = 0 0x149e 140 goto 152 @ 0x14a0 0x12ec 141 edx = _mm_extract_epi16(xmm1, 3) 0x12f4 142 if ((dl & 1) == 0) then 159 @ 0x1301 else 161 @ 0x12f6 0x12e1 143 edx = xmm0.d 0x12e5 144 edx = edx u>> 0x10 0x12e8 145 [rsp + rbx + 0x12].b = dl 0x12e8 146 goto 141 @ 0x12ec 0x135e 147 if (r9d s< 0) then 165 @ 0x13b6 else 167 @ 0x1360 0x1384 148 ebx = edi 0x1384 149 goto 114 @ 0x1386 0x13b0 150 dil = dil - 0x57 0x13b4 151 goto 148 @ 0x1384 0x14a0 152 edi = sx.d([r14 + rbx].b) 0x14a5 153 call(0x1050) 0x14aa 154 rax = rbx - 1 0x14ae 155 ebx = ebx + r12d 0x14b1 156 cond:1 = ebx s> 0 0x14b3 157 rbx = rax 0x14b6 158 if (cond:1) then 152 @ 0x14a0 else 171 @ 0x14b8 0x1301 159 edx = _mm_extract_epi16(xmm1, 4) 0x1309 160 if ((dl & 1) == 0) then 177 @ 0x1314 else 179 @ 0x130b 0x12f6 161 edx = xmm0.d 0x12fa 162 edx = edx u>> 0x18 0x12fd 163 [rsp + rbx + 0x13].b = dl 0x12fd 164 goto 159 @ 0x1301 0x13b6 165 r15d = 0 0x13b9 166 goto 19 @ 0x1435 0x1360 167 rdx = sx.q([rsp + 0xc {var_8c}].d) 0x1365 168 rsi = rcx - 1 0x1369 169 eax = eax & 3 0x1370 170 if (rsi u>= 3) then 182 @ 0x13bb else 186 @ 0x1372 0x14b8 171 rsp = rsp + 0x78 0x14bc 172 rbx = pop 0x14bd 173 r12 = pop 0x14bf 174 r14 = pop 0x14c1 175 r15 = pop 0x14c3 176 <return> jump(pop) 0x1314 177 edx = _mm_extract_epi16(xmm1, 5) 0x131c 178 if ((dl & 1) == 0) then 189 @ 0x1327 else 191 @ 0x131e 0x130b 179 edx = _mm_extract_epi16(xmm0, 2) 0x1310 180 [rsp + rbx + 0x14].b = dl 0x1310 181 goto 177 @ 0x1314 0x13bb 182 rcx = rcx - rax 0x13be 183 esi = 0 0x13c0 184 r15d = 0 0x13cd 185 goto 194 @ 0x13d0 0x1372 186 esi = 0 0x1374 187 r15d = 0 0x1377 188 goto 208 @ 0x1410 0x1327 189 edx = _mm_extract_epi16(xmm1, 6) 0x132f 190 if ((dl & 1) == 0) then 209 @ 0x133a else 211 @ 0x1331 0x131e 191 edx = _mm_extract_epi16(xmm0, 2) 0x1323 192 [rsp + rbx + 0x15].b = dh 0x1323 193 goto 189 @ 0x1327 0x13d0 194 r15 = r15 * rdx 0x13d4 195 rdi = sx.q([rsp + rsi + 0x10].b) 0x13da 196 rdi = rdi + r15 0x13dd 197 rdi = rdi * rdx 0x13e1 198 rbx = sx.q([rsp + rsi + 0x11].b) 0x13e7 199 rbx = rbx + rdi 0x13ea 200 rbx = rbx * rdx 0x13ee 201 rdi = sx.q([rsp + rsi + 0x12].b) 0x13f4 202 rdi = rdi + rbx 0x13f7 203 rdi = rdi * rdx 0x13fb 204 r15 = sx.q([rsp + rsi + 0x13].b) 0x1401 205 r15 = r15 + rdi 0x1404 206 rsi = rsi + 4 0x140b 207 if (rcx != rsi) then 194 @ 0x13d0 else 208 @ 0x1410 0x1410 208 if (rax == 0) then 19 @ 0x1435 else 214 @ 0x1412 0x133a 209 edx = _mm_extract_epi16(xmm1, 7) 0x1342 210 if ((dl & 1) == 0) then 218 @ 0x1210 else 220 @ 0x1348 0x1331 211 edx = _mm_extract_epi16(xmm0, 3) 0x1336 212 [rsp + rbx + 0x16].b = dl 0x1336 213 goto 209 @ 0x133a 0x1412 214 rcx = rsp + rsi 0x1416 215 rcx = rcx + 0x10 0x141a 216 esi = 0 0x141c 217 goto 223 @ 0x1420 0x1210 218 rbx = rbx + 8 0x1217 219 if (rsi == rbx) then 228 @ 0x1359 else 66 @ 0x121d 0x1348 220 edx = _mm_extract_epi16(xmm0, 3) 0x134d 221 [rsp + rbx + 0x17].b = dh 0x1351 222 goto 218 @ 0x1210 0x1420 223 r15 = r15 * rdx 0x1424 224 rdi = sx.q([rcx + rsi].b) 0x1429 225 r15 = r15 + rdi 0x142c 226 rsi = rsi + 1 0x1433 227 if (rax != rsi) then 223 @ 0x1420 else 19 @ 0x1435 0x1359 228 if (r8 != 0) then 103 @ 0x1393 else 147 @ 0x135e int64_t _fini(): 0x14c8 0 rsp = rsp - 8 0x14cc 1 rsp = rsp + 8 0x14d0 2 <return> jump(pop)
POJ_55
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 - 0x108 0x1171 7 rdi = 0x2004 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_12c} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 0xc {var_12c}].d s<= 0) then 12 @ 0x1281 else 21 @ 0x118f 0x1281 12 eax = 0 0x1283 13 rsp = rsp + 0x108 0x128a 14 rbx = pop 0x128b 15 r12 = pop 0x128d 16 r13 = pop 0x128f 17 r14 = pop 0x1291 18 r15 = pop 0x1293 19 rbp = pop 0x1294 20 <return> jump(pop) 0x118f 21 r14 = 0x2004 {"%d"} 0x1196 22 r15d = 0 0x1199 23 goto 24 @ 0x11b6 0x11b6 24 rdi = r14 0x11b9 25 rsi = rsp + 8 {var_130} 0x11be 26 eax = 0 0x11c0 27 call(0x1040) 0x11ca 28 if ([rsp + 8 {var_130}].d == 0) then 29 @ 0x1270 else 32 @ 0x11d0 0x1270 29 rdi = 0x200b {"60"} 0x1277 30 call(0x1050) 0x127c 31 goto 34 @ 0x11a7 0x11d0 32 eax = [rsp + 8 {var_130}].d 0x11d6 33 if (eax s<= 0) then 36 @ 0x1201 else 37 @ 0x11d8 0x11a7 34 r15d = r15d + 1 0x11b0 35 if (r15d s>= [rsp + 0xc {var_12c}].d) then 12 @ 0x1281 else 24 @ 0x11b6 0x1201 36 if (eax s<= 0) then 40 @ 0x11a0 else 42 @ 0x1203 0x11d8 37 rbx = rsp + 0x14 {var_124} 0x11dd 38 ebp = 0 0x11df 39 goto 47 @ 0x11e0 0x11a0 40 r14 = 0x2004 {"%d"} 0x11a0 41 goto 34 @ 0x11a7 0x1203 42 r14 = sx.q(eax) 0x1206 43 ebx = (rax + (rax << 1)).d 0x1209 44 ebp = 0x3c {""} 0x120e 45 ebp = ebp - ebx 0x120e 46 goto 55 @ 0x1210 0x11e0 47 rdi = r14 0x11e3 48 rsi = rbx 0x11e6 49 eax = 0 0x11e8 50 call(0x1040) 0x11ed 51 rax = sx.q([rsp + 8 {var_130}].d) 0x11f2 52 rbp = rbp + 1 0x11f6 53 rbx = rbx + 4 0x11fd 54 if (rbp s< rax) then 47 @ 0x11e0 else 36 @ 0x1201 0x1210 55 esi = [rsp + (r14 << 2) + 0x10].d 0x1215 56 r13d = (rbx + rsi).d 0x1219 57 r12d = r13d 0x121c 58 r12d = r12d & 0xfffffffc 0x1224 59 if (r12d == 0x3c) then 60 @ 0x122e else 64 @ 0x1226 0x122e 60 rdi = 0x2007 {"%d\n"} 0x1235 61 eax = 0 0x1237 62 call(0x1030) 0x1237 63 goto 66 @ 0x1240 0x1226 64 esi = ebp 0x122c 65 if (r13d s> 0x3b) then 66 @ 0x1240 else 60 @ 0x122e 0x1240 66 if (r13d s< 0x3c) then 40 @ 0x11a0 else 67 @ 0x124a 0x124a 67 if (r12d == 0x3c) then 40 @ 0x11a0 else 68 @ 0x1250 0x1250 68 rax = r14 - 1 0x1254 69 ebp = ebp + 3 0x1257 70 ebx = ebx - 3 0x125a 71 cond:0 = r14 s> 1 0x125e 72 r14 = rax 0x1261 73 if (cond:0) then 55 @ 0x1210 else 74 @ 0x1263 0x1263 74 goto 40 @ 0x11a0 int64_t _fini(): 0x129c 0 rsp = rsp - 8 0x12a0 1 rsp = rsp + 8 0x12a4 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 {"UAWAVAUATSH8"} 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 - 0x338 0x1161 7 rdi = 0x2004 {"%d"} 0x1168 8 rsi = rsp + 8 {var_360} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1179 11 if ([rsp + 8 {var_360}].d s<= 0) then 12 @ 0x128f else 21 @ 0x117f 0x128f 12 eax = 0 0x1291 13 rsp = rsp + 0x338 0x1298 14 rbx = pop 0x1299 15 r12 = pop 0x129b 16 r13 = pop 0x129d 17 r14 = pop 0x129f 18 r15 = pop 0x12a1 19 rbp = pop 0x12a2 20 <return> jump(pop) 0x117f 21 r12d = 1 0x1185 22 r15 = 0x2004 {"%d"} 0x118c 23 r14 = rsp + 0xc {var_35c} 0x1191 24 r13 = rsp + 0x10 {var_358} 0x1196 25 goto 26 @ 0x11c3 0x11c3 26 rdi = r15 0x11c6 27 rsi = r14 {var_35c} 0x11c9 28 eax = 0 0x11cb 29 call(0x1040) 0x11d0 30 eax = [rsp + 0xc {var_35c}].d 0x11d4 31 temp0.d = eax 0x11d4 32 cond:0 = temp0.d s<= 0 0x11d6 33 if (temp0.d == 0) then 34 @ 0x11a0 else 36 @ 0x11d8 0x11a0 34 ecx = 0x3c {""} 0x11a0 35 goto 37 @ 0x11a5 0x11d8 36 if (cond:0) then 39 @ 0x11ff else 43 @ 0x11da 0x11a5 37 [rsp + (r12 << 2) + 0x19c].d = ecx 0x11a5 38 goto 46 @ 0x11ad 0x11ff 39 edx = eax 0x1201 40 eax = (rax + (rax << 1)).d 0x1204 41 rcx = rdx 0x1207 42 goto 51 @ 0x1212 0x11da 43 rbx = r13 {var_358} 0x11dd 44 ebp = 0 0x11df 45 goto 52 @ 0x11e0 0x11ad 46 rcx = r12 + 1 0x11b2 47 rax = sx.q([rsp + 8 {var_360}].d) 0x11b7 48 cond:1 = r12 s>= rax 0x11ba 49 r12 = rcx 0x11bd 50 if (cond:1) then 60 @ 0x125c else 26 @ 0x11c3 0x1212 51 if (ecx s<= 0) then 46 @ 0x11ad else 61 @ 0x1214 0x11e0 52 rdi = r15 0x11e3 53 rsi = rbx 0x11e6 54 eax = 0 0x11e8 55 call(0x1040) 0x11ed 56 rax = sx.q([rsp + 0xc {var_35c}].d) 0x11f2 57 rbp = rbp + 1 0x11f6 58 rbx = rbx + 4 0x11fd 59 if (rbp s< rax) then 52 @ 0x11e0 else 39 @ 0x11ff 0x125c 60 if (eax s<= 0) then 12 @ 0x128f else 69 @ 0x125e 0x1214 61 esi = [rsp + (rcx << 2) + 0xc].d 0x1218 62 rcx = rcx - 1 0x121c 63 edi = eax 0x121e 64 eax = eax - 3 0x1221 65 edi = edi + esi 0x1223 66 edi = edi - 3 0x1226 67 edi = edi + 3 0x122c 68 if (edi s> 0x3c) then 51 @ 0x1212 else 72 @ 0x122e 0x125e 69 rbx = 0x2007 {"%d\n"} 0x1265 70 ebp = 0 0x1267 71 goto 74 @ 0x1270 0x122e 72 edi = (rcx + 1).d 0x1233 73 if (edx s<= edi) then 81 @ 0x124e else 84 @ 0x1235 0x1270 74 esi = [rsp + (rbp << 2) + 0x1a0].d 0x1277 75 rdi = rbx 0x127a 76 eax = 0 0x127c 77 call(0x1030) 0x1281 78 rax = sx.q([rsp + 8 {var_360}].d) 0x1286 79 rbp = rbp + 1 0x128d 80 if (rbp s< rax) then 74 @ 0x1270 else 12 @ 0x128f 0x124e 81 ecx = 0x39 {""} 0x1253 82 ecx = ecx - eax 0x1255 83 goto 37 @ 0x11a5 0x1235 84 edi = 0x39 {""} 0x123a 85 edi = edi - esi 0x123c 86 edi = edi - eax 0x123e 87 ecx = [rsp + (rcx << 2) + 0x14].d 0x1242 88 edx = ecx 0x1244 89 edx = edx - esi 0x1248 90 if (edi s> edx) then 37 @ 0x11a5 else 81 @ 0x124e int64_t _fini(): 0x12a8 0 rsp = rsp - 8 0x12ac 1 rsp = rsp + 8 0x12b0 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 {"SHD$"} 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 [rsp + 4 {var_14}].d = 0 0x115d 3 rdi = 0x2004 {"%d %d %d"} 0x1164 4 ebx = 0 0x1166 5 rsi = rsp + 0xc {var_c} 0x116b 6 rdx = rsp + 8 {var_10} 0x1170 7 rcx = rsp + 4 {var_14} 0x1175 8 eax = 0 0x1177 9 call(0x1040) 0x117c 10 eax = [rsp + 8 {var_10}].d 0x1183 11 if (eax s< 2) then 12 @ 0x1214 else 21 @ 0x1189 0x1214 12 ebx = ebx + [rsp + 4 {var_14}].d 0x1218 13 rdi = 0x200a {"%d"} 0x121f 14 esi = ebx 0x1221 15 eax = 0 0x1223 16 call(0x1030) 0x1228 17 eax = 0 0x122a 18 rsp = rsp + 0x10 0x122e 19 rbx = pop 0x122f 20 <return> jump(pop) 0x1189 21 ecx = [rsp + 0xc {var_c}].d 0x118d 22 edx = ecx * -0x3d70a3d7 0x1193 23 edx = edx + 0x51eb850 0x1199 24 esi = edx 0x119b 25 esi = ror.d(esi, 2) 0x11a4 26 bl = esi u>= 0x28f5c29 0x11aa 27 r8b = (cl & 3) == 0 0x11ae 28 r8b = r8b & bl 0x11b1 29 edx = ror.d(edx, 4) 0x11b4 30 flag:c = edx u< 0xa3d70b 0x11ba 31 dl = flag:c 0x11bd 32 dl = dl | r8b 0x11c0 33 ecx = 1 0x11c5 34 edi = 0 0x11c7 35 goto 36 @ 0x11de 0x11de 36 esi = ecx 0x11e0 37 esi = esi & 0x7ffffffd 0x11e9 38 if (esi == 8) then 39 @ 0x11d0 else 41 @ 0x11eb 0x11d0 39 edi = edi + 0x1f 0x11d0 40 goto 44 @ 0x11d3 0x11eb 41 esi = ecx 0x11ed 42 esi = esi & 0x7ffffff9 0x11f6 43 if (esi == 1) then 39 @ 0x11d0 else 46 @ 0x11f8 0x11d3 44 ebx = edi 0x11d3 45 goto 48 @ 0x11d5 0x11f8 46 ebx = (rdi + 0x1e).d 0x11fe 47 if (ecx != 2) then 48 @ 0x11d5 else 51 @ 0x1202 0x11d5 48 ecx = ecx + 1 0x11d8 49 edi = ebx 0x11dc 50 if (eax == ecx) then 12 @ 0x1214 else 36 @ 0x11de 0x1202 51 if (dl == 0) then 52 @ 0x1209 else 54 @ 0x1204 0x1209 52 edi = edi + 0x1c 0x120f 53 if (r8b != 0) then 56 else 58 @ 0x1212 0x1204 54 edi = edi + 0x1d 0x1207 55 goto 44 @ 0x11d3 0x120f 56 edi = ebx 0x120f 57 goto 58 @ 0x1212 0x1212 58 goto 44 @ 0x11d3 int64_t _fini(): 0x1234 0 rsp = rsp - 8 0x1238 1 rsp = rsp + 8 0x123c 2 <return> jump(pop)
POJ_11
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r14) 0x1152 1 push(rbx) 0x1153 2 rsp = rsp - 0x4c8 0x115a 3 rdi = 0x2010 {"%lf"} 0x1161 4 ebx = 0 0x1163 5 rsi = rsp + 8 {var_4d0} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 r14 = 0x2014 {"%s"} 0x1176 9 rsi = rsp + 0x270 {var_268} 0x117e 10 rdi = r14 0x1181 11 eax = 0 0x1183 12 call(0x1040) 0x1188 13 rsi = rsp + 0x10 {var_4c8} 0x118d 14 rdi = r14 0x1190 15 eax = 0 0x1192 16 call(0x1040) 0x1197 17 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x119b 18 rdi = 0x2017 {"error"} 0x11a2 19 eax = 0x80045 {""} 0x11a7 20 xmm2 = zx.o([0x2008].q) 0x11af 21 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x11b3 22 goto 23 @ 0x11c8 0x11c8 23 ecx = zx.d([rsp + rbx + 0x270].b) 0x11d0 24 edx = (rcx - 0x41).d 0x11d6 25 if (dl u> 0x13) then 26 @ 0x1205 else 27 @ 0x11d8 0x1205 26 if (cl != 0) then 30 @ 0x122c else 37 @ 0x1207 0x11d8 27 edx = zx.d(dl) 0x11db 28 flag:c = test_bit(rax, rdx) 0x11df 29 if (not(flag:c)) then 26 @ 0x1205 else 39 @ 0x11e1 0x122c 30 eax = 0 0x122e 31 call(0x1030) 0x1233 32 eax = 0 0x1235 33 rsp = rsp + 0x4c8 0x123c 34 rbx = pop 0x123d 35 r14 = pop 0x123f 36 <return> jump(pop) 0x1207 37 eax = ebx 0x120e 38 if ([rsp + rax + 0x10].b != 0) then 30 @ 0x122c else 42 @ 0x1210 0x11e1 39 edx = zx.d([rsp + rbx + 0x10].b) 0x11e6 40 esi = (rdx - 0x41).d 0x11ed 41 if (sil u> 0x13) then 30 @ 0x122c else 52 @ 0x11ef 0x1210 42 xmm0.q = xmm0.q f/ xmm1.q 0x1214 43 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_4d0}].q)) 0x1214 44 flag:c = xmm0.q f< fconvert.t([rsp + 8 {var_4d0}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_4d0}].q)) 0x1214 45 flag:z = xmm0.q f== fconvert.t([rsp + 8 {var_4d0}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 8 {var_4d0}].q)) 0x1214 46 flag:s = 0 0x1214 47 flag:o = 0 0x1214 48 flag:a = 0 0x121a 49 rax = 0x201d {"yes"} 0x1221 50 rdi = 0x2021 {"no"} 0x1228 51 if (not(flag:z) && not(flag:c)) then 55 else 57 0x11ef 52 esi = zx.d(sil) 0x11f3 53 flag:c = test_bit(rax, rsi) 0x11f7 54 if (not(flag:c)) then 30 @ 0x122c else 58 @ 0x11fb 0x1228 55 rdi = rax 0x1228 56 goto 57 0x1228 57 goto 30 @ 0x122c 0x11fb 58 if (cl != dl) then 59 @ 0x11c0 else 62 @ 0x11fd 0x11c0 59 xmm1.q = xmm1.q f+ xmm2.q 0x11c4 60 rbx = rbx + 1 0x11c4 61 goto 23 @ 0x11c8 0x11fd 62 xmm0.q = xmm0.q f+ xmm2.q 0x1201 63 goto 59 @ 0x11c0 int64_t _fini(): 0x1244 0 rsp = rsp - 8 0x1248 1 rsp = rsp + 8 0x124c 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) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH0"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x330 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 [rbp - 0x324 {var_32c}].d = 1 0x117c 5 [rbp - 0x328 {var_330}].d = 0 0x1186 6 rsi = rbp - 0x210 {var_218} 0x118d 7 rsi = rsi + 0x100 {var_118} 0x1194 8 rdx = rbp - 0x210 {var_218} 0x119b 9 rcx = rbp - 0x310 {var_318} 0x11a2 10 rdi = 0x2004 {"%s%s%s"} 0x11a9 11 al = 0 0x11ab 12 call(0x1050) 0x11b0 13 rdi = rbp - 0x210 {var_218} 0x11b7 14 call(0x1040) 0x11bc 15 [rbp - 0x320 {var_328}].d = eax 0x11c2 16 rdi = rbp - 0x210 {var_218} 0x11c9 17 rdi = rdi + 0x100 {var_118} 0x11d0 18 call(0x1040) 0x11d5 19 [rbp - 0x31c {var_324}].d = eax 0x11db 20 [rbp - 0x314 {var_31c}].d = 0 0x11db 21 goto 22 @ 0x11e5 0x11e5 22 eax = [rbp - 0x314 {var_31c}].d 0x11eb 23 ecx = [rbp - 0x31c {var_324}].d 0x11f1 24 ecx = ecx - [rbp - 0x320 {var_328}].d 0x11f9 25 if (eax s> ecx) then 26 @ 0x12fb else 27 @ 0x11ff 0x12fb 26 if ([rbp - 0x328 {var_330}].d != 1) then 31 @ 0x1363 else 33 @ 0x1301 0x11ff 27 rax = sx.q([rbp - 0x314 {var_31c}].d) 0x1206 28 eax = sx.d([rbp + rax - 0x110].b) 0x120e 29 ecx = sx.d([rbp - 0x210 {var_218}].b) 0x1217 30 if (eax != ecx) then 36 @ 0x12d0 else 37 @ 0x121d 0x1363 31 [rbp - 0x314 {var_31c_2}].d = 0 0x1363 32 goto 41 @ 0x136d 0x1301 33 eax = [rbp - 0x32c {var_334}].d 0x1307 34 [rbp - 0x314 {var_31c_1}].d = eax 0x1307 35 goto 43 @ 0x130d 0x12d0 36 if ([rbp - 0x328 {var_330}].d != 1) then 47 @ 0x12db else 48 @ 0x12d6 0x121d 37 eax = [rbp - 0x314 {var_31c}].d 0x1223 38 eax = eax + 1 0x1226 39 [rbp - 0x318 {var_320_1}].d = eax 0x1226 40 goto 49 @ 0x122c 0x136d 41 eax = [rbp - 0x314 {var_31c_2}].d 0x1379 42 if (eax s>= [rbp - 0x31c {var_324}].d) then 53 @ 0x13b0 else 57 @ 0x137f 0x130d 43 eax = [rbp - 0x314 {var_31c_1}].d 0x1313 44 ecx = [rbp - 0x32c {var_334}].d 0x1319 45 ecx = ecx + [rbp - 0x320 {var_328}].d 0x1321 46 if (eax s>= ecx) then 66 @ 0x135e else 67 @ 0x1327 0x12db 47 goto 77 @ 0x12e0 0x12d6 48 goto 26 @ 0x12fb 0x122c 49 eax = [rbp - 0x318 {var_320_1}].d 0x1232 50 ecx = [rbp - 0x314 {var_31c}].d 0x1238 51 ecx = ecx + [rbp - 0x320 {var_328}].d 0x1240 52 if (eax s>= ecx) then 81 @ 0x12a3 else 82 @ 0x1246 0x13b0 53 eax = 0 0x13b2 54 rsp = rsp + 0x330 0x13b9 55 rbp = pop 0x13ba 56 <return> jump(pop) 0x137f 57 rax = sx.q([rbp - 0x314 {var_31c_2}].d) 0x1386 58 esi = sx.d([rbp + rax - 0x110].b) 0x138e 59 rdi = 0x200b {"%c"} 0x1395 60 al = 0 0x1397 61 call(0x1030) 0x139c 62 eax = [rbp - 0x314 {var_31c_2}].d 0x13a2 63 eax = eax + 1 0x13a5 64 [rbp - 0x314 {var_31c_2}].d = eax 0x13ab 65 goto 41 @ 0x136d 0x135e 66 goto 31 @ 0x1363 0x1327 67 eax = [rbp - 0x314 {var_31c_1}].d 0x132d 68 eax = eax - [rbp - 0x32c {var_334}].d 0x1333 69 rax = sx.q(eax) 0x1335 70 cl = [rbp + rax - 0x310].b 0x133c 71 rax = sx.q([rbp - 0x314 {var_31c_1}].d) 0x1343 72 [rbp + rax - 0x110].b = cl 0x134a 73 eax = [rbp - 0x314 {var_31c_1}].d 0x1350 74 eax = eax + 1 0x1353 75 [rbp - 0x314 {var_31c_1}].d = eax 0x1359 76 goto 43 @ 0x130d 0x12e0 77 eax = [rbp - 0x314 {var_31c}].d 0x12e6 78 eax = eax + 1 0x12e9 79 [rbp - 0x314 {var_31c}].d = eax 0x12ef 80 goto 22 @ 0x11e5 0x12a3 81 if ([rbp - 0x324 {var_32c}].d == 0) then 89 @ 0x12bf else 91 @ 0x12a9 0x1246 82 rax = sx.q([rbp - 0x318 {var_320_1}].d) 0x124d 83 eax = sx.d([rbp + rax - 0x110].b) 0x1255 84 ecx = [rbp - 0x318 {var_320_1}].d 0x125b 85 ecx = ecx - [rbp - 0x314 {var_31c}].d 0x1261 86 rcx = sx.q(ecx) 0x1264 87 ecx = sx.d([rbp + rcx - 0x210].b) 0x126e 88 if (eax == ecx) then 95 @ 0x1283 else 96 @ 0x1274 0x12bf 89 [rbp - 0x324 {var_32c}].d = 1 0x12bf 90 goto 36 @ 0x12d0 0x12a9 91 eax = [rbp - 0x314 {var_31c}].d 0x12af 92 [rbp - 0x32c {var_334}].d = eax 0x12b5 93 [rbp - 0x328 {var_330}].d = 1 0x12b5 94 goto 89 @ 0x12bf 0x1283 95 goto 98 @ 0x1288 0x1274 96 [rbp - 0x324 {var_32c}].d = 0 0x127e 97 goto 81 @ 0x12a3 0x1288 98 eax = [rbp - 0x318 {var_320_1}].d 0x128e 99 eax = eax + 1 0x1291 100 [rbp - 0x318 {var_320_1}].d = eax 0x1297 101 goto 49 @ 0x122c int64_t _fini(): 0x13c0 0 rsp = rsp - 8 0x13c4 1 rsp = rsp + 8 0x13c8 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) int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHHpE"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x70 0x1168 3 [rbp - 4 {var_c}].d = 0 0x116f 4 rdi = rbp - 0x40 {var_48} 0x1173 5 rsi = 0x2010 {""} 0x117a 6 edx = 0x34 {"@"} 0x117f 7 call(0x1040) 0x1184 8 [rbp - 0x60 {var_68}].d = 0 0x118b 9 rdi = 0x2044 {"%d%d%d%d%d%d"} 0x1192 10 rsi = rbp - 0x44 {var_4c} 0x1196 11 rdx = rbp - 0x4c {var_54} 0x119a 12 rcx = rbp - 0x54 {var_5c} 0x119e 13 r8 = rbp - 0x48 {var_50} 0x11a2 14 r9 = rbp - 0x50 {var_58} 0x11a6 15 rax = rbp - 0x58 {var_60} 0x11aa 16 [rsp {var_78}].q = rax {var_60} 0x11ae 17 al = 0 0x11b0 18 call(0x1050) 0x11b5 19 eax = [rbp - 0x44 {var_4c}].d 0x11bb 20 if (eax s>= [rbp - 0x48 {var_50}].d) then 21 @ 0x136f else 23 @ 0x11c1 0x136f 21 eax = [rbp - 0x4c {var_54}].d 0x1375 22 if (eax s>= [rbp - 0x50 {var_58}].d) then 27 @ 0x1420 else 31 @ 0x137b 0x11c1 23 eax = [rbp - 0x4c {var_54}].d 0x11c4 24 eax = eax + 1 0x11c7 25 [rbp - 0x5c {var_64_1}].d = eax 0x11c7 26 goto 35 @ 0x11ce 0x1420 27 eax = [rbp - 0x58 {var_60}].d 0x1423 28 eax = eax - [rbp - 0x54 {var_5c}].d 0x1426 29 [rbp - 0x60 {var_68_2}].d = eax 0x1426 30 goto 36 @ 0x1429 0x137b 31 eax = [rbp - 0x4c {var_54}].d 0x137e 32 eax = eax + 1 0x1381 33 [rbp - 0x5c {var_64_4}].d = eax 0x1381 34 goto 37 @ 0x1384 0x11ce 35 if ([rbp - 0x5c {var_64_1}].d s> 0xc) then 39 @ 0x11f0 else 58 @ 0x11d4 0x1429 36 goto 66 @ 0x142e 0x1384 37 eax = [rbp - 0x5c {var_64_4}].d 0x138a 38 if (eax s> [rbp - 0x50 {var_58}].d) then 74 @ 0x13ac else 96 @ 0x1390 0x11f0 39 eax = [rbp - 0x60 {var_68}].d 0x11f3 40 rcx = sx.q([rbp - 0x4c {var_54}].d) 0x11f7 41 eax = eax + [rbp + (rcx << 2) - 0x40].d 0x11fb 42 eax = eax - [rbp - 0x54 {var_5c}].d 0x11fe 43 [rbp - 0x60 {var_68_1}].d = eax 0x1201 44 eax = [rbp - 0x44 {var_4c}].d 0x1204 45 ecx = 4 0x1209 46 temp2.d:temp3.d = sx.q(eax) 0x1209 47 edx = temp2.d 0x1209 48 eax = temp3.d 0x120a 49 temp4.d = edx 0x120a 50 temp5.d = eax 0x120a 51 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x120a 52 temp6.d = edx 0x120a 53 temp7.d = eax 0x120a 54 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x120a 55 eax = temp0.d 0x120a 56 edx = temp1.d 0x120f 57 if (edx != 0) then 104 @ 0x1229 else 118 @ 0x1215 0x11d4 58 eax = [rbp - 0x60 {var_68}].d 0x11d7 59 rcx = sx.q([rbp - 0x5c {var_64_1}].d) 0x11db 60 eax = eax + [rbp + (rcx << 2) - 0x40].d 0x11df 61 [rbp - 0x60 {var_68}].d = eax 0x11e2 62 eax = [rbp - 0x5c {var_64_1}].d 0x11e5 63 eax = eax + 1 0x11e8 64 [rbp - 0x5c {var_64_1}].d = eax 0x11eb 65 goto 35 @ 0x11ce 0x142e 66 esi = [rbp - 0x60 {var_68_2}].d 0x1431 67 rdi = 0x204e {"%d"} 0x1438 68 al = 0 0x143a 69 call(0x1030) 0x143f 70 eax = 0 0x1441 71 rsp = rsp + 0x70 0x1445 72 rbp = pop 0x1446 73 <return> jump(pop) 0x13ac 74 rax = sx.q([rbp - 0x4c {var_54}].d) 0x13b0 75 eax = [rbp + (rax << 2) - 0x40].d 0x13b4 76 eax = eax - [rbp - 0x54 {var_5c}].d 0x13b7 77 rcx = sx.q([rbp - 0x50 {var_58}].d) 0x13bb 78 ecx = [rbp + (rcx << 2) - 0x40].d 0x13bf 79 ecx = ecx - [rbp - 0x58 {var_60}].d 0x13c2 80 eax = eax - ecx 0x13c4 81 [rbp - 0x60 {var_68_2}].d = eax 0x13c7 82 eax = [rbp - 0x44 {var_4c}].d 0x13ca 83 ecx = 4 0x13cf 84 temp8.d:temp9.d = sx.q(eax) 0x13cf 85 edx = temp8.d 0x13cf 86 eax = temp9.d 0x13d0 87 temp10.d = edx 0x13d0 88 temp11.d = eax 0x13d0 89 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x13d0 90 temp12.d = edx 0x13d0 91 temp13.d = eax 0x13d0 92 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x13d0 93 eax = temp0.d 0x13d0 94 edx = temp1.d 0x13d5 95 if (edx != 0) then 132 @ 0x13ef else 146 @ 0x13db 0x1390 96 eax = [rbp - 0x60 {var_68}].d 0x1393 97 rcx = sx.q([rbp - 0x5c {var_64_4}].d) 0x1397 98 eax = eax + [rbp + (rcx << 2) - 0x40].d 0x139b 99 [rbp - 0x60 {var_68}].d = eax 0x139e 100 eax = [rbp - 0x5c {var_64_4}].d 0x13a1 101 eax = eax + 1 0x13a4 102 [rbp - 0x5c {var_64_4}].d = eax 0x13a7 103 goto 37 @ 0x1384 0x1229 104 eax = [rbp - 0x44 {var_4c}].d 0x122c 105 ecx = 0x190 {""} 0x1231 106 temp14.d:temp15.d = sx.q(eax) 0x1231 107 edx = temp14.d 0x1231 108 eax = temp15.d 0x1232 109 temp16.d = edx 0x1232 110 temp17.d = eax 0x1232 111 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x1232 112 temp18.d = edx 0x1232 113 temp19.d = eax 0x1232 114 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x1232 115 eax = temp0.d 0x1232 116 edx = temp1.d 0x1237 117 if (edx != 0) then 160 @ 0x1255 else 162 @ 0x1241 0x1215 118 eax = [rbp - 0x44 {var_4c}].d 0x1218 119 ecx = 0x64 {""} 0x121d 120 temp20.d:temp21.d = sx.q(eax) 0x121d 121 edx = temp20.d 0x121d 122 eax = temp21.d 0x121e 123 temp22.d = edx 0x121e 124 temp23.d = eax 0x121e 125 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x121e 126 temp24.d = edx 0x121e 127 temp25.d = eax 0x121e 128 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x121e 129 eax = temp0.d 0x121e 130 edx = temp1.d 0x1223 131 if (edx != 0) then 162 @ 0x1241 else 104 @ 0x1229 0x13ef 132 eax = [rbp - 0x44 {var_4c}].d 0x13f2 133 ecx = 0x190 {""} 0x13f7 134 temp26.d:temp27.d = sx.q(eax) 0x13f7 135 edx = temp26.d 0x13f7 136 eax = temp27.d 0x13f8 137 temp28.d = edx 0x13f8 138 temp29.d = eax 0x13f8 139 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx) 0x13f8 140 temp30.d = edx 0x13f8 141 temp31.d = eax 0x13f8 142 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx) 0x13f8 143 eax = temp0.d 0x13f8 144 edx = temp1.d 0x13fd 145 if (edx != 0) then 163 @ 0x141b else 164 @ 0x1407 0x13db 146 eax = [rbp - 0x44 {var_4c}].d 0x13de 147 ecx = 0x64 {""} 0x13e3 148 temp32.d:temp33.d = sx.q(eax) 0x13e3 149 edx = temp32.d 0x13e3 150 eax = temp33.d 0x13e4 151 temp34.d = edx 0x13e4 152 temp35.d = eax 0x13e4 153 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx) 0x13e4 154 temp36.d = edx 0x13e4 155 temp37.d = eax 0x13e4 156 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx) 0x13e4 157 eax = temp0.d 0x13e4 158 edx = temp1.d 0x13e9 159 if (edx != 0) then 164 @ 0x1407 else 132 @ 0x13ef 0x1255 160 [rbp - 0x5c {var_64_2}].d = 0 0x1255 161 goto 165 @ 0x125c 0x1241 162 if ([rbp - 0x4c {var_54}].d s> 2) then 169 @ 0x1250 else 170 @ 0x1247 0x141b 163 goto 36 @ 0x1429 0x1407 164 if ([rbp - 0x4c {var_54}].d s> 2) then 174 @ 0x1416 else 175 @ 0x140d 0x125c 165 eax = [rbp - 0x5c {var_64_2}].d 0x125f 166 ecx = [rbp - 0x50 {var_58}].d 0x1262 167 ecx = ecx - 1 0x1267 168 if (eax s> ecx) then 179 @ 0x1289 else 196 @ 0x126d 0x1250 169 goto 160 @ 0x1255 0x1247 170 eax = [rbp - 0x60 {var_68_1}].d 0x124a 171 eax = eax + 1 0x124d 172 [rbp - 0x60 {var_68_1}].d = eax 0x124d 173 goto 169 @ 0x1250 0x1416 174 goto 163 @ 0x141b 0x140d 175 eax = [rbp - 0x60 {var_68_2}].d 0x1410 176 eax = eax + 1 0x1413 177 [rbp - 0x60 {var_68_2}].d = eax 0x1413 178 goto 174 @ 0x1416 0x1289 179 eax = [rbp - 0x60 {var_68_1}].d 0x128c 180 eax = eax + [rbp - 0x58 {var_60}].d 0x128f 181 [rbp - 0x60 {var_68_2}].d = eax 0x1292 182 eax = [rbp - 0x48 {var_50}].d 0x1295 183 ecx = 4 0x129a 184 temp38.d:temp39.d = sx.q(eax) 0x129a 185 edx = temp38.d 0x129a 186 eax = temp39.d 0x129b 187 temp40.d = edx 0x129b 188 temp41.d = eax 0x129b 189 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx) 0x129b 190 temp42.d = edx 0x129b 191 temp43.d = eax 0x129b 192 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx) 0x129b 193 eax = temp0.d 0x129b 194 edx = temp1.d 0x12a0 195 if (edx != 0) then 204 @ 0x12ba else 218 @ 0x12a6 0x126d 196 eax = [rbp - 0x60 {var_68_1}].d 0x1270 197 rcx = sx.q([rbp - 0x5c {var_64_2}].d) 0x1274 198 eax = eax + [rbp + (rcx << 2) - 0x40].d 0x1278 199 [rbp - 0x60 {var_68_1}].d = eax 0x127b 200 eax = [rbp - 0x5c {var_64_2}].d 0x127e 201 eax = eax + 1 0x1281 202 [rbp - 0x5c {var_64_2}].d = eax 0x1284 203 goto 165 @ 0x125c 0x12ba 204 eax = [rbp - 0x48 {var_50}].d 0x12bd 205 ecx = 0x190 {""} 0x12c2 206 temp44.d:temp45.d = sx.q(eax) 0x12c2 207 edx = temp44.d 0x12c2 208 eax = temp45.d 0x12c3 209 temp46.d = edx 0x12c3 210 temp47.d = eax 0x12c3 211 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx) 0x12c3 212 temp48.d = edx 0x12c3 213 temp49.d = eax 0x12c3 214 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx) 0x12c3 215 eax = temp0.d 0x12c3 216 edx = temp1.d 0x12c8 217 if (edx != 0) then 232 @ 0x12e6 else 236 @ 0x12d2 0x12a6 218 eax = [rbp - 0x48 {var_50}].d 0x12a9 219 ecx = 0x64 {""} 0x12ae 220 temp50.d:temp51.d = sx.q(eax) 0x12ae 221 edx = temp50.d 0x12ae 222 eax = temp51.d 0x12af 223 temp52.d = edx 0x12af 224 temp53.d = eax 0x12af 225 temp0.d = divs.dp.d(temp52.d:temp53.d, ecx) 0x12af 226 temp54.d = edx 0x12af 227 temp55.d = eax 0x12af 228 temp1.d = mods.dp.d(temp54.d:temp55.d, ecx) 0x12af 229 eax = temp0.d 0x12af 230 edx = temp1.d 0x12b4 231 if (edx != 0) then 236 @ 0x12d2 else 204 @ 0x12ba 0x12e6 232 eax = [rbp - 0x44 {var_4c}].d 0x12e9 233 eax = eax + 1 0x12ec 234 [rbp - 0x5c {var_64_3}].d = eax 0x12ec 235 goto 237 @ 0x12ef 0x12d2 236 if ([rbp - 0x50 {var_58}].d s<= 2) then 241 @ 0x12e1 else 242 @ 0x12d8 0x12ef 237 eax = [rbp - 0x5c {var_64_3}].d 0x12f2 238 ecx = [rbp - 0x48 {var_50}].d 0x12f5 239 ecx = ecx - 1 0x12fa 240 if (eax s> ecx) then 246 @ 0x136a else 247 @ 0x1300 0x12e1 241 goto 232 @ 0x12e6 0x12d8 242 eax = [rbp - 0x60 {var_68_2}].d 0x12db 243 eax = eax + 1 0x12de 244 [rbp - 0x60 {var_68_2}].d = eax 0x12de 245 goto 241 @ 0x12e1 0x136a 246 goto 66 @ 0x142e 0x1300 247 eax = [rbp - 0x5c {var_64_3}].d 0x1303 248 ecx = 4 0x1308 249 temp56.d:temp57.d = sx.q(eax) 0x1308 250 edx = temp56.d 0x1308 251 eax = temp57.d 0x1309 252 temp58.d = edx 0x1309 253 temp59.d = eax 0x1309 254 temp0.d = divs.dp.d(temp58.d:temp59.d, ecx) 0x1309 255 temp60.d = edx 0x1309 256 temp61.d = eax 0x1309 257 temp1.d = mods.dp.d(temp60.d:temp61.d, ecx) 0x1309 258 eax = temp0.d 0x1309 259 edx = temp1.d 0x130e 260 if (edx != 0) then 261 @ 0x1328 else 275 @ 0x1314 0x1328 261 eax = [rbp - 0x5c {var_64_3}].d 0x132b 262 ecx = 0x190 {""} 0x1330 263 temp62.d:temp63.d = sx.q(eax) 0x1330 264 edx = temp62.d 0x1330 265 eax = temp63.d 0x1331 266 temp64.d = edx 0x1331 267 temp65.d = eax 0x1331 268 temp0.d = divs.dp.d(temp64.d:temp65.d, ecx) 0x1331 269 temp66.d = edx 0x1331 270 temp67.d = eax 0x1331 271 temp1.d = mods.dp.d(temp66.d:temp67.d, ecx) 0x1331 272 eax = temp0.d 0x1331 273 edx = temp1.d 0x1336 274 if (edx != 0) then 289 @ 0x134c else 293 @ 0x133c 0x1314 275 eax = [rbp - 0x5c {var_64_3}].d 0x1317 276 ecx = 0x64 {""} 0x131c 277 temp68.d:temp69.d = sx.q(eax) 0x131c 278 edx = temp68.d 0x131c 279 eax = temp69.d 0x131d 280 temp70.d = edx 0x131d 281 temp71.d = eax 0x131d 282 temp0.d = divs.dp.d(temp70.d:temp71.d, ecx) 0x131d 283 temp72.d = edx 0x131d 284 temp73.d = eax 0x131d 285 temp1.d = mods.dp.d(temp72.d:temp73.d, ecx) 0x131d 286 eax = temp0.d 0x131d 287 edx = temp1.d 0x1322 288 if (edx != 0) then 293 @ 0x133c else 261 @ 0x1328 0x134c 289 eax = [rbp - 0x60 {var_68_2}].d 0x134f 290 eax = eax + 0x16d 0x1354 291 [rbp - 0x60 {var_68_2}].d = eax 0x1354 292 goto 297 @ 0x1357 0x133c 293 eax = [rbp - 0x60 {var_68_2}].d 0x133f 294 eax = eax + 0x16e 0x1344 295 [rbp - 0x60 {var_68_2}].d = eax 0x1347 296 goto 297 @ 0x1357 0x1357 297 goto 298 @ 0x135c 0x135c 298 eax = [rbp - 0x5c {var_64_3}].d 0x135f 299 eax = eax + 1 0x1362 300 [rbp - 0x5c {var_64_3}].d = eax 0x1365 301 goto 237 @ 0x12ef int64_t _fini(): 0x144c 0 rsp = rsp - 8 0x1450 1 rsp = rsp + 8 0x1454 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) 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 {"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 - 0x1d4d0 0x116c 4 rdi = 0x201c {"%d"} 0x1173 5 ebx = 0 0x1175 6 rsi = rsp + 0xc {var_1d4dc} 0x117a 7 eax = 0 0x117c 8 call(0x1050) 0x1186 9 if ([rsp + 0xc {var_1d4dc}].d s<= 0) then 10 @ 0x12a9 else 15 @ 0x118c 0x12a9 10 rdi = rsp + 0x10 {var_1d4d8} 0x12ae 11 edx = 0xfa0 {""} 0x12b3 12 esi = 0 0x12b5 13 call(0x1040) 0x12b5 14 goto 19 @ 0x12ba 0x118c 15 rbx = rsp + 0xfb0 {var_1c538} 0x1194 16 r14 = 0x2004 {"%s %d %d %c %c %d"} 0x119b 17 r15d = 0 0x119e 18 goto 21 @ 0x11a0 0x12ba 19 eax = 0 0x12bc 20 goto 35 @ 0x13cb 0x11a0 21 rdx = rbx + 0x64 0x11a4 22 rcx = rbx + 0x68 0x11a8 23 r8 = rbx + 0x6c 0x11ac 24 r9 = rbx + 0x6d 0x11b0 25 rax = rbx + 0x70 0x11b4 26 [rsp {var_1d4e8}].q = rax 0x11b8 27 rdi = r14 0x11bb 28 rsi = rbx 0x11be 29 eax = 0 0x11c0 30 call(0x1050) 0x11c5 31 r15 = r15 + 1 0x11c9 32 rax = sx.q([rsp + 0xc {var_1d4dc}].d) 0x11ce 33 rbx = rbx + 0x74 0x11d5 34 if (r15 s< rax) then 21 @ 0x11a0 else 49 @ 0x11d7 0x13cb 35 rcx = rax * 0x74 0x13cf 36 rsi = rsp + rcx 0x13d3 37 rsi = rsi + 0xfb0 0x13da 38 edx = [rsp + (rax << 2) + 0x10].d 0x13de 39 rdi = 0x2016 {"%s\n%d\n%d"} 0x13e5 40 ecx = ebx 0x13e7 41 eax = 0 0x13e9 42 call(0x1030) 0x13ee 43 eax = 0 0x13f0 44 rsp = rsp + 0x1d4d0 0x13f7 45 rbx = pop 0x13f8 46 r14 = pop 0x13fa 47 r15 = pop 0x13fc 48 <return> jump(pop) 0x11d7 49 r14d = eax 0x11da 50 rdi = rsp + 0x10 {var_1d4d8} 0x11df 51 ebx = 0 0x11e1 52 edx = 0xfa0 {""} 0x11e6 53 esi = 0 0x11e8 54 call(0x1040) 0x11f0 55 if (r14d s<= 0) then 19 @ 0x12ba else 56 @ 0x11f6 0x11f6 56 rax = rsp + 0x1020 {var_1c4c8} 0x11fe 57 ecx = 0 0x1200 58 goto 59 @ 0x121d 0x121d 59 edx = [rax - 0xc].d 0x1223 60 if (edx s< 0x51) then 61 @ 0x1264 else 62 @ 0x1228 0x1264 61 if ([rax - 8].d s< 0x51) then 63 @ 0x1210 else 66 @ 0x126a 0x1228 62 if ([rax].d == 0) then 67 @ 0x1235 else 68 @ 0x122a 0x1210 63 rcx = rcx + 1 0x1214 64 rax = rax + 0x74 0x121b 65 if (r14 == rcx) then 70 @ 0x1298 else 59 @ 0x121d 0x126a 66 if ([rax - 4].b != 0x59) then 63 @ 0x1210 else 71 @ 0x126c 0x1235 67 if (edx u< 0x56) then 61 @ 0x1264 else 73 @ 0x123b 0x122a 68 [rsp + (rcx << 2) + 0x10].d = [rsp + (rcx << 2) + 0x10].d + 0x1f40 0x122a 69 goto 67 @ 0x1235 0x1298 70 if (r14d s<= 0) then 74 @ 0x12c1 else 77 @ 0x129e 0x126c 71 [rsp + (rcx << 2) + 0x10].d = [rsp + (rcx << 2) + 0x10].d + 0x352 0x1274 72 goto 63 @ 0x1210 0x123b 73 if ([rax - 8].d s< 0x51) then 78 @ 0x1283 else 79 @ 0x123d 0x12c1 74 ebx = 0 0x12c3 75 eax = 0 0x12c5 76 goto 35 @ 0x13cb 0x129e 77 if (r14d u>= 8) then 81 @ 0x12ca else 90 @ 0x12a0 0x1283 78 if (edx u< 0x5b) then 93 @ 0x124e else 94 @ 0x1285 0x123d 79 [rsp + (rcx << 2) + 0x10].d = [rsp + (rcx << 2) + 0x10].d + 0xfa0 0x1248 80 if (edx u>= 0x5b) then 94 @ 0x1285 else 93 @ 0x124e 0x12ca 81 eax = r14d 0x12cd 82 eax = eax & 0xfffffff8 0x12d0 83 rdx = rax - 8 0x12d4 84 rsi = rdx 0x12d7 85 rsi = rsi u>> 3 0x12db 86 rsi = rsi + 1 0x12df 87 ecx = esi 0x12e1 88 ecx = ecx & 3 0x12e8 89 if (rdx u>= 0x18) then 96 @ 0x12f6 else 101 @ 0x12ea 0x12a0 90 eax = 0 0x12a2 91 ebx = 0 0x12a4 92 goto 105 @ 0x13a0 0x124e 93 if ([rax - 3].b != 0x59) then 61 @ 0x1264 else 108 @ 0x1250 0x1285 94 [rsp + (rcx << 2) + 0x10].d = [rsp + (rcx << 2) + 0x10].d + 0x7d0 0x1291 95 if ([rax - 3].b == 0x59) then 108 @ 0x1250 else 110 @ 0x1293 0x12f6 96 rsi = rsi & 0xfffffffffffffffc 0x12fa 97 xmm0 = 0 0x12fe 98 edx = 0 0x1300 99 xmm1 = 0 0x130e 100 goto 111 @ 0x1310 0x12ea 101 xmm0 = 0 0x12ee 102 edx = 0 0x12f0 103 xmm1 = 0 0x12f4 104 goto 123 @ 0x1350 0x13a0 105 ebx = ebx + [rsp + (rax << 2) + 0x10].d 0x13a4 106 rax = rax + 1 0x13ab 107 if (r14 != rax) then 105 @ 0x13a0 else 124 @ 0x13ad 0x1250 108 [rsp + (rcx << 2) + 0x10].d = [rsp + (rcx << 2) + 0x10].d + 0x3e8 0x1258 109 goto 61 @ 0x1264 0x1293 110 goto 61 @ 0x1264 0x1310 111 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x10].o) 0x1316 112 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x20].o) 0x131c 113 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x30].o) 0x1322 114 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x40].o) 0x1328 115 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x50].o) 0x132e 116 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x60].o) 0x1334 117 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rdx << 2) + 0x70].o) 0x133a 118 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rdx << 2) + 0x80].o) 0x1343 119 rdx = rdx + 0x20 0x1347 120 temp0.q = rsi 0x1347 121 rsi = rsi - 4 0x134b 122 if (temp0.q != 4) then 111 @ 0x1310 else 123 @ 0x1350 0x1350 123 if (rcx == 0) then 128 @ 0x1374 else 135 @ 0x1352 0x13ad 124 rcx = r14 - 1 0x13b1 125 eax = r14d 0x13b4 126 eax = eax & 3 0x13bb 127 if (rcx u>= 3) then 140 @ 0x141f else 144 @ 0x13bd 0x1374 128 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1378 129 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x137d 130 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1381 131 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1386 132 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x138a 133 ebx = xmm0.d 0x1391 134 if (rax == r14) then 124 @ 0x13ad else 147 @ 0x139d 0x1352 135 rdx = rsp + (rdx << 2) 0x1356 136 rdx = rdx + 0x20 0x135a 137 rcx = rcx << 5 0x135e 138 esi = 0 0x135e 139 goto 148 @ 0x1360 0x141f 140 r14d = r14d & 0xfffffffc 0x1423 141 ecx = 0 0x1425 142 edx = 0 0x1427 143 goto 152 @ 0x143b 0x13bd 144 ecx = 0 0x13bf 145 edx = 0 0x13bf 146 goto 156 @ 0x13c1 0x139d 147 goto 105 @ 0x13a0 0x1360 148 xmm0 = __paddd_xmmdq_memdq(xmm0, [rdx + rsi - 0x10].o) 0x1366 149 xmm1 = __paddd_xmmdq_memdq(xmm1, [rdx + rsi].o) 0x136b 150 rsi = rsi + 0x20 0x1372 151 if (rcx != rsi) then 148 @ 0x1360 else 128 @ 0x1374 0x143b 152 rsi = sx.q(edx) 0x143e 153 edi = [rsp + (rsi << 2) + 0x10].d 0x1442 154 esi = ecx 0x1448 155 if (edi s< [rsp + (rcx << 2) + 0x10].d) then 158 @ 0x144c else 161 @ 0x144a 0x13c1 156 esi = edx 0x13c6 157 if (rax != 0) then 163 @ 0x140c else 167 @ 0x13c8 0x144c 158 rdx = sx.q(esi) 0x144f 159 edx = [rsp + (rdx << 2) + 0x10].d 0x1457 160 if (edx s>= [rsp + (rcx << 2) + 0x14].d) then 169 @ 0x145c else 172 @ 0x1459 0x144a 161 esi = edx 0x144a 162 goto 158 @ 0x144c 0x140c 163 rsi = sx.q(edx) 0x140f 164 edi = [rsp + (rsi << 2) + 0x10].d 0x1413 165 esi = ecx 0x1419 166 if (edi s< [rsp + (rcx << 2) + 0x10].d) then 174 @ 0x1400 else 179 @ 0x141b 0x13c8 167 rax = sx.q(esi) 0x13c8 168 goto 35 @ 0x13cb 0x145c 169 rdx = sx.q(esi) 0x145f 170 edx = [rsp + (rdx << 2) + 0x10].d 0x1467 171 if (edx s>= [rsp + (rcx << 2) + 0x18].d) then 181 @ 0x146c else 184 @ 0x1469 0x1459 172 esi = (rcx + 1).d 0x1459 173 goto 169 @ 0x145c 0x1400 174 rcx = rcx + 1 0x1404 175 edx = esi 0x1406 176 temp1.q = rax 0x1406 177 rax = rax - 1 0x140a 178 if (temp1.q == 1) then 167 @ 0x13c8 else 163 @ 0x140c 0x141b 179 esi = edx 0x141d 180 goto 174 @ 0x1400 0x146c 181 rdx = sx.q(esi) 0x146f 182 edx = [rsp + (rdx << 2) + 0x10].d 0x1477 183 if (edx s>= [rsp + (rcx << 2) + 0x1c].d) then 186 @ 0x1430 else 188 @ 0x1479 0x1469 184 esi = (rcx + 2).d 0x1469 185 goto 181 @ 0x146c 0x1430 186 edx = esi 0x1430 187 goto 190 @ 0x1432 0x1479 188 edx = (rcx + 3).d 0x147c 189 goto 190 @ 0x1432 0x1432 190 rcx = rcx + 4 0x1439 191 if (rcx == r14) then 156 @ 0x13c1 else 152 @ 0x143b int64_t _fini(): 0x1484 0 rsp = rsp - 8 0x1488 1 rsp = rsp + 8 0x148c 2 <return> jump(pop)
POJ_39
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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 - 0x80 0x115f 6 rdi = 0x2004 {"%s%s"} 0x1166 7 rsi = rsp + 0x40 {var_68} 0x116b 8 rdx = rsp {var_a8} 0x116e 9 eax = 0 0x1170 10 call(0x1040) 0x1175 11 al = [rsp {var_a8}].b 0x117a 12 if (al == 0) then 13 @ 0x11fd else 21 @ 0x1180 0x11fd 13 eax = 0 0x11ff 14 rsp = rsp + 0x80 0x1206 15 rbx = pop 0x1207 16 r12 = pop 0x1209 17 r14 = pop 0x120b 18 r15 = pop 0x120d 19 rbp = pop 0x120e 20 <return> jump(pop) 0x1180 21 r15 = rsp + 1 {var_a7} 0x1185 22 ebp = 1 0x118a 23 r12 = rsp + 0x42 {var_66} 0x118f 24 r14 = 0x2009 {"%d\n"} 0x1196 25 ebx = 0 0x1198 26 goto 27 @ 0x11c3 0x11c3 27 if (al != [rsp + 0x40 {var_68}].b) then 28 @ 0x11af else 32 @ 0x11c5 0x11af 28 al = [rsp + rbx + 1].b 0x11b3 29 rbx = rbx + 1 0x11b7 30 r15 = r15 + 1 0x11bd 31 if (al == 0) then 13 @ 0x11fd else 27 @ 0x11c3 0x11c5 32 cl = [rsp + 0x41 {var_67}].b 0x11cb 33 if (cl == 0) then 28 @ 0x11af else 34 @ 0x11cd 0x11cd 34 rax = sx.q(ebp) 0x11d0 35 rdx = r12 {var_66} 0x11d3 36 rsi = r15 0x11d6 37 goto 38 @ 0x11e0 0x11e0 38 [rsi].b = cl 0x11e7 39 if ([rdx + rax - 1].b == 0) then 40 @ 0x11a0 else 46 @ 0x11e9 0x11a0 40 ebp = ebp + 1 0x11a3 41 rdi = r14 0x11a6 42 esi = ebx 0x11a8 43 eax = 0 0x11aa 44 call(0x1030) 0x11aa 45 goto 28 @ 0x11af 0x11e9 46 ecx = zx.d([rdx].b) 0x11ec 47 rsi = rsi + 1 0x11f0 48 rdx = rdx + 1 0x11f4 49 ebp = ebp + 1 0x11f9 50 if (cl != 0) then 38 @ 0x11e0 else 51 @ 0x11fb 0x11fb 51 goto 28 @ 0x11af int64_t _fini(): 0x1214 0 rsp = rsp - 8 0x1218 1 rsp = rsp + 8 0x121c 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 = 0x1160 {"UAWAVAUATSHO"} 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 swap(int32_t* arg1, int32_t* arg2): 0x1150 0 eax = [rdi].d 0x1152 1 ecx = [rsi].d 0x1154 2 [rdi].d = ecx 0x1156 3 [rsi].d = eax 0x1158 4 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x124f98 0x1171 7 rdi = 0x200a {"%d"} 0x1178 8 rsi = rsp + 0xc {var_124fbc} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1184 11 rbx = rsp + 0x18 {var_124fb0} 0x1189 12 ebp = 0 0x118b 13 goto 14 @ 0x11ad 0x11ad 14 r14d = edx 0x11b0 15 r12d = r15d 0x11b3 16 r15d = eax 0x11b6 17 rsi = rbx - 8 0x11ba 18 rdx = rbx - 4 0x11be 19 rdi = 0x2004 {"%d %d %d"} 0x11c5 20 rcx = rbx 0x11c8 21 eax = 0 0x11ca 22 call(0x1040) 0x11cf 23 ecx = [rbx].d 0x11d1 24 ecx = ecx + [rbx - 4].d 0x11d7 25 if (ebp == 2) then 26 @ 0x1220 else 28 @ 0x11dc 0x1220 26 eax = 2 0x1228 27 if (ecx s<= r14d) then 29 @ 0x1278 else 32 @ 0x122a 0x11dc 28 if (ebp == 1) then 39 @ 0x1200 else 42 @ 0x11e0 0x1278 29 esi = r13d 0x127b 30 r13d = 2 0x1284 31 if (ecx s<= r12d) then 43 @ 0x12c3 else 50 @ 0x1286 0x122a 32 edx = ecx 0x122c 33 ecx = r13d 0x122f 34 r13d = r15d 0x1232 35 r15d = r14d 0x1235 36 [rsp + 8 {var_124fc0}].d = r12d 0x123a 37 [rsp + 4 {var_124fc4}].d = ecx 0x123e 38 goto 56 @ 0x1197 0x1200 39 esi = r15d 0x1203 40 eax = 1 0x120b 41 if (ecx s<= r14d) then 60 @ 0x1243 else 65 @ 0x120d 0x11e0 42 if (ebp == 0) then 69 @ 0x1190 else 73 @ 0x11e5 0x12c3 43 [rsp + 4 {var_124fc4}].d = 2 0x12cb 44 edx = r14d 0x12ce 45 eax = r15d 0x12d1 46 r15d = r12d 0x12d4 47 [rsp + 8 {var_124fc0}].d = ecx 0x12d8 48 r13d = esi 0x12db 49 goto 56 @ 0x1197 0x1286 50 edx = r14d 0x1289 51 eax = r15d 0x128c 52 r15d = ecx 0x128f 53 [rsp + 8 {var_124fc0}].d = r12d 0x1294 54 [rsp + 4 {var_124fc4}].d = esi 0x1298 55 goto 56 @ 0x1197 0x1197 56 rbp = rbp + 1 0x119b 57 rcx = sx.q([rsp + 0xc {var_124fbc}].d) 0x11a0 58 rbx = rbx + 0xc 0x11a7 59 if (rbp s>= rcx) then 74 @ 0x12e0 else 14 @ 0x11ad 0x1243 60 r13d = 1 0x1249 61 edx = r14d 0x124c 62 r15d = ecx 0x124f 63 eax = esi 0x1251 64 goto 56 @ 0x1197 0x120d 65 edx = ecx 0x120f 66 r15d = r14d 0x1212 67 r13d = esi 0x1215 68 goto 56 @ 0x1197 0x1190 69 edx = ecx 0x1192 70 r15d = r12d 0x1195 71 eax = ebp 0x1195 72 goto 56 @ 0x1197 0x11e5 73 if (ecx s<= r14d) then 104 @ 0x1259 else 105 @ 0x11e7 0x12e0 74 rax = sx.q(eax) 0x12e2 75 rax = rax + (rax << 1) 0x12e6 76 esi = [rsp + (rax << 2) + 0x10].d 0x12ea 77 rbx = 0x200d {"%d %d\n"} 0x12f1 78 rdi = rbx 0x12f4 79 eax = 0 0x12f6 80 call(0x1030) 0x12fb 81 rax = sx.q(r13d) 0x12fe 82 rax = rax + (rax << 1) 0x1302 83 esi = [rsp + (rax << 2) + 0x10].d 0x1306 84 rdi = rbx 0x1309 85 edx = r15d 0x130c 86 eax = 0 0x130e 87 call(0x1030) 0x1313 88 rax = sx.q([rsp + 4 {var_124fc4}].d) 0x1318 89 rax = rax + (rax << 1) 0x131c 90 esi = [rsp + (rax << 2) + 0x10].d 0x1320 91 rdi = rbx 0x1323 92 edx = [rsp + 8 {var_124fc0}].d 0x1327 93 eax = 0 0x1329 94 call(0x1030) 0x132e 95 eax = 0 0x1330 96 rsp = rsp + 0x124f98 0x1337 97 rbx = pop 0x1338 98 r12 = pop 0x133a 99 r13 = pop 0x133c 100 r14 = pop 0x133e 101 r15 = pop 0x1340 102 rbp = pop 0x1341 103 <return> jump(pop) 0x1259 104 if (ecx s<= r12d) then 113 @ 0x129d else 116 @ 0x125b 0x11e7 105 edx = ecx 0x11e9 106 ecx = r13d 0x11ec 107 r13d = r15d 0x11ef 108 r15d = r14d 0x11f2 109 [rsp + 8 {var_124fc0}].d = r12d 0x11f7 110 eax = ebp 0x11f9 111 [rsp + 4 {var_124fc4}].d = ecx 0x11fd 112 goto 56 @ 0x1197 0x129d 113 eax = [rsp + 8 {var_124fc0}].d 0x12a1 114 cond:0 = ecx s> eax 0x12a3 115 if (ecx s> eax) then 124 else 126 @ 0x12a6 0x125b 116 edx = r14d 0x125e 117 eax = r15d 0x1261 118 r15d = ecx 0x1264 119 [rsp + 8 {var_124fc0}].d = r12d 0x1269 120 ecx = r13d 0x126c 121 r13d = ebp 0x126f 122 [rsp + 4 {var_124fc4}].d = ecx 0x1273 123 goto 56 @ 0x1197 0x12a3 124 eax = ecx 0x12a3 125 goto 126 @ 0x12a6 0x12a6 126 [rsp + 8 {var_124fc0}].d = eax 0x12aa 127 eax = [rsp + 4 {var_124fc4}].d 0x12ae 128 if (cond:0) then 129 else 131 @ 0x12b1 0x12ae 129 eax = ebp 0x12ae 130 goto 131 @ 0x12b1 0x12b1 131 [rsp + 4 {var_124fc4}].d = eax 0x12b5 132 edx = r14d 0x12b8 133 eax = r15d 0x12bb 134 r15d = r12d 0x12be 135 goto 56 @ 0x1197 int64_t _fini(): 0x1348 0 rsp = rsp - 8 0x134c 1 rsp = rsp + 8 0x1350 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) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(rbx) 0x1166 4 rsp = rsp - 0x1088 0x116d 5 rdi = 0x2021 {"%d"} 0x1174 6 ebx = 0 0x1176 7 rsi = rsp + 0xc {var_109c} 0x117b 8 eax = 0 0x117d 9 call(0x1040) 0x1182 10 ecx = [rsp + 0xc {var_109c}].d 0x1188 11 if (ecx s<= 0) then 12 @ 0x145b else 13 @ 0x118e 0x145b 12 if (ecx != 9) then 18 @ 0x147d else 23 @ 0x1465 0x118e 13 rbx = rsp + 0x590 {var_b18} 0x1196 14 r14 = 0x2021 {"%d"} 0x119d 15 ebp = 0 0x119f 16 r15d = 0 0x11ac 17 goto 24 @ 0x11b0 0x147d 18 esi = [rsp + 0xb10 {var_598}].d 0x1484 19 rdi = 0x2021 {"%d"} 0x148b 20 eax = 0 0x148d 21 call(0x1030) 0x1495 22 if (ebx s< 2) then 33 @ 0x14ca else 39 @ 0x1497 0x1465 23 if ([rsp + 0x590 {var_b18}].d != 1) then 18 @ 0x147d else 43 @ 0x146f 0x11b0 24 rdi = r14 0x11b3 25 rsi = rbx 0x11b6 26 eax = 0 0x11b8 27 call(0x1040) 0x11bd 28 r15d = r15d + [rbx].d 0x11c0 29 rbp = rbp + 1 0x11c4 30 rcx = sx.q([rsp + 0xc {var_109c}].d) 0x11c9 31 rbx = rbx + 4 0x11d0 32 if (rbp s< rcx) then 24 @ 0x11b0 else 44 @ 0x11d2 0x14ca 33 rsp = rsp + 0x1088 0x14d1 34 rbx = pop 0x14d2 35 r14 = pop 0x14d4 36 r15 = pop 0x14d6 37 rbp = pop 0x14d7 38 <return> jump(pop) 0x1497 39 ebp = ebx 0x1499 40 ebx = 1 0x149e 41 r14 = 0x2020 {",%d"} 0x14af 42 goto 57 @ 0x14b0 0x146f 43 if ([rsp + 0x5b0 {var_af8}].d != 0xc) then 18 @ 0x147d else 63 @ 0x1471 0x11d2 44 eax = r15d 0x11d5 45 temp2.d:temp3.d = sx.q(eax) 0x11d5 46 edx = temp2.d 0x11d5 47 eax = temp3.d 0x11d6 48 temp4.d = edx 0x11d6 49 temp5.d = eax 0x11d6 50 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11d6 51 temp6.d = edx 0x11d6 52 temp7.d = eax 0x11d6 53 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11d6 54 eax = temp0.d 0x11d6 55 edx = temp1.d 0x11da 56 if (ecx s<= 0) then 66 @ 0x130f else 68 @ 0x11e0 0x14b0 57 esi = [rsp + (rbx << 2) + 0xb10].d 0x14b7 58 rdi = r14 0x14ba 59 eax = 0 0x14bc 60 call(0x1030) 0x14c1 61 rbx = rbx + 1 0x14c8 62 if (rbp != rbx) then 57 @ 0x14b0 else 33 @ 0x14ca 0x1471 63 edi = 0x31 {""} 0x1476 64 call(0x1050) 0x147b 65 goto 33 @ 0x14ca 0x130f 66 ebx = 0 0x1311 67 goto 12 @ 0x145b 0x11e0 68 ebp = ecx 0x11e2 69 xmm0.d = float.s(eax) 0x11e9 70 if (ecx u>= 8) then 71 @ 0x11f2 else 80 @ 0x11eb 0x11f2 71 eax = ebp 0x11f4 72 eax = eax & 0xfffffff8 0x11f7 73 xmm1 = xmm0 0x11fa 74 xmm1 = _mm_shuffle_ps(xmm1, xmm0, 0) 0x11fe 75 rsi = rax - 8 0x1202 76 rdx = rsi 0x1205 77 rdx = rdx u>> 3 0x1209 78 rdx = rdx + 1 0x1210 79 if (rsi == 0) then 82 @ 0x14d8 else 84 @ 0x1216 0x11eb 80 eax = 0 0x11ed 81 goto 89 @ 0x12bd 0x14d8 82 esi = 0 0x14dd 83 if ((dl & 1) != 0) then 91 @ 0x128b else 101 @ 0x14e3 0x1216 84 rdi = rdx 0x1219 85 rdi = rdi & 0xfffffffffffffffe 0x121d 86 esi = 0 0x121f 87 xmm2 = [0x2010].o 0x1226 88 goto 102 @ 0x1230 0x12bd 89 xmm1 = [0x2010].o 0x12ce 90 goto 122 @ 0x12d0 0x128b 91 xmm2 = __cvtdq2ps_xmmps_memdq([rsp + (rsi << 2) + 0x590].o) 0x1293 92 xmm3 = __cvtdq2ps_xmmps_memdq([rsp + (rsi << 2) + 0x5a0].o) 0x129b 93 xmm2 = _mm_sub_ps(xmm2, xmm1) 0x129e 94 xmm3 = _mm_sub_ps(xmm3, xmm1) 0x12a1 95 xmm1 = [0x2010].o 0x12a8 96 xmm2 = _mm_and_ps(xmm2, xmm1) 0x12ab 97 xmm3 = _mm_and_ps(xmm3, xmm1) 0x12ae 98 [rsp + (rsi << 2) + 0x10].o = xmm2 0x12b3 99 [rsp + (rsi << 2) + 0x20].o = xmm3 0x12b3 100 goto 129 @ 0x12bb 0x14e3 101 goto 129 @ 0x12bb 0x1230 102 xmm3 = __cvtdq2ps_xmmps_memdq([rsp + (rsi << 2) + 0x590].o) 0x1238 103 xmm4 = __cvtdq2ps_xmmps_memdq([rsp + (rsi << 2) + 0x5a0].o) 0x1240 104 xmm3 = _mm_sub_ps(xmm3, xmm1) 0x1243 105 xmm4 = _mm_sub_ps(xmm4, xmm1) 0x1246 106 xmm3 = _mm_and_ps(xmm3, xmm2) 0x1249 107 xmm4 = _mm_and_ps(xmm4, xmm2) 0x124c 108 [rsp + (rsi << 2) + 0x10].o = xmm3 0x1251 109 [rsp + (rsi << 2) + 0x20].o = xmm4 0x1256 110 xmm3 = __cvtdq2ps_xmmps_memdq([rsp + (rsi << 2) + 0x5b0].o) 0x125e 111 xmm4 = __cvtdq2ps_xmmps_memdq([rsp + (rsi << 2) + 0x5c0].o) 0x1266 112 xmm3 = _mm_sub_ps(xmm3, xmm1) 0x1269 113 xmm4 = _mm_sub_ps(xmm4, xmm1) 0x126c 114 xmm3 = _mm_and_ps(xmm3, xmm2) 0x126f 115 xmm4 = _mm_and_ps(xmm4, xmm2) 0x1272 116 [rsp + (rsi << 2) + 0x30].o = xmm3 0x1277 117 [rsp + (rsi << 2) + 0x40].o = xmm4 0x127c 118 rsi = rsi + 0x10 0x1280 119 temp8.q = rdi 0x1280 120 rdi = rdi - 2 0x1284 121 if (temp8.q != 2) then 102 @ 0x1230 else 130 @ 0x1289 0x12d0 122 xmm2 = 0 0x12d3 123 xmm2.d = float.s([rsp + (rax << 2) + 0x590].d) 0x12dc 124 xmm2.d = xmm2.d f- xmm0.d 0x12e0 125 xmm2 = _mm_and_ps(xmm2, xmm1) 0x12e3 126 [rsp + (rax << 2) + 0x10].d = xmm2.d 0x12e9 127 rax = rax + 1 0x12f0 128 if (rbp != rax) then 122 @ 0x12d0 else 131 @ 0x12f4 0x12bb 129 if (rax == rbp) then 131 @ 0x12f4 else 89 @ 0x12bd 0x1289 130 if ((dl & 1) == 0) then 129 @ 0x12bb else 91 @ 0x128b 0x12f4 131 if (ecx s<= 0) then 66 @ 0x130f else 132 @ 0x12f6 0x12f6 132 rax = rbp - 1 0x12fa 133 esi = ebp 0x12fc 134 esi = esi & 3 0x1303 135 if (rax u>= 3) then 136 @ 0x1316 else 141 @ 0x1305 0x1316 136 edx = ebp 0x1318 137 edx = edx & 0xfffffffc 0x131b 138 xmm1 = 0 0x131e 139 edi = 0 0x131e 140 goto 144 @ 0x1320 0x1305 141 xmm1 = 0 0x1308 142 edi = 0 0x130a 143 goto 173 @ 0x138e 0x1320 144 xmm0 = [rsp + (rdi << 2) + 0x10].d 0x1326 145 xmm2 = [rsp + (rdi << 2) + 0x14].d 0x132c 146 xmm3 = xmm1 0x132f 147 xmm3 = _mm_cmpeq_ss(xmm3.d, xmm0.d, 2) 0x1334 148 xmm0 = _mm_and_ps(xmm0, xmm3) 0x1337 149 xmm3 = _mm_andnot_ps(xmm3, xmm1) 0x133a 150 xmm3 = _mm_or_ps(xmm3, xmm0) 0x133d 151 xmm0 = xmm3 0x1340 152 xmm0 = _mm_cmpeq_ss(xmm0.d, xmm2.d, 2) 0x1345 153 xmm1 = xmm0 0x1348 154 xmm1 = _mm_andnot_ps(xmm1, xmm3) 0x134b 155 xmm0 = _mm_and_ps(xmm0, xmm2) 0x134e 156 xmm0 = _mm_or_ps(xmm0, xmm1) 0x1351 157 xmm1 = [rsp + (rdi << 2) + 0x18].d 0x1357 158 xmm2 = xmm0 0x135a 159 xmm2 = _mm_cmpeq_ss(xmm2.d, xmm1.d, 2) 0x135f 160 xmm3 = xmm2 0x1362 161 xmm3 = _mm_andnot_ps(xmm3, xmm0) 0x1365 162 xmm2 = _mm_and_ps(xmm2, xmm1) 0x1368 163 xmm2 = _mm_or_ps(xmm2, xmm3) 0x136b 164 xmm0 = [rsp + (rdi << 2) + 0x1c].d 0x1371 165 xmm1 = xmm2 0x1374 166 xmm1 = _mm_cmpeq_ss(xmm1.d, xmm0.d, 2) 0x1379 167 xmm3 = xmm1 0x137c 168 xmm3 = _mm_andnot_ps(xmm3, xmm2) 0x137f 169 xmm1 = _mm_and_ps(xmm1, xmm0) 0x1382 170 xmm1 = _mm_or_ps(xmm1, xmm3) 0x1385 171 rdi = rdi + 4 0x138c 172 if (rdx != rdi) then 144 @ 0x1320 else 173 @ 0x138e 0x138e 173 xmm0 = xmm1 0x1394 174 if (rsi == 0) then 175 @ 0x13d2 else 176 @ 0x1396 0x13d2 175 if (rax == 0) then 181 @ 0x142d else 184 @ 0x13d4 0x1396 176 rdx = rsp + (rdi << 2) 0x139a 177 rdx = rdx + 0x10 0x139e 178 edi = 0 0x13a0 179 xmm0 = xmm1 0x13ad 180 goto 189 @ 0x13b0 0x142d 181 eax = 0 0x142f 182 ebx = 0 0x142f 183 goto 197 @ 0x1435 0x13d4 184 edx = ebp 0x13d6 185 edx = edx & 0xfffffffe 0x13d9 186 eax = 0 0x13db 187 ebx = 0 0x13dd 188 goto 198 @ 0x13e9 0x13b0 189 xmm2 = [rdx + (rdi << 2)].d 0x13b5 190 xmm0 = _mm_cmpeq_ss(xmm0.d, xmm2.d, 2) 0x13ba 191 xmm2 = _mm_and_ps(xmm2, xmm0) 0x13bd 192 xmm0 = _mm_andnot_ps(xmm0, xmm1) 0x13c0 193 xmm0 = _mm_or_ps(xmm0, xmm2) 0x13c3 194 rdi = rdi + 1 0x13c7 195 xmm1 = xmm0 0x13cd 196 if (rsi != rdi) then 189 @ 0x13b0 else 175 @ 0x13d2 0x1435 197 if ((bpl & 1) == 0) then 12 @ 0x145b else 206 @ 0x1437 0x13e9 198 xmm1 = [rsp + (rax << 2) + 0x10].d 0x13ef 199 flag:p = is_unordered.d(xmm1.d, xmm0.d) 0x13ef 200 flag:c = xmm1.d f< xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x13ef 201 flag:z = xmm1.d f== xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x13ef 202 flag:s = 0 0x13ef 203 flag:o = 0 0x13ef 204 flag:a = 0 0x13f2 205 if (not(flag:z)) then 214 @ 0x140a else 222 @ 0x13f4 0x1437 206 xmm1 = [rsp + (rax << 2) + 0x10].d 0x143d 207 flag:p = is_unordered.d(xmm1.d, xmm0.d) 0x143d 208 flag:c = xmm1.d f< xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x143d 209 flag:z = xmm1.d f== xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x143d 210 flag:s = 0 0x143d 211 flag:o = 0 0x143d 212 flag:a = 0 0x1440 213 if (not(flag:z)) then 12 @ 0x145b else 223 @ 0x1442 0x140a 214 xmm1 = [rsp + (rax << 2) + 0x14].d 0x1410 215 flag:p = is_unordered.d(xmm1.d, xmm0.d) 0x1410 216 flag:c = xmm1.d f< xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x1410 217 flag:z = xmm1.d f== xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x1410 218 flag:s = 0 0x1410 219 flag:o = 0 0x1410 220 flag:a = 0 0x1413 221 if (not(flag:z)) then 224 @ 0x13e0 else 226 @ 0x1415 0x13f4 222 if (flag:p) then 214 @ 0x140a else 227 @ 0x13f6 0x1442 223 if (flag:p) then 12 @ 0x145b else 232 @ 0x1444 0x13e0 224 rax = rax + 2 0x13e7 225 if (rdx == rax) then 197 @ 0x1435 else 198 @ 0x13e9 0x1415 226 if (flag:p) then 224 @ 0x13e0 else 237 @ 0x1417 0x13f6 227 esi = [rsp + (rax << 2) + 0x590].d 0x13fd 228 rbx = sx.q(ebx) 0x1400 229 [rsp + (rbx << 2) + 0xb10].d = esi 0x1407 230 ebx = ebx + 1 0x1407 231 goto 214 @ 0x140a 0x1444 232 eax = [rsp + (rax << 2) + 0x590].d 0x144b 233 rbx = sx.q(ebx) 0x144e 234 [rsp + (rbx << 2) + 0xb10].d = eax 0x1455 235 ebx = ebx + 1 0x1455 236 goto 12 @ 0x145b 0x1417 237 esi = [rsp + (rax << 2) + 0x594].d 0x141e 238 rbx = sx.q(ebx) 0x1421 239 [rsp + (rbx << 2) + 0xb10].d = esi 0x1428 240 ebx = ebx + 1 0x142b 241 goto 224 @ 0x13e0 int64_t _fini(): 0x14ec 0 rsp = rsp - 8 0x14f0 1 rsp = rsp + 8 0x14f4 2 <return> jump(pop)
POJ_21
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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 - 0x128 0x115e 5 rdi = 0x2006 {"%d"} 0x1165 6 rsi = rsp + 0xc {var_13c} 0x116a 7 eax = 0 0x116c 8 call(0x1040) 0x1176 9 if ([rsp + 0xc {var_13c}].d s<= 0) then 10 @ 0x122c else 17 @ 0x117c 0x122c 10 eax = 0 0x122e 11 rsp = rsp + 0x128 0x1235 12 rbx = pop 0x1236 13 r12 = pop 0x1238 14 r14 = pop 0x123a 15 r15 = pop 0x123c 16 <return> jump(pop) 0x117c 17 r14 = rsp + 0x74 {var_d4} 0x1181 18 r12 = rsp + 0xd4 {var_74} 0x1189 19 r15 = 0x2004 {"%d%d"} 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(0x1040) 0x11b0 27 rax = sx.q([rsp + 0xc {var_13c}].d) 0x11b5 28 rbx = rbx + 1 0x11b9 29 r14 = r14 + 4 0x11bd 30 r12 = r12 + 4 0x11c4 31 if (rbx s< rax) then 22 @ 0x11a0 else 32 @ 0x11c6 0x11c6 32 r14d = eax 0x11cc 33 if (r14d s<= 0) then 10 @ 0x122c else 34 @ 0x11ce 0x11ce 34 r15 = r14 + 1 0x11d2 35 ebx = 1 0x11d7 36 goto 37 @ 0x11e0 0x11e0 37 edi = [rsp + (rbx << 2) + 0xd0].d 0x11e7 38 esi = [rsp + (rbx << 2) + 0x70].d 0x11eb 39 call(0x1240) 0x11f0 40 [rsp + (rbx << 2) + 0x10].d = eax 0x11f4 41 rbx = rbx + 1 0x11fb 42 if (r15 != rbx) then 37 @ 0x11e0 else 43 @ 0x1200 0x1200 43 if (r14d s<= 0) then 10 @ 0x122c else 44 @ 0x1202 0x1202 44 r14 = 0x2009 {"%d\n"} 0x1209 45 ebx = 0 0x120b 46 goto 47 @ 0x1210 0x1210 47 esi = [rsp + (rbx << 2) + 0x14].d 0x1214 48 rdi = r14 0x1217 49 eax = 0 0x1219 50 call(0x1030) 0x121e 51 rax = sx.q([rsp + 0xc {var_13c}].d) 0x1223 52 rbx = rbx + 1 0x122a 53 if (rbx s< rax) then 47 @ 0x1210 else 10 @ 0x122c uint64_t sum(int32_t arg1, int32_t arg2): 0x1240 0 push(rbp) 0x1241 1 push(r15) 0x1243 2 push(r14) 0x1245 3 push(rbx) 0x1246 4 push(rax) 0x1247 5 ebx = 1 0x124f 6 if (esi == 1) then 7 @ 0x1275 else 14 @ 0x1251 0x1275 7 eax = ebx 0x1277 8 rsp = rsp + 8 0x127b 9 rbx = pop 0x127c 10 r14 = pop 0x127e 11 r15 = pop 0x1280 12 rbp = pop 0x1281 13 <return> jump(pop) 0x1251 14 ebp = edi 0x1255 15 if (edi s< 0) then 16 @ 0x1273 else 18 @ 0x1257 0x1273 16 ebx = 0 0x1273 17 goto 7 @ 0x1275 0x1257 18 r14d = esi 0x125a 19 r15d = (r14 - 1).d 0x125e 20 ebx = 0 0x125e 21 goto 22 @ 0x1260 0x1260 22 edi = ebp 0x1262 23 esi = r15d 0x1265 24 call(0x1240) 0x126a 25 ebx = ebx + eax 0x126c 26 temp0.d = ebp 0x126c 27 ebp = ebp - r14d 0x126f 28 if (temp0.d - r14d s>= 0) then 22 @ 0x1260 else 29 @ 0x1271 0x1271 29 goto 7 @ 0x1275 int64_t _fini(): 0x1288 0 rsp = rsp - 8 0x128c 1 rsp = rsp + 8 0x1290 2 <return> jump(pop)
POJ_90
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"SHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0x10 0x1155 2 rdi = 0x2004 {"%d%d%d"} 0x115c 3 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 eax = [rsp + 0xc {var_c}].d 0x1176 9 ebx = 0x1c {""} 0x117d 10 if ((al & 3) != 0) then 11 @ 0x11a5 else 12 @ 0x117f 0x11a5 11 if ([rsp + 8 {var_10}].d == 1) then 18 @ 0x125e else 23 @ 0x11b0 0x117f 12 eax = eax * -0x3d70a3d7 0x1185 13 eax = eax + 0x51eb850 0x118a 14 ecx = eax 0x118c 15 ecx = ror.d(ecx, 2) 0x118f 16 ebx = 0x1d {""} 0x119a 17 if (ecx u<= 0x28f5c28) then 24 @ 0x1243 else 11 @ 0x11a5 0x125e 18 esi = [rsp + 4 {var_14}].d 0x1262 19 rdi = 0x200b {"%d\n"} 0x1269 20 eax = 0 0x126b 21 call(0x1030) 0x1275 22 if ([rsp + 8 {var_10}].d != 2) then 30 @ 0x11bb else 31 @ 0x127b 0x11b0 23 if ([rsp + 8 {var_10}].d == 2) then 31 @ 0x127b else 30 @ 0x11bb 0x1243 24 eax = ror.d(eax, 4) 0x1246 25 ebx = 0 0x1248 26 flag:c = eax u< 0xa3d70b 0x124d 27 bl = flag:c 0x1250 28 ebx = ebx | 0x1c 0x1258 29 if ([rsp + 8 {var_10}].d != 1) then 23 @ 0x11b0 else 18 @ 0x125e 0x11bb 30 if ([rsp + 8 {var_10}].d == 3) then 37 @ 0x129b else 44 @ 0x11c6 0x127b 31 esi = [rsp + 4 {var_14}].d 0x127f 32 esi = esi + 0x1f 0x1282 33 rdi = 0x200b {"%d\n"} 0x1289 34 eax = 0 0x128b 35 call(0x1030) 0x1295 36 if ([rsp + 8 {var_10}].d != 3) then 44 @ 0x11c6 else 37 @ 0x129b 0x129b 37 eax = [rsp + 4 {var_14}].d 0x129f 38 esi = (rbx + rax).d 0x12a2 39 esi = esi + 0x1f 0x12a5 40 rdi = 0x200b {"%d\n"} 0x12ac 41 eax = 0 0x12ae 42 call(0x1030) 0x12b8 43 if ([rsp + 8 {var_10}].d != 4) then 45 @ 0x11d1 else 46 @ 0x12be 0x11c6 44 if ([rsp + 8 {var_10}].d == 4) then 46 @ 0x12be else 45 @ 0x11d1 0x11d1 45 if ([rsp + 8 {var_10}].d == 5) then 53 @ 0x12e1 else 60 @ 0x11dc 0x12be 46 eax = [rsp + 4 {var_14}].d 0x12c2 47 esi = (rbx + rax).d 0x12c5 48 esi = esi + 0x3e 0x12c8 49 rdi = 0x200b {"%d\n"} 0x12cf 50 eax = 0 0x12d1 51 call(0x1030) 0x12db 52 if ([rsp + 8 {var_10}].d != 5) then 60 @ 0x11dc else 53 @ 0x12e1 0x12e1 53 eax = [rsp + 4 {var_14}].d 0x12e5 54 esi = (rbx + rax).d 0x12e8 55 esi = esi + 0x5c 0x12eb 56 rdi = 0x200b {"%d\n"} 0x12f2 57 eax = 0 0x12f4 58 call(0x1030) 0x12fe 59 if ([rsp + 8 {var_10}].d != 6) then 61 @ 0x11e7 else 62 @ 0x1304 0x11dc 60 if ([rsp + 8 {var_10}].d == 6) then 62 @ 0x1304 else 61 @ 0x11e7 0x11e7 61 if ([rsp + 8 {var_10}].d == 7) then 69 @ 0x1327 else 76 @ 0x11f2 0x1304 62 eax = [rsp + 4 {var_14}].d 0x1308 63 esi = (rbx + rax).d 0x130b 64 esi = esi + 0x7b 0x130e 65 rdi = 0x200b {"%d\n"} 0x1315 66 eax = 0 0x1317 67 call(0x1030) 0x1321 68 if ([rsp + 8 {var_10}].d != 7) then 76 @ 0x11f2 else 69 @ 0x1327 0x1327 69 eax = [rsp + 4 {var_14}].d 0x132b 70 esi = (rbx + rax).d 0x132e 71 esi = esi + 0x99 0x1334 72 rdi = 0x200b {"%d\n"} 0x133b 73 eax = 0 0x133d 74 call(0x1030) 0x1347 75 if ([rsp + 8 {var_10}].d != 8) then 77 @ 0x11fd else 78 @ 0x134d 0x11f2 76 if ([rsp + 8 {var_10}].d == 8) then 78 @ 0x134d else 77 @ 0x11fd 0x11fd 77 if ([rsp + 8 {var_10}].d == 9) then 85 @ 0x1373 else 92 @ 0x1208 0x134d 78 eax = [rsp + 4 {var_14}].d 0x1351 79 esi = (rbx + rax).d 0x1354 80 esi = esi + 0xb8 0x135a 81 rdi = 0x200b {"%d\n"} 0x1361 82 eax = 0 0x1363 83 call(0x1030) 0x136d 84 if ([rsp + 8 {var_10}].d != 9) then 92 @ 0x1208 else 85 @ 0x1373 0x1373 85 eax = [rsp + 4 {var_14}].d 0x1377 86 esi = (rbx + rax).d 0x137a 87 esi = esi + 0xd7 0x1380 88 rdi = 0x200b {"%d\n"} 0x1387 89 eax = 0 0x1389 90 call(0x1030) 0x1393 91 if ([rsp + 8 {var_10}].d != 0xa) then 93 @ 0x1213 else 94 @ 0x1399 0x1208 92 if ([rsp + 8 {var_10}].d == 0xa) then 94 @ 0x1399 else 93 @ 0x1213 0x1213 93 if ([rsp + 8 {var_10}].d == 0xb) then 101 @ 0x13bf else 108 @ 0x121e 0x1399 94 eax = [rsp + 4 {var_14}].d 0x139d 95 esi = (rbx + rax).d 0x13a0 96 esi = esi + 0xf5 0x13a6 97 rdi = 0x200b {"%d\n"} 0x13ad 98 eax = 0 0x13af 99 call(0x1030) 0x13b9 100 if ([rsp + 8 {var_10}].d != 0xb) then 108 @ 0x121e else 101 @ 0x13bf 0x13bf 101 eax = [rsp + 4 {var_14}].d 0x13c3 102 esi = (rbx + rax).d 0x13c6 103 esi = esi + 0x114 0x13cc 104 rdi = 0x200b {"%d\n"} 0x13d3 105 eax = 0 0x13d5 106 call(0x1030) 0x13df 107 if ([rsp + 8 {var_10}].d == 0xc) then 109 @ 0x1220 else 116 @ 0x13e5 0x121e 108 if ([rsp + 8 {var_10}].d != 0xc) then 117 @ 0x123b else 109 @ 0x1220 0x1220 109 eax = [rsp + 4 {var_14}].d 0x1224 110 esi = (rbx + rax).d 0x1227 111 esi = esi + 0x132 0x122d 112 rdi = 0x200b {"%d\n"} 0x1234 113 eax = 0 0x1236 114 call(0x1030) 0x1236 115 goto 117 @ 0x123b 0x13e5 116 goto 117 @ 0x123b 0x123b 117 eax = 0 0x123d 118 rsp = rsp + 0x10 0x1241 119 rbx = pop 0x1242 120 <return> jump(pop) int64_t _fini(): 0x13f0 0 rsp = rsp - 8 0x13f4 1 rsp = rsp + 8 0x13f8 2 <return> jump(pop)
POJ_11
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t 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 {"UHH8"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x138b0 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 [rbp - 0x1389c {var_138a4}].d = 0 0x117c 5 [rbp - 0x138a4 {var_138ac}].d = 0 0x1186 6 rdi = 0x2005 {"%d"} 0x118d 7 rsi = rbp - 0x13894 {var_1389c} 0x1194 8 al = 0 0x1196 9 call(0x1050) 0x119b 10 [rbp - 0x13898 {var_138a0}].d = 0 0x119b 11 goto 12 @ 0x11a5 0x11a5 12 eax = [rbp - 0x13898 {var_138a0}].d 0x11b1 13 if (eax s>= [rbp - 0x13894 {var_1389c}].d) then 14 @ 0x1274 else 16 @ 0x11b7 0x1274 14 [rbp - 0x13898 {var_138a0_1}].d = 0 0x1274 15 goto 23 @ 0x127e 0x11b7 16 [rbp - 0x1389c {var_138a4_1}].d = 0 0x11c1 17 rdi = 0x2005 {"%d"} 0x11c8 18 rsi = rbp - 8 {var_10} 0x11cc 19 al = 0 0x11ce 20 call(0x1050) 0x11d3 21 [rbp - 0x138a8 {var_138b0_1}].d = 0 0x11d3 22 goto 25 @ 0x11dd 0x127e 23 eax = [rbp - 0x13898 {var_138a0_1}].d 0x128a 24 if (eax s>= [rbp - 0x138a4 {var_138ac}].d) then 27 @ 0x12f3 else 35 @ 0x1297 0x11dd 25 eax = [rbp - 0x138a8 {var_138b0_1}].d 0x11e9 26 if (eax s>= [rbp - 0x138a4 {var_138ac}].d) then 36 @ 0x1235 else 37 @ 0x11ef 0x12f3 27 al = 0 0x12f5 28 call(0x1040) 0x12fa 29 al = 0 0x12fc 30 call(0x1040) 0x1301 31 eax = [rbp - 4 {var_c}].d 0x1304 32 rsp = rsp + 0x138b0 0x130b 33 rbp = pop 0x130c 34 <return> jump(pop) 0x1297 35 if ([rbp - 0x13898 {var_138a0_1}].d != 0) then 40 @ 0x12be else 46 @ 0x129d 0x1235 36 if ([rbp - 0x1389c {var_138a4_1}].d != 0) then 52 @ 0x125b else 53 @ 0x123b 0x11ef 37 eax = [rbp - 8 {var_10}].d 0x11f2 38 rcx = sx.q([rbp - 0x138a8 {var_138b0_1}].d) 0x1200 39 if (eax != [rbp + (rcx << 2) - 0x13890].d) then 60 @ 0x1215 else 61 @ 0x1206 0x12be 40 rax = sx.q([rbp - 0x13898 {var_138a0_1}].d) 0x12c5 41 esi = [rbp + (rax << 2) - 0x13890].d 0x12cc 42 rdi = 0x2004 {" %d"} 0x12d3 43 al = 0 0x12d5 44 call(0x1030) 0x12d5 45 goto 65 @ 0x12da 0x129d 46 rax = sx.q([rbp - 0x13898 {var_138a0_1}].d) 0x12a4 47 esi = [rbp + (rax << 2) - 0x13890].d 0x12ab 48 rdi = 0x2005 {"%d"} 0x12b2 49 al = 0 0x12b4 50 call(0x1030) 0x12b9 51 goto 65 @ 0x12da 0x125b 52 goto 66 @ 0x1260 0x123b 53 ecx = [rbp - 8 {var_10}].d 0x123e 54 rax = sx.q([rbp - 0x138a4 {var_138ac}].d) 0x1245 55 [rbp + (rax << 2) - 0x13890].d = ecx 0x124c 56 eax = [rbp - 0x138a4 {var_138ac}].d 0x1252 57 eax = eax + 1 0x1255 58 [rbp - 0x138a4 {var_138ac}].d = eax 0x1255 59 goto 52 @ 0x125b 0x1215 60 goto 70 @ 0x121a 0x1206 61 eax = [rbp - 0x1389c {var_138a4_1}].d 0x120c 62 eax = eax + 1 0x120f 63 [rbp - 0x1389c {var_138a4_1}].d = eax 0x120f 64 goto 60 @ 0x1215 0x12da 65 goto 74 @ 0x12df 0x1260 66 eax = [rbp - 0x13898 {var_138a0}].d 0x1266 67 eax = eax + 1 0x1269 68 [rbp - 0x13898 {var_138a0}].d = eax 0x126f 69 goto 12 @ 0x11a5 0x121a 70 eax = [rbp - 0x138a8 {var_138b0_1}].d 0x1220 71 eax = eax + 1 0x1223 72 [rbp - 0x138a8 {var_138b0_1}].d = eax 0x1229 73 goto 25 @ 0x11dd 0x12df 74 eax = [rbp - 0x13898 {var_138a0_1}].d 0x12e5 75 eax = eax + 1 0x12e8 76 [rbp - 0x13898 {var_138a0_1}].d = eax 0x12ee 77 goto 23 @ 0x127e int64_t _fini(): 0x1314 0 rsp = rsp - 8 0x1318 1 rsp = rsp + 8 0x131c 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 {"UAWAVATSHL5"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) 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 - 0x10 0x115c 6 r14 = 0x2007 {"%d\n"} 0x1163 7 ebx = 0 0x1165 8 rsi = rsp + 0xc {var_2c} 0x116a 9 rdi = r14 0x116d 10 eax = 0 0x116f 11 call(0x1040) 0x1174 12 rsi = rsp + 8 {var_30} 0x1179 13 rdi = r14 0x117c 14 eax = 0 0x117e 15 call(0x1040) 0x1183 16 r12d = [rsp + 8 {var_30}].d 0x118d 17 if ([rsp + 0xc {var_2c}].d s< 2) then 18 @ 0x11df else 20 @ 0x118f 0x11df 18 esi = r12d 0x11df 19 goto 25 @ 0x11e2 0x118f 20 ebp = 1 0x1194 21 r14 = 0x2007 {"%d\n"} 0x119b 22 r15 = rsp + 8 {var_30} 0x11a0 23 ebx = 0 0x11ac 24 goto 37 @ 0x11b0 0x11e2 25 rdi = 0x2004 {"%d\n%d\n"} 0x11e9 26 edx = ebx 0x11eb 27 eax = 0 0x11ed 28 call(0x1030) 0x11f2 29 eax = 0 0x11f4 30 rsp = rsp + 0x10 0x11f8 31 rbx = pop 0x11f9 32 r12 = pop 0x11fb 33 r14 = pop 0x11fd 34 r15 = pop 0x11ff 35 rbp = pop 0x1200 36 <return> jump(pop) 0x11b0 37 rdi = r14 0x11b3 38 rsi = r15 {var_30} 0x11b6 39 eax = 0 0x11b8 40 call(0x1040) 0x11bd 41 esi = [rsp + 8 {var_30}].d 0x11c3 42 if (ebx s< esi) then 43 else 45 @ 0x11c6 0x11c3 43 ebx = esi 0x11c3 44 goto 45 @ 0x11c6 0x11c6 45 cond:0 = r12d s< esi 0x11c9 46 if (r12d s>= esi) then 47 else 49 @ 0x11cd 0x11c9 47 esi = r12d 0x11c9 48 goto 49 @ 0x11cd 0x11cd 49 if (cond:0) then 50 else 52 @ 0x11d1 0x11cd 50 ebx = r12d 0x11cd 51 goto 52 @ 0x11d1 0x11d1 52 ebp = ebp + 1 0x11d4 53 r12d = esi 0x11db 54 if (ebp s< [rsp + 0xc {var_2c}].d) then 37 @ 0x11b0 else 55 @ 0x11dd 0x11dd 55 goto 25 @ 0x11e2 int64_t _fini(): 0x1208 0 rsp = rsp - 8 0x120c 1 rsp = rsp + 8 0x1210 2 <return> jump(pop)
POJ_84
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x11a0 {"AVSHHV"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) uint64_t reverse(int32_t arg1): 0x1150 0 eax = edi 0x1152 1 eax = neg.d(eax) 0x1154 2 if (eax s< 0) then 3 else 5 @ 0x1157 0x1154 3 eax = edi 0x1154 4 goto 5 @ 0x1157 0x1157 5 edx = 0 0x115b 6 if (eax == 0) then 7 @ 0x1191 else 10 @ 0x115d 0x1191 7 eax = edx 0x1193 8 eax = neg.d(eax) 0x1197 9 if (edi s>= 0) then 11 else 13 @ 0x119a 0x115d 10 goto 14 @ 0x1160 0x1197 11 eax = edx 0x1197 12 goto 13 @ 0x119a 0x119a 13 <return> jump(pop) 0x1160 14 r8d = (rdx + (rdx << 2)).d 0x1164 15 rcx = sx.q(eax) 0x1167 16 rax = rcx * 0x66666667 0x116e 17 rsi = rax 0x1171 18 rsi = rsi u>> 0x3f 0x1175 19 rax = rax s>> 0x22 0x1179 20 eax = eax + esi 0x117b 21 esi = (rax + rax).d 0x117e 22 esi = (rsi + (rsi << 2)).d 0x1181 23 edx = ecx 0x1183 24 edx = edx - esi 0x1185 25 edx = (rdx + (r8 << 1)).d 0x1189 26 ecx = ecx + 9 0x118f 27 if (ecx u> 0x12) then 14 @ 0x1160 else 7 @ 0x1191 int32_t main(int32_t argc, char** argv, char** envp): 0x11a0 0 push(r14) 0x11a2 1 push(rbx) 0x11a3 2 rsp = rsp - 0x18 0x11a7 3 rbx = 0x2004 {"%d"} 0x11ae 4 rsi = rsp {var_28} 0x11b1 5 rdi = rbx 0x11b4 6 eax = 0 0x11b6 7 call(0x1040) 0x11bb 8 rsi = rsp + 4 {var_24} 0x11c0 9 rdi = rbx 0x11c3 10 eax = 0 0x11c5 11 call(0x1040) 0x11ca 12 rsi = rsp + 8 {var_20} 0x11cf 13 rdi = rbx 0x11d2 14 eax = 0 0x11d4 15 call(0x1040) 0x11d9 16 rsi = rsp + 0xc {var_1c} 0x11de 17 rdi = rbx 0x11e1 18 eax = 0 0x11e3 19 call(0x1040) 0x11e8 20 rsi = rsp + 0x10 {var_18} 0x11ed 21 rdi = rbx 0x11f0 22 eax = 0 0x11f2 23 call(0x1040) 0x11f7 24 rsi = rsp + 0x14 {var_14} 0x11fc 25 rdi = rbx 0x11ff 26 eax = 0 0x1201 27 call(0x1040) 0x1206 28 r14 = 0x2007 {"%d\n"} 0x120d 29 ebx = 0 0x120f 30 goto 31 @ 0x123e 0x123e 31 r8d = [rsp + (rbx << 2)].d 0x1242 32 ecx = r8d 0x1245 33 ecx = neg.d(ecx) 0x1247 34 if (ecx s< 0) then 35 else 37 @ 0x124b 0x1247 35 ecx = r8d 0x1247 36 goto 37 @ 0x124b 0x124b 37 edx = 0 0x1252 38 if (ecx == 0) then 39 @ 0x1220 else 42 @ 0x1254 0x1220 39 esi = edx 0x1222 40 esi = neg.d(esi) 0x1227 41 if (r8d s>= 0) then 44 else 46 @ 0x122a 0x1254 42 edx = 0 0x1256 43 goto 51 @ 0x1260 0x1227 44 esi = edx 0x1227 45 goto 46 @ 0x122a 0x122a 46 rdi = r14 0x122d 47 eax = 0 0x122f 48 call(0x1030) 0x1234 49 rbx = rbx + 1 0x123c 50 if (rbx == 6) then 65 @ 0x1291 else 31 @ 0x123e 0x1260 51 edx = (rdx + (rdx << 2)).d 0x1263 52 rax = sx.q(ecx) 0x1266 53 rcx = rax * 0x66666667 0x126d 54 rdi = rcx 0x1270 55 rdi = rdi u>> 0x3f 0x1274 56 rcx = rcx s>> 0x22 0x1278 57 ecx = ecx + edi 0x127a 58 edi = (rcx + rcx).d 0x127d 59 edi = (rdi + (rdi << 2)).d 0x1280 60 esi = eax 0x1282 61 esi = esi - edi 0x1284 62 edx = (rsi + (rdx << 1)).d 0x1287 63 eax = eax + 9 0x128d 64 if (eax u> 0x12) then 51 @ 0x1260 else 70 @ 0x128f 0x1291 65 eax = 0 0x1293 66 rsp = rsp + 0x18 0x1297 67 rbx = pop 0x1298 68 r14 = pop 0x129a 69 <return> jump(pop) 0x128f 70 goto 39 @ 0x1220 int64_t _fini(): 0x12a0 0 rsp = rsp - 8 0x12a4 1 rsp = rsp + 8 0x12a8 2 <return> jump(pop)
POJ_44
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r12) 0x1157 4 push(rbx) 0x1158 5 rsp = rsp - 0x1a0 0x115f 6 r14 = 0x2004 {"%d"} 0x1166 7 rsi = rsp + 0xc {var_1bc} 0x116b 8 rdi = r14 0x116e 9 eax = 0 0x1170 10 call(0x1040) 0x1175 11 rbx = rsp + 0x10 {var_1b8} 0x117a 12 ebp = 0 0x117c 13 goto 14 @ 0x11a0 0x11a0 14 r12d = esi 0x11a3 15 rdi = r14 0x11a6 16 rsi = rbx 0x11a9 17 eax = 0 0x11ab 18 call(0x1040) 0x11b2 19 if (ebp == 0) then 20 @ 0x118b else 22 @ 0x11b7 0x118b 20 esi = r12d 0x118b 21 goto 23 @ 0x118e 0x11b7 22 if (ebp != 1) then 27 @ 0x11d0 else 30 @ 0x11b9 0x118e 23 rbp = rbp + 1 0x1192 24 rax = sx.q([rsp + 0xc {var_1bc}].d) 0x1197 25 rbx = rbx + 4 0x119e 26 if (rbp s>= rax) then 35 @ 0x11e6 else 14 @ 0x11a0 0x11d0 27 esi = [rbx].d 0x11d2 28 cond:0 = esi s< r12d 0x11d5 29 if (esi s<= r12d) then 51 @ 0x117e else 53 @ 0x11d7 0x11b9 30 esi = [rsp + 0x10 {var_1b8}].d 0x11bd 31 eax = [rsp + 0x14 {var_1b4}].d 0x11c1 32 cond:1 = esi s< eax 0x11c1 33 cond:2 = esi s< eax 0x11c3 34 if (esi s<= eax) then 55 @ 0x11dc else 56 @ 0x11c5 0x11e6 35 rbx = 0x2007 {"%d\n"} 0x11ed 36 rdi = rbx 0x11f0 37 eax = 0 0x11f2 38 call(0x1030) 0x11f7 39 rdi = rbx 0x11fa 40 esi = r15d 0x11fd 41 eax = 0 0x11ff 42 call(0x1030) 0x1204 43 eax = 0 0x1206 44 rsp = rsp + 0x1a0 0x120d 45 rbx = pop 0x120e 46 r12 = pop 0x1210 47 r14 = pop 0x1212 48 r15 = pop 0x1214 49 rbp = pop 0x1215 50 <return> jump(pop) 0x117e 51 eax = r15d 0x1181 52 if (cond:0) then 58 else 60 @ 0x1187 0x11d7 53 r15d = r12d 0x11da 54 goto 23 @ 0x118e 0x11dc 55 if (cond:1) then 61 else 63 @ 0x11e0 0x11c5 56 r15d = eax 0x11c8 57 goto 23 @ 0x118e 0x1181 58 eax = esi 0x1181 59 goto 60 @ 0x1187 0x1187 60 if (esi s> r15d) then 64 else 66 0x11dc 61 r12d = eax 0x11dc 62 goto 63 @ 0x11e0 0x11e0 63 if (cond:2) then 67 else 69 @ 0x11e4 0x1187 64 r15d = eax 0x1187 65 goto 66 0x1187 66 goto 20 @ 0x118b 0x11e0 67 r15d = esi 0x11e0 68 goto 69 @ 0x11e4 0x11e4 69 goto 20 @ 0x118b int64_t _fini(): 0x121c 0 rsp = rsp - 8 0x1220 1 rsp = rsp + 8 0x1224 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 {"AWAVAUATSHPB"} 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 - 0xf4250 0x1160 6 rdi = 0x2004 {"%d"} 0x1167 7 rsi = rsp + 0xc {var_f426c} 0x116c 8 eax = 0 0x116e 9 call(0x1040) 0x1173 10 r13d = [rsp + 0xc {var_f426c}].d 0x117b 11 if (r13d s<= 0) then 12 @ 0x11f4 else 13 @ 0x117d 0x11f4 12 if (r13d s<= 0) then 17 @ 0x1244 else 18 @ 0x11f6 0x117d 13 r15 = rsp + 0x7e4 {var_f3a94} 0x1185 14 r12d = 1 0x118b 15 r14 = 0x2004 {"%d"} 0x1192 16 goto 23 @ 0x11be 0x1244 17 if (r13d s<= 0) then 24 @ 0x12ab else 40 @ 0x1246 0x11f6 18 edx = (r13 + 1).d 0x11fa 19 rdi = rsp + 0x7e4 {var_f3a94} 0x1202 20 rcx = rdx - 1 0x1206 21 ebx = 1 0x120b 22 goto 46 @ 0x1228 0x11be 23 if ([rsp + 0xc {var_f426c}].d s<= 0) then 48 @ 0x11a0 else 54 @ 0x11c0 0x12ab 24 r9d = not.d(r9d) 0x12ae 25 r8d = r8d + r9d 0x12b1 26 esi = not.d(esi) 0x12b3 27 esi = esi + edx 0x12b5 28 esi = esi * r8d 0x12b9 29 rdi = 0x2004 {"%d"} 0x12c0 30 eax = 0 0x12c2 31 call(0x1030) 0x12c7 32 eax = 0 0x12c9 33 rsp = rsp + 0xf4250 0x12d0 34 rbx = pop 0x12d1 35 r12 = pop 0x12d3 36 r13 = pop 0x12d5 37 r14 = pop 0x12d7 38 r15 = pop 0x12d9 39 <return> jump(pop) 0x1246 40 rbx = sx.q(r13d) 0x1249 41 r10 = rbx + 1 0x124d 42 rax = rbx * 0x7d4 0x1254 43 rdi = rsp + rax 0x1258 44 rdi = rdi + 0x10 0x125c 45 goto 57 @ 0x127a 0x1228 46 eax = 0 0x122a 47 goto 61 @ 0x1234 0x11a0 48 rax = r12 + 1 0x11a5 49 r13 = sx.q([rsp + 0xc {var_f426c}].d) 0x11aa 50 r15 = r15 + 0x7d0 0x11b1 51 cond:0 = r12 s>= r13 0x11b4 52 r12 = rax 0x11b7 53 if (cond:0) then 12 @ 0x11f4 else 23 @ 0x11be 0x11c0 54 r13 = r15 0x11c3 55 ebx = 0 0x11cf 56 goto 62 @ 0x11d0 0x127a 57 rcx = rdi 0x127d 58 rax = r10 0x1280 59 edx = r13d 0x128d 60 goto 70 @ 0x1293 0x1234 61 if ([rdi + (rax << 2)].d == 0) then 71 @ 0x1210 else 75 @ 0x1236 0x11d0 62 rdi = r14 0x11d3 63 rsi = r13 0x11d6 64 eax = 0 0x11d8 65 call(0x1040) 0x11dd 66 rax = sx.q([rsp + 0xc {var_f426c}].d) 0x11e2 67 rbx = rbx + 1 0x11e6 68 r13 = r13 + 4 0x11ed 69 if (rbx s< rax) then 62 @ 0x11d0 else 77 @ 0x11ef 0x1293 70 if ([rcx].d == 0) then 78 @ 0x1260 else 81 @ 0x1295 0x1210 71 eax = eax + 1 0x1213 72 r8d = ebx 0x1216 73 esi = eax 0x1216 74 goto 85 @ 0x1218 0x1236 75 rax = rax + 1 0x123d 76 if (rcx != rax) then 61 @ 0x1234 else 88 @ 0x123f 0x11ef 77 goto 48 @ 0x11a0 0x1260 78 r9d = ebx 0x1263 79 r11d = edx 0x1263 80 goto 89 @ 0x1266 0x1295 81 edx = edx - 1 0x1298 82 rax = rax - 1 0x129c 83 rcx = rcx - 4 0x12a4 84 if (rax s> 1) then 70 @ 0x1293 else 94 @ 0x12a6 0x1218 85 rbx = rbx + 1 0x121c 86 rdi = rdi + 0x7d0 0x1226 87 if (rbx == rdx) then 17 @ 0x1244 else 46 @ 0x1228 0x123f 88 goto 85 @ 0x1218 0x1266 89 rax = rbx - 1 0x126a 90 rdi = rdi - 0x7d0 0x1271 91 cond:1 = rbx s<= 1 0x1275 92 rbx = rax 0x1278 93 if (cond:1) then 24 @ 0x12ab else 57 @ 0x127a 0x12a6 94 edx = r11d 0x12a9 95 goto 89 @ 0x1266 int64_t _fini(): 0x12e0 0 rsp = rsp - 8 0x12e4 1 rsp = rsp + 8 0x12e8 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) double pow(double x, double y): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) double log10(int64_t arg1, int64_t arg2, double x): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1460 {"SH 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) uint64_t reverse(int64_t arg1, int64_t arg2, double arg3): 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 r15d = edi 0x1181 7 if (edi s<= 0) then 8 @ 0x1225 else 10 @ 0x1187 0x1225 8 r12d = 0 0x122b 9 if (r15d s>= 0) then 15 @ 0x1446 else 23 @ 0x1231 0x1187 10 xmm0.q = float.d(r15d) 0x118c 11 call(0x1060) 0x1191 12 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q) 0x1199 13 r14d = int.d(ftrunc(xmm0.q)) 0x11a1 14 if (r14d s<= 0) then 29 @ 0x121d else 31 @ 0x11a3 0x1446 15 eax = r12d 0x1449 16 rsp = rsp + 0x40 0x144d 17 rbx = pop 0x144e 18 r12 = pop 0x1450 19 r14 = pop 0x1452 20 r15 = pop 0x1454 21 rbp = pop 0x1455 22 <return> jump(pop) 0x1231 23 r15d = neg.d(r15d) 0x1234 24 xmm0.q = float.d(r15d) 0x1239 25 call(0x1060) 0x123e 26 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q) 0x1246 27 r14d = int.d(ftrunc(xmm0.q)) 0x124e 28 if (r14d s<= 0) then 34 @ 0x138c else 36 @ 0x1254 0x121d 29 r12d = 0 0x1220 30 goto 15 @ 0x1446 0x11a3 31 ebx = (r14 - 1).d 0x11a7 32 ebp = 0 0x11a9 33 goto 39 @ 0x11b0 0x138c 34 r12d = 0 0x138f 35 goto 78 @ 0x1443 0x1254 36 ebx = (r14 - 1).d 0x1258 37 ebp = 0 0x125a 38 goto 80 @ 0x1260 0x11b0 39 xmm1 = 0 0x11b3 40 xmm1.q = float.d(ebx) 0x11b7 41 [rsp + 8 {var_60_1}].q = xmm1.q 0x11bd 42 xmm0 = zx.o([0x2010].q) 0x11c5 43 call(0x1040) 0x11ca 44 ecx = int.d(ftrunc(xmm0.q)) 0x11ce 45 eax = r15d 0x11d1 46 temp2.d:temp3.d = sx.q(eax) 0x11d1 47 edx = temp2.d 0x11d1 48 eax = temp3.d 0x11d2 49 temp4.d = edx 0x11d2 50 temp5.d = eax 0x11d2 51 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11d2 52 temp6.d = edx 0x11d2 53 temp7.d = eax 0x11d2 54 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11d2 55 eax = temp0.d 0x11d2 56 edx = temp1.d 0x11d4 57 [rsp + (rbp << 2) + 0x10].d = eax 0x11d8 58 xmm0 = zx.o([0x2010].q) 0x11e0 59 xmm1 = zx.o([rsp + 8 {var_60_1}].q) 0x11e6 60 call(0x1040) 0x11eb 61 ecx = int.d(ftrunc(xmm0.q)) 0x11ef 62 eax = r15d 0x11f2 63 temp8.d:temp9.d = sx.q(eax) 0x11f2 64 edx = temp8.d 0x11f2 65 eax = temp9.d 0x11f3 66 temp10.d = edx 0x11f3 67 temp11.d = eax 0x11f3 68 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11f3 69 temp12.d = edx 0x11f3 70 temp13.d = eax 0x11f3 71 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11f3 72 eax = temp0.d 0x11f3 73 edx = temp1.d 0x11f5 74 rbp = rbp + 1 0x11f9 75 ebx = ebx - 1 0x11fc 76 r15d = edx 0x1202 77 if (r14 != rbp) then 39 @ 0x11b0 else 119 @ 0x1207 0x1443 78 r12d = neg.d(r12d) 0x1443 79 goto 15 @ 0x1446 0x1260 80 xmm1 = 0 0x1263 81 xmm1.q = float.d(ebx) 0x1267 82 [rsp + 8 {var_60_2}].q = xmm1.q 0x126d 83 xmm0 = zx.o([0x2010].q) 0x1275 84 call(0x1040) 0x127a 85 ecx = int.d(ftrunc(xmm0.q)) 0x127e 86 eax = r15d 0x1281 87 temp14.d:temp15.d = sx.q(eax) 0x1281 88 edx = temp14.d 0x1281 89 eax = temp15.d 0x1282 90 temp16.d = edx 0x1282 91 temp17.d = eax 0x1282 92 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x1282 93 temp18.d = edx 0x1282 94 temp19.d = eax 0x1282 95 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x1282 96 eax = temp0.d 0x1282 97 edx = temp1.d 0x1284 98 [rsp + (rbp << 2) + 0x10].d = eax 0x1288 99 xmm0 = zx.o([0x2010].q) 0x1290 100 xmm1 = zx.o([rsp + 8 {var_60_2}].q) 0x1296 101 call(0x1040) 0x129b 102 ecx = int.d(ftrunc(xmm0.q)) 0x129f 103 eax = r15d 0x12a2 104 temp20.d:temp21.d = sx.q(eax) 0x12a2 105 edx = temp20.d 0x12a2 106 eax = temp21.d 0x12a3 107 temp22.d = edx 0x12a3 108 temp23.d = eax 0x12a3 109 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x12a3 110 temp24.d = edx 0x12a3 111 temp25.d = eax 0x12a3 112 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x12a3 113 eax = temp0.d 0x12a3 114 edx = temp1.d 0x12a5 115 rbp = rbp + 1 0x12a9 116 ebx = ebx - 1 0x12ac 117 r15d = edx 0x12b2 118 if (r14 != rbp) then 80 @ 0x1260 else 120 @ 0x12b7 0x1207 119 if (r14d s<= 0) then 29 @ 0x121d else 121 @ 0x120d 0x12b7 120 if (r14d s<= 0) then 34 @ 0x138c else 122 @ 0x12c1 0x120d 121 if (r14d != 1) then 123 @ 0x12d1 else 128 @ 0x1213 0x12c1 122 if (r14d != 1) then 131 @ 0x1394 else 136 @ 0x12c7 0x12d1 123 r15d = r14d 0x12d4 124 r15d = r15d & 0xfffffffe 0x12d8 125 ebp = 0 0x12da 126 r12d = 0 0x12dd 127 goto 139 @ 0x12e0 0x1213 128 ebp = 0 0x1215 129 r12d = 0 0x1218 130 goto 162 @ 0x1351 0x1394 131 r15d = r14d 0x1397 132 r15d = r15d & 0xfffffffe 0x139b 133 ebp = 0 0x139d 134 r12d = 0 0x139d 135 goto 163 @ 0x13a0 0x12c7 136 ebp = 0 0x12c9 137 r12d = 0 0x12cc 138 goto 186 @ 0x1411 0x12e0 139 xmm0 = 0 0x12e3 140 xmm0.q = float.d([rsp + (rbp << 2) + 0x10].d) 0x12e9 141 [rsp + 8 {var_60_3}].q = xmm0.q 0x12ef 142 xmm1 = 0 0x12f2 143 xmm1.q = float.d(ebp) 0x12f6 144 xmm0 = zx.o([0x2010].q) 0x12fe 145 call(0x1040) 0x1303 146 xmm0.q = xmm0.q f* fconvert.t([rsp + 8 {var_60_3}].q) 0x1309 147 ebx = int.d(ftrunc(xmm0.q)) 0x130d 148 xmm0 = 0 0x1310 149 xmm0.q = float.d([rsp + (rbp << 2) + 0x14].d) 0x1316 150 [rsp + 8 {var_60_4}].q = xmm0.q 0x131c 151 ebx = ebx + r12d 0x131f 152 eax = (rbp + 1).d 0x1322 153 xmm1 = 0 0x1325 154 xmm1.q = float.d(eax) 0x1329 155 xmm0 = zx.o([0x2010].q) 0x1331 156 call(0x1040) 0x1336 157 xmm0.q = xmm0.q f* fconvert.t([rsp + 8 {var_60_4}].q) 0x133c 158 r12d = int.d(ftrunc(xmm0.q)) 0x1341 159 r12d = r12d + ebx 0x1344 160 rbp = rbp + 2 0x134b 161 if (rbp != r15) then 139 @ 0x12e0 else 162 @ 0x1351 0x1351 162 if ((r14b & 1) == 0) then 15 @ 0x1446 else 187 @ 0x1357 0x13a0 163 xmm0 = 0 0x13a3 164 xmm0.q = float.d([rsp + (rbp << 2) + 0x10].d) 0x13a9 165 [rsp + 8 {var_60_6}].q = xmm0.q 0x13af 166 xmm1 = 0 0x13b2 167 xmm1.q = float.d(ebp) 0x13b6 168 xmm0 = zx.o([0x2010].q) 0x13be 169 call(0x1040) 0x13c3 170 xmm0.q = xmm0.q f* fconvert.t([rsp + 8 {var_60_6}].q) 0x13c9 171 ebx = int.d(ftrunc(xmm0.q)) 0x13cd 172 xmm0 = 0 0x13d0 173 xmm0.q = float.d([rsp + (rbp << 2) + 0x14].d) 0x13d6 174 [rsp + 8 {var_60_7}].q = xmm0.q 0x13dc 175 ebx = ebx + r12d 0x13df 176 eax = (rbp + 1).d 0x13e2 177 xmm1 = 0 0x13e5 178 xmm1.q = float.d(eax) 0x13e9 179 xmm0 = zx.o([0x2010].q) 0x13f1 180 call(0x1040) 0x13f6 181 xmm0.q = xmm0.q f* fconvert.t([rsp + 8 {var_60_7}].q) 0x13fc 182 r12d = int.d(ftrunc(xmm0.q)) 0x1401 183 r12d = r12d + ebx 0x1404 184 rbp = rbp + 2 0x140b 185 if (rbp != r15) then 163 @ 0x13a0 else 186 @ 0x1411 0x1411 186 if ((r14b & 1) == 0) then 78 @ 0x1443 else 198 @ 0x1413 0x1357 187 xmm0 = 0 0x135a 188 xmm0.q = float.d([rsp + (rbp << 2) + 0x10].d) 0x1360 189 [rsp + 8 {var_60_5}].q = xmm0.q 0x1366 190 xmm1 = 0 0x1369 191 xmm1.q = float.d(ebp) 0x136d 192 xmm0 = zx.o([0x2010].q) 0x1375 193 call(0x1040) 0x137a 194 xmm0.q = xmm0.q f* fconvert.t([rsp + 8 {var_60_5}].q) 0x1380 195 eax = int.d(ftrunc(xmm0.q)) 0x1384 196 r12d = r12d + eax 0x1387 197 goto 15 @ 0x1446 0x1413 198 xmm0 = 0 0x1416 199 xmm0.q = float.d([rsp + (rbp << 2) + 0x10].d) 0x141c 200 [rsp + 8 {var_60_8}].q = xmm0.q 0x1422 201 xmm1 = 0 0x1425 202 xmm1.q = float.d(ebp) 0x1429 203 xmm0 = zx.o([0x2010].q) 0x1431 204 call(0x1040) 0x1436 205 xmm0.q = xmm0.q f* fconvert.t([rsp + 8 {var_60_8}].q) 0x143c 206 eax = int.d(ftrunc(xmm0.q)) 0x1440 207 r12d = r12d + eax 0x1440 208 goto 78 @ 0x1443 int32_t main(int32_t argc, char** argv, char** envp): 0x1460 0 push(rbx) 0x1461 1 rsp = rsp - 0x20 0x1465 2 rbx = 0x2018 {"%d"} 0x146c 3 rsi = rsp {var_28} 0x146f 4 rdi = rbx 0x1472 5 eax = 0 0x1474 6 call(0x1050) 0x1479 7 rsi = rsp + 4 {var_24} 0x147e 8 rdi = rbx 0x1481 9 eax = 0 0x1483 10 call(0x1050) 0x1488 11 rsi = rsp + 8 {var_20} 0x148d 12 rdi = rbx 0x1490 13 eax = 0 0x1492 14 call(0x1050) 0x1497 15 rsi = rsp + 0xc {var_1c} 0x149c 16 rdi = rbx 0x149f 17 eax = 0 0x14a1 18 call(0x1050) 0x14a6 19 rsi = rsp + 0x10 {var_18} 0x14ab 20 rdi = rbx 0x14ae 21 eax = 0 0x14b0 22 call(0x1050) 0x14b5 23 rsi = rsp + 0x14 {var_14} 0x14ba 24 rdi = rbx 0x14bd 25 eax = 0 0x14bf 26 call(0x1050) 0x14c4 27 edi = [rsp {var_28}].d 0x14c7 28 call(0x1170) 0x14cc 29 rbx = 0x201b {"%d\n"} 0x14d3 30 rdi = rbx 0x14d6 31 esi = eax 0x14d8 32 eax = 0 0x14da 33 call(0x1030) 0x14df 34 edi = [rsp + 4 {var_24}].d 0x14e3 35 call(0x1170) 0x14e8 36 rdi = rbx 0x14eb 37 esi = eax 0x14ed 38 eax = 0 0x14ef 39 call(0x1030) 0x14f4 40 edi = [rsp + 8 {var_20}].d 0x14f8 41 call(0x1170) 0x14fd 42 rdi = rbx 0x1500 43 esi = eax 0x1502 44 eax = 0 0x1504 45 call(0x1030) 0x1509 46 edi = [rsp + 0xc {var_1c}].d 0x150d 47 call(0x1170) 0x1512 48 rdi = rbx 0x1515 49 esi = eax 0x1517 50 eax = 0 0x1519 51 call(0x1030) 0x151e 52 edi = [rsp + 0x10 {var_18}].d 0x1522 53 call(0x1170) 0x1527 54 rdi = rbx 0x152a 55 esi = eax 0x152c 56 eax = 0 0x152e 57 call(0x1030) 0x1533 58 edi = [rsp + 0x14 {var_14}].d 0x1537 59 call(0x1170) 0x153c 60 rdi = rbx 0x153f 61 esi = eax 0x1541 62 eax = 0 0x1543 63 call(0x1030) 0x1548 64 rsp = rsp + 0x20 0x154c 65 rbx = pop 0x154d 66 <return> jump(pop) int64_t _fini(): 0x1554 0 rsp = rsp - 8 0x1558 1 rsp = rsp + 8 0x155c 2 <return> jump(pop)
POJ_44
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x5fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x6018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x6008].q) 0x1026 3 jump([0x6010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x6020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x6028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x5fe0].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([0x5ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x6040 {""} 0x10a7 1 rax = 0x6040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x5fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x6040 {""} 0x10d7 1 rsi = 0x6040 {""} 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 = [0x5ff0].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 ([0x6040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x5fe0].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 [0x6040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x6038].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 - 0x20bc8 0x1171 7 rdi = 0x402b {"%d"} 0x1178 8 r14d = 0 0x117b 9 rsi = rsp + 0x38 {var_20bc0} 0x1180 10 eax = 0 0x1182 11 call(0x1050) 0x1187 12 ebx = [rsp + 0x38 {var_20bc0}].d 0x118b 13 esi = 0 0x1190 14 ecx = 0 0x1195 15 eax = 0 0x119a 16 ebp = 0 0x119f 17 r13d = 0 0x11a5 18 r12d = 0 0x11ab 19 r15d = 0 0x11b1 20 [rsp + 8 {var_20bf0}].d = 0 0x11b9 21 [rsp + 0xc {var_20bec}].d = 0 0x11c1 22 [rsp + 0x10 {var_20be8}].d = 0 0x11c9 23 [rsp + 0x14 {var_20be4}].d = 0 0x11d1 24 [rsp + 0x18 {var_20be0}].d = 0 0x11d9 25 [rsp + 0x1c {var_20bdc}].d = 0 0x11e1 26 [rsp + 0x20 {var_20bd8}].d = 0 0x11e9 27 [rsp + 0x24 {var_20bd4}].d = 0 0x11f1 28 [rsp + 0x28 {var_20bd0}].d = 0 0x11f9 29 [rsp + 0x2c {var_20bcc}].d = 0 0x1201 30 [rsp + 0x30 {var_20bc8}].d = 0 0x1209 31 [rsp + 0x34 {var_20bc4}].d = 0 0x1211 32 r9d = 0 0x1217 33 r11d = 0 0x121d 34 r10d = 0 0x1223 35 r8d = 0 0x1229 36 edi = 0 0x122e 37 edx = 0 0x1235 38 if (ebx s<= 0) then 39 @ 0x2efc else 42 @ 0x123b 0x2efc 39 ebx = 0 0x2efe 40 cond:0 = edx s< edi 0x2f00 41 if (edx s< edi) then 52 else 54 @ 0x2f03 0x123b 42 rdx = rbx * 0x68 0x123f 43 r14 = rsp + 0x50 {var_20ba8} 0x1244 44 rdi = r14 {var_20ba8} 0x1247 45 esi = 0 0x1249 46 call(0x1040) 0x124e 47 r15 = rsp + 0x1fc20 {var_fd8} 0x1256 48 rbx = rsp + 0x19690 {var_7568} 0x125e 49 r12 = 0x402e {"%d%s"} 0x1265 50 ebp = 0 0x1267 51 goto 57 @ 0x1270 0x2f00 52 edx = edi 0x2f00 53 goto 54 @ 0x2f03 0x2f03 54 bl = cond:0 0x2f06 55 cond:1 = edx s>= r8d 0x2f09 56 if (edx s< r8d) then 67 else 69 @ 0x2f0d 0x1270 57 rdi = r12 0x1273 58 rsi = r15 0x1276 59 rdx = rbx 0x1279 60 eax = 0 0x127b 61 call(0x1050) 0x1280 62 rbp = rbp + 1 0x1284 63 rax = sx.q([rsp + 0x38 {var_20bc0}].d) 0x1289 64 r15 = r15 + 4 0x128d 65 rbx = rbx + 0x1a 0x1294 66 if (rbp s< rax) then 57 @ 0x1270 else 71 @ 0x1296 0x2f09 67 edx = r8d 0x2f09 68 goto 69 @ 0x2f0d 0x2f0d 69 r8d = 2 0x2f13 70 if (cond:1) then 73 else 75 @ 0x2f17 0x1296 71 r8d = eax 0x129c 72 if (r8d s<= 0) then 77 @ 0x1609 else 104 @ 0x12a2 0x2f13 73 r8 = rbx 0x2f13 74 goto 75 @ 0x2f17 0x2f17 75 cond:2 = edx s>= r10d 0x2f1a 76 if (edx s< r10d) then 110 else 112 @ 0x2f1e 0x1609 77 r14d = 0 0x160c 78 esi = 0 0x160e 79 ecx = 0 0x1610 80 eax = 0 0x1612 81 ebp = 0 0x1614 82 r13d = 0 0x1617 83 r12d = 0 0x161a 84 r15d = 0 0x161d 85 [rsp + 8 {var_20bf0}].d = 0 0x1625 86 [rsp + 0xc {var_20bec}].d = 0 0x162d 87 [rsp + 0x10 {var_20be8}].d = 0 0x1635 88 [rsp + 0x14 {var_20be4}].d = 0 0x163d 89 [rsp + 0x18 {var_20be0}].d = 0 0x1645 90 [rsp + 0x1c {var_20bdc}].d = 0 0x164d 91 [rsp + 0x20 {var_20bd8}].d = 0 0x1655 92 [rsp + 0x24 {var_20bd4}].d = 0 0x165d 93 [rsp + 0x28 {var_20bd0}].d = 0 0x1665 94 [rsp + 0x2c {var_20bcc}].d = 0 0x166d 95 [rsp + 0x30 {var_20bc8}].d = 0 0x1675 96 [rsp + 0x34 {var_20bc4}].d = 0 0x167d 97 r9d = 0 0x1680 98 r11d = 0 0x1683 99 r10d = 0 0x1686 100 r8d = 0 0x1689 101 edi = 0 0x168b 102 edx = 0 0x168d 103 goto 39 @ 0x2efc 0x12a2 104 rax = r8 + (r8 << 2) 0x12a6 105 rax = rax + (rax << 2) 0x12aa 106 rax = rax + r8 0x12ad 107 ecx = 0 0x12af 108 rsi = 0x4010 {"ABCDEFGHIJKLMNOPQRSTUVWXYZ"} 0x12b6 109 goto 114 @ 0x12d2 0x2f1a 110 edx = r10d 0x2f1a 111 goto 112 @ 0x2f1e 0x2f1e 112 ebx = 3 0x2f23 113 if (cond:2) then 117 else 119 @ 0x2f27 0x12d2 114 bl = [rcx + rsi].b 0x12d5 115 edi = 0 0x12d7 116 goto 121 @ 0x12e9 0x2f23 117 rbx = r8 0x2f23 118 goto 119 @ 0x2f27 0x2f27 119 cond:3 = edx s>= r11d 0x2f2a 120 if (edx s< r11d) then 123 else 125 @ 0x2f2e 0x12e9 121 rbp = r14 + (rdi << 2) 0x12f4 122 if ([rsp + rdi + 0x19690].b != bl) then 127 @ 0x1301 else 128 @ 0x12f6 0x2f2a 123 edx = r11d 0x2f2a 124 goto 125 @ 0x2f2e 0x2f2e 125 edi = 4 0x2f33 126 if (cond:3) then 130 else 132 @ 0x2f37 0x1301 127 if ([rsp + rdi + 0x19691].b == bl) then 134 @ 0x1450 else 136 @ 0x130e 0x12f6 128 [rbp].d = [rbp].d + 1 0x12f6 129 goto 127 @ 0x1301 0x2f33 130 rdi = rbx 0x2f33 131 goto 132 @ 0x2f37 0x2f37 132 cond:4 = edx s>= r9d 0x2f3a 133 if (edx s< r9d) then 137 else 139 @ 0x2f3e 0x1450 134 [rbp].d = [rbp].d + 1 0x145b 135 if ([rsp + rdi + 0x19692].b != bl) then 141 @ 0x131b else 142 @ 0x1461 0x130e 136 if ([rsp + rdi + 0x19692].b == bl) then 142 @ 0x1461 else 141 @ 0x131b 0x2f3a 137 edx = r9d 0x2f3a 138 goto 139 @ 0x2f3e 0x2f3e 139 ebx = 5 0x2f43 140 if (cond:4) then 144 else 146 @ 0x2f47 0x131b 141 if ([rsp + rdi + 0x19693].b == bl) then 149 @ 0x1472 else 151 @ 0x1328 0x1461 142 [rbp].d = [rbp].d + 1 0x146c 143 if ([rsp + rdi + 0x19693].b != bl) then 151 @ 0x1328 else 149 @ 0x1472 0x2f43 144 rbx = rdi 0x2f43 145 goto 146 @ 0x2f47 0x2f47 146 edi = [rsp + 0x34 {var_20bc4}].d 0x2f4b 147 cond:5 = edx s>= edi 0x2f4d 148 if (edx s< edi) then 152 else 154 @ 0x2f50 0x1472 149 [rbp].d = [rbp].d + 1 0x147d 150 if ([rsp + rdi + 0x19694].b != bl) then 156 @ 0x1335 else 157 @ 0x1483 0x1328 151 if ([rsp + rdi + 0x19694].b == bl) then 157 @ 0x1483 else 156 @ 0x1335 0x2f4d 152 edx = edi 0x2f4d 153 goto 154 @ 0x2f50 0x2f50 154 edi = 6 0x2f55 155 if (cond:5) then 159 else 161 @ 0x2f59 0x1335 156 if ([rsp + rdi + 0x19695].b == bl) then 164 @ 0x1494 else 166 @ 0x1342 0x1483 157 [rbp].d = [rbp].d + 1 0x148e 158 if ([rsp + rdi + 0x19695].b != bl) then 166 @ 0x1342 else 164 @ 0x1494 0x2f55 159 rdi = rbx 0x2f55 160 goto 161 @ 0x2f59 0x2f59 161 ebx = [rsp + 0x30 {var_20bc8}].d 0x2f5d 162 cond:6 = edx s>= ebx 0x2f5f 163 if (edx s< ebx) then 167 else 169 @ 0x2f62 0x1494 164 [rbp].d = [rbp].d + 1 0x149f 165 if ([rsp + rdi + 0x19696].b != bl) then 171 @ 0x134f else 172 @ 0x14a5 0x1342 166 if ([rsp + rdi + 0x19696].b == bl) then 172 @ 0x14a5 else 171 @ 0x134f 0x2f5f 167 edx = ebx 0x2f5f 168 goto 169 @ 0x2f62 0x2f62 169 ebx = 7 0x2f67 170 if (cond:6) then 174 else 176 @ 0x2f6b 0x134f 171 if ([rsp + rdi + 0x19697].b == bl) then 179 @ 0x14b6 else 181 @ 0x135c 0x14a5 172 [rbp].d = [rbp].d + 1 0x14b0 173 if ([rsp + rdi + 0x19697].b != bl) then 181 @ 0x135c else 179 @ 0x14b6 0x2f67 174 rbx = rdi 0x2f67 175 goto 176 @ 0x2f6b 0x2f6b 176 edi = [rsp + 0x2c {var_20bcc}].d 0x2f6f 177 cond:7 = edx s>= edi 0x2f71 178 if (edx s< edi) then 182 else 184 @ 0x2f74 0x14b6 179 [rbp].d = [rbp].d + 1 0x14c1 180 if ([rsp + rdi + 0x19698].b != bl) then 186 @ 0x1369 else 187 @ 0x14c7 0x135c 181 if ([rsp + rdi + 0x19698].b == bl) then 187 @ 0x14c7 else 186 @ 0x1369 0x2f71 182 edx = edi 0x2f71 183 goto 184 @ 0x2f74 0x2f74 184 edi = 8 0x2f79 185 if (cond:7) then 189 else 191 @ 0x2f7d 0x1369 186 if ([rsp + rdi + 0x19699].b == bl) then 194 @ 0x14d8 else 196 @ 0x1376 0x14c7 187 [rbp].d = [rbp].d + 1 0x14d2 188 if ([rsp + rdi + 0x19699].b != bl) then 196 @ 0x1376 else 194 @ 0x14d8 0x2f79 189 rdi = rbx 0x2f79 190 goto 191 @ 0x2f7d 0x2f7d 191 ebx = [rsp + 0x28 {var_20bd0}].d 0x2f81 192 cond:8 = edx s>= ebx 0x2f83 193 if (edx s< ebx) then 197 else 199 @ 0x2f86 0x14d8 194 [rbp].d = [rbp].d + 1 0x14e3 195 if ([rsp + rdi + 0x1969a].b != bl) then 201 @ 0x1383 else 202 @ 0x14e9 0x1376 196 if ([rsp + rdi + 0x1969a].b == bl) then 202 @ 0x14e9 else 201 @ 0x1383 0x2f83 197 edx = ebx 0x2f83 198 goto 199 @ 0x2f86 0x2f86 199 ebx = 9 0x2f8b 200 if (cond:8) then 204 else 206 @ 0x2f8f 0x1383 201 if ([rsp + rdi + 0x1969b].b == bl) then 209 @ 0x14fa else 211 @ 0x1390 0x14e9 202 [rbp].d = [rbp].d + 1 0x14f4 203 if ([rsp + rdi + 0x1969b].b != bl) then 211 @ 0x1390 else 209 @ 0x14fa 0x2f8b 204 rbx = rdi 0x2f8b 205 goto 206 @ 0x2f8f 0x2f8f 206 edi = [rsp + 0x24 {var_20bd4}].d 0x2f93 207 cond:9 = edx s>= edi 0x2f95 208 if (edx s< edi) then 212 else 214 @ 0x2f98 0x14fa 209 [rbp].d = [rbp].d + 1 0x1505 210 if ([rsp + rdi + 0x1969c].b != bl) then 216 @ 0x139d else 217 @ 0x150b 0x1390 211 if ([rsp + rdi + 0x1969c].b == bl) then 217 @ 0x150b else 216 @ 0x139d 0x2f95 212 edx = edi 0x2f95 213 goto 214 @ 0x2f98 0x2f98 214 edi = 0xa {""} 0x2f9d 215 if (cond:9) then 219 else 221 @ 0x2fa1 0x139d 216 if ([rsp + rdi + 0x1969d].b == bl) then 224 @ 0x151c else 226 @ 0x13aa 0x150b 217 [rbp].d = [rbp].d + 1 0x1516 218 if ([rsp + rdi + 0x1969d].b != bl) then 226 @ 0x13aa else 224 @ 0x151c 0x2f9d 219 rdi = rbx 0x2f9d 220 goto 221 @ 0x2fa1 0x2fa1 221 ebx = [rsp + 0x20 {var_20bd8}].d 0x2fa5 222 cond:10 = edx s>= ebx 0x2fa7 223 if (edx s< ebx) then 227 else 229 @ 0x2faa 0x151c 224 [rbp].d = [rbp].d + 1 0x1527 225 if ([rsp + rdi + 0x1969e].b != bl) then 231 @ 0x13b7 else 232 @ 0x152d 0x13aa 226 if ([rsp + rdi + 0x1969e].b == bl) then 232 @ 0x152d else 231 @ 0x13b7 0x2fa7 227 edx = ebx 0x2fa7 228 goto 229 @ 0x2faa 0x2faa 229 ebx = 0xb {""} 0x2faf 230 if (cond:10) then 234 else 236 @ 0x2fb3 0x13b7 231 if ([rsp + rdi + 0x1969f].b == bl) then 239 @ 0x153e else 241 @ 0x13c4 0x152d 232 [rbp].d = [rbp].d + 1 0x1538 233 if ([rsp + rdi + 0x1969f].b != bl) then 241 @ 0x13c4 else 239 @ 0x153e 0x2faf 234 rbx = rdi 0x2faf 235 goto 236 @ 0x2fb3 0x2fb3 236 edi = [rsp + 0x1c {var_20bdc}].d 0x2fb7 237 cond:11 = edx s>= edi 0x2fb9 238 if (edx s< edi) then 242 else 244 @ 0x2fbc 0x153e 239 [rbp].d = [rbp].d + 1 0x1549 240 if ([rsp + rdi + 0x196a0].b != bl) then 246 @ 0x13d1 else 247 @ 0x154f 0x13c4 241 if ([rsp + rdi + 0x196a0].b == bl) then 247 @ 0x154f else 246 @ 0x13d1 0x2fb9 242 edx = edi 0x2fb9 243 goto 244 @ 0x2fbc 0x2fbc 244 edi = 0xc {""} 0x2fc1 245 if (cond:11) then 249 else 251 @ 0x2fc5 0x13d1 246 if ([rsp + rdi + 0x196a1].b == bl) then 254 @ 0x1560 else 256 @ 0x13de 0x154f 247 [rbp].d = [rbp].d + 1 0x155a 248 if ([rsp + rdi + 0x196a1].b != bl) then 256 @ 0x13de else 254 @ 0x1560 0x2fc1 249 rdi = rbx 0x2fc1 250 goto 251 @ 0x2fc5 0x2fc5 251 ebx = [rsp + 0x18 {var_20be0}].d 0x2fc9 252 cond:12 = edx s>= ebx 0x2fcb 253 if (edx s< ebx) then 257 else 259 @ 0x2fce 0x1560 254 [rbp].d = [rbp].d + 1 0x156b 255 if ([rsp + rdi + 0x196a2].b != bl) then 261 @ 0x13eb else 262 @ 0x1571 0x13de 256 if ([rsp + rdi + 0x196a2].b == bl) then 262 @ 0x1571 else 261 @ 0x13eb 0x2fcb 257 edx = ebx 0x2fcb 258 goto 259 @ 0x2fce 0x2fce 259 ebx = 0xd {""} 0x2fd3 260 if (cond:12) then 264 else 266 @ 0x2fd7 0x13eb 261 if ([rsp + rdi + 0x196a3].b == bl) then 269 @ 0x1582 else 271 @ 0x13f8 0x1571 262 [rbp].d = [rbp].d + 1 0x157c 263 if ([rsp + rdi + 0x196a3].b != bl) then 271 @ 0x13f8 else 269 @ 0x1582 0x2fd3 264 rbx = rdi 0x2fd3 265 goto 266 @ 0x2fd7 0x2fd7 266 edi = [rsp + 0x14 {var_20be4}].d 0x2fdb 267 cond:13 = edx s>= edi 0x2fdd 268 if (edx s< edi) then 272 else 274 @ 0x2fe0 0x1582 269 [rbp].d = [rbp].d + 1 0x158d 270 if ([rsp + rdi + 0x196a4].b != bl) then 276 @ 0x1405 else 277 @ 0x1593 0x13f8 271 if ([rsp + rdi + 0x196a4].b == bl) then 277 @ 0x1593 else 276 @ 0x1405 0x2fdd 272 edx = edi 0x2fdd 273 goto 274 @ 0x2fe0 0x2fe0 274 edi = 0xe {""} 0x2fe5 275 if (cond:13) then 279 else 281 @ 0x2fe9 0x1405 276 if ([rsp + rdi + 0x196a5].b == bl) then 284 @ 0x15a4 else 286 @ 0x1412 0x1593 277 [rbp].d = [rbp].d + 1 0x159e 278 if ([rsp + rdi + 0x196a5].b != bl) then 286 @ 0x1412 else 284 @ 0x15a4 0x2fe5 279 rdi = rbx 0x2fe5 280 goto 281 @ 0x2fe9 0x2fe9 281 ebx = [rsp + 0x10 {var_20be8}].d 0x2fed 282 cond:14 = edx s>= ebx 0x2fef 283 if (edx s< ebx) then 287 else 289 @ 0x2ff2 0x15a4 284 [rbp].d = [rbp].d + 1 0x15af 285 if ([rsp + rdi + 0x196a6].b != bl) then 291 @ 0x141f else 292 @ 0x15b5 0x1412 286 if ([rsp + rdi + 0x196a6].b == bl) then 292 @ 0x15b5 else 291 @ 0x141f 0x2fef 287 edx = ebx 0x2fef 288 goto 289 @ 0x2ff2 0x2ff2 289 ebx = 0xf {""} 0x2ff7 290 if (cond:14) then 294 else 296 @ 0x2ffb 0x141f 291 if ([rsp + rdi + 0x196a7].b == bl) then 299 @ 0x15c6 else 301 @ 0x142c 0x15b5 292 [rbp].d = [rbp].d + 1 0x15c0 293 if ([rsp + rdi + 0x196a7].b != bl) then 301 @ 0x142c else 299 @ 0x15c6 0x2ff7 294 rbx = rdi 0x2ff7 295 goto 296 @ 0x2ffb 0x2ffb 296 edi = [rsp + 0xc {var_20bec}].d 0x2fff 297 cond:15 = edx s>= edi 0x3001 298 if (edx s< edi) then 302 else 304 @ 0x3004 0x15c6 299 [rbp].d = [rbp].d + 1 0x15d1 300 if ([rsp + rdi + 0x196a8].b != bl) then 306 @ 0x1439 else 307 @ 0x15d7 0x142c 301 if ([rsp + rdi + 0x196a8].b == bl) then 307 @ 0x15d7 else 306 @ 0x1439 0x3001 302 edx = edi 0x3001 303 goto 304 @ 0x3004 0x3004 304 edi = 0x10 {""} 0x3009 305 if (cond:15) then 309 else 311 @ 0x300d 0x1439 306 if ([rsp + rdi + 0x196a9].b != bl) then 314 @ 0x12e0 else 316 @ 0x143f 0x15d7 307 [rbp].d = [rbp].d + 1 0x15e2 308 if ([rsp + rdi + 0x196a9].b != bl) then 314 @ 0x12e0 else 317 @ 0x15e8 0x3009 309 rdi = rbx 0x3009 310 goto 311 @ 0x300d 0x300d 311 ebx = [rsp + 8 {var_20bf0}].d 0x3011 312 cond:16 = edx s>= ebx 0x3013 313 if (edx s< ebx) then 319 else 321 @ 0x3016 0x12e0 314 rdi = rdi + 0x1a 0x12e7 315 if (rax == rdi) then 323 @ 0x12c0 else 121 @ 0x12e9 0x143f 316 goto 317 @ 0x15e8 0x15e8 317 [rbp].d = [rbp].d + 1 0x15ec 318 goto 314 @ 0x12e0 0x3013 319 edx = ebx 0x3013 320 goto 321 @ 0x3016 0x3016 321 ebx = 0x11 {""} 0x301b 322 if (cond:16) then 326 else 328 @ 0x301f 0x12c0 323 rcx = rcx + 1 0x12c4 324 r14 = r14 + 4 0x12cc 325 if (rcx == 0x1a) then 330 @ 0x15f4 else 114 @ 0x12d2 0x301b 326 rbx = rdi 0x301b 327 goto 328 @ 0x301f 0x301f 328 cond:17 = edx s>= r15d 0x3022 329 if (edx s< r15d) then 331 else 333 @ 0x3026 0x15f4 330 if (r8d s<= 0) then 77 @ 0x1609 else 335 @ 0x15fa 0x3022 331 edx = r15d 0x3022 332 goto 333 @ 0x3026 0x3026 333 edi = 0x12 {">"} 0x302b 334 if (cond:17) then 336 else 338 @ 0x302f 0x15fa 335 if (r8d u>= 8) then 340 @ 0x1692 else 349 @ 0x1600 0x302b 336 rdi = rbx 0x302b 337 goto 338 @ 0x302f 0x302f 338 cond:18 = edx s>= r12d 0x3032 339 if (edx s< r12d) then 352 else 354 @ 0x3036 0x1692 340 eax = r8d 0x1695 341 eax = eax & 0xfffffff8 0x1698 342 rcx = r8 0x169b 343 rcx = rcx u>> 3 0x169f 344 rcx = rcx * 0x340 0x16a6 345 xmm0 = 0 0x16aa 346 edx = 0 0x16ac 347 xmm1 = 0 0x16ac 348 goto 356 @ 0x16b0 0x1600 349 eax = 0 0x1602 350 edi = 0 0x1604 351 goto 374 @ 0x1740 0x3032 352 edx = r12d 0x3032 353 goto 354 @ 0x3036 0x3036 354 ebx = 0x13 {""} 0x303b 355 if (cond:18) then 380 else 382 @ 0x303f 0x16b0 356 xmm2 = [rsp + rdx + 0x188].d 0x16b9 357 xmm3 = [rsp + rdx + 0x120].d 0x16c2 358 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x16c6 359 xmm2 = [rsp + rdx + 0xb8].d 0x16cf 360 xmm4 = [rsp + rdx + 0x50].d 0x16d5 361 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x16d9 362 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x16dd 363 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x16e1 364 xmm2 = [rsp + rdx + 0x328].d 0x16ea 365 xmm3 = [rsp + rdx + 0x2c0].d 0x16f3 366 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x16f7 367 xmm2 = [rsp + rdx + 0x258].d 0x1700 368 xmm4 = [rsp + rdx + 0x1f0].d 0x1709 369 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x170d 370 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1711 371 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1715 372 rdx = rdx + 0x340 0x171f 373 if (rcx != rdx) then 356 @ 0x16b0 else 384 @ 0x1721 0x1740 374 rcx = rax * 0x68 0x1744 375 rcx = rcx + rsp 0x1747 376 rcx = rcx + 0x50 0x174b 377 rdx = r8 0x174e 378 rdx = rdx - rax 0x175b 379 goto 391 @ 0x1760 0x303b 380 rbx = rdi 0x303b 381 goto 382 @ 0x303f 0x303f 382 cond:19 = edx s>= r13d 0x3042 383 if (edx s< r13d) then 396 else 398 @ 0x3046 0x1721 384 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1725 385 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x172a 386 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x172e 387 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1733 388 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1737 389 edi = xmm1.d 0x173e 390 if (rax == r8) then 400 @ 0x1770 else 374 @ 0x1740 0x1760 391 edi = edi + [rcx].d 0x1762 392 rcx = rcx + 0x68 0x1766 393 temp0.q = rdx 0x1766 394 rdx = rdx - 1 0x176a 395 if (temp0.q != 1) then 391 @ 0x1760 else 400 @ 0x1770 0x3042 396 edx = r13d 0x3042 397 goto 398 @ 0x3046 0x3046 398 edi = 0x14 {""} 0x304b 399 if (cond:19) then 401 else 403 @ 0x304f 0x1770 400 if (r8d u>= 8) then 405 @ 0x177b else 414 @ 0x1772 0x304b 401 rdi = rbx 0x304b 402 goto 403 @ 0x304f 0x304f 403 cond:20 = edx s>= ebp 0x3051 404 if (edx s< ebp) then 417 else 419 @ 0x3054 0x177b 405 eax = r8d 0x177e 406 eax = eax & 0xfffffff8 0x1781 407 rcx = r8 0x1784 408 rcx = rcx u>> 3 0x1788 409 rcx = rcx * 0x340 0x178f 410 xmm0 = 0 0x1793 411 edx = 0 0x1795 412 xmm1 = 0 0x1799 413 goto 421 @ 0x17a0 0x1772 414 eax = 0 0x1774 415 edx = 0 0x1776 416 goto 439 @ 0x1830 0x3051 417 edx = ebp 0x3051 418 goto 419 @ 0x3054 0x3054 419 ebp = 0x15 {""} 0x3059 420 if (cond:20) then 445 else 447 @ 0x305d 0x17a0 421 xmm2 = [rsp + rdx + 0x18c].d 0x17a9 422 xmm3 = [rsp + rdx + 0x124].d 0x17b2 423 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x17b6 424 xmm2 = [rsp + rdx + 0xbc].d 0x17bf 425 xmm4 = [rsp + rdx + 0x54].d 0x17c5 426 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x17c9 427 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x17cd 428 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x17d1 429 xmm2 = [rsp + rdx + 0x32c].d 0x17da 430 xmm3 = [rsp + rdx + 0x2c4].d 0x17e3 431 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x17e7 432 xmm2 = [rsp + rdx + 0x25c].d 0x17f0 433 xmm4 = [rsp + rdx + 0x1f4].d 0x17f9 434 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x17fd 435 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1801 436 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1805 437 rdx = rdx + 0x340 0x180f 438 if (rcx != rdx) then 421 @ 0x17a0 else 449 @ 0x1811 0x1830 439 rcx = r8 0x1833 440 rcx = rcx - rax 0x1836 441 rax = rax * 0x68 0x183a 442 rax = rax + rsp 0x183d 443 rax = rax + 0x54 0x184b 444 goto 456 @ 0x1850 0x3059 445 rbp = rdi 0x3059 446 goto 447 @ 0x305d 0x305d 447 cond:21 = edx s>= eax 0x305f 448 if (edx s< eax) then 461 else 463 @ 0x3062 0x1811 449 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1815 450 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x181a 451 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x181e 452 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1823 453 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1827 454 edx = xmm1.d 0x182e 455 if (rax == r8) then 465 @ 0x185c else 439 @ 0x1830 0x1850 456 edx = edx + [rax].d 0x1852 457 rax = rax + 0x68 0x1856 458 temp1.q = rcx 0x1856 459 rcx = rcx - 1 0x185a 460 if (temp1.q != 1) then 456 @ 0x1850 else 465 @ 0x185c 0x305f 461 edx = eax 0x305f 462 goto 463 @ 0x3062 0x3062 463 eax = 0x16 {""} 0x3067 464 if (cond:21) then 467 else 469 @ 0x306b 0x185c 465 [rsp + 0x4c {var_20bac_1}].d = edx 0x1864 466 if (r8d u>= 8) then 471 @ 0x186f else 480 @ 0x1866 0x3067 467 rax = rbp 0x3067 468 goto 469 @ 0x306b 0x306b 469 cond:22 = edx s>= ecx 0x306d 470 if (edx s< ecx) then 483 else 485 @ 0x3070 0x186f 471 eax = r8d 0x1872 472 eax = eax & 0xfffffff8 0x1875 473 rcx = r8 0x1878 474 rcx = rcx u>> 3 0x187c 475 rcx = rcx * 0x340 0x1883 476 xmm0 = 0 0x1887 477 edx = 0 0x1889 478 xmm1 = 0 0x188d 479 goto 487 @ 0x1890 0x1866 480 eax = 0 0x1868 481 edx = 0 0x186a 482 goto 505 @ 0x1920 0x306d 483 edx = ecx 0x306d 484 goto 485 @ 0x3070 0x3070 485 ecx = 0x17 {""} 0x3075 486 if (cond:22) then 511 else 513 @ 0x3079 0x1890 487 xmm2 = [rsp + rdx + 0x190].d 0x1899 488 xmm3 = [rsp + rdx + 0x128].d 0x18a2 489 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x18a6 490 xmm2 = [rsp + rdx + 0xc0].d 0x18af 491 xmm4 = [rsp + rdx + 0x58].d 0x18b5 492 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x18b9 493 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x18bd 494 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x18c1 495 xmm2 = [rsp + rdx + 0x330].d 0x18ca 496 xmm3 = [rsp + rdx + 0x2c8].d 0x18d3 497 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x18d7 498 xmm2 = [rsp + rdx + 0x260].d 0x18e0 499 xmm4 = [rsp + rdx + 0x1f8].d 0x18e9 500 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x18ed 501 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x18f1 502 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x18f5 503 rdx = rdx + 0x340 0x18ff 504 if (rcx != rdx) then 487 @ 0x1890 else 515 @ 0x1901 0x1920 505 rcx = r8 0x1923 506 rcx = rcx - rax 0x1926 507 rax = rax * 0x68 0x192a 508 rax = rax + rsp 0x192d 509 rax = rax + 0x58 0x193b 510 goto 522 @ 0x1940 0x3075 511 rcx = rax 0x3075 512 goto 513 @ 0x3079 0x3079 513 cond:23 = edx s>= esi 0x307b 514 if (edx s< esi) then 527 else 529 @ 0x307e 0x1901 515 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1905 516 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x190a 517 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x190e 518 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1913 519 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1917 520 edx = xmm1.d 0x191e 521 if (rax == r8) then 531 @ 0x194c else 505 @ 0x1920 0x1940 522 edx = edx + [rax].d 0x1942 523 rax = rax + 0x68 0x1946 524 temp2.q = rcx 0x1946 525 rcx = rcx - 1 0x194a 526 if (temp2.q != 1) then 522 @ 0x1940 else 531 @ 0x194c 0x307b 527 edx = esi 0x307b 528 goto 529 @ 0x307e 0x307e 529 eax = 0x18 {"p"} 0x3083 530 if (cond:23) then 533 else 535 @ 0x3087 0x194c 531 [rsp + 0x48 {var_20bb0_1}].d = edx 0x1954 532 if (r8d u>= 8) then 539 @ 0x195f else 548 @ 0x1956 0x3083 533 rax = rcx 0x3083 534 goto 535 @ 0x3087 0x3087 535 cond:24 = edx s>= r14d 0x3087 536 cond:25 = edx s< r14d 0x308a 537 ecx = 0x19 {""} 0x308f 538 if (cond:24) then 551 else 553 @ 0x3093 0x195f 539 eax = r8d 0x1962 540 eax = eax & 0xfffffff8 0x1965 541 rcx = r8 0x1968 542 rcx = rcx u>> 3 0x196c 543 rcx = rcx * 0x340 0x1973 544 xmm0 = 0 0x1977 545 edx = 0 0x1979 546 xmm1 = 0 0x197d 547 goto 556 @ 0x1980 0x1956 548 eax = 0 0x1958 549 edx = 0 0x195a 550 goto 574 @ 0x1a10 0x308f 551 rcx = rax 0x308f 552 goto 553 @ 0x3093 0x3093 553 rax = 0x4010 {"ABCDEFGHIJKLMNOPQRSTUVWXYZ"} 0x309a 554 bl = [rcx + rax].b 0x309d 555 if (cond:25) then 580 else 582 @ 0x30a1 0x1980 556 xmm2 = [rsp + rdx + 0x194].d 0x1989 557 xmm3 = [rsp + rdx + 0x12c].d 0x1992 558 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1996 559 xmm2 = [rsp + rdx + 0xc4].d 0x199f 560 xmm4 = [rsp + rdx + 0x5c].d 0x19a5 561 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x19a9 562 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x19ad 563 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x19b1 564 xmm2 = [rsp + rdx + 0x334].d 0x19ba 565 xmm3 = [rsp + rdx + 0x2cc].d 0x19c3 566 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x19c7 567 xmm2 = [rsp + rdx + 0x264].d 0x19d0 568 xmm4 = [rsp + rdx + 0x1fc].d 0x19d9 569 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x19dd 570 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x19e1 571 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x19e5 572 rdx = rdx + 0x340 0x19ef 573 if (rcx != rdx) then 556 @ 0x1980 else 587 @ 0x19f1 0x1a10 574 rcx = r8 0x1a13 575 rcx = rcx - rax 0x1a16 576 rax = rax * 0x68 0x1a1a 577 rax = rax + rsp 0x1a1d 578 rax = rax + 0x5c 0x1a2b 579 goto 594 @ 0x1a30 0x309d 580 edx = r14d 0x309d 581 goto 582 @ 0x30a1 0x30a1 582 esi = sx.d(bl) 0x30a4 583 rdi = 0x4033 {"%c\n%d\n"} 0x30ab 584 eax = 0 0x30ad 585 call(0x1030) 0x30b7 586 if ([rsp + 0x38 {var_20bc0}].d s<= 0) then 599 @ 0x3442 else 608 @ 0x30bd 0x19f1 587 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x19f5 588 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x19fa 589 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x19fe 590 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1a03 591 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1a07 592 edx = xmm1.d 0x1a0e 593 if (rax == r8) then 612 @ 0x1a3c else 574 @ 0x1a10 0x1a30 594 edx = edx + [rax].d 0x1a32 595 rax = rax + 0x68 0x1a36 596 temp3.q = rcx 0x1a36 597 rcx = rcx - 1 0x1a3a 598 if (temp3.q != 1) then 594 @ 0x1a30 else 612 @ 0x1a3c 0x3442 599 eax = 0 0x3444 600 rsp = rsp + 0x20bc8 0x344b 601 rbx = pop 0x344c 602 r12 = pop 0x344e 603 r13 = pop 0x3450 604 r14 = pop 0x3452 605 r15 = pop 0x3454 606 rbp = pop 0x3455 607 <return> jump(pop) 0x30bd 608 rbp = rsp + 0x196a9 {var_754f} 0x30c5 609 r14 = 0x4036 {"%d\n"} 0x30cc 610 r15d = 0 0x30cf 611 goto 614 @ 0x30f6 0x1a3c 612 [rsp + 0x44 {var_20bb4_1}].d = edx 0x1a44 613 if (r8d u>= 8) then 617 @ 0x1a4f else 626 @ 0x1a46 0x30f6 614 r12 = rsp + (r15 << 2) 0x30fa 615 r12 = r12 + 0x1fc20 0x3104 616 if ([rbp - 0x19].b == bl) then 629 @ 0x31f0 else 634 @ 0x310d 0x1a4f 617 eax = r8d 0x1a52 618 eax = eax & 0xfffffff8 0x1a55 619 rcx = r8 0x1a58 620 rcx = rcx u>> 3 0x1a5c 621 rcx = rcx * 0x340 0x1a63 622 xmm0 = 0 0x1a67 623 edx = 0 0x1a69 624 xmm1 = 0 0x1a6d 625 goto 635 @ 0x1a70 0x1a46 626 eax = 0 0x1a48 627 edx = 0 0x1a4a 628 goto 653 @ 0x1b00 0x31f0 629 esi = [r12].d 0x31f4 630 rdi = r14 0x31f7 631 eax = 0 0x31f9 632 call(0x1030) 0x3201 633 if ([rbp - 0x18].b != bl) then 659 @ 0x3116 else 660 @ 0x3207 0x310d 634 if ([rbp - 0x18].b == bl) then 660 @ 0x3207 else 659 @ 0x3116 0x1a70 635 xmm2 = [rsp + rdx + 0x198].d 0x1a79 636 xmm3 = [rsp + rdx + 0x130].d 0x1a82 637 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1a86 638 xmm2 = [rsp + rdx + 0xc8].d 0x1a8f 639 xmm4 = [rsp + rdx + 0x60].d 0x1a95 640 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1a99 641 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1a9d 642 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1aa1 643 xmm2 = [rsp + rdx + 0x338].d 0x1aaa 644 xmm3 = [rsp + rdx + 0x2d0].d 0x1ab3 645 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1ab7 646 xmm2 = [rsp + rdx + 0x268].d 0x1ac0 647 xmm4 = [rsp + rdx + 0x200].d 0x1ac9 648 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1acd 649 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1ad1 650 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1ad5 651 rdx = rdx + 0x340 0x1adf 652 if (rcx != rdx) then 635 @ 0x1a70 else 665 @ 0x1ae1 0x1b00 653 rcx = r8 0x1b03 654 rcx = rcx - rax 0x1b06 655 rax = rax * 0x68 0x1b0a 656 rax = rax + rsp 0x1b0d 657 rax = rax + 0x60 0x1b1b 658 goto 672 @ 0x1b20 0x3116 659 if ([rbp - 0x17].b == bl) then 677 @ 0x321e else 682 @ 0x311f 0x3207 660 esi = [r12].d 0x320b 661 rdi = r14 0x320e 662 eax = 0 0x3210 663 call(0x1030) 0x3218 664 if ([rbp - 0x17].b != bl) then 682 @ 0x311f else 677 @ 0x321e 0x1ae1 665 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1ae5 666 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x1aea 667 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1aee 668 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1af3 669 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1af7 670 edx = xmm1.d 0x1afe 671 if (rax == r8) then 683 @ 0x1b2c else 653 @ 0x1b00 0x1b20 672 edx = edx + [rax].d 0x1b22 673 rax = rax + 0x68 0x1b26 674 temp4.q = rcx 0x1b26 675 rcx = rcx - 1 0x1b2a 676 if (temp4.q != 1) then 672 @ 0x1b20 else 683 @ 0x1b2c 0x321e 677 esi = [r12].d 0x3222 678 rdi = r14 0x3225 679 eax = 0 0x3227 680 call(0x1030) 0x322f 681 if ([rbp - 0x16].b != bl) then 685 @ 0x3128 else 686 @ 0x3235 0x311f 682 if ([rbp - 0x16].b == bl) then 686 @ 0x3235 else 685 @ 0x3128 0x1b2c 683 [rsp + 0x40 {var_20bb8_1}].d = edx 0x1b34 684 if (r8d u>= 8) then 691 @ 0x1b3f else 700 @ 0x1b36 0x3128 685 if ([rbp - 0x15].b == bl) then 703 @ 0x324c else 708 @ 0x3131 0x3235 686 esi = [r12].d 0x3239 687 rdi = r14 0x323c 688 eax = 0 0x323e 689 call(0x1030) 0x3246 690 if ([rbp - 0x15].b != bl) then 708 @ 0x3131 else 703 @ 0x324c 0x1b3f 691 eax = r8d 0x1b42 692 eax = eax & 0xfffffff8 0x1b45 693 rcx = r8 0x1b48 694 rcx = rcx u>> 3 0x1b4c 695 rcx = rcx * 0x340 0x1b53 696 xmm0 = 0 0x1b57 697 edx = 0 0x1b59 698 xmm1 = 0 0x1b5d 699 goto 709 @ 0x1b60 0x1b36 700 eax = 0 0x1b38 701 edx = 0 0x1b3a 702 goto 727 @ 0x1bf0 0x324c 703 esi = [r12].d 0x3250 704 rdi = r14 0x3253 705 eax = 0 0x3255 706 call(0x1030) 0x325d 707 if ([rbp - 0x14].b != bl) then 733 @ 0x313a else 734 @ 0x3263 0x3131 708 if ([rbp - 0x14].b == bl) then 734 @ 0x3263 else 733 @ 0x313a 0x1b60 709 xmm2 = [rsp + rdx + 0x19c].d 0x1b69 710 xmm3 = [rsp + rdx + 0x134].d 0x1b72 711 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1b76 712 xmm2 = [rsp + rdx + 0xcc].d 0x1b7f 713 xmm4 = [rsp + rdx + 0x64].d 0x1b85 714 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1b89 715 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1b8d 716 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1b91 717 xmm2 = [rsp + rdx + 0x33c].d 0x1b9a 718 xmm3 = [rsp + rdx + 0x2d4].d 0x1ba3 719 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1ba7 720 xmm2 = [rsp + rdx + 0x26c].d 0x1bb0 721 xmm4 = [rsp + rdx + 0x204].d 0x1bb9 722 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1bbd 723 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1bc1 724 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1bc5 725 rdx = rdx + 0x340 0x1bcf 726 if (rcx != rdx) then 709 @ 0x1b60 else 739 @ 0x1bd1 0x1bf0 727 rcx = r8 0x1bf3 728 rcx = rcx - rax 0x1bf6 729 rax = rax * 0x68 0x1bfa 730 rax = rax + rsp 0x1bfd 731 rax = rax + 0x64 0x1c0b 732 goto 746 @ 0x1c10 0x313a 733 if ([rbp - 0x13].b == bl) then 751 @ 0x327a else 756 @ 0x3143 0x3263 734 esi = [r12].d 0x3267 735 rdi = r14 0x326a 736 eax = 0 0x326c 737 call(0x1030) 0x3274 738 if ([rbp - 0x13].b != bl) then 756 @ 0x3143 else 751 @ 0x327a 0x1bd1 739 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1bd5 740 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x1bda 741 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1bde 742 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1be3 743 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1be7 744 edx = xmm1.d 0x1bee 745 if (rax == r8) then 757 @ 0x1c1c else 727 @ 0x1bf0 0x1c10 746 edx = edx + [rax].d 0x1c12 747 rax = rax + 0x68 0x1c16 748 temp5.q = rcx 0x1c16 749 rcx = rcx - 1 0x1c1a 750 if (temp5.q != 1) then 746 @ 0x1c10 else 757 @ 0x1c1c 0x327a 751 esi = [r12].d 0x327e 752 rdi = r14 0x3281 753 eax = 0 0x3283 754 call(0x1030) 0x328b 755 if ([rbp - 0x12].b != bl) then 759 @ 0x314c else 760 @ 0x3291 0x3143 756 if ([rbp - 0x12].b == bl) then 760 @ 0x3291 else 759 @ 0x314c 0x1c1c 757 [rsp + 0x3c {var_20bbc_1}].d = edx 0x1c24 758 if (r8d u>= 8) then 765 @ 0x1c2f else 774 @ 0x1c26 0x314c 759 if ([rbp - 0x11].b == bl) then 777 @ 0x32a8 else 782 @ 0x3155 0x3291 760 esi = [r12].d 0x3295 761 rdi = r14 0x3298 762 eax = 0 0x329a 763 call(0x1030) 0x32a2 764 if ([rbp - 0x11].b != bl) then 782 @ 0x3155 else 777 @ 0x32a8 0x1c2f 765 eax = r8d 0x1c32 766 eax = eax & 0xfffffff8 0x1c35 767 rcx = r8 0x1c38 768 rcx = rcx u>> 3 0x1c3c 769 rcx = rcx * 0x340 0x1c43 770 xmm0 = 0 0x1c47 771 edx = 0 0x1c49 772 xmm1 = 0 0x1c4d 773 goto 783 @ 0x1c50 0x1c26 774 eax = 0 0x1c28 775 edx = 0 0x1c2a 776 goto 801 @ 0x1ce0 0x32a8 777 esi = [r12].d 0x32ac 778 rdi = r14 0x32af 779 eax = 0 0x32b1 780 call(0x1030) 0x32b9 781 if ([rbp - 0x10].b != bl) then 807 @ 0x315e else 808 @ 0x32bf 0x3155 782 if ([rbp - 0x10].b == bl) then 808 @ 0x32bf else 807 @ 0x315e 0x1c50 783 xmm2 = [rsp + rdx + 0x1a0].d 0x1c59 784 xmm3 = [rsp + rdx + 0x138].d 0x1c62 785 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1c66 786 xmm2 = [rsp + rdx + 0xd0].d 0x1c6f 787 xmm4 = [rsp + rdx + 0x68].d 0x1c75 788 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1c79 789 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1c7d 790 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1c81 791 xmm2 = [rsp + rdx + 0x340].d 0x1c8a 792 xmm3 = [rsp + rdx + 0x2d8].d 0x1c93 793 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1c97 794 xmm2 = [rsp + rdx + 0x270].d 0x1ca0 795 xmm4 = [rsp + rdx + 0x208].d 0x1ca9 796 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1cad 797 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1cb1 798 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1cb5 799 rdx = rdx + 0x340 0x1cbf 800 if (rcx != rdx) then 783 @ 0x1c50 else 813 @ 0x1cc1 0x1ce0 801 rcx = r8 0x1ce3 802 rcx = rcx - rax 0x1ce6 803 rax = rax * 0x68 0x1cea 804 rax = rax + rsp 0x1ced 805 rax = rax + 0x68 0x1cfb 806 goto 820 @ 0x1d00 0x315e 807 if ([rbp - 0xf].b == bl) then 825 @ 0x32d6 else 830 @ 0x3167 0x32bf 808 esi = [r12].d 0x32c3 809 rdi = r14 0x32c6 810 eax = 0 0x32c8 811 call(0x1030) 0x32d0 812 if ([rbp - 0xf].b != bl) then 830 @ 0x3167 else 825 @ 0x32d6 0x1cc1 813 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1cc5 814 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x1cca 815 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1cce 816 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1cd3 817 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1cd7 818 edx = xmm1.d 0x1cde 819 if (rax == r8) then 831 @ 0x1d0c else 801 @ 0x1ce0 0x1d00 820 edx = edx + [rax].d 0x1d02 821 rax = rax + 0x68 0x1d06 822 temp6.q = rcx 0x1d06 823 rcx = rcx - 1 0x1d0a 824 if (temp6.q != 1) then 820 @ 0x1d00 else 831 @ 0x1d0c 0x32d6 825 esi = [r12].d 0x32da 826 rdi = r14 0x32dd 827 eax = 0 0x32df 828 call(0x1030) 0x32e7 829 if ([rbp - 0xe].b != bl) then 833 @ 0x3170 else 834 @ 0x32ed 0x3167 830 if ([rbp - 0xe].b == bl) then 834 @ 0x32ed else 833 @ 0x3170 0x1d0c 831 [rsp + 0x34 {var_20bc4}].d = edx 0x1d14 832 if (r8d u>= 8) then 839 @ 0x1d1f else 848 @ 0x1d16 0x3170 833 if ([rbp - 0xd].b == bl) then 851 @ 0x3304 else 856 @ 0x3179 0x32ed 834 esi = [r12].d 0x32f1 835 rdi = r14 0x32f4 836 eax = 0 0x32f6 837 call(0x1030) 0x32fe 838 if ([rbp - 0xd].b != bl) then 856 @ 0x3179 else 851 @ 0x3304 0x1d1f 839 eax = r8d 0x1d22 840 eax = eax & 0xfffffff8 0x1d25 841 rcx = r8 0x1d28 842 rcx = rcx u>> 3 0x1d2c 843 rcx = rcx * 0x340 0x1d33 844 xmm0 = 0 0x1d37 845 edx = 0 0x1d39 846 xmm1 = 0 0x1d3d 847 goto 857 @ 0x1d40 0x1d16 848 eax = 0 0x1d18 849 edx = 0 0x1d1a 850 goto 875 @ 0x1dd0 0x3304 851 esi = [r12].d 0x3308 852 rdi = r14 0x330b 853 eax = 0 0x330d 854 call(0x1030) 0x3315 855 if ([rbp - 0xc].b != bl) then 881 @ 0x3182 else 882 @ 0x331b 0x3179 856 if ([rbp - 0xc].b == bl) then 882 @ 0x331b else 881 @ 0x3182 0x1d40 857 xmm2 = [rsp + rdx + 0x1a4].d 0x1d49 858 xmm3 = [rsp + rdx + 0x13c].d 0x1d52 859 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1d56 860 xmm2 = [rsp + rdx + 0xd4].d 0x1d5f 861 xmm4 = [rsp + rdx + 0x6c].d 0x1d65 862 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1d69 863 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1d6d 864 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1d71 865 xmm2 = [rsp + rdx + 0x344].d 0x1d7a 866 xmm3 = [rsp + rdx + 0x2dc].d 0x1d83 867 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1d87 868 xmm2 = [rsp + rdx + 0x274].d 0x1d90 869 xmm4 = [rsp + rdx + 0x20c].d 0x1d99 870 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1d9d 871 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1da1 872 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1da5 873 rdx = rdx + 0x340 0x1daf 874 if (rcx != rdx) then 857 @ 0x1d40 else 887 @ 0x1db1 0x1dd0 875 rcx = r8 0x1dd3 876 rcx = rcx - rax 0x1dd6 877 rax = rax * 0x68 0x1dda 878 rax = rax + rsp 0x1ddd 879 rax = rax + 0x6c 0x1deb 880 goto 894 @ 0x1df0 0x3182 881 if ([rbp - 0xb].b == bl) then 899 @ 0x3332 else 904 @ 0x318b 0x331b 882 esi = [r12].d 0x331f 883 rdi = r14 0x3322 884 eax = 0 0x3324 885 call(0x1030) 0x332c 886 if ([rbp - 0xb].b != bl) then 904 @ 0x318b else 899 @ 0x3332 0x1db1 887 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1db5 888 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x1dba 889 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1dbe 890 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1dc3 891 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1dc7 892 edx = xmm1.d 0x1dce 893 if (rax == r8) then 905 @ 0x1dfc else 875 @ 0x1dd0 0x1df0 894 edx = edx + [rax].d 0x1df2 895 rax = rax + 0x68 0x1df6 896 temp7.q = rcx 0x1df6 897 rcx = rcx - 1 0x1dfa 898 if (temp7.q != 1) then 894 @ 0x1df0 else 905 @ 0x1dfc 0x3332 899 esi = [r12].d 0x3336 900 rdi = r14 0x3339 901 eax = 0 0x333b 902 call(0x1030) 0x3343 903 if ([rbp - 0xa].b != bl) then 907 @ 0x3194 else 908 @ 0x3349 0x318b 904 if ([rbp - 0xa].b == bl) then 908 @ 0x3349 else 907 @ 0x3194 0x1dfc 905 [rsp + 0x30 {var_20bc8}].d = edx 0x1e04 906 if (r8d u>= 8) then 913 @ 0x1e0f else 922 @ 0x1e06 0x3194 907 if ([rbp - 9].b == bl) then 925 @ 0x3360 else 930 @ 0x319d 0x3349 908 esi = [r12].d 0x334d 909 rdi = r14 0x3350 910 eax = 0 0x3352 911 call(0x1030) 0x335a 912 if ([rbp - 9].b != bl) then 930 @ 0x319d else 925 @ 0x3360 0x1e0f 913 eax = r8d 0x1e12 914 eax = eax & 0xfffffff8 0x1e15 915 rcx = r8 0x1e18 916 rcx = rcx u>> 3 0x1e1c 917 rcx = rcx * 0x340 0x1e23 918 xmm0 = 0 0x1e27 919 edx = 0 0x1e29 920 xmm1 = 0 0x1e2d 921 goto 931 @ 0x1e30 0x1e06 922 eax = 0 0x1e08 923 edx = 0 0x1e0a 924 goto 949 @ 0x1ec0 0x3360 925 esi = [r12].d 0x3364 926 rdi = r14 0x3367 927 eax = 0 0x3369 928 call(0x1030) 0x3371 929 if ([rbp - 8].b != bl) then 955 @ 0x31a6 else 956 @ 0x3377 0x319d 930 if ([rbp - 8].b == bl) then 956 @ 0x3377 else 955 @ 0x31a6 0x1e30 931 xmm2 = [rsp + rdx + 0x1a8].d 0x1e39 932 xmm3 = [rsp + rdx + 0x140].d 0x1e42 933 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1e46 934 xmm2 = [rsp + rdx + 0xd8].d 0x1e4f 935 xmm4 = [rsp + rdx + 0x70].d 0x1e55 936 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1e59 937 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1e5d 938 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1e61 939 xmm2 = [rsp + rdx + 0x348].d 0x1e6a 940 xmm3 = [rsp + rdx + 0x2e0].d 0x1e73 941 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1e77 942 xmm2 = [rsp + rdx + 0x278].d 0x1e80 943 xmm4 = [rsp + rdx + 0x210].d 0x1e89 944 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1e8d 945 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1e91 946 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1e95 947 rdx = rdx + 0x340 0x1e9f 948 if (rcx != rdx) then 931 @ 0x1e30 else 961 @ 0x1ea1 0x1ec0 949 rcx = r8 0x1ec3 950 rcx = rcx - rax 0x1ec6 951 rax = rax * 0x68 0x1eca 952 rax = rax + rsp 0x1ecd 953 rax = rax + 0x70 0x1edb 954 goto 968 @ 0x1ee0 0x31a6 955 if ([rbp - 7].b == bl) then 973 @ 0x338e else 978 @ 0x31af 0x3377 956 esi = [r12].d 0x337b 957 rdi = r14 0x337e 958 eax = 0 0x3380 959 call(0x1030) 0x3388 960 if ([rbp - 7].b != bl) then 978 @ 0x31af else 973 @ 0x338e 0x1ea1 961 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1ea5 962 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x1eaa 963 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1eae 964 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1eb3 965 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1eb7 966 edx = xmm1.d 0x1ebe 967 if (rax == r8) then 979 @ 0x1eec else 949 @ 0x1ec0 0x1ee0 968 edx = edx + [rax].d 0x1ee2 969 rax = rax + 0x68 0x1ee6 970 temp8.q = rcx 0x1ee6 971 rcx = rcx - 1 0x1eea 972 if (temp8.q != 1) then 968 @ 0x1ee0 else 979 @ 0x1eec 0x338e 973 esi = [r12].d 0x3392 974 rdi = r14 0x3395 975 eax = 0 0x3397 976 call(0x1030) 0x339f 977 if ([rbp - 6].b != bl) then 981 @ 0x31b8 else 982 @ 0x33a5 0x31af 978 if ([rbp - 6].b == bl) then 982 @ 0x33a5 else 981 @ 0x31b8 0x1eec 979 [rsp + 0x2c {var_20bcc}].d = edx 0x1ef4 980 if (r8d u>= 8) then 987 @ 0x1eff else 996 @ 0x1ef6 0x31b8 981 if ([rbp - 5].b == bl) then 999 @ 0x33bc else 1004 @ 0x31c1 0x33a5 982 esi = [r12].d 0x33a9 983 rdi = r14 0x33ac 984 eax = 0 0x33ae 985 call(0x1030) 0x33b6 986 if ([rbp - 5].b != bl) then 1004 @ 0x31c1 else 999 @ 0x33bc 0x1eff 987 eax = r8d 0x1f02 988 eax = eax & 0xfffffff8 0x1f05 989 rcx = r8 0x1f08 990 rcx = rcx u>> 3 0x1f0c 991 rcx = rcx * 0x340 0x1f13 992 xmm0 = 0 0x1f17 993 edx = 0 0x1f19 994 xmm1 = 0 0x1f1d 995 goto 1005 @ 0x1f20 0x1ef6 996 eax = 0 0x1ef8 997 edx = 0 0x1efa 998 goto 1023 @ 0x1fb0 0x33bc 999 esi = [r12].d 0x33c0 1000 rdi = r14 0x33c3 1001 eax = 0 0x33c5 1002 call(0x1030) 0x33cd 1003 if ([rbp - 4].b != bl) then 1029 @ 0x31ca else 1030 @ 0x33d3 0x31c1 1004 if ([rbp - 4].b == bl) then 1030 @ 0x33d3 else 1029 @ 0x31ca 0x1f20 1005 xmm2 = [rsp + rdx + 0x1ac].d 0x1f29 1006 xmm3 = [rsp + rdx + 0x144].d 0x1f32 1007 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1f36 1008 xmm2 = [rsp + rdx + 0xdc].d 0x1f3f 1009 xmm4 = [rsp + rdx + 0x74].d 0x1f45 1010 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1f49 1011 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1f4d 1012 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1f51 1013 xmm2 = [rsp + rdx + 0x34c].d 0x1f5a 1014 xmm3 = [rsp + rdx + 0x2e4].d 0x1f63 1015 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1f67 1016 xmm2 = [rsp + rdx + 0x27c].d 0x1f70 1017 xmm4 = [rsp + rdx + 0x214].d 0x1f79 1018 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1f7d 1019 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1f81 1020 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1f85 1021 rdx = rdx + 0x340 0x1f8f 1022 if (rcx != rdx) then 1005 @ 0x1f20 else 1035 @ 0x1f91 0x1fb0 1023 rcx = r8 0x1fb3 1024 rcx = rcx - rax 0x1fb6 1025 rax = rax * 0x68 0x1fba 1026 rax = rax + rsp 0x1fbd 1027 rax = rax + 0x74 0x1fcb 1028 goto 1042 @ 0x1fd0 0x31ca 1029 if ([rbp - 3].b == bl) then 1047 @ 0x33ea else 1052 @ 0x31d3 0x33d3 1030 esi = [r12].d 0x33d7 1031 rdi = r14 0x33da 1032 eax = 0 0x33dc 1033 call(0x1030) 0x33e4 1034 if ([rbp - 3].b != bl) then 1052 @ 0x31d3 else 1047 @ 0x33ea 0x1f91 1035 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1f95 1036 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x1f9a 1037 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1f9e 1038 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1fa3 1039 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1fa7 1040 edx = xmm1.d 0x1fae 1041 if (rax == r8) then 1053 @ 0x1fdc else 1023 @ 0x1fb0 0x1fd0 1042 edx = edx + [rax].d 0x1fd2 1043 rax = rax + 0x68 0x1fd6 1044 temp9.q = rcx 0x1fd6 1045 rcx = rcx - 1 0x1fda 1046 if (temp9.q != 1) then 1042 @ 0x1fd0 else 1053 @ 0x1fdc 0x33ea 1047 esi = [r12].d 0x33ee 1048 rdi = r14 0x33f1 1049 eax = 0 0x33f3 1050 call(0x1030) 0x33fb 1051 if ([rbp - 2].b != bl) then 1055 @ 0x31dc else 1056 @ 0x3401 0x31d3 1052 if ([rbp - 2].b == bl) then 1056 @ 0x3401 else 1055 @ 0x31dc 0x1fdc 1053 [rsp + 0x28 {var_20bd0}].d = edx 0x1fe4 1054 if (r8d u>= 8) then 1061 @ 0x1fef else 1070 @ 0x1fe6 0x31dc 1055 if ([rbp - 1].b == bl) then 1073 @ 0x3418 else 1078 @ 0x31e5 0x3401 1056 esi = [r12].d 0x3405 1057 rdi = r14 0x3408 1058 eax = 0 0x340a 1059 call(0x1030) 0x3412 1060 if ([rbp - 1].b != bl) then 1078 @ 0x31e5 else 1073 @ 0x3418 0x1fef 1061 eax = r8d 0x1ff2 1062 eax = eax & 0xfffffff8 0x1ff5 1063 rcx = r8 0x1ff8 1064 rcx = rcx u>> 3 0x1ffc 1065 rcx = rcx * 0x340 0x2003 1066 xmm0 = 0 0x2007 1067 edx = 0 0x2009 1068 xmm1 = 0 0x200d 1069 goto 1079 @ 0x2010 0x1fe6 1070 eax = 0 0x1fe8 1071 edx = 0 0x1fea 1072 goto 1097 @ 0x20a0 0x3418 1073 esi = [r12].d 0x341c 1074 rdi = r14 0x341f 1075 eax = 0 0x3421 1076 call(0x1030) 0x3429 1077 if ([rbp].b != bl) then 1103 @ 0x30e0 else 1107 @ 0x342f 0x31e5 1078 if ([rbp].b != bl) then 1103 @ 0x30e0 else 1112 @ 0x31eb 0x2010 1079 xmm2 = [rsp + rdx + 0x1b0].d 0x2019 1080 xmm3 = [rsp + rdx + 0x148].d 0x2022 1081 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2026 1082 xmm2 = [rsp + rdx + 0xe0].d 0x202f 1083 xmm4 = [rsp + rdx + 0x78].d 0x2035 1084 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2039 1085 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x203d 1086 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x2041 1087 xmm2 = [rsp + rdx + 0x350].d 0x204a 1088 xmm3 = [rsp + rdx + 0x2e8].d 0x2053 1089 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2057 1090 xmm2 = [rsp + rdx + 0x280].d 0x2060 1091 xmm4 = [rsp + rdx + 0x218].d 0x2069 1092 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x206d 1093 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2071 1094 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2075 1095 rdx = rdx + 0x340 0x207f 1096 if (rcx != rdx) then 1079 @ 0x2010 else 1113 @ 0x2081 0x20a0 1097 rcx = r8 0x20a3 1098 rcx = rcx - rax 0x20a6 1099 rax = rax * 0x68 0x20aa 1100 rax = rax + rsp 0x20ad 1101 rax = rax + 0x78 0x20bb 1102 goto 1120 @ 0x20c0 0x30e0 1103 r15 = r15 + 1 0x30e4 1104 rax = sx.q([rsp + 0x38 {var_20bc0}].d) 0x30e9 1105 rbp = rbp + 0x1a 0x30f0 1106 if (r15 s>= rax) then 599 @ 0x3442 else 614 @ 0x30f6 0x342f 1107 esi = [r12].d 0x3433 1108 rdi = r14 0x3436 1109 eax = 0 0x3438 1110 call(0x1030) 0x343d 1111 goto 1103 @ 0x30e0 0x31eb 1112 goto 1107 @ 0x342f 0x2081 1113 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2085 1114 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x208a 1115 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x208e 1116 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2093 1117 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2097 1118 edx = xmm1.d 0x209e 1119 if (rax == r8) then 1125 @ 0x20cc else 1097 @ 0x20a0 0x20c0 1120 edx = edx + [rax].d 0x20c2 1121 rax = rax + 0x68 0x20c6 1122 temp10.q = rcx 0x20c6 1123 rcx = rcx - 1 0x20ca 1124 if (temp10.q != 1) then 1120 @ 0x20c0 else 1125 @ 0x20cc 0x20cc 1125 [rsp + 0x24 {var_20bd4}].d = edx 0x20d4 1126 if (r8d u>= 8) then 1127 @ 0x20df else 1136 @ 0x20d6 0x20df 1127 eax = r8d 0x20e2 1128 eax = eax & 0xfffffff8 0x20e5 1129 rcx = r8 0x20e8 1130 rcx = rcx u>> 3 0x20ec 1131 rcx = rcx * 0x340 0x20f3 1132 xmm0 = 0 0x20f7 1133 edx = 0 0x20f9 1134 xmm1 = 0 0x20fd 1135 goto 1139 @ 0x2100 0x20d6 1136 eax = 0 0x20d8 1137 edx = 0 0x20da 1138 goto 1157 @ 0x2190 0x2100 1139 xmm2 = [rsp + rdx + 0x1b4].d 0x2109 1140 xmm3 = [rsp + rdx + 0x14c].d 0x2112 1141 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2116 1142 xmm2 = [rsp + rdx + 0xe4].d 0x211f 1143 xmm4 = [rsp + rdx + 0x7c].d 0x2125 1144 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2129 1145 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x212d 1146 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x2131 1147 xmm2 = [rsp + rdx + 0x354].d 0x213a 1148 xmm3 = [rsp + rdx + 0x2ec].d 0x2143 1149 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2147 1150 xmm2 = [rsp + rdx + 0x284].d 0x2150 1151 xmm4 = [rsp + rdx + 0x21c].d 0x2159 1152 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x215d 1153 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2161 1154 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2165 1155 rdx = rdx + 0x340 0x216f 1156 if (rcx != rdx) then 1139 @ 0x2100 else 1163 @ 0x2171 0x2190 1157 rcx = r8 0x2193 1158 rcx = rcx - rax 0x2196 1159 rax = rax * 0x68 0x219a 1160 rax = rax + rsp 0x219d 1161 rax = rax + 0x7c 0x21ab 1162 goto 1170 @ 0x21b0 0x2171 1163 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2175 1164 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x217a 1165 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x217e 1166 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2183 1167 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2187 1168 edx = xmm1.d 0x218e 1169 if (rax == r8) then 1175 @ 0x21bc else 1157 @ 0x2190 0x21b0 1170 edx = edx + [rax].d 0x21b2 1171 rax = rax + 0x68 0x21b6 1172 temp11.q = rcx 0x21b6 1173 rcx = rcx - 1 0x21ba 1174 if (temp11.q != 1) then 1170 @ 0x21b0 else 1175 @ 0x21bc 0x21bc 1175 [rsp + 0x20 {var_20bd8}].d = edx 0x21c4 1176 if (r8d u>= 8) then 1177 @ 0x21cf else 1186 @ 0x21c6 0x21cf 1177 eax = r8d 0x21d2 1178 eax = eax & 0xfffffff8 0x21d5 1179 rcx = r8 0x21d8 1180 rcx = rcx u>> 3 0x21dc 1181 rcx = rcx * 0x340 0x21e3 1182 xmm0 = 0 0x21e7 1183 edx = 0 0x21e9 1184 xmm1 = 0 0x21ed 1185 goto 1189 @ 0x21f0 0x21c6 1186 eax = 0 0x21c8 1187 edx = 0 0x21ca 1188 goto 1207 @ 0x2283 0x21f0 1189 xmm2 = [rsp + rdx + 0x1b8].d 0x21f9 1190 xmm3 = [rsp + rdx + 0x150].d 0x2202 1191 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2206 1192 xmm2 = [rsp + rdx + 0xe8].d 0x220f 1193 xmm4 = [rsp + rdx + 0x80].d 0x2218 1194 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x221c 1195 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2220 1196 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x2224 1197 xmm2 = [rsp + rdx + 0x358].d 0x222d 1198 xmm3 = [rsp + rdx + 0x2f0].d 0x2236 1199 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x223a 1200 xmm2 = [rsp + rdx + 0x288].d 0x2243 1201 xmm4 = [rsp + rdx + 0x220].d 0x224c 1202 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2250 1203 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2254 1204 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2258 1205 rdx = rdx + 0x340 0x2262 1206 if (rcx != rdx) then 1189 @ 0x21f0 else 1213 @ 0x2264 0x2283 1207 rcx = r8 0x2286 1208 rcx = rcx - rax 0x2289 1209 rax = rax * 0x68 0x228d 1210 rax = rax + rsp 0x2290 1211 rax = rax + 0x80 0x2296 1212 goto 1220 @ 0x22a0 0x2264 1213 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2268 1214 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x226d 1215 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2271 1216 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2276 1217 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x227a 1218 edx = xmm1.d 0x2281 1219 if (rax == r8) then 1225 @ 0x22ac else 1207 @ 0x2283 0x22a0 1220 edx = edx + [rax].d 0x22a2 1221 rax = rax + 0x68 0x22a6 1222 temp12.q = rcx 0x22a6 1223 rcx = rcx - 1 0x22aa 1224 if (temp12.q != 1) then 1220 @ 0x22a0 else 1225 @ 0x22ac 0x22ac 1225 [rsp + 0x1c {var_20bdc}].d = edx 0x22b4 1226 if (r8d u>= 8) then 1227 @ 0x22bf else 1236 @ 0x22b6 0x22bf 1227 eax = r8d 0x22c2 1228 eax = eax & 0xfffffff8 0x22c5 1229 rcx = r8 0x22c8 1230 rcx = rcx u>> 3 0x22cc 1231 rcx = rcx * 0x340 0x22d3 1232 xmm0 = 0 0x22d7 1233 edx = 0 0x22d9 1234 xmm1 = 0 0x22dd 1235 goto 1239 @ 0x22e0 0x22b6 1236 eax = 0 0x22b8 1237 edx = 0 0x22ba 1238 goto 1257 @ 0x2373 0x22e0 1239 xmm2 = [rsp + rdx + 0x1bc].d 0x22e9 1240 xmm3 = [rsp + rdx + 0x154].d 0x22f2 1241 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x22f6 1242 xmm2 = [rsp + rdx + 0xec].d 0x22ff 1243 xmm4 = [rsp + rdx + 0x84].d 0x2308 1244 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x230c 1245 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2310 1246 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x2314 1247 xmm2 = [rsp + rdx + 0x35c].d 0x231d 1248 xmm3 = [rsp + rdx + 0x2f4].d 0x2326 1249 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x232a 1250 xmm2 = [rsp + rdx + 0x28c].d 0x2333 1251 xmm4 = [rsp + rdx + 0x224].d 0x233c 1252 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2340 1253 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2344 1254 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2348 1255 rdx = rdx + 0x340 0x2352 1256 if (rcx != rdx) then 1239 @ 0x22e0 else 1263 @ 0x2354 0x2373 1257 rcx = r8 0x2376 1258 rcx = rcx - rax 0x2379 1259 rax = rax * 0x68 0x237d 1260 rax = rax + rsp 0x2380 1261 rax = rax + 0x84 0x2386 1262 goto 1270 @ 0x2390 0x2354 1263 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2358 1264 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x235d 1265 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2361 1266 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2366 1267 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x236a 1268 edx = xmm1.d 0x2371 1269 if (rax == r8) then 1275 @ 0x239c else 1257 @ 0x2373 0x2390 1270 edx = edx + [rax].d 0x2392 1271 rax = rax + 0x68 0x2396 1272 temp13.q = rcx 0x2396 1273 rcx = rcx - 1 0x239a 1274 if (temp13.q != 1) then 1270 @ 0x2390 else 1275 @ 0x239c 0x239c 1275 [rsp + 0x18 {var_20be0}].d = edx 0x23a4 1276 if (r8d u>= 8) then 1277 @ 0x23af else 1286 @ 0x23a6 0x23af 1277 eax = r8d 0x23b2 1278 eax = eax & 0xfffffff8 0x23b5 1279 rcx = r8 0x23b8 1280 rcx = rcx u>> 3 0x23bc 1281 rcx = rcx * 0x340 0x23c3 1282 xmm0 = 0 0x23c7 1283 edx = 0 0x23c9 1284 xmm1 = 0 0x23cd 1285 goto 1289 @ 0x23d0 0x23a6 1286 eax = 0 0x23a8 1287 edx = 0 0x23aa 1288 goto 1307 @ 0x2463 0x23d0 1289 xmm2 = [rsp + rdx + 0x1c0].d 0x23d9 1290 xmm3 = [rsp + rdx + 0x158].d 0x23e2 1291 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x23e6 1292 xmm2 = [rsp + rdx + 0xf0].d 0x23ef 1293 xmm4 = [rsp + rdx + 0x88].d 0x23f8 1294 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x23fc 1295 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2400 1296 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x2404 1297 xmm2 = [rsp + rdx + 0x360].d 0x240d 1298 xmm3 = [rsp + rdx + 0x2f8].d 0x2416 1299 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x241a 1300 xmm2 = [rsp + rdx + 0x290].d 0x2423 1301 xmm4 = [rsp + rdx + 0x228].d 0x242c 1302 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2430 1303 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2434 1304 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2438 1305 rdx = rdx + 0x340 0x2442 1306 if (rcx != rdx) then 1289 @ 0x23d0 else 1313 @ 0x2444 0x2463 1307 rcx = r8 0x2466 1308 rcx = rcx - rax 0x2469 1309 rax = rax * 0x68 0x246d 1310 rax = rax + rsp 0x2470 1311 rax = rax + 0x88 0x2476 1312 goto 1320 @ 0x2480 0x2444 1313 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2448 1314 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x244d 1315 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2451 1316 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2456 1317 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x245a 1318 edx = xmm1.d 0x2461 1319 if (rax == r8) then 1325 @ 0x248c else 1307 @ 0x2463 0x2480 1320 edx = edx + [rax].d 0x2482 1321 rax = rax + 0x68 0x2486 1322 temp14.q = rcx 0x2486 1323 rcx = rcx - 1 0x248a 1324 if (temp14.q != 1) then 1320 @ 0x2480 else 1325 @ 0x248c 0x248c 1325 [rsp + 0x14 {var_20be4}].d = edx 0x2494 1326 if (r8d u>= 8) then 1327 @ 0x249f else 1336 @ 0x2496 0x249f 1327 eax = r8d 0x24a2 1328 eax = eax & 0xfffffff8 0x24a5 1329 rcx = r8 0x24a8 1330 rcx = rcx u>> 3 0x24ac 1331 rcx = rcx * 0x340 0x24b3 1332 xmm0 = 0 0x24b7 1333 edx = 0 0x24b9 1334 xmm1 = 0 0x24bd 1335 goto 1339 @ 0x24c0 0x2496 1336 eax = 0 0x2498 1337 edx = 0 0x249a 1338 goto 1357 @ 0x2553 0x24c0 1339 xmm2 = [rsp + rdx + 0x1c4].d 0x24c9 1340 xmm3 = [rsp + rdx + 0x15c].d 0x24d2 1341 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x24d6 1342 xmm2 = [rsp + rdx + 0xf4].d 0x24df 1343 xmm4 = [rsp + rdx + 0x8c].d 0x24e8 1344 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x24ec 1345 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x24f0 1346 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x24f4 1347 xmm2 = [rsp + rdx + 0x364].d 0x24fd 1348 xmm3 = [rsp + rdx + 0x2fc].d 0x2506 1349 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x250a 1350 xmm2 = [rsp + rdx + 0x294].d 0x2513 1351 xmm4 = [rsp + rdx + 0x22c].d 0x251c 1352 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2520 1353 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2524 1354 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2528 1355 rdx = rdx + 0x340 0x2532 1356 if (rcx != rdx) then 1339 @ 0x24c0 else 1363 @ 0x2534 0x2553 1357 rcx = r8 0x2556 1358 rcx = rcx - rax 0x2559 1359 rax = rax * 0x68 0x255d 1360 rax = rax + rsp 0x2560 1361 rax = rax + 0x8c 0x2566 1362 goto 1370 @ 0x2570 0x2534 1363 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2538 1364 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x253d 1365 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2541 1366 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2546 1367 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x254a 1368 edx = xmm1.d 0x2551 1369 if (rax == r8) then 1375 @ 0x257c else 1357 @ 0x2553 0x2570 1370 edx = edx + [rax].d 0x2572 1371 rax = rax + 0x68 0x2576 1372 temp15.q = rcx 0x2576 1373 rcx = rcx - 1 0x257a 1374 if (temp15.q != 1) then 1370 @ 0x2570 else 1375 @ 0x257c 0x257c 1375 [rsp + 0x10 {var_20be8}].d = edx 0x2584 1376 if (r8d u>= 8) then 1377 @ 0x258f else 1386 @ 0x2586 0x258f 1377 eax = r8d 0x2592 1378 eax = eax & 0xfffffff8 0x2595 1379 rcx = r8 0x2598 1380 rcx = rcx u>> 3 0x259c 1381 rcx = rcx * 0x340 0x25a3 1382 xmm0 = 0 0x25a7 1383 edx = 0 0x25a9 1384 xmm1 = 0 0x25ad 1385 goto 1389 @ 0x25b0 0x2586 1386 eax = 0 0x2588 1387 edx = 0 0x258a 1388 goto 1407 @ 0x2643 0x25b0 1389 xmm2 = [rsp + rdx + 0x1c8].d 0x25b9 1390 xmm3 = [rsp + rdx + 0x160].d 0x25c2 1391 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x25c6 1392 xmm2 = [rsp + rdx + 0xf8].d 0x25cf 1393 xmm4 = [rsp + rdx + 0x90].d 0x25d8 1394 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x25dc 1395 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x25e0 1396 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x25e4 1397 xmm2 = [rsp + rdx + 0x368].d 0x25ed 1398 xmm3 = [rsp + rdx + 0x300].d 0x25f6 1399 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x25fa 1400 xmm2 = [rsp + rdx + 0x298].d 0x2603 1401 xmm4 = [rsp + rdx + 0x230].d 0x260c 1402 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2610 1403 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2614 1404 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2618 1405 rdx = rdx + 0x340 0x2622 1406 if (rcx != rdx) then 1389 @ 0x25b0 else 1413 @ 0x2624 0x2643 1407 rcx = r8 0x2646 1408 rcx = rcx - rax 0x2649 1409 rax = rax * 0x68 0x264d 1410 rax = rax + rsp 0x2650 1411 rax = rax + 0x90 0x2656 1412 goto 1420 @ 0x2660 0x2624 1413 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2628 1414 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x262d 1415 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2631 1416 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2636 1417 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x263a 1418 edx = xmm1.d 0x2641 1419 if (rax == r8) then 1425 @ 0x266c else 1407 @ 0x2643 0x2660 1420 edx = edx + [rax].d 0x2662 1421 rax = rax + 0x68 0x2666 1422 temp16.q = rcx 0x2666 1423 rcx = rcx - 1 0x266a 1424 if (temp16.q != 1) then 1420 @ 0x2660 else 1425 @ 0x266c 0x266c 1425 [rsp + 0xc {var_20bec}].d = edx 0x2674 1426 if (r8d u>= 8) then 1427 @ 0x267f else 1436 @ 0x2676 0x267f 1427 eax = r8d 0x2682 1428 eax = eax & 0xfffffff8 0x2685 1429 rcx = r8 0x2688 1430 rcx = rcx u>> 3 0x268c 1431 rcx = rcx * 0x340 0x2693 1432 xmm0 = 0 0x2697 1433 edx = 0 0x2699 1434 xmm1 = 0 0x269d 1435 goto 1439 @ 0x26a0 0x2676 1436 eax = 0 0x2678 1437 edx = 0 0x267a 1438 goto 1457 @ 0x2733 0x26a0 1439 xmm2 = [rsp + rdx + 0x1cc].d 0x26a9 1440 xmm3 = [rsp + rdx + 0x164].d 0x26b2 1441 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x26b6 1442 xmm2 = [rsp + rdx + 0xfc].d 0x26bf 1443 xmm4 = [rsp + rdx + 0x94].d 0x26c8 1444 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x26cc 1445 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x26d0 1446 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x26d4 1447 xmm2 = [rsp + rdx + 0x36c].d 0x26dd 1448 xmm3 = [rsp + rdx + 0x304].d 0x26e6 1449 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x26ea 1450 xmm2 = [rsp + rdx + 0x29c].d 0x26f3 1451 xmm4 = [rsp + rdx + 0x234].d 0x26fc 1452 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2700 1453 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2704 1454 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2708 1455 rdx = rdx + 0x340 0x2712 1456 if (rcx != rdx) then 1439 @ 0x26a0 else 1463 @ 0x2714 0x2733 1457 rcx = r8 0x2736 1458 rcx = rcx - rax 0x2739 1459 rax = rax * 0x68 0x273d 1460 rax = rax + rsp 0x2740 1461 rax = rax + 0x94 0x2746 1462 goto 1470 @ 0x2750 0x2714 1463 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2718 1464 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x271d 1465 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2721 1466 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2726 1467 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x272a 1468 edx = xmm1.d 0x2731 1469 if (rax == r8) then 1475 @ 0x275c else 1457 @ 0x2733 0x2750 1470 edx = edx + [rax].d 0x2752 1471 rax = rax + 0x68 0x2756 1472 temp17.q = rcx 0x2756 1473 rcx = rcx - 1 0x275a 1474 if (temp17.q != 1) then 1470 @ 0x2750 else 1475 @ 0x275c 0x275c 1475 [rsp + 8 {var_20bf0}].d = edx 0x2764 1476 if (r8d u>= 8) then 1477 @ 0x2770 else 1486 @ 0x2766 0x2770 1477 eax = r8d 0x2773 1478 eax = eax & 0xfffffff8 0x2776 1479 rcx = r8 0x2779 1480 rcx = rcx u>> 3 0x277d 1481 rcx = rcx * 0x340 0x2784 1482 xmm0 = 0 0x2788 1483 edx = 0 0x278a 1484 xmm1 = 0 0x278e 1485 goto 1489 @ 0x2790 0x2766 1486 eax = 0 0x2768 1487 r15d = 0 0x276b 1488 goto 1507 @ 0x2824 0x2790 1489 xmm2 = [rsp + rdx + 0x1d0].d 0x2799 1490 xmm3 = [rsp + rdx + 0x168].d 0x27a2 1491 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x27a6 1492 xmm2 = [rsp + rdx + 0x100].d 0x27af 1493 xmm4 = [rsp + rdx + 0x98].d 0x27b8 1494 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x27bc 1495 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x27c0 1496 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x27c4 1497 xmm2 = [rsp + rdx + 0x370].d 0x27cd 1498 xmm3 = [rsp + rdx + 0x308].d 0x27d6 1499 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x27da 1500 xmm2 = [rsp + rdx + 0x2a0].d 0x27e3 1501 xmm4 = [rsp + rdx + 0x238].d 0x27ec 1502 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x27f0 1503 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x27f4 1504 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x27f8 1505 rdx = rdx + 0x340 0x2802 1506 if (rcx != rdx) then 1489 @ 0x2790 else 1513 @ 0x2804 0x2824 1507 rcx = r8 0x2827 1508 rcx = rcx - rax 0x282a 1509 rax = rax * 0x68 0x282e 1510 rax = rax + rsp 0x2831 1511 rax = rax + 0x98 0x2837 1512 goto 1520 @ 0x2840 0x2804 1513 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2808 1514 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x280d 1515 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2811 1516 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2816 1517 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x281a 1518 r15d = xmm1.d 0x2822 1519 if (rax == r8) then 1525 @ 0x2851 else 1507 @ 0x2824 0x2840 1520 r15d = r15d + [rax].d 0x2843 1521 rax = rax + 0x68 0x2847 1522 temp18.q = rcx 0x2847 1523 rcx = rcx - 1 0x284b 1524 if (temp18.q != 1) then 1520 @ 0x2840 else 1525 @ 0x2851 0x2851 1525 if (r8d u>= 8) then 1526 @ 0x285d else 1535 @ 0x2853 0x285d 1526 eax = r8d 0x2860 1527 eax = eax & 0xfffffff8 0x2863 1528 rcx = r8 0x2866 1529 rcx = rcx u>> 3 0x286a 1530 rcx = rcx * 0x340 0x2871 1531 xmm0 = 0 0x2875 1532 edx = 0 0x2877 1533 xmm1 = 0 0x287b 1534 goto 1538 @ 0x2880 0x2853 1535 eax = 0 0x2855 1536 r12d = 0 0x2858 1537 goto 1556 @ 0x2914 0x2880 1538 xmm2 = [rsp + rdx + 0x1d4].d 0x2889 1539 xmm3 = [rsp + rdx + 0x16c].d 0x2892 1540 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2896 1541 xmm2 = [rsp + rdx + 0x104].d 0x289f 1542 xmm4 = [rsp + rdx + 0x9c].d 0x28a8 1543 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x28ac 1544 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x28b0 1545 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x28b4 1546 xmm2 = [rsp + rdx + 0x374].d 0x28bd 1547 xmm3 = [rsp + rdx + 0x30c].d 0x28c6 1548 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x28ca 1549 xmm2 = [rsp + rdx + 0x2a4].d 0x28d3 1550 xmm4 = [rsp + rdx + 0x23c].d 0x28dc 1551 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x28e0 1552 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x28e4 1553 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x28e8 1554 rdx = rdx + 0x340 0x28f2 1555 if (rcx != rdx) then 1538 @ 0x2880 else 1562 @ 0x28f4 0x2914 1556 rcx = r8 0x2917 1557 rcx = rcx - rax 0x291a 1558 rax = rax * 0x68 0x291e 1559 rax = rax + rsp 0x2921 1560 rax = rax + 0x9c 0x2927 1561 goto 1569 @ 0x2930 0x28f4 1562 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x28f8 1563 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x28fd 1564 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2901 1565 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2906 1566 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x290a 1567 r12d = xmm1.d 0x2912 1568 if (rax == r8) then 1574 @ 0x2941 else 1556 @ 0x2914 0x2930 1569 r12d = r12d + [rax].d 0x2933 1570 rax = rax + 0x68 0x2937 1571 temp19.q = rcx 0x2937 1572 rcx = rcx - 1 0x293b 1573 if (temp19.q != 1) then 1569 @ 0x2930 else 1574 @ 0x2941 0x2941 1574 if (r8d u>= 8) then 1575 @ 0x294d else 1584 @ 0x2943 0x294d 1575 eax = r8d 0x2950 1576 eax = eax & 0xfffffff8 0x2953 1577 rcx = r8 0x2956 1578 rcx = rcx u>> 3 0x295a 1579 rcx = rcx * 0x340 0x2961 1580 xmm0 = 0 0x2965 1581 edx = 0 0x2967 1582 xmm1 = 0 0x296b 1583 goto 1587 @ 0x2970 0x2943 1584 eax = 0 0x2945 1585 r13d = 0 0x2948 1586 goto 1605 @ 0x2a04 0x2970 1587 xmm2 = [rsp + rdx + 0x1d8].d 0x2979 1588 xmm3 = [rsp + rdx + 0x170].d 0x2982 1589 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2986 1590 xmm2 = [rsp + rdx + 0x108].d 0x298f 1591 xmm4 = [rsp + rdx + 0xa0].d 0x2998 1592 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x299c 1593 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x29a0 1594 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x29a4 1595 xmm2 = [rsp + rdx + 0x378].d 0x29ad 1596 xmm3 = [rsp + rdx + 0x310].d 0x29b6 1597 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x29ba 1598 xmm2 = [rsp + rdx + 0x2a8].d 0x29c3 1599 xmm4 = [rsp + rdx + 0x240].d 0x29cc 1600 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x29d0 1601 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x29d4 1602 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x29d8 1603 rdx = rdx + 0x340 0x29e2 1604 if (rcx != rdx) then 1587 @ 0x2970 else 1611 @ 0x29e4 0x2a04 1605 rcx = r8 0x2a07 1606 rcx = rcx - rax 0x2a0a 1607 rax = rax * 0x68 0x2a0e 1608 rax = rax + rsp 0x2a11 1609 rax = rax + 0xa0 0x2a17 1610 goto 1618 @ 0x2a20 0x29e4 1611 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x29e8 1612 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x29ed 1613 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x29f1 1614 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x29f6 1615 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x29fa 1616 r13d = xmm1.d 0x2a02 1617 if (rax == r8) then 1623 @ 0x2a31 else 1605 @ 0x2a04 0x2a20 1618 r13d = r13d + [rax].d 0x2a23 1619 rax = rax + 0x68 0x2a27 1620 temp20.q = rcx 0x2a27 1621 rcx = rcx - 1 0x2a2b 1622 if (temp20.q != 1) then 1618 @ 0x2a20 else 1623 @ 0x2a31 0x2a31 1623 if (r8d u>= 8) then 1624 @ 0x2a3c else 1633 @ 0x2a33 0x2a3c 1624 eax = r8d 0x2a3f 1625 eax = eax & 0xfffffff8 0x2a42 1626 rcx = r8 0x2a45 1627 rcx = rcx u>> 3 0x2a49 1628 rcx = rcx * 0x340 0x2a50 1629 xmm0 = 0 0x2a54 1630 edx = 0 0x2a56 1631 xmm1 = 0 0x2a5a 1632 goto 1636 @ 0x2a60 0x2a33 1633 eax = 0 0x2a35 1634 ebp = 0 0x2a37 1635 goto 1654 @ 0x2af3 0x2a60 1636 xmm2 = [rsp + rdx + 0x1dc].d 0x2a69 1637 xmm3 = [rsp + rdx + 0x174].d 0x2a72 1638 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2a76 1639 xmm2 = [rsp + rdx + 0x10c].d 0x2a7f 1640 xmm4 = [rsp + rdx + 0xa4].d 0x2a88 1641 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2a8c 1642 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2a90 1643 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x2a94 1644 xmm2 = [rsp + rdx + 0x37c].d 0x2a9d 1645 xmm3 = [rsp + rdx + 0x314].d 0x2aa6 1646 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2aaa 1647 xmm2 = [rsp + rdx + 0x2ac].d 0x2ab3 1648 xmm4 = [rsp + rdx + 0x244].d 0x2abc 1649 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2ac0 1650 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2ac4 1651 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2ac8 1652 rdx = rdx + 0x340 0x2ad2 1653 if (rcx != rdx) then 1636 @ 0x2a60 else 1660 @ 0x2ad4 0x2af3 1654 rcx = r8 0x2af6 1655 rcx = rcx - rax 0x2af9 1656 rax = rax * 0x68 0x2afd 1657 rax = rax + rsp 0x2b00 1658 rax = rax + 0xa4 0x2b06 1659 goto 1667 @ 0x2b10 0x2ad4 1660 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2ad8 1661 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x2add 1662 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2ae1 1663 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2ae6 1664 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2aea 1665 ebp = xmm1.d 0x2af1 1666 if (rax == r8) then 1672 @ 0x2b20 else 1654 @ 0x2af3 0x2b10 1667 ebp = ebp + [rax].d 0x2b12 1668 rax = rax + 0x68 0x2b16 1669 temp21.q = rcx 0x2b16 1670 rcx = rcx - 1 0x2b1a 1671 if (temp21.q != 1) then 1667 @ 0x2b10 else 1672 @ 0x2b20 0x2b20 1672 if (r8d u>= 8) then 1673 @ 0x2b2b else 1682 @ 0x2b22 0x2b2b 1673 ecx = r8d 0x2b2e 1674 ecx = ecx & 0xfffffff8 0x2b31 1675 rax = r8 0x2b34 1676 rax = rax u>> 3 0x2b38 1677 rax = rax * 0x340 0x2b3f 1678 xmm0 = 0 0x2b43 1679 edx = 0 0x2b45 1680 xmm1 = 0 0x2b49 1681 goto 1685 @ 0x2b50 0x2b22 1682 ecx = 0 0x2b24 1683 eax = 0 0x2b26 1684 goto 1703 @ 0x2be3 0x2b50 1685 xmm2 = [rsp + rdx + 0x1e0].d 0x2b59 1686 xmm3 = [rsp + rdx + 0x178].d 0x2b62 1687 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2b66 1688 xmm2 = [rsp + rdx + 0x110].d 0x2b6f 1689 xmm4 = [rsp + rdx + 0xa8].d 0x2b78 1690 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2b7c 1691 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2b80 1692 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x2b84 1693 xmm2 = [rsp + rdx + 0x380].d 0x2b8d 1694 xmm3 = [rsp + rdx + 0x318].d 0x2b96 1695 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2b9a 1696 xmm2 = [rsp + rdx + 0x2b0].d 0x2ba3 1697 xmm4 = [rsp + rdx + 0x248].d 0x2bac 1698 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2bb0 1699 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2bb4 1700 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2bb8 1701 rdx = rdx + 0x340 0x2bc2 1702 if (rax != rdx) then 1685 @ 0x2b50 else 1709 @ 0x2bc4 0x2be3 1703 rdx = r8 0x2be6 1704 rdx = rdx - rcx 0x2be9 1705 rcx = rcx * 0x68 0x2bed 1706 rcx = rcx + rsp 0x2bf0 1707 rcx = rcx + 0xa8 0x2bf7 1708 goto 1716 @ 0x2c00 0x2bc4 1709 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2bc8 1710 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x2bcd 1711 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2bd1 1712 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2bd6 1713 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2bda 1714 eax = xmm1.d 0x2be1 1715 if (rcx == r8) then 1721 @ 0x2c10 else 1703 @ 0x2be3 0x2c00 1716 eax = eax + [rcx].d 0x2c02 1717 rcx = rcx + 0x68 0x2c06 1718 temp22.q = rdx 0x2c06 1719 rdx = rdx - 1 0x2c0a 1720 if (temp22.q != 1) then 1716 @ 0x2c00 else 1721 @ 0x2c10 0x2c10 1721 if (r8d u>= 8) then 1722 @ 0x2c1b else 1731 @ 0x2c12 0x2c1b 1722 esi = r8d 0x2c1e 1723 esi = esi & 0xfffffff8 0x2c21 1724 rcx = r8 0x2c24 1725 rcx = rcx u>> 3 0x2c28 1726 rcx = rcx * 0x340 0x2c2f 1727 xmm0 = 0 0x2c33 1728 edx = 0 0x2c35 1729 xmm1 = 0 0x2c39 1730 goto 1734 @ 0x2c40 0x2c12 1731 esi = 0 0x2c14 1732 ecx = 0 0x2c16 1733 goto 1752 @ 0x2cd3 0x2c40 1734 xmm2 = [rsp + rdx + 0x1e4].d 0x2c49 1735 xmm3 = [rsp + rdx + 0x17c].d 0x2c52 1736 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2c56 1737 xmm2 = [rsp + rdx + 0x114].d 0x2c5f 1738 xmm4 = [rsp + rdx + 0xac].d 0x2c68 1739 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2c6c 1740 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2c70 1741 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x2c74 1742 xmm2 = [rsp + rdx + 0x384].d 0x2c7d 1743 xmm3 = [rsp + rdx + 0x31c].d 0x2c86 1744 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2c8a 1745 xmm2 = [rsp + rdx + 0x2b4].d 0x2c93 1746 xmm4 = [rsp + rdx + 0x24c].d 0x2c9c 1747 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2ca0 1748 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2ca4 1749 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2ca8 1750 rdx = rdx + 0x340 0x2cb2 1751 if (rcx != rdx) then 1734 @ 0x2c40 else 1758 @ 0x2cb4 0x2cd3 1752 rdx = r8 0x2cd6 1753 rdx = rdx - rsi 0x2cd9 1754 rsi = rsi * 0x68 0x2cdd 1755 rsi = rsi + rsp 0x2ce0 1756 rsi = rsi + 0xac 0x2ce7 1757 goto 1765 @ 0x2cf0 0x2cb4 1758 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2cb8 1759 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x2cbd 1760 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2cc1 1761 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2cc6 1762 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2cca 1763 ecx = xmm1.d 0x2cd1 1764 if (rsi == r8) then 1770 @ 0x2d00 else 1752 @ 0x2cd3 0x2cf0 1765 ecx = ecx + [rsi].d 0x2cf2 1766 rsi = rsi + 0x68 0x2cf6 1767 temp23.q = rdx 0x2cf6 1768 rdx = rdx - 1 0x2cfa 1769 if (temp23.q != 1) then 1765 @ 0x2cf0 else 1770 @ 0x2d00 0x2d00 1770 if (r8d u>= 8) then 1771 @ 0x2d0c else 1780 @ 0x2d02 0x2d0c 1771 r14d = r8d 0x2d0f 1772 r14d = r14d & 0xfffffff8 0x2d13 1773 rdx = r8 0x2d16 1774 rdx = rdx u>> 3 0x2d1a 1775 rsi = rdx * 0x340 0x2d21 1776 xmm0 = 0 0x2d25 1777 edx = 0 0x2d27 1778 xmm1 = 0 0x2d2b 1779 goto 1783 @ 0x2d30 0x2d02 1780 r14d = 0 0x2d05 1781 esi = 0 0x2d07 1782 goto 1801 @ 0x2dc3 0x2d30 1783 xmm2 = [rsp + rdx + 0x1e8].d 0x2d39 1784 xmm3 = [rsp + rdx + 0x180].d 0x2d42 1785 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2d46 1786 xmm2 = [rsp + rdx + 0x118].d 0x2d4f 1787 xmm4 = [rsp + rdx + 0xb0].d 0x2d58 1788 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2d5c 1789 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2d60 1790 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x2d64 1791 xmm2 = [rsp + rdx + 0x388].d 0x2d6d 1792 xmm3 = [rsp + rdx + 0x320].d 0x2d76 1793 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2d7a 1794 xmm2 = [rsp + rdx + 0x2b8].d 0x2d83 1795 xmm4 = [rsp + rdx + 0x250].d 0x2d8c 1796 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2d90 1797 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2d94 1798 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2d98 1799 rdx = rdx + 0x340 0x2da2 1800 if (rsi != rdx) then 1783 @ 0x2d30 else 1807 @ 0x2da4 0x2dc3 1801 rdx = r8 0x2dc6 1802 rdx = rdx - r14 0x2dc9 1803 rbx = r14 * 0x68 0x2dcd 1804 rbx = rbx + rsp 0x2dd0 1805 rbx = rbx + 0xb0 0x2dd7 1806 goto 1814 @ 0x2de0 0x2da4 1807 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2da8 1808 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x2dad 1809 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2db1 1810 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2db6 1811 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2dba 1812 esi = xmm1.d 0x2dc1 1813 if (r14 == r8) then 1819 @ 0x2df0 else 1801 @ 0x2dc3 0x2de0 1814 esi = esi + [rbx].d 0x2de2 1815 rbx = rbx + 0x68 0x2de6 1816 temp24.q = rdx 0x2de6 1817 rdx = rdx - 1 0x2dea 1818 if (temp24.q != 1) then 1814 @ 0x2de0 else 1819 @ 0x2df0 0x2df0 1819 if (r8d u>= 8) then 1820 @ 0x2dfd else 1829 @ 0x2df2 0x2dfd 1820 r9d = r8d 0x2e00 1821 r9d = r9d & 0xfffffff8 0x2e04 1822 rdx = r8 0x2e07 1823 rdx = rdx u>> 3 0x2e0b 1824 rdx = rdx * 0x340 0x2e12 1825 xmm0 = 0 0x2e16 1826 ebx = 0 0x2e18 1827 xmm1 = 0 0x2e1c 1828 goto 1832 @ 0x2e20 0x2df2 1829 r9d = 0 0x2df5 1830 r14d = 0 0x2df8 1831 goto 1850 @ 0x2eb4 0x2e20 1832 xmm2 = [rsp + rbx + 0x1ec].d 0x2e29 1833 xmm3 = [rsp + rbx + 0x184].d 0x2e32 1834 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2e36 1835 xmm2 = [rsp + rbx + 0x11c].d 0x2e3f 1836 xmm4 = [rsp + rbx + 0xb4].d 0x2e48 1837 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2e4c 1838 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2e50 1839 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x2e54 1840 xmm2 = [rsp + rbx + 0x38c].d 0x2e5d 1841 xmm3 = [rsp + rbx + 0x324].d 0x2e66 1842 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x2e6a 1843 xmm2 = [rsp + rbx + 0x2bc].d 0x2e73 1844 xmm4 = [rsp + rbx + 0x254].d 0x2e7c 1845 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x2e80 1846 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x2e84 1847 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x2e88 1848 rbx = rbx + 0x340 0x2e92 1849 if (rdx != rbx) then 1832 @ 0x2e20 else 1855 @ 0x2e94 0x2eb4 1850 r8 = r8 - r9 0x2eb7 1851 rdx = r9 * 0x68 0x2ebb 1852 rdx = rdx + rsp 0x2ebe 1853 rdx = rdx + 0xb4 0x2ecf 1854 goto 1862 @ 0x2ed0 0x2e94 1855 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2e98 1856 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x2e9d 1857 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x2ea1 1858 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x2ea6 1859 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x2eaa 1860 r14d = xmm1.d 0x2eb2 1861 if (r9 == r8) then 1867 @ 0x2edd else 1850 @ 0x2eb4 0x2ed0 1862 r14d = r14d + [rdx].d 0x2ed3 1863 rdx = rdx + 0x68 0x2ed7 1864 temp25.q = r8 0x2ed7 1865 r8 = r8 - 1 0x2edb 1866 if (temp25.q != 1) then 1862 @ 0x2ed0 else 1867 @ 0x2edd 0x2edd 1867 edx = 0 0x2ee1 1868 if (edi s>= 0) then 1869 else 1871 @ 0x2ee4 0x2ee1 1869 edx = edi 0x2ee1 1870 goto 1871 @ 0x2ee4 0x2ee4 1871 edi = [rsp + 0x4c {var_20bac_1}].d 0x2ee8 1872 r8d = [rsp + 0x48 {var_20bb0_1}].d 0x2eed 1873 r10d = [rsp + 0x44 {var_20bb4_1}].d 0x2ef2 1874 r11d = [rsp + 0x40 {var_20bb8_1}].d 0x2ef7 1875 r9d = [rsp + 0x3c {var_20bbc_1}].d 0x2ef7 1876 goto 39 @ 0x2efc int64_t _fini(): 0x345c 0 rsp = rsp - 8 0x3460 1 rsp = rsp + 8 0x3464 2 <return> jump(pop)
POJ_2
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AVSPH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r14) 0x1152 1 push(rbx) 0x1153 2 push(rax) 0x1154 3 rdi = 0x2004 {"%d"} 0x115b 4 rsi = 0x403c {""} 0x1162 5 eax = 0 0x1164 6 call(0x1040) 0x1169 7 esi = [0x403c].d 0x1172 8 if (esi != 1) then 9 @ 0x1189 else 12 @ 0x1174 0x1189 9 r14 = 0x200b {"%d/2=%d\n"} 0x1190 10 rbx = 0x2014 {"%d*3+1=%d\n"} 0x1197 11 goto 18 @ 0x11c5 0x1174 12 rdi = 0x2007 {"End"} 0x117b 13 eax = 0 0x117d 14 rsp = rsp + 8 0x1181 15 rbx = pop 0x1182 16 r14 = pop 0x1184 17 <return> tailcall(0x1030) 0x11c5 18 if ((sil & 1) != 0) then 19 @ 0x11a0 else 24 @ 0x11c7 0x11a0 19 edx = (rsi + (rsi << 1)).d 0x11a3 20 edx = edx + 1 0x11a6 21 [0x403c].d = edx 0x11ac 22 rdi = rbx 0x11ac 23 goto 34 @ 0x11af 0x11c7 24 eax = esi 0x11c9 25 eax = eax u>> 0x1f 0x11cc 26 eax = eax + esi 0x11ce 27 edx = eax 0x11d0 28 edx = edx s>> 1 0x11d2 29 [0x403c].d = edx 0x11d8 30 eax = eax & 0xfffffffe 0x11db 31 rdi = r14 0x11de 32 esi = eax 0x11e0 33 goto 34 @ 0x11af 0x11af 34 eax = 0 0x11b1 35 call(0x1030) 0x11b6 36 esi = [0x403c].d 0x11bf 37 if (esi == 1) then 12 @ 0x1174 else 18 @ 0x11c5 uint64_t s(): 0x11f0 0 push(rax) 0x11f1 1 eax = [0x403c].d 0x11f7 2 esi = eax 0x11f9 3 esi = esi u>> 0x1f 0x11fc 4 esi = esi + eax 0x11fe 5 edx = esi 0x1200 6 edx = edx s>> 1 0x1202 7 [0x403c].d = edx 0x1208 8 esi = esi & 0xfffffffe 0x120b 9 rdi = 0x200b {"%d/2=%d\n"} 0x1212 10 eax = 0 0x1214 11 call(0x1030) 0x1219 12 eax = [0x403c].d 0x121f 13 rcx = pop 0x1220 14 <return> jump(pop) uint64_t b(): 0x1230 0 push(rax) 0x1231 1 esi = [0x403c].d 0x1237 2 edx = (rsi + (rsi << 1)).d 0x123a 3 edx = edx + 1 0x123d 4 [0x403c].d = edx 0x1243 5 rdi = 0x2014 {"%d*3+1=%d\n"} 0x124a 6 eax = 0 0x124c 7 call(0x1030) 0x1251 8 eax = [0x403c].d 0x1257 9 rcx = pop 0x1258 10 <return> jump(pop) int64_t _fini(): 0x1260 0 rsp = rsp - 8 0x1264 1 rsp = rsp + 8 0x1268 2 <return> jump(pop)
POJ_34
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(rbx) 0x1165 3 rsp = rsp - 0x1080 0x116c 4 rdi = rsp {var_1098} 0x116f 5 r15d = 0 0x1172 6 edx = 0x4b4 {""} 0x1177 7 esi = 0 0x1179 8 call(0x1040) 0x117e 9 rdi = rsp + 0x4c0 {var_bd8} 0x1186 10 eax = 0 0x1188 11 call(0x1050) 0x118d 12 rax = rsp + 0x4c1 {var_bd7} 0x1195 13 ecx = 0 0x1197 14 goto 15 @ 0x11a0 0x11a0 15 rdx = sx.q(ecx) 0x11a3 16 bl = [rsp + rdx + 0x4c0].b 0x11ad 17 if (bl == 0x20) then 18 @ 0x11c0 else 21 @ 0x11b1 0x11c0 18 ecx = (rdx - 1).d 0x11c3 19 rdx = rdx + rax 0x11c6 20 goto 22 @ 0x11d0 0x11b1 21 if (bl == 0) then 26 @ 0x11e5 else 31 @ 0x11b3 0x11d0 22 ecx = ecx + 1 0x11d3 23 cond:0 = [rdx].b == 0x20 0x11d6 24 rdx = rdx + 1 0x11da 25 if (cond:0) then 22 @ 0x11d0 else 35 @ 0x11dc 0x11e5 26 esi = [rsp {var_1098}].d 0x11e8 27 rdi = 0x2005 {"%d"} 0x11ef 28 eax = 0 0x11f1 29 call(0x1030) 0x11f9 30 if (r15d s<= 0) then 38 @ 0x1226 else 44 @ 0x11fb 0x11b3 31 rdx = sx.q(r15d) 0x11b6 32 [rsp + (rdx << 2)].d = [rsp + (rdx << 2)].d + 1 0x11ba 33 ecx = ecx + 1 0x11bd 34 goto 15 @ 0x11a0 0x11dc 35 r15d = r15d + 1 0x11e0 36 ecx = ecx + 1 0x11e3 37 goto 15 @ 0x11a0 0x1226 38 eax = 0 0x1228 39 rsp = rsp + 0x1080 0x122f 40 rbx = pop 0x1230 41 r14 = pop 0x1232 42 r15 = pop 0x1234 43 <return> jump(pop) 0x11fb 44 r15d = r15d + 1 0x11ff 45 ebx = 1 0x1204 46 r14 = 0x2004 {",%d"} 0x120b 47 goto 48 @ 0x1210 0x1210 48 esi = [rsp + (rbx << 2)].d 0x1213 49 rdi = r14 0x1216 50 eax = 0 0x1218 51 call(0x1030) 0x121d 52 rbx = rbx + 1 0x1224 53 if (r15 != rbx) then 48 @ 0x1210 else 38 @ 0x1226 int64_t _fini(): 0x123c 0 rsp = rsp - 8 0x1240 1 rsp = rsp + 8 0x1244 2 <return> jump(pop)
POJ_28
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t 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 {"UHAWAVAUATSH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 push(r15) 0x1176 3 push(r14) 0x1178 4 push(r13) 0x117a 5 push(r12) 0x117c 6 push(rbx) 0x117d 7 rsp = rsp - 0xe8 0x1184 8 rdi = 0x2004 {"%d %d"} 0x118b 9 rsi = rbp - 0x30 {var_38} 0x118f 10 rdx = rbp - 0x38 {var_40} 0x1193 11 eax = 0 0x1195 12 call(0x1050) 0x119a 13 [rbp - 0xa0 {var_a8}].q = rsp {var_118} 0x11a1 14 eax = [rbp - 0x30 {var_38}].d 0x11a4 15 edx = [rbp - 0x38 {var_40}].d 0x11a7 16 rcx = rdx 0x11aa 17 [rbp - 0x68 {var_70}].q = rdx 0x11ae 18 rax = rax * rdx 0x11b2 19 rax = (rax << 2) + 0xf 0x11ba 20 rax = rax & 0xfffffffffffffff0 0x11be 21 rcx = rsp {var_118} 0x11c1 22 rcx = rcx - rax 0x11c4 23 [rbp - 0x60 {var_68}].q = rcx 0x11c8 24 rsp = rcx 0x11cb 25 ecx = [rbp - 0x30 {var_38}].d 0x11d0 26 if (ecx s<= 0) then 27 @ 0x1243 else 46 @ 0x11d2 0x1243 27 rdi = 0x2004 {"%d %d"} 0x124a 28 rsi = rbp - 0x4c {var_54} 0x124e 29 rdx = rbp - 0x34 {var_3c} 0x1252 30 eax = 0 0x1254 31 call(0x1050) 0x1259 32 eax = [rbp - 0x4c {var_54}].d 0x125c 33 edx = [rbp - 0x34 {var_3c}].d 0x125f 34 rcx = rax 0x1262 35 rcx = rcx * rdx 0x1266 36 rcx = (rcx << 2) + 0xf 0x126e 37 rcx = rcx & 0xfffffffffffffff0 0x1272 38 rsi = rsp 0x1275 39 rsi = rsi - rcx 0x1278 40 [rbp - 0x58 {var_60}].q = rsi 0x127c 41 rsp = rsi 0x127f 42 r13 = rdx 0x1282 43 [rbp - 0x40 {var_48}].q = rdx 0x1286 44 esi = edx 0x128a 45 if (eax s<= 0) then 48 @ 0x1306 else 58 @ 0x128c 0x11d2 46 eax = [rbp - 0x38 {var_40}].d 0x11d7 47 if (eax s<= 0) then 27 @ 0x1243 else 62 @ 0x11d9 0x1306 48 edi = [rbp - 0x30 {var_38}].d 0x1309 49 rdx = r13 0x130c 50 rdx = rdx * rdi 0x1310 51 rax = (rdx << 2) + 0xf 0x1318 52 rax = rax & 0xfffffffffffffff0 0x131c 53 rcx = rsp 0x131f 54 rcx = rcx - rax 0x1322 55 [rbp - 0x70 {var_78}].q = rcx 0x1326 56 rsp = rcx 0x132b 57 if (edi s<= 0) then 69 @ 0x1852 else 79 @ 0x1333 0x128c 58 rcx = [rbp - 0x40 {var_48}].q 0x1290 59 r13 = rcx 0x1293 60 esi = ecx 0x1297 61 if (ecx s<= 0) then 48 @ 0x1306 else 80 @ 0x1299 0x11d9 62 rdx = [rbp - 0x68 {var_70}].q 0x11dd 63 rdx = rdx << 2 0x11e5 64 [rbp - 0x48 {var_50_1}].q = rdx 0x11e9 65 r14 = 0x2007 {"%d"} 0x11f0 66 r12 = [rbp - 0x60 {var_68}].q 0x11f4 67 r13d = 0 0x11f7 68 goto 88 @ 0x1212 0x1852 69 rsp = [rbp - 0xa0].q 0x1859 70 eax = 0 0x185b 71 rsp = rbp - 0x28 0x185f 72 rbx = pop 0x1860 73 r12 = pop 0x1862 74 r13 = pop 0x1864 75 r14 = pop 0x1866 76 r15 = pop 0x1868 77 rbp = pop 0x1869 78 <return> jump(pop) 0x1333 79 if (esi s<= 0) then 89 @ 0x17ae else 94 @ 0x1339 0x1299 80 rcx = [rbp - 0x40 {var_48}].q 0x129d 81 rdx = rcx << 2 0x12a5 82 [rbp - 0x48 {var_50_2}].q = rdx 0x12a9 83 r14 = 0x2007 {"%d"} 0x12b0 84 r12 = [rbp - 0x58 {var_60}].q 0x12b4 85 esi = ecx 0x12b6 86 r13d = 0 0x12b9 87 goto 104 @ 0x12d2 0x1212 88 if (eax s<= 0) then 105 @ 0x1200 else 109 @ 0x1214 0x17ae 89 r13 = r13 << 2 0x17b2 90 r15 = 0x2007 {"%d"} 0x17b9 91 r14d = 0 0x17bc 92 r12 = [rbp - 0x70 {var_78}].q 0x17c2 93 if (esi s<= 0) then 112 @ 0x1823 else 115 @ 0x17ce 0x1339 94 rdx = rdx << 2 0x133d 95 [rbp - 0x88 {var_90_1}].q = rsi 0x1344 96 [rbp - 0x90 {var_98_1}].q = rdi 0x134b 97 rdi = [rbp - 0x70 {var_78}].q 0x134f 98 esi = 0 0x1351 99 call(0x1040) 0x1356 100 rdi = [rbp - 0x90 {var_98_1}].q 0x135d 101 rsi = [rbp - 0x88 {var_90_1}].q 0x1364 102 ecx = [rbp - 0x38 {var_40}].d 0x1369 103 if (ecx s<= 0) then 89 @ 0x17ae else 116 @ 0x136f 0x12d2 104 if (esi s<= 0) then 157 @ 0x12c0 else 161 @ 0x12d4 0x1200 105 r13 = r13 + 1 0x1204 106 rdx = sx.q(ecx) 0x1207 107 r12 = r12 + [rbp - 0x48 {var_50_1}].q 0x120e 108 if (r13 s>= rdx) then 27 @ 0x1243 else 88 @ 0x1212 0x1214 109 rbx = r12 0x1217 110 r15d = 0 0x121a 111 goto 164 @ 0x1220 0x1823 112 eax = (rdi - 1).d 0x1826 113 rax = sx.q(eax) 0x182b 114 if (r14 s>= rax) then 172 @ 0x183a else 175 @ 0x182d 0x17ce 115 goto 179 @ 0x17d0 0x136f 116 eax = ecx 0x1371 117 eax = eax & 0xfffffff8 0x1374 118 [rbp - 0xe8 {var_f0_1}].q = rax 0x137b 119 rax = rax - 8 0x137f 120 [rbp - 0xe0 {var_e8_1}].q = rax 0x1386 121 rdx = rax 0x1389 122 rdx = rdx u>> 3 0x138d 123 rdx = rdx + 1 0x1394 124 al = ecx u>= 8 0x1397 125 rsi = [rbp - 0x40 {var_48}].q 0x139e 126 bl = esi == 1 0x13a1 127 bl = bl & al 0x13a3 128 [rbp - 0x29 {var_31_1}].b = bl 0x13a6 129 rax = rdx 0x13a9 130 [rbp - 0xd8 {var_e0_1}].q = rdx 0x13b0 131 rdx = rdx & 0xfffffffffffffffe 0x13b4 132 [rbp - 0xd0 {var_d8_1}].q = rdx 0x13bb 133 [rbp - 0x78 {var_80_1}].q = rcx 0x13bf 134 eax = ecx 0x13c1 135 eax = eax & 3 0x13c4 136 [rbp - 0xf0 {var_f8_1}].q = rax 0x13cb 137 r9 = [rbp - 0x60 {var_68}].q 0x13cf 138 rdx = r9 + 0x30 0x13d3 139 rax = [rbp - 0x68 {var_70}].q 0x13d7 140 rax = rax << 2 0x13df 141 [rbp - 0xb0 {var_b8_1}].q = rax 0x13e6 142 r8 = rsi 0x13e9 143 r8 = r8 << 5 0x13ed 144 rax = [rbp - 0x58 {var_60}].q 0x13f1 145 rax = rax + 0x10 0x13f5 146 [rbp - 0xa8 {var_b0_1}].q = rax 0x13fc 147 rax = rsi 0x13ff 148 rax = rax << 6 0x1403 149 [rbp - 0xc8 {var_d0_1}].q = rax 0x140a 150 rax = rsi << 2 0x1412 151 [rbp - 0x98 {var_a0_1}].q = rax 0x1419 152 rsi = rsi << 4 0x141d 153 ecx = 0 0x141f 154 [rbp - 0xf8 {var_100_1}].q = r13 0x1426 155 r15 = [rbp - 0x78 {var_80_1}].q 0x142a 156 goto 181 @ 0x1458 0x12c0 157 r13 = r13 + 1 0x12c4 158 rcx = sx.q(eax) 0x12c7 159 r12 = r12 + [rbp - 0x48 {var_50_2}].q 0x12ce 160 if (r13 s>= rcx) then 198 @ 0x1303 else 104 @ 0x12d2 0x12d4 161 rbx = r12 0x12d7 162 r15d = 0 0x12da 163 goto 200 @ 0x12e0 0x1220 164 rdi = r14 0x1223 165 rsi = rbx 0x1226 166 eax = 0 0x1228 167 call(0x1050) 0x122d 168 r15 = r15 + 1 0x1231 169 rax = sx.q([rbp - 0x38 {var_40}].d) 0x1235 170 rbx = rbx + 4 0x123c 171 if (r15 s< rax) then 164 @ 0x1220 else 208 @ 0x123e 0x183a 172 r14 = r14 + 1 0x183e 173 rax = sx.q(edi) 0x1844 174 if (r14 s>= rax) then 69 @ 0x1852 else 210 @ 0x1846 0x182d 175 edi = 0xa {""} 0x1832 176 call(0x1060) 0x1837 177 edi = [rbp - 0x30 {var_38}].d 0x1837 178 goto 172 @ 0x183a 0x17d0 179 ebx = 0 0x17d2 180 goto 213 @ 0x17eb 0x1458 181 rax = rcx 0x145b 182 rax = rax * [rbp - 0x68 {var_70}].q 0x1460 183 rdi = rcx 0x1463 184 rcx = [rbp - 0x60 {var_68}].q 0x1467 185 rax = rcx + (rax << 2) 0x146b 186 [rbp - 0xc0 {var_c8_1}].q = rax 0x1472 187 [rbp - 0xb8 {var_c0_1}].q = rdi 0x1479 188 rax = rdi 0x147c 189 rax = rax * r13 0x1480 190 rcx = [rbp - 0x70 {var_78}].q 0x1484 191 rax = rcx + (rax << 2) 0x1488 192 rcx = [rbp - 0x58 {var_60}].q 0x148c 193 [rbp - 0x80 {var_88_1}].q = rcx 0x1490 194 rbx = [rbp - 0xa8 {var_b0_1}].q 0x1497 195 r10d = 0 0x149a 196 [rbp - 0x100 {var_108_1}].q = rax 0x14a1 197 goto 221 @ 0x14e3 0x1303 198 r13d = esi 0x1303 199 goto 48 @ 0x1306 0x12e0 200 rdi = r14 0x12e3 201 rsi = rbx 0x12e6 202 eax = 0 0x12e8 203 call(0x1050) 0x12ed 204 r15 = r15 + 1 0x12f1 205 rsi = sx.q([rbp - 0x34 {var_3c}].d) 0x12f5 206 rbx = rbx + 4 0x12fc 207 if (r15 s< rsi) then 200 @ 0x12e0 else 226 @ 0x12fe 0x123e 208 ecx = [rbp - 0x30 {var_38}].d 0x1241 209 goto 105 @ 0x1200 0x1846 210 esi = [rbp - 0x34 {var_3c}].d 0x1849 211 r12 = r12 + r13 0x184e 212 if (esi s> 0) then 179 @ 0x17d0 else 228 @ 0x1850 0x17eb 213 esi = [r12 + (rbx << 2)].d 0x17ef 214 rdi = r15 0x17f2 215 eax = 0 0x17f4 216 call(0x1030) 0x17f9 217 rax = sx.q([rbp - 0x34 {var_3c}].d) 0x17fd 218 rcx = rax 0x1800 219 rcx = rcx - 1 0x1807 220 if (rbx s>= rcx) then 229 @ 0x17e0 else 232 @ 0x1809 0x14e3 221 edi = [rax + (r10 << 2)].d 0x14e7 222 cond:0 = [rbp - 0x29 {var_31_1}].b == 0 0x14eb 223 [rbp - 0x48 {var_50_3}].q = rbx 0x14ef 224 [rbp - 0x108 {var_110_1}].q = r10 0x14f6 225 if (cond:0) then 236 @ 0x16b0 else 239 @ 0x14fc 0x12fe 226 eax = [rbp - 0x4c {var_54}].d 0x1301 227 goto 157 @ 0x12c0 0x1850 228 goto 112 @ 0x1823 0x17e0 229 rbx = rbx + 1 0x17e4 230 rax = sx.q(eax) 0x17e9 231 if (rbx s>= rax) then 241 @ 0x1820 else 213 @ 0x17eb 0x1809 232 edi = 0x20 {"@"} 0x180e 233 call(0x1060) 0x1813 234 eax = [rbp - 0x34 {var_3c}].d 0x1816 235 goto 229 @ 0x17e0 0x16b0 236 r14d = 0 0x16b3 237 rbx = [rbp - 0x78 {var_80_1}].q 0x16b3 238 goto 243 @ 0x16b7 0x14fc 239 xmm0 = edi 0x1508 240 if ([rbp - 0xe0 {var_e8_1}].q == 0) then 249 @ 0x1787 else 252 @ 0x150e 0x1820 241 edi = [rbp - 0x30 {var_38}].d 0x1820 242 goto 112 @ 0x1823 0x16b7 243 r12 = rsi 0x16ba 244 r10 = r14 0x16bd 245 r10 = not.q(r10) 0x16c0 246 r10 = r10 + rbx 0x16c3 247 rsi = [rbp - 0xf0 {var_f8_1}].q 0x16cd 248 if (rsi == 0) then 257 @ 0x1706 else 260 @ 0x16cf 0x1787 249 xmm1 = 0 0x178b 250 edi = 0 0x1794 251 if (([rbp - 0xd8 {var_e0_1}].b & 1) != 0) then 267 @ 0x160a else 292 @ 0x179a 0x150e 252 xmm1 = 0 0x1512 253 rcx = [rbp - 0xd0 {var_d8_1}].q 0x1519 254 edi = 0 0x151b 255 rax = [rbp - 0xc8 {var_d0_1}].q 0x152c 256 goto 293 @ 0x1530 0x1706 257 cond:1 = r10 u< 3 0x170a 258 rsi = r12 0x170d 259 if (cond:1) then 338 @ 0x14b0 else 347 @ 0x1713 0x16cf 260 rax = [rbp - 0x40 {var_48}].q 0x16d3 261 rax = rax * r14 0x16d7 262 rcx = [rbp - 0x80 {var_88_1}].q 0x16db 263 rbx = rcx + (rax << 2) 0x16df 264 rax = rsi 0x16e2 265 rcx = [rbp - 0x98 {var_a0_1}].q 0x16e9 266 goto 357 @ 0x16f0 0x160a 267 rax = [rbp - 0x58 {var_60}].q 0x160e 268 rax = rax + (r10 << 2) 0x1612 269 rcx = [rbp - 0xc0 {var_c8_1}].q 0x1619 270 xmm2 = [rcx + (rdi << 2)].o 0x161e 271 xmm3 = [rcx + (rdi << 2) + 0x10].o 0x1624 272 rdi = rdi * [rbp - 0x40 {var_48}].q 0x1629 273 xmm4 = [rax + (rdi << 2)].o 0x162e 274 xmm5 = [rax + (rdi << 2) + 0x10].o 0x1634 275 xmm6 = _mm_shuffle_epi32(xmm4, 0xf5) 0x1639 276 xmm4 = _mm_mul_epu32(xmm4, xmm2) 0x163d 277 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x1642 278 xmm2 = _mm_shuffle_epi32(xmm2, 0xf5) 0x1647 279 xmm2 = _mm_mul_epu32(xmm2, xmm6) 0x164b 280 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1650 281 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1654 282 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1658 283 xmm2 = _mm_shuffle_epi32(xmm5, 0xf5) 0x165d 284 xmm5 = _mm_mul_epu32(xmm5, xmm3) 0x1661 285 xmm4 = _mm_shuffle_epi32(xmm5, 0xe8) 0x1666 286 xmm3 = _mm_shuffle_epi32(xmm3, 0xf5) 0x166b 287 xmm3 = _mm_mul_epu32(xmm3, xmm2) 0x166f 288 xmm2 = _mm_shuffle_epi32(xmm3, 0xe8) 0x1674 289 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1678 290 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1678 291 goto 365 @ 0x167c 0x179a 292 goto 365 @ 0x167c 0x1530 293 xmm3 = [rbx - 0x10].o 0x1535 294 xmm4 = [rbx].o 0x1539 295 xmm5 = [rdx + (rdi << 2) - 0x30].o 0x153f 296 xmm6 = [rdx + (rdi << 2) - 0x20].o 0x1545 297 xmm7 = [rdx + (rdi << 2) - 0x10].o 0x154b 298 xmm8 = [rdx + (rdi << 2)].o 0x1551 299 xmm2 = _mm_shuffle_epi32(xmm3, 0xf5) 0x1556 300 xmm3 = _mm_mul_epu32(xmm3, xmm5) 0x155a 301 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8) 0x155f 302 xmm5 = _mm_shuffle_epi32(xmm5, 0xf5) 0x1564 303 xmm5 = _mm_mul_epu32(xmm5, xmm2) 0x1568 304 xmm2 = _mm_shuffle_epi32(xmm5, 0xe8) 0x156d 305 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1571 306 xmm3 = _mm_add_epi32(xmm3, xmm0) 0x1575 307 xmm0 = _mm_shuffle_epi32(xmm4, 0xf5) 0x157a 308 xmm4 = _mm_mul_epu32(xmm4, xmm6) 0x157e 309 xmm4 = _mm_shuffle_epi32(xmm4, 0xe8) 0x1583 310 xmm2 = _mm_shuffle_epi32(xmm6, 0xf5) 0x1588 311 xmm2 = _mm_mul_epu32(xmm2, xmm0) 0x158c 312 xmm0 = _mm_shuffle_epi32(xmm2, 0xe8) 0x1591 313 xmm4 = _mm_unpacklo_epi32(xmm4, xmm0.q) 0x1595 314 xmm4 = _mm_add_epi32(xmm4, xmm1) 0x1599 315 xmm0 = [rbx + r8 - 0x10].o 0x15a0 316 xmm1 = [rbx + r8].o 0x15a6 317 xmm2 = _mm_shuffle_epi32(xmm0, 0xf5) 0x15ab 318 xmm0 = _mm_mul_epu32(xmm0, xmm7) 0x15af 319 xmm0 = _mm_shuffle_epi32(xmm0, 0xe8) 0x15b4 320 xmm5 = _mm_shuffle_epi32(xmm7, 0xf5) 0x15b9 321 xmm5 = _mm_mul_epu32(xmm5, xmm2) 0x15bd 322 xmm2 = _mm_shuffle_epi32(xmm5, 0xe8) 0x15c2 323 xmm0 = _mm_unpacklo_epi32(xmm0, xmm2.q) 0x15c6 324 xmm0 = _mm_add_epi32(xmm0, xmm3) 0x15ca 325 xmm2 = _mm_shuffle_epi32(xmm1, 0xf5) 0x15cf 326 xmm1 = _mm_mul_epu32(xmm1, xmm8) 0x15d4 327 xmm1 = _mm_shuffle_epi32(xmm1, 0xe8) 0x15d9 328 xmm3 = _mm_shuffle_epi32(xmm8, 0xf5) 0x15df 329 xmm3 = _mm_mul_epu32(xmm3, xmm2) 0x15e3 330 xmm2 = _mm_shuffle_epi32(xmm3, 0xe8) 0x15e8 331 xmm1 = _mm_unpacklo_epi32(xmm1, xmm2.q) 0x15ec 332 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x15f0 333 rdi = rdi + 0x10 0x15f4 334 rbx = rbx + rax 0x15f7 335 temp0.q = rcx 0x15f7 336 rcx = rcx - 2 0x15fb 337 if (temp0.q != 2) then 293 @ 0x1530 else 375 @ 0x1608 0x14b0 338 rax = [rbp - 0x100 {var_108_1}].q 0x14b7 339 r10 = [rbp - 0x108 {var_110_1}].q 0x14be 340 [rax + (r10 << 2)].d = edi 0x14c2 341 r10 = r10 + 1 0x14c6 342 rbx = [rbp - 0x48 {var_50_3}].q 0x14ca 343 rbx = rbx + 4 0x14ce 344 [rbp - 0x80 {var_88_1}].q = [rbp - 0x80 {var_88_1}].q + 4 0x14d3 345 r13 = [rbp - 0xf8 {var_100_1}].q 0x14dd 346 if (r10 == r13) then 376 @ 0x1430 else 221 @ 0x14e3 0x1713 347 rcx = r14 + 3 0x1717 348 r10 = [rbp - 0x98 {var_a0_1}].q 0x171e 349 rcx = rcx * r10 0x1722 350 rbx = r14 + 1 0x1726 351 rbx = rbx * r10 0x172a 352 r11 = r14 + 2 0x172e 353 r11 = r11 * r10 0x1732 354 r10 = r10 * r14 0x1736 355 r13 = [rbp - 0x80 {var_88_1}].q 0x173a 356 goto 383 @ 0x1740 0x16f0 357 esi = [rbx].d 0x16f2 358 esi = esi * [r9 + (r14 << 2)].d 0x16f7 359 edi = edi + esi 0x16f9 360 r14 = r14 + 1 0x16fd 361 rbx = rbx + rcx 0x1700 362 temp1.q = rax 0x1700 363 rax = rax - 1 0x1704 364 if (temp1.q != 1) then 357 @ 0x16f0 else 257 @ 0x1706 0x167c 365 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1680 366 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1685 367 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1689 368 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x168e 369 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1692 370 edi = xmm0.d 0x1696 371 rax = [rbp - 0xe8 {var_f0_1}].q 0x169d 372 r14 = rax 0x16a0 373 rbx = [rbp - 0x78 {var_80_1}].q 0x16a7 374 if (rax == rbx) then 338 @ 0x14b0 else 399 @ 0x16ad 0x1608 375 if (([rbp - 0xd8 {var_e0_1}].b & 1) == 0) then 365 @ 0x167c else 267 @ 0x160a 0x1430 376 rcx = [rbp - 0xb8 {var_c0_1}].q 0x1437 377 rcx = rcx + 1 0x143b 378 rax = [rbp - 0xb0 {var_b8_1}].q 0x1442 379 rdx = rdx + rax 0x1445 380 r9 = r9 + rax 0x1448 381 rdi = [rbp - 0x90 {var_98_1}].q 0x1452 382 if (rcx == rdi) then 400 @ 0x179f else 181 @ 0x1458 0x1740 383 eax = [r13 + r10].d 0x1745 384 eax = eax * [r9 + (r14 << 2)].d 0x174a 385 eax = eax + edi 0x174c 386 esi = [r13 + rbx].d 0x1751 387 esi = esi * [r9 + (r14 << 2) + 4].d 0x1757 388 esi = esi + eax 0x1759 389 eax = [r13 + r11].d 0x175e 390 eax = eax * [r9 + (r14 << 2) + 8].d 0x1764 391 eax = eax + esi 0x1766 392 rsi = r12 0x1769 393 edi = [r13 + rcx].d 0x176e 394 edi = edi * [r9 + (r14 << 2) + 0xc].d 0x1774 395 edi = edi + eax 0x1776 396 r14 = r14 + 4 0x177a 397 r13 = r13 + r12 0x1780 398 if (r15 != r14) then 383 @ 0x1740 else 403 @ 0x1782 0x16ad 399 goto 243 @ 0x16b7 0x179f 400 cond:2 = edi s<= 0 0x17a1 401 rsi = [rbp - 0x88 {var_90_1}].q 0x17a8 402 if (cond:2) then 69 @ 0x1852 else 89 @ 0x17ae 0x1782 403 goto 338 @ 0x14b0 int64_t _fini(): 0x1870 0 rsp = rsp - 8 0x1874 1 rsp = rsp + 8 0x1878 2 <return> jump(pop)
POJ_63
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) int32_t 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\t"} 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 - 0x9e8 0x1191 7 rdi = rsp + 0x210 {var_808} 0x1199 8 edx = 0x7d0 {"@"} 0x119e 9 esi = 0 0x11a0 10 call(0x1040) 0x11a5 11 rdi = 0x2004 {"%d\n"} 0x11ac 12 rsi = rsp + 4 {var_a14} 0x11b1 13 eax = 0 0x11b3 14 call(0x1060) 0x11b8 15 rdi = 0x2008 {"%s"} 0x11bf 16 r15 = rsp + 0x10 {var_a08} 0x11c4 17 rsi = r15 {var_a08} 0x11c7 18 eax = 0 0x11c9 19 call(0x1060) 0x11ce 20 rdi = r15 {var_a08} 0x11d1 21 call(0x1050) 0x11d6 22 r14 = rax 0x11d9 23 eax = [rsp + 4 {var_a14}].d 0x11e0 24 if (eax s> r14d) then 25 @ 0x14ea else 29 @ 0x11e6 0x14ea 25 rdi = 0x200b {"NO"} 0x14f1 26 eax = 0 0x14f3 27 call(0x1030) 0x14f3 28 goto 36 @ 0x14f8 0x11e6 29 r9d = r14d 0x11e9 30 r9d = r9d - eax 0x11ec 31 r9d = r9d + 1 0x11f0 32 edx = r14d 0x11f3 33 cond:0 = eax s<= 1 0x11f6 34 [rsp + 8 {var_a10_1}].q = rax 0x11fb 35 if (cond:0) then 45 @ 0x128f else 49 @ 0x1201 0x14f8 36 eax = 0 0x14fa 37 rsp = rsp + 0x9e8 0x1501 38 rbx = pop 0x1502 39 r12 = pop 0x1504 40 r13 = pop 0x1506 41 r14 = pop 0x1508 42 r15 = pop 0x150a 43 rbp = pop 0x150b 44 <return> jump(pop) 0x128f 45 rcx = rsp + 0x11 {var_a07} 0x1294 46 rdx = rdx - 1 0x1298 47 r10d = 0 0x129b 48 goto 55 @ 0x12ad 0x1201 49 r11 = rsp + 0x12 {var_a06} 0x1206 50 rdi = rsp + 0x11 {var_a07} 0x120b 51 rbx = rax - 1 0x120f 52 r12d = 1 0x1215 53 r13d = 0 0x1218 54 goto 58 @ 0x1238 0x12ad 55 rdi = r10 0x12b0 56 r10 = r10 + 1 0x12b7 57 if (r10d s>= r14d) then 60 @ 0x12a0 else 63 @ 0x12b9 0x1238 58 r10 = r13 + 1 0x123f 59 if (r10d s>= r14d) then 66 @ 0x1220 else 71 @ 0x1241 0x12a0 60 rcx = rcx + 1 0x12a4 61 rdx = rdx - 1 0x12ab 62 if (r10 == r9) then 75 @ 0x12f7 else 55 @ 0x12ad 0x12b9 63 bl = [rsp + rdi + 0x10].b 0x12bd 64 esi = 0 0x12bf 65 goto 76 @ 0x12dc 0x1220 66 r12 = r12 + 1 0x1224 67 r11 = r11 + 1 0x1228 68 rdi = rdi + 1 0x122c 69 r13 = r10 0x1232 70 if (r10 == r9) then 75 @ 0x12f7 else 58 @ 0x1238 0x1241 71 cl = [rsp + r13 + 0x10].b 0x1246 72 rsi = r11 0x1249 73 rax = r12 0x124c 74 goto 77 @ 0x1261 0x12f7 75 if ([rsp + 8 {var_a10_1}].d s> r14d) then 25 @ 0x14ea else 78 @ 0x1301 0x12dc 76 if (bl != [rcx + rsi].b) then 79 @ 0x12d0 else 81 @ 0x12e1 0x1261 77 if (cl != [rsp + rax + 0x10].b) then 82 @ 0x1250 else 85 @ 0x1263 0x1301 78 if (r9d u>= 8) then 87 @ 0x130c else 94 @ 0x1303 0x12d0 79 rsi = rsi + 1 0x12d7 80 if (rdx == rsi) then 60 @ 0x12a0 else 76 @ 0x12dc 0x12e1 81 if (eax != 1) then 79 @ 0x12d0 else 97 @ 0x12e3 0x1250 82 rax = rax + 1 0x1254 83 rsi = rsi + 1 0x125b 84 if (rax == rdx) then 66 @ 0x1220 else 77 @ 0x1261 0x1263 85 ebp = 0 0x126f 86 goto 100 @ 0x1270 0x130c 87 ecx = r9d 0x130f 88 ecx = ecx & 0xfffffff8 0x1312 89 rax = rcx - 8 0x1316 90 rdx = rax 0x1319 91 rdx = rdx u>> 3 0x131d 92 rdx = rdx + 1 0x1324 93 if (rax == 0) then 102 @ 0x150c else 106 @ 0x132a 0x1303 94 ecx = 0 0x1305 95 ebx = 0 0x1307 96 goto 112 @ 0x1450 0x12e3 97 [rsp + (rdi << 2) + 0x210].d = [rsp + (rdi << 2) + 0x210].d + 1 0x12eb 98 eax = 1 0x12f0 99 goto 79 @ 0x12d0 0x1270 100 r8d = zx.d([rdi + rbp].b) 0x1279 101 if (r8b != [rsi + rbp].b) then 82 @ 0x1250 else 114 @ 0x127b 0x150c 102 xmm0 = 0 0x1510 103 esi = 0 0x1512 104 xmm1 = 0 0x1519 105 if ((dl & 1) != 0) then 116 @ 0x13c3 else 129 @ 0x151f 0x132a 106 rdi = rdx 0x132d 107 rdi = rdi & 0xfffffffffffffffe 0x1331 108 xmm0 = 0 0x1335 109 esi = 0 0x1337 110 xmm1 = 0 0x133b 111 goto 130 @ 0x1340 0x1450 112 eax = [rsp + (rcx << 2) + 0x210].d 0x1459 113 if (ebx s< eax) then 158 else 160 @ 0x145c 0x127b 114 rbp = rbp + 1 0x1282 115 if (rbx != rbp) then 100 @ 0x1270 else 162 @ 0x1284 0x13c3 116 xmm2 = [rsp + (rsi << 2) + 0x210].o 0x13cc 117 xmm3 = [rsp + (rsi << 2) + 0x220].o 0x13d5 118 xmm4 = xmm0 0x13d9 119 xmm4 = _mm_cmpgt_epi32(xmm4, xmm2) 0x13dd 120 xmm0 = xmm0 & xmm4 0x13e1 121 xmm4 = xmm4 & not.o(xmm2) 0x13e5 122 xmm0 = xmm0 | xmm4 0x13e9 123 xmm2 = xmm1 0x13ed 124 xmm2 = _mm_cmpgt_epi32(xmm2, xmm3) 0x13f1 125 xmm1 = xmm1 & xmm2 0x13f5 126 xmm2 = xmm2 & not.o(xmm3) 0x13f9 127 xmm1 = xmm1 | xmm2 0x13f9 128 goto 164 @ 0x13fd 0x151f 129 goto 164 @ 0x13fd 0x1340 130 xmm2 = [rsp + (rsi << 2) + 0x210].o 0x1349 131 xmm3 = [rsp + (rsi << 2) + 0x220].o 0x1352 132 xmm4 = [rsp + (rsi << 2) + 0x230].o 0x135b 133 xmm5 = [rsp + (rsi << 2) + 0x240].o 0x1364 134 xmm6 = xmm0 0x1368 135 xmm6 = _mm_cmpgt_epi32(xmm6, xmm2) 0x136c 136 xmm0 = xmm0 & xmm6 0x1370 137 xmm6 = xmm6 & not.o(xmm2) 0x1374 138 xmm6 = xmm6 | xmm0 0x1378 139 xmm2 = xmm1 0x137c 140 xmm2 = _mm_cmpgt_epi32(xmm2, xmm3) 0x1380 141 xmm1 = xmm1 & xmm2 0x1384 142 xmm2 = xmm2 & not.o(xmm3) 0x1388 143 xmm2 = xmm2 | xmm1 0x138c 144 xmm0 = xmm6 0x1390 145 xmm0 = _mm_cmpgt_epi32(xmm0, xmm4) 0x1394 146 xmm6 = xmm6 & xmm0 0x1398 147 xmm0 = xmm0 & not.o(xmm4) 0x139c 148 xmm0 = xmm0 | xmm6 0x13a0 149 xmm1 = xmm2 0x13a4 150 xmm1 = _mm_cmpgt_epi32(xmm1, xmm5) 0x13a8 151 xmm2 = xmm2 & xmm1 0x13ac 152 xmm1 = xmm1 & not.o(xmm5) 0x13b0 153 xmm1 = xmm1 | xmm2 0x13b4 154 rsi = rsi + 0x10 0x13b8 155 temp0.q = rdi 0x13b8 156 rdi = rdi - 2 0x13bc 157 if (temp0.q != 2) then 130 @ 0x1340 else 183 @ 0x13c1 0x1459 158 ebx = eax 0x1459 159 goto 160 @ 0x145c 0x145c 160 rcx = rcx + 1 0x1463 161 if (r9 != rcx) then 112 @ 0x1450 else 184 @ 0x1467 0x1284 162 [rsp + (r13 << 2) + 0x210].d = [rsp + (r13 << 2) + 0x210].d + 1 0x128d 163 goto 82 @ 0x1250 0x13fd 164 xmm2 = xmm0 0x1401 165 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1405 166 xmm0 = xmm0 & xmm2 0x1409 167 xmm2 = xmm2 & not.o(xmm1) 0x140d 168 xmm2 = xmm2 | xmm0 0x1411 169 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x1416 170 xmm1 = xmm2 0x141a 171 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x141e 172 xmm2 = xmm2 & xmm1 0x1422 173 xmm1 = xmm1 & not.o(xmm0) 0x1426 174 xmm1 = xmm1 | xmm2 0x142a 175 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x142f 176 xmm2 = xmm1 0x1433 177 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x1437 178 xmm1 = xmm1 & xmm2 0x143b 179 xmm2 = xmm2 & not.o(xmm0) 0x143f 180 xmm2 = xmm2 | xmm1 0x1443 181 ebx = xmm2.d 0x144a 182 if (rcx == r9) then 184 @ 0x1467 else 185 @ 0x144c 0x13c1 183 if ((dl & 1) == 0) then 164 @ 0x13fd else 116 @ 0x13c3 0x1467 184 if (ebx == 0) then 25 @ 0x14ea else 186 @ 0x146d 0x144c 185 goto 112 @ 0x1450 0x146d 186 esi = (rbx + 1).d 0x1470 187 rdi = 0x2004 {"%d\n"} 0x1477 188 eax = 0 0x1479 189 call(0x1030) 0x147e 190 eax = [rsp + 4 {var_a14}].d 0x1485 191 if (eax s> r14d) then 36 @ 0x14f8 else 192 @ 0x1487 0x1487 192 r12d = 0 0x148a 193 goto 194 @ 0x14bf 0x14bf 194 if ([rsp + (r12 << 2) + 0x210].d != ebx) then 195 @ 0x149e else 203 @ 0x14c3 0x149e 195 rcx = r12 + 1 0x14a3 196 edx = r14d 0x14a6 197 edx = edx - eax 0x14a8 198 rdx = sx.q(edx) 0x14ab 199 r15 = r15 + 1 0x14af 200 cond:1 = r12 s>= rdx 0x14b2 201 r12 = rcx 0x14b5 202 if (cond:1) then 36 @ 0x14f8 else 194 @ 0x14bf 0x14c3 203 if (eax s<= 0) then 204 @ 0x1490 else 208 @ 0x14c5 0x1490 204 edi = 0xa {""} 0x1495 205 call(0x1070) 0x149a 206 eax = [rsp + 4 {var_a14}].d 0x149a 207 goto 195 @ 0x149e 0x14c5 208 ebp = 0 0x14c7 209 goto 210 @ 0x14d0 0x14d0 210 edi = sx.d([r15 + rbp].b) 0x14d5 211 call(0x1070) 0x14da 212 rbp = rbp + 1 0x14de 213 rax = sx.q([rsp + 4 {var_a14}].d) 0x14e6 214 if (rbp s< rax) then 210 @ 0x14d0 else 215 @ 0x14e8 0x14e8 215 goto 204 @ 0x1490 int64_t _fini(): 0x1528 0 rsp = rsp - 8 0x152c 1 rsp = rsp + 8 0x1530 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 {"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 - 0x68 0x115e 7 rbx = 0x2034 {"%ld %d %d"} 0x1165 8 rsi = rsp + 0x40 {var_58} 0x116a 9 rdx = rsp + 0x20 {var_78} 0x116f 10 rcx = rsp {var_98} 0x1172 11 rdi = rbx 0x1175 12 eax = 0 0x1177 13 call(0x1040) 0x117c 14 rsi = rsp + 0x48 {var_50} 0x1181 15 rdx = rsp + 0x24 {var_74} 0x1186 16 rcx = rsp + 4 {var_94} 0x118b 17 rdi = rbx 0x118e 18 eax = 0 0x1190 19 call(0x1040) 0x1195 20 rsi = rsp + 0x50 {var_48} 0x119a 21 rdx = rsp + 0x28 {var_70} 0x119f 22 rcx = rsp + 8 {var_90} 0x11a4 23 rdi = rbx 0x11a7 24 eax = 0 0x11a9 25 call(0x1040) 0x11ae 26 rsi = rsp + 0x58 {var_40} 0x11b3 27 rdx = rsp + 0x2c {var_6c} 0x11b8 28 rcx = rsp + 0xc {var_8c} 0x11bd 29 rdi = rbx 0x11c0 30 eax = 0 0x11c2 31 call(0x1040) 0x11c7 32 rsi = rsp + 0x60 {var_38} 0x11cc 33 rdx = rsp + 0x30 {var_68} 0x11d1 34 rcx = rsp + 0x10 {var_88} 0x11d6 35 rdi = rbx 0x11d9 36 eax = 0 0x11db 37 call(0x1040) 0x11e0 38 ebx = 1 0x11e5 39 r13 = 0x28f5c28f5c28f5c {""} 0x11ef 40 rbp = 0x51eb851eb851eb0 {""} 0x11f9 41 r15 = 0xa3d70a3d70a3d7 {""} 0x1203 42 r12 = 0x2004 {"%ld %d %d"} 0x120a 43 r14 = 0x203e {"%d\n"} 0x1211 44 goto 45 @ 0x123c 0x123c 45 rcx = [rsp + (rbx << 3) + 0x38].q 0x1241 46 eax = 0x1c {""} 0x1249 47 if ((cl & 3) != 0) then 48 @ 0x1285 else 51 @ 0x124b 0x1285 48 ecx = [rsp + (rbx << 2) + 0x1c].d 0x1289 49 esi = 0 0x128e 50 if (ecx s< 2) then 65 @ 0x1220 else 71 @ 0x1290 0x124b 51 rax = -0x70a3d70a3d70a3d7 0x1255 52 rcx = rcx * rax 0x1259 53 rax = 0x51eb851eb851eb8 {""} 0x1263 54 rax = rax + rcx 0x1266 55 rax = ror.q(rax, 2) 0x126d 56 al = rax u> r13 0x1270 57 rcx = rcx + rbp 0x1273 58 rcx = ror.q(rcx, 4) 0x1277 59 flag:c = rcx u< r15 0x127a 60 cl = flag:c 0x127d 61 cl = cl | al 0x127f 62 eax = zx.d(cl) 0x1282 63 eax = eax | 0x1c 0x1282 64 goto 48 @ 0x1285 0x1220 65 esi = esi + [rsp + (rbx << 2) - 4].d 0x1224 66 rdi = r14 0x1227 67 eax = 0 0x1229 68 call(0x1030) 0x122e 69 rbx = rbx + 1 0x1236 70 if (rbx == 6) then 74 @ 0x12c8 else 45 @ 0x123c 0x1290 71 edx = 1 0x1295 72 esi = 0 0x1297 73 goto 82 @ 0x12ae 0x12c8 74 rsp = rsp + 0x68 0x12cc 75 rbx = pop 0x12cd 76 r12 = pop 0x12cf 77 r13 = pop 0x12d1 78 r14 = pop 0x12d3 79 r15 = pop 0x12d5 80 rbp = pop 0x12d6 81 <return> jump(pop) 0x12ae 82 edi = (rdx - 1).d 0x12b4 83 if (edi u> 0xb) then 84 @ 0x12a3 else 86 @ 0x12b6 0x12a3 84 edx = edx + 1 0x12a8 85 if (ecx == edx) then 65 @ 0x1220 else 82 @ 0x12ae 0x12b6 86 rdi = sx.q([r12 + (rdi << 2)].d) 0x12ba 87 rdi = rdi + r12 0x12bd 88 jump(rdi => 89 @ 0x12a0, 91 @ 0x12bf, 93 @ 0x12c4) 0x12a0 89 esi = esi + 0x1f 0x12a0 90 goto 84 @ 0x12a3 0x12bf 91 esi = esi + 0x1e 0x12c2 92 goto 84 @ 0x12a3 0x12c4 93 esi = esi + eax 0x12c6 94 goto 84 @ 0x12a3 int64_t _fini(): 0x12dc 0 rsp = rsp - 8 0x12e0 1 rsp = rsp + 8 0x12e4 2 <return> jump(pop)
POJ_11
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x18 0x116e 7 rdi = 0x2018 {"%d"} 0x1175 8 rsi = rsp + 0x14 {var_34} 0x117a 9 eax = 0 0x117c 10 call(0x1040) 0x1186 11 if ([rsp + 0x14 {var_34}].d s>= 5) then 12 @ 0x11a7 else 16 @ 0x1188 0x11a7 12 r12d = 3 0x11ad 13 r14 = 0x2021 {"%d %d\n"} 0x11b4 14 r15d = 1 0x11ba 15 goto 20 @ 0x11dc 0x1188 16 rdi = 0x201b {"empty"} 0x118f 17 eax = 0 0x1191 18 call(0x1030) 0x1191 19 goto 30 @ 0x1196 0x11dc 20 xmm2 = 0 0x11df 21 xmm2.q = float.d(r12d) 0x11e4 22 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x11e4 23 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x11e4 24 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x11e4 25 flag:s = 0 0x11e4 26 flag:o = 0 0x11e4 27 flag:a = 0 0x11ec 28 [rsp + 8 {var_40_1}].q = xmm2.q 0x11f2 29 if (flag:c) then 39 @ 0x1200 else 43 @ 0x11f4 0x1196 30 eax = 0 0x1198 31 rsp = rsp + 0x18 0x119c 32 rbx = pop 0x119d 33 r12 = pop 0x119f 34 r13 = pop 0x11a1 35 r14 = pop 0x11a3 36 r15 = pop 0x11a5 37 rbp = pop 0x11a6 38 <return> jump(pop) 0x1200 39 xmm0 = xmm2 0x1204 40 call(0x1050) 0x1209 41 xmm2 = zx.o([rsp + 8 {var_40_1}].q) 0x1209 42 goto 46 @ 0x120f 0x11f4 43 xmm0 = 0 0x11f7 44 xmm0 = _mm_sqrt_sd(xmm2.q) 0x11fb 45 goto 46 @ 0x120f 0x120f 46 ebx = 0 0x1211 47 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1211 48 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1211 49 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1211 50 flag:s = 0 0x1211 51 flag:o = 0 0x1211 52 flag:a = 0 0x1219 53 if (not(flag:c)) then 54 @ 0x1250 else 57 @ 0x121b 0x1250 54 ebx = 0 0x1252 55 ebp = 3 0x1257 56 goto 68 @ 0x127f 0x121b 57 r13d = (r12 + 2).d 0x1220 58 xmm2 = 0 0x1223 59 xmm2.q = float.d(r13d) 0x1228 60 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1228 61 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1228 62 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1228 63 flag:s = 0 0x1228 64 flag:o = 0 0x1228 65 flag:a = 0 0x1230 66 [rsp + 8 {var_40_2}].q = xmm2.q 0x1236 67 if (flag:c) then 81 @ 0x12b0 else 91 @ 0x1238 0x127f 68 ecx = (rbp - 1).d 0x1282 69 eax = r12d 0x1285 70 edx = 0 0x1287 71 temp2.d = ecx 0x1287 72 temp3.d = edx 0x1287 73 temp4.d = eax 0x1287 74 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1287 75 temp5.d = edx 0x1287 76 temp6.d = eax 0x1287 77 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1287 78 eax = temp0.d 0x1287 79 edx = temp1.d 0x128b 80 if (edx == 0) then 100 else 102 @ 0x128f 0x12b0 81 xmm0 = xmm2 0x12b4 82 call(0x1050) 0x12b9 83 xmm2 = zx.o([rsp + 8 {var_40_2}].q) 0x12bf 84 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12bf 85 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12bf 86 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12bf 87 flag:s = 0 0x12bf 88 flag:o = 0 0x12bf 89 flag:a = 0 0x12c7 90 if (flag:c) then 109 @ 0x11c2 else 110 @ 0x12cd 0x1238 91 xmm0 = 0 0x123b 92 xmm0 = _mm_sqrt_sd(xmm2.q) 0x123f 93 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x123f 94 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x123f 95 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x123f 96 flag:s = 0 0x123f 97 flag:o = 0 0x123f 98 flag:a = 0 0x1247 99 if (flag:c) then 109 @ 0x11c2 else 112 @ 0x124d 0x128b 100 ebx = r15d 0x128b 101 goto 102 @ 0x128f 0x128f 102 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x128f 103 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x128f 104 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x128f 105 flag:s = 0 0x128f 106 flag:o = 0 0x128f 107 flag:a = 0 0x1297 108 if (flag:c) then 113 @ 0x1260 else 117 @ 0x1299 0x11c2 109 if (ebx == 0) then 120 @ 0x1330 else 126 @ 0x11c8 0x12cd 110 ebp = 3 0x12d2 111 goto 132 @ 0x1303 0x124d 112 goto 110 @ 0x12cd 0x1260 113 xmm0 = xmm2 0x1264 114 call(0x1050) 0x1269 115 xmm2 = zx.o([rsp + 8 {var_40_1}].q) 0x1269 116 goto 145 @ 0x126f 0x1299 117 xmm0 = 0 0x129c 118 xmm0 = _mm_sqrt_sd(xmm2.q) 0x12a0 119 goto 145 @ 0x126f 0x1330 120 rdi = r14 0x1333 121 esi = r12d 0x1336 122 edx = r13d 0x1339 123 eax = 0 0x133b 124 call(0x1030) 0x1340 125 goto 126 @ 0x11c8 0x11c8 126 eax = (r12 + 1).d 0x11cd 127 ecx = [rsp + 0x14 {var_34}].d 0x11d1 128 ecx = ecx - 2 0x11d4 129 cond:0 = r12d s>= ecx 0x11d7 130 r12d = eax 0x11da 131 if (cond:0) then 30 @ 0x1196 else 20 @ 0x11dc 0x1303 132 ecx = (rbp - 1).d 0x1306 133 eax = r13d 0x1309 134 edx = 0 0x130b 135 temp2.d = ecx 0x130b 136 temp7.d = edx 0x130b 137 temp8.d = eax 0x130b 138 temp0.d = divu.dp.d(temp7.d:temp8.d, temp2.d) 0x130b 139 temp9.d = edx 0x130b 140 temp10.d = eax 0x130b 141 temp1.d = modu.dp.d(temp9.d:temp10.d, temp2.d) 0x130b 142 eax = temp0.d 0x130b 143 edx = temp1.d 0x130f 144 if (edx == 0) then 155 else 157 @ 0x1313 0x126f 145 xmm1 = 0 0x1272 146 xmm1.q = float.d(ebp) 0x1276 147 ebp = ebp + 1 0x1279 148 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1279 149 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1279 150 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1279 151 flag:s = 0 0x1279 152 flag:o = 0 0x1279 153 flag:a = 0 0x127d 154 if (flag:c) then 57 @ 0x121b else 68 @ 0x127f 0x130f 155 ebx = r15d 0x130f 156 goto 157 @ 0x1313 0x1313 157 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1313 158 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1313 159 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1313 160 flag:s = 0 0x1313 161 flag:o = 0 0x1313 162 flag:a = 0 0x131b 163 if (flag:c) then 164 @ 0x12e0 else 168 @ 0x131d 0x12e0 164 xmm0 = xmm2 0x12e4 165 call(0x1050) 0x12e9 166 xmm2 = zx.o([rsp + 8 {var_40_2}].q) 0x12e9 167 goto 171 @ 0x12ef 0x131d 168 xmm0 = 0 0x1320 169 xmm0 = _mm_sqrt_sd(xmm2.q) 0x1324 170 goto 171 @ 0x12ef 0x12ef 171 xmm1 = 0 0x12f2 172 xmm1.q = float.d(ebp) 0x12f6 173 ebp = ebp + 1 0x12f9 174 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x12f9 175 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12f9 176 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x12f9 177 flag:s = 0 0x12f9 178 flag:o = 0 0x12f9 179 flag:a = 0 0x12fd 180 if (flag:c) then 109 @ 0x11c2 else 132 @ 0x1303 int64_t _fini(): 0x134c 0 rsp = rsp - 8 0x1350 1 rsp = rsp + 8 0x1354 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) 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 - 0x9b0 0x1170 6 rdi = 0x2030 {"%d\n"} 0x1177 7 rsi = rsp + 0xc {var_9cc} 0x117c 8 eax = 0 0x117e 9 call(0x1040) 0x1188 10 if ([rsp + 0xc {var_9cc}].d s<= 0) then 11 @ 0x13e3 else 19 @ 0x118e 0x13e3 11 eax = 0 0x13e5 12 rsp = rsp + 0x9b0 0x13ec 13 rbx = pop 0x13ed 14 r12 = pop 0x13ef 15 r13 = pop 0x13f1 16 r14 = pop 0x13f3 17 r15 = pop 0x13f5 18 <return> jump(pop) 0x118e 19 r14 = rsp + 0x690 {var_348} 0x1196 20 r15 = rsp + 0x370 {var_668} 0x119e 21 r13 = rsp + 0x50 {var_988} 0x11a3 22 r12 = 0x2034 {"%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 + 0xc {var_9cc}].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 @ 0x13e3 else 38 @ 0x11e5 0x11e5 38 ebx = 0 0x11e7 39 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x11eb 40 r12 = 0x2040 {"x1=x2=%.5lf\n"} 0x11f2 41 r14 = 0x204d {"x1=%.5lf;x2=%.5lf\n"} 0x11f9 42 r15 = 0x2060 {"x1=%.5lf+%.5lfi;x2=%.5lf-%.5lfi\n"} 0x1200 43 goto 44 @ 0x1244 0x1244 44 xmm3 = zx.o([rsp + (rbx << 3) + 0x370].q) 0x124d 45 xmm4 = zx.o([rsp + (rbx << 3) + 0x50].q) 0x1253 46 xmm0 = xmm4 0x1257 47 xmm0.q = xmm0.q f* fconvert.t([0x2008].q) 0x125f 48 xmm0.q = xmm0.q f* fconvert.t([rsp + (rbx << 3) + 0x690].q) 0x1268 49 xmm5 = xmm3 0x126c 50 xmm5.q = xmm5.q f* xmm3.q 0x1270 51 xmm5.q = xmm5.q f+ xmm0.q 0x1274 52 flag:p = is_unordered.q(xmm5.q, xmm2.q) 0x1274 53 flag:c = xmm5.q f< xmm2.q | is_unordered.q(xmm5.q, xmm2.q) 0x1274 54 flag:z = xmm5.q f== xmm2.q | is_unordered.q(xmm5.q, xmm2.q) 0x1274 55 flag:s = 0 0x1274 56 flag:o = 0 0x1274 57 flag:a = 0 0x1278 58 if (not(flag:z)) then 59 @ 0x127c else 60 @ 0x127a 0x127c 59 if (flag:z || flag:c) then 61 @ 0x1349 else 70 @ 0x1282 0x127a 60 if (not(flag:p)) then 81 @ 0x1210 else 59 @ 0x127c 0x1349 61 xmm0 = zx.o([0x2010].q) 0x1351 62 flag:p = is_unordered.q(xmm0.q, xmm5.q) 0x1351 63 flag:c = xmm0.q f< xmm5.q | is_unordered.q(xmm0.q, xmm5.q) 0x1351 64 flag:z = xmm0.q f== xmm5.q | is_unordered.q(xmm0.q, xmm5.q) 0x1351 65 flag:s = 0 0x1351 66 flag:o = 0 0x1351 67 flag:a = 0 0x1355 68 xmm5 = _mm_xor_pd(xmm5, xmm0) 0x1359 69 if (flag:c) then 89 @ 0x1364 else 98 @ 0x135b 0x1282 70 xmm0 = 0 0x1285 71 xmm0 = _mm_sqrt_sd(xmm5.q) 0x1289 72 flag:p = is_unordered.q(xmm5.q, xmm2.q) 0x1289 73 flag:c = xmm5.q f< xmm2.q | is_unordered.q(xmm5.q, xmm2.q) 0x1289 74 flag:z = xmm5.q f== xmm2.q | is_unordered.q(xmm5.q, xmm2.q) 0x1289 75 flag:s = 0 0x1289 76 flag:o = 0 0x1289 77 flag:a = 0 0x128d 78 xmm4 = xmm0 0x1291 79 [rsp + 0x20 {var_9b8_1}].o = xmm3 0x1297 80 if (not(flag:c)) then 101 @ 0x12c8 else 110 @ 0x1299 0x1210 81 xmm3 = __xorpd_xmmxuq_memxuq(xmm3, [0x2020].o) 0x1218 82 xmm4.q = xmm4.q f+ xmm4.q 0x121c 83 xmm3.q = xmm3.q f/ xmm4.q 0x1220 84 rdi = r12 0x1223 85 xmm0 = xmm3 0x1227 86 al = 1 0x1229 87 call(0x1030) 0x1229 88 goto 120 @ 0x122e 0x1364 89 xmm0 = xmm5 0x1368 90 [rsp + 0x20 {var_9b8_2}].o = xmm3 0x136e 91 [rsp + 0x10 {var_9c8}].q = xmm4.q 0x1374 92 call(0x1050) 0x1379 93 xmm4 = zx.o([rsp + 0x10 {var_9c8}].q) 0x137f 94 xmm3 = [rsp + 0x20 {var_9b8_2}].o 0x1385 95 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1389 96 xmm1 = xmm0 0x1389 97 goto 124 @ 0x138d 0x135b 98 xmm1 = 0 0x135e 99 xmm1 = _mm_sqrt_sd(xmm5.q) 0x1362 100 goto 124 @ 0x138d 0x12c8 101 xmm6 = zx.o([rsp + (rbx << 3) + 0x50].q) 0x12ce 102 xmm1 = zx.o([rsp + (rbx << 3) + 0x370].q) 0x12d7 103 flag:p = is_unordered.q(xmm5.q, xmm2.q) 0x12d7 104 flag:c = xmm5.q f< xmm2.q | is_unordered.q(xmm5.q, xmm2.q) 0x12d7 105 flag:z = xmm5.q f== xmm2.q | is_unordered.q(xmm5.q, xmm2.q) 0x12d7 106 flag:s = 0 0x12d7 107 flag:o = 0 0x12d7 108 flag:a = 0 0x12db 109 if (not(flag:c)) then 139 @ 0x1310 else 152 @ 0x12dd 0x1299 110 [rsp + 0x30 {var_9a8}].q = xmm0.q 0x129f 111 xmm0 = xmm5 0x12a3 112 [rsp + 0x10 {var_9c8}].o = xmm5 0x12a9 113 call(0x1050) 0x12ae 114 xmm5 = [rsp + 0x10 {var_9c8}].o 0x12b4 115 xmm3 = [rsp + 0x20 {var_9b8_1}].o 0x12ba 116 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x12be 117 xmm4 = xmm0 0x12c2 118 xmm0 = zx.o([rsp + 0x30 {var_9a8}].q) 0x12c2 119 goto 101 @ 0x12c8 0x122e 120 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1232 121 rbx = rbx + 1 0x1236 122 rax = sx.q([rsp + 0xc {var_9cc}].d) 0x123e 123 if (rbx s>= rax) then 11 @ 0x13e3 else 44 @ 0x1244 0x138d 124 xmm0 = zx.o([0x2010].q) 0x1395 125 xmm3 = _mm_xor_pd(xmm3, xmm0) 0x1399 126 xmm4.q = xmm4.q f+ xmm4.q 0x139d 127 xmm3.q = xmm3.q f/ xmm4.q 0x13a1 128 xmm0 = zx.o([rsp + (rbx << 3) + 0x50].q) 0x13a7 129 xmm0.q = xmm0.q f+ xmm0.q 0x13ab 130 xmm1.q = xmm1.q f/ xmm0.q 0x13af 131 xmm0 = zx.o([rsp + (rbx << 3) + 0x370].q) 0x13b8 132 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x13b8 133 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x13b8 134 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x13b8 135 flag:s = 0 0x13b8 136 flag:o = 0 0x13b8 137 flag:a = 0 0x13bc 138 if (not(flag:z)) then 162 @ 0x13c8 else 169 @ 0x13be 0x1310 139 xmm4.q = xmm4.q f- xmm3.q 0x1314 140 xmm6.q = xmm6.q f+ xmm6.q 0x1318 141 xmm4.q = xmm4.q f/ xmm6.q 0x131c 142 xmm1 = __xorpd_xmmxuq_memxuq(xmm1, [0x2020].o) 0x1324 143 xmm1.q = xmm1.q f- xmm0.q 0x1328 144 xmm0 = zx.o([rsp + (rbx << 3) + 0x50].q) 0x132e 145 xmm0.q = xmm0.q f+ xmm0.q 0x1332 146 xmm1.q = xmm1.q f/ xmm0.q 0x1336 147 rdi = r14 0x1339 148 xmm0 = xmm4 0x133d 149 al = 2 0x133f 150 call(0x1030) 0x1344 151 goto 120 @ 0x122e 0x12dd 152 xmm0 = xmm5 0x12e1 153 [rsp + 0x10 {var_9c8}].q = xmm4.q 0x12e7 154 [rsp + 0x30 {var_9a8}].o = xmm1 0x12ed 155 [rsp + 0x48 {var_990_1}].q = xmm6.q 0x12f3 156 call(0x1050) 0x12f8 157 xmm6 = zx.o([rsp + 0x48 {var_990_1}].q) 0x12fe 158 xmm1 = [rsp + 0x30 {var_9a8}].o 0x1304 159 xmm4 = zx.o([rsp + 0x10 {var_9c8}].q) 0x130a 160 xmm3 = [rsp + 0x20 {var_9b8_1}].o 0x130a 161 goto 139 @ 0x1310 0x13c8 162 rdi = r15 0x13cb 163 xmm0 = xmm3 0x13cf 164 xmm2 = xmm3 0x13d3 165 xmm3 = xmm1 0x13d7 166 al = 4 0x13d9 167 call(0x1030) 0x13de 168 goto 120 @ 0x122e 0x13be 169 if (flag:p) then 162 @ 0x13c8 else 170 @ 0x13c0 0x13c0 170 xmm3 = __xorpd_xmmxuq_memxuq(xmm3, [0x2020].o) 0x13c0 171 goto 162 @ 0x13c8 int64_t _fini(): 0x13fc 0 rsp = rsp - 8 0x1400 1 rsp = rsp + 8 0x1404 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) int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"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 - 0x4c8 0x116d 5 rbx = 0x2004 {"%d"} 0x1174 6 rsi = rsp + 8 {var_4e0} 0x1179 7 rdi = rbx 0x117c 8 eax = 0 0x117e 9 call(0x1050) 0x1183 10 rsi = rsp + 0xc {var_4dc} 0x1188 11 rdi = rbx 0x118b 12 eax = 0 0x118d 13 call(0x1050) 0x1192 14 r15d = [rsp + 8 {var_4e0}].d 0x119a 15 if (r15d s<= 0) then 16 @ 0x11d3 else 20 @ 0x119c 0x11d3 16 r14d = [rsp + 0xc {var_4dc}].d 0x11d8 17 ebp = r15d 0x11db 18 ebp = ebp - r14d 0x11e0 19 if (ebp s<= 0) then 23 @ 0x1204 else 25 @ 0x11e2 0x119c 20 rbx = rsp + 0x10 {var_4d8} 0x11a1 21 r14 = 0x2004 {"%d"} 0x11a8 22 goto 33 @ 0x11b0 0x1204 23 rbx = sx.q(r15d) 0x120a 24 if (r14d s<= 0) then 42 @ 0x1267 else 43 @ 0x120c 0x11e2 25 eax = r14d 0x11e5 26 eax = not.d(eax) 0x11e7 27 eax = eax + r15d 0x11ea 28 rdx = (rax << 2) + 4 0x11f2 29 rdi = rsp + 0x330 {var_1b8} 0x11fa 30 rsi = rsp + 0x10 {var_4d8} 0x11ff 31 call(0x1040) 0x11ff 32 goto 23 @ 0x1204 0x11b0 33 rdi = r14 0x11b3 34 rsi = rbx 0x11b6 35 eax = 0 0x11b8 36 call(0x1050) 0x11bd 37 rbx = rbx + 4 0x11c1 38 r15 = sx.q([rsp + 8 {var_4e0}].d) 0x11c6 39 rax = rsp + (r15 << 2) 0x11ca 40 rax = rax + 0x10 0x11d1 41 if (rbx u< rax) then 33 @ 0x11b0 else 16 @ 0x11d3 0x1267 42 if (r15d s<= r14d) then 52 @ 0x1293 else 53 @ 0x1269 0x120c 43 rax = sx.q(ebp) 0x120f 44 rcx = r14 + rax 0x1213 45 rcx = rcx - rbx 0x1216 46 rdi = rsp + (rcx << 2) 0x121a 47 rdi = rdi + 0x1a0 0x1221 48 rsi = rsp + (rax << 2) 0x1225 49 rsi = rsi + 0x10 0x1229 50 ebp = ebp + 1 0x122f 51 if (r15d s> ebp) then 62 else 64 @ 0x1233 0x1293 52 if (r15d s< 2) then 75 @ 0x12c0 else 85 @ 0x1295 0x1269 53 rax = sx.q(r14d) 0x126c 54 rdi = rsp + (rax << 2) 0x1270 55 rdi = rdi + 0x10 0x1274 56 r14d = not.d(r14d) 0x1277 57 r14d = r14d + r15d 0x127a 58 rdx = (r14 << 2) + 4 0x1282 59 rsi = rsp + 0x330 {var_1b8} 0x128a 60 call(0x1040) 0x128a 61 goto 52 @ 0x1293 0x122f 62 ebp = r15d 0x122f 63 goto 64 @ 0x1233 0x1233 64 ebp = ebp + r14d 0x1236 65 eax = r15d 0x1239 66 eax = not.d(eax) 0x123b 67 eax = eax + ebp 0x123d 68 rdx = (rax << 2) + 4 0x1245 69 call(0x1040) 0x124a 70 rdx = r14 << 2 0x1252 71 rdi = rsp + 0x10 {var_4d8} 0x1257 72 rsi = rsp + 0x1a0 {var_348} 0x125f 73 call(0x1040) 0x125f 74 goto 42 @ 0x1267 0x12c0 75 esi = [rsp + (rbx << 2) + 0xc].d 0x12c4 76 rdi = 0x2004 {"%d"} 0x12cb 77 eax = 0 0x12cd 78 call(0x1030) 0x12d2 79 rsp = rsp + 0x4c8 0x12d9 80 rbx = pop 0x12da 81 r14 = pop 0x12dc 82 r15 = pop 0x12de 83 rbp = pop 0x12df 84 <return> jump(pop) 0x1295 85 r14 = 0x2007 {"%d "} 0x129c 86 ebp = 0 0x129e 87 goto 88 @ 0x12a0 0x12a0 88 esi = [rsp + (rbp << 2) + 0x10].d 0x12a4 89 rdi = r14 0x12a7 90 eax = 0 0x12a9 91 call(0x1030) 0x12ae 92 rbp = rbp + 1 0x12b2 93 rbx = sx.q([rsp + 8 {var_4e0}].d) 0x12b7 94 rax = rbx - 1 0x12be 95 if (rbp s< rax) then 88 @ 0x12a0 else 75 @ 0x12c0 int64_t _fini(): 0x12e4 0 rsp = rsp - 8 0x12e8 1 rsp = rsp + 8 0x12ec 2 <return> jump(pop)
POJ_52
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 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 {"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 - 0x218 0x116e 5 r14 = rsp {var_238} 0x1171 6 rdi = r14 {var_238} 0x1174 7 eax = 0 0x1176 8 call(0x1040) 0x117b 9 rdi = r14 {var_238} 0x117e 10 call(0x1030) 0x1188 11 if ((eax & 0x80000000) != 0) then 12 @ 0x11ae else 19 @ 0x118a 0x11ae 12 [rsp {var_238}].b = 0x20 {"@"} 0x11b2 13 rcx = rax 0x11b5 14 rcx = rcx << 0x20 0x11b5 15 cond:0 = rcx s< 0 0x11b9 16 rax = sx.q(eax) 0x11bb 17 [rsp + rax + 1].b = 0x20 {"@"} 0x11c0 18 if (cond:0) then 22 @ 0x1218 else 28 @ 0x11c2 0x118a 19 rcx = sx.q(eax) 0x118d 20 rcx = rcx + 1 0x119b 21 goto 32 @ 0x11a0 0x1218 22 rsp = rsp + 0x218 0x121f 23 rbx = pop 0x1220 24 r12 = pop 0x1222 25 r14 = pop 0x1224 26 r15 = pop 0x1226 27 <return> jump(pop) 0x11c2 28 r15 = rsp + rax 0x11c6 29 r12 = rsp + rax 0x11ca 30 r12 = r12 + 1 0x11ce 31 goto 37 @ 0x11dd 0x11a0 32 edx = zx.d([rsp + rcx - 1].b) 0x11a5 33 [rsp + rcx].b = dl 0x11a8 34 temp0.q = rcx 0x11a8 35 rcx = rcx - 1 0x11ac 36 if (temp0.q s> 1) then 32 @ 0x11a0 else 12 @ 0x11ae 0x11dd 37 if ([r15].b != 0x20) then 38 @ 0x11d0 else 40 @ 0x11df 0x11d0 38 r15 = r15 - 1 0x11d7 39 if (r15 u< r14) then 22 @ 0x1218 else 37 @ 0x11dd 0x11df 40 rbx = r15 + 1 0x11e6 41 if (rbx u>= r12) then 42 @ 0x1201 else 44 @ 0x11e8 0x1201 42 r12 = r15 0x1207 43 if (r15 == r14) then 38 @ 0x11d0 else 45 @ 0x1209 0x11e8 44 goto 49 @ 0x11f0 0x1209 45 edi = 0x20 {"@"} 0x120e 46 call(0x1050) 0x1213 47 r12 = r15 0x1216 48 goto 38 @ 0x11d0 0x11f0 49 edi = sx.d([rbx].b) 0x11f3 50 call(0x1050) 0x11f8 51 rbx = rbx + 1 0x11ff 52 if (rbx u< r12) then 49 @ 0x11f0 else 42 @ 0x1201 int64_t _fini(): 0x122c 0 rsp = rsp - 8 0x1230 1 rsp = rsp + 8 0x1234 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) 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 - 0x80 0x116c 4 rdi = 0x2004 {"%s%s"} 0x1173 5 rbx = rsp + 0x40 {var_58} 0x1178 6 r14 = rsp {var_98} 0x117b 7 rsi = rbx {var_58} 0x117e 8 rdx = r14 {var_98} 0x1181 9 eax = 0 0x1183 10 call(0x1050) 0x1188 11 rdi = rbx {var_58} 0x118b 12 call(0x1040) 0x1190 13 r15 = rax 0x1193 14 rdi = r14 {var_98} 0x1196 15 call(0x1040) 0x119d 16 if (eax s<= 0) then 17 @ 0x120c else 23 @ 0x119f 0x120c 17 eax = 0 0x120e 18 rsp = rsp + 0x80 0x1215 19 rbx = pop 0x1216 20 r14 = pop 0x1218 21 r15 = pop 0x121a 22 <return> jump(pop) 0x119f 23 temp0.d = r15d 0x119f 24 cond:0 = temp0.d == 0 0x11a2 25 if (temp0.d s<= 0) then 26 @ 0x120a else 27 @ 0x11a4 0x120a 26 if (cond:0) then 30 @ 0x121b else 17 @ 0x120c 0x11a4 27 ecx = r15d 0x11a7 28 r8d = 0 0x11a7 29 goto 32 @ 0x11aa 0x121b 30 esi = 0 0x121d 31 goto 37 @ 0x11f7 0x11aa 32 rsi = sx.q(r8d) 0x11ad 33 rbx = rsp + rsi 0x11b1 34 esi = r8d 0x11b4 35 edi = 0 0x11b6 36 goto 42 @ 0x11c0 0x11f7 37 esi = esi - r15d 0x11fa 38 rdi = 0x2009 {"%d"} 0x1201 39 eax = 0 0x1203 40 call(0x1030) 0x1208 41 goto 17 @ 0x120c 0x11c0 42 edx = zx.d([rbx + rdi].b) 0x11c8 43 if (dl != [rsp + rdi + 0x40].b) then 44 @ 0x11e3 else 45 @ 0x11ca 0x11e3 44 if (r15d == edi) then 37 @ 0x11f7 else 48 @ 0x11e5 0x11ca 45 rdi = rdi + 1 0x11ce 46 esi = esi + 1 0x11d4 47 if (rcx != rdi) then 42 @ 0x11c0 else 51 @ 0x11d6 0x11e5 48 esi = esi + 1 0x11e8 49 r8d = esi 0x11ed 50 if (esi s< eax) then 32 @ 0x11aa else 52 @ 0x11ef 0x11d6 51 goto 53 @ 0x11f1 0x11ef 52 goto 17 @ 0x120c 0x11f1 53 r8d = r8d + r15d 0x11f4 54 esi = r8d 0x11f4 55 goto 37 @ 0x11f7 int64_t _fini(): 0x1224 0 rsp = rsp - 8 0x1228 1 rsp = rsp + 8 0x122c 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 {"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 - 0xe8 0x1161 7 rbp = rsp + 0x80 {var_98} 0x1169 8 r13 = 0x200f {"%d"} 0x1170 9 r14d = 0 0x117d 10 goto 11 @ 0x1180 0x1180 11 ebx = 0 0x118c 12 goto 13 @ 0x1190 0x1190 13 rsi = rbx + rbp 0x1194 14 rdi = r13 0x1197 15 eax = 0 0x1199 16 call(0x1040) 0x119e 17 rbx = rbx + 4 0x11a6 18 if (rbx != 0x14) then 13 @ 0x1190 else 19 @ 0x11a8 0x11a8 19 r14 = r14 + 1 0x11ac 20 rbp = rbp + 0x14 0x11b4 21 if (r14 != 5) then 11 @ 0x1180 else 22 @ 0x11b6 0x11b6 22 rdi = 0x2004 {"%d%d"} 0x11bd 23 rsi = rsp {var_118} 0x11c0 24 rdx = rsp + 4 {var_114} 0x11c5 25 eax = 0 0x11c7 26 call(0x1040) 0x11cc 27 r8 = sx.q([rsp {var_118}].d) 0x11d3 28 if (r8 s< 0) then 29 @ 0x12ee else 33 @ 0x11dd 0x12ee 29 rdi = 0x2012 {"error"} 0x12f5 30 eax = 0 0x12f7 31 call(0x1030) 0x12f7 32 goto 34 @ 0x12fc 0x11dd 33 if (r8d s> 4) then 29 @ 0x12ee else 43 @ 0x11e3 0x12fc 34 eax = 0 0x12fe 35 rsp = rsp + 0xe8 0x1305 36 rbx = pop 0x1306 37 r12 = pop 0x1308 38 r13 = pop 0x130a 39 r14 = pop 0x130c 40 r15 = pop 0x130e 41 rbp = pop 0x130f 42 <return> jump(pop) 0x11e3 43 esi = [rsp + 4 {var_114}].d 0x11ea 44 if (esi s> 4) then 29 @ 0x12ee else 45 @ 0x11f2 0x11f2 45 if (esi s< 0) then 29 @ 0x12ee else 46 @ 0x11f8 0x11f8 46 r9 = sx.q(esi) 0x11fb 47 edx = r8d 0x11fe 48 esi = esi 0x1200 49 rdi = rsp + 0x10 {var_108} 0x1205 50 ebp = 0 0x1207 51 goto 52 @ 0x1210 0x1210 52 cond:0 = rbp == rdx 0x1213 53 rax = rbp 0x1216 54 if (cond:0) then 55 else 57 @ 0x121d 0x1216 55 rax = r9 0x1216 56 goto 57 @ 0x121d 0x121d 57 if (rbp == rsi) then 58 else 60 @ 0x1221 0x121d 58 rax = r8 0x121d 59 goto 60 @ 0x1221 0x1221 60 rax = rax + (rax << 2) 0x1225 61 rbx = rsp + (rax << 2) 0x1229 62 rbx = rbx + 0x80 0x1230 63 eax = 0 0x123c 64 goto 65 @ 0x1240 0x1240 65 ecx = [rbx + (rax << 2)].d 0x1243 66 [rdi + (rax << 2)].d = ecx 0x1246 67 rax = rax + 1 0x124e 68 if (rax != 5) then 65 @ 0x1240 else 69 @ 0x1250 0x1250 69 rbp = rbp + 1 0x1254 70 rdi = rdi + 0x14 0x125c 71 if (rbp != 5) then 52 @ 0x1210 else 72 @ 0x125e 0x125e 72 r14 = rsp + 0x10 {var_108} 0x1263 73 ebx = 0 0x1265 74 goto 75 @ 0x1283 0x1283 75 rax = rbx + (rbx << 2) 0x1287 76 rbp = rsp + (rax << 2) 0x128b 77 rbp = rbp + 0x20 0x128f 78 r15 = rsp + (rax << 2) 0x1293 79 r15 = r15 + 0x10 0x1297 80 [rsp + 8 {var_110_1}].q = r14 0x129c 81 r12d = 0 0x129f 82 goto 83 @ 0x12d1 0x12d1 83 rax = r15 0x12d4 84 rdi = r13 0x12da 85 if (r12d == 0) then 86 @ 0x12ba else 92 @ 0x12e0 0x12ba 86 esi = [rax].d 0x12bc 87 eax = 0 0x12be 88 call(0x1030) 0x12c3 89 r12 = r12 + 1 0x12c7 90 r14 = r14 + 4 0x12cf 91 if (r12 == 5) then 93 @ 0x1270 else 83 @ 0x12d1 0x12e0 92 if (r12d != 4) then 97 @ 0x12b0 else 100 @ 0x12e2 0x1270 93 rbx = rbx + 1 0x1274 94 r14 = [rsp + 8 {var_110_1}].q 0x1279 95 r14 = r14 + 0x14 0x1281 96 if (rbx == 5) then 34 @ 0x12fc else 75 @ 0x1283 0x12b0 97 rax = r14 0x12b3 98 rdi = 0x200e {" %d"} 0x12b3 99 goto 86 @ 0x12ba 0x12e2 100 rax = rbp 0x12e5 101 rdi = 0x2009 {" %d\n"} 0x12ec 102 goto 86 @ 0x12ba int64_t _fini(): 0x1314 0 rsp = rsp - 8 0x1318 1 rsp = rsp + 8 0x131c 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 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x3f8 0x1171 7 r12 = -0x100000000 0x117b 8 r13 = 0x1f400000000 {""} 0x1185 9 rdi = 0x2020 {"%s%s"} 0x118c 10 r15 = rsp + 0x200 {var_228} 0x1194 11 r14 = rsp {var_428} 0x1197 12 rsi = r15 {var_228} 0x119a 13 rdx = r14 {var_428} 0x119d 14 eax = 0 0x119f 15 call(0x1040) 0x11a4 16 rdi = r15 {var_228} 0x11a7 17 call(0x1030) 0x11ac 18 rbx = rax 0x11af 19 rdi = r14 {var_428} 0x11b2 20 call(0x1030) 0x11b7 21 xmm0 = [0x2010].o 0x11be 22 [rsp + 0x2fa {var_12e}].o = xmm0 0x11c6 23 [rsp + 0x30a {var_11e}].o = xmm0 0x11ce 24 [rsp + 0x31a {var_10e}].o = xmm0 0x11d6 25 [rsp + 0x32a {var_fe}].o = xmm0 0x11de 26 [rsp + 0x33a {var_ee}].o = xmm0 0x11e6 27 [rsp + 0x34a {var_de}].o = xmm0 0x11ee 28 [rsp + 0x35a {var_ce}].o = xmm0 0x11f6 29 [rsp + 0x36a {var_be}].o = xmm0 0x11fe 30 [rsp + 0x37a {var_ae}].o = xmm0 0x1206 31 [rsp + 0x38a {var_9e}].o = xmm0 0x120e 32 [rsp + 0x39a {var_8e}].o = xmm0 0x1216 33 [rsp + 0x3aa {var_7e}].o = xmm0 0x121e 34 [rsp + 0x3ba {var_6e}].o = xmm0 0x1226 35 [rsp + 0x3ca {var_5e}].o = xmm0 0x122e 36 [rsp + 0x3da {var_4e}].o = xmm0 0x1236 37 [rsp + 0x3e4 {var_4e+0xa}].o = xmm0 0x123e 38 [rsp + 0xfa {var_32e}].o = xmm0 0x1246 39 [rsp + 0x10a {var_31e}].o = xmm0 0x124e 40 [rsp + 0x11a {var_30e}].o = xmm0 0x1256 41 [rsp + 0x12a {var_2fe}].o = xmm0 0x125e 42 [rsp + 0x13a {var_2ee}].o = xmm0 0x1266 43 [rsp + 0x14a {var_2de}].o = xmm0 0x126e 44 [rsp + 0x15a {var_2ce}].o = xmm0 0x1276 45 [rsp + 0x16a {var_2be}].o = xmm0 0x127e 46 [rsp + 0x17a {var_2ae}].o = xmm0 0x1286 47 [rsp + 0x18a {var_29e}].o = xmm0 0x128e 48 [rsp + 0x19a {var_28e}].o = xmm0 0x1296 49 [rsp + 0x1aa {var_27e}].o = xmm0 0x129e 50 [rsp + 0x1ba {var_26e}].o = xmm0 0x12a6 51 [rsp + 0x1ca {var_25e}].o = xmm0 0x12ae 52 [rsp + 0x1da {var_24e}].o = xmm0 0x12b6 53 [rsp + 0x1e4 {var_24e+0xa}].o = xmm0 0x12c0 54 if (ebx s<= 0) then 55 @ 0x13aa else 56 @ 0x12c6 0x13aa 55 if (eax s<= 0) then 62 @ 0x144b else 64 @ 0x13b0 0x12c6 56 rdx = rbx 0x12c9 57 rdx = rdx * r12 0x12cd 58 rdx = rdx + r13 0x12d0 59 rdx = rdx s>> 0x20 0x12d4 60 r9d = ebx 0x12db 61 if (r9 u< 8) then 69 @ 0x1313 else 71 @ 0x12dd 0x144b 62 eax = 0x1f5 {""} 0x1450 63 goto 76 @ 0x146c 0x13b0 64 r12 = r12 * rax 0x13b4 65 r12 = r12 + r13 0x13b7 66 r12 = r12 s>> 0x20 0x13bb 67 ecx = eax 0x13c1 68 if (rcx u< 8) then 82 @ 0x13e4 else 84 @ 0x13c3 0x1313 69 esi = 0 0x1313 70 goto 87 @ 0x1315 0x12dd 71 rsi = rsp + rdx 0x12e1 72 rsi = rsi + 0x200 0x12e8 73 rdi = rsp + r9 0x12ec 74 rdi = rdi + 0x200 0x12f6 75 if (rsi u>= rdi) then 93 @ 0x150c else 94 @ 0x12fc 0x146c 76 edx = zx.d([rsp + rax + 0x1ff].b) 0x1474 77 dl = dl + [rsp + rax - 1].b 0x1478 78 ecx = (rdx - 0x30).d 0x147b 79 [rsp + rax - 1].b = cl 0x147f 80 dl = dl - 0x6a 0x1485 81 if (dl u> 8) then 98 @ 0x1460 else 100 @ 0x1487 0x13e4 82 edx = 0 0x13e4 83 goto 104 @ 0x13e6 0x13c3 84 rdx = rsp + r12 0x13c7 85 rsi = rsp + rcx 0x13ce 86 if (rdx u>= rsi) then 110 @ 0x1515 else 111 @ 0x13d4 0x1315 87 ebx = ebx - esi 0x1317 88 rdi = rsi 0x131a 89 rdi = not.q(rdi) 0x131d 90 rdi = rdi + r9 0x1320 91 rbx = rbx & 3 0x1324 92 if (rbx == 0) then 114 @ 0x135a else 115 @ 0x1326 0x150c 93 if (r9d u>= 0x20) then 118 @ 0x1522 else 125 @ 0x150e 0x12fc 94 rsi = rdx + r9 0x1300 95 rsi = rsi + rsp 0x1303 96 rsi = rsi + 0x200 0x130d 97 if (r15 u>= rsi) then 93 @ 0x150c else 69 @ 0x1313 0x1460 98 rax = rax - 1 0x146a 99 if (rax u<= 0xfa) then 127 @ 0x1495 else 76 @ 0x146c 0x1487 100 [rsp + rax - 2].b = [rsp + rax - 2].b + 1 0x148c 101 cl = cl - 0xa 0x148f 102 [rsp + rax - 1].b = cl 0x1493 103 goto 98 @ 0x1460 0x13e6 104 eax = eax - edx 0x13e8 105 rsi = rdx 0x13eb 106 rsi = not.q(rsi) 0x13ee 107 rsi = rsi + rcx 0x13f1 108 rax = rax & 3 0x13f5 109 if (rax == 0) then 131 @ 0x1415 else 132 @ 0x13f7 0x1515 110 if (ecx u>= 0x20) then 134 @ 0x15b1 else 141 @ 0x151b 0x13d4 111 rdx = r12 + rcx 0x13d8 112 rdx = rdx + rsp 0x13de 113 if (r14 u>= rdx) then 110 @ 0x1515 else 82 @ 0x13e4 0x135a 114 if (rdi u< 3) then 55 @ 0x13aa else 143 @ 0x135c 0x1326 115 rbp = rsp + rdx 0x132a 116 rbp = rbp + 0x200 0x133b 117 goto 146 @ 0x1340 0x1522 118 r8d = ebx 0x1525 119 r8d = r8d & 0x1f 0x1529 120 rsi = r9 0x152c 121 rsi = rsi - r8 0x152f 122 rbp = rsp + 0x210 {var_218} 0x1537 123 rdi = rsi 0x153a 124 goto 152 @ 0x1540 0x150e 125 esi = 0 0x1510 126 goto 160 @ 0x156f 0x1495 127 ebx = 0 0x1497 128 ebp = 0 0x1499 129 eax = 0 0x149b 130 goto 170 @ 0x14ba 0x1415 131 if (rsi u< 3) then 62 @ 0x144b else 172 @ 0x1417 0x13f7 132 rdi = rsp + r12 0x13fb 133 goto 175 @ 0x1400 0x15b1 134 esi = eax 0x15b3 135 esi = esi & 0x1f 0x15b6 136 rdx = rcx 0x15b9 137 rdx = rdx - rsi 0x15bc 138 rdi = rsp + 0x10 {var_418} 0x15c1 139 rbp = rdx 0x15ce 140 goto 181 @ 0x15d0 0x151b 141 edx = 0 0x151d 142 goto 189 @ 0x15fe 0x135c 143 rdx = rdx + r15 0x135f 144 rdx = rdx + 3 0x136d 145 goto 198 @ 0x1370 0x1340 146 ecx = zx.d([rsp + rsi + 0x200].b) 0x1348 147 [rbp + rsi].b = cl 0x134c 148 rsi = rsi + 1 0x1350 149 temp0.q = rbx 0x1350 150 rbx = rbx - 1 0x1354 151 if (temp0.q != 1) then 146 @ 0x1340 else 114 @ 0x135a 0x1540 152 xmm0 = [rbp - 0x10].o 0x1544 153 xmm1 = [rbp].o 0x1548 154 [rbp + rdx - 0x10].o = xmm0 0x154d 155 [rbp + rdx].o = xmm1 0x1552 156 rbp = rbp + 0x20 0x1556 157 temp1.q = rdi 0x1556 158 rdi = rdi - 0x20 0x155a 159 if (temp1.q != 0x20) then 152 @ 0x1540 else 208 @ 0x155f 0x156f 160 rdi = rsi 0x1572 161 r8d = ebx 0x1575 162 r8d = r8d & 7 0x1579 163 rsi = r9 0x157c 164 rsi = rsi - r8 0x157f 165 rbp = rsp + rdi 0x1583 166 rbp = rbp + 0x200 0x158a 167 rdi = rdi + r8 0x158d 168 rdi = rdi - r9 0x158d 169 goto 209 @ 0x1590 0x14ba 170 edi = sx.d([rsp + rbx + 0xfa].b) 0x14c4 171 if (eax != 0) then 215 @ 0x14a0 else 220 @ 0x14c6 0x1417 172 rax = r12 + r14 0x141b 173 rax = rax + 3 0x141f 174 goto 222 @ 0x1420 0x1400 175 ebx = zx.d([rsp + rdx].b) 0x1404 176 [rdi + rdx].b = bl 0x1407 177 rdx = rdx + 1 0x140b 178 temp2.q = rax 0x140b 179 rax = rax - 1 0x140f 180 if (temp2.q != 1) then 175 @ 0x1400 else 131 @ 0x1415 0x15d0 181 xmm0 = [rdi - 0x10].o 0x15d4 182 xmm1 = [rdi].o 0x15d7 183 [rdi + r12 - 0x10].o = xmm0 0x15dd 184 [rdi + r12].o = xmm1 0x15e2 185 rdi = rdi + 0x20 0x15e6 186 temp3.q = rbp 0x15e6 187 rbp = rbp - 0x20 0x15ea 188 if (temp3.q != 0x20) then 181 @ 0x15d0 else 232 @ 0x15ef 0x15fe 189 rsi = rdx 0x1601 190 edi = eax 0x1603 191 edi = edi & 7 0x1606 192 rdx = rcx 0x1609 193 rdx = rdx - rdi 0x160c 194 rbp = rsp + rsi 0x1610 195 rsi = rsi + rdi 0x1613 196 rsi = rsi - rcx 0x1616 197 goto 233 @ 0x1620 0x1370 198 ecx = zx.d([rsp + rsi + 0x200].b) 0x1378 199 [rdx + rsi - 3].b = cl 0x137c 200 ecx = zx.d([rsp + rsi + 0x201].b) 0x1384 201 [rdx + rsi - 2].b = cl 0x1388 202 ecx = zx.d([rsp + rsi + 0x202].b) 0x1390 203 [rdx + rsi - 1].b = cl 0x1394 204 ecx = zx.d([rsp + rsi + 0x203].b) 0x139c 205 [rdx + rsi].b = cl 0x139f 206 rsi = rsi + 4 0x13a6 207 if (r9 != rsi) then 198 @ 0x1370 else 55 @ 0x13aa 0x155f 208 if (r8 == 0) then 55 @ 0x13aa else 239 @ 0x1569 0x1590 209 rcx = [rbp].q 0x1594 210 [rbp + rdx].q = rcx 0x1599 211 rbp = rbp + 8 0x159d 212 temp4.q = rdi 0x159d 213 rdi = rdi + 8 0x15a1 214 if (temp4.q != -8) then 209 @ 0x1590 else 240 @ 0x15a6 0x14a0 215 call(0x1050) 0x14a5 216 ebp = ebp + 1 0x14a8 217 eax = 1 0x14ad 218 rbx = rbx + 1 0x14b8 219 if (rbx == 0xfa) then 241 @ 0x14de else 170 @ 0x14ba 0x14c6 220 eax = (rdi - 0x31).d 0x14cb 221 if (al u<= 8) then 215 @ 0x14a0 else 242 @ 0x14cd 0x1420 222 ebx = zx.d([rsp + rdx].b) 0x1424 223 [rax + rdx - 3].b = bl 0x1428 224 ebx = zx.d([rsp + rdx + 1].b) 0x142d 225 [rax + rdx - 2].b = bl 0x1431 226 ebx = zx.d([rsp + rdx + 2].b) 0x1436 227 [rax + rdx - 1].b = bl 0x143a 228 ebx = zx.d([rsp + rdx + 3].b) 0x143f 229 [rax + rdx].b = bl 0x1442 230 rdx = rdx + 4 0x1449 231 if (rcx != rdx) then 222 @ 0x1420 else 62 @ 0x144b 0x15ef 232 if (rsi == 0) then 62 @ 0x144b else 245 @ 0x15f8 0x1620 233 rbx = [rbp].q 0x1624 234 [rbp + r12].q = rbx 0x1629 235 rbp = rbp + 8 0x162d 236 temp5.q = rsi 0x162d 237 rsi = rsi + 8 0x1631 238 if (temp5.q != -8) then 233 @ 0x1620 else 246 @ 0x1636 0x1569 239 if (r8d u< 8) then 87 @ 0x1315 else 160 @ 0x156f 0x15a6 240 if (r8 != 0) then 87 @ 0x1315 else 247 @ 0x15ac 0x14de 241 if (ebp != 0) then 248 @ 0x14ea else 259 @ 0x14e0 0x14cd 242 eax = 0 0x14cf 243 rbx = rbx + 1 0x14da 244 if (rbx != 0xfa) then 170 @ 0x14ba else 241 @ 0x14de 0x15f8 245 if (esi u< 8) then 104 @ 0x13e6 else 189 @ 0x15fe 0x1636 246 if (rdi != 0) then 104 @ 0x13e6 else 262 @ 0x163c 0x15ac 247 goto 55 @ 0x13aa 0x14ea 248 edi = 0xa {""} 0x14ef 249 call(0x1050) 0x14f4 250 eax = 0 0x14f6 251 rsp = rsp + 0x3f8 0x14fd 252 rbx = pop 0x14fe 253 r12 = pop 0x1500 254 r13 = pop 0x1502 255 r14 = pop 0x1504 256 r15 = pop 0x1506 257 rbp = pop 0x1507 258 <return> jump(pop) 0x14e0 259 edi = 0x30 {""} 0x14e5 260 call(0x1050) 0x14e5 261 goto 248 @ 0x14ea 0x163c 262 goto 62 @ 0x144b int64_t _fini(): 0x1648 0 rsp = rsp - 8 0x164c 1 rsp = rsp + 8 0x1650 2 <return> jump(pop)
POJ_69
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) int32_t strcmp(char const* arg1, char const* arg2): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"UHH"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 rbp = rsp {__saved_rbp} 0x1184 2 rsp = rsp - 0x13d0 0x118b 3 [rbp - 4 {var_c}].d = 0 0x1192 4 rdi = rbp - 0x200 {var_208} 0x1199 5 esi = 0 0x119b 6 edx = 0x1f5 {""} 0x11a0 7 call(0x1040) 0x11a5 8 rdi = 0x2004 {"%d"} 0x11ac 9 rsi = rbp - 0x204 {var_20c} 0x11b3 10 al = 0 0x11b5 11 call(0x1060) 0x11ba 12 rsi = rbp - 0x200 {var_208} 0x11c1 13 rdi = 0x2007 {"%s"} 0x11c8 14 al = 0 0x11ca 15 call(0x1060) 0x11cf 16 [rbp - 0x208 {var_210}].d = 0 0x11d9 17 [rbp - 0x20c {var_214}].d = 0 0x11e3 18 rdi = rbp - 0xbd0 {var_bd8} 0x11ea 19 esi = 0 0x11ec 20 edx = 0x9c4 {""} 0x11f1 21 call(0x1040) 0x11f6 22 rdi = rbp - 0x200 {var_208} 0x11fd 23 call(0x1050) 0x1202 24 [rbp - 0x208 {var_210_1}].d = eax 0x1208 25 rdi = rbp - 0x13b0 {var_13b8} 0x120f 26 esi = 0 0x1211 27 edx = 0x7d0 {"@"} 0x1216 28 call(0x1040) 0x121b 29 [rbp - 0x13b4 {var_13bc}].d = 0 0x121b 30 goto 31 @ 0x1225 0x1225 31 [rbp - 0x13b8 {var_13c0_1}].d = 0 0x122f 32 eax = [rbp - 0x20c {var_214}].d 0x1235 33 [rbp - 0x13b4 {var_13bc_1}].d = eax 0x1235 34 goto 35 @ 0x123b 0x123b 35 eax = [rbp - 0x13b4 {var_13bc_1}].d 0x1241 36 ecx = [rbp - 0x204 {var_20c}].d 0x1247 37 ecx = ecx + [rbp - 0x20c {var_214}].d 0x124f 38 if (eax s>= ecx) then 39 @ 0x12a5 else 47 @ 0x1255 0x12a5 39 eax = [rbp - 0x20c {var_214}].d 0x12ab 40 eax = eax + 1 0x12ae 41 [rbp - 0x20c {var_214}].d = eax 0x12b4 42 eax = [rbp - 0x208 {var_210_1}].d 0x12ba 43 eax = eax - 1 0x12bd 44 [rbp - 0x208 {var_210_1}].d = eax 0x12c3 45 eax = [rbp - 0x208 {var_210_1}].d 0x12cf 46 if (eax s>= [rbp - 0x204 {var_20c}].d) then 31 @ 0x1225 else 62 @ 0x12d5 0x1255 47 rax = sx.q([rbp - 0x13b4 {var_13bc_1}].d) 0x125c 48 dl = [rbp + rax - 0x200].b 0x1263 49 rcx = sx.q([rbp - 0x20c {var_214}].d) 0x126a 50 rax = rbp - 0xbd0 {var_bd8} 0x1271 51 rcx = rcx * 5 0x1275 52 rax = rax + rcx 0x1278 53 rcx = sx.q([rbp - 0x13b8 {var_13c0_1}].d) 0x127f 54 [rax + rcx].b = dl 0x1282 55 eax = [rbp - 0x13b8 {var_13c0_1}].d 0x1288 56 eax = eax + 1 0x128b 57 [rbp - 0x13b8 {var_13c0_1}].d = eax 0x1291 58 eax = [rbp - 0x13b4 {var_13bc_1}].d 0x1297 59 eax = eax + 1 0x129a 60 [rbp - 0x13b4 {var_13bc_1}].d = eax 0x12a0 61 goto 35 @ 0x123b 0x12d5 62 [rbp - 0x13bc {var_13c4}].d = 0 0x12d5 63 goto 64 @ 0x12df 0x12df 64 [rbp - 0x13b4 {var_13bc_2}].d = 0 0x12df 65 goto 66 @ 0x12e9 0x12e9 66 eax = [rbp - 0x13b4 {var_13bc_2}].d 0x12f5 67 if (eax s>= [rbp - 0x20c {var_214}].d) then 68 @ 0x13d0 else 75 @ 0x12fb 0x13d0 68 eax = [rbp - 0x13bc {var_13c4}].d 0x13d6 69 eax = eax + 1 0x13d9 70 [rbp - 0x13bc {var_13c4}].d = eax 0x13df 71 eax = [rbp - 0x13bc {var_13c4}].d 0x13e5 72 ecx = [rbp - 0x20c {var_214}].d 0x13eb 73 ecx = ecx - 2 0x13f0 74 if (eax s< ecx) then 64 @ 0x12df else 85 @ 0x13f6 0x12fb 75 rax = sx.q([rbp - 0x13b4 {var_13bc_2}].d) 0x1302 76 rdi = rbp - 0xbd0 {var_bd8} 0x1309 77 rax = rax * 5 0x130d 78 rdi = rdi + rax 0x1310 79 rax = sx.q([rbp - 0x13bc {var_13c4}].d) 0x1317 80 rsi = rbp - 0xbd0 {var_bd8} 0x131e 81 rax = rax * 5 0x1322 82 rsi = rsi + rax 0x1325 83 call(0x1070) 0x132d 84 if (eax != 0) then 88 @ 0x13b7 else 89 @ 0x1333 0x13f6 85 [rbp - 0x13c8 {var_13d0}].d = 0 0x1400 86 [rbp - 0x13c4 {var_13cc}].d = 0 0x1400 87 goto 91 @ 0x140a 0x13b7 88 goto 93 @ 0x13bc 0x1333 89 eax = [rbp - 0x13bc {var_13c4}].d 0x133f 90 if (eax == [rbp - 0x13b4 {var_13bc_2}].d) then 88 @ 0x13b7 else 97 @ 0x1345 0x140a 91 eax = [rbp - 0x13c4 {var_13cc}].d 0x1416 92 if (eax s>= [rbp - 0x20c {var_214}].d) then 104 @ 0x146a else 105 @ 0x141c 0x13bc 93 eax = [rbp - 0x13b4 {var_13bc_2}].d 0x13c2 94 eax = eax + 1 0x13c5 95 [rbp - 0x13b4 {var_13bc_2}].d = eax 0x13cb 96 goto 66 @ 0x12e9 0x1345 97 rax = sx.q([rbp - 0x13bc {var_13c4}].d) 0x134c 98 ecx = [rbp + (rax << 2) - 0x13b0].d 0x1353 99 ecx = ecx + 1 0x1356 100 [rbp + (rax << 2) - 0x13b0].d = ecx 0x135d 101 [rbp - 0x13c0 {var_13c8_1}].d = 0 0x1367 102 [rbp - 0x13c0 {var_13c8_2}].d = 0 0x1367 103 goto 108 @ 0x1378 0x146a 104 if ([rbp - 0x13c8 {var_13d0}].d != 0) then 109 @ 0x148a else 116 @ 0x1470 0x141c 105 rax = sx.q([rbp - 0x13c4 {var_13cc}].d) 0x1423 106 eax = [rbp + (rax << 2) - 0x13b0].d 0x1430 107 if (eax s< [rbp - 0x13c8 {var_13d0}].d) then 121 @ 0x144a else 122 @ 0x1436 0x1378 108 if ([rbp - 0x13c0 {var_13c8_2}].d s>= 5) then 126 @ 0x13b2 else 127 @ 0x137e 0x148a 109 esi = [rbp - 0x13c8 {var_13d0}].d 0x1490 110 esi = esi + 1 0x1493 111 rdi = 0x200d {"%d\n"} 0x149a 112 al = 0 0x149c 113 call(0x1030) 0x14a1 114 [rbp - 0x13c4 {var_13cc_1}].d = 0 0x14a1 115 goto 137 @ 0x14ab 0x1470 116 rdi = 0x200a {"NO"} 0x1477 117 al = 0 0x1479 118 call(0x1030) 0x147e 119 [rbp - 4 {var_c_1}].d = 0 0x1485 120 goto 139 @ 0x1513 0x144a 121 goto 143 @ 0x144f 0x1436 122 rax = sx.q([rbp - 0x13c4 {var_13cc}].d) 0x143d 123 eax = [rbp + (rax << 2) - 0x13b0].d 0x1444 124 [rbp - 0x13c8 {var_13d0}].d = eax 0x1444 125 goto 121 @ 0x144a 0x13b2 126 goto 88 @ 0x13b7 0x137e 127 rcx = sx.q([rbp - 0x13b4 {var_13bc_2}].d) 0x1385 128 rax = rbp - 0xbd0 {var_bd8} 0x138c 129 rcx = rcx * 5 0x1390 130 rax = rax + rcx 0x1393 131 rcx = sx.q([rbp - 0x13c0 {var_13c8_2}].d) 0x139a 132 [rax + rcx].b = 0x30 {""} 0x139e 133 eax = [rbp - 0x13c0 {var_13c8_2}].d 0x13a4 134 eax = eax + 1 0x13a7 135 [rbp - 0x13c0 {var_13c8_2}].d = eax 0x13ad 136 goto 108 @ 0x1378 0x14ab 137 eax = [rbp - 0x13c4 {var_13cc_1}].d 0x14b7 138 if (eax s>= [rbp - 0x20c {var_214}].d) then 139 @ 0x1513 else 147 @ 0x14bd 0x1513 139 eax = [rbp - 4 {var_c_1}].d 0x1516 140 rsp = rsp + 0x13d0 0x151d 141 rbp = pop 0x151e 142 <return> jump(pop) 0x144f 143 eax = [rbp - 0x13c4 {var_13cc}].d 0x1455 144 eax = eax + 1 0x1458 145 [rbp - 0x13c4 {var_13cc}].d = eax 0x145e 146 goto 91 @ 0x140a 0x14bd 147 rax = sx.q([rbp - 0x13c4 {var_13cc_1}].d) 0x14c4 148 eax = [rbp + (rax << 2) - 0x13b0].d 0x14d1 149 if (eax != [rbp - 0x13c8 {var_13d0}].d) then 150 @ 0x14fa else 151 @ 0x14d7 0x14fa 150 goto 159 @ 0x14ff 0x14d7 151 rax = sx.q([rbp - 0x13c4 {var_13cc_1}].d) 0x14de 152 rsi = rbp - 0xbd0 {var_bd8} 0x14e5 153 rax = rax * 5 0x14e9 154 rsi = rsi + rax 0x14ec 155 rdi = 0x2011 {"%s\n"} 0x14f3 156 al = 0 0x14f5 157 call(0x1030) 0x14f5 158 goto 150 @ 0x14fa 0x14ff 159 eax = [rbp - 0x13c4 {var_13cc_1}].d 0x1505 160 eax = eax + 1 0x1508 161 [rbp - 0x13c4 {var_13cc_1}].d = eax 0x150e 162 goto 137 @ 0x14ab int64_t _fini(): 0x1524 0 rsp = rsp - 8 0x1528 1 rsp = rsp + 8 0x152c 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 {"AWAVATSPH="} 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 push(rax) 0x1158 5 rdi = 0x2004 {"%d"} 0x115f 6 rsi = rsp {var_28} 0x1162 7 eax = 0 0x1164 8 call(0x1040) 0x116d 9 if ([rsp {var_28}].d s<= 0) then 10 @ 0x1222 else 17 @ 0x1173 0x1222 10 eax = 0 0x1224 11 rsp = rsp + 8 0x1228 12 rbx = pop 0x1229 13 r12 = pop 0x122b 14 r14 = pop 0x122d 15 r15 = pop 0x122f 16 <return> jump(pop) 0x1173 17 ebx = 1 0x1178 18 r14 = 0x2004 {"%d"} 0x117f 19 r15 = rsp + 4 {var_28+0x4} 0x1184 20 r12 = 0x2007 {"%d\n"} 0x118b 21 goto 22 @ 0x11a4 0x11a4 22 rdi = r14 0x11a7 23 rsi = r15 {var_28+0x4} 0x11aa 24 eax = 0 0x11ac 25 call(0x1040) 0x11b1 26 edi = [rsp + 4 {var_28+0x4}].d 0x11b5 27 esi = 1 0x11bd 28 if (edi s< 2) then 29 @ 0x1190 else 36 @ 0x11bf 0x1190 29 rdi = r12 0x1193 30 eax = 0 0x1195 31 call(0x1030) 0x119a 32 eax = (rbx + 1).d 0x119d 33 cond:0 = ebx s>= [rsp {var_28}].d 0x11a0 34 ebx = eax 0x11a2 35 if (cond:0) then 10 @ 0x1222 else 22 @ 0x11a4 0x11bf 36 esi = (rdi - 1).d 0x11c2 37 edi = edi - 2 0x11c5 38 eax = esi 0x11c7 39 eax = eax & 7 0x11ca 40 ecx = 1 0x11cf 41 edx = 1 0x11d7 42 if (edi u< 7) then 43 @ 0x1205 else 45 @ 0x11d9 0x1205 43 esi = edx 0x1209 44 if (eax == 0) then 29 @ 0x1190 else 49 @ 0x120b 0x11d9 45 esi = esi & 0xfffffff8 0x11dc 46 ecx = 1 0x11e1 47 edx = 1 0x11e6 48 goto 50 @ 0x11f0 0x120b 49 goto 61 @ 0x1210 0x11f0 50 edx = edx + ecx 0x11f2 51 ecx = ecx + edx 0x11f4 52 edx = edx + ecx 0x11f6 53 ecx = ecx + edx 0x11f8 54 edx = edx + ecx 0x11fa 55 ecx = ecx + edx 0x11fc 56 edx = edx + ecx 0x11fe 57 ecx = ecx + edx 0x1200 58 temp0.d = esi 0x1200 59 esi = esi - 8 0x1203 60 if (temp0.d != 8) then 50 @ 0x11f0 else 43 @ 0x1205 0x1210 61 esi = ecx 0x1212 62 edx = edx + ecx 0x1214 63 ecx = edx 0x1216 64 edx = esi 0x1218 65 temp1.d = eax 0x1218 66 eax = eax - 1 0x121b 67 if (temp1.d != 1) then 61 @ 0x1210 else 68 @ 0x121d 0x121d 68 goto 29 @ 0x1190 int64_t _fini(): 0x1234 0 rsp = rsp - 8 0x1238 1 rsp = rsp + 8 0x123c 2 <return> jump(pop)
POJ_61
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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* strcpy(char* arg1, char const* arg2): 0x1060 0 <return> tailcall([0x4030].q) int32_t scanf(char const* format, ...): 0x1070 0 <return> tailcall([0x4038].q) char* gets(char* buf): 0x1080 0 <return> tailcall([0x4040].q) int32_t strcmp(char const* arg1, char const* arg2): 0x1090 0 <return> tailcall([0x4048].q) int32_t putchar(int32_t c): 0x10a0 0 <return> tailcall([0x4050].q) void __cxa_finalize(void* d): 0x10b0 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x10c4 0 ebp = 0 0x10c6 1 r9 = rdx 0x10c9 2 rsi = pop 0x10ca 3 rdx = rsp {arg_8} 0x10cd 4 rsp = rsp & 0xfffffffffffffff0 0x10d1 5 push(rax) 0x10d2 6 push(rsp) 0x10d3 7 r8d = 0 0x10d6 8 ecx = 0 0x10d8 9 rdi = 0x11b0 {"UAWAVAUATSH"} 0x10df 10 call([0x3ff8].q) 0x10df 11 noreturn void deregister_tm_clones(): 0x10f0 0 rdi = 0x4068 {""} 0x10f7 1 rax = 0x4068 {""} 0x1101 2 if (rax == rdi) then 3 @ 0x1118 else 4 @ 0x1103 0x1118 3 <return> jump(pop) 0x1103 4 rax = [0x3fd8].q 0x110d 5 if (rax == 0) then 3 @ 0x1118 else 6 @ 0x110f 0x110f 6 <return> tailcall(rax) void register_tm_clones(): 0x1120 0 rdi = 0x4068 {""} 0x1127 1 rsi = 0x4068 {""} 0x112e 2 rsi = rsi - rdi 0x1131 3 rax = rsi 0x1134 4 rsi = rsi u>> 0x3f 0x1138 5 rax = rax s>> 3 0x113c 6 rsi = rsi + rax 0x113f 7 rsi = rsi s>> 1 0x1142 8 if (rsi == 0) then 9 @ 0x1158 else 10 @ 0x1144 0x1158 9 <return> jump(pop) 0x1144 10 rax = [0x3ff0].q 0x114e 11 if (rax == 0) then 9 @ 0x1158 else 12 @ 0x1150 0x1150 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x116b 0 if ([0x4068].b != 0) then 1 @ 0x1198 else 2 @ 0x116d 0x1198 1 <return> jump(pop) 0x116d 2 push(rbp) 0x116e 3 cond:0 = [0x3fe0].q == 0 0x1176 4 rbp = rsp {__saved_rbp} 0x1179 5 if (cond:0) then 6 @ 0x1187 else 10 @ 0x117b 0x1187 6 call(0x10f0) 0x118c 7 [0x4068].b = 1 0x1193 8 rbp = pop 0x1194 9 <return> jump(pop) 0x117b 10 rdi = [0x4060].q 0x1182 11 call(0x10b0) 0x1182 12 goto 6 @ 0x1187 int64_t frame_dummy(): 0x11a4 0 <return> tailcall(0x1120) int32_t main(int32_t argc, char** argv, char** envp): 0x11b0 0 push(rbp) 0x11b1 1 push(r15) 0x11b3 2 push(r14) 0x11b5 3 push(r13) 0x11b7 4 push(r12) 0x11b9 5 push(rbx) 0x11ba 6 rsp = rsp - 0x888 0x11c1 7 rdi = rsp + 0xb0 {var_808} 0x11c9 8 ebp = 0 0x11cb 9 edx = 0x7d0 {"?"} 0x11d0 10 esi = 0 0x11d2 11 call(0x1040) 0x11d7 12 rbx = rsp + 0x40 {var_878} 0x11dc 13 rdi = rbx {var_878} 0x11df 14 eax = 0 0x11e1 15 call(0x1080) 0x11e6 16 rdi = rbx {var_878} 0x11e9 17 call(0x1050) 0x11f0 18 if (eax s<= 0) then 19 @ 0x12c3 else 29 @ 0x11f6 0x12c3 19 rbx = 0x2004 {"%s"} 0x12ca 20 rsi = rsp + 0x20 {var_898} 0x12cf 21 rdi = rbx 0x12d2 22 eax = 0 0x12d4 23 call(0x1070) 0x12d9 24 rsi = rsp {var_8b8} 0x12dc 25 rdi = rbx 0x12df 26 eax = 0 0x12e1 27 call(0x1070) 0x12e8 28 if (ebp s< 0) then 32 @ 0x135c else 43 @ 0x12ea 0x11f6 29 edx = eax 0x11f8 30 eax = eax & 1 0x11ff 31 if (rdx != 1) then 52 @ 0x120c else 57 @ 0x1201 0x135c 32 edi = 0xa {""} 0x1361 33 call(0x10a0) 0x1366 34 eax = 0 0x1368 35 rsp = rsp + 0x888 0x136f 36 rbx = pop 0x1370 37 r12 = pop 0x1372 38 r13 = pop 0x1374 39 r14 = pop 0x1376 40 r15 = pop 0x1378 41 rbp = pop 0x1379 42 <return> jump(pop) 0x12ea 43 eax = ebp 0x12ec 44 rax = rax << 2 0x12f0 45 r13 = rax + (rax << 2) 0x12f4 46 rbp = rax + (rax << 2) 0x12f8 47 rbp = rbp + 0x14 0x12fc 48 r15 = rsp + 0x20 {var_898} 0x1301 49 r12 = 0x2004 {"%s"} 0x1308 50 r14d = 0 0x130b 51 goto 61 @ 0x1319 0x120c 52 rdx = rdx - rax 0x120f 53 ecx = 0 0x1211 54 esi = 0 0x1213 55 ebp = 0 0x1215 56 goto 67 @ 0x122e 0x1201 57 ecx = 0 0x1203 58 esi = 0 0x1205 59 ebp = 0 0x1207 60 goto 69 @ 0x129c 0x1319 61 rbx = rsp + r14 0x131d 62 rbx = rbx + 0xb0 0x1324 63 rdi = rbx 0x1327 64 rsi = r15 {var_898} 0x132a 65 call(0x1090) 0x1331 66 if (eax != 0) then 70 @ 0x133e else 75 @ 0x1333 0x122e 67 ebx = zx.d([rsp + rcx + 0x40].b) 0x1236 68 if (bl != 0x20) then 79 @ 0x1250 else 88 @ 0x1238 0x129c 69 if (rax == 0) then 19 @ 0x12c3 else 92 @ 0x129e 0x133e 70 rdi = r12 0x1341 71 rsi = rbx 0x1344 72 eax = 0 0x1346 73 call(0x1030) 0x134e 74 if (r13 == r14) then 94 @ 0x1310 else 96 @ 0x1350 0x1333 75 rdi = rbx 0x1336 76 rsi = rsp {var_8b8} 0x1339 77 call(0x1060) 0x1339 78 goto 70 @ 0x133e 0x1250 79 rdi = sx.q(ebp) 0x1253 80 rsi = sx.q(esi) 0x1256 81 rdi = rdi + (rdi << 2) 0x125a 82 rdi = rsp + (rdi << 2) 0x125e 83 rdi = rdi + 0xb0 0x1265 84 [rsi + rdi].b = bl 0x1268 85 esi = esi + 1 0x126b 86 ebx = zx.d([rsp + rcx + 0x41].b) 0x1273 87 if (bl == 0x20) then 99 @ 0x1220 else 103 @ 0x1275 0x1238 88 ebp = ebp + 1 0x123b 89 esi = 0 0x123d 90 ebx = zx.d([rsp + rcx + 0x41].b) 0x1245 91 if (bl == 0x20) then 99 @ 0x1220 else 112 @ 0x1247 0x129e 92 al = [rsp + rcx + 0x40].b 0x12a4 93 if (al != 0x20) then 113 @ 0x12ab else 120 @ 0x12a6 0x1310 94 r14 = r14 + 0x14 0x1317 95 if (rbp == r14) then 32 @ 0x135c else 61 @ 0x1319 0x1350 96 edi = 0x20 {"@"} 0x1355 97 call(0x10a0) 0x135a 98 goto 94 @ 0x1310 0x1220 99 ebp = ebp + 1 0x1223 100 esi = 0 0x1225 101 rcx = rcx + 2 0x122c 102 if (rdx == rcx) then 69 @ 0x129c else 67 @ 0x122e 0x1275 103 rdi = sx.q(ebp) 0x1278 104 rsi = sx.q(esi) 0x127b 105 rdi = rdi + (rdi << 2) 0x127f 106 rdi = rsp + (rdi << 2) 0x1283 107 rdi = rdi + 0xb0 0x128a 108 [rsi + rdi].b = bl 0x128d 109 esi = esi + 1 0x1290 110 rcx = rcx + 2 0x1297 111 if (rdx != rcx) then 67 @ 0x122e else 69 @ 0x129c 0x1247 112 goto 103 @ 0x1275 0x12ab 113 rcx = sx.q(ebp) 0x12ae 114 rdx = sx.q(esi) 0x12b1 115 rcx = rcx + (rcx << 2) 0x12b5 116 rcx = rsp + (rcx << 2) 0x12b9 117 rcx = rcx + 0xb0 0x12c0 118 [rdx + rcx].b = al 0x12c0 119 goto 19 @ 0x12c3 0x12a6 120 ebp = ebp + 1 0x12a9 121 goto 19 @ 0x12c3 int64_t _fini(): 0x1380 0 rsp = rsp - 8 0x1384 1 rsp = rsp + 8 0x1388 2 <return> jump(pop)
POJ_19
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 {"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 - 0x3c0 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rdi = rbp - 0x220 {var_228} 0x1189 5 esi = 0 0x118b 6 edx = 0x198 {"(-"} 0x1190 7 call(0x1040) 0x1195 8 rdi = rbp - 0x3c0 {var_3c8} 0x119c 9 esi = 0 0x119e 10 edx = 0x198 {"(-"} 0x11a3 11 call(0x1040) 0x11a8 12 rsi = rbp - 0x80 {var_88} 0x11ac 13 rdi = 0x2004 {"%s"} 0x11b3 14 al = 0 0x11b5 15 call(0x1060) 0x11ba 16 rdi = rbp - 0x80 {var_88} 0x11be 17 call(0x1050) 0x11c3 18 [rbp - 8 {var_10}].d = eax 0x11c6 19 [rbp - 0xc {var_14}].d = 0 0x11c6 20 goto 21 @ 0x11cd 0x11cd 21 eax = [rbp - 0xc {var_14}].d 0x11d3 22 if (eax s>= [rbp - 8 {var_10}].d) then 23 @ 0x1202 else 24 @ 0x11d9 0x1202 23 if ([rbp - 8 {var_10}].d != 1) then 33 @ 0x122f else 38 @ 0x1208 0x11d9 24 rax = sx.q([rbp - 0xc {var_14}].d) 0x11dd 25 ecx = sx.d([rbp + rax - 0x80].b) 0x11e2 26 ecx = ecx - 0x30 0x11e5 27 rax = sx.q([rbp - 0xc {var_14}].d) 0x11e9 28 [rbp + (rax << 2) - 0x220].d = ecx 0x11f0 29 eax = [rbp - 0xc {var_14}].d 0x11f3 30 eax = eax + 1 0x11f6 31 [rbp - 0xc {var_14}].d = eax 0x11f9 32 goto 21 @ 0x11cd 0x122f 33 eax = [rbp - 0x220 {var_228}].d * 0xa 0x1236 34 eax = eax + [rbp - 0x21c {var_224}].d 0x123c 35 [rbp - 0x10 {var_18_1}].d = eax 0x123f 36 [rbp - 0xc {var_14_1}].d = 1 0x123f 37 goto 46 @ 0x1246 0x1208 38 rdi = 0x2007 {"0\n"} 0x120f 39 al = 0 0x1211 40 call(0x1030) 0x1216 41 esi = [rbp - 0x220 {var_228}].d 0x121c 42 rdi = 0x200a {"%d"} 0x1223 43 al = 0 0x1225 44 call(0x1030) 0x122a 45 goto 48 @ 0x1411 0x1246 46 eax = [rbp - 0xc {var_14_1}].d 0x124c 47 if (eax s>= [rbp - 8 {var_10}].d) then 52 @ 0x12e3 else 53 @ 0x1252 0x1411 48 eax = [rbp - 4 {var_c}].d 0x1414 49 rsp = rsp + 0x3c0 0x141b 50 rbp = pop 0x141c 51 <return> jump(pop) 0x12e3 52 if ([rbp - 0x3c0 {var_3c8}].d != 0) then 75 @ 0x1360 else 76 @ 0x12f0 0x1252 53 eax = [rbp - 0x10 {var_18_1}].d 0x1255 54 ecx = 0xd {""} 0x125a 55 temp2.d:temp3.d = sx.q(eax) 0x125a 56 edx = temp2.d 0x125a 57 eax = temp3.d 0x125b 58 temp4.d = edx 0x125b 59 temp5.d = eax 0x125b 60 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x125b 61 temp6.d = edx 0x125b 62 temp7.d = eax 0x125b 63 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x125b 64 eax = temp0.d 0x125b 65 edx = temp1.d 0x125d 66 ecx = eax 0x125f 67 eax = [rbp - 0xc {var_14_1}].d 0x1262 68 eax = eax - 1 0x1265 69 rax = sx.q(eax) 0x1267 70 [rbp + (rax << 2) - 0x3c0].d = ecx 0x126e 71 eax = [rbp - 0xc {var_14_1}].d 0x1271 72 ecx = [rbp - 8 {var_10}].d 0x1274 73 ecx = ecx - 1 0x1279 74 if (eax == ecx) then 77 @ 0x12a5 else 81 @ 0x127f 0x1360 75 if ([rbp - 0x3c0 {var_3c8}].d == 0) then 101 @ 0x13d0 else 102 @ 0x1366 0x12f0 76 if ([rbp - 0x3bc {var_3c4}].d == 0) then 75 @ 0x1360 else 104 @ 0x12f6 0x12a5 77 eax = [rbp - 0xc {var_14_1}].d 0x12a8 78 ecx = [rbp - 8 {var_10}].d 0x12ab 79 ecx = ecx - 1 0x12b0 80 if (eax != ecx) then 106 @ 0x12c4 else 107 @ 0x12b6 0x127f 81 eax = [rbp - 0x10 {var_18_1}].d 0x1282 82 ecx = 0xd {""} 0x1287 83 temp8.d:temp9.d = sx.q(eax) 0x1287 84 edx = temp8.d 0x1287 85 eax = temp9.d 0x1288 86 temp10.d = edx 0x1288 87 temp11.d = eax 0x1288 88 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x1288 89 temp12.d = edx 0x1288 90 temp13.d = eax 0x1288 91 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x1288 92 eax = temp0.d 0x1288 93 edx = temp1.d 0x128a 94 eax = edx * 0xa 0x128d 95 ecx = [rbp - 0xc {var_14_1}].d 0x1290 96 ecx = ecx + 1 0x1293 97 rcx = sx.q(ecx) 0x1296 98 eax = eax + [rbp + (rcx << 2) - 0x220].d 0x129d 99 [rbp - 0x10 {var_18_1}].d = eax 0x12a0 100 goto 122 @ 0x12c9 0x13d0 101 if ([rbp - 0x3c0 {var_3c8}].d != 0) then 123 @ 0x1402 else 124 @ 0x13dd 0x1366 102 [rbp - 0xc {var_14_3}].d = 0 0x1366 103 goto 125 @ 0x136d 0x12f6 104 [rbp - 0xc {var_14_2}].d = 1 0x12f6 105 goto 129 @ 0x12fd 0x12c4 106 goto 122 @ 0x12c9 0x12b6 107 eax = [rbp - 0x10 {var_18_1}].d 0x12b9 108 ecx = 0xd {""} 0x12be 109 temp14.d:temp15.d = sx.q(eax) 0x12be 110 edx = temp14.d 0x12be 111 eax = temp15.d 0x12bf 112 temp16.d = edx 0x12bf 113 temp17.d = eax 0x12bf 114 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x12bf 115 temp18.d = edx 0x12bf 116 temp19.d = eax 0x12bf 117 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x12bf 118 eax = temp0.d 0x12bf 119 edx = temp1.d 0x12c1 120 [rbp - 0x14 {var_1c}].d = edx 0x12c1 121 goto 106 @ 0x12c4 0x12c9 122 goto 133 @ 0x12ce 0x1402 123 goto 137 @ 0x1407 0x13dd 124 if ([rbp - 0x3bc {var_3c4}].d != 0) then 123 @ 0x1402 else 138 @ 0x13e3 0x136d 125 eax = [rbp - 0xc {var_14_3}].d 0x1370 126 ecx = [rbp - 8 {var_10}].d 0x1373 127 ecx = ecx - 1 0x1378 128 if (eax s>= ecx) then 146 @ 0x13a5 else 154 @ 0x137e 0x12fd 129 eax = [rbp - 0xc {var_14_2}].d 0x1300 130 ecx = [rbp - 8 {var_10}].d 0x1303 131 ecx = ecx - 1 0x1308 132 if (eax s>= ecx) then 163 @ 0x1335 else 171 @ 0x130e 0x12ce 133 eax = [rbp - 0xc {var_14_1}].d 0x12d1 134 eax = eax + 1 0x12d4 135 [rbp - 0xc {var_14_1}].d = eax 0x12d7 136 goto 46 @ 0x1246 0x1407 137 goto 180 @ 0x140c 0x13e3 138 rdi = 0x2007 {"0\n"} 0x13ea 139 al = 0 0x13ec 140 call(0x1030) 0x13f1 141 esi = [rbp - 0x10 {var_18_1}].d 0x13f4 142 rdi = 0x200a {"%d"} 0x13fb 143 al = 0 0x13fd 144 call(0x1030) 0x13fd 145 goto 123 @ 0x1402 0x13a5 146 rdi = 0x2008 {"\n"} 0x13ac 147 al = 0 0x13ae 148 call(0x1030) 0x13b3 149 esi = [rbp - 0x14 {var_1c}].d 0x13b6 150 rdi = 0x200a {"%d"} 0x13bd 151 al = 0 0x13bf 152 call(0x1030) 0x13c4 153 goto 137 @ 0x1407 0x137e 154 rax = sx.q([rbp - 0xc {var_14_3}].d) 0x1382 155 esi = [rbp + (rax << 2) - 0x3c0].d 0x1389 156 rdi = 0x200a {"%d"} 0x1390 157 al = 0 0x1392 158 call(0x1030) 0x1397 159 eax = [rbp - 0xc {var_14_3}].d 0x139a 160 eax = eax + 1 0x139d 161 [rbp - 0xc {var_14_3}].d = eax 0x13a0 162 goto 125 @ 0x136d 0x1335 163 rdi = 0x2008 {"\n"} 0x133c 164 al = 0 0x133e 165 call(0x1030) 0x1343 166 esi = [rbp - 0x14 {var_1c}].d 0x1346 167 rdi = 0x200a {"%d"} 0x134d 168 al = 0 0x134f 169 call(0x1030) 0x1354 170 goto 180 @ 0x140c 0x130e 171 rax = sx.q([rbp - 0xc {var_14_2}].d) 0x1312 172 esi = [rbp + (rax << 2) - 0x3c0].d 0x1319 173 rdi = 0x200a {"%d"} 0x1320 174 al = 0 0x1322 175 call(0x1030) 0x1327 176 eax = [rbp - 0xc {var_14_2}].d 0x132a 177 eax = eax + 1 0x132d 178 [rbp - 0xc {var_14_2}].d = eax 0x1330 179 goto 129 @ 0x12fd 0x140c 180 goto 48 @ 0x1411 int64_t _fini(): 0x1424 0 rsp = rsp - 8 0x1428 1 rsp = rsp + 8 0x142c 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) 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 - 0x3a0 0x116b 3 rdi = 0x2004 {"%d"} 0x1172 4 rsi = rbp - 0x324 {var_32c} 0x1179 5 al = 0 0x117b 6 call(0x1050) 0x1180 7 [rbp - 0x32c {var_334}].d = 0 0x1180 8 goto 9 @ 0x118a 0x118a 9 eax = [rbp - 0x32c {var_334}].d 0x1196 10 if (eax s>= [rbp - 0x324 {var_32c}].d) then 11 @ 0x1442 else 14 @ 0x119c 0x1442 11 rsp = rsp + 0x3a0 0x1449 12 rbp = pop 0x144a 13 <return> jump(pop) 0x119c 14 rsi = rbp - 0x3a0 {var_3a8} 0x11a3 15 rdi = 0x2007 {"%s"} 0x11aa 16 al = 0 0x11ac 17 call(0x1050) 0x11b1 18 rdi = rbp - 0x3a0 {var_3a8} 0x11b8 19 call(0x1040) 0x11bd 20 [rbp - 0x330 {var_338_1}].d = eax 0x11c3 21 eax = [rbp - 0x330 {var_338_1}].d 0x11c9 22 eax = eax - 1 0x11cc 23 [rbp - 0x328 {var_330_1}].d = eax 0x11cc 24 goto 25 @ 0x11d9 0x11d9 25 if ([rbp - 0x328 {var_330_1}].d s< 0) then 26 @ 0x121d else 37 @ 0x11df 0x121d 26 rsi = rbp - 0x3a0 {var_3a8} 0x1224 27 rdi = 0x2007 {"%s"} 0x122b 28 al = 0 0x122d 29 call(0x1050) 0x1232 30 rdi = rbp - 0x3a0 {var_3a8} 0x1239 31 call(0x1040) 0x123e 32 [rbp - 0x334 {var_33c_1}].d = eax 0x1244 33 eax = [rbp - 0x334 {var_33c_1}].d 0x124a 34 eax = eax - 1 0x124d 35 [rbp - 0x328 {var_330_2}].d = eax 0x124d 36 goto 49 @ 0x125a 0x11df 37 eax = [rbp - 0x330 {var_338_1}].d 0x11e5 38 eax = eax - [rbp - 0x328 {var_330_1}].d 0x11eb 39 eax = eax - 1 0x11ee 40 rax = sx.q(eax) 0x11f0 41 ecx = sx.d([rbp + rax - 0x3a0].b) 0x11f8 42 ecx = ecx - 0x30 0x11fb 43 rax = sx.q([rbp - 0x328 {var_330_1}].d) 0x1202 44 [rbp + (rax << 2) - 0x190].d = ecx 0x1209 45 eax = [rbp - 0x328 {var_330_1}].d 0x120f 46 eax = eax - 1 0x1212 47 [rbp - 0x328 {var_330_1}].d = eax 0x1218 48 goto 25 @ 0x11d9 0x125a 49 if ([rbp - 0x328 {var_330_2}].d s< 0) then 50 @ 0x129e else 52 @ 0x1260 0x129e 50 [rbp - 0x328 {var_330_3}].d = 0 0x129e 51 goto 64 @ 0x12a8 0x1260 52 eax = [rbp - 0x334 {var_33c_1}].d 0x1266 53 eax = eax - [rbp - 0x328 {var_330_2}].d 0x126c 54 eax = eax - 1 0x126f 55 rax = sx.q(eax) 0x1271 56 ecx = sx.d([rbp + rax - 0x3a0].b) 0x1279 57 ecx = ecx - 0x30 0x127c 58 rax = sx.q([rbp - 0x328 {var_330_2}].d) 0x1283 59 [rbp + (rax << 2) - 0x320].d = ecx 0x128a 60 eax = [rbp - 0x328 {var_330_2}].d 0x1290 61 eax = eax - 1 0x1293 62 [rbp - 0x328 {var_330_2}].d = eax 0x1299 63 goto 49 @ 0x125a 0x12a8 64 eax = [rbp - 0x328 {var_330_3}].d 0x12b4 65 if (eax s>= [rbp - 0x334 {var_33c_1}].d) then 66 @ 0x1346 else 67 @ 0x12ba 0x1346 66 goto 75 @ 0x134b 0x12ba 67 rax = sx.q([rbp - 0x328 {var_330_3}].d) 0x12c1 68 ecx = [rbp + (rax << 2) - 0x190].d 0x12c8 69 rax = sx.q([rbp - 0x328 {var_330_3}].d) 0x12cf 70 ecx = ecx - [rbp + (rax << 2) - 0x320].d 0x12d6 71 rax = sx.q([rbp - 0x328 {var_330_3}].d) 0x12dd 72 [rbp + (rax << 2) - 0x190].d = ecx 0x12e4 73 rax = sx.q([rbp - 0x328 {var_330_3}].d) 0x12f3 74 if ([rbp + (rax << 2) - 0x190].d s>= 0) then 77 @ 0x132d else 78 @ 0x12f9 0x134b 75 rax = sx.q([rbp - 0x328 {var_330_3}].d) 0x135a 76 if ([rbp + (rax << 2) - 0x190].d s>= 0) then 89 @ 0x139f else 93 @ 0x1360 0x132d 77 goto 105 @ 0x1332 0x12f9 78 rax = sx.q([rbp - 0x328 {var_330_3}].d) 0x1300 79 ecx = [rbp + (rax << 2) - 0x190].d 0x1307 80 ecx = ecx + 0xa 0x130a 81 [rbp + (rax << 2) - 0x190].d = ecx 0x1311 82 eax = [rbp - 0x328 {var_330_3}].d 0x1317 83 eax = eax + 1 0x131a 84 rax = sx.q(eax) 0x131c 85 ecx = [rbp + (rax << 2) - 0x190].d 0x1323 86 ecx = ecx - 1 0x1326 87 [rbp + (rax << 2) - 0x190].d = ecx 0x1326 88 goto 77 @ 0x132d 0x139f 89 eax = [rbp - 0x330 {var_338_1}].d 0x13a5 90 eax = eax - 1 0x13a8 91 [rbp - 0x330 {var_338_2}].d = eax 0x13a8 92 goto 109 @ 0x13ae 0x1360 93 rax = sx.q([rbp - 0x328 {var_330_3}].d) 0x1367 94 ecx = [rbp + (rax << 2) - 0x190].d 0x136e 95 ecx = ecx + 0xa 0x1371 96 [rbp + (rax << 2) - 0x190].d = ecx 0x1378 97 eax = [rbp - 0x328 {var_330_3}].d 0x137e 98 eax = eax + 1 0x1381 99 [rbp - 0x328 {var_330_3}].d = eax 0x1387 100 rax = sx.q(eax) 0x1389 101 ecx = [rbp + (rax << 2) - 0x190].d 0x1390 102 ecx = ecx - 1 0x1393 103 [rbp + (rax << 2) - 0x190].d = ecx 0x139a 104 goto 75 @ 0x134b 0x1332 105 eax = [rbp - 0x328 {var_330_3}].d 0x1338 106 eax = eax + 1 0x133b 107 [rbp - 0x328 {var_330_3}].d = eax 0x1341 108 goto 64 @ 0x12a8 0x13ae 109 rax = sx.q([rbp - 0x330 {var_338_2}].d) 0x13bd 110 if ([rbp + (rax << 2) - 0x190].d != 0) then 111 @ 0x13d7 else 114 @ 0x13c3 0x13d7 111 eax = [rbp - 0x330 {var_338_2}].d 0x13dd 112 [rbp - 0x328 {var_330_4}].d = eax 0x13dd 113 goto 118 @ 0x13ea 0x13c3 114 eax = [rbp - 0x330 {var_338_2}].d 0x13c9 115 eax = eax - 1 0x13cc 116 [rbp - 0x330 {var_338_2}].d = eax 0x13d2 117 goto 109 @ 0x13ae 0x13ea 118 if ([rbp - 0x328 {var_330_4}].d s< 0) then 119 @ 0x1420 else 126 @ 0x13f0 0x1420 119 rdi = 0x200a {"\n"} 0x1427 120 al = 0 0x1429 121 call(0x1030) 0x142e 122 eax = [rbp - 0x32c {var_334}].d 0x1434 123 eax = eax + 1 0x1437 124 [rbp - 0x32c {var_334}].d = eax 0x143d 125 goto 9 @ 0x118a 0x13f0 126 rax = sx.q([rbp - 0x328 {var_330_4}].d) 0x13f7 127 esi = [rbp + (rax << 2) - 0x190].d 0x13fe 128 rdi = 0x2004 {"%d"} 0x1405 129 al = 0 0x1407 130 call(0x1030) 0x140c 131 eax = [rbp - 0x328 {var_330_4}].d 0x1412 132 eax = eax - 1 0x1415 133 [rbp - 0x328 {var_330_4}].d = eax 0x141b 134 goto 118 @ 0x13ea int64_t _fini(): 0x1450 0 rsp = rsp - 8 0x1454 1 rsp = rsp + 8 0x1458 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) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x4c8 0x1171 7 rdi = 0x2004 {"%d"} 0x1178 8 rsi = rsp + 0xc {var_4ec} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 0xc {var_4ec}].d s<= 0) then 12 @ 0x13a5 else 13 @ 0x118f 0x13a5 12 goto 18 @ 0x1445 0x118f 13 r14 = rsp + 0x1a0 {var_358} 0x1197 14 r12 = rsp + 0x330 {var_1c8} 0x119f 15 r15 = 0x2007 {"%f%f"} 0x11a6 16 ebx = 0 0x11a8 17 goto 28 @ 0x11b0 0x1445 18 xmm0 = 0 0x1448 19 xmm0.q = fconvert.d(xmm1.d) 0x144c 20 xmm1 = 0 0x144f 21 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x144f 22 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x144f 23 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x144f 24 flag:s = 0 0x144f 25 flag:o = 0 0x144f 26 flag:a = 0 0x1453 27 if (flag:c) then 38 @ 0x145b else 40 @ 0x1455 0x11b0 28 rdi = r15 0x11b3 29 rsi = r12 0x11b6 30 rdx = r14 0x11b9 31 eax = 0 0x11bb 32 call(0x1040) 0x11c0 33 rbx = rbx + 1 0x11c4 34 rax = sx.q([rsp + 0xc {var_4ec}].d) 0x11c9 35 r14 = r14 + 4 0x11cd 36 r12 = r12 + 4 0x11d4 37 if (rbx s< rax) then 28 @ 0x11b0 else 42 @ 0x11d6 0x145b 38 call(0x1050) 0x145b 39 goto 44 @ 0x1460 0x1455 40 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1459 41 goto 44 @ 0x1460 0x11d6 42 r10d = eax 0x11dd 43 if (r10d s< 2) then 18 @ 0x1445 else 55 @ 0x11e3 0x1460 44 rdi = 0x200c {"%.4f\n"} 0x1467 45 al = 1 0x1469 46 call(0x1030) 0x146e 47 rsp = rsp + 0x4c8 0x1475 48 rbx = pop 0x1476 49 r12 = pop 0x1478 50 r13 = pop 0x147a 51 r14 = pop 0x147c 52 r15 = pop 0x147e 53 rbp = pop 0x147f 54 <return> jump(pop) 0x11e3 55 r9d = (r10 - 1).d 0x11e7 56 rdx = rsp + 0x1b4 {var_344} 0x11ef 57 rsi = rsp + 0x344 {var_1b4} 0x11f7 58 r13 = r10 - 5 0x11fb 59 r12d = 0 0x11fe 60 r8d = 1 0x1204 61 r14d = 0 0x1207 62 goto 63 @ 0x1229 0x1229 63 rax = r12 0x122c 64 r12 = r12 + 1 0x1233 65 if (r10d s<= r12d) then 66 @ 0x1210 else 71 @ 0x1235 0x1210 66 r8 = r8 + 1 0x1214 67 rdx = rdx + 4 0x1218 68 rsi = rsi + 4 0x121c 69 r13 = r13 - 1 0x1223 70 if (r12 == r9) then 78 @ 0x13aa else 63 @ 0x1229 0x1235 71 rcx = rax 0x1238 72 rcx = not.q(rcx) 0x123b 73 r11 = rcx + r10 0x123f 74 xmm0 = [rsp + (rax << 2) + 0x330].d 0x1248 75 xmm1 = [rsp + (rax << 2) + 0x1a0].d 0x1251 76 r14 = sx.q(r14d) 0x1258 77 if (r11 u>= 4) then 80 @ 0x1270 else 90 @ 0x125a 0x13aa 78 xmm0 = [rsp + 0x10 {var_4e8}].d 0x13b4 79 if (r14d s< 2) then 92 @ 0x13d3 else 94 @ 0x13b6 0x1270 80 rax = rcx + r10 0x1274 81 rax = rax - 4 0x1278 82 r15 = rax 0x127b 83 r15 = r15 u>> 2 0x127f 84 r15 = r15 + 1 0x1283 85 xmm3 = xmm0 0x1286 86 xmm3 = _mm_shuffle_ps(xmm3, xmm0, 0) 0x128a 87 xmm2 = xmm1 0x128d 88 xmm2 = _mm_shuffle_ps(xmm2, xmm1, 0) 0x1295 89 if (rax u>= 4) then 100 @ 0x129b else 108 @ 0x1297 0x125a 90 rbx = r8 0x125d 91 goto 110 @ 0x134a 0x13d3 92 xmm1 = xmm0 0x13d6 93 goto 18 @ 0x1445 0x13b6 94 ecx = r14d 0x13b9 95 rdx = rcx - 1 0x13bd 96 rcx = rcx - 2 0x13c1 97 eax = edx 0x13c3 98 eax = eax & 3 0x13ca 99 if (rcx u>= 3) then 120 @ 0x13d8 else 123 @ 0x13cc 0x129b 100 rbx = r13 0x129e 101 rbx = rbx u>> 2 0x12a2 102 rbx = rbx + 1 0x12a6 103 rbx = rbx & 0xfffffffffffffffe 0x12aa 104 rax = rsp + 0x20 {var_4d8} 0x12af 105 rax = rax + (r14 << 2) 0x12b3 106 ecx = 0 0x12bf 107 goto 125 @ 0x12c0 0x1297 108 ecx = 0 0x1299 109 goto 145 @ 0x1303 0x134a 110 rax = rsp + (rbx << 2) 0x134e 111 rax = rax + 0x1a0 0x1354 112 rcx = rsp + (rbx << 2) 0x1358 113 rcx = rcx + 0x330 0x135f 114 rdi = r10 0x1362 115 rdi = rdi - rbx 0x1365 116 rbp = rsp + (r14 << 2) 0x1369 117 rbp = rbp + 0x10 0x136d 118 ebx = 0 0x136f 119 goto 148 @ 0x1370 0x13d8 120 rdx = rdx & 0xfffffffffffffffc 0x13dc 121 ecx = 0 0x13de 122 goto 158 @ 0x13e0 0x13cc 123 ecx = 1 0x13d1 124 goto 168 @ 0x1415 0x12c0 125 xmm4 = [rsi + (rcx << 2) - 0x10].o 0x12c5 126 xmm4 = _mm_sub_ps(xmm4, xmm3) 0x12c8 127 xmm5 = [rdx + (rcx << 2) - 0x10].o 0x12cd 128 xmm5 = _mm_sub_ps(xmm5, xmm2) 0x12d0 129 xmm5 = _mm_mul_ps(xmm5, xmm5) 0x12d3 130 xmm4 = _mm_mul_ps(xmm4, xmm4) 0x12d6 131 xmm4 = _mm_add_ps(xmm4, xmm5) 0x12d9 132 [rax + (rcx << 2) - 0x10].o = xmm4 0x12de 133 xmm4 = [rsi + (rcx << 2)].o 0x12e2 134 xmm4 = _mm_sub_ps(xmm4, xmm3) 0x12e5 135 xmm5 = [rdx + (rcx << 2)].o 0x12e9 136 xmm5 = _mm_sub_ps(xmm5, xmm2) 0x12ec 137 xmm5 = _mm_mul_ps(xmm5, xmm5) 0x12ef 138 xmm4 = _mm_mul_ps(xmm4, xmm4) 0x12f2 139 xmm4 = _mm_add_ps(xmm4, xmm5) 0x12f5 140 [rax + (rcx << 2)].o = xmm4 0x12f9 141 rcx = rcx + 8 0x12fd 142 temp0.q = rbx 0x12fd 143 rbx = rbx - 2 0x1301 144 if (temp0.q != 2) then 125 @ 0x12c0 else 145 @ 0x1303 0x1303 145 rbx = r11 0x1306 146 rbx = rbx & 0xfffffffffffffffc 0x130e 147 if ((r15b & 1) == 0) then 170 @ 0x133b else 172 @ 0x1310 0x1370 148 xmm2 = [rcx + (rbx << 2)].d 0x1375 149 xmm2.d = xmm2.d f- xmm0.d 0x1379 150 xmm3 = [rax + (rbx << 2)].d 0x137e 151 xmm3.d = xmm3.d f- xmm1.d 0x1382 152 xmm3.d = xmm3.d f* xmm3.d 0x1386 153 xmm2.d = xmm2.d f* xmm2.d 0x138a 154 xmm2.d = xmm2.d f+ xmm3.d 0x138e 155 [rbp + (rbx << 2)].d = xmm2.d 0x1394 156 rbx = rbx + 1 0x139b 157 if (rdi != rbx) then 148 @ 0x1370 else 183 @ 0x139d 0x13e0 158 xmm1 = [rsp + (rcx << 2) + 0x14].d 0x13e6 159 xmm1 = _mm_max_ss(xmm1.d, xmm0.d) 0x13ea 160 xmm0 = [rsp + (rcx << 2) + 0x18].d 0x13f0 161 xmm0 = _mm_max_ss(xmm0.d, xmm1.d) 0x13f4 162 xmm1 = [rsp + (rcx << 2) + 0x1c].d 0x13fa 163 xmm1 = _mm_max_ss(xmm1.d, xmm0.d) 0x13fe 164 xmm0 = [rsp + (rcx << 2) + 0x20].d 0x1404 165 xmm0 = _mm_max_ss(xmm0.d, xmm1.d) 0x1408 166 rcx = rcx + 4 0x140f 167 if (rdx != rcx) then 158 @ 0x13e0 else 185 @ 0x1411 0x1415 168 xmm1 = xmm0 0x141b 169 if (rax == 0) then 18 @ 0x1445 else 187 @ 0x141d 0x133b 170 r14 = r14 + rbx 0x1341 171 if (r11 == rbx) then 66 @ 0x1210 else 191 @ 0x1347 0x1310 172 rax = r8 + rcx 0x1314 173 rcx = rcx + r14 0x1317 174 xmm4 = [rsp + (rax << 2) + 0x330].o 0x131f 175 xmm4 = _mm_sub_ps(xmm4, xmm3) 0x1322 176 xmm3 = [rsp + (rax << 2) + 0x1a0].o 0x132a 177 xmm3 = _mm_sub_ps(xmm3, xmm2) 0x132d 178 xmm3 = _mm_mul_ps(xmm3, xmm3) 0x1330 179 xmm4 = _mm_mul_ps(xmm4, xmm4) 0x1333 180 xmm4 = _mm_add_ps(xmm4, xmm3) 0x1336 181 [rsp + (rcx << 2) + 0x10].o = xmm4 0x1336 182 goto 170 @ 0x133b 0x139d 183 r14 = r14 + rbx 0x13a0 184 goto 66 @ 0x1210 0x1411 185 rcx = rcx + 1 0x1411 186 goto 168 @ 0x1415 0x141d 187 rcx = rsp + (rcx << 2) 0x1421 188 rcx = rcx + 0x10 0x1425 189 edx = 0 0x1427 190 goto 193 @ 0x1430 0x1347 191 rbx = rbx + r8 0x1347 192 goto 110 @ 0x134a 0x1430 193 xmm1 = [rcx + (rdx << 2)].d 0x1435 194 xmm1 = _mm_max_ss(xmm1.d, xmm0.d) 0x1439 195 rdx = rdx + 1 0x143d 196 xmm0 = xmm1 0x1443 197 if (rax != rdx) then 193 @ 0x1430 else 18 @ 0x1445 int64_t _fini(): 0x1484 0 rsp = rsp - 8 0x1488 1 rsp = rsp + 8 0x148c 2 <return> jump(pop)
POJ_70
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSHX"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0x658 0x115d 5 rbx = rsp + 0x10 {var_668} 0x1162 6 r14 = 0x2004 {"%d%c"} 0x1169 7 r15 = rsp + 0xf {var_669} 0x116e 8 ebp = 0 0x116e 9 goto 10 @ 0x1170 0x1170 10 rdi = r14 0x1173 11 rsi = rbx 0x1176 12 rdx = r15 {var_669} 0x1179 13 eax = 0 0x117b 14 call(0x1040) 0x1180 15 ebp = ebp - 1 0x1183 16 rbx = rbx + 4 0x118c 17 if ([rsp + 0xf {var_669}].b == 0x2c) then 10 @ 0x1170 else 18 @ 0x118e 0x118e 18 r9d = ebp 0x1191 19 r9d = not.d(r9d) 0x1194 20 r8d = ebp 0x1197 21 r8d = neg.d(r8d) 0x119a 22 esi = 0 0x119c 23 edx = r9d 0x119f 24 goto 25 @ 0x11bd 0x11bd 25 edx = edx 0x11c2 26 if (esi s>= r9d) then 27 @ 0x11b0 else 32 @ 0x11c4 0x11b0 27 eax = (rsi + 1).d 0x11b3 28 edx = edx - 1 0x11b6 29 cond:0 = r9d == esi 0x11b9 30 esi = eax 0x11bb 31 if (cond:0) then 34 @ 0x11f2 else 25 @ 0x11bd 0x11c4 32 edi = 0 0x11c6 33 goto 38 @ 0x11d8 0x11f2 34 ecx = [rsp + 0x10 {var_668}].d 0x11f6 35 edx = r8d 0x11f9 36 ebx = 0 0x11fb 37 goto 42 @ 0x1200 0x11d8 38 eax = [rsp + (rdi << 2) + 0x10].d 0x11dc 39 ecx = [rsp + (rdi << 2) + 0x14].d 0x11e0 40 rbx = rdi + 1 0x11e6 41 if (eax s>= ecx) then 44 @ 0x11d0 else 46 @ 0x11e8 0x1200 42 esi = [rsp + (rbx << 2) + 0x10].d 0x1206 43 if (esi s< ecx) then 49 @ 0x1234 else 56 @ 0x1208 0x11d0 44 rdi = rbx 0x11d6 45 if (rdx == rbx) then 27 @ 0x11b0 else 38 @ 0x11d8 0x11e8 46 [rsp + (rdi << 2) + 0x10].d = ecx 0x11ec 47 [rsp + (rdi << 2) + 0x14].d = eax 0x11f0 48 goto 44 @ 0x11d0 0x1234 49 rdi = 0x2009 {"%d"} 0x123b 50 eax = 0 0x123d 51 call(0x1030) 0x1242 52 r8d = ebx 0x1245 53 temp0.d = r8d 0x1245 54 r8d = r8d + ebp 0x1248 55 if (temp0.d == neg.d(ebp)) then 58 @ 0x1216 else 62 @ 0x124a 0x1208 56 rbx = rbx + 1 0x120f 57 if (rdx != rbx) then 42 @ 0x1200 else 63 @ 0x1211 0x1216 58 rdi = 0x200c {"No"} 0x121d 59 eax = 0 0x121f 60 call(0x1030) 0x121f 61 goto 66 @ 0x1224 0x124a 62 goto 66 @ 0x1224 0x1211 63 temp1.d = r8d 0x1211 64 r8d = r8d + ebp 0x1214 65 if (temp1.d != neg.d(ebp)) then 66 @ 0x1224 else 58 @ 0x1216 0x1224 66 eax = 0 0x1226 67 rsp = rsp + 0x658 0x122d 68 rbx = pop 0x122e 69 r14 = pop 0x1230 70 r15 = pop 0x1232 71 rbp = pop 0x1233 72 <return> jump(pop) int64_t _fini(): 0x1250 0 rsp = rsp - 8 0x1254 1 rsp = rsp + 8 0x1258 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 {"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 - 0x660 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x654 {var_65c}].d = 0 0x116c 5 [rbp - 0x658 {var_660}].d = 0 0x1176 6 rdi = 0x2004 {"%d\n"} 0x117d 7 rsi = rbp - 8 {var_10} 0x1181 8 al = 0 0x1183 9 call(0x1040) 0x1188 10 [rbp - 0x65c {var_664}].d = 0 0x1188 11 goto 12 @ 0x1192 0x1192 12 eax = [rbp - 0x65c {var_664}].d 0x119b 13 if (eax s>= [rbp - 8 {var_10}].d) then 14 @ 0x11ed else 16 @ 0x11a1 0x11ed 14 [rbp - 0x65c {var_664_1}].d = 0 0x11ed 15 goto 31 @ 0x11f7 0x11a1 16 rax = sx.q([rbp - 0x65c {var_664}].d) 0x11a8 17 rsi = rbp - 0x330 {var_338} 0x11af 18 rax = rax << 2 0x11b3 19 rsi = rsi + rax 0x11b6 20 rax = sx.q([rbp - 0x65c {var_664}].d) 0x11bd 21 rdx = rbp - 0x650 {var_658} 0x11c4 22 rax = rax << 2 0x11c8 23 rdx = rdx + rax 0x11cb 24 rdi = 0x2008 {"%d%d"} 0x11d2 25 al = 0 0x11d4 26 call(0x1040) 0x11d9 27 eax = [rbp - 0x65c {var_664}].d 0x11df 28 eax = eax + 1 0x11e2 29 [rbp - 0x65c {var_664}].d = eax 0x11e8 30 goto 12 @ 0x1192 0x11f7 31 eax = [rbp - 0x65c {var_664_1}].d 0x1200 32 if (eax s>= [rbp - 8 {var_10}].d) then 33 @ 0x1345 else 35 @ 0x1206 0x1345 33 eax = [rbp - 0x654 {var_65c}].d 0x1351 34 if (eax s<= [rbp - 0x658 {var_660}].d) then 37 @ 0x1365 else 39 @ 0x1357 0x1206 35 rax = sx.q([rbp - 0x65c {var_664_1}].d) 0x1215 36 if ([rbp + (rax << 2) - 0x330].d != 0) then 43 @ 0x1268 else 45 @ 0x121b 0x1365 37 eax = [rbp - 0x654 {var_65c}].d 0x1371 38 if (eax s>= [rbp - 0x658 {var_660}].d) then 47 @ 0x1385 else 49 @ 0x1377 0x1357 39 rdi = 0x200d {"A"} 0x135e 40 al = 0 0x1360 41 call(0x1030) 0x1360 42 goto 37 @ 0x1365 0x1268 43 rax = sx.q([rbp - 0x65c {var_664_1}].d) 0x1277 44 if ([rbp + (rax << 2) - 0x330].d != 1) then 53 @ 0x12ca else 55 @ 0x127d 0x121b 45 rax = sx.q([rbp - 0x65c {var_664_1}].d) 0x122a 46 if ([rbp + (rax << 2) - 0x650].d != 1) then 57 @ 0x123f else 59 @ 0x1230 0x1385 47 eax = [rbp - 0x654 {var_65c}].d 0x1391 48 if (eax != [rbp - 0x658 {var_660}].d) then 63 @ 0x13a5 else 67 @ 0x1397 0x1377 49 rdi = 0x200f {"B"} 0x137e 50 al = 0 0x1380 51 call(0x1030) 0x1380 52 goto 47 @ 0x1385 0x12ca 53 rax = sx.q([rbp - 0x65c {var_664_1}].d) 0x12d9 54 if ([rbp + (rax << 2) - 0x330].d != 2) then 71 @ 0x132c else 72 @ 0x12df 0x127d 55 rax = sx.q([rbp - 0x65c {var_664_1}].d) 0x128c 56 if ([rbp + (rax << 2) - 0x650].d != 0) then 74 @ 0x12a1 else 76 @ 0x1292 0x123f 57 rax = sx.q([rbp - 0x65c {var_664_1}].d) 0x124e 58 if ([rbp + (rax << 2) - 0x650].d != 2) then 80 @ 0x1263 else 81 @ 0x1254 0x1230 59 eax = [rbp - 0x654 {var_65c}].d 0x1236 60 eax = eax + 1 0x1239 61 [rbp - 0x654 {var_65c}].d = eax 0x1239 62 goto 57 @ 0x123f 0x13a5 63 eax = 0 0x13a7 64 rsp = rsp + 0x660 0x13ae 65 rbp = pop 0x13af 66 <return> jump(pop) 0x1397 67 rdi = 0x2011 {"Tie"} 0x139e 68 al = 0 0x13a0 69 call(0x1030) 0x13a0 70 goto 63 @ 0x13a5 0x132c 71 goto 85 @ 0x1331 0x12df 72 rax = sx.q([rbp - 0x65c {var_664_1}].d) 0x12ee 73 if ([rbp + (rax << 2) - 0x650].d != 0) then 89 @ 0x1303 else 91 @ 0x12f4 0x12a1 74 rax = sx.q([rbp - 0x65c {var_664_1}].d) 0x12b0 75 if ([rbp + (rax << 2) - 0x650].d != 2) then 95 @ 0x12c5 else 96 @ 0x12b6 0x1292 76 eax = [rbp - 0x658 {var_660}].d 0x1298 77 eax = eax + 1 0x129b 78 [rbp - 0x658 {var_660}].d = eax 0x129b 79 goto 74 @ 0x12a1 0x1263 80 goto 43 @ 0x1268 0x1254 81 eax = [rbp - 0x658 {var_660}].d 0x125a 82 eax = eax + 1 0x125d 83 [rbp - 0x658 {var_660}].d = eax 0x125d 84 goto 80 @ 0x1263 0x1331 85 eax = [rbp - 0x65c {var_664_1}].d 0x1337 86 eax = eax + 1 0x133a 87 [rbp - 0x65c {var_664_1}].d = eax 0x1340 88 goto 31 @ 0x11f7 0x1303 89 rax = sx.q([rbp - 0x65c {var_664_1}].d) 0x1312 90 if ([rbp + (rax << 2) - 0x650].d != 1) then 100 @ 0x1327 else 101 @ 0x1318 0x12f4 91 eax = [rbp - 0x654 {var_65c}].d 0x12fa 92 eax = eax + 1 0x12fd 93 [rbp - 0x654 {var_65c}].d = eax 0x12fd 94 goto 89 @ 0x1303 0x12c5 95 goto 53 @ 0x12ca 0x12b6 96 eax = [rbp - 0x654 {var_65c}].d 0x12bc 97 eax = eax + 1 0x12bf 98 [rbp - 0x654 {var_65c}].d = eax 0x12bf 99 goto 95 @ 0x12c5 0x1327 100 goto 71 @ 0x132c 0x1318 101 eax = [rbp - 0x658 {var_660}].d 0x131e 102 eax = eax + 1 0x1321 103 [rbp - 0x658 {var_660}].d = eax 0x1321 104 goto 100 @ 0x1327 int64_t _fini(): 0x13b4 0 rsp = rsp - 8 0x13b8 1 rsp = rsp + 8 0x13bc 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 = 0x1320 {"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) int64_t judge(int32_t arg1, int32_t arg2): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 [rbp - 4 {var_c}].d = edi 0x1157 3 [rbp - 8 {var_10}].d = esi 0x115a 4 eax = 0 0x115c 5 cond:0 = [rbp - 4 {var_c}].d s< 0 0x1160 6 [rbp - 9 {var_11}].b = al 0x1163 7 if (cond:0) then 8 @ 0x1191 else 12 @ 0x1169 0x1191 8 dl = [rbp - 9 {var_11}].b 0x1194 9 eax = 0 0x1196 10 ecx = 1 0x119e 11 if ((dl & 1) != 0) then 16 else 18 @ 0x11a1 0x1169 12 eax = 0 0x116b 13 cond:1 = [rbp - 4 {var_c}].d s> 4 0x116f 14 [rbp - 9 {var_11}].b = al 0x1172 15 if (cond:1) then 8 @ 0x1191 else 20 @ 0x1178 0x119e 16 eax = ecx 0x119e 17 goto 18 @ 0x11a1 0x11a1 18 rbp = pop 0x11a2 19 <return> jump(pop) 0x1178 20 eax = 0 0x117a 21 cond:2 = [rbp - 8 {var_10}].d s> 4 0x117e 22 [rbp - 9 {var_11}].b = al 0x1181 23 if (cond:2) then 8 @ 0x1191 else 24 @ 0x118b 0x118b 24 al = [rbp - 8 {var_10}].d s>= 0 0x118e 25 [rbp - 9 {var_11}].b = al 0x118e 26 goto 8 @ 0x1191 uint64_t move(int64_t arg1, int32_t arg2, int32_t arg3): 0x11b0 0 push(rbp) 0x11b1 1 rbp = rsp {__saved_rbp} 0x11b4 2 rsp = rsp - 0x40 0x11b8 3 [rbp - 8 {var_10}].q = rdi 0x11bc 4 [rbp - 0xc {var_14}].d = esi 0x11bf 5 [rbp - 0x10 {var_18}].d = edx 0x11c2 6 edi = [rbp - 0xc {var_14}].d 0x11c5 7 esi = [rbp - 0x10 {var_18}].d 0x11c8 8 call(0x1150) 0x11cd 9 [rbp - 0x14 {var_1c}].d = eax 0x11d4 10 if ([rbp - 0x14 {var_1c}].d != 1) then 11 @ 0x1305 else 15 @ 0x11da 0x1305 11 rdi = 0x200c {"error"} 0x130c 12 al = 0 0x130e 13 call(0x1030) 0x130e 14 goto 17 @ 0x1313 0x11da 15 [rbp - 0x38 {var_40_1}].d = 0 0x11da 16 goto 20 @ 0x11e5 0x1313 17 rsp = rsp + 0x40 0x1317 18 rbp = pop 0x1318 19 <return> jump(pop) 0x11e5 20 if ([rbp - 0x38 {var_40_1}].d s>= 5) then 21 @ 0x1261 else 23 @ 0x11eb 0x1261 21 [rbp - 0x34 {var_3c_1}].d = 0 0x1261 22 goto 55 @ 0x126c 0x11eb 23 rax = [rbp - 8 {var_10}].q 0x11ef 24 rcx = sx.q([rbp - 0xc {var_14}].d) 0x11f3 25 rcx = rcx * 0x14 0x11f7 26 rax = rax + rcx 0x11fa 27 rcx = sx.q([rbp - 0x38 {var_40_1}].d) 0x11fe 28 ecx = [rax + (rcx << 2)].d 0x1201 29 rax = sx.q([rbp - 0x38 {var_40_1}].d) 0x1205 30 [rbp + (rax << 2) - 0x30].d = ecx 0x1209 31 rax = [rbp - 8 {var_10}].q 0x120d 32 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x1211 33 rcx = rcx * 0x14 0x1215 34 rax = rax + rcx 0x1218 35 rcx = sx.q([rbp - 0x38 {var_40_1}].d) 0x121c 36 edx = [rax + (rcx << 2)].d 0x121f 37 rax = [rbp - 8 {var_10}].q 0x1223 38 rcx = sx.q([rbp - 0xc {var_14}].d) 0x1227 39 rcx = rcx * 0x14 0x122b 40 rax = rax + rcx 0x122e 41 rcx = sx.q([rbp - 0x38 {var_40_1}].d) 0x1232 42 [rax + (rcx << 2)].d = edx 0x1235 43 rax = sx.q([rbp - 0x38 {var_40_1}].d) 0x1239 44 edx = [rbp + (rax << 2) - 0x30].d 0x123d 45 rax = [rbp - 8 {var_10}].q 0x1241 46 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x1245 47 rcx = rcx * 0x14 0x1249 48 rax = rax + rcx 0x124c 49 rcx = sx.q([rbp - 0x38 {var_40_1}].d) 0x1250 50 [rax + (rcx << 2)].d = edx 0x1253 51 eax = [rbp - 0x38 {var_40_1}].d 0x1256 52 eax = eax + 1 0x1259 53 [rbp - 0x38 {var_40_1}].d = eax 0x125c 54 goto 20 @ 0x11e5 0x126c 55 if ([rbp - 0x34 {var_3c_1}].d s>= 5) then 56 @ 0x1300 else 57 @ 0x1272 0x1300 56 goto 17 @ 0x1313 0x1272 57 [rbp - 0x38 {var_40_2}].d = 0 0x1272 58 goto 59 @ 0x127d 0x127d 59 if ([rbp - 0x38 {var_40_2}].d s>= 5) then 60 @ 0x12ed else 61 @ 0x1287 0x12ed 60 goto 62 @ 0x12f2 0x1287 61 if ([rbp - 0x38 {var_40_2}].d s>= 4) then 66 @ 0x12b6 else 76 @ 0x128d 0x12f2 62 eax = [rbp - 0x34 {var_3c_1}].d 0x12f5 63 eax = eax + 1 0x12f8 64 [rbp - 0x34 {var_3c_1}].d = eax 0x12fb 65 goto 55 @ 0x126c 0x12b6 66 rax = [rbp - 8 {var_10}].q 0x12ba 67 rcx = sx.q([rbp - 0x34 {var_3c_1}].d) 0x12be 68 rcx = rcx * 0x14 0x12c2 69 rax = rax + rcx 0x12c5 70 rcx = sx.q([rbp - 0x38 {var_40_2}].d) 0x12c9 71 esi = [rax + (rcx << 2)].d 0x12cc 72 rdi = 0x2008 {"%d\n"} 0x12d3 73 al = 0 0x12d5 74 call(0x1030) 0x12d5 75 goto 86 @ 0x12da 0x128d 76 rax = [rbp - 8 {var_10}].q 0x1291 77 rcx = sx.q([rbp - 0x34 {var_3c_1}].d) 0x1295 78 rcx = rcx * 0x14 0x1299 79 rax = rax + rcx 0x129c 80 rcx = sx.q([rbp - 0x38 {var_40_2}].d) 0x12a0 81 esi = [rax + (rcx << 2)].d 0x12a3 82 rdi = 0x2004 {"%d "} 0x12aa 83 al = 0 0x12ac 84 call(0x1030) 0x12b1 85 goto 86 @ 0x12da 0x12da 86 goto 87 @ 0x12df 0x12df 87 eax = [rbp - 0x38 {var_40_2}].d 0x12e2 88 eax = eax + 1 0x12e5 89 [rbp - 0x38 {var_40_2}].d = eax 0x12e8 90 goto 59 @ 0x127d int32_t main(int32_t argc, char** argv, char** envp): 0x1320 0 push(rbp) 0x1321 1 rbp = rsp {__saved_rbp} 0x1324 2 rsp = rsp - 0x80 0x132b 3 [rbp - 0x74 {var_7c}].d = 0 0x132b 4 goto 5 @ 0x1336 0x1336 5 if ([rbp - 0x74 {var_7c}].d s>= 5) then 6 @ 0x1396 else 18 @ 0x133c 0x1396 6 rdi = 0x2012 {"%d %d"} 0x139d 7 rsi = rbp - 0x7c {var_84} 0x13a1 8 rdx = rbp - 0x80 {var_88} 0x13a5 9 al = 0 0x13a7 10 call(0x1040) 0x13ac 11 rdi = rbp - 0x70 {var_78} 0x13b0 12 esi = [rbp - 0x7c {var_84}].d 0x13b3 13 edx = [rbp - 0x80 {var_88}].d 0x13b6 14 call(0x11b0) 0x13bb 15 rsp = rsp + 0x80 0x13c2 16 rbp = pop 0x13c3 17 <return> jump(pop) 0x133c 18 [rbp - 0x78 {var_80_1}].d = 0 0x133c 19 goto 20 @ 0x1347 0x1347 20 if ([rbp - 0x78 {var_80_1}].d s>= 5) then 21 @ 0x1383 else 22 @ 0x134d 0x1383 21 goto 36 @ 0x1388 0x134d 22 rax = sx.q([rbp - 0x74 {var_7c}].d) 0x1351 23 rsi = rbp - 0x70 {var_78} 0x1355 24 rax = rax * 0x14 0x1359 25 rsi = rsi + rax 0x135c 26 rax = sx.q([rbp - 0x78 {var_80_1}].d) 0x1360 27 rax = rax << 2 0x1364 28 rsi = rsi + rax 0x1367 29 rdi = 0x2015 {"%d"} 0x136e 30 al = 0 0x1370 31 call(0x1040) 0x1375 32 eax = [rbp - 0x78 {var_80_1}].d 0x1378 33 eax = eax + 1 0x137b 34 [rbp - 0x78 {var_80_1}].d = eax 0x137e 35 goto 20 @ 0x1347 0x1388 36 eax = [rbp - 0x74 {var_7c}].d 0x138b 37 eax = eax + 1 0x138e 38 [rbp - 0x74 {var_7c}].d = eax 0x1391 39 goto 5 @ 0x1336 int64_t _fini(): 0x13c8 0 rsp = rsp - 8 0x13cc 1 rsp = rsp + 8 0x13d0 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 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 {"UAWAVAUATSHhH="} 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 - 0x68 0x117e 7 rdi = 0x2004 {"%d "} 0x1185 8 rsi = rsp + 0xc {var_8c} 0x118a 9 eax = 0 0x118c 10 call(0x1040) 0x1196 11 if ([rsp + 0xc {var_8c}].d s<= 0) then 12 @ 0x124e else 21 @ 0x119c 0x124e 12 eax = 0 0x1250 13 rsp = rsp + 0x68 0x1254 14 rbx = pop 0x1255 15 r12 = pop 0x1257 16 r13 = pop 0x1259 17 r14 = pop 0x125b 18 r15 = pop 0x125d 19 rbp = pop 0x125e 20 <return> jump(pop) 0x119c 21 r14 = rsp + 0x10 {var_88} 0x11a1 22 r15 = 0x2008 {"no"} 0x11a8 23 r12 = 0x200b {"yes"} 0x11af 24 r13 = 0x100000001 {""} 0x11b9 25 ebp = 0 0x11bb 26 goto 27 @ 0x11d2 0x11d2 27 rdi = r14 {var_88} 0x11d5 28 eax = 0 0x11d7 29 call(0x1050) 0x11dc 30 al = [rsp + 0x10 {var_88}].b 0x11e0 31 ecx = eax 0x11e2 32 cl = cl & 0xdf 0x11e5 33 cl = cl - 0x41 0x11eb 34 if (cl u< 0x1a) then 35 @ 0x11f4 else 41 @ 0x11ed 0x11f4 35 rdi = r14 {var_88} 0x11f7 36 call(0x1030) 0x11fc 37 rcx = rax 0x11ff 38 rcx = rcx << 0x20 0x1203 39 rdi = r12 0x1209 40 if (rcx s< r13) then 43 @ 0x11c0 else 46 @ 0x120b 0x11ed 41 rdi = r15 0x11f2 42 if (al != 0x5f) then 43 @ 0x11c0 else 35 @ 0x11f4 0x11c0 43 call(0x1060) 0x11c5 44 ebp = ebp + 1 0x11cc 45 if (ebp s>= [rsp + 0xc {var_8c}].d) then 12 @ 0x124e else 27 @ 0x11d2 0x120b 46 rax = sx.q(eax) 0x120d 47 rax = rax + rsp 0x1210 48 rax = rax + 0x10 0x1214 49 rcx = rsp + 0x11 {var_87} 0x1219 50 goto 51 @ 0x1229 0x1229 51 ebx = zx.d([rcx].b) 0x122c 52 edx = ebx 0x122e 53 dl = dl & 0xdf 0x1231 54 dl = dl - 0x41 0x1237 55 if (dl u< 0x1a) then 56 @ 0x1220 else 58 @ 0x123c 0x1220 56 rcx = rcx + 1 0x1227 57 if (rcx u>= rax) then 59 @ 0x11bd else 51 @ 0x1229 0x123c 58 if (bl == 0x5f) then 56 @ 0x1220 else 61 @ 0x123e 0x11bd 59 rdi = r12 0x11bd 60 goto 43 @ 0x11c0 0x123e 61 bl = bl - 0x30 0x1244 62 if (bl u< 0xa) then 56 @ 0x1220 else 63 @ 0x1246 0x1246 63 rdi = r15 0x1249 64 goto 43 @ 0x11c0 int64_t _fini(): 0x1264 0 rsp = rsp - 8 0x1268 1 rsp = rsp + 8 0x126c 2 <return> jump(pop)
POJ_85
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH0"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) 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 - 0x330 0x115c 4 rdi = 0x2028 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_33c} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 xmm5 = 0 0x1177 9 if ([rsp + 0xc {var_33c}].d s<= 0) then 10 @ 0x12e4 else 11 @ 0x117d 0x12e4 10 goto 15 @ 0x1355 0x117d 11 r15 = rsp + 0x10 {var_338} 0x1182 12 r14 = 0x2028 {"%d"} 0x1189 13 ebx = 0 0x118b 14 goto 27 @ 0x1190 0x1355 15 xmm5.d = xmm5.d f/ xmm0.d 0x1359 16 xmm0 = 0 0x135c 17 xmm0.q = fconvert.d(xmm5.d) 0x1360 18 rdi = 0x202b {"%.2f"} 0x1367 19 al = 1 0x1369 20 call(0x1030) 0x136e 21 eax = 0 0x1370 22 rsp = rsp + 0x330 0x1377 23 rbx = pop 0x1378 24 r14 = pop 0x137a 25 r15 = pop 0x137c 26 <return> jump(pop) 0x1190 27 rdi = r14 0x1193 28 rsi = r15 0x1196 29 eax = 0 0x1198 30 call(0x1040) 0x119d 31 rax = sx.q([rsp + 0xc {var_33c}].d) 0x11a2 32 rbx = rbx + 1 0x11a6 33 r15 = r15 + 4 0x11ad 34 if (rbx s< rax) then 27 @ 0x1190 else 35 @ 0x11b1 0x11b1 35 if (eax s<= 0) then 36 @ 0x12e6 else 38 @ 0x11b7 0x12e6 36 xmm5 = 0 0x12e9 37 goto 15 @ 0x1355 0x11b7 38 r15 = rsp + 0x1a0 {var_1a8} 0x11bf 39 r14 = 0x2028 {"%d"} 0x11c6 40 ebx = 0 0x11c8 41 goto 42 @ 0x11d0 0x11d0 42 rdi = r14 0x11d3 43 rsi = r15 0x11d6 44 eax = 0 0x11d8 45 call(0x1040) 0x11dd 46 rax = sx.q([rsp + 0xc {var_33c}].d) 0x11e2 47 rbx = rbx + 1 0x11e6 48 r15 = r15 + 4 0x11ed 49 if (rbx s< rax) then 42 @ 0x11d0 else 50 @ 0x11ef 0x11ef 50 eax = eax 0x11f1 51 cond:0 = eax s<= 0 0x11f3 52 xmm5 = 0 0x11f6 53 if (cond:0) then 10 @ 0x12e4 else 54 @ 0x11fc 0x11fc 54 xmm5 = 0 0x11ff 55 ecx = 0 0x1201 56 xmm0 = [0x2004].d 0x1209 57 xmm1 = [0x2008].d 0x1211 58 xmm2 = [0x200c].d 0x1219 59 xmm3 = [0x2010].d 0x1221 60 xmm4 = [0x2014].d 0x1229 61 xmm11 = [0x2018].d 0x1232 62 xmm10 = [0x201c].d 0x123b 63 xmm9 = [0x2020].d 0x1244 64 xmm8 = [0x2024].d 0x124d 65 goto 66 @ 0x126d 0x126d 66 edx = [rsp + (rcx << 2) + 0x1a0].d 0x1274 67 xmm7 = 0 0x127a 68 if (edx s< 0x3c) then 69 @ 0x1250 else 76 @ 0x127c 0x1250 69 xmm6 = 0 0x1253 70 xmm6.d = float.s([rsp + (rcx << 2) + 0x10].d) 0x1259 71 xmm6.d = xmm6.d f* xmm7.d 0x125d 72 xmm5.d = xmm5.d f+ xmm6.d 0x1261 73 rcx = rcx + 1 0x1265 74 xmm6 = xmm7 0x126b 75 if (rax == rcx) then 78 @ 0x12cf else 66 @ 0x126d 0x127c 76 xmm7 = xmm0 0x1282 77 if (edx u< 0x40) then 69 @ 0x1250 else 79 @ 0x1284 0x12cf 78 if (eax s<= 0) then 10 @ 0x12e4 else 81 @ 0x12d1 0x1284 79 xmm7 = xmm1 0x128a 80 if (edx u< 0x44) then 69 @ 0x1250 else 85 @ 0x128c 0x12d1 81 rdx = rax - 1 0x12d5 82 ecx = eax 0x12d7 83 ecx = ecx & 3 0x12de 84 if (rdx u>= 3) then 87 @ 0x12eb else 90 @ 0x12e0 0x128c 85 xmm7 = xmm2 0x1292 86 if (edx u< 0x48) then 69 @ 0x1250 else 92 @ 0x1294 0x12eb 87 eax = eax & 0xfffffffc 0x12ee 88 edx = 0 0x12ee 89 goto 94 @ 0x12f0 0x12e0 90 edx = 0 0x12e2 91 goto 108 @ 0x1330 0x1294 92 xmm7 = xmm3 0x129a 93 if (edx u< 0x4b) then 69 @ 0x1250 else 109 @ 0x129c 0x12f0 94 xmm1 = 0 0x12f3 95 xmm1.d = float.s([rsp + (rdx << 2) + 0x10].d) 0x12f9 96 xmm2 = 0 0x12fc 97 xmm2.d = float.s([rsp + (rdx << 2) + 0x14].d) 0x1302 98 xmm1.d = xmm1.d f+ xmm0.d 0x1306 99 xmm3 = 0 0x1309 100 xmm3.d = float.s([rsp + (rdx << 2) + 0x18].d) 0x130f 101 xmm2.d = xmm2.d f+ xmm1.d 0x1313 102 xmm0 = 0 0x1316 103 xmm0.d = float.s([rsp + (rdx << 2) + 0x1c].d) 0x131c 104 xmm3.d = xmm3.d f+ xmm2.d 0x1320 105 xmm0.d = xmm0.d f+ xmm3.d 0x1324 106 rdx = rdx + 4 0x132b 107 if (rax != rdx) then 94 @ 0x12f0 else 108 @ 0x1330 0x1330 108 if (rcx == 0) then 15 @ 0x1355 else 111 @ 0x1332 0x129c 109 xmm7 = xmm4 0x12a2 110 if (edx u< 0x4e) then 69 @ 0x1250 else 115 @ 0x12a4 0x1332 111 rax = rsp + (rdx << 2) 0x1336 112 rax = rax + 0x10 0x133a 113 edx = 0 0x133c 114 goto 117 @ 0x1340 0x12a4 115 xmm7 = xmm11 0x12ab 116 if (edx u< 0x52) then 69 @ 0x1250 else 122 @ 0x12ad 0x1340 117 xmm1 = 0 0x1343 118 xmm1.d = float.s([rax + (rdx << 2)].d) 0x1348 119 xmm0.d = xmm0.d f+ xmm1.d 0x134c 120 rdx = rdx + 1 0x1353 121 if (rcx != rdx) then 117 @ 0x1340 else 15 @ 0x1355 0x12ad 122 xmm7 = xmm10 0x12b4 123 if (edx u< 0x55) then 69 @ 0x1250 else 124 @ 0x12b6 0x12b6 124 xmm7 = xmm9 0x12bd 125 if (edx u< 0x5a) then 69 @ 0x1250 else 126 @ 0x12bf 0x12bf 126 xmm7 = xmm8 0x12c6 127 if (edx u< 0x65) then 69 @ 0x1250 else 128 @ 0x12c8 0x12c8 128 xmm7 = xmm6 0x12cb 129 goto 69 @ 0x1250 int64_t _fini(): 0x1384 0 rsp = rsp - 8 0x1388 1 rsp = rsp + 8 0x138c 2 <return> jump(pop)
POJ_83
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVATSHH="} 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 - 0x10 0x115c 6 rdi = 0x2004 {"%d"} 0x1163 7 rsi = rsp + 0xc {var_2c} 0x1168 8 eax = 0 0x116a 9 call(0x1040) 0x116f 10 r8d = [rsp + 0xc {var_2c}].d 0x1178 11 if (r8d s>= 6) then 12 @ 0x1187 else 16 @ 0x117a 0x1187 12 r12d = 6 0x118d 13 r15d = 3 0x1193 14 r14 = 0x2007 {"%d=%d+%d\n"} 0x119a 15 goto 23 @ 0x11c3 0x117a 16 rsp = rsp + 0x10 0x117e 17 rbx = pop 0x117f 18 r12 = pop 0x1181 19 r14 = pop 0x1183 20 r15 = pop 0x1185 21 rbp = pop 0x1186 22 <return> jump(pop) 0x11c3 23 cond:0 = r15d u>= 4 0x11c7 24 edi = 3 0x11cc 25 if (cond:0) then 26 else 28 @ 0x11d0 0x11cc 26 edi = r15d 0x11cc 27 goto 28 @ 0x11d0 0x11d0 28 ecx = 3 0x11d5 29 goto 30 @ 0x11f1 0x11f1 30 if (ecx u< 9) then 31 @ 0x1219 else 32 @ 0x11f3 0x1219 31 if ((cl & 1) == 0) then 34 @ 0x11e5 else 38 @ 0x121b 0x11f3 32 esi = 3 0x11f8 33 goto 41 @ 0x1200 0x11e5 34 eax = (rcx + 1).d 0x11e8 35 cond:1 = ecx == edi 0x11ea 36 ecx = eax 0x11ec 37 if (cond:1) then 53 @ 0x11b6 else 30 @ 0x11f1 0x121b 38 ebx = r12d 0x121e 39 ebx = ebx - ecx 0x1223 40 if (ebx s< 9) then 56 @ 0x11e3 else 57 @ 0x1225 0x1200 41 eax = ecx 0x1202 42 edx = 0 0x1204 43 temp2.d = esi 0x1204 44 temp3.d = edx 0x1204 45 temp4.d = eax 0x1204 46 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1204 47 temp5.d = edx 0x1204 48 temp6.d = eax 0x1204 49 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1204 50 eax = temp0.d 0x1204 51 edx = temp1.d 0x1208 52 if (edx == 0) then 34 @ 0x11e5 else 59 @ 0x120a 0x11b6 53 r12d = r12d + 2 0x11ba 54 r15d = r15d + 1 0x11c1 55 if (r12d s> r8d) then 16 @ 0x117a else 23 @ 0x11c3 0x11e3 56 if ((bl & 1) != 0) then 63 @ 0x11a0 else 34 @ 0x11e5 0x1225 57 esi = 5 0x122a 58 goto 71 @ 0x1230 0x120a 59 esi = esi + 2 0x120d 60 eax = esi 0x120f 61 eax = eax * esi 0x1214 62 if (eax u<= ecx) then 41 @ 0x1200 else 31 @ 0x1219 0x11a0 63 rdi = r14 0x11a3 64 esi = r12d 0x11a6 65 edx = ecx 0x11a8 66 ecx = ebx 0x11aa 67 eax = 0 0x11ac 68 call(0x1030) 0x11b1 69 r8d = [rsp + 0xc {var_2c}].d 0x11b1 70 goto 53 @ 0x11b6 0x1230 71 ebp = (rsi - 2).d 0x1233 72 eax = ebx 0x1235 73 temp7.d:temp8.d = sx.q(eax) 0x1235 74 edx = temp7.d 0x1235 75 eax = temp8.d 0x1236 76 temp9.d = edx 0x1236 77 temp10.d = eax 0x1236 78 temp0.d = divs.dp.d(temp9.d:temp10.d, ebp) 0x1236 79 temp11.d = edx 0x1236 80 temp12.d = eax 0x1236 81 temp1.d = mods.dp.d(temp11.d:temp12.d, ebp) 0x1236 82 eax = temp0.d 0x1236 83 edx = temp1.d 0x123a 84 if (edx == 0) then 34 @ 0x11e5 else 85 @ 0x123c 0x123c 85 eax = esi 0x123e 86 eax = eax * esi 0x1241 87 esi = esi + 2 0x1246 88 if (eax s<= ebx) then 71 @ 0x1230 else 89 @ 0x1248 0x1248 89 goto 56 @ 0x11e3 uint64_t prime(int32_t arg1): 0x1250 0 ecx = edi 0x1252 1 ecx = ecx & 1 0x1258 2 if (edi s< 9) then 3 @ 0x1275 else 5 @ 0x125a 0x1275 3 eax = ecx 0x1277 4 <return> jump(pop) 0x125a 5 esi = 3 0x125f 6 goto 7 @ 0x1260 0x1260 7 eax = edi 0x1262 8 temp2.d:temp3.d = sx.q(eax) 0x1262 9 edx = temp2.d 0x1262 10 eax = temp3.d 0x1263 11 temp4.d = edx 0x1263 12 temp5.d = eax 0x1263 13 temp0.d = divs.dp.d(temp4.d:temp5.d, esi) 0x1263 14 temp6.d = edx 0x1263 15 temp7.d = eax 0x1263 16 temp1.d = mods.dp.d(temp6.d:temp7.d, esi) 0x1263 17 eax = temp0.d 0x1263 18 edx = temp1.d 0x1267 19 if (edx == 0) then 20 @ 0x1278 else 23 @ 0x1269 0x1278 20 ecx = 0 0x127a 21 eax = ecx 0x127c 22 <return> jump(pop) 0x1269 23 esi = esi + 2 0x126c 24 eax = esi 0x126e 25 eax = eax * esi 0x1273 26 if (eax s<= edi) then 7 @ 0x1260 else 3 @ 0x1275 int64_t _fini(): 0x1284 0 rsp = rsp - 8 0x1288 1 rsp = rsp + 8 0x128c 2 <return> jump(pop)
POJ_68
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x11a0 {"HH=Y"} 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 leap(int32_t arg1): 0x1154 0 if ((dil & 3) != 0) then 1 @ 0x117c else 8 @ 0x1156 0x117c 1 ecx = edi * -0x3d70a3d7 0x1182 2 ecx = ecx + 0x51eb850 0x1188 3 ecx = ror.d(ecx, 4) 0x118b 4 eax = 0 0x118d 5 flag:c = ecx u< 0xa3d70b 0x1193 6 al = flag:c 0x1196 7 <return> jump(pop) 0x1156 8 rax = sx.q(edi) 0x1159 9 rax = rax * 0x51eb851f 0x1160 10 rcx = rax 0x1163 11 rcx = rcx u>> 0x3f 0x1167 12 rax = rax s>> 0x25 0x116b 13 eax = eax + ecx 0x116d 14 ecx = eax * 0x64 0x1170 15 edx = edi 0x1172 16 eax = 1 0x1177 17 temp0.d = edx 0x1177 18 edx = edx - ecx 0x1179 19 if (temp0.d == ecx) then 1 @ 0x117c else 20 @ 0x117b 0x117b 20 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x11a0 0 rsp = rsp - 0x18 0x11a4 1 rdi = 0x2004 {"%d %d %d"} 0x11ab 2 rsi = rsp + 0x14 {var_4} 0x11b0 3 rdx = rsp + 0x10 {var_8} 0x11b5 4 rcx = rsp + 0xc {var_c} 0x11ba 5 eax = 0 0x11bc 6 call(0x1040) 0x11c1 7 eax = [rsp + 0x14 {var_4}].d 0x11c7 8 cl = (al & 3) == 0 0x11ca 9 eax = eax * -0x3d70a3d7 0x11d0 10 eax = eax + 0x51eb850 0x11d5 11 edx = eax 0x11d7 12 edx = ror.d(edx, 2) 0x11e0 13 dl = edx u>= 0x28f5c29 0x11e3 14 dl = dl & cl 0x11e5 15 eax = ror.d(eax, 4) 0x11e8 16 flag:c = eax u< 0xa3d70b 0x11ed 17 sil = flag:c 0x11f1 18 sil = sil | dl 0x11f4 19 eax = [rsp + 0x10 {var_8}].d 0x11f8 20 ecx = [rsp + 0xc {var_c}].d 0x11fc 21 edi = (rcx + 0x1f).d 0x1202 22 if (eax != 2) then 23 else 25 @ 0x1205 0x1202 23 edi = ecx 0x1202 24 goto 25 @ 0x1205 0x1205 25 cond:0 = eax != 3 0x1208 26 edx = zx.d(sil) 0x120c 27 esi = (rdx + rcx + 0x3b).d 0x1210 28 if (cond:0) then 29 else 31 @ 0x1213 0x1210 29 esi = edi 0x1210 30 goto 31 @ 0x1213 0x1213 31 cond:1 = eax != 4 0x1216 32 edi = (rdx + rcx + 0x5a).d 0x121a 33 if (cond:1) then 34 else 36 @ 0x121d 0x121a 34 edi = esi 0x121a 35 goto 36 @ 0x121d 0x121d 36 cond:2 = eax != 5 0x1220 37 esi = (rdx + rcx + 0x78).d 0x1224 38 if (cond:2) then 39 else 41 @ 0x1227 0x1224 39 esi = edi 0x1224 40 goto 41 @ 0x1227 0x1227 41 cond:3 = eax != 6 0x122a 42 edi = (rdx + rcx + 0x97).d 0x1231 43 if (cond:3) then 44 else 46 @ 0x1234 0x1231 44 edi = esi 0x1231 45 goto 46 @ 0x1234 0x1234 46 cond:4 = eax != 7 0x1237 47 esi = (rdx + rcx + 0xb5).d 0x123e 48 if (cond:4) then 49 else 51 @ 0x1241 0x123e 49 esi = edi 0x123e 50 goto 51 @ 0x1241 0x1241 51 cond:5 = eax != 8 0x1244 52 edi = (rdx + rcx + 0xd4).d 0x124b 53 if (cond:5) then 54 else 56 @ 0x124e 0x124b 54 edi = esi 0x124b 55 goto 56 @ 0x124e 0x124e 56 cond:6 = eax != 9 0x1251 57 esi = (rdx + rcx + 0xf3).d 0x1258 58 if (cond:6) then 59 else 61 @ 0x125b 0x1258 59 esi = edi 0x1258 60 goto 61 @ 0x125b 0x125b 61 cond:7 = eax != 0xa 0x125e 62 edi = (rdx + rcx + 0x111).d 0x1265 63 if (cond:7) then 64 else 66 @ 0x1268 0x1265 64 edi = esi 0x1265 65 goto 66 @ 0x1268 0x1268 66 cond:8 = eax != 0xb 0x126b 67 r8d = (rdx + rcx + 0x130).d 0x1273 68 if (cond:8) then 69 else 71 @ 0x1277 0x1273 69 r8d = edi 0x1273 70 goto 71 @ 0x1277 0x1277 71 cond:9 = eax != 0xc 0x127a 72 esi = (rdx + rcx + 0x14e).d 0x1281 73 if (cond:9) then 74 else 76 @ 0x1285 0x1281 74 esi = r8d 0x1281 75 goto 76 @ 0x1285 0x1285 76 rdi = 0x200a {"%d"} 0x128c 77 eax = 0 0x128e 78 call(0x1030) 0x1293 79 rsp = rsp + 0x18 0x1297 80 <return> jump(pop) int64_t _fini(): 0x129c 0 rsp = rsp - 8 0x12a0 1 rsp = rsp + 8 0x12a4 2 <return> jump(pop)
POJ_11
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHx"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x9f78 0x1161 7 rdi = 0x2004 {"%d"} 0x1168 8 rsi = rsp + 8 {var_9fa0} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1179 11 if ([rsp + 8 {var_9fa0}].d s<= 0) then 12 @ 0x12bc else 21 @ 0x117f 0x12bc 12 eax = 0 0x12be 13 rsp = rsp + 0x9f78 0x12c5 14 rbx = pop 0x12c6 15 r12 = pop 0x12c8 16 r13 = pop 0x12ca 17 r14 = pop 0x12cc 18 r15 = pop 0x12ce 19 rbp = pop 0x12cf 20 <return> jump(pop) 0x117f 21 r12 = rsp + 0x35c {var_9c4c} 0x1187 22 r13d = 1 0x118d 23 r15 = 0x2004 {"%d"} 0x1194 24 r14 = rsp + 0xc {var_9f9c} 0x1199 25 goto 26 @ 0x11c5 0x11c5 26 rdi = r15 0x11c8 27 rsi = r14 {var_9f9c} 0x11cb 28 eax = 0 0x11cd 29 call(0x1040) 0x11d2 30 eax = [rsp + 0xc {var_9f9c}].d 0x11d8 31 if (eax s<= 0) then 32 @ 0x11ff else 41 @ 0x11da 0x11ff 32 rdx = sx.q(eax) 0x1202 33 rcx = r13 << 2 0x120a 34 rcx = rcx + r13 0x120d 35 rsi = rsp + (rcx << 3) 0x1211 36 rsi = rsi + 0x330 0x1218 37 ecx = (rdx + (rdx << 1)).d 0x121b 38 edx = [rsi + (rdx << 2)].d 0x121e 39 edx = edx + ecx 0x1223 40 if (edx s< 0x3c) then 44 @ 0x11a0 else 48 @ 0x122b 0x11da 41 rbx = r12 0x11dd 42 ebp = 0 0x11df 43 goto 49 @ 0x11e0 0x11a0 44 eax = 0x3c {""} 0x11a5 45 eax = eax - ecx 0x11a7 46 [rsp + (r13 << 2) + 0x10].d = eax 0x11a7 47 goto 57 @ 0x11ac 0x122b 48 if (eax s<= 0) then 57 @ 0x11ac else 63 @ 0x1231 0x11e0 49 rdi = r15 0x11e3 50 rsi = rbx 0x11e6 51 eax = 0 0x11e8 52 call(0x1040) 0x11ed 53 rax = sx.q([rsp + 0xc {var_9f9c}].d) 0x11f2 54 rbp = rbp + 1 0x11f6 55 rbx = rbx + 4 0x11fd 56 if (rbp s< rax) then 49 @ 0x11e0 else 32 @ 0x11ff 0x11ac 57 rcx = r13 + 1 0x11b0 58 rax = sx.q([rsp + 8 {var_9fa0}].d) 0x11b5 59 r12 = r12 + 0x28 0x11b9 60 cond:0 = r13 s>= rax 0x11bc 61 r13 = rcx 0x11bf 62 if (cond:0) then 69 @ 0x1290 else 26 @ 0x11c5 0x1231 63 eax = eax + 1 0x1234 64 rax = rax + (rax << 1) 0x1238 65 ecx = 3 0x123d 66 edx = 0x3c {""} 0x1242 67 rsi = r12 0x1245 68 goto 70 @ 0x1269 0x1290 69 if (eax s<= 0) then 12 @ 0x12bc else 76 @ 0x1292 0x1269 70 ebp = [rsi].d 0x126b 71 rdi = rbp 0x126e 72 rdi = rdi + rcx 0x1271 73 ebx = edi 0x1273 74 ebx = ebx & 0xfffffffc 0x1279 75 if (ebx == 0x3c) then 79 @ 0x1250 else 81 @ 0x127b 0x1292 76 rbx = 0x2007 {"%d\n"} 0x1299 77 ebp = 0 0x129b 78 goto 84 @ 0x12a0 0x1250 79 [rsp + (r13 << 2) + 0x10].d = ebp 0x1250 80 goto 91 @ 0x1255 0x127b 81 ebp = [rsi - 4].d 0x127e 82 ebp = ebp + ecx 0x1283 83 if (ebp s> 0x3e) then 91 @ 0x1255 else 95 @ 0x1285 0x12a0 84 esi = [rsp + (rbp << 2) + 0x14].d 0x12a4 85 rdi = rbx 0x12a7 86 eax = 0 0x12a9 87 call(0x1030) 0x12ae 88 rax = sx.q([rsp + 8 {var_9fa0}].d) 0x12b3 89 rbp = rbp + 1 0x12ba 90 if (rbp s< rax) then 84 @ 0x12a0 else 12 @ 0x12bc 0x1255 91 rcx = rcx + 3 0x1259 92 edx = edx - 3 0x125c 93 rsi = rsi + 4 0x1263 94 if (rax == rcx) then 57 @ 0x11ac else 70 @ 0x1269 0x1285 95 ebp = edx 0x128a 96 if (edi s>= 0x3c) then 79 @ 0x1250 else 97 @ 0x128c 0x128c 97 goto 91 @ 0x1255 int64_t _fini(): 0x12d4 0 rsp = rsp - 8 0x12d8 1 rsp = rsp + 8 0x12dc 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 {"UAWAVAUATSPH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 push(rax) 0x115b 7 rdi = 0x2004 {"%d"} 0x1162 8 rsi = rsp + 4 {var_38+0x4} 0x1167 9 eax = 0 0x1169 10 call(0x1040) 0x116e 11 rax = sx.q([rsp + 4 {var_38+0x4}].d) 0x1173 12 rsi = rax * 0x51eb851f 0x117a 13 rcx = rsi 0x117d 14 rcx = rcx u>> 0x3f 0x1181 15 rsi = rsi s>> 0x25 0x1185 16 esi = esi + ecx 0x1187 17 ecx = esi * 0x64 0x118a 18 eax = eax - ecx 0x118c 19 ecx = sx.d(al) 0x118f 20 edx = (rcx + (rcx << 2)).d 0x1192 21 ecx = (rcx + (rdx << 3)).d 0x1195 22 ecx = zx.d(cx) 0x1198 23 edx = sx.d(cx) 0x119b 24 ecx = ecx u>> 0xf 0x119e 25 edx = edx u>> 0xb 0x11a1 26 dl = dl + cl 0x11a3 27 r14d = sx.d(dl) 0x11a7 28 ebx = r14d * -0x32 0x11ab 29 ebx = ebx + eax 0x11ad 30 eax = sx.d(bx) 0x11b0 31 r15d = eax * 0x6667 0x11b7 32 eax = r15d 0x11ba 33 eax = eax u>> 0x1f 0x11bd 34 r15d = r15d s>> 0x13 0x11c1 35 r15d = r15d + eax 0x11c4 36 eax = (r15 << 2).d 0x11cc 37 eax = (rax + (rax << 2)).d 0x11cf 38 ebx = ebx - eax 0x11d1 39 eax = sx.d(bx) 0x11d4 40 r12d = eax * 0x6667 0x11db 41 eax = r12d 0x11de 42 eax = eax u>> 0x1f 0x11e1 43 r12d = r12d s>> 0x12 0x11e5 44 r12d = r12d + eax 0x11e8 45 eax = (r12 + r12).d 0x11ec 46 eax = (rax + (rax << 2)).d 0x11ef 47 ebx = ebx - eax 0x11f1 48 eax = sx.d(bx) 0x11f4 49 ebp = eax * 0x6667 0x11fa 50 eax = ebp 0x11fc 51 eax = eax u>> 0x1f 0x11ff 52 ebp = ebp s>> 0x11 0x1202 53 ebp = ebp + eax 0x1204 54 eax = (rbp + (rbp << 2)).d 0x1208 55 ebx = ebx - eax 0x120a 56 r13 = 0x2007 {"%d\n"} 0x1211 57 rdi = r13 0x1214 58 eax = 0 0x1216 59 call(0x1030) 0x121b 60 rdi = r13 0x121e 61 esi = r14d 0x1221 62 eax = 0 0x1223 63 call(0x1030) 0x1228 64 rdi = r13 0x122b 65 esi = r15d 0x122e 66 eax = 0 0x1230 67 call(0x1030) 0x1235 68 rdi = r13 0x1238 69 esi = r12d 0x123b 70 eax = 0 0x123d 71 call(0x1030) 0x1242 72 rdi = r13 0x1245 73 esi = ebp 0x1247 74 eax = 0 0x1249 75 call(0x1030) 0x124e 76 rdi = r13 0x1251 77 esi = ebx 0x1253 78 eax = 0 0x1255 79 call(0x1030) 0x125a 80 eax = 0 0x125c 81 rsp = rsp + 8 0x1260 82 rbx = pop 0x1261 83 r12 = pop 0x1263 84 r13 = pop 0x1265 85 r14 = pop 0x1267 86 r15 = pop 0x1269 87 rbp = pop 0x126a 88 <return> jump(pop) int64_t _fini(): 0x1270 0 rsp = rsp - 8 0x1274 1 rsp = rsp + 8 0x1278 2 <return> jump(pop)
POJ_97
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 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) char* strcat(char* arg1, char const* arg2): 0x1060 0 <return> tailcall([0x4030].q) char* gets(char* buf): 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 {"SHpHH1H"} 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(rbx) 0x1191 1 rsp = rsp - 0x70 0x1195 2 rbx = rsp {var_78} 0x1198 3 rdi = rbx {var_78} 0x119b 4 eax = 0 0x119d 5 call(0x1070) 0x11a2 6 rdi = rbx {var_78} 0x11a5 7 call(0x11c0) 0x11aa 8 rdi = rbx {var_78} 0x11ad 9 eax = 0 0x11af 10 call(0x1080) 0x11b4 11 rsp = rsp + 0x70 0x11b8 12 rbx = pop 0x11b9 13 <return> jump(pop) char* turn(char* arg1): 0x11c0 0 push(rbp) 0x11c1 1 push(r15) 0x11c3 2 push(r14) 0x11c5 3 push(r13) 0x11c7 4 push(r12) 0x11c9 5 push(rbx) 0x11ca 6 rsp = rsp - 0x1458 0x11d1 7 r12 = rdi 0x11d4 8 xmm0 = 0 0x11d7 9 [rsp + 0x70 {var_1418}].o = xmm0 0x11dc 10 [rsp + 0x60 {var_1428}].o = xmm0 0x11e1 11 [rsp + 0x50 {var_1438}].o = xmm0 0x11e6 12 [rsp + 0x40 {var_1448}].o = xmm0 0x11eb 13 [rsp + 0x30 {var_1458}].o = xmm0 0x11f0 14 [rsp + 0x20 {var_1468}].o = xmm0 0x11f5 15 [rsp + 0x7d {var_1418+0xd}].q = 0 0x11fe 16 call(0x1040) 0x1205 17 if (eax s<= 0) then 18 @ 0x130e else 21 @ 0x120b 0x130e 18 edi = 0 0x1310 19 eax = 0 0x1310 20 goto 33 @ 0x1312 0x120b 21 rsi = 0x100000000 {""} 0x1215 22 [rsp {var_1488}].q = rax 0x1219 23 r8d = eax 0x121c 24 ebp = 0 0x121e 25 r14 = -0x100000000 0x1228 26 r15 = r12 0x122b 27 r13 = rsi 0x122e 28 ebx = 0 0x1230 29 edi = 0 0x1232 30 [rsp + 0x18 {var_1470_1}].q = r12 0x1237 31 [rsp + 8 {var_1480_1}].q = r8 0x123c 32 goto 37 @ 0x12b0 0x1312 33 edx = eax 0x1314 34 eax = 0xfffffffe {""} 0x1319 35 rcx = rdx 0x131c 36 goto 38 @ 0x1320 0x12b0 37 if ([r12 + rbx].b != 0x20) then 45 @ 0x1297 else 50 @ 0x12b2 0x1320 38 rsi = rcx 0x1323 39 temp0.q = rcx 0x1323 40 rcx = rcx - 1 0x1323 41 flag:c = temp0.q u>= 1 0x1327 42 bl = flag:c 0x132a 43 eax = eax + 1 0x1333 44 if ([r12 + rsi - 1].b == 0x20) then 54 @ 0x1339 else 58 @ 0x1337 0x1297 45 rbx = rbx + 1 0x129b 46 r13 = r13 + rsi 0x129e 47 r15 = r15 + 1 0x12a2 48 rbp = rbp - 1 0x12a9 49 if (rbx == r8) then 59 @ 0x1308 else 37 @ 0x12b0 0x12b2 50 r12d = 1 0x12b8 51 rdx = -2 0x12bf 52 rax = r13 0x12cc 53 goto 61 @ 0x12d0 0x1339 54 esi = (rcx + 1).d 0x133c 55 rbx = sx.q(edi) 0x133f 56 rbp = rdi 0x1344 57 if (edx s<= esi) then 66 @ 0x1371 else 68 @ 0x1346 0x1337 58 if (bl != 0) then 38 @ 0x1320 else 54 @ 0x1339 0x1308 59 rax = [rsp {var_1488}].q 0x130c 60 goto 33 @ 0x1312 0x12d0 61 rax = rax + r14 0x12d3 62 cond:1 = [r15 + r12 - 2].b == 0x20 0x12d9 63 r12 = r12 - 1 0x12de 64 rcx = rdx + 1 0x12e2 65 if (cond:1) then 79 @ 0x12f0 else 82 @ 0x12e4 0x1371 66 eax = 0 0x1371 67 goto 86 @ 0x1373 0x1346 68 rdx = rbx * 0x65 0x134a 69 rdi = rsp + rdx 0x134e 70 rdi = rdi + 0x90 0x1355 71 rsi = r12 + rcx 0x1359 72 rsi = rsi + 1 0x135d 73 r14d = eax 0x1360 74 r14 = r14 + 1 0x1364 75 rdx = r14 0x1367 76 call(0x1030) 0x136c 77 eax = r14d 0x136f 78 goto 86 @ 0x1373 0x12f0 79 rax = rax s>> 0x20 0x12f4 80 rdi = sx.q(edi) 0x12fa 81 if (rax s< rbx) then 94 @ 0x1240 else 107 @ 0x1300 0x12e4 82 rdx = rdx + rbp 0x12e7 83 cond:0 = rdx != -2 0x12eb 84 rdx = rcx 0x12ee 85 if (cond:0) then 61 @ 0x12d0 else 79 @ 0x12f0 0x1373 86 rcx = rbx * 0x65 0x1377 87 rcx = rcx + rsp 0x137a 88 rcx = rcx + 0x90 0x1381 89 [rax + rcx].b = 0 0x1385 90 rsi = rsp + 0x20 {var_1468} 0x138a 91 rdi = r12 0x138d 92 call(0x1050) 0x1394 93 if (ebx s<= 0) then 109 @ 0x13d8 else 120 @ 0x1396 0x1240 94 rax = rdi * 0x65 0x1244 95 [rsp + 0x10 {var_1478_1}].q = rdi 0x1249 96 rdi = rsp + rax 0x124d 97 rdi = rdi + 0x90 0x1254 98 rsi = r15 + r12 0x1258 99 edx = ecx 0x125a 100 rdx = rdx + 1 0x125e 101 call(0x1030) 0x1263 102 r8 = [rsp + 8 {var_1480_1}].q 0x1268 103 rsi = 0x100000000 {""} 0x1272 104 rdi = [rsp + 0x10 {var_1478_1}].q 0x1277 105 r12 = neg.q(r12) 0x1277 106 goto 126 @ 0x127a 0x1300 107 r12d = 0 0x1303 108 goto 126 @ 0x127a 0x13d8 109 rsi = rsp + 0x90 {var_13f8} 0x13e0 110 rdi = r12 0x13e3 111 call(0x1060) 0x13e8 112 rsp = rsp + 0x1458 0x13ef 113 rbx = pop 0x13f0 114 r12 = pop 0x13f2 115 r13 = pop 0x13f4 116 r14 = pop 0x13f6 117 r15 = pop 0x13f8 118 rbp = pop 0x13f9 119 <return> jump(pop) 0x1396 120 ebp = ebp 0x1398 121 rax = rbp * 0x65 0x139c 122 rbp = rbp + 1 0x13a0 123 rbx = rsp + rax 0x13a4 124 rbx = rbx + 0x90 0x13ab 125 goto 134 @ 0x13b0 0x127a 126 eax = r12d 0x127d 127 rcx = rdi * 0x65 0x1281 128 rcx = rcx + rsp 0x1284 129 rcx = rcx + 0x90 0x128b 130 [rax + rcx].b = 0 0x128f 131 edi = edi + 1 0x1292 132 r12 = [rsp + 0x18 {var_1470_1}].q 0x1292 133 goto 45 @ 0x1297 0x13b0 134 rdi = r12 0x13b3 135 rsi = rbx 0x13b6 136 call(0x1060) 0x13bb 137 rdi = r12 0x13be 138 call(0x1040) 0x13c3 139 [r12 + rax].w = 0x20 {"@"} 0x13ca 140 rbp = rbp - 1 0x13ce 141 rbx = rbx - 0x65 0x13d6 142 if (rbp u> 1) then 134 @ 0x13b0 else 109 @ 0x13d8 int64_t _fini(): 0x1400 0 rsp = rsp - 8 0x1404 1 rsp = rsp + 8 0x1408 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 {"UAWAVATSHH="} 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 - 0x10 0x115c 6 rdi = 0x2006 {"%d"} 0x1163 7 rsi = rsp + 4 {var_34} 0x1168 8 eax = 0 0x116a 9 call(0x1040) 0x1174 10 if ([rsp + 4 {var_34}].d s<= 0) then 11 @ 0x11c2 else 19 @ 0x1176 0x11c2 11 eax = 0 0x11c4 12 rsp = rsp + 0x10 0x11c8 13 rbx = pop 0x11c9 14 r12 = pop 0x11cb 15 r14 = pop 0x11cd 16 r15 = pop 0x11cf 17 rbp = pop 0x11d0 18 <return> jump(pop) 0x1176 19 r14 = 0x2004 {"%d%d"} 0x117d 20 r15 = rsp + 8 {var_30} 0x1182 21 r12 = rsp + 0xc {var_2c} 0x1187 22 rbx = 0x2009 {"%d\n"} 0x118e 23 ebp = 0 0x118e 24 goto 25 @ 0x1190 0x1190 25 rdi = r14 0x1193 26 rsi = r15 {var_30} 0x1196 27 rdx = r12 {var_2c} 0x1199 28 eax = 0 0x119b 29 call(0x1040) 0x11a0 30 edi = [rsp + 0xc {var_2c}].d 0x11a4 31 esi = [rsp + 8 {var_30}].d 0x11a8 32 call(0x11e0) 0x11ad 33 rdi = rbx 0x11b0 34 esi = eax 0x11b2 35 eax = 0 0x11b4 36 call(0x1030) 0x11b9 37 ebp = ebp + 1 0x11c0 38 if (ebp s< [rsp + 4 {var_34}].d) then 25 @ 0x1190 else 11 @ 0x11c2 uint64_t method(int32_t arg1, int32_t arg2): 0x11e0 0 push(rbp) 0x11e1 1 push(r15) 0x11e3 2 push(r14) 0x11e5 3 push(rbx) 0x11e6 4 push(rax) 0x11e7 5 r15d = 0 0x11ed 6 if (edi == 1) then 7 @ 0x126b else 15 @ 0x11ef 0x126b 7 r15d = r15d + 1 0x126f 8 eax = r15d 0x1272 9 rsp = rsp + 8 0x1276 10 rbx = pop 0x1277 11 r14 = pop 0x1279 12 r15 = pop 0x127b 13 rbp = pop 0x127c 14 <return> jump(pop) 0x11ef 15 ebp = esi 0x11f4 16 if (esi u< 2) then 7 @ 0x126b else 17 @ 0x11f6 0x11f6 17 r15d = 0 0x11f9 18 r14d = 0x20 {"@"} 0x11f9 19 goto 20 @ 0x11ff 0x11ff 20 cond:0 = edi s< ebp 0x1201 21 ebx = ebp 0x1203 22 if (cond:0) then 23 else 25 @ 0x1206 0x1203 23 ebx = edi 0x1203 24 goto 25 @ 0x1206 0x1206 25 eax = edi 0x1208 26 eax = eax - ebx 0x120a 27 ecx = (rdi - 2).d 0x120f 28 if (eax u>= ecx) then 29 else 31 @ 0x1212 0x120f 29 eax = ecx 0x120f 30 goto 31 @ 0x1212 0x1212 31 eax = eax + 1 0x1218 32 if (eax u< 0x21) then 33 @ 0x1242 else 34 @ 0x121a 0x1242 33 if (ebp s>= edi) then 37 @ 0x1250 else 42 @ 0x1244 0x121a 34 ecx = eax 0x121c 35 ecx = ecx & 0x1f 0x121f 36 if (ecx == 0) then 44 else 46 @ 0x1223 0x1250 37 edi = (rbx - 1).d 0x1253 38 esi = ebp 0x1255 39 call(0x11e0) 0x125a 40 r15d = r15d + eax 0x1260 41 if (ebx == 1) then 7 @ 0x126b else 49 @ 0x1262 0x1244 42 edi = edi - 1 0x124a 43 if (edi != 1) then 33 @ 0x1242 else 52 @ 0x124c 0x121f 44 ecx = r14d 0x121f 45 goto 46 @ 0x1223 0x1223 46 eax = eax - ecx 0x1225 47 edi = edi - eax 0x1227 48 goto 53 @ 0x1230 0x1262 49 ebp = ebp - ebx 0x1264 50 edi = ebx 0x1269 51 if (ebp u> 1) then 20 @ 0x11ff else 7 @ 0x126b 0x124c 52 goto 7 @ 0x126b 0x1230 53 temp0.d = eax 0x1230 54 eax = eax - 0x20 0x1233 55 if (temp0.d != 0x20) then 53 @ 0x1230 else 56 @ 0x123f 0x123f 56 goto 33 @ 0x1242 int64_t _fini(): 0x1284 0 rsp = rsp - 8 0x1288 1 rsp = rsp + 8 0x128c 2 <return> jump(pop)
POJ_90
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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) char* gets(char* buf): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1290 {"UHH0 "} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) uint64_t Book_num(char* arg1): 0x1180 0 push(rbp) 0x1181 1 rbp = rsp {__saved_rbp} 0x1184 2 [rbp - 8 {var_10}].q = rdi 0x1188 3 [rbp - 0xc {var_14}].d = 1 0x118f 4 [rbp - 0xc {var_14_1}].d = 1 0x1196 5 al = 1 0x119a 6 if ((al & 1) != 0) then 7 @ 0x11a5 else 11 @ 0x11a0 0x11a5 7 rax = [rbp - 8 {var_10}].q 0x11a9 8 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x11ad 9 eax = sx.d([rax + rcx].b) 0x11b4 10 if (eax != 0x20) then 12 @ 0x11cc else 16 @ 0x11ba 0x11a0 11 goto 12 @ 0x11cc 0x11cc 12 eax = [rbp - 0xc {var_14_1}].d 0x11cf 13 eax = eax + 1 0x11d2 14 [rbp - 0xc {var_14_2}].d = eax 0x11d2 15 goto 21 @ 0x11d5 0x11ba 16 rax = [rbp - 8 {var_10}].q 0x11be 17 eax = sx.d([rax].b) 0x11c1 18 eax = eax - 0x30 0x11c4 19 [rbp - 0x10 {var_18}].d = eax 0x11c7 20 goto 21 @ 0x11d5 0x11d5 21 [rbp - 0xc {var_14_3}].d = 2 0x11dc 22 al = 1 0x11e0 23 if ((al & 1) != 0) then 24 @ 0x11eb else 28 @ 0x11e6 0x11eb 24 rax = [rbp - 8 {var_10}].q 0x11ef 25 rcx = sx.q([rbp - 0xc {var_14_3}].d) 0x11f3 26 eax = sx.d([rax + rcx].b) 0x11fa 27 if (eax != 0x20) then 29 @ 0x1222 else 33 @ 0x1200 0x11e6 28 goto 29 @ 0x1222 0x1222 29 eax = [rbp - 0xc {var_14_3}].d 0x1225 30 eax = eax + 1 0x1228 31 [rbp - 0xc {var_14_4}].d = eax 0x1228 32 goto 43 @ 0x122b 0x1200 33 rax = [rbp - 8 {var_10}].q 0x1204 34 eax = sx.d([rax + 1].b) 0x1208 35 eax = eax - 0x30 0x120b 36 rcx = [rbp - 8 {var_10}].q 0x120f 37 ecx = sx.d([rcx].b) 0x1212 38 ecx = ecx - 0x30 0x1215 39 ecx = ecx * 0xa 0x1218 40 eax = eax + ecx 0x121a 41 [rbp - 0x10 {var_18}].d = eax 0x121d 42 goto 43 @ 0x122b 0x122b 43 [rbp - 0xc {var_14_5}].d = 3 0x1232 44 al = 1 0x1236 45 if ((al & 1) != 0) then 46 @ 0x1241 else 50 @ 0x123c 0x1241 46 rax = [rbp - 8 {var_10}].q 0x1245 47 rcx = sx.q([rbp - 0xc {var_14_5}].d) 0x1249 48 eax = sx.d([rax + rcx].b) 0x1250 49 if (eax != 0x20) then 51 @ 0x1283 else 54 @ 0x1256 0x123c 50 goto 51 @ 0x1283 0x1283 51 eax = [rbp - 0x10 {var_18}].d 0x1286 52 rbp = pop 0x1287 53 <return> jump(pop) 0x1256 54 rax = [rbp - 8 {var_10}].q 0x125a 55 eax = sx.d([rax + 2].b) 0x125e 56 eax = eax - 0x30 0x1261 57 rcx = [rbp - 8 {var_10}].q 0x1265 58 ecx = sx.d([rcx + 1].b) 0x1269 59 ecx = ecx - 0x30 0x126c 60 ecx = ecx * 0xa 0x126f 61 eax = eax + ecx 0x1271 62 rcx = [rbp - 8 {var_10}].q 0x1275 63 ecx = sx.d([rcx].b) 0x1278 64 ecx = ecx - 0x30 0x127b 65 ecx = ecx * 0x64 0x127e 66 eax = eax + ecx 0x1280 67 [rbp - 0x10 {var_18}].d = eax 0x1280 68 goto 51 @ 0x1283 int32_t main(int32_t argc, char** argv, char** envp): 0x1290 0 push(rbp) 0x1291 1 rbp = rsp {__saved_rbp} 0x1294 2 rsp = rsp - 0x20b30 0x129b 3 [rbp - 4 {var_c}].d = 0 0x12a2 4 rdi = rbp - 0x19600 {var_19608} 0x12a9 5 esi = 0 0x12ab 6 edx = 0x195d8 {""} 0x12b0 7 call(0x1040) 0x12b5 8 rdi = 0x2004 {"%d\n"} 0x12bc 9 rsi = rbp - 8 {var_10} 0x12c0 10 al = 0 0x12c2 11 call(0x1060) 0x12c7 12 [rbp - 0x10 {var_18}].d = 0 0x12c7 13 goto 14 @ 0x12ce 0x12ce 14 eax = [rbp - 0x10 {var_18}].d 0x12d4 15 if (eax s>= [rbp - 8 {var_10}].d) then 16 @ 0x133f else 19 @ 0x12da 0x133f 16 [rbp - 0x14 {var_1c}].d = 0 0x1346 17 [rbp - 0x10 {var_18_1}].d = 0 0x1346 18 goto 42 @ 0x134d 0x12da 19 rax = sx.q([rbp - 0x10 {var_18}].d) 0x12de 20 rdi = rbp - 0x20b20 {var_20b28} 0x12e5 21 rax = rax * 0x1e 0x12e9 22 rdi = rdi + rax 0x12ec 23 al = 0 0x12ee 24 call(0x1070) 0x12f3 25 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x12f7 26 rax = rbp - 0x20b20 {var_20b28} 0x12fe 27 rcx = rcx * 0x1e 0x1302 28 rax = rax + rcx 0x1305 29 [rbp - 0x20b28 {var_20b30_1}].q = rax 0x130c 30 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1310 31 rdi = rbp - 0x20b20 {var_20b28} 0x1317 32 rax = rax * 0x1e 0x131b 33 rdi = rdi + rax 0x131e 34 call(0x1050) 0x1323 35 rcx = rax 0x1326 36 rax = [rbp - 0x20b28 {var_20b30_1}].q 0x132d 37 [rax + rcx].b = 0 0x1331 38 eax = [rbp - 0x10 {var_18}].d 0x1334 39 eax = eax + 1 0x1337 40 [rbp - 0x10 {var_18}].d = eax 0x133a 41 goto 14 @ 0x12ce 0x134d 42 eax = [rbp - 0x10 {var_18_1}].d 0x1353 43 if (eax s>= [rbp - 8 {var_10}].d) then 44 @ 0x1475 else 46 @ 0x1359 0x1475 44 [rbp - 0x10 {var_18_2}].d = 0 0x1475 45 goto 48 @ 0x1480 0x1359 46 [rbp - 0x18 {var_20_1}].d = 0 0x1359 47 goto 49 @ 0x1360 0x1480 48 if ([rbp - 0x10 {var_18_2}].d s>= 0x1a) then 56 @ 0x1534 else 60 @ 0x1486 0x1360 49 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1364 50 rax = rbp - 0x20b20 {var_20b28} 0x136b 51 rcx = rcx * 0x1e 0x136f 52 rax = rax + rcx 0x1372 53 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x1376 54 eax = sx.d([rax + rcx].b) 0x137d 55 if (eax == 0) then 66 @ 0x1462 else 67 @ 0x1383 0x1534 56 eax = 0 0x1536 57 rsp = rsp + 0x20b30 0x153d 58 rbp = pop 0x153e 59 <return> jump(pop) 0x1486 60 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x148a 61 rax = rbp - 0x19600 {var_19608} 0x1491 62 rcx = rcx * 0xf9c 0x1498 63 rax = rax + rcx 0x149b 64 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x14a3 65 if ([rax + (rcx << 2)].d == 0) then 74 @ 0x1521 else 75 @ 0x14a9 0x1462 66 goto 87 @ 0x1467 0x1383 67 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x1387 68 rax = rbp - 0x20b20 {var_20b28} 0x138e 69 rcx = rcx * 0x1e 0x1392 70 rax = rax + rcx 0x1395 71 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x1399 72 eax = sx.d([rax + rcx].b) 0x13a0 73 if (eax s<= 0x40) then 91 @ 0x144f else 92 @ 0x13a6 0x1521 74 goto 102 @ 0x1526 0x14a9 75 esi = [rbp - 0x10 {var_18_2}].d 0x14ac 76 esi = esi + 0x41 0x14af 77 rdi = 0x2008 {"%c\n"} 0x14b6 78 al = 0 0x14b8 79 call(0x1030) 0x14bd 80 esi = [rbp - 0x14 {var_1c}].d 0x14c0 81 esi = esi + 1 0x14c3 82 rdi = 0x2004 {"%d\n"} 0x14ca 83 al = 0 0x14cc 84 call(0x1030) 0x14d1 85 [rbp - 0x18 {var_20_2}].d = 0 0x14d1 86 goto 106 @ 0x14d8 0x1467 87 eax = [rbp - 0x10 {var_18_1}].d 0x146a 88 eax = eax + 1 0x146d 89 [rbp - 0x10 {var_18_1}].d = eax 0x1470 90 goto 42 @ 0x134d 0x144f 91 goto 108 @ 0x1454 0x13a6 92 rcx = sx.q([rbp - 0x10 {var_18_1}].d) 0x13aa 93 rax = rbp - 0x20b20 {var_20b28} 0x13b1 94 rcx = rcx * 0x1e 0x13b5 95 rax = rax + rcx 0x13b8 96 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x13bc 97 eax = sx.d([rax + rcx].b) 0x13c0 98 eax = eax - 0x41 0x13c3 99 [rbp - 0x1c {var_24_1}].d = eax 0x13c6 100 [rbp - 0xc {var_14_1}].d = 0 0x13c6 101 goto 112 @ 0x13cd 0x1526 102 eax = [rbp - 0x10 {var_18_2}].d 0x1529 103 eax = eax + 1 0x152c 104 [rbp - 0x10 {var_18_2}].d = eax 0x152f 105 goto 48 @ 0x1480 0x14d8 106 eax = [rbp - 0x18 {var_20_2}].d 0x14de 107 if (eax s> [rbp - 0x14 {var_1c}].d) then 118 @ 0x151c else 119 @ 0x14e4 0x1454 108 eax = [rbp - 0x18 {var_20_1}].d 0x1457 109 eax = eax + 1 0x145a 110 [rbp - 0x18 {var_20_1}].d = eax 0x145d 111 goto 49 @ 0x1360 0x13cd 112 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x13d1 113 rax = rbp - 0x19600 {var_19608} 0x13d8 114 rcx = rcx * 0xf9c 0x13df 115 rax = rax + rcx 0x13e2 116 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x13ea 117 if ([rax + (rcx << 2)].d == 0) then 132 @ 0x1403 else 146 @ 0x13f0 0x151c 118 goto 56 @ 0x1534 0x14e4 119 rcx = sx.q([rbp - 0x10 {var_18_2}].d) 0x14e8 120 rax = rbp - 0x19600 {var_19608} 0x14ef 121 rcx = rcx * 0xf9c 0x14f6 122 rax = rax + rcx 0x14f9 123 rcx = sx.q([rbp - 0x18 {var_20_2}].d) 0x14fd 124 esi = [rax + (rcx << 2)].d 0x1500 125 rdi = 0x2004 {"%d\n"} 0x1507 126 al = 0 0x1509 127 call(0x1030) 0x150e 128 eax = [rbp - 0x18 {var_20_2}].d 0x1511 129 eax = eax + 1 0x1514 130 [rbp - 0x18 {var_20_2}].d = eax 0x1517 131 goto 106 @ 0x14d8 0x1403 132 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x1407 133 rdi = rbp - 0x20b20 {var_20b28} 0x140e 134 rax = rax * 0x1e 0x1412 135 rdi = rdi + rax 0x1415 136 call(0x1180) 0x141a 137 edx = eax 0x141c 138 rcx = sx.q([rbp - 0x1c {var_24_1}].d) 0x1420 139 rax = rbp - 0x19600 {var_19608} 0x1427 140 rcx = rcx * 0xf9c 0x142e 141 rax = rax + rcx 0x1431 142 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1435 143 [rax + (rcx << 2)].d = edx 0x1438 144 eax = [rbp - 0xc {var_14_1}].d 0x143e 145 if (eax s<= [rbp - 0x14 {var_1c}].d) then 147 @ 0x144a else 148 @ 0x1444 0x13f0 146 goto 151 @ 0x13f5 0x144a 147 goto 91 @ 0x144f 0x1444 148 eax = [rbp - 0xc {var_14_1}].d 0x1447 149 [rbp - 0x14 {var_1c}].d = eax 0x1447 150 goto 147 @ 0x144a 0x13f5 151 eax = [rbp - 0xc {var_14_1}].d 0x13f8 152 eax = eax + 1 0x13fb 153 [rbp - 0xc {var_14_1}].d = eax 0x13fe 154 goto 112 @ 0x13cd int64_t _fini(): 0x1544 0 rsp = rsp - 8 0x1548 1 rsp = rsp + 8 0x154c 2 <return> jump(pop)
POJ_2
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t getchar(): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 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(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 = 0x2013 {"%d"} 0x1175 8 rsi = rsp + 0xc {var_4c} 0x117a 9 eax = 0 0x117c 10 call(0x1040) 0x1181 11 rdi = 0x2010 {"%d %d"} 0x1188 12 rsi = rsp + 8 {var_50} 0x118d 13 rdx = rsp + 4 {var_54} 0x1192 14 eax = 0 0x1194 15 call(0x1040) 0x119e 16 if ([rsp + 0xc {var_4c}].d s< 2) then 17 @ 0x12c0 else 30 @ 0x11a4 0x12c0 17 eax = 0 0x12c2 18 call(0x1030) 0x12c7 19 eax = 0 0x12c9 20 call(0x1030) 0x12ce 21 eax = 0 0x12d0 22 rsp = rsp + 0x28 0x12d4 23 rbx = pop 0x12d5 24 r12 = pop 0x12d7 25 r13 = pop 0x12d9 26 r14 = pop 0x12db 27 r15 = pop 0x12dd 28 rbp = pop 0x12de 29 <return> jump(pop) 0x11a4 30 xmm1.q = float.d([rsp + 4 {var_54}].d) 0x11aa 31 xmm0.q = float.d([rsp + 8 {var_50}].d) 0x11b0 32 xmm1.q = xmm1.q f/ xmm0.q 0x11b4 33 r12d = 1 0x11ba 34 r14 = 0x2010 {"%d %d"} 0x11c1 35 r15 = rsp + 8 {var_50} 0x11c6 36 rbx = rsp + 4 {var_54} 0x11cb 37 r13 = 0x201b {"better"} 0x11d2 38 rbp = 0x2016 {"same"} 0x11d9 39 [rsp + 0x18 {var_40_1}].q = xmm1.q 0x11df 40 goto 41 @ 0x11ff 0x11ff 41 rdi = r14 0x1202 42 rsi = r15 {var_50} 0x1205 43 rdx = rbx {var_54} 0x1208 44 eax = 0 0x120a 45 call(0x1040) 0x120f 46 xmm1 = zx.o([rsp + 0x18 {var_40_1}].q) 0x1215 47 xmm2 = 0 0x1218 48 xmm2.q = float.d([rsp + 4 {var_54}].d) 0x121e 49 xmm0 = 0 0x1221 50 xmm0.q = float.d([rsp + 8 {var_50}].d) 0x1227 51 xmm2.q = xmm2.q f/ xmm0.q 0x122b 52 xmm0 = zx.o([0x2008].q) 0x1233 53 xmm3 = xmm1 0x1237 54 xmm3.q = xmm3.q f- xmm2.q 0x123b 55 flag:p = is_unordered.q(xmm3.q, xmm0.q) 0x123b 56 flag:c = xmm3.q f< xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x123b 57 flag:z = xmm3.q f== xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x123b 58 flag:s = 0 0x123b 59 flag:o = 0 0x123b 60 flag:a = 0 0x123f 61 [rsp + 0x20 {var_38_1}].q = xmm3.q 0x1245 62 if (flag:z || flag:c) then 63 @ 0x1273 else 71 @ 0x1247 0x1273 63 xmm2.q = xmm2.q f- xmm1.q 0x1277 64 flag:p = is_unordered.q(xmm2.q, xmm0.q) 0x1277 65 flag:c = xmm2.q f< xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x1277 66 flag:z = xmm2.q f== xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x1277 67 flag:s = 0 0x1277 68 flag:o = 0 0x1277 69 flag:a = 0 0x127b 70 if (flag:z || flag:c) then 79 @ 0x129f else 86 @ 0x127d 0x1247 71 rdi = 0x2022 {"worse"} 0x124e 72 [rsp + 0x10 {var_48_1}].q = xmm2.q 0x1254 73 call(0x1050) 0x1259 74 xmm3 = zx.o([rsp + 0x20 {var_38_1}].q) 0x125f 75 xmm2 = zx.o([rsp + 0x10 {var_48_1}].q) 0x1265 76 xmm0 = zx.o([0x2008].q) 0x126d 77 xmm1 = zx.o([rsp + 0x18 {var_40_1}].q) 0x126d 78 goto 63 @ 0x1273 0x129f 79 flag:p = is_unordered.q(xmm0.q, xmm3.q) 0x129f 80 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x129f 81 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x129f 82 flag:s = 0 0x129f 83 flag:o = 0 0x129f 84 flag:a = 0 0x12a3 85 if (flag:z || flag:c) then 93 @ 0x11f0 else 95 @ 0x12a9 0x127d 86 rdi = r13 0x1280 87 [rsp + 0x10 {var_48_2}].q = xmm2.q 0x1286 88 call(0x1050) 0x128b 89 xmm3 = zx.o([rsp + 0x20 {var_38_1}].q) 0x1291 90 xmm2 = zx.o([rsp + 0x10 {var_48_2}].q) 0x1297 91 xmm0 = zx.o([0x2008].q) 0x1297 92 goto 79 @ 0x129f 0x11f0 93 r12d = r12d + 1 0x11f9 94 if (r12d s>= [rsp + 0xc {var_4c}].d) then 17 @ 0x12c0 else 41 @ 0x11ff 0x12a9 95 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x12a9 96 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x12a9 97 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x12a9 98 flag:s = 0 0x12a9 99 flag:o = 0 0x12a9 100 flag:a = 0 0x12ad 101 if (flag:z || flag:c) then 93 @ 0x11f0 else 102 @ 0x12b3 0x12b3 102 rdi = rbp 0x12b6 103 call(0x1050) 0x12bb 104 goto 93 @ 0x11f0 int64_t _fini(): 0x12e4 0 rsp = rsp - 8 0x12e8 1 rsp = rsp + 8 0x12ec 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) 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 E"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x20 0x1168 3 [rbp - 4 {var_c}].d = 0 0x116f 4 [rbp - 0x14 {var_1c}].d = 0 0x1176 5 rdi = 0x2004 {"%d%c"} 0x117d 6 rsi = rbp - 0x10 {var_18} 0x1181 7 rdx = rbp - 0x15 {var_1d} 0x1185 8 al = 0 0x1187 9 call(0x1040) 0x118c 10 rdi = 0x4050 {""} 0x1193 11 al = 0 0x1195 12 call(0x1050) 0x119a 13 [rbp - 8 {var_10}].d = 0 0x119a 14 goto 15 @ 0x11a1 0x11a1 15 rcx = sx.q([rbp - 8 {var_10}].d) 0x11a5 16 rax = 0x4050 {""} 0x11ac 17 eax = sx.d([rax + rcx].b) 0x11b3 18 if (eax == 0) then 19 @ 0x1257 else 29 @ 0x11b9 0x1257 19 rdi = 0x4050 {""} 0x125e 20 al = 0 0x1260 21 call(0x1050) 0x1265 22 rdi = 0x4050 {""} 0x126c 23 al = 0 0x126e 24 call(0x1050) 0x1273 25 eax = 0 0x1275 26 rsp = rsp + 0x20 0x1279 27 rbp = pop 0x127a 28 <return> jump(pop) 0x11b9 29 eax = [rbp - 0x14 {var_1c}].d 0x11bc 30 eax = eax + 1 0x11bf 31 [rbp - 0x14 {var_1c}].d = eax 0x11c2 32 rcx = sx.q([rbp - 8 {var_10}].d) 0x11c6 33 rax = 0x4050 {""} 0x11cd 34 eax = sx.d([rax + rcx].b) 0x11d4 35 if (eax != 0x20) then 36 @ 0x1227 else 43 @ 0x11de 0x1227 36 rcx = sx.q([rbp - 8 {var_10}].d) 0x122b 37 rax = 0x4050 {""} 0x1232 38 esi = sx.d([rax + rcx].b) 0x1236 39 rdi = 0x2006 {"%c"} 0x123d 40 al = 0 0x123f 41 call(0x1030) 0x123f 42 goto 44 @ 0x1244 0x11de 43 if ([rbp - 0x14 {var_1c}].d s> 0x51) then 36 @ 0x1227 else 45 @ 0x11e4 0x1244 44 goto 55 @ 0x1249 0x11e4 45 eax = [rbp - 0x14 {var_1c}].d 0x11e7 46 [rbp - 0x1c {var_24_1}].d = eax 0x11ea 47 rax = sx.q([rbp - 8 {var_10}].d) 0x11ee 48 rdi = 0x4050 {""} 0x11f5 49 rdi = rdi + rax 0x11f8 50 call(0x1280) 0x11fd 51 ecx = eax 0x11ff 52 eax = [rbp - 0x1c {var_24_1}].d 0x1202 53 eax = eax + ecx 0x1207 54 if (eax s<= 0x51) then 36 @ 0x1227 else 59 @ 0x120d 0x1249 55 eax = [rbp - 8 {var_10}].d 0x124c 56 eax = eax + 1 0x124f 57 [rbp - 8 {var_10}].d = eax 0x1252 58 goto 15 @ 0x11a1 0x120d 59 rdi = 0x2009 {"\n"} 0x1214 60 al = 0 0x1216 61 call(0x1030) 0x121b 62 [rbp - 0x14 {var_1c}].d = 0 0x1222 63 goto 44 @ 0x1244 uint64_t find(void* arg1): 0x1280 0 push(rbp) 0x1281 1 rbp = rsp {__saved_rbp} 0x1284 2 [rbp - 0x10 {var_18}].q = rdi 0x1288 3 [rbp - 0x14 {var_1c}].d = 1 0x1288 4 goto 5 @ 0x1293 0x1293 5 if ([rbp - 0x14 {var_1c}].d s> 0x28) then 6 @ 0x12cc else 9 @ 0x1299 0x12cc 6 eax = [rbp - 4 {var_c}].d 0x12cf 7 rbp = pop 0x12d0 8 <return> jump(pop) 0x1299 9 rax = [rbp - 0x10 {var_18}].q 0x129d 10 rcx = sx.q([rbp - 0x14 {var_1c}].d) 0x12a1 11 eax = sx.d([rax + rcx].b) 0x12a8 12 if (eax != 0x20) then 13 @ 0x12b9 else 14 @ 0x12ae 0x12b9 13 goto 17 @ 0x12be 0x12ae 14 eax = [rbp - 0x14 {var_1c}].d 0x12b1 15 [rbp - 4 {var_c}].d = eax 0x12b4 16 goto 6 @ 0x12cc 0x12be 17 eax = [rbp - 0x14 {var_1c}].d 0x12c1 18 eax = eax + 1 0x12c4 19 [rbp - 0x14 {var_1c}].d = eax 0x12c7 20 goto 5 @ 0x1293 int64_t _fini(): 0x12d8 0 rsp = rsp - 8 0x12dc 1 rsp = rsp + 8 0x12e0 2 <return> jump(pop)
POJ_98
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"PH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rax) 0x1151 1 rdi = 0x2010 {"%d"} 0x1158 2 rsi = rsp + 4 {var_8+0x4} 0x115d 3 eax = 0 0x115f 4 call(0x1040) 0x1164 5 esi = [rsp + 4 {var_8+0x4}].d 0x116e 6 if (esi != 0x2710) then 7 @ 0x1185 else 8 @ 0x1170 0x1185 7 if (esi s> 9) then 12 @ 0x119c else 13 @ 0x1187 0x1170 8 rdi = 0x2004 {"00001"} 0x1177 9 eax = 0 0x1179 10 call(0x1030) 0x1179 11 goto 19 @ 0x117e 0x119c 12 if (esi u> 0x63) then 22 @ 0x11cb else 23 @ 0x119e 0x1187 13 rdi = 0x2010 {"%d"} 0x118e 14 eax = 0 0x1190 15 call(0x1030) 0x1195 16 eax = 0 0x1197 17 rcx = pop 0x1198 18 <return> jump(pop) 0x117e 19 eax = 0 0x1180 20 rcx = pop 0x1181 21 <return> jump(pop) 0x11cb 22 if (esi u> 0x3e7) then 35 @ 0x1216 else 36 @ 0x11cd 0x119e 23 eax = zx.d(sil) 0x11a2 24 edx = eax * 0xcd 0x11a8 25 edx = edx u>> 0xb 0x11ab 26 eax = (rdx + rdx).d 0x11ae 27 eax = (rax + (rax << 2)).d 0x11b1 28 esi = esi - eax 0x11b3 29 rdi = 0x200e {"%d%d"} 0x11ba 30 eax = 0 0x11bc 31 call(0x1030) 0x11c1 32 eax = 0 0x11c3 33 rcx = pop 0x11c4 34 <return> jump(pop) 0x1216 35 if (esi u> 0x270f) then 19 @ 0x117e else 58 @ 0x121c 0x11cd 36 eax = zx.d(si) 0x11d0 37 eax = eax u>> 2 0x11d3 38 ecx = eax * 0x147b 0x11d9 39 ecx = ecx u>> 0x11 0x11dc 40 eax = ecx * -0x64 0x11df 41 eax = eax + esi 0x11e1 42 edx = sx.d(ax) 0x11e4 43 edx = edx * 0x6667 0x11ea 44 esi = edx 0x11ec 45 esi = esi u>> 0x1f 0x11ef 46 edx = edx s>> 0x12 0x11f2 47 edx = edx + esi 0x11f4 48 esi = (rdx + rdx).d 0x11f7 49 esi = (rsi + (rsi << 2)).d 0x11fa 50 eax = eax - esi 0x11fc 51 rdi = 0x200c {"%d%d%d"} 0x1203 52 esi = eax 0x1205 53 eax = 0 0x1207 54 call(0x1030) 0x120c 55 eax = 0 0x120e 56 rcx = pop 0x120f 57 <return> jump(pop) 0x121c 58 eax = zx.d(si) 0x121f 59 eax = eax u>> 3 0x1222 60 r8d = eax * 0x20c5 0x1229 61 r8d = r8d u>> 0x14 0x122d 62 eax = r8d * -0x3e8 0x1234 63 eax = eax + esi 0x1236 64 ecx = sx.d(ax) 0x1239 65 ecx = ecx * 0x147b 0x123f 66 edx = ecx 0x1241 67 edx = edx u>> 0x1f 0x1244 68 ecx = ecx s>> 0x13 0x1247 69 ecx = ecx + edx 0x1249 70 esi = ecx * -0x64 0x124c 71 esi = esi + eax 0x124e 72 eax = sx.d(si) 0x1251 73 edx = eax * 0x6667 0x1257 74 eax = edx 0x1259 75 eax = eax u>> 0x1f 0x125c 76 edx = edx s>> 0x12 0x125f 77 edx = edx + eax 0x1261 78 eax = (rdx + rdx).d 0x1264 79 eax = (rax + (rax << 2)).d 0x1267 80 esi = esi - eax 0x1269 81 rdi = 0x200a {"%d%d%d%d"} 0x1270 82 eax = 0 0x1272 83 call(0x1030) 0x1277 84 eax = 0 0x1279 85 rcx = pop 0x127a 86 <return> jump(pop) int64_t _fini(): 0x1280 0 rsp = rsp - 8 0x1284 1 rsp = rsp + 8 0x1288 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) 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 {"AWAVSH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(r15) 0x1172 1 push(r14) 0x1174 2 push(rbx) 0x1175 3 rsp = rsp - 0xe0 0x117c 4 rdi = 0x2004 {"%s%s"} 0x1183 5 r14 = rsp + 0x70 {var_88} 0x1188 6 r15 = rsp {var_f8} 0x118b 7 rsi = r14 {var_88} 0x118e 8 rdx = r15 {var_f8} 0x1191 9 eax = 0 0x1193 10 call(0x1050) 0x1198 11 rdi = r14 {var_88} 0x119b 12 call(0x1040) 0x11a0 13 rbx = rax 0x11a3 14 rdi = r15 {var_f8} 0x11a6 15 call(0x1040) 0x11ae 16 if (rbx != rax) then 17 @ 0x121c else 22 @ 0x11b0 0x121c 17 rdi = 0x200d {"NO"} 0x1223 18 eax = 0 0x1225 19 call(0x1030) 0x122a 20 rdi = 0x2009 {"YES"} 0x1231 21 goto 25 @ 0x1236 0x11b0 22 al = [rsp + 0x70 {var_88}].b 0x11b4 23 rdi = 0x2009 {"YES"} 0x11bd 24 if (al == 0) then 25 @ 0x1236 else 31 @ 0x11bf 0x1236 25 call(0x1060) 0x123b 26 rsp = rsp + 0xe0 0x1242 27 rbx = pop 0x1243 28 r14 = pop 0x1245 29 r15 = pop 0x1247 30 <return> jump(pop) 0x11bf 31 rdx = rsp + 1 {var_f7} 0x11c4 32 r8 = 0x200d {"NO"} 0x11c4 33 goto 34 @ 0x11cb 0x11cb 34 cl = [r15].b 0x11d0 35 if (cl == 0) then 36 @ 0x1233 else 38 @ 0x11d2 0x1233 36 rdi = r8 0x1233 37 goto 25 @ 0x1236 0x11d2 38 rsi = rdx 0x11d5 39 ebx = ecx 0x11d7 40 goto 41 @ 0x11e2 0x11e2 41 if (bl == al) then 42 @ 0x1200 else 49 @ 0x11e4 0x1200 42 [rsi - 1].b = cl 0x1203 43 [r15].b = al 0x1206 44 r15 = r15 + 1 0x120a 45 al = [r14 + 1].b 0x120e 46 r14 = r14 + 1 0x1212 47 rdx = rdx + 1 0x1218 48 if (al != 0) then 34 @ 0x11cb else 52 @ 0x121a 0x11e4 49 ebx = zx.d([rsi].b) 0x11e7 50 rsi = rsi + 1 0x11ed 51 if (bl != 0) then 41 @ 0x11e2 else 53 @ 0x11ef 0x121a 52 goto 25 @ 0x1236 0x11ef 53 goto 36 @ 0x1233 int64_t _fini(): 0x124c 0 rsp = rsp - 8 0x1250 1 rsp = rsp + 8 0x1254 2 <return> jump(pop)
POJ_36
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) 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 - 0x14a8 0x1161 7 rdi = 0x201b {"%d"} 0x1168 8 ebx = 0 0x116a 9 rsi = rsp + 0xc {var_14cc} 0x116f 10 eax = 0 0x1171 11 call(0x1040) 0x117b 12 if ([rsp + 0xc {var_14cc}].d s<= 0) then 13 @ 0x1311 else 22 @ 0x1181 0x1311 13 eax = [rsp + 0x80 {var_1458}].d 0x1318 14 [rsp + 0x40 {var_1498}].d = eax 0x131c 15 xmm0 = [rsp + 0x50 {var_1488}].o 0x1322 16 xmm1 = [rsp + 0x60 {var_1478}].o 0x1328 17 xmm2 = [rsp + 0x70 {var_1468}].o 0x132e 18 [rsp + 0x30 {var_14a8_2}].o = xmm2 0x1334 19 [rsp + 0x20 {var_14b8_2}].o = xmm1 0x133a 20 [rsp + 0x10 {var_14c8}].o = xmm0 0x1340 21 goto 25 @ 0x14bc 0x1181 22 rbx = rsp + 0x70 {var_1468} 0x1186 23 ebp = 0 0x1188 24 goto 40 @ 0x11a6 0x14bc 25 edx = [rsp + 0x40 {var_1498}].d 0x14c0 26 rdi = 0x2015 {"%s\n%d\n%d"} 0x14c7 27 rsi = rsp + 0x10 {var_14c8} 0x14cc 28 ecx = ebx 0x14ce 29 eax = 0 0x14d0 30 call(0x1030) 0x14d5 31 eax = 0 0x14d7 32 rsp = rsp + 0x14a8 0x14de 33 rbx = pop 0x14df 34 r12 = pop 0x14e1 35 r13 = pop 0x14e3 36 r14 = pop 0x14e5 37 r15 = pop 0x14e7 38 rbp = pop 0x14e8 39 <return> jump(pop) 0x11a6 40 rsi = rbx - 0x20 0x11aa 41 r13 = rbx + 4 0x11ae 42 r12 = rbx + 8 0x11b2 43 r14 = rbx + 9 0x11b6 44 r15 = rbx + 0xc 0x11ba 45 rsp = rsp - 8 0x11be 46 rdi = 0x2004 {"%s%d%d%c%c%c%c%d"} 0x11c5 47 rdx = rbx 0x11c8 48 rcx = r13 0x11cb 49 r8 = rsp + 0x13 {var_14cd} 0x11d0 50 r9 = r12 0x11d3 51 eax = 0 0x11d5 52 push(r15) 0x11d7 53 push(r14) 0x11d9 54 push(r14) 0x11db 55 call(0x1040) 0x11e0 56 rsp = rsp + 0x20 0x11e4 57 [rbx + 0x10].d = 0 0x11eb 58 ecx = [rbx].d 0x11ed 59 eax = 0 0x11f5 60 if (ecx s< 0x51) then 61 @ 0x1255 else 62 @ 0x11fb 0x1255 61 if ([r13].d s< 0x51) then 63 @ 0x1190 else 67 @ 0x1260 0x11fb 62 if ([r15].d s<= 0) then 68 @ 0x1210 else 70 @ 0x11fd 0x1190 63 rbp = rbp + 1 0x1194 64 rax = sx.q([rsp + 0xc {var_14cc}].d) 0x1199 65 rbx = rbx + 0x34 0x11a0 66 if (rbp s>= rax) then 73 @ 0x1273 else 40 @ 0x11a6 0x1260 67 if ([r12].b != 0x59) then 63 @ 0x1190 else 83 @ 0x1266 0x1210 68 eax = 0 0x1215 69 if (ecx u< 0x56) then 61 @ 0x1255 else 86 @ 0x1217 0x11fd 70 [rbx + 0x10].d = 0x1f40 {""} 0x1204 71 eax = 0x1f40 {""} 0x120c 72 if (ecx u>= 0x56) then 86 @ 0x1217 else 88 @ 0x120e 0x1273 73 eax = eax 0x1275 74 ecx = [rsp + 0x80 {var_1458}].d 0x127c 75 [rsp + 0x40 {var_1498}].d = ecx 0x1280 76 xmm0 = [rsp + 0x50 {var_1488}].o 0x1286 77 xmm1 = [rsp + 0x60 {var_1478}].o 0x128c 78 xmm2 = [rsp + 0x70 {var_1468}].o 0x1292 79 [rsp + 0x30 {var_14a8}].o = xmm2 0x1298 80 [rsp + 0x20 {var_14b8}].o = xmm1 0x129e 81 [rsp + 0x10 {var_14c8}].o = xmm0 0x12a6 82 if (eax s<= 0) then 89 @ 0x1345 else 91 @ 0x12af 0x1266 83 eax = eax + 0x352 0x126b 84 [rbx + 0x10].d = eax 0x126e 85 goto 63 @ 0x1190 0x1217 86 edx = [r13].d 0x121e 87 if (edx s< 0x51) then 92 @ 0x1225 else 95 @ 0x1220 0x120e 88 goto 61 @ 0x1255 0x1345 89 ebx = 0 0x1347 90 goto 25 @ 0x14bc 0x12af 91 if (eax != 1) then 97 @ 0x134c else 102 @ 0x12b5 0x1225 92 esi = eax 0x1227 93 eax = (rsi + 0x7d0).d 0x1230 94 if (ecx u< 0x5b) then 104 else 106 @ 0x1236 0x1220 95 eax = eax + 0xfa0 0x1220 96 goto 92 @ 0x1225 0x134c 97 edx = eax 0x134e 98 edx = edx & 0xfffffffe 0x1351 99 rsi = rsp + 0x50 {var_1488} 0x1356 100 ecx = 0 0x1358 101 goto 107 @ 0x1371 0x12b5 102 ecx = 0 0x12b5 103 goto 109 @ 0x12b9 0x1230 104 eax = esi 0x1230 105 goto 106 @ 0x1236 0x1236 106 if (edx s> 0x50) then 110 @ 0x123d else 112 @ 0x123b 0x1371 107 edi = [rsi + 0x30].d 0x1378 108 if (edi s<= [rsp + 0x40 {var_1498}].d) then 113 @ 0x13a1 else 115 @ 0x137a 0x12b9 109 if ((al & 1) == 0) then 124 @ 0x12fd else 125 @ 0x12bb 0x123d 110 [rbx + 0x10].d = eax 0x123d 111 goto 128 @ 0x1244 0x123b 112 if (ecx u< 0x5b) then 128 @ 0x1244 else 110 @ 0x123d 0x13a1 113 edi = [rsi + 0x64].d 0x13a8 114 if (edi s<= [rsp + 0x40 {var_1498}].d) then 129 @ 0x1360 else 132 @ 0x13aa 0x137a 115 edi = [rsi + 0x30].d 0x137d 116 [rsp + 0x40 {var_1498}].d = edi 0x1381 117 xmm0 = [rsi].o 0x1385 118 xmm1 = [rsi + 0x10].o 0x138a 119 xmm2 = [rsi + 0x20].o 0x138f 120 [rsp + 0x30 {var_14a8_3}].o = xmm2 0x1395 121 [rsp + 0x20 {var_14b8_3}].o = xmm1 0x139b 122 [rsp + 0x10 {var_14c8}].o = xmm0 0x139b 123 goto 113 @ 0x13a1 0x12fd 124 if (eax s<= 0) then 89 @ 0x1345 else 141 @ 0x1302 0x12bb 125 rcx = rcx * 0x34 0x12bf 126 edx = [rsp + rcx + 0x80].d 0x12ca 127 if (edx s<= [rsp + 0x40 {var_1498}].d) then 124 @ 0x12fd else 142 @ 0x12cc 0x1244 128 if ([r14].b != 0x59) then 61 @ 0x1255 else 151 @ 0x1246 0x1360 129 rcx = rcx + 2 0x1364 130 rsi = rsi + 0x68 0x136b 131 if (rdx == rcx) then 109 @ 0x12b9 else 107 @ 0x1371 0x13aa 132 edi = [rsi + 0x64].d 0x13ad 133 [rsp + 0x40 {var_1498}].d = edi 0x13b1 134 xmm0 = [rsi + 0x34].o 0x13b6 135 xmm1 = [rsi + 0x44].o 0x13bb 136 xmm2 = [rsi + 0x54].o 0x13c0 137 [rsp + 0x30 {var_14a8_4}].o = xmm2 0x13c6 138 [rsp + 0x20 {var_14b8_4}].o = xmm1 0x13cc 139 [rsp + 0x10 {var_14c8}].o = xmm0 0x13d2 140 goto 129 @ 0x1360 0x1302 141 if (eax u>= 8) then 154 @ 0x13d4 else 163 @ 0x1308 0x12cc 142 edx = [rsp + rcx + 0x80].d 0x12d3 143 [rsp + 0x40 {var_1498}].d = edx 0x12d7 144 xmm0 = [rsp + rcx + 0x50].o 0x12dd 145 xmm1 = [rsp + rcx + 0x60].o 0x12e3 146 xmm2 = [rsp + rcx + 0x70].o 0x12e9 147 [rsp + 0x30 {var_14a8_1}].o = xmm2 0x12ef 148 [rsp + 0x20 {var_14b8_1}].o = xmm1 0x12f5 149 [rsp + 0x10 {var_14c8}].o = xmm0 0x12f5 150 goto 124 @ 0x12fd 0x1246 151 eax = eax + 0x3e8 0x124b 152 [rbx + 0x10].d = eax 0x124e 153 goto 61 @ 0x1255 0x13d4 154 ecx = eax 0x13d6 155 ecx = ecx & 0xfffffff8 0x13d9 156 rdx = rax 0x13dc 157 rdx = rdx u>> 3 0x13e0 158 rdx = rdx * 0x1a0 0x13e7 159 xmm0 = 0 0x13eb 160 esi = 0 0x13ed 161 xmm1 = 0 0x13fb 162 goto 166 @ 0x1400 0x1308 163 ecx = 0 0x130a 164 ebx = 0 0x130c 165 goto 184 @ 0x1493 0x1400 166 xmm2 = [rsp + rsi + 0x11c].d 0x1409 167 xmm3 = [rsp + rsi + 0xe8].d 0x1412 168 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x1416 169 xmm2 = [rsp + rsi + 0xb4].d 0x141f 170 xmm4 = [rsp + rsi + 0x80].d 0x1428 171 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x142c 172 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1430 173 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1434 174 xmm2 = [rsp + rsi + 0x1ec].d 0x143d 175 xmm3 = [rsp + rsi + 0x1b8].d 0x1446 176 xmm3 = _mm_unpacklo_epi32(xmm3, xmm2.q) 0x144a 177 xmm2 = [rsp + rsi + 0x184].d 0x1453 178 xmm4 = [rsp + rsi + 0x150].d 0x145c 179 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q) 0x1460 180 xmm4 = _mm_unpacklo_epi64(xmm4, xmm3.q) 0x1464 181 xmm1 = _mm_add_epi32(xmm1, xmm4) 0x1468 182 rsi = rsi + 0x1a0 0x1472 183 if (rdx != rsi) then 166 @ 0x1400 else 189 @ 0x1474 0x1493 184 rdx = rcx * 0x34 0x1497 185 rdx = rdx + rsp 0x149a 186 rdx = rdx + 0x80 0x14a1 187 rax = rax - rcx 0x14ae 188 goto 196 @ 0x14b0 0x1474 189 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1478 190 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x147d 191 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1481 192 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1486 193 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x148a 194 ebx = xmm1.d 0x1491 195 if (rcx == rax) then 25 @ 0x14bc else 184 @ 0x1493 0x14b0 196 ebx = ebx + [rdx].d 0x14b2 197 rdx = rdx + 0x34 0x14b6 198 temp0.q = rax 0x14b6 199 rax = rax - 1 0x14ba 200 if (temp0.q != 1) then 196 @ 0x14b0 else 25 @ 0x14bc int64_t _fini(): 0x14f0 0 rsp = rsp - 8 0x14f4 1 rsp = rsp + 8 0x14f8 2 <return> jump(pop)
POJ_39
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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 = 0x2004 {"%d"} 0x1168 8 rsi = rsp + 0xc {var_4ec} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1179 11 if ([rsp + 0xc {var_4ec}].d s<= 0) then 12 @ 0x126f else 13 @ 0x117f 0x126f 12 if ([rsp + 0xc {var_4ec}].d s<= 0) then 17 @ 0x129c else 26 @ 0x1271 0x117f 13 r14 = 0x2004 {"%d"} 0x1186 14 r12 = rsp + 0x1a0 {var_358} 0x118e 15 r13d = 0 0x1191 16 goto 29 @ 0x11d6 0x129c 17 eax = 0 0x129e 18 rsp = rsp + 0x4c8 0x12a5 19 rbx = pop 0x12a6 20 r12 = pop 0x12a8 21 r13 = pop 0x12aa 22 r14 = pop 0x12ac 23 r15 = pop 0x12ae 24 rbp = pop 0x12af 25 <return> jump(pop) 0x1271 26 rbx = 0x2007 {"%d\n"} 0x1278 27 ebp = 0 0x127a 28 goto 37 @ 0x1280 0x11d6 29 r15 = rsp + (r13 << 2) 0x11da 30 r15 = r15 + 0x330 0x11e1 31 rdi = r14 0x11e4 32 rsi = r15 0x11e7 33 eax = 0 0x11e9 34 call(0x1040) 0x11ee 35 eax = [rsp + (r13 << 2) + 0x330].d 0x11f8 36 if (eax s<= 0) then 44 @ 0x121f else 45 @ 0x11fa 0x1280 37 esi = [rsp + (rbp << 2) + 0x10].d 0x1284 38 rdi = rbx 0x1287 39 eax = 0 0x1289 40 call(0x1030) 0x128e 41 rbp = rbp + 1 0x1292 42 rax = sx.q([rsp + 0xc {var_4ec}].d) 0x129a 43 if (rbp s< rax) then 37 @ 0x1280 else 17 @ 0x129c 0x121f 44 if (eax s<= 0) then 48 @ 0x11a0 else 50 @ 0x1225 0x11fa 45 rbx = r12 {var_358} 0x11fd 46 ebp = 0 0x11ff 47 goto 57 @ 0x1200 0x11a0 48 ecx = 0 0x11a0 49 goto 65 @ 0x11a2 0x1225 50 eax = eax 0x1227 51 ecx = (rax + (rax << 1)).d 0x122a 52 edx = 0x3c {""} 0x122f 53 edx = edx - ecx 0x1231 54 esi = 0 0x1233 55 ecx = 0 0x123f 56 goto 72 @ 0x1240 0x1200 57 rdi = r14 0x1203 58 rsi = rbx 0x1206 59 eax = 0 0x1208 60 call(0x1040) 0x120d 61 rbp = rbp + 1 0x1211 62 rax = sx.q([r15].d) 0x1214 63 rbx = rbx + 4 0x121b 64 if (rbp s< rax) then 57 @ 0x1200 else 44 @ 0x121f 0x11a2 65 rax = sx.q(ecx) 0x11a5 66 ecx = [rsp + (rax << 2) + 0x19c].d 0x11ac 67 eax = (rax + (rax << 1)).d 0x11af 68 edx = (rcx + rax).d 0x11b2 69 esi = 0x3c {""} 0x11b7 70 esi = esi - eax 0x11bc 71 if (edx s>= 0x3c) then 76 else 78 @ 0x11bf 0x1240 72 esi = esi + 3 0x1243 73 edi = [rsp + (rcx << 2) + 0x1a0].d 0x124a 74 edi = edi + esi 0x124f 75 if (edi s> 0x3f) then 65 @ 0x11a2 else 82 @ 0x1255 0x11bc 76 esi = ecx 0x11bc 77 goto 78 @ 0x11bf 0x11bf 78 [rsp + (r13 << 2) + 0x10].d = esi 0x11c4 79 r13 = r13 + 1 0x11c8 80 rax = sx.q([rsp + 0xc {var_4ec}].d) 0x11d0 81 if (r13 s>= rax) then 12 @ 0x126f else 29 @ 0x11d6 0x1255 82 rcx = rcx + 1 0x1259 83 [rsp + (r13 << 2) + 0x10].d = edx 0x1261 84 if (rax != rcx) then 72 @ 0x1240 else 85 @ 0x1263 0x1263 85 ecx = eax 0x1265 86 goto 65 @ 0x11a2 int64_t _fini(): 0x12b4 0 rsp = rsp - 8 0x12b8 1 rsp = rsp + 8 0x12bc 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) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1230 {"UAWAVSHH= "} 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 prime(double arg1, uint64_t arg2[0x2] @ zmm0, uint64_t arg3[0x2] @ zmm4): 0x1160 0 push(rbp) 0x1161 1 push(rbx) 0x1162 2 rsp = rsp - 0x18 0x1166 3 ebx = edi 0x1168 4 xmm2.q = float.d(edi) 0x116c 5 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1170 6 flag:p = is_unordered.q(xmm2.q, xmm0.q) 0x1170 7 flag:c = xmm2.q f< xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x1170 8 flag:z = xmm2.q f== xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x1170 9 flag:s = 0 0x1170 10 flag:o = 0 0x1170 11 flag:a = 0 0x1174 12 [rsp + 8 {var_20}].q = xmm2.q 0x117a 13 if (flag:c) then 14 @ 0x118f else 24 @ 0x117c 0x118f 14 xmm0 = xmm2 0x1193 15 call(0x1050) 0x1198 16 xmm2 = zx.o([rsp + 8 {var_20}].q) 0x119e 17 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x119e 18 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x119e 19 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x119e 20 flag:s = 0 0x119e 21 flag:o = 0 0x119e 22 flag:a = 0 0x11a6 23 if (not(flag:c)) then 33 @ 0x11c6 else 38 @ 0x11a8 0x117c 24 xmm0 = 0 0x117f 25 xmm0 = _mm_sqrt_sd(xmm2.q) 0x1183 26 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1183 27 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1183 28 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1183 29 flag:s = 0 0x1183 30 flag:o = 0 0x1183 31 flag:a = 0 0x118b 32 if (flag:c) then 38 @ 0x11a8 else 40 @ 0x118d 0x11c6 33 ebp = 2 0x11cb 34 xmm3 = _mm_sqrt_sd(xmm2.q) 0x11cf 35 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x11d3 36 [rsp + 0x10 {var_18_1}].q = xmm3.q 0x11d9 37 goto 41 @ 0x11ed 0x11a8 38 ebp = 1 0x11af 39 if (ebx s>= 0) then 54 @ 0x1220 else 59 @ 0x11b1 0x118d 40 goto 33 @ 0x11c6 0x11ed 41 eax = ebx 0x11ef 42 temp2.d:temp3.d = sx.q(eax) 0x11ef 43 edx = temp2.d 0x11ef 44 eax = temp3.d 0x11f0 45 temp4.d = edx 0x11f0 46 temp5.d = eax 0x11f0 47 temp0.d = divs.dp.d(temp4.d:temp5.d, ebp) 0x11f0 48 temp6.d = edx 0x11f0 49 temp7.d = eax 0x11f0 50 temp1.d = mods.dp.d(temp6.d:temp7.d, ebp) 0x11f0 51 eax = temp0.d 0x11f0 52 edx = temp1.d 0x11f4 53 if (edx == 0) then 67 @ 0x121e else 69 @ 0x11f6 0x1220 54 eax = ebp 0x1222 55 rsp = rsp + 0x18 0x1226 56 rbx = pop 0x1227 57 rbp = pop 0x1228 58 <return> jump(pop) 0x11b1 59 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11b5 60 flag:p = is_unordered.q(xmm2.q, xmm0.q) 0x11b5 61 flag:c = xmm2.q f< xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x11b5 62 flag:z = xmm2.q f== xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x11b5 63 flag:s = 0 0x11b5 64 flag:o = 0 0x11b5 65 flag:a = 0 0x11b9 66 if (not(flag:c)) then 54 @ 0x1220 else 78 @ 0x11bb 0x121e 67 ebp = 0 0x121e 68 goto 54 @ 0x1220 0x11f6 69 ebp = ebp + 1 0x11f9 70 flag:p = is_unordered.q(xmm2.q, xmm4.q) 0x11f9 71 flag:c = xmm2.q f< xmm4.q | is_unordered.q(xmm2.q, xmm4.q) 0x11f9 72 flag:z = xmm2.q f== xmm4.q | is_unordered.q(xmm2.q, xmm4.q) 0x11f9 73 flag:s = 0 0x11f9 74 flag:o = 0 0x11f9 75 flag:a = 0 0x11fd 76 xmm0 = xmm3 0x1201 77 if (not(flag:c)) then 81 @ 0x11e0 else 90 @ 0x1203 0x11bb 78 xmm0 = xmm2 0x11bf 79 call(0x1050) 0x11c4 80 goto 54 @ 0x1220 0x11e0 81 xmm1 = 0 0x11e3 82 xmm1.q = float.d(ebp) 0x11e7 83 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x11e7 84 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11e7 85 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11e7 86 flag:s = 0 0x11e7 87 flag:o = 0 0x11e7 88 flag:a = 0 0x11eb 89 if (flag:c) then 38 @ 0x11a8 else 41 @ 0x11ed 0x1203 90 xmm0 = xmm2 0x1207 91 call(0x1050) 0x120c 92 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x1210 93 xmm3 = zx.o([rsp + 0x10 {var_18_1}].q) 0x1216 94 xmm2 = zx.o([rsp + 8 {var_20}].q) 0x121c 95 goto 81 @ 0x11e0 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(rbx) 0x1236 4 rsp = rsp - 0x18 0x123a 5 rdi = 0x2018 {"%d"} 0x1241 6 rsi = rsp + 0xc {var_2c} 0x1246 7 eax = 0 0x1248 8 call(0x1040) 0x1252 9 if ([rsp + 0xc {var_2c}].d s>= 5) then 10 @ 0x126d else 13 @ 0x1254 0x126d 10 ebx = 2 0x1272 11 r14 = 0x2021 {"%d %d\n"} 0x1279 12 goto 17 @ 0x1289 0x1254 13 rdi = 0x201b {"empty"} 0x125b 14 eax = 0 0x125d 15 call(0x1030) 0x125d 16 goto 27 @ 0x1262 0x1289 17 xmm2 = 0 0x128c 18 xmm2.q = float.d(ebx) 0x1290 19 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1290 20 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1290 21 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x1290 22 flag:s = 0 0x1290 23 flag:o = 0 0x1290 24 flag:a = 0 0x1298 25 [rsp + 0x10 {var_28_1}].q = xmm2.q 0x129e 26 if (flag:c) then 33 @ 0x12c0 else 43 @ 0x12a0 0x1262 27 rsp = rsp + 0x18 0x1266 28 rbx = pop 0x1267 29 r14 = pop 0x1269 30 r15 = pop 0x126b 31 rbp = pop 0x126c 32 <return> jump(pop) 0x12c0 33 xmm0 = xmm2 0x12c4 34 call(0x1050) 0x12c9 35 xmm2 = zx.o([rsp + 0x10 {var_28_1}].q) 0x12cf 36 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12cf 37 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12cf 38 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12cf 39 flag:s = 0 0x12cf 40 flag:o = 0 0x12cf 41 flag:a = 0 0x12d7 42 if (not(flag:c)) then 52 @ 0x1310 else 54 @ 0x12d9 0x12a0 43 xmm0 = 0 0x12a3 44 xmm0 = _mm_sqrt_sd(xmm2.q) 0x12a7 45 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12a7 46 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12a7 47 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12a7 48 flag:s = 0 0x12a7 49 flag:o = 0 0x12a7 50 flag:a = 0 0x12af 51 if (flag:c) then 54 @ 0x12d9 else 65 @ 0x12b1 0x1310 52 ebp = 2 0x1315 53 goto 66 @ 0x133c 0x12d9 54 r15d = (rbx + 2).d 0x12dd 55 xmm2 = 0 0x12e0 56 xmm2.q = float.d(r15d) 0x12e5 57 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12e5 58 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12e5 59 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x12e5 60 flag:s = 0 0x12e5 61 flag:o = 0 0x12e5 62 flag:a = 0 0x12ed 63 [rsp + 0x10 {var_28_2}].q = xmm2.q 0x12f3 64 if (flag:c) then 78 @ 0x1360 else 88 @ 0x12f5 0x12b1 65 goto 52 @ 0x1310 0x133c 66 eax = ebx 0x133e 67 edx = 0 0x1340 68 temp2.d = ebp 0x1340 69 temp3.d = edx 0x1340 70 temp4.d = eax 0x1340 71 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1340 72 temp5.d = edx 0x1340 73 temp6.d = eax 0x1340 74 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1340 75 eax = temp0.d 0x1340 76 edx = temp1.d 0x1344 77 if (edx == 0) then 97 @ 0x1280 else 99 @ 0x134a 0x1360 78 xmm0 = xmm2 0x1364 79 call(0x1050) 0x1369 80 xmm2 = zx.o([rsp + 0x10 {var_28_2}].q) 0x136f 81 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x136f 82 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x136f 83 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x136f 84 flag:s = 0 0x136f 85 flag:o = 0 0x136f 86 flag:a = 0 0x1377 87 if (not(flag:c)) then 107 @ 0x13a0 else 109 @ 0x137e 0x12f5 88 xmm0 = 0 0x12f8 89 xmm0 = _mm_sqrt_sd(xmm2.q) 0x12fc 90 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12fc 91 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12fc 92 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12fc 93 flag:s = 0 0x12fc 94 flag:o = 0 0x12fc 95 flag:a = 0 0x1304 96 if (flag:c) then 109 @ 0x137e else 110 @ 0x1306 0x1280 97 ebx = ebx + 1 0x1287 98 if (ebx s>= [rsp + 0xc {var_2c}].d) then 27 @ 0x1262 else 17 @ 0x1289 0x134a 99 ebp = ebp + 1 0x134d 100 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x134d 101 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x134d 102 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x134d 103 flag:s = 0 0x134d 104 flag:o = 0 0x134d 105 flag:a = 0 0x1355 106 if (flag:c) then 111 @ 0x1320 else 115 @ 0x1357 0x13a0 107 ebp = 2 0x13a5 108 goto 118 @ 0x13cc 0x137e 109 if (r15d s> [rsp + 0xc {var_2c}].d) then 97 @ 0x1280 else 130 @ 0x1384 0x1306 110 goto 107 @ 0x13a0 0x1320 111 xmm0 = xmm2 0x1324 112 call(0x1050) 0x1329 113 xmm2 = zx.o([rsp + 0x10 {var_28_1}].q) 0x1329 114 goto 136 @ 0x132f 0x1357 115 xmm0 = 0 0x135a 116 xmm0 = _mm_sqrt_sd(xmm2.q) 0x135e 117 goto 136 @ 0x132f 0x13cc 118 eax = r15d 0x13cf 119 edx = 0 0x13d1 120 temp2.d = ebp 0x13d1 121 temp7.d = edx 0x13d1 122 temp8.d = eax 0x13d1 123 temp0.d = divu.dp.d(temp7.d:temp8.d, temp2.d) 0x13d1 124 temp9.d = edx 0x13d1 125 temp10.d = eax 0x13d1 126 temp1.d = modu.dp.d(temp9.d:temp10.d, temp2.d) 0x13d1 127 eax = temp0.d 0x13d1 128 edx = temp1.d 0x13d5 129 if (edx == 0) then 97 @ 0x1280 else 145 @ 0x13db 0x1384 130 rdi = r14 0x1387 131 esi = ebx 0x1389 132 edx = r15d 0x138c 133 eax = 0 0x138e 134 call(0x1030) 0x1393 135 goto 97 @ 0x1280 0x132f 136 xmm1 = 0 0x1332 137 xmm1.q = float.d(ebp) 0x1336 138 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1336 139 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1336 140 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1336 141 flag:s = 0 0x1336 142 flag:o = 0 0x1336 143 flag:a = 0 0x133a 144 if (flag:c) then 54 @ 0x12d9 else 66 @ 0x133c 0x13db 145 ebp = ebp + 1 0x13de 146 flag:p = is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13de 147 flag:c = xmm2.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13de 148 flag:z = xmm2.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm2.q, fconvert.t([0x2010].q)) 0x13de 149 flag:s = 0 0x13de 150 flag:o = 0 0x13de 151 flag:a = 0 0x13e6 152 if (flag:c) then 153 @ 0x13b0 else 157 @ 0x13e8 0x13b0 153 xmm0 = xmm2 0x13b4 154 call(0x1050) 0x13b9 155 xmm2 = zx.o([rsp + 0x10 {var_28_2}].q) 0x13b9 156 goto 160 @ 0x13bf 0x13e8 157 xmm0 = 0 0x13eb 158 xmm0 = _mm_sqrt_sd(xmm2.q) 0x13ef 159 goto 160 @ 0x13bf 0x13bf 160 xmm1 = 0 0x13c2 161 xmm1.q = float.d(ebp) 0x13c6 162 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x13c6 163 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13c6 164 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x13c6 165 flag:s = 0 0x13c6 166 flag:o = 0 0x13c6 167 flag:a = 0 0x13ca 168 if (flag:c) then 109 @ 0x137e else 118 @ 0x13cc int64_t _fini(): 0x13f8 0 rsp = rsp - 8 0x13fc 1 rsp = rsp + 8 0x1400 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) 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 {"AVSHhHH1H~3A1f"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r14) 0x1162 1 push(rbx) 0x1163 2 rsp = rsp - 0x68 0x1167 3 rbx = rsp {var_78} 0x116a 4 rdi = rbx {var_78} 0x116d 5 eax = 0 0x116f 6 call(0x1040) 0x1174 7 rdi = rbx {var_78} 0x1177 8 call(0x1030) 0x117e 9 if (eax s<= 0) then 10 @ 0x11b3 else 16 @ 0x1180 0x11b3 10 edi = 0xa {""} 0x11b8 11 call(0x1050) 0x11bd 12 rsp = rsp + 0x68 0x11c1 13 rbx = pop 0x11c2 14 r14 = pop 0x11c4 15 <return> jump(pop) 0x1180 16 r14d = eax 0x1183 17 eax = 0 0x1185 18 goto 19 @ 0x119d 0x119d 19 edi = sx.d([rsp + rax].b) 0x11a1 20 rbx = rax + 1 0x11a8 21 if (edi != 0x20) then 22 @ 0x1190 else 24 @ 0x11af 0x1190 22 call(0x1050) 0x1190 23 goto 25 @ 0x1195 0x11af 24 if ([rsp + rax + 1].b != 0x20) then 22 @ 0x1190 else 27 @ 0x11b1 0x1195 25 rax = rbx 0x119b 26 if (r14 == rbx) then 10 @ 0x11b3 else 19 @ 0x119d 0x11b1 27 goto 25 @ 0x1195 int64_t _fini(): 0x11cc 0 rsp = rsp - 8 0x11d0 1 rsp = rsp + 8 0x11d4 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 scanf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t puts(char const* str): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x18 0x115e 7 rdi = 0x2008 {"%d"} 0x1165 8 rsi = rsp + 8 {var_40} 0x116a 9 eax = 0 0x116c 10 call(0x1030) 0x1176 11 if ([rsp + 8 {var_40}].d s<= 0) then 12 @ 0x13a4 else 21 @ 0x117c 0x13a4 12 eax = 0 0x13a6 13 rsp = rsp + 0x18 0x13aa 14 rbx = pop 0x13ab 15 r12 = pop 0x13ad 16 r13 = pop 0x13af 17 r14 = pop 0x13b1 18 r15 = pop 0x13b3 19 rbp = pop 0x13b4 20 <return> jump(pop) 0x117c 21 r15 = rsp + 0x14 {var_34} 0x1181 22 r12 = rsp + 0xc {var_3c} 0x1186 23 r13 = rsp + 0x10 {var_38} 0x118b 24 r14 = 0x200e {"YES"} 0x1192 25 ebp = 0 0x1194 26 goto 27 @ 0x11c2 0x11c2 27 rdi = 0x2004 {"%d%d%d"} 0x11c9 28 rsi = r15 {var_34} 0x11cc 29 rdx = r12 {var_3c} 0x11cf 30 rcx = r13 {var_38} 0x11d2 31 eax = 0 0x11d4 32 call(0x1030) 0x11d9 33 rdx = sx.q([rsp + 0x14 {var_34}].d) 0x11e1 34 bl = (dl & 3) == 0 0x11e4 35 eax = edx * -0x3d70a3d7 0x11ea 36 eax = eax + 0x51eb850 0x11ef 37 eax = ror.d(eax, 2) 0x11f7 38 cl = eax u>= 0x28f5c29 0x11fa 39 eax = [rsp + 0x10 {var_38}].d 0x11fe 40 esi = [rsp + 0xc {var_3c}].d 0x1204 41 if ((bl & cl) != 0) then 42 @ 0x12e3 else 43 @ 0x120a 0x12e3 42 if (eax != 1) then 52 @ 0x12f4 else 53 @ 0x12e5 0x120a 43 rcx = rdx * 0x51eb851f 0x1211 44 rdi = rcx 0x1214 45 rdi = rdi u>> 0x3f 0x1218 46 rcx = rcx s>> 0x27 0x121c 47 ecx = ecx + edi 0x121e 48 ecx = ecx * 0x190 0x1224 49 temp0.d = edx 0x1224 50 edx = edx - ecx 0x1226 51 if (temp0.d == ecx) then 42 @ 0x12e3 else 55 @ 0x122f 0x12f4 52 if (eax != 4) then 56 @ 0x1305 else 57 @ 0x12f6 0x12e5 53 rdi = r14 0x12eb 54 if (esi == 4) then 59 @ 0x11b0 else 52 @ 0x12f4 0x122f 55 if (eax != 1) then 62 @ 0x1240 else 63 @ 0x1231 0x1305 56 if (eax != 1) then 65 @ 0x1316 else 66 @ 0x1307 0x12f6 57 rdi = r14 0x12fc 58 if (esi == 1) then 59 @ 0x11b0 else 56 @ 0x1305 0x11b0 59 call(0x1040) 0x11b5 60 ebp = ebp + 1 0x11bc 61 if (ebp s>= [rsp + 8 {var_40}].d) then 12 @ 0x13a4 else 27 @ 0x11c2 0x1240 62 if (eax != 0xa) then 68 @ 0x1251 else 69 @ 0x1242 0x1231 63 rdi = r14 0x1237 64 if (esi == 0xa) then 59 @ 0x11b0 else 62 @ 0x1240 0x1316 65 if (eax != 7) then 71 @ 0x1327 else 72 @ 0x1318 0x1307 66 rdi = r14 0x130d 67 if (esi == 7) then 59 @ 0x11b0 else 65 @ 0x1316 0x1251 68 if (eax != 3) then 74 @ 0x1262 else 75 @ 0x1253 0x1242 69 rdi = r14 0x1248 70 if (esi == 1) then 59 @ 0x11b0 else 68 @ 0x1251 0x1327 71 if (eax != 7) then 77 @ 0x1338 else 78 @ 0x1329 0x1318 72 rdi = r14 0x131e 73 if (esi == 1) then 59 @ 0x11b0 else 71 @ 0x1327 0x1262 74 if (eax != 0xb) then 80 @ 0x1273 else 81 @ 0x1264 0x1253 75 rdi = r14 0x1259 76 if (esi == 0xb) then 59 @ 0x11b0 else 74 @ 0x1262 0x1338 77 if (eax != 4) then 83 @ 0x1349 else 84 @ 0x133a 0x1329 78 rdi = r14 0x132f 79 if (esi == 4) then 59 @ 0x11b0 else 77 @ 0x1338 0x1273 80 if (eax != 2) then 86 @ 0x1284 else 87 @ 0x1275 0x1264 81 rdi = r14 0x126a 82 if (esi == 3) then 59 @ 0x11b0 else 80 @ 0x1273 0x1349 83 if (eax != 2) then 89 @ 0x135a else 90 @ 0x134b 0x133a 84 rdi = r14 0x1340 85 if (esi == 7) then 59 @ 0x11b0 else 83 @ 0x1349 0x1284 86 if (eax != 0xb) then 92 @ 0x1295 else 93 @ 0x1286 0x1275 87 rdi = r14 0x127b 88 if (esi == 0xb) then 59 @ 0x11b0 else 86 @ 0x1284 0x135a 89 if (eax != 8) then 95 @ 0x136b else 96 @ 0x135c 0x134b 90 rdi = r14 0x1351 91 if (esi == 8) then 59 @ 0x11b0 else 89 @ 0x135a 0x1295 92 if (eax != 3) then 98 @ 0x12a6 else 99 @ 0x1297 0x1286 93 rdi = r14 0x128c 94 if (esi == 2) then 59 @ 0x11b0 else 92 @ 0x1295 0x136b 95 if (eax != 3) then 101 @ 0x137c else 102 @ 0x136d 0x135c 96 rdi = r14 0x1362 97 if (esi == 2) then 59 @ 0x11b0 else 95 @ 0x136b 0x12a6 98 if (eax != 2) then 104 @ 0x12b7 else 105 @ 0x12a8 0x1297 99 rdi = r14 0x129d 100 if (esi == 2) then 59 @ 0x11b0 else 98 @ 0x12a6 0x137c 101 if (eax != 0xb) then 107 @ 0x138d else 108 @ 0x137e 0x136d 102 rdi = r14 0x1373 103 if (esi == 0xb) then 59 @ 0x11b0 else 101 @ 0x137c 0x12b7 104 if (eax != 4) then 110 @ 0x12c8 else 111 @ 0x12b9 0x12a8 105 rdi = r14 0x12ae 106 if (esi == 3) then 59 @ 0x11b0 else 104 @ 0x12b7 0x138d 107 if (eax != 9) then 113 @ 0x1196 else 119 @ 0x1393 0x137e 108 rdi = r14 0x1384 109 if (esi == 3) then 59 @ 0x11b0 else 107 @ 0x138d 0x12c8 110 if (eax != 7) then 107 @ 0x138d else 121 @ 0x12ce 0x12b9 111 rdi = r14 0x12bf 112 if (esi == 7) then 59 @ 0x11b0 else 110 @ 0x12c8 0x1196 113 eax = eax ^ 0xc 0x1199 114 esi = esi ^ 9 0x119c 115 esi = esi | eax 0x119c 116 cond:0 = esi == 0 0x119e 117 rdi = 0x200b {"NO"} 0x11a5 118 if (cond:0) then 123 else 125 @ 0x11a9 0x1393 119 rdi = r14 0x1399 120 if (esi == 0xc) then 59 @ 0x11b0 else 126 @ 0x139f 0x12ce 121 rdi = r14 0x12d4 122 if (esi == 4) then 59 @ 0x11b0 else 127 @ 0x12da 0x11a5 123 rdi = r14 0x11a5 124 goto 125 @ 0x11a9 0x11a9 125 goto 59 @ 0x11b0 0x139f 126 goto 113 @ 0x1196 0x12da 127 goto 107 @ 0x138d int64_t _fini(): 0x13bc 0 rsp = rsp - 8 0x13c0 1 rsp = rsp + 8 0x13c4 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 {"H"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 rsp = rsp - 0x408 0x1157 1 rdi = 0x2004 {"%lf"} 0x115e 2 rsi = rsp + 8 {var_400} 0x1163 3 eax = 0 0x1165 4 call(0x1040) 0x116a 5 rdi = 0x2008 {"%s%s"} 0x1171 6 rsi = rsp + 0x210 {var_1f8} 0x1179 7 rdx = rsp + 0x10 {var_3f8} 0x117e 8 eax = 0 0x1180 9 call(0x1040) 0x1185 10 rdi = 0x200d {"error"} 0x118c 11 eax = 0 0x118e 12 call(0x1030) 0x1193 13 eax = 0 0x1195 14 rsp = rsp + 0x408 0x119c 15 <return> jump(pop) int64_t _fini(): 0x11a4 0 rsp = rsp - 8 0x11a8 1 rsp = rsp + 8 0x11ac 2 <return> jump(pop)
POJ_5
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"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 - 0x2318 0x1161 7 rdi = 0x2004 {"%d"} 0x1168 8 r15d = 0 0x116b 9 rsi = rsp + 0xc {var_233c} 0x1170 10 eax = 0 0x1172 11 call(0x1040) 0x1177 12 eax = [rsp + 0xc {var_233c}].d 0x117d 13 if (eax s<= 0) then 14 @ 0x11b3 else 16 @ 0x117f 0x11b3 14 r12d = 0 0x11bb 15 if (eax s<= 0) then 20 @ 0x122c else 21 @ 0x11bd 0x117f 16 rbx = rsp + 0x10 {var_2338} 0x1184 17 r14 = 0x2007 {"%s%lf"} 0x118b 18 ebp = 0 0x118d 19 goto 28 @ 0x1190 0x122c 20 if (r15d s>= 2) then 37 @ 0x12dd else 41 @ 0x1232 0x11bd 21 eax = eax 0x11bf 22 rax = rax << 3 0x11c3 23 rax = rax + (rax << 1) 0x11c7 24 ecx = 0 0x11c9 25 r12d = 0 0x11cc 26 r15d = 0 0x11cf 27 goto 43 @ 0x11e9 0x1190 28 rdx = rbx + 0x10 0x1194 29 rdi = r14 0x1197 30 rsi = rbx 0x119a 31 eax = 0 0x119c 32 call(0x1040) 0x11a1 33 rbp = rbp + 1 0x11a5 34 rax = sx.q([rsp + 0xc {var_233c}].d) 0x11aa 35 rbx = rbx + 0x18 0x11b1 36 if (rbp s< rax) then 28 @ 0x1190 else 14 @ 0x11b3 0x12dd 37 eax = (r15 - 1).d 0x12e1 38 ecx = 0 0x12e3 39 edx = eax 0x12e5 40 goto 45 @ 0x12fe 0x1232 41 r13d = (r12 - 1).d 0x123b 42 if (r12d s>= 2) then 50 @ 0x1348 else 53 @ 0x1241 0x11e9 43 edx = zx.d([rsp + rcx + 0x10].b) 0x11f1 44 if (dl != 0x6d) then 58 @ 0x120d else 59 @ 0x11f3 0x12fe 45 edx = edx 0x1300 46 esi = ecx 0x1302 47 esi = not.d(esi) 0x1304 48 esi = esi + r15d 0x1309 49 if (esi s<= 0) then 64 @ 0x12f0 else 67 @ 0x130b 0x1348 50 eax = 0 0x134a 51 ecx = r13d 0x134d 52 goto 69 @ 0x135f 0x1241 53 xmm0 = zx.o([rsp + 0x3d0 {var_1f78}].q) 0x124a 54 rdi = 0x200e {"%.2lf"} 0x1251 55 al = 1 0x1253 56 call(0x1030) 0x125c 57 if (r15d s< 2) then 71 @ 0x128f else 72 @ 0x125e 0x120d 58 if (dl != 0x66) then 76 @ 0x11e0 else 78 @ 0x120f 0x11f3 59 xmm0 = zx.o([rsp + rcx + 0x20].q) 0x11f9 60 r15 = sx.q(r15d) 0x11fc 61 [rsp + (r15 << 3) + 0x3d0].q = xmm0.q 0x1206 62 r15d = r15d + 1 0x1206 63 goto 58 @ 0x120d 0x12f0 64 ecx = ecx + 1 0x12f3 65 edx = edx - 1 0x12f8 66 if (ecx == eax) then 41 @ 0x1232 else 45 @ 0x12fe 0x130b 67 esi = 0 0x130d 68 goto 83 @ 0x1318 0x135f 69 ecx = ecx 0x1364 70 if (r13d s<= eax) then 93 @ 0x1350 else 96 @ 0x1366 0x128f 71 if (r12d s<= 0) then 98 @ 0x12c9 else 107 @ 0x1291 0x125e 72 ebx = r15d 0x1261 73 ebp = 1 0x1266 74 r14 = 0x200d {" %.2lf"} 0x126d 75 goto 115 @ 0x1270 0x11e0 76 rcx = rcx + 0x18 0x11e7 77 if (rax == rcx) then 20 @ 0x122c else 43 @ 0x11e9 0x120f 78 xmm0 = zx.o([rsp + rcx + 0x20].q) 0x1215 79 r12 = sx.q(r12d) 0x1218 80 [rsp + (r12 << 3) + 0x1370].q = xmm0.q 0x1222 81 r12d = r12d + 1 0x1226 82 goto 76 @ 0x11e0 0x1318 83 xmm0 = zx.o([rsp + (rsi << 3) + 0x3d0].q) 0x1321 84 xmm1 = zx.o([rsp + (rsi << 3) + 0x3d8].q) 0x132a 85 rdi = rsi + 1 0x132e 86 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x132e 87 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x132e 88 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x132e 89 flag:s = 0 0x132e 90 flag:o = 0 0x132e 91 flag:a = 0 0x1332 92 if (flag:z || flag:c) then 121 @ 0x1310 else 123 @ 0x1334 0x1350 93 eax = eax + 1 0x1353 94 ecx = ecx - 1 0x1359 95 if (eax == r13d) then 53 @ 0x1241 else 69 @ 0x135f 0x1366 96 edx = 0 0x1368 97 goto 126 @ 0x1378 0x12c9 98 eax = 0 0x12cb 99 rsp = rsp + 0x2318 0x12d2 100 rbx = pop 0x12d3 101 r12 = pop 0x12d5 102 r13 = pop 0x12d7 103 r14 = pop 0x12d9 104 r15 = pop 0x12db 105 rbp = pop 0x12dc 106 <return> jump(pop) 0x1291 107 rax = sx.q(r13d) 0x1294 108 ebp = r12d 0x1297 109 r15 = rsp + (rax << 3) 0x129b 110 r15 = r15 + 0x1370 0x12a2 111 rbp = neg.q(rbp) 0x12a5 112 ebx = 0 0x12a7 113 r14 = 0x200d {" %.2lf"} 0x12ae 114 goto 136 @ 0x12b0 0x1270 115 xmm0 = zx.o([rsp + (rbp << 3) + 0x3d0].q) 0x1279 116 rdi = r14 0x127c 117 al = 1 0x127e 118 call(0x1030) 0x1283 119 rbp = rbp + 1 0x128a 120 if (rbx != rbp) then 115 @ 0x1270 else 71 @ 0x128f 0x1310 121 rsi = rdi 0x1316 122 if (rdx == rdi) then 64 @ 0x12f0 else 83 @ 0x1318 0x1334 123 [rsp + (rsi << 3) + 0x3d0].q = xmm1.q 0x133d 124 [rsp + (rsi << 3) + 0x3d8].q = xmm0.q 0x1346 125 goto 121 @ 0x1310 0x1378 126 xmm0 = zx.o([rsp + (rdx << 3) + 0x1370].q) 0x1381 127 xmm1 = zx.o([rsp + (rdx << 3) + 0x1378].q) 0x138a 128 rsi = rdx + 1 0x138e 129 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x138e 130 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x138e 131 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x138e 132 flag:s = 0 0x138e 133 flag:o = 0 0x138e 134 flag:a = 0 0x1392 135 if (flag:z || flag:c) then 142 @ 0x1370 else 144 @ 0x1394 0x12b0 136 xmm0 = zx.o([r15 + (rbx << 3)].q) 0x12b6 137 rdi = r14 0x12b9 138 al = 1 0x12bb 139 call(0x1030) 0x12c0 140 rbx = rbx - 1 0x12c7 141 if (rbp != rbx) then 136 @ 0x12b0 else 98 @ 0x12c9 0x1370 142 rdx = rsi 0x1376 143 if (rcx == rsi) then 93 @ 0x1350 else 126 @ 0x1378 0x1394 144 [rsp + (rdx << 3) + 0x1370].q = xmm1.q 0x139d 145 [rsp + (rdx << 3) + 0x1378].q = xmm0.q 0x13a6 146 goto 142 @ 0x1370 int64_t _fini(): 0x13ac 0 rsp = rsp - 8 0x13b0 1 rsp = rsp + 8 0x13b4 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) 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 {"AWAVATSHq"} 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 - 0x27108 0x116e 5 rdi = 0x2004 {"%d"} 0x1175 6 rsi = rsp + 4 {var_27124} 0x117a 7 eax = 0 0x117c 8 call(0x1040) 0x1186 9 if ([rsp + 4 {var_27124}].d s<= 0) then 10 @ 0x11c6 else 25 @ 0x1188 0x11c6 10 xmm0 = zx.o([rsp + 0x13898 {var_13890}].q) 0x11cf 11 xmm0.q = xmm0.q f- fconvert.t([rsp + 0x138a0 {var_13888}].q) 0x11d8 12 xmm1 = zx.o([rsp + 0x18 {var_27110}].q) 0x11de 13 xmm1.q = xmm1.q f- fconvert.t([rsp + 0x20 {var_27108}].q) 0x11e4 14 xmm1.q = xmm1.q f* xmm1.q 0x11e8 15 xmm0.q = xmm0.q f* xmm0.q 0x11ec 16 xmm0.q = xmm0.q f+ xmm1.q 0x11f0 17 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x11f4 18 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x11f4 19 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11f4 20 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x11f4 21 flag:s = 0 0x11f4 22 flag:o = 0 0x11f4 23 flag:a = 0 0x11f8 24 if (flag:c) then 30 @ 0x12d0 else 33 @ 0x11fe 0x1188 25 r14 = rsp + 0x18 {var_27110} 0x118d 26 r12 = rsp + 0x13898 {var_13890} 0x1195 27 r15 = 0x2007 {"%lf%lf"} 0x119c 28 ebx = 0 0x119e 29 goto 35 @ 0x11a0 0x12d0 30 call(0x1050) 0x12d5 31 xmm3 = xmm0 0x12de 32 if ([rsp + 4 {var_27124}].d s> 0) then 45 @ 0x120d else 50 @ 0x12e4 0x11fe 33 xmm3 = _mm_sqrt_sd(xmm0.q) 0x1207 34 if ([rsp + 4 {var_27124}].d s<= 0) then 50 @ 0x12e4 else 45 @ 0x120d 0x11a0 35 rdi = r15 0x11a3 36 rsi = r12 0x11a6 37 rdx = r14 0x11a9 38 eax = 0 0x11ab 39 call(0x1040) 0x11b0 40 rax = sx.q([rsp + 4 {var_27124}].d) 0x11b5 41 rbx = rbx + 1 0x11b9 42 r14 = r14 + 8 0x11bd 43 r12 = r12 + 8 0x11c4 44 if (rbx s< rax) then 35 @ 0x11a0 else 10 @ 0x11c6 0x120d 45 r14 = rsp + 0x20 {var_27108} 0x1212 46 r15 = rsp + 0x138a0 {var_13888} 0x121a 47 r12d = 1 0x1220 48 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1224 49 goto 52 @ 0x1256 0x12e4 50 xmm0 = xmm3 0x12e4 51 goto 54 @ 0x12e8 0x1256 52 rax = sx.q([rsp + 4 {var_27124}].d) 0x125e 53 if (r12 s>= rax) then 64 @ 0x1230 else 66 @ 0x1260 0x12e8 54 rdi = 0x200e {"%.4lf\n"} 0x12ef 55 al = 1 0x12f1 56 call(0x1030) 0x12f6 57 eax = 0 0x12f8 58 rsp = rsp + 0x27108 0x12ff 59 rbx = pop 0x1300 60 r12 = pop 0x1302 61 r14 = pop 0x1304 62 r15 = pop 0x1306 63 <return> jump(pop) 0x1230 64 xmm0 = xmm3 0x1230 65 goto 68 @ 0x1234 0x1260 66 ebx = 0 0x1262 67 goto 76 @ 0x129b 0x1234 68 rax = r12 + 1 0x1239 69 rcx = sx.q([rsp + 4 {var_27124}].d) 0x123e 70 r14 = r14 + 8 0x1242 71 r15 = r15 + 8 0x1246 72 xmm3 = xmm0 0x124a 73 cond:0 = r12 s>= rcx 0x124d 74 r12 = rax 0x1250 75 if (cond:0) then 54 @ 0x12e8 else 52 @ 0x1256 0x129b 76 xmm0 = zx.o([rsp + (r12 << 3) + 0x13890].q) 0x12a5 77 xmm0.q = xmm0.q f- fconvert.t([r15 + (rbx << 3)].q) 0x12ab 78 xmm1 = zx.o([rsp + (r12 << 3) + 0x10].q) 0x12b2 79 xmm1.q = xmm1.q f- fconvert.t([r14 + (rbx << 3)].q) 0x12b8 80 xmm1.q = xmm1.q f* xmm1.q 0x12bc 81 xmm0.q = xmm0.q f* xmm0.q 0x12c0 82 xmm0.q = xmm0.q f+ xmm1.q 0x12c4 83 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x12c4 84 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x12c4 85 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x12c4 86 flag:s = 0 0x12c4 87 flag:o = 0 0x12c4 88 flag:a = 0 0x12c8 89 if (flag:c) then 90 @ 0x1270 else 95 @ 0x12ca 0x1270 90 [rsp + 8 {var_27120_1}].q = xmm3.q 0x1276 91 call(0x1050) 0x127b 92 xmm3 = zx.o([rsp + 8 {var_27120_1}].q) 0x1281 93 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1281 94 goto 97 @ 0x1285 0x12ca 95 xmm0 = _mm_sqrt_sd(xmm0.q) 0x12ce 96 goto 97 @ 0x1285 0x1285 97 xmm0 = _mm_max_sd(xmm0.q, xmm3.q) 0x1289 98 rbx = rbx + 1 0x128d 99 eax = (rbx + r12).d 0x1291 100 xmm3 = xmm0 0x1299 101 if ([rsp + 4 {var_27124}].d s<= eax) then 68 @ 0x1234 else 76 @ 0x129b int64_t _fini(): 0x130c 0 rsp = rsp - 8 0x1310 1 rsp = rsp + 8 0x1314 2 <return> jump(pop)
POJ_70
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0xb0 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 [rbp - 0x84 {var_8c}].d = 0 0x117c 5 rdi = 0x2004 {"%s%s"} 0x1183 6 rsi = rbp - 0x40 {var_48} 0x1187 7 rdx = rbp - 0x80 {var_88} 0x118b 8 al = 0 0x118d 9 call(0x1050) 0x1192 10 [rbp - 0x88 {var_90}].d = 0 0x1192 11 goto 12 @ 0x119c 0x119c 12 rax = sx.q([rbp - 0x88 {var_90}].d) 0x11a3 13 [rbp - 0x98 {var_a0_1}].q = rax 0x11aa 14 rdi = rbp - 0x80 {var_88} 0x11ae 15 call(0x1040) 0x11b3 16 rcx = rax 0x11b6 17 rax = [rbp - 0x98 {var_a0_1}].q 0x11c0 18 if (rax u>= rcx) then 19 @ 0x12c6 else 27 @ 0x11c6 0x12c6 19 esi = [rbp - 0x8c {var_94}].d 0x12cc 20 rdi = 0x2009 {"%d"} 0x12d3 21 al = 0 0x12d5 22 call(0x1030) 0x12da 23 eax = 0 0x12dc 24 rsp = rsp + 0xb0 0x12e3 25 rbp = pop 0x12e4 26 <return> jump(pop) 0x11c6 27 rax = sx.q([rbp - 0x84 {var_8c}].d) 0x11cd 28 eax = sx.d([rbp + rax - 0x40].b) 0x11d2 29 rcx = sx.q([rbp - 0x88 {var_90}].d) 0x11d9 30 ecx = sx.d([rbp + rcx - 0x80].b) 0x11e0 31 if (eax != ecx) then 32 @ 0x124c else 49 @ 0x11e6 0x124c 32 rax = sx.q([rbp - 0x88 {var_90}].d) 0x1253 33 [rbp - 0xb0 {var_b8_1}].q = rax 0x125a 34 rdi = rbp - 0x40 {var_48} 0x125e 35 call(0x1040) 0x1263 36 rcx = rax 0x1266 37 rax = [rbp - 0xb0 {var_b8_1}].q 0x126d 38 rax = rax - rcx 0x1270 39 rax = rax + 2 0x1274 40 [rbp - 0x8c {var_94}].d = eax 0x127a 41 rax = sx.q([rbp - 0x84 {var_8c}].d) 0x1281 42 [rbp - 0xa8 {var_b0_1}].q = rax 0x1288 43 rdi = rbp - 0x40 {var_48} 0x128c 44 call(0x1040) 0x1291 45 rcx = rax 0x1294 46 rax = [rbp - 0xa8 {var_b0_1}].q 0x129b 47 rcx = rcx - 1 0x12a2 48 if (rax != rcx) then 58 @ 0x12ad else 59 @ 0x12a8 0x11e6 49 eax = [rbp - 0x84 {var_8c}].d 0x11ec 50 eax = eax + 1 0x11ef 51 rax = sx.q(eax) 0x11f1 52 eax = sx.d([rbp + rax - 0x40].b) 0x11f6 53 ecx = [rbp - 0x88 {var_90}].d 0x11fc 54 ecx = ecx + 1 0x11ff 55 rcx = sx.q(ecx) 0x1202 56 ecx = sx.d([rbp + rcx - 0x80].b) 0x1209 57 if (eax != ecx) then 32 @ 0x124c else 60 @ 0x120f 0x12ad 58 goto 68 @ 0x12b2 0x12a8 59 goto 19 @ 0x12c6 0x120f 60 rax = sx.q([rbp - 0x84 {var_8c}].d) 0x1216 61 [rbp - 0xa0 {var_a8_1}].q = rax 0x121d 62 rdi = rbp - 0x40 {var_48} 0x1221 63 call(0x1040) 0x1226 64 rcx = rax 0x1229 65 rax = [rbp - 0xa0 {var_a8_1}].q 0x1230 66 rcx = rcx - 1 0x1237 67 if (rax u>= rcx) then 32 @ 0x124c else 72 @ 0x123d 0x12b2 68 eax = [rbp - 0x88 {var_90}].d 0x12b8 69 eax = eax + 1 0x12bb 70 [rbp - 0x88 {var_90}].d = eax 0x12c1 71 goto 12 @ 0x119c 0x123d 72 eax = [rbp - 0x84 {var_8c}].d 0x1243 73 eax = eax + 1 0x1246 74 [rbp - 0x84 {var_8c}].d = eax 0x1246 75 goto 32 @ 0x124c int64_t _fini(): 0x12ec 0 rsp = rsp - 8 0x12f0 1 rsp = rsp + 8 0x12f4 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 {"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 = 0x2020 {"%d"} 0x1168 8 rsi = rsp + 4 {var_4f4} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1174 11 r10d = [rsp + 4 {var_4f4}].d 0x117c 12 if (r10d s<= 0) then 13 @ 0x12f4 else 17 @ 0x1182 0x12f4 13 xmm0.q = float.d(r10d) 0x12f9 14 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x12fd 15 xmm4.q = xmm4.q f/ xmm0.q 0x12fd 16 goto 22 @ 0x1301 0x1182 17 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x1186 18 rbx = rsp + 0x10 {var_4e8} 0x118b 19 r14 = 0x2020 {"%d"} 0x1192 20 ebp = 0 0x119e 21 goto 28 @ 0x11a0 0x1301 22 esi = [rsp + 0x10 {var_4e8}].d 0x1305 23 edi = (r10 - 1).d 0x1309 24 r9 = sx.q(edi) 0x130c 25 ebp = 0 0x130e 26 r14d = 0 0x1311 27 goto 41 @ 0x13f3 0x11a0 28 [rsp + 8 {var_4f0}].q = xmm4.q 0x11a6 29 rdi = r14 0x11a9 30 rsi = rbx 0x11ac 31 eax = 0 0x11ae 32 call(0x1040) 0x11b3 33 xmm4 = zx.o([rsp + 8 {var_4f0}].q) 0x11b9 34 xmm0 = 0 0x11bc 35 xmm0.q = float.d([rbx].d) 0x11c0 36 xmm4.q = xmm4.q f+ xmm0.q 0x11c4 37 rbp = rbp + 1 0x11c8 38 r10 = sx.q([rsp + 4 {var_4f4}].d) 0x11cd 39 rbx = rbx + 4 0x11d4 40 if (rbp s< r10) then 28 @ 0x11a0 else 56 @ 0x11d6 0x13f3 41 xmm1 = 0 0x13f6 42 xmm1.q = float.d(esi) 0x13fa 43 xmm0 = xmm4 0x13fe 44 xmm2 = 0 0x1401 45 xmm2.q = float.d([rsp + (r9 << 2) + 0x10].d) 0x1408 46 xmm0.q = xmm0.q f- xmm1.q 0x140c 47 xmm2.q = xmm2.q f- xmm4.q 0x1410 48 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x1410 49 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x1410 50 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x1410 51 flag:s = 0 0x1410 52 flag:o = 0 0x1410 53 flag:a = 0 0x1414 54 [rsp + 8 {var_4f0}].q = xmm4.q 0x141a 55 if (flag:z || flag:c) then 59 @ 0x14a4 else 70 @ 0x1420 0x11d6 56 xmm0 = 0 0x11d9 57 xmm0.q = float.d(r10d) 0x11e2 58 if (r10d s< 2) then 72 @ 0x12aa else 74 @ 0x11e8 0x14a4 59 eax = [rsp + (r9 << 2) + 0x10].d 0x14a9 60 xmm1 = 0 0x14ac 61 xmm1.q = float.d(eax) 0x14b0 62 xmm1.q = xmm1.q f- xmm4.q 0x14b4 63 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x14b4 64 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x14b4 65 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x14b4 66 flag:s = 0 0x14b4 67 flag:o = 0 0x14b4 68 flag:a = 0 0x14b8 69 if (flag:z || flag:c) then 80 @ 0x152c else 90 @ 0x14ba 0x1420 70 r15d = (rbp - 1).d 0x1427 71 if (ebp s< 2) then 92 @ 0x1467 else 108 @ 0x1429 0x12aa 72 xmm4.q = xmm4.q f/ xmm0.q 0x12b1 73 if (r10d s<= 0) then 22 @ 0x1301 else 112 @ 0x12b3 0x11e8 74 edx = (r10 - 1).d 0x11ec 75 r8 = rdx 0x11ef 76 r8 = neg.q(r8) 0x11f2 77 esi = 0 0x11f4 78 r9d = r10d 0x11f7 79 goto 119 @ 0x1219 0x152c 80 xmm1 = 0 0x152f 81 xmm1.q = float.d([rsp + (r9 << 2) + 0x10].d) 0x1536 82 xmm1.q = xmm1.q f- xmm4.q 0x153a 83 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x153a 84 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x153a 85 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x153a 86 flag:s = 0 0x153a 87 flag:o = 0 0x153a 88 flag:a = 0 0x153e 89 if (not(flag:z)) then 123 @ 0x15e7 else 132 @ 0x1544 0x14ba 90 r10d = r10d - r14d 0x14c0 91 if (r10d s>= edi) then 133 @ 0x14f4 else 148 @ 0x14c2 0x1467 92 rax = sx.q(r15d) 0x146a 93 esi = [rsp + (rax << 2) + 0x10].d 0x146e 94 rdi = 0x2020 {"%d"} 0x1475 95 eax = 0 0x1477 96 call(0x1030) 0x147c 97 esi = [rsp + 0x10 {var_4e8}].d 0x1480 98 r10 = sx.q([rsp + 4 {var_4f4}].d) 0x1485 99 xmm1 = 0 0x1488 100 xmm1.q = float.d(esi) 0x148c 101 xmm4 = zx.o([rsp + 8 {var_4f0}].q) 0x1492 102 xmm0 = xmm4 0x1496 103 xmm0.q = xmm0.q f- xmm1.q 0x149a 104 r9 = r10 0x149d 105 r9 = r9 - 1 0x14a1 106 edi = r9d 0x14a1 107 goto 59 @ 0x14a4 0x1429 108 rdi = 0x2023 {"%d,"} 0x1430 109 eax = 0 0x1432 110 call(0x1030) 0x143b 111 if (r15d == 1) then 92 @ 0x1467 else 151 @ 0x143d 0x12b3 112 esi = [rsp + 0x10 {var_4e8}].d 0x12b7 113 r9d = (r10 - 1).d 0x12bb 114 eax = [rsp + (r9 << 2) + 0x10].d 0x12c0 115 r14d = 0 0x12c5 116 r14b = esi == eax 0x12c9 117 ebp = 1 0x12d2 118 if (r10d == 1) then 155 @ 0x13f0 else 157 @ 0x12d8 0x1219 119 rax = rsi 0x121c 120 rax = not.q(rax) 0x121f 121 edi = [rsp + 0x10 {var_4e8}].d 0x1226 122 if (rax != r8) then 160 @ 0x1230 else 164 @ 0x1228 0x15e7 123 eax = 0 0x15e9 124 rsp = rsp + 0x4c8 0x15f0 125 rbx = pop 0x15f1 126 r12 = pop 0x15f3 127 r13 = pop 0x15f5 128 r14 = pop 0x15f7 129 r15 = pop 0x15f9 130 rbp = pop 0x15fa 131 <return> jump(pop) 0x1544 132 if (flag:p) then 123 @ 0x15e7 else 166 @ 0x154c 0x14f4 133 rdi = 0x2020 {"%d"} 0x14fb 134 esi = eax 0x14fd 135 eax = 0 0x14ff 136 call(0x1030) 0x1504 137 esi = [rsp + 0x10 {var_4e8}].d 0x1508 138 r10 = sx.q([rsp + 4 {var_4f4}].d) 0x150d 139 xmm1 = 0 0x1510 140 xmm1.q = float.d(esi) 0x1514 141 xmm4 = zx.o([rsp + 8 {var_4f0}].q) 0x151a 142 xmm0 = xmm4 0x151e 143 xmm0.q = xmm0.q f- xmm1.q 0x1522 144 r9 = r10 0x1525 145 r9 = r9 - 1 0x1529 146 edi = r9d 0x1529 147 goto 80 @ 0x152c 0x14c2 148 rbx = sx.q(r10d) 0x14c5 149 r15 = 0x2023 {"%d,"} 0x14cc 150 goto 167 @ 0x14d0 0x143d 151 r13d = r15d 0x1440 152 ebx = 1 0x1445 153 r12 = 0x2023 {"%d,"} 0x144c 154 goto 175 @ 0x1450 0x13f0 155 edi = r9d 0x13f0 156 goto 41 @ 0x13f3 0x12d8 157 edi = r10d 0x12db 158 r8 = rdi - 1 0x12e3 159 if (r8 u>= 8) then 181 @ 0x1316 else 194 @ 0x12e5 0x1230 160 rax = rdx 0x1233 161 rax = rax & 0xfffffffffffffffe 0x1237 162 ebx = 0 0x1239 163 goto 197 @ 0x1250 0x1228 164 ecx = 0 0x122a 165 goto 199 @ 0x128b 0x154c 166 if (ebp == 0) then 200 @ 0x1590 else 202 @ 0x154e 0x14d0 167 esi = [rsp + (rbx << 2) + 0x10].d 0x14d4 168 rdi = r15 0x14d7 169 eax = 0 0x14d9 170 call(0x1030) 0x14de 171 rbx = rbx + 1 0x14e2 172 rax = sx.q([rsp + 4 {var_4f4}].d) 0x14e7 173 rcx = rax - 1 0x14ee 174 if (rbx s< rcx) then 167 @ 0x14d0 else 206 @ 0x14f0 0x1450 175 esi = [rsp + (rbx << 2) + 0x10].d 0x1454 176 rdi = r12 0x1457 177 eax = 0 0x1459 178 call(0x1030) 0x145e 179 rbx = rbx + 1 0x1465 180 if (r13 != rbx) then 175 @ 0x1450 else 92 @ 0x1467 0x1316 181 rdx = r8 0x1319 182 rdx = rdx & 0xfffffffffffffff8 0x131d 183 rbx = rdx + 1 0x1321 184 xmm0 = r14d 0x1326 185 xmm1 = esi 0x132a 186 xmm8 = _mm_shuffle_epi32(xmm1, 0) 0x1330 187 xmm1 = eax 0x1334 188 xmm9 = _mm_shuffle_epi32(xmm1, 0) 0x133a 189 xmm3 = [0x2010].o 0x1342 190 xmm1 = 0 0x1346 191 ebp = 0 0x1348 192 xmm5 = 0 0x134c 193 goto 208 @ 0x1350 0x12e5 194 ebp = 1 0x12ea 195 ebx = 1 0x12ef 196 goto 222 @ 0x13d0 0x1250 197 ecx = [rsp + (rbx << 2) + 0x14].d 0x1256 198 if (edi s<= ecx) then 231 @ 0x1270 else 235 @ 0x1258 0x128b 199 if ((dl & 1) == 0) then 240 @ 0x1200 else 246 @ 0x1291 0x1590 200 r10d = r10d - r14d 0x1596 201 if (r10d s>= edi) then 248 @ 0x15d2 else 250 @ 0x1598 0x154e 202 rdi = 0x2023 {"%d,"} 0x1555 203 eax = 0 0x1557 204 call(0x1030) 0x155f 205 if (ebp == 1) then 253 @ 0x1587 else 256 @ 0x1561 0x14f0 206 eax = [rsp + (rax << 2) + 0xc].d 0x14f0 207 goto 133 @ 0x14f4 0x1350 208 xmm2 = [rsp + (rbp << 2) + 0x14].o 0x1356 209 xmm7 = [rsp + (rbp << 2) + 0x24].o 0x135c 210 xmm6 = xmm2 0x1360 211 xmm6 = _mm_cmpeq_epi32(xmm6, xmm8) 0x1365 212 xmm3 = _mm_sub_epi32(xmm3, xmm6) 0x1369 213 xmm6 = xmm7 0x136d 214 xmm6 = _mm_cmpeq_epi32(xmm6, xmm8) 0x1372 215 xmm5 = _mm_sub_epi32(xmm5, xmm6) 0x1376 216 xmm2 = _mm_cmpeq_epi32(xmm2, xmm9) 0x137b 217 xmm0 = _mm_sub_epi32(xmm0, xmm2) 0x137f 218 xmm7 = _mm_cmpeq_epi32(xmm7, xmm9) 0x1384 219 xmm1 = _mm_sub_epi32(xmm1, xmm7) 0x1388 220 rbp = rbp + 8 0x138f 221 if (rdx != rbp) then 208 @ 0x1350 else 260 @ 0x1391 0x13d0 222 ecx = [rsp + (rbx << 2) + 0x10].d 0x13d4 223 edx = 0 0x13d8 224 dl = ecx == esi 0x13db 225 ebp = ebp + edx 0x13dd 226 edx = 0 0x13e1 227 dl = ecx == eax 0x13e4 228 r14d = r14d + edx 0x13e7 229 rbx = rbx + 1 0x13ee 230 if (rdi != rbx) then 222 @ 0x13d0 else 155 @ 0x13f0 0x1270 231 edi = ecx 0x1272 232 rcx = rbx + 2 0x1276 233 ebp = [rsp + (rbx << 2) + 0x18].d 0x127c 234 if (edi s> ebp) then 273 @ 0x1240 else 277 @ 0x127e 0x1258 235 [rsp + (rbx << 2) + 0x14].d = edi 0x125c 236 [rsp + (rbx << 2) + 0x10].d = ecx 0x1260 237 rcx = rbx + 2 0x1264 238 ebp = [rsp + (rbx << 2) + 0x18].d 0x126a 239 if (edi s> ebp) then 273 @ 0x1240 else 280 @ 0x126c 0x1200 240 eax = (r9 - 1).d 0x1204 241 rdx = rdx - 1 0x1208 242 rsi = rsi + 1 0x120c 243 cond:0 = r9d s< 3 0x1210 244 r9d = eax 0x1213 245 if (cond:0) then 72 @ 0x12aa else 119 @ 0x1219 0x1291 246 eax = [rsp + (rcx << 2) + 0x14].d 0x1297 247 if (edi s<= eax) then 240 @ 0x1200 else 281 @ 0x129d 0x15d2 248 rax = sx.q(edi) 0x15d2 249 goto 284 @ 0x15d5 0x1598 250 rbp = sx.q(r10d) 0x159b 251 rbx = 0x2023 {"%d,"} 0x15ac 252 goto 289 @ 0x15b0 0x1587 253 r10d = [rsp + 4 {var_4f4}].d 0x158c 254 edi = (r10 - 1).d 0x158c 255 goto 200 @ 0x1590 0x1561 256 ebp = ebp 0x1563 257 ebx = 1 0x1568 258 r15 = 0x2023 {"%d,"} 0x156f 259 goto 297 @ 0x1570 0x1391 260 xmm5 = _mm_add_epi32(xmm5, xmm3) 0x1395 261 xmm2 = _mm_shuffle_epi32(xmm5, 0xee) 0x139a 262 xmm2 = _mm_add_epi32(xmm2, xmm5) 0x139e 263 xmm3 = _mm_shuffle_epi32(xmm2, 0x55) 0x13a3 264 xmm3 = _mm_add_epi32(xmm3, xmm2) 0x13a7 265 ebp = xmm3.d 0x13ab 266 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x13af 267 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x13b4 268 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x13b8 269 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x13bd 270 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x13c1 271 r14d = xmm1.d 0x13c9 272 if (r8 == rdx) then 155 @ 0x13f0 else 303 @ 0x13cb 0x1240 273 [rsp + (rbx << 2) + 0x18].d = edi 0x1244 274 [rsp + (rbx << 2) + 0x14].d = ebp 0x1248 275 rbx = rcx 0x124e 276 if (rax == rcx) then 199 @ 0x128b else 197 @ 0x1250 0x127e 277 edi = ebp 0x1280 278 rbx = rcx 0x1286 279 if (rax != rcx) then 197 @ 0x1250 else 199 @ 0x128b 0x126c 280 goto 277 @ 0x127e 0x129d 281 [rsp + (rcx << 2) + 0x14].d = edi 0x12a1 282 [rsp + (rcx << 2) + 0x10].d = eax 0x12a5 283 goto 240 @ 0x1200 0x15d5 284 esi = [rsp + (rax << 2) + 0x10].d 0x15d9 285 rdi = 0x2020 {"%d"} 0x15e0 286 eax = 0 0x15e2 287 call(0x1030) 0x15e2 288 goto 123 @ 0x15e7 0x15b0 289 esi = [rsp + (rbp << 2) + 0x10].d 0x15b4 290 rdi = rbx 0x15b7 291 eax = 0 0x15b9 292 call(0x1030) 0x15be 293 rbp = rbp + 1 0x15c2 294 rax = sx.q([rsp + 4 {var_4f4}].d) 0x15c7 295 rax = rax - 1 0x15ce 296 if (rbp s< rax) then 289 @ 0x15b0 else 304 @ 0x15d0 0x1570 297 esi = [rsp + (rbx << 2) + 0x10].d 0x1574 298 rdi = r15 0x1577 299 eax = 0 0x1579 300 call(0x1030) 0x157e 301 rbx = rbx + 1 0x1585 302 if (rbp != rbx) then 297 @ 0x1570 else 253 @ 0x1587 0x13cb 303 goto 222 @ 0x13d0 0x15d0 304 goto 284 @ 0x15d5 int64_t _fini(): 0x1600 0 rsp = rsp - 8 0x1604 1 rsp = rsp + 8 0x1608 2 <return> jump(pop)
POJ_21
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 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 {"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 - 0x220 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 [rbp - 0x1a8 {var_1b0}].d = 0 0x1172 5 goto 6 @ 0x117c 0x117c 6 rdi = rbp - 0x220 {var_228} 0x1183 7 al = 0 0x1185 8 call(0x1040) 0x118d 9 if (eax == 0) then 10 @ 0x132c else 14 @ 0x1193 0x132c 10 eax = 0 0x132e 11 rsp = rsp + 0x220 0x1335 12 rbp = pop 0x1336 13 <return> jump(pop) 0x1193 14 [rbp - 0x1a8 {var_1b0_1}].d = 0 0x119d 15 rdi = rbp - 0x220 {var_228} 0x11a4 16 al = 0 0x11a6 17 call(0x1050) 0x11ab 18 rdi = rbp - 0x220 {var_228} 0x11b2 19 call(0x1030) 0x11b7 20 [rbp - 0x1a4 {var_1ac_1}].d = eax 0x11bd 21 [rbp - 0x1ac {var_1b4_1}].d = 0 0x11bd 22 goto 23 @ 0x11c7 0x11c7 23 eax = [rbp - 0x1ac {var_1b4_1}].d 0x11d3 24 if (eax s>= [rbp - 0x1a4 {var_1ac_1}].d) then 25 @ 0x12bd else 27 @ 0x11d9 0x12bd 25 [rbp - 0x1b0 {var_1b8_1}].d = 0 0x12bd 26 goto 30 @ 0x12c7 0x11d9 27 rax = sx.q([rbp - 0x1ac {var_1b4_1}].d) 0x11e0 28 eax = sx.d([rbp + rax - 0x220].b) 0x11eb 29 if (eax != 0x28) then 32 @ 0x1219 else 35 @ 0x11f1 0x12c7 30 eax = [rbp - 0x1b0 {var_1b8_1}].d 0x12d3 31 if (eax s>= [rbp - 0x1a4 {var_1ac_1}].d) then 42 @ 0x1319 else 46 @ 0x12d9 0x1219 32 rax = sx.q([rbp - 0x1ac {var_1b4_1}].d) 0x1220 33 eax = sx.d([rbp + rax - 0x220].b) 0x122b 34 if (eax != 0x29) then 49 @ 0x1290 else 52 @ 0x1238 0x11f1 35 ecx = [rbp - 0x1ac {var_1b4_1}].d 0x11f7 36 rax = sx.q([rbp - 0x1a8 {var_1b0_1}].d) 0x11fe 37 [rbp + (rax << 2) - 0x1a0].d = ecx 0x1205 38 eax = [rbp - 0x1a8 {var_1b0_1}].d 0x120b 39 eax = eax + 1 0x120e 40 [rbp - 0x1a8 {var_1b0_1}].d = eax 0x1214 41 goto 53 @ 0x12a4 0x1319 42 rdi = rbp - 0x220 {var_228} 0x1320 43 al = 0 0x1322 44 call(0x1050) 0x1327 45 goto 6 @ 0x117c 0x12d9 46 rax = sx.q([rbp - 0x1b0 {var_1b8_1}].d) 0x12e0 47 eax = sx.d([rbp + rax - 0x220].b) 0x12eb 48 if (eax != 0x28) then 54 @ 0x1300 else 55 @ 0x12f1 0x1290 49 rax = sx.q([rbp - 0x1ac {var_1b4_1}].d) 0x1297 50 [rbp + rax - 0x220].b = 0x20 {"@"} 0x1297 51 goto 58 @ 0x129f 0x1238 52 if ([rbp - 0x1a8 {var_1b0_1}].d == 0) then 59 @ 0x127c else 62 @ 0x123e 0x12a4 53 goto 73 @ 0x12a9 0x1300 54 goto 77 @ 0x1305 0x12f1 55 rax = sx.q([rbp - 0x1b0 {var_1b8_1}].d) 0x12f8 56 [rbp + rax - 0x220].b = 0x24 {""} 0x12f8 57 goto 54 @ 0x1300 0x129f 58 goto 53 @ 0x12a4 0x127c 59 rax = sx.q([rbp - 0x1ac {var_1b4_1}].d) 0x1283 60 [rbp + rax - 0x220].b = 0x3f {""} 0x1283 61 goto 81 @ 0x128b 0x123e 62 rax = sx.q([rbp - 0x1ac {var_1b4_1}].d) 0x1245 63 [rbp + rax - 0x220].b = 0x20 {"@"} 0x124d 64 eax = [rbp - 0x1a8 {var_1b0_1}].d 0x1253 65 eax = eax - 1 0x1256 66 rax = sx.q(eax) 0x1258 67 rax = sx.q([rbp + (rax << 2) - 0x1a0].d) 0x1260 68 [rbp + rax - 0x220].b = 0x20 {"@"} 0x1268 69 eax = [rbp - 0x1a8 {var_1b0_1}].d 0x126e 70 eax = eax - 1 0x1271 71 [rbp - 0x1a8 {var_1b0_1}].d = eax 0x1277 72 goto 81 @ 0x128b 0x12a9 73 eax = [rbp - 0x1ac {var_1b4_1}].d 0x12af 74 eax = eax + 1 0x12b2 75 [rbp - 0x1ac {var_1b4_1}].d = eax 0x12b8 76 goto 23 @ 0x11c7 0x1305 77 eax = [rbp - 0x1b0 {var_1b8_1}].d 0x130b 78 eax = eax + 1 0x130e 79 [rbp - 0x1b0 {var_1b8_1}].d = eax 0x1314 80 goto 30 @ 0x12c7 0x128b 81 goto 58 @ 0x129f int64_t _fini(): 0x133c 0 rsp = rsp - 8 0x1340 1 rsp = rsp + 8 0x1344 2 <return> jump(pop)
POJ_17
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 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 {"UAWAVAUATSHHW)$D$,)D$ )D$$"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x48 0x115e 7 xmm0 = 0 0x1161 8 [rsp {var_78}].o = xmm0 0x1165 9 [rsp + 0x2c {var_4c}].o = xmm0 0x116a 10 [rsp + 0x20 {var_58}].o = xmm0 0x116f 11 [rsp + 0x10 {var_68}].o = xmm0 0x1174 12 [rsp {var_78}].d = 1 0x117b 13 rdi = 0x2004 {"%d"} 0x1182 14 rsi = rsp {var_78} 0x1185 15 eax = 0 0x1187 16 call(0x1040) 0x1190 17 if ([rsp {var_78}].d == -1) then 18 @ 0x12e0 else 26 @ 0x1196 0x12e0 18 rsp = rsp + 0x48 0x12e4 19 rbx = pop 0x12e5 20 r12 = pop 0x12e7 21 r13 = pop 0x12e9 22 r14 = pop 0x12eb 23 r15 = pop 0x12ed 24 rbp = pop 0x12ee 25 <return> jump(pop) 0x1196 26 r13 = rsp + 8 {var_78+0x8} 0x119b 27 r15 = 0x2004 {"%d"} 0x11a2 28 goto 29 @ 0x11d5 0x11d5 29 rdi = r15 0x11d8 30 rsi = rsp + 4 {var_78+0x4} 0x11dd 31 eax = 0 0x11df 32 call(0x1040) 0x11e9 33 if ([rsp + 4 {var_78+0x4}].d == 0) then 34 @ 0x1230 else 36 @ 0x11eb 0x1230 34 r12d = 1 0x1230 35 goto 39 @ 0x1236 0x11eb 36 ebp = 1 0x11f0 37 r14d = 0 0x11fd 38 goto 45 @ 0x1200 0x1236 39 r8d = r12d 0x1239 40 rcx = r8 0x123c 41 r14 = rsp {var_78} 0x123f 42 rdx = r14 {var_78} 0x1242 43 esi = 0 0x1244 44 goto 54 @ 0x125d 0x1200 45 r12 = rbp + 1 0x1204 46 rsi = r14 + r13 0x1208 47 rdi = r15 0x120b 48 eax = 0 0x120d 49 call(0x1040) 0x1212 50 r14 = r14 + 4 0x1216 51 cond:0 = [rsp + (rbp << 2) + 4].d != 0 0x121b 52 rbp = r12 0x121e 53 if (cond:0) then 45 @ 0x1200 else 57 @ 0x1220 0x125d 54 rdi = rsi 0x1260 55 rsi = rsi + 1 0x1267 56 if (rsi u>= r8) then 58 @ 0x1250 else 61 @ 0x1269 0x1220 57 goto 39 @ 0x1236 0x1250 58 rdx = rdx + 4 0x1254 59 rcx = rcx - 1 0x125b 60 if (rsi == r8) then 63 @ 0x1290 else 54 @ 0x125d 0x1269 61 ebp = 1 0x126e 62 goto 68 @ 0x1279 0x1290 63 eax = 0 0x1292 64 rcx = r8 0x1295 65 rdx = r14 {var_78} 0x1298 66 esi = 0 0x129a 67 goto 71 @ 0x12b4 0x1279 68 ebx = [rsp + (rdi << 2)].d 0x127c 69 eax = [rdx + (rbp << 2)].d 0x1281 70 if (ebx s<= eax) then 74 @ 0x1270 else 76 @ 0x1283 0x12b4 71 rdi = rax 0x12b7 72 rax = rax + 1 0x12be 73 if (rax u>= r8) then 79 @ 0x12a3 else 82 @ 0x12c0 0x1270 74 rbp = rbp + 1 0x1277 75 if (rcx == rbp) then 58 @ 0x1250 else 68 @ 0x1279 0x1283 76 [rsp + (rdi << 2)].d = eax 0x1286 77 [rdx + (rbp << 2)].d = ebx 0x1289 78 goto 74 @ 0x1270 0x12a3 79 rdx = rdx + 4 0x12a7 80 rcx = rcx - 1 0x12ae 81 if (rax == r8) then 86 @ 0x11b0 else 71 @ 0x12b4 0x12c0 82 ebp = [rsp + (rdi << 2)].d 0x12c3 83 ebp = ebp + ebp 0x12c5 84 ebx = 1 0x12ca 85 goto 94 @ 0x12d3 0x11b0 86 rdi = 0x2007 {"%d\n"} 0x11b7 87 eax = 0 0x11b9 88 call(0x1030) 0x11be 89 rdi = r15 0x11c1 90 rsi = r14 {var_78} 0x11c4 91 eax = 0 0x11c6 92 call(0x1040) 0x11cf 93 if ([rsp {var_78}].d == -1) then 18 @ 0x12e0 else 29 @ 0x11d5 0x12d3 94 if ([rdx + (rbx << 2)].d == ebp) then 95 @ 0x12a0 else 97 @ 0x12d5 0x12a0 95 esi = esi + 1 0x12a0 96 goto 79 @ 0x12a3 0x12d5 97 rbx = rbx + 1 0x12dc 98 if (rcx != rbx) then 94 @ 0x12d3 else 99 @ 0x12de 0x12de 99 goto 79 @ 0x12a3 int64_t _fini(): 0x12f4 0 rsp = rsp - 8 0x12f8 1 rsp = rsp + 8 0x12fc 2 <return> jump(pop)
POJ_12
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) 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 - 0x9c88 0x1161 7 rdi = 0x2004 {"%d%d"} 0x1168 8 rsi = rsp + 4 {var_9cb4} 0x116d 9 rdx = rsp + 8 {var_9cb0} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x1179 12 eax = [rsp + 4 {var_9cb4}].d 0x117d 13 ecx = [rsp + 8 {var_9cb0}].d 0x1183 14 if (eax s<= 0) then 15 @ 0x11e5 else 28 @ 0x1187 0x11e5 15 rbp = rsp + 0x360 {var_9958} 0x11ed 16 edx = 1 0x11f2 17 [rsp + 0x28 {var_9c90}].q = rdx 0x11f7 18 [rsp + 0x10 {var_9ca8}].d = -2 0x11ff 19 rdx = rsp + 0x40 {var_9c78} 0x1204 20 [rsp + 0x14 {var_9ca4}].d = 2 0x120c 21 [rsp + 0xc {var_9cac}].d = -1 0x1214 22 r15 = 0x2009 {"%d\n"} 0x121b 23 [rsp + 0x20 {var_9c98}].q = rdx {var_9c78} 0x1220 24 r14 = rdx {var_9c78} 0x1223 25 r12d = 0 0x1226 26 r13d = 0 0x1229 27 goto 29 @ 0x126d 0x1187 28 if (ecx s<= 0) then 15 @ 0x11e5 else 33 @ 0x1189 0x126d 29 edx = ecx 0x126f 30 edx = edx - r12d 0x1272 31 rdx = sx.q(edx) 0x1278 32 if (r12 s>= rdx) then 37 @ 0x12aa else 40 @ 0x127a 0x1189 33 r15 = rsp + 0x40 {var_9c78} 0x118e 34 r14 = 0x2006 {"%d"} 0x1195 35 r12d = 0 0x1198 36 goto 42 @ 0x11b5 0x12aa 37 edx = eax 0x12ac 38 edx = edx * ecx 0x12b2 39 if (r13d == edx) then 43 @ 0x147c else 52 @ 0x12b8 0x127a 40 ebx = 0 0x127c 41 goto 60 @ 0x1280 0x11b5 42 if (ecx s<= 0) then 70 @ 0x11a0 else 74 @ 0x11b7 0x147c 43 eax = 0 0x147e 44 rsp = rsp + 0x9c88 0x1485 45 rbx = pop 0x1486 46 r12 = pop 0x1488 47 r13 = pop 0x148a 48 r14 = pop 0x148c 49 r15 = pop 0x148e 50 rbp = pop 0x148f 51 <return> jump(pop) 0x12b8 52 rdi = r12 + 1 0x12bd 53 rsi = sx.q(eax) 0x12c0 54 rsi = rsi - r12 0x12c3 55 cond:0 = rdi s>= rsi 0x12c6 56 [rsp + 0x18 {var_9ca0_1}].q = rbp 0x12cb 57 [rsp + 0x38 {var_9c80_1}].q = r14 0x12d0 58 [rsp + 0x30 {var_9c88_1}].q = rdi 0x12d5 59 if (cond:0) then 77 @ 0x1377 else 78 @ 0x12db 0x1280 60 esi = [r14 + (rbx << 2)].d 0x1284 61 rdi = r15 0x1287 62 eax = 0 0x1289 63 call(0x1030) 0x128e 64 ecx = [rsp + 8 {var_9cb0}].d 0x1292 65 eax = ecx 0x1294 66 eax = eax - r12d 0x1297 67 rbx = rbx + 1 0x129b 68 edx = (rbx + r12).d 0x12a1 69 if (eax s> edx) then 60 @ 0x1280 else 96 @ 0x12a3 0x11a0 70 r12 = r12 + 1 0x11a4 71 rdx = sx.q(eax) 0x11a7 72 r15 = r15 + 0x190 0x11b1 73 if (r12 s>= rdx) then 15 @ 0x11e5 else 42 @ 0x11b5 0x11b7 74 rbx = r15 0x11ba 75 ebp = 0 0x11bc 76 goto 99 @ 0x11c0 0x1377 77 if (r13d == edx) then 43 @ 0x147c else 107 @ 0x137d 0x12db 78 eax = r12d 0x12de 79 eax = not.d(eax) 0x12e0 80 ecx = ecx + eax 0x12e2 81 rax = sx.q(ecx) 0x12e5 82 rbx = [rsp + 0x28 {var_9c90}].q 0x12ea 83 rcx = rbx * 0x190 0x12f1 84 rcx = rcx + rsp 0x12f4 85 rcx = rcx + 0x40 0x12f8 86 esi = [rcx + (rax << 2)].d 0x12fb 87 rdi = r15 0x12fe 88 eax = 0 0x1300 89 call(0x1030) 0x1305 90 r13d = r13d + 1 0x1309 91 ecx = (rbx + 1).d 0x130c 92 eax = [rsp + 4 {var_9cb4}].d 0x1310 93 edx = eax 0x1312 94 edx = edx - r12d 0x1317 95 if (edx s<= ecx) then 112 @ 0x1361 else 118 @ 0x1319 0x12a3 96 eax = [rsp + 4 {var_9cb4}].d 0x12a7 97 r13d = r13d + ebx 0x12a7 98 goto 37 @ 0x12aa 0x11c0 99 rdi = r14 0x11c3 100 rsi = rbx 0x11c6 101 eax = 0 0x11c8 102 call(0x1040) 0x11cd 103 rbp = rbp + 1 0x11d1 104 rcx = sx.q([rsp + 8 {var_9cb0}].d) 0x11d6 105 rbx = rbx + 4 0x11dd 106 if (rbp s< rcx) then 99 @ 0x11c0 else 122 @ 0x11df 0x137d 107 ebx = 0xfffffffe {""} 0x1382 108 ebx = ebx - r12d 0x1385 109 esi = (rbx + rcx).d 0x1388 110 rsi = sx.q(esi) 0x138e 111 if (r12 s> rsi) then 124 @ 0x141c else 125 @ 0x1394 0x1361 112 ecx = [rsp + 8 {var_9cb0}].d 0x1365 113 edx = ecx 0x1367 114 edx = edx * eax 0x136a 115 r14 = [rsp + 0x38 {var_9c80_1}].q 0x136f 116 rbp = [rsp + 0x18 {var_9ca0_1}].q 0x136f 117 goto 77 @ 0x1377 0x1319 118 rbx = rbp 0x131c 119 ebp = [rsp + 0x14 {var_9ca4}].d 0x1320 120 r14d = [rsp + 0xc {var_9cac}].d 0x132f 121 goto 140 @ 0x1330 0x11df 122 eax = [rsp + 4 {var_9cb4}].d 0x11e3 123 goto 70 @ 0x11a0 0x141c 124 if (r13d == edx) then 43 @ 0x147c else 154 @ 0x141e 0x1394 125 edx = r12d 0x1397 126 edx = not.d(edx) 0x1399 127 ecx = ecx + [rsp + 0x10 {var_9ca8}].d 0x139d 128 r14 = sx.q(ecx) 0x13a0 129 eax = eax + edx 0x13a2 130 rax = sx.q(eax) 0x13a4 131 rax = rax * 0x190 0x13ab 132 rax = rax + rsp 0x13ae 133 rax = rax + 0x40 0x13b2 134 esi = [rax + (r14 << 2)].d 0x13b6 135 rdi = r15 0x13b9 136 eax = 0 0x13bb 137 call(0x1030) 0x13c0 138 r13d = r13d + 1 0x13c7 139 if (r12 s>= r14) then 157 @ 0x1402 else 164 @ 0x13c9 0x1330 140 eax = [rsp + 8 {var_9cb0}].d 0x1334 141 eax = eax + r14d 0x1337 142 rax = sx.q(eax) 0x1339 143 esi = [rbx + (rax << 2)].d 0x133c 144 rdi = r15 0x133f 145 eax = 0 0x1341 146 call(0x1030) 0x1346 147 r13d = r13d + 1 0x134a 148 eax = [rsp + 4 {var_9cb4}].d 0x134e 149 ecx = eax 0x1350 150 ecx = ecx - r12d 0x1353 151 ebp = ebp + 1 0x1356 152 rbx = rbx + 0x190 0x135f 153 if (ecx s> ebp) then 140 @ 0x1330 else 112 @ 0x1361 0x141e 154 ebx = ebx + eax 0x1420 155 rsi = sx.q(ebx) 0x1426 156 if (r12 s>= rsi) then 166 @ 0x1230 else 168 @ 0x142c 0x1402 157 eax = [rsp + 4 {var_9cb4}].d 0x1406 158 ecx = [rsp + 8 {var_9cb0}].d 0x140a 159 edx = ecx 0x140c 160 edx = edx * eax 0x140f 161 rbp = [rsp + 0x18 {var_9ca0_1}].q 0x1414 162 r14 = [rsp + 0x38 {var_9c80_1}].q 0x1414 163 goto 124 @ 0x141c 0x13c9 164 ebp = [rsp + 0xc {var_9cac}].d 0x13cd 165 goto 173 @ 0x13d0 0x1230 166 esi = [rsp + 0xc {var_9cac}].d 0x1230 167 goto 186 @ 0x1234 0x142c 168 eax = eax + [rsp + 0x10 {var_9ca8}].d 0x1430 169 rbx = sx.q(eax) 0x1433 170 rbp = rbx * 0x190 0x143a 171 rbp = rbp + [rsp + 0x20 {var_9c98}].q 0x143f 172 goto 196 @ 0x1440 0x13d0 173 eax = [rsp + 4 {var_9cb4}].d 0x13d4 174 eax = eax + ebp 0x13d6 175 rax = sx.q(eax) 0x13d8 176 rax = rax * 0x190 0x13df 177 rax = rax + rsp 0x13e2 178 rax = rax + 0x40 0x13e6 179 esi = [rax + (r14 << 2) - 4].d 0x13eb 180 r14 = r14 - 1 0x13ef 181 rdi = r15 0x13f2 182 eax = 0 0x13f4 183 call(0x1030) 0x13f9 184 r13d = r13d + 1 0x1400 185 if (r14 s> r12) then 173 @ 0x13d0 else 157 @ 0x1402 0x1234 186 r12 = [rsp + 0x30 {var_9c88_1}].q 0x1239 187 [rsp + 0x28 {var_9c90}].q = [rsp + 0x28 {var_9c90}].q + 1 0x123f 188 [rsp + 0x10 {var_9ca8}].d = [rsp + 0x10 {var_9ca8}].d - 1 0x1244 189 r14 = r14 + 0x194 0x124b 190 [rsp + 0x14 {var_9ca4}].d = [rsp + 0x14 {var_9ca4}].d + 1 0x1250 191 esi = esi - 1 0x1253 192 [rsp + 0xc {var_9cac}].d = esi 0x1257 193 rbp = rbp + 0x190 0x125e 194 [rsp + 0x20 {var_9c98}].q = [rsp + 0x20 {var_9c98}].q + 4 0x1267 195 if (r13d == edx) then 43 @ 0x147c else 29 @ 0x126d 0x1440 196 esi = [rbp].d 0x1443 197 rdi = r15 0x1446 198 eax = 0 0x1448 199 call(0x1030) 0x144d 200 r13d = r13d + 1 0x1451 201 rbx = rbx - 1 0x1455 202 rbp = rbp - 0x190 0x145f 203 if (rbx s> r12) then 196 @ 0x1440 else 204 @ 0x1461 0x1461 204 eax = [rsp + 4 {var_9cb4}].d 0x1465 205 ecx = [rsp + 8 {var_9cb0}].d 0x1469 206 edx = ecx 0x146b 207 edx = edx * eax 0x146e 208 esi = [rsp + 0xc {var_9cac}].d 0x1472 209 rbp = [rsp + 0x18 {var_9ca0_1}].q 0x1477 210 goto 186 @ 0x1234 int64_t _fini(): 0x1494 0 rsp = rsp - 8 0x1498 1 rsp = rsp + 8 0x149c 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 char* strcpy(char* arg1, char const* arg2): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 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(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 = 0x2006 {"%d"} 0x1175 8 r13d = 0 0x1178 9 rsi = rsp + 0xc {var_4c} 0x117d 10 eax = 0 0x117f 11 call(0x1040) 0x1184 12 eax = [rsp + 0xc {var_4c}].d 0x118a 13 if (eax s<= 0) then 14 @ 0x11c5 else 15 @ 0x118c 0x11c5 14 if (eax s<= 0) then 19 @ 0x1219 else 20 @ 0x11c7 0x118c 15 rbx = 0x4050 {""} 0x1193 16 r14 = 0x2004 {"%s%d"} 0x119a 17 ebp = 0 0x119c 18 goto 25 @ 0x11a0 0x1219 19 if (r13d s< 2) then 34 @ 0x12b4 else 35 @ 0x121f 0x11c7 20 ebp = eax 0x11c9 21 r13d = 0 0x11cc 22 rbx = 0x4050 {""} 0x11d3 23 r14 = 0x49b0 {""} 0x11da 24 goto 40 @ 0x11ea 0x11a0 25 rdx = rbx + 0xc 0x11a4 26 rdi = r14 0x11a7 27 rsi = rbx 0x11aa 28 eax = 0 0x11ac 29 call(0x1040) 0x11b1 30 rbp = rbp + 1 0x11b5 31 rax = sx.q([rsp + 0xc {var_4c}].d) 0x11ba 32 rbx = rbx + 0x10 0x11c1 33 if (rbp s< rax) then 25 @ 0x11a0 else 14 @ 0x11c5 0x12b4 34 if (r13d s<= 0) then 42 @ 0x12d7 else 43 @ 0x12b6 0x121f 35 r12d = (r13 - 1).d 0x1223 36 ebp = 1 0x1228 37 r14 = rsp + 0x1e {var_3a} 0x122d 38 [rsp + 0x10 {var_48_1}].q = r13 0x1232 39 goto 46 @ 0x1251 0x11ea 40 r15d = [rbx + 0xc].d 0x11f2 41 if (r15d s< 0x3c) then 48 @ 0x11e0 else 52 @ 0x11f4 0x12d7 42 if ([rsp + 0xc {var_4c}].d s<= 0) then 61 @ 0x1312 else 69 @ 0x12d9 0x12b6 43 ebp = r13d 0x12b9 44 rbx = 0x49b0 {""} 0x12b9 45 goto 72 @ 0x12c0 0x1251 46 r12d = r12d 0x1257 47 if (r13d s<= ebp) then 78 @ 0x1240 else 82 @ 0x1259 0x11e0 48 rbx = rbx + 0x10 0x11e4 49 temp0.q = rbp 0x11e4 50 rbp = rbp - 1 0x11e8 51 if (temp0.q == 1) then 19 @ 0x1219 else 40 @ 0x11ea 0x11f4 52 r13 = sx.q(r13d) 0x11f7 53 r12 = r13 0x11fa 54 r12 = r12 << 4 0x11fe 55 rdi = r14 + r12 0x1202 56 rsi = rbx 0x1205 57 call(0x1030) 0x120a 58 [r12 + r14 + 0xc].d = r15d 0x120f 59 r13d = r13d + 1 0x1213 60 goto 48 @ 0x11e0 0x1312 61 rsp = rsp + 0x28 0x1316 62 rbx = pop 0x1317 63 r12 = pop 0x1319 64 r13 = pop 0x131b 65 r14 = pop 0x131d 66 r15 = pop 0x131f 67 rbp = pop 0x1320 68 <return> jump(pop) 0x12d9 69 rbx = 0x4050 {""} 0x12e0 70 ebp = 0 0x12e2 71 goto 85 @ 0x1306 0x12c0 72 rdi = rbx 0x12c3 73 call(0x1050) 0x12c8 74 rbx = rbx + 0x10 0x12cc 75 temp1.q = rbp 0x12cc 76 rbp = rbp - 1 0x12d0 77 if (temp1.q != 1) then 72 @ 0x12c0 else 42 @ 0x12d7 0x1240 78 ebp = ebp + 1 0x1243 79 r12d = r12d - 1 0x1247 80 r13 = [rsp + 0x10 {var_48_1}].q 0x124f 81 if (ebp == r13d) then 34 @ 0x12b4 else 46 @ 0x1251 0x1259 82 r13 = r12 0x125c 83 rbx = 0x49c0 {""} 0x1263 84 goto 86 @ 0x127a 0x1306 85 if ([rbx + 0xc].d s> 0x3b) then 89 @ 0x12f0 else 93 @ 0x1308 0x127a 86 eax = [rbx - 4].d 0x127d 87 ecx = [rbx + 0xc].d 0x1282 88 if (eax s>= ecx) then 96 @ 0x1270 else 100 @ 0x1284 0x12f0 89 rbp = rbp + 1 0x12f4 90 rax = sx.q([rsp + 0xc {var_4c}].d) 0x12f9 91 rbx = rbx + 0x10 0x1300 92 if (rbp s>= rax) then 61 @ 0x1312 else 85 @ 0x1306 0x1308 93 rdi = rbx 0x130b 94 call(0x1050) 0x1310 95 goto 89 @ 0x12f0 0x1270 96 rbx = rbx + 0x10 0x1274 97 temp2.q = r13 0x1274 98 r13 = r13 - 1 0x1278 99 if (temp2.q == 1) then 78 @ 0x1240 else 86 @ 0x127a 0x1284 100 [rbx + 0xc].d = eax 0x1287 101 [rbx - 4].d = ecx 0x128a 102 rdi = r14 {var_3a} 0x128d 103 rsi = rbx 0x1290 104 call(0x1030) 0x1295 105 r15 = rbx - 0x10 0x1299 106 rdi = rbx 0x129c 107 rsi = r15 0x129f 108 call(0x1030) 0x12a4 109 rdi = r15 0x12a7 110 rsi = r14 {var_3a} 0x12aa 111 call(0x1030) 0x12af 112 goto 96 @ 0x1270 int64_t _fini(): 0x1328 0 rsp = rsp - 8 0x132c 1 rsp = rsp + 8 0x1330 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 {"SHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0x10 0x1155 2 rdi = 0x2004 {"%d%d%d"} 0x115c 3 ebx = 0 0x115e 4 rsi = rsp + 0xc {var_c} 0x1163 5 rdx = rsp + 8 {var_10} 0x1168 6 rcx = rsp + 4 {var_14} 0x116d 7 eax = 0 0x116f 8 call(0x1040) 0x1174 9 eax = [rsp + 8 {var_10}].d 0x1178 10 cond:0 = eax == 2 0x117b 11 if (eax s< 2) then 12 @ 0x121b else 20 @ 0x1181 0x121b 12 ebx = ebx + [rsp + 4 {var_14}].d 0x121f 13 rdi = 0x2008 {"%d"} 0x1226 14 esi = ebx 0x1228 15 eax = 0 0x122a 16 call(0x1030) 0x122f 17 rsp = rsp + 0x10 0x1233 18 rbx = pop 0x1234 19 <return> jump(pop) 0x1181 20 ebx = 0x1f {""} 0x1186 21 if (cond:0) then 12 @ 0x121b else 22 @ 0x118c 0x118c 22 ecx = [rsp + 0xc {var_c}].d 0x1193 23 dl = (cl & 3) != 0 0x1196 24 ecx = ecx * -0x3d70a3d7 0x119c 25 ecx = ecx + 0x51eb850 0x11a2 26 esi = ecx 0x11a4 27 esi = ror.d(esi, 2) 0x11a7 28 flag:c = esi u< 0x28f5c29 0x11ad 29 bl = flag:c 0x11b0 30 bl = bl | dl 0x11b2 31 ecx = ror.d(ecx, 4) 0x11b5 32 edx = zx.d(bl) 0x11b8 33 esi = 0x3c {""} 0x11bd 34 ebx = 0x3c {""} 0x11c2 35 ebx = ebx - edx 0x11ca 36 if (ecx u< 0xa3d70b) then 37 else 39 @ 0x11d0 0x11ca 37 ebx = esi 0x11ca 38 goto 39 @ 0x11d0 0x11d0 39 if (eax == 3) then 12 @ 0x121b else 40 @ 0x11d2 0x11d2 40 ecx = 3 0x11d7 41 goto 42 @ 0x11e0 0x11e0 42 edx = ecx 0x11e2 43 edx = edx & 0x7ffffffd 0x11e8 44 esi = ecx 0x11ea 45 esi = esi & 0x7ffffff9 0x11f0 46 edi = (rbx + 0x1f).d 0x11f6 47 if (ecx == 0xc) then 48 else 50 @ 0x11fc 0x11f6 48 ebx = edi 0x11f6 49 goto 50 @ 0x11fc 0x11fc 50 if (esi == 1) then 51 else 53 @ 0x1202 0x11fc 51 ebx = edi 0x11fc 52 goto 53 @ 0x1202 0x1202 53 if (edx == 8) then 54 else 56 @ 0x1205 0x1202 54 ebx = edi 0x1202 55 goto 56 @ 0x1205 0x1205 56 esi = (rbx + 0x1e).d 0x120b 57 if (edx == 4) then 58 else 60 @ 0x1211 0x120b 58 ebx = esi 0x120b 59 goto 60 @ 0x1211 0x1211 60 if (edx == 9) then 61 else 63 @ 0x1214 0x1211 61 ebx = esi 0x1211 62 goto 63 @ 0x1214 0x1214 63 ecx = ecx + 1 0x1219 64 if (eax != ecx) then 42 @ 0x11e0 else 12 @ 0x121b int64_t _fini(): 0x123c 0 rsp = rsp - 8 0x1240 1 rsp = rsp + 8 0x1244 2 <return> jump(pop)
POJ_11
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAVSH@"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r14) 0x1153 2 push(rbx) 0x1154 3 rsp = rsp - 0x340 0x115b 4 rdi = 0x2030 {"%lf"} 0x1162 5 rsi = rsp {var_358} 0x1165 6 eax = 0 0x1167 7 call(0x1040) 0x116c 8 xmm1 = zx.o([rsp {var_358}].q) 0x1171 9 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1175 10 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x1175 11 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1175 12 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x1175 13 flag:s = 0 0x1175 14 flag:o = 0 0x1175 15 flag:a = 0 0x1179 16 if (flag:z || flag:c) then 17 @ 0x11b6 else 28 @ 0x117b 0x11b6 17 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x11ba 18 flag:p = is_unordered.q(xmm1.q, xmm3.q) 0x11ba 19 flag:c = xmm1.q f< xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x11ba 20 flag:z = xmm1.q f== xmm3.q | is_unordered.q(xmm1.q, xmm3.q) 0x11ba 21 flag:s = 0 0x11ba 22 flag:o = 0 0x11ba 23 flag:a = 0 0x11be 24 xmm4 = _mm_xor_pd(xmm4, xmm4) 0x11c2 25 xmm5 = _mm_xor_pd(xmm5, xmm5) 0x11c6 26 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11ca 27 if (flag:z || flag:c) then 32 @ 0x1279 else 64 @ 0x11d0 0x117b 28 rbx = rsp + 0x20 {var_338} 0x1180 29 ebp = 1 0x1185 30 r14 = 0x2030 {"%lf"} 0x118c 31 goto 74 @ 0x1190 0x1279 32 xmm0.q = xmm0.q f/ xmm1.q 0x127d 33 xmm2 = zx.o([0x2028].q) 0x1285 34 xmm0.q = xmm0.q f* xmm2.q 0x1289 35 xmm5.q = xmm5.q f/ xmm1.q 0x128d 36 xmm5.q = xmm5.q f* xmm2.q 0x1291 37 [rsp + 8 {var_350}].q = xmm5.q 0x1297 38 xmm4.q = xmm4.q f/ xmm1.q 0x129b 39 xmm4.q = xmm4.q f* xmm2.q 0x129f 40 [rsp + 0x10 {var_348}].q = xmm4.q 0x12a5 41 xmm3.q = xmm3.q f/ xmm1.q 0x12a9 42 xmm3.q = xmm3.q f* xmm2.q 0x12ad 43 [rsp + 0x18 {var_340}].q = xmm3.q 0x12b3 44 rdi = 0x2034 {"1-18: %.2lf%%\n"} 0x12ba 45 al = 1 0x12bc 46 call(0x1030) 0x12c1 47 rdi = 0x2043 {"19-35: %.2lf%%\n"} 0x12c8 48 xmm0 = zx.o([rsp + 8 {var_350}].q) 0x12ce 49 al = 1 0x12d0 50 call(0x1030) 0x12d5 51 rdi = 0x2053 {"36-60: %.2lf%%\n"} 0x12dc 52 xmm0 = zx.o([rsp + 0x10 {var_348}].q) 0x12e2 53 al = 1 0x12e4 54 call(0x1030) 0x12e9 55 rdi = 0x2063 {"60??: %.2lf%%\n"} 0x12f0 56 xmm0 = zx.o([rsp + 0x18 {var_340}].q) 0x12f6 57 al = 1 0x12f8 58 call(0x1030) 0x12fd 59 rsp = rsp + 0x340 0x1304 60 rbx = pop 0x1305 61 r14 = pop 0x1307 62 rbp = pop 0x1308 63 <return> jump(pop) 0x11d0 64 eax = 0 0x11d2 65 xmm0 = zx.o([0x2008].q) 0x11da 66 xmm2 = zx.o([0x2010].q) 0x11e2 67 xmm3 = zx.o([0x2018].q) 0x11ea 68 xmm4 = zx.o([0x2020].q) 0x11f2 69 ecx = 0 0x11f4 70 edx = 0 0x11f6 71 esi = 0 0x11f8 72 edi = 0 0x11fa 73 goto 90 @ 0x1200 0x1190 74 rdi = r14 0x1193 75 rsi = rbx 0x1196 76 eax = 0 0x1198 77 call(0x1040) 0x119d 78 xmm0 = 0 0x11a0 79 xmm0.q = float.d(ebp) 0x11a4 80 xmm1 = zx.o([rsp {var_358}].q) 0x11a9 81 rbx = rbx + 8 0x11ad 82 ebp = ebp + 1 0x11b0 83 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x11b0 84 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x11b0 85 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x11b0 86 flag:s = 0 0x11b0 87 flag:o = 0 0x11b0 88 flag:a = 0 0x11b4 89 if (not(flag:z) && not(flag:c)) then 74 @ 0x1190 else 17 @ 0x11b6 0x1200 90 xmm5 = zx.o([rsp + (rax << 3) + 0x20].q) 0x1206 91 ebp = 0 0x1208 92 flag:p = is_unordered.q(xmm0.q, xmm5.q) 0x1208 93 flag:c = xmm0.q f< xmm5.q | is_unordered.q(xmm0.q, xmm5.q) 0x1208 94 flag:z = xmm0.q f== xmm5.q | is_unordered.q(xmm0.q, xmm5.q) 0x1208 95 flag:s = 0 0x1208 96 flag:o = 0 0x1208 97 flag:a = 0 0x120c 98 bpl = not(flag:z) && not(flag:c) 0x1210 99 ecx = ecx + ebp 0x1212 100 flag:p = is_unordered.q(xmm5.q, xmm0.q) 0x1212 101 flag:c = xmm5.q f< xmm0.q | is_unordered.q(xmm5.q, xmm0.q) 0x1212 102 flag:z = xmm5.q f== xmm0.q | is_unordered.q(xmm5.q, xmm0.q) 0x1212 103 flag:s = 0 0x1212 104 flag:o = 0 0x1212 105 flag:a = 0 0x1216 106 r8b = not(flag:c) 0x121a 107 flag:p = is_unordered.q(xmm2.q, xmm5.q) 0x121a 108 flag:c = xmm2.q f< xmm5.q | is_unordered.q(xmm2.q, xmm5.q) 0x121a 109 flag:z = xmm2.q f== xmm5.q | is_unordered.q(xmm2.q, xmm5.q) 0x121a 110 flag:s = 0 0x121a 111 flag:o = 0 0x121a 112 flag:a = 0 0x121e 113 bl = not(flag:c) 0x1221 114 bl = bl & r8b 0x1224 115 ebp = zx.d(bl) 0x1227 116 edx = edx + ebp 0x1229 117 flag:p = is_unordered.q(xmm5.q, xmm3.q) 0x1229 118 flag:c = xmm5.q f< xmm3.q | is_unordered.q(xmm5.q, xmm3.q) 0x1229 119 flag:z = xmm5.q f== xmm3.q | is_unordered.q(xmm5.q, xmm3.q) 0x1229 120 flag:s = 0 0x1229 121 flag:o = 0 0x1229 122 flag:a = 0 0x122d 123 r8b = not(flag:c) 0x1231 124 flag:p = is_unordered.q(xmm4.q, xmm5.q) 0x1231 125 flag:c = xmm4.q f< xmm5.q | is_unordered.q(xmm4.q, xmm5.q) 0x1231 126 flag:z = xmm4.q f== xmm5.q | is_unordered.q(xmm4.q, xmm5.q) 0x1231 127 flag:s = 0 0x1231 128 flag:o = 0 0x1231 129 flag:a = 0 0x1235 130 bl = not(flag:c) 0x1238 131 bl = bl & r8b 0x123b 132 ebp = zx.d(bl) 0x123e 133 esi = esi + ebp 0x1240 134 ebp = 0 0x1242 135 flag:p = is_unordered.q(xmm5.q, xmm4.q) 0x1242 136 flag:c = xmm5.q f< xmm4.q | is_unordered.q(xmm5.q, xmm4.q) 0x1242 137 flag:z = xmm5.q f== xmm4.q | is_unordered.q(xmm5.q, xmm4.q) 0x1242 138 flag:s = 0 0x1242 139 flag:o = 0 0x1242 140 flag:a = 0 0x1246 141 bpl = not(flag:z) && not(flag:c) 0x124a 142 edi = edi + ebp 0x124c 143 rax = rax + 1 0x1250 144 xmm5 = 0 0x1253 145 xmm5.q = float.d(eax) 0x1257 146 flag:p = is_unordered.q(xmm1.q, xmm5.q) 0x1257 147 flag:c = xmm1.q f< xmm5.q | is_unordered.q(xmm1.q, xmm5.q) 0x1257 148 flag:z = xmm1.q f== xmm5.q | is_unordered.q(xmm1.q, xmm5.q) 0x1257 149 flag:s = 0 0x1257 150 flag:o = 0 0x1257 151 flag:a = 0 0x125b 152 if (not(flag:z) && not(flag:c)) then 90 @ 0x1200 else 153 @ 0x125d 0x125d 153 xmm0 = 0 0x1260 154 xmm0.q = float.d(ecx) 0x1264 155 xmm5 = 0 0x1267 156 xmm5.q = float.d(edx) 0x126b 157 xmm4 = 0 0x126e 158 xmm4.q = float.d(esi) 0x1272 159 xmm3 = 0 0x1275 160 xmm3.q = float.d(edi) 0x1275 161 goto 32 @ 0x1279 int64_t _fini(): 0x1310 0 rsp = rsp - 8 0x1314 1 rsp = rsp + 8 0x1318 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 {"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 - 0x4b0 0x116c 4 rbx = rsp {var_4c8} 0x116f 5 r14 = 0x2004 {"%d"} 0x1176 6 r15d = 0 0x1179 7 goto 8 @ 0x1180 0x1180 8 rdi = r14 0x1183 9 rsi = rbx 0x1186 10 eax = 0 0x1188 11 call(0x1050) 0x118d 12 eax = 0 0x118f 13 call(0x1040) 0x1196 14 if (al == 0xa) then 15 @ 0x11b2 else 16 @ 0x1198 0x11b2 15 if (r15d == 0) then 19 @ 0x11e0 else 23 @ 0x11b4 0x1198 16 r15 = r15 + 1 0x119c 17 rbx = rbx + 4 0x11a7 18 if (r15 != 0x12c) then 8 @ 0x1180 else 27 @ 0x11a9 0x11e0 19 rdi = 0x2007 {"No"} 0x11e7 20 eax = 0 0x11e9 21 call(0x1030) 0x11e9 22 goto 29 @ 0x11ee 0x11b4 23 eax = r15d 0x11b7 24 edx = 0 0x11b9 25 ecx = 0 0x11bb 26 goto 35 @ 0x11c0 0x11a9 27 r15d = 0x12c {""} 0x11a9 28 goto 15 @ 0x11b2 0x11ee 29 eax = 0 0x11f0 30 rsp = rsp + 0x4b0 0x11f7 31 rbx = pop 0x11f8 32 r14 = pop 0x11fa 33 r15 = pop 0x11fc 34 <return> jump(pop) 0x11c0 35 esi = [rsp + (rdx << 2)].d 0x11c3 36 edi = 0 0x11c5 37 cond:0 = esi == [rsp + (rdx << 2) + 4].d 0x11c9 38 rsi = rdx + 1 0x11cd 39 dil = cond:0 0x11d1 40 ecx = ecx + edi 0x11d3 41 rdx = rsi 0x11d9 42 if (rax != rsi) then 35 @ 0x11c0 else 43 @ 0x11de 0x11de 43 if (ecx != r15d) then 44 @ 0x11fd else 19 @ 0x11e0 0x11fd 44 cond:1 = r15d u>= 2 0x1201 45 ecx = 1 0x1206 46 r8d = 1 0x120c 47 if (cond:1) then 48 else 50 @ 0x1210 0x120c 48 r8d = r15d 0x120c 49 goto 50 @ 0x1210 0x1210 50 edx = r15d 0x1213 51 goto 52 @ 0x122d 0x122d 52 edx = edx 0x1232 53 if (r15d s< ecx) then 54 @ 0x1220 else 59 @ 0x1234 0x1220 54 eax = (rcx + 1).d 0x1223 55 edx = edx - 1 0x1226 56 cond:2 = ecx == r8d 0x1229 57 ecx = eax 0x122b 58 if (cond:2) then 61 @ 0x1260 else 52 @ 0x122d 0x1234 59 esi = 0 0x1236 60 goto 64 @ 0x1248 0x1260 61 r15d = r15d + 1 0x1264 62 eax = 0 0x1266 63 goto 68 @ 0x1273 0x1248 64 ebx = [rsp + (rsi << 2)].d 0x124b 65 eax = [rsp + (rsi << 2) + 4].d 0x124f 66 rdi = rsi + 1 0x1255 67 if (ebx s>= eax) then 69 @ 0x1240 else 71 @ 0x1257 0x1273 68 if (r15 == rax) then 19 @ 0x11e0 else 74 @ 0x1279 0x1240 69 rsi = rdi 0x1246 70 if (rdx == rdi) then 54 @ 0x1220 else 64 @ 0x1248 0x1257 71 [rsp + (rsi << 2)].d = eax 0x125a 72 [rsp + (rsi << 2) + 4].d = ebx 0x125e 73 goto 69 @ 0x1240 0x1279 74 esi = [rsp + (rax << 2) + 4].d 0x127d 75 rcx = rax + 1 0x1281 76 cond:3 = [rsp + (rax << 2)].d s<= esi 0x1284 77 rax = rcx 0x1287 78 if (cond:3) then 68 @ 0x1273 else 79 @ 0x1289 0x1289 79 rdi = 0x2004 {"%d"} 0x1290 80 eax = 0 0x1292 81 call(0x1030) 0x1297 82 goto 29 @ 0x11ee int64_t _fini(): 0x12a0 0 rsp = rsp - 8 0x12a4 1 rsp = rsp + 8 0x12a8 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 char* gets(char* buf): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t putchar(int32_t c): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r14) 0x1152 1 push(rbx) 0x1153 2 rsp = rsp - 0x3e8 0x115a 3 ebx = 0 0x115c 4 rdi = rsp {var_3f8} 0x115f 5 eax = 0 0x1161 6 call(0x1030) 0x1166 7 goto 8 @ 0x1170 0x1170 8 edi = sx.d([rsp + rbx].b) 0x1177 9 if (edi == 0x20) then 10 @ 0x1190 else 14 @ 0x117c 0x1190 10 r14 = rbx + 1 0x1194 11 cond:0 = [rsp + rbx + 1].b == 0x20 0x1199 12 rbx = r14 0x119c 13 if (cond:0) then 8 @ 0x1170 else 15 @ 0x119e 0x117c 14 if (dil == 0) then 19 @ 0x11ad else 24 @ 0x117e 0x119e 15 edi = 0x20 {"@"} 0x11a3 16 call(0x1040) 0x11a8 17 rbx = r14 0x11ab 18 goto 8 @ 0x1170 0x11ad 19 eax = 0 0x11af 20 rsp = rsp + 0x3e8 0x11b6 21 rbx = pop 0x11b7 22 r14 = pop 0x11b9 23 <return> jump(pop) 0x117e 24 call(0x1040) 0x1183 25 rbx = rbx + 1 0x1187 26 goto 8 @ 0x1170 int64_t _fini(): 0x11c0 0 rsp = rsp - 8 0x11c4 1 rsp = rsp + 8 0x11c8 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 {"UAVSHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r14) 0x1153 2 push(rbx) 0x1154 3 rsp = rsp - 0x10 0x1158 4 rdi = 0x2004 {"%d"} 0x115f 5 rsi = rsp + 0xc {var_1c} 0x1164 6 eax = 0 0x1166 7 call(0x1040) 0x116b 8 r8 = sx.q([rsp + 0xc {var_1c}].d) 0x1170 9 rax = r8 * 0x68db8bad 0x1177 10 rcx = rax 0x117a 11 rcx = rcx u>> 0x3f 0x117e 12 rax = rax s>> 0x2c 0x1182 13 eax = eax + ecx 0x1184 14 esi = eax * -0x2710 0x118a 15 esi = esi + r8d 0x118d 16 rcx = sx.q(esi) 0x1190 17 rcx = rcx * 0x10624dd3 0x1197 18 rdx = rcx 0x119a 19 rdx = rdx u>> 0x3f 0x119e 20 rcx = rcx s>> 0x26 0x11a2 21 ecx = ecx + edx 0x11a4 22 r10d = ecx * -0x3e8 0x11ab 23 r10d = r10d + esi 0x11ae 24 r9 = sx.q(r10d) 0x11b1 25 rdi = r9 * 0x51eb851f 0x11b8 26 rdx = rdi 0x11bb 27 rdx = rdx u>> 0x3f 0x11bf 28 rdi = rdi s>> 0x25 0x11c3 29 edi = edi + edx 0x11c5 30 r14d = edi * 0x64 0x11c9 31 r9d = r9d - r14d 0x11cc 32 r11 = sx.q(r9d) 0x11cf 33 rbx = r11 * 0x66666667 0x11d6 34 rdx = rbx 0x11d9 35 rdx = rdx u>> 0x3f 0x11dd 36 rbx = rbx s>> 0x22 0x11e1 37 ebx = ebx + edx 0x11e3 38 edx = (rbx + rbx).d 0x11e6 39 ebp = (rdx + (rdx << 2)).d 0x11e9 40 r11d = r11d - ebp 0x11ec 41 edx = (r8 + 0x270f).d 0x11f9 42 if (edx u>= 0x4e1f) then 43 @ 0x1229 else 51 @ 0x11fb 0x1229 43 edx = r11d * 0x2710 0x1230 44 esi = ebx * 0x3e8 0x1236 45 ecx = (rcx + (rcx << 2)).d 0x1239 46 eax = (rax + (rcx << 1)).d 0x123c 47 eax = eax + r14d 0x123f 48 eax = eax + esi 0x1241 49 eax = eax + edx 0x1241 50 goto 53 @ 0x1243 0x11fb 51 esi = esi + 0x3e7 0x1207 52 if (esi u>= 0x7cf) then 55 @ 0x1249 else 63 @ 0x1209 0x1243 53 [rsp + 0xc {var_1c}].d = eax 0x1247 54 goto 65 @ 0x126f 0x1249 55 eax = r11d * 0x3e8 0x1250 56 edx = ebx * 0x64 0x1253 57 esi = (rdi + (rdi << 2)).d 0x1256 58 ecx = (rcx + (rsi << 1)).d 0x1259 59 ecx = ecx + edx 0x125b 60 ecx = ecx + eax 0x125d 61 [rsp + 0xc {var_1c}].d = ecx 0x1261 62 goto 65 @ 0x126f 0x1209 63 r10d = r10d + 0x63 0x1214 64 if (r10d u>= 0xc7) then 74 @ 0x1263 else 79 @ 0x1216 0x126f 65 esi = [rsp + 0xc {var_1c}].d 0x1273 66 rdi = 0x2004 {"%d"} 0x127a 67 eax = 0 0x127c 68 call(0x1030) 0x1281 69 rsp = rsp + 0x10 0x1285 70 rbx = pop 0x1286 71 r14 = pop 0x1288 72 rbp = pop 0x1289 73 <return> jump(pop) 0x1263 74 eax = r11d * 0x64 0x1267 75 ebp = ebp + edi 0x1269 76 ebp = ebp + eax 0x126b 77 [rsp + 0xc {var_1c}].d = ebp 0x126b 78 goto 65 @ 0x126f 0x1216 79 r9d = r9d + 9 0x121e 80 if (r9d u< 0x13) then 65 @ 0x126f else 81 @ 0x1220 0x1220 81 eax = (r11 + (r11 << 2)).d 0x1224 82 eax = (rbx + (rax << 1)).d 0x1227 83 goto 53 @ 0x1243 int64_t _fini(): 0x1290 0 rsp = rsp - 8 0x1294 1 rsp = rsp + 8 0x1298 2 <return> jump(pop)
POJ_56