40a76b:	55                   	push   %ebp
40a76c:	e8 6f f6 ff ff       	call   0x409de0
40a771:	59                   	pop    %ecx
40a772:	8b 45 08             	mov    0x8(%ebp),%eax
40a775:	50                   	push   %eax
40a776:	a1 90 16 46 00       	mov    0x461690,%eax
40a77b:	e8 7c f9 ff ff       	call   0x40a0fc
40a780:	59                   	pop    %ecx
40a781:	55                   	push   %ebp
40a782:	e8 c1 f6 ff ff       	call   0x409e48
40a787:	59                   	pop    %ecx
40a788:	66 83 7d ea 00       	cmpw   $0x0,-0x16(%ebp)
40a78d:	75 12                	jne    0x40a7a1
40a78f:	66 83 7d e8 00       	cmpw   $0x0,-0x18(%ebp)
40a794:	75 0b                	jne    0x40a7a1
40a796:	66 83 7d e6 00       	cmpw   $0x0,-0x1a(%ebp)
40a79b:	0f 84 d2 00 00 00    	je     0x40a873
40a7a1:	8b 45 08             	mov    0x8(%ebp),%eax
40a7a4:	50                   	push   %eax
40a7a5:	b8 d0 a8 40 00       	mov    $0x40a8d0,%eax
40a7aa:	ba 01 00 00 00       	mov    $0x1,%edx
40a7af:	e8 7c f5 ff ff       	call   0x409d30
40a7b4:	59                   	pop    %ecx
40a7b5:	8b 45 08             	mov    0x8(%ebp),%eax
40a7b8:	50                   	push   %eax
40a7b9:	a1 a8 16 46 00       	mov    0x4616a8,%eax
40a7be:	e8 39 f9 ff ff       	call   0x40a0fc
40a7c3:	59                   	pop    %ecx
40a7c4:	e9 aa 00 00 00       	jmp    0x40a873
40a7c9:	80 3d 8d 16 46 00 00 	cmpb   $0x0,0x46168d
40a7d0:	0f 84 9d 00 00 00    	je     0x40a873
40a7d6:	8b 45 08             	mov    0x8(%ebp),%eax
40a7d9:	50                   	push   %eax
40a7da:	b8 8d 16 46 00       	mov    $0x46168d,%eax
40a7df:	ba 01 00 00 00       	mov    $0x1,%edx
40a7e4:	e8 47 f5 ff ff       	call   0x409d30
40a7e9:	59                   	pop    %ecx
40a7ea:	e9 84 00 00 00       	jmp    0x40a873
40a7ef:	80 3d 98 16 46 00 00 	cmpb   $0x0,0x461698
40a7f6:	74 7b                	je     0x40a873
40a7f8:	8b 45 08             	mov    0x8(%ebp),%eax
40a7fb:	50                   	push   %eax
40a7fc:	b8 98 16 46 00       	mov    $0x461698,%eax
40a801:	ba 01 00 00 00       	mov    $0x1,%edx
40a806:	e8 25 f5 ff ff       	call   0x409d30
40a80b:	59                   	pop    %ecx
40a80c:	eb 65                	jmp    0x40a873
40a80e:	8b 06                	mov    (%esi),%eax
40a810:	89 45 dc             	mov    %eax,-0x24(%ebp)
40a813:	eb 1f                	jmp    0x40a834
40a815:	8b 06                	mov    (%esi),%eax
40a817:	8a 00                	mov    (%eax),%al
40a819:	25 ff 00 00 00       	and    $0xff,%eax
40a81e:	0f a3 05 3c 51 45 00 	bt     %eax,0x45513c
40a825:	73 0b                	jae    0x40a832
40a827:	8b 06                	mov    (%esi),%eax
40a829:	e8 d6 1d 00 00       	call   0x40c604
40a82e:	89 06                	mov    %eax,(%esi)
40a830:	eb 02                	jmp    0x40a834
40a832:	ff 06                	incl   (%esi)
40a834:	8b 06                	mov    (%esi),%eax
40a836:	80 38 00             	cmpb   $0x0,(%eax)
40a839:	74 09                	je     0x40a844
40a83b:	8b 06                	mov    (%esi),%eax
40a83d:	8a 00                	mov    (%eax),%al
40a83f:	3a 45 fb             	cmp    -0x5(%ebp),%al
40a842:	75 d1                	jne    0x40a815
40a844:	8b 45 08             	mov    0x8(%ebp),%eax
40a847:	50                   	push   %eax
40a848:	8b 16                	mov    (%esi),%edx
40a84a:	2b 55 dc             	sub    -0x24(%ebp),%edx
40a84d:	8b 45 dc             	mov    -0x24(%ebp),%eax
40a850:	e8 db f4 ff ff       	call   0x409d30
40a855:	59                   	pop    %ecx
40a856:	8b 06                	mov    (%esi),%eax
40a858:	80 38 00             	cmpb   $0x0,(%eax)
40a85b:	74 16                	je     0x40a873
40a85d:	ff 06                	incl   (%esi)
40a85f:	eb 12                	jmp    0x40a873
40a861:	8b 45 08             	mov    0x8(%ebp),%eax
40a864:	50                   	push   %eax
40a865:	8d 45 fb             	lea    -0x5(%ebp),%eax
40a868:	ba 01 00 00 00       	mov    $0x1,%edx
40a86d:	e8 be f4 ff ff       	call   0x409d30
40a872:	59                   	pop    %ecx
40a873:	8b 06                	mov    (%esi),%eax
40a875:	80 38 00             	cmpb   $0x0,(%eax)
40a878:	0f 85 da f8 ff ff    	jne    0x40a158
40a87e:	8b 45 08             	mov    0x8(%ebp),%eax
40a881:	ff 88 f8 fe ff ff    	decl   -0x108(%eax)
40a887:	33 c0                	xor    %eax,%eax
40a889:	5a                   	pop    %edx
40a88a:	59                   	pop    %ecx
40a88b:	59                   	pop    %ecx
40a88c:	64 89 10             	mov    %edx,%fs:(%eax)
40a88f:	68 a9 a8 40 00       	push   $0x40a8a9
40a894:	8d 45 d4             	lea    -0x2c(%ebp),%eax
40a897:	ba 02 00 00 00       	mov    $0x2,%edx
40a89c:	e8 f3 9c ff ff       	call   0x404594
40a8a1:	c3                   	ret
40a8a2:	e9 a5 96 ff ff       	jmp    0x403f4c
40a8a7:	eb eb                	jmp    0x40a894
40a8a9:	5f                   	pop    %edi
40a8aa:	5e                   	pop    %esi
40a8ab:	5b                   	pop    %ebx
40a8ac:	8b e5                	mov    %ebp,%esp
40a8ae:	5d                   	pop    %ebp
40a8af:	c3                   	ret
40a8b0:	41                   	inc    %ecx
40a8b1:	4d                   	dec    %ebp
40a8b2:	2f                   	das
40a8b3:	50                   	push   %eax
40a8b4:	4d                   	dec    %ebp
40a8b5:	00 00                	add    %al,(%eax)
40a8b7:	00 41 2f             	add    %al,0x2f(%ecx)
40a8ba:	50                   	push   %eax
40a8bb:	00 41 4d             	add    %al,0x4d(%ecx)
40a8be:	50                   	push   %eax
40a8bf:	4d                   	dec    %ebp
40a8c0:	00 00                	add    %al,(%eax)
40a8c2:	00 00                	add    %al,(%eax)
40a8c4:	41                   	inc    %ecx
40a8c5:	41                   	inc    %ecx
40a8c6:	41                   	inc    %ecx
40a8c7:	41                   	inc    %ecx
40a8c8:	00 00                	add    %al,(%eax)
40a8ca:	00 00                	add    %al,(%eax)
40a8cc:	41                   	inc    %ecx
40a8cd:	41                   	inc    %ecx
40a8ce:	41                   	inc    %ecx
40a8cf:	00 20                	add    %ah,(%eax)
40a8d1:	00 00                	add    %al,(%eax)
40a8d3:	00 55 8b             	add    %dl,-0x75(%ebp)
40a8d6:	ec                   	in     (%dx),%al
40a8d7:	81 c4 f8 fe ff ff    	add    $0xfffffef8,%esp
40a8dd:	53                   	push   %ebx
40a8de:	56                   	push   %esi
40a8df:	8b da                	mov    %edx,%ebx
40a8e1:	8b f0                	mov    %eax,%esi
40a8e3:	33 c0                	xor    %eax,%eax
40a8e5:	89 85 fc fe ff ff    	mov    %eax,-0x104(%ebp)
40a8eb:	33 c0                	xor    %eax,%eax
40a8ed:	89 85 f8 fe ff ff    	mov    %eax,-0x108(%ebp)
40a8f3:	85 db                	test   %ebx,%ebx
40a8f5:	74 0b                	je     0x40a902
40a8f7:	55                   	push   %ebp
40a8f8:	8b c3                	mov    %ebx,%eax
40a8fa:	e8 fd f7 ff ff       	call   0x40a0fc
40a8ff:	59                   	pop    %ecx
40a900:	eb 0c                	jmp    0x40a90e
40a902:	55                   	push   %ebp
40a903:	b8 2c a9 40 00       	mov    $0x40a92c,%eax
40a908:	e8 ef f7 ff ff       	call   0x40a0fc
40a90d:	59                   	pop    %ecx
40a90e:	8d 95 00 ff ff ff    	lea    -0x100(%ebp),%edx
40a914:	8b c6                	mov    %esi,%eax
40a916:	8b 8d fc fe ff ff    	mov    -0x104(%ebp),%ecx
40a91c:	e8 3f 9d ff ff       	call   0x404660
40a921:	5e                   	pop    %esi
40a922:	5b                   	pop    %ebx
40a923:	8b e5                	mov    %ebp,%esp
40a925:	5d                   	pop    %ebp
40a926:	c2 08 00             	ret    $0x8
40a929:	00 00                	add    %al,(%eax)
40a92b:	00 43 00             	add    %al,0x0(%ebx)
40a92e:	00 00                	add    %al,(%eax)
40a930:	55                   	push   %ebp
40a931:	8b ec                	mov    %esp,%ebp
40a933:	ff 75 0c             	push   0xc(%ebp)
40a936:	ff 75 08             	push   0x8(%ebp)
40a939:	33 d2                	xor    %edx,%edx
40a93b:	e8 94 ff ff ff       	call   0x40a8d4
40a940:	5d                   	pop    %ebp
40a941:	c2 08 00             	ret    $0x8
40a944:	53                   	push   %ebx
40a945:	56                   	push   %esi
40a946:	57                   	push   %edi
40a947:	8b fa                	mov    %edx,%edi
40a949:	8b f0                	mov    %eax,%esi
40a94b:	8b 1f                	mov    (%edi),%ebx
40a94d:	eb 01                	jmp    0x40a950
40a94f:	43                   	inc    %ebx
40a950:	8b c6                	mov    %esi,%eax
40a952:	e8 d9 9e ff ff       	call   0x404830
40a957:	3b d8                	cmp    %eax,%ebx
40a959:	7f 07                	jg     0x40a962
40a95b:	80 7c 1e ff 20       	cmpb   $0x20,-0x1(%esi,%ebx,1)
40a960:	74 ed                	je     0x40a94f
40a962:	89 1f                	mov    %ebx,(%edi)
40a964:	5f                   	pop    %edi
40a965:	5e                   	pop    %esi
40a966:	5b                   	pop    %ebx
40a967:	c3                   	ret
40a968:	55                   	push   %ebp
40a969:	8b ec                	mov    %esp,%ebp
40a96b:	83 c4 f4             	add    $0xfffffff4,%esp
40a96e:	53                   	push   %ebx
40a96f:	56                   	push   %esi
40a970:	57                   	push   %edi
40a971:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40a974:	89 55 fc             	mov    %edx,-0x4(%ebp)
40a977:	8b f8                	mov    %eax,%edi
40a979:	c6 45 f7 00          	movb   $0x0,-0x9(%ebp)
40a97d:	8b 45 08             	mov    0x8(%ebp),%eax
40a980:	c6 00 00             	movb   $0x0,(%eax)
40a983:	8b 55 fc             	mov    -0x4(%ebp),%edx
40a986:	8b c7                	mov    %edi,%eax
40a988:	e8 b7 ff ff ff       	call   0x40a944
40a98d:	8b 5d fc             	mov    -0x4(%ebp),%ebx
40a990:	8b 1b                	mov    (%ebx),%ebx
40a992:	33 f6                	xor    %esi,%esi
40a994:	eb 17                	jmp    0x40a9ad
40a996:	8b c6                	mov    %esi,%eax
40a998:	03 c0                	add    %eax,%eax
40a99a:	8d 04 80             	lea    (%eax,%eax,4),%eax
40a99d:	33 d2                	xor    %edx,%edx
40a99f:	8a 54 1f ff          	mov    -0x1(%edi,%ebx,1),%dl
40a9a3:	66 83 ea 30          	sub    $0x30,%dx
40a9a7:	66 03 c2             	add    %dx,%ax
40a9aa:	8b f0                	mov    %eax,%esi
40a9ac:	43                   	inc    %ebx
40a9ad:	8b c7                	mov    %edi,%eax
40a9af:	e8 7c 9e ff ff       	call   0x404830
40a9b4:	3b d8                	cmp    %eax,%ebx
40a9b6:	7f 11                	jg     0x40a9c9
40a9b8:	8a 44 1f ff          	mov    -0x1(%edi,%ebx,1),%al
40a9bc:	04 d0                	add    $0xd0,%al
40a9be:	2c 0a                	sub    $0xa,%al
40a9c0:	73 07                	jae    0x40a9c9
40a9c2:	66 81 fe e8 03       	cmp    $0x3e8,%si
40a9c7:	72 cd                	jb     0x40a996
40a9c9:	8b 45 fc             	mov    -0x4(%ebp),%eax
40a9cc:	3b 18                	cmp    (%eax),%ebx
40a9ce:	7e 1d                	jle    0x40a9ed
40a9d0:	8b c3                	mov    %ebx,%eax
40a9d2:	8b 55 fc             	mov    -0x4(%ebp),%edx
40a9d5:	8b 12                	mov    (%edx),%edx
40a9d7:	2a c2                	sub    %dl,%al
40a9d9:	8b 55 08             	mov    0x8(%ebp),%edx
40a9dc:	88 02                	mov    %al,(%edx)
40a9de:	8b 45 fc             	mov    -0x4(%ebp),%eax
40a9e1:	89 18                	mov    %ebx,(%eax)
40a9e3:	8b 45 f8             	mov    -0x8(%ebp),%eax
40a9e6:	66 89 30             	mov    %si,(%eax)
40a9e9:	c6 45 f7 01          	movb   $0x1,-0x9(%ebp)
40a9ed:	8a 45 f7             	mov    -0x9(%ebp),%al
40a9f0:	5f                   	pop    %edi
40a9f1:	5e                   	pop    %esi
40a9f2:	5b                   	pop    %ebx
40a9f3:	8b e5                	mov    %ebp,%esp
40a9f5:	5d                   	pop    %ebp
40a9f6:	c2 04 00             	ret    $0x4
40a9f9:	8d 40 00             	lea    0x0(%eax),%eax
40a9fc:	55                   	push   %ebp
40a9fd:	8b ec                	mov    %esp,%ebp
40a9ff:	83 c4 f8             	add    $0xfffffff8,%esp
40aa02:	53                   	push   %ebx
40aa03:	56                   	push   %esi
40aa04:	57                   	push   %edi
40aa05:	33 db                	xor    %ebx,%ebx
40aa07:	89 5d f8             	mov    %ebx,-0x8(%ebp)
40aa0a:	8b f9                	mov    %ecx,%edi
40aa0c:	8b f2                	mov    %edx,%esi
40aa0e:	89 45 fc             	mov    %eax,-0x4(%ebp)
40aa11:	33 c0                	xor    %eax,%eax
40aa13:	55                   	push   %ebp
40aa14:	68 75 aa 40 00       	push   $0x40aa75
40aa19:	64 ff 30             	push   %fs:(%eax)
40aa1c:	64 89 20             	mov    %esp,%fs:(%eax)
40aa1f:	33 db                	xor    %ebx,%ebx
40aa21:	85 ff                	test   %edi,%edi
40aa23:	74 3a                	je     0x40aa5f
40aa25:	8b d6                	mov    %esi,%edx
40aa27:	8b 45 fc             	mov    -0x4(%ebp),%eax
40aa2a:	e8 15 ff ff ff       	call   0x40a944
40aa2f:	8d 45 f8             	lea    -0x8(%ebp),%eax
40aa32:	50                   	push   %eax
40aa33:	8b c7                	mov    %edi,%eax
40aa35:	e8 f6 9d ff ff       	call   0x404830
40aa3a:	8b c8                	mov    %eax,%ecx
40aa3c:	8b 16                	mov    (%esi),%edx
40aa3e:	8b 45 fc             	mov    -0x4(%ebp),%eax
40aa41:	e8 4a a0 ff ff       	call   0x404a90
40aa46:	8b 55 f8             	mov    -0x8(%ebp),%edx
40aa49:	8b c7                	mov    %edi,%eax
40aa4b:	e8 7c d8 ff ff       	call   0x4082cc
40aa50:	85 c0                	test   %eax,%eax
40aa52:	75 0b                	jne    0x40aa5f
40aa54:	8b c7                	mov    %edi,%eax
40aa56:	e8 d5 9d ff ff       	call   0x404830
40aa5b:	01 06                	add    %eax,(%esi)
40aa5d:	b3 01                	mov    $0x1,%bl
40aa5f:	33 c0                	xor    %eax,%eax
40aa61:	5a                   	pop    %edx
40aa62:	59                   	pop    %ecx
40aa63:	59                   	pop    %ecx
40aa64:	64 89 10             	mov    %edx,%fs:(%eax)
40aa67:	68 7c aa 40 00       	push   $0x40aa7c
40aa6c:	8d 45 f8             	lea    -0x8(%ebp),%eax
40aa6f:	e8 fc 9a ff ff       	call   0x404570
40aa74:	c3                   	ret
40aa75:	e9 d2 94 ff ff       	jmp    0x403f4c
40aa7a:	eb f0                	jmp    0x40aa6c
40aa7c:	8b c3                	mov    %ebx,%eax
40aa7e:	5f                   	pop    %edi
40aa7f:	5e                   	pop    %esi
40aa80:	5b                   	pop    %ebx
40aa81:	59                   	pop    %ecx
40aa82:	59                   	pop    %ecx
40aa83:	5d                   	pop    %ebp
40aa84:	c3                   	ret
40aa85:	8d 40 00             	lea    0x0(%eax),%eax
40aa88:	53                   	push   %ebx
40aa89:	56                   	push   %esi
40aa8a:	57                   	push   %edi
40aa8b:	51                   	push   %ecx
40aa8c:	88 0c 24             	mov    %cl,(%esp)
40aa8f:	8b fa                	mov    %edx,%edi
40aa91:	8b f0                	mov    %eax,%esi
40aa93:	33 db                	xor    %ebx,%ebx
40aa95:	8b d7                	mov    %edi,%edx
40aa97:	8b c6                	mov    %esi,%eax
40aa99:	e8 a6 fe ff ff       	call   0x40a944
40aa9e:	8b c6                	mov    %esi,%eax
40aaa0:	e8 8b 9d ff ff       	call   0x404830
40aaa5:	3b 07                	cmp    (%edi),%eax
40aaa7:	7c 0f                	jl     0x40aab8
40aaa9:	8b 07                	mov    (%edi),%eax
40aaab:	8a 44 06 ff          	mov    -0x1(%esi,%eax,1),%al
40aaaf:	3a 04 24             	cmp    (%esp),%al
40aab2:	75 04                	jne    0x40aab8
40aab4:	ff 07                	incl   (%edi)
40aab6:	b3 01                	mov    $0x1,%bl
40aab8:	8b c3                	mov    %ebx,%eax
40aaba:	5a                   	pop    %edx
40aabb:	5f                   	pop    %edi
40aabc:	5e                   	pop    %esi
40aabd:	5b                   	pop    %ebx
40aabe:	c3                   	ret
40aabf:	90                   	nop
40aac0:	53                   	push   %ebx
40aac1:	56                   	push   %esi
40aac2:	57                   	push   %edi
40aac3:	8b f0                	mov    %eax,%esi
40aac5:	33 db                	xor    %ebx,%ebx
40aac7:	bf 01 00 00 00       	mov    $0x1,%edi
40aacc:	eb 29                	jmp    0x40aaf7
40aace:	8a 44 3e ff          	mov    -0x1(%esi,%edi,1),%al
40aad2:	24 df                	and    $0xdf,%al
40aad4:	2c 44                	sub    $0x44,%al