401ab1:	8d 45 14             	lea    0x14(%ebp),%eax
401ab4:	89 5d 08             	mov    %ebx,0x8(%ebp)
401ab7:	50                   	push   %eax
401ab8:	8b d7                	mov    %edi,%edx
401aba:	8d 45 10             	lea    0x10(%ebp),%eax
401abd:	50                   	push   %eax
401abe:	89 55 0c             	mov    %edx,0xc(%ebp)
401ac1:	89 55 fc             	mov    %edx,-0x4(%ebp)
401ac4:	e8 50 03 00 00       	call   0x401e19
401ac9:	8b f0                	mov    %eax,%esi
401acb:	85 f6                	test   %esi,%esi
401acd:	0f 88 b4 00 00 00    	js     0x401b87
401ad3:	f7 45 20 00 e0 ff ff 	testl  $0xffffe000,0x20(%ebp)
401ada:	74 19                	je     0x401af5
401adc:	be 57 00 07 80       	mov    $0x80070057,%esi
401ae1:	8b cf                	mov    %edi,%ecx
401ae3:	85 ff                	test   %edi,%edi
401ae5:	0f 84 ac 00 00 00    	je     0x401b97
401aeb:	33 c0                	xor    %eax,%eax
401aed:	66 89 03             	mov    %ax,(%ebx)
401af0:	e9 a2 00 00 00       	jmp    0x401b97
401af5:	85 ff                	test   %edi,%edi
401af7:	75 2b                	jne    0x401b24
401af9:	39 7d 14             	cmp    %edi,0x14(%ebp)
401afc:	0f 84 8e 00 00 00    	je     0x401b90
401b02:	8b 45 10             	mov    0x10(%ebp),%eax
401b05:	33 c9                	xor    %ecx,%ecx
401b07:	66 39 08             	cmp    %cx,(%eax)
401b0a:	0f 84 80 00 00 00    	je     0x401b90
401b10:	85 db                	test   %ebx,%ebx
401b12:	75 09                	jne    0x401b1d
401b14:	be 57 00 07 80       	mov    $0x80070057,%esi
401b19:	8b cf                	mov    %edi,%ecx
401b1b:	eb 7a                	jmp    0x401b97
401b1d:	be 7a 00 07 80       	mov    $0x8007007a,%esi
401b22:	eb 6c                	jmp    0x401b90
401b24:	ff 75 14             	push   0x14(%ebp)
401b27:	8d 45 0c             	lea    0xc(%ebp),%eax
401b2a:	33 c9                	xor    %ecx,%ecx
401b2c:	ff 75 10             	push   0x10(%ebp)
401b2f:	89 4d 0c             	mov    %ecx,0xc(%ebp)
401b32:	50                   	push   %eax
401b33:	57                   	push   %edi
401b34:	53                   	push   %ebx
401b35:	e8 74 df 01 00       	call   0x41faae
401b3a:	8b f0                	mov    %eax,%esi
401b3c:	8b 45 0c             	mov    0xc(%ebp),%eax
401b3f:	8d 0c 43             	lea    (%ebx,%eax,2),%ecx
401b42:	89 4d 08             	mov    %ecx,0x8(%ebp)
401b45:	8b cf                	mov    %edi,%ecx
401b47:	2b c8                	sub    %eax,%ecx
401b49:	89 4d 0c             	mov    %ecx,0xc(%ebp)
401b4c:	89 4d fc             	mov    %ecx,-0x4(%ebp)
401b4f:	85 f6                	test   %esi,%esi
401b51:	78 44                	js     0x401b97
401b53:	8b 4d 20             	mov    0x20(%ebp),%ecx
401b56:	f7 c1 00 02 00 00    	test   $0x200,%ecx
401b5c:	74 32                	je     0x401b90
401b5e:	8b 55 0c             	mov    0xc(%ebp),%edx
401b61:	83 fa 01             	cmp    $0x1,%edx
401b64:	76 2a                	jbe    0x401b90
401b66:	8d 04 12             	lea    (%edx,%edx,1),%eax
401b69:	83 f8 02             	cmp    $0x2,%eax
401b6c:	76 22                	jbe    0x401b90
401b6e:	83 c0 fe             	add    $0xfffffffe,%eax
401b71:	50                   	push   %eax
401b72:	0f b6 c1             	movzbl %cl,%eax
401b75:	50                   	push   %eax
401b76:	8b 45 08             	mov    0x8(%ebp),%eax
401b79:	83 c0 02             	add    $0x2,%eax
401b7c:	50                   	push   %eax
401b7d:	e8 ee da 02 00       	call   0x42f670
401b82:	83 c4 0c             	add    $0xc,%esp
401b85:	eb 09                	jmp    0x401b90
401b87:	85 ff                	test   %edi,%edi
401b89:	74 05                	je     0x401b90
401b8b:	33 c0                	xor    %eax,%eax
401b8d:	66 89 03             	mov    %ax,(%ebx)
401b90:	8b 4d 0c             	mov    0xc(%ebp),%ecx
401b93:	85 f6                	test   %esi,%esi
401b95:	79 33                	jns    0x401bca
401b97:	8b 45 20             	mov    0x20(%ebp),%eax
401b9a:	a9 00 1c 00 00       	test   $0x1c00,%eax
401b9f:	74 1d                	je     0x401bbe
401ba1:	85 ff                	test   %edi,%edi
401ba3:	74 19                	je     0x401bbe
401ba5:	50                   	push   %eax
401ba6:	8d 45 fc             	lea    -0x4(%ebp),%eax
401ba9:	50                   	push   %eax
401baa:	8d 45 08             	lea    0x8(%ebp),%eax
401bad:	50                   	push   %eax
401bae:	33 c0                	xor    %eax,%eax
401bb0:	50                   	push   %eax
401bb1:	8d 04 3f             	lea    (%edi,%edi,1),%eax
401bb4:	50                   	push   %eax
401bb5:	53                   	push   %ebx
401bb6:	e8 50 df 01 00       	call   0x41fb0b
401bbb:	8b 4d fc             	mov    -0x4(%ebp),%ecx
401bbe:	85 f6                	test   %esi,%esi
401bc0:	79 08                	jns    0x401bca
401bc2:	81 fe 7a 00 07 80    	cmp    $0x8007007a,%esi
401bc8:	75 15                	jne    0x401bdf
401bca:	8b 45 18             	mov    0x18(%ebp),%eax
401bcd:	85 c0                	test   %eax,%eax
401bcf:	74 05                	je     0x401bd6
401bd1:	8b 55 08             	mov    0x8(%ebp),%edx
401bd4:	89 10                	mov    %edx,(%eax)
401bd6:	8b 45 1c             	mov    0x1c(%ebp),%eax
401bd9:	85 c0                	test   %eax,%eax
401bdb:	74 02                	je     0x401bdf
401bdd:	89 08                	mov    %ecx,(%eax)
401bdf:	5f                   	pop    %edi
401be0:	8b c6                	mov    %esi,%eax
401be2:	5e                   	pop    %esi
401be3:	5b                   	pop    %ebx
401be4:	8b e5                	mov    %ebp,%esp
401be6:	5d                   	pop    %ebp
401be7:	c2 1c 00             	ret    $0x1c
401bea:	55                   	push   %ebp
401beb:	8b ec                	mov    %esp,%ebp
401bed:	8b 4d 0c             	mov    0xc(%ebp),%ecx
401bf0:	33 c0                	xor    %eax,%eax
401bf2:	85 c9                	test   %ecx,%ecx
401bf4:	74 08                	je     0x401bfe
401bf6:	81 f9 ff ff ff 7f    	cmp    $0x7fffffff,%ecx
401bfc:	76 05                	jbe    0x401c03
401bfe:	b8 57 00 07 80       	mov    $0x80070057,%eax
401c03:	85 c0                	test   %eax,%eax
401c05:	78 13                	js     0x401c1a
401c07:	68 fe ff ff 7f       	push   $0x7ffffffe
401c0c:	ff 75 10             	push   0x10(%ebp)
401c0f:	6a 00                	push   $0x0
401c11:	51                   	push   %ecx
401c12:	ff 75 08             	push   0x8(%ebp)
401c15:	e8 94 de 01 00       	call   0x41faae
401c1a:	5d                   	pop    %ebp
401c1b:	c2 0c 00             	ret    $0xc
401c1e:	55                   	push   %ebp
401c1f:	8b ec                	mov    %esp,%ebp
401c21:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
401c25:	56                   	push   %esi
401c26:	8b 75 10             	mov    0x10(%ebp),%esi
401c29:	74 17                	je     0x401c42
401c2b:	81 7d 0c ff ff ff 7f 	cmpl   $0x7fffffff,0xc(%ebp)
401c32:	77 0e                	ja     0x401c42
401c34:	56                   	push   %esi
401c35:	ff 75 0c             	push   0xc(%ebp)
401c38:	ff 75 08             	push   0x8(%ebp)
401c3b:	e8 15 02 00 00       	call   0x401e55
401c40:	eb 05                	jmp    0x401c47
401c42:	b8 57 00 07 80       	mov    $0x80070057,%eax
401c47:	85 c0                	test   %eax,%eax
401c49:	79 07                	jns    0x401c52
401c4b:	85 f6                	test   %esi,%esi
401c4d:	74 03                	je     0x401c52
401c4f:	83 26 00             	andl   $0x0,(%esi)
401c52:	5e                   	pop    %esi
401c53:	5d                   	pop    %ebp
401c54:	c2 0c 00             	ret    $0xc
401c57:	55                   	push   %ebp
401c58:	8b ec                	mov    %esp,%ebp
401c5a:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
401c5e:	56                   	push   %esi
401c5f:	8b 75 10             	mov    0x10(%ebp),%esi
401c62:	74 17                	je     0x401c7b
401c64:	81 7d 0c ff ff ff 7f 	cmpl   $0x7fffffff,0xc(%ebp)
401c6b:	77 0e                	ja     0x401c7b
401c6d:	56                   	push   %esi
401c6e:	ff 75 0c             	push   0xc(%ebp)
401c71:	ff 75 08             	push   0x8(%ebp)
401c74:	e8 1e 02 00 00       	call   0x401e97
401c79:	eb 05                	jmp    0x401c80
401c7b:	b8 57 00 07 80       	mov    $0x80070057,%eax
401c80:	85 c0                	test   %eax,%eax
401c82:	79 07                	jns    0x401c8b
401c84:	85 f6                	test   %esi,%esi
401c86:	74 03                	je     0x401c8b
401c88:	83 26 00             	andl   $0x0,(%esi)
401c8b:	5e                   	pop    %esi
401c8c:	5d                   	pop    %ebp
401c8d:	c2 0c 00             	ret    $0xc
401c90:	55                   	push   %ebp
401c91:	8b ec                	mov    %esp,%ebp
401c93:	56                   	push   %esi
401c94:	57                   	push   %edi
401c95:	8b 7d 0c             	mov    0xc(%ebp),%edi
401c98:	33 f6                	xor    %esi,%esi
401c9a:	85 ff                	test   %edi,%edi
401c9c:	74 08                	je     0x401ca6
401c9e:	81 ff ff ff ff 7f    	cmp    $0x7fffffff,%edi
401ca4:	76 05                	jbe    0x401cab
401ca6:	be 57 00 07 80       	mov    $0x80070057,%esi
401cab:	85 f6                	test   %esi,%esi
401cad:	78 30                	js     0x401cdf
401caf:	53                   	push   %ebx
401cb0:	ff 75 14             	push   0x14(%ebp)
401cb3:	8b 5d 08             	mov    0x8(%ebp),%ebx
401cb6:	33 f6                	xor    %esi,%esi
401cb8:	56                   	push   %esi
401cb9:	ff 75 10             	push   0x10(%ebp)
401cbc:	4f                   	dec    %edi
401cbd:	57                   	push   %edi
401cbe:	53                   	push   %ebx
401cbf:	e8 38 0e 00 00       	call   0x402afc
401cc4:	83 c4 14             	add    $0x14,%esp
401cc7:	85 c0                	test   %eax,%eax
401cc9:	78 08                	js     0x401cd3
401ccb:	3b c7                	cmp    %edi,%eax
401ccd:	77 04                	ja     0x401cd3
401ccf:	75 0d                	jne    0x401cde
401cd1:	eb 05                	jmp    0x401cd8
401cd3:	be 7a 00 07 80       	mov    $0x8007007a,%esi
401cd8:	33 c0                	xor    %eax,%eax
401cda:	66 89 04 7b          	mov    %ax,(%ebx,%edi,2)
401cde:	5b                   	pop    %ebx
401cdf:	5f                   	pop    %edi
401ce0:	8b c6                	mov    %esi,%eax
401ce2:	5e                   	pop    %esi
401ce3:	5d                   	pop    %ebp
401ce4:	c2 10 00             	ret    $0x10
401ce7:	55                   	push   %ebp
401ce8:	8b ec                	mov    %esp,%ebp
401cea:	8b 55 0c             	mov    0xc(%ebp),%edx
401ced:	33 c9                	xor    %ecx,%ecx
401cef:	8b 45 08             	mov    0x8(%ebp),%eax
401cf2:	56                   	push   %esi
401cf3:	33 f6                	xor    %esi,%esi
401cf5:	85 d2                	test   %edx,%edx
401cf7:	74 31                	je     0x401d2a
401cf9:	53                   	push   %ebx
401cfa:	8b 5d 18             	mov    0x18(%ebp),%ebx
401cfd:	57                   	push   %edi
401cfe:	8b 7d 14             	mov    0x14(%ebp),%edi
401d01:	2b f8                	sub    %eax,%edi
401d03:	85 db                	test   %ebx,%ebx
401d05:	74 1d                	je     0x401d24
401d07:	8a 14 07             	mov    (%edi,%eax,1),%dl
401d0a:	84 d2                	test   %dl,%dl
401d0c:	8b 55 0c             	mov    0xc(%ebp),%edx
401d0f:	74 13                	je     0x401d24
401d11:	8a 14 07             	mov    (%edi,%eax,1),%dl
401d14:	88 10                	mov    %dl,(%eax)
401d16:	40                   	inc    %eax
401d17:	8b 55 0c             	mov    0xc(%ebp),%edx
401d1a:	4a                   	dec    %edx
401d1b:	4b                   	dec    %ebx
401d1c:	41                   	inc    %ecx
401d1d:	89 55 0c             	mov    %edx,0xc(%ebp)
401d20:	85 d2                	test   %edx,%edx
401d22:	75 df                	jne    0x401d03
401d24:	5f                   	pop    %edi
401d25:	5b                   	pop    %ebx
401d26:	85 d2                	test   %edx,%edx
401d28:	75 07                	jne    0x401d31
401d2a:	48                   	dec    %eax
401d2b:	be 7a 00 07 80       	mov    $0x8007007a,%esi
401d30:	49                   	dec    %ecx
401d31:	8b 55 10             	mov    0x10(%ebp),%edx
401d34:	c6 00 00             	movb   $0x0,(%eax)
401d37:	85 d2                	test   %edx,%edx
401d39:	74 02                	je     0x401d3d
401d3b:	89 0a                	mov    %ecx,(%edx)
401d3d:	8b c6                	mov    %esi,%eax
401d3f:	5e                   	pop    %esi
401d40:	5d                   	pop    %ebp
401d41:	c2 14 00             	ret    $0x14
401d44:	55                   	push   %ebp
401d45:	8b ec                	mov    %esp,%ebp
401d47:	8b 45 1c             	mov    0x1c(%ebp),%eax
401d4a:	53                   	push   %ebx
401d4b:	8b 5d 08             	mov    0x8(%ebp),%ebx
401d4e:	57                   	push   %edi
401d4f:	8b 7d 0c             	mov    0xc(%ebp),%edi
401d52:	85 ff                	test   %edi,%edi
401d54:	74 21                	je     0x401d77
401d56:	a9 00 10 00 00       	test   $0x1000,%eax
401d5b:	74 1a                	je     0x401d77
401d5d:	8b 4d 10             	mov    0x10(%ebp),%ecx
401d60:	8b 45 14             	mov    0x14(%ebp),%eax
401d63:	8d 14 0b             	lea    (%ebx,%ecx,1),%edx
401d66:	89 10                	mov    %edx,(%eax)
401d68:	8b c7                	mov    %edi,%eax
401d6a:	2b c1                	sub    %ecx,%eax
401d6c:	8b 4d 18             	mov    0x18(%ebp),%ecx
401d6f:	89 01                	mov    %eax,(%ecx)
401d71:	8b 45 1c             	mov    0x1c(%ebp),%eax
401d74:	c6 02 00             	movb   $0x0,(%edx)
401d77:	a9 00 04 00 00       	test   $0x400,%eax
401d7c:	74 3f                	je     0x401dbd
401d7e:	56                   	push   %esi
401d7f:	0f b6 f0             	movzbl %al,%esi
401d82:	57                   	push   %edi
401d83:	56                   	push   %esi
401d84:	53                   	push   %ebx
401d85:	e8 e6 d8 02 00       	call   0x42f670
401d8a:	83 c4 0c             	add    $0xc,%esp
401d8d:	85 f6                	test   %esi,%esi
401d8f:	5e                   	pop    %esi
401d90:	75 0f                	jne    0x401da1
401d92:	8b 55 14             	mov    0x14(%ebp),%edx
401d95:	8b 4d 18             	mov    0x18(%ebp),%ecx
401d98:	89 1a                	mov    %ebx,(%edx)
401d9a:	89 39                	mov    %edi,(%ecx)
401d9c:	8b 45 1c             	mov    0x1c(%ebp),%eax
401d9f:	eb 22                	jmp    0x401dc3
401da1:	85 ff                	test   %edi,%edi
401da3:	74 30                	je     0x401dd5
401da5:	8b 55 14             	mov    0x14(%ebp),%edx
401da8:	8d 47 ff             	lea    -0x1(%edi),%eax
401dab:	8b 4d 18             	mov    0x18(%ebp),%ecx
401dae:	03 c3                	add    %ebx,%eax
401db0:	89 02                	mov    %eax,(%edx)
401db2:	c7 01 01 00 00 00    	movl   $0x1,(%ecx)
401db8:	c6 00 00             	movb   $0x0,(%eax)
401dbb:	eb df                	jmp    0x401d9c
401dbd:	8b 4d 18             	mov    0x18(%ebp),%ecx
401dc0:	8b 55 14             	mov    0x14(%ebp),%edx
401dc3:	85 ff                	test   %edi,%edi
401dc5:	74 0e                	je     0x401dd5
401dc7:	a9 00 08 00 00       	test   $0x800,%eax
401dcc:	74 07                	je     0x401dd5
401dce:	89 1a                	mov    %ebx,(%edx)
401dd0:	89 39                	mov    %edi,(%ecx)
401dd2:	c6 03 00             	movb   $0x0,(%ebx)
401dd5:	5f                   	pop    %edi
401dd6:	33 c0                	xor    %eax,%eax
401dd8:	5b                   	pop    %ebx
401dd9:	5d                   	pop    %ebp
401dda:	c2 18 00             	ret    $0x18
401ddd:	55                   	push   %ebp
401dde:	8b ec                	mov    %esp,%ebp
401de0:	8b 55 0c             	mov    0xc(%ebp),%edx
401de3:	33 c9                	xor    %ecx,%ecx
401de5:	85 d2                	test   %edx,%edx
401de7:	74 0e                	je     0x401df7
401de9:	8b 02                	mov    (%edx),%eax
401deb:	3b 45 10             	cmp    0x10(%ebp),%eax
401dee:	72 07                	jb     0x401df7
401df0:	b9 57 00 07 80       	mov    $0x80070057,%ecx
401df5:	eb 1c                	jmp    0x401e13
401df7:	f7 45 14 00 01 00 00 	testl  $0x100,0x14(%ebp)
401dfe:	74 13                	je     0x401e13
401e00:	8b 45 08             	mov    0x8(%ebp),%eax
401e03:	39 08                	cmp    %ecx,(%eax)
401e05:	75 0c                	jne    0x401e13
401e07:	c7 00 8c b5 44 00    	movl   $0x44b58c,(%eax)
401e0d:	85 d2                	test   %edx,%edx
401e0f:	74 02                	je     0x401e13
401e11:	89 0a                	mov    %ecx,(%edx)
401e13:	8b c1                	mov    %ecx,%eax