409aa6:	80 39 0a             	cmpb   $0xa,(%ecx)
409aa9:	75 03                	jne    0x409aae
409aab:	ff 45 f8             	incl   -0x8(%ebp)
409aae:	41                   	inc    %ecx
409aaf:	eb f1                	jmp    0x409aa2
409ab1:	f6 c1 80             	test   $0x80,%cl
409ab4:	75 13                	jne    0x409ac9
409ab6:	e8 23 d6 ff ff       	call   0x4070de
409abb:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
409ac1:	83 c8 ff             	or     $0xffffffff,%eax
409ac4:	e9 c6 00 00 00       	jmp    0x409b8f
409ac9:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
409acd:	75 08                	jne    0x409ad7
409acf:	8b 45 f8             	mov    -0x8(%ebp),%eax
409ad2:	e9 b8 00 00 00       	jmp    0x409b8f
409ad7:	f6 47 0c 01          	testb  $0x1,0xc(%edi)
409adb:	0f 84 a6 00 00 00    	je     0x409b87
409ae1:	8b 4f 04             	mov    0x4(%edi),%ecx
409ae4:	85 c9                	test   %ecx,%ecx
409ae6:	75 08                	jne    0x409af0
409ae8:	21 4d f8             	and    %ecx,-0x8(%ebp)
409aeb:	e9 97 00 00 00       	jmp    0x409b87
409af0:	2b c2                	sub    %edx,%eax
409af2:	03 c1                	add    %ecx,%eax
409af4:	89 45 08             	mov    %eax,0x8(%ebp)
409af7:	8b c6                	mov    %esi,%eax
409af9:	c1 f8 05             	sar    $0x5,%eax
409afc:	8d 1c 85 c0 1d 41 00 	lea    0x411dc0(,%eax,4),%ebx
409b03:	8b c6                	mov    %esi,%eax
409b05:	83 e0 1f             	and    $0x1f,%eax
409b08:	8d 34 c0             	lea    (%eax,%eax,8),%esi
409b0b:	8b 03                	mov    (%ebx),%eax
409b0d:	c1 e6 02             	shl    $0x2,%esi
409b10:	f6 44 06 04 80       	testb  $0x80,0x4(%esi,%eax,1)
409b15:	74 6a                	je     0x409b81
409b17:	6a 02                	push   $0x2
409b19:	6a 00                	push   $0x0
409b1b:	ff 75 f4             	push   -0xc(%ebp)
409b1e:	e8 38 fe ff ff       	call   0x40995b
409b23:	83 c4 0c             	add    $0xc,%esp
409b26:	3b 45 fc             	cmp    -0x4(%ebp),%eax
409b29:	75 1d                	jne    0x409b48
409b2b:	8b 47 08             	mov    0x8(%edi),%eax
409b2e:	8b 4d 08             	mov    0x8(%ebp),%ecx
409b31:	03 c8                	add    %eax,%ecx
409b33:	3b c1                	cmp    %ecx,%eax
409b35:	73 0b                	jae    0x409b42
409b37:	80 38 0a             	cmpb   $0xa,(%eax)
409b3a:	75 03                	jne    0x409b3f
409b3c:	ff 45 08             	incl   0x8(%ebp)
409b3f:	40                   	inc    %eax
409b40:	eb f1                	jmp    0x409b33
409b42:	f6 47 0d 20          	testb  $0x20,0xd(%edi)
409b46:	eb 34                	jmp    0x409b7c
409b48:	6a 00                	push   $0x0
409b4a:	ff 75 fc             	push   -0x4(%ebp)
409b4d:	ff 75 f4             	push   -0xc(%ebp)
409b50:	e8 06 fe ff ff       	call   0x40995b
409b55:	b8 00 02 00 00       	mov    $0x200,%eax
409b5a:	83 c4 0c             	add    $0xc,%esp
409b5d:	39 45 08             	cmp    %eax,0x8(%ebp)
409b60:	77 0d                	ja     0x409b6f
409b62:	8b 4f 0c             	mov    0xc(%edi),%ecx
409b65:	f6 c1 08             	test   $0x8,%cl
409b68:	74 05                	je     0x409b6f
409b6a:	f6 c5 04             	test   $0x4,%ch
409b6d:	74 03                	je     0x409b72
409b6f:	8b 47 18             	mov    0x18(%edi),%eax
409b72:	89 45 08             	mov    %eax,0x8(%ebp)
409b75:	8b 03                	mov    (%ebx),%eax
409b77:	f6 44 06 04 04       	testb  $0x4,0x4(%esi,%eax,1)
409b7c:	74 03                	je     0x409b81
409b7e:	ff 45 08             	incl   0x8(%ebp)
409b81:	8b 45 08             	mov    0x8(%ebp),%eax
409b84:	29 45 fc             	sub    %eax,-0x4(%ebp)
409b87:	8b 45 f8             	mov    -0x8(%ebp),%eax
409b8a:	8b 4d fc             	mov    -0x4(%ebp),%ecx
409b8d:	03 c1                	add    %ecx,%eax
409b8f:	5f                   	pop    %edi
409b90:	5e                   	pop    %esi
409b91:	5b                   	pop    %ebx
409b92:	c9                   	leave
409b93:	c3                   	ret
409b94:	55                   	push   %ebp
409b95:	8b ec                	mov    %esp,%ebp
409b97:	56                   	push   %esi
409b98:	ff 75 08             	push   0x8(%ebp)
409b9b:	e8 26 bd ff ff       	call   0x4058c6
409ba0:	ff 75 14             	push   0x14(%ebp)
409ba3:	ff 75 10             	push   0x10(%ebp)
409ba6:	ff 75 0c             	push   0xc(%ebp)
409ba9:	ff 75 08             	push   0x8(%ebp)
409bac:	e8 12 00 00 00       	call   0x409bc3
409bb1:	ff 75 08             	push   0x8(%ebp)
409bb4:	8b f0                	mov    %eax,%esi
409bb6:	e8 5d bd ff ff       	call   0x405918
409bbb:	83 c4 18             	add    $0x18,%esp
409bbe:	8b c6                	mov    %esi,%eax
409bc0:	5e                   	pop    %esi
409bc1:	5d                   	pop    %ebp
409bc2:	c3                   	ret
409bc3:	55                   	push   %ebp
409bc4:	8b ec                	mov    %esp,%ebp
409bc6:	56                   	push   %esi
409bc7:	8b 75 08             	mov    0x8(%ebp),%esi
409bca:	57                   	push   %edi
409bcb:	8b 46 0c             	mov    0xc(%esi),%eax
409bce:	a8 83                	test   $0x83,%al
409bd0:	74 70                	je     0x409c42
409bd2:	8b 7d 14             	mov    0x14(%ebp),%edi
409bd5:	85 ff                	test   %edi,%edi
409bd7:	74 0a                	je     0x409be3
409bd9:	83 ff 01             	cmp    $0x1,%edi
409bdc:	74 05                	je     0x409be3
409bde:	83 ff 02             	cmp    $0x2,%edi
409be1:	75 5f                	jne    0x409c42
409be3:	24 ef                	and    $0xef,%al
409be5:	83 ff 01             	cmp    $0x1,%edi
409be8:	89 46 0c             	mov    %eax,0xc(%esi)
409beb:	75 0f                	jne    0x409bfc
409bed:	56                   	push   %esi
409bee:	e8 d8 fb ff ff       	call   0x4097cb
409bf3:	01 45 0c             	add    %eax,0xc(%ebp)
409bf6:	59                   	pop    %ecx
409bf7:	11 55 10             	adc    %edx,0x10(%ebp)
409bfa:	33 ff                	xor    %edi,%edi
409bfc:	56                   	push   %esi
409bfd:	e8 ce c8 ff ff       	call   0x4064d0
409c02:	8b 46 0c             	mov    0xc(%esi),%eax
409c05:	59                   	pop    %ecx
409c06:	a8 80                	test   $0x80,%al
409c08:	74 07                	je     0x409c11
409c0a:	24 fc                	and    $0xfc,%al
409c0c:	89 46 0c             	mov    %eax,0xc(%esi)
409c0f:	eb 14                	jmp    0x409c25
409c11:	a8 01                	test   $0x1,%al
409c13:	74 10                	je     0x409c25
409c15:	a8 08                	test   $0x8,%al
409c17:	74 0c                	je     0x409c25
409c19:	f6 c4 04             	test   $0x4,%ah
409c1c:	75 07                	jne    0x409c25
409c1e:	c7 46 18 00 02 00 00 	movl   $0x200,0x18(%esi)
409c25:	57                   	push   %edi
409c26:	ff 75 10             	push   0x10(%ebp)
409c29:	ff 75 0c             	push   0xc(%ebp)
409c2c:	ff 76 10             	push   0x10(%esi)
409c2f:	e8 30 1f 00 00       	call   0x40bb64
409c34:	23 c2                	and    %edx,%eax
409c36:	83 c4 10             	add    $0x10,%esp
409c39:	83 f8 ff             	cmp    $0xffffffff,%eax
409c3c:	74 0f                	je     0x409c4d
409c3e:	33 c0                	xor    %eax,%eax
409c40:	eb 0e                	jmp    0x409c50
409c42:	e8 97 d4 ff ff       	call   0x4070de
409c47:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
409c4d:	83 c8 ff             	or     $0xffffffff,%eax
409c50:	5f                   	pop    %edi
409c51:	5e                   	pop    %esi
409c52:	5d                   	pop    %ebp
409c53:	c3                   	ret
409c54:	56                   	push   %esi
409c55:	8b 74 24 08          	mov    0x8(%esp),%esi
409c59:	8b 46 0c             	mov    0xc(%esi),%eax
409c5c:	a8 83                	test   $0x83,%al
409c5e:	74 1d                	je     0x409c7d
409c60:	a8 08                	test   $0x8,%al
409c62:	74 19                	je     0x409c7d
409c64:	ff 76 08             	push   0x8(%esi)
409c67:	e8 6b d2 ff ff       	call   0x406ed7
409c6c:	66 81 66 0c f7 fb    	andw   $0xfbf7,0xc(%esi)
409c72:	33 c0                	xor    %eax,%eax
409c74:	59                   	pop    %ecx
409c75:	89 06                	mov    %eax,(%esi)
409c77:	89 46 08             	mov    %eax,0x8(%esi)
409c7a:	89 46 04             	mov    %eax,0x4(%esi)
409c7d:	5e                   	pop    %esi
409c7e:	c3                   	ret
409c7f:	53                   	push   %ebx
409c80:	8b 5c 24 08          	mov    0x8(%esp),%ebx
409c84:	3b 1d c0 1e 41 00    	cmp    0x411ec0,%ebx
409c8a:	56                   	push   %esi
409c8b:	57                   	push   %edi
409c8c:	73 72                	jae    0x409d00
409c8e:	8b c3                	mov    %ebx,%eax
409c90:	c1 f8 05             	sar    $0x5,%eax
409c93:	8d 3c 85 c0 1d 41 00 	lea    0x411dc0(,%eax,4),%edi
409c9a:	8b c3                	mov    %ebx,%eax
409c9c:	83 e0 1f             	and    $0x1f,%eax
409c9f:	8d 34 c0             	lea    (%eax,%eax,8),%esi
409ca2:	8b 07                	mov    (%edi),%eax
409ca4:	c1 e6 02             	shl    $0x2,%esi
409ca7:	f6 44 30 04 01       	testb  $0x1,0x4(%eax,%esi,1)
409cac:	74 52                	je     0x409d00
409cae:	53                   	push   %ebx
409caf:	e8 f1 1b 00 00       	call   0x40b8a5
409cb4:	8b 07                	mov    (%edi),%eax
409cb6:	59                   	pop    %ecx
409cb7:	f6 44 30 04 01       	testb  $0x1,0x4(%eax,%esi,1)
409cbc:	74 29                	je     0x409ce7
409cbe:	53                   	push   %ebx
409cbf:	e8 9f 1b 00 00       	call   0x40b863
409cc4:	59                   	pop    %ecx
409cc5:	50                   	push   %eax
409cc6:	ff 15 78 d0 40 00    	call   *0x40d078
409ccc:	85 c0                	test   %eax,%eax
409cce:	75 0a                	jne    0x409cda
409cd0:	ff 15 9c d0 40 00    	call   *0x40d09c
409cd6:	8b f0                	mov    %eax,%esi
409cd8:	eb 02                	jmp    0x409cdc
409cda:	33 f6                	xor    %esi,%esi
409cdc:	85 f6                	test   %esi,%esi
409cde:	74 15                	je     0x409cf5
409ce0:	e8 02 d4 ff ff       	call   0x4070e7
409ce5:	89 30                	mov    %esi,(%eax)
409ce7:	e8 f2 d3 ff ff       	call   0x4070de
409cec:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
409cf2:	83 ce ff             	or     $0xffffffff,%esi
409cf5:	53                   	push   %ebx
409cf6:	e8 09 1c 00 00       	call   0x40b904
409cfb:	59                   	pop    %ecx
409cfc:	8b c6                	mov    %esi,%eax
409cfe:	eb 0e                	jmp    0x409d0e
409d00:	e8 d9 d3 ff ff       	call   0x4070de
409d05:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
409d0b:	83 c8 ff             	or     $0xffffffff,%eax
409d0e:	5f                   	pop    %edi
409d0f:	5e                   	pop    %esi
409d10:	5b                   	pop    %ebx
409d11:	c3                   	ret
409d12:	56                   	push   %esi
409d13:	8b 74 24 08          	mov    0x8(%esp),%esi
409d17:	3b 35 c0 1e 41 00    	cmp    0x411ec0,%esi
409d1d:	73 38                	jae    0x409d57
409d1f:	8b ce                	mov    %esi,%ecx
409d21:	8b c6                	mov    %esi,%eax
409d23:	c1 f9 05             	sar    $0x5,%ecx
409d26:	83 e0 1f             	and    $0x1f,%eax
409d29:	8b 0c 8d c0 1d 41 00 	mov    0x411dc0(,%ecx,4),%ecx
409d30:	8d 04 c0             	lea    (%eax,%eax,8),%eax
409d33:	f6 44 81 04 01       	testb  $0x1,0x4(%ecx,%eax,4)
409d38:	74 1d                	je     0x409d57
409d3a:	57                   	push   %edi
409d3b:	56                   	push   %esi
409d3c:	e8 64 1b 00 00       	call   0x40b8a5
409d41:	56                   	push   %esi
409d42:	e8 28 00 00 00       	call   0x409d6f
409d47:	56                   	push   %esi
409d48:	8b f8                	mov    %eax,%edi
409d4a:	e8 b5 1b 00 00       	call   0x40b904
409d4f:	83 c4 0c             	add    $0xc,%esp
409d52:	8b c7                	mov    %edi,%eax
409d54:	5f                   	pop    %edi
409d55:	5e                   	pop    %esi
409d56:	c3                   	ret
409d57:	e8 82 d3 ff ff       	call   0x4070de
409d5c:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
409d62:	e8 80 d3 ff ff       	call   0x4070e7
409d67:	83 20 00             	andl   $0x0,(%eax)
409d6a:	83 c8 ff             	or     $0xffffffff,%eax
409d6d:	5e                   	pop    %esi
409d6e:	c3                   	ret
409d6f:	56                   	push   %esi
409d70:	8b 74 24 08          	mov    0x8(%esp),%esi
409d74:	57                   	push   %edi
409d75:	56                   	push   %esi
409d76:	e8 e8 1a 00 00       	call   0x40b863
409d7b:	83 f8 ff             	cmp    $0xffffffff,%eax
409d7e:	59                   	pop    %ecx
409d7f:	74 3c                	je     0x409dbd
409d81:	83 fe 01             	cmp    $0x1,%esi
409d84:	74 05                	je     0x409d8b
409d86:	83 fe 02             	cmp    $0x2,%esi
409d89:	75 16                	jne    0x409da1
409d8b:	6a 02                	push   $0x2
409d8d:	e8 d1 1a 00 00       	call   0x40b863
409d92:	6a 01                	push   $0x1
409d94:	8b f8                	mov    %eax,%edi
409d96:	e8 c8 1a 00 00       	call   0x40b863
409d9b:	59                   	pop    %ecx
409d9c:	3b c7                	cmp    %edi,%eax
409d9e:	59                   	pop    %ecx
409d9f:	74 1c                	je     0x409dbd
409da1:	56                   	push   %esi
409da2:	e8 bc 1a 00 00       	call   0x40b863
409da7:	59                   	pop    %ecx
409da8:	50                   	push   %eax
409da9:	ff 15 74 d0 40 00    	call   *0x40d074
409daf:	85 c0                	test   %eax,%eax
409db1:	75 0a                	jne    0x409dbd
409db3:	ff 15 9c d0 40 00    	call   *0x40d09c
409db9:	8b f8                	mov    %eax,%edi
409dbb:	eb 02                	jmp    0x409dbf
409dbd:	33 ff                	xor    %edi,%edi
409dbf:	56                   	push   %esi
409dc0:	e8 1f 1a 00 00       	call   0x40b7e4
409dc5:	8b c6                	mov    %esi,%eax
409dc7:	83 e6 1f             	and    $0x1f,%esi
409dca:	c1 f8 05             	sar    $0x5,%eax
409dcd:	59                   	pop    %ecx
409dce:	8b 04 85 c0 1d 41 00 	mov    0x411dc0(,%eax,4),%eax
409dd5:	8d 0c f6             	lea    (%esi,%esi,8),%ecx
409dd8:	80 64 88 04 00       	andb   $0x0,0x4(%eax,%ecx,4)
409ddd:	85 ff                	test   %edi,%edi
409ddf:	74 0c                	je     0x409ded
409de1:	57                   	push   %edi
409de2:	e8 84 d2 ff ff       	call   0x40706b
409de7:	59                   	pop    %ecx
409de8:	83 c8 ff             	or     $0xffffffff,%eax
409deb:	eb 02                	jmp    0x409def
409ded:	33 c0                	xor    %eax,%eax
409def:	5f                   	pop    %edi
409df0:	5e                   	pop    %esi
409df1:	c3                   	ret
409df2:	55                   	push   %ebp
409df3:	8b ec                	mov    %esp,%ebp
409df5:	51                   	push   %ecx
409df6:	53                   	push   %ebx
409df7:	56                   	push   %esi
409df8:	8b 75 0c             	mov    0xc(%ebp),%esi
409dfb:	8b 46 0c             	mov    0xc(%esi),%eax
409dfe:	8b 4e 10             	mov    0x10(%esi),%ecx
409e01:	a8 82                	test   $0x82,%al
409e03:	89 4d fc             	mov    %ecx,-0x4(%ebp)
409e06:	0f 84 ff 00 00 00    	je     0x409f0b
409e0c:	a8 40                	test   $0x40,%al
409e0e:	0f 85 f7 00 00 00    	jne    0x409f0b
409e14:	33 db                	xor    %ebx,%ebx
409e16:	a8 01                	test   $0x1,%al
409e18:	74 15                	je     0x409e2f
409e1a:	a8 10                	test   $0x10,%al
409e1c:	89 5e 04             	mov    %ebx,0x4(%esi)
409e1f:	0f 84 e6 00 00 00    	je     0x409f0b
409e25:	8b 56 08             	mov    0x8(%esi),%edx
409e28:	24 fe                	and    $0xfe,%al
409e2a:	89 16                	mov    %edx,(%esi)
409e2c:	89 46 0c             	mov    %eax,0xc(%esi)
409e2f:	8b 46 0c             	mov    0xc(%esi),%eax
409e32:	89 5e 04             	mov    %ebx,0x4(%esi)
409e35:	24 ef                	and    $0xef,%al
409e37:	89 5d 0c             	mov    %ebx,0xc(%ebp)
409e3a:	0c 02                	or     $0x2,%al
409e3c:	66 a9 0c 01          	test   $0x10c,%ax
409e40:	89 46 0c             	mov    %eax,0xc(%esi)
409e43:	75 25                	jne    0x409e6a
409e45:	81 fe a0 05 41 00    	cmp    $0x4105a0,%esi
409e4b:	74 08                	je     0x409e55
409e4d:	81 fe c0 05 41 00    	cmp    $0x4105c0,%esi
409e53:	75 0b                	jne    0x409e60
409e55:	51                   	push   %ecx
409e56:	e8 0a 12 00 00       	call   0x40b065