401d82:	8d 0c 37             	lea    (%edi,%esi,1),%ecx
401d85:	2b d1                	sub    %ecx,%edx
401d87:	83 fa 0c             	cmp    $0xc,%edx
401d8a:	7f 04                	jg     0x401d90
401d8c:	8b f8                	mov    %eax,%edi
401d8e:	2b fe                	sub    %esi,%edi
401d90:	8b c6                	mov    %esi,%eax
401d92:	2b c5                	sub    %ebp,%eax
401d94:	83 f8 0c             	cmp    $0xc,%eax
401d97:	7d 14                	jge    0x401dad
401d99:	8d 4c 24 01          	lea    0x1(%esp),%ecx
401d9d:	8b d6                	mov    %esi,%edx
401d9f:	2b 53 08             	sub    0x8(%ebx),%edx
401da2:	03 d7                	add    %edi,%edx
401da4:	8b c5                	mov    %ebp,%eax
401da6:	e8 c5 fb ff ff       	call   0x401970
401dab:	eb 11                	jmp    0x401dbe
401dad:	8d 4c 24 01          	lea    0x1(%esp),%ecx
401db1:	8b d7                	mov    %edi,%edx
401db3:	83 ea 04             	sub    $0x4,%edx
401db6:	8d 46 04             	lea    0x4(%esi),%eax
401db9:	e8 b2 fb ff ff       	call   0x401970
401dbe:	8b 6c 24 01          	mov    0x1(%esp),%ebp
401dc2:	85 ed                	test   %ebp,%ebp
401dc4:	74 34                	je     0x401dfa
401dc6:	8b d5                	mov    %ebp,%edx
401dc8:	2b d6                	sub    %esi,%edx
401dca:	8b c6                	mov    %esi,%eax
401dcc:	e8 63 fe ff ff       	call   0x401c34
401dd1:	8b c5                	mov    %ebp,%eax
401dd3:	03 44 24 05          	add    0x5(%esp),%eax
401dd7:	8b 53 08             	mov    0x8(%ebx),%edx
401dda:	03 53 0c             	add    0xc(%ebx),%edx
401ddd:	3b c2                	cmp    %edx,%eax
401ddf:	73 0a                	jae    0x401deb
401de1:	8d 14 37             	lea    (%edi,%esi,1),%edx
401de4:	2b d0                	sub    %eax,%edx
401de6:	e8 9d fe ff ff       	call   0x401c88
401deb:	8d 54 24 01          	lea    0x1(%esp),%edx
401def:	8b c3                	mov    %ebx,%eax
401df1:	e8 8a f6 ff ff       	call   0x401480
401df6:	c6 04 24 01          	movb   $0x1,(%esp)
401dfa:	8a 04 24             	mov    (%esp),%al
401dfd:	83 c4 0c             	add    $0xc,%esp
401e00:	5d                   	pop    %ebp
401e01:	5f                   	pop    %edi
401e02:	5e                   	pop    %esi
401e03:	5b                   	pop    %ebx
401e04:	c3                   	ret
401e05:	8d 40 00             	lea    0x0(%eax),%eax
401e08:	53                   	push   %ebx
401e09:	56                   	push   %esi
401e0a:	57                   	push   %edi
401e0b:	8b f2                	mov    %edx,%esi
401e0d:	8b f8                	mov    %eax,%edi
401e0f:	8b df                	mov    %edi,%ebx
401e11:	89 73 08             	mov    %esi,0x8(%ebx)
401e14:	8b c3                	mov    %ebx,%eax
401e16:	03 c6                	add    %esi,%eax
401e18:	83 e8 0c             	sub    $0xc,%eax
401e1b:	89 70 08             	mov    %esi,0x8(%eax)
401e1e:	81 fe 00 10 00 00    	cmp    $0x1000,%esi
401e24:	7f 37                	jg     0x401e5d
401e26:	8b d6                	mov    %esi,%edx
401e28:	85 d2                	test   %edx,%edx
401e2a:	79 03                	jns    0x401e2f
401e2c:	83 c2 03             	add    $0x3,%edx
401e2f:	c1 fa 02             	sar    $0x2,%edx
401e32:	a1 20 e6 46 00       	mov    0x46e620,%eax
401e37:	8b 44 90 f4          	mov    -0xc(%eax,%edx,4),%eax
401e3b:	85 c0                	test   %eax,%eax
401e3d:	75 10                	jne    0x401e4f
401e3f:	a1 20 e6 46 00       	mov    0x46e620,%eax
401e44:	89 5c 90 f4          	mov    %ebx,-0xc(%eax,%edx,4)
401e48:	89 5b 04             	mov    %ebx,0x4(%ebx)
401e4b:	89 1b                	mov    %ebx,(%ebx)
401e4d:	eb 3a                	jmp    0x401e89
401e4f:	8b 10                	mov    (%eax),%edx
401e51:	89 43 04             	mov    %eax,0x4(%ebx)
401e54:	89 13                	mov    %edx,(%ebx)
401e56:	89 18                	mov    %ebx,(%eax)
401e58:	89 5a 04             	mov    %ebx,0x4(%edx)
401e5b:	eb 2c                	jmp    0x401e89
401e5d:	81 fe 00 3c 00 00    	cmp    $0x3c00,%esi
401e63:	7c 0d                	jl     0x401e72
401e65:	8b d6                	mov    %esi,%edx
401e67:	8b c7                	mov    %edi,%eax
401e69:	e8 ea fe ff ff       	call   0x401d58
401e6e:	84 c0                	test   %al,%al
401e70:	75 17                	jne    0x401e89
401e72:	a1 14 e6 46 00       	mov    0x46e614,%eax
401e77:	89 1d 14 e6 46 00    	mov    %ebx,0x46e614
401e7d:	8b 10                	mov    (%eax),%edx
401e7f:	89 43 04             	mov    %eax,0x4(%ebx)
401e82:	89 13                	mov    %edx,(%ebx)
401e84:	89 18                	mov    %ebx,(%eax)
401e86:	89 5a 04             	mov    %ebx,0x4(%edx)
401e89:	5f                   	pop    %edi
401e8a:	5e                   	pop    %esi
401e8b:	5b                   	pop    %ebx
401e8c:	c3                   	ret
401e8d:	8d 40 00             	lea    0x0(%eax),%eax
401e90:	83 3d 18 e6 46 00 00 	cmpl   $0x0,0x46e618
401e97:	7e 40                	jle    0x401ed9
401e99:	83 3d 18 e6 46 00 0c 	cmpl   $0xc,0x46e618
401ea0:	7d 0c                	jge    0x401eae
401ea2:	c7 05 c4 e5 46 00 07 	movl   $0x7,0x46e5c4
401ea9:	00 00 00
401eac:	eb 2b                	jmp    0x401ed9
401eae:	a1 18 e6 46 00       	mov    0x46e618,%eax
401eb3:	83 c8 02             	or     $0x2,%eax
401eb6:	8b 15 1c e6 46 00    	mov    0x46e61c,%edx
401ebc:	89 02                	mov    %eax,(%edx)
401ebe:	a1 1c e6 46 00       	mov    0x46e61c,%eax
401ec3:	83 c0 04             	add    $0x4,%eax
401ec6:	e8 99 fd ff ff       	call   0x401c64
401ecb:	33 c0                	xor    %eax,%eax
401ecd:	a3 1c e6 46 00       	mov    %eax,0x46e61c
401ed2:	33 c0                	xor    %eax,%eax
401ed4:	a3 18 e6 46 00       	mov    %eax,0x46e618
401ed9:	c3                   	ret
401eda:	8b c0                	mov    %eax,%eax
401edc:	53                   	push   %ebx
401edd:	56                   	push   %esi
401ede:	57                   	push   %edi
401edf:	83 c4 f0             	add    $0xfffffff0,%esp
401ee2:	8b f0                	mov    %eax,%esi
401ee4:	8d 3c 24             	lea    (%esp),%edi
401ee7:	a5                   	movsl  %ds:(%esi),%es:(%edi)
401ee8:	a5                   	movsl  %ds:(%esi),%es:(%edi)
401ee9:	8b fc                	mov    %esp,%edi
401eeb:	e8 a0 ff ff ff       	call   0x401e90
401ef0:	8d 4c 24 08          	lea    0x8(%esp),%ecx
401ef4:	8b d7                	mov    %edi,%edx
401ef6:	b8 24 e6 46 00       	mov    $0x46e624,%eax
401efb:	e8 10 f5 ff ff       	call   0x401410
401f00:	8b 5c 24 08          	mov    0x8(%esp),%ebx
401f04:	85 db                	test   %ebx,%ebx
401f06:	75 04                	jne    0x401f0c
401f08:	33 c0                	xor    %eax,%eax
401f0a:	eb 52                	jmp    0x401f5e
401f0c:	8b 07                	mov    (%edi),%eax
401f0e:	3b d8                	cmp    %eax,%ebx
401f10:	73 0a                	jae    0x401f1c
401f12:	e8 99 fd ff ff       	call   0x401cb0
401f17:	29 07                	sub    %eax,(%edi)
401f19:	01 47 04             	add    %eax,0x4(%edi)
401f1c:	8b 07                	mov    (%edi),%eax
401f1e:	03 47 04             	add    0x4(%edi),%eax
401f21:	8b f3                	mov    %ebx,%esi
401f23:	03 74 24 0c          	add    0xc(%esp),%esi
401f27:	3b c6                	cmp    %esi,%eax
401f29:	73 08                	jae    0x401f33
401f2b:	e8 f0 fd ff ff       	call   0x401d20
401f30:	01 47 04             	add    %eax,0x4(%edi)
401f33:	8b 07                	mov    (%edi),%eax
401f35:	03 47 04             	add    0x4(%edi),%eax
401f38:	3b f0                	cmp    %eax,%esi
401f3a:	75 11                	jne    0x401f4d
401f3c:	83 e8 04             	sub    $0x4,%eax
401f3f:	ba 04 00 00 00       	mov    $0x4,%edx
401f44:	e8 eb fc ff ff       	call   0x401c34
401f49:	83 6f 04 04          	subl   $0x4,0x4(%edi)
401f4d:	8b 07                	mov    (%edi),%eax
401f4f:	a3 1c e6 46 00       	mov    %eax,0x46e61c
401f54:	8b 47 04             	mov    0x4(%edi),%eax
401f57:	a3 18 e6 46 00       	mov    %eax,0x46e618
401f5c:	b0 01                	mov    $0x1,%al
401f5e:	83 c4 10             	add    $0x10,%esp
401f61:	5f                   	pop    %edi
401f62:	5e                   	pop    %esi
401f63:	5b                   	pop    %ebx
401f64:	c3                   	ret
401f65:	8d 40 00             	lea    0x0(%eax),%eax
401f68:	53                   	push   %ebx
401f69:	83 c4 f8             	add    $0xfffffff8,%esp
401f6c:	8b d8                	mov    %eax,%ebx
401f6e:	8b d4                	mov    %esp,%edx
401f70:	8d 43 04             	lea    0x4(%ebx),%eax
401f73:	e8 44 f8 ff ff       	call   0x4017bc
401f78:	83 3c 24 00          	cmpl   $0x0,(%esp)
401f7c:	74 0b                	je     0x401f89
401f7e:	8b c4                	mov    %esp,%eax
401f80:	e8 57 ff ff ff       	call   0x401edc
401f85:	84 c0                	test   %al,%al
401f87:	75 04                	jne    0x401f8d
401f89:	33 c0                	xor    %eax,%eax
401f8b:	eb 02                	jmp    0x401f8f
401f8d:	b0 01                	mov    $0x1,%al
401f8f:	59                   	pop    %ecx
401f90:	5a                   	pop    %edx
401f91:	5b                   	pop    %ebx
401f92:	c3                   	ret
401f93:	90                   	nop
401f94:	53                   	push   %ebx
401f95:	56                   	push   %esi
401f96:	83 c4 f8             	add    $0xfffffff8,%esp
401f99:	8b f2                	mov    %edx,%esi
401f9b:	8b d8                	mov    %eax,%ebx
401f9d:	8b cc                	mov    %esp,%ecx
401f9f:	8d 56 04             	lea    0x4(%esi),%edx
401fa2:	8b c3                	mov    %ebx,%eax
401fa4:	e8 a3 f8 ff ff       	call   0x40184c
401fa9:	83 3c 24 00          	cmpl   $0x0,(%esp)
401fad:	74 0b                	je     0x401fba
401faf:	8b c4                	mov    %esp,%eax
401fb1:	e8 26 ff ff ff       	call   0x401edc
401fb6:	84 c0                	test   %al,%al
401fb8:	75 04                	jne    0x401fbe
401fba:	33 c0                	xor    %eax,%eax
401fbc:	eb 02                	jmp    0x401fc0
401fbe:	b0 01                	mov    $0x1,%al
401fc0:	59                   	pop    %ecx
401fc1:	5a                   	pop    %edx
401fc2:	5e                   	pop    %esi
401fc3:	5b                   	pop    %ebx
401fc4:	c3                   	ret
401fc5:	8d 40 00             	lea    0x0(%eax),%eax
401fc8:	33 d2                	xor    %edx,%edx
401fca:	85 c0                	test   %eax,%eax
401fcc:	79 03                	jns    0x401fd1
401fce:	83 c0 03             	add    $0x3,%eax
401fd1:	c1 f8 02             	sar    $0x2,%eax
401fd4:	3d 00 04 00 00       	cmp    $0x400,%eax
401fd9:	7f 16                	jg     0x401ff1
401fdb:	8b 15 20 e6 46 00    	mov    0x46e620,%edx
401fe1:	8b 54 82 f4          	mov    -0xc(%edx,%eax,4),%edx
401fe5:	85 d2                	test   %edx,%edx
401fe7:	75 08                	jne    0x401ff1
401fe9:	40                   	inc    %eax
401fea:	3d 01 04 00 00       	cmp    $0x401,%eax
401fef:	75 ea                	jne    0x401fdb
401ff1:	8b c2                	mov    %edx,%eax
401ff3:	c3                   	ret
401ff4:	53                   	push   %ebx
401ff5:	56                   	push   %esi
401ff6:	57                   	push   %edi
401ff7:	55                   	push   %ebp
401ff8:	8b f0                	mov    %eax,%esi
401ffa:	bf 14 e6 46 00       	mov    $0x46e614,%edi
401fff:	bd 18 e6 46 00       	mov    $0x46e618,%ebp
402004:	8b 1d 0c e6 46 00    	mov    0x46e60c,%ebx
40200a:	3b 73 08             	cmp    0x8(%ebx),%esi
40200d:	0f 8e 84 00 00 00    	jle    0x402097
402013:	8b 1f                	mov    (%edi),%ebx
402015:	8b 43 08             	mov    0x8(%ebx),%eax
402018:	3b f0                	cmp    %eax,%esi
40201a:	7e 7b                	jle    0x402097
40201c:	89 73 08             	mov    %esi,0x8(%ebx)
40201f:	8b 5b 04             	mov    0x4(%ebx),%ebx
402022:	3b 73 08             	cmp    0x8(%ebx),%esi
402025:	7f f8                	jg     0x40201f
402027:	8b 17                	mov    (%edi),%edx
402029:	89 42 08             	mov    %eax,0x8(%edx)
40202c:	3b 1f                	cmp    (%edi),%ebx
40202e:	74 04                	je     0x402034
402030:	89 1f                	mov    %ebx,(%edi)
402032:	eb 63                	jmp    0x402097
402034:	81 fe 00 10 00 00    	cmp    $0x1000,%esi
40203a:	7f 0d                	jg     0x402049
40203c:	8b c6                	mov    %esi,%eax
40203e:	e8 85 ff ff ff       	call   0x401fc8
402043:	8b d8                	mov    %eax,%ebx
402045:	85 db                	test   %ebx,%ebx
402047:	75 4e                	jne    0x402097
402049:	8b c6                	mov    %esi,%eax
40204b:	e8 18 ff ff ff       	call   0x401f68
402050:	84 c0                	test   %al,%al
402052:	75 07                	jne    0x40205b
402054:	33 c0                	xor    %eax,%eax
402056:	e9 88 00 00 00       	jmp    0x4020e3
40205b:	3b 75 00             	cmp    0x0(%ebp),%esi
40205e:	7f a4                	jg     0x402004
402060:	29 75 00             	sub    %esi,0x0(%ebp)
402063:	83 7d 00 0c          	cmpl   $0xc,0x0(%ebp)
402067:	7d 08                	jge    0x402071
402069:	03 75 00             	add    0x0(%ebp),%esi
40206c:	33 c0                	xor    %eax,%eax
40206e:	89 45 00             	mov    %eax,0x0(%ebp)
402071:	a1 1c e6 46 00       	mov    0x46e61c,%eax
402076:	01 35 1c e6 46 00    	add    %esi,0x46e61c
40207c:	8b d6                	mov    %esi,%edx
40207e:	83 ca 02             	or     $0x2,%edx
402081:	89 10                	mov    %edx,(%eax)
402083:	83 c0 04             	add    $0x4,%eax
402086:	ff 05 b0 e5 46 00    	incl   0x46e5b0
40208c:	83 ee 04             	sub    $0x4,%esi
40208f:	01 35 b4 e5 46 00    	add    %esi,0x46e5b4
402095:	eb 4c                	jmp    0x4020e3
402097:	8b c3                	mov    %ebx,%eax
402099:	e8 02 fb ff ff       	call   0x401ba0
40209e:	8b 53 08             	mov    0x8(%ebx),%edx
4020a1:	8b c2                	mov    %edx,%eax
4020a3:	2b c6                	sub    %esi,%eax
4020a5:	83 f8 0c             	cmp    $0xc,%eax
4020a8:	7c 0c                	jl     0x4020b6
4020aa:	8b d3                	mov    %ebx,%edx
4020ac:	03 d6                	add    %esi,%edx
4020ae:	92                   	xchg   %eax,%edx
4020af:	e8 54 fd ff ff       	call   0x401e08
4020b4:	eb 12                	jmp    0x4020c8
4020b6:	8b f2                	mov    %edx,%esi
4020b8:	3b 1f                	cmp    (%edi),%ebx
4020ba:	75 05                	jne    0x4020c1
4020bc:	8b 43 04             	mov    0x4(%ebx),%eax
4020bf:	89 07                	mov    %eax,(%edi)
4020c1:	8b c3                	mov    %ebx,%eax
4020c3:	03 c6                	add    %esi,%eax
4020c5:	83 20 fe             	andl   $0xfffffffe,(%eax)
4020c8:	8b c3                	mov    %ebx,%eax
4020ca:	8b d6                	mov    %esi,%edx
4020cc:	83 ca 02             	or     $0x2,%edx
4020cf:	89 10                	mov    %edx,(%eax)
4020d1:	83 c0 04             	add    $0x4,%eax
4020d4:	ff 05 b0 e5 46 00    	incl   0x46e5b0
4020da:	83 ee 04             	sub    $0x4,%esi
4020dd:	01 35 b4 e5 46 00    	add    %esi,0x46e5b4
4020e3:	5d                   	pop    %ebp
4020e4:	5f                   	pop    %edi
4020e5:	5e                   	pop    %esi
4020e6:	5b                   	pop    %ebx
4020e7:	c3                   	ret
4020e8:	55                   	push   %ebp
4020e9:	8b ec                	mov    %esp,%ebp
4020eb:	83 c4 f8             	add    $0xfffffff8,%esp
4020ee:	53                   	push   %ebx
4020ef:	56                   	push   %esi
4020f0:	57                   	push   %edi
4020f1:	8b d8                	mov    %eax,%ebx
4020f3:	80 3d c0 e5 46 00 00 	cmpb   $0x0,0x46e5c0
4020fa:	75 09                	jne    0x402105
4020fc:	e8 fb f8 ff ff       	call   0x4019fc
402101:	84 c0                	test   %al,%al
402103:	74 08                	je     0x40210d
402105:	81 fb f8 ff ff 7f    	cmp    $0x7ffffff8,%ebx
40210b:	7e 0a                	jle    0x402117
40210d:	33 c0                	xor    %eax,%eax
40210f:	89 45 fc             	mov    %eax,-0x4(%ebp)
402112:	e9 54 01 00 00       	jmp    0x40226b
402117:	33 c9                	xor    %ecx,%ecx
402119:	55                   	push   %ebp
40211a:	68 64 22 40 00       	push   $0x402264
40211f:	64 ff 31             	push   %fs:(%ecx)
402122:	64 89 21             	mov    %esp,%fs:(%ecx)
402125:	80 3d 49 e0 46 00 00 	cmpb   $0x0,0x46e049
40212c:	74 0a                	je     0x402138
40212e:	68 c8 e5 46 00       	push   $0x46e5c8
402133:	e8 20 f2 ff ff       	call   0x401358
402138:	83 c3 07             	add    $0x7,%ebx
40213b:	83 e3 fc             	and    $0xfffffffc,%ebx