40f509:	c3                   	ret
40f50a:	8b ff                	mov    %edi,%edi
40f50c:	55                   	push   %ebp
40f50d:	8b ec                	mov    %esp,%ebp
40f50f:	51                   	push   %ecx
40f510:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40f514:	e8 de ff ff ff       	call   0x40f4f7
40f519:	84 c0                	test   %al,%al
40f51b:	75 09                	jne    0x40f526
40f51d:	8d 45 fc             	lea    -0x4(%ebp),%eax
40f520:	50                   	push   %eax
40f521:	e8 51 b4 ff ff       	call   0x40a977
40f526:	33 c0                	xor    %eax,%eax
40f528:	83 7d fc 01          	cmpl   $0x1,-0x4(%ebp)
40f52c:	0f 95 c0             	setne  %al
40f52f:	c9                   	leave
40f530:	c3                   	ret
40f531:	8b ff                	mov    %edi,%edi
40f533:	55                   	push   %ebp
40f534:	8b ec                	mov    %esp,%ebp
40f536:	51                   	push   %ecx
40f537:	51                   	push   %ecx
40f538:	53                   	push   %ebx
40f539:	56                   	push   %esi
40f53a:	6a 38                	push   $0x38
40f53c:	6a 40                	push   $0x40
40f53e:	e8 ff b1 ff ff       	call   0x40a742
40f543:	8b f0                	mov    %eax,%esi
40f545:	33 db                	xor    %ebx,%ebx
40f547:	89 75 f8             	mov    %esi,-0x8(%ebp)
40f54a:	59                   	pop    %ecx
40f54b:	59                   	pop    %ecx
40f54c:	85 f6                	test   %esi,%esi
40f54e:	75 04                	jne    0x40f554
40f550:	8b f3                	mov    %ebx,%esi
40f552:	eb 4b                	jmp    0x40f59f
40f554:	8d 86 00 0e 00 00    	lea    0xe00(%esi),%eax
40f55a:	3b f0                	cmp    %eax,%esi
40f55c:	74 41                	je     0x40f59f
40f55e:	57                   	push   %edi
40f55f:	8d 7e 20             	lea    0x20(%esi),%edi
40f562:	8b f0                	mov    %eax,%esi
40f564:	53                   	push   %ebx
40f565:	68 a0 0f 00 00       	push   $0xfa0
40f56a:	8d 47 e0             	lea    -0x20(%edi),%eax
40f56d:	50                   	push   %eax
40f56e:	e8 a0 b5 ff ff       	call   0x40ab13
40f573:	83 4f f8 ff          	orl    $0xffffffff,-0x8(%edi)
40f577:	80 67 0d f8          	andb   $0xf8,0xd(%edi)
40f57b:	89 1f                	mov    %ebx,(%edi)
40f57d:	8d 7f 38             	lea    0x38(%edi),%edi
40f580:	89 5f cc             	mov    %ebx,-0x34(%edi)
40f583:	8d 47 e0             	lea    -0x20(%edi),%eax
40f586:	c7 47 d0 00 00 0a 0a 	movl   $0xa0a0000,-0x30(%edi)
40f58d:	c6 47 d4 0a          	movb   $0xa,-0x2c(%edi)
40f591:	89 5f d6             	mov    %ebx,-0x2a(%edi)
40f594:	88 5f da             	mov    %bl,-0x26(%edi)
40f597:	3b c6                	cmp    %esi,%eax
40f599:	75 c9                	jne    0x40f564
40f59b:	8b 75 f8             	mov    -0x8(%ebp),%esi
40f59e:	5f                   	pop    %edi
40f59f:	53                   	push   %ebx
40f5a0:	e8 fa b1 ff ff       	call   0x40a79f
40f5a5:	59                   	pop    %ecx
40f5a6:	8b c6                	mov    %esi,%eax
40f5a8:	5e                   	pop    %esi
40f5a9:	5b                   	pop    %ebx
40f5aa:	c9                   	leave
40f5ab:	c3                   	ret
40f5ac:	8b ff                	mov    %edi,%edi
40f5ae:	55                   	push   %ebp
40f5af:	8b ec                	mov    %esp,%ebp
40f5b1:	56                   	push   %esi
40f5b2:	8b 75 08             	mov    0x8(%ebp),%esi
40f5b5:	85 f6                	test   %esi,%esi
40f5b7:	74 25                	je     0x40f5de
40f5b9:	53                   	push   %ebx
40f5ba:	8d 9e 00 0e 00 00    	lea    0xe00(%esi),%ebx
40f5c0:	57                   	push   %edi
40f5c1:	8b fe                	mov    %esi,%edi
40f5c3:	3b f3                	cmp    %ebx,%esi
40f5c5:	74 0e                	je     0x40f5d5
40f5c7:	57                   	push   %edi
40f5c8:	ff 15 98 90 41 00    	call   *0x419098
40f5ce:	83 c7 38             	add    $0x38,%edi
40f5d1:	3b fb                	cmp    %ebx,%edi
40f5d3:	75 f2                	jne    0x40f5c7
40f5d5:	56                   	push   %esi
40f5d6:	e8 c4 b1 ff ff       	call   0x40a79f
40f5db:	59                   	pop    %ecx
40f5dc:	5f                   	pop    %edi
40f5dd:	5b                   	pop    %ebx
40f5de:	5e                   	pop    %esi
40f5df:	5d                   	pop    %ebp
40f5e0:	c3                   	ret
40f5e1:	6a 10                	push   $0x10
40f5e3:	68 08 02 42 00       	push   $0x420208
40f5e8:	e8 b3 48 ff ff       	call   0x403ea0
40f5ed:	81 7d 08 00 20 00 00 	cmpl   $0x2000,0x8(%ebp)
40f5f4:	72 21                	jb     0x40f617
40f5f6:	e8 34 b1 ff ff       	call   0x40a72f
40f5fb:	6a 09                	push   $0x9
40f5fd:	5e                   	pop    %esi
40f5fe:	89 30                	mov    %esi,(%eax)
40f600:	e8 c4 7e ff ff       	call   0x4074c9
40f605:	8b c6                	mov    %esi,%eax
40f607:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40f60a:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40f611:	59                   	pop    %ecx
40f612:	5f                   	pop    %edi
40f613:	5e                   	pop    %esi
40f614:	5b                   	pop    %ebx
40f615:	c9                   	leave
40f616:	c3                   	ret
40f617:	33 f6                	xor    %esi,%esi
40f619:	89 75 e4             	mov    %esi,-0x1c(%ebp)
40f61c:	6a 07                	push   $0x7
40f61e:	e8 69 e9 ff ff       	call   0x40df8c
40f623:	59                   	pop    %ecx
40f624:	89 75 fc             	mov    %esi,-0x4(%ebp)
40f627:	8b fe                	mov    %esi,%edi
40f629:	a1 a8 23 42 00       	mov    0x4223a8,%eax
40f62e:	89 7d e0             	mov    %edi,-0x20(%ebp)
40f631:	39 45 08             	cmp    %eax,0x8(%ebp)
40f634:	7c 1f                	jl     0x40f655
40f636:	39 34 bd a8 21 42 00 	cmp    %esi,0x4221a8(,%edi,4)
40f63d:	75 31                	jne    0x40f670
40f63f:	e8 ed fe ff ff       	call   0x40f531
40f644:	89 04 bd a8 21 42 00 	mov    %eax,0x4221a8(,%edi,4)
40f64b:	85 c0                	test   %eax,%eax
40f64d:	75 14                	jne    0x40f663
40f64f:	6a 0c                	push   $0xc
40f651:	5e                   	pop    %esi
40f652:	89 75 e4             	mov    %esi,-0x1c(%ebp)
40f655:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40f65c:	e8 15 00 00 00       	call   0x40f676
40f661:	eb a2                	jmp    0x40f605
40f663:	a1 a8 23 42 00       	mov    0x4223a8,%eax
40f668:	83 c0 40             	add    $0x40,%eax
40f66b:	a3 a8 23 42 00       	mov    %eax,0x4223a8
40f670:	47                   	inc    %edi
40f671:	eb bb                	jmp    0x40f62e
40f673:	8b 75 e4             	mov    -0x1c(%ebp),%esi
40f676:	6a 07                	push   $0x7
40f678:	e8 57 e9 ff ff       	call   0x40dfd4
40f67d:	59                   	pop    %ecx
40f67e:	c3                   	ret
40f67f:	8b ff                	mov    %edi,%edi
40f681:	55                   	push   %ebp
40f682:	8b ec                	mov    %esp,%ebp
40f684:	8b 45 08             	mov    0x8(%ebp),%eax
40f687:	8b c8                	mov    %eax,%ecx
40f689:	83 e0 3f             	and    $0x3f,%eax
40f68c:	c1 f9 06             	sar    $0x6,%ecx
40f68f:	6b c0 38             	imul   $0x38,%eax,%eax
40f692:	03 04 8d a8 21 42 00 	add    0x4221a8(,%ecx,4),%eax
40f699:	50                   	push   %eax
40f69a:	ff 15 90 90 41 00    	call   *0x419090
40f6a0:	5d                   	pop    %ebp
40f6a1:	c3                   	ret
40f6a2:	8b ff                	mov    %edi,%edi
40f6a4:	55                   	push   %ebp
40f6a5:	8b ec                	mov    %esp,%ebp
40f6a7:	51                   	push   %ecx
40f6a8:	53                   	push   %ebx
40f6a9:	56                   	push   %esi
40f6aa:	8b 75 08             	mov    0x8(%ebp),%esi
40f6ad:	85 f6                	test   %esi,%esi
40f6af:	78 69                	js     0x40f71a
40f6b1:	3b 35 a8 23 42 00    	cmp    0x4223a8,%esi
40f6b7:	73 61                	jae    0x40f71a
40f6b9:	8b c6                	mov    %esi,%eax
40f6bb:	8b de                	mov    %esi,%ebx
40f6bd:	83 e0 3f             	and    $0x3f,%eax
40f6c0:	c1 eb 06             	shr    $0x6,%ebx
40f6c3:	6b c8 38             	imul   $0x38,%eax,%ecx
40f6c6:	8b 04 9d a8 21 42 00 	mov    0x4221a8(,%ebx,4),%eax
40f6cd:	89 4d fc             	mov    %ecx,-0x4(%ebp)
40f6d0:	83 7c 01 18 ff       	cmpl   $0xffffffff,0x18(%ecx,%eax,1)
40f6d5:	75 43                	jne    0x40f71a
40f6d7:	57                   	push   %edi
40f6d8:	e8 57 9c ff ff       	call   0x409334
40f6dd:	8b 7d 0c             	mov    0xc(%ebp),%edi
40f6e0:	83 f8 01             	cmp    $0x1,%eax
40f6e3:	75 22                	jne    0x40f707
40f6e5:	83 ee 00             	sub    $0x0,%esi
40f6e8:	74 14                	je     0x40f6fe
40f6ea:	83 ee 01             	sub    $0x1,%esi
40f6ed:	74 0a                	je     0x40f6f9
40f6ef:	83 ee 01             	sub    $0x1,%esi
40f6f2:	75 13                	jne    0x40f707
40f6f4:	57                   	push   %edi
40f6f5:	6a f4                	push   $0xfffffff4
40f6f7:	eb 08                	jmp    0x40f701
40f6f9:	57                   	push   %edi
40f6fa:	6a f5                	push   $0xfffffff5
40f6fc:	eb 03                	jmp    0x40f701
40f6fe:	57                   	push   %edi
40f6ff:	6a f6                	push   $0xfffffff6
40f701:	ff 15 24 91 41 00    	call   *0x419124
40f707:	8b 04 9d a8 21 42 00 	mov    0x4221a8(,%ebx,4),%eax
40f70e:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40f711:	89 7c 08 18          	mov    %edi,0x18(%eax,%ecx,1)
40f715:	33 c0                	xor    %eax,%eax
40f717:	5f                   	pop    %edi
40f718:	eb 16                	jmp    0x40f730
40f71a:	e8 10 b0 ff ff       	call   0x40a72f
40f71f:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40f725:	e8 f2 af ff ff       	call   0x40a71c
40f72a:	83 20 00             	andl   $0x0,(%eax)
40f72d:	83 c8 ff             	or     $0xffffffff,%eax
40f730:	5e                   	pop    %esi
40f731:	5b                   	pop    %ebx
40f732:	c9                   	leave
40f733:	c3                   	ret
40f734:	8b ff                	mov    %edi,%edi
40f736:	55                   	push   %ebp
40f737:	8b ec                	mov    %esp,%ebp
40f739:	8b 45 08             	mov    0x8(%ebp),%eax
40f73c:	8b c8                	mov    %eax,%ecx
40f73e:	83 e0 3f             	and    $0x3f,%eax
40f741:	c1 f9 06             	sar    $0x6,%ecx
40f744:	6b c0 38             	imul   $0x38,%eax,%eax
40f747:	03 04 8d a8 21 42 00 	add    0x4221a8(,%ecx,4),%eax
40f74e:	50                   	push   %eax
40f74f:	ff 15 94 90 41 00    	call   *0x419094
40f755:	5d                   	pop    %ebp
40f756:	c3                   	ret
40f757:	6a 1c                	push   $0x1c
40f759:	68 e8 01 42 00       	push   $0x4201e8
40f75e:	e8 3d 47 ff ff       	call   0x403ea0
40f763:	6a 07                	push   $0x7
40f765:	e8 22 e8 ff ff       	call   0x40df8c
40f76a:	59                   	pop    %ecx
40f76b:	83 cb ff             	or     $0xffffffff,%ebx
40f76e:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
40f771:	33 ff                	xor    %edi,%edi
40f773:	89 7d fc             	mov    %edi,-0x4(%ebp)
40f776:	89 7d d4             	mov    %edi,-0x2c(%ebp)
40f779:	81 ff 80 00 00 00    	cmp    $0x80,%edi
40f77f:	7d 44                	jge    0x40f7c5
40f781:	8b 04 bd a8 21 42 00 	mov    0x4221a8(,%edi,4),%eax
40f788:	89 45 d8             	mov    %eax,-0x28(%ebp)
40f78b:	85 c0                	test   %eax,%eax
40f78d:	75 54                	jne    0x40f7e3
40f78f:	e8 9d fd ff ff       	call   0x40f531
40f794:	89 04 bd a8 21 42 00 	mov    %eax,0x4221a8(,%edi,4)
40f79b:	85 c0                	test   %eax,%eax
40f79d:	74 26                	je     0x40f7c5
40f79f:	83 05 a8 23 42 00 40 	addl   $0x40,0x4223a8
40f7a6:	8b df                	mov    %edi,%ebx
40f7a8:	c1 e3 06             	shl    $0x6,%ebx
40f7ab:	53                   	push   %ebx
40f7ac:	e8 ce fe ff ff       	call   0x40f67f
40f7b1:	59                   	pop    %ecx
40f7b2:	8b c3                	mov    %ebx,%eax
40f7b4:	c1 f8 06             	sar    $0x6,%eax
40f7b7:	8b 04 85 a8 21 42 00 	mov    0x4221a8(,%eax,4),%eax
40f7be:	c6 40 28 01          	movb   $0x1,0x28(%eax)
40f7c2:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
40f7c5:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40f7cc:	e8 90 00 00 00       	call   0x40f861
40f7d1:	8b c3                	mov    %ebx,%eax
40f7d3:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40f7d6:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40f7dd:	59                   	pop    %ecx
40f7de:	5f                   	pop    %edi
40f7df:	5e                   	pop    %esi
40f7e0:	5b                   	pop    %ebx
40f7e1:	c9                   	leave
40f7e2:	c3                   	ret
40f7e3:	8d 88 00 0e 00 00    	lea    0xe00(%eax),%ecx
40f7e9:	89 4d e0             	mov    %ecx,-0x20(%ebp)
40f7ec:	8b f0                	mov    %eax,%esi
40f7ee:	6a 38                	push   $0x38
40f7f0:	58                   	pop    %eax
40f7f1:	89 75 dc             	mov    %esi,-0x24(%ebp)
40f7f4:	3b f1                	cmp    %ecx,%esi
40f7f6:	74 60                	je     0x40f858
40f7f8:	f6 46 28 01          	testb  $0x1,0x28(%esi)
40f7fc:	75 1a                	jne    0x40f818
40f7fe:	56                   	push   %esi
40f7ff:	ff 15 90 90 41 00    	call   *0x419090
40f805:	f6 46 28 01          	testb  $0x1,0x28(%esi)
40f809:	74 11                	je     0x40f81c
40f80b:	56                   	push   %esi
40f80c:	ff 15 94 90 41 00    	call   *0x419094
40f812:	8b 4d e0             	mov    -0x20(%ebp),%ecx
40f815:	6a 38                	push   $0x38
40f817:	58                   	pop    %eax
40f818:	03 f0                	add    %eax,%esi
40f81a:	eb d5                	jmp    0x40f7f1
40f81c:	2b 75 d8             	sub    -0x28(%ebp),%esi
40f81f:	8b c6                	mov    %esi,%eax
40f821:	99                   	cltd
40f822:	6a 38                	push   $0x38
40f824:	59                   	pop    %ecx
40f825:	f7 f9                	idiv   %ecx
40f827:	c1 e7 06             	shl    $0x6,%edi
40f82a:	8d 34 07             	lea    (%edi,%eax,1),%esi
40f82d:	8b d6                	mov    %esi,%edx
40f82f:	c1 fa 06             	sar    $0x6,%edx
40f832:	8b ce                	mov    %esi,%ecx
40f834:	83 e1 3f             	and    $0x3f,%ecx
40f837:	6b c9 38             	imul   $0x38,%ecx,%ecx
40f83a:	8b 04 95 a8 21 42 00 	mov    0x4221a8(,%edx,4),%eax
40f841:	c6 44 08 28 01       	movb   $0x1,0x28(%eax,%ecx,1)
40f846:	8b 04 95 a8 21 42 00 	mov    0x4221a8(,%edx,4),%eax
40f84d:	89 5c 08 18          	mov    %ebx,0x18(%eax,%ecx,1)
40f851:	8b de                	mov    %esi,%ebx
40f853:	e9 6a ff ff ff       	jmp    0x40f7c2
40f858:	47                   	inc    %edi
40f859:	e9 18 ff ff ff       	jmp    0x40f776
40f85e:	8b 5d e4             	mov    -0x1c(%ebp),%ebx
40f861:	6a 07                	push   $0x7
40f863:	e8 6c e7 ff ff       	call   0x40dfd4
40f868:	59                   	pop    %ecx
40f869:	c3                   	ret
40f86a:	8b ff                	mov    %edi,%edi
40f86c:	55                   	push   %ebp
40f86d:	8b ec                	mov    %esp,%ebp
40f86f:	53                   	push   %ebx
40f870:	56                   	push   %esi
40f871:	8b 75 08             	mov    0x8(%ebp),%esi
40f874:	57                   	push   %edi
40f875:	85 f6                	test   %esi,%esi
40f877:	78 67                	js     0x40f8e0
40f879:	3b 35 a8 23 42 00    	cmp    0x4223a8,%esi
40f87f:	73 5f                	jae    0x40f8e0
40f881:	8b c6                	mov    %esi,%eax
40f883:	8b de                	mov    %esi,%ebx
40f885:	83 e0 3f             	and    $0x3f,%eax
40f888:	c1 eb 06             	shr    $0x6,%ebx
40f88b:	6b f8 38             	imul   $0x38,%eax,%edi
40f88e:	8b 04 9d a8 21 42 00 	mov    0x4221a8(,%ebx,4),%eax
40f895:	f6 44 07 28 01       	testb  $0x1,0x28(%edi,%eax,1)
40f89a:	74 44                	je     0x40f8e0
40f89c:	83 7c 07 18 ff       	cmpl   $0xffffffff,0x18(%edi,%eax,1)
40f8a1:	74 3d                	je     0x40f8e0
40f8a3:	e8 8c 9a ff ff       	call   0x409334
40f8a8:	83 f8 01             	cmp    $0x1,%eax
40f8ab:	75 23                	jne    0x40f8d0
40f8ad:	33 c0                	xor    %eax,%eax
40f8af:	2b f0                	sub    %eax,%esi
40f8b1:	74 14                	je     0x40f8c7
40f8b3:	83 ee 01             	sub    $0x1,%esi
40f8b6:	74 0a                	je     0x40f8c2
40f8b8:	83 ee 01             	sub    $0x1,%esi
40f8bb:	75 13                	jne    0x40f8d0
40f8bd:	50                   	push   %eax