Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 0x080485f9 <Init+0>: push %ebp
- 0x080485fa <Init+1>: mov %esp,%ebp
- 0x080485fc <Init+3>: push %edi
- 0x080485fd <Init+4>: push %esi
- 0x080485fe <Init+5>: sub $0x2b0,%esp
- 0x08048604 <Init+11>: cld
- 0x08048605 <Init+12>: movl $0x80488c0,0x4(%esp)
- 0x0804860d <Init+20>: mov 0xc(%ebp),%eax
- 0x08048610 <Init+23>: mov %eax,(%esp)
- 0x08048613 <Init+26>: call 0x804848c <fopen@plt>
- 0x08048618 <Init+31>: mov %eax,-0xc(%ebp)
- 0x0804861b <Init+34>: cmpl $0x0,-0xc(%ebp)
- 0x0804861f <Init+38>: jne 0x8048639 <Init+64>
- 0x08048621 <Init+40>: movl $0x80488c2,(%esp)
- 0x08048628 <Init+47>: call 0x804846c <perror@plt>
- 0x0804862d <Init+52>: movl $0x0,(%esp)
- 0x08048634 <Init+59>: call 0x80484cc <exit@plt>
- 0x08048639 <Init+64>: movl $0x88,0x8(%esp)
- 0x08048641 <Init+72>: movl $0x0,0x4(%esp)
- 0x08048649 <Init+80>: lea -0x94(%ebp),%eax
- 0x0804864f <Init+86>: mov %eax,(%esp)
- 0x08048652 <Init+89>: call 0x804844c <memset@plt>
- 0x08048657 <Init+94>: call 0x804841c <getpid@plt>
- 0x0804865c <Init+99>: mov %eax,-0x10(%ebp)
- 0x0804865f <Init+102>: call 0x80484ac <getuid@plt>
- 0x08048664 <Init+107>: mov %eax,-0x14(%ebp)
- 0x08048667 <Init+110>: jmp 0x80486b4 <Init+187>
- 0x08048669 <Init+112>: lea -0x295(%ebp),%eax
- 0x0804866f <Init+118>: mov %eax,(%esp)
- 0x08048672 <Init+121>: call 0x80485be <chomp>
- 0x08048677 <Init+126>: movl $0x9,0x8(%esp)
- 0x0804867f <Init+134>: movl $0x80488cd,0x4(%esp)
- 0x08048687 <Init+142>: lea -0x295(%ebp),%eax
- 0x0804868d <Init+148>: mov %eax,(%esp)
- 0x08048690 <Init+151>: call 0x80484bc <strncmp@plt>
- 0x08048695 <Init+156>: test %eax,%eax
- 0x08048697 <Init+158>: jne 0x80486b4 <Init+187>
- 0x08048699 <Init+160>: lea -0x295(%ebp),%eax
- 0x0804869f <Init+166>: add $0x9,%eax
- 0x080486a2 <Init+169>: mov %eax,0x4(%esp)
- 0x080486a6 <Init+173>: lea -0x94(%ebp),%eax
- 0x080486ac <Init+179>: mov %eax,(%esp)
- 0x080486af <Init+182>: call 0x8048594 <cpstr>
- 0x080486b4 <Init+187>: mov -0xc(%ebp),%eax
- 0x080486b7 <Init+190>: mov %eax,0x8(%esp)
- 0x080486bb <Init+194>: movl $0x200,0x4(%esp)
- 0x080486c3 <Init+202>: lea -0x295(%ebp),%eax
- 0x080486c9 <Init+208>: mov %eax,(%esp)
- 0x080486cc <Init+211>: call 0x804843c <fgets@plt>
- 0x080486d1 <Init+216>: test %eax,%eax
- 0x080486d3 <Init+218>: jne 0x8048669 <Init+112>
- 0x080486d5 <Init+220>: mov -0xc(%ebp),%eax
- 0x080486d8 <Init+223>: mov %eax,(%esp)
- 0x080486db <Init+226>: call 0x804847c <fclose@plt>
- 0x080486e0 <Init+231>: mov 0x8(%ebp),%eax
- 0x080486e3 <Init+234>: mov %eax,-0x29c(%ebp)
- 0x080486e9 <Init+240>: lea -0x94(%ebp),%ecx
- 0x080486ef <Init+246>: mov %ecx,-0x2a0(%ebp)
- 0x080486f5 <Init+252>: movl $0x22,-0x2a4(%ebp)
- 0x080486ff <Init+262>: mov -0x29c(%ebp),%edi
- 0x08048705 <Init+268>: mov -0x2a0(%ebp),%esi
- 0x0804870b <Init+274>: mov -0x2a4(%ebp),%ecx
- 0x08048711 <Init+280>: rep movsl %ds:(%esi),%es:(%edi)
- 0x08048713 <Init+282>: mov 0x8(%ebp),%eax
- 0x08048716 <Init+285>: add $0x2b0,%esp
- 0x0804871c <Init+291>: pop %esi
- 0x0804871d <Init+292>: pop %edi
- 0x0804871e <Init+293>: pop %ebp
- 0x0804871f <Init+294>: ret $0x4
Add Comment
Please, Sign In to add comment