40612a:	75 14                	jne    0x406140
40612c:	8d 04 3e             	lea    (%esi,%edi,1),%eax
40612f:	68 94 a5 40 00       	push   $0x40a594
406134:	50                   	push   %eax
406135:	ff 15 e4 80 40 00    	call   *0x4080e4
40613b:	83 c7 0a             	add    $0xa,%edi
40613e:	eb 35                	jmp    0x406175
406140:	83 c0 0a             	add    $0xa,%eax
406143:	68 90 a5 40 00       	push   $0x40a590
406148:	50                   	push   %eax
406149:	e8 f5 fc ff ff       	call   0x405e43
40614e:	8b e8                	mov    %eax,%ebp
406150:	85 ed                	test   %ebp,%ebp
406152:	74 1d                	je     0x406171
406154:	8d 0c 3e             	lea    (%esi,%edi,1),%ecx
406157:	8d 04 19             	lea    (%ecx,%ebx,1),%eax
40615a:	eb 06                	jmp    0x406162
40615c:	8a 11                	mov    (%ecx),%dl
40615e:	88 10                	mov    %dl,(%eax)
406160:	48                   	dec    %eax
406161:	49                   	dec    %ecx
406162:	3b cd                	cmp    %ebp,%ecx
406164:	77 f6                	ja     0x40615c
406166:	2b ee                	sub    %esi,%ebp
406168:	45                   	inc    %ebp
406169:	8b c5                	mov    %ebp,%eax
40616b:	8b 6c 24 18          	mov    0x18(%esp),%ebp
40616f:	eb 06                	jmp    0x406177
406171:	8b 6c 24 18          	mov    0x18(%esp),%ebp
406175:	8b c7                	mov    %edi,%eax
406177:	53                   	push   %ebx
406178:	03 c6                	add    %esi,%eax
40617a:	68 c8 69 42 00       	push   $0x4269c8
40617f:	50                   	push   %eax
406180:	e8 14 fd ff ff       	call   0x405e99
406185:	33 c0                	xor    %eax,%eax
406187:	50                   	push   %eax
406188:	50                   	push   %eax
406189:	50                   	push   %eax
40618a:	55                   	push   %ebp
40618b:	ff 15 44 81 40 00    	call   *0x408144
406191:	03 fb                	add    %ebx,%edi
406193:	57                   	push   %edi
406194:	56                   	push   %esi
406195:	55                   	push   %ebp
406196:	e8 f5 fd ff ff       	call   0x405f90
40619b:	56                   	push   %esi
40619c:	ff 15 28 81 40 00    	call   *0x408128
4061a2:	55                   	push   %ebp
4061a3:	ff 15 20 81 40 00    	call   *0x408120
4061a9:	5f                   	pop    %edi
4061aa:	5e                   	pop    %esi
4061ab:	5d                   	pop    %ebp
4061ac:	5b                   	pop    %ebx
4061ad:	c3                   	ret
4061ae:	6a 05                	push   $0x5
4061b0:	ff 74 24 0c          	push   0xc(%esp)
4061b4:	ff 74 24 0c          	push   0xc(%esp)
4061b8:	ff 15 e8 80 40 00    	call   *0x4080e8
4061be:	85 c0                	test   %eax,%eax
4061c0:	75 0f                	jne    0x4061d1
4061c2:	ff 74 24 08          	push   0x8(%esp)
4061c6:	ff 74 24 08          	push   0x8(%esp)
4061ca:	e8 65 fe ff ff       	call   0x406034
4061cf:	59                   	pop    %ecx
4061d0:	59                   	pop    %ecx
4061d1:	ff 05 f0 a2 42 00    	incl   0x42a2f0
4061d7:	c2 08 00             	ret    $0x8
4061da:	8b 15 4c a2 42 00    	mov    0x42a24c,%edx
4061e0:	53                   	push   %ebx
4061e1:	8b 5c 24 08          	mov    0x8(%esp),%ebx
4061e5:	57                   	push   %edi
4061e6:	8b 7c 24 10          	mov    0x10(%esp),%edi
4061ea:	f7 d2                	not    %edx
4061ec:	8b 07                	mov    (%edi),%eax
4061ee:	c1 ea 16             	shr    $0x16,%edx
4061f1:	81 e2 00 01 00 00    	and    $0x100,%edx
4061f7:	a8 20                	test   $0x20,%al
4061f9:	74 34                	je     0x40622f
4061fb:	f7 c3 00 00 00 60    	test   $0x60000000,%ebx
406201:	74 2c                	je     0x40622f
406203:	8b cb                	mov    %ebx,%ecx
406205:	56                   	push   %esi
406206:	c1 e9 15             	shr    $0x15,%ecx
406209:	be 00 03 00 00       	mov    $0x300,%esi
40620e:	23 ce                	and    %esi,%ecx
406210:	3b ce                	cmp    %esi,%ecx
406212:	5e                   	pop    %esi
406213:	75 0a                	jne    0x40621f
406215:	8b ca                	mov    %edx,%ecx
406217:	f7 d1                	not    %ecx
406219:	23 0d 10 a3 42 00    	and    0x42a310,%ecx
40621f:	80 e4 fe             	and    $0xfe,%ah
406222:	0b c1                	or     %ecx,%eax
406224:	80 e4 fd             	and    $0xfd,%ah
406227:	81 e3 ff ff ff 9f    	and    $0x9fffffff,%ebx
40622d:	eb 0d                	jmp    0x40623c
40622f:	a9 00 00 10 00       	test   $0x100000,%eax
406234:	74 06                	je     0x40623c
406236:	0b 05 10 a3 42 00    	or     0x42a310,%eax
40623c:	8b c8                	mov    %eax,%ecx
40623e:	23 c2                	and    %edx,%eax
406240:	81 e1 df ff ef ff    	and    $0xffefffdf,%ecx
406246:	f7 d8                	neg    %eax
406248:	1b c0                	sbb    %eax,%eax
40624a:	89 0f                	mov    %ecx,(%edi)
40624c:	f7 d0                	not    %eax
40624e:	23 c3                	and    %ebx,%eax
406250:	5f                   	pop    %edi
406251:	5b                   	pop    %ebx
406252:	c2 08 00             	ret    $0x8
406255:	55                   	push   %ebp
406256:	8b ec                	mov    %esp,%ebp
406258:	8d 45 10             	lea    0x10(%ebp),%eax
40625b:	50                   	push   %eax
40625c:	ff 75 08             	push   0x8(%ebp)
40625f:	e8 76 ff ff ff       	call   0x4061da
406264:	85 c0                	test   %eax,%eax
406266:	75 05                	jne    0x40626d
406268:	6a 06                	push   $0x6
40626a:	58                   	pop    %eax
40626b:	eb 12                	jmp    0x40627f
40626d:	ff 75 14             	push   0x14(%ebp)
406270:	ff 75 10             	push   0x10(%ebp)
406273:	6a 00                	push   $0x0
406275:	ff 75 0c             	push   0xc(%ebp)
406278:	50                   	push   %eax
406279:	ff 15 08 80 40 00    	call   *0x408008
40627f:	5d                   	pop    %ebp
406280:	c2 10 00             	ret    $0x10
406283:	55                   	push   %ebp
406284:	8b ec                	mov    %esp,%ebp
406286:	8d 45 10             	lea    0x10(%ebp),%eax
406289:	50                   	push   %eax
40628a:	ff 75 08             	push   0x8(%ebp)
40628d:	e8 48 ff ff ff       	call   0x4061da
406292:	33 c9                	xor    %ecx,%ecx
406294:	3b c1                	cmp    %ecx,%eax
406296:	75 05                	jne    0x40629d
406298:	6a 06                	push   $0x6
40629a:	58                   	pop    %eax
40629b:	eb 15                	jmp    0x4062b2
40629d:	51                   	push   %ecx
40629e:	ff 75 14             	push   0x14(%ebp)
4062a1:	51                   	push   %ecx
4062a2:	ff 75 10             	push   0x10(%ebp)
4062a5:	51                   	push   %ecx
4062a6:	51                   	push   %ecx
4062a7:	51                   	push   %ecx
4062a8:	ff 75 0c             	push   0xc(%ebp)
4062ab:	50                   	push   %eax
4062ac:	ff 15 04 80 40 00    	call   *0x408004
4062b2:	5d                   	pop    %ebp
4062b3:	c2 10 00             	ret    $0x10
4062b6:	55                   	push   %ebp
4062b7:	8b ec                	mov    %esp,%ebp
4062b9:	51                   	push   %ecx
4062ba:	8d 45 18             	lea    0x18(%ebp),%eax
4062bd:	56                   	push   %esi
4062be:	50                   	push   %eax
4062bf:	8b 45 18             	mov    0x18(%ebp),%eax
4062c2:	f7 d8                	neg    %eax
4062c4:	1b c0                	sbb    %eax,%eax
4062c6:	c7 45 fc 00 08 00 00 	movl   $0x800,-0x4(%ebp)
4062cd:	25 00 01 00 00       	and    $0x100,%eax
4062d2:	0d 19 00 02 00       	or     $0x20019,%eax
4062d7:	50                   	push   %eax
4062d8:	ff 75 0c             	push   0xc(%ebp)
4062db:	ff 75 08             	push   0x8(%ebp)
4062de:	e8 72 ff ff ff       	call   0x406255
4062e3:	8b 75 14             	mov    0x14(%ebp),%esi
4062e6:	85 c0                	test   %eax,%eax
4062e8:	75 3c                	jne    0x406326
4062ea:	8d 45 fc             	lea    -0x4(%ebp),%eax
4062ed:	57                   	push   %edi
4062ee:	50                   	push   %eax
4062ef:	8d 45 0c             	lea    0xc(%ebp),%eax
4062f2:	56                   	push   %esi
4062f3:	50                   	push   %eax
4062f4:	6a 00                	push   $0x0
4062f6:	ff 75 10             	push   0x10(%ebp)
4062f9:	ff 75 18             	push   0x18(%ebp)
4062fc:	ff 15 2c 80 40 00    	call   *0x40802c
406302:	ff 75 18             	push   0x18(%ebp)
406305:	8b f8                	mov    %eax,%edi
406307:	ff 15 24 80 40 00    	call   *0x408024
40630d:	66 83 a6 fe 07 00 00 	andw   $0x0,0x7fe(%esi)
406314:	00
406315:	85 ff                	test   %edi,%edi
406317:	5f                   	pop    %edi
406318:	75 0c                	jne    0x406326
40631a:	83 7d 0c 01          	cmpl   $0x1,0xc(%ebp)
40631e:	74 0a                	je     0x40632a
406320:	83 7d 0c 02          	cmpl   $0x2,0xc(%ebp)
406324:	74 04                	je     0x40632a
406326:	66 83 26 00          	andw   $0x0,(%esi)
40632a:	5e                   	pop    %esi
40632b:	c9                   	leave
40632c:	c2 14 00             	ret    $0x14
40632f:	ff 74 24 08          	push   0x8(%esp)
406333:	68 20 84 40 00       	push   $0x408420
406338:	ff 74 24 0c          	push   0xc(%esp)
40633c:	ff 15 90 82 40 00    	call   *0x408290
406342:	83 c4 0c             	add    $0xc,%esp
406345:	c2 08 00             	ret    $0x8
406348:	55                   	push   %ebp
406349:	8b ec                	mov    %esp,%ebp
40634b:	51                   	push   %ecx
40634c:	51                   	push   %ecx
40634d:	8b 4d 08             	mov    0x8(%ebp),%ecx
406350:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
406354:	53                   	push   %ebx
406355:	56                   	push   %esi
406356:	66 83 39 2d          	cmpw   $0x2d,(%ecx)
40635a:	6a 0a                	push   $0xa
40635c:	58                   	pop    %eax
40635d:	c7 45 f8 01 00 00 00 	movl   $0x1,-0x8(%ebp)
406364:	6a 39                	push   $0x39
406366:	5b                   	pop    %ebx
406367:	75 06                	jne    0x40636f
406369:	41                   	inc    %ecx
40636a:	41                   	inc    %ecx
40636b:	83 4d f8 ff          	orl    $0xffffffff,-0x8(%ebp)
40636f:	66 83 39 30          	cmpw   $0x30,(%ecx)
406373:	75 27                	jne    0x40639c
406375:	41                   	inc    %ecx
406376:	41                   	inc    %ecx
406377:	66 8b 11             	mov    (%ecx),%dx
40637a:	66 83 fa 30          	cmp    $0x30,%dx
40637e:	72 0c                	jb     0x40638c
406380:	66 83 fa 37          	cmp    $0x37,%dx
406384:	77 06                	ja     0x40638c
406386:	6a 08                	push   $0x8
406388:	58                   	pop    %eax
406389:	6a 37                	push   $0x37
40638b:	5b                   	pop    %ebx
40638c:	0f b7 d2             	movzwl %dx,%edx
40638f:	83 e2 df             	and    $0xffffffdf,%edx
406392:	83 fa 58             	cmp    $0x58,%edx
406395:	75 05                	jne    0x40639c
406397:	6a 10                	push   $0x10
406399:	41                   	inc    %ecx
40639a:	58                   	pop    %eax
40639b:	41                   	inc    %ecx
40639c:	0f b7 11             	movzwl (%ecx),%edx
40639f:	41                   	inc    %ecx
4063a0:	41                   	inc    %ecx
4063a1:	83 fa 30             	cmp    $0x30,%edx
4063a4:	7c 0c                	jl     0x4063b2
4063a6:	0f b7 f3             	movzwl %bx,%esi
4063a9:	3b d6                	cmp    %esi,%edx
4063ab:	7f 05                	jg     0x4063b2
4063ad:	83 ea 30             	sub    $0x30,%edx
4063b0:	eb 1b                	jmp    0x4063cd
4063b2:	66 3d 10 00          	cmp    $0x10,%ax
4063b6:	75 23                	jne    0x4063db
4063b8:	8b f2                	mov    %edx,%esi
4063ba:	83 e6 df             	and    $0xffffffdf,%esi
4063bd:	83 fe 41             	cmp    $0x41,%esi
4063c0:	7c 19                	jl     0x4063db
4063c2:	83 fe 46             	cmp    $0x46,%esi
4063c5:	7f 14                	jg     0x4063db
4063c7:	83 e2 07             	and    $0x7,%edx
4063ca:	83 c2 09             	add    $0x9,%edx
4063cd:	0f b7 f0             	movzwl %ax,%esi
4063d0:	0f af 75 fc          	imul   -0x4(%ebp),%esi
4063d4:	03 f2                	add    %edx,%esi
4063d6:	89 75 fc             	mov    %esi,-0x4(%ebp)
4063d9:	eb c1                	jmp    0x40639c
4063db:	8b 45 f8             	mov    -0x8(%ebp),%eax
4063de:	5e                   	pop    %esi
4063df:	0f af 45 fc          	imul   -0x4(%ebp),%eax
4063e3:	5b                   	pop    %ebx
4063e4:	c9                   	leave
4063e5:	c2 04 00             	ret    $0x4
4063e8:	68 00 04 00 00       	push   $0x400
4063ed:	ff 74 24 0c          	push   0xc(%esp)
4063f1:	ff 74 24 0c          	push   0xc(%esp)
4063f5:	ff 15 b4 80 40 00    	call   *0x4080b4
4063fb:	c2 08 00             	ret    $0x8
4063fe:	ff 25 b0 80 40 00    	jmp    *0x4080b0
406404:	ff 25 ec 80 40 00    	jmp    *0x4080ec
40640a:	55                   	push   %ebp
40640b:	8b ec                	mov    %esp,%ebp
40640d:	83 ec 18             	sub    $0x18,%esp
406410:	8b 45 0c             	mov    0xc(%ebp),%eax
406413:	85 c0                	test   %eax,%eax
406415:	7d 11                	jge    0x406428
406417:	8b 0d 1c 92 42 00    	mov    0x42921c,%ecx
40641d:	8d 04 85 04 00 00 00 	lea    0x4(,%eax,4),%eax
406424:	2b c8                	sub    %eax,%ecx
406426:	8b 01                	mov    (%ecx),%eax
406428:	8b 0d 98 a2 42 00    	mov    0x42a298,%ecx
40642e:	53                   	push   %ebx
40642f:	56                   	push   %esi
406430:	57                   	push   %edi
406431:	8d 14 41             	lea    (%ecx,%eax,2),%edx
406434:	b8 e0 81 42 00       	mov    $0x4281e0,%eax
406439:	39 45 08             	cmp    %eax,0x8(%ebp)
40643c:	8b f0                	mov    %eax,%esi
40643e:	0f 82 12 02 00 00    	jb     0x406656
406444:	8b 4d 08             	mov    0x8(%ebp),%ecx
406447:	2b c8                	sub    %eax,%ecx
406449:	d1 f9                	sar    $1,%ecx
40644b:	81 f9 00 08 00 00    	cmp    $0x800,%ecx
406451:	0f 83 ff 01 00 00    	jae    0x406656
406457:	8b 75 08             	mov    0x8(%ebp),%esi
40645a:	83 65 08 00          	andl   $0x0,0x8(%ebp)
40645e:	e9 f3 01 00 00       	jmp    0x406656
406463:	8b ce                	mov    %esi,%ecx
406465:	2b c8                	sub    %eax,%ecx
406467:	83 e1 fe             	and    $0xfffffffe,%ecx
40646a:	81 f9 00 08 00 00    	cmp    $0x800,%ecx
406470:	0f 8d ec 01 00 00    	jge    0x406662
406476:	6a 02                	push   $0x2
406478:	59                   	pop    %ecx
406479:	03 d1                	add    %ecx,%edx
40647b:	66 83 ff 04          	cmp    $0x4,%di
40647f:	89 55 0c             	mov    %edx,0xc(%ebp)
406482:	0f 83 bb 01 00 00    	jae    0x406643
406488:	8a 4a 01             	mov    0x1(%edx),%cl
40648b:	8a 02                	mov    (%edx),%al
40648d:	8a d1                	mov    %cl,%dl
40648f:	8a d8                	mov    %al,%bl
406491:	83 e2 7f             	and    $0x7f,%edx
406494:	83 e3 7f             	and    $0x7f,%ebx
406497:	c1 e2 07             	shl    $0x7,%edx
40649a:	0f b6 c0             	movzbl %al,%eax
40649d:	0b d3                	or     %ebx,%edx
40649f:	8b d8                	mov    %eax,%ebx
4064a1:	89 55 fc             	mov    %edx,-0x4(%ebp)
4064a4:	ba 00 80 00 00       	mov    $0x8000,%edx
4064a9:	0b da                	or     %edx,%ebx
4064ab:	83 45 0c 02          	addl   $0x2,0xc(%ebp)
4064af:	89 5d e8             	mov    %ebx,-0x18(%ebp)
4064b2:	89 45 ec             	mov    %eax,-0x14(%ebp)
4064b5:	0f b6 d9             	movzbl %cl,%ebx
4064b8:	8b cb                	mov    %ebx,%ecx
4064ba:	89 5d f4             	mov    %ebx,-0xc(%ebp)
4064bd:	0b ca                	or     %edx,%ecx
4064bf:	66 83 ff 02          	cmp    $0x2,%di
4064c3:	89 4d f0             	mov    %ecx,-0x10(%ebp)
4064c6:	0f 85 1a 01 00 00    	jne    0x4065e6
4064cc:	8b 0d 4c a2 42 00    	mov    0x42a24c,%ecx
4064d2:	6a 02                	push   $0x2
4064d4:	85 c9                	test   %ecx,%ecx
4064d6:	5f                   	pop    %edi
4064d7:	79 17                	jns    0x4064f0
4064d9:	66 81 f9 04 5a       	cmp    $0x5a04,%cx
4064de:	74 10                	je     0x4064f0