407695:	e9 44 fe ff ff       	jmp    0x4074de
40769a:	8b 47 24             	mov    0x24(%edi),%eax
40769d:	33 d2                	xor    %edx,%edx
40769f:	66 39 50 06          	cmp    %dx,0x6(%eax)
4076a3:	0f 85 f1 ae 07 00    	jne    0x48259a
4076a9:	8b 4c 24 0c          	mov    0xc(%esp),%ecx
4076ad:	8b 47 24             	mov    0x24(%edi),%eax
4076b0:	8b 00                	mov    (%eax),%eax
4076b2:	89 47 24             	mov    %eax,0x24(%edi)
4076b5:	e9 5d ff ff ff       	jmp    0x407617
4076ba:	8b 47 40             	mov    0x40(%edi),%eax
4076bd:	89 44 24 34          	mov    %eax,0x34(%esp)
4076c1:	e9 b1 fe ff ff       	jmp    0x407577
4076c6:	83 7d 38 00          	cmpl   $0x0,0x38(%ebp)
4076ca:	8b 4c 24 0c          	mov    0xc(%esp),%ecx
4076ce:	74 64                	je     0x407734
4076d0:	8b 44 24 50          	mov    0x50(%esp),%eax
4076d4:	8b 30                	mov    (%eax),%esi
4076d6:	03 74 24 54          	add    0x54(%esp),%esi
4076da:	83 c1 02             	add    $0x2,%ecx
4076dd:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
4076e1:	8b 44 24 58          	mov    0x58(%esp),%eax
4076e5:	83 c3 02             	add    $0x2,%ebx
4076e8:	89 5c 24 20          	mov    %ebx,0x20(%esp)
4076ec:	e9 14 fe ff ff       	jmp    0x407505
4076f1:	8b 4c 24 30          	mov    0x30(%esp),%ecx
4076f5:	8b 44 24 38          	mov    0x38(%esp),%eax
4076f9:	8b 54 24 3c          	mov    0x3c(%esp),%edx
4076fd:	85 c9                	test   %ecx,%ecx
4076ff:	79 52                	jns    0x407753
407701:	85 c0                	test   %eax,%eax
407703:	78 5c                	js     0x407761
407705:	8b 4c 24 24          	mov    0x24(%esp),%ecx
407709:	85 c9                	test   %ecx,%ecx
40770b:	79 58                	jns    0x407765
40770d:	8b c8                	mov    %eax,%ecx
40770f:	89 54 24 28          	mov    %edx,0x28(%esp)
407713:	89 4c 24 24          	mov    %ecx,0x24(%esp)
407717:	8b 5c 24 10          	mov    0x10(%esp),%ebx
40771b:	8b c1                	mov    %ecx,%eax
40771d:	33 c3                	xor    %ebx,%eax
40771f:	a9 fd ff ff ff       	test   $0xfffffffd,%eax
407724:	74 62                	je     0x407788
407726:	83 4c 24 10 ff       	orl    $0xffffffff,0x10(%esp)
40772b:	8b 44 24 14          	mov    0x14(%esp),%eax
40772f:	e9 7b fe ff ff       	jmp    0x4075af
407734:	6a 77                	push   $0x77
407736:	58                   	pop    %eax
407737:	66 89 06             	mov    %ax,(%esi)
40773a:	8b c6                	mov    %esi,%eax
40773c:	2b 44 24 14          	sub    0x14(%esp),%eax
407740:	89 74 24 14          	mov    %esi,0x14(%esp)
407744:	d1 f8                	sar    $1,%eax
407746:	66 89 46 02          	mov    %ax,0x2(%esi)
40774a:	89 74 24 6c          	mov    %esi,0x6c(%esp)
40774e:	83 c6 04             	add    $0x4,%esi
407751:	eb 8e                	jmp    0x4076e1
407753:	39 54 24 2c          	cmp    %edx,0x2c(%esp)
407757:	75 12                	jne    0x40776b
407759:	3b c8                	cmp    %eax,%ecx
40775b:	75 0e                	jne    0x40776b
40775d:	85 c9                	test   %ecx,%ecx
40775f:	78 a0                	js     0x407701
407761:	8b 4c 24 24          	mov    0x24(%esp),%ecx
407765:	8b 54 24 28          	mov    0x28(%esp),%edx
407769:	eb ac                	jmp    0x407717
40776b:	8b 5c 24 10          	mov    0x10(%esp),%ebx
40776f:	85 db                	test   %ebx,%ebx
407771:	79 0c                	jns    0x40777f
407773:	8b 5c 24 2c          	mov    0x2c(%esp),%ebx
407777:	89 5c 24 1c          	mov    %ebx,0x1c(%esp)
40777b:	89 4c 24 10          	mov    %ecx,0x10(%esp)
40777f:	83 c9 ff             	or     $0xffffffff,%ecx
407782:	89 4c 24 30          	mov    %ecx,0x30(%esp)
407786:	eb d5                	jmp    0x40775d
407788:	39 54 24 1c          	cmp    %edx,0x1c(%esp)
40778c:	75 98                	jne    0x407726
40778e:	0b d9                	or     %ecx,%ebx
407790:	89 54 24 1c          	mov    %edx,0x1c(%esp)
407794:	89 5c 24 10          	mov    %ebx,0x10(%esp)
407798:	eb 91                	jmp    0x40772b
40779a:	89 47 40             	mov    %eax,0x40(%edi)
40779d:	e9 71 fd ff ff       	jmp    0x407513
4077a2:	cc                   	int3
4077a3:	cc                   	int3
4077a4:	cc                   	int3
4077a5:	cc                   	int3
4077a6:	cc                   	int3
4077a7:	cc                   	int3
4077a8:	cc                   	int3
4077a9:	cc                   	int3
4077aa:	cc                   	int3
4077ab:	cc                   	int3
4077ac:	cc                   	int3
4077ad:	cc                   	int3
4077ae:	cc                   	int3
4077af:	cc                   	int3
4077b0:	55                   	push   %ebp
4077b1:	8b ec                	mov    %esp,%ebp
4077b3:	81 ec 44 01 00 00    	sub    $0x144,%esp
4077b9:	53                   	push   %ebx
4077ba:	8b 19                	mov    (%ecx),%ebx
4077bc:	56                   	push   %esi
4077bd:	57                   	push   %edi
4077be:	8b 7d 08             	mov    0x8(%ebp),%edi
4077c1:	8b c2                	mov    %edx,%eax
4077c3:	8b 3f                	mov    (%edi),%edi
4077c5:	8b 10                	mov    (%eax),%edx
4077c7:	89 8d e8 fe ff ff    	mov    %ecx,-0x118(%ebp)
4077cd:	33 c9                	xor    %ecx,%ecx
4077cf:	89 85 ec fe ff ff    	mov    %eax,-0x114(%ebp)
4077d5:	c7 45 ac 00 00 00 00 	movl   $0x0,-0x54(%ebp)
4077dc:	c7 45 c4 00 00 00 00 	movl   $0x0,-0x3c(%ebp)
4077e3:	89 5d f4             	mov    %ebx,-0xc(%ebp)
4077e6:	c7 85 58 ff ff ff 00 	movl   $0x0,-0xa8(%ebp)
4077ed:	00 00 00
4077f0:	c7 85 74 ff ff ff 00 	movl   $0x0,-0x8c(%ebp)
4077f7:	00 00 00
4077fa:	89 55 f8             	mov    %edx,-0x8(%ebp)
4077fd:	89 95 50 ff ff ff    	mov    %edx,-0xb0(%ebp)
407803:	89 95 48 ff ff ff    	mov    %edx,-0xb8(%ebp)
407809:	c7 45 cc 00 00 00 00 	movl   $0x0,-0x34(%ebp)
407810:	c7 85 64 ff ff ff 00 	movl   $0x0,-0x9c(%ebp)
407817:	00 00 00
40781a:	89 7d fc             	mov    %edi,-0x4(%ebp)
40781d:	89 4d 84             	mov    %ecx,-0x7c(%ebp)
407820:	89 4d e0             	mov    %ecx,-0x20(%ebp)
407823:	89 8d 78 ff ff ff    	mov    %ecx,-0x88(%ebp)
407829:	89 4d c0             	mov    %ecx,-0x40(%ebp)
40782c:	f7 c3 00 08 00 00    	test   $0x800,%ebx
407832:	0f 84 26 0f 00 00    	je     0x40875e
407838:	c7 45 dc 01 00 00 00 	movl   $0x1,-0x24(%ebp)
40783f:	f7 c3 00 02 00 00    	test   $0x200,%ebx
407845:	0f 85 1b 0f 00 00    	jne    0x408766
40784b:	33 c0                	xor    %eax,%eax
40784d:	89 85 60 ff ff ff    	mov    %eax,-0xa0(%ebp)
407853:	83 f0 01             	xor    $0x1,%eax
407856:	89 85 1c ff ff ff    	mov    %eax,-0xe4(%ebp)
40785c:	0f be c3             	movsbl %bl,%eax
40785f:	83 e0 01             	and    $0x1,%eax
407862:	89 4d d8             	mov    %ecx,-0x28(%ebp)
407865:	89 8d 7c ff ff ff    	mov    %ecx,-0x84(%ebp)
40786b:	89 4d a0             	mov    %ecx,-0x60(%ebp)
40786e:	89 4d 90             	mov    %ecx,-0x70(%ebp)
407871:	c7 45 98 fe ff ff ff 	movl   $0xfffffffe,-0x68(%ebp)
407878:	c7 45 8c fe ff ff ff 	movl   $0xfffffffe,-0x74(%ebp)
40787f:	c7 45 a8 fe ff ff ff 	movl   $0xfffffffe,-0x58(%ebp)
407886:	c7 45 d0 fe ff ff ff 	movl   $0xfffffffe,-0x30(%ebp)
40788d:	89 85 70 ff ff ff    	mov    %eax,-0x90(%ebp)
407893:	0f b7 37             	movzwl (%edi),%esi
407896:	dd 05 f8 69 4b 00    	fldl   0x4b69f8
40789c:	85 f6                	test   %esi,%esi
40789e:	0f 84 30 04 00 00    	je     0x407cd4
4078a4:	8b 45 28             	mov    0x28(%ebp),%eax
4078a7:	8b 48 3c             	mov    0x3c(%eax),%ecx
4078aa:	8b 40 10             	mov    0x10(%eax),%eax
4078ad:	8d 04 48             	lea    (%eax,%ecx,2),%eax
4078b0:	05 38 ff ff ff       	add    $0xffffff38,%eax
4078b5:	83 7d 2c 00          	cmpl   $0x0,0x2c(%ebp)
4078b9:	0f 84 7a 01 00 00    	je     0x407a39
4078bf:	3b d0                	cmp    %eax,%edx
4078c1:	0f 87 4e aa 07 00    	ja     0x482315
4078c7:	8b 85 50 ff ff ff    	mov    -0xb0(%ebp),%eax
4078cd:	3b d0                	cmp    %eax,%edx
4078cf:	0f 82 9b 0e 00 00    	jb     0x408770
4078d5:	8b ca                	mov    %edx,%ecx
4078d7:	2b c8                	sub    %eax,%ecx
4078d9:	8b 45 2c             	mov    0x2c(%ebp),%eax
4078dc:	d1 f9                	sar    $1,%ecx
4078de:	8b 10                	mov    (%eax),%edx
4078e0:	b8 eb ff ff 7f       	mov    $0x7fffffeb,%eax
4078e5:	2b c2                	sub    %edx,%eax
4078e7:	3b c1                	cmp    %ecx,%eax
4078e9:	0f 8c 23 a7 07 00    	jl     0x482012
4078ef:	8d 04 0a             	lea    (%edx,%ecx,1),%eax
4078f2:	8b 4d 2c             	mov    0x2c(%ebp),%ecx
4078f5:	89 01                	mov    %eax,(%ecx)
4078f7:	8b 4d e0             	mov    -0x20(%ebp),%ecx
4078fa:	85 c9                	test   %ecx,%ecx
4078fc:	0f 84 9d 02 00 00    	je     0x407b9f
407902:	3b 8d 48 ff ff ff    	cmp    -0xb8(%ebp),%ecx
407908:	0f 86 9f 02 00 00    	jbe    0x407bad
40790e:	8b 45 f8             	mov    -0x8(%ebp),%eax
407911:	dd d8                	fstp   %st(0)
407913:	8b bd 48 ff ff ff    	mov    -0xb8(%ebp),%edi
407919:	2b c1                	sub    %ecx,%eax
40791b:	83 e0 fe             	and    $0xfffffffe,%eax
40791e:	50                   	push   %eax
40791f:	51                   	push   %ecx
407920:	57                   	push   %edi
407921:	e8 5a e6 01 00       	call   0x425f80
407926:	dd 05 f8 69 4b 00    	fldl   0x4b69f8
40792c:	8b 4d e0             	mov    -0x20(%ebp),%ecx
40792f:	8b 55 f8             	mov    -0x8(%ebp),%edx
407932:	2b cf                	sub    %edi,%ecx
407934:	d1 f9                	sar    $1,%ecx
407936:	83 c4 0c             	add    $0xc,%esp
407939:	f7 d9                	neg    %ecx
40793b:	89 7d e0             	mov    %edi,-0x20(%ebp)
40793e:	8b 7d fc             	mov    -0x4(%ebp),%edi
407941:	8d 14 4a             	lea    (%edx,%ecx,2),%edx
407944:	89 55 f8             	mov    %edx,-0x8(%ebp)
407947:	89 95 50 ff ff ff    	mov    %edx,-0xb0(%ebp)
40794d:	83 7d cc 00          	cmpl   $0x0,-0x34(%ebp)
407951:	0f 85 48 7c 07 00    	jne    0x47f59f
407957:	83 e3 08             	and    $0x8,%ebx
40795a:	0f 85 c6 7c 07 00    	jne    0x47f626
407960:	83 fe 2a             	cmp    $0x2a,%esi
407963:	0f 84 f4 05 00 00    	je     0x407f5d
407969:	83 fe 3f             	cmp    $0x3f,%esi
40796c:	0f 84 eb 05 00 00    	je     0x407f5d
407972:	83 fe 2b             	cmp    $0x2b,%esi
407975:	0f 84 e2 05 00 00    	je     0x407f5d
40797b:	83 fe 7b             	cmp    $0x7b,%esi
40797e:	0f 84 9b 7d 07 00    	je     0x47f71f
407984:	33 c9                	xor    %ecx,%ecx
407986:	39 8d 78 ff ff ff    	cmp    %ecx,-0x88(%ebp)
40798c:	0f 85 a5 7d 07 00    	jne    0x47f737
407992:	8b 45 f4             	mov    -0xc(%ebp),%eax
407995:	a9 00 40 00 00       	test   $0x4000,%eax
40799a:	0f 85 dd 7d 07 00    	jne    0x47f77d
4079a0:	83 fe 5f             	cmp    $0x5f,%esi
4079a3:	0f 83 a1 00 00 00    	jae    0x407a4a
4079a9:	83 fe 2f             	cmp    $0x2f,%esi
4079ac:	0f 83 df 01 00 00    	jae    0x407b91
4079b2:	83 fe 28             	cmp    $0x28,%esi
4079b5:	0f 84 fa 01 00 00    	je     0x407bb5
4079bb:	85 f6                	test   %esi,%esi
4079bd:	74 1a                	je     0x4079d9
4079bf:	8d 46 dc             	lea    -0x24(%esi),%eax
4079c2:	83 f8 58             	cmp    $0x58,%eax
4079c5:	0f 87 88 00 00 00    	ja     0x407a53
4079cb:	0f b6 80 24 88 40 00 	movzbl 0x408824(%eax),%eax
4079d2:	ff 24 85 f4 87 40 00 	jmp    *0x4087f4(,%eax,4)
4079d9:	8b 45 10             	mov    0x10(%ebp),%eax
4079dc:	dd d8                	fstp   %st(0)
4079de:	8b 4d 90             	mov    -0x70(%ebp),%ecx
4079e1:	8b 5d 2c             	mov    0x2c(%ebp),%ebx
4079e4:	89 08                	mov    %ecx,(%eax)
4079e6:	8b 45 14             	mov    0x14(%ebp),%eax
4079e9:	8b 4d d0             	mov    -0x30(%ebp),%ecx
4079ec:	89 08                	mov    %ecx,(%eax)
4079ee:	8b 45 18             	mov    0x18(%ebp),%eax
4079f1:	8b 4d a0             	mov    -0x60(%ebp),%ecx
4079f4:	89 08                	mov    %ecx,(%eax)
4079f6:	8b 45 1c             	mov    0x1c(%ebp),%eax
4079f9:	8b 4d a8             	mov    -0x58(%ebp),%ecx
4079fc:	89 08                	mov    %ecx,(%eax)
4079fe:	8b 85 ec fe ff ff    	mov    -0x114(%ebp),%eax
407a04:	89 10                	mov    %edx,(%eax)
407a06:	8b 45 08             	mov    0x8(%ebp),%eax
407a09:	89 38                	mov    %edi,(%eax)
407a0b:	85 db                	test   %ebx,%ebx
407a0d:	74 1e                	je     0x407a2d
407a0f:	2b 95 50 ff ff ff    	sub    -0xb0(%ebp),%edx
407a15:	8b 03                	mov    (%ebx),%eax
407a17:	b9 eb ff ff 7f       	mov    $0x7fffffeb,%ecx
407a1c:	d1 fa                	sar    $1,%edx
407a1e:	2b c8                	sub    %eax,%ecx
407a20:	3b ca                	cmp    %edx,%ecx
407a22:	0f 8c b3 a6 07 00    	jl     0x4820db
407a28:	8d 0c 10             	lea    (%eax,%edx,1),%ecx
407a2b:	89 0b                	mov    %ecx,(%ebx)
407a2d:	b8 01 00 00 00       	mov    $0x1,%eax
407a32:	5f                   	pop    %edi
407a33:	5e                   	pop    %esi
407a34:	5b                   	pop    %ebx
407a35:	8b e5                	mov    %ebp,%esp
407a37:	5d                   	pop    %ebp
407a38:	c3                   	ret
407a39:	8b 4d 28             	mov    0x28(%ebp),%ecx
407a3c:	39 41 20             	cmp    %eax,0x20(%ecx)
407a3f:	0f 86 08 ff ff ff    	jbe    0x40794d
407a45:	e9 cb a8 07 00       	jmp    0x482315
407a4a:	83 fe 7b             	cmp    $0x7b,%esi
407a4d:	0f 83 56 ff ff ff    	jae    0x4079a9
407a53:	dd d8                	fstp   %st(0)
407a55:	83 7d dc 00          	cmpl   $0x0,-0x24(%ebp)
407a59:	66 8b de             	mov    %si,%bx
407a5c:	c7 45 f0 01 00 00 00 	movl   $0x1,-0x10(%ebp)
407a63:	66 89 9d f8 fe ff ff 	mov    %bx,-0x108(%ebp)
407a6a:	0f 84 54 0d 00 00    	je     0x4087c4
407a70:	81 e6 00 fc 00 00    	and    $0xfc00,%esi
407a76:	81 fe 00 d8 00 00    	cmp    $0xd800,%esi
407a7c:	0f 84 d9 93 07 00    	je     0x480e5b
407a82:	8b 75 f0             	mov    -0x10(%ebp),%esi
407a85:	83 7d dc 00          	cmpl   $0x0,-0x24(%ebp)
407a89:	8b 45 f4             	mov    -0xc(%ebp),%eax
407a8c:	89 55 e0             	mov    %edx,-0x20(%ebp)
407a8f:	74 5f                	je     0x407af0
407a91:	a8 01                	test   $0x1,%al
407a93:	0f 84 76 02 00 00    	je     0x407d0f
407a99:	0f b7 cb             	movzwl %bx,%ecx
407a9c:	8b c1                	mov    %ecx,%eax
407a9e:	25 00 fc 00 00       	and    $0xfc00,%eax
407aa3:	3d 00 d8 00 00       	cmp    $0xd800,%eax
407aa8:	0f 84 e4 93 07 00    	je     0x480e92
407aae:	8b c1                	mov    %ecx,%eax
407ab0:	99                   	cltd
407ab1:	83 e2 7f             	and    $0x7f,%edx
407ab4:	03 c2                	add    %edx,%eax
407ab6:	c1 f8 07             	sar    $0x7,%eax
407ab9:	0f b6 80 a0 c4 4a 00 	movzbl 0x4ac4a0(%eax),%eax
407ac0:	c1 e0 07             	shl    $0x7,%eax
407ac3:	81 e1 7f 00 00 80    	and    $0x8000007f,%ecx
407ac9:	79 05                	jns    0x407ad0
407acb:	49                   	dec    %ecx
407acc:	83 c9 80             	or     $0xffffff80,%ecx
407acf:	41                   	inc    %ecx
407ad0:	8b 55 f8             	mov    -0x8(%ebp),%edx
407ad3:	03 c1                	add    %ecx,%eax
407ad5:	0f b7 04 45 08 e6 49 	movzwl 0x49e608(,%eax,2),%eax
407adc:	00
407add:	0f b6 04 c5 0b b1 4a 	movzbl 0x4ab10b(,%eax,8),%eax
407ae4:	00
407ae5:	85 c0                	test   %eax,%eax
407ae7:	0f 85 f4 01 00 00    	jne    0x407ce1
407aed:	8b 45 f4             	mov    -0xc(%ebp),%eax
407af0:	a8 01                	test   $0x1,%al
407af2:	0f 84 17 02 00 00    	je     0x407d0f
407af8:	b8 1e 00 00 00       	mov    $0x1e,%eax
407afd:	66 89 02             	mov    %ax,(%edx)
407b00:	83 c2 02             	add    $0x2,%edx
407b03:	89 55 f8             	mov    %edx,-0x8(%ebp)
407b06:	85 f6                	test   %esi,%esi
407b08:	74 1c                	je     0x407b26
407b0a:	8b ce                	mov    %esi,%ecx
407b0c:	d1 e9                	shr    $1,%ecx
407b0e:	8b fa                	mov    %edx,%edi
407b10:	8d b5 f8 fe ff ff    	lea    -0x108(%ebp),%esi
407b16:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)
407b18:	13 c9                	adc    %ecx,%ecx
407b1a:	66 f3 a5             	rep movsw %ds:(%esi),%es:(%edi)
407b1d:	8b 75 f0             	mov    -0x10(%ebp),%esi
407b20:	8d 14 72             	lea    (%edx,%esi,2),%edx
407b23:	89 55 f8             	mov    %edx,-0x8(%ebp)
407b26:	66 83 fb 0d          	cmp    $0xd,%bx
407b2a:	0f 84 99 93 07 00    	je     0x480ec9
407b30:	66 83 fb 0a          	cmp    $0xa,%bx
407b34:	0f 84 8f 93 07 00    	je     0x480ec9
407b3a:	8b 4d 28             	mov    0x28(%ebp),%ecx
407b3d:	8b 45 d0             	mov    -0x30(%ebp),%eax
407b40:	83 f8 fe             	cmp    $0xfffffffe,%eax
407b43:	0f 84 1e 04 00 00    	je     0x407f67
407b49:	8b 5d 90             	mov    -0x70(%ebp),%ebx
407b4c:	89 45 8c             	mov    %eax,-0x74(%ebp)
407b4f:	8b 45 a0             	mov    -0x60(%ebp),%eax
407b52:	89 45 d8             	mov    %eax,-0x28(%ebp)
407b55:	8b 45 a8             	mov    -0x58(%ebp),%eax
407b58:	89 9d 7c ff ff ff    	mov    %ebx,-0x84(%ebp)