40828b:	75 03                	jne    0x408290
40828d:	40                   	inc    %eax
40828e:	eb f1                	jmp    0x408281
408290:	80 38 00             	cmpb   $0x0,(%eax)
408293:	0f 84 c8 00 00 00    	je     0x408361
408299:	85 ff                	test   %edi,%edi
40829b:	74 08                	je     0x4082a5
40829d:	89 37                	mov    %esi,(%edi)
40829f:	83 c7 04             	add    $0x4,%edi
4082a2:	89 7d 0c             	mov    %edi,0xc(%ebp)
4082a5:	8b 55 14             	mov    0x14(%ebp),%edx
4082a8:	ff 02                	incl   (%edx)
4082aa:	c7 45 08 01 00 00 00 	movl   $0x1,0x8(%ebp)
4082b1:	33 db                	xor    %ebx,%ebx
4082b3:	80 38 5c             	cmpb   $0x5c,(%eax)
4082b6:	75 04                	jne    0x4082bc
4082b8:	40                   	inc    %eax
4082b9:	43                   	inc    %ebx
4082ba:	eb f7                	jmp    0x4082b3
4082bc:	80 38 22             	cmpb   $0x22,(%eax)
4082bf:	75 2c                	jne    0x4082ed
4082c1:	f6 c3 01             	test   $0x1,%bl
4082c4:	75 25                	jne    0x4082eb
4082c6:	33 ff                	xor    %edi,%edi
4082c8:	39 7d 18             	cmp    %edi,0x18(%ebp)
4082cb:	74 0d                	je     0x4082da
4082cd:	80 78 01 22          	cmpb   $0x22,0x1(%eax)
4082d1:	8d 50 01             	lea    0x1(%eax),%edx
4082d4:	75 04                	jne    0x4082da
4082d6:	8b c2                	mov    %edx,%eax
4082d8:	eb 03                	jmp    0x4082dd
4082da:	89 7d 08             	mov    %edi,0x8(%ebp)
4082dd:	8b 7d 0c             	mov    0xc(%ebp),%edi
4082e0:	33 d2                	xor    %edx,%edx
4082e2:	39 55 18             	cmp    %edx,0x18(%ebp)
4082e5:	0f 94 c2             	sete   %dl
4082e8:	89 55 18             	mov    %edx,0x18(%ebp)
4082eb:	d1 eb                	shr    $1,%ebx
4082ed:	8b d3                	mov    %ebx,%edx
4082ef:	4b                   	dec    %ebx
4082f0:	85 d2                	test   %edx,%edx
4082f2:	74 0e                	je     0x408302
4082f4:	43                   	inc    %ebx
4082f5:	85 f6                	test   %esi,%esi
4082f7:	74 04                	je     0x4082fd
4082f9:	c6 06 5c             	movb   $0x5c,(%esi)
4082fc:	46                   	inc    %esi
4082fd:	ff 01                	incl   (%ecx)
4082ff:	4b                   	dec    %ebx
408300:	75 f3                	jne    0x4082f5
408302:	8a 10                	mov    (%eax),%dl
408304:	84 d2                	test   %dl,%dl
408306:	74 4a                	je     0x408352
408308:	83 7d 18 00          	cmpl   $0x0,0x18(%ebp)
40830c:	75 0a                	jne    0x408318
40830e:	80 fa 20             	cmp    $0x20,%dl
408311:	74 3f                	je     0x408352
408313:	80 fa 09             	cmp    $0x9,%dl
408316:	74 3a                	je     0x408352
408318:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
40831c:	74 2e                	je     0x40834c
40831e:	85 f6                	test   %esi,%esi
408320:	74 19                	je     0x40833b
408322:	0f b6 da             	movzbl %dl,%ebx
408325:	f6 83 81 1c 41 00 04 	testb  $0x4,0x411c81(%ebx)
40832c:	74 06                	je     0x408334
40832e:	88 16                	mov    %dl,(%esi)
408330:	46                   	inc    %esi
408331:	40                   	inc    %eax
408332:	ff 01                	incl   (%ecx)
408334:	8a 10                	mov    (%eax),%dl
408336:	88 16                	mov    %dl,(%esi)
408338:	46                   	inc    %esi
408339:	eb 0f                	jmp    0x40834a
40833b:	0f b6 d2             	movzbl %dl,%edx
40833e:	f6 82 81 1c 41 00 04 	testb  $0x4,0x411c81(%edx)
408345:	74 03                	je     0x40834a
408347:	40                   	inc    %eax
408348:	ff 01                	incl   (%ecx)
40834a:	ff 01                	incl   (%ecx)
40834c:	40                   	inc    %eax
40834d:	e9 58 ff ff ff       	jmp    0x4082aa
408352:	85 f6                	test   %esi,%esi
408354:	74 04                	je     0x40835a
408356:	80 26 00             	andb   $0x0,(%esi)
408359:	46                   	inc    %esi
40835a:	ff 01                	incl   (%ecx)
40835c:	e9 17 ff ff ff       	jmp    0x408278
408361:	85 ff                	test   %edi,%edi
408363:	74 03                	je     0x408368
408365:	83 27 00             	andl   $0x0,(%edi)
408368:	8b 45 14             	mov    0x14(%ebp),%eax
40836b:	5f                   	pop    %edi
40836c:	5e                   	pop    %esi
40836d:	5b                   	pop    %ebx
40836e:	ff 00                	incl   (%eax)
408370:	5d                   	pop    %ebp
408371:	c3                   	ret
408372:	51                   	push   %ecx
408373:	51                   	push   %ecx
408374:	a1 d4 19 41 00       	mov    0x4119d4,%eax
408379:	53                   	push   %ebx
40837a:	55                   	push   %ebp
40837b:	8b 2d 20 d1 40 00    	mov    0x40d120,%ebp
408381:	56                   	push   %esi
408382:	57                   	push   %edi
408383:	33 db                	xor    %ebx,%ebx
408385:	33 f6                	xor    %esi,%esi
408387:	33 ff                	xor    %edi,%edi
408389:	3b c3                	cmp    %ebx,%eax
40838b:	75 33                	jne    0x4083c0
40838d:	ff d5                	call   *%ebp
40838f:	8b f0                	mov    %eax,%esi
408391:	3b f3                	cmp    %ebx,%esi
408393:	74 0c                	je     0x4083a1
408395:	c7 05 d4 19 41 00 01 	movl   $0x1,0x4119d4
40839c:	00 00 00
40839f:	eb 28                	jmp    0x4083c9
4083a1:	ff 15 1c d1 40 00    	call   *0x40d11c
4083a7:	8b f8                	mov    %eax,%edi
4083a9:	3b fb                	cmp    %ebx,%edi
4083ab:	0f 84 ea 00 00 00    	je     0x40849b
4083b1:	c7 05 d4 19 41 00 02 	movl   $0x2,0x4119d4
4083b8:	00 00 00
4083bb:	e9 8f 00 00 00       	jmp    0x40844f
4083c0:	83 f8 01             	cmp    $0x1,%eax
4083c3:	0f 85 81 00 00 00    	jne    0x40844a
4083c9:	3b f3                	cmp    %ebx,%esi
4083cb:	75 0c                	jne    0x4083d9
4083cd:	ff d5                	call   *%ebp
4083cf:	8b f0                	mov    %eax,%esi
4083d1:	3b f3                	cmp    %ebx,%esi
4083d3:	0f 84 c2 00 00 00    	je     0x40849b
4083d9:	66 39 1e             	cmp    %bx,(%esi)
4083dc:	8b c6                	mov    %esi,%eax
4083de:	74 0e                	je     0x4083ee
4083e0:	40                   	inc    %eax
4083e1:	40                   	inc    %eax
4083e2:	66 39 18             	cmp    %bx,(%eax)
4083e5:	75 f9                	jne    0x4083e0
4083e7:	40                   	inc    %eax
4083e8:	40                   	inc    %eax
4083e9:	66 39 18             	cmp    %bx,(%eax)
4083ec:	75 f2                	jne    0x4083e0
4083ee:	2b c6                	sub    %esi,%eax
4083f0:	8b 3d 18 d1 40 00    	mov    0x40d118,%edi
4083f6:	d1 f8                	sar    $1,%eax
4083f8:	53                   	push   %ebx
4083f9:	53                   	push   %ebx
4083fa:	40                   	inc    %eax
4083fb:	53                   	push   %ebx
4083fc:	53                   	push   %ebx
4083fd:	50                   	push   %eax
4083fe:	56                   	push   %esi
4083ff:	53                   	push   %ebx
408400:	53                   	push   %ebx
408401:	89 44 24 34          	mov    %eax,0x34(%esp)
408405:	ff d7                	call   *%edi
408407:	8b e8                	mov    %eax,%ebp
408409:	3b eb                	cmp    %ebx,%ebp
40840b:	74 32                	je     0x40843f
40840d:	55                   	push   %ebp
40840e:	e8 7a ef ff ff       	call   0x40738d
408413:	3b c3                	cmp    %ebx,%eax
408415:	59                   	pop    %ecx
408416:	89 44 24 10          	mov    %eax,0x10(%esp)
40841a:	74 23                	je     0x40843f
40841c:	53                   	push   %ebx
40841d:	53                   	push   %ebx
40841e:	55                   	push   %ebp
40841f:	50                   	push   %eax
408420:	ff 74 24 24          	push   0x24(%esp)
408424:	56                   	push   %esi
408425:	53                   	push   %ebx
408426:	53                   	push   %ebx
408427:	ff d7                	call   *%edi
408429:	85 c0                	test   %eax,%eax
40842b:	75 0e                	jne    0x40843b
40842d:	ff 74 24 10          	push   0x10(%esp)
408431:	e8 a1 ea ff ff       	call   0x406ed7
408436:	59                   	pop    %ecx
408437:	89 5c 24 10          	mov    %ebx,0x10(%esp)
40843b:	8b 5c 24 10          	mov    0x10(%esp),%ebx
40843f:	56                   	push   %esi
408440:	ff 15 14 d1 40 00    	call   *0x40d114
408446:	8b c3                	mov    %ebx,%eax
408448:	eb 53                	jmp    0x40849d
40844a:	83 f8 02             	cmp    $0x2,%eax
40844d:	75 4c                	jne    0x40849b
40844f:	3b fb                	cmp    %ebx,%edi
408451:	75 0c                	jne    0x40845f
408453:	ff 15 1c d1 40 00    	call   *0x40d11c
408459:	8b f8                	mov    %eax,%edi
40845b:	3b fb                	cmp    %ebx,%edi
40845d:	74 3c                	je     0x40849b
40845f:	38 1f                	cmp    %bl,(%edi)
408461:	8b c7                	mov    %edi,%eax
408463:	74 0a                	je     0x40846f
408465:	40                   	inc    %eax
408466:	38 18                	cmp    %bl,(%eax)
408468:	75 fb                	jne    0x408465
40846a:	40                   	inc    %eax
40846b:	38 18                	cmp    %bl,(%eax)
40846d:	75 f6                	jne    0x408465
40846f:	2b c7                	sub    %edi,%eax
408471:	40                   	inc    %eax
408472:	8b e8                	mov    %eax,%ebp
408474:	55                   	push   %ebp
408475:	e8 13 ef ff ff       	call   0x40738d
40847a:	8b f0                	mov    %eax,%esi
40847c:	59                   	pop    %ecx
40847d:	3b f3                	cmp    %ebx,%esi
40847f:	75 04                	jne    0x408485
408481:	33 f6                	xor    %esi,%esi
408483:	eb 0b                	jmp    0x408490
408485:	55                   	push   %ebp
408486:	57                   	push   %edi
408487:	56                   	push   %esi
408488:	e8 d3 d8 ff ff       	call   0x405d60
40848d:	83 c4 0c             	add    $0xc,%esp
408490:	57                   	push   %edi
408491:	ff 15 10 d1 40 00    	call   *0x40d110
408497:	8b c6                	mov    %esi,%eax
408499:	eb 02                	jmp    0x40849d
40849b:	33 c0                	xor    %eax,%eax
40849d:	5f                   	pop    %edi
40849e:	5e                   	pop    %esi
40849f:	5d                   	pop    %ebp
4084a0:	5b                   	pop    %ebx
4084a1:	59                   	pop    %ecx
4084a2:	59                   	pop    %ecx
4084a3:	c3                   	ret
4084a4:	55                   	push   %ebp
4084a5:	8b ec                	mov    %esp,%ebp
4084a7:	83 ec 48             	sub    $0x48,%esp
4084aa:	53                   	push   %ebx
4084ab:	56                   	push   %esi
4084ac:	57                   	push   %edi
4084ad:	68 80 04 00 00       	push   $0x480
4084b2:	e8 d6 ee ff ff       	call   0x40738d
4084b7:	8b f0                	mov    %eax,%esi
4084b9:	59                   	pop    %ecx
4084ba:	85 f6                	test   %esi,%esi
4084bc:	75 08                	jne    0x4084c6
4084be:	6a 1b                	push   $0x1b
4084c0:	e8 b7 d2 ff ff       	call   0x40577c
4084c5:	59                   	pop    %ecx
4084c6:	89 35 c0 1d 41 00    	mov    %esi,0x411dc0
4084cc:	c7 05 c0 1e 41 00 20 	movl   $0x20,0x411ec0
4084d3:	00 00 00
4084d6:	8d 86 80 04 00 00    	lea    0x480(%esi),%eax
4084dc:	3b f0                	cmp    %eax,%esi
4084de:	73 1e                	jae    0x4084fe
4084e0:	80 66 04 00          	andb   $0x0,0x4(%esi)
4084e4:	83 0e ff             	orl    $0xffffffff,(%esi)
4084e7:	83 66 08 00          	andl   $0x0,0x8(%esi)
4084eb:	c6 46 05 0a          	movb   $0xa,0x5(%esi)
4084ef:	a1 c0 1d 41 00       	mov    0x411dc0,%eax
4084f4:	83 c6 24             	add    $0x24,%esi
4084f7:	05 80 04 00 00       	add    $0x480,%eax
4084fc:	eb de                	jmp    0x4084dc
4084fe:	8d 45 b8             	lea    -0x48(%ebp),%eax
408501:	50                   	push   %eax
408502:	ff 15 dc d0 40 00    	call   *0x40d0dc
408508:	66 83 7d ea 00       	cmpw   $0x0,-0x16(%ebp)
40850d:	0f 84 d1 00 00 00    	je     0x4085e4
408513:	8b 45 ec             	mov    -0x14(%ebp),%eax
408516:	85 c0                	test   %eax,%eax
408518:	0f 84 c6 00 00 00    	je     0x4085e4
40851e:	8b 38                	mov    (%eax),%edi
408520:	8d 58 04             	lea    0x4(%eax),%ebx
408523:	8d 04 3b             	lea    (%ebx,%edi,1),%eax
408526:	89 45 fc             	mov    %eax,-0x4(%ebp)
408529:	b8 00 08 00 00       	mov    $0x800,%eax
40852e:	3b f8                	cmp    %eax,%edi
408530:	7c 02                	jl     0x408534
408532:	8b f8                	mov    %eax,%edi
408534:	39 3d c0 1e 41 00    	cmp    %edi,0x411ec0
40853a:	7d 56                	jge    0x408592
40853c:	be c4 1d 41 00       	mov    $0x411dc4,%esi
408541:	68 80 04 00 00       	push   $0x480
408546:	e8 42 ee ff ff       	call   0x40738d
40854b:	85 c0                	test   %eax,%eax
40854d:	59                   	pop    %ecx
40854e:	74 3c                	je     0x40858c
408550:	83 05 c0 1e 41 00 20 	addl   $0x20,0x411ec0
408557:	89 06                	mov    %eax,(%esi)
408559:	8d 88 80 04 00 00    	lea    0x480(%eax),%ecx
40855f:	3b c1                	cmp    %ecx,%eax
408561:	73 1c                	jae    0x40857f
408563:	80 60 04 00          	andb   $0x0,0x4(%eax)
408567:	83 08 ff             	orl    $0xffffffff,(%eax)
40856a:	83 60 08 00          	andl   $0x0,0x8(%eax)
40856e:	c6 40 05 0a          	movb   $0xa,0x5(%eax)
408572:	8b 0e                	mov    (%esi),%ecx
408574:	83 c0 24             	add    $0x24,%eax
408577:	81 c1 80 04 00 00    	add    $0x480,%ecx
40857d:	eb e0                	jmp    0x40855f
40857f:	83 c6 04             	add    $0x4,%esi
408582:	39 3d c0 1e 41 00    	cmp    %edi,0x411ec0
408588:	7c b7                	jl     0x408541
40858a:	eb 06                	jmp    0x408592
40858c:	8b 3d c0 1e 41 00    	mov    0x411ec0,%edi
408592:	33 f6                	xor    %esi,%esi
408594:	85 ff                	test   %edi,%edi
408596:	7e 4c                	jle    0x4085e4
408598:	8b 45 fc             	mov    -0x4(%ebp),%eax
40859b:	8b 08                	mov    (%eax),%ecx
40859d:	83 f9 ff             	cmp    $0xffffffff,%ecx
4085a0:	74 38                	je     0x4085da
4085a2:	8a 03                	mov    (%ebx),%al
4085a4:	a8 01                	test   $0x1,%al
4085a6:	74 32                	je     0x4085da
4085a8:	a8 08                	test   $0x8,%al
4085aa:	75 0b                	jne    0x4085b7
4085ac:	51                   	push   %ecx
4085ad:	ff 15 2c d1 40 00    	call   *0x40d12c
4085b3:	85 c0                	test   %eax,%eax
4085b5:	74 23                	je     0x4085da
4085b7:	8b ce                	mov    %esi,%ecx
4085b9:	8b c6                	mov    %esi,%eax
4085bb:	c1 f9 05             	sar    $0x5,%ecx
4085be:	83 e0 1f             	and    $0x1f,%eax
4085c1:	8b 0c 8d c0 1d 41 00 	mov    0x411dc0(,%ecx,4),%ecx
4085c8:	8d 04 c0             	lea    (%eax,%eax,8),%eax
4085cb:	8d 04 81             	lea    (%ecx,%eax,4),%eax
4085ce:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4085d1:	8b 09                	mov    (%ecx),%ecx
4085d3:	89 08                	mov    %ecx,(%eax)
4085d5:	8a 0b                	mov    (%ebx),%cl
4085d7:	88 48 04             	mov    %cl,0x4(%eax)
4085da:	83 45 fc 04          	addl   $0x4,-0x4(%ebp)
4085de:	46                   	inc    %esi
4085df:	43                   	inc    %ebx
4085e0:	3b f7                	cmp    %edi,%esi
4085e2:	7c b4                	jl     0x408598
4085e4:	33 db                	xor    %ebx,%ebx
4085e6:	8b 0d c0 1d 41 00    	mov    0x411dc0,%ecx
4085ec:	8d 04 db             	lea    (%ebx,%ebx,8),%eax
4085ef:	83 3c 81 ff          	cmpl   $0xffffffff,(%ecx,%eax,4)
4085f3:	8d 34 81             	lea    (%ecx,%eax,4),%esi
4085f6:	75 4d                	jne    0x408645
4085f8:	85 db                	test   %ebx,%ebx
4085fa:	c6 46 04 81          	movb   $0x81,0x4(%esi)
4085fe:	75 05                	jne    0x408605
408600:	6a f6                	push   $0xfffffff6
408602:	58                   	pop    %eax
408603:	eb 0a                	jmp    0x40860f
408605:	8b c3                	mov    %ebx,%eax
408607:	48                   	dec    %eax