1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510
| #include <stdio.h>
typedef struct { int a; int b; char key[256]; }ctx;
__int64_t crypt_ctx_init(ctx *context, char *inKey) { __int64_t v2; __int64_t result; unsigned char v4; char v5;
context->b = 0; context->a = 0; v2 = 0LL; do { context->key[v2] = v2; ++v2; } while ( v2 != 256 ); result = 0LL; v4 = 0; do { v5 = context->key[result]; v4 += inKey[result & 0x1F] + context->key[result]; context->key[result++] = context->key[v4]; context->key[v4] = v5; } while ( result != 256 ); return result; }
void * decrypt(ctx *context, char *buf, __int64_t cbBuf) { char *v3; int v4; __int64_t v5; char v6; __int64_t v7; __int64_t result;
v3 = &buf[cbBuf]; if ( cbBuf ) { do { v4 = context->b; v5 = (unsigned char)(context->a + 1); context->a = v5; v6 = context->key[v5]; v7 = (unsigned char)(v6 + v4); context->b = v7; context->key[v5] = context->key[v7]; context->key[v7] = v6; result = (unsigned char)context->key[(unsigned char)(context->key[v5] + v6)]; *buf ^= result; ++buf; } while ( v3 != buf ); } return result; } char peer1_2[] = { 0x50, 0xbd }; char peer0_3[] = { 0x95, 0x3b, 0x7a, 0xff, 0xd9, 0x18, 0x32, 0x3a, 0x33, 0x28, 0x32, 0xe1, 0x12, 0xbe, 0xec, 0xa9, 0x46, 0x30, 0x7d, 0x33, 0x54, 0xd5, 0x3c, 0xbd, 0xc4, 0xc1, 0xcc, 0x80, 0x35, 0x3a, 0x25, 0x3d, 0x88, 0xbf, 0x14, 0x69, 0xb7, 0xd1, 0xf3, 0x0d, 0x17, 0x96, 0x4c, 0xb5, 0x19, 0x5f, 0x4c, 0x7e, 0x15, 0xe1, 0x21, 0x5b, 0x5e, 0x24 }; char peer1_3[] = { 0x10, 0xb6, 0xf8 }; char peer0_4[] = { 0x48, 0xc8, 0x0c, 0x81, 0x3a, 0xce, 0x27, 0x92, 0xd4, 0xbd, 0x18, 0x75, 0x1b, 0xbb, 0xfc, 0x49, 0x15 }; char peer1_4[] = { 0x3c, 0x18, 0x14, 0xac, 0x38, 0xa9 }; char peer0_5[] = { 0x1d, 0x3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7c, 0x33 }; char peer1_9[] = { 0x66, 0xa0, 0xc4, 0xe8, 0x17, 0xd6, 0xb9, 0x88, 0x5f, 0xcd, 0x50, 0x8e, 0x86, 0x05, 0x9a, 0x2b, 0xce }; char peer0_10[] = { 0x35, 0x17, 0xb5, 0xe0, 0x9d, 0xce, 0xfc, 0x4a, 0xd5, 0x0b, 0x99, 0xef, 0x64, 0x41, 0x51, 0x03, 0xbd, 0xf6, 0xc3, 0x09, 0xb7, 0x10, 0x11, 0xb0, 0x07, 0x76, 0x32, 0x03, 0xdf, 0x4c, 0x03, 0x23, 0xb7, 0x83, 0xb9, 0x98, 0x79, 0xa4, 0x7d, 0x3e, 0x5a, 0x09, 0x4b, 0x55, 0xb6, 0xd4, 0x89, 0x60, 0x28, 0x49, 0xff, 0x00, 0xf8, 0xf6, 0xa6, 0xcc, 0xbb, 0x96, 0xc0, 0x71, 0x49, 0xb5, 0x5d, 0xed, 0x57, 0x8b, 0x07, 0x69, 0x2a, 0xd1, 0x3b, 0x2e, 0xa2, 0x62, 0x93, 0x98, 0x1e, 0x70, 0xe0, 0x55, 0xe6, 0x92, 0x61, 0x7f, 0x78, 0x0b, 0x4d, 0x84, 0xc6, 0xc2, 0x2a, 0x23, 0x4a, 0x39, 0x88, 0x2b, 0xf8, 0x13, 0x76, 0x86, 0x64, 0x80, 0x47, 0x33, 0x76, 0x9c, 0x00, 0xd9, 0x98, 0x0d, 0x92, 0x19, 0x93, 0x15, 0x0b, 0x80, 0xad, 0x15, 0x2e, 0x6c, 0x2d, 0x1b, 0xd0, 0xf8, 0x15, 0x2f, 0x6b, 0xbc, 0xd2, 0x99, 0x4b, 0xac, 0xe2, 0x6e, 0x32, 0xd8, 0x68, 0x95, 0x03, 0x1b, 0xf5, 0xf1, 0xc4, 0xeb, 0x18, 0xc3 }; char peer1_10[] = { 0x5b, 0x7c, 0xae, 0x1a, 0x19, 0x88, 0x75, 0x7e, 0xab, 0x08, 0x6f, 0x1e, 0xaa, 0x04, 0x0e, 0x0d, 0xff, 0x7c, 0x0e, 0xef, 0xd0, 0x79, 0x8e }; char peer0_11[] = { 0x38, 0x22, 0xd8, 0x99, 0xe8, 0x7b, 0x5e, 0x3a, 0x34, 0x88, 0xc8, 0x14, 0x7d, 0xc0, 0xac, 0x7c, 0xdb, 0x6f, 0x66, 0x69, 0xd1, 0x3e, 0x48, 0x69, 0x68, 0x62, 0x19, 0xb0, 0x62, 0xe7, 0x54, 0x93, 0x1f, 0xa5, 0xaf, 0x19, 0x64, 0x73, 0x26, 0xe2, 0xc1, 0x03, 0x55, 0xbb, 0x43, 0x97, 0xb6 }; #define DEC(x) decrypt(&context,x,sizeof(x));puts(x); int main(int argc,char **argv) { char key[0x20] = {0xb0, 0xf8, 0x70, 0xfb, 0x75, 0x87, 0xc0, 0x48, 0x2b, 0xb7, 0xf7, 0xc1, 0xf7, 0x39, 0x1f, 0x9e, 0x66, 0xde, 0x2c, 0xd9, 0x25, 0x58, 0xca, 0x1f, 0x87, 0xf2, 0xdf, 0x23, 0x2f, 0xed, 0xc7, 0xda }; ctx context; crypt_ctx_init(&context,key); DEC(peer1_2) DEC(peer0_3); DEC(peer1_3); DEC(peer0_4); DEC(peer1_4); DEC(peer0_5); DEC(peer1_5); DEC(peer0_6); DEC(peer1_6); DEC(peer0_7); DEC(peer1_7); DEC(peer0_8); DEC(peer1_8); DEC(peer0_9); DEC(peer1_9); DEC(peer0_10); DEC(peer1_10); DEC(peer0_11); return 0; }
|