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
40aad6:	74 1a                	je     0x40aaf2
40aad8:	fe c8                	dec    %al
40aada:	74 0a                	je     0x40aae6
40aadc:	2c 08                	sub    $0x8,%al
40aade:	74 0e                	je     0x40aaee
40aae0:	2c 0c                	sub    $0xc,%al
40aae2:	74 06                	je     0x40aaea
40aae4:	eb 10                	jmp    0x40aaf6
40aae6:	b3 02                	mov    $0x2,%bl
40aae8:	eb 1a                	jmp    0x40ab04
40aaea:	b3 02                	mov    $0x2,%bl
40aaec:	eb 16                	jmp    0x40ab04
40aaee:	33 db                	xor    %ebx,%ebx
40aaf0:	eb 12                	jmp    0x40ab04
40aaf2:	b3 01                	mov    $0x1,%bl
40aaf4:	eb 0e                	jmp    0x40ab04
40aaf6:	47                   	inc    %edi
40aaf7:	8b c6                	mov    %esi,%eax
40aaf9:	e8 32 9d ff ff       	call   0x404830
40aafe:	3b f8                	cmp    %eax,%edi
40ab00:	7e cc                	jle    0x40aace
40ab02:	33 db                	xor    %ebx,%ebx
40ab04:	8b c3                	mov    %ebx,%eax
40ab06:	5f                   	pop    %edi
40ab07:	5e                   	pop    %esi
40ab08:	5b                   	pop    %ebx
40ab09:	c3                   	ret
40ab0a:	8b c0                	mov    %eax,%eax
40ab0c:	53                   	push   %ebx
40ab0d:	56                   	push   %esi
40ab0e:	8b da                	mov    %edx,%ebx
40ab10:	8b f0                	mov    %eax,%esi
40ab12:	eb 23                	jmp    0x40ab37
40ab14:	8b 03                	mov    (%ebx),%eax
40ab16:	8a 44 06 ff          	mov    -0x1(%esi,%eax,1),%al
40ab1a:	25 ff 00 00 00       	and    $0xff,%eax
40ab1f:	0f a3 05 3c 51 45 00 	bt     %eax,0x45513c
40ab26:	73 0d                	jae    0x40ab35
40ab28:	8b 13                	mov    (%ebx),%edx
40ab2a:	8b c6                	mov    %esi,%eax
40ab2c:	e8 23 1b 00 00       	call   0x40c654
40ab31:	89 03                	mov    %eax,(%ebx)
40ab33:	eb 02                	jmp    0x40ab37
40ab35:	ff 03                	incl   (%ebx)
40ab37:	8b c6                	mov    %esi,%eax
40ab39:	e8 f2 9c ff ff       	call   0x404830
40ab3e:	3b 03                	cmp    (%ebx),%eax
40ab40:	7c 0c                	jl     0x40ab4e
40ab42:	8b 03                	mov    (%ebx),%eax
40ab44:	8a 44 06 ff          	mov    -0x1(%esi,%eax,1),%al
40ab48:	04 d0                	add    $0xd0,%al
40ab4a:	2c 0a                	sub    $0xa,%al
40ab4c:	73 c6                	jae    0x40ab14
40ab4e:	5e                   	pop    %esi
40ab4f:	5b                   	pop    %ebx
40ab50:	c3                   	ret
40ab51:	8d 40 00             	lea    0x0(%eax),%eax
40ab54:	53                   	push   %ebx
40ab55:	56                   	push   %esi
40ab56:	57                   	push   %edi
40ab57:	55                   	push   %ebp
40ab58:	51                   	push   %ecx
40ab59:	8b e8                	mov    %eax,%ebp
40ab5b:	33 c0                	xor    %eax,%eax
40ab5d:	89 04 24             	mov    %eax,(%esp)
40ab60:	bf 07 00 00 00       	mov    $0x7,%edi
40ab65:	bb 54 17 46 00       	mov    $0x461754,%ebx
40ab6a:	be 70 17 46 00       	mov    $0x461770,%esi
40ab6f:	83 3b 00             	cmpl   $0x0,(%ebx)
40ab72:	74 29                	je     0x40ab9d
40ab74:	8b c5                	mov    %ebp,%eax
40ab76:	e8 b5 9e ff ff       	call   0x404a30
40ab7b:	50                   	push   %eax
40ab7c:	8b 03                	mov    (%ebx),%eax
40ab7e:	e8 ad 9e ff ff       	call   0x404a30
40ab83:	5a                   	pop    %edx
40ab84:	e8 43 1b 00 00       	call   0x40c6cc
40ab89:	85 c0                	test   %eax,%eax
40ab8b:	74 07                	je     0x40ab94
40ab8d:	8b 06                	mov    (%esi),%eax
40ab8f:	89 04 24             	mov    %eax,(%esp)
40ab92:	eb 09                	jmp    0x40ab9d
40ab94:	83 c6 04             	add    $0x4,%esi
40ab97:	83 c3 04             	add    $0x4,%ebx
40ab9a:	4f                   	dec    %edi
40ab9b:	75 d2                	jne    0x40ab6f
40ab9d:	8b 04 24             	mov    (%esp),%eax
40aba0:	5a                   	pop    %edx
40aba1:	5d                   	pop    %ebp
40aba2:	5f                   	pop    %edi
40aba3:	5e                   	pop    %esi
40aba4:	5b                   	pop    %ebx
40aba5:	c3                   	ret
40aba6:	8b c0                	mov    %eax,%eax
40aba8:	55                   	push   %ebp
40aba9:	8b ec                	mov    %esp,%ebp
40abab:	53                   	push   %ebx
40abac:	8b d8                	mov    %eax,%ebx
40abae:	83 3d 48 17 46 00 12 	cmpl   $0x12,0x461748
40abb5:	75 3a                	jne    0x40abf1
40abb7:	83 fb 63             	cmp    $0x63,%ebx
40abba:	7f 24                	jg     0x40abe0
40abbc:	e8 5b f1 ff ff       	call   0x409d1c
40abc1:	0f b7 c8             	movzwl %ax,%ecx
40abc4:	8b 45 08             	mov    0x8(%ebp),%eax
40abc7:	8b 40 fc             	mov    -0x4(%eax),%eax
40abca:	99                   	cltd
40abcb:	33 c2                	xor    %edx,%eax
40abcd:	2b c2                	sub    %edx,%eax
40abcf:	03 c8                	add    %eax,%ecx
40abd1:	8b c1                	mov    %ecx,%eax
40abd3:	b9 64 00 00 00       	mov    $0x64,%ecx
40abd8:	99                   	cltd
40abd9:	f7 f9                	idiv   %ecx
40abdb:	6b c0 64             	imul   $0x64,%eax,%eax
40abde:	03 d8                	add    %eax,%ebx
40abe0:	8b 45 08             	mov    0x8(%ebp),%eax
40abe3:	83 78 fc 00          	cmpl   $0x0,-0x4(%eax)
40abe7:	7e 0e                	jle    0x40abf7
40abe9:	8b 45 08             	mov    0x8(%ebp),%eax
40abec:	f7 58 fc             	negl   -0x4(%eax)
40abef:	eb 06                	jmp    0x40abf7
40abf1:	8b 45 08             	mov    0x8(%ebp),%eax
40abf4:	ff 48 fc             	decl   -0x4(%eax)
40abf7:	8b 45 08             	mov    0x8(%ebp),%eax
40abfa:	8b 40 fc             	mov    -0x4(%eax),%eax
40abfd:	03 c3                	add    %ebx,%eax
40abff:	5b                   	pop    %ebx
40ac00:	5d                   	pop    %ebp
40ac01:	c3                   	ret
40ac02:	8b c0                	mov    %eax,%eax
40ac04:	55                   	push   %ebp
40ac05:	8b ec                	mov    %esp,%ebp
40ac07:	83 c4 d8             	add    $0xffffffd8,%esp
40ac0a:	53                   	push   %ebx
40ac0b:	56                   	push   %esi
40ac0c:	57                   	push   %edi
40ac0d:	33 db                	xor    %ebx,%ebx
40ac0f:	89 5d d8             	mov    %ebx,-0x28(%ebp)
40ac12:	89 5d dc             	mov    %ebx,-0x24(%ebp)
40ac15:	89 5d e0             	mov    %ebx,-0x20(%ebp)
40ac18:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
40ac1b:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40ac1e:	8b da                	mov    %edx,%ebx
40ac20:	8b f0                	mov    %eax,%esi
40ac22:	33 c0                	xor    %eax,%eax
40ac24:	55                   	push   %ebp
40ac25:	68 1f af 40 00       	push   $0x40af1f
40ac2a:	64 ff 30             	push   %fs:(%eax)
40ac2d:	64 89 20             	mov    %esp,%fs:(%eax)
40ac30:	33 ff                	xor    %edi,%edi
40ac32:	66 c7 45 ee 00 00    	movw   $0x0,-0x12(%ebp)
40ac38:	66 c7 45 ec 00 00    	movw   $0x0,-0x14(%ebp)
40ac3e:	c6 45 e8 00          	movb   $0x0,-0x18(%ebp)
40ac42:	c6 45 f7 00          	movb   $0x0,-0x9(%ebp)
40ac46:	a1 90 16 46 00       	mov    0x461690,%eax
40ac4b:	e8 70 fe ff ff       	call   0x40aac0
40ac50:	88 45 f6             	mov    %al,-0xa(%ebp)
40ac53:	33 c0                	xor    %eax,%eax
40ac55:	89 45 fc             	mov    %eax,-0x4(%ebp)
40ac58:	83 3d 90 16 46 00 00 	cmpl   $0x0,0x461690
40ac5f:	74 3e                	je     0x40ac9f
40ac61:	a1 90 16 46 00       	mov    0x461690,%eax
40ac66:	80 38 67             	cmpb   $0x67,(%eax)
40ac69:	75 34                	jne    0x40ac9f
40ac6b:	8b d3                	mov    %ebx,%edx
40ac6d:	8b c6                	mov    %esi,%eax
40ac6f:	e8 98 fe ff ff       	call   0x40ab0c
40ac74:	8d 45 e0             	lea    -0x20(%ebp),%eax
40ac77:	50                   	push   %eax
40ac78:	8b 0b                	mov    (%ebx),%ecx
40ac7a:	49                   	dec    %ecx
40ac7b:	ba 01 00 00 00       	mov    $0x1,%edx
40ac80:	8b c6                	mov    %esi,%eax
40ac82:	e8 09 9e ff ff       	call   0x404a90