410674:	0b c1                	or     %ecx,%eax
410676:	59                   	pop    %ecx
410677:	e9 54 48 00 00       	jmp    0x414ed0
41067c:	55                   	push   %ebp
41067d:	8b ec                	mov    %esp,%ebp
41067f:	83 ec 18             	sub    $0x18,%esp
410682:	53                   	push   %ebx
410683:	ff 75 10             	push   0x10(%ebp)
410686:	8d 4d e8             	lea    -0x18(%ebp),%ecx
410689:	e8 36 83 ff ff       	call   0x4089c4
41068e:	8b 5d 08             	mov    0x8(%ebp),%ebx
410691:	8d 43 01             	lea    0x1(%ebx),%eax
410694:	3d 00 01 00 00       	cmp    $0x100,%eax
410699:	77 0f                	ja     0x4106aa
41069b:	8b 45 e8             	mov    -0x18(%ebp),%eax
41069e:	8b 80 c8 00 00 00    	mov    0xc8(%eax),%eax
4106a4:	0f b7 04 58          	movzwl (%eax,%ebx,2),%eax
4106a8:	eb 75                	jmp    0x41071f
4106aa:	89 5d 08             	mov    %ebx,0x8(%ebp)
4106ad:	c1 7d 08 08          	sarl   $0x8,0x8(%ebp)
4106b1:	8d 45 e8             	lea    -0x18(%ebp),%eax
4106b4:	50                   	push   %eax
4106b5:	8b 45 08             	mov    0x8(%ebp),%eax
4106b8:	25 ff 00 00 00       	and    $0xff,%eax
4106bd:	50                   	push   %eax
4106be:	e8 1f e2 ff ff       	call   0x40e8e2
4106c3:	85 c0                	test   %eax,%eax
4106c5:	59                   	pop    %ecx
4106c6:	59                   	pop    %ecx
4106c7:	74 12                	je     0x4106db
4106c9:	8a 45 08             	mov    0x8(%ebp),%al
4106cc:	6a 02                	push   $0x2
4106ce:	88 45 f8             	mov    %al,-0x8(%ebp)
4106d1:	88 5d f9             	mov    %bl,-0x7(%ebp)
4106d4:	c6 45 fa 00          	movb   $0x0,-0x6(%ebp)
4106d8:	59                   	pop    %ecx
4106d9:	eb 0a                	jmp    0x4106e5
4106db:	33 c9                	xor    %ecx,%ecx
4106dd:	88 5d f8             	mov    %bl,-0x8(%ebp)
4106e0:	c6 45 f9 00          	movb   $0x0,-0x7(%ebp)
4106e4:	41                   	inc    %ecx
4106e5:	8b 45 e8             	mov    -0x18(%ebp),%eax
4106e8:	6a 01                	push   $0x1
4106ea:	ff 70 14             	push   0x14(%eax)
4106ed:	ff 70 04             	push   0x4(%eax)
4106f0:	8d 45 fc             	lea    -0x4(%ebp),%eax
4106f3:	50                   	push   %eax
4106f4:	51                   	push   %ecx
4106f5:	8d 45 f8             	lea    -0x8(%ebp),%eax
4106f8:	50                   	push   %eax
4106f9:	8d 45 e8             	lea    -0x18(%ebp),%eax
4106fc:	6a 01                	push   $0x1
4106fe:	50                   	push   %eax
4106ff:	e8 e6 01 00 00       	call   0x4108ea
410704:	83 c4 20             	add    $0x20,%esp
410707:	85 c0                	test   %eax,%eax
410709:	75 10                	jne    0x41071b
41070b:	38 45 f4             	cmp    %al,-0xc(%ebp)
41070e:	74 07                	je     0x410717
410710:	8b 45 f0             	mov    -0x10(%ebp),%eax
410713:	83 60 70 fd          	andl   $0xfffffffd,0x70(%eax)
410717:	33 c0                	xor    %eax,%eax
410719:	eb 14                	jmp    0x41072f
41071b:	0f b7 45 fc          	movzwl -0x4(%ebp),%eax
41071f:	23 45 0c             	and    0xc(%ebp),%eax
410722:	80 7d f4 00          	cmpb   $0x0,-0xc(%ebp)
410726:	74 07                	je     0x41072f
410728:	8b 4d f0             	mov    -0x10(%ebp),%ecx
41072b:	83 61 70 fd          	andl   $0xfffffffd,0x70(%ecx)
41072f:	5b                   	pop    %ebx
410730:	c9                   	leave
410731:	c3                   	ret
410732:	55                   	push   %ebp
410733:	8b ec                	mov    %esp,%ebp
410735:	51                   	push   %ecx
410736:	51                   	push   %ecx
410737:	a1 20 c5 41 00       	mov    0x41c520,%eax
41073c:	33 c5                	xor    %ebp,%eax
41073e:	89 45 fc             	mov    %eax,-0x4(%ebp)
410741:	a1 60 e3 41 00       	mov    0x41e360,%eax
410746:	53                   	push   %ebx
410747:	56                   	push   %esi
410748:	33 db                	xor    %ebx,%ebx
41074a:	3b c3                	cmp    %ebx,%eax
41074c:	57                   	push   %edi
41074d:	8b f9                	mov    %ecx,%edi
41074f:	75 3a                	jne    0x41078b
410751:	8d 45 f8             	lea    -0x8(%ebp),%eax
410754:	50                   	push   %eax
410755:	33 f6                	xor    %esi,%esi
410757:	46                   	inc    %esi
410758:	56                   	push   %esi
410759:	68 88 76 41 00       	push   $0x417688
41075e:	56                   	push   %esi
41075f:	ff 15 e8 70 41 00    	call   *0x4170e8
410765:	85 c0                	test   %eax,%eax
410767:	74 08                	je     0x410771
410769:	89 35 60 e3 41 00    	mov    %esi,0x41e360
41076f:	eb 34                	jmp    0x4107a5
410771:	ff 15 b0 70 41 00    	call   *0x4170b0
410777:	83 f8 78             	cmp    $0x78,%eax
41077a:	75 0a                	jne    0x410786
41077c:	6a 02                	push   $0x2
41077e:	58                   	pop    %eax
41077f:	a3 60 e3 41 00       	mov    %eax,0x41e360
410784:	eb 05                	jmp    0x41078b
410786:	a1 60 e3 41 00       	mov    0x41e360,%eax
41078b:	83 f8 02             	cmp    $0x2,%eax
41078e:	0f 84 cf 00 00 00    	je     0x410863
410794:	3b c3                	cmp    %ebx,%eax
410796:	0f 84 c7 00 00 00    	je     0x410863
41079c:	83 f8 01             	cmp    $0x1,%eax
41079f:	0f 85 e8 00 00 00    	jne    0x41088d
4107a5:	39 5d 18             	cmp    %ebx,0x18(%ebp)
4107a8:	89 5d f8             	mov    %ebx,-0x8(%ebp)
4107ab:	75 08                	jne    0x4107b5
4107ad:	8b 07                	mov    (%edi),%eax
4107af:	8b 40 04             	mov    0x4(%eax),%eax
4107b2:	89 45 18             	mov    %eax,0x18(%ebp)
4107b5:	8b 35 a0 70 41 00    	mov    0x4170a0,%esi
4107bb:	33 c0                	xor    %eax,%eax
4107bd:	39 5d 20             	cmp    %ebx,0x20(%ebp)
4107c0:	53                   	push   %ebx
4107c1:	53                   	push   %ebx
4107c2:	ff 75 10             	push   0x10(%ebp)
4107c5:	0f 95 c0             	setne  %al
4107c8:	ff 75 0c             	push   0xc(%ebp)
4107cb:	8d 04 c5 01 00 00 00 	lea    0x1(,%eax,8),%eax
4107d2:	50                   	push   %eax
4107d3:	ff 75 18             	push   0x18(%ebp)
4107d6:	ff d6                	call   *%esi
4107d8:	8b f8                	mov    %eax,%edi
4107da:	3b fb                	cmp    %ebx,%edi
4107dc:	0f 84 ab 00 00 00    	je     0x41088d
4107e2:	7e 3c                	jle    0x410820
4107e4:	81 ff f0 ff ff 7f    	cmp    $0x7ffffff0,%edi
4107ea:	77 34                	ja     0x410820
4107ec:	8d 44 3f 08          	lea    0x8(%edi,%edi,1),%eax
4107f0:	3d 00 04 00 00       	cmp    $0x400,%eax
4107f5:	77 13                	ja     0x41080a
4107f7:	e8 54 fe ff ff       	call   0x410650
4107fc:	8b c4                	mov    %esp,%eax
4107fe:	3b c3                	cmp    %ebx,%eax
410800:	74 1c                	je     0x41081e
410802:	c7 00 cc cc 00 00    	movl   $0xcccc,(%eax)
410808:	eb 11                	jmp    0x41081b
41080a:	50                   	push   %eax
41080b:	e8 3f a5 ff ff       	call   0x40ad4f
410810:	3b c3                	cmp    %ebx,%eax
410812:	59                   	pop    %ecx
410813:	74 09                	je     0x41081e
410815:	c7 00 dd dd 00 00    	movl   $0xdddd,(%eax)
41081b:	83 c0 08             	add    $0x8,%eax
41081e:	8b d8                	mov    %eax,%ebx
410820:	85 db                	test   %ebx,%ebx
410822:	74 69                	je     0x41088d
410824:	8d 04 3f             	lea    (%edi,%edi,1),%eax
410827:	50                   	push   %eax
410828:	6a 00                	push   $0x0
41082a:	53                   	push   %ebx
41082b:	e8 20 53 ff ff       	call   0x405b50
410830:	83 c4 0c             	add    $0xc,%esp
410833:	57                   	push   %edi
410834:	53                   	push   %ebx
410835:	ff 75 10             	push   0x10(%ebp)
410838:	ff 75 0c             	push   0xc(%ebp)
41083b:	6a 01                	push   $0x1
41083d:	ff 75 18             	push   0x18(%ebp)
410840:	ff d6                	call   *%esi
410842:	85 c0                	test   %eax,%eax
410844:	74 11                	je     0x410857
410846:	ff 75 14             	push   0x14(%ebp)
410849:	50                   	push   %eax
41084a:	53                   	push   %ebx
41084b:	ff 75 08             	push   0x8(%ebp)
41084e:	ff 15 e8 70 41 00    	call   *0x4170e8
410854:	89 45 f8             	mov    %eax,-0x8(%ebp)
410857:	53                   	push   %ebx
410858:	e8 4c 81 ff ff       	call   0x4089a9
41085d:	8b 45 f8             	mov    -0x8(%ebp),%eax
410860:	59                   	pop    %ecx
410861:	eb 75                	jmp    0x4108d8
410863:	33 f6                	xor    %esi,%esi
410865:	39 5d 1c             	cmp    %ebx,0x1c(%ebp)
410868:	75 08                	jne    0x410872
41086a:	8b 07                	mov    (%edi),%eax
41086c:	8b 40 14             	mov    0x14(%eax),%eax
41086f:	89 45 1c             	mov    %eax,0x1c(%ebp)
410872:	39 5d 18             	cmp    %ebx,0x18(%ebp)
410875:	75 08                	jne    0x41087f
410877:	8b 07                	mov    (%edi),%eax
410879:	8b 40 04             	mov    0x4(%eax),%eax
41087c:	89 45 18             	mov    %eax,0x18(%ebp)
41087f:	ff 75 1c             	push   0x1c(%ebp)
410882:	e8 c7 fb ff ff       	call   0x41044e
410887:	83 f8 ff             	cmp    $0xffffffff,%eax
41088a:	59                   	pop    %ecx
41088b:	75 04                	jne    0x410891
41088d:	33 c0                	xor    %eax,%eax
41088f:	eb 47                	jmp    0x4108d8
410891:	3b 45 18             	cmp    0x18(%ebp),%eax
410894:	74 1e                	je     0x4108b4
410896:	53                   	push   %ebx
410897:	53                   	push   %ebx
410898:	8d 4d 10             	lea    0x10(%ebp),%ecx
41089b:	51                   	push   %ecx
41089c:	ff 75 0c             	push   0xc(%ebp)
41089f:	50                   	push   %eax
4108a0:	ff 75 18             	push   0x18(%ebp)
4108a3:	e8 ed fb ff ff       	call   0x410495
4108a8:	8b f0                	mov    %eax,%esi
4108aa:	83 c4 18             	add    $0x18,%esp
4108ad:	3b f3                	cmp    %ebx,%esi
4108af:	74 dc                	je     0x41088d
4108b1:	89 75 0c             	mov    %esi,0xc(%ebp)
4108b4:	ff 75 14             	push   0x14(%ebp)
4108b7:	ff 75 10             	push   0x10(%ebp)
4108ba:	ff 75 0c             	push   0xc(%ebp)
4108bd:	ff 75 08             	push   0x8(%ebp)
4108c0:	ff 75 1c             	push   0x1c(%ebp)
4108c3:	ff 15 e4 70 41 00    	call   *0x4170e4
4108c9:	3b f3                	cmp    %ebx,%esi
4108cb:	8b f8                	mov    %eax,%edi
4108cd:	74 07                	je     0x4108d6
4108cf:	56                   	push   %esi
4108d0:	e8 7e 5b ff ff       	call   0x406453
4108d5:	59                   	pop    %ecx
4108d6:	8b c7                	mov    %edi,%eax
4108d8:	8d 65 ec             	lea    -0x14(%ebp),%esp
4108db:	5f                   	pop    %edi
4108dc:	5e                   	pop    %esi
4108dd:	5b                   	pop    %ebx
4108de:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4108e1:	33 cd                	xor    %ebp,%ecx
4108e3:	e8 4d 56 ff ff       	call   0x405f35
4108e8:	c9                   	leave
4108e9:	c3                   	ret
4108ea:	55                   	push   %ebp
4108eb:	8b ec                	mov    %esp,%ebp
4108ed:	83 ec 10             	sub    $0x10,%esp
4108f0:	ff 75 08             	push   0x8(%ebp)
4108f3:	8d 4d f0             	lea    -0x10(%ebp),%ecx
4108f6:	e8 c9 80 ff ff       	call   0x4089c4
4108fb:	ff 75 24             	push   0x24(%ebp)
4108fe:	8d 4d f0             	lea    -0x10(%ebp),%ecx
410901:	ff 75 20             	push   0x20(%ebp)
410904:	ff 75 1c             	push   0x1c(%ebp)
410907:	ff 75 18             	push   0x18(%ebp)
41090a:	ff 75 14             	push   0x14(%ebp)
41090d:	ff 75 10             	push   0x10(%ebp)
410910:	ff 75 0c             	push   0xc(%ebp)
410913:	e8 1a fe ff ff       	call   0x410732
410918:	83 c4 1c             	add    $0x1c,%esp
41091b:	80 7d fc 00          	cmpb   $0x0,-0x4(%ebp)
41091f:	74 07                	je     0x410928
410921:	8b 4d f8             	mov    -0x8(%ebp),%ecx
410924:	83 61 70 fd          	andl   $0xfffffffd,0x70(%ecx)
410928:	c9                   	leave
410929:	c3                   	ret
41092a:	55                   	push   %ebp
41092b:	8d 6c 24 9c          	lea    -0x64(%esp),%ebp
41092f:	81 ec 94 00 00 00    	sub    $0x94,%esp
410935:	a1 20 c5 41 00       	mov    0x41c520,%eax
41093a:	33 c5                	xor    %ebp,%eax
41093c:	89 45 60             	mov    %eax,0x60(%ebp)
41093f:	8b 45 6c             	mov    0x6c(%ebp),%eax
410942:	53                   	push   %ebx
410943:	56                   	push   %esi
410944:	8b 75 7c             	mov    0x7c(%ebp),%esi
410947:	33 db                	xor    %ebx,%ebx
410949:	83 7d 70 01          	cmpl   $0x1,0x70(%ebp)
41094d:	57                   	push   %edi
41094e:	89 45 d8             	mov    %eax,-0x28(%ebp)
410951:	89 75 d0             	mov    %esi,-0x30(%ebp)
410954:	0f 85 df 00 00 00    	jne    0x410a39
41095a:	53                   	push   %ebx
41095b:	68 80 00 00 00       	push   $0x80
410960:	8d 7d e0             	lea    -0x20(%ebp),%edi
410963:	8b cf                	mov    %edi,%ecx
410965:	51                   	push   %ecx
410966:	ff 75 78             	push   0x78(%ebp)
410969:	89 5d dc             	mov    %ebx,-0x24(%ebp)
41096c:	ff 75 74             	push   0x74(%ebp)
41096f:	50                   	push   %eax
410970:	e8 39 48 00 00       	call   0x4151ae
410975:	8b f0                	mov    %eax,%esi
410977:	83 c4 18             	add    $0x18,%esp
41097a:	3b f3                	cmp    %ebx,%esi
41097c:	75 57                	jne    0x4109d5
41097e:	ff 15 b0 70 41 00    	call   *0x4170b0
410984:	83 f8 7a             	cmp    $0x7a,%eax
410987:	75 6b                	jne    0x4109f4
410989:	53                   	push   %ebx
41098a:	53                   	push   %ebx
41098b:	53                   	push   %ebx
41098c:	ff 75 78             	push   0x78(%ebp)
41098f:	ff 75 74             	push   0x74(%ebp)
410992:	ff 75 d8             	push   -0x28(%ebp)
410995:	e8 14 48 00 00       	call   0x4151ae
41099a:	83 c4 18             	add    $0x18,%esp
41099d:	3b c3                	cmp    %ebx,%eax
41099f:	89 45 d4             	mov    %eax,-0x2c(%ebp)
4109a2:	74 50                	je     0x4109f4
4109a4:	33 f6                	xor    %esi,%esi
4109a6:	46                   	inc    %esi
4109a7:	56                   	push   %esi
4109a8:	50                   	push   %eax
4109a9:	e8 7e 89 ff ff       	call   0x40932c
4109ae:	8b f8                	mov    %eax,%edi
4109b0:	3b fb                	cmp    %ebx,%edi
4109b2:	59                   	pop    %ecx
4109b3:	59                   	pop    %ecx
4109b4:	74 3e                	je     0x4109f4
4109b6:	53                   	push   %ebx
4109b7:	ff 75 d4             	push   -0x2c(%ebp)
4109ba:	89 75 dc             	mov    %esi,-0x24(%ebp)
4109bd:	57                   	push   %edi
4109be:	ff 75 78             	push   0x78(%ebp)
4109c1:	ff 75 74             	push   0x74(%ebp)
4109c4:	ff 75 d8             	push   -0x28(%ebp)
4109c7:	e8 e2 47 00 00       	call   0x4151ae
4109cc:	8b f0                	mov    %eax,%esi
4109ce:	83 c4 18             	add    $0x18,%esp
4109d1:	3b f3                	cmp    %ebx,%esi
4109d3:	74 18                	je     0x4109ed
4109d5:	6a 01                	push   $0x1
4109d7:	56                   	push   %esi
4109d8:	e8 4f 89 ff ff       	call   0x40932c
4109dd:	3b c3                	cmp    %ebx,%eax
4109df:	59                   	pop    %ecx
4109e0:	59                   	pop    %ecx
4109e1:	8b 4d d0             	mov    -0x30(%ebp),%ecx
4109e4:	89 01                	mov    %eax,(%ecx)
4109e6:	75 21                	jne    0x410a09
4109e8:	39 5d dc             	cmp    %ebx,-0x24(%ebp)
4109eb:	74 07                	je     0x4109f4
4109ed:	57                   	push   %edi
4109ee:	e8 60 5a ff ff       	call   0x406453
4109f3:	59                   	pop    %ecx
4109f4:	83 c8 ff             	or     $0xffffffff,%eax
4109f7:	8b 4d 60             	mov    0x60(%ebp),%ecx
4109fa:	5f                   	pop    %edi
4109fb:	5e                   	pop    %esi
4109fc:	33 cd                	xor    %ebp,%ecx
4109fe:	5b                   	pop    %ebx
4109ff:	e8 31 55 ff ff       	call   0x405f35
410a04:	83 c5 64             	add    $0x64,%ebp
410a07:	c9                   	leave
410a08:	c3                   	ret
410a09:	8d 4e ff             	lea    -0x1(%esi),%ecx