404645:	01 07                	add    %eax,(%edi)
404647:	eb 3f                	jmp    0x404688
404649:	8b 03                	mov    (%ebx),%eax
40464b:	89 45 e4             	mov    %eax,-0x1c(%ebp)
40464e:	8b 06                	mov    (%esi),%eax
404650:	0f b7 00             	movzwl (%eax),%eax
404653:	50                   	push   %eax
404654:	8d 45 f4             	lea    -0xc(%ebp),%eax
404657:	50                   	push   %eax
404658:	e8 2c 08 00 00       	call   0x404e89
40465d:	8b d8                	mov    %eax,%ebx
40465f:	83 c4 10             	add    $0x10,%esp
404662:	85 db                	test   %ebx,%ebx
404664:	7c 33                	jl     0x404699
404666:	8b 07                	mov    (%edi),%eax
404668:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40466b:	2b c8                	sub    %eax,%ecx
40466d:	3b cb                	cmp    %ebx,%ecx
40466f:	7c 2d                	jl     0x40469e
404671:	53                   	push   %ebx
404672:	8d 55 f4             	lea    -0xc(%ebp),%edx
404675:	52                   	push   %edx
404676:	51                   	push   %ecx
404677:	50                   	push   %eax
404678:	e8 b7 13 00 00       	call   0x405a34
40467d:	83 06 02             	addl   $0x2,(%esi)
404680:	83 c4 10             	add    $0x10,%esp
404683:	01 1f                	add    %ebx,(%edi)
404685:	8b 5d e8             	mov    -0x18(%ebp),%ebx
404688:	8b 45 10             	mov    0x10(%ebp),%eax
40468b:	83 65 f0 00          	andl   $0x0,-0x10(%ebp)
40468f:	39 06                	cmp    %eax,(%esi)
404691:	0f 85 7b ff ff ff    	jne    0x404612
404697:	eb 0d                	jmp    0x4046a6
404699:	6a 02                	push   $0x2
40469b:	58                   	pop    %eax
40469c:	eb 0b                	jmp    0x4046a9
40469e:	8b 45 e4             	mov    -0x1c(%ebp),%eax
4046a1:	8b 4d e8             	mov    -0x18(%ebp),%ecx
4046a4:	89 01                	mov    %eax,(%ecx)
4046a6:	8b 45 f0             	mov    -0x10(%ebp),%eax
4046a9:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4046ac:	5f                   	pop    %edi
4046ad:	5e                   	pop    %esi
4046ae:	33 cd                	xor    %ebp,%ecx
4046b0:	5b                   	pop    %ebx
4046b1:	e8 7f 18 00 00       	call   0x405f35
4046b6:	c9                   	leave
4046b7:	c2 1c 00             	ret    $0x1c
4046ba:	55                   	push   %ebp
4046bb:	8b ec                	mov    %esp,%ebp
4046bd:	83 ec 18             	sub    $0x18,%esp
4046c0:	a1 20 c5 41 00       	mov    0x41c520,%eax
4046c5:	33 c5                	xor    %ebp,%eax
4046c7:	89 45 fc             	mov    %eax,-0x4(%ebp)
4046ca:	83 65 f0 00          	andl   $0x0,-0x10(%ebp)
4046ce:	53                   	push   %ebx
4046cf:	56                   	push   %esi
4046d0:	8b 75 14             	mov    0x14(%ebp),%esi
4046d3:	8b c1                	mov    %ecx,%eax
4046d5:	8b 4d 10             	mov    0x10(%ebp),%ecx
4046d8:	57                   	push   %edi
4046d9:	8b 7d 08             	mov    0x8(%ebp),%edi
4046dc:	83 c0 08             	add    $0x8,%eax
4046df:	50                   	push   %eax
4046e0:	89 4d ec             	mov    %ecx,-0x14(%ebp)
4046e3:	8b 4d 0c             	mov    0xc(%ebp),%ecx
4046e6:	57                   	push   %edi
4046e7:	89 0e                	mov    %ecx,(%esi)
4046e9:	8b 0f                	mov    (%edi),%ecx
4046eb:	8d 45 f4             	lea    -0xc(%ebp),%eax
4046ee:	6a 00                	push   $0x0
4046f0:	50                   	push   %eax
4046f1:	89 4d e8             	mov    %ecx,-0x18(%ebp)
4046f4:	e8 90 07 00 00       	call   0x404e89
4046f9:	8b d8                	mov    %eax,%ebx
4046fb:	83 c4 10             	add    $0x10,%esp
4046fe:	85 db                	test   %ebx,%ebx
404700:	7f 09                	jg     0x40470b
404702:	c7 45 f0 02 00 00 00 	movl   $0x2,-0x10(%ebp)
404709:	eb 2f                	jmp    0x40473a
40470b:	8b 06                	mov    (%esi),%eax
40470d:	8b 4d ec             	mov    -0x14(%ebp),%ecx
404710:	4b                   	dec    %ebx
404711:	2b c8                	sub    %eax,%ecx
404713:	3b cb                	cmp    %ebx,%ecx
404715:	7d 0e                	jge    0x404725
404717:	8b 45 e8             	mov    -0x18(%ebp),%eax
40471a:	89 07                	mov    %eax,(%edi)
40471c:	c7 45 f0 01 00 00 00 	movl   $0x1,-0x10(%ebp)
404723:	eb 15                	jmp    0x40473a
404725:	85 db                	test   %ebx,%ebx
404727:	7e 11                	jle    0x40473a
404729:	53                   	push   %ebx
40472a:	8d 55 f4             	lea    -0xc(%ebp),%edx
40472d:	52                   	push   %edx
40472e:	51                   	push   %ecx
40472f:	50                   	push   %eax
404730:	e8 ff 12 00 00       	call   0x405a34
404735:	83 c4 10             	add    $0x10,%esp
404738:	01 1e                	add    %ebx,(%esi)
40473a:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40473d:	8b 45 f0             	mov    -0x10(%ebp),%eax
404740:	5f                   	pop    %edi
404741:	5e                   	pop    %esi
404742:	33 cd                	xor    %ebp,%ecx
404744:	5b                   	pop    %ebx
404745:	e8 eb 17 00 00       	call   0x405f35
40474a:	c9                   	leave
40474b:	c2 10 00             	ret    $0x10
40474e:	55                   	push   %ebp
40474f:	8b ec                	mov    %esp,%ebp
404751:	51                   	push   %ecx
404752:	8b 45 08             	mov    0x8(%ebp),%eax
404755:	8b 00                	mov    (%eax),%eax
404757:	53                   	push   %ebx
404758:	56                   	push   %esi
404759:	8b 75 0c             	mov    0xc(%ebp),%esi
40475c:	33 db                	xor    %ebx,%ebx
40475e:	39 5d 14             	cmp    %ebx,0x14(%ebp)
404761:	57                   	push   %edi
404762:	8b f9                	mov    %ecx,%edi
404764:	89 45 fc             	mov    %eax,-0x4(%ebp)
404767:	76 4b                	jbe    0x4047b4
404769:	3b 75 10             	cmp    0x10(%ebp),%esi
40476c:	74 46                	je     0x4047b4
40476e:	8d 47 08             	lea    0x8(%edi),%eax
404771:	50                   	push   %eax
404772:	8d 45 fc             	lea    -0x4(%ebp),%eax
404775:	50                   	push   %eax
404776:	8b 45 10             	mov    0x10(%ebp),%eax
404779:	2b c6                	sub    %esi,%eax
40477b:	50                   	push   %eax
40477c:	8d 45 08             	lea    0x8(%ebp),%eax
40477f:	56                   	push   %esi
404780:	50                   	push   %eax
404781:	e8 8c 0d 00 00       	call   0x405512
404786:	83 c4 14             	add    $0x14,%esp
404789:	83 f8 fe             	cmp    $0xfffffffe,%eax
40478c:	74 26                	je     0x4047b4
40478e:	83 f8 ff             	cmp    $0xffffffff,%eax
404791:	74 21                	je     0x4047b4
404793:	85 c0                	test   %eax,%eax
404795:	75 0e                	jne    0x4047a5
404797:	66 39 45 08          	cmp    %ax,0x8(%ebp)
40479b:	75 0f                	jne    0x4047ac
40479d:	56                   	push   %esi
40479e:	e8 bd 1f 00 00       	call   0x406760
4047a3:	59                   	pop    %ecx
4047a4:	40                   	inc    %eax
4047a5:	83 f8 fd             	cmp    $0xfffffffd,%eax
4047a8:	75 02                	jne    0x4047ac
4047aa:	33 c0                	xor    %eax,%eax
4047ac:	03 f0                	add    %eax,%esi
4047ae:	43                   	inc    %ebx
4047af:	3b 5d 14             	cmp    0x14(%ebp),%ebx
4047b2:	72 b5                	jb     0x404769
4047b4:	5f                   	pop    %edi
4047b5:	5e                   	pop    %esi
4047b6:	8b c3                	mov    %ebx,%eax
4047b8:	5b                   	pop    %ebx
4047b9:	c9                   	leave
4047ba:	c2 10 00             	ret    $0x10
4047bd:	32 c0                	xor    %al,%al
4047bf:	c3                   	ret
4047c0:	6a 05                	push   $0x5
4047c2:	58                   	pop    %eax
4047c3:	c3                   	ret
4047c4:	33 c0                	xor    %eax,%eax
4047c6:	c3                   	ret
4047c7:	6a 00                	push   $0x0
4047c9:	b8 9f 5d 41 00       	mov    $0x415d9f,%eax
4047ce:	e8 18 20 00 00       	call   0x4067eb
4047d3:	8b 75 08             	mov    0x8(%ebp),%esi
4047d6:	85 f6                	test   %esi,%esi
4047d8:	74 27                	je     0x404801
4047da:	83 3e 00             	cmpl   $0x0,(%esi)
4047dd:	75 22                	jne    0x404801
4047df:	6a 10                	push   $0x10
4047e1:	e8 f2 17 00 00       	call   0x405fd8
4047e6:	59                   	pop    %ecx
4047e7:	8b c8                	mov    %eax,%ecx
4047e9:	89 4d 08             	mov    %ecx,0x8(%ebp)
4047ec:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
4047f0:	85 c9                	test   %ecx,%ecx
4047f2:	74 09                	je     0x4047fd
4047f4:	6a 00                	push   $0x0
4047f6:	e8 e5 fc ff ff       	call   0x4044e0
4047fb:	eb 02                	jmp    0x4047ff
4047fd:	33 c0                	xor    %eax,%eax
4047ff:	89 06                	mov    %eax,(%esi)
404801:	6a 02                	push   $0x2
404803:	58                   	pop    %eax
404804:	e8 81 20 00 00       	call   0x40688a
404809:	c3                   	ret
40480a:	6a 7c                	push   $0x7c
40480c:	b8 c5 5d 41 00       	mov    $0x415dc5,%eax
404811:	e8 3e 20 00 00       	call   0x406854
404816:	8b 45 08             	mov    0x8(%ebp),%eax
404819:	8b f1                	mov    %ecx,%esi
40481b:	89 b5 78 ff ff ff    	mov    %esi,-0x88(%ebp)
404821:	89 46 04             	mov    %eax,0x4(%esi)
404824:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
404828:	68 ac 75 41 00       	push   $0x4175ac
40482d:	8d 8d 7c ff ff ff    	lea    -0x84(%ebp),%ecx
404833:	c7 06 b4 75 41 00    	movl   $0x4175b4,(%esi)
404839:	e8 1c fc ff ff       	call   0x40445a
40483e:	8d 85 7c ff ff ff    	lea    -0x84(%ebp),%eax
404844:	50                   	push   %eax
404845:	8b ce                	mov    %esi,%ecx
404847:	e8 d1 ed ff ff       	call   0x40361d
40484c:	8d 8d 7c ff ff ff    	lea    -0x84(%ebp),%ecx
404852:	e8 a5 f4 ff ff       	call   0x403cfc
404857:	8b c6                	mov    %esi,%eax
404859:	e8 40 20 00 00       	call   0x40689e
40485e:	c2 04 00             	ret    $0x4
404861:	56                   	push   %esi
404862:	8b f1                	mov    %ecx,%esi
404864:	83 7e 14 00          	cmpl   $0x0,0x14(%esi)
404868:	c7 06 b4 75 41 00    	movl   $0x4175b4,(%esi)
40486e:	74 09                	je     0x404879
404870:	ff 76 10             	push   0x10(%esi)
404873:	e8 db 1b 00 00       	call   0x406453
404878:	59                   	pop    %ecx
404879:	c7 06 e4 74 41 00    	movl   $0x4174e4,(%esi)
40487f:	5e                   	pop    %esi
404880:	c3                   	ret
404881:	83 c1 08             	add    $0x8,%ecx
404884:	51                   	push   %ecx
404885:	ff 74 24 0c          	push   0xc(%esp)
404889:	e8 f5 0d 00 00       	call   0x405683
40488e:	66 23 44 24 0c       	and    0xc(%esp),%ax
404893:	59                   	pop    %ecx
404894:	66 f7 d8             	neg    %ax
404897:	59                   	pop    %ecx
404898:	1b c0                	sbb    %eax,%eax
40489a:	f7 d8                	neg    %eax
40489c:	c2 08 00             	ret    $0x8
40489f:	83 c1 08             	add    $0x8,%ecx
4048a2:	51                   	push   %ecx
4048a3:	ff 74 24 10          	push   0x10(%esp)
4048a7:	ff 74 24 10          	push   0x10(%esp)
4048ab:	ff 74 24 10          	push   0x10(%esp)
4048af:	e8 fc 0d 00 00       	call   0x4056b0
4048b4:	83 c4 10             	add    $0x10,%esp
4048b7:	c2 0c 00             	ret    $0xc
4048ba:	56                   	push   %esi
4048bb:	8b 74 24 0c          	mov    0xc(%esp),%esi
4048bf:	57                   	push   %edi
4048c0:	8b f9                	mov    %ecx,%edi
4048c2:	eb 15                	jmp    0x4048d9
4048c4:	0f b7 06             	movzwl (%esi),%eax
4048c7:	8b 17                	mov    (%edi),%edx
4048c9:	50                   	push   %eax
4048ca:	ff 74 24 10          	push   0x10(%esp)
4048ce:	8b cf                	mov    %edi,%ecx
4048d0:	ff 52 08             	call   *0x8(%edx)
4048d3:	84 c0                	test   %al,%al
4048d5:	75 08                	jne    0x4048df
4048d7:	46                   	inc    %esi
4048d8:	46                   	inc    %esi
4048d9:	3b 74 24 14          	cmp    0x14(%esp),%esi
4048dd:	75 e5                	jne    0x4048c4
4048df:	5f                   	pop    %edi
4048e0:	8b c6                	mov    %esi,%eax
4048e2:	5e                   	pop    %esi
4048e3:	c2 0c 00             	ret    $0xc
4048e6:	56                   	push   %esi
4048e7:	8b 74 24 0c          	mov    0xc(%esp),%esi
4048eb:	57                   	push   %edi
4048ec:	8b f9                	mov    %ecx,%edi
4048ee:	eb 15                	jmp    0x404905
4048f0:	0f b7 06             	movzwl (%esi),%eax
4048f3:	8b 17                	mov    (%edi),%edx
4048f5:	50                   	push   %eax
4048f6:	ff 74 24 10          	push   0x10(%esp)
4048fa:	8b cf                	mov    %edi,%ecx
4048fc:	ff 52 08             	call   *0x8(%edx)
4048ff:	84 c0                	test   %al,%al
404901:	74 08                	je     0x40490b
404903:	46                   	inc    %esi
404904:	46                   	inc    %esi
404905:	3b 74 24 14          	cmp    0x14(%esp),%esi
404909:	75 e5                	jne    0x4048f0
40490b:	5f                   	pop    %edi
40490c:	8b c6                	mov    %esi,%eax
40490e:	5e                   	pop    %esi
40490f:	c2 0c 00             	ret    $0xc
404912:	83 c1 08             	add    $0x8,%ecx
404915:	51                   	push   %ecx
404916:	ff 74 24 08          	push   0x8(%esp)
40491a:	e8 bc 0d 00 00       	call   0x4056db
40491f:	59                   	pop    %ecx
404920:	59                   	pop    %ecx
404921:	c2 04 00             	ret    $0x4
404924:	56                   	push   %esi
404925:	8b 74 24 08          	mov    0x8(%esp),%esi
404929:	3b 74 24 0c          	cmp    0xc(%esp),%esi
40492d:	74 1c                	je     0x40494b
40492f:	57                   	push   %edi
404930:	8d 79 08             	lea    0x8(%ecx),%edi
404933:	0f b7 06             	movzwl (%esi),%eax
404936:	57                   	push   %edi
404937:	50                   	push   %eax
404938:	e8 9e 0d 00 00       	call   0x4056db
40493d:	66 89 06             	mov    %ax,(%esi)
404940:	46                   	inc    %esi
404941:	46                   	inc    %esi
404942:	3b 74 24 18          	cmp    0x18(%esp),%esi
404946:	59                   	pop    %ecx
404947:	59                   	pop    %ecx
404948:	75 e9                	jne    0x404933
40494a:	5f                   	pop    %edi
40494b:	8b c6                	mov    %esi,%eax
40494d:	5e                   	pop    %esi
40494e:	c2 08 00             	ret    $0x8
404951:	83 c1 08             	add    $0x8,%ecx
404954:	51                   	push   %ecx
404955:	ff 74 24 08          	push   0x8(%esp)
404959:	e8 e1 0d 00 00       	call   0x40573f
40495e:	59                   	pop    %ecx
40495f:	59                   	pop    %ecx
404960:	c2 04 00             	ret    $0x4
404963:	56                   	push   %esi
404964:	8b 74 24 08          	mov    0x8(%esp),%esi
404968:	3b 74 24 0c          	cmp    0xc(%esp),%esi
40496c:	74 1c                	je     0x40498a
40496e:	57                   	push   %edi
40496f:	8d 79 08             	lea    0x8(%ecx),%edi
404972:	0f b7 06             	movzwl (%esi),%eax
404975:	57                   	push   %edi
404976:	50                   	push   %eax
404977:	e8 c3 0d 00 00       	call   0x40573f
40497c:	66 89 06             	mov    %ax,(%esi)
40497f:	46                   	inc    %esi
404980:	46                   	inc    %esi
404981:	3b 74 24 18          	cmp    0x18(%esp),%esi
404985:	59                   	pop    %ecx
404986:	59                   	pop    %ecx
404987:	75 e9                	jne    0x404972
404989:	5f                   	pop    %edi
40498a:	8b c6                	mov    %esi,%eax
40498c:	5e                   	pop    %esi
40498d:	c2 08 00             	ret    $0x8
404990:	55                   	push   %ebp
404991:	8b ec                	mov    %esp,%ebp
404993:	51                   	push   %ecx
404994:	51                   	push   %ecx
404995:	83 65 f8 00          	andl   $0x0,-0x8(%ebp)
404999:	83 c1 18             	add    $0x18,%ecx