-
Notifications
You must be signed in to change notification settings - Fork 0
/
bufbomb.s
2801 lines (2670 loc) · 130 KB
/
bufbomb.s
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
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
bufbomb: file format elf32-i386
Disassembly of section .interp:
08048134 <.interp>:
8048134: 2f das
8048135: 6c insb (%dx),%es:(%edi)
8048136: 69 62 2f 6c 64 2d 6c imul $0x6c2d646c,0x2f(%edx),%esp
804813d: 69 6e 75 78 2e 73 6f imul $0x6f732e78,0x75(%esi),%ebp
8048144: 2e 32 00 xor %cs:(%eax),%al
Disassembly of section .note.ABI-tag:
08048148 <.note.ABI-tag>:
8048148: 04 00 add $0x0,%al
804814a: 00 00 add %al,(%eax)
804814c: 10 00 adc %al,(%eax)
804814e: 00 00 add %al,(%eax)
8048150: 01 00 add %eax,(%eax)
8048152: 00 00 add %al,(%eax)
8048154: 47 inc %edi
8048155: 4e dec %esi
8048156: 55 push %ebp
8048157: 00 00 add %al,(%eax)
8048159: 00 00 add %al,(%eax)
804815b: 00 02 add %al,(%edx)
804815d: 00 00 add %al,(%eax)
804815f: 00 06 add %al,(%esi)
8048161: 00 00 add %al,(%eax)
8048163: 00 09 add %cl,(%ecx)
8048165: 00 00 add %al,(%eax)
...
Disassembly of section .gnu.hash:
08048168 <.gnu.hash>:
8048168: 03 00 add (%eax),%eax
804816a: 00 00 add %al,(%eax)
804816c: 1d 00 00 00 01 sbb $0x1000000,%eax
8048171: 00 00 add %al,(%eax)
8048173: 00 05 00 00 00 80 add %al,0x80000000
8048179: 28 24 20 sub %ah,(%eax,%eiz,1)
804817c: 00 00 add %al,(%eax)
804817e: 00 00 add %al,(%eax)
8048180: 1d 00 00 00 1f sbb $0x1f000000,%eax
8048185: 00 00 add %al,(%eax)
8048187: 00 ac 4b e3 c0 67 55 add %ch,0x5567c0e3(%ebx,%ecx,2)
804818e: 61 popa
804818f: 10 .byte 0x10
8048190: b3 a2 mov $0xa2,%bl
8048192: f7 12 notl (%edx)
Disassembly of section .dynsym:
08048194 <.dynsym>:
...
80481a4: 3d 00 00 00 00 cmp $0x0,%eax
80481a9: 00 00 add %al,(%eax)
80481ab: 00 34 00 add %dh,(%eax,%eax,1)
80481ae: 00 00 add %al,(%eax)
80481b0: 12 00 adc (%eax),%al
80481b2: 00 00 add %al,(%eax)
80481b4: 45 inc %ebp
80481b5: 00 00 add %al,(%eax)
80481b7: 00 00 add %al,(%eax)
80481b9: 00 00 add %al,(%eax)
80481bb: 00 60 00 add %ah,0x0(%eax)
80481be: 00 00 add %al,(%eax)
80481c0: 12 00 adc (%eax),%al
80481c2: 00 00 add %al,(%eax)
80481c4: c7 00 00 00 00 00 movl $0x0,(%eax)
80481ca: 00 00 add %al,(%eax)
80481cc: 67 00 00 add %al,(%bx,%si)
80481cf: 00 12 add %dl,(%edx)
80481d1: 00 00 add %al,(%eax)
80481d3: 00 62 00 add %ah,0x0(%edx)
80481d6: 00 00 add %al,(%eax)
80481d8: 00 00 add %al,(%eax)
80481da: 00 00 add %al,(%eax)
80481dc: d7 xlat %ds:(%ebx)
80481dd: 00 00 add %al,(%eax)
80481df: 00 12 add %dl,(%edx)
80481e1: 00 00 add %al,(%eax)
80481e3: 00 01 add %al,(%ecx)
...
80481ed: 00 00 add %al,(%eax)
80481ef: 00 20 add %ah,(%eax)
80481f1: 00 00 add %al,(%eax)
80481f3: 00 74 00 00 add %dh,0x0(%eax,%eax,1)
80481f7: 00 00 add %al,(%eax)
80481f9: 00 00 add %al,(%eax)
80481fb: 00 3c 03 add %bh,(%ebx,%eax,1)
80481fe: 00 00 add %al,(%eax)
8048200: 12 00 adc (%eax),%al
8048202: 00 00 add %al,(%eax)
8048204: b8 00 00 00 00 mov $0x0,%eax
8048209: 00 00 add %al,(%eax)
804820b: 00 7d 00 add %bh,0x0(%ebp)
804820e: 00 00 add %al,(%eax)
8048210: 12 00 adc (%eax),%al
8048212: 00 00 add %al,(%eax)
8048214: 7b 00 jnp 8048216 <_init-0x406>
8048216: 00 00 add %al,(%eax)
8048218: 00 00 add %al,(%eax)
804821a: 00 00 add %al,(%eax)
804821c: 43 inc %ebx
804821d: 00 00 add %al,(%eax)
804821f: 00 12 add %dl,(%edx)
8048221: 00 00 add %al,(%eax)
8048223: 00 df add %bl,%bh
8048225: 00 00 add %al,(%eax)
8048227: 00 00 add %al,(%eax)
8048229: 00 00 add %al,(%eax)
804822b: 00 9f 01 00 00 12 add %bl,0x12000001(%edi)
8048231: 00 00 add %al,(%eax)
8048233: 00 d6 add %dl,%dh
8048235: 00 00 add %al,(%eax)
8048237: 00 00 add %al,(%eax)
8048239: 00 00 add %al,(%eax)
804823b: 00 e7 add %ah,%bh
804823d: 00 00 add %al,(%eax)
804823f: 00 12 add %dl,(%edx)
8048241: 00 00 add %al,(%eax)
8048243: 00 9d 00 00 00 00 add %bl,0x0(%ebp)
8048249: 00 00 add %al,(%eax)
804824b: 00 3c 00 add %bh,(%eax,%eax,1)
804824e: 00 00 add %al,(%eax)
8048250: 12 00 adc (%eax),%al
8048252: 00 00 add %al,(%eax)
8048254: 8f 00 popl (%eax)
8048256: 00 00 add %al,(%eax)
8048258: 00 00 add %al,(%eax)
804825a: 00 00 add %al,(%eax)
804825c: e8 01 00 00 12 call 1a048262 <_end+0x11ffd47e>
8048261: 00 00 add %al,(%eax)
8048263: 00 82 00 00 00 00 add %al,0x0(%edx)
8048269: 00 00 add %al,(%eax)
804826b: 00 49 00 add %cl,0x0(%ecx)
804826e: 00 00 add %al,(%eax)
8048270: 12 00 adc (%eax),%al
8048272: 00 00 add %al,(%eax)
8048274: 4b dec %ebx
8048275: 00 00 add %al,(%eax)
8048277: 00 00 add %al,(%eax)
8048279: 00 00 add %al,(%eax)
804827b: 00 32 add %dh,(%edx)
804827d: 00 00 add %al,(%eax)
804827f: 00 12 add %dl,(%edx)
8048281: 00 00 add %al,(%eax)
8048283: 00 b2 00 00 00 00 add %dh,0x0(%edx)
8048289: 00 00 add %al,(%eax)
804828b: 00 39 add %bh,(%ecx)
804828d: 00 00 add %al,(%eax)
804828f: 00 12 add %dl,(%edx)
8048291: 00 00 add %al,(%eax)
8048293: 00 31 add %dh,(%ecx)
8048295: 00 00 add %al,(%eax)
8048297: 00 00 add %al,(%eax)
8048299: 00 00 add %al,(%eax)
804829b: 00 22 add %ah,(%edx)
804829d: 00 00 add %al,(%eax)
804829f: 00 12 add %dl,(%edx)
80482a1: 00 00 add %al,(%eax)
80482a3: 00 cf add %cl,%bh
80482a5: 00 00 add %al,(%eax)
80482a7: 00 00 add %al,(%eax)
80482a9: 00 00 add %al,(%eax)
80482ab: 00 39 add %bh,(%ecx)
80482ad: 00 00 add %al,(%eax)
80482af: 00 12 add %dl,(%edx)
80482b1: 00 00 add %al,(%eax)
80482b3: 00 c6 add %al,%dh
80482b5: 00 00 add %al,(%eax)
80482b7: 00 00 add %al,(%eax)
80482b9: 00 00 add %al,(%eax)
80482bb: 00 60 00 add %ah,0x0(%eax)
80482be: 00 00 add %al,(%eax)
80482c0: 12 00 adc (%eax),%al
80482c2: 00 00 add %al,(%eax)
80482c4: bf 00 00 00 00 mov $0x0,%edi
80482c9: 00 00 add %al,(%eax)
80482cb: 00 5f 01 add %bl,0x1(%edi)
80482ce: 00 00 add %al,(%eax)
80482d0: 12 00 adc (%eax),%al
80482d2: 00 00 add %al,(%eax)
80482d4: ce into
80482d5: 00 00 add %al,(%eax)
80482d7: 00 00 add %al,(%eax)
80482d9: 00 00 add %al,(%eax)
80482db: 00 24 00 add %ah,(%eax,%eax,1)
80482de: 00 00 add %al,(%eax)
80482e0: 12 00 adc (%eax),%al
80482e2: 00 00 add %al,(%eax)
80482e4: 96 xchg %eax,%esi
80482e5: 00 00 add %al,(%eax)
80482e7: 00 00 add %al,(%eax)
80482e9: 00 00 add %al,(%eax)
80482eb: 00 5c 00 00 add %bl,0x0(%eax,%eax,1)
80482ef: 00 12 add %dl,(%edx)
80482f1: 00 00 add %al,(%eax)
80482f3: 00 29 add %ch,(%ecx)
80482f5: 00 00 add %al,(%eax)
80482f7: 00 00 add %al,(%eax)
80482f9: 00 00 add %al,(%eax)
80482fb: 00 93 00 00 00 12 add %dl,0x12000000(%ebx)
8048301: 00 00 add %al,(%eax)
8048303: 00 89 00 00 00 00 add %cl,0x0(%ecx)
8048309: 00 00 add %al,(%eax)
804830b: 00 f6 add %dh,%dh
804830d: 00 00 add %al,(%eax)
804830f: 00 12 add %dl,(%edx)
8048311: 00 00 add %al,(%eax)
8048313: 00 69 00 add %ch,0x0(%ecx)
8048316: 00 00 add %al,(%eax)
8048318: 00 00 add %al,(%eax)
804831a: 00 00 add %al,(%eax)
804831c: 8f 01 popl (%ecx)
804831e: 00 00 add %al,(%eax)
8048320: 12 00 adc (%eax),%al
8048322: 00 00 add %al,(%eax)
8048324: 46 inc %esi
8048325: 00 00 add %al,(%eax)
8048327: 00 00 add %al,(%eax)
8048329: 00 00 add %al,(%eax)
804832b: 00 17 add %dl,(%edi)
804832d: 00 00 add %al,(%eax)
804832f: 00 12 add %dl,(%edx)
8048331: 00 00 add %al,(%eax)
8048333: 00 51 00 add %dl,0x0(%ecx)
8048336: 00 00 add %al,(%eax)
8048338: 00 00 add %al,(%eax)
804833a: 00 00 add %al,(%eax)
804833c: 74 00 je 804833e <_init-0x2de>
804833e: 00 00 add %al,(%eax)
8048340: 12 00 adc (%eax),%al
8048342: 00 00 add %al,(%eax)
8048344: 59 pop %ecx
8048345: 00 00 add %al,(%eax)
8048347: 00 00 add %al,(%eax)
8048349: 00 00 add %al,(%eax)
804834b: 00 57 00 add %dl,0x0(%edi)
804834e: 00 00 add %al,(%eax)
8048350: 12 00 adc (%eax),%al
8048352: 00 00 add %al,(%eax)
8048354: 38 00 cmp %al,(%eax)
8048356: 00 00 add %al,(%eax)
8048358: 00 00 add %al,(%eax)
804835a: 00 00 add %al,(%eax)
804835c: f4 hlt
804835d: 00 00 add %al,(%eax)
804835f: 00 12 add %dl,(%edx)
8048361: 00 00 add %al,(%eax)
8048363: 00 1a add %bl,(%edx)
8048365: 00 00 add %al,(%eax)
8048367: 00 98 94 04 08 04 add %bl,0x4080494(%eax)
804836d: 00 00 add %al,(%eax)
804836f: 00 11 add %dl,(%ecx)
8048371: 00 0e add %cl,(%esi)
8048373: 00 6e 00 add %ch,0x0(%esi)
8048376: 00 00 add %al,(%eax)
8048378: 80 a1 04 08 04 00 00 andb $0x0,0x40804(%ecx)
804837f: 00 11 add %dl,(%ecx)
8048381: 00 18 add %bl,(%eax)
8048383: 00 ab 00 00 00 84 add %ch,-0x7c000000(%ebx)
8048389: a1 04 08 04 00 mov 0x40804,%eax
804838e: 00 00 add %al,(%eax)
8048390: 11 00 adc %eax,(%eax)
8048392: 18 00 sbb %al,(%eax)
Disassembly of section .dynstr:
08048394 <.dynstr>:
8048394: 00 5f 5f add %bl,0x5f(%edi)
8048397: 67 6d insl (%dx),%es:(%di)
8048399: 6f outsl %ds:(%esi),(%dx)
804839a: 6e outsb %ds:(%esi),(%dx)
804839b: 5f pop %edi
804839c: 73 74 jae 8048412 <_init-0x20a>
804839e: 61 popa
804839f: 72 74 jb 8048415 <_init-0x207>
80483a1: 5f pop %edi
80483a2: 5f pop %edi
80483a3: 00 6c 69 62 add %ch,0x62(%ecx,%ebp,2)
80483a7: 63 2e arpl %bp,(%esi)
80483a9: 73 6f jae 804841a <_init-0x202>
80483ab: 2e 36 00 5f 49 cs add %bl,%cs:%ss:0x49(%edi)
80483b0: 4f dec %edi
80483b1: 5f pop %edi
80483b2: 73 74 jae 8048428 <_init-0x1f4>
80483b4: 64 69 6e 5f 75 73 65 imul $0x64657375,%fs:0x5f(%esi),%ebp
80483bb: 64
80483bc: 00 63 75 add %ah,0x75(%ebx)
80483bf: 73 65 jae 8048426 <_init-0x1f6>
80483c1: 72 69 jb 804842c <_init-0x1f0>
80483c3: 64 00 73 74 add %dh,%fs:0x74(%ebx)
80483c7: 72 63 jb 804842c <_init-0x1f0>
80483c9: 70 79 jo 8048444 <_init-0x1d8>
80483cb: 00 65 78 add %ah,0x78(%ebp)
80483ce: 69 74 00 73 70 72 69 imul $0x6e697270,0x73(%eax,%eax,1),%esi
80483d5: 6e
80483d6: 74 66 je 804843e <_init-0x1de>
80483d8: 00 73 72 add %dh,0x72(%ebx)
80483db: 61 popa
80483dc: 6e outsb %ds:(%esi),(%dx)
80483dd: 64 00 66 6f add %ah,%fs:0x6f(%esi)
80483e1: 70 65 jo 8048448 <_init-0x1d4>
80483e3: 6e outsb %ds:(%esi),(%dx)
80483e4: 00 74 65 6d add %dh,0x6d(%ebp,%eiz,2)
80483e8: 70 6e jo 8048458 <_init-0x1c4>
80483ea: 61 popa
80483eb: 6d insl (%dx),%es:(%edi)
80483ec: 00 5f 5f add %bl,0x5f(%edi)
80483ef: 73 74 jae 8048465 <_init-0x1b7>
80483f1: 72 64 jb 8048457 <_init-0x1c5>
80483f3: 75 70 jne 8048465 <_init-0x1b7>
80483f5: 00 73 69 add %dh,0x69(%ebx)
80483f8: 67 6e outsb %ds:(%si),(%dx)
80483fa: 61 popa
80483fb: 6c insb (%dx),%es:(%edi)
80483fc: 00 70 75 add %dh,0x75(%eax)
80483ff: 74 73 je 8048474 <_init-0x1a8>
8048401: 00 73 74 add %dh,0x74(%ebx)
8048404: 64 69 6e 00 63 61 6c imul $0x6c6c6163,%fs:0x0(%esi),%ebp
804840b: 6c
804840c: 6f outsl %ds:(%esi),(%dx)
804840d: 63 00 arpl %ax,(%eax)
804840f: 6d insl (%dx),%es:(%edi)
8048410: 65 gs
8048411: 6d insl (%dx),%es:(%edi)
8048412: 73 65 jae 8048479 <_init-0x1a3>
8048414: 74 00 je 8048416 <_init-0x206>
8048416: 67 addr16
8048417: 65 gs
8048418: 74 6f je 8048489 <_init-0x193>
804841a: 70 74 jo 8048490 <_init-0x18c>
804841c: 00 66 70 add %ah,0x70(%esi)
804841f: 75 74 jne 8048495 <_init-0x187>
8048421: 63 00 arpl %ax,(%eax)
8048423: 66 data16
8048424: 63 6c 6f 73 arpl %bp,0x73(%edi,%ebp,2)
8048428: 65 00 72 65 add %dh,%gs:0x65(%edx)
804842c: 6d insl (%dx),%es:(%edi)
804842d: 6f outsl %ds:(%esi),(%dx)
804842e: 76 65 jbe 8048495 <_init-0x187>
8048430: 00 5f 5f add %bl,0x5f(%edi)
8048433: 63 74 79 70 arpl %si,0x70(%ecx,%edi,2)
8048437: 65 gs
8048438: 5f pop %edi
8048439: 62 5f 6c bound %ebx,0x6c(%edi)
804843c: 6f outsl %ds:(%esi),(%dx)
804843d: 63 00 arpl %ax,(%eax)
804843f: 6f outsl %ds:(%esi),(%dx)
8048440: 70 74 jo 80484b6 <_init-0x166>
8048442: 61 popa
8048443: 72 67 jb 80484ac <_init-0x170>
8048445: 00 61 6c add %ah,0x6c(%ecx)
8048448: 61 popa
8048449: 72 6d jb 80484b8 <_init-0x164>
804844b: 00 73 79 add %dh,0x79(%ebx)
804844e: 73 74 jae 80484c4 <_init-0x158>
8048450: 65 gs
8048451: 6d insl (%dx),%es:(%edi)
8048452: 00 66 77 add %ah,0x77(%esi)
8048455: 72 69 jb 80484c0 <_init-0x15c>
8048457: 74 65 je 80484be <_init-0x15e>
8048459: 00 73 72 add %dh,0x72(%ebx)
804845c: 61 popa
804845d: 6e outsb %ds:(%esi),(%dx)
804845e: 64 6f outsl %fs:(%esi),(%dx)
8048460: 6d insl (%dx),%es:(%edi)
8048461: 00 66 70 add %ah,0x70(%esi)
8048464: 72 69 jb 80484cf <_init-0x14d>
8048466: 6e outsb %ds:(%esi),(%dx)
8048467: 74 66 je 80484cf <_init-0x14d>
8048469: 00 5f 49 add %bl,0x49(%edi)
804846c: 4f dec %edi
804846d: 5f pop %edi
804846e: 67 addr16
804846f: 65 gs
8048470: 74 63 je 80484d5 <_init-0x147>
8048472: 00 5f 5f add %bl,0x5f(%edi)
8048475: 6c insb (%dx),%es:(%edi)
8048476: 69 62 63 5f 73 74 61 imul $0x6174735f,0x63(%edx),%esp
804847d: 72 74 jb 80484f3 <_init-0x129>
804847f: 5f pop %edi
8048480: 6d insl (%dx),%es:(%edi)
8048481: 61 popa
8048482: 69 6e 00 47 4c 49 42 imul $0x42494c47,0x0(%esi),%ebp
8048489: 43 inc %ebx
804848a: 5f pop %edi
804848b: 32 2e xor (%esi),%ch
804848d: 31 00 xor %eax,(%eax)
804848f: 47 inc %edi
8048490: 4c dec %esp
8048491: 49 dec %ecx
8048492: 42 inc %edx
8048493: 43 inc %ebx
8048494: 5f pop %edi
8048495: 32 2e xor (%esi),%ch
8048497: 33 00 xor (%eax),%eax
8048499: 47 inc %edi
804849a: 4c dec %esp
804849b: 49 dec %ecx
804849c: 42 inc %edx
804849d: 43 inc %ebx
804849e: 5f pop %edi
804849f: 32 2e xor (%esi),%ch
80484a1: 30 00 xor %al,(%eax)
Disassembly of section .gnu.version:
080484a4 <.gnu.version>:
80484a4: 00 00 add %al,(%eax)
80484a6: 02 00 add (%eax),%al
80484a8: 02 00 add (%eax),%al
80484aa: 02 00 add (%eax),%al
80484ac: 02 00 add (%eax),%al
80484ae: 00 00 add %al,(%eax)
80484b0: 02 00 add (%eax),%al
80484b2: 02 00 add (%eax),%al
80484b4: 02 00 add (%eax),%al
80484b6: 02 00 add (%eax),%al
80484b8: 02 00 add (%eax),%al
80484ba: 03 00 add (%eax),%eax
80484bc: 04 00 add $0x0,%al
80484be: 02 00 add (%eax),%al
80484c0: 04 00 add $0x0,%al
80484c2: 02 00 add (%eax),%al
80484c4: 02 00 add (%eax),%al
80484c6: 02 00 add (%eax),%al
80484c8: 02 00 add (%eax),%al
80484ca: 02 00 add (%eax),%al
80484cc: 02 00 add (%eax),%al
80484ce: 02 00 add (%eax),%al
80484d0: 02 00 add (%eax),%al
80484d2: 02 00 add (%eax),%al
80484d4: 02 00 add (%eax),%al
80484d6: 02 00 add (%eax),%al
80484d8: 02 00 add (%eax),%al
80484da: 02 00 add (%eax),%al
80484dc: 02 00 add (%eax),%al
80484de: 01 00 add %eax,(%eax)
80484e0: 02 00 add (%eax),%al
80484e2: 02 00 add (%eax),%al
Disassembly of section .gnu.version_r:
080484e4 <.gnu.version_r>:
80484e4: 01 00 add %eax,(%eax)
80484e6: 03 00 add (%eax),%eax
80484e8: 10 00 adc %al,(%eax)
80484ea: 00 00 add %al,(%eax)
80484ec: 10 00 adc %al,(%eax)
80484ee: 00 00 add %al,(%eax)
80484f0: 00 00 add %al,(%eax)
80484f2: 00 00 add %al,(%eax)
80484f4: 11 69 69 adc %ebp,0x69(%ecx)
80484f7: 0d 00 00 04 00 or $0x40000,%eax
80484fc: f1 icebp
80484fd: 00 00 add %al,(%eax)
80484ff: 00 10 add %dl,(%eax)
8048501: 00 00 add %al,(%eax)
8048503: 00 13 add %dl,(%ebx)
8048505: 69 69 0d 00 00 03 00 imul $0x30000,0xd(%ecx),%ebp
804850c: fb sti
804850d: 00 00 add %al,(%eax)
804850f: 00 10 add %dl,(%eax)
8048511: 00 00 add %al,(%eax)
8048513: 00 10 add %dl,(%eax)
8048515: 69 69 0d 00 00 02 00 imul $0x20000,0xd(%ecx),%ebp
804851c: 05 01 00 00 00 add $0x1,%eax
8048521: 00 00 add %al,(%eax)
...
Disassembly of section .rel.dyn:
08048524 <.rel.dyn>:
8048524: dc a0 04 08 06 05 fsubl 0x5060804(%eax)
804852a: 00 00 add %al,(%eax)
804852c: 80 a1 04 08 05 1e 00 andb $0x0,0x1e050804(%ecx)
8048533: 00 84 a1 04 08 05 1f add %al,0x1f050804(%ecx,%eiz,4)
...
Disassembly of section .rel.plt:
0804853c <.rel.plt>:
804853c: ec in (%dx),%al
804853d: a0 04 08 07 01 mov 0x1070804,%al
8048542: 00 00 add %al,(%eax)
8048544: f0 a0 04 08 07 02 lock mov 0x2070804,%al
804854a: 00 00 add %al,(%eax)
804854c: f4 hlt
804854d: a0 04 08 07 03 mov 0x3070804,%al
8048552: 00 00 add %al,(%eax)
8048554: f8 clc
8048555: a0 04 08 07 04 mov 0x4070804,%al
804855a: 00 00 add %al,(%eax)
804855c: fc cld
804855d: a0 04 08 07 05 mov 0x5070804,%al
8048562: 00 00 add %al,(%eax)
8048564: 00 a1 04 08 07 06 add %ah,0x6070804(%ecx)
804856a: 00 00 add %al,(%eax)
804856c: 04 a1 add $0xa1,%al
804856e: 04 08 add $0x8,%al
8048570: 07 pop %es
8048571: 07 pop %es
8048572: 00 00 add %al,(%eax)
8048574: 08 a1 04 08 07 08 or %ah,0x8070804(%ecx)
804857a: 00 00 add %al,(%eax)
804857c: 0c a1 or $0xa1,%al
804857e: 04 08 add $0x8,%al
8048580: 07 pop %es
8048581: 09 00 or %eax,(%eax)
8048583: 00 10 add %dl,(%eax)
8048585: a1 04 08 07 0a mov 0xa070804,%eax
804858a: 00 00 add %al,(%eax)
804858c: 14 a1 adc $0xa1,%al
804858e: 04 08 add $0x8,%al
8048590: 07 pop %es
8048591: 0b 00 or (%eax),%eax
8048593: 00 18 add %bl,(%eax)
8048595: a1 04 08 07 0c mov 0xc070804,%eax
804859a: 00 00 add %al,(%eax)
804859c: 1c a1 sbb $0xa1,%al
804859e: 04 08 add $0x8,%al
80485a0: 07 pop %es
80485a1: 0d 00 00 20 a1 or $0xa1200000,%eax
80485a6: 04 08 add $0x8,%al
80485a8: 07 pop %es
80485a9: 0e push %cs
80485aa: 00 00 add %al,(%eax)
80485ac: 24 a1 and $0xa1,%al
80485ae: 04 08 add $0x8,%al
80485b0: 07 pop %es
80485b1: 0f 00 00 sldt (%eax)
80485b4: 28 a1 04 08 07 10 sub %ah,0x10070804(%ecx)
80485ba: 00 00 add %al,(%eax)
80485bc: 2c a1 sub $0xa1,%al
80485be: 04 08 add $0x8,%al
80485c0: 07 pop %es
80485c1: 11 00 adc %eax,(%eax)
80485c3: 00 30 add %dh,(%eax)
80485c5: a1 04 08 07 12 mov 0x12070804,%eax
80485ca: 00 00 add %al,(%eax)
80485cc: 34 a1 xor $0xa1,%al
80485ce: 04 08 add $0x8,%al
80485d0: 07 pop %es
80485d1: 13 00 adc (%eax),%eax
80485d3: 00 38 add %bh,(%eax)
80485d5: a1 04 08 07 14 mov 0x14070804,%eax
80485da: 00 00 add %al,(%eax)
80485dc: 3c a1 cmp $0xa1,%al
80485de: 04 08 add $0x8,%al
80485e0: 07 pop %es
80485e1: 15 00 00 40 a1 adc $0xa1400000,%eax
80485e6: 04 08 add $0x8,%al
80485e8: 07 pop %es
80485e9: 16 push %ss
80485ea: 00 00 add %al,(%eax)
80485ec: 44 inc %esp
80485ed: a1 04 08 07 17 mov 0x17070804,%eax
80485f2: 00 00 add %al,(%eax)
80485f4: 48 dec %eax
80485f5: a1 04 08 07 18 mov 0x18070804,%eax
80485fa: 00 00 add %al,(%eax)
80485fc: 4c dec %esp
80485fd: a1 04 08 07 19 mov 0x19070804,%eax
8048602: 00 00 add %al,(%eax)
8048604: 50 push %eax
8048605: a1 04 08 07 1a mov 0x1a070804,%eax
804860a: 00 00 add %al,(%eax)
804860c: 54 push %esp
804860d: a1 04 08 07 1b mov 0x1b070804,%eax
8048612: 00 00 add %al,(%eax)
8048614: 58 pop %eax
8048615: a1 04 08 07 1c mov 0x1c070804,%eax
...
Disassembly of section .init:
0804861c <_init>:
804861c: 55 push %ebp
804861d: 89 e5 mov %esp,%ebp
804861f: 83 ec 08 sub $0x8,%esp
8048622: e8 0d 02 00 00 call 8048834 <call_gmon_start>
8048627: e8 94 02 00 00 call 80488c0 <frame_dummy>
804862c: e8 1f 0e 00 00 call 8049450 <__do_global_ctors_aux>
8048631: c9 leave
8048632: c3 ret
Disassembly of section .plt:
08048634 <sprintf@plt-0x10>:
8048634: ff 35 e4 a0 04 08 pushl 0x804a0e4
804863a: ff 25 e8 a0 04 08 jmp *0x804a0e8
8048640: 00 00 add %al,(%eax)
...
08048644 <sprintf@plt>:
8048644: ff 25 ec a0 04 08 jmp *0x804a0ec
804864a: 68 00 00 00 00 push $0x0
804864f: e9 e0 ff ff ff jmp 8048634 <_init+0x18>
08048654 <srand@plt>:
8048654: ff 25 f0 a0 04 08 jmp *0x804a0f0
804865a: 68 08 00 00 00 push $0x8
804865f: e9 d0 ff ff ff jmp 8048634 <_init+0x18>
08048664 <random@plt>:
8048664: ff 25 f4 a0 04 08 jmp *0x804a0f4
804866a: 68 10 00 00 00 push $0x10
804866f: e9 c0 ff ff ff jmp 8048634 <_init+0x18>
08048674 <signal@plt>:
8048674: ff 25 f8 a0 04 08 jmp *0x804a0f8
804867a: 68 18 00 00 00 push $0x18
804867f: e9 b0 ff ff ff jmp 8048634 <_init+0x18>
08048684 <__gmon_start__@plt>:
8048684: ff 25 fc a0 04 08 jmp *0x804a0fc
804868a: 68 20 00 00 00 push $0x20
804868f: e9 a0 ff ff ff jmp 8048634 <_init+0x18>
08048694 <calloc@plt>:
8048694: ff 25 00 a1 04 08 jmp *0x804a100
804869a: 68 28 00 00 00 push $0x28
804869f: e9 90 ff ff ff jmp 8048634 <_init+0x18>
080486a4 <system@plt>:
80486a4: ff 25 04 a1 04 08 jmp *0x804a104
80486aa: 68 30 00 00 00 push $0x30
80486af: e9 80 ff ff ff jmp 8048634 <_init+0x18>
080486b4 <memset@plt>:
80486b4: ff 25 08 a1 04 08 jmp *0x804a108
80486ba: 68 38 00 00 00 push $0x38
80486bf: e9 70 ff ff ff jmp 8048634 <_init+0x18>
080486c4 <__libc_start_main@plt>:
80486c4: ff 25 0c a1 04 08 jmp *0x804a10c
80486ca: 68 40 00 00 00 push $0x40
80486cf: e9 60 ff ff ff jmp 8048634 <_init+0x18>
080486d4 <_IO_getc@plt>:
80486d4: ff 25 10 a1 04 08 jmp *0x804a110
80486da: 68 48 00 00 00 push $0x48
80486df: e9 50 ff ff ff jmp 8048634 <_init+0x18>
080486e4 <__ctype_b_loc@plt>:
80486e4: ff 25 14 a1 04 08 jmp *0x804a114
80486ea: 68 50 00 00 00 push $0x50
80486ef: e9 40 ff ff ff jmp 8048634 <_init+0x18>
080486f4 <fclose@plt>:
80486f4: ff 25 18 a1 04 08 jmp *0x804a118
80486fa: 68 58 00 00 00 push $0x58
80486ff: e9 30 ff ff ff jmp 8048634 <_init+0x18>
08048704 <getopt@plt>:
8048704: ff 25 1c a1 04 08 jmp *0x804a11c
804870a: 68 60 00 00 00 push $0x60
804870f: e9 20 ff ff ff jmp 8048634 <_init+0x18>
08048714 <fopen@plt>:
8048714: ff 25 20 a1 04 08 jmp *0x804a120
804871a: 68 68 00 00 00 push $0x68
804871f: e9 10 ff ff ff jmp 8048634 <_init+0x18>
08048724 <alarm@plt>:
8048724: ff 25 24 a1 04 08 jmp *0x804a124
804872a: 68 70 00 00 00 push $0x70
804872f: e9 00 ff ff ff jmp 8048634 <_init+0x18>
08048734 <strcpy@plt>:
8048734: ff 25 28 a1 04 08 jmp *0x804a128
804873a: 68 78 00 00 00 push $0x78
804873f: e9 f0 fe ff ff jmp 8048634 <_init+0x18>
08048744 <printf@plt>:
8048744: ff 25 2c a1 04 08 jmp *0x804a12c
804874a: 68 80 00 00 00 push $0x80
804874f: e9 e0 fe ff ff jmp 8048634 <_init+0x18>
08048754 <srandom@plt>:
8048754: ff 25 30 a1 04 08 jmp *0x804a130
804875a: 68 88 00 00 00 push $0x88
804875f: e9 d0 fe ff ff jmp 8048634 <_init+0x18>
08048764 <fwrite@plt>:
8048764: ff 25 34 a1 04 08 jmp *0x804a134
804876a: 68 90 00 00 00 push $0x90
804876f: e9 c0 fe ff ff jmp 8048634 <_init+0x18>
08048774 <fprintf@plt>:
8048774: ff 25 38 a1 04 08 jmp *0x804a138
804877a: 68 98 00 00 00 push $0x98
804877f: e9 b0 fe ff ff jmp 8048634 <_init+0x18>
08048784 <remove@plt>:
8048784: ff 25 3c a1 04 08 jmp *0x804a13c
804878a: 68 a0 00 00 00 push $0xa0
804878f: e9 a0 fe ff ff jmp 8048634 <_init+0x18>
08048794 <cuserid@plt>:
8048794: ff 25 40 a1 04 08 jmp *0x804a140
804879a: 68 a8 00 00 00 push $0xa8
804879f: e9 90 fe ff ff jmp 8048634 <_init+0x18>
080487a4 <fputc@plt>:
80487a4: ff 25 44 a1 04 08 jmp *0x804a144
80487aa: 68 b0 00 00 00 push $0xb0
80487af: e9 80 fe ff ff jmp 8048634 <_init+0x18>
080487b4 <puts@plt>:
80487b4: ff 25 48 a1 04 08 jmp *0x804a148
80487ba: 68 b8 00 00 00 push $0xb8
80487bf: e9 70 fe ff ff jmp 8048634 <_init+0x18>
080487c4 <rand@plt>:
80487c4: ff 25 4c a1 04 08 jmp *0x804a14c
80487ca: 68 c0 00 00 00 push $0xc0
80487cf: e9 60 fe ff ff jmp 8048634 <_init+0x18>
080487d4 <tempnam@plt>:
80487d4: ff 25 50 a1 04 08 jmp *0x804a150
80487da: 68 c8 00 00 00 push $0xc8
80487df: e9 50 fe ff ff jmp 8048634 <_init+0x18>
080487e4 <__strdup@plt>:
80487e4: ff 25 54 a1 04 08 jmp *0x804a154
80487ea: 68 d0 00 00 00 push $0xd0
80487ef: e9 40 fe ff ff jmp 8048634 <_init+0x18>
080487f4 <exit@plt>:
80487f4: ff 25 58 a1 04 08 jmp *0x804a158
80487fa: 68 d8 00 00 00 push $0xd8
80487ff: e9 30 fe ff ff jmp 8048634 <_init+0x18>
Disassembly of section .text:
08048810 <_start>:
8048810: 31 ed xor %ebp,%ebp
8048812: 5e pop %esi
8048813: 89 e1 mov %esp,%ecx
8048815: 83 e4 f0 and $0xfffffff0,%esp
8048818: 50 push %eax
8048819: 54 push %esp
804881a: 52 push %edx
804881b: 68 d0 93 04 08 push $0x80493d0
8048820: 68 e0 93 04 08 push $0x80493e0
8048825: 51 push %ecx
8048826: 56 push %esi
8048827: 68 90 90 04 08 push $0x8049090
804882c: e8 93 fe ff ff call 80486c4 <__libc_start_main@plt>
8048831: f4 hlt
8048832: 90 nop
8048833: 90 nop
08048834 <call_gmon_start>:
8048834: 55 push %ebp
8048835: 89 e5 mov %esp,%ebp
8048837: 53 push %ebx
8048838: 83 ec 04 sub $0x4,%esp
804883b: e8 00 00 00 00 call 8048840 <call_gmon_start+0xc>
8048840: 5b pop %ebx
8048841: 81 c3 a0 18 00 00 add $0x18a0,%ebx
8048847: 8b 93 fc ff ff ff mov -0x4(%ebx),%edx
804884d: 85 d2 test %edx,%edx
804884f: 74 05 je 8048856 <call_gmon_start+0x22>
8048851: e8 2e fe ff ff call 8048684 <__gmon_start__@plt>
8048856: 58 pop %eax
8048857: 5b pop %ebx
8048858: c9 leave
8048859: c3 ret
804885a: 90 nop
804885b: 90 nop
804885c: 90 nop
804885d: 90 nop
804885e: 90 nop
804885f: 90 nop
08048860 <__do_global_dtors_aux>:
8048860: 55 push %ebp
8048861: 89 e5 mov %esp,%ebp
8048863: 53 push %ebx
8048864: 83 ec 04 sub $0x4,%esp
8048867: 80 3d 8c a1 04 08 00 cmpb $0x0,0x804a18c
804886e: 75 3f jne 80488af <__do_global_dtors_aux+0x4f>
8048870: b8 0c a0 04 08 mov $0x804a00c,%eax
8048875: 2d 08 a0 04 08 sub $0x804a008,%eax
804887a: c1 f8 02 sar $0x2,%eax
804887d: 8d 58 ff lea -0x1(%eax),%ebx
8048880: a1 88 a1 04 08 mov 0x804a188,%eax
8048885: 39 c3 cmp %eax,%ebx
8048887: 76 1f jbe 80488a8 <__do_global_dtors_aux+0x48>
8048889: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
8048890: 83 c0 01 add $0x1,%eax
8048893: a3 88 a1 04 08 mov %eax,0x804a188
8048898: ff 14 85 08 a0 04 08 call *0x804a008(,%eax,4)
804889f: a1 88 a1 04 08 mov 0x804a188,%eax
80488a4: 39 c3 cmp %eax,%ebx
80488a6: 77 e8 ja 8048890 <__do_global_dtors_aux+0x30>
80488a8: c6 05 8c a1 04 08 01 movb $0x1,0x804a18c
80488af: 83 c4 04 add $0x4,%esp
80488b2: 5b pop %ebx
80488b3: 5d pop %ebp
80488b4: c3 ret
80488b5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80488b9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
080488c0 <frame_dummy>:
80488c0: 55 push %ebp
80488c1: 89 e5 mov %esp,%ebp
80488c3: 83 ec 08 sub $0x8,%esp
80488c6: a1 10 a0 04 08 mov 0x804a010,%eax
80488cb: 85 c0 test %eax,%eax
80488cd: 74 12 je 80488e1 <frame_dummy+0x21>
80488cf: b8 00 00 00 00 mov $0x0,%eax
80488d4: 85 c0 test %eax,%eax
80488d6: 74 09 je 80488e1 <frame_dummy+0x21>
80488d8: c7 04 24 10 a0 04 08 movl $0x804a010,(%esp)
80488df: ff d0 call *%eax
80488e1: c9 leave
80488e2: c3 ret
80488e3: 90 nop
80488e4: 90 nop
80488e5: 90 nop
80488e6: 90 nop
80488e7: 90 nop
80488e8: 90 nop
80488e9: 90 nop
80488ea: 90 nop
80488eb: 90 nop
80488ec: 90 nop
80488ed: 90 nop
80488ee: 90 nop
80488ef: 90 nop
080488f0 <save_char>:
80488f0: 8b 0d c0 a1 04 08 mov 0x804a1c0,%ecx
80488f6: 55 push %ebp
80488f7: 89 e5 mov %esp,%ebp
80488f9: 53 push %ebx
80488fa: 89 c3 mov %eax,%ebx
80488fc: 81 f9 ff 03 00 00 cmp $0x3ff,%ecx
8048902: 7f 37 jg 804893b <save_char+0x4b>
8048904: c0 f8 04 sar $0x4,%al
8048907: 83 e0 0f and $0xf,%eax
804890a: 0f b6 80 2c 9a 04 08 movzbl 0x8049a2c(%eax),%eax
8048911: 8d 14 49 lea (%ecx,%ecx,2),%edx
8048914: c6 82 e2 a1 04 08 20 movb $0x20,0x804a1e2(%edx)
804891b: 88 82 e0 a1 04 08 mov %al,0x804a1e0(%edx)
8048921: 89 d8 mov %ebx,%eax
8048923: 83 e0 0f and $0xf,%eax
8048926: 0f b6 80 2c 9a 04 08 movzbl 0x8049a2c(%eax),%eax
804892d: 88 82 e1 a1 04 08 mov %al,0x804a1e1(%edx)
8048933: 8d 41 01 lea 0x1(%ecx),%eax
8048936: a3 c0 a1 04 08 mov %eax,0x804a1c0
804893b: 5b pop %ebx
804893c: 5d pop %ebp
804893d: c3 ret
804893e: 66 90 xchg %ax,%ax
08048940 <entry_check>:
8048940: 55 push %ebp
8048941: 89 e5 mov %esp,%ebp
8048943: 8b 45 08 mov 0x8(%ebp),%eax
8048946: 5d pop %ebp
8048947: a3 64 a1 04 08 mov %eax,0x804a164
804894c: c3 ret
804894d: 8d 76 00 lea 0x0(%esi),%esi
08048950 <illegalhandler>:
8048950: 55 push %ebp
8048951: 89 e5 mov %esp,%ebp
8048953: 83 ec 08 sub $0x8,%esp
8048956: c7 04 24 a0 94 04 08 movl $0x80494a0,(%esp)
804895d: e8 52 fe ff ff call 80487b4 <puts@plt>
8048962: c7 04 24 14 98 04 08 movl $0x8049814,(%esp)
8048969: e8 46 fe ff ff call 80487b4 <puts@plt>
804896e: c7 04 24 00 00 00 00 movl $0x0,(%esp)
8048975: e8 7a fe ff ff call 80487f4 <exit@plt>
804897a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
08048980 <alarmhandler>:
8048980: 55 push %ebp
8048981: 89 e5 mov %esp,%ebp
8048983: 83 ec 08 sub $0x8,%esp
8048986: a1 68 a1 04 08 mov 0x804a168,%eax
804898b: c7 04 24 cc 94 04 08 movl $0x80494cc,(%esp)
8048992: 89 44 24 04 mov %eax,0x4(%esp)
8048996: e8 a9 fd ff ff call 8048744 <printf@plt>
804899b: c7 04 24 14 98 04 08 movl $0x8049814,(%esp)
80489a2: e8 0d fe ff ff call 80487b4 <puts@plt>
80489a7: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80489ae: e8 41 fe ff ff call 80487f4 <exit@plt>
80489b3: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
80489b9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
080489c0 <seghandler>:
80489c0: 55 push %ebp
80489c1: 89 e5 mov %esp,%ebp
80489c3: 83 ec 08 sub $0x8,%esp
80489c6: c7 04 24 00 95 04 08 movl $0x8049500,(%esp)
80489cd: e8 e2 fd ff ff call 80487b4 <puts@plt>
80489d2: c7 04 24 14 98 04 08 movl $0x8049814,(%esp)
80489d9: e8 d6 fd ff ff call 80487b4 <puts@plt>
80489de: c7 04 24 00 00 00 00 movl $0x0,(%esp)
80489e5: e8 0a fe ff ff call 80487f4 <exit@plt>
80489ea: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
080489f0 <bushandler>:
80489f0: 55 push %ebp
80489f1: 89 e5 mov %esp,%ebp
80489f3: 83 ec 08 sub $0x8,%esp
80489f6: c7 04 24 28 95 04 08 movl $0x8049528,(%esp)
80489fd: e8 b2 fd ff ff call 80487b4 <puts@plt>
8048a02: c7 04 24 14 98 04 08 movl $0x8049814,(%esp)
8048a09: e8 a6 fd ff ff call 80487b4 <puts@plt>
8048a0e: c7 04 24 00 00 00 00 movl $0x0,(%esp)
8048a15: e8 da fd ff ff call 80487f4 <exit@plt>
8048a1a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
08048a20 <usage>:
8048a20: 55 push %ebp
8048a21: 89 e5 mov %esp,%ebp
8048a23: 83 ec 08 sub $0x8,%esp
8048a26: 89 44 24 04 mov %eax,0x4(%esp)
8048a2a: c7 04 24 48 95 04 08 movl $0x8049548,(%esp)
8048a31: e8 0e fd ff ff call 8048744 <printf@plt>
8048a36: c7 04 24 2a 98 04 08 movl $0x804982a,(%esp)
8048a3d: e8 72 fd ff ff call 80487b4 <puts@plt>
8048a42: c7 04 24 48 98 04 08 movl $0x8049848,(%esp)
8048a49: e8 66 fd ff ff call 80487b4 <puts@plt>
8048a4e: c7 04 24 6c 95 04 08 movl $0x804956c,(%esp)
8048a55: e8 5a fd ff ff call 80487b4 <puts@plt>
8048a5a: c7 04 24 94 95 04 08 movl $0x8049594,(%esp)
8048a61: e8 4e fd ff ff call 80487b4 <puts@plt>
8048a66: c7 04 24 00 00 00 00 movl $0x0,(%esp)
8048a6d: e8 82 fd ff ff call 80487f4 <exit@plt>
8048a72: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
8048a79: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
08048a80 <validate>:
8048a80: 55 push %ebp
8048a81: 89 e5 mov %esp,%ebp
8048a83: 81 ec 48 01 00 00 sub $0x148,%esp
8048a89: 8b 0d b0 a1 04 08 mov 0x804a1b0,%ecx
8048a8f: 89 5d f4 mov %ebx,-0xc(%ebp)
8048a92: 8b 5d 08 mov 0x8(%ebp),%ebx
8048a95: 89 75 f8 mov %esi,-0x8(%ebp)
8048a98: 89 7d fc mov %edi,-0x4(%ebp)
8048a9b: 85 c9 test %ecx,%ecx
8048a9d: 0f 84 d8 01 00 00 je 8048c7b <validate+0x1fb>
8048aa3: 83 fb 04 cmp $0x4,%ebx
8048aa6: 77 58 ja 8048b00 <validate+0x80>
8048aa8: 3b 1d 64 a1 04 08 cmp 0x804a164,%ebx
8048aae: 74 20 je 8048ad0 <validate+0x50>
8048ab0: c7 04 24 0c 96 04 08 movl $0x804960c,(%esp)
8048ab7: e8 f8 fc ff ff call 80487b4 <puts@plt>
8048abc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
8048ac0: 8b 5d f4 mov -0xc(%ebp),%ebx
8048ac3: 8b 75 f8 mov -0x8(%ebp),%esi
8048ac6: 8b 7d fc mov -0x4(%ebp),%edi
8048ac9: 89 ec mov %ebp,%esp
8048acb: 5d pop %ebp
8048acc: c3 ret
8048acd: 8d 76 00 lea 0x0(%esi),%esi
8048ad0: 8b 04 9d 6c a1 04 08 mov 0x804a16c(,%ebx,4),%eax
8048ad7: c7 05 b8 a1 04 08 01 movl $0x1,0x804a1b8
8048ade: 00 00 00
8048ae1: 83 e8 01 sub $0x1,%eax
8048ae4: 85 c0 test %eax,%eax
8048ae6: 89 04 9d 6c a1 04 08 mov %eax,0x804a16c(,%ebx,4)
8048aed: 7e 21 jle 8048b10 <validate+0x90>
8048aef: c7 04 24 5f 98 04 08 movl $0x804985f,(%esp)
8048af6: e8 b9 fc ff ff call 80487b4 <puts@plt>
8048afb: eb c3 jmp 8048ac0 <validate+0x40>
8048afd: 8d 76 00 lea 0x0(%esi),%esi
8048b00: c7 04 24 e4 95 04 08 movl $0x80495e4,(%esp)
8048b07: e8 a8 fc ff ff call 80487b4 <puts@plt>
8048b0c: eb b2 jmp 8048ac0 <validate+0x40>
8048b0e: 66 90 xchg %ax,%ax
8048b10: 8b 15 b4 a1 04 08 mov 0x804a1b4,%edx
8048b16: 85 d2 test %edx,%edx
8048b18: 0f 85 7f 01 00 00 jne 8048c9d <validate+0x21d>
8048b1e: a1 60 a1 04 08 mov 0x804a160,%eax
8048b23: 85 c0 test %eax,%eax
8048b25: 0f 84 61 01 00 00 je 8048c8c <validate+0x20c>
8048b2b: c7 44 24 04 70 98 04 movl $0x8049870,0x4(%esp)
8048b32: 08
8048b33: c7 04 24 00 00 00 00 movl $0x0,(%esp)
8048b3a: e8 95 fc ff ff call 80487d4 <tempnam@plt>
8048b3f: c7 44 24 04 77 98 04 movl $0x8049877,0x4(%esp)
8048b46: 08
8048b47: 89 85 e0 fe ff ff mov %eax,-0x120(%ebp)
8048b4d: 89 04 24 mov %eax,(%esp)
8048b50: e8 bf fb ff ff call 8048714 <fopen@plt>