41cc41:	8b 45 2c             	mov    0x2c(%ebp),%eax
41cc44:	8b 55 f4             	mov    -0xc(%ebp),%edx
41cc47:	8b 40 0c             	mov    0xc(%eax),%eax
41cc4a:	8b 80 88 00 00 00    	mov    0x88(%eax),%eax
41cc50:	8b 00                	mov    (%eax),%eax
41cc52:	8a 00                	mov    (%eax),%al
41cc54:	88 02                	mov    %al,(%edx)
41cc56:	8b 43 04             	mov    0x4(%ebx),%eax
41cc59:	25 ff ff 0f 00       	and    $0xfffff,%eax
41cc5e:	89 45 e0             	mov    %eax,-0x20(%ebp)
41cc61:	77 09                	ja     0x41cc6c
41cc63:	83 3b 00             	cmpl   $0x0,(%ebx)
41cc66:	0f 86 bf 00 00 00    	jbe    0x41cd2b
41cc6c:	6a 30                	push   $0x30
41cc6e:	58                   	pop    %eax
41cc6f:	89 45 f8             	mov    %eax,-0x8(%ebp)
41cc72:	b9 00 00 0f 00       	mov    $0xf0000,%ecx
41cc77:	33 c0                	xor    %eax,%eax
41cc79:	89 4d e8             	mov    %ecx,-0x18(%ebp)
41cc7c:	89 45 ec             	mov    %eax,-0x14(%ebp)
41cc7f:	8b 55 f8             	mov    -0x8(%ebp),%edx
41cc82:	0f b7 d2             	movzwl %dx,%edx
41cc85:	89 55 e4             	mov    %edx,-0x1c(%ebp)
41cc88:	8b d7                	mov    %edi,%edx
41cc8a:	89 7d e0             	mov    %edi,-0x20(%ebp)
41cc8d:	85 f6                	test   %esi,%esi
41cc8f:	7e 50                	jle    0x41cce1
41cc91:	8b 53 04             	mov    0x4(%ebx),%edx
41cc94:	23 03                	and    (%ebx),%eax
41cc96:	23 d1                	and    %ecx,%edx
41cc98:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
41cc9b:	81 e2 ff ff 0f 00    	and    $0xfffff,%edx
41cca1:	0f b7 c9             	movzwl %cx,%ecx
41cca4:	e8 b7 11 01 00       	call   0x42de60
41cca9:	6a 30                	push   $0x30
41ccab:	59                   	pop    %ecx
41ccac:	66 03 c1             	add    %cx,%ax
41ccaf:	0f b7 c0             	movzwl %ax,%eax
41ccb2:	83 f8 39             	cmp    $0x39,%eax
41ccb5:	76 03                	jbe    0x41ccba
41ccb7:	03 45 d8             	add    -0x28(%ebp),%eax
41ccba:	8b 4d e8             	mov    -0x18(%ebp),%ecx
41ccbd:	8b 55 f8             	mov    -0x8(%ebp),%edx
41ccc0:	88 07                	mov    %al,(%edi)
41ccc2:	83 ea 04             	sub    $0x4,%edx
41ccc5:	8b 45 ec             	mov    -0x14(%ebp),%eax
41ccc8:	47                   	inc    %edi
41ccc9:	0f ac c8 04          	shrd   $0x4,%ecx,%eax
41cccd:	89 55 f8             	mov    %edx,-0x8(%ebp)
41ccd0:	c1 e9 04             	shr    $0x4,%ecx
41ccd3:	4e                   	dec    %esi
41ccd4:	89 45 ec             	mov    %eax,-0x14(%ebp)
41ccd7:	89 4d e8             	mov    %ecx,-0x18(%ebp)
41ccda:	66 85 d2             	test   %dx,%dx
41ccdd:	79 a0                	jns    0x41cc7f
41ccdf:	eb 4a                	jmp    0x41cd2b
41cce1:	ff 75 28             	push   0x28(%ebp)
41cce4:	8b fa                	mov    %edx,%edi
41cce6:	ff 75 e4             	push   -0x1c(%ebp)
41cce9:	51                   	push   %ecx
41ccea:	50                   	push   %eax
41cceb:	53                   	push   %ebx
41ccec:	e8 66 06 00 00       	call   0x41d357
41ccf1:	83 c4 14             	add    $0x14,%esp
41ccf4:	84 c0                	test   %al,%al
41ccf6:	74 47                	je     0x41cd3f
41ccf8:	8b 7d e0             	mov    -0x20(%ebp),%edi
41ccfb:	6a 30                	push   $0x30
41ccfd:	5b                   	pop    %ebx
41ccfe:	8d 47 ff             	lea    -0x1(%edi),%eax
41cd01:	8a 08                	mov    (%eax),%cl
41cd03:	80 f9 66             	cmp    $0x66,%cl
41cd06:	74 05                	je     0x41cd0d
41cd08:	80 f9 46             	cmp    $0x46,%cl
41cd0b:	75 05                	jne    0x41cd12
41cd0d:	88 18                	mov    %bl,(%eax)
41cd0f:	48                   	dec    %eax
41cd10:	eb ef                	jmp    0x41cd01
41cd12:	8b 5d 08             	mov    0x8(%ebp),%ebx
41cd15:	3b 45 f4             	cmp    -0xc(%ebp),%eax
41cd18:	74 0e                	je     0x41cd28
41cd1a:	80 f9 39             	cmp    $0x39,%cl
41cd1d:	75 03                	jne    0x41cd22
41cd1f:	02 4d d8             	add    -0x28(%ebp),%cl
41cd22:	fe c1                	inc    %cl
41cd24:	88 08                	mov    %cl,(%eax)
41cd26:	eb 03                	jmp    0x41cd2b
41cd28:	fe 40 ff             	incb   -0x1(%eax)
41cd2b:	85 f6                	test   %esi,%esi
41cd2d:	7e 10                	jle    0x41cd3f
41cd2f:	56                   	push   %esi
41cd30:	6a 30                	push   $0x30
41cd32:	58                   	pop    %eax
41cd33:	50                   	push   %eax
41cd34:	57                   	push   %edi
41cd35:	e8 86 e6 fe ff       	call   0x40b3c0
41cd3a:	83 c4 0c             	add    $0xc,%esp
41cd3d:	03 fe                	add    %esi,%edi
41cd3f:	8b 45 f4             	mov    -0xc(%ebp),%eax
41cd42:	80 38 00             	cmpb   $0x0,(%eax)
41cd45:	75 02                	jne    0x41cd49
41cd47:	8b f8                	mov    %eax,%edi
41cd49:	8a 45 ff             	mov    -0x1(%ebp),%al
41cd4c:	b1 34                	mov    $0x34,%cl
41cd4e:	c0 e0 05             	shl    $0x5,%al
41cd51:	04 50                	add    $0x50,%al
41cd53:	88 07                	mov    %al,(%edi)
41cd55:	8b 03                	mov    (%ebx),%eax
41cd57:	8b 53 04             	mov    0x4(%ebx),%edx
41cd5a:	e8 01 11 01 00       	call   0x42de60
41cd5f:	8b d8                	mov    %eax,%ebx
41cd61:	33 f6                	xor    %esi,%esi
41cd63:	81 e3 ff 07 00 00    	and    $0x7ff,%ebx
41cd69:	8d 47 02             	lea    0x2(%edi),%eax
41cd6c:	2b 5d f0             	sub    -0x10(%ebp),%ebx
41cd6f:	89 45 f0             	mov    %eax,-0x10(%ebp)
41cd72:	1b f6                	sbb    %esi,%esi
41cd74:	78 0a                	js     0x41cd80
41cd76:	7f 04                	jg     0x41cd7c
41cd78:	85 db                	test   %ebx,%ebx
41cd7a:	72 04                	jb     0x41cd80
41cd7c:	b1 2b                	mov    $0x2b,%cl
41cd7e:	eb 0a                	jmp    0x41cd8a
41cd80:	f7 db                	neg    %ebx
41cd82:	6a 2d                	push   $0x2d
41cd84:	83 d6 00             	adc    $0x0,%esi
41cd87:	f7 de                	neg    %esi
41cd89:	59                   	pop    %ecx
41cd8a:	88 4f 01             	mov    %cl,0x1(%edi)
41cd8d:	8b f8                	mov    %eax,%edi
41cd8f:	6a 30                	push   $0x30
41cd91:	59                   	pop    %ecx
41cd92:	88 08                	mov    %cl,(%eax)
41cd94:	85 f6                	test   %esi,%esi
41cd96:	0f 8c 96 00 00 00    	jl     0x41ce32
41cd9c:	b8 e8 03 00 00       	mov    $0x3e8,%eax
41cda1:	7f 04                	jg     0x41cda7
41cda3:	3b d8                	cmp    %eax,%ebx
41cda5:	72 2e                	jb     0x41cdd5
41cda7:	6a 00                	push   $0x0
41cda9:	50                   	push   %eax
41cdaa:	56                   	push   %esi
41cdab:	53                   	push   %ebx
41cdac:	e8 5f d1 fe ff       	call   0x409f10
41cdb1:	6a 30                	push   $0x30
41cdb3:	59                   	pop    %ecx
41cdb4:	6a 00                	push   $0x0
41cdb6:	02 c1                	add    %cl,%al
41cdb8:	8b 4d f0             	mov    -0x10(%ebp),%ecx
41cdbb:	68 e8 03 00 00       	push   $0x3e8
41cdc0:	56                   	push   %esi
41cdc1:	53                   	push   %ebx
41cdc2:	88 01                	mov    %al,(%ecx)
41cdc4:	8d 79 01             	lea    0x1(%ecx),%edi
41cdc7:	e8 34 d2 fe ff       	call   0x40a000
41cdcc:	8b d8                	mov    %eax,%ebx
41cdce:	8b f2                	mov    %edx,%esi
41cdd0:	3b 7d f0             	cmp    -0x10(%ebp),%edi
41cdd3:	75 0b                	jne    0x41cde0
41cdd5:	85 f6                	test   %esi,%esi
41cdd7:	7c 59                	jl     0x41ce32
41cdd9:	7f 05                	jg     0x41cde0
41cddb:	83 fb 64             	cmp    $0x64,%ebx
41cdde:	72 27                	jb     0x41ce07
41cde0:	6a 00                	push   $0x0
41cde2:	6a 64                	push   $0x64
41cde4:	56                   	push   %esi
41cde5:	53                   	push   %ebx
41cde6:	e8 25 d1 fe ff       	call   0x409f10
41cdeb:	6a 30                	push   $0x30
41cded:	59                   	pop    %ecx
41cdee:	6a 00                	push   $0x0
41cdf0:	6a 64                	push   $0x64
41cdf2:	02 c1                	add    %cl,%al
41cdf4:	56                   	push   %esi
41cdf5:	88 07                	mov    %al,(%edi)
41cdf7:	47                   	inc    %edi
41cdf8:	53                   	push   %ebx
41cdf9:	e8 02 d2 fe ff       	call   0x40a000
41cdfe:	8b d8                	mov    %eax,%ebx
41ce00:	8b f2                	mov    %edx,%esi
41ce02:	3b 7d f0             	cmp    -0x10(%ebp),%edi
41ce05:	75 0b                	jne    0x41ce12
41ce07:	85 f6                	test   %esi,%esi
41ce09:	7c 27                	jl     0x41ce32
41ce0b:	7f 05                	jg     0x41ce12
41ce0d:	83 fb 0a             	cmp    $0xa,%ebx
41ce10:	72 20                	jb     0x41ce32
41ce12:	6a 00                	push   $0x0
41ce14:	6a 0a                	push   $0xa
41ce16:	56                   	push   %esi
41ce17:	53                   	push   %ebx
41ce18:	e8 f3 d0 fe ff       	call   0x409f10
41ce1d:	6a 30                	push   $0x30
41ce1f:	59                   	pop    %ecx
41ce20:	6a 00                	push   $0x0
41ce22:	6a 0a                	push   $0xa
41ce24:	02 c1                	add    %cl,%al
41ce26:	56                   	push   %esi
41ce27:	88 07                	mov    %al,(%edi)
41ce29:	47                   	inc    %edi
41ce2a:	53                   	push   %ebx
41ce2b:	e8 d0 d1 fe ff       	call   0x40a000
41ce30:	8b d8                	mov    %eax,%ebx
41ce32:	6a 30                	push   $0x30
41ce34:	58                   	pop    %eax
41ce35:	02 d8                	add    %al,%bl
41ce37:	88 1f                	mov    %bl,(%edi)
41ce39:	c6 47 01 00          	movb   $0x0,0x1(%edi)
41ce3d:	33 c0                	xor    %eax,%eax
41ce3f:	5b                   	pop    %ebx
41ce40:	5f                   	pop    %edi
41ce41:	5e                   	pop    %esi
41ce42:	c9                   	leave
41ce43:	c3                   	ret
41ce44:	8b ff                	mov    %edi,%edi
41ce46:	55                   	push   %ebp
41ce47:	8b ec                	mov    %esp,%ebp
41ce49:	83 ec 0c             	sub    $0xc,%esp
41ce4c:	8d 45 f4             	lea    -0xc(%ebp),%eax
41ce4f:	56                   	push   %esi
41ce50:	8b 75 1c             	mov    0x1c(%ebp),%esi
41ce53:	57                   	push   %edi
41ce54:	ff 75 18             	push   0x18(%ebp)
41ce57:	ff 75 14             	push   0x14(%ebp)
41ce5a:	8d 7e 01             	lea    0x1(%esi),%edi
41ce5d:	50                   	push   %eax
41ce5e:	8b 45 08             	mov    0x8(%ebp),%eax
41ce61:	6a 01                	push   $0x1
41ce63:	57                   	push   %edi
41ce64:	ff 70 04             	push   0x4(%eax)
41ce67:	ff 30                	push   (%eax)
41ce69:	e8 58 98 00 00       	call   0x4266c6
41ce6e:	83 c9 ff             	or     $0xffffffff,%ecx
41ce71:	83 c4 1c             	add    $0x1c,%esp
41ce74:	8b d0                	mov    %eax,%edx
41ce76:	39 4d 10             	cmp    %ecx,0x10(%ebp)
41ce79:	74 17                	je     0x41ce92
41ce7b:	8b 4d 10             	mov    0x10(%ebp),%ecx
41ce7e:	33 c0                	xor    %eax,%eax
41ce80:	83 7d f4 2d          	cmpl   $0x2d,-0xc(%ebp)
41ce84:	0f 94 c0             	sete   %al
41ce87:	2b c8                	sub    %eax,%ecx
41ce89:	33 c0                	xor    %eax,%eax
41ce8b:	85 f6                	test   %esi,%esi
41ce8d:	0f 9f c0             	setg   %al
41ce90:	2b c8                	sub    %eax,%ecx
41ce92:	ff 75 2c             	push   0x2c(%ebp)
41ce95:	8d 45 f4             	lea    -0xc(%ebp),%eax
41ce98:	ff 75 28             	push   0x28(%ebp)
41ce9b:	52                   	push   %edx
41ce9c:	50                   	push   %eax
41ce9d:	57                   	push   %edi
41ce9e:	8b 7d 0c             	mov    0xc(%ebp),%edi
41cea1:	51                   	push   %ecx
41cea2:	33 c9                	xor    %ecx,%ecx
41cea4:	83 7d f4 2d          	cmpl   $0x2d,-0xc(%ebp)
41cea8:	0f 94 c1             	sete   %cl
41ceab:	33 c0                	xor    %eax,%eax
41cead:	85 f6                	test   %esi,%esi
41ceaf:	0f 9f c0             	setg   %al
41ceb2:	03 cf                	add    %edi,%ecx
41ceb4:	03 c1                	add    %ecx,%eax
41ceb6:	50                   	push   %eax
41ceb7:	e8 10 97 00 00       	call   0x4265cc
41cebc:	83 c4 1c             	add    $0x1c,%esp
41cebf:	85 c0                	test   %eax,%eax
41cec1:	74 05                	je     0x41cec8
41cec3:	c6 07 00             	movb   $0x0,(%edi)
41cec6:	eb 1c                	jmp    0x41cee4
41cec8:	ff 75 2c             	push   0x2c(%ebp)
41cecb:	8d 45 f4             	lea    -0xc(%ebp),%eax
41cece:	6a 00                	push   $0x0
41ced0:	50                   	push   %eax
41ced1:	ff 75 24             	push   0x24(%ebp)
41ced4:	ff 75 20             	push   0x20(%ebp)
41ced7:	56                   	push   %esi
41ced8:	ff 75 10             	push   0x10(%ebp)
41cedb:	57                   	push   %edi
41cedc:	e8 07 00 00 00       	call   0x41cee8
41cee1:	83 c4 20             	add    $0x20,%esp
41cee4:	5f                   	pop    %edi
41cee5:	5e                   	pop    %esi
41cee6:	c9                   	leave
41cee7:	c3                   	ret
41cee8:	8b ff                	mov    %edi,%edi
41ceea:	55                   	push   %ebp
41ceeb:	8b ec                	mov    %esp,%ebp
41ceed:	56                   	push   %esi
41ceee:	57                   	push   %edi
41ceef:	8b 7d 10             	mov    0x10(%ebp),%edi
41cef2:	33 d2                	xor    %edx,%edx
41cef4:	8b c7                	mov    %edi,%eax
41cef6:	85 ff                	test   %edi,%edi
41cef8:	7f 02                	jg     0x41cefc
41cefa:	8b c2                	mov    %edx,%eax
41cefc:	83 c0 09             	add    $0x9,%eax
41ceff:	39 45 0c             	cmp    %eax,0xc(%ebp)
41cf02:	77 21                	ja     0x41cf25
41cf04:	8b 4d 24             	mov    0x24(%ebp),%ecx
41cf07:	6a 22                	push   $0x22
41cf09:	5e                   	pop    %esi
41cf0a:	51                   	push   %ecx
41cf0b:	52                   	push   %edx
41cf0c:	52                   	push   %edx
41cf0d:	52                   	push   %edx
41cf0e:	52                   	push   %edx
41cf0f:	52                   	push   %edx
41cf10:	c6 41 1c 01          	movb   $0x1,0x1c(%ecx)
41cf14:	89 71 18             	mov    %esi,0x18(%ecx)
41cf17:	e8 55 04 ff ff       	call   0x40d371
41cf1c:	83 c4 18             	add    $0x18,%esp
41cf1f:	8b c6                	mov    %esi,%eax
41cf21:	5f                   	pop    %edi
41cf22:	5e                   	pop    %esi
41cf23:	5d                   	pop    %ebp
41cf24:	c3                   	ret
41cf25:	53                   	push   %ebx
41cf26:	8b 5d 08             	mov    0x8(%ebp),%ebx
41cf29:	38 55 20             	cmp    %dl,0x20(%ebp)
41cf2c:	74 22                	je     0x41cf50
41cf2e:	8b 4d 1c             	mov    0x1c(%ebp),%ecx
41cf31:	33 c0                	xor    %eax,%eax
41cf33:	85 ff                	test   %edi,%edi
41cf35:	0f 9f c0             	setg   %al
41cf38:	50                   	push   %eax
41cf39:	33 c0                	xor    %eax,%eax
41cf3b:	83 39 2d             	cmpl   $0x2d,(%ecx)
41cf3e:	0f 94 c0             	sete   %al
41cf41:	03 c3                	add    %ebx,%eax
41cf43:	50                   	push   %eax
41cf44:	ff 75 0c             	push   0xc(%ebp)
41cf47:	53                   	push   %ebx
41cf48:	e8 d6 03 00 00       	call   0x41d323
41cf4d:	83 c4 10             	add    $0x10,%esp
41cf50:	8b 45 1c             	mov    0x1c(%ebp),%eax
41cf53:	8b f3                	mov    %ebx,%esi
41cf55:	83 38 2d             	cmpl   $0x2d,(%eax)
41cf58:	75 06                	jne    0x41cf60
41cf5a:	c6 03 2d             	movb   $0x2d,(%ebx)
41cf5d:	8d 73 01             	lea    0x1(%ebx),%esi
41cf60:	85 ff                	test   %edi,%edi
41cf62:	7e 28                	jle    0x41cf8c
41cf64:	8a 46 01             	mov    0x1(%esi),%al
41cf67:	88 06                	mov    %al,(%esi)
41cf69:	46                   	inc    %esi
41cf6a:	8b 45 24             	mov    0x24(%ebp),%eax
41cf6d:	80 78 14 00          	cmpb   $0x0,0x14(%eax)
41cf71:	75 0a                	jne    0x41cf7d
41cf73:	8b c8                	mov    %eax,%ecx