404504:	8b 50 f8             	mov    -0x8(%eax),%edx
404507:	42                   	inc    %edx
404508:	7e 04                	jle    0x40450e
40450a:	f0 ff 40 f8          	lock incl -0x8(%eax)
40450e:	c3                   	ret
40450f:	90                   	nop
404510:	85 c0                	test   %eax,%eax
404512:	74 02                	je     0x404516
404514:	c3                   	ret
404515:	00 b8 15 45 40 00    	add    %bh,0x404515(%eax)
40451b:	c3                   	ret
40451c:	8b 10                	mov    (%eax),%edx
40451e:	85 d2                	test   %edx,%edx
404520:	74 38                	je     0x40455a
404522:	8b 4a f8             	mov    -0x8(%edx),%ecx
404525:	49                   	dec    %ecx
404526:	74 32                	je     0x40455a
404528:	53                   	push   %ebx
404529:	89 c3                	mov    %eax,%ebx
40452b:	8b 42 fc             	mov    -0x4(%edx),%eax
40452e:	e8 e1 fb ff ff       	call   0x404114
404533:	89 c2                	mov    %eax,%edx
404535:	8b 03                	mov    (%ebx),%eax
404537:	89 13                	mov    %edx,(%ebx)
404539:	50                   	push   %eax
40453a:	8b 48 fc             	mov    -0x4(%eax),%ecx
40453d:	e8 ae e3 ff ff       	call   0x4028f0
404542:	58                   	pop    %eax
404543:	8b 48 f8             	mov    -0x8(%eax),%ecx
404546:	49                   	dec    %ecx
404547:	7c 0e                	jl     0x404557
404549:	f0 ff 48 f8          	lock decl -0x8(%eax)
40454d:	75 08                	jne    0x404557
40454f:	8d 40 f8             	lea    -0x8(%eax),%eax
404552:	e8 bd e1 ff ff       	call   0x402714
404557:	8b 13                	mov    (%ebx),%edx
404559:	5b                   	pop    %ebx
40455a:	89 d0                	mov    %edx,%eax
40455c:	c3                   	ret
40455d:	8d 40 00             	lea    0x0(%eax),%eax
404560:	e9 b7 ff ff ff       	jmp    0x40451c
404565:	c3                   	ret
404566:	8b c0                	mov    %eax,%eax
404568:	e9 af ff ff ff       	jmp    0x40451c
40456d:	c3                   	ret
40456e:	8b c0                	mov    %eax,%eax
404570:	53                   	push   %ebx
404571:	85 c0                	test   %eax,%eax
404573:	74 2d                	je     0x4045a2
404575:	8b 58 fc             	mov    -0x4(%eax),%ebx
404578:	85 db                	test   %ebx,%ebx
40457a:	74 26                	je     0x4045a2
40457c:	4a                   	dec    %edx
40457d:	7c 1b                	jl     0x40459a
40457f:	39 da                	cmp    %ebx,%edx
404581:	7d 1f                	jge    0x4045a2
404583:	29 d3                	sub    %edx,%ebx
404585:	85 c9                	test   %ecx,%ecx
404587:	7c 19                	jl     0x4045a2
404589:	39 d9                	cmp    %ebx,%ecx
40458b:	7f 11                	jg     0x40459e
40458d:	01 c2                	add    %eax,%edx
40458f:	8b 44 24 08          	mov    0x8(%esp),%eax
404593:	e8 a8 fb ff ff       	call   0x404140
404598:	eb 11                	jmp    0x4045ab
40459a:	31 d2                	xor    %edx,%edx
40459c:	eb e5                	jmp    0x404583
40459e:	89 d9                	mov    %ebx,%ecx
4045a0:	eb eb                	jmp    0x40458d
4045a2:	8b 44 24 08          	mov    0x8(%esp),%eax
4045a6:	e8 a5 fa ff ff       	call   0x404050
4045ab:	5b                   	pop    %ebx
4045ac:	c2 04 00             	ret    $0x4
4045af:	c3                   	ret
4045b0:	53                   	push   %ebx
4045b1:	56                   	push   %esi
4045b2:	57                   	push   %edi
4045b3:	89 c3                	mov    %eax,%ebx
4045b5:	89 d6                	mov    %edx,%esi
4045b7:	89 cf                	mov    %ecx,%edi
4045b9:	e8 a2 ff ff ff       	call   0x404560
4045be:	8b 13                	mov    (%ebx),%edx
4045c0:	85 d2                	test   %edx,%edx
4045c2:	74 30                	je     0x4045f4
4045c4:	8b 4a fc             	mov    -0x4(%edx),%ecx
4045c7:	4e                   	dec    %esi
4045c8:	7c 2a                	jl     0x4045f4
4045ca:	39 ce                	cmp    %ecx,%esi
4045cc:	7d 26                	jge    0x4045f4
4045ce:	85 ff                	test   %edi,%edi
4045d0:	7e 22                	jle    0x4045f4
4045d2:	29 f1                	sub    %esi,%ecx
4045d4:	39 cf                	cmp    %ecx,%edi
4045d6:	7e 02                	jle    0x4045da
4045d8:	89 cf                	mov    %ecx,%edi
4045da:	29 f9                	sub    %edi,%ecx
4045dc:	01 f2                	add    %esi,%edx
4045de:	8d 04 17             	lea    (%edi,%edx,1),%eax
4045e1:	e8 0a e3 ff ff       	call   0x4028f0
4045e6:	8b 13                	mov    (%ebx),%edx
4045e8:	89 d8                	mov    %ebx,%eax
4045ea:	8b 52 fc             	mov    -0x4(%edx),%edx
4045ed:	29 fa                	sub    %edi,%edx
4045ef:	e8 a8 00 00 00       	call   0x40469c
4045f4:	5f                   	pop    %edi
4045f5:	5e                   	pop    %esi
4045f6:	5b                   	pop    %ebx
4045f7:	c3                   	ret
4045f8:	85 c0                	test   %eax,%eax
4045fa:	74 56                	je     0x404652
4045fc:	53                   	push   %ebx
4045fd:	56                   	push   %esi
4045fe:	57                   	push   %edi
4045ff:	55                   	push   %ebp
404600:	89 c3                	mov    %eax,%ebx
404602:	89 d6                	mov    %edx,%esi
404604:	89 cf                	mov    %ecx,%edi
404606:	8b 12                	mov    (%edx),%edx
404608:	52                   	push   %edx
404609:	85 d2                	test   %edx,%edx
40460b:	74 03                	je     0x404610
40460d:	8b 52 fc             	mov    -0x4(%edx),%edx
404610:	4f                   	dec    %edi
404611:	7d 02                	jge    0x404615
404613:	31 ff                	xor    %edi,%edi
404615:	39 d7                	cmp    %edx,%edi
404617:	7e 02                	jle    0x40461b
404619:	89 d7                	mov    %edx,%edi
40461b:	8b 6b fc             	mov    -0x4(%ebx),%ebp
40461e:	89 f0                	mov    %esi,%eax
404620:	01 ea                	add    %ebp,%edx
404622:	e8 75 00 00 00       	call   0x40469c
404627:	58                   	pop    %eax
404628:	39 d8                	cmp    %ebx,%eax
40462a:	75 02                	jne    0x40462e
40462c:	8b 1e                	mov    (%esi),%ebx
40462e:	8b 06                	mov    (%esi),%eax
404630:	8d 14 2f             	lea    (%edi,%ebp,1),%edx
404633:	8b 48 fc             	mov    -0x4(%eax),%ecx
404636:	29 d1                	sub    %edx,%ecx
404638:	01 c2                	add    %eax,%edx
40463a:	01 f8                	add    %edi,%eax
40463c:	e8 af e2 ff ff       	call   0x4028f0
404641:	89 d8                	mov    %ebx,%eax
404643:	8b 16                	mov    (%esi),%edx
404645:	89 e9                	mov    %ebp,%ecx
404647:	01 fa                	add    %edi,%edx
404649:	e8 a2 e2 ff ff       	call   0x4028f0
40464e:	5d                   	pop    %ebp
40464f:	5f                   	pop    %edi
404650:	5e                   	pop    %esi
404651:	5b                   	pop    %ebx
404652:	c3                   	ret
404653:	90                   	nop
404654:	85 c0                	test   %eax,%eax
404656:	74 40                	je     0x404698
404658:	85 d2                	test   %edx,%edx
40465a:	74 31                	je     0x40468d
40465c:	53                   	push   %ebx
40465d:	56                   	push   %esi
40465e:	57                   	push   %edi
40465f:	89 c6                	mov    %eax,%esi
404661:	89 d7                	mov    %edx,%edi
404663:	8b 4f fc             	mov    -0x4(%edi),%ecx
404666:	57                   	push   %edi
404667:	8b 56 fc             	mov    -0x4(%esi),%edx
40466a:	4a                   	dec    %edx
40466b:	78 1b                	js     0x404688
40466d:	8a 06                	mov    (%esi),%al
40466f:	46                   	inc    %esi
404670:	29 d1                	sub    %edx,%ecx
404672:	7e 14                	jle    0x404688
404674:	f2 ae                	repnz scas %es:(%edi),%al
404676:	75 10                	jne    0x404688
404678:	89 cb                	mov    %ecx,%ebx
40467a:	56                   	push   %esi
40467b:	57                   	push   %edi
40467c:	89 d1                	mov    %edx,%ecx
40467e:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)
404680:	5f                   	pop    %edi
404681:	5e                   	pop    %esi
404682:	74 0c                	je     0x404690
404684:	89 d9                	mov    %ebx,%ecx
404686:	eb ec                	jmp    0x404674
404688:	5a                   	pop    %edx
404689:	31 c0                	xor    %eax,%eax
40468b:	eb 08                	jmp    0x404695
40468d:	31 c0                	xor    %eax,%eax
40468f:	c3                   	ret
404690:	5a                   	pop    %edx
404691:	89 f8                	mov    %edi,%eax
404693:	29 d0                	sub    %edx,%eax
404695:	5f                   	pop    %edi
404696:	5e                   	pop    %esi
404697:	5b                   	pop    %ebx
404698:	c3                   	ret
404699:	8d 40 00             	lea    0x0(%eax),%eax
40469c:	53                   	push   %ebx
40469d:	56                   	push   %esi
40469e:	57                   	push   %edi
40469f:	89 c3                	mov    %eax,%ebx
4046a1:	89 d6                	mov    %edx,%esi
4046a3:	31 ff                	xor    %edi,%edi
4046a5:	85 d2                	test   %edx,%edx
4046a7:	7e 48                	jle    0x4046f1
4046a9:	8b 03                	mov    (%ebx),%eax
4046ab:	85 c0                	test   %eax,%eax
4046ad:	74 23                	je     0x4046d2
4046af:	83 78 f8 01          	cmpl   $0x1,-0x8(%eax)
4046b3:	75 1d                	jne    0x4046d2
4046b5:	83 e8 08             	sub    $0x8,%eax
4046b8:	83 c2 09             	add    $0x9,%edx
4046bb:	50                   	push   %eax
4046bc:	89 e0                	mov    %esp,%eax
4046be:	e8 71 e0 ff ff       	call   0x402734
4046c3:	58                   	pop    %eax
4046c4:	83 c0 08             	add    $0x8,%eax
4046c7:	89 03                	mov    %eax,(%ebx)
4046c9:	89 70 fc             	mov    %esi,-0x4(%eax)
4046cc:	c6 04 06 00          	movb   $0x0,(%esi,%eax,1)
4046d0:	eb 28                	jmp    0x4046fa
4046d2:	89 d0                	mov    %edx,%eax
4046d4:	e8 3b fa ff ff       	call   0x404114
4046d9:	89 c7                	mov    %eax,%edi
4046db:	8b 03                	mov    (%ebx),%eax
4046dd:	85 c0                	test   %eax,%eax
4046df:	74 10                	je     0x4046f1
4046e1:	89 fa                	mov    %edi,%edx
4046e3:	8b 48 fc             	mov    -0x4(%eax),%ecx
4046e6:	39 f1                	cmp    %esi,%ecx
4046e8:	7c 02                	jl     0x4046ec
4046ea:	89 f1                	mov    %esi,%ecx
4046ec:	e8 ff e1 ff ff       	call   0x4028f0
4046f1:	89 d8                	mov    %ebx,%eax
4046f3:	e8 58 f9 ff ff       	call   0x404050
4046f8:	89 3b                	mov    %edi,(%ebx)
4046fa:	5f                   	pop    %edi
4046fb:	5e                   	pop    %esi
4046fc:	5b                   	pop    %ebx
4046fd:	c3                   	ret
4046fe:	8b c0                	mov    %eax,%eax
404700:	b0 01                	mov    $0x1,%al
404702:	e9 49 e1 ff ff       	jmp    0x402850
404707:	c3                   	ret
404708:	85 c0                	test   %eax,%eax
40470a:	74 10                	je     0x40471c
40470c:	50                   	push   %eax
40470d:	6a 00                	push   $0x0
40470f:	e8 f8 cb ff ff       	call   0x40130c
404714:	85 c0                	test   %eax,%eax
404716:	0f 84 e4 ff ff ff    	je     0x404700
40471c:	c3                   	ret
40471d:	8d 40 00             	lea    0x0(%eax),%eax
404720:	87 10                	xchg   %edx,(%eax)
404722:	85 d2                	test   %edx,%edx
404724:	74 06                	je     0x40472c
404726:	52                   	push   %edx
404727:	e8 f0 cb ff ff       	call   0x40131c
40472c:	c3                   	ret
40472d:	8d 40 00             	lea    0x0(%eax),%eax
404730:	8b 10                	mov    (%eax),%edx
404732:	85 d2                	test   %edx,%edx
404734:	74 0e                	je     0x404744
404736:	c7 00 00 00 00 00    	movl   $0x0,(%eax)
40473c:	50                   	push   %eax
40473d:	52                   	push   %edx
40473e:	e8 d9 cb ff ff       	call   0x40131c
404743:	58                   	pop    %eax
404744:	c3                   	ret
404745:	8d 40 00             	lea    0x0(%eax),%eax
404748:	53                   	push   %ebx
404749:	56                   	push   %esi
40474a:	89 c3                	mov    %eax,%ebx
40474c:	89 d6                	mov    %edx,%esi
40474e:	8b 03                	mov    (%ebx),%eax
404750:	85 c0                	test   %eax,%eax
404752:	74 0c                	je     0x404760
404754:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)
40475a:	50                   	push   %eax
40475b:	e8 bc cb ff ff       	call   0x40131c
404760:	83 c3 04             	add    $0x4,%ebx
404763:	4e                   	dec    %esi
404764:	75 e8                	jne    0x40474e
404766:	5e                   	pop    %esi
404767:	5b                   	pop    %ebx
404768:	c3                   	ret
404769:	8d 40 00             	lea    0x0(%eax),%eax
40476c:	85 d2                	test   %edx,%edx
40476e:	0f 84 bc ff ff ff    	je     0x404730
404774:	8b 4a fc             	mov    -0x4(%edx),%ecx
404777:	d1 e9                	shr    $1,%ecx
404779:	0f 84 b1 ff ff ff    	je     0x404730
40477f:	51                   	push   %ecx
404780:	52                   	push   %edx
404781:	50                   	push   %eax
404782:	e8 8d cb ff ff       	call   0x401314
404787:	85 c0                	test   %eax,%eax
404789:	0f 84 71 ff ff ff    	je     0x404700
40478f:	c3                   	ret
404790:	53                   	push   %ebx
404791:	56                   	push   %esi
404792:	57                   	push   %edi
404793:	55                   	push   %ebp
404794:	81 c4 04 f0 ff ff    	add    $0xfffff004,%esp
40479a:	50                   	push   %eax
40479b:	83 c4 fc             	add    $0xfffffffc,%esp
40479e:	8b f1                	mov    %ecx,%esi
4047a0:	89 14 24             	mov    %edx,(%esp)
4047a3:	8b f8                	mov    %eax,%edi
4047a5:	85 f6                	test   %esi,%esi
4047a7:	7f 09                	jg     0x4047b2
4047a9:	8b c7                	mov    %edi,%eax
4047ab:	e8 80 ff ff ff       	call   0x404730
4047b0:	eb 5d                	jmp    0x40480f
4047b2:	8d 6e 01             	lea    0x1(%esi),%ebp
4047b5:	81 fd ff 07 00 00    	cmp    $0x7ff,%ebp
4047bb:	7d 28                	jge    0x4047e5
4047bd:	56                   	push   %esi
4047be:	8d 44 24 08          	lea    0x8(%esp),%eax
4047c2:	8b 4c 24 04          	mov    0x4(%esp),%ecx
4047c6:	ba ff 07 00 00       	mov    $0x7ff,%edx
4047cb:	e8 c0 f9 ff ff       	call   0x404190
4047d0:	8b d8                	mov    %eax,%ebx
4047d2:	85 db                	test   %ebx,%ebx
4047d4:	7e 0f                	jle    0x4047e5
4047d6:	8d 54 24 04          	lea    0x4(%esp),%edx
4047da:	8b c7                	mov    %edi,%eax
4047dc:	8b cb                	mov    %ebx,%ecx
4047de:	e8 39 00 00 00       	call   0x40481c
4047e3:	eb 2a                	jmp    0x40480f
4047e5:	8b dd                	mov    %ebp,%ebx
4047e7:	8b c7                	mov    %edi,%eax
4047e9:	8b d3                	mov    %ebx,%edx
4047eb:	e8 88 01 00 00       	call   0x404978
4047f0:	56                   	push   %esi
4047f1:	8b 07                	mov    (%edi),%eax
4047f3:	8b 4c 24 04          	mov    0x4(%esp),%ecx
4047f7:	8b d3                	mov    %ebx,%edx
4047f9:	e8 92 f9 ff ff       	call   0x404190
4047fe:	8b d8                	mov    %eax,%ebx
404800:	85 db                	test   %ebx,%ebx
404802:	7d 02                	jge    0x404806
404804:	33 db                	xor    %ebx,%ebx
404806:	8b c7                	mov    %edi,%eax
404808:	8b d3                	mov    %ebx,%edx
40480a:	e8 69 01 00 00       	call   0x404978
40480f:	81 c4 04 10 00 00    	add    $0x1004,%esp
404815:	5d                   	pop    %ebp
404816:	5f                   	pop    %edi
404817:	5e                   	pop    %esi