487e7e:	83 c7 0c             	add    $0xc,%edi
487e81:	83 c3 fd             	add    $0xfffffffd,%ebx
487e84:	8d 1c 9f             	lea    (%edi,%ebx,4),%ebx
487e87:	89 5d fc             	mov    %ebx,-0x4(%ebp)
487e8a:	eb 42                	jmp    0x487ece
487e8c:	8b 37                	mov    (%edi),%esi
487e8e:	85 f6                	test   %esi,%esi
487e90:	74 52                	je     0x487ee4
487e92:	8b 46 0c             	mov    0xc(%esi),%eax
487e95:	90                   	nop
487e96:	c1 e8 0d             	shr    $0xd,%eax
487e99:	a8 01                	test   $0x1,%al
487e9b:	75 2e                	jne    0x487ecb
487e9d:	56                   	push   %esi
487e9e:	e8 49 1f ff ff       	call   0x479dec
487ea3:	59                   	pop    %ecx
487ea4:	8d 56 0c             	lea    0xc(%esi),%edx
487ea7:	bb 00 20 00 00       	mov    $0x2000,%ebx
487eac:	8b 02                	mov    (%edx),%eax
487eae:	8b c8                	mov    %eax,%ecx
487eb0:	0b cb                	or     %ebx,%ecx
487eb2:	f0 0f b1 0a          	lock cmpxchg %ecx,(%edx)
487eb6:	75 f6                	jne    0x487eae
487eb8:	8b 5d fc             	mov    -0x4(%ebp),%ebx
487ebb:	c1 e8 0d             	shr    $0xd,%eax
487ebe:	f6 d0                	not    %al
487ec0:	a8 01                	test   $0x1,%al
487ec2:	75 19                	jne    0x487edd
487ec4:	56                   	push   %esi
487ec5:	e8 36 1f ff ff       	call   0x479e00
487eca:	59                   	pop    %ecx
487ecb:	83 c7 04             	add    $0x4,%edi
487ece:	3b fb                	cmp    %ebx,%edi
487ed0:	75 ba                	jne    0x487e8c
487ed2:	8b 45 08             	mov    0x8(%ebp),%eax
487ed5:	83 20 00             	andl   $0x0,(%eax)
487ed8:	5f                   	pop    %edi
487ed9:	5e                   	pop    %esi
487eda:	5b                   	pop    %ebx
487edb:	c9                   	leave
487edc:	c3                   	ret
487edd:	8b 45 08             	mov    0x8(%ebp),%eax
487ee0:	89 30                	mov    %esi,(%eax)
487ee2:	eb f4                	jmp    0x487ed8
487ee4:	6a 38                	push   $0x38
487ee6:	6a 01                	push   $0x1
487ee8:	e8 50 04 00 00       	call   0x48833d
487eed:	6a 00                	push   $0x0
487eef:	89 07                	mov    %eax,(%edi)
487ef1:	e8 02 d9 ff ff       	call   0x4857f8
487ef6:	8b 07                	mov    (%edi),%eax
487ef8:	83 c4 0c             	add    $0xc,%esp
487efb:	85 c0                	test   %eax,%eax
487efd:	74 d3                	je     0x487ed2
487eff:	83 48 10 ff          	orl    $0xffffffff,0x10(%eax)
487f03:	8b 07                	mov    (%edi),%eax
487f05:	6a 00                	push   $0x0
487f07:	68 a0 0f 00 00       	push   $0xfa0
487f0c:	83 c0 20             	add    $0x20,%eax
487f0f:	50                   	push   %eax
487f10:	e8 1a 0b 00 00       	call   0x488a2f
487f15:	8b 37                	mov    (%edi),%esi
487f17:	b9 00 20 00 00       	mov    $0x2000,%ecx
487f1c:	8d 46 0c             	lea    0xc(%esi),%eax
487f1f:	f0 09 08             	lock or %ecx,(%eax)
487f22:	56                   	push   %esi
487f23:	e8 c4 1e ff ff       	call   0x479dec
487f28:	59                   	pop    %ecx
487f29:	eb b2                	jmp    0x487edd
487f2b:	8b ff                	mov    %edi,%edi
487f2d:	55                   	push   %ebp
487f2e:	8b ec                	mov    %esp,%ebp
487f30:	56                   	push   %esi
487f31:	8b 75 08             	mov    0x8(%ebp),%esi
487f34:	57                   	push   %edi
487f35:	8d 7e 0c             	lea    0xc(%esi),%edi
487f38:	8b 07                	mov    (%edi),%eax
487f3a:	90                   	nop
487f3b:	c1 e8 0d             	shr    $0xd,%eax
487f3e:	a8 01                	test   $0x1,%al
487f40:	74 25                	je     0x487f67
487f42:	8b 07                	mov    (%edi),%eax
487f44:	90                   	nop
487f45:	c1 e8 06             	shr    $0x6,%eax
487f48:	a8 01                	test   $0x1,%al
487f4a:	74 1b                	je     0x487f67
487f4c:	ff 76 04             	push   0x4(%esi)
487f4f:	e8 a4 d8 ff ff       	call   0x4857f8
487f54:	59                   	pop    %ecx
487f55:	b8 bf fe ff ff       	mov    $0xfffffebf,%eax
487f5a:	f0 21 07             	lock and %eax,(%edi)
487f5d:	33 c0                	xor    %eax,%eax
487f5f:	89 46 04             	mov    %eax,0x4(%esi)
487f62:	89 06                	mov    %eax,(%esi)
487f64:	89 46 08             	mov    %eax,0x8(%esi)
487f67:	5f                   	pop    %edi
487f68:	5e                   	pop    %esi
487f69:	5d                   	pop    %ebp
487f6a:	c3                   	ret
487f6b:	8b ff                	mov    %edi,%edi
487f6d:	55                   	push   %ebp
487f6e:	8b ec                	mov    %esp,%ebp
487f70:	51                   	push   %ecx
487f71:	51                   	push   %ecx
487f72:	a1 14 40 4c 00       	mov    0x4c4014,%eax
487f77:	33 c5                	xor    %ebp,%eax
487f79:	89 45 fc             	mov    %eax,-0x4(%ebp)
487f7c:	53                   	push   %ebx
487f7d:	56                   	push   %esi
487f7e:	57                   	push   %edi
487f7f:	8b 7d 18             	mov    0x18(%ebp),%edi
487f82:	85 ff                	test   %edi,%edi
487f84:	7e 14                	jle    0x487f9a
487f86:	57                   	push   %edi
487f87:	ff 75 14             	push   0x14(%ebp)
487f8a:	e8 4e aa ff ff       	call   0x4829dd
487f8f:	59                   	pop    %ecx
487f90:	3b c7                	cmp    %edi,%eax
487f92:	59                   	pop    %ecx
487f93:	8d 78 01             	lea    0x1(%eax),%edi
487f96:	7c 02                	jl     0x487f9a
487f98:	8b f8                	mov    %eax,%edi
487f9a:	8b 5d 24             	mov    0x24(%ebp),%ebx
487f9d:	85 db                	test   %ebx,%ebx
487f9f:	75 0b                	jne    0x487fac
487fa1:	8b 45 08             	mov    0x8(%ebp),%eax
487fa4:	8b 00                	mov    (%eax),%eax
487fa6:	8b 58 08             	mov    0x8(%eax),%ebx
487fa9:	89 5d 24             	mov    %ebx,0x24(%ebp)
487fac:	33 c0                	xor    %eax,%eax
487fae:	39 45 28             	cmp    %eax,0x28(%ebp)
487fb1:	6a 00                	push   $0x0
487fb3:	6a 00                	push   $0x0
487fb5:	0f 95 c0             	setne  %al
487fb8:	57                   	push   %edi
487fb9:	ff 75 14             	push   0x14(%ebp)
487fbc:	8d 04 c5 01 00 00 00 	lea    0x1(,%eax,8),%eax
487fc3:	50                   	push   %eax
487fc4:	53                   	push   %ebx
487fc5:	e8 86 6c 00 00       	call   0x48ec50
487fca:	83 c4 18             	add    $0x18,%esp
487fcd:	89 45 f8             	mov    %eax,-0x8(%ebp)
487fd0:	85 c0                	test   %eax,%eax
487fd2:	0f 84 70 01 00 00    	je     0x488148
487fd8:	03 c0                	add    %eax,%eax
487fda:	8d 48 08             	lea    0x8(%eax),%ecx
487fdd:	3b c1                	cmp    %ecx,%eax
487fdf:	1b c0                	sbb    %eax,%eax
487fe1:	23 c1                	and    %ecx,%eax
487fe3:	0f 84 52 01 00 00    	je     0x48813b
487fe9:	3d 00 04 00 00       	cmp    $0x400,%eax
487fee:	77 17                	ja     0x488007
487ff0:	e8 db 23 fe ff       	call   0x46a3d0
487ff5:	8b f4                	mov    %esp,%esi
487ff7:	85 f6                	test   %esi,%esi
487ff9:	0f 84 3e 01 00 00    	je     0x48813d
487fff:	c7 06 cc cc 00 00    	movl   $0xcccc,(%esi)
488005:	eb 17                	jmp    0x48801e
488007:	50                   	push   %eax
488008:	e8 25 d8 ff ff       	call   0x485832
48800d:	8b f0                	mov    %eax,%esi
48800f:	59                   	pop    %ecx
488010:	85 f6                	test   %esi,%esi
488012:	0f 84 25 01 00 00    	je     0x48813d
488018:	c7 06 dd dd 00 00    	movl   $0xdddd,(%esi)
48801e:	83 c6 08             	add    $0x8,%esi
488021:	85 f6                	test   %esi,%esi
488023:	0f 84 14 01 00 00    	je     0x48813d
488029:	ff 75 f8             	push   -0x8(%ebp)
48802c:	56                   	push   %esi
48802d:	57                   	push   %edi
48802e:	ff 75 14             	push   0x14(%ebp)
488031:	6a 01                	push   $0x1
488033:	53                   	push   %ebx
488034:	e8 17 6c 00 00       	call   0x48ec50
488039:	83 c4 18             	add    $0x18,%esp
48803c:	85 c0                	test   %eax,%eax
48803e:	0f 84 f9 00 00 00    	je     0x48813d
488044:	8b 7d f8             	mov    -0x8(%ebp),%edi
488047:	33 c0                	xor    %eax,%eax
488049:	50                   	push   %eax
48804a:	50                   	push   %eax
48804b:	50                   	push   %eax
48804c:	50                   	push   %eax
48804d:	50                   	push   %eax
48804e:	57                   	push   %edi
48804f:	56                   	push   %esi
488050:	ff 75 10             	push   0x10(%ebp)
488053:	ff 75 0c             	push   0xc(%ebp)
488056:	e8 96 0a 00 00       	call   0x488af1
48805b:	8b d8                	mov    %eax,%ebx
48805d:	85 db                	test   %ebx,%ebx
48805f:	0f 84 d8 00 00 00    	je     0x48813d
488065:	ba 00 04 00 00       	mov    $0x400,%edx
48806a:	85 55 10             	test   %edx,0x10(%ebp)
48806d:	74 38                	je     0x4880a7
48806f:	8b 45 20             	mov    0x20(%ebp),%eax
488072:	85 c0                	test   %eax,%eax
488074:	0f 84 c5 00 00 00    	je     0x48813f
48807a:	3b d8                	cmp    %eax,%ebx
48807c:	0f 8f bb 00 00 00    	jg     0x48813d
488082:	33 c9                	xor    %ecx,%ecx
488084:	51                   	push   %ecx
488085:	51                   	push   %ecx
488086:	51                   	push   %ecx
488087:	50                   	push   %eax
488088:	ff 75 1c             	push   0x1c(%ebp)
48808b:	57                   	push   %edi
48808c:	56                   	push   %esi
48808d:	ff 75 10             	push   0x10(%ebp)
488090:	ff 75 0c             	push   0xc(%ebp)
488093:	e8 59 0a 00 00       	call   0x488af1
488098:	8b d8                	mov    %eax,%ebx
48809a:	85 db                	test   %ebx,%ebx
48809c:	0f 85 9d 00 00 00    	jne    0x48813f
4880a2:	e9 96 00 00 00       	jmp    0x48813d
4880a7:	8d 04 1b             	lea    (%ebx,%ebx,1),%eax
4880aa:	8d 48 08             	lea    0x8(%eax),%ecx
4880ad:	3b c1                	cmp    %ecx,%eax
4880af:	1b c0                	sbb    %eax,%eax
4880b1:	23 c1                	and    %ecx,%eax
4880b3:	74 7b                	je     0x488130
4880b5:	3b c2                	cmp    %edx,%eax
4880b7:	77 13                	ja     0x4880cc
4880b9:	e8 12 23 fe ff       	call   0x46a3d0
4880be:	8b fc                	mov    %esp,%edi
4880c0:	85 ff                	test   %edi,%edi
4880c2:	74 6e                	je     0x488132
4880c4:	c7 07 cc cc 00 00    	movl   $0xcccc,(%edi)
4880ca:	eb 13                	jmp    0x4880df
4880cc:	50                   	push   %eax
4880cd:	e8 60 d7 ff ff       	call   0x485832
4880d2:	8b f8                	mov    %eax,%edi
4880d4:	59                   	pop    %ecx
4880d5:	85 ff                	test   %edi,%edi
4880d7:	74 59                	je     0x488132
4880d9:	c7 07 dd dd 00 00    	movl   $0xdddd,(%edi)
4880df:	83 c7 08             	add    $0x8,%edi
4880e2:	85 ff                	test   %edi,%edi
4880e4:	74 4c                	je     0x488132
4880e6:	33 c0                	xor    %eax,%eax
4880e8:	50                   	push   %eax
4880e9:	50                   	push   %eax
4880ea:	50                   	push   %eax
4880eb:	53                   	push   %ebx
4880ec:	57                   	push   %edi
4880ed:	ff 75 f8             	push   -0x8(%ebp)
4880f0:	56                   	push   %esi
4880f1:	ff 75 10             	push   0x10(%ebp)
4880f4:	ff 75 0c             	push   0xc(%ebp)
4880f7:	e8 f5 09 00 00       	call   0x488af1
4880fc:	85 c0                	test   %eax,%eax
4880fe:	74 32                	je     0x488132
488100:	33 c0                	xor    %eax,%eax
488102:	50                   	push   %eax
488103:	50                   	push   %eax
488104:	39 45 20             	cmp    %eax,0x20(%ebp)
488107:	75 1f                	jne    0x488128
488109:	50                   	push   %eax
48810a:	50                   	push   %eax
48810b:	53                   	push   %ebx
48810c:	57                   	push   %edi
48810d:	50                   	push   %eax
48810e:	ff 75 24             	push   0x24(%ebp)
488111:	e8 f4 6b 00 00       	call   0x48ed0a
488116:	8b d8                	mov    %eax,%ebx
488118:	83 c4 20             	add    $0x20,%esp
48811b:	85 db                	test   %ebx,%ebx
48811d:	74 13                	je     0x488132
48811f:	57                   	push   %edi
488120:	e8 d5 15 fe ff       	call   0x4696fa
488125:	59                   	pop    %ecx
488126:	eb 17                	jmp    0x48813f
488128:	ff 75 20             	push   0x20(%ebp)
48812b:	ff 75 1c             	push   0x1c(%ebp)
48812e:	eb db                	jmp    0x48810b
488130:	33 ff                	xor    %edi,%edi
488132:	57                   	push   %edi
488133:	e8 c2 15 fe ff       	call   0x4696fa
488138:	59                   	pop    %ecx
488139:	eb 02                	jmp    0x48813d
48813b:	33 f6                	xor    %esi,%esi
48813d:	33 db                	xor    %ebx,%ebx
48813f:	56                   	push   %esi
488140:	e8 b5 15 fe ff       	call   0x4696fa
488145:	59                   	pop    %ecx
488146:	8b c3                	mov    %ebx,%eax
488148:	8d 65 ec             	lea    -0x14(%ebp),%esp
48814b:	5f                   	pop    %edi
48814c:	5e                   	pop    %esi
48814d:	5b                   	pop    %ebx
48814e:	8b 4d fc             	mov    -0x4(%ebp),%ecx
488151:	33 cd                	xor    %ebp,%ecx
488153:	e8 72 18 fe ff       	call   0x4699ca
488158:	c9                   	leave
488159:	c3                   	ret
48815a:	8b ff                	mov    %edi,%edi
48815c:	55                   	push   %ebp
48815d:	8b ec                	mov    %esp,%ebp
48815f:	83 ec 10             	sub    $0x10,%esp
488162:	ff 75 08             	push   0x8(%ebp)
488165:	8d 4d f0             	lea    -0x10(%ebp),%ecx
488168:	e8 a4 19 ff ff       	call   0x479b11
48816d:	ff 75 28             	push   0x28(%ebp)
488170:	8d 45 f4             	lea    -0xc(%ebp),%eax
488173:	ff 75 24             	push   0x24(%ebp)
488176:	ff 75 20             	push   0x20(%ebp)
488179:	ff 75 1c             	push   0x1c(%ebp)
48817c:	ff 75 18             	push   0x18(%ebp)
48817f:	ff 75 14             	push   0x14(%ebp)
488182:	ff 75 10             	push   0x10(%ebp)
488185:	ff 75 0c             	push   0xc(%ebp)
488188:	50                   	push   %eax
488189:	e8 dd fd ff ff       	call   0x487f6b
48818e:	83 c4 24             	add    $0x24,%esp
488191:	80 7d fc 00          	cmpb   $0x0,-0x4(%ebp)
488195:	74 0a                	je     0x4881a1
488197:	8b 4d f0             	mov    -0x10(%ebp),%ecx
48819a:	83 a1 50 03 00 00 fd 	andl   $0xfffffffd,0x350(%ecx)
4881a1:	c9                   	leave
4881a2:	c3                   	ret
4881a3:	8b ff                	mov    %edi,%edi
4881a5:	55                   	push   %ebp
4881a6:	8b ec                	mov    %esp,%ebp
4881a8:	8b 45 08             	mov    0x8(%ebp),%eax
4881ab:	56                   	push   %esi
4881ac:	85 c0                	test   %eax,%eax
4881ae:	75 18                	jne    0x4881c8
4881b0:	e8 80 1d ff ff       	call   0x479f35
4881b5:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
4881bb:	e8 61 14 ff ff       	call   0x479621
4881c0:	83 c8 ff             	or     $0xffffffff,%eax
4881c3:	e9 67 01 00 00       	jmp    0x48832f
4881c8:	8b 40 0c             	mov    0xc(%eax),%eax
4881cb:	53                   	push   %ebx
4881cc:	90                   	nop
4881cd:	33 db                	xor    %ebx,%ebx
4881cf:	c1 e8 0d             	shr    $0xd,%eax
4881d2:	43                   	inc    %ebx
4881d3:	84 c3                	test   %al,%bl
4881d5:	0f 84 50 01 00 00    	je     0x48832b
4881db:	8b 45 08             	mov    0x8(%ebp),%eax
4881de:	8b 40 0c             	mov    0xc(%eax),%eax
4881e1:	90                   	nop
4881e2:	c1 e8 0c             	shr    $0xc,%eax
4881e5:	84 c3                	test   %al,%bl
4881e7:	0f 85 3e 01 00 00    	jne    0x48832b
4881ed:	8b 45 08             	mov    0x8(%ebp),%eax
4881f0:	8b 40 0c             	mov    0xc(%eax),%eax
4881f3:	90                   	nop