4787d6:	8b 46 08             	mov    0x8(%esi),%eax
4787d9:	89 45 e0             	mov    %eax,-0x20(%ebp)
4787dc:	80 78 14 00          	cmpb   $0x0,0x14(%eax)
4787e0:	75 0a                	jne    0x4787ec
4787e2:	8b c8                	mov    %eax,%ecx
4787e4:	e8 27 09 00 00       	call   0x479110
4787e9:	8b 45 e0             	mov    -0x20(%ebp),%eax
4787ec:	8b 4e 30             	mov    0x30(%esi),%ecx
4787ef:	89 4d e8             	mov    %ecx,-0x18(%ebp)
4787f2:	89 5d ec             	mov    %ebx,-0x14(%ebp)
4787f5:	39 5e 34             	cmp    %ebx,0x34(%esi)
4787f8:	0f 84 8d 00 00 00    	je     0x47888b
4787fe:	8b 40 0c             	mov    0xc(%eax),%eax
478801:	33 d2                	xor    %edx,%edx
478803:	ff 76 08             	push   0x8(%esi)
478806:	66 89 55 f0          	mov    %dx,-0x10(%ebp)
47880a:	ff 70 04             	push   0x4(%eax)
47880d:	8d 45 f0             	lea    -0x10(%ebp),%eax
478810:	51                   	push   %ecx
478811:	50                   	push   %eax
478812:	e8 e8 dd 00 00       	call   0x4865ff
478817:	83 c4 10             	add    $0x10,%esp
47881a:	89 45 f4             	mov    %eax,-0xc(%ebp)
47881d:	8d 96 48 04 00 00    	lea    0x448(%esi),%edx
478823:	85 c0                	test   %eax,%eax
478825:	7e 4e                	jle    0x478875
478827:	8b 0a                	mov    (%edx),%ecx
478829:	0f b7 45 f0          	movzwl -0x10(%ebp),%eax
47882d:	89 45 d8             	mov    %eax,-0x28(%ebp)
478830:	8b 41 08             	mov    0x8(%ecx),%eax
478833:	3b 41 04             	cmp    0x4(%ecx),%eax
478836:	75 0f                	jne    0x478847
478838:	80 79 0c 00          	cmpb   $0x0,0xc(%ecx)
47883c:	74 04                	je     0x478842
47883e:	ff 07                	incl   (%edi)
478840:	eb 19                	jmp    0x47885b
478842:	83 0f ff             	orl    $0xffffffff,(%edi)
478845:	eb 14                	jmp    0x47885b
478847:	ff 07                	incl   (%edi)
478849:	ff 41 08             	incl   0x8(%ecx)
47884c:	8b 02                	mov    (%edx),%eax
47884e:	8b 4d d8             	mov    -0x28(%ebp),%ecx
478851:	8b 00                	mov    (%eax),%eax
478853:	66 89 08             	mov    %cx,(%eax)
478856:	8b 02                	mov    (%edx),%eax
478858:	83 00 02             	addl   $0x2,(%eax)
47885b:	8b 4d e8             	mov    -0x18(%ebp),%ecx
47885e:	03 4d f4             	add    -0xc(%ebp),%ecx
478861:	8b 45 ec             	mov    -0x14(%ebp),%eax
478864:	40                   	inc    %eax
478865:	89 4d e8             	mov    %ecx,-0x18(%ebp)
478868:	3b 46 34             	cmp    0x34(%esi),%eax
47886b:	89 45 ec             	mov    %eax,-0x14(%ebp)
47886e:	8b 45 e0             	mov    -0x20(%ebp),%eax
478871:	75 8b                	jne    0x4787fe
478873:	eb 1c                	jmp    0x478891
478875:	83 0f ff             	orl    $0xffffffff,(%edi)
478878:	eb 17                	jmp    0x478891
47887a:	ff 76 08             	push   0x8(%esi)
47887d:	8b ca                	mov    %edx,%ecx
47887f:	57                   	push   %edi
478880:	ff 76 34             	push   0x34(%esi)
478883:	ff 76 30             	push   0x30(%esi)
478886:	e8 93 09 00 00       	call   0x47921e
47888b:	8d 96 48 04 00 00    	lea    0x448(%esi),%edx
478891:	8b 0f                	mov    (%edi),%ecx
478893:	85 c9                	test   %ecx,%ecx
478895:	78 54                	js     0x4788eb
478897:	8b 46 1c             	mov    0x1c(%esi),%eax
47889a:	c1 e8 02             	shr    $0x2,%eax
47889d:	a8 01                	test   $0x1,%al
47889f:	74 4a                	je     0x4788eb
4788a1:	8b 75 dc             	mov    -0x24(%ebp),%esi
4788a4:	85 f6                	test   %esi,%esi
4788a6:	7e 43                	jle    0x4788eb
4788a8:	8b 12                	mov    (%edx),%edx
4788aa:	8b 42 08             	mov    0x8(%edx),%eax
4788ad:	3b 42 04             	cmp    0x4(%edx),%eax
4788b0:	75 13                	jne    0x4788c5
4788b2:	80 7a 0c 00          	cmpb   $0x0,0xc(%edx)
4788b6:	74 03                	je     0x4788bb
4788b8:	41                   	inc    %ecx
4788b9:	eb 03                	jmp    0x4788be
4788bb:	83 c9 ff             	or     $0xffffffff,%ecx
4788be:	8b 55 e4             	mov    -0x1c(%ebp),%edx
4788c1:	89 0f                	mov    %ecx,(%edi)
4788c3:	eb 1a                	jmp    0x4788df
4788c5:	8d 41 01             	lea    0x1(%ecx),%eax
4788c8:	89 07                	mov    %eax,(%edi)
4788ca:	ff 42 08             	incl   0x8(%edx)
4788cd:	8b 55 e4             	mov    -0x1c(%ebp),%edx
4788d0:	6a 20                	push   $0x20
4788d2:	59                   	pop    %ecx
4788d3:	8b 02                	mov    (%edx),%eax
4788d5:	8b 00                	mov    (%eax),%eax
4788d7:	66 89 08             	mov    %cx,(%eax)
4788da:	8b 02                	mov    (%edx),%eax
4788dc:	83 00 02             	addl   $0x2,(%eax)
4788df:	8b 0f                	mov    (%edi),%ecx
4788e1:	83 f9 ff             	cmp    $0xffffffff,%ecx
4788e4:	74 05                	je     0x4788eb
4788e6:	43                   	inc    %ebx
4788e7:	3b de                	cmp    %esi,%ebx
4788e9:	7c bd                	jl     0x4788a8
4788eb:	b0 01                	mov    $0x1,%al
4788ed:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4788f0:	5f                   	pop    %edi
4788f1:	5e                   	pop    %esi
4788f2:	33 cd                	xor    %ebp,%ecx
4788f4:	5b                   	pop    %ebx
4788f5:	e8 d0 10 ff ff       	call   0x4699ca
4788fa:	c9                   	leave
4788fb:	c3                   	ret
4788fc:	8b ff                	mov    %edi,%edi
4788fe:	55                   	push   %ebp
4788ff:	8b ec                	mov    %esp,%ebp
478901:	8b 45 08             	mov    0x8(%ebp),%eax
478904:	83 f8 0b             	cmp    $0xb,%eax
478907:	77 20                	ja     0x478929
478909:	0f b6 80 44 89 47 00 	movzbl 0x478944(%eax),%eax
478910:	ff 24 85 30 89 47 00 	jmp    *0x478930(,%eax,4)
478917:	33 c0                	xor    %eax,%eax
478919:	40                   	inc    %eax
47891a:	5d                   	pop    %ebp
47891b:	c3                   	ret
47891c:	6a 02                	push   $0x2
47891e:	58                   	pop    %eax
47891f:	5d                   	pop    %ebp
478920:	c3                   	ret
478921:	6a 04                	push   $0x4
478923:	eb f9                	jmp    0x47891e
478925:	6a 08                	push   $0x8
478927:	eb f5                	jmp    0x47891e
478929:	33 c0                	xor    %eax,%eax
47892b:	5d                   	pop    %ebp
47892c:	c3                   	ret
47892d:	8d 49 00             	lea    0x0(%ecx),%ecx
478930:	21 89 47 00 17 89    	and    %ecx,-0x76e8ffb9(%ecx)
478936:	47                   	inc    %edi
478937:	00 1c 89             	add    %bl,(%ecx,%ecx,4)
47893a:	47                   	inc    %edi
47893b:	00 25 89 47 00 29    	add    %ah,0x29004789
478941:	89 47 00             	mov    %eax,0x0(%edi)
478944:	00 01                	add    %al,(%ecx)
478946:	02 00                	add    (%eax),%al
478948:	03 03                	add    (%ebx),%eax
47894a:	00 00                	add    %al,(%eax)
47894c:	04 00                	add    $0x0,%al
47894e:	00 03                	add    %al,(%ebx)
478950:	8b ff                	mov    %edi,%edi
478952:	53                   	push   %ebx
478953:	56                   	push   %esi
478954:	8b f1                	mov    %ecx,%esi
478956:	57                   	push   %edi
478957:	8b 56 10             	mov    0x10(%esi),%edx
47895a:	8d 42 04             	lea    0x4(%edx),%eax
47895d:	89 46 10             	mov    %eax,0x10(%esi)
478960:	8b 3a                	mov    (%edx),%edi
478962:	85 ff                	test   %edi,%edi
478964:	74 33                	je     0x478999
478966:	8b 5f 04             	mov    0x4(%edi),%ebx
478969:	85 db                	test   %ebx,%ebx
47896b:	74 2c                	je     0x478999
47896d:	ff 76 28             	push   0x28(%esi)
478970:	0f b6 46 2d          	movzbl 0x2d(%esi),%eax
478974:	50                   	push   %eax
478975:	ff 76 04             	push   0x4(%esi)
478978:	ff 36                	push   (%esi)
47897a:	e8 13 d0 ff ff       	call   0x475992
47897f:	83 c4 10             	add    $0x10,%esp
478982:	89 5e 30             	mov    %ebx,0x30(%esi)
478985:	0f b7 0f             	movzwl (%edi),%ecx
478988:	84 c0                	test   %al,%al
47898a:	8b c1                	mov    %ecx,%eax
47898c:	6a 34                	push   $0x34
47898e:	59                   	pop    %ecx
47898f:	74 15                	je     0x4789a6
478991:	c6 46 38 01          	movb   $0x1,0x38(%esi)
478995:	d1 e8                	shr    $1,%eax
478997:	eb 11                	jmp    0x4789aa
478999:	6a 06                	push   $0x6
47899b:	58                   	pop    %eax
47899c:	6a 34                	push   $0x34
47899e:	c7 46 30 08 1b 4a 00 	movl   $0x4a1b08,0x30(%esi)
4789a5:	59                   	pop    %ecx
4789a6:	c6 46 38 00          	movb   $0x0,0x38(%esi)
4789aa:	5f                   	pop    %edi
4789ab:	89 04 0e             	mov    %eax,(%esi,%ecx,1)
4789ae:	b0 01                	mov    $0x1,%al
4789b0:	5e                   	pop    %esi
4789b1:	5b                   	pop    %ebx
4789b2:	c3                   	ret
4789b3:	8b ff                	mov    %edi,%edi
4789b5:	53                   	push   %ebx
4789b6:	56                   	push   %esi
4789b7:	8b f1                	mov    %ecx,%esi
4789b9:	57                   	push   %edi
4789ba:	8b 56 10             	mov    0x10(%esi),%edx
4789bd:	8d 42 04             	lea    0x4(%edx),%eax
4789c0:	89 46 10             	mov    %eax,0x10(%esi)
4789c3:	8b 3a                	mov    (%edx),%edi
4789c5:	85 ff                	test   %edi,%edi
4789c7:	74 33                	je     0x4789fc
4789c9:	8b 5f 04             	mov    0x4(%edi),%ebx
4789cc:	85 db                	test   %ebx,%ebx
4789ce:	74 2c                	je     0x4789fc
4789d0:	ff 76 28             	push   0x28(%esi)
4789d3:	0f b7 46 2e          	movzwl 0x2e(%esi),%eax
4789d7:	50                   	push   %eax
4789d8:	ff 76 04             	push   0x4(%esi)
4789db:	ff 36                	push   (%esi)
4789dd:	e8 e1 cf ff ff       	call   0x4759c3
4789e2:	83 c4 10             	add    $0x10,%esp
4789e5:	89 5e 30             	mov    %ebx,0x30(%esi)
4789e8:	0f b7 0f             	movzwl (%edi),%ecx
4789eb:	84 c0                	test   %al,%al
4789ed:	8b c1                	mov    %ecx,%eax
4789ef:	6a 34                	push   $0x34
4789f1:	59                   	pop    %ecx
4789f2:	74 15                	je     0x478a09
4789f4:	c6 46 38 01          	movb   $0x1,0x38(%esi)
4789f8:	d1 e8                	shr    $1,%eax
4789fa:	eb 11                	jmp    0x478a0d
4789fc:	6a 06                	push   $0x6
4789fe:	58                   	pop    %eax
4789ff:	6a 34                	push   $0x34
478a01:	c7 46 30 08 1b 4a 00 	movl   $0x4a1b08,0x30(%esi)
478a08:	59                   	pop    %ecx
478a09:	c6 46 38 00          	movb   $0x0,0x38(%esi)
478a0d:	5f                   	pop    %edi
478a0e:	89 04 0e             	mov    %eax,(%esi,%ecx,1)
478a11:	b0 01                	mov    $0x1,%al
478a13:	5e                   	pop    %esi
478a14:	5b                   	pop    %ebx
478a15:	c3                   	ret
478a16:	8b ff                	mov    %edi,%edi
478a18:	55                   	push   %ebp
478a19:	8b ec                	mov    %esp,%ebp
478a1b:	83 ec 14             	sub    $0x14,%esp
478a1e:	33 d2                	xor    %edx,%edx
478a20:	42                   	inc    %edx
478a21:	56                   	push   %esi
478a22:	8b f1                	mov    %ecx,%esi
478a24:	57                   	push   %edi
478a25:	83 4e 1c 10          	orl    $0x10,0x1c(%esi)
478a29:	8b 46 24             	mov    0x24(%esi),%eax
478a2c:	85 c0                	test   %eax,%eax
478a2e:	79 17                	jns    0x478a47
478a30:	8a 46 2d             	mov    0x2d(%esi),%al
478a33:	3c 61                	cmp    $0x61,%al
478a35:	74 08                	je     0x478a3f
478a37:	3c 41                	cmp    $0x41,%al
478a39:	74 04                	je     0x478a3f
478a3b:	6a 06                	push   $0x6
478a3d:	eb 02                	jmp    0x478a41
478a3f:	6a 0d                	push   $0xd
478a41:	58                   	pop    %eax
478a42:	89 46 24             	mov    %eax,0x24(%esi)
478a45:	eb 14                	jmp    0x478a5b
478a47:	75 12                	jne    0x478a5b
478a49:	8a 4e 2d             	mov    0x2d(%esi),%cl
478a4c:	80 f9 67             	cmp    $0x67,%cl
478a4f:	74 05                	je     0x478a56
478a51:	80 f9 47             	cmp    $0x47,%cl
478a54:	75 05                	jne    0x478a5b
478a56:	89 56 24             	mov    %edx,0x24(%esi)
478a59:	8b c2                	mov    %edx,%eax
478a5b:	53                   	push   %ebx
478a5c:	ff 76 08             	push   0x8(%esi)
478a5f:	05 5d 01 00 00       	add    $0x15d,%eax
478a64:	8d 7e 3c             	lea    0x3c(%esi),%edi
478a67:	50                   	push   %eax
478a68:	8b cf                	mov    %edi,%ecx
478a6a:	e8 ec cd ff ff       	call   0x47585b
478a6f:	84 c0                	test   %al,%al
478a71:	75 12                	jne    0x478a85
478a73:	8b cf                	mov    %edi,%ecx
478a75:	e8 b0 cd ff ff       	call   0x47582a
478a7a:	8d 98 a3 fe ff ff    	lea    -0x15d(%eax),%ebx
478a80:	89 5e 24             	mov    %ebx,0x24(%esi)
478a83:	eb 03                	jmp    0x478a88
478a85:	8b 5e 24             	mov    0x24(%esi),%ebx
478a88:	8b 87 04 04 00 00    	mov    0x404(%edi),%eax
478a8e:	85 c0                	test   %eax,%eax
478a90:	75 02                	jne    0x478a94
478a92:	8b c7                	mov    %edi,%eax
478a94:	83 65 ec 00          	andl   $0x0,-0x14(%ebp)
478a98:	83 65 f0 00          	andl   $0x0,-0x10(%ebp)
478a9c:	89 46 30             	mov    %eax,0x30(%esi)
478a9f:	8b 4e 10             	mov    0x10(%esi),%ecx
478aa2:	8d 41 08             	lea    0x8(%ecx),%eax
478aa5:	89 46 10             	mov    %eax,0x10(%esi)
478aa8:	8b 01                	mov    (%ecx),%eax
478aaa:	8b 49 04             	mov    0x4(%ecx),%ecx
478aad:	89 45 ec             	mov    %eax,-0x14(%ebp)
478ab0:	0f be 46 2d          	movsbl 0x2d(%esi),%eax
478ab4:	89 4d f0             	mov    %ecx,-0x10(%ebp)
478ab7:	8b cf                	mov    %edi,%ecx
478ab9:	89 45 fc             	mov    %eax,-0x4(%ebp)
478abc:	e8 69 cd ff ff       	call   0x47582a
478ac1:	8b cf                	mov    %edi,%ecx
478ac3:	89 45 f8             	mov    %eax,-0x8(%ebp)
478ac6:	e8 43 d7 ff ff       	call   0x47620e
478acb:	8b cf                	mov    %edi,%ecx
478acd:	89 45 f4             	mov    %eax,-0xc(%ebp)
478ad0:	e8 55 cd ff ff       	call   0x47582a
478ad5:	8b c8                	mov    %eax,%ecx
478ad7:	8b 87 04 04 00 00    	mov    0x404(%edi),%eax
478add:	85 c0                	test   %eax,%eax
478adf:	74 02                	je     0x478ae3
478ae1:	8b f8                	mov    %eax,%edi
478ae3:	ff 76 08             	push   0x8(%esi)
478ae6:	8d 45 ec             	lea    -0x14(%ebp),%eax
478ae9:	6a 01                	push   $0x1
478aeb:	ff 76 04             	push   0x4(%esi)
478aee:	ff 36                	push   (%esi)
478af0:	53                   	push   %ebx
478af1:	ff 75 fc             	push   -0x4(%ebp)
478af4:	ff 75 f8             	push   -0x8(%ebp)
478af7:	ff 75 f4             	push   -0xc(%ebp)
478afa:	51                   	push   %ecx
478afb:	57                   	push   %edi
478afc:	50                   	push   %eax
478afd:	e8 12 d8 00 00       	call   0x486314
478b02:	8b 46 1c             	mov    0x1c(%esi),%eax
478b05:	83 c4 2c             	add    $0x2c,%esp
478b08:	c1 e8 05             	shr    $0x5,%eax
478b0b:	5b                   	pop    %ebx
478b0c:	a8 01                	test   $0x1,%al
478b0e:	74 24                	je     0x478b34
478b10:	83 7e 24 00          	cmpl   $0x0,0x24(%esi)
478b14:	75 1e                	jne    0x478b34
478b16:	8b 7e 08             	mov    0x8(%esi),%edi
478b19:	80 7f 14 00          	cmpb   $0x0,0x14(%edi)
478b1d:	75 07                	jne    0x478b26
478b1f:	8b cf                	mov    %edi,%ecx
478b21:	e8 ea 05 00 00       	call   0x479110
478b26:	8d 47 0c             	lea    0xc(%edi),%eax
478b29:	50                   	push   %eax
478b2a:	ff 76 30             	push   0x30(%esi)
478b2d:	e8 9c e9 ff ff       	call   0x4774ce
478b32:	59                   	pop    %ecx
478b33:	59                   	pop    %ecx
478b34:	8a 46 2d             	mov    0x2d(%esi),%al
478b37:	3c 67                	cmp    $0x67,%al
478b39:	74 04                	je     0x478b3f
478b3b:	3c 47                	cmp    $0x47,%al
478b3d:	75 28                	jne    0x478b67
478b3f:	8b 46 1c             	mov    0x1c(%esi),%eax
478b42:	c1 e8 05             	shr    $0x5,%eax