4f3537:	66 89 02             	mov    %ax,(%edx)
4f353a:	8b 4d e8             	mov    -0x18(%ebp),%ecx
4f353d:	8b 45 d4             	mov    -0x2c(%ebp),%eax
4f3540:	0f b7 00             	movzwl (%eax),%eax
4f3543:	ba ff ff 00 00       	mov    $0xffff,%edx
4f3548:	2b d0                	sub    %eax,%edx
4f354a:	d3 ea                	shr    %cl,%edx
4f354c:	89 55 ec             	mov    %edx,-0x14(%ebp)
4f354f:	8a 45 ec             	mov    -0x14(%ebp),%al
4f3552:	88 46 02             	mov    %al,0x2(%esi)
4f3555:	8a 45 ec             	mov    -0x14(%ebp),%al
4f3558:	88 46 01             	mov    %al,0x1(%esi)
4f355b:	8a 45 ec             	mov    -0x14(%ebp),%al
4f355e:	88 06                	mov    %al,(%esi)
4f3560:	83 45 d4 02          	addl   $0x2,-0x2c(%ebp)
4f3564:	83 c6 03             	add    $0x3,%esi
4f3567:	ff 4d a4             	decl   -0x5c(%ebp)
4f356a:	75 b4                	jne    0x4f3520
4f356c:	eb 51                	jmp    0x4f35bf
4f356e:	8b 45 10             	mov    0x10(%ebp),%eax
4f3571:	48                   	dec    %eax
4f3572:	85 c0                	test   %eax,%eax
4f3574:	7c 49                	jl     0x4f35bf
4f3576:	40                   	inc    %eax
4f3577:	89 45 a4             	mov    %eax,-0x5c(%ebp)
4f357a:	8a 93 74 01 00 00    	mov    0x174(%ebx),%dl
4f3580:	80 f2 01             	xor    $0x1,%dl
4f3583:	8b 45 d4             	mov    -0x2c(%ebp),%eax
4f3586:	66 8b 00             	mov    (%eax),%ax
4f3589:	e8 16 15 11 00       	call   0x604aa4
4f358e:	8b 55 d4             	mov    -0x2c(%ebp),%edx
4f3591:	66 89 02             	mov    %ax,(%edx)
4f3594:	8b 4d e8             	mov    -0x18(%ebp),%ecx
4f3597:	8b 45 d4             	mov    -0x2c(%ebp),%eax
4f359a:	0f b7 00             	movzwl (%eax),%eax
4f359d:	d3 e8                	shr    %cl,%eax
4f359f:	89 45 ec             	mov    %eax,-0x14(%ebp)
4f35a2:	8a 45 ec             	mov    -0x14(%ebp),%al
4f35a5:	88 46 02             	mov    %al,0x2(%esi)
4f35a8:	8a 45 ec             	mov    -0x14(%ebp),%al
4f35ab:	88 46 01             	mov    %al,0x1(%esi)
4f35ae:	8a 45 ec             	mov    -0x14(%ebp),%al
4f35b1:	88 06                	mov    %al,(%esi)
4f35b3:	83 45 d4 02          	addl   $0x2,-0x2c(%ebp)
4f35b7:	83 c6 03             	add    $0x3,%esi
4f35ba:	ff 4d a4             	decl   -0x5c(%ebp)
4f35bd:	75 bb                	jne    0x4f357a
4f35bf:	8b 45 08             	mov    0x8(%ebp),%eax
4f35c2:	ff 40 0c             	incl   0xc(%eax)
4f35c5:	8b 45 08             	mov    0x8(%ebp),%eax
4f35c8:	66 83 78 02 00       	cmpw   $0x0,0x2(%eax)
4f35cd:	74 21                	je     0x4f35f0
4f35cf:	8b 45 08             	mov    0x8(%ebp),%eax
4f35d2:	db 40 0c             	fildl  0xc(%eax)
4f35d5:	8b 45 08             	mov    0x8(%ebp),%eax
4f35d8:	dc 48 18             	fmull  0x18(%eax)
4f35db:	e8 ec f6 f0 ff       	call   0x402ccc
4f35e0:	8b c8                	mov    %eax,%ecx
4f35e2:	8b 75 08             	mov    0x8(%ebp),%esi
4f35e5:	8b 55 08             	mov    0x8(%ebp),%edx
4f35e8:	8b 52 08             	mov    0x8(%edx),%edx
4f35eb:	8b 46 04             	mov    0x4(%esi),%eax
4f35ee:	ff 16                	call   *(%esi)
4f35f0:	8b 45 08             	mov    0x8(%ebp),%eax
4f35f3:	8b 40 28             	mov    0x28(%eax),%eax
4f35f6:	80 38 00             	cmpb   $0x0,(%eax)
4f35f9:	75 19                	jne    0x4f3614
4f35fb:	eb 0b                	jmp    0x4f3608
4f35fd:	8b 45 08             	mov    0x8(%ebp),%eax
4f3600:	8b 40 28             	mov    0x28(%eax),%eax
4f3603:	c6 00 01             	movb   $0x1,(%eax)
4f3606:	eb 0c                	jmp    0x4f3614
4f3608:	ff 45 f4             	incl   -0xc(%ebp)
4f360b:	ff 4d a8             	decl   -0x58(%ebp)
4f360e:	0f 85 cf fd ff ff    	jne    0x4f33e3
4f3614:	66 83 7b 22 01       	cmpw   $0x1,0x22(%ebx)
4f3619:	0f 84 6f 08 00 00    	je     0x4f3e8e
4f361f:	8b 45 e4             	mov    -0x1c(%ebp),%eax
4f3622:	e8 a5 f1 f0 ff       	call   0x4027cc
4f3627:	e9 62 08 00 00       	jmp    0x4f3e8e
4f362c:	66 83 7b 1c 01       	cmpw   $0x1,0x1c(%ebx)
4f3631:	0f 87 68 01 00 00    	ja     0x4f379f
4f3637:	83 7b 08 01          	cmpl   $0x1,0x8(%ebx)
4f363b:	0f 85 5e 01 00 00    	jne    0x4f379f
4f3641:	83 7b 0c 01          	cmpl   $0x1,0xc(%ebx)
4f3645:	0f 85 54 01 00 00    	jne    0x4f379f
4f364b:	8b 45 10             	mov    0x10(%ebp),%eax
4f364e:	e8 59 f1 f0 ff       	call   0x4027ac
4f3653:	89 45 e4             	mov    %eax,-0x1c(%ebp)
4f3656:	8b 45 d0             	mov    -0x30(%ebp),%eax
4f3659:	e8 4e f1 f0 ff       	call   0x4027ac
4f365e:	89 45 e0             	mov    %eax,-0x20(%ebp)
4f3661:	b1 ff                	mov    $0xff,%cl
4f3663:	8b 55 d0             	mov    -0x30(%ebp),%edx
4f3666:	8b 45 e0             	mov    -0x20(%ebp),%eax
4f3669:	e8 5a 48 f1 ff       	call   0x407ec8
4f366e:	33 c0                	xor    %eax,%eax
4f3670:	89 45 cc             	mov    %eax,-0x34(%ebp)
4f3673:	66 83 7b 1c 00       	cmpw   $0x0,0x1c(%ebx)
4f3678:	75 0e                	jne    0x4f3688
4f367a:	66 83 7b 22 01       	cmpw   $0x1,0x22(%ebx)
4f367f:	74 1c                	je     0x4f369d
4f3681:	66 83 7b 22 05       	cmpw   $0x5,0x22(%ebx)
4f3686:	73 15                	jae    0x4f369d
4f3688:	66 83 7b 1c 01       	cmpw   $0x1,0x1c(%ebx)
4f368d:	75 14                	jne    0x4f36a3
4f368f:	66 83 7b 22 02       	cmpw   $0x2,0x22(%ebx)
4f3694:	76 0d                	jbe    0x4f36a3
4f3696:	66 83 7b 22 04       	cmpw   $0x4,0x22(%ebx)
4f369b:	73 06                	jae    0x4f36a3
4f369d:	c6 45 cb 01          	movb   $0x1,-0x35(%ebp)
4f36a1:	eb 04                	jmp    0x4f36a7
4f36a3:	c6 45 cb 00          	movb   $0x0,-0x35(%ebp)
4f36a7:	8b 45 0c             	mov    0xc(%ebp),%eax
4f36aa:	48                   	dec    %eax
4f36ab:	85 c0                	test   %eax,%eax
4f36ad:	0f 8c d7 00 00 00    	jl     0x4f378a
4f36b3:	40                   	inc    %eax
4f36b4:	89 45 a8             	mov    %eax,-0x58(%ebp)
4f36b7:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)
4f36be:	8b 55 f8             	mov    -0x8(%ebp),%edx
4f36c1:	03 55 f4             	add    -0xc(%ebp),%edx
4f36c4:	8b 45 fc             	mov    -0x4(%ebp),%eax
4f36c7:	8b 08                	mov    (%eax),%ecx
4f36c9:	ff 11                	call   *(%ecx)
4f36cb:	8b f0                	mov    %eax,%esi
4f36cd:	8b 45 1c             	mov    0x1c(%ebp),%eax
4f36d0:	01 c6                	add    %eax,%esi
4f36d2:	53                   	push   %ebx
4f36d3:	8b 45 10             	mov    0x10(%ebp),%eax
4f36d6:	50                   	push   %eax
4f36d7:	8b 45 d0             	mov    -0x30(%ebp),%eax
4f36da:	50                   	push   %eax
4f36db:	8d 45 c4             	lea    -0x3c(%ebp),%eax
4f36de:	50                   	push   %eax
4f36df:	8b 45 e0             	mov    -0x20(%ebp),%eax
4f36e2:	50                   	push   %eax
4f36e3:	8d 45 cc             	lea    -0x34(%ebp),%eax
4f36e6:	50                   	push   %eax
4f36e7:	8d 55 18             	lea    0x18(%ebp),%edx
4f36ea:	8d 45 e4             	lea    -0x1c(%ebp),%eax
4f36ed:	8b 4d 14             	mov    0x14(%ebp),%ecx
4f36f0:	e8 f3 e6 ff ff       	call   0x4f1de8
4f36f5:	84 c0                	test   %al,%al
4f36f7:	74 7a                	je     0x4f3773
4f36f9:	8b 7d e4             	mov    -0x1c(%ebp),%edi
4f36fc:	89 75 dc             	mov    %esi,-0x24(%ebp)
4f36ff:	8a 45 cb             	mov    -0x35(%ebp),%al
4f3702:	2c 01                	sub    $0x1,%al
4f3704:	72 22                	jb     0x4f3728
4f3706:	75 2d                	jne    0x4f3735
4f3708:	8b 45 d0             	mov    -0x30(%ebp),%eax
4f370b:	48                   	dec    %eax
4f370c:	85 c0                	test   %eax,%eax
4f370e:	7c 25                	jl     0x4f3735
4f3710:	40                   	inc    %eax
4f3711:	89 45 a4             	mov    %eax,-0x5c(%ebp)
4f3714:	8a 07                	mov    (%edi),%al
4f3716:	f6 d0                	not    %al
4f3718:	8b 55 dc             	mov    -0x24(%ebp),%edx
4f371b:	88 02                	mov    %al,(%edx)
4f371d:	47                   	inc    %edi
4f371e:	ff 45 dc             	incl   -0x24(%ebp)
4f3721:	ff 4d a4             	decl   -0x5c(%ebp)
4f3724:	75 ee                	jne    0x4f3714
4f3726:	eb 0d                	jmp    0x4f3735
4f3728:	8b 4d d0             	mov    -0x30(%ebp),%ecx
4f372b:	8b d7                	mov    %edi,%edx
4f372d:	8b 45 dc             	mov    -0x24(%ebp),%eax
4f3730:	e8 8b 47 f1 ff       	call   0x407ec0
4f3735:	8b 45 08             	mov    0x8(%ebp),%eax
4f3738:	ff 40 0c             	incl   0xc(%eax)
4f373b:	8b 45 08             	mov    0x8(%ebp),%eax
4f373e:	66 83 78 02 00       	cmpw   $0x0,0x2(%eax)
4f3743:	74 21                	je     0x4f3766
4f3745:	8b 45 08             	mov    0x8(%ebp),%eax
4f3748:	db 40 0c             	fildl  0xc(%eax)
4f374b:	8b 45 08             	mov    0x8(%ebp),%eax
4f374e:	dc 48 18             	fmull  0x18(%eax)
4f3751:	e8 76 f5 f0 ff       	call   0x402ccc
4f3756:	8b c8                	mov    %eax,%ecx
4f3758:	8b 75 08             	mov    0x8(%ebp),%esi
4f375b:	8b 55 08             	mov    0x8(%ebp),%edx
4f375e:	8b 52 08             	mov    0x8(%edx),%edx
4f3761:	8b 46 04             	mov    0x4(%esi),%eax
4f3764:	ff 16                	call   *(%esi)
4f3766:	8b 45 08             	mov    0x8(%ebp),%eax
4f3769:	8b 40 28             	mov    0x28(%eax),%eax
4f376c:	80 38 00             	cmpb   $0x0,(%eax)
4f376f:	75 19                	jne    0x4f378a
4f3771:	eb 0b                	jmp    0x4f377e
4f3773:	8b 45 08             	mov    0x8(%ebp),%eax
4f3776:	8b 40 28             	mov    0x28(%eax),%eax
4f3779:	c6 00 01             	movb   $0x1,(%eax)
4f377c:	eb 0c                	jmp    0x4f378a
4f377e:	ff 45 f4             	incl   -0xc(%ebp)
4f3781:	ff 4d a8             	decl   -0x58(%ebp)
4f3784:	0f 85 34 ff ff ff    	jne    0x4f36be
4f378a:	8b 45 e0             	mov    -0x20(%ebp),%eax
4f378d:	e8 3a f0 f0 ff       	call   0x4027cc
4f3792:	8b 45 e4             	mov    -0x1c(%ebp),%eax
4f3795:	e8 32 f0 f0 ff       	call   0x4027cc
4f379a:	e9 ef 06 00 00       	jmp    0x4f3e8e
4f379f:	66 83 7b 1c 05       	cmpw   $0x5,0x1c(%ebx)
4f37a4:	0f 85 b0 01 00 00    	jne    0x4f395a
4f37aa:	83 7b 08 04          	cmpl   $0x4,0x8(%ebx)
4f37ae:	0f 85 a6 01 00 00    	jne    0x4f395a
4f37b4:	83 7b 0c 08          	cmpl   $0x8,0xc(%ebx)
4f37b8:	0f 85 9c 01 00 00    	jne    0x4f395a
4f37be:	66 83 7b 22 01       	cmpw   $0x1,0x22(%ebx)
4f37c3:	74 0e                	je     0x4f37d3
4f37c5:	8b 45 10             	mov    0x10(%ebp),%eax
4f37c8:	c1 e0 02             	shl    $0x2,%eax
4f37cb:	e8 dc ef f0 ff       	call   0x4027ac
4f37d0:	89 45 e4             	mov    %eax,-0x1c(%ebp)
4f37d3:	8b 45 0c             	mov    0xc(%ebp),%eax
4f37d6:	48                   	dec    %eax
4f37d7:	85 c0                	test   %eax,%eax
4f37d9:	0f 8c 63 01 00 00    	jl     0x4f3942
4f37df:	40                   	inc    %eax
4f37e0:	89 45 a8             	mov    %eax,-0x58(%ebp)
4f37e3:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)
4f37ea:	53                   	push   %ebx
4f37eb:	8b 45 10             	mov    0x10(%ebp),%eax
4f37ee:	50                   	push   %eax
4f37ef:	8b 45 d0             	mov    -0x30(%ebp),%eax
4f37f2:	50                   	push   %eax
4f37f3:	8d 45 c4             	lea    -0x3c(%ebp),%eax
4f37f6:	50                   	push   %eax
4f37f7:	8b 45 e0             	mov    -0x20(%ebp),%eax
4f37fa:	50                   	push   %eax
4f37fb:	8d 45 cc             	lea    -0x34(%ebp),%eax
4f37fe:	50                   	push   %eax
4f37ff:	8d 55 18             	lea    0x18(%ebp),%edx
4f3802:	8d 45 e4             	lea    -0x1c(%ebp),%eax
4f3805:	8b 4d 14             	mov    0x14(%ebp),%ecx
4f3808:	e8 db e5 ff ff       	call   0x4f1de8
4f380d:	84 c0                	test   %al,%al
4f380f:	0f 84 16 01 00 00    	je     0x4f392b
4f3815:	8b 45 fc             	mov    -0x4(%ebp),%eax
4f3818:	8b 10                	mov    (%eax),%edx
4f381a:	ff 52 10             	call   *0x10(%edx)
4f381d:	3c 07                	cmp    $0x7,%al
4f381f:	75 6a                	jne    0x4f388b
4f3821:	8b 55 f8             	mov    -0x8(%ebp),%edx
4f3824:	03 55 f4             	add    -0xc(%ebp),%edx
4f3827:	8b 45 fc             	mov    -0x4(%ebp),%eax
4f382a:	8b 08                	mov    (%eax),%ecx
4f382c:	ff 11                	call   *(%ecx)
4f382e:	89 45 ac             	mov    %eax,-0x54(%ebp)
4f3831:	8b 45 1c             	mov    0x1c(%ebp),%eax
4f3834:	b9 03 00 00 00       	mov    $0x3,%ecx
4f3839:	99                   	cltd
4f383a:	f7 f9                	idiv   %ecx
4f383c:	c1 e0 02             	shl    $0x2,%eax
4f383f:	01 45 ac             	add    %eax,-0x54(%ebp)
4f3842:	8b 45 e4             	mov    -0x1c(%ebp),%eax
4f3845:	8b 55 10             	mov    0x10(%ebp),%edx
4f3848:	4a                   	dec    %edx
4f3849:	85 d2                	test   %edx,%edx
4f384b:	0f 8c 9c 00 00 00    	jl     0x4f38ed
4f3851:	42                   	inc    %edx
4f3852:	89 55 a4             	mov    %edx,-0x5c(%ebp)
4f3855:	b2 ff                	mov    $0xff,%dl
4f3857:	2a 10                	sub    (%eax),%dl
4f3859:	8b 4d ac             	mov    -0x54(%ebp),%ecx
4f385c:	88 11                	mov    %dl,(%ecx)
4f385e:	40                   	inc    %eax
4f385f:	b2 ff                	mov    $0xff,%dl
4f3861:	2a 10                	sub    (%eax),%dl
4f3863:	8b 4d ac             	mov    -0x54(%ebp),%ecx
4f3866:	88 51 01             	mov    %dl,0x1(%ecx)
4f3869:	40                   	inc    %eax
4f386a:	b2 ff                	mov    $0xff,%dl
4f386c:	2a 10                	sub    (%eax),%dl
4f386e:	8b 4d ac             	mov    -0x54(%ebp),%ecx
4f3871:	88 51 02             	mov    %dl,0x2(%ecx)
4f3874:	40                   	inc    %eax
4f3875:	b2 ff                	mov    $0xff,%dl
4f3877:	2a 10                	sub    (%eax),%dl
4f3879:	8b 4d ac             	mov    -0x54(%ebp),%ecx
4f387c:	88 51 03             	mov    %dl,0x3(%ecx)
4f387f:	40                   	inc    %eax
4f3880:	83 45 ac 04          	addl   $0x4,-0x54(%ebp)
4f3884:	ff 4d a4             	decl   -0x5c(%ebp)
4f3887:	75 cc                	jne    0x4f3855
4f3889:	eb 62                	jmp    0x4f38ed
4f388b:	8b 55 f8             	mov    -0x8(%ebp),%edx
4f388e:	03 55 f4             	add    -0xc(%ebp),%edx
4f3891:	8b 45 fc             	mov    -0x4(%ebp),%eax
4f3894:	8b 08                	mov    (%eax),%ecx
4f3896:	ff 11                	call   *(%ecx)
4f3898:	8b f0                	mov    %eax,%esi
4f389a:	8b 45 1c             	mov    0x1c(%ebp),%eax
4f389d:	01 c6                	add    %eax,%esi
4f389f:	8b 45 e4             	mov    -0x1c(%ebp),%eax
4f38a2:	8b 55 10             	mov    0x10(%ebp),%edx
4f38a5:	4a                   	dec    %edx
4f38a6:	85 d2                	test   %edx,%edx
4f38a8:	7c 25                	jl     0x4f38cf
4f38aa:	42                   	inc    %edx
4f38ab:	89 55 a4             	mov    %edx,-0x5c(%ebp)
4f38ae:	b2 ff                	mov    $0xff,%dl
4f38b0:	2a 10                	sub    (%eax),%dl
4f38b2:	88 10                	mov    %dl,(%eax)
4f38b4:	40                   	inc    %eax
4f38b5:	b2 ff                	mov    $0xff,%dl
4f38b7:	2a 10                	sub    (%eax),%dl
4f38b9:	88 10                	mov    %dl,(%eax)
4f38bb:	40                   	inc    %eax
4f38bc:	b2 ff                	mov    $0xff,%dl
4f38be:	2a 10                	sub    (%eax),%dl
4f38c0:	88 10                	mov    %dl,(%eax)
4f38c2:	40                   	inc    %eax
4f38c3:	b2 ff                	mov    $0xff,%dl
4f38c5:	2a 10                	sub    (%eax),%dl
4f38c7:	88 10                	mov    %dl,(%eax)
4f38c9:	40                   	inc    %eax
4f38ca:	ff 4d a4             	decl   -0x5c(%ebp)
4f38cd:	75 df                	jne    0x4f38ae
4f38cf:	6a 01                	push   $0x1
4f38d1:	8b 45 10             	mov    0x10(%ebp),%eax
4f38d4:	50                   	push   %eax
4f38d5:	8b 83 78 01 00 00    	mov    0x178(%ebx),%eax
4f38db:	50                   	push   %eax
4f38dc:	8b 3d 20 6f 6a 00    	mov    0x6a6f20,%edi
4f38e2:	8b 3f                	mov    (%edi),%edi
4f38e4:	8b ce                	mov    %esi,%ecx
4f38e6:	b2 02                	mov    $0x2,%dl
4f38e8:	8b 45 e4             	mov    -0x1c(%ebp),%eax
4f38eb:	ff d7                	call   *%edi
4f38ed:	8b 45 08             	mov    0x8(%ebp),%eax
4f38f0:	ff 40 0c             	incl   0xc(%eax)
4f38f3:	8b 45 08             	mov    0x8(%ebp),%eax
4f38f6:	66 83 78 02 00       	cmpw   $0x0,0x2(%eax)
4f38fb:	74 21                	je     0x4f391e
4f38fd:	8b 45 08             	mov    0x8(%ebp),%eax
4f3900:	db 40 0c             	fildl  0xc(%eax)
4f3903:	8b 45 08             	mov    0x8(%ebp),%eax
4f3906:	dc 48 18             	fmull  0x18(%eax)
4f3909:	e8 be f3 f0 ff       	call   0x402ccc
4f390e:	8b c8                	mov    %eax,%ecx
4f3910:	8b 75 08             	mov    0x8(%ebp),%esi
4f3913:	8b 55 08             	mov    0x8(%ebp),%edx
4f3916:	8b 52 08             	mov    0x8(%edx),%edx
4f3919:	8b 46 04             	mov    0x4(%esi),%eax
4f391c:	ff 16                	call   *(%esi)
4f391e:	8b 45 08             	mov    0x8(%ebp),%eax
4f3921:	8b 40 28             	mov    0x28(%eax),%eax
4f3924:	80 38 00             	cmpb   $0x0,(%eax)