417782:	8b 75 f0             	mov    -0x10(%ebp),%esi
417785:	d3 e6                	shl    %cl,%esi
417787:	ff 45 08             	incl   0x8(%ebp)
41778a:	83 7d 08 03          	cmpl   $0x3,0x8(%ebp)
41778e:	89 75 f4             	mov    %esi,-0xc(%ebp)
417791:	7c d3                	jl     0x417766
417793:	8b f0                	mov    %eax,%esi
417795:	6a 02                	push   $0x2
417797:	c1 e6 02             	shl    $0x2,%esi
41779a:	8d 4d e8             	lea    -0x18(%ebp),%ecx
41779d:	5a                   	pop    %edx
41779e:	2b ce                	sub    %esi,%ecx
4177a0:	3b d0                	cmp    %eax,%edx
4177a2:	7c 08                	jl     0x4177ac
4177a4:	8b 31                	mov    (%ecx),%esi
4177a6:	89 74 95 e0          	mov    %esi,-0x20(%ebp,%edx,4)
4177aa:	eb 05                	jmp    0x4177b1
4177ac:	83 64 95 e0 00       	andl   $0x0,-0x20(%ebp,%edx,4)
4177b1:	4a                   	dec    %edx
4177b2:	83 e9 04             	sub    $0x4,%ecx
4177b5:	85 d2                	test   %edx,%edx
4177b7:	7d e7                	jge    0x4177a0
4177b9:	6a 02                	push   $0x2
4177bb:	33 db                	xor    %ebx,%ebx
4177bd:	58                   	pop    %eax
4177be:	e9 5a 01 00 00       	jmp    0x41791d
4177c3:	3b 1d 68 c2 42 00    	cmp    0x42c268,%ebx
4177c9:	8b 0d 74 c2 42 00    	mov    0x42c274,%ecx
4177cf:	0f 8c ad 00 00 00    	jl     0x417882
4177d5:	33 c0                	xor    %eax,%eax
4177d7:	8d 7d e0             	lea    -0x20(%ebp),%edi
4177da:	ab                   	stos   %eax,%es:(%edi)
4177db:	ab                   	stos   %eax,%es:(%edi)
4177dc:	ab                   	stos   %eax,%es:(%edi)
4177dd:	81 4d e0 00 00 00 80 	orl    $0x80000000,-0x20(%ebp)
4177e4:	8b c1                	mov    %ecx,%eax
4177e6:	99                   	cltd
4177e7:	83 e2 1f             	and    $0x1f,%edx
4177ea:	03 c2                	add    %edx,%eax
4177ec:	8b d1                	mov    %ecx,%edx
4177ee:	c1 f8 05             	sar    $0x5,%eax
4177f1:	81 e2 1f 00 00 80    	and    $0x8000001f,%edx
4177f7:	79 05                	jns    0x4177fe
4177f9:	4a                   	dec    %edx
4177fa:	83 ca e0             	or     $0xffffffe0,%edx
4177fd:	42                   	inc    %edx
4177fe:	83 65 f4 00          	andl   $0x0,-0xc(%ebp)
417802:	83 65 08 00          	andl   $0x0,0x8(%ebp)
417806:	83 cf ff             	or     $0xffffffff,%edi
417809:	8b ca                	mov    %edx,%ecx
41780b:	d3 e7                	shl    %cl,%edi
41780d:	c7 45 fc 20 00 00 00 	movl   $0x20,-0x4(%ebp)
417814:	29 55 fc             	sub    %edx,-0x4(%ebp)
417817:	f7 d7                	not    %edi
417819:	8b 5d 08             	mov    0x8(%ebp),%ebx
41781c:	8d 5c 9d e0          	lea    -0x20(%ebp,%ebx,4),%ebx
417820:	8b 33                	mov    (%ebx),%esi
417822:	8b ce                	mov    %esi,%ecx
417824:	23 cf                	and    %edi,%ecx
417826:	89 4d f0             	mov    %ecx,-0x10(%ebp)
417829:	8b ca                	mov    %edx,%ecx
41782b:	d3 ee                	shr    %cl,%esi
41782d:	8b 4d fc             	mov    -0x4(%ebp),%ecx
417830:	0b 75 f4             	or     -0xc(%ebp),%esi
417833:	89 33                	mov    %esi,(%ebx)
417835:	8b 75 f0             	mov    -0x10(%ebp),%esi
417838:	d3 e6                	shl    %cl,%esi
41783a:	ff 45 08             	incl   0x8(%ebp)
41783d:	83 7d 08 03          	cmpl   $0x3,0x8(%ebp)
417841:	89 75 f4             	mov    %esi,-0xc(%ebp)
417844:	7c d3                	jl     0x417819
417846:	8b f0                	mov    %eax,%esi
417848:	6a 02                	push   $0x2
41784a:	c1 e6 02             	shl    $0x2,%esi
41784d:	8d 4d e8             	lea    -0x18(%ebp),%ecx
417850:	5a                   	pop    %edx
417851:	2b ce                	sub    %esi,%ecx
417853:	3b d0                	cmp    %eax,%edx
417855:	7c 08                	jl     0x41785f
417857:	8b 31                	mov    (%ecx),%esi
417859:	89 74 95 e0          	mov    %esi,-0x20(%ebp,%edx,4)
41785d:	eb 05                	jmp    0x417864
41785f:	83 64 95 e0 00       	andl   $0x0,-0x20(%ebp,%edx,4)
417864:	4a                   	dec    %edx
417865:	83 e9 04             	sub    $0x4,%ecx
417868:	85 d2                	test   %edx,%edx
41786a:	7d e7                	jge    0x417853
41786c:	a1 68 c2 42 00       	mov    0x42c268,%eax
417871:	8b 0d 7c c2 42 00    	mov    0x42c27c,%ecx
417877:	8d 1c 01             	lea    (%ecx,%eax,1),%ebx
41787a:	33 c0                	xor    %eax,%eax
41787c:	40                   	inc    %eax
41787d:	e9 9b 00 00 00       	jmp    0x41791d
417882:	a1 7c c2 42 00       	mov    0x42c27c,%eax
417887:	81 65 e0 ff ff ff 7f 	andl   $0x7fffffff,-0x20(%ebp)
41788e:	03 d8                	add    %eax,%ebx
417890:	8b c1                	mov    %ecx,%eax
417892:	99                   	cltd
417893:	83 e2 1f             	and    $0x1f,%edx
417896:	03 c2                	add    %edx,%eax
417898:	8b d1                	mov    %ecx,%edx
41789a:	c1 f8 05             	sar    $0x5,%eax
41789d:	81 e2 1f 00 00 80    	and    $0x8000001f,%edx
4178a3:	79 05                	jns    0x4178aa
4178a5:	4a                   	dec    %edx
4178a6:	83 ca e0             	or     $0xffffffe0,%edx
4178a9:	42                   	inc    %edx
4178aa:	83 65 f4 00          	andl   $0x0,-0xc(%ebp)
4178ae:	83 65 08 00          	andl   $0x0,0x8(%ebp)
4178b2:	83 ce ff             	or     $0xffffffff,%esi
4178b5:	8b ca                	mov    %edx,%ecx
4178b7:	d3 e6                	shl    %cl,%esi
4178b9:	c7 45 fc 20 00 00 00 	movl   $0x20,-0x4(%ebp)
4178c0:	29 55 fc             	sub    %edx,-0x4(%ebp)
4178c3:	f7 d6                	not    %esi
4178c5:	8b 4d 08             	mov    0x8(%ebp),%ecx
4178c8:	8b 7c 8d e0          	mov    -0x20(%ebp,%ecx,4),%edi
4178cc:	8b cf                	mov    %edi,%ecx
4178ce:	23 ce                	and    %esi,%ecx
4178d0:	89 4d f0             	mov    %ecx,-0x10(%ebp)
4178d3:	8b ca                	mov    %edx,%ecx
4178d5:	d3 ef                	shr    %cl,%edi
4178d7:	8b 4d 08             	mov    0x8(%ebp),%ecx
4178da:	0b 7d f4             	or     -0xc(%ebp),%edi
4178dd:	89 7c 8d e0          	mov    %edi,-0x20(%ebp,%ecx,4)
4178e1:	8b 7d f0             	mov    -0x10(%ebp),%edi
4178e4:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4178e7:	d3 e7                	shl    %cl,%edi
4178e9:	ff 45 08             	incl   0x8(%ebp)
4178ec:	83 7d 08 03          	cmpl   $0x3,0x8(%ebp)
4178f0:	89 7d f4             	mov    %edi,-0xc(%ebp)
4178f3:	7c d0                	jl     0x4178c5
4178f5:	8b f0                	mov    %eax,%esi
4178f7:	6a 02                	push   $0x2
4178f9:	c1 e6 02             	shl    $0x2,%esi
4178fc:	8d 4d e8             	lea    -0x18(%ebp),%ecx
4178ff:	5a                   	pop    %edx
417900:	2b ce                	sub    %esi,%ecx
417902:	3b d0                	cmp    %eax,%edx
417904:	7c 08                	jl     0x41790e
417906:	8b 31                	mov    (%ecx),%esi
417908:	89 74 95 e0          	mov    %esi,-0x20(%ebp,%edx,4)
41790c:	eb 05                	jmp    0x417913
41790e:	83 64 95 e0 00       	andl   $0x0,-0x20(%ebp,%edx,4)
417913:	4a                   	dec    %edx
417914:	83 e9 04             	sub    $0x4,%ecx
417917:	85 d2                	test   %edx,%edx
417919:	7d e7                	jge    0x417902
41791b:	33 c0                	xor    %eax,%eax
41791d:	5e                   	pop    %esi
41791e:	6a 1f                	push   $0x1f
417920:	59                   	pop    %ecx
417921:	2b 0d 74 c2 42 00    	sub    0x42c274,%ecx
417927:	d3 e3                	shl    %cl,%ebx
417929:	8b 4d ec             	mov    -0x14(%ebp),%ecx
41792c:	f7 d9                	neg    %ecx
41792e:	1b c9                	sbb    %ecx,%ecx
417930:	81 e1 00 00 00 80    	and    $0x80000000,%ecx
417936:	0b d9                	or     %ecx,%ebx
417938:	8b 0d 78 c2 42 00    	mov    0x42c278,%ecx
41793e:	0b 5d e0             	or     -0x20(%ebp),%ebx
417941:	83 f9 40             	cmp    $0x40,%ecx
417944:	75 0d                	jne    0x417953
417946:	8b 4d 0c             	mov    0xc(%ebp),%ecx
417949:	8b 55 e4             	mov    -0x1c(%ebp),%edx
41794c:	89 59 04             	mov    %ebx,0x4(%ecx)
41794f:	89 11                	mov    %edx,(%ecx)
417951:	eb 0a                	jmp    0x41795d
417953:	83 f9 20             	cmp    $0x20,%ecx
417956:	75 05                	jne    0x41795d
417958:	8b 4d 0c             	mov    0xc(%ebp),%ecx
41795b:	89 19                	mov    %ebx,(%ecx)
41795d:	5f                   	pop    %edi
41795e:	5b                   	pop    %ebx
41795f:	c9                   	leave
417960:	c3                   	ret
417961:	8b ff                	mov    %edi,%edi
417963:	55                   	push   %ebp
417964:	8b ec                	mov    %esp,%ebp
417966:	83 ec 2c             	sub    $0x2c,%esp
417969:	8b 45 08             	mov    0x8(%ebp),%eax
41796c:	0f b7 48 0a          	movzwl 0xa(%eax),%ecx
417970:	53                   	push   %ebx
417971:	8b d9                	mov    %ecx,%ebx
417973:	81 e1 00 80 00 00    	and    $0x8000,%ecx
417979:	89 4d ec             	mov    %ecx,-0x14(%ebp)
41797c:	8b 48 06             	mov    0x6(%eax),%ecx
41797f:	89 4d e0             	mov    %ecx,-0x20(%ebp)
417982:	8b 48 02             	mov    0x2(%eax),%ecx
417985:	0f b7 00             	movzwl (%eax),%eax
417988:	81 e3 ff 7f 00 00    	and    $0x7fff,%ebx
41798e:	81 eb ff 3f 00 00    	sub    $0x3fff,%ebx
417994:	c1 e0 10             	shl    $0x10,%eax
417997:	57                   	push   %edi
417998:	89 4d e4             	mov    %ecx,-0x1c(%ebp)
41799b:	89 45 e8             	mov    %eax,-0x18(%ebp)
41799e:	81 fb 01 c0 ff ff    	cmp    $0xffffc001,%ebx
4179a4:	75 27                	jne    0x4179cd
4179a6:	33 db                	xor    %ebx,%ebx
4179a8:	33 c0                	xor    %eax,%eax
4179aa:	39 5c 85 e0          	cmp    %ebx,-0x20(%ebp,%eax,4)
4179ae:	75 0d                	jne    0x4179bd
4179b0:	40                   	inc    %eax
4179b1:	83 f8 03             	cmp    $0x3,%eax
4179b4:	7c f4                	jl     0x4179aa
4179b6:	33 c0                	xor    %eax,%eax
4179b8:	e9 a5 04 00 00       	jmp    0x417e62
4179bd:	33 c0                	xor    %eax,%eax
4179bf:	8d 7d e0             	lea    -0x20(%ebp),%edi
4179c2:	ab                   	stos   %eax,%es:(%edi)
4179c3:	ab                   	stos   %eax,%es:(%edi)
4179c4:	6a 02                	push   $0x2
4179c6:	ab                   	stos   %eax,%es:(%edi)
4179c7:	58                   	pop    %eax
4179c8:	e9 95 04 00 00       	jmp    0x417e62
4179cd:	83 65 08 00          	andl   $0x0,0x8(%ebp)
4179d1:	56                   	push   %esi
4179d2:	8d 75 e0             	lea    -0x20(%ebp),%esi
4179d5:	8d 7d d4             	lea    -0x2c(%ebp),%edi
4179d8:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4179d9:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4179da:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4179db:	8b 35 88 c2 42 00    	mov    0x42c288,%esi
4179e1:	4e                   	dec    %esi
4179e2:	8d 4e 01             	lea    0x1(%esi),%ecx
4179e5:	8b c1                	mov    %ecx,%eax
4179e7:	99                   	cltd
4179e8:	83 e2 1f             	and    $0x1f,%edx
4179eb:	03 c2                	add    %edx,%eax
4179ed:	c1 f8 05             	sar    $0x5,%eax
4179f0:	8b d1                	mov    %ecx,%edx
4179f2:	81 e2 1f 00 00 80    	and    $0x8000001f,%edx
4179f8:	89 5d f0             	mov    %ebx,-0x10(%ebp)
4179fb:	89 45 f4             	mov    %eax,-0xc(%ebp)
4179fe:	79 05                	jns    0x417a05
417a00:	4a                   	dec    %edx
417a01:	83 ca e0             	or     $0xffffffe0,%edx
417a04:	42                   	inc    %edx
417a05:	8d 7c 85 e0          	lea    -0x20(%ebp,%eax,4),%edi
417a09:	6a 1f                	push   $0x1f
417a0b:	33 c0                	xor    %eax,%eax
417a0d:	59                   	pop    %ecx
417a0e:	2b ca                	sub    %edx,%ecx
417a10:	40                   	inc    %eax
417a11:	d3 e0                	shl    %cl,%eax
417a13:	89 4d f8             	mov    %ecx,-0x8(%ebp)
417a16:	85 07                	test   %eax,(%edi)
417a18:	0f 84 8d 00 00 00    	je     0x417aab
417a1e:	8b 45 f4             	mov    -0xc(%ebp),%eax
417a21:	83 ca ff             	or     $0xffffffff,%edx
417a24:	d3 e2                	shl    %cl,%edx
417a26:	f7 d2                	not    %edx
417a28:	85 54 85 e0          	test   %edx,-0x20(%ebp,%eax,4)
417a2c:	eb 05                	jmp    0x417a33
417a2e:	83 7c 85 e0 00       	cmpl   $0x0,-0x20(%ebp,%eax,4)
417a33:	75 08                	jne    0x417a3d
417a35:	40                   	inc    %eax
417a36:	83 f8 03             	cmp    $0x3,%eax
417a39:	7c f3                	jl     0x417a2e
417a3b:	eb 6e                	jmp    0x417aab
417a3d:	8b c6                	mov    %esi,%eax
417a3f:	99                   	cltd
417a40:	6a 1f                	push   $0x1f
417a42:	59                   	pop    %ecx
417a43:	23 d1                	and    %ecx,%edx
417a45:	03 c2                	add    %edx,%eax
417a47:	c1 f8 05             	sar    $0x5,%eax
417a4a:	81 e6 1f 00 00 80    	and    $0x8000001f,%esi
417a50:	79 05                	jns    0x417a57
417a52:	4e                   	dec    %esi
417a53:	83 ce e0             	or     $0xffffffe0,%esi
417a56:	46                   	inc    %esi
417a57:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
417a5b:	2b ce                	sub    %esi,%ecx
417a5d:	33 d2                	xor    %edx,%edx
417a5f:	42                   	inc    %edx
417a60:	d3 e2                	shl    %cl,%edx
417a62:	8d 4c 85 e0          	lea    -0x20(%ebp,%eax,4),%ecx
417a66:	8b 31                	mov    (%ecx),%esi
417a68:	03 f2                	add    %edx,%esi
417a6a:	89 75 08             	mov    %esi,0x8(%ebp)
417a6d:	8b 31                	mov    (%ecx),%esi
417a6f:	39 75 08             	cmp    %esi,0x8(%ebp)
417a72:	72 22                	jb     0x417a96
417a74:	39 55 08             	cmp    %edx,0x8(%ebp)
417a77:	eb 1b                	jmp    0x417a94
417a79:	85 c9                	test   %ecx,%ecx
417a7b:	74 2b                	je     0x417aa8
417a7d:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
417a81:	8d 4c 85 e0          	lea    -0x20(%ebp,%eax,4),%ecx
417a85:	8b 11                	mov    (%ecx),%edx
417a87:	8d 72 01             	lea    0x1(%edx),%esi
417a8a:	89 75 08             	mov    %esi,0x8(%ebp)
417a8d:	3b f2                	cmp    %edx,%esi
417a8f:	72 05                	jb     0x417a96
417a91:	83 fe 01             	cmp    $0x1,%esi
417a94:	73 07                	jae    0x417a9d
417a96:	c7 45 fc 01 00 00 00 	movl   $0x1,-0x4(%ebp)
417a9d:	48                   	dec    %eax
417a9e:	8b 55 08             	mov    0x8(%ebp),%edx
417aa1:	89 11                	mov    %edx,(%ecx)
417aa3:	8b 4d fc             	mov    -0x4(%ebp),%ecx
417aa6:	79 d1                	jns    0x417a79
417aa8:	89 4d 08             	mov    %ecx,0x8(%ebp)
417aab:	8b 4d f8             	mov    -0x8(%ebp),%ecx
417aae:	83 c8 ff             	or     $0xffffffff,%eax
417ab1:	d3 e0                	shl    %cl,%eax
417ab3:	21 07                	and    %eax,(%edi)
417ab5:	8b 45 f4             	mov    -0xc(%ebp),%eax
417ab8:	40                   	inc    %eax
417ab9:	83 f8 03             	cmp    $0x3,%eax
417abc:	7d 0d                	jge    0x417acb
417abe:	6a 03                	push   $0x3
417ac0:	59                   	pop    %ecx
417ac1:	8d 7c 85 e0          	lea    -0x20(%ebp,%eax,4),%edi
417ac5:	2b c8                	sub    %eax,%ecx
417ac7:	33 c0                	xor    %eax,%eax
417ac9:	f3 ab                	rep stos %eax,%es:(%edi)
417acb:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
417acf:	74 01                	je     0x417ad2
417ad1:	43                   	inc    %ebx
417ad2:	a1 84 c2 42 00       	mov    0x42c284,%eax
417ad7:	8b c8                	mov    %eax,%ecx
417ad9:	2b 0d 88 c2 42 00    	sub    0x42c288,%ecx
417adf:	3b d9                	cmp    %ecx,%ebx
417ae1:	7d 0d                	jge    0x417af0
417ae3:	33 c0                	xor    %eax,%eax
417ae5:	8d 7d e0             	lea    -0x20(%ebp),%edi
417ae8:	ab                   	stos   %eax,%es:(%edi)
417ae9:	ab                   	stos   %eax,%es:(%edi)
417aea:	ab                   	stos   %eax,%es:(%edi)
417aeb:	e9 0d 02 00 00       	jmp    0x417cfd
417af0:	3b d8                	cmp    %eax,%ebx
417af2:	0f 8f 0f 02 00 00    	jg     0x417d07
417af8:	2b 45 f0             	sub    -0x10(%ebp),%eax
417afb:	8d 75 d4             	lea    -0x2c(%ebp),%esi
417afe:	8b c8                	mov    %eax,%ecx
417b00:	8d 7d e0             	lea    -0x20(%ebp),%edi
417b03:	a5                   	movsl  %ds:(%esi),%es:(%edi)
417b04:	99                   	cltd
417b05:	83 e2 1f             	and    $0x1f,%edx
417b08:	03 c2                	add    %edx,%eax
417b0a:	a5                   	movsl  %ds:(%esi),%es:(%edi)
417b0b:	8b d1                	mov    %ecx,%edx
417b0d:	c1 f8 05             	sar    $0x5,%eax
417b10:	81 e2 1f 00 00 80    	and    $0x8000001f,%edx
417b16:	a5                   	movsl  %ds:(%esi),%es:(%edi)
417b17:	79 05                	jns    0x417b1e
417b19:	4a                   	dec    %edx
417b1a:	83 ca e0             	or     $0xffffffe0,%edx