40c014:	55                   	push   %ebp
40c015:	8b ec                	mov    %esp,%ebp
40c017:	ff 75 0c             	push   0xc(%ebp)
40c01a:	ff 75 08             	push   0x8(%ebp)
40c01d:	8b 15 58 87 6a 00    	mov    0x6a8758,%edx
40c023:	e8 f0 fe ff ff       	call   0x40bf18
40c028:	5d                   	pop    %ebp
40c029:	c2 08 00             	ret    $0x8
40c02c:	55                   	push   %ebp
40c02d:	8b ec                	mov    %esp,%ebp
40c02f:	ff 75 0c             	push   0xc(%ebp)
40c032:	ff 75 08             	push   0x8(%ebp)
40c035:	92                   	xchg   %eax,%edx
40c036:	e8 dd fe ff ff       	call   0x40bf18
40c03b:	5d                   	pop    %ebp
40c03c:	c2 08 00             	ret    $0x8
40c03f:	90                   	nop
40c040:	53                   	push   %ebx
40c041:	56                   	push   %esi
40c042:	57                   	push   %edi
40c043:	8b fa                	mov    %edx,%edi
40c045:	8b f0                	mov    %eax,%esi
40c047:	8b 1f                	mov    (%edi),%ebx
40c049:	eb 01                	jmp    0x40c04c
40c04b:	43                   	inc    %ebx
40c04c:	8b c6                	mov    %esi,%eax
40c04e:	e8 cd 8a ff ff       	call   0x404b20
40c053:	3b d8                	cmp    %eax,%ebx
40c055:	7f 07                	jg     0x40c05e
40c057:	80 7c 1e ff 20       	cmpb   $0x20,-0x1(%esi,%ebx,1)
40c05c:	74 ed                	je     0x40c04b
40c05e:	89 1f                	mov    %ebx,(%edi)
40c060:	5f                   	pop    %edi
40c061:	5e                   	pop    %esi
40c062:	5b                   	pop    %ebx
40c063:	c3                   	ret
40c064:	55                   	push   %ebp
40c065:	8b ec                	mov    %esp,%ebp
40c067:	83 c4 f4             	add    $0xfffffff4,%esp
40c06a:	53                   	push   %ebx
40c06b:	56                   	push   %esi
40c06c:	57                   	push   %edi
40c06d:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40c070:	89 55 fc             	mov    %edx,-0x4(%ebp)
40c073:	8b f8                	mov    %eax,%edi
40c075:	c6 45 f7 00          	movb   $0x0,-0x9(%ebp)
40c079:	8b 45 08             	mov    0x8(%ebp),%eax
40c07c:	c6 00 00             	movb   $0x0,(%eax)
40c07f:	8b 55 fc             	mov    -0x4(%ebp),%edx
40c082:	8b c7                	mov    %edi,%eax
40c084:	e8 b7 ff ff ff       	call   0x40c040
40c089:	8b 5d fc             	mov    -0x4(%ebp),%ebx
40c08c:	8b 1b                	mov    (%ebx),%ebx
40c08e:	33 f6                	xor    %esi,%esi
40c090:	eb 17                	jmp    0x40c0a9
40c092:	8b c6                	mov    %esi,%eax
40c094:	03 c0                	add    %eax,%eax
40c096:	8d 04 80             	lea    (%eax,%eax,4),%eax
40c099:	33 d2                	xor    %edx,%edx
40c09b:	8a 54 1f ff          	mov    -0x1(%edi,%ebx,1),%dl
40c09f:	66 83 ea 30          	sub    $0x30,%dx
40c0a3:	66 03 c2             	add    %dx,%ax
40c0a6:	8b f0                	mov    %eax,%esi
40c0a8:	43                   	inc    %ebx
40c0a9:	8b c7                	mov    %edi,%eax
40c0ab:	e8 70 8a ff ff       	call   0x404b20
40c0b0:	3b d8                	cmp    %eax,%ebx
40c0b2:	7f 11                	jg     0x40c0c5
40c0b4:	8a 44 1f ff          	mov    -0x1(%edi,%ebx,1),%al
40c0b8:	04 d0                	add    $0xd0,%al
40c0ba:	2c 0a                	sub    $0xa,%al
40c0bc:	73 07                	jae    0x40c0c5
40c0be:	66 81 fe e8 03       	cmp    $0x3e8,%si
40c0c3:	72 cd                	jb     0x40c092
40c0c5:	8b 45 fc             	mov    -0x4(%ebp),%eax
40c0c8:	3b 18                	cmp    (%eax),%ebx
40c0ca:	7e 1d                	jle    0x40c0e9
40c0cc:	8b c3                	mov    %ebx,%eax
40c0ce:	8b 55 fc             	mov    -0x4(%ebp),%edx
40c0d1:	8b 12                	mov    (%edx),%edx
40c0d3:	2a c2                	sub    %dl,%al
40c0d5:	8b 55 08             	mov    0x8(%ebp),%edx
40c0d8:	88 02                	mov    %al,(%edx)
40c0da:	8b 45 fc             	mov    -0x4(%ebp),%eax
40c0dd:	89 18                	mov    %ebx,(%eax)
40c0df:	8b 45 f8             	mov    -0x8(%ebp),%eax
40c0e2:	66 89 30             	mov    %si,(%eax)
40c0e5:	c6 45 f7 01          	movb   $0x1,-0x9(%ebp)
40c0e9:	8a 45 f7             	mov    -0x9(%ebp),%al
40c0ec:	5f                   	pop    %edi
40c0ed:	5e                   	pop    %esi
40c0ee:	5b                   	pop    %ebx
40c0ef:	8b e5                	mov    %ebp,%esp
40c0f1:	5d                   	pop    %ebp
40c0f2:	c2 04 00             	ret    $0x4
40c0f5:	8d 40 00             	lea    0x0(%eax),%eax
40c0f8:	53                   	push   %ebx
40c0f9:	56                   	push   %esi
40c0fa:	57                   	push   %edi
40c0fb:	51                   	push   %ecx
40c0fc:	88 0c 24             	mov    %cl,(%esp)
40c0ff:	8b fa                	mov    %edx,%edi
40c101:	8b f0                	mov    %eax,%esi
40c103:	33 db                	xor    %ebx,%ebx
40c105:	8b d7                	mov    %edi,%edx
40c107:	8b c6                	mov    %esi,%eax
40c109:	e8 32 ff ff ff       	call   0x40c040
40c10e:	8b c6                	mov    %esi,%eax
40c110:	e8 0b 8a ff ff       	call   0x404b20
40c115:	3b 07                	cmp    (%edi),%eax
40c117:	7c 0f                	jl     0x40c128
40c119:	8b 07                	mov    (%edi),%eax
40c11b:	8a 44 06 ff          	mov    -0x1(%esi,%eax,1),%al
40c11f:	3a 04 24             	cmp    (%esp),%al
40c122:	75 04                	jne    0x40c128
40c124:	ff 07                	incl   (%edi)
40c126:	b3 01                	mov    $0x1,%bl
40c128:	8b c3                	mov    %ebx,%eax
40c12a:	5a                   	pop    %edx
40c12b:	5f                   	pop    %edi
40c12c:	5e                   	pop    %esi
40c12d:	5b                   	pop    %ebx
40c12e:	c3                   	ret
40c12f:	90                   	nop
40c130:	53                   	push   %ebx
40c131:	56                   	push   %esi
40c132:	57                   	push   %edi
40c133:	8b f0                	mov    %eax,%esi
40c135:	33 db                	xor    %ebx,%ebx
40c137:	bf 01 00 00 00       	mov    $0x1,%edi
40c13c:	eb 29                	jmp    0x40c167
40c13e:	8a 44 3e ff          	mov    -0x1(%esi,%edi,1),%al
40c142:	24 df                	and    $0xdf,%al
40c144:	2c 44                	sub    $0x44,%al
40c146:	74 1a                	je     0x40c162
40c148:	fe c8                	dec    %al
40c14a:	74 0a                	je     0x40c156
40c14c:	2c 08                	sub    $0x8,%al
40c14e:	74 0e                	je     0x40c15e
40c150:	2c 0c                	sub    $0xc,%al
40c152:	74 06                	je     0x40c15a
40c154:	eb 10                	jmp    0x40c166
40c156:	b3 02                	mov    $0x2,%bl
40c158:	eb 1a                	jmp    0x40c174
40c15a:	b3 02                	mov    $0x2,%bl
40c15c:	eb 16                	jmp    0x40c174
40c15e:	33 db                	xor    %ebx,%ebx
40c160:	eb 12                	jmp    0x40c174
40c162:	b3 01                	mov    $0x1,%bl
40c164:	eb 0e                	jmp    0x40c174
40c166:	47                   	inc    %edi
40c167:	8b c6                	mov    %esi,%eax
40c169:	e8 b2 89 ff ff       	call   0x404b20
40c16e:	3b f8                	cmp    %eax,%edi
40c170:	7e cc                	jle    0x40c13e
40c172:	33 db                	xor    %ebx,%ebx
40c174:	8b c3                	mov    %ebx,%eax
40c176:	5f                   	pop    %edi
40c177:	5e                   	pop    %esi
40c178:	5b                   	pop    %ebx
40c179:	c3                   	ret
40c17a:	8b c0                	mov    %eax,%eax
40c17c:	53                   	push   %ebx
40c17d:	56                   	push   %esi
40c17e:	8b da                	mov    %edx,%ebx
40c180:	8b f0                	mov    %eax,%esi
40c182:	eb 23                	jmp    0x40c1a7
40c184:	8b 03                	mov    (%ebx),%eax
40c186:	8a 44 06 ff          	mov    -0x1(%esi,%eax,1),%al
40c18a:	25 ff 00 00 00       	and    $0xff,%eax
40c18f:	0f a3 05 20 a1 68 00 	bt     %eax,0x68a120
40c196:	73 0d                	jae    0x40c1a5
40c198:	8b 13                	mov    (%ebx),%edx
40c19a:	8b c6                	mov    %esi,%eax
40c19c:	e8 07 18 00 00       	call   0x40d9a8
40c1a1:	89 03                	mov    %eax,(%ebx)
40c1a3:	eb 02                	jmp    0x40c1a7
40c1a5:	ff 03                	incl   (%ebx)
40c1a7:	8b c6                	mov    %esi,%eax
40c1a9:	e8 72 89 ff ff       	call   0x404b20
40c1ae:	3b 03                	cmp    (%ebx),%eax
40c1b0:	7c 0c                	jl     0x40c1be
40c1b2:	8b 03                	mov    (%ebx),%eax
40c1b4:	8a 44 06 ff          	mov    -0x1(%esi,%eax,1),%al
40c1b8:	04 d0                	add    $0xd0,%al
40c1ba:	2c 0a                	sub    $0xa,%al
40c1bc:	73 c6                	jae    0x40c184
40c1be:	5e                   	pop    %esi
40c1bf:	5b                   	pop    %ebx
40c1c0:	c3                   	ret
40c1c1:	8d 40 00             	lea    0x0(%eax),%eax
40c1c4:	53                   	push   %ebx
40c1c5:	56                   	push   %esi
40c1c6:	57                   	push   %edi
40c1c7:	55                   	push   %ebp
40c1c8:	51                   	push   %ecx
40c1c9:	8b e8                	mov    %eax,%ebp
40c1cb:	33 c0                	xor    %eax,%eax
40c1cd:	89 04 24             	mov    %eax,(%esp)
40c1d0:	bf 07 00 00 00       	mov    $0x7,%edi
40c1d5:	bb 04 88 6a 00       	mov    $0x6a8804,%ebx
40c1da:	be 20 88 6a 00       	mov    $0x6a8820,%esi
40c1df:	83 3b 00             	cmpl   $0x0,(%ebx)
40c1e2:	74 29                	je     0x40c20d
40c1e4:	8b c5                	mov    %ebp,%eax
40c1e6:	e8 2d 8b ff ff       	call   0x404d18
40c1eb:	50                   	push   %eax
40c1ec:	8b 03                	mov    (%ebx),%eax
40c1ee:	e8 25 8b ff ff       	call   0x404d18
40c1f3:	5a                   	pop    %edx
40c1f4:	e8 5f 19 00 00       	call   0x40db58
40c1f9:	85 c0                	test   %eax,%eax
40c1fb:	74 07                	je     0x40c204
40c1fd:	8b 06                	mov    (%esi),%eax
40c1ff:	89 04 24             	mov    %eax,(%esp)
40c202:	eb 09                	jmp    0x40c20d
40c204:	83 c6 04             	add    $0x4,%esi
40c207:	83 c3 04             	add    $0x4,%ebx
40c20a:	4f                   	dec    %edi
40c20b:	75 d2                	jne    0x40c1df
40c20d:	8b 04 24             	mov    (%esp),%eax
40c210:	5a                   	pop    %edx
40c211:	5d                   	pop    %ebp
40c212:	5f                   	pop    %edi
40c213:	5e                   	pop    %esi
40c214:	5b                   	pop    %ebx
40c215:	c3                   	ret
40c216:	8b c0                	mov    %eax,%eax
40c218:	55                   	push   %ebp
40c219:	8b ec                	mov    %esp,%ebp
40c21b:	53                   	push   %ebx
40c21c:	8b d8                	mov    %eax,%ebx
40c21e:	83 3d f8 87 6a 00 12 	cmpl   $0x12,0x6a87f8
40c225:	75 3a                	jne    0x40c261
40c227:	83 fb 63             	cmp    $0x63,%ebx
40c22a:	7f 24                	jg     0x40c250
40c22c:	e8 7f f1 ff ff       	call   0x40b3b0
40c231:	0f b7 c8             	movzwl %ax,%ecx
40c234:	8b 45 08             	mov    0x8(%ebp),%eax
40c237:	8b 40 fc             	mov    -0x4(%eax),%eax
40c23a:	99                   	cltd
40c23b:	33 c2                	xor    %edx,%eax
40c23d:	2b c2                	sub    %edx,%eax
40c23f:	03 c8                	add    %eax,%ecx
40c241:	8b c1                	mov    %ecx,%eax
40c243:	b9 64 00 00 00       	mov    $0x64,%ecx
40c248:	99                   	cltd
40c249:	f7 f9                	idiv   %ecx
40c24b:	6b c0 64             	imul   $0x64,%eax,%eax
40c24e:	03 d8                	add    %eax,%ebx
40c250:	8b 45 08             	mov    0x8(%ebp),%eax
40c253:	83 78 fc 00          	cmpl   $0x0,-0x4(%eax)
40c257:	7e 0e                	jle    0x40c267
40c259:	8b 45 08             	mov    0x8(%ebp),%eax
40c25c:	f7 58 fc             	negl   -0x4(%eax)
40c25f:	eb 06                	jmp    0x40c267
40c261:	8b 45 08             	mov    0x8(%ebp),%eax
40c264:	ff 48 fc             	decl   -0x4(%eax)
40c267:	8b 45 08             	mov    0x8(%ebp),%eax
40c26a:	8b 40 fc             	mov    -0x4(%eax),%eax
40c26d:	03 c3                	add    %ebx,%eax
40c26f:	5b                   	pop    %ebx
40c270:	5d                   	pop    %ebp
40c271:	c3                   	ret
40c272:	8b c0                	mov    %eax,%eax
40c274:	55                   	push   %ebp
40c275:	8b ec                	mov    %esp,%ebp
40c277:	83 c4 d8             	add    $0xffffffd8,%esp
40c27a:	53                   	push   %ebx
40c27b:	56                   	push   %esi
40c27c:	57                   	push   %edi
40c27d:	33 db                	xor    %ebx,%ebx
40c27f:	89 5d d8             	mov    %ebx,-0x28(%ebp)
40c282:	89 5d dc             	mov    %ebx,-0x24(%ebp)
40c285:	89 5d e0             	mov    %ebx,-0x20(%ebp)
40c288:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
40c28b:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40c28e:	8b da                	mov    %edx,%ebx
40c290:	8b f0                	mov    %eax,%esi
40c292:	33 c0                	xor    %eax,%eax
40c294:	55                   	push   %ebp
40c295:	68 86 c5 40 00       	push   $0x40c586
40c29a:	64 ff 30             	push   %fs:(%eax)
40c29d:	64 89 20             	mov    %esp,%fs:(%eax)
40c2a0:	33 ff                	xor    %edi,%edi
40c2a2:	66 c7 45 ee 00 00    	movw   $0x0,-0x12(%ebp)
40c2a8:	66 c7 45 ec 00 00    	movw   $0x0,-0x14(%ebp)
40c2ae:	c6 45 e8 00          	movb   $0x0,-0x18(%ebp)
40c2b2:	c6 45 f7 00          	movb   $0x0,-0x9(%ebp)
40c2b6:	a1 40 87 6a 00       	mov    0x6a8740,%eax
40c2bb:	e8 70 fe ff ff       	call   0x40c130
40c2c0:	88 45 f6             	mov    %al,-0xa(%ebp)
40c2c3:	33 c0                	xor    %eax,%eax
40c2c5:	89 45 fc             	mov    %eax,-0x4(%ebp)
40c2c8:	a1 40 87 6a 00       	mov    0x6a8740,%eax
40c2cd:	80 38 67             	cmpb   $0x67,(%eax)
40c2d0:	75 34                	jne    0x40c306
40c2d2:	8b d3                	mov    %ebx,%edx
40c2d4:	8b c6                	mov    %esi,%eax
40c2d6:	e8 a1 fe ff ff       	call   0x40c17c
40c2db:	8d 45 e0             	lea    -0x20(%ebp),%eax
40c2de:	50                   	push   %eax
40c2df:	8b 0b                	mov    (%ebx),%ecx
40c2e1:	49                   	dec    %ecx
40c2e2:	ba 01 00 00 00       	mov    $0x1,%edx
40c2e7:	8b c6                	mov    %esi,%eax
40c2e9:	e8 8a 8a ff ff       	call   0x404d78
40c2ee:	8b 45 e0             	mov    -0x20(%ebp),%eax
40c2f1:	8d 55 e4             	lea    -0x1c(%ebp),%edx
40c2f4:	e8 af d0 ff ff       	call   0x4093a8
40c2f9:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40c2fc:	e8 c3 fe ff ff       	call   0x40c1c4
40c301:	89 45 fc             	mov    %eax,-0x4(%ebp)
40c304:	eb 1c                	jmp    0x40c322
40c306:	8b 15 40 87 6a 00    	mov    0x6a8740,%edx
40c30c:	b8 a0 c5 40 00       	mov    $0x40c5a0,%eax
40c311:	e8 7e 17 00 00       	call   0x40da94
40c316:	85 c0                	test   %eax,%eax
40c318:	7e 08                	jle    0x40c322
40c31a:	a1 20 88 6a 00       	mov    0x6a8820,%eax
40c31f:	89 45 fc             	mov    %eax,-0x4(%ebp)
40c322:	8d 45 eb             	lea    -0x15(%ebp),%eax
40c325:	50                   	push   %eax
40c326:	8d 4d f4             	lea    -0xc(%ebp),%ecx
40c329:	8b d3                	mov    %ebx,%edx
40c32b:	8b c6                	mov    %esi,%eax
40c32d:	e8 32 fd ff ff       	call   0x40c064
40c332:	84 c0                	test   %al,%al
40c334:	0f 84 31 02 00 00    	je     0x40c56b
40c33a:	8b d3                	mov    %ebx,%edx
40c33c:	8a 0d 3d 87 6a 00    	mov    0x6a873d,%cl
40c342:	8b c6                	mov    %esi,%eax
40c344:	e8 af fd ff ff       	call   0x40c0f8
40c349:	84 c0                	test   %al,%al
40c34b:	0f 84 1a 02 00 00    	je     0x40c56b
40c351:	8d 45 ea             	lea    -0x16(%ebp),%eax
40c354:	50                   	push   %eax
40c355:	8d 4d f2             	lea    -0xe(%ebp),%ecx
40c358:	8b d3                	mov    %ebx,%edx
40c35a:	8b c6                	mov    %esi,%eax
40c35c:	e8 03 fd ff ff       	call   0x40c064
40c361:	84 c0                	test   %al,%al
40c363:	0f 84 02 02 00 00    	je     0x40c56b
40c369:	8b d3                	mov    %ebx,%edx
40c36b:	8a 0d 3d 87 6a 00    	mov    0x6a873d,%cl
40c371:	8b c6                	mov    %esi,%eax
40c373:	e8 80 fd ff ff       	call   0x40c0f8
40c378:	84 c0                	test   %al,%al
40c37a:	0f 84 ce 00 00 00    	je     0x40c44e
40c380:	8d 45 e9             	lea    -0x17(%ebp),%eax