40a996:	5d                   	pop    %ebp
40a997:	c3                   	ret
40a998:	cc                   	int3
40a999:	cc                   	int3
40a99a:	cc                   	int3
40a99b:	cc                   	int3
40a99c:	cc                   	int3
40a99d:	cc                   	int3
40a99e:	cc                   	int3
40a99f:	cc                   	int3
40a9a0:	55                   	push   %ebp
40a9a1:	8b ec                	mov    %esp,%ebp
40a9a3:	53                   	push   %ebx
40a9a4:	56                   	push   %esi
40a9a5:	8b da                	mov    %edx,%ebx
40a9a7:	8b f1                	mov    %ecx,%esi
40a9a9:	3b f3                	cmp    %ebx,%esi
40a9ab:	74 2e                	je     0x40a9db
40a9ad:	57                   	push   %edi
40a9ae:	8b 7d 08             	mov    0x8(%ebp),%edi
40a9b1:	3b fe                	cmp    %esi,%edi
40a9b3:	74 15                	je     0x40a9ca
40a9b5:	83 7e 14 08          	cmpl   $0x8,0x14(%esi)
40a9b9:	8b c6                	mov    %esi,%eax
40a9bb:	72 02                	jb     0x40a9bf
40a9bd:	8b 06                	mov    (%esi),%eax
40a9bf:	ff 76 10             	push   0x10(%esi)
40a9c2:	8b cf                	mov    %edi,%ecx
40a9c4:	50                   	push   %eax
40a9c5:	e8 36 84 ff ff       	call   0x402e00
40a9ca:	83 c6 18             	add    $0x18,%esi
40a9cd:	83 c7 18             	add    $0x18,%edi
40a9d0:	3b f3                	cmp    %ebx,%esi
40a9d2:	75 dd                	jne    0x40a9b1
40a9d4:	8b c7                	mov    %edi,%eax
40a9d6:	5f                   	pop    %edi
40a9d7:	5e                   	pop    %esi
40a9d8:	5b                   	pop    %ebx
40a9d9:	5d                   	pop    %ebp
40a9da:	c3                   	ret
40a9db:	8b 45 08             	mov    0x8(%ebp),%eax
40a9de:	5e                   	pop    %esi
40a9df:	5b                   	pop    %ebx
40a9e0:	5d                   	pop    %ebp
40a9e1:	c3                   	ret
40a9e2:	cc                   	int3
40a9e3:	cc                   	int3
40a9e4:	cc                   	int3
40a9e5:	cc                   	int3
40a9e6:	cc                   	int3
40a9e7:	cc                   	int3
40a9e8:	cc                   	int3
40a9e9:	cc                   	int3
40a9ea:	cc                   	int3
40a9eb:	cc                   	int3
40a9ec:	cc                   	int3
40a9ed:	cc                   	int3
40a9ee:	cc                   	int3
40a9ef:	cc                   	int3
40a9f0:	55                   	push   %ebp
40a9f1:	8b ec                	mov    %esp,%ebp
40a9f3:	6a ff                	push   $0xffffffff
40a9f5:	68 05 7f 49 00       	push   $0x497f05
40a9fa:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
40aa00:	50                   	push   %eax
40aa01:	83 ec 1c             	sub    $0x1c,%esp
40aa04:	53                   	push   %ebx
40aa05:	56                   	push   %esi
40aa06:	57                   	push   %edi
40aa07:	a1 14 40 4c 00       	mov    0x4c4014,%eax
40aa0c:	33 c5                	xor    %ebp,%eax
40aa0e:	50                   	push   %eax
40aa0f:	8d 45 f4             	lea    -0xc(%ebp),%eax
40aa12:	64 a3 00 00 00 00    	mov    %eax,%fs:0x0
40aa18:	8b f9                	mov    %ecx,%edi
40aa1a:	89 7d ec             	mov    %edi,-0x14(%ebp)
40aa1d:	8b 5d 08             	mov    0x8(%ebp),%ebx
40aa20:	8d 45 d8             	lea    -0x28(%ebp),%eax
40aa23:	53                   	push   %ebx
40aa24:	50                   	push   %eax
40aa25:	89 5d f0             	mov    %ebx,-0x10(%ebp)
40aa28:	e8 c3 90 ff ff       	call   0x403af0
40aa2d:	8b 75 e0             	mov    -0x20(%ebp),%esi
40aa30:	80 7e 0d 00          	cmpb   $0x0,0xd(%esi)
40aa34:	75 2c                	jne    0x40aa62
40aa36:	83 7e 24 08          	cmpl   $0x8,0x24(%esi)
40aa3a:	8d 56 10             	lea    0x10(%esi),%edx
40aa3d:	72 03                	jb     0x40aa42
40aa3f:	8b 56 10             	mov    0x10(%esi),%edx
40aa42:	83 7b 14 08          	cmpl   $0x8,0x14(%ebx)
40aa46:	8b cb                	mov    %ebx,%ecx
40aa48:	72 02                	jb     0x40aa4c
40aa4a:	8b 0b                	mov    (%ebx),%ecx
40aa4c:	ff 76 20             	push   0x20(%esi)
40aa4f:	52                   	push   %edx
40aa50:	8b 53 10             	mov    0x10(%ebx),%edx
40aa53:	e8 c8 91 ff ff       	call   0x403c20
40aa58:	c1 e8 1f             	shr    $0x1f,%eax
40aa5b:	83 c4 08             	add    $0x8,%esp
40aa5e:	84 c0                	test   %al,%al
40aa60:	74 71                	je     0x40aad3
40aa62:	81 7f 04 ff ff ff 03 	cmpl   $0x3ffffff,0x4(%edi)
40aa69:	74 7f                	je     0x40aaea
40aa6b:	8b 1f                	mov    (%edi),%ebx
40aa6d:	89 7d e4             	mov    %edi,-0x1c(%ebp)
40aa70:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%ebp)
40aa77:	6a 40                	push   $0x40
40aa79:	c7 45 e8 00 00 00 00 	movl   $0x0,-0x18(%ebp)
40aa80:	e8 53 ef 05 00       	call   0x4699d8
40aa85:	8b f8                	mov    %eax,%edi
40aa87:	83 c4 04             	add    $0x4,%esp
40aa8a:	89 7d e8             	mov    %edi,-0x18(%ebp)
40aa8d:	ff 75 f0             	push   -0x10(%ebp)
40aa90:	8d 4f 10             	lea    0x10(%edi),%ecx
40aa93:	c7 45 fc 01 00 00 00 	movl   $0x1,-0x4(%ebp)
40aa9a:	e8 d1 8a ff ff       	call   0x403570
40aa9f:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40aaa2:	57                   	push   %edi
40aaa3:	ff 75 dc             	push   -0x24(%ebp)
40aaa6:	c7 47 28 00 00 00 00 	movl   $0x0,0x28(%edi)
40aaad:	ff 75 d8             	push   -0x28(%ebp)
40aab0:	c7 47 38 00 00 00 00 	movl   $0x0,0x38(%edi)
40aab7:	c7 47 3c 07 00 00 00 	movl   $0x7,0x3c(%edi)
40aabe:	89 1f                	mov    %ebx,(%edi)
40aac0:	89 5f 04             	mov    %ebx,0x4(%edi)
40aac3:	89 5f 08             	mov    %ebx,0x8(%edi)
40aac6:	66 c7 47 0c 00 00    	movw   $0x0,0xc(%edi)
40aacc:	e8 0f 8e ff ff       	call   0x4038e0
40aad1:	8b f0                	mov    %eax,%esi
40aad3:	8d 46 28             	lea    0x28(%esi),%eax
40aad6:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40aad9:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40aae0:	59                   	pop    %ecx
40aae1:	5f                   	pop    %edi
40aae2:	5e                   	pop    %esi
40aae3:	5b                   	pop    %ebx
40aae4:	8b e5                	mov    %ebp,%esp
40aae6:	5d                   	pop    %ebp
40aae7:	c2 04 00             	ret    $0x4
40aaea:	e8 d1 8b ff ff       	call   0x4036c0
40aaef:	cc                   	int3
40aaf0:	55                   	push   %ebp
40aaf1:	8b ec                	mov    %esp,%ebp
40aaf3:	83 ec 08             	sub    $0x8,%esp
40aaf6:	56                   	push   %esi
40aaf7:	8b 75 08             	mov    0x8(%ebp),%esi
40aafa:	57                   	push   %edi
40aafb:	8b f9                	mov    %ecx,%edi
40aafd:	89 75 f8             	mov    %esi,-0x8(%ebp)
40ab00:	3b fe                	cmp    %esi,%edi
40ab02:	0f 84 b7 00 00 00    	je     0x40abbf
40ab08:	8b 07                	mov    (%edi),%eax
40ab0a:	53                   	push   %ebx
40ab0b:	89 45 fc             	mov    %eax,-0x4(%ebp)
40ab0e:	8b 58 04             	mov    0x4(%eax),%ebx
40ab11:	80 7b 0d 00          	cmpb   $0x0,0xd(%ebx)
40ab15:	75 2e                	jne    0x40ab45
40ab17:	ff 73 08             	push   0x8(%ebx)
40ab1a:	8b cf                	mov    %edi,%ecx
40ab1c:	57                   	push   %edi
40ab1d:	e8 6e 8d ff ff       	call   0x403890
40ab22:	8b f3                	mov    %ebx,%esi
40ab24:	8b 1b                	mov    (%ebx),%ebx
40ab26:	8d 4e 10             	lea    0x10(%esi),%ecx
40ab29:	e8 52 90 ff ff       	call   0x403b80
40ab2e:	6a 40                	push   $0x40
40ab30:	56                   	push   %esi
40ab31:	e8 d2 ee 05 00       	call   0x469a08
40ab36:	83 c4 08             	add    $0x8,%esp
40ab39:	80 7b 0d 00          	cmpb   $0x0,0xd(%ebx)
40ab3d:	74 d8                	je     0x40ab17
40ab3f:	8b 45 fc             	mov    -0x4(%ebp),%eax
40ab42:	8b 75 f8             	mov    -0x8(%ebp),%esi
40ab45:	89 40 04             	mov    %eax,0x4(%eax)
40ab48:	8b cf                	mov    %edi,%ecx
40ab4a:	89 00                	mov    %eax,(%eax)
40ab4c:	89 40 08             	mov    %eax,0x8(%eax)
40ab4f:	ff 37                	push   (%edi)
40ab51:	c7 47 04 00 00 00 00 	movl   $0x0,0x4(%edi)
40ab58:	8b 06                	mov    (%esi),%eax
40ab5a:	ff 70 04             	push   0x4(%eax)
40ab5d:	e8 ae 01 00 00       	call   0x40ad10
40ab62:	8b c8                	mov    %eax,%ecx
40ab64:	8b 07                	mov    (%edi),%eax
40ab66:	5b                   	pop    %ebx
40ab67:	89 48 04             	mov    %ecx,0x4(%eax)
40ab6a:	8b 46 04             	mov    0x4(%esi),%eax
40ab6d:	8b 37                	mov    (%edi),%esi
40ab6f:	89 47 04             	mov    %eax,0x4(%edi)
40ab72:	8b 56 04             	mov    0x4(%esi),%edx
40ab75:	80 7a 0d 00          	cmpb   $0x0,0xd(%edx)
40ab79:	75 3d                	jne    0x40abb8
40ab7b:	8b 0a                	mov    (%edx),%ecx
40ab7d:	80 79 0d 00          	cmpb   $0x0,0xd(%ecx)
40ab81:	75 0c                	jne    0x40ab8f
40ab83:	8b 01                	mov    (%ecx),%eax
40ab85:	8b d1                	mov    %ecx,%edx
40ab87:	8b c8                	mov    %eax,%ecx
40ab89:	80 78 0d 00          	cmpb   $0x0,0xd(%eax)
40ab8d:	74 f4                	je     0x40ab83
40ab8f:	89 16                	mov    %edx,(%esi)
40ab91:	8b 17                	mov    (%edi),%edx
40ab93:	8b 4a 04             	mov    0x4(%edx),%ecx
40ab96:	8b 41 08             	mov    0x8(%ecx),%eax
40ab99:	80 78 0d 00          	cmpb   $0x0,0xd(%eax)
40ab9d:	75 0c                	jne    0x40abab
40ab9f:	90                   	nop
40aba0:	8b c8                	mov    %eax,%ecx
40aba2:	8b 41 08             	mov    0x8(%ecx),%eax
40aba5:	80 78 0d 00          	cmpb   $0x0,0xd(%eax)
40aba9:	74 f5                	je     0x40aba0
40abab:	8b c7                	mov    %edi,%eax
40abad:	89 4a 08             	mov    %ecx,0x8(%edx)
40abb0:	5f                   	pop    %edi
40abb1:	5e                   	pop    %esi
40abb2:	8b e5                	mov    %ebp,%esp
40abb4:	5d                   	pop    %ebp
40abb5:	c2 04 00             	ret    $0x4
40abb8:	89 36                	mov    %esi,(%esi)
40abba:	8b 07                	mov    (%edi),%eax
40abbc:	89 40 08             	mov    %eax,0x8(%eax)
40abbf:	8b c7                	mov    %edi,%eax
40abc1:	5f                   	pop    %edi
40abc2:	5e                   	pop    %esi
40abc3:	8b e5                	mov    %ebp,%esp
40abc5:	5d                   	pop    %ebp
40abc6:	c2 04 00             	ret    $0x4
40abc9:	cc                   	int3
40abca:	cc                   	int3
40abcb:	cc                   	int3
40abcc:	cc                   	int3
40abcd:	cc                   	int3
40abce:	cc                   	int3
40abcf:	cc                   	int3
40abd0:	55                   	push   %ebp
40abd1:	8b ec                	mov    %esp,%ebp
40abd3:	83 e4 f8             	and    $0xfffffff8,%esp
40abd6:	81 ec 14 01 00 00    	sub    $0x114,%esp
40abdc:	a1 14 40 4c 00       	mov    0x4c4014,%eax
40abe1:	33 c4                	xor    %esp,%eax
40abe3:	89 84 24 10 01 00 00 	mov    %eax,0x110(%esp)
40abea:	8b 45 0c             	mov    0xc(%ebp),%eax
40abed:	53                   	push   %ebx
40abee:	56                   	push   %esi
40abef:	57                   	push   %edi
40abf0:	8b 7d 10             	mov    0x10(%ebp),%edi
40abf3:	8b d9                	mov    %ecx,%ebx
40abf5:	89 5c 24 10          	mov    %ebx,0x10(%esp)
40abf9:	8b f2                	mov    %edx,%esi
40abfb:	89 44 24 0c          	mov    %eax,0xc(%esp)
40abff:	85 ff                	test   %edi,%edi
40ac01:	74 6d                	je     0x40ac70
40ac03:	85 f6                	test   %esi,%esi
40ac05:	74 69                	je     0x40ac70
40ac07:	68 00 01 00 00       	push   $0x100
40ac0c:	8d 44 24 1c          	lea    0x1c(%esp),%eax
40ac10:	6a 00                	push   $0x0
40ac12:	50                   	push   %eax
40ac13:	e8 98 0f 06 00       	call   0x46bbb0
40ac18:	8b 44 24 18          	mov    0x18(%esp),%eax
40ac1c:	83 c4 0c             	add    $0xc,%esp
40ac1f:	8b c8                	mov    %eax,%ecx
40ac21:	c7 44 24 14 00 01 00 	movl   $0x100,0x14(%esp)
40ac28:	00
40ac29:	8d 14 78             	lea    (%eax,%edi,2),%edx
40ac2c:	3b c2                	cmp    %edx,%eax
40ac2e:	74 19                	je     0x40ac49
40ac30:	0f b7 01             	movzwl (%ecx),%eax
40ac33:	66 3b 44 24 14       	cmp    0x14(%esp),%ax
40ac38:	73 4e                	jae    0x40ac88
40ac3a:	0f b6 c0             	movzbl %al,%eax
40ac3d:	83 c1 02             	add    $0x2,%ecx
40ac40:	c6 44 04 18 01       	movb   $0x1,0x18(%esp,%eax,1)
40ac45:	3b ca                	cmp    %edx,%ecx
40ac47:	75 e7                	jne    0x40ac30
40ac49:	8d 14 73             	lea    (%ebx,%esi,2),%edx
40ac4c:	8b cb                	mov    %ebx,%ecx
40ac4e:	3b da                	cmp    %edx,%ebx
40ac50:	73 1e                	jae    0x40ac70
40ac52:	8b 74 24 14          	mov    0x14(%esp),%esi
40ac56:	0f b7 01             	movzwl (%ecx),%eax
40ac59:	66 3b c6             	cmp    %si,%ax
40ac5c:	73 0b                	jae    0x40ac69
40ac5e:	80 7c 04 18 00       	cmpb   $0x0,0x18(%esp,%eax,1)
40ac63:	0f 85 82 00 00 00    	jne    0x40aceb
40ac69:	83 c1 02             	add    $0x2,%ecx
40ac6c:	3b ca                	cmp    %edx,%ecx
40ac6e:	72 e6                	jb     0x40ac56
40ac70:	83 c8 ff             	or     $0xffffffff,%eax
40ac73:	5f                   	pop    %edi
40ac74:	5e                   	pop    %esi
40ac75:	5b                   	pop    %ebx
40ac76:	8b 8c 24 10 01 00 00 	mov    0x110(%esp),%ecx
40ac7d:	33 cc                	xor    %esp,%ecx
40ac7f:	e8 46 ed 05 00       	call   0x4699ca
40ac84:	8b e5                	mov    %ebp,%esp
40ac86:	5d                   	pop    %ebp
40ac87:	c3                   	ret
40ac88:	8b 54 24 10          	mov    0x10(%esp),%edx
40ac8c:	8d 1c 73             	lea    (%ebx,%esi,2),%ebx
40ac8f:	3b d3                	cmp    %ebx,%edx
40ac91:	73 21                	jae    0x40acb4
40ac93:	8b 44 24 0c          	mov    0xc(%esp),%eax
40ac97:	8b cf                	mov    %edi,%ecx
40ac99:	85 ff                	test   %edi,%edi
40ac9b:	74 10                	je     0x40acad
40ac9d:	0f b7 32             	movzwl (%edx),%esi
40aca0:	66 39 30             	cmp    %si,(%eax)
40aca3:	74 29                	je     0x40acce
40aca5:	83 c0 02             	add    $0x2,%eax
40aca8:	83 e9 01             	sub    $0x1,%ecx
40acab:	75 f3                	jne    0x40aca0
40acad:	83 c2 02             	add    $0x2,%edx
40acb0:	3b d3                	cmp    %ebx,%edx
40acb2:	72 df                	jb     0x40ac93
40acb4:	83 ca ff             	or     $0xffffffff,%edx
40acb7:	8b c2                	mov    %edx,%eax
40acb9:	5f                   	pop    %edi
40acba:	5e                   	pop    %esi
40acbb:	5b                   	pop    %ebx
40acbc:	8b 8c 24 10 01 00 00 	mov    0x110(%esp),%ecx
40acc3:	33 cc                	xor    %esp,%ecx
40acc5:	e8 00 ed 05 00       	call   0x4699ca
40acca:	8b e5                	mov    %ebp,%esp
40accc:	5d                   	pop    %ebp
40accd:	c3                   	ret
40acce:	2b 54 24 10          	sub    0x10(%esp),%edx
40acd2:	d1 fa                	sar    $1,%edx
40acd4:	8b c2                	mov    %edx,%eax
40acd6:	5f                   	pop    %edi
40acd7:	5e                   	pop    %esi
40acd8:	5b                   	pop    %ebx
40acd9:	8b 8c 24 10 01 00 00 	mov    0x110(%esp),%ecx
40ace0:	33 cc                	xor    %esp,%ecx
40ace2:	e8 e3 ec 05 00       	call   0x4699ca
40ace7:	8b e5                	mov    %ebp,%esp
40ace9:	5d                   	pop    %ebp
40acea:	c3                   	ret
40aceb:	2b cb                	sub    %ebx,%ecx
40aced:	d1 f9                	sar    $1,%ecx
40acef:	5f                   	pop    %edi
40acf0:	8b c1                	mov    %ecx,%eax
40acf2:	8b 8c 24 18 01 00 00 	mov    0x118(%esp),%ecx
40acf9:	5e                   	pop    %esi
40acfa:	5b                   	pop    %ebx
40acfb:	33 cc                	xor    %esp,%ecx
40acfd:	e8 c8 ec 05 00       	call   0x4699ca
40ad02:	8b e5                	mov    %ebp,%esp
40ad04:	5d                   	pop    %ebp
40ad05:	c3                   	ret