415cd5:	83 e0 07             	and    $0x7,%eax
415cd8:	89 46 04             	mov    %eax,0x4(%esi)
415cdb:	8b ce                	mov    %esi,%ecx
415cdd:	e8 28 3a ff ff       	call   0x40970a
415ce2:	8b 93 8c 1e 00 00    	mov    0x1e8c(%ebx),%edx
415ce8:	25 fe ff 00 00       	and    $0xfffe,%eax
415ced:	3b 84 93 0c 1e 00 00 	cmp    0x1e0c(%ebx,%edx,4),%eax
415cf4:	73 29                	jae    0x415d1f
415cf6:	6a 10                	push   $0x10
415cf8:	59                   	pop    %ecx
415cf9:	2b ca                	sub    %edx,%ecx
415cfb:	d3 e8                	shr    %cl,%eax
415cfd:	0f b6 8c 18 90 1e 00 	movzbl 0x1e90(%eax,%ebx,1),%ecx
415d04:	00
415d05:	03 4e 04             	add    0x4(%esi),%ecx
415d08:	8b d1                	mov    %ecx,%edx
415d0a:	c1 ea 03             	shr    $0x3,%edx
415d0d:	01 16                	add    %edx,(%esi)
415d0f:	83 e1 07             	and    $0x7,%ecx
415d12:	89 4e 04             	mov    %ecx,0x4(%esi)
415d15:	0f b7 84 43 90 22 00 	movzwl 0x2290(%ebx,%eax,2),%eax
415d1c:	00
415d1d:	eb 63                	jmp    0x415d82
415d1f:	42                   	inc    %edx
415d20:	c7 45 08 0f 00 00 00 	movl   $0xf,0x8(%ebp)
415d27:	83 fa 0f             	cmp    $0xf,%edx
415d2a:	73 19                	jae    0x415d45
415d2c:	8d 8c 93 0c 1e 00 00 	lea    0x1e0c(%ebx,%edx,4),%ecx
415d33:	3b 01                	cmp    (%ecx),%eax
415d35:	72 0b                	jb     0x415d42
415d37:	42                   	inc    %edx
415d38:	83 c1 04             	add    $0x4,%ecx
415d3b:	83 fa 0f             	cmp    $0xf,%edx
415d3e:	72 f3                	jb     0x415d33
415d40:	eb 03                	jmp    0x415d45
415d42:	89 55 08             	mov    %edx,0x8(%ebp)
415d45:	8b 4e 04             	mov    0x4(%esi),%ecx
415d48:	03 4d 08             	add    0x8(%ebp),%ecx
415d4b:	6a 10                	push   $0x10
415d4d:	8b d1                	mov    %ecx,%edx
415d4f:	c1 ea 03             	shr    $0x3,%edx
415d52:	01 16                	add    %edx,(%esi)
415d54:	8b 55 08             	mov    0x8(%ebp),%edx
415d57:	83 e1 07             	and    $0x7,%ecx
415d5a:	89 4e 04             	mov    %ecx,0x4(%esi)
415d5d:	2b 84 93 08 1e 00 00 	sub    0x1e08(%ebx,%edx,4),%eax
415d64:	59                   	pop    %ecx
415d65:	2b ca                	sub    %edx,%ecx
415d67:	d3 e8                	shr    %cl,%eax
415d69:	03 84 93 4c 1e 00 00 	add    0x1e4c(%ebx,%edx,4),%eax
415d70:	3b 83 08 1e 00 00    	cmp    0x1e08(%ebx),%eax
415d76:	72 02                	jb     0x415d7a
415d78:	33 c0                	xor    %eax,%eax
415d7a:	0f b7 84 43 90 2a 00 	movzwl 0x2a90(%ebx,%eax,2),%eax
415d81:	00
415d82:	01 45 f0             	add    %eax,-0x10(%ebp)
415d85:	eb 25                	jmp    0x415dac
415d87:	8b ce                	mov    %esi,%ecx
415d89:	e8 81 c9 ff ff       	call   0x41270f
415d8e:	6a 20                	push   $0x20
415d90:	59                   	pop    %ecx
415d91:	2b 4d 08             	sub    0x8(%ebp),%ecx
415d94:	d3 e8                	shr    %cl,%eax
415d96:	01 45 f0             	add    %eax,-0x10(%ebp)
415d99:	8b 46 04             	mov    0x4(%esi),%eax
415d9c:	03 45 08             	add    0x8(%ebp),%eax
415d9f:	8b c8                	mov    %eax,%ecx
415da1:	c1 e9 03             	shr    $0x3,%ecx
415da4:	01 0e                	add    %ecx,(%esi)
415da6:	83 e0 07             	and    $0x7,%eax
415da9:	89 46 04             	mov    %eax,0x4(%esi)
415dac:	8b 55 f0             	mov    -0x10(%ebp),%edx
415daf:	81 fa 00 01 00 00    	cmp    $0x100,%edx
415db5:	76 1d                	jbe    0x415dd4
415db7:	8b 45 f8             	mov    -0x8(%ebp),%eax
415dba:	40                   	inc    %eax
415dbb:	89 45 f4             	mov    %eax,-0xc(%ebp)
415dbe:	81 fa 00 20 00 00    	cmp    $0x2000,%edx
415dc4:	76 0e                	jbe    0x415dd4
415dc6:	ff 45 f4             	incl   -0xc(%ebp)
415dc9:	81 fa 00 00 04 00    	cmp    $0x40000,%edx
415dcf:	76 03                	jbe    0x415dd4
415dd1:	ff 45 f4             	incl   -0xc(%ebp)
415dd4:	8b 47 5c             	mov    0x5c(%edi),%eax
415dd7:	89 47 60             	mov    %eax,0x60(%edi)
415dda:	8b 47 58             	mov    0x58(%edi),%eax
415ddd:	89 47 5c             	mov    %eax,0x5c(%edi)
415de0:	8b 47 54             	mov    0x54(%edi),%eax
415de3:	89 47 58             	mov    %eax,0x58(%edi)
415de6:	8b 45 f4             	mov    -0xc(%ebp),%eax
415de9:	89 47 68             	mov    %eax,0x68(%edi)
415dec:	89 45 08             	mov    %eax,0x8(%ebp)
415def:	8b 47 70             	mov    0x70(%edi),%eax
415df2:	8b c8                	mov    %eax,%ecx
415df4:	2b ca                	sub    %edx,%ecx
415df6:	89 57 54             	mov    %edx,0x54(%edi)
415df9:	8b 97 f4 e6 00 00    	mov    0xe6f4(%edi),%edx
415dff:	81 c2 ff ef ff ff    	add    $0xffffefff,%edx
415e05:	89 4d ec             	mov    %ecx,-0x14(%ebp)
415e08:	3b ca                	cmp    %edx,%ecx
415e0a:	0f 83 3a 01 00 00    	jae    0x415f4a
415e10:	3b c2                	cmp    %edx,%eax
415e12:	0f 83 32 01 00 00    	jae    0x415f4a
415e18:	8b 97 34 4b 00 00    	mov    0x4b34(%edi),%edx
415e1e:	03 ca                	add    %edx,%ecx
415e20:	89 4d fc             	mov    %ecx,-0x4(%ebp)
415e23:	8b 4d f4             	mov    -0xc(%ebp),%ecx
415e26:	03 d0                	add    %eax,%edx
415e28:	03 c1                	add    %ecx,%eax
415e2a:	89 55 f8             	mov    %edx,-0x8(%ebp)
415e2d:	89 47 70             	mov    %eax,0x70(%edi)
415e30:	39 4d f0             	cmp    %ecx,-0x10(%ebp)
415e33:	73 5b                	jae    0x415e90
415e35:	83 f9 08             	cmp    $0x8,%ecx
415e38:	0f 82 81 00 00 00    	jb     0x415ebf
415e3e:	8b c1                	mov    %ecx,%eax
415e40:	c1 e8 03             	shr    $0x3,%eax
415e43:	89 45 ec             	mov    %eax,-0x14(%ebp)
415e46:	8b 45 fc             	mov    -0x4(%ebp),%eax
415e49:	8b ca                	mov    %edx,%ecx
415e4b:	8a 10                	mov    (%eax),%dl
415e4d:	83 6d 08 08          	subl   $0x8,0x8(%ebp)
415e51:	88 11                	mov    %dl,(%ecx)
415e53:	8a 50 01             	mov    0x1(%eax),%dl
415e56:	88 51 01             	mov    %dl,0x1(%ecx)
415e59:	8a 50 02             	mov    0x2(%eax),%dl
415e5c:	88 51 02             	mov    %dl,0x2(%ecx)
415e5f:	8a 50 03             	mov    0x3(%eax),%dl
415e62:	88 51 03             	mov    %dl,0x3(%ecx)
415e65:	8a 50 04             	mov    0x4(%eax),%dl
415e68:	88 51 04             	mov    %dl,0x4(%ecx)
415e6b:	8a 50 05             	mov    0x5(%eax),%dl
415e6e:	88 51 05             	mov    %dl,0x5(%ecx)
415e71:	8a 50 06             	mov    0x6(%eax),%dl
415e74:	88 51 06             	mov    %dl,0x6(%ecx)
415e77:	8a 50 07             	mov    0x7(%eax),%dl
415e7a:	88 51 07             	mov    %dl,0x7(%ecx)
415e7d:	83 c0 08             	add    $0x8,%eax
415e80:	83 c1 08             	add    $0x8,%ecx
415e83:	ff 4d ec             	decl   -0x14(%ebp)
415e86:	75 c3                	jne    0x415e4b
415e88:	89 4d f8             	mov    %ecx,-0x8(%ebp)
415e8b:	89 45 fc             	mov    %eax,-0x4(%ebp)
415e8e:	eb 2f                	jmp    0x415ebf
415e90:	83 f9 08             	cmp    $0x8,%ecx
415e93:	72 2a                	jb     0x415ebf
415e95:	8b 45 f4             	mov    -0xc(%ebp),%eax
415e98:	c1 e8 03             	shr    $0x3,%eax
415e9b:	89 45 ec             	mov    %eax,-0x14(%ebp)
415e9e:	6a 08                	push   $0x8
415ea0:	ff 75 fc             	push   -0x4(%ebp)
415ea3:	ff 75 f8             	push   -0x8(%ebp)
415ea6:	e8 c5 5d 00 00       	call   0x41bc70
415eab:	83 45 fc 08          	addl   $0x8,-0x4(%ebp)
415eaf:	83 45 f8 08          	addl   $0x8,-0x8(%ebp)
415eb3:	83 6d 08 08          	subl   $0x8,0x8(%ebp)
415eb7:	83 c4 0c             	add    $0xc,%esp
415eba:	ff 4d ec             	decl   -0x14(%ebp)
415ebd:	75 df                	jne    0x415e9e
415ebf:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
415ec3:	0f 86 63 fb ff ff    	jbe    0x415a2c
415ec9:	83 7d 08 01          	cmpl   $0x1,0x8(%ebp)
415ecd:	8b 45 fc             	mov    -0x4(%ebp),%eax
415ed0:	8a 00                	mov    (%eax),%al
415ed2:	8b 4d f8             	mov    -0x8(%ebp),%ecx
415ed5:	88 01                	mov    %al,(%ecx)
415ed7:	0f 86 4f fb ff ff    	jbe    0x415a2c
415edd:	83 7d 08 02          	cmpl   $0x2,0x8(%ebp)
415ee1:	8b 45 fc             	mov    -0x4(%ebp),%eax
415ee4:	8a 40 01             	mov    0x1(%eax),%al
415ee7:	88 41 01             	mov    %al,0x1(%ecx)
415eea:	0f 86 3c fb ff ff    	jbe    0x415a2c
415ef0:	83 7d 08 03          	cmpl   $0x3,0x8(%ebp)
415ef4:	8b 45 fc             	mov    -0x4(%ebp),%eax
415ef7:	8a 40 02             	mov    0x2(%eax),%al
415efa:	88 41 02             	mov    %al,0x2(%ecx)
415efd:	0f 86 29 fb ff ff    	jbe    0x415a2c
415f03:	83 7d 08 04          	cmpl   $0x4,0x8(%ebp)
415f07:	8b 45 fc             	mov    -0x4(%ebp),%eax
415f0a:	8a 40 03             	mov    0x3(%eax),%al
415f0d:	88 41 03             	mov    %al,0x3(%ecx)
415f10:	0f 86 16 fb ff ff    	jbe    0x415a2c
415f16:	83 7d 08 05          	cmpl   $0x5,0x8(%ebp)
415f1a:	8b 45 fc             	mov    -0x4(%ebp),%eax
415f1d:	8a 40 04             	mov    0x4(%eax),%al
415f20:	88 41 04             	mov    %al,0x4(%ecx)
415f23:	0f 86 03 fb ff ff    	jbe    0x415a2c
415f29:	83 7d 08 06          	cmpl   $0x6,0x8(%ebp)
415f2d:	8b 45 fc             	mov    -0x4(%ebp),%eax
415f30:	8a 40 05             	mov    0x5(%eax),%al
415f33:	88 41 05             	mov    %al,0x5(%ecx)
415f36:	0f 86 f0 fa ff ff    	jbe    0x415a2c
415f3c:	8b 45 fc             	mov    -0x4(%ebp),%eax
415f3f:	8a 40 06             	mov    0x6(%eax),%al
415f42:	88 41 06             	mov    %al,0x6(%ecx)
415f45:	e9 e2 fa ff ff       	jmp    0x415a2c
415f4a:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)
415f4e:	0f 86 d8 fa ff ff    	jbe    0x415a2c
415f54:	8b 97 f8 e6 00 00    	mov    0xe6f8(%edi),%edx
415f5a:	8b 87 34 4b 00 00    	mov    0x4b34(%edi),%eax
415f60:	ff 4d 08             	decl   0x8(%ebp)
415f63:	23 ca                	and    %edx,%ecx
415f65:	8a 0c 01             	mov    (%ecx,%eax,1),%cl
415f68:	8b 57 70             	mov    0x70(%edi),%edx
415f6b:	88 0c 10             	mov    %cl,(%eax,%edx,1)
415f6e:	8b 4d ec             	mov    -0x14(%ebp),%ecx
415f71:	8b 47 70             	mov    0x70(%edi),%eax
415f74:	8b 97 f8 e6 00 00    	mov    0xe6f8(%edi),%edx
415f7a:	41                   	inc    %ecx
415f7b:	40                   	inc    %eax
415f7c:	23 c2                	and    %edx,%eax
415f7e:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
415f82:	89 4d ec             	mov    %ecx,-0x14(%ebp)
415f85:	89 47 70             	mov    %eax,0x70(%edi)
415f88:	77 d0                	ja     0x415f5a
415f8a:	e9 9d fa ff ff       	jmp    0x415a2c
415f8f:	3b c1                	cmp    %ecx,%eax
415f91:	75 2c                	jne    0x415fbf
415f93:	8d 45 d0             	lea    -0x30(%ebp),%eax
415f96:	50                   	push   %eax
415f97:	56                   	push   %esi
415f98:	8b cf                	mov    %edi,%ecx
415f9a:	e8 15 df ff ff       	call   0x413eb4
415f9f:	84 c0                	test   %al,%al
415fa1:	74 13                	je     0x415fb6
415fa3:	8d 45 d0             	lea    -0x30(%ebp),%eax
415fa6:	50                   	push   %eax
415fa7:	8b cf                	mov    %edi,%ecx
415fa9:	e8 e4 f3 ff ff       	call   0x415392
415fae:	84 c0                	test   %al,%al
415fb0:	0f 85 76 fa ff ff    	jne    0x415a2c
415fb6:	b0 01                	mov    $0x1,%al
415fb8:	5e                   	pop    %esi
415fb9:	5f                   	pop    %edi
415fba:	5b                   	pop    %ebx
415fbb:	c9                   	leave
415fbc:	c2 04 00             	ret    $0x4
415fbf:	3d 01 01 00 00       	cmp    $0x101,%eax
415fc4:	0f 85 9f 01 00 00    	jne    0x416169
415fca:	8b 47 68             	mov    0x68(%edi),%eax
415fcd:	85 c0                	test   %eax,%eax
415fcf:	0f 84 57 fa ff ff    	je     0x415a2c
415fd5:	8b 4f 70             	mov    0x70(%edi),%ecx
415fd8:	8b 57 54             	mov    0x54(%edi),%edx
415fdb:	89 45 08             	mov    %eax,0x8(%ebp)
415fde:	8b c1                	mov    %ecx,%eax
415fe0:	2b c2                	sub    %edx,%eax
415fe2:	8b 97 f4 e6 00 00    	mov    0xe6f4(%edi),%edx
415fe8:	81 c2 ff ef ff ff    	add    $0xffffefff,%edx
415fee:	89 45 ec             	mov    %eax,-0x14(%ebp)
415ff1:	3b c2                	cmp    %edx,%eax
415ff3:	0f 83 2b 01 00 00    	jae    0x416124
415ff9:	3b ca                	cmp    %edx,%ecx
415ffb:	0f 83 23 01 00 00    	jae    0x416124
416001:	8b 97 34 4b 00 00    	mov    0x4b34(%edi),%edx
416007:	03 c2                	add    %edx,%eax
416009:	89 45 f8             	mov    %eax,-0x8(%ebp)
41600c:	8b 45 08             	mov    0x8(%ebp),%eax
41600f:	03 d1                	add    %ecx,%edx
416011:	03 c8                	add    %eax,%ecx
416013:	89 55 fc             	mov    %edx,-0x4(%ebp)
416016:	89 4f 70             	mov    %ecx,0x70(%edi)
416019:	39 47 54             	cmp    %eax,0x54(%edi)
41601c:	73 55                	jae    0x416073
41601e:	83 f8 08             	cmp    $0x8,%eax
416021:	72 7c                	jb     0x41609f
416023:	c1 e8 03             	shr    $0x3,%eax
416026:	89 45 ec             	mov    %eax,-0x14(%ebp)
416029:	8b 45 f8             	mov    -0x8(%ebp),%eax
41602c:	8b ca                	mov    %edx,%ecx
41602e:	8a 10                	mov    (%eax),%dl
416030:	83 6d 08 08          	subl   $0x8,0x8(%ebp)
416034:	88 11                	mov    %dl,(%ecx)
416036:	8a 50 01             	mov    0x1(%eax),%dl
416039:	88 51 01             	mov    %dl,0x1(%ecx)
41603c:	8a 50 02             	mov    0x2(%eax),%dl
41603f:	88 51 02             	mov    %dl,0x2(%ecx)
416042:	8a 50 03             	mov    0x3(%eax),%dl
416045:	88 51 03             	mov    %dl,0x3(%ecx)
416048:	8a 50 04             	mov    0x4(%eax),%dl
41604b:	88 51 04             	mov    %dl,0x4(%ecx)
41604e:	8a 50 05             	mov    0x5(%eax),%dl
416051:	88 51 05             	mov    %dl,0x5(%ecx)
416054:	8a 50 06             	mov    0x6(%eax),%dl
416057:	88 51 06             	mov    %dl,0x6(%ecx)
41605a:	8a 50 07             	mov    0x7(%eax),%dl
41605d:	88 51 07             	mov    %dl,0x7(%ecx)
416060:	83 c0 08             	add    $0x8,%eax
416063:	83 c1 08             	add    $0x8,%ecx
416066:	ff 4d ec             	decl   -0x14(%ebp)
416069:	75 c3                	jne    0x41602e
41606b:	89 4d fc             	mov    %ecx,-0x4(%ebp)
41606e:	89 45 f8             	mov    %eax,-0x8(%ebp)
416071:	eb 2c                	jmp    0x41609f
416073:	83 f8 08             	cmp    $0x8,%eax
416076:	72 27                	jb     0x41609f
416078:	c1 e8 03             	shr    $0x3,%eax
41607b:	89 45 ec             	mov    %eax,-0x14(%ebp)
41607e:	6a 08                	push   $0x8
416080:	ff 75 f8             	push   -0x8(%ebp)
416083:	ff 75 fc             	push   -0x4(%ebp)
416086:	e8 e5 5b 00 00       	call   0x41bc70
41608b:	83 45 f8 08          	addl   $0x8,-0x8(%ebp)
41608f:	83 45 fc 08          	addl   $0x8,-0x4(%ebp)
416093:	83 6d 08 08          	subl   $0x8,0x8(%ebp)
416097:	83 c4 0c             	add    $0xc,%esp
41609a:	ff 4d ec             	decl   -0x14(%ebp)
41609d:	75 df                	jne    0x41607e
41609f:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
4160a3:	0f 86 83 f9 ff ff    	jbe    0x415a2c
4160a9:	83 7d 08 01          	cmpl   $0x1,0x8(%ebp)
4160ad:	8b 45 f8             	mov    -0x8(%ebp),%eax
4160b0:	8a 00                	mov    (%eax),%al
4160b2:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4160b5:	88 01                	mov    %al,(%ecx)
4160b7:	0f 86 6f f9 ff ff    	jbe    0x415a2c
4160bd:	83 7d 08 02          	cmpl   $0x2,0x8(%ebp)
4160c1:	8b 45 f8             	mov    -0x8(%ebp),%eax
4160c4:	8a 40 01             	mov    0x1(%eax),%al
4160c7:	88 41 01             	mov    %al,0x1(%ecx)
4160ca:	0f 86 5c f9 ff ff    	jbe    0x415a2c
4160d0:	83 7d 08 03          	cmpl   $0x3,0x8(%ebp)
4160d4:	8b 45 f8             	mov    -0x8(%ebp),%eax
4160d7:	8a 40 02             	mov    0x2(%eax),%al
4160da:	88 41 02             	mov    %al,0x2(%ecx)
4160dd:	0f 86 49 f9 ff ff    	jbe    0x415a2c
4160e3:	83 7d 08 04          	cmpl   $0x4,0x8(%ebp)
4160e7:	8b 45 f8             	mov    -0x8(%ebp),%eax
4160ea:	8a 40 03             	mov    0x3(%eax),%al
4160ed:	88 41 03             	mov    %al,0x3(%ecx)
4160f0:	0f 86 36 f9 ff ff    	jbe    0x415a2c
4160f6:	83 7d 08 05          	cmpl   $0x5,0x8(%ebp)
4160fa:	8b 45 f8             	mov    -0x8(%ebp),%eax
4160fd:	8a 40 04             	mov    0x4(%eax),%al
416100:	88 41 04             	mov    %al,0x4(%ecx)
416103:	0f 86 23 f9 ff ff    	jbe    0x415a2c
416109:	83 7d 08 06          	cmpl   $0x6,0x8(%ebp)
41610d:	8b 45 f8             	mov    -0x8(%ebp),%eax
416110:	8a 40 05             	mov    0x5(%eax),%al
416113:	88 41 05             	mov    %al,0x5(%ecx)
416116:	0f 86 10 f9 ff ff    	jbe    0x415a2c
41611c:	8b 45 f8             	mov    -0x8(%ebp),%eax
41611f:	e9 1b fe ff ff       	jmp    0x415f3f
416124:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
416128:	0f 86 fe f8 ff ff    	jbe    0x415a2c
41612e:	8b 97 f8 e6 00 00    	mov    0xe6f8(%edi),%edx
416134:	8b 8f 34 4b 00 00    	mov    0x4b34(%edi),%ecx
41613a:	ff 4d 08             	decl   0x8(%ebp)
41613d:	23 c2                	and    %edx,%eax
41613f:	8a 04 08             	mov    (%eax,%ecx,1),%al