410ba2:	e8 de 21 00 00       	call   0x412d85
410ba7:	3b f2                	cmp    %edx,%esi
410ba9:	0f 82 5d 01 00 00    	jb     0x410d0c
410baf:	77 08                	ja     0x410bb9
410bb1:	3b f8                	cmp    %eax,%edi
410bb3:	0f 86 53 01 00 00    	jbe    0x410d0c
410bb9:	8b 5d 10             	mov    0x10(%ebp),%ebx
410bbc:	2b 5d ec             	sub    -0x14(%ebp),%ebx
410bbf:	2b 5d f4             	sub    -0xc(%ebp),%ebx
410bc2:	4b                   	dec    %ebx
410bc3:	e9 47 01 00 00       	jmp    0x410d0f
410bc8:	ff 75 1c             	push   0x1c(%ebp)
410bcb:	ff 75 14             	push   0x14(%ebp)
410bce:	e8 0f 03 00 00       	call   0x410ee2
410bd3:	59                   	pop    %ecx
410bd4:	59                   	pop    %ecx
410bd5:	6a 02                	push   $0x2
410bd7:	e9 b4 fe ff ff       	jmp    0x410a90
410bdc:	8b 4d ec             	mov    -0x14(%ebp),%ecx
410bdf:	e9 1b 01 00 00       	jmp    0x410cff
410be4:	85 d2                	test   %edx,%edx
410be6:	0f 89 0e 01 00 00    	jns    0x410cfa
410bec:	f7 da                	neg    %edx
410bee:	89 55 f4             	mov    %edx,-0xc(%ebp)
410bf1:	83 fa 40             	cmp    $0x40,%edx
410bf4:	72 09                	jb     0x410bff
410bf6:	8b fb                	mov    %ebx,%edi
410bf8:	8b f3                	mov    %ebx,%esi
410bfa:	e9 c1 00 00 00       	jmp    0x410cc0
410bff:	33 c0                	xor    %eax,%eax
410c01:	8d 4a ff             	lea    -0x1(%edx),%ecx
410c04:	40                   	inc    %eax
410c05:	33 d2                	xor    %edx,%edx
410c07:	e8 c4 57 01 00       	call   0x4263d0
410c0c:	8b 4d f4             	mov    -0xc(%ebp),%ecx
410c0f:	89 45 dc             	mov    %eax,-0x24(%ebp)
410c12:	83 c0 ff             	add    $0xffffffff,%eax
410c15:	89 45 e4             	mov    %eax,-0x1c(%ebp)
410c18:	8b c2                	mov    %edx,%eax
410c1a:	83 d0 ff             	adc    $0xffffffff,%eax
410c1d:	89 55 e0             	mov    %edx,-0x20(%ebp)
410c20:	89 45 e8             	mov    %eax,-0x18(%ebp)
410c23:	33 d2                	xor    %edx,%edx
410c25:	33 c0                	xor    %eax,%eax
410c27:	40                   	inc    %eax
410c28:	e8 a3 57 01 00       	call   0x4263d0
410c2d:	23 c7                	and    %edi,%eax
410c2f:	c6 45 ff 01          	movb   $0x1,-0x1(%ebp)
410c33:	23 d6                	and    %esi,%edx
410c35:	0b c2                	or     %edx,%eax
410c37:	75 03                	jne    0x410c3c
410c39:	88 5d ff             	mov    %bl,-0x1(%ebp)
410c3c:	8b 45 dc             	mov    -0x24(%ebp),%eax
410c3f:	8b 4d e0             	mov    -0x20(%ebp),%ecx
410c42:	23 c7                	and    %edi,%eax
410c44:	23 ce                	and    %esi,%ecx
410c46:	0b c1                	or     %ecx,%eax
410c48:	b1 01                	mov    $0x1,%cl
410c4a:	75 02                	jne    0x410c4e
410c4c:	8a cb                	mov    %bl,%cl
410c4e:	88 4d fd             	mov    %cl,-0x3(%ebp)
410c51:	38 5d 18             	cmp    %bl,0x18(%ebp)
410c54:	74 10                	je     0x410c66
410c56:	8b 45 e4             	mov    -0x1c(%ebp),%eax
410c59:	8b 55 e8             	mov    -0x18(%ebp),%edx
410c5c:	23 c7                	and    %edi,%eax
410c5e:	23 d6                	and    %esi,%edx
410c60:	0b c2                	or     %edx,%eax
410c62:	8a c3                	mov    %bl,%al
410c64:	74 02                	je     0x410c68
410c66:	b0 01                	mov    $0x1,%al
410c68:	88 45 fe             	mov    %al,-0x2(%ebp)
410c6b:	84 c9                	test   %cl,%cl
410c6d:	75 04                	jne    0x410c73
410c6f:	84 c0                	test   %al,%al
410c71:	74 35                	je     0x410ca8
410c73:	e8 8a 9d 00 00       	call   0x41aa02
410c78:	85 c0                	test   %eax,%eax
410c7a:	74 1b                	je     0x410c97
410c7c:	3d 00 01 00 00       	cmp    $0x100,%eax
410c81:	74 0c                	je     0x410c8f
410c83:	3d 00 02 00 00       	cmp    $0x200,%eax
410c88:	75 1e                	jne    0x410ca8
410c8a:	8a 5d 14             	mov    0x14(%ebp),%bl
410c8d:	eb 19                	jmp    0x410ca8
410c8f:	38 5d 14             	cmp    %bl,0x14(%ebp)
410c92:	0f 94 c3             	sete   %bl
410c95:	eb 11                	jmp    0x410ca8
410c97:	38 5d fd             	cmp    %bl,-0x3(%ebp)
410c9a:	74 0c                	je     0x410ca8
410c9c:	38 5d fe             	cmp    %bl,-0x2(%ebp)
410c9f:	75 05                	jne    0x410ca6
410ca1:	38 5d ff             	cmp    %bl,-0x1(%ebp)
410ca4:	74 02                	je     0x410ca8
410ca6:	b3 01                	mov    $0x1,%bl
410ca8:	8b 4d f4             	mov    -0xc(%ebp),%ecx
410cab:	8b c7                	mov    %edi,%eax
410cad:	8b d6                	mov    %esi,%edx
410caf:	e8 3c 57 01 00       	call   0x4263f0
410cb4:	8b f8                	mov    %eax,%edi
410cb6:	8b f2                	mov    %edx,%esi
410cb8:	0f b6 c3             	movzbl %bl,%eax
410cbb:	99                   	cltd
410cbc:	03 f8                	add    %eax,%edi
410cbe:	13 f2                	adc    %edx,%esi
410cc0:	8b 4d 1c             	mov    0x1c(%ebp),%ecx
410cc3:	e8 7b 26 00 00       	call   0x413343
410cc8:	3b f2                	cmp    %edx,%esi
410cca:	72 40                	jb     0x410d0c
410ccc:	77 04                	ja     0x410cd2
410cce:	3b f8                	cmp    %eax,%edi
410cd0:	76 3a                	jbe    0x410d0c
410cd2:	8b 4d 1c             	mov    0x1c(%ebp),%ecx
410cd5:	33 c0                	xor    %eax,%eax
410cd7:	8b 5d f8             	mov    -0x8(%ebp),%ebx
410cda:	0f ac f7 01          	shrd   $0x1,%esi,%edi
410cde:	d1 ee                	shr    $1,%esi
410ce0:	43                   	inc    %ebx
410ce1:	38 41 04             	cmp    %al,0x4(%ecx)
410ce4:	0f 94 c0             	sete   %al
410ce7:	48                   	dec    %eax
410ce8:	25 80 03 00 00       	and    $0x380,%eax
410ced:	83 c0 7f             	add    $0x7f,%eax
410cf0:	3b d8                	cmp    %eax,%ebx
410cf2:	7e 1b                	jle    0x410d0f
410cf4:	51                   	push   %ecx
410cf5:	e9 8a fd ff ff       	jmp    0x410a84
410cfa:	7e 10                	jle    0x410d0c
410cfc:	8b 4d f4             	mov    -0xc(%ebp),%ecx
410cff:	8b d6                	mov    %esi,%edx
410d01:	8b c7                	mov    %edi,%eax
410d03:	e8 c8 56 01 00       	call   0x4263d0
410d08:	8b f2                	mov    %edx,%esi
410d0a:	8b f8                	mov    %eax,%edi
410d0c:	8b 5d f8             	mov    -0x8(%ebp),%ebx
410d0f:	8b 4d 1c             	mov    0x1c(%ebp),%ecx
410d12:	e8 6e 20 00 00       	call   0x412d85
410d17:	23 f8                	and    %eax,%edi
410d19:	23 f2                	and    %edx,%esi
410d1b:	8b 45 1c             	mov    0x1c(%ebp),%eax
410d1e:	8b c8                	mov    %eax,%ecx
410d20:	80 78 04 00          	cmpb   $0x0,0x4(%eax)
410d24:	74 13                	je     0x410d39
410d26:	e8 59 fc ff ff       	call   0x410984
410d2b:	50                   	push   %eax
410d2c:	56                   	push   %esi
410d2d:	57                   	push   %edi
410d2e:	53                   	push   %ebx
410d2f:	ff 75 14             	push   0x14(%ebp)
410d32:	e8 f8 e6 ff ff       	call   0x40f42f
410d37:	eb 11                	jmp    0x410d4a
410d39:	e8 6b fc ff ff       	call   0x4109a9
410d3e:	50                   	push   %eax
410d3f:	56                   	push   %esi
410d40:	57                   	push   %edi
410d41:	53                   	push   %ebx
410d42:	ff 75 14             	push   0x14(%ebp)
410d45:	e8 b5 e6 ff ff       	call   0x40f3ff
410d4a:	83 c4 14             	add    $0x14,%esp
410d4d:	5f                   	pop    %edi
410d4e:	5e                   	pop    %esi
410d4f:	5b                   	pop    %ebx
410d50:	8b e5                	mov    %ebp,%esp
410d52:	5d                   	pop    %ebp
410d53:	c3                   	ret
410d54:	8b ff                	mov    %edi,%edi
410d56:	55                   	push   %ebp
410d57:	8b ec                	mov    %esp,%ebp
410d59:	83 ec 1c             	sub    $0x1c,%esp
410d5c:	33 d2                	xor    %edx,%edx
410d5e:	53                   	push   %ebx
410d5f:	8b 5d 18             	mov    0x18(%ebp),%ebx
410d62:	56                   	push   %esi
410d63:	57                   	push   %edi
410d64:	8b 7d 0c             	mov    0xc(%ebp),%edi
410d67:	38 53 04             	cmp    %dl,0x4(%ebx)
410d6a:	0f 94 c2             	sete   %dl
410d6d:	4a                   	dec    %edx
410d6e:	83 e2 1d             	and    $0x1d,%edx
410d71:	83 c2 17             	add    $0x17,%edx
410d74:	83 ff 40             	cmp    $0x40,%edi
410d77:	77 39                	ja     0x410db2
410d79:	8b 4d 08             	mov    0x8(%ebp),%ecx
410d7c:	83 39 00             	cmpl   $0x0,(%ecx)
410d7f:	76 05                	jbe    0x410d86
410d81:	8b 71 04             	mov    0x4(%ecx),%esi
410d84:	eb 02                	jmp    0x410d88
410d86:	33 f6                	xor    %esi,%esi
410d88:	83 39 01             	cmpl   $0x1,(%ecx)
410d8b:	76 05                	jbe    0x410d92
410d8d:	8b 49 08             	mov    0x8(%ecx),%ecx
410d90:	eb 02                	jmp    0x410d94
410d92:	33 c9                	xor    %ecx,%ecx
410d94:	80 7d 14 00          	cmpb   $0x0,0x14(%ebp)
410d98:	53                   	push   %ebx
410d99:	0f 94 c0             	sete   %al
410d9c:	0f b6 c0             	movzbl %al,%eax
410d9f:	50                   	push   %eax
410da0:	ff 75 10             	push   0x10(%ebp)
410da3:	33 c0                	xor    %eax,%eax
410da5:	03 c6                	add    %esi,%eax
410da7:	52                   	push   %edx
410da8:	83 d1 00             	adc    $0x0,%ecx
410dab:	51                   	push   %ecx
410dac:	50                   	push   %eax
410dad:	e9 21 01 00 00       	jmp    0x410ed3
410db2:	8b c7                	mov    %edi,%eax
410db4:	c1 ef 05             	shr    $0x5,%edi
410db7:	83 e0 1f             	and    $0x1f,%eax
410dba:	89 45 e4             	mov    %eax,-0x1c(%ebp)
410dbd:	8d 77 fe             	lea    -0x2(%edi),%esi
410dc0:	85 c0                	test   %eax,%eax
410dc2:	75 51                	jne    0x410e15
410dc4:	8b ce                	mov    %esi,%ecx
410dc6:	c1 e1 05             	shl    $0x5,%ecx
410dc9:	03 ca                	add    %edx,%ecx
410dcb:	8b 55 08             	mov    0x8(%ebp),%edx
410dce:	8b 14 ba             	mov    (%edx,%edi,4),%edx
410dd1:	8b 7d 08             	mov    0x8(%ebp),%edi
410dd4:	03 44 b7 04          	add    0x4(%edi,%esi,4),%eax
410dd8:	89 45 ec             	mov    %eax,-0x14(%ebp)
410ddb:	83 d2 00             	adc    $0x0,%edx
410dde:	80 7d 14 00          	cmpb   $0x0,0x14(%ebp)
410de2:	89 55 f4             	mov    %edx,-0xc(%ebp)
410de5:	0f 94 c2             	sete   %dl
410de8:	88 55 f0             	mov    %dl,-0x10(%ebp)
410deb:	85 f6                	test   %esi,%esi
410ded:	74 19                	je     0x410e08
410def:	83 c7 04             	add    $0x4,%edi
410df2:	83 3f 00             	cmpl   $0x0,(%edi)
410df5:	8d 7f 04             	lea    0x4(%edi),%edi
410df8:	0f 94 c0             	sete   %al
410dfb:	22 d0                	and    %al,%dl
410dfd:	83 ee 01             	sub    $0x1,%esi
410e00:	75 f0                	jne    0x410df2
410e02:	8b 45 ec             	mov    -0x14(%ebp),%eax
410e05:	88 55 f0             	mov    %dl,-0x10(%ebp)
410e08:	53                   	push   %ebx
410e09:	ff 75 f0             	push   -0x10(%ebp)
410e0c:	ff 75 10             	push   0x10(%ebp)
410e0f:	51                   	push   %ecx
410e10:	ff 75 f4             	push   -0xc(%ebp)
410e13:	eb 97                	jmp    0x410dac
410e15:	33 db                	xor    %ebx,%ebx
410e17:	89 75 fc             	mov    %esi,-0x4(%ebp)
410e1a:	c1 65 fc 05          	shll   $0x5,-0x4(%ebp)
410e1e:	8b c8                	mov    %eax,%ecx
410e20:	01 45 fc             	add    %eax,-0x4(%ebp)
410e23:	43                   	inc    %ebx
410e24:	01 55 fc             	add    %edx,-0x4(%ebp)
410e27:	89 5d f8             	mov    %ebx,-0x8(%ebp)
410e2a:	d3 65 f8             	shll   %cl,-0x8(%ebp)
410e2d:	ff 4d f8             	decl   -0x8(%ebp)
410e30:	6a 40                	push   $0x40
410e32:	59                   	pop    %ecx
410e33:	2b c8                	sub    %eax,%ecx
410e35:	8b 45 08             	mov    0x8(%ebp),%eax
410e38:	89 4d e8             	mov    %ecx,-0x18(%ebp)
410e3b:	83 c1 e0             	add    $0xffffffe0,%ecx
410e3e:	8b 54 b0 04          	mov    0x4(%eax,%esi,4),%edx
410e42:	8b 04 b8             	mov    (%eax,%edi,4),%eax
410e45:	89 55 ec             	mov    %edx,-0x14(%ebp)
410e48:	33 d2                	xor    %edx,%edx
410e4a:	e8 81 55 01 00       	call   0x4263d0
410e4f:	8b 4d e8             	mov    -0x18(%ebp),%ecx
410e52:	89 45 f4             	mov    %eax,-0xc(%ebp)
410e55:	8b 45 08             	mov    0x8(%ebp),%eax
410e58:	89 55 f0             	mov    %edx,-0x10(%ebp)
410e5b:	33 d2                	xor    %edx,%edx
410e5d:	8b 44 b8 04          	mov    0x4(%eax,%edi,4),%eax
410e61:	8b 7d f8             	mov    -0x8(%ebp),%edi
410e64:	23 c7                	and    %edi,%eax
410e66:	e8 65 55 01 00       	call   0x4263d0
410e6b:	01 45 f4             	add    %eax,-0xc(%ebp)
410e6e:	8b c7                	mov    %edi,%eax
410e70:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
410e73:	f7 d0                	not    %eax
410e75:	11 55 f0             	adc    %edx,-0x10(%ebp)
410e78:	33 d2                	xor    %edx,%edx
410e7a:	23 45 ec             	and    -0x14(%ebp),%eax
410e7d:	e8 6e 55 01 00       	call   0x4263f0
410e82:	8b 4d f4             	mov    -0xc(%ebp),%ecx
410e85:	03 c8                	add    %eax,%ecx
410e87:	8b 45 f0             	mov    -0x10(%ebp),%eax
410e8a:	89 4d f4             	mov    %ecx,-0xc(%ebp)
410e8d:	13 c2                	adc    %edx,%eax
410e8f:	80 7d 14 00          	cmpb   $0x0,0x14(%ebp)
410e93:	89 45 f0             	mov    %eax,-0x10(%ebp)
410e96:	75 05                	jne    0x410e9d
410e98:	85 7d ec             	test   %edi,-0x14(%ebp)
410e9b:	74 02                	je     0x410e9f
410e9d:	32 db                	xor    %bl,%bl
410e9f:	88 5d f8             	mov    %bl,-0x8(%ebp)
410ea2:	85 f6                	test   %esi,%esi
410ea4:	74 1f                	je     0x410ec5
410ea6:	8b 4d 08             	mov    0x8(%ebp),%ecx
410ea9:	83 c1 04             	add    $0x4,%ecx
410eac:	83 39 00             	cmpl   $0x0,(%ecx)
410eaf:	8d 49 04             	lea    0x4(%ecx),%ecx
410eb2:	0f 94 c0             	sete   %al
410eb5:	22 d8                	and    %al,%bl
410eb7:	88 5d f8             	mov    %bl,-0x8(%ebp)
410eba:	83 ee 01             	sub    $0x1,%esi
410ebd:	75 ed                	jne    0x410eac
410ebf:	8b 4d f4             	mov    -0xc(%ebp),%ecx
410ec2:	8b 45 f0             	mov    -0x10(%ebp),%eax
410ec5:	ff 75 18             	push   0x18(%ebp)
410ec8:	ff 75 f8             	push   -0x8(%ebp)
410ecb:	ff 75 10             	push   0x10(%ebp)
410ece:	ff 75 fc             	push   -0x4(%ebp)
410ed1:	50                   	push   %eax
410ed2:	51                   	push   %ecx
410ed3:	e8 30 fb ff ff       	call   0x410a08
410ed8:	83 c4 18             	add    $0x18,%esp
410edb:	5f                   	pop    %edi
410edc:	5e                   	pop    %esi
410edd:	5b                   	pop    %ebx
410ede:	8b e5                	mov    %ebp,%esp
410ee0:	5d                   	pop    %ebp
410ee1:	c3                   	ret
410ee2:	8b ff                	mov    %edi,%edi
410ee4:	55                   	push   %ebp
410ee5:	8b ec                	mov    %esp,%ebp
410ee7:	8b 4d 0c             	mov    0xc(%ebp),%ecx
410eea:	80 79 04 00          	cmpb   $0x0,0x4(%ecx)
410eee:	74 12                	je     0x410f02
410ef0:	e8 8f fa ff ff       	call   0x410984
410ef5:	50                   	push   %eax
410ef6:	ff 75 08             	push   0x8(%ebp)
410ef9:	e8 90 e5 ff ff       	call   0x40f48e
410efe:	59                   	pop    %ecx
410eff:	59                   	pop    %ecx
410f00:	5d                   	pop    %ebp
410f01:	c3                   	ret
410f02:	e8 a2 fa ff ff       	call   0x4109a9
410f07:	33 c9                	xor    %ecx,%ecx
410f09:	38 4d 08             	cmp    %cl,0x8(%ebp)
410f0c:	0f 95 c1             	setne  %cl
410f0f:	c1 e1 1f             	shl    $0x1f,%ecx
410f12:	89 08                	mov    %ecx,(%eax)
410f14:	5d                   	pop    %ebp
410f15:	c3                   	ret
410f16:	8b ff                	mov    %edi,%edi
410f18:	55                   	push   %ebp
410f19:	8b ec                	mov    %esp,%ebp
410f1b:	81 ec 2c 0b 00 00    	sub    $0xb2c,%esp
410f21:	a1 28 ba 43 00       	mov    0x43ba28,%eax
410f26:	33 c5                	xor    %ebp,%eax
410f28:	89 45 fc             	mov    %eax,-0x4(%ebp)
410f2b:	8b 4d 0c             	mov    0xc(%ebp),%ecx