40e839:	8b c1                	mov    %ecx,%eax
40e83b:	50                   	push   %eax
40e83c:	53                   	push   %ebx
40e83d:	68 e9 fd 00 00       	push   $0xfde9
40e842:	ff 15 30 b1 41 00    	call   *0x41b130
40e848:	8b 75 08             	mov    0x8(%ebp),%esi
40e84b:	89 85 e8 eb ff ff    	mov    %eax,-0x1418(%ebp)
40e851:	85 c0                	test   %eax,%eax
40e853:	74 4c                	je     0x40e8a1
40e855:	6a 00                	push   $0x0
40e857:	8d 8d f0 eb ff ff    	lea    -0x1410(%ebp),%ecx
40e85d:	2b c3                	sub    %ebx,%eax
40e85f:	51                   	push   %ecx
40e860:	50                   	push   %eax
40e861:	8d 85 f8 eb ff ff    	lea    -0x1408(%ebp),%eax
40e867:	03 c3                	add    %ebx,%eax
40e869:	50                   	push   %eax
40e86a:	ff b5 ec eb ff ff    	push   -0x1414(%ebp)
40e870:	ff 15 38 b1 41 00    	call   *0x41b138
40e876:	85 c0                	test   %eax,%eax
40e878:	74 27                	je     0x40e8a1
40e87a:	03 9d f0 eb ff ff    	add    -0x1410(%ebp),%ebx
40e880:	8b 85 e8 eb ff ff    	mov    -0x1418(%ebp),%eax
40e886:	3b d8                	cmp    %eax,%ebx
40e888:	72 cb                	jb     0x40e855
40e88a:	8b c7                	mov    %edi,%eax
40e88c:	2b 45 10             	sub    0x10(%ebp),%eax
40e88f:	89 46 04             	mov    %eax,0x4(%esi)
40e892:	3b bd f4 eb ff ff    	cmp    -0x140c(%ebp),%edi
40e898:	73 0f                	jae    0x40e8a9
40e89a:	33 db                	xor    %ebx,%ebx
40e89c:	e9 4e ff ff ff       	jmp    0x40e7ef
40e8a1:	ff 15 48 b0 41 00    	call   *0x41b048
40e8a7:	89 06                	mov    %eax,(%esi)
40e8a9:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e8ac:	8b c6                	mov    %esi,%eax
40e8ae:	5f                   	pop    %edi
40e8af:	5e                   	pop    %esi
40e8b0:	33 cd                	xor    %ebp,%ecx
40e8b2:	5b                   	pop    %ebx
40e8b3:	e8 9e 46 ff ff       	call   0x402f56
40e8b8:	8b e5                	mov    %ebp,%esp
40e8ba:	5d                   	pop    %ebp
40e8bb:	c3                   	ret
40e8bc:	6a 14                	push   $0x14
40e8be:	68 48 1e 42 00       	push   $0x421e48
40e8c3:	e8 88 52 ff ff       	call   0x403b50
40e8c8:	8b 75 08             	mov    0x8(%ebp),%esi
40e8cb:	83 fe fe             	cmp    $0xfffffffe,%esi
40e8ce:	75 18                	jne    0x40e8e8
40e8d0:	e8 1f 94 ff ff       	call   0x407cf4
40e8d5:	83 20 00             	andl   $0x0,(%eax)
40e8d8:	e8 2a 94 ff ff       	call   0x407d07
40e8dd:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40e8e3:	e9 b6 00 00 00       	jmp    0x40e99e
40e8e8:	85 f6                	test   %esi,%esi
40e8ea:	0f 88 96 00 00 00    	js     0x40e986
40e8f0:	3b 35 c0 43 42 00    	cmp    0x4243c0,%esi
40e8f6:	0f 83 8a 00 00 00    	jae    0x40e986
40e8fc:	8b de                	mov    %esi,%ebx
40e8fe:	c1 fb 06             	sar    $0x6,%ebx
40e901:	8b c6                	mov    %esi,%eax
40e903:	83 e0 3f             	and    $0x3f,%eax
40e906:	6b c8 30             	imul   $0x30,%eax,%ecx
40e909:	89 4d e0             	mov    %ecx,-0x20(%ebp)
40e90c:	8b 04 9d c0 41 42 00 	mov    0x4241c0(,%ebx,4),%eax
40e913:	0f b6 44 08 28       	movzbl 0x28(%eax,%ecx,1),%eax
40e918:	83 e0 01             	and    $0x1,%eax
40e91b:	74 69                	je     0x40e986
40e91d:	56                   	push   %esi
40e91e:	e8 95 da ff ff       	call   0x40c3b8
40e923:	59                   	pop    %ecx
40e924:	83 cf ff             	or     $0xffffffff,%edi
40e927:	89 7d e4             	mov    %edi,-0x1c(%ebp)
40e92a:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40e92e:	8b 04 9d c0 41 42 00 	mov    0x4241c0(,%ebx,4),%eax
40e935:	8b 4d e0             	mov    -0x20(%ebp),%ecx
40e938:	f6 44 08 28 01       	testb  $0x1,0x28(%eax,%ecx,1)
40e93d:	75 15                	jne    0x40e954
40e93f:	e8 c3 93 ff ff       	call   0x407d07
40e944:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40e94a:	e8 a5 93 ff ff       	call   0x407cf4
40e94f:	83 20 00             	andl   $0x0,(%eax)
40e952:	eb 14                	jmp    0x40e968
40e954:	ff 75 10             	push   0x10(%ebp)
40e957:	ff 75 0c             	push   0xc(%ebp)
40e95a:	56                   	push   %esi
40e95b:	e8 47 00 00 00       	call   0x40e9a7
40e960:	83 c4 0c             	add    $0xc,%esp
40e963:	8b f8                	mov    %eax,%edi
40e965:	89 7d e4             	mov    %edi,-0x1c(%ebp)
40e968:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40e96f:	e8 0a 00 00 00       	call   0x40e97e
40e974:	8b c7                	mov    %edi,%eax
40e976:	eb 29                	jmp    0x40e9a1
40e978:	8b 75 08             	mov    0x8(%ebp),%esi
40e97b:	8b 7d e4             	mov    -0x1c(%ebp),%edi
40e97e:	56                   	push   %esi
40e97f:	e8 eb da ff ff       	call   0x40c46f
40e984:	59                   	pop    %ecx
40e985:	c3                   	ret
40e986:	e8 69 93 ff ff       	call   0x407cf4
40e98b:	83 20 00             	andl   $0x0,(%eax)
40e98e:	e8 74 93 ff ff       	call   0x407d07
40e993:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40e999:	e8 90 92 ff ff       	call   0x407c2e
40e99e:	83 c8 ff             	or     $0xffffffff,%eax
40e9a1:	e8 f0 51 ff ff       	call   0x403b96
40e9a6:	c3                   	ret
40e9a7:	8b ff                	mov    %edi,%edi
40e9a9:	55                   	push   %ebp
40e9aa:	8b ec                	mov    %esp,%ebp
40e9ac:	83 ec 30             	sub    $0x30,%esp
40e9af:	a1 0c 30 42 00       	mov    0x42300c,%eax
40e9b4:	33 c5                	xor    %ebp,%eax
40e9b6:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e9b9:	8b 4d 10             	mov    0x10(%ebp),%ecx
40e9bc:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40e9bf:	56                   	push   %esi
40e9c0:	8b 75 08             	mov    0x8(%ebp),%esi
40e9c3:	57                   	push   %edi
40e9c4:	8b 7d 0c             	mov    0xc(%ebp),%edi
40e9c7:	89 7d d0             	mov    %edi,-0x30(%ebp)
40e9ca:	85 c9                	test   %ecx,%ecx
40e9cc:	75 07                	jne    0x40e9d5
40e9ce:	33 c0                	xor    %eax,%eax
40e9d0:	e9 ce 01 00 00       	jmp    0x40eba3
40e9d5:	85 ff                	test   %edi,%edi
40e9d7:	75 1f                	jne    0x40e9f8
40e9d9:	e8 16 93 ff ff       	call   0x407cf4
40e9de:	21 38                	and    %edi,(%eax)
40e9e0:	e8 22 93 ff ff       	call   0x407d07
40e9e5:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40e9eb:	e8 3e 92 ff ff       	call   0x407c2e
40e9f0:	83 c8 ff             	or     $0xffffffff,%eax
40e9f3:	e9 ab 01 00 00       	jmp    0x40eba3
40e9f8:	53                   	push   %ebx
40e9f9:	8b c6                	mov    %esi,%eax
40e9fb:	8b de                	mov    %esi,%ebx
40e9fd:	c1 fb 06             	sar    $0x6,%ebx
40ea00:	83 e0 3f             	and    $0x3f,%eax
40ea03:	6b d0 30             	imul   $0x30,%eax,%edx
40ea06:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
40ea09:	8b 04 9d c0 41 42 00 	mov    0x4241c0(,%ebx,4),%eax
40ea10:	89 45 d4             	mov    %eax,-0x2c(%ebp)
40ea13:	89 55 e8             	mov    %edx,-0x18(%ebp)
40ea16:	8a 5c 10 29          	mov    0x29(%eax,%edx,1),%bl
40ea1a:	80 fb 02             	cmp    $0x2,%bl
40ea1d:	74 05                	je     0x40ea24
40ea1f:	80 fb 01             	cmp    $0x1,%bl
40ea22:	75 28                	jne    0x40ea4c
40ea24:	8b c1                	mov    %ecx,%eax
40ea26:	f7 d0                	not    %eax
40ea28:	a8 01                	test   $0x1,%al
40ea2a:	75 1d                	jne    0x40ea49
40ea2c:	e8 c3 92 ff ff       	call   0x407cf4
40ea31:	83 20 00             	andl   $0x0,(%eax)
40ea34:	e8 ce 92 ff ff       	call   0x407d07
40ea39:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40ea3f:	e8 ea 91 ff ff       	call   0x407c2e
40ea44:	e9 51 01 00 00       	jmp    0x40eb9a
40ea49:	8b 45 d4             	mov    -0x2c(%ebp),%eax
40ea4c:	f6 44 10 28 20       	testb  $0x20,0x28(%eax,%edx,1)
40ea51:	74 0f                	je     0x40ea62
40ea53:	6a 02                	push   $0x2
40ea55:	6a 00                	push   $0x0
40ea57:	6a 00                	push   $0x0
40ea59:	56                   	push   %esi
40ea5a:	e8 b2 f8 ff ff       	call   0x40e311
40ea5f:	83 c4 10             	add    $0x10,%esp
40ea62:	56                   	push   %esi
40ea63:	e8 e4 fa ff ff       	call   0x40e54c
40ea68:	59                   	pop    %ecx
40ea69:	84 c0                	test   %al,%al
40ea6b:	74 39                	je     0x40eaa6
40ea6d:	84 db                	test   %bl,%bl
40ea6f:	74 22                	je     0x40ea93
40ea71:	fe cb                	dec    %bl
40ea73:	80 fb 01             	cmp    $0x1,%bl
40ea76:	0f 87 ee 00 00 00    	ja     0x40eb6a
40ea7c:	ff 75 f8             	push   -0x8(%ebp)
40ea7f:	8d 45 ec             	lea    -0x14(%ebp),%eax
40ea82:	57                   	push   %edi
40ea83:	50                   	push   %eax
40ea84:	e8 56 fa ff ff       	call   0x40e4df
40ea89:	83 c4 0c             	add    $0xc,%esp
40ea8c:	8b f0                	mov    %eax,%esi
40ea8e:	e9 9c 00 00 00       	jmp    0x40eb2f
40ea93:	ff 75 f8             	push   -0x8(%ebp)
40ea96:	8d 45 ec             	lea    -0x14(%ebp),%eax
40ea99:	57                   	push   %edi
40ea9a:	56                   	push   %esi
40ea9b:	50                   	push   %eax
40ea9c:	e8 8b f8 ff ff       	call   0x40e32c
40eaa1:	83 c4 10             	add    $0x10,%esp
40eaa4:	eb e6                	jmp    0x40ea8c
40eaa6:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40eaa9:	8b 0c 85 c0 41 42 00 	mov    0x4241c0(,%eax,4),%ecx
40eab0:	8b 45 e8             	mov    -0x18(%ebp),%eax
40eab3:	f6 44 01 28 80       	testb  $0x80,0x28(%ecx,%eax,1)
40eab8:	74 46                	je     0x40eb00
40eaba:	0f be c3             	movsbl %bl,%eax
40eabd:	83 e8 00             	sub    $0x0,%eax
40eac0:	74 2e                	je     0x40eaf0
40eac2:	83 e8 01             	sub    $0x1,%eax
40eac5:	74 19                	je     0x40eae0
40eac7:	83 e8 01             	sub    $0x1,%eax
40eaca:	0f 85 9a 00 00 00    	jne    0x40eb6a
40ead0:	ff 75 f8             	push   -0x8(%ebp)
40ead3:	8d 45 ec             	lea    -0x14(%ebp),%eax
40ead6:	57                   	push   %edi
40ead7:	56                   	push   %esi
40ead8:	50                   	push   %eax
40ead9:	e8 c3 fb ff ff       	call   0x40e6a1
40eade:	eb c1                	jmp    0x40eaa1
40eae0:	ff 75 f8             	push   -0x8(%ebp)
40eae3:	8d 45 ec             	lea    -0x14(%ebp),%eax
40eae6:	57                   	push   %edi
40eae7:	56                   	push   %esi
40eae8:	50                   	push   %eax
40eae9:	e8 a1 fc ff ff       	call   0x40e78f
40eaee:	eb b1                	jmp    0x40eaa1
40eaf0:	ff 75 f8             	push   -0x8(%ebp)
40eaf3:	8d 45 ec             	lea    -0x14(%ebp),%eax
40eaf6:	57                   	push   %edi
40eaf7:	56                   	push   %esi
40eaf8:	50                   	push   %eax
40eaf9:	e8 c4 fa ff ff       	call   0x40e5c2
40eafe:	eb a1                	jmp    0x40eaa1
40eb00:	8b 44 01 18          	mov    0x18(%ecx,%eax,1),%eax
40eb04:	33 c9                	xor    %ecx,%ecx
40eb06:	51                   	push   %ecx
40eb07:	89 4d ec             	mov    %ecx,-0x14(%ebp)
40eb0a:	89 4d f0             	mov    %ecx,-0x10(%ebp)
40eb0d:	89 4d f4             	mov    %ecx,-0xc(%ebp)
40eb10:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40eb13:	51                   	push   %ecx
40eb14:	ff 75 f8             	push   -0x8(%ebp)
40eb17:	57                   	push   %edi
40eb18:	50                   	push   %eax
40eb19:	ff 15 38 b1 41 00    	call   *0x41b138
40eb1f:	85 c0                	test   %eax,%eax
40eb21:	75 09                	jne    0x40eb2c
40eb23:	ff 15 48 b0 41 00    	call   *0x41b048
40eb29:	89 45 ec             	mov    %eax,-0x14(%ebp)
40eb2c:	8d 75 ec             	lea    -0x14(%ebp),%esi
40eb2f:	8d 7d d8             	lea    -0x28(%ebp),%edi
40eb32:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40eb33:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40eb34:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40eb35:	8b 45 dc             	mov    -0x24(%ebp),%eax
40eb38:	85 c0                	test   %eax,%eax
40eb3a:	75 63                	jne    0x40eb9f
40eb3c:	8b 45 d8             	mov    -0x28(%ebp),%eax
40eb3f:	85 c0                	test   %eax,%eax
40eb41:	74 24                	je     0x40eb67
40eb43:	6a 05                	push   $0x5
40eb45:	5e                   	pop    %esi
40eb46:	3b c6                	cmp    %esi,%eax
40eb48:	75 14                	jne    0x40eb5e
40eb4a:	e8 b8 91 ff ff       	call   0x407d07
40eb4f:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40eb55:	e8 9a 91 ff ff       	call   0x407cf4
40eb5a:	89 30                	mov    %esi,(%eax)
40eb5c:	eb 3c                	jmp    0x40eb9a
40eb5e:	50                   	push   %eax
40eb5f:	e8 6d 91 ff ff       	call   0x407cd1
40eb64:	59                   	pop    %ecx
40eb65:	eb 33                	jmp    0x40eb9a
40eb67:	8b 7d d0             	mov    -0x30(%ebp),%edi
40eb6a:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40eb6d:	8b 4d e8             	mov    -0x18(%ebp),%ecx
40eb70:	8b 04 85 c0 41 42 00 	mov    0x4241c0(,%eax,4),%eax
40eb77:	f6 44 08 28 40       	testb  $0x40,0x28(%eax,%ecx,1)
40eb7c:	74 09                	je     0x40eb87
40eb7e:	80 3f 1a             	cmpb   $0x1a,(%edi)
40eb81:	75 04                	jne    0x40eb87
40eb83:	33 c0                	xor    %eax,%eax
40eb85:	eb 1b                	jmp    0x40eba2
40eb87:	e8 7b 91 ff ff       	call   0x407d07
40eb8c:	c7 00 1c 00 00 00    	movl   $0x1c,(%eax)
40eb92:	e8 5d 91 ff ff       	call   0x407cf4
40eb97:	83 20 00             	andl   $0x0,(%eax)
40eb9a:	83 c8 ff             	or     $0xffffffff,%eax
40eb9d:	eb 03                	jmp    0x40eba2
40eb9f:	2b 45 e0             	sub    -0x20(%ebp),%eax
40eba2:	5b                   	pop    %ebx
40eba3:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40eba6:	5f                   	pop    %edi
40eba7:	33 cd                	xor    %ebp,%ecx
40eba9:	5e                   	pop    %esi
40ebaa:	e8 a7 43 ff ff       	call   0x402f56
40ebaf:	8b e5                	mov    %ebp,%esp
40ebb1:	5d                   	pop    %ebp
40ebb2:	c3                   	ret
40ebb3:	8b ff                	mov    %edi,%edi
40ebb5:	55                   	push   %ebp
40ebb6:	8b ec                	mov    %esp,%ebp
40ebb8:	57                   	push   %edi
40ebb9:	ff 75 0c             	push   0xc(%ebp)
40ebbc:	e8 1f ca ff ff       	call   0x40b5e0
40ebc1:	59                   	pop    %ecx
40ebc2:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40ebc5:	8b f8                	mov    %eax,%edi
40ebc7:	8b 49 0c             	mov    0xc(%ecx),%ecx
40ebca:	f6 c1 06             	test   $0x6,%cl
40ebcd:	75 1f                	jne    0x40ebee
40ebcf:	e8 33 91 ff ff       	call   0x407d07
40ebd4:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40ebda:	8b 45 0c             	mov    0xc(%ebp),%eax
40ebdd:	6a 10                	push   $0x10
40ebdf:	59                   	pop    %ecx
40ebe0:	83 c0 0c             	add    $0xc,%eax
40ebe3:	f0 09 08             	lock or %ecx,(%eax)
40ebe6:	83 c8 ff             	or     $0xffffffff,%eax
40ebe9:	e9 d3 00 00 00       	jmp    0x40ecc1
40ebee:	8b 45 0c             	mov    0xc(%ebp),%eax
40ebf1:	8b 40 0c             	mov    0xc(%eax),%eax
40ebf4:	c1 e8 0c             	shr    $0xc,%eax
40ebf7:	a8 01                	test   $0x1,%al
40ebf9:	74 0d                	je     0x40ec08
40ebfb:	e8 07 91 ff ff       	call   0x407d07
40ec00:	c7 00 22 00 00 00    	movl   $0x22,(%eax)
40ec06:	eb d2                	jmp    0x40ebda
40ec08:	8b 45 0c             	mov    0xc(%ebp),%eax
40ec0b:	8b 40 0c             	mov    0xc(%eax),%eax
40ec0e:	a8 01                	test   $0x1,%al
40ec10:	74 28                	je     0x40ec3a
40ec12:	8b 45 0c             	mov    0xc(%ebp),%eax
40ec15:	83 60 08 00          	andl   $0x0,0x8(%eax)
40ec19:	8b 45 0c             	mov    0xc(%ebp),%eax
40ec1c:	8b 40 0c             	mov    0xc(%eax),%eax
40ec1f:	c1 e8 03             	shr    $0x3,%eax
40ec22:	a8 01                	test   $0x1,%al
40ec24:	8b 45 0c             	mov    0xc(%ebp),%eax
40ec27:	74 b4                	je     0x40ebdd
40ec29:	8b 48 04             	mov    0x4(%eax),%ecx
40ec2c:	89 08                	mov    %ecx,(%eax)
40ec2e:	8b 45 0c             	mov    0xc(%ebp),%eax
40ec31:	6a fe                	push   $0xfffffffe
40ec33:	59                   	pop    %ecx
40ec34:	83 c0 0c             	add    $0xc,%eax
40ec37:	f0 21 08             	lock and %ecx,(%eax)
40ec3a:	8b 45 0c             	mov    0xc(%ebp),%eax
40ec3d:	53                   	push   %ebx
40ec3e:	6a 02                	push   $0x2
40ec40:	5b                   	pop    %ebx
40ec41:	83 c0 0c             	add    $0xc,%eax
40ec44:	f0 09 18             	lock or %ebx,(%eax)
40ec47:	8b 45 0c             	mov    0xc(%ebp),%eax