404691:	7c 1b                	jl     0x4046ae
404693:	39 da                	cmp    %ebx,%edx
404695:	7d 1f                	jge    0x4046b6
404697:	29 d3                	sub    %edx,%ebx
404699:	85 c9                	test   %ecx,%ecx
40469b:	7c 19                	jl     0x4046b6
40469d:	39 d9                	cmp    %ebx,%ecx
40469f:	7f 11                	jg     0x4046b2
4046a1:	01 c2                	add    %eax,%edx
4046a3:	8b 44 24 08          	mov    0x8(%esp),%eax
4046a7:	e8 a8 fb ff ff       	call   0x404254
4046ac:	eb 11                	jmp    0x4046bf
4046ae:	31 d2                	xor    %edx,%edx
4046b0:	eb e5                	jmp    0x404697
4046b2:	89 d9                	mov    %ebx,%ecx
4046b4:	eb eb                	jmp    0x4046a1
4046b6:	8b 44 24 08          	mov    0x8(%esp),%eax
4046ba:	e8 a5 fa ff ff       	call   0x404164
4046bf:	5b                   	pop    %ebx
4046c0:	c2 04 00             	ret    $0x4
4046c3:	c3                   	ret
4046c4:	53                   	push   %ebx
4046c5:	56                   	push   %esi
4046c6:	57                   	push   %edi
4046c7:	89 c3                	mov    %eax,%ebx
4046c9:	89 d6                	mov    %edx,%esi
4046cb:	89 cf                	mov    %ecx,%edi
4046cd:	e8 a2 ff ff ff       	call   0x404674
4046d2:	8b 13                	mov    (%ebx),%edx
4046d4:	85 d2                	test   %edx,%edx
4046d6:	74 30                	je     0x404708
4046d8:	8b 4a fc             	mov    -0x4(%edx),%ecx
4046db:	4e                   	dec    %esi
4046dc:	7c 2a                	jl     0x404708
4046de:	39 ce                	cmp    %ecx,%esi
4046e0:	7d 26                	jge    0x404708
4046e2:	85 ff                	test   %edi,%edi
4046e4:	7e 22                	jle    0x404708
4046e6:	29 f1                	sub    %esi,%ecx
4046e8:	39 cf                	cmp    %ecx,%edi
4046ea:	7e 02                	jle    0x4046ee
4046ec:	89 cf                	mov    %ecx,%edi
4046ee:	29 f9                	sub    %edi,%ecx
4046f0:	01 f2                	add    %esi,%edx
4046f2:	8d 04 17             	lea    (%edi,%edx,1),%eax
4046f5:	e8 7a e2 ff ff       	call   0x402974
4046fa:	8b 13                	mov    (%ebx),%edx
4046fc:	89 d8                	mov    %ebx,%eax
4046fe:	8b 52 fc             	mov    -0x4(%edx),%edx
404701:	29 fa                	sub    %edi,%edx
404703:	e8 a8 00 00 00       	call   0x4047b0
404708:	5f                   	pop    %edi
404709:	5e                   	pop    %esi
40470a:	5b                   	pop    %ebx
40470b:	c3                   	ret
40470c:	85 c0                	test   %eax,%eax
40470e:	74 56                	je     0x404766
404710:	53                   	push   %ebx
404711:	56                   	push   %esi
404712:	57                   	push   %edi
404713:	55                   	push   %ebp
404714:	89 c3                	mov    %eax,%ebx
404716:	89 d6                	mov    %edx,%esi
404718:	89 cf                	mov    %ecx,%edi
40471a:	8b 12                	mov    (%edx),%edx
40471c:	52                   	push   %edx
40471d:	85 d2                	test   %edx,%edx
40471f:	74 03                	je     0x404724
404721:	8b 52 fc             	mov    -0x4(%edx),%edx
404724:	4f                   	dec    %edi
404725:	7d 02                	jge    0x404729
404727:	31 ff                	xor    %edi,%edi
404729:	39 d7                	cmp    %edx,%edi
40472b:	7e 02                	jle    0x40472f
40472d:	89 d7                	mov    %edx,%edi
40472f:	8b 6b fc             	mov    -0x4(%ebx),%ebp
404732:	89 f0                	mov    %esi,%eax
404734:	01 ea                	add    %ebp,%edx
404736:	e8 75 00 00 00       	call   0x4047b0
40473b:	58                   	pop    %eax
40473c:	39 d8                	cmp    %ebx,%eax
40473e:	75 02                	jne    0x404742
404740:	8b 1e                	mov    (%esi),%ebx
404742:	8b 06                	mov    (%esi),%eax
404744:	8d 14 2f             	lea    (%edi,%ebp,1),%edx
404747:	8b 48 fc             	mov    -0x4(%eax),%ecx
40474a:	29 d1                	sub    %edx,%ecx
40474c:	01 c2                	add    %eax,%edx
40474e:	01 f8                	add    %edi,%eax
404750:	e8 1f e2 ff ff       	call   0x402974
404755:	89 d8                	mov    %ebx,%eax
404757:	8b 16                	mov    (%esi),%edx
404759:	89 e9                	mov    %ebp,%ecx
40475b:	01 fa                	add    %edi,%edx
40475d:	e8 12 e2 ff ff       	call   0x402974
404762:	5d                   	pop    %ebp
404763:	5f                   	pop    %edi
404764:	5e                   	pop    %esi
404765:	5b                   	pop    %ebx
404766:	c3                   	ret
404767:	90                   	nop
404768:	85 c0                	test   %eax,%eax
40476a:	74 40                	je     0x4047ac
40476c:	85 d2                	test   %edx,%edx
40476e:	74 31                	je     0x4047a1
404770:	53                   	push   %ebx
404771:	56                   	push   %esi
404772:	57                   	push   %edi
404773:	89 c6                	mov    %eax,%esi
404775:	89 d7                	mov    %edx,%edi
404777:	8b 4f fc             	mov    -0x4(%edi),%ecx
40477a:	57                   	push   %edi
40477b:	8b 56 fc             	mov    -0x4(%esi),%edx
40477e:	4a                   	dec    %edx
40477f:	78 1b                	js     0x40479c
404781:	8a 06                	mov    (%esi),%al
404783:	46                   	inc    %esi
404784:	29 d1                	sub    %edx,%ecx
404786:	7e 14                	jle    0x40479c
404788:	f2 ae                	repnz scas %es:(%edi),%al
40478a:	75 10                	jne    0x40479c
40478c:	89 cb                	mov    %ecx,%ebx
40478e:	56                   	push   %esi
40478f:	57                   	push   %edi
404790:	89 d1                	mov    %edx,%ecx
404792:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)
404794:	5f                   	pop    %edi
404795:	5e                   	pop    %esi
404796:	74 0c                	je     0x4047a4
404798:	89 d9                	mov    %ebx,%ecx
40479a:	eb ec                	jmp    0x404788
40479c:	5a                   	pop    %edx
40479d:	31 c0                	xor    %eax,%eax
40479f:	eb 08                	jmp    0x4047a9
4047a1:	31 c0                	xor    %eax,%eax
4047a3:	c3                   	ret
4047a4:	5a                   	pop    %edx
4047a5:	89 f8                	mov    %edi,%eax
4047a7:	29 d0                	sub    %edx,%eax
4047a9:	5f                   	pop    %edi
4047aa:	5e                   	pop    %esi
4047ab:	5b                   	pop    %ebx
4047ac:	c3                   	ret
4047ad:	8d 40 00             	lea    0x0(%eax),%eax
4047b0:	53                   	push   %ebx
4047b1:	56                   	push   %esi
4047b2:	57                   	push   %edi
4047b3:	89 c3                	mov    %eax,%ebx
4047b5:	89 d6                	mov    %edx,%esi
4047b7:	31 ff                	xor    %edi,%edi
4047b9:	85 d2                	test   %edx,%edx
4047bb:	7e 48                	jle    0x404805
4047bd:	8b 03                	mov    (%ebx),%eax
4047bf:	85 c0                	test   %eax,%eax
4047c1:	74 23                	je     0x4047e6
4047c3:	83 78 f8 01          	cmpl   $0x1,-0x8(%eax)
4047c7:	75 1d                	jne    0x4047e6
4047c9:	83 e8 08             	sub    $0x8,%eax
4047cc:	83 c2 09             	add    $0x9,%edx
4047cf:	50                   	push   %eax
4047d0:	89 e0                	mov    %esp,%eax
4047d2:	e8 e1 df ff ff       	call   0x4027b8
4047d7:	58                   	pop    %eax
4047d8:	83 c0 08             	add    $0x8,%eax
4047db:	89 03                	mov    %eax,(%ebx)
4047dd:	89 70 fc             	mov    %esi,-0x4(%eax)
4047e0:	c6 04 06 00          	movb   $0x0,(%esi,%eax,1)
4047e4:	eb 28                	jmp    0x40480e
4047e6:	89 d0                	mov    %edx,%eax
4047e8:	e8 3b fa ff ff       	call   0x404228
4047ed:	89 c7                	mov    %eax,%edi
4047ef:	8b 03                	mov    (%ebx),%eax
4047f1:	85 c0                	test   %eax,%eax
4047f3:	74 10                	je     0x404805
4047f5:	89 fa                	mov    %edi,%edx
4047f7:	8b 48 fc             	mov    -0x4(%eax),%ecx
4047fa:	39 f1                	cmp    %esi,%ecx
4047fc:	7c 02                	jl     0x404800
4047fe:	89 f1                	mov    %esi,%ecx
404800:	e8 6f e1 ff ff       	call   0x402974
404805:	89 d8                	mov    %ebx,%eax
404807:	e8 58 f9 ff ff       	call   0x404164
40480c:	89 3b                	mov    %edi,(%ebx)
40480e:	5f                   	pop    %edi
40480f:	5e                   	pop    %esi
404810:	5b                   	pop    %ebx
404811:	c3                   	ret
404812:	8b c0                	mov    %eax,%eax
404814:	53                   	push   %ebx
404815:	56                   	push   %esi
404816:	57                   	push   %edi
404817:	89 c3                	mov    %eax,%ebx
404819:	89 d6                	mov    %edx,%esi
40481b:	89 cf                	mov    %ecx,%edi
40481d:	89 c8                	mov    %ecx,%eax
40481f:	e8 40 f9 ff ff       	call   0x404164
404824:	85 f6                	test   %esi,%esi
404826:	7e 12                	jle    0x40483a
404828:	89 f0                	mov    %esi,%eax
40482a:	e8 f9 f9 ff ff       	call   0x404228
40482f:	89 07                	mov    %eax,(%edi)
404831:	89 f2                	mov    %esi,%edx
404833:	88 d9                	mov    %bl,%cl
404835:	e8 32 e5 ff ff       	call   0x402d6c
40483a:	5f                   	pop    %edi
40483b:	5e                   	pop    %esi
40483c:	5b                   	pop    %ebx
40483d:	c3                   	ret
40483e:	8b c0                	mov    %eax,%eax
404840:	b0 01                	mov    $0x1,%al
404842:	e9 8d e0 ff ff       	jmp    0x4028d4
404847:	c3                   	ret
404848:	85 c0                	test   %eax,%eax
40484a:	74 10                	je     0x40485c
40484c:	50                   	push   %eax
40484d:	6a 00                	push   $0x0
40484f:	e8 3c cb ff ff       	call   0x401390
404854:	85 c0                	test   %eax,%eax
404856:	0f 84 e4 ff ff ff    	je     0x404840
40485c:	c3                   	ret
40485d:	8d 40 00             	lea    0x0(%eax),%eax
404860:	87 10                	xchg   %edx,(%eax)
404862:	85 d2                	test   %edx,%edx
404864:	74 06                	je     0x40486c
404866:	52                   	push   %edx
404867:	e8 34 cb ff ff       	call   0x4013a0
40486c:	c3                   	ret
40486d:	8d 40 00             	lea    0x0(%eax),%eax
404870:	8b 10                	mov    (%eax),%edx
404872:	85 d2                	test   %edx,%edx
404874:	74 0e                	je     0x404884
404876:	c7 00 00 00 00 00    	movl   $0x0,(%eax)
40487c:	50                   	push   %eax
40487d:	52                   	push   %edx
40487e:	e8 1d cb ff ff       	call   0x4013a0
404883:	58                   	pop    %eax
404884:	c3                   	ret
404885:	8d 40 00             	lea    0x0(%eax),%eax
404888:	53                   	push   %ebx
404889:	56                   	push   %esi
40488a:	89 c3                	mov    %eax,%ebx
40488c:	89 d6                	mov    %edx,%esi
40488e:	8b 03                	mov    (%ebx),%eax
404890:	85 c0                	test   %eax,%eax
404892:	74 0c                	je     0x4048a0
404894:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)
40489a:	50                   	push   %eax
40489b:	e8 00 cb ff ff       	call   0x4013a0
4048a0:	83 c3 04             	add    $0x4,%ebx
4048a3:	4e                   	dec    %esi
4048a4:	75 e8                	jne    0x40488e
4048a6:	5e                   	pop    %esi
4048a7:	5b                   	pop    %ebx
4048a8:	c3                   	ret
4048a9:	8d 40 00             	lea    0x0(%eax),%eax
4048ac:	85 d2                	test   %edx,%edx
4048ae:	0f 84 bc ff ff ff    	je     0x404870
4048b4:	8b 4a fc             	mov    -0x4(%edx),%ecx
4048b7:	d1 e9                	shr    $1,%ecx
4048b9:	0f 84 b1 ff ff ff    	je     0x404870
4048bf:	51                   	push   %ecx
4048c0:	52                   	push   %edx
4048c1:	50                   	push   %eax
4048c2:	e8 d1 ca ff ff       	call   0x401398
4048c7:	85 c0                	test   %eax,%eax
4048c9:	0f 84 71 ff ff ff    	je     0x404840
4048cf:	c3                   	ret
4048d0:	53                   	push   %ebx
4048d1:	56                   	push   %esi
4048d2:	57                   	push   %edi
4048d3:	55                   	push   %ebp
4048d4:	81 c4 04 f0 ff ff    	add    $0xfffff004,%esp
4048da:	50                   	push   %eax
4048db:	83 c4 fc             	add    $0xfffffffc,%esp
4048de:	8b f1                	mov    %ecx,%esi
4048e0:	89 14 24             	mov    %edx,(%esp)
4048e3:	8b f8                	mov    %eax,%edi
4048e5:	85 f6                	test   %esi,%esi
4048e7:	7f 09                	jg     0x4048f2
4048e9:	8b c7                	mov    %edi,%eax
4048eb:	e8 80 ff ff ff       	call   0x404870
4048f0:	eb 5d                	jmp    0x40494f
4048f2:	8d 6e 01             	lea    0x1(%esi),%ebp
4048f5:	81 fd ff 07 00 00    	cmp    $0x7ff,%ebp
4048fb:	7d 28                	jge    0x404925
4048fd:	56                   	push   %esi
4048fe:	8d 44 24 08          	lea    0x8(%esp),%eax
404902:	8b 4c 24 04          	mov    0x4(%esp),%ecx
404906:	ba ff 07 00 00       	mov    $0x7ff,%edx
40490b:	e8 94 f9 ff ff       	call   0x4042a4
404910:	8b d8                	mov    %eax,%ebx
404912:	85 db                	test   %ebx,%ebx
404914:	7e 0f                	jle    0x404925
404916:	8d 54 24 04          	lea    0x4(%esp),%edx
40491a:	8b c7                	mov    %edi,%eax
40491c:	8b cb                	mov    %ebx,%ecx
40491e:	e8 39 00 00 00       	call   0x40495c
404923:	eb 2a                	jmp    0x40494f
404925:	8b dd                	mov    %ebp,%ebx
404927:	8b c7                	mov    %edi,%eax
404929:	8b d3                	mov    %ebx,%edx
40492b:	e8 88 01 00 00       	call   0x404ab8
404930:	56                   	push   %esi
404931:	8b 07                	mov    (%edi),%eax
404933:	8b 4c 24 04          	mov    0x4(%esp),%ecx
404937:	8b d3                	mov    %ebx,%edx
404939:	e8 66 f9 ff ff       	call   0x4042a4
40493e:	8b d8                	mov    %eax,%ebx
404940:	85 db                	test   %ebx,%ebx
404942:	7d 02                	jge    0x404946
404944:	33 db                	xor    %ebx,%ebx
404946:	8b c7                	mov    %edi,%eax
404948:	8b d3                	mov    %ebx,%edx
40494a:	e8 69 01 00 00       	call   0x404ab8
40494f:	81 c4 04 10 00 00    	add    $0x1004,%esp
404955:	5d                   	pop    %ebp
404956:	5f                   	pop    %edi
404957:	5e                   	pop    %esi
404958:	5b                   	pop    %ebx
404959:	c3                   	ret
40495a:	8b c0                	mov    %eax,%eax
40495c:	85 c9                	test   %ecx,%ecx
40495e:	0f 84 0c ff ff ff    	je     0x404870
404964:	50                   	push   %eax
404965:	51                   	push   %ecx
404966:	52                   	push   %edx
404967:	e8 24 ca ff ff       	call   0x401390
40496c:	85 c0                	test   %eax,%eax
40496e:	0f 84 cc fe ff ff    	je     0x404840
404974:	5a                   	pop    %edx
404975:	ff 32                	push   (%edx)
404977:	89 02                	mov    %eax,(%edx)
404979:	e8 22 ca ff ff       	call   0x4013a0
40497e:	c3                   	ret
40497f:	90                   	nop
404980:	31 c9                	xor    %ecx,%ecx
404982:	85 d2                	test   %edx,%edx
404984:	74 2d                	je     0x4049b3
404986:	52                   	push   %edx
404987:	66 3b 0a             	cmp    (%edx),%cx
40498a:	74 20                	je     0x4049ac
40498c:	66 3b 4a 02          	cmp    0x2(%edx),%cx
404990:	74 17                	je     0x4049a9
404992:	66 3b 4a 04          	cmp    0x4(%edx),%cx
404996:	74 0e                	je     0x4049a6
404998:	66 3b 4a 06          	cmp    0x6(%edx),%cx
40499c:	74 05                	je     0x4049a3
40499e:	83 c2 08             	add    $0x8,%edx
4049a1:	eb e4                	jmp    0x404987
4049a3:	83 c2 02             	add    $0x2,%edx