-
Notifications
You must be signed in to change notification settings - Fork 1
/
out-.c
676 lines (676 loc) · 27.3 KB
/
out-.c
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
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
[QWORD* memory[0x21]] = memory[0x0];
[QWORD* memory[0x31]] = memory[0x8];
memory[0x1bb] = 0x0;
[unsigned int* memory[0x3d]] = 0x0;
memory[0x1bb] = 0xf21cbb;
L_0100: // from R_038b
memory[0x1bb] = [unsigned int* memory[0x3d]];
memory[0x1c0] = 0x10;
memory[0x1bf] = BYTE [unsigned int* memory[0x3d]] < 0x10;
memory[0x1c0] = 0x121e084;
memory[0x1c4] = 0x7df8df6;
memory[0x1bb] = memory[0x1bf] ? 0x7df8df6 : 0x121e084;
memory[0x1b3] = (unsigned int*) memory[0x1bb];
memory[0x1c0] = 0x1;
if (memory[0x1bf]) goto L_0395; // R_0158
memory[0x1bb] = [int* memory[0x21]];
memory[0x1c3] = [unsigned int* memory[0x3d]];
memory[0x1c7] = [unsigned int* memory[0x3d]];
memory[0x1cf] = (char)[int* memory[0x21]] + (long)[unsigned int* memory[0x3d]];
memory[0x1bb] = [BYTE* memory[0x1cf]];
memory[0x1bc] = [BYTE* memory[0x1cf]];
memory[0x1c0] = [unsigned int* memory[0x3d]];
memory[0x1db] = 0x3;
memory[0x1c4] = (int)[unsigned int* memory[0x3d]] + (int)0x3;
memory[0x1c0] = (int)[BYTE* memory[0x1cf]] ^ (int)memory[0x1c4];
memory[0x1bb] = [unsigned int* memory[0x3d]];
memory[0x1db] = 0x8;
memory[0x1c4] = (int)[unsigned int* memory[0x3d]] % (int)0x8;
memory[0x1bb] = (int)memory[0x1c0] >> (int)memory[0x1c4];
memory[0x1bf] = [int* memory[0x21]];
memory[0x1c7] = [unsigned int* memory[0x3d]];
memory[0x1cb] = [unsigned int* memory[0x3d]];
memory[0x1d3] = (char)[int* memory[0x21]] + (long)[unsigned int* memory[0x3d]];
memory[0x1bf] = [BYTE* memory[0x1d3]];
memory[0x1c0] = [BYTE* memory[0x1d3]];
memory[0x1c4] = [unsigned int* memory[0x3d]];
memory[0x1db] = 0x3;
memory[0x1c8] = (int)[unsigned int* memory[0x3d]] + (int)0x3;
memory[0x1c4] = (int)[BYTE* memory[0x1d3]] ^ (int)memory[0x1c8];
memory[0x1bf] = [unsigned int* memory[0x3d]];
memory[0x1db] = 0x8;
memory[0x1c8] = (int)[unsigned int* memory[0x3d]] % (int)0x8;
memory[0x1db] = 0x8;
memory[0x1bf] = (int)0x8 - (int)memory[0x1c8];
memory[0x1c8] = (int)memory[0x1c4] << (int)((int)0x8 - (int)memory[0x1c8]);
memory[0x1bf] = (int)memory[0x1bb] | (int)memory[0x1c8];
memory[0x1bb] = memory[0x1bf];
memory[0x1bc] = [int* memory[0x21]];
memory[0x1c4] = [unsigned int* memory[0x3d]];
memory[0x1c8] = [unsigned int* memory[0x3d]];
memory[0x1d0] = (char)[int* memory[0x21]] + (long)[unsigned int* memory[0x3d]];
[BYTE* memory[0x1d0]] = memory[0x1bf];
memory[0x1db] = 0x4197056;
memory[0x1b3] = (unsigned int*) 0x4197056;
memory[0x1db] = 0x1;
memory[0x1bb] = [unsigned int* memory[0x3d]];
memory[0x1c3] = 0x1;
memory[0x1bf] = (int)[unsigned int* memory[0x3d]] + (int)0x1;
[unsigned int* memory[0x3d]] = memory[0x1bf];
memory[0x1c3] = 0xf21cbb;
memory[0x1b3] = (unsigned int*) 0xf21cbb;
memory[0x1c3] = 0x1;
if (0x1) goto L_0100; // R_038b
L_0395: // from R_0158
memory[0x1bb] = [int* memory[0x21]];
memory[0x1cb] = 0x0;
memory[0x1c3] = (char)[int* memory[0x21]] + (long)0x0;
memory[0x1bb] = (unsigned int*)memory[0x1c3];
memory[0x1c3] = [unsigned int* ((unsigned int*)memory[0x1c3])];
[unsigned int* memory[0x49]] = memory[0x1c3];
memory[0x1bb] = [int* memory[0x21]];
memory[0x1cb] = 0x4;
memory[0x1c3] = (char)[int* memory[0x21]] + (long)0x4;
memory[0x1bb] = (unsigned int*)memory[0x1c3];
memory[0x1c3] = [unsigned int* ((unsigned int*)memory[0x1c3])];
[unsigned int* memory[0x55]] = memory[0x1c3];
memory[0x1bb] = [int* memory[0x21]];
memory[0x1cb] = 0x8;
memory[0x1c3] = (char)[int* memory[0x21]] + (long)0x8;
memory[0x1bb] = (unsigned int*)memory[0x1c3];
memory[0x1c3] = [unsigned int* ((unsigned int*)memory[0x1c3])];
[unsigned int* memory[0x61]] = memory[0x1c3];
memory[0x1bb] = [int* memory[0x21]];
memory[0x1cb] = 0xc;
memory[0x1c3] = (char)[int* memory[0x21]] + (long)0xc;
memory[0x1bb] = (unsigned int*)memory[0x1c3];
memory[0x1c3] = [unsigned int* ((unsigned int*)memory[0x1c3])];
[unsigned int* memory[0x6d]] = memory[0x1c3];
memory[0x1cb] = 0x0;
[unsigned int* memory[0x109]] = 0x0;
memory[0x1cb] = 0xaf81d4b;
memory[0x1b3] = (unsigned int*) 0xaf81d4b;
memory[0x1cb] = 0x1;
L_04e8: // from R_0aaa
memory[0x1bb] = [unsigned int* memory[0x109]];
memory[0x1c0] = 0x4;
memory[0x1bf] = BYTE [unsigned int* memory[0x109]] < 0x4;
memory[0x1c0] = 0xdcf2c20;
memory[0x1c4] = 0x12807111;
memory[0x1bb] = memory[0x1bf] ? 0x12807111 : 0xdcf2c20;
memory[0x1b3] = (unsigned int*) memory[0x1bb];
memory[0x1c0] = 0x1;
if (memory[0x1bf]) goto L_0ab4; // R_0540
memory[0x1bb] = [unsigned int* memory[0x55]];
memory[0x1bf] = [unsigned int* memory[0x61]];
memory[0x1c3] = (int)[unsigned int* memory[0x55]] * (int)[unsigned int* memory[0x61]];
memory[0x1d7] = 0xdeadbfef;
memory[0x1bb] = (int)memory[0x1c3] & (int)0xdeadbfef;
memory[0x1bf] = [unsigned int* memory[0x49]];
memory[0x1d7] = 0x3;
memory[0x1c3] = (int)[unsigned int* memory[0x49]] << (int)0x3;
memory[0x1bf] = (int)memory[0x1bb] + (int)memory[0x1c3];
memory[0x1bb] = [unsigned int* memory[0x6d]];
memory[0x1d7] = 0x1d;
memory[0x1c3] = (int)[unsigned int* memory[0x6d]] >> (int)0x1d;
memory[0x1bb] = (int)memory[0x1bf] + (int)memory[0x1c3];
[unsigned int* memory[0x49]] = memory[0x1bb];
memory[0x1bb] = [unsigned int* memory[0x61]];
memory[0x1bf] = [unsigned int* memory[0x6d]];
memory[0x1c3] = (int)[unsigned int* memory[0x61]] * (int)[unsigned int* memory[0x6d]];
memory[0x1d7] = 0xdefdbeef;
memory[0x1bb] = (int)memory[0x1c3] & (int)0xdefdbeef;
memory[0x1bf] = [unsigned int* memory[0x55]];
memory[0x1d7] = 0x7;
memory[0x1c3] = (int)[unsigned int* memory[0x55]] << (int)0x7;
memory[0x1bf] = (int)memory[0x1bb] + (int)memory[0x1c3];
memory[0x1bb] = [unsigned int* memory[0x49]];
memory[0x1d7] = 0x19;
memory[0x1c3] = (int)[unsigned int* memory[0x49]] >> (int)0x19;
memory[0x1bb] = (int)memory[0x1bf] + (int)memory[0x1c3];
[unsigned int* memory[0x55]] = memory[0x1bb];
memory[0x1bb] = [unsigned int* memory[0x6d]];
memory[0x1bf] = [unsigned int* memory[0x49]];
memory[0x1c3] = (int)[unsigned int* memory[0x6d]] * (int)[unsigned int* memory[0x49]];
memory[0x1d7] = 0xdfadbeef;
memory[0x1bb] = (int)memory[0x1c3] & (int)0xdfadbeef;
memory[0x1bf] = [unsigned int* memory[0x61]];
memory[0x1d7] = 0x9;
memory[0x1c3] = (int)[unsigned int* memory[0x61]] << (int)0x9;
memory[0x1bf] = (int)memory[0x1bb] + (int)memory[0x1c3];
memory[0x1bb] = [unsigned int* memory[0x55]];
memory[0x1d7] = 0x17;
memory[0x1c3] = (int)[unsigned int* memory[0x55]] >> (int)0x17;
memory[0x1bb] = (int)memory[0x1bf] + (int)memory[0x1c3];
[unsigned int* memory[0x61]] = memory[0x1bb];
memory[0x1bb] = [unsigned int* memory[0x49]];
memory[0x1bf] = [unsigned int* memory[0x55]];
memory[0x1c3] = (int)[unsigned int* memory[0x49]] * (int)[unsigned int* memory[0x55]];
memory[0x1d7] = 0xdeadbeff;
memory[0x1bb] = (int)memory[0x1c3] & (int)0xdeadbeff;
memory[0x1bf] = [unsigned int* memory[0x6d]];
memory[0x1d7] = 0x1;
memory[0x1c3] = (int)[unsigned int* memory[0x6d]] << (int)0x1;
memory[0x1bf] = (int)memory[0x1bb] + (int)memory[0x1c3];
memory[0x1bb] = [unsigned int* memory[0x61]];
memory[0x1d7] = 0x1f;
memory[0x1c3] = (int)[unsigned int* memory[0x61]] >> (int)0x1f;
memory[0x1bb] = (int)memory[0x1bf] + (int)memory[0x1c3];
[unsigned int* memory[0x6d]] = memory[0x1bb];
memory[0x1bb] = [unsigned int* memory[0x6d]];
memory[0x1d7] = 0xdeadbeef;
memory[0x1bf] = (int)[unsigned int* memory[0x6d]] + (int)0xdeadbeef;
memory[0x1bb] = [unsigned int* memory[0x109]];
memory[0x1d7] = 0x4;
memory[0x1c3] = (int)0x4 * (int)[unsigned int* memory[0x109]];
memory[0x1c7] = memory[0x1c3];
memory[0x1d7] = 0x0;
// unknwon op1a;
[unsigned int* memory[0x1cf]] = memory[0x1bf];
memory[0x1bb] = [unsigned int* memory[0x61]];
memory[0x1d7] = 0xaa114514;
memory[0x1bf] = (int)[unsigned int* memory[0x61]] + (int)0xaa114514;
memory[0x1bb] = [unsigned int* memory[0x109]];
memory[0x1d7] = 0x4;
memory[0x1c3] = (int)0x4 * (int)[unsigned int* memory[0x109]];
memory[0x1d7] = 0x1;
memory[0x1bb] = (int)memory[0x1c3] + (int)0x1;
memory[0x1c3] = ((int)memory[0x1c3] + (int)0x1);
memory[0x1d7] = 0x0;
// unknwon op1a;
[unsigned int* memory[0x1cb]] = memory[0x1bf];
memory[0x1bb] = [unsigned int* memory[0x49]];
memory[0x1d7] = 0xf1919810;
memory[0x1bf] = (int)[unsigned int* memory[0x49]] + (int)0xf1919810;
memory[0x1bb] = [unsigned int* memory[0x109]];
memory[0x1d7] = 0x4;
memory[0x1c3] = (int)0x4 * (int)[unsigned int* memory[0x109]];
memory[0x1d7] = 0x2;
memory[0x1bb] = (int)memory[0x1c3] + (int)0x2;
memory[0x1c3] = ((int)memory[0x1c3] + (int)0x2);
memory[0x1d7] = 0x0;
// unknwon op1a;
[unsigned int* memory[0x1cb]] = memory[0x1bf];
memory[0x1bb] = [unsigned int* memory[0x55]];
memory[0x1d7] = 0x1abcdef1;
memory[0x1bf] = (int)[unsigned int* memory[0x55]] + (int)0x1abcdef1;
memory[0x1bb] = [unsigned int* memory[0x109]];
memory[0x1d7] = 0x4;
memory[0x1c3] = (int)0x4 * (int)[unsigned int* memory[0x109]];
memory[0x1d7] = 0x3;
memory[0x1bb] = (int)memory[0x1c3] + (int)0x3;
memory[0x1c3] = ((int)memory[0x1c3] + (int)0x3);
memory[0x1d7] = 0x0;
// unknwon op1a;
[unsigned int* memory[0x1cb]] = memory[0x1bf];
memory[0x1d7] = 0x12162fbc;
memory[0x1b3] = (unsigned int*) 0x12162fbc;
memory[0x1d7] = 0x1;
memory[0x1bb] = [unsigned int* memory[0x109]];
memory[0x1c3] = 0x1;
memory[0x1bf] = (int)[unsigned int* memory[0x109]] + (int)0x1;
[unsigned int* memory[0x109]] = memory[0x1bf];
memory[0x1c3] = 0xaf81d4b;
memory[0x1b3] = (unsigned int*) 0xaf81d4b;
memory[0x1c3] = 0x1;
if (0x1) goto L_04e8; // R_0aaa
L_0ab4: // from R_0540
memory[0x1bb] = 0x0;
[unsigned int* memory[0x115]] = 0x0;
memory[0x1bb] = 0x14496322;
memory[0x1b3] = (unsigned int*) 0x14496322;
memory[0x1bb] = 0x1;
L_0aef: // from R_1308
memory[0x1bb] = [unsigned int* memory[0x115]];
memory[0x1c0] = 0x20;
memory[0x1bf] = BYTE [unsigned int* memory[0x115]] < 0x20;
memory[0x1c0] = 0x17a44f36;
memory[0x1c4] = 0x2eff15b7;
memory[0x1bb] = memory[0x1bf] ? 0x2eff15b7 : 0x17a44f36;
memory[0x1b3] = (unsigned int*) memory[0x1bb];
memory[0x1c0] = 0x1;
if (memory[0x1bf]) goto L_1312; // R_0b47
memory[0x1bb] = [int* memory[0x31]];
memory[0x1c3] = [unsigned int* memory[0x115]];
memory[0x1c7] = [unsigned int* memory[0x115]];
memory[0x1cf] = (char)[int* memory[0x31]] + (long)[unsigned int* memory[0x115]];
memory[0x1bb] = [BYTE* memory[0x1cf]];
[BYTE* memory[0x11e]] = [BYTE* memory[0x1cf]];
memory[0x1bb] = [BYTE* memory[0x11e]];
memory[0x1bc] = [BYTE* memory[0x11e]];
memory[0x1d8] = 0xaa;
memory[0x1c0] = (int)[BYTE* memory[0x11e]] & (int)0xaa;
memory[0x1d8] = 0x1;
memory[0x1bb] = (int)memory[0x1c0] >> (int)0x1;
memory[0x1bf] = [BYTE* memory[0x11e]];
memory[0x1c0] = [BYTE* memory[0x11e]];
memory[0x1d8] = 0x55;
memory[0x1c4] = (int)[BYTE* memory[0x11e]] & (int)0x55;
memory[0x1d8] = 0x1;
memory[0x1bf] = (int)memory[0x1c4] << (int)0x1;
memory[0x1c3] = (int)((int)[BYTE* memory[0x11e]] >> (int)0x1) | (int)((int)memory[0x1c4] << (int)0x1);
memory[0x1bb] = memory[0x1c3];
[BYTE* memory[0x11e]] = memory[0x1c3];
memory[0x1bb] = [BYTE* memory[0x11e]];
memory[0x1bc] = [BYTE* memory[0x11e]];
memory[0x1d8] = 0xcc;
memory[0x1c0] = (int)[BYTE* memory[0x11e]] & (int)0xcc;
memory[0x1d8] = 0x2;
memory[0x1bb] = (int)memory[0x1c0] >> (int)0x2;
memory[0x1bf] = [BYTE* memory[0x11e]];
memory[0x1c0] = [BYTE* memory[0x11e]];
memory[0x1d8] = 0x33;
memory[0x1c4] = (int)[BYTE* memory[0x11e]] & (int)0x33;
memory[0x1d8] = 0x2;
memory[0x1bf] = (int)memory[0x1c4] << (int)0x2;
memory[0x1c3] = (int)((int)[BYTE* memory[0x11e]] >> (int)0x2) | (int)((int)memory[0x1c4] << (int)0x2);
memory[0x1bb] = memory[0x1c3];
[BYTE* memory[0x11e]] = memory[0x1c3];
memory[0x1bb] = [BYTE* memory[0x11e]];
memory[0x1bc] = [BYTE* memory[0x11e]];
memory[0x1d8] = 0xf0;
memory[0x1c0] = (int)[BYTE* memory[0x11e]] & (int)0xf0;
memory[0x1d8] = 0x4;
memory[0x1bb] = (int)memory[0x1c0] >> (int)0x4;
memory[0x1bf] = [BYTE* memory[0x11e]];
memory[0x1c0] = [BYTE* memory[0x11e]];
memory[0x1d8] = 0xf;
memory[0x1c4] = (int)[BYTE* memory[0x11e]] & (int)0xf;
memory[0x1d8] = 0x4;
memory[0x1bf] = (int)memory[0x1c4] << (int)0x4;
memory[0x1c3] = (int)((int)[BYTE* memory[0x11e]] >> (int)0x4) | (int)((int)memory[0x1c4] << (int)0x4);
memory[0x1bb] = memory[0x1c3];
[BYTE* memory[0x11e]] = memory[0x1c3];
memory[0x1bb] = [BYTE* memory[0x11e]];
memory[0x1bc] = [int* memory[0x31]];
memory[0x1c4] = [unsigned int* memory[0x115]];
memory[0x1c8] = [unsigned int* memory[0x115]];
memory[0x1d0] = (char)[int* memory[0x31]] + (long)[unsigned int* memory[0x115]];
[BYTE* memory[0x1d0]] = [BYTE* memory[0x11e]];
memory[0x1d8] = 0x0;
[unsigned int* memory[0x12a]] = 0x0;
memory[0x1d8] = 0x1894d90c;
memory[0x1b3] = (unsigned int*) 0x1894d90c;
memory[0x1d8] = 0x1;
L_0e25: // from R_1086
memory[0x1bb] = [unsigned int* memory[0x12a]];
memory[0x1c0] = 0x20;
memory[0x1bf] = BYTE [unsigned int* memory[0x12a]] < 0x20;
memory[0x1c0] = 0x1947d6e8;
memory[0x1c4] = 0x1a60b9d9;
memory[0x1bb] = memory[0x1bf] ? 0x1a60b9d9 : 0x1947d6e8;
memory[0x1b3] = (unsigned int*) memory[0x1bb];
memory[0x1c0] = 0x1;
if (memory[0x1bf]) goto L_1090; // R_0e7d
memory[0x1bb] = [unsigned int* memory[0x12a]];
memory[0x1db] = 0x10;
memory[0x1bf] = (int)[unsigned int* memory[0x12a]] % (int)0x10;
memory[0x1c3] = memory[0x1bf];
memory[0x1db] = 0x0;
// unknwon op1a;
memory[0x1c3] = [unsigned int* [unsigned int* memory[0x12a]]];
memory[0x1bb] = [unsigned int* memory[0x12a]];
memory[0x1bf] = (int)memory[0x1c3] >> (int)[unsigned int* memory[0x12a]];
memory[0x1bb] = [unsigned int* memory[0x12a]];
memory[0x1db] = 0x10;
memory[0x1c3] = (int)[unsigned int* memory[0x12a]] % (int)0x10;
memory[0x1c7] = memory[0x1c3];
memory[0x1db] = 0x0;
// unknwon op1a;
memory[0x1bb] = [unsigned int* memory[0x1cf]];
memory[0x1c3] = [unsigned int* memory[0x12a]];
memory[0x1db] = 0x20;
memory[0x1c7] = (int)0x20 - (int)[unsigned int* memory[0x12a]];
memory[0x1c3] = (int)[unsigned int* memory[0x1cf]] << (int)memory[0x1c7];
memory[0x1bb] = (int)memory[0x1bf] | (int)memory[0x1c3];
memory[0x1db] = 0xff;
memory[0x1bf] = (int)memory[0x1bb] & (int)0xff;
memory[0x1c3] = [int* memory[0x31]];
memory[0x1bb] = [unsigned int* memory[0x12a]];
memory[0x1cb] = [unsigned int* memory[0x12a]];
memory[0x1d3] = (char)[int* memory[0x31]] + (long)[unsigned int* memory[0x12a]];
memory[0x1bb] = [BYTE* memory[0x1d3]];
memory[0x1c3] = [BYTE* memory[0x1d3]];
memory[0x1bb] = (int)[BYTE* memory[0x1d3]] ^ (int)((int)[BYTE* memory[0x1d3]] & (int)0xff);
memory[0x1bf] = memory[0x1bb];
[BYTE* memory[0x1d3]] = memory[0x1bb];
memory[0x1db] = 0x195b868e;
memory[0x1b3] = (unsigned int*) 0x195b868e;
memory[0x1db] = 0x1;
memory[0x1bb] = [unsigned int* memory[0x12a]];
memory[0x1c3] = 0x1;
memory[0x1bf] = (int)[unsigned int* memory[0x12a]] + (int)0x1;
[unsigned int* memory[0x12a]] = memory[0x1bf];
memory[0x1c3] = 0x1894d90c;
memory[0x1b3] = (unsigned int*) 0x1894d90c;
memory[0x1c3] = 0x1;
if (0x1) goto L_0e25; // R_1086
memory[0x1cb] = 0x0;
memory[0x1d3] = 0x0;
// unknwon op1a;
memory[0x1cb] = 0x0;
memory[0x1d3] = 0x0;
// unknwon op1a;
function1(memory[0x1bb], memory[0x1c3]);
memory[0x1cb] = 0x0;
[unsigned int* memory[0x136]] = 0x0;
memory[0x1cb] = 0x1b70e379;
memory[0x1b3] = (unsigned int*) 0x1b70e379;
memory[0x1cb] = 0x1;
L_1136: // from R_128e
memory[0x1bb] = [unsigned int* memory[0x136]];
memory[0x1c0] = 0x10;
memory[0x1bf] = BYTE [unsigned int* memory[0x136]] < 0x10;
memory[0x1c0] = 0x28ee7b41;
memory[0x1c4] = 0x2a987773;
memory[0x1bb] = memory[0x1bf] ? 0x2a987773 : 0x28ee7b41;
memory[0x1b3] = (unsigned int*) memory[0x1bb];
memory[0x1c0] = 0x1;
if (memory[0x1bf]) goto L_1298; // R_118e
memory[0x1bb] = [unsigned int* memory[0x136]];
memory[0x1bf] = [unsigned int* memory[0x136]];
memory[0x1d3] = 0x0;
// unknwon op1a;
memory[0x1bb] = [unsigned int* memory[0x1c7]];
memory[0x1bf] = [unsigned int* memory[0x136]];
memory[0x1c3] = [unsigned int* memory[0x136]];
memory[0x1d3] = 0x0;
// unknwon op1a;
[unsigned int* memory[0x1cb]] = [unsigned int* memory[0x1c7]];
memory[0x1d3] = 0x2a6e8bec;
memory[0x1b3] = (unsigned int*) 0x2a6e8bec;
memory[0x1d3] = 0x1;
memory[0x1bb] = [unsigned int* memory[0x136]];
memory[0x1c3] = 0x1;
memory[0x1bf] = (int)[unsigned int* memory[0x136]] + (int)0x1;
[unsigned int* memory[0x136]] = memory[0x1bf];
memory[0x1c3] = 0x1b70e379;
memory[0x1b3] = (unsigned int*) 0x1b70e379;
memory[0x1c3] = 0x1;
if (0x1) goto L_1136; // R_128e
L_1298: // from R_118e
memory[0x1bb] = 0x2be0e312;
memory[0x1b3] = (unsigned int*) 0x2be0e312;
memory[0x1bb] = 0x1;
memory[0x1bb] = [unsigned int* memory[0x115]];
memory[0x1c3] = 0x1;
memory[0x1bf] = (int)[unsigned int* memory[0x115]] + (int)0x1;
[unsigned int* memory[0x115]] = memory[0x1bf];
memory[0x1c3] = 0x14496322;
memory[0x1b3] = (unsigned int*) 0x14496322;
memory[0x1c3] = 0x1;
if (0x1) goto L_0aef; // R_1308
L_1312: // from R_0b47
memory[0x1bb] = 0x0;
[unsigned int* memory[0x142]] = 0x0;
memory[0x1bb] = 0x371a7e77;
memory[0x1b3] = (unsigned int*) 0x371a7e77;
memory[0x1bb] = 0x1;
L_134d: // from R_19fd
memory[0x1bb] = [unsigned int* memory[0x142]];
memory[0x1c0] = 0x4;
memory[0x1bf] = BYTE [unsigned int* memory[0x142]] < 0x4;
memory[0x1c0] = 0x49b43750;
memory[0x1c4] = 0x571b19af;
memory[0x1bb] = memory[0x1bf] ? 0x571b19af : 0x49b43750;
memory[0x1b3] = (unsigned int*) memory[0x1bb];
memory[0x1c0] = 0x1;
if (memory[0x1bf]) goto L_1a07; // R_13a5
memory[0x1bb] = [int* memory[0x31]];
memory[0x1c3] = [unsigned int* memory[0x142]];
memory[0x1d3] = 0x8;
memory[0x1c7] = (int)0x8 * (int)[unsigned int* memory[0x142]];
memory[0x1cb] = memory[0x1c7];
memory[0x1c3] = (char)[int* memory[0x31]] + (long)memory[0x1c7];
memory[0x1bb] = [BYTE* memory[0x1c3]];
[BYTE* memory[0x14b]] = [BYTE* memory[0x1c3]];
memory[0x1d3] = 0x0;
[unsigned int* memory[0x157]] = 0x0;
memory[0x1d3] = 0x4bb7a9eb;
memory[0x1b3] = (unsigned int*) 0x4bb7a9eb;
memory[0x1d3] = 0x1;
L_144a: // from R_1983
memory[0x1bb] = [unsigned int* memory[0x157]];
memory[0x1c0] = 0x64;
memory[0x1bf] = BYTE [unsigned int* memory[0x157]] < 0x64;
memory[0x1c0] = 0x4ef0ba9b;
memory[0x1c4] = 0x56b1a95f;
memory[0x1bb] = memory[0x1bf] ? 0x56b1a95f : 0x4ef0ba9b;
memory[0x1b3] = (unsigned int*) memory[0x1bb];
memory[0x1c0] = 0x1;
if (memory[0x1bf]) goto L_198d; // R_14a2
memory[0x1bb] = 0x0;
[unsigned int* memory[0x163]] = 0x0;
memory[0x1bb] = 0x50063fce;
memory[0x1b3] = (unsigned int*) 0x50063fce;
memory[0x1bb] = 0x1;
L_14ec: // from R_1909
memory[0x1bb] = [unsigned int* memory[0x163]];
memory[0x1c0] = 0x8;
memory[0x1bf] = BYTE [unsigned int* memory[0x163]] < 0x8;
memory[0x1c0] = 0x53c14c35;
memory[0x1c4] = 0x5567ce8f;
memory[0x1bb] = memory[0x1bf] ? 0x5567ce8f : 0x53c14c35;
memory[0x1b3] = (unsigned int*) memory[0x1bb];
memory[0x1c0] = 0x1;
if (memory[0x1bf]) goto L_1913; // R_1544
memory[0x1bb] = [BYTE* memory[0x14b]];
memory[0x1bc] = [BYTE* memory[0x14b]];
memory[0x1c0] = [int* memory[0x21]];
memory[0x1c8] = [unsigned int* memory[0x163]];
memory[0x1e0] = 0x2;
memory[0x1cc] = (int)0x2 * (int)[unsigned int* memory[0x163]];
memory[0x1d0] = memory[0x1cc];
memory[0x1c8] = (char)[int* memory[0x21]] + (long)memory[0x1cc];
memory[0x1bb] = [BYTE* memory[0x1c8]];
memory[0x1c0] = [BYTE* memory[0x1c8]];
memory[0x1c4] = [int* memory[0x21]];
memory[0x1cc] = [unsigned int* memory[0x163]];
memory[0x1e0] = 0x2;
memory[0x1d0] = (int)0x2 * (int)[unsigned int* memory[0x163]];
memory[0x1e0] = 0x1;
memory[0x1cc] = (int)memory[0x1d0] + (int)0x1;
memory[0x1d0] = ((int)memory[0x1d0] + (int)0x1);
memory[0x1d8] = (char)[int* memory[0x21]] + (long)((int)memory[0x1d0] + (int)0x1);
memory[0x1bb] = [BYTE* memory[0x1d8]];
memory[0x1c4] = [BYTE* memory[0x1d8]];
memory[0x1c8] = (int)[BYTE* memory[0x1c8]] ^ (int)[BYTE* memory[0x1d8]];
memory[0x1c0] = (int)[BYTE* memory[0x14b]] + (int)memory[0x1c8];
memory[0x1bb] = memory[0x1c0];
[BYTE* memory[0x14b]] = memory[0x1c0];
memory[0x1bb] = [BYTE* memory[0x14b]];
memory[0x1bc] = (unsigned int*)[BYTE* memory[0x14b]];
memory[0x1e0] = 0x0;
memory[0x1c4] = Sbox[0x0][memory[0x1bc]];
memory[0x1bb] = [BYTE* Sbox[0x0][memory[0x1bc]]];
memory[0x1bc] = [BYTE* Sbox[0x0][memory[0x1bc]]];
memory[0x1c0] = [int* memory[0x31]];
memory[0x1c8] = [unsigned int* memory[0x142]];
memory[0x1e0] = 0x8;
memory[0x1cc] = (int)0x8 * (int)[unsigned int* memory[0x142]];
memory[0x1c8] = [unsigned int* memory[0x163]];
memory[0x1e0] = 0x1;
memory[0x1d0] = (int)[unsigned int* memory[0x163]] + (int)0x1;
memory[0x1e0] = 0x8;
memory[0x1c8] = (int)memory[0x1d0] % (int)0x8;
memory[0x1d0] = (int)memory[0x1cc] + (int)((int)memory[0x1d0] % (int)0x8);
memory[0x1c8] = memory[0x1d0];
memory[0x1d0] = (char)[int* memory[0x31]] + (long)memory[0x1d0];
memory[0x1bb] = [BYTE* memory[0x1d0]];
memory[0x1c0] = [BYTE* memory[0x1d0]];
memory[0x1c4] = (int)[BYTE* Sbox[0x0][memory[0x1bc]]] + (int)[BYTE* memory[0x1d0]];
memory[0x1bb] = memory[0x1c4];
[BYTE* memory[0x14b]] = memory[0x1c4];
memory[0x1bb] = [BYTE* memory[0x14b]];
memory[0x1bc] = [BYTE* memory[0x14b]];
memory[0x1e0] = 0x1;
memory[0x1c0] = (int)[BYTE* memory[0x14b]] << (int)0x1;
memory[0x1bb] = [BYTE* memory[0x14b]];
memory[0x1bc] = [BYTE* memory[0x14b]];
memory[0x1e0] = 0x7;
memory[0x1c4] = (int)[BYTE* memory[0x14b]] >> (int)0x7;
memory[0x1bb] = (int)memory[0x1c0] | (int)memory[0x1c4];
memory[0x1bf] = memory[0x1bb];
[BYTE* memory[0x14b]] = memory[0x1bb];
memory[0x1bb] = [BYTE* memory[0x14b]];
memory[0x1bc] = [int* memory[0x31]];
memory[0x1c4] = [unsigned int* memory[0x142]];
memory[0x1e0] = 0x8;
memory[0x1c8] = (int)0x8 * (int)[unsigned int* memory[0x142]];
memory[0x1c4] = [unsigned int* memory[0x163]];
memory[0x1e0] = 0x1;
memory[0x1cc] = (int)[unsigned int* memory[0x163]] + (int)0x1;
memory[0x1e0] = 0x8;
memory[0x1c4] = (int)memory[0x1cc] % (int)0x8;
memory[0x1cc] = (int)memory[0x1c8] + (int)((int)memory[0x1cc] % (int)0x8);
memory[0x1c4] = memory[0x1cc];
memory[0x1cc] = (char)[int* memory[0x31]] + (long)memory[0x1cc];
[BYTE* memory[0x1cc]] = [BYTE* memory[0x14b]];
memory[0x1e0] = 0x54a728ac;
memory[0x1b3] = (unsigned int*) 0x54a728ac;
memory[0x1e0] = 0x1;
memory[0x1bb] = [unsigned int* memory[0x163]];
memory[0x1c3] = 0x1;
memory[0x1bf] = (int)[unsigned int* memory[0x163]] + (int)0x1;
[unsigned int* memory[0x163]] = memory[0x1bf];
memory[0x1c3] = 0x50063fce;
memory[0x1b3] = (unsigned int*) 0x50063fce;
memory[0x1c3] = 0x1;
if (0x1) goto L_14ec; // R_1909
L_1913: // from R_1544
memory[0x1bb] = 0x55aade13;
memory[0x1b3] = (unsigned int*) 0x55aade13;
memory[0x1bb] = 0x1;
memory[0x1bb] = [unsigned int* memory[0x157]];
memory[0x1c3] = 0x1;
memory[0x1bf] = (int)[unsigned int* memory[0x157]] + (int)0x1;
[unsigned int* memory[0x157]] = memory[0x1bf];
memory[0x1c3] = 0x4bb7a9eb;
memory[0x1b3] = (unsigned int*) 0x4bb7a9eb;
memory[0x1c3] = 0x1;
if (0x1) goto L_144a; // R_1983
L_198d: // from R_14a2
memory[0x1bb] = 0x56dd5ad8;
memory[0x1b3] = (unsigned int*) 0x56dd5ad8;
memory[0x1bb] = 0x1;
memory[0x1bb] = [unsigned int* memory[0x142]];
memory[0x1c3] = 0x1;
memory[0x1bf] = (int)[unsigned int* memory[0x142]] + (int)0x1;
[unsigned int* memory[0x142]] = memory[0x1bf];
memory[0x1c3] = 0x371a7e77;
memory[0x1b3] = (unsigned int*) 0x371a7e77;
memory[0x1c3] = 0x1;
if (0x1) goto L_134d; // R_19fd
L_1a07: // from R_13a5
memory[0x1bb] = [int* memory[0x31]];
memory[0x1c3] = (unsigned int*)[int* memory[0x31]];
[QWORD* memory[0x173]] = ((unsigned int*)[int* memory[0x31]]);
memory[0x1cb] = 0x0;
[unsigned int* memory[0x17f]] = 0x0;
memory[0x1cb] = 0x572d4eea;
memory[0x1b3] = (unsigned int*) 0x572d4eea;
memory[0x1cb] = 0x1;
L_1a61: // from R_1e5c
memory[0x1bb] = [unsigned int* memory[0x17f]];
memory[0x1c0] = 0x8;
memory[0x1bf] = BYTE [unsigned int* memory[0x17f]] < 0x8;
memory[0x1c0] = 0x5739488e;
memory[0x1c4] = 0x6800189b;
memory[0x1bb] = memory[0x1bf] ? 0x6800189b : 0x5739488e;
memory[0x1b3] = (unsigned int*) memory[0x1bb];
memory[0x1c0] = 0x1;
if (memory[0x1bf]) goto L_1e66; // R_1ab9
memory[0x1bb] = 0x0;
[QWORD* memory[0x18f]] = 0x0;
memory[0x1bb] = 0x0;
[unsigned int* memory[0x19b]] = 0x0;
memory[0x1bb] = 0x5752525f;
memory[0x1b3] = (unsigned int*) 0x5752525f;
memory[0x1bb] = 0x1;
L_1b1c: // from R_1d12
memory[0x1bb] = [unsigned int* memory[0x19b]];
memory[0x1c0] = 0x20;
memory[0x1bf] = BYTE [unsigned int* memory[0x19b]] < 0x20;
memory[0x1c0] = 0x581601bc;
memory[0x1c4] = 0x58cc7375;
memory[0x1bb] = memory[0x1bf] ? 0x58cc7375 : 0x581601bc;
memory[0x1b3] = (unsigned int*) memory[0x1bb];
memory[0x1c0] = 0x1;
if (memory[0x1bf]) goto L_1d1c; // R_1b74
memory[0x1bb] = [unsigned int* memory[0x173]];
memory[0x1c3] = [unsigned int* memory[0x17f]];
memory[0x1c7] = [unsigned int* memory[0x17f]];
memory[0x1cf] = 4 * [unsigned int* memory[0x17f]] + [unsigned int* memory[0x173]];
memory[0x1bb] = [unsigned int* memory[0x1cf]];
memory[0x1bf] = [unsigned int* memory[0x19b]];
memory[0x1c3] = (int)[unsigned int* memory[0x1cf]] >> (int)[unsigned int* memory[0x19b]];
memory[0x1d7] = 0x1;
memory[0x1bb] = (int)memory[0x1c3] & (int)0x1;
[unsigned int* memory[0x1a7]] = ((int)memory[0x1c3] & (int)0x1);
memory[0x1bb] = [unsigned int* memory[0x19b]];
memory[0x1bf] = [unsigned int* memory[0x19b]];
memory[0x1d7] = 0x0;
memory[0x1c7] = weights[ 256 * 0x0 + 8 * [unsigned int* memory[0x19b]] ];
memory[0x1bb] = ..[unsigned int* memory[0x1c7]];
memory[0x1c3] = [unsigned int* memory[0x1a7]];
memory[0x1c7] = [unsigned int* memory[0x1a7]];
memory[0x1cf] = (QWORD)(..[unsigned int* [unsigned int* memory[0x1a7]]]) * (QWORD)[unsigned int* memory[0x1a7]];
memory[0x1bb] = ..[unsigned int* memory[0x18f]];
memory[0x1c3] = (char*)(..[unsigned int* memory[0x18f]]) * (QWORD)memory[0x1cf];
[QWORD* memory[0x18f]] = memory[0x1c3];
memory[0x1bb] = mod;
memory[0x1c3] = ..[unsigned int* memory[0x18f]];
memory[0x1cb] = (int)(..[unsigned int* memory[0x18f]]) % (QWORD)mod;
[QWORD* memory[0x18f]] = memory[0x1cb];
memory[0x1d7] = 0x58a3fc7f;
memory[0x1b3] = (unsigned int*) 0x58a3fc7f;
memory[0x1d7] = 0x1;
memory[0x1bb] = [unsigned int* memory[0x19b]];
memory[0x1c3] = 0x1;
memory[0x1bf] = (int)[unsigned int* memory[0x19b]] + (int)0x1;
[unsigned int* memory[0x19b]] = memory[0x1bf];
memory[0x1c3] = 0x5752525f;
memory[0x1b3] = (unsigned int*) 0x5752525f;
memory[0x1c3] = 0x1;
if (0x1) goto L_1b1c; // R_1d12
L_1d1c: // from R_1b74
memory[0x1bb] = ..[unsigned int* memory[0x18f]];
memory[0x1c3] = [unsigned int* memory[0x17f]];
memory[0x1c7] = [unsigned int* memory[0x17f]];
memory[0x1d7] = 0x0;
memory[0x1cf] = sums[ 64 * 0x0 + 8 * [unsigned int* memory[0x17f]];
memory[0x1c3] = ..[unsigned int* memory[0x1cf]];
memory[0x1cb] = (..[unsigned int* memory[0x18f]]) != (..[unsigned int* memory[0x1cf]]);
memory[0x1d7] = 0x58eead45;
memory[0x1db] = 0x5ada47ea;
memory[0x1bb] = memory[0x1cb] ? 0x5ada47ea : 0x58eead45;
memory[0x1b3] = (unsigned int*) memory[0x1bb];
memory[0x1d7] = 0x1;
if (memory[0x1cb]) goto L_1dec; // R_1da5
memory[0x1bb] = 0x0;
memory[0x11] = 0x0 & 1;
memory[0x1bb] = 0x695aa229;
memory[0x1b3] = (unsigned int*) 0x695aa229;
memory[0x1bb] = 0x1;
if (0x1) goto L_1e9e; // R_1de2
L_1dec: // from R_1da5
memory[0x1bb] = 0x60165620;
memory[0x1b3] = (unsigned int*) 0x60165620;
memory[0x1bb] = 0x1;
memory[0x1bb] = [unsigned int* memory[0x17f]];
memory[0x1c3] = 0x1;
memory[0x1bf] = (int)[unsigned int* memory[0x17f]] + (int)0x1;
[unsigned int* memory[0x17f]] = memory[0x1bf];
memory[0x1c3] = 0x572d4eea;
memory[0x1b3] = (unsigned int*) 0x572d4eea;
memory[0x1c3] = 0x1;
if (0x1) goto L_1a61; // R_1e5c
L_1e66: // from R_1ab9
memory[0x1bb] = 0x1;
memory[0x11] = 0x1 & 1;
memory[0x1bb] = 0x695aa229;
memory[0x1b3] = (unsigned int*) 0x695aa229;
memory[0x1bb] = 0x1;
L_1e9e: // from R_1de2
memory[0x1bb] = memory[0x11] & 1;
return (memory[0x11] & 1);