412b59:	80 3f 31             	cmpb   $0x31,(%edi)
412b5c:	75 05                	jne    0x412b63
412b5e:	ff 43 04             	incl   0x4(%ebx)
412b61:	eb 1f                	jmp    0x412b82
412b63:	8d 77 01             	lea    0x1(%edi),%esi
412b66:	8b ce                	mov    %esi,%ecx
412b68:	8d 51 01             	lea    0x1(%ecx),%edx
412b6b:	8a 01                	mov    (%ecx),%al
412b6d:	41                   	inc    %ecx
412b6e:	84 c0                	test   %al,%al
412b70:	75 f9                	jne    0x412b6b
412b72:	2b ca                	sub    %edx,%ecx
412b74:	8d 41 01             	lea    0x1(%ecx),%eax
412b77:	50                   	push   %eax
412b78:	56                   	push   %esi
412b79:	57                   	push   %edi
412b7a:	e8 b1 17 ff ff       	call   0x404330
412b7f:	83 c4 0c             	add    $0xc,%esp
412b82:	33 c0                	xor    %eax,%eax
412b84:	5b                   	pop    %ebx
412b85:	5f                   	pop    %edi
412b86:	5e                   	pop    %esi
412b87:	c9                   	leave
412b88:	c3                   	ret
412b89:	cc                   	int3
412b8a:	cc                   	int3
412b8b:	cc                   	int3
412b8c:	cc                   	int3
412b8d:	cc                   	int3
412b8e:	cc                   	int3
412b8f:	cc                   	int3
412b90:	8b ff                	mov    %edi,%edi
412b92:	55                   	push   %ebp
412b93:	8b ec                	mov    %esp,%ebp
412b95:	81 ec 20 02 00 00    	sub    $0x220,%esp
412b9b:	8b 4d 08             	mov    0x8(%ebp),%ecx
412b9e:	53                   	push   %ebx
412b9f:	56                   	push   %esi
412ba0:	57                   	push   %edi
412ba1:	8b 01                	mov    (%ecx),%eax
412ba3:	89 45 f8             	mov    %eax,-0x8(%ebp)
412ba6:	85 c0                	test   %eax,%eax
412ba8:	0f 84 82 04 00 00    	je     0x413030
412bae:	8b 7d 0c             	mov    0xc(%ebp),%edi
412bb1:	8b 37                	mov    (%edi),%esi
412bb3:	89 75 ec             	mov    %esi,-0x14(%ebp)
412bb6:	85 f6                	test   %esi,%esi
412bb8:	0f 84 72 04 00 00    	je     0x413030
412bbe:	48                   	dec    %eax
412bbf:	89 45 f4             	mov    %eax,-0xc(%ebp)
412bc2:	83 c6 ff             	add    $0xffffffff,%esi
412bc5:	0f 85 3e 01 00 00    	jne    0x412d09
412bcb:	8b 5f 04             	mov    0x4(%edi),%ebx
412bce:	83 fb 01             	cmp    $0x1,%ebx
412bd1:	75 3b                	jne    0x412c0e
412bd3:	8b 55 08             	mov    0x8(%ebp),%edx
412bd6:	8d 85 e4 fd ff ff    	lea    -0x21c(%ebp),%eax
412bdc:	8b 71 04             	mov    0x4(%ecx),%esi
412bdf:	83 c1 04             	add    $0x4,%ecx
412be2:	6a 00                	push   $0x0
412be4:	50                   	push   %eax
412be5:	68 cc 01 00 00       	push   $0x1cc
412bea:	51                   	push   %ecx
412beb:	c7 85 e0 fd ff ff 00 	movl   $0x0,-0x220(%ebp)
412bf2:	00 00 00
412bf5:	c7 02 00 00 00 00    	movl   $0x0,(%edx)
412bfb:	e8 5b c2 ff ff       	call   0x40ee5b
412c00:	83 c4 10             	add    $0x10,%esp
412c03:	8b c6                	mov    %esi,%eax
412c05:	33 d2                	xor    %edx,%edx
412c07:	5f                   	pop    %edi
412c08:	5e                   	pop    %esi
412c09:	5b                   	pop    %ebx
412c0a:	8b e5                	mov    %ebp,%esp
412c0c:	5d                   	pop    %ebp
412c0d:	c3                   	ret
412c0e:	85 c0                	test   %eax,%eax
412c10:	75 48                	jne    0x412c5a
412c12:	8b 79 04             	mov    0x4(%ecx),%edi
412c15:	8d 71 04             	lea    0x4(%ecx),%esi
412c18:	50                   	push   %eax
412c19:	89 85 e0 fd ff ff    	mov    %eax,-0x220(%ebp)
412c1f:	89 01                	mov    %eax,(%ecx)
412c21:	8d 85 e4 fd ff ff    	lea    -0x21c(%ebp),%eax
412c27:	50                   	push   %eax
412c28:	68 cc 01 00 00       	push   $0x1cc
412c2d:	56                   	push   %esi
412c2e:	e8 28 c2 ff ff       	call   0x40ee5b
412c33:	33 d2                	xor    %edx,%edx
412c35:	8b c7                	mov    %edi,%eax
412c37:	f7 f3                	div    %ebx
412c39:	83 c4 10             	add    $0x10,%esp
412c3c:	33 c0                	xor    %eax,%eax
412c3e:	3b c2                	cmp    %edx,%eax
412c40:	89 16                	mov    %edx,(%esi)
412c42:	8b 55 08             	mov    0x8(%ebp),%edx
412c45:	8b c7                	mov    %edi,%eax
412c47:	1b c9                	sbb    %ecx,%ecx
412c49:	f7 d9                	neg    %ecx
412c4b:	5f                   	pop    %edi
412c4c:	89 0a                	mov    %ecx,(%edx)
412c4e:	33 d2                	xor    %edx,%edx
412c50:	f7 f3                	div    %ebx
412c52:	5e                   	pop    %esi
412c53:	33 d2                	xor    %edx,%edx
412c55:	5b                   	pop    %ebx
412c56:	8b e5                	mov    %ebp,%esp
412c58:	5d                   	pop    %ebp
412c59:	c3                   	ret
412c5a:	33 ff                	xor    %edi,%edi
412c5c:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)
412c63:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%ebp)
412c6a:	89 7d ec             	mov    %edi,-0x14(%ebp)
412c6d:	83 f8 ff             	cmp    $0xffffffff,%eax
412c70:	74 4a                	je     0x412cbc
412c72:	40                   	inc    %eax
412c73:	8d 04 81             	lea    (%ecx,%eax,4),%eax
412c76:	89 45 e8             	mov    %eax,-0x18(%ebp)
412c79:	8d a4 24 00 00 00 00 	lea    0x0(%esp),%esp
412c80:	6a 00                	push   $0x0
412c82:	53                   	push   %ebx
412c83:	33 f6                	xor    %esi,%esi
412c85:	0b 30                	or     (%eax),%esi
412c87:	57                   	push   %edi
412c88:	56                   	push   %esi
412c89:	e8 72 4d 00 00       	call   0x417a00
412c8e:	6a 00                	push   $0x0
412c90:	33 c9                	xor    %ecx,%ecx
412c92:	03 c1                	add    %ecx,%eax
412c94:	53                   	push   %ebx
412c95:	13 4d f4             	adc    -0xc(%ebp),%ecx
412c98:	57                   	push   %edi
412c99:	56                   	push   %esi
412c9a:	89 4d fc             	mov    %ecx,-0x4(%ebp)
412c9d:	89 45 f4             	mov    %eax,-0xc(%ebp)
412ca0:	e8 cb 4d 00 00       	call   0x417a70
412ca5:	8b f8                	mov    %eax,%edi
412ca7:	89 55 ec             	mov    %edx,-0x14(%ebp)
412caa:	8b 45 e8             	mov    -0x18(%ebp),%eax
412cad:	83 e8 04             	sub    $0x4,%eax
412cb0:	83 6d f8 01          	subl   $0x1,-0x8(%ebp)
412cb4:	89 45 e8             	mov    %eax,-0x18(%ebp)
412cb7:	75 c7                	jne    0x412c80
412cb9:	8b 4d 08             	mov    0x8(%ebp),%ecx
412cbc:	6a 00                	push   $0x0
412cbe:	8d 85 e4 fd ff ff    	lea    -0x21c(%ebp),%eax
412cc4:	c7 85 e0 fd ff ff 00 	movl   $0x0,-0x220(%ebp)
412ccb:	00 00 00
412cce:	50                   	push   %eax
412ccf:	8d 71 04             	lea    0x4(%ecx),%esi
412cd2:	c7 01 00 00 00 00    	movl   $0x0,(%ecx)
412cd8:	68 cc 01 00 00       	push   $0x1cc
412cdd:	56                   	push   %esi
412cde:	e8 78 c1 ff ff       	call   0x40ee5b
412ce3:	8b 45 ec             	mov    -0x14(%ebp),%eax
412ce6:	83 c4 10             	add    $0x10,%esp
412ce9:	8b 55 08             	mov    0x8(%ebp),%edx
412cec:	33 c9                	xor    %ecx,%ecx
412cee:	3b c8                	cmp    %eax,%ecx
412cf0:	89 3e                	mov    %edi,(%esi)
412cf2:	1b c9                	sbb    %ecx,%ecx
412cf4:	f7 d9                	neg    %ecx
412cf6:	89 42 08             	mov    %eax,0x8(%edx)
412cf9:	8b 45 f4             	mov    -0xc(%ebp),%eax
412cfc:	41                   	inc    %ecx
412cfd:	5f                   	pop    %edi
412cfe:	5e                   	pop    %esi
412cff:	89 0a                	mov    %ecx,(%edx)
412d01:	8b 55 fc             	mov    -0x4(%ebp),%edx
412d04:	5b                   	pop    %ebx
412d05:	8b e5                	mov    %ebp,%esp
412d07:	5d                   	pop    %ebp
412d08:	c3                   	ret
412d09:	3b f0                	cmp    %eax,%esi
412d0b:	0f 87 1f 03 00 00    	ja     0x413030
412d11:	8b d0                	mov    %eax,%edx
412d13:	8b d8                	mov    %eax,%ebx
412d15:	2b d6                	sub    %esi,%edx
412d17:	3b da                	cmp    %edx,%ebx
412d19:	7c 1f                	jl     0x412d3a
412d1b:	8d 0c 99             	lea    (%ecx,%ebx,4),%ecx
412d1e:	83 c1 04             	add    $0x4,%ecx
412d21:	46                   	inc    %esi
412d22:	8d 34 b7             	lea    (%edi,%esi,4),%esi
412d25:	8b 3e                	mov    (%esi),%edi
412d27:	3b 39                	cmp    (%ecx),%edi
412d29:	75 0d                	jne    0x412d38
412d2b:	48                   	dec    %eax
412d2c:	83 ee 04             	sub    $0x4,%esi
412d2f:	83 e9 04             	sub    $0x4,%ecx
412d32:	3b c2                	cmp    %edx,%eax
412d34:	7d ef                	jge    0x412d25
412d36:	eb 02                	jmp    0x412d3a
412d38:	73 01                	jae    0x412d3b
412d3a:	42                   	inc    %edx
412d3b:	85 d2                	test   %edx,%edx
412d3d:	0f 84 ed 02 00 00    	je     0x413030
412d43:	8b 7d ec             	mov    -0x14(%ebp),%edi
412d46:	8b 75 0c             	mov    0xc(%ebp),%esi
412d49:	8b 44 be fc          	mov    -0x4(%esi,%edi,4),%eax
412d4d:	8b 1c be             	mov    (%esi,%edi,4),%ebx
412d50:	89 45 e0             	mov    %eax,-0x20(%ebp)
412d53:	0f bd c3             	bsr    %ebx,%eax
412d56:	89 5d d0             	mov    %ebx,-0x30(%ebp)
412d59:	74 09                	je     0x412d64
412d5b:	b9 1f 00 00 00       	mov    $0x1f,%ecx
412d60:	2b c8                	sub    %eax,%ecx
412d62:	eb 05                	jmp    0x412d69
412d64:	b9 20 00 00 00       	mov    $0x20,%ecx
412d69:	b8 20 00 00 00       	mov    $0x20,%eax
412d6e:	89 4d e4             	mov    %ecx,-0x1c(%ebp)
412d71:	2b c1                	sub    %ecx,%eax
412d73:	89 45 d4             	mov    %eax,-0x2c(%ebp)
412d76:	85 c9                	test   %ecx,%ecx
412d78:	74 2d                	je     0x412da7
412d7a:	8b 45 e0             	mov    -0x20(%ebp),%eax
412d7d:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
412d80:	d3 e8                	shr    %cl,%eax
412d82:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
412d85:	d3 e3                	shl    %cl,%ebx
412d87:	0b d8                	or     %eax,%ebx
412d89:	89 5d d0             	mov    %ebx,-0x30(%ebp)
412d8c:	8b 5d e0             	mov    -0x20(%ebp),%ebx
412d8f:	d3 e3                	shl    %cl,%ebx
412d91:	89 5d e0             	mov    %ebx,-0x20(%ebp)
412d94:	83 ff 02             	cmp    $0x2,%edi
412d97:	76 0e                	jbe    0x412da7
412d99:	8b 44 be f8          	mov    -0x8(%esi,%edi,4),%eax
412d9d:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
412da0:	d3 e8                	shr    %cl,%eax
412da2:	0b d8                	or     %eax,%ebx
412da4:	89 5d e0             	mov    %ebx,-0x20(%ebp)
412da7:	8d 5a ff             	lea    -0x1(%edx),%ebx
412daa:	c7 45 b4 00 00 00 00 	movl   $0x0,-0x4c(%ebp)
412db1:	33 f6                	xor    %esi,%esi
412db3:	89 5d b0             	mov    %ebx,-0x50(%ebp)
412db6:	85 db                	test   %ebx,%ebx
412db8:	0f 88 31 02 00 00    	js     0x412fef
412dbe:	8b 55 08             	mov    0x8(%ebp),%edx
412dc1:	8d 04 3b             	lea    (%ebx,%edi,1),%eax
412dc4:	89 45 c8             	mov    %eax,-0x38(%ebp)
412dc7:	8d 4a 04             	lea    0x4(%edx),%ecx
412dca:	8d 0c 99             	lea    (%ecx,%ebx,4),%ecx
412dcd:	89 4d c4             	mov    %ecx,-0x3c(%ebp)
412dd0:	8d 4a fc             	lea    -0x4(%edx),%ecx
412dd3:	8d 0c 81             	lea    (%ecx,%eax,4),%ecx
412dd6:	89 4d e8             	mov    %ecx,-0x18(%ebp)
412dd9:	8d a4 24 00 00 00 00 	lea    0x0(%esp),%esp
412de0:	3b 45 f4             	cmp    -0xc(%ebp),%eax
412de3:	77 05                	ja     0x412dea
412de5:	8b 51 08             	mov    0x8(%ecx),%edx
412de8:	eb 02                	jmp    0x412dec
412dea:	33 d2                	xor    %edx,%edx
412dec:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)
412df0:	8b 41 04             	mov    0x4(%ecx),%eax
412df3:	8b 19                	mov    (%ecx),%ebx
412df5:	c7 45 dc 00 00 00 00 	movl   $0x0,-0x24(%ebp)
412dfc:	89 55 b8             	mov    %edx,-0x48(%ebp)
412dff:	89 45 fc             	mov    %eax,-0x4(%ebp)
412e02:	89 55 dc             	mov    %edx,-0x24(%ebp)
412e05:	89 5d f8             	mov    %ebx,-0x8(%ebp)
412e08:	76 3c                	jbe    0x412e46
412e0a:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
412e0d:	8b fb                	mov    %ebx,%edi
412e0f:	d3 ef                	shr    %cl,%edi
412e11:	33 f6                	xor    %esi,%esi
412e13:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
412e16:	e8 85 4e 00 00       	call   0x417ca0
412e1b:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
412e1e:	0b c7                	or     %edi,%eax
412e20:	0b d6                	or     %esi,%edx
412e22:	d3 e3                	shl    %cl,%ebx
412e24:	83 7d c8 03          	cmpl   $0x3,-0x38(%ebp)
412e28:	89 45 fc             	mov    %eax,-0x4(%ebp)
412e2b:	89 55 dc             	mov    %edx,-0x24(%ebp)
412e2e:	89 5d f8             	mov    %ebx,-0x8(%ebp)
412e31:	72 13                	jb     0x412e46
412e33:	8b 45 e8             	mov    -0x18(%ebp),%eax
412e36:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
412e39:	8b 40 fc             	mov    -0x4(%eax),%eax
412e3c:	d3 e8                	shr    %cl,%eax
412e3e:	0b d8                	or     %eax,%ebx
412e40:	8b 45 fc             	mov    -0x4(%ebp),%eax
412e43:	89 5d f8             	mov    %ebx,-0x8(%ebp)
412e46:	8b 75 d0             	mov    -0x30(%ebp),%esi
412e49:	6a 00                	push   $0x0
412e4b:	56                   	push   %esi
412e4c:	52                   	push   %edx
412e4d:	50                   	push   %eax
412e4e:	e8 ad 4b 00 00       	call   0x417a00
412e53:	6a 00                	push   $0x0
412e55:	56                   	push   %esi
412e56:	ff 75 dc             	push   -0x24(%ebp)
412e59:	8b d8                	mov    %eax,%ebx
412e5b:	89 55 f0             	mov    %edx,-0x10(%ebp)
412e5e:	ff 75 fc             	push   -0x4(%ebp)
412e61:	89 5d cc             	mov    %ebx,-0x34(%ebp)
412e64:	89 5d bc             	mov    %ebx,-0x44(%ebp)
412e67:	89 55 c0             	mov    %edx,-0x40(%ebp)
412e6a:	e8 01 4c 00 00       	call   0x417a70
412e6f:	8b f8                	mov    %eax,%edi
412e71:	33 f6                	xor    %esi,%esi
412e73:	8b 45 f0             	mov    -0x10(%ebp),%eax
412e76:	89 75 fc             	mov    %esi,-0x4(%ebp)
412e79:	85 c0                	test   %eax,%eax
412e7b:	75 05                	jne    0x412e82
412e7d:	83 fb ff             	cmp    $0xffffffff,%ebx
412e80:	76 2a                	jbe    0x412eac
412e82:	6a 00                	push   $0x0
412e84:	ff 75 d0             	push   -0x30(%ebp)
412e87:	83 c3 01             	add    $0x1,%ebx
412e8a:	83 d0 ff             	adc    $0xffffffff,%eax
412e8d:	50                   	push   %eax
412e8e:	53                   	push   %ebx
412e8f:	e8 5c 4c 00 00       	call   0x417af0
412e94:	03 f8                	add    %eax,%edi
412e96:	13 f2                	adc    %edx,%esi
412e98:	83 cb ff             	or     $0xffffffff,%ebx
412e9b:	33 c0                	xor    %eax,%eax
412e9d:	89 75 fc             	mov    %esi,-0x4(%ebp)
412ea0:	89 5d cc             	mov    %ebx,-0x34(%ebp)
412ea3:	89 5d bc             	mov    %ebx,-0x44(%ebp)
412ea6:	89 45 f0             	mov    %eax,-0x10(%ebp)
412ea9:	89 45 c0             	mov    %eax,-0x40(%ebp)
412eac:	85 f6                	test   %esi,%esi
412eae:	77 50                	ja     0x412f00
412eb0:	72 05                	jb     0x412eb7
412eb2:	83 ff ff             	cmp    $0xffffffff,%edi
412eb5:	77 49                	ja     0x412f00
412eb7:	50                   	push   %eax
412eb8:	53                   	push   %ebx
412eb9:	33 c9                	xor    %ecx,%ecx
412ebb:	8b f7                	mov    %edi,%esi
412ebd:	0b 4d f8             	or     -0x8(%ebp),%ecx
412ec0:	6a 00                	push   $0x0
412ec2:	ff 75 e0             	push   -0x20(%ebp)
412ec5:	89 4d dc             	mov    %ecx,-0x24(%ebp)
412ec8:	e8 23 4c 00 00       	call   0x417af0
412ecd:	3b d6                	cmp    %esi,%edx
412ecf:	72 29                	jb     0x412efa
412ed1:	77 05                	ja     0x412ed8
412ed3:	3b 45 dc             	cmp    -0x24(%ebp),%eax
412ed6:	76 22                	jbe    0x412efa
412ed8:	8b 45 f0             	mov    -0x10(%ebp),%eax
412edb:	83 c3 ff             	add    $0xffffffff,%ebx
412ede:	89 5d bc             	mov    %ebx,-0x44(%ebp)
412ee1:	83 d0 ff             	adc    $0xffffffff,%eax
412ee4:	03 7d d0             	add    -0x30(%ebp),%edi
412ee7:	89 45 f0             	mov    %eax,-0x10(%ebp)
412eea:	83 55 fc 00          	adcl   $0x0,-0x4(%ebp)