414a3a:	8b c2                	mov    %edx,%eax
414a3c:	99                   	cltd
414a3d:	f7 ff                	idiv   %edi
414a3f:	00 46 03             	add    %al,0x3(%esi)
414a42:	00 56 04             	add    %dl,0x4(%esi)
414a45:	83 7d 18 02          	cmpl   $0x2,0x18(%ebp)
414a49:	75 14                	jne    0x414a5f
414a4b:	80 39 30             	cmpb   $0x30,(%ecx)
414a4e:	75 0f                	jne    0x414a5f
414a50:	6a 03                	push   $0x3
414a52:	8d 41 01             	lea    0x1(%ecx),%eax
414a55:	50                   	push   %eax
414a56:	51                   	push   %ecx
414a57:	e8 14 3f ff ff       	call   0x408970
414a5c:	83 c4 0c             	add    $0xc,%esp
414a5f:	80 7d fc 00          	cmpb   $0x0,-0x4(%ebp)
414a63:	74 0a                	je     0x414a6f
414a65:	8b 45 f0             	mov    -0x10(%ebp),%eax
414a68:	83 a0 50 03 00 00 fd 	andl   $0xfffffffd,0x350(%eax)
414a6f:	33 c0                	xor    %eax,%eax
414a71:	e9 f5 fe ff ff       	jmp    0x41496b
414a76:	33 c0                	xor    %eax,%eax
414a78:	50                   	push   %eax
414a79:	50                   	push   %eax
414a7a:	50                   	push   %eax
414a7b:	50                   	push   %eax
414a7c:	50                   	push   %eax
414a7d:	e8 2c 86 ff ff       	call   0x40d0ae
414a82:	cc                   	int3
414a83:	8b ff                	mov    %edi,%edi
414a85:	55                   	push   %ebp
414a86:	8b ec                	mov    %esp,%ebp
414a88:	83 ec 0c             	sub    $0xc,%esp
414a8b:	33 c0                	xor    %eax,%eax
414a8d:	56                   	push   %esi
414a8e:	57                   	push   %edi
414a8f:	ff 75 18             	push   0x18(%ebp)
414a92:	8d 7d f4             	lea    -0xc(%ebp),%edi
414a95:	ff 75 14             	push   0x14(%ebp)
414a98:	ab                   	stos   %eax,%es:(%edi)
414a99:	ab                   	stos   %eax,%es:(%edi)
414a9a:	ab                   	stos   %eax,%es:(%edi)
414a9b:	8d 45 f4             	lea    -0xc(%ebp),%eax
414a9e:	8b 7d 1c             	mov    0x1c(%ebp),%edi
414aa1:	50                   	push   %eax
414aa2:	8b 45 08             	mov    0x8(%ebp),%eax
414aa5:	57                   	push   %edi
414aa6:	ff 70 04             	push   0x4(%eax)
414aa9:	ff 30                	push   (%eax)
414aab:	e8 41 a6 00 00       	call   0x41f0f1
414ab0:	83 c9 ff             	or     $0xffffffff,%ecx
414ab3:	83 c4 18             	add    $0x18,%esp
414ab6:	8b d0                	mov    %eax,%edx
414ab8:	39 4d 10             	cmp    %ecx,0x10(%ebp)
414abb:	74 0e                	je     0x414acb
414abd:	8b 4d 10             	mov    0x10(%ebp),%ecx
414ac0:	33 c0                	xor    %eax,%eax
414ac2:	83 7d f4 2d          	cmpl   $0x2d,-0xc(%ebp)
414ac6:	0f 94 c0             	sete   %al
414ac9:	2b c8                	sub    %eax,%ecx
414acb:	ff 75 24             	push   0x24(%ebp)
414ace:	8b 75 0c             	mov    0xc(%ebp),%esi
414ad1:	8d 45 f4             	lea    -0xc(%ebp),%eax
414ad4:	52                   	push   %edx
414ad5:	50                   	push   %eax
414ad6:	8b 45 f8             	mov    -0x8(%ebp),%eax
414ad9:	03 c7                	add    %edi,%eax
414adb:	50                   	push   %eax
414adc:	33 c0                	xor    %eax,%eax
414ade:	83 7d f4 2d          	cmpl   $0x2d,-0xc(%ebp)
414ae2:	51                   	push   %ecx
414ae3:	0f 94 c0             	sete   %al
414ae6:	03 c6                	add    %esi,%eax
414ae8:	50                   	push   %eax
414ae9:	e8 27 a5 00 00       	call   0x41f015
414aee:	83 c4 18             	add    $0x18,%esp
414af1:	85 c0                	test   %eax,%eax
414af3:	74 05                	je     0x414afa
414af5:	c6 06 00             	movb   $0x0,(%esi)
414af8:	eb 16                	jmp    0x414b10
414afa:	ff 75 20             	push   0x20(%ebp)
414afd:	8d 45 f4             	lea    -0xc(%ebp),%eax
414b00:	6a 00                	push   $0x0
414b02:	50                   	push   %eax
414b03:	57                   	push   %edi
414b04:	ff 75 10             	push   0x10(%ebp)
414b07:	56                   	push   %esi
414b08:	e8 07 00 00 00       	call   0x414b14
414b0d:	83 c4 18             	add    $0x18,%esp
414b10:	5f                   	pop    %edi
414b11:	5e                   	pop    %esi
414b12:	c9                   	leave
414b13:	c3                   	ret
414b14:	8b ff                	mov    %edi,%edi
414b16:	55                   	push   %ebp
414b17:	8b ec                	mov    %esp,%ebp
414b19:	83 ec 14             	sub    $0x14,%esp
414b1c:	8d 4d ec             	lea    -0x14(%ebp),%ecx
414b1f:	53                   	push   %ebx
414b20:	56                   	push   %esi
414b21:	57                   	push   %edi
414b22:	ff 75 1c             	push   0x1c(%ebp)
414b25:	e8 54 71 ff ff       	call   0x40bc7e
414b2a:	8b 5d 14             	mov    0x14(%ebp),%ebx
414b2d:	33 d2                	xor    %edx,%edx
414b2f:	8b 75 10             	mov    0x10(%ebp),%esi
414b32:	8b 7d 08             	mov    0x8(%ebp),%edi
414b35:	8b 4b 04             	mov    0x4(%ebx),%ecx
414b38:	49                   	dec    %ecx
414b39:	38 55 18             	cmp    %dl,0x18(%ebp)
414b3c:	74 14                	je     0x414b52
414b3e:	3b ce                	cmp    %esi,%ecx
414b40:	75 10                	jne    0x414b52
414b42:	33 c0                	xor    %eax,%eax
414b44:	83 3b 2d             	cmpl   $0x2d,(%ebx)
414b47:	0f 94 c0             	sete   %al
414b4a:	03 c1                	add    %ecx,%eax
414b4c:	66 c7 04 38 30 00    	movw   $0x30,(%eax,%edi,1)
414b52:	83 3b 2d             	cmpl   $0x2d,(%ebx)
414b55:	8b cf                	mov    %edi,%ecx
414b57:	89 7d fc             	mov    %edi,-0x4(%ebp)
414b5a:	75 09                	jne    0x414b65
414b5c:	8d 4f 01             	lea    0x1(%edi),%ecx
414b5f:	c6 07 2d             	movb   $0x2d,(%edi)
414b62:	89 4d fc             	mov    %ecx,-0x4(%ebp)
414b65:	8b 43 04             	mov    0x4(%ebx),%eax
414b68:	85 c0                	test   %eax,%eax
414b6a:	7f 2e                	jg     0x414b9a
414b6c:	75 0a                	jne    0x414b78
414b6e:	8b 43 08             	mov    0x8(%ebx),%eax
414b71:	80 38 30             	cmpb   $0x30,(%eax)
414b74:	75 02                	jne    0x414b78
414b76:	b2 01                	mov    $0x1,%dl
414b78:	80 7d 18 00          	cmpb   $0x0,0x18(%ebp)
414b7c:	74 04                	je     0x414b82
414b7e:	84 d2                	test   %dl,%dl
414b80:	75 12                	jne    0x414b94
414b82:	6a 01                	push   $0x1
414b84:	51                   	push   %ecx
414b85:	ff 75 0c             	push   0xc(%ebp)
414b88:	57                   	push   %edi
414b89:	e8 dd 01 00 00       	call   0x414d6b
414b8e:	8b 4d fc             	mov    -0x4(%ebp),%ecx
414b91:	83 c4 10             	add    $0x10,%esp
414b94:	33 c0                	xor    %eax,%eax
414b96:	c6 01 30             	movb   $0x30,(%ecx)
414b99:	40                   	inc    %eax
414b9a:	03 c1                	add    %ecx,%eax
414b9c:	89 45 fc             	mov    %eax,-0x4(%ebp)
414b9f:	85 f6                	test   %esi,%esi
414ba1:	7e 52                	jle    0x414bf5
414ba3:	6a 01                	push   $0x1
414ba5:	50                   	push   %eax
414ba6:	ff 75 0c             	push   0xc(%ebp)
414ba9:	57                   	push   %edi
414baa:	e8 bc 01 00 00       	call   0x414d6b
414baf:	8b 45 f0             	mov    -0x10(%ebp),%eax
414bb2:	83 c4 10             	add    $0x10,%esp
414bb5:	8b 4d fc             	mov    -0x4(%ebp),%ecx
414bb8:	8b 80 88 00 00 00    	mov    0x88(%eax),%eax
414bbe:	8b 00                	mov    (%eax),%eax
414bc0:	8a 00                	mov    (%eax),%al
414bc2:	88 01                	mov    %al,(%ecx)
414bc4:	41                   	inc    %ecx
414bc5:	8b 43 04             	mov    0x4(%ebx),%eax
414bc8:	85 c0                	test   %eax,%eax
414bca:	79 29                	jns    0x414bf5
414bcc:	f7 d8                	neg    %eax
414bce:	80 7d 18 00          	cmpb   $0x0,0x18(%ebp)
414bd2:	75 04                	jne    0x414bd8
414bd4:	3b c6                	cmp    %esi,%eax
414bd6:	7d 02                	jge    0x414bda
414bd8:	8b f0                	mov    %eax,%esi
414bda:	56                   	push   %esi
414bdb:	51                   	push   %ecx
414bdc:	ff 75 0c             	push   0xc(%ebp)
414bdf:	57                   	push   %edi
414be0:	e8 86 01 00 00       	call   0x414d6b
414be5:	8b 45 fc             	mov    -0x4(%ebp),%eax
414be8:	56                   	push   %esi
414be9:	40                   	inc    %eax
414bea:	6a 30                	push   $0x30
414bec:	50                   	push   %eax
414bed:	e8 fe 42 ff ff       	call   0x408ef0
414bf2:	83 c4 1c             	add    $0x1c,%esp
414bf5:	80 7d f8 00          	cmpb   $0x0,-0x8(%ebp)
414bf9:	5f                   	pop    %edi
414bfa:	5e                   	pop    %esi
414bfb:	5b                   	pop    %ebx
414bfc:	74 0a                	je     0x414c08
414bfe:	8b 45 ec             	mov    -0x14(%ebp),%eax
414c01:	83 a0 50 03 00 00 fd 	andl   $0xfffffffd,0x350(%eax)
414c08:	33 c0                	xor    %eax,%eax
414c0a:	c9                   	leave
414c0b:	c3                   	ret
414c0c:	8b ff                	mov    %edi,%edi
414c0e:	55                   	push   %ebp
414c0f:	8b ec                	mov    %esp,%ebp
414c11:	83 ec 14             	sub    $0x14,%esp
414c14:	53                   	push   %ebx
414c15:	56                   	push   %esi
414c16:	57                   	push   %edi
414c17:	ff 75 18             	push   0x18(%ebp)
414c1a:	33 c0                	xor    %eax,%eax
414c1c:	8d 7d ec             	lea    -0x14(%ebp),%edi
414c1f:	ff 75 14             	push   0x14(%ebp)
414c22:	ab                   	stos   %eax,%es:(%edi)
414c23:	ab                   	stos   %eax,%es:(%edi)
414c24:	ab                   	stos   %eax,%es:(%edi)
414c25:	8d 45 ec             	lea    -0x14(%ebp),%eax
414c28:	8b 7d 1c             	mov    0x1c(%ebp),%edi
414c2b:	50                   	push   %eax
414c2c:	8b 45 08             	mov    0x8(%ebp),%eax
414c2f:	57                   	push   %edi
414c30:	ff 70 04             	push   0x4(%eax)
414c33:	ff 30                	push   (%eax)
414c35:	e8 b7 a4 00 00       	call   0x41f0f1
414c3a:	8b 5d 0c             	mov    0xc(%ebp),%ebx
414c3d:	33 d2                	xor    %edx,%edx
414c3f:	83 c4 18             	add    $0x18,%esp
414c42:	89 45 fc             	mov    %eax,-0x4(%ebp)
414c45:	83 7d ec 2d          	cmpl   $0x2d,-0x14(%ebp)
414c49:	8b 45 f0             	mov    -0x10(%ebp),%eax
414c4c:	0f 94 c2             	sete   %dl
414c4f:	48                   	dec    %eax
414c50:	89 45 f8             	mov    %eax,-0x8(%ebp)
414c53:	83 c8 ff             	or     $0xffffffff,%eax
414c56:	8d 34 1a             	lea    (%edx,%ebx,1),%esi
414c59:	39 45 10             	cmp    %eax,0x10(%ebp)
414c5c:	74 05                	je     0x414c63
414c5e:	8b 45 10             	mov    0x10(%ebp),%eax
414c61:	2b c2                	sub    %edx,%eax
414c63:	ff 75 28             	push   0x28(%ebp)
414c66:	8d 4d ec             	lea    -0x14(%ebp),%ecx
414c69:	ff 75 fc             	push   -0x4(%ebp)
414c6c:	51                   	push   %ecx
414c6d:	57                   	push   %edi
414c6e:	50                   	push   %eax
414c6f:	56                   	push   %esi
414c70:	e8 a0 a3 00 00       	call   0x41f015
414c75:	83 c4 18             	add    $0x18,%esp
414c78:	85 c0                	test   %eax,%eax
414c7a:	74 05                	je     0x414c81
414c7c:	c6 03 00             	movb   $0x0,(%ebx)
414c7f:	eb 50                	jmp    0x414cd1
414c81:	8b 45 f0             	mov    -0x10(%ebp),%eax
414c84:	48                   	dec    %eax
414c85:	83 f8 fc             	cmp    $0xfffffffc,%eax
414c88:	7c 2b                	jl     0x414cb5
414c8a:	3b c7                	cmp    %edi,%eax
414c8c:	7d 27                	jge    0x414cb5
414c8e:	39 45 f8             	cmp    %eax,-0x8(%ebp)
414c91:	7d 0a                	jge    0x414c9d
414c93:	8a 06                	mov    (%esi),%al
414c95:	46                   	inc    %esi
414c96:	84 c0                	test   %al,%al
414c98:	75 f9                	jne    0x414c93
414c9a:	88 46 fe             	mov    %al,-0x2(%esi)
414c9d:	ff 75 2c             	push   0x2c(%ebp)
414ca0:	8d 45 ec             	lea    -0x14(%ebp),%eax
414ca3:	6a 01                	push   $0x1
414ca5:	50                   	push   %eax
414ca6:	57                   	push   %edi
414ca7:	ff 75 10             	push   0x10(%ebp)
414caa:	53                   	push   %ebx
414cab:	e8 64 fe ff ff       	call   0x414b14
414cb0:	83 c4 18             	add    $0x18,%esp
414cb3:	eb 1c                	jmp    0x414cd1
414cb5:	ff 75 2c             	push   0x2c(%ebp)
414cb8:	8d 45 ec             	lea    -0x14(%ebp),%eax
414cbb:	6a 01                	push   $0x1
414cbd:	50                   	push   %eax
414cbe:	ff 75 24             	push   0x24(%ebp)
414cc1:	ff 75 20             	push   0x20(%ebp)
414cc4:	57                   	push   %edi
414cc5:	ff 75 10             	push   0x10(%ebp)
414cc8:	53                   	push   %ebx
414cc9:	e8 6d fc ff ff       	call   0x41493b
414cce:	83 c4 20             	add    $0x20,%esp
414cd1:	5f                   	pop    %edi
414cd2:	5e                   	pop    %esi
414cd3:	5b                   	pop    %ebx
414cd4:	c9                   	leave
414cd5:	c3                   	ret
414cd6:	8b ff                	mov    %edi,%edi
414cd8:	55                   	push   %ebp
414cd9:	8b ec                	mov    %esp,%ebp
414cdb:	51                   	push   %ecx
414cdc:	8a 4d 0c             	mov    0xc(%ebp),%cl
414cdf:	8b 55 14             	mov    0x14(%ebp),%edx
414ce2:	0f b6 c1             	movzbl %cl,%eax
414ce5:	83 c0 04             	add    $0x4,%eax
414ce8:	3b d0                	cmp    %eax,%edx
414cea:	73 0b                	jae    0x414cf7
414cec:	8b 45 10             	mov    0x10(%ebp),%eax
414cef:	6a 0c                	push   $0xc
414cf1:	c6 00 00             	movb   $0x0,(%eax)
414cf4:	58                   	pop    %eax
414cf5:	c9                   	leave
414cf6:	c3                   	ret
414cf7:	84 c9                	test   %cl,%cl
414cf9:	8b 4d 10             	mov    0x10(%ebp),%ecx
414cfc:	74 0d                	je     0x414d0b
414cfe:	c6 01 2d             	movb   $0x2d,(%ecx)
414d01:	41                   	inc    %ecx
414d02:	c6 01 00             	movb   $0x0,(%ecx)
414d05:	83 fa ff             	cmp    $0xffffffff,%edx
414d08:	74 01                	je     0x414d0b
414d0a:	4a                   	dec    %edx
414d0b:	8b 45 08             	mov    0x8(%ebp),%eax
414d0e:	53                   	push   %ebx
414d0f:	56                   	push   %esi
414d10:	57                   	push   %edi
414d11:	0f b6 7d 18          	movzbl 0x18(%ebp),%edi
414d15:	8d 1c 85 fc ff ff ff 	lea    -0x4(,%eax,4),%ebx
414d1c:	83 f7 01             	xor    $0x1,%edi
414d1f:	03 ff                	add    %edi,%edi
414d21:	8d 04 3b             	lea    (%ebx,%edi,1),%eax
414d24:	8b 34 85 f8 7c 42 00 	mov    0x427cf8(,%eax,4),%esi
414d2b:	8d 46 01             	lea    0x1(%esi),%eax
414d2e:	89 45 fc             	mov    %eax,-0x4(%ebp)
414d31:	8a 06                	mov    (%esi),%al
414d33:	46                   	inc    %esi
414d34:	84 c0                	test   %al,%al
414d36:	75 f9                	jne    0x414d31
414d38:	2b 75 fc             	sub    -0x4(%ebp),%esi
414d3b:	3b f2                	cmp    %edx,%esi
414d3d:	1b c0                	sbb    %eax,%eax
414d3f:	43                   	inc    %ebx
414d40:	03 c3                	add    %ebx,%eax
414d42:	03 c7                	add    %edi,%eax
414d44:	ff 34 85 f8 7c 42 00 	push   0x427cf8(,%eax,4)
414d4b:	52                   	push   %edx
414d4c:	51                   	push   %ecx
414d4d:	e8 fc d5 ff ff       	call   0x41234e
414d52:	83 c4 0c             	add    $0xc,%esp
414d55:	5f                   	pop    %edi
414d56:	5e                   	pop    %esi
414d57:	5b                   	pop    %ebx
414d58:	85 c0                	test   %eax,%eax
414d5a:	75 02                	jne    0x414d5e
414d5c:	c9                   	leave
414d5d:	c3                   	ret
414d5e:	33 c0                	xor    %eax,%eax
414d60:	50                   	push   %eax
414d61:	50                   	push   %eax
414d62:	50                   	push   %eax
414d63:	50                   	push   %eax
414d64:	50                   	push   %eax
414d65:	e8 44 83 ff ff       	call   0x40d0ae