418694:	85 ff                	test   %edi,%edi
418696:	75 3b                	jne    0x4186d3
418698:	68 f0 de 41 00       	push   $0x41def0
41869d:	eb 0d                	jmp    0x4186ac
41869f:	3b f0                	cmp    %eax,%esi
4186a1:	75 30                	jne    0x4186d3
4186a3:	85 ff                	test   %edi,%edi
4186a5:	75 2c                	jne    0x4186d3
4186a7:	68 e8 de 41 00       	push   $0x41dee8
4186ac:	8d 43 04             	lea    0x4(%ebx),%eax
4186af:	6a 16                	push   $0x16
4186b1:	50                   	push   %eax
4186b2:	e8 00 0f ff ff       	call   0x4095b7
4186b7:	83 c4 0c             	add    $0xc,%esp
4186ba:	33 f6                	xor    %esi,%esi
4186bc:	85 c0                	test   %eax,%eax
4186be:	74 0d                	je     0x4186cd
4186c0:	56                   	push   %esi
4186c1:	56                   	push   %esi
4186c2:	56                   	push   %esi
4186c3:	56                   	push   %esi
4186c4:	56                   	push   %esi
4186c5:	e8 33 ca fe ff       	call   0x4050fd
4186ca:	83 c4 14             	add    $0x14,%esp
4186cd:	c6 43 03 05          	movb   $0x5,0x3(%ebx)
4186d1:	eb 2a                	jmp    0x4186fd
4186d3:	68 e0 de 41 00       	push   $0x41dee0
4186d8:	8d 43 04             	lea    0x4(%ebx),%eax
4186db:	6a 16                	push   $0x16
4186dd:	50                   	push   %eax
4186de:	e8 d4 0e ff ff       	call   0x4095b7
4186e3:	83 c4 0c             	add    $0xc,%esp
4186e6:	33 f6                	xor    %esi,%esi
4186e8:	85 c0                	test   %eax,%eax
4186ea:	74 0d                	je     0x4186f9
4186ec:	56                   	push   %esi
4186ed:	56                   	push   %esi
4186ee:	56                   	push   %esi
4186ef:	56                   	push   %esi
4186f0:	56                   	push   %esi
4186f1:	e8 07 ca fe ff       	call   0x4050fd
4186f6:	83 c4 14             	add    $0x14,%esp
4186f9:	c6 43 03 06          	movb   $0x6,0x3(%ebx)
4186fd:	33 c0                	xor    %eax,%eax
4186ff:	e9 71 07 00 00       	jmp    0x418e75
418704:	0f b7 ca             	movzwl %dx,%ecx
418707:	8b d9                	mov    %ecx,%ebx
418709:	69 c9 10 4d 00 00    	imul   $0x4d10,%ecx,%ecx
41870f:	c1 eb 08             	shr    $0x8,%ebx
418712:	8b c6                	mov    %esi,%eax
418714:	c1 e8 18             	shr    $0x18,%eax
418717:	8d 04 43             	lea    (%ebx,%eax,2),%eax
41871a:	6b c0 4d             	imul   $0x4d,%eax,%eax
41871d:	8d 84 08 0c ed bc ec 	lea    -0x134312f4(%eax,%ecx,1),%eax
418724:	c1 f8 10             	sar    $0x10,%eax
418727:	0f b7 c0             	movzwl %ax,%eax
41872a:	33 c9                	xor    %ecx,%ecx
41872c:	0f bf d8             	movswl %ax,%ebx
41872f:	66 89 4d e0          	mov    %cx,-0x20(%ebp)
418733:	b9 c0 c2 42 00       	mov    $0x42c2c0,%ecx
418738:	f7 db                	neg    %ebx
41873a:	83 e9 60             	sub    $0x60,%ecx
41873d:	89 45 b4             	mov    %eax,-0x4c(%ebp)
418740:	66 89 55 ea          	mov    %dx,-0x16(%ebp)
418744:	89 75 e6             	mov    %esi,-0x1a(%ebp)
418747:	89 7d e2             	mov    %edi,-0x1e(%ebp)
41874a:	89 4d 9c             	mov    %ecx,-0x64(%ebp)
41874d:	85 db                	test   %ebx,%ebx
41874f:	0f 84 9c 02 00 00    	je     0x4189f1
418755:	7d 0d                	jge    0x418764
418757:	b8 20 c4 42 00       	mov    $0x42c420,%eax
41875c:	f7 db                	neg    %ebx
41875e:	83 e8 60             	sub    $0x60,%eax
418761:	89 45 9c             	mov    %eax,-0x64(%ebp)
418764:	85 db                	test   %ebx,%ebx
418766:	0f 84 85 02 00 00    	je     0x4189f1
41876c:	83 45 9c 54          	addl   $0x54,-0x64(%ebp)
418770:	8b cb                	mov    %ebx,%ecx
418772:	83 e1 07             	and    $0x7,%ecx
418775:	c1 fb 03             	sar    $0x3,%ebx
418778:	85 c9                	test   %ecx,%ecx
41877a:	0f 84 67 02 00 00    	je     0x4189e7
418780:	6b c9 0c             	imul   $0xc,%ecx,%ecx
418783:	03 4d 9c             	add    -0x64(%ebp),%ecx
418786:	8b c1                	mov    %ecx,%eax
418788:	89 4d bc             	mov    %ecx,-0x44(%ebp)
41878b:	b9 00 80 00 00       	mov    $0x8000,%ecx
418790:	66 39 08             	cmp    %cx,(%eax)
418793:	72 11                	jb     0x4187a6
418795:	8b f0                	mov    %eax,%esi
418797:	8d 7d c4             	lea    -0x3c(%ebp),%edi
41879a:	a5                   	movsl  %ds:(%esi),%es:(%edi)
41879b:	a5                   	movsl  %ds:(%esi),%es:(%edi)
41879c:	8d 45 c4             	lea    -0x3c(%ebp),%eax
41879f:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4187a0:	ff 4d c6             	decl   -0x3a(%ebp)
4187a3:	89 45 bc             	mov    %eax,-0x44(%ebp)
4187a6:	0f b7 50 0a          	movzwl 0xa(%eax),%edx
4187aa:	33 c9                	xor    %ecx,%ecx
4187ac:	89 4d ac             	mov    %ecx,-0x54(%ebp)
4187af:	89 4d f0             	mov    %ecx,-0x10(%ebp)
4187b2:	89 4d f4             	mov    %ecx,-0xc(%ebp)
4187b5:	89 4d f8             	mov    %ecx,-0x8(%ebp)
4187b8:	8b 4d ea             	mov    -0x16(%ebp),%ecx
4187bb:	8b f2                	mov    %edx,%esi
4187bd:	33 f1                	xor    %ecx,%esi
4187bf:	81 e6 00 80 00 00    	and    $0x8000,%esi
4187c5:	89 75 b8             	mov    %esi,-0x48(%ebp)
4187c8:	be ff 7f 00 00       	mov    $0x7fff,%esi
4187cd:	23 ce                	and    %esi,%ecx
4187cf:	23 d6                	and    %esi,%edx
4187d1:	8d 34 0a             	lea    (%edx,%ecx,1),%esi
4187d4:	0f b7 fe             	movzwl %si,%edi
4187d7:	be ff 7f 00 00       	mov    $0x7fff,%esi
4187dc:	66 3b ce             	cmp    %si,%cx
4187df:	0f 83 ac 02 00 00    	jae    0x418a91
4187e5:	66 3b d6             	cmp    %si,%dx
4187e8:	0f 83 a3 02 00 00    	jae    0x418a91
4187ee:	be fd bf 00 00       	mov    $0xbffd,%esi
4187f3:	66 3b fe             	cmp    %si,%di
4187f6:	0f 87 95 02 00 00    	ja     0x418a91
4187fc:	be bf 3f 00 00       	mov    $0x3fbf,%esi
418801:	66 3b fe             	cmp    %si,%di
418804:	77 10                	ja     0x418816
418806:	33 f6                	xor    %esi,%esi
418808:	89 75 e8             	mov    %esi,-0x18(%ebp)
41880b:	89 75 e4             	mov    %esi,-0x1c(%ebp)
41880e:	89 75 e0             	mov    %esi,-0x20(%ebp)
418811:	e9 d3 01 00 00       	jmp    0x4189e9
418816:	33 f6                	xor    %esi,%esi
418818:	66 3b ce             	cmp    %si,%cx
41881b:	75 1f                	jne    0x41883c
41881d:	47                   	inc    %edi
41881e:	f7 45 e8 ff ff ff 7f 	testl  $0x7fffffff,-0x18(%ebp)
418825:	75 15                	jne    0x41883c
418827:	39 75 e4             	cmp    %esi,-0x1c(%ebp)
41882a:	75 10                	jne    0x41883c
41882c:	39 75 e0             	cmp    %esi,-0x20(%ebp)
41882f:	75 0b                	jne    0x41883c
418831:	33 c0                	xor    %eax,%eax
418833:	66 89 45 ea          	mov    %ax,-0x16(%ebp)
418837:	e9 ad 01 00 00       	jmp    0x4189e9
41883c:	66 3b d6             	cmp    %si,%dx
41883f:	75 13                	jne    0x418854
418841:	47                   	inc    %edi
418842:	f7 40 08 ff ff ff 7f 	testl  $0x7fffffff,0x8(%eax)
418849:	75 09                	jne    0x418854
41884b:	39 70 04             	cmp    %esi,0x4(%eax)
41884e:	75 04                	jne    0x418854
418850:	39 30                	cmp    %esi,(%eax)
418852:	74 b4                	je     0x418808
418854:	21 75 a8             	and    %esi,-0x58(%ebp)
418857:	8d 75 f4             	lea    -0xc(%ebp),%esi
41885a:	c7 45 c0 05 00 00 00 	movl   $0x5,-0x40(%ebp)
418861:	8b 4d a8             	mov    -0x58(%ebp),%ecx
418864:	8b 55 c0             	mov    -0x40(%ebp),%edx
418867:	03 c9                	add    %ecx,%ecx
418869:	89 55 b0             	mov    %edx,-0x50(%ebp)
41886c:	85 d2                	test   %edx,%edx
41886e:	7e 55                	jle    0x4188c5
418870:	8d 4c 0d e0          	lea    -0x20(%ebp,%ecx,1),%ecx
418874:	83 c0 08             	add    $0x8,%eax
418877:	89 4d 94             	mov    %ecx,-0x6c(%ebp)
41887a:	89 45 98             	mov    %eax,-0x68(%ebp)
41887d:	8b 45 94             	mov    -0x6c(%ebp),%eax
418880:	0f b7 08             	movzwl (%eax),%ecx
418883:	8b 45 98             	mov    -0x68(%ebp),%eax
418886:	0f b7 00             	movzwl (%eax),%eax
418889:	8b 56 fc             	mov    -0x4(%esi),%edx
41888c:	0f af c8             	imul   %eax,%ecx
41888f:	83 65 a4 00          	andl   $0x0,-0x5c(%ebp)
418893:	8d 04 0a             	lea    (%edx,%ecx,1),%eax
418896:	3b c2                	cmp    %edx,%eax
418898:	72 04                	jb     0x41889e
41889a:	3b c1                	cmp    %ecx,%eax
41889c:	73 07                	jae    0x4188a5
41889e:	c7 45 a4 01 00 00 00 	movl   $0x1,-0x5c(%ebp)
4188a5:	83 7d a4 00          	cmpl   $0x0,-0x5c(%ebp)
4188a9:	89 46 fc             	mov    %eax,-0x4(%esi)
4188ac:	74 03                	je     0x4188b1
4188ae:	66 ff 06             	incw   (%esi)
4188b1:	83 45 94 02          	addl   $0x2,-0x6c(%ebp)
4188b5:	83 6d 98 02          	subl   $0x2,-0x68(%ebp)
4188b9:	ff 4d b0             	decl   -0x50(%ebp)
4188bc:	83 7d b0 00          	cmpl   $0x0,-0x50(%ebp)
4188c0:	7f bb                	jg     0x41887d
4188c2:	8b 45 bc             	mov    -0x44(%ebp),%eax
4188c5:	46                   	inc    %esi
4188c6:	46                   	inc    %esi
4188c7:	ff 45 a8             	incl   -0x58(%ebp)
4188ca:	ff 4d c0             	decl   -0x40(%ebp)
4188cd:	83 7d c0 00          	cmpl   $0x0,-0x40(%ebp)
4188d1:	7f 8e                	jg     0x418861
4188d3:	81 c7 02 c0 00 00    	add    $0xc002,%edi
4188d9:	66 85 ff             	test   %di,%di
4188dc:	7e 3b                	jle    0x418919
4188de:	f7 45 f8 00 00 00 80 	testl  $0x80000000,-0x8(%ebp)
4188e5:	75 2d                	jne    0x418914
4188e7:	8b 45 f4             	mov    -0xc(%ebp),%eax
4188ea:	8b 4d f0             	mov    -0x10(%ebp),%ecx
4188ed:	d1 65 f0             	shll   $1,-0x10(%ebp)
4188f0:	8b d0                	mov    %eax,%edx
4188f2:	03 c0                	add    %eax,%eax
4188f4:	c1 e9 1f             	shr    $0x1f,%ecx
4188f7:	0b c1                	or     %ecx,%eax
4188f9:	89 45 f4             	mov    %eax,-0xc(%ebp)
4188fc:	8b 45 f8             	mov    -0x8(%ebp),%eax
4188ff:	c1 ea 1f             	shr    $0x1f,%edx
418902:	03 c0                	add    %eax,%eax
418904:	0b c2                	or     %edx,%eax
418906:	81 c7 ff ff 00 00    	add    $0xffff,%edi
41890c:	89 45 f8             	mov    %eax,-0x8(%ebp)
41890f:	66 85 ff             	test   %di,%di
418912:	7f ca                	jg     0x4188de
418914:	66 85 ff             	test   %di,%di
418917:	7f 4d                	jg     0x418966
418919:	81 c7 ff ff 00 00    	add    $0xffff,%edi
41891f:	66 85 ff             	test   %di,%di
418922:	7d 42                	jge    0x418966
418924:	8b c7                	mov    %edi,%eax
418926:	f7 d8                	neg    %eax
418928:	0f b7 c0             	movzwl %ax,%eax
41892b:	03 f8                	add    %eax,%edi
41892d:	f6 45 f0 01          	testb  $0x1,-0x10(%ebp)
418931:	74 03                	je     0x418936
418933:	ff 45 ac             	incl   -0x54(%ebp)
418936:	8b 4d f8             	mov    -0x8(%ebp),%ecx
418939:	8b 75 f4             	mov    -0xc(%ebp),%esi
41893c:	8b 55 f4             	mov    -0xc(%ebp),%edx
41893f:	d1 6d f8             	shrl   $1,-0x8(%ebp)
418942:	c1 e1 1f             	shl    $0x1f,%ecx
418945:	d1 ee                	shr    $1,%esi
418947:	0b f1                	or     %ecx,%esi
418949:	8b 4d f0             	mov    -0x10(%ebp),%ecx
41894c:	c1 e2 1f             	shl    $0x1f,%edx
41894f:	d1 e9                	shr    $1,%ecx
418951:	0b ca                	or     %edx,%ecx
418953:	48                   	dec    %eax
418954:	89 75 f4             	mov    %esi,-0xc(%ebp)
418957:	89 4d f0             	mov    %ecx,-0x10(%ebp)
41895a:	75 d1                	jne    0x41892d
41895c:	39 45 ac             	cmp    %eax,-0x54(%ebp)
41895f:	74 05                	je     0x418966
418961:	66 83 4d f0 01       	orw    $0x1,-0x10(%ebp)
418966:	b8 00 80 00 00       	mov    $0x8000,%eax
41896b:	8b c8                	mov    %eax,%ecx
41896d:	66 39 4d f0          	cmp    %cx,-0x10(%ebp)
418971:	77 11                	ja     0x418984
418973:	8b 4d f0             	mov    -0x10(%ebp),%ecx
418976:	81 e1 ff ff 01 00    	and    $0x1ffff,%ecx
41897c:	81 f9 00 80 01 00    	cmp    $0x18000,%ecx
418982:	75 34                	jne    0x4189b8
418984:	83 7d f2 ff          	cmpl   $0xffffffff,-0xe(%ebp)
418988:	75 2b                	jne    0x4189b5
41898a:	83 65 f2 00          	andl   $0x0,-0xe(%ebp)
41898e:	83 7d f6 ff          	cmpl   $0xffffffff,-0xa(%ebp)
418992:	75 1c                	jne    0x4189b0
418994:	83 65 f6 00          	andl   $0x0,-0xa(%ebp)
418998:	b9 ff ff 00 00       	mov    $0xffff,%ecx
41899d:	66 39 4d fa          	cmp    %cx,-0x6(%ebp)
4189a1:	75 07                	jne    0x4189aa
4189a3:	66 89 45 fa          	mov    %ax,-0x6(%ebp)
4189a7:	47                   	inc    %edi
4189a8:	eb 0e                	jmp    0x4189b8
4189aa:	66 ff 45 fa          	incw   -0x6(%ebp)
4189ae:	eb 08                	jmp    0x4189b8
4189b0:	ff 45 f6             	incl   -0xa(%ebp)
4189b3:	eb 03                	jmp    0x4189b8
4189b5:	ff 45 f2             	incl   -0xe(%ebp)
4189b8:	b8 ff 7f 00 00       	mov    $0x7fff,%eax
4189bd:	66 3b f8             	cmp    %ax,%di
4189c0:	0f 82 ab 00 00 00    	jb     0x418a71
4189c6:	33 c0                	xor    %eax,%eax
4189c8:	33 c9                	xor    %ecx,%ecx
4189ca:	66 39 45 b8          	cmp    %ax,-0x48(%ebp)
4189ce:	89 45 e4             	mov    %eax,-0x1c(%ebp)
4189d1:	0f 94 c1             	sete   %cl
4189d4:	89 45 e0             	mov    %eax,-0x20(%ebp)
4189d7:	49                   	dec    %ecx
4189d8:	81 e1 00 00 00 80    	and    $0x80000000,%ecx
4189de:	81 c1 00 80 ff 7f    	add    $0x7fff8000,%ecx
4189e4:	89 4d e8             	mov    %ecx,-0x18(%ebp)
4189e7:	33 f6                	xor    %esi,%esi
4189e9:	3b de                	cmp    %esi,%ebx
4189eb:	0f 85 7b fd ff ff    	jne    0x41876c
4189f1:	8b 4d e8             	mov    -0x18(%ebp),%ecx
4189f4:	c1 e9 10             	shr    $0x10,%ecx
4189f7:	ba ff 3f 00 00       	mov    $0x3fff,%edx
4189fc:	b8 ff 7f 00 00       	mov    $0x7fff,%eax
418a01:	66 3b ca             	cmp    %dx,%cx
418a04:	0f 82 a3 02 00 00    	jb     0x418cad
418a0a:	ff 45 b4             	incl   -0x4c(%ebp)
418a0d:	33 d2                	xor    %edx,%edx
418a0f:	89 55 b0             	mov    %edx,-0x50(%ebp)
418a12:	89 55 f0             	mov    %edx,-0x10(%ebp)
418a15:	89 55 f4             	mov    %edx,-0xc(%ebp)
418a18:	89 55 f8             	mov    %edx,-0x8(%ebp)
418a1b:	8b 55 da             	mov    -0x26(%ebp),%edx
418a1e:	0f b7 c9             	movzwl %cx,%ecx
418a21:	8b da                	mov    %edx,%ebx
418a23:	33 d9                	xor    %ecx,%ebx
418a25:	23 c8                	and    %eax,%ecx
418a27:	23 d0                	and    %eax,%edx
418a29:	81 e3 00 80 00 00    	and    $0x8000,%ebx
418a2f:	8b f8                	mov    %eax,%edi
418a31:	8d 34 0a             	lea    (%edx,%ecx,1),%esi
418a34:	89 5d a4             	mov    %ebx,-0x5c(%ebp)
418a37:	0f b7 f6             	movzwl %si,%esi
418a3a:	66 3b cf             	cmp    %di,%cx
418a3d:	0f 83 4c 02 00 00    	jae    0x418c8f
418a43:	66 3b d0             	cmp    %ax,%dx
418a46:	0f 83 43 02 00 00    	jae    0x418c8f
418a4c:	b8 fd bf 00 00       	mov    $0xbffd,%eax
418a51:	66 3b f0             	cmp    %ax,%si
418a54:	0f 87 35 02 00 00    	ja     0x418c8f
418a5a:	b8 bf 3f 00 00       	mov    $0x3fbf,%eax
418a5f:	66 3b f0             	cmp    %ax,%si
418a62:	77 4b                	ja     0x418aaf
418a64:	33 c0                	xor    %eax,%eax
418a66:	89 45 e4             	mov    %eax,-0x1c(%ebp)
418a69:	89 45 e0             	mov    %eax,-0x20(%ebp)
418a6c:	e9 39 02 00 00       	jmp    0x418caa
418a71:	66 8b 45 f2          	mov    -0xe(%ebp),%ax
418a75:	0b 7d b8             	or     -0x48(%ebp),%edi
418a78:	66 89 45 e0          	mov    %ax,-0x20(%ebp)
418a7c:	8b 45 f4             	mov    -0xc(%ebp),%eax
418a7f:	89 45 e2             	mov    %eax,-0x1e(%ebp)
418a82:	8b 45 f8             	mov    -0x8(%ebp),%eax
418a85:	89 45 e6             	mov    %eax,-0x1a(%ebp)
418a88:	66 89 7d ea          	mov    %di,-0x16(%ebp)
418a8c:	e9 56 ff ff ff       	jmp    0x4189e7
418a91:	33 c0                	xor    %eax,%eax
418a93:	33 f6                	xor    %esi,%esi
418a95:	66 39 75 b8          	cmp    %si,-0x48(%ebp)
418a99:	0f 94 c0             	sete   %al
418a9c:	48                   	dec    %eax
418a9d:	25 00 00 00 80       	and    $0x80000000,%eax
418aa2:	05 00 80 ff 7f       	add    $0x7fff8000,%eax
418aa7:	89 45 e8             	mov    %eax,-0x18(%ebp)
418aaa:	e9 5c fd ff ff       	jmp    0x41880b
418aaf:	33 c0                	xor    %eax,%eax
418ab1:	66 3b c8             	cmp    %ax,%cx
418ab4:	75 1d                	jne    0x418ad3
418ab6:	46                   	inc    %esi
418ab7:	f7 45 e8 ff ff ff 7f 	testl  $0x7fffffff,-0x18(%ebp)
418abe:	75 13                	jne    0x418ad3
418ac0:	39 45 e4             	cmp    %eax,-0x1c(%ebp)
418ac3:	75 0e                	jne    0x418ad3
418ac5:	39 45 e0             	cmp    %eax,-0x20(%ebp)
418ac8:	75 09                	jne    0x418ad3