40abfc:	74 15                	je     0x40ac13
40abfe:	39 5d 10             	cmp    %ebx,0x10(%ebp)
40ac01:	74 10                	je     0x40ac13
40ac03:	38 1e                	cmp    %bl,(%esi)
40ac05:	75 12                	jne    0x40ac19
40ac07:	8b 45 08             	mov    0x8(%ebp),%eax
40ac0a:	3b c3                	cmp    %ebx,%eax
40ac0c:	74 05                	je     0x40ac13
40ac0e:	33 c9                	xor    %ecx,%ecx
40ac10:	66 89 08             	mov    %cx,(%eax)
40ac13:	33 c0                	xor    %eax,%eax
40ac15:	5e                   	pop    %esi
40ac16:	5b                   	pop    %ebx
40ac17:	c9                   	leave
40ac18:	c3                   	ret
40ac19:	ff 75 14             	push   0x14(%ebp)
40ac1c:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40ac1f:	e8 c1 73 ff ff       	call   0x401fe5
40ac24:	8b 45 f0             	mov    -0x10(%ebp),%eax
40ac27:	39 58 14             	cmp    %ebx,0x14(%eax)
40ac2a:	75 1e                	jne    0x40ac4a
40ac2c:	8b 45 08             	mov    0x8(%ebp),%eax
40ac2f:	3b c3                	cmp    %ebx,%eax
40ac31:	74 06                	je     0x40ac39
40ac33:	0f b6 0e             	movzbl (%esi),%ecx
40ac36:	66 89 08             	mov    %cx,(%eax)
40ac39:	38 5d fc             	cmp    %bl,-0x4(%ebp)
40ac3c:	74 07                	je     0x40ac45
40ac3e:	8b 45 f8             	mov    -0x8(%ebp),%eax
40ac41:	83 60 70 fd          	andl   $0xfffffffd,0x70(%eax)
40ac45:	33 c0                	xor    %eax,%eax
40ac47:	40                   	inc    %eax
40ac48:	eb cb                	jmp    0x40ac15
40ac4a:	8d 45 f0             	lea    -0x10(%ebp),%eax
40ac4d:	50                   	push   %eax
40ac4e:	0f b6 06             	movzbl (%esi),%eax
40ac51:	50                   	push   %eax
40ac52:	e8 c4 00 00 00       	call   0x40ad1b
40ac57:	59                   	pop    %ecx
40ac58:	59                   	pop    %ecx
40ac59:	85 c0                	test   %eax,%eax
40ac5b:	74 7d                	je     0x40acda
40ac5d:	8b 45 f0             	mov    -0x10(%ebp),%eax
40ac60:	8b 88 ac 00 00 00    	mov    0xac(%eax),%ecx
40ac66:	83 f9 01             	cmp    $0x1,%ecx
40ac69:	7e 25                	jle    0x40ac90
40ac6b:	39 4d 10             	cmp    %ecx,0x10(%ebp)
40ac6e:	7c 20                	jl     0x40ac90
40ac70:	33 d2                	xor    %edx,%edx
40ac72:	39 5d 08             	cmp    %ebx,0x8(%ebp)
40ac75:	0f 95 c2             	setne  %dl
40ac78:	52                   	push   %edx
40ac79:	ff 75 08             	push   0x8(%ebp)
40ac7c:	51                   	push   %ecx
40ac7d:	56                   	push   %esi
40ac7e:	6a 09                	push   $0x9
40ac80:	ff 70 04             	push   0x4(%eax)
40ac83:	ff 15 30 f0 40 00    	call   *0x40f030
40ac89:	85 c0                	test   %eax,%eax
40ac8b:	8b 45 f0             	mov    -0x10(%ebp),%eax
40ac8e:	75 10                	jne    0x40aca0
40ac90:	8b 4d 10             	mov    0x10(%ebp),%ecx
40ac93:	3b 88 ac 00 00 00    	cmp    0xac(%eax),%ecx
40ac99:	72 20                	jb     0x40acbb
40ac9b:	38 5e 01             	cmp    %bl,0x1(%esi)
40ac9e:	74 1b                	je     0x40acbb
40aca0:	8b 80 ac 00 00 00    	mov    0xac(%eax),%eax
40aca6:	38 5d fc             	cmp    %bl,-0x4(%ebp)
40aca9:	0f 84 66 ff ff ff    	je     0x40ac15
40acaf:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40acb2:	83 61 70 fd          	andl   $0xfffffffd,0x70(%ecx)
40acb6:	e9 5a ff ff ff       	jmp    0x40ac15
40acbb:	e8 67 94 ff ff       	call   0x404127
40acc0:	c7 00 2a 00 00 00    	movl   $0x2a,(%eax)
40acc6:	38 5d fc             	cmp    %bl,-0x4(%ebp)
40acc9:	74 07                	je     0x40acd2
40accb:	8b 45 f8             	mov    -0x8(%ebp),%eax
40acce:	83 60 70 fd          	andl   $0xfffffffd,0x70(%eax)
40acd2:	83 c8 ff             	or     $0xffffffff,%eax
40acd5:	e9 3b ff ff ff       	jmp    0x40ac15
40acda:	33 c0                	xor    %eax,%eax
40acdc:	39 5d 08             	cmp    %ebx,0x8(%ebp)
40acdf:	0f 95 c0             	setne  %al
40ace2:	50                   	push   %eax
40ace3:	ff 75 08             	push   0x8(%ebp)
40ace6:	8b 45 f0             	mov    -0x10(%ebp),%eax
40ace9:	6a 01                	push   $0x1
40aceb:	56                   	push   %esi
40acec:	6a 09                	push   $0x9
40acee:	ff 70 04             	push   0x4(%eax)
40acf1:	ff 15 30 f0 40 00    	call   *0x40f030
40acf7:	85 c0                	test   %eax,%eax
40acf9:	0f 85 3a ff ff ff    	jne    0x40ac39
40acff:	eb ba                	jmp    0x40acbb
40ad01:	8b ff                	mov    %edi,%edi
40ad03:	55                   	push   %ebp
40ad04:	8b ec                	mov    %esp,%ebp
40ad06:	6a 00                	push   $0x0
40ad08:	ff 75 10             	push   0x10(%ebp)
40ad0b:	ff 75 0c             	push   0xc(%ebp)
40ad0e:	ff 75 08             	push   0x8(%ebp)
40ad11:	e8 d5 fe ff ff       	call   0x40abeb
40ad16:	83 c4 10             	add    $0x10,%esp
40ad19:	5d                   	pop    %ebp
40ad1a:	c3                   	ret
40ad1b:	8b ff                	mov    %edi,%edi
40ad1d:	55                   	push   %ebp
40ad1e:	8b ec                	mov    %esp,%ebp
40ad20:	83 ec 10             	sub    $0x10,%esp
40ad23:	ff 75 0c             	push   0xc(%ebp)
40ad26:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40ad29:	e8 b7 72 ff ff       	call   0x401fe5
40ad2e:	0f b6 45 08          	movzbl 0x8(%ebp),%eax
40ad32:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40ad35:	8b 89 c8 00 00 00    	mov    0xc8(%ecx),%ecx
40ad3b:	0f b7 04 41          	movzwl (%ecx,%eax,2),%eax
40ad3f:	25 00 80 00 00       	and    $0x8000,%eax
40ad44:	80 7d fc 00          	cmpb   $0x0,-0x4(%ebp)
40ad48:	74 07                	je     0x40ad51
40ad4a:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40ad4d:	83 61 70 fd          	andl   $0xfffffffd,0x70(%ecx)
40ad51:	c9                   	leave
40ad52:	c3                   	ret
40ad53:	8b ff                	mov    %edi,%edi
40ad55:	55                   	push   %ebp
40ad56:	8b ec                	mov    %esp,%ebp
40ad58:	6a 00                	push   $0x0
40ad5a:	ff 75 08             	push   0x8(%ebp)
40ad5d:	e8 b9 ff ff ff       	call   0x40ad1b
40ad62:	59                   	pop    %ecx
40ad63:	59                   	pop    %ecx
40ad64:	5d                   	pop    %ebp
40ad65:	c3                   	ret
40ad66:	cc                   	int3
40ad67:	cc                   	int3
40ad68:	cc                   	int3
40ad69:	cc                   	int3
40ad6a:	cc                   	int3
40ad6b:	cc                   	int3
40ad6c:	cc                   	int3
40ad6d:	cc                   	int3
40ad6e:	cc                   	int3
40ad6f:	cc                   	int3
40ad70:	56                   	push   %esi
40ad71:	8b 44 24 14          	mov    0x14(%esp),%eax
40ad75:	0b c0                	or     %eax,%eax
40ad77:	75 28                	jne    0x40ada1
40ad79:	8b 4c 24 10          	mov    0x10(%esp),%ecx
40ad7d:	8b 44 24 0c          	mov    0xc(%esp),%eax
40ad81:	33 d2                	xor    %edx,%edx
40ad83:	f7 f1                	div    %ecx
40ad85:	8b d8                	mov    %eax,%ebx
40ad87:	8b 44 24 08          	mov    0x8(%esp),%eax
40ad8b:	f7 f1                	div    %ecx
40ad8d:	8b f0                	mov    %eax,%esi
40ad8f:	8b c3                	mov    %ebx,%eax
40ad91:	f7 64 24 10          	mull   0x10(%esp)
40ad95:	8b c8                	mov    %eax,%ecx
40ad97:	8b c6                	mov    %esi,%eax
40ad99:	f7 64 24 10          	mull   0x10(%esp)
40ad9d:	03 d1                	add    %ecx,%edx
40ad9f:	eb 47                	jmp    0x40ade8
40ada1:	8b c8                	mov    %eax,%ecx
40ada3:	8b 5c 24 10          	mov    0x10(%esp),%ebx
40ada7:	8b 54 24 0c          	mov    0xc(%esp),%edx
40adab:	8b 44 24 08          	mov    0x8(%esp),%eax
40adaf:	d1 e9                	shr    $1,%ecx
40adb1:	d1 db                	rcr    $1,%ebx
40adb3:	d1 ea                	shr    $1,%edx
40adb5:	d1 d8                	rcr    $1,%eax
40adb7:	0b c9                	or     %ecx,%ecx
40adb9:	75 f4                	jne    0x40adaf
40adbb:	f7 f3                	div    %ebx
40adbd:	8b f0                	mov    %eax,%esi
40adbf:	f7 64 24 14          	mull   0x14(%esp)
40adc3:	8b c8                	mov    %eax,%ecx
40adc5:	8b 44 24 10          	mov    0x10(%esp),%eax
40adc9:	f7 e6                	mul    %esi
40adcb:	03 d1                	add    %ecx,%edx
40adcd:	72 0e                	jb     0x40addd
40adcf:	3b 54 24 0c          	cmp    0xc(%esp),%edx
40add3:	77 08                	ja     0x40addd
40add5:	72 0f                	jb     0x40ade6
40add7:	3b 44 24 08          	cmp    0x8(%esp),%eax
40addb:	76 09                	jbe    0x40ade6
40addd:	4e                   	dec    %esi
40adde:	2b 44 24 10          	sub    0x10(%esp),%eax
40ade2:	1b 54 24 14          	sbb    0x14(%esp),%edx
40ade6:	33 db                	xor    %ebx,%ebx
40ade8:	2b 44 24 08          	sub    0x8(%esp),%eax
40adec:	1b 54 24 0c          	sbb    0xc(%esp),%edx
40adf0:	f7 da                	neg    %edx
40adf2:	f7 d8                	neg    %eax
40adf4:	83 da 00             	sbb    $0x0,%edx
40adf7:	8b ca                	mov    %edx,%ecx
40adf9:	8b d3                	mov    %ebx,%edx
40adfb:	8b d9                	mov    %ecx,%ebx
40adfd:	8b c8                	mov    %eax,%ecx
40adff:	8b c6                	mov    %esi,%eax
40ae01:	5e                   	pop    %esi
40ae02:	c2 10 00             	ret    $0x10
40ae05:	8b ff                	mov    %edi,%edi
40ae07:	55                   	push   %ebp
40ae08:	8b ec                	mov    %esp,%ebp
40ae0a:	83 ec 10             	sub    $0x10,%esp
40ae0d:	a1 84 22 41 00       	mov    0x412284,%eax
40ae12:	33 c5                	xor    %ebp,%eax
40ae14:	89 45 fc             	mov    %eax,-0x4(%ebp)
40ae17:	8b 55 18             	mov    0x18(%ebp),%edx
40ae1a:	53                   	push   %ebx
40ae1b:	33 db                	xor    %ebx,%ebx
40ae1d:	56                   	push   %esi
40ae1e:	57                   	push   %edi
40ae1f:	3b d3                	cmp    %ebx,%edx
40ae21:	7e 1f                	jle    0x40ae42
40ae23:	8b 45 14             	mov    0x14(%ebp),%eax
40ae26:	8b ca                	mov    %edx,%ecx
40ae28:	49                   	dec    %ecx
40ae29:	38 18                	cmp    %bl,(%eax)
40ae2b:	74 08                	je     0x40ae35
40ae2d:	40                   	inc    %eax
40ae2e:	3b cb                	cmp    %ebx,%ecx
40ae30:	75 f6                	jne    0x40ae28
40ae32:	83 c9 ff             	or     $0xffffffff,%ecx
40ae35:	8b c2                	mov    %edx,%eax
40ae37:	2b c1                	sub    %ecx,%eax
40ae39:	48                   	dec    %eax
40ae3a:	3b c2                	cmp    %edx,%eax
40ae3c:	7d 01                	jge    0x40ae3f
40ae3e:	40                   	inc    %eax
40ae3f:	89 45 18             	mov    %eax,0x18(%ebp)
40ae42:	89 5d f8             	mov    %ebx,-0x8(%ebp)
40ae45:	39 5d 24             	cmp    %ebx,0x24(%ebp)
40ae48:	75 0b                	jne    0x40ae55
40ae4a:	8b 45 08             	mov    0x8(%ebp),%eax
40ae4d:	8b 00                	mov    (%eax),%eax
40ae4f:	8b 40 04             	mov    0x4(%eax),%eax
40ae52:	89 45 24             	mov    %eax,0x24(%ebp)
40ae55:	8b 35 30 f0 40 00    	mov    0x40f030,%esi
40ae5b:	33 c0                	xor    %eax,%eax
40ae5d:	39 5d 28             	cmp    %ebx,0x28(%ebp)
40ae60:	53                   	push   %ebx
40ae61:	53                   	push   %ebx
40ae62:	ff 75 18             	push   0x18(%ebp)
40ae65:	0f 95 c0             	setne  %al
40ae68:	ff 75 14             	push   0x14(%ebp)
40ae6b:	8d 04 c5 01 00 00 00 	lea    0x1(,%eax,8),%eax
40ae72:	50                   	push   %eax
40ae73:	ff 75 24             	push   0x24(%ebp)
40ae76:	ff d6                	call   *%esi
40ae78:	8b f8                	mov    %eax,%edi
40ae7a:	89 7d f0             	mov    %edi,-0x10(%ebp)
40ae7d:	3b fb                	cmp    %ebx,%edi
40ae7f:	75 07                	jne    0x40ae88
40ae81:	33 c0                	xor    %eax,%eax
40ae83:	e9 52 01 00 00       	jmp    0x40afda
40ae88:	7e 43                	jle    0x40aecd
40ae8a:	6a e0                	push   $0xffffffe0
40ae8c:	33 d2                	xor    %edx,%edx
40ae8e:	58                   	pop    %eax
40ae8f:	f7 f7                	div    %edi
40ae91:	83 f8 02             	cmp    $0x2,%eax
40ae94:	72 37                	jb     0x40aecd
40ae96:	8d 44 3f 08          	lea    0x8(%edi,%edi,1),%eax
40ae9a:	3d 00 04 00 00       	cmp    $0x400,%eax
40ae9f:	77 13                	ja     0x40aeb4
40aea1:	e8 5a c1 ff ff       	call   0x407000
40aea6:	8b c4                	mov    %esp,%eax
40aea8:	3b c3                	cmp    %ebx,%eax
40aeaa:	74 1c                	je     0x40aec8
40aeac:	c7 00 cc cc 00 00    	movl   $0xcccc,(%eax)
40aeb2:	eb 11                	jmp    0x40aec5
40aeb4:	50                   	push   %eax
40aeb5:	e8 35 73 ff ff       	call   0x4021ef
40aeba:	59                   	pop    %ecx
40aebb:	3b c3                	cmp    %ebx,%eax
40aebd:	74 09                	je     0x40aec8
40aebf:	c7 00 dd dd 00 00    	movl   $0xdddd,(%eax)
40aec5:	83 c0 08             	add    $0x8,%eax
40aec8:	89 45 f4             	mov    %eax,-0xc(%ebp)
40aecb:	eb 03                	jmp    0x40aed0
40aecd:	89 5d f4             	mov    %ebx,-0xc(%ebp)
40aed0:	39 5d f4             	cmp    %ebx,-0xc(%ebp)
40aed3:	74 ac                	je     0x40ae81
40aed5:	57                   	push   %edi
40aed6:	ff 75 f4             	push   -0xc(%ebp)
40aed9:	ff 75 18             	push   0x18(%ebp)
40aedc:	ff 75 14             	push   0x14(%ebp)
40aedf:	6a 01                	push   $0x1
40aee1:	ff 75 24             	push   0x24(%ebp)
40aee4:	ff d6                	call   *%esi
40aee6:	85 c0                	test   %eax,%eax
40aee8:	0f 84 e0 00 00 00    	je     0x40afce
40aeee:	8b 35 f8 f0 40 00    	mov    0x40f0f8,%esi
40aef4:	53                   	push   %ebx
40aef5:	53                   	push   %ebx
40aef6:	57                   	push   %edi
40aef7:	ff 75 f4             	push   -0xc(%ebp)
40aefa:	ff 75 10             	push   0x10(%ebp)
40aefd:	ff 75 0c             	push   0xc(%ebp)
40af00:	ff d6                	call   *%esi
40af02:	89 45 f8             	mov    %eax,-0x8(%ebp)
40af05:	3b c3                	cmp    %ebx,%eax
40af07:	0f 84 c1 00 00 00    	je     0x40afce
40af0d:	b9 00 04 00 00       	mov    $0x400,%ecx
40af12:	85 4d 10             	test   %ecx,0x10(%ebp)
40af15:	74 29                	je     0x40af40
40af17:	8b 45 20             	mov    0x20(%ebp),%eax
40af1a:	3b c3                	cmp    %ebx,%eax
40af1c:	0f 84 ac 00 00 00    	je     0x40afce
40af22:	39 45 f8             	cmp    %eax,-0x8(%ebp)
40af25:	0f 8f a3 00 00 00    	jg     0x40afce
40af2b:	50                   	push   %eax
40af2c:	ff 75 1c             	push   0x1c(%ebp)
40af2f:	57                   	push   %edi
40af30:	ff 75 f4             	push   -0xc(%ebp)
40af33:	ff 75 10             	push   0x10(%ebp)
40af36:	ff 75 0c             	push   0xc(%ebp)
40af39:	ff d6                	call   *%esi
40af3b:	e9 8e 00 00 00       	jmp    0x40afce
40af40:	8b 7d f8             	mov    -0x8(%ebp),%edi
40af43:	3b fb                	cmp    %ebx,%edi
40af45:	7e 42                	jle    0x40af89
40af47:	6a e0                	push   $0xffffffe0
40af49:	33 d2                	xor    %edx,%edx
40af4b:	58                   	pop    %eax
40af4c:	f7 f7                	div    %edi
40af4e:	83 f8 02             	cmp    $0x2,%eax
40af51:	72 36                	jb     0x40af89
40af53:	8d 44 3f 08          	lea    0x8(%edi,%edi,1),%eax
40af57:	3b c1                	cmp    %ecx,%eax
40af59:	77 16                	ja     0x40af71
40af5b:	e8 a0 c0 ff ff       	call   0x407000
40af60:	8b fc                	mov    %esp,%edi
40af62:	3b fb                	cmp    %ebx,%edi
40af64:	74 68                	je     0x40afce
40af66:	c7 07 cc cc 00 00    	movl   $0xcccc,(%edi)
40af6c:	83 c7 08             	add    $0x8,%edi
40af6f:	eb 1a                	jmp    0x40af8b
40af71:	50                   	push   %eax
40af72:	e8 78 72 ff ff       	call   0x4021ef
40af77:	59                   	pop    %ecx
40af78:	3b c3                	cmp    %ebx,%eax
40af7a:	74 09                	je     0x40af85
40af7c:	c7 00 dd dd 00 00    	movl   $0xdddd,(%eax)
40af82:	83 c0 08             	add    $0x8,%eax
40af85:	8b f8                	mov    %eax,%edi
40af87:	eb 02                	jmp    0x40af8b
40af89:	33 ff                	xor    %edi,%edi
40af8b:	3b fb                	cmp    %ebx,%edi