491f0a:	8b 50 04             	mov    0x4(%eax),%edx
491f0d:	8b 52 04             	mov    0x4(%edx),%edx
491f10:	66 83 ba 62 03 00 00 	cmpw   $0x0,0x362(%edx)
491f17:	00
491f18:	74 0a                	je     0x491f24
491f1a:	c7 44 24 18 ff ff ff 	movl   $0xffffffff,0x18(%esp)
491f21:	ff
491f22:	eb 04                	jmp    0x491f28
491f24:	89 4c 24 18          	mov    %ecx,0x18(%esp)
491f28:	e8 0b fd ff ff       	call   0x491c38
491f2d:	8b d8                	mov    %eax,%ebx
491f2f:	8b c4                	mov    %esp,%eax
491f31:	50                   	push   %eax
491f32:	6a 00                	push   $0x0
491f34:	68 0d 11 00 00       	push   $0x110d
491f39:	53                   	push   %ebx
491f3a:	e8 f1 52 f7 ff       	call   0x407230
491f3f:	83 c4 28             	add    $0x28,%esp
491f42:	5b                   	pop    %ebx
491f43:	c3                   	ret
491f44:	53                   	push   %ebx
491f45:	83 c4 d8             	add    $0xffffffd8,%esp
491f48:	80 78 24 00          	cmpb   $0x0,0x24(%eax)
491f4c:	75 4d                	jne    0x491f9b
491f4e:	3b 50 18             	cmp    0x18(%eax),%edx
491f51:	74 48                	je     0x491f9b
491f53:	8b ca                	mov    %edx,%ecx
491f55:	89 48 18             	mov    %ecx,0x18(%eax)
491f58:	c7 04 24 30 00 00 00 	movl   $0x30,(%esp)
491f5f:	8b 50 10             	mov    0x10(%eax),%edx
491f62:	89 54 24 04          	mov    %edx,0x4(%esp)
491f66:	8b 50 04             	mov    0x4(%eax),%edx
491f69:	8b 52 04             	mov    0x4(%edx),%edx
491f6c:	66 83 ba 6a 03 00 00 	cmpw   $0x0,0x36a(%edx)
491f73:	00
491f74:	74 0a                	je     0x491f80
491f76:	c7 44 24 1c ff ff ff 	movl   $0xffffffff,0x1c(%esp)
491f7d:	ff
491f7e:	eb 04                	jmp    0x491f84
491f80:	89 4c 24 1c          	mov    %ecx,0x1c(%esp)
491f84:	e8 af fc ff ff       	call   0x491c38
491f89:	8b d8                	mov    %eax,%ebx
491f8b:	8b c4                	mov    %esp,%eax
491f8d:	50                   	push   %eax
491f8e:	6a 00                	push   $0x0
491f90:	68 0d 11 00 00       	push   $0x110d
491f95:	53                   	push   %ebx
491f96:	e8 95 52 f7 ff       	call   0x407230
491f9b:	83 c4 28             	add    $0x28,%esp
491f9e:	5b                   	pop    %ebx
491f9f:	c3                   	ret
491fa0:	53                   	push   %ebx
491fa1:	83 c4 d8             	add    $0xffffffd8,%esp
491fa4:	80 78 24 00          	cmpb   $0x0,0x24(%eax)
491fa8:	75 3f                	jne    0x491fe9
491faa:	3b 50 1c             	cmp    0x1c(%eax),%edx
491fad:	74 3a                	je     0x491fe9
491faf:	8b ca                	mov    %edx,%ecx
491fb1:	89 48 1c             	mov    %ecx,0x1c(%eax)
491fb4:	c7 04 24 18 00 00 00 	movl   $0x18,(%esp)
491fbb:	c7 44 24 0c 00 0f 00 	movl   $0xf00,0xc(%esp)
491fc2:	00
491fc3:	8b 50 10             	mov    0x10(%eax),%edx
491fc6:	89 54 24 04          	mov    %edx,0x4(%esp)
491fca:	41                   	inc    %ecx
491fcb:	c1 e1 08             	shl    $0x8,%ecx
491fce:	89 4c 24 08          	mov    %ecx,0x8(%esp)
491fd2:	e8 61 fc ff ff       	call   0x491c38
491fd7:	8b d8                	mov    %eax,%ebx
491fd9:	8b c4                	mov    %esp,%eax
491fdb:	50                   	push   %eax
491fdc:	6a 00                	push   $0x0
491fde:	68 0d 11 00 00       	push   $0x110d
491fe3:	53                   	push   %ebx
491fe4:	e8 47 52 f7 ff       	call   0x407230
491fe9:	83 c4 28             	add    $0x28,%esp
491fec:	5b                   	pop    %ebx
491fed:	c3                   	ret
491fee:	8b c0                	mov    %eax,%eax
491ff0:	53                   	push   %ebx
491ff1:	83 c4 d8             	add    $0xffffffd8,%esp
491ff4:	80 78 24 00          	cmpb   $0x0,0x24(%eax)
491ff8:	75 42                	jne    0x49203c
491ffa:	3b 50 20             	cmp    0x20(%eax),%edx
491ffd:	74 3d                	je     0x49203c
491fff:	89 50 20             	mov    %edx,0x20(%eax)
492002:	85 d2                	test   %edx,%edx
492004:	7c 01                	jl     0x492007
492006:	4a                   	dec    %edx
492007:	c7 04 24 18 00 00 00 	movl   $0x18,(%esp)
49200e:	c7 44 24 0c 00 f0 00 	movl   $0xf000,0xc(%esp)
492015:	00
492016:	8b 48 10             	mov    0x10(%eax),%ecx
492019:	89 4c 24 04          	mov    %ecx,0x4(%esp)
49201d:	42                   	inc    %edx
49201e:	c1 e2 0c             	shl    $0xc,%edx
492021:	89 54 24 08          	mov    %edx,0x8(%esp)
492025:	e8 0e fc ff ff       	call   0x491c38
49202a:	8b d8                	mov    %eax,%ebx
49202c:	8b c4                	mov    %esp,%eax
49202e:	50                   	push   %eax
49202f:	6a 00                	push   $0x0
492031:	68 0d 11 00 00       	push   $0x110d
492036:	53                   	push   %ebx
492037:	e8 f4 51 f7 ff       	call   0x407230
49203c:	83 c4 28             	add    $0x28,%esp
49203f:	5b                   	pop    %ebx
492040:	c3                   	ret
492041:	8d 40 00             	lea    0x0(%eax),%eax
492044:	53                   	push   %ebx
492045:	56                   	push   %esi
492046:	57                   	push   %edi
492047:	55                   	push   %ebp
492048:	8b fa                	mov    %edx,%edi
49204a:	33 f6                	xor    %esi,%esi
49204c:	33 db                	xor    %ebx,%ebx
49204e:	e8 95 04 00 00       	call   0x4924e8
492053:	8b e8                	mov    %eax,%ebp
492055:	85 ed                	test   %ebp,%ebp
492057:	74 14                	je     0x49206d
492059:	46                   	inc    %esi
49205a:	8b d5                	mov    %ebp,%edx
49205c:	8b c5                	mov    %ebp,%eax
49205e:	e8 75 04 00 00       	call   0x4924d8
492063:	8b e8                	mov    %eax,%ebp
492065:	3b fe                	cmp    %esi,%edi
492067:	7c 0a                	jl     0x492073
492069:	85 ed                	test   %ebp,%ebp
49206b:	75 ec                	jne    0x492059
49206d:	3b fe                	cmp    %esi,%edi
49206f:	75 02                	jne    0x492073
492071:	b3 01                	mov    $0x1,%bl
492073:	8b c3                	mov    %ebx,%eax
492075:	5d                   	pop    %ebp
492076:	5f                   	pop    %edi
492077:	5e                   	pop    %esi
492078:	5b                   	pop    %ebx
492079:	c3                   	ret
49207a:	8b c0                	mov    %eax,%eax
49207c:	53                   	push   %ebx
49207d:	56                   	push   %esi
49207e:	51                   	push   %ecx
49207f:	88 14 24             	mov    %dl,(%esp)
492082:	8b f0                	mov    %eax,%esi
492084:	33 db                	xor    %ebx,%ebx
492086:	80 7e 24 00          	cmpb   $0x0,0x24(%esi)
49208a:	75 3b                	jne    0x4920c7
49208c:	8b c6                	mov    %esi,%eax
49208e:	e8 e5 02 00 00       	call   0x492378
492093:	84 c0                	test   %al,%al
492095:	74 30                	je     0x4920c7
492097:	80 3c 24 00          	cmpb   $0x0,(%esp)
49209b:	74 16                	je     0x4920b3
49209d:	8b c6                	mov    %esi,%eax
49209f:	e8 a8 fb ff ff       	call   0x491c4c
4920a4:	8b d6                	mov    %esi,%edx
4920a6:	66 be ad ff          	mov    $0xffad,%si
4920aa:	e8 69 1a f7 ff       	call   0x403b18
4920af:	8b d8                	mov    %eax,%ebx
4920b1:	eb 14                	jmp    0x4920c7
4920b3:	8b c6                	mov    %esi,%eax
4920b5:	e8 92 fb ff ff       	call   0x491c4c
4920ba:	8b d6                	mov    %esi,%edx
4920bc:	66 be ae ff          	mov    $0xffae,%si
4920c0:	e8 53 1a f7 ff       	call   0x403b18
4920c5:	8b d8                	mov    %eax,%ebx
4920c7:	8b c3                	mov    %ebx,%eax
4920c9:	5a                   	pop    %edx
4920ca:	5e                   	pop    %esi
4920cb:	5b                   	pop    %ebx
4920cc:	c3                   	ret
4920cd:	8d 40 00             	lea    0x0(%eax),%eax
4920d0:	53                   	push   %ebx
4920d1:	56                   	push   %esi
4920d2:	8b da                	mov    %edx,%ebx
4920d4:	8b f0                	mov    %eax,%esi
4920d6:	80 7e 24 00          	cmpb   $0x0,0x24(%esi)
4920da:	75 35                	jne    0x492111
4920dc:	8b c6                	mov    %esi,%eax
4920de:	e8 95 02 00 00       	call   0x492378
4920e3:	84 c0                	test   %al,%al
4920e5:	74 2a                	je     0x492111
4920e7:	84 db                	test   %bl,%bl
4920e9:	74 14                	je     0x4920ff
4920eb:	8b c6                	mov    %esi,%eax
4920ed:	e8 5a fb ff ff       	call   0x491c4c
4920f2:	8b d6                	mov    %esi,%edx
4920f4:	66 be a7 ff          	mov    $0xffa7,%si
4920f8:	e8 1b 1a f7 ff       	call   0x403b18
4920fd:	eb 12                	jmp    0x492111
4920ff:	8b c6                	mov    %esi,%eax
492101:	e8 46 fb ff ff       	call   0x491c4c
492106:	8b d6                	mov    %esi,%edx
492108:	66 be ab ff          	mov    $0xffab,%si
49210c:	e8 07 1a f7 ff       	call   0x403b18
492111:	5e                   	pop    %esi
492112:	5b                   	pop    %ebx
492113:	c3                   	ret
492114:	55                   	push   %ebp
492115:	8b ec                	mov    %esp,%ebp
492117:	51                   	push   %ecx
492118:	53                   	push   %ebx
492119:	56                   	push   %esi
49211a:	8b da                	mov    %edx,%ebx
49211c:	89 45 fc             	mov    %eax,-0x4(%ebp)
49211f:	8b 45 fc             	mov    -0x4(%ebp),%eax
492122:	80 78 24 00          	cmpb   $0x0,0x24(%eax)
492126:	0f 85 da 00 00 00    	jne    0x492206
49212c:	84 c9                	test   %cl,%cl
49212e:	74 32                	je     0x492162
492130:	8b 75 fc             	mov    -0x4(%ebp),%esi
492133:	33 c9                	xor    %ecx,%ecx
492135:	8b d3                	mov    %ebx,%edx
492137:	8b c6                	mov    %esi,%eax
492139:	e8 d6 ff ff ff       	call   0x492114
49213e:	8b c6                	mov    %esi,%eax
492140:	e8 df 03 00 00       	call   0x492524
492145:	8b f0                	mov    %eax,%esi
492147:	85 f6                	test   %esi,%esi
492149:	0f 84 b7 00 00 00    	je     0x492206
49214f:	8b 55 fc             	mov    -0x4(%ebp),%edx
492152:	8b c6                	mov    %esi,%eax
492154:	e8 fb fa ff ff       	call   0x491c54
492159:	84 c0                	test   %al,%al
49215b:	75 d6                	jne    0x492133
49215d:	e9 a4 00 00 00       	jmp    0x492206
492162:	8b 45 fc             	mov    -0x4(%ebp),%eax
492165:	e8 e2 fa ff ff       	call   0x491c4c
49216a:	c6 80 8d 02 00 00 01 	movb   $0x1,0x28d(%eax)
492171:	33 d2                	xor    %edx,%edx
492173:	55                   	push   %ebp
492174:	68 ff 21 49 00       	push   $0x4921ff
492179:	64 ff 32             	push   %fs:(%edx)
49217c:	64 89 22             	mov    %esp,%fs:(%edx)
49217f:	33 f6                	xor    %esi,%esi
492181:	84 db                	test   %bl,%bl
492183:	74 1f                	je     0x4921a4
492185:	b2 01                	mov    $0x1,%dl
492187:	8b 45 fc             	mov    -0x4(%ebp),%eax
49218a:	e8 ed fe ff ff       	call   0x49207c
49218f:	84 c0                	test   %al,%al
492191:	74 2e                	je     0x4921c1
492193:	be 02 00 00 00       	mov    $0x2,%esi
492198:	b2 01                	mov    $0x1,%dl
49219a:	8b 45 fc             	mov    -0x4(%ebp),%eax
49219d:	e8 2e ff ff ff       	call   0x4920d0
4921a2:	eb 1d                	jmp    0x4921c1
4921a4:	33 d2                	xor    %edx,%edx
4921a6:	8b 45 fc             	mov    -0x4(%ebp),%eax
4921a9:	e8 ce fe ff ff       	call   0x49207c
4921ae:	84 c0                	test   %al,%al
4921b0:	74 0f                	je     0x4921c1
4921b2:	be 01 00 00 00       	mov    $0x1,%esi
4921b7:	33 d2                	xor    %edx,%edx
4921b9:	8b 45 fc             	mov    -0x4(%ebp),%eax
4921bc:	e8 0f ff ff ff       	call   0x4920d0
4921c1:	85 f6                	test   %esi,%esi
4921c3:	74 1d                	je     0x4921e2
4921c5:	8b 45 fc             	mov    -0x4(%ebp),%eax
4921c8:	e8 6b fa ff ff       	call   0x491c38
4921cd:	8b d8                	mov    %eax,%ebx
4921cf:	8b 45 fc             	mov    -0x4(%ebp),%eax
4921d2:	8b 40 10             	mov    0x10(%eax),%eax
4921d5:	50                   	push   %eax
4921d6:	56                   	push   %esi
4921d7:	68 02 11 00 00       	push   $0x1102
4921dc:	53                   	push   %ebx
4921dd:	e8 4e 50 f7 ff       	call   0x407230
4921e2:	33 c0                	xor    %eax,%eax
4921e4:	5a                   	pop    %edx
4921e5:	59                   	pop    %ecx
4921e6:	59                   	pop    %ecx
4921e7:	64 89 10             	mov    %edx,%fs:(%eax)
4921ea:	68 06 22 49 00       	push   $0x492206
4921ef:	8b 45 fc             	mov    -0x4(%ebp),%eax
4921f2:	e8 55 fa ff ff       	call   0x491c4c
4921f7:	c6 80 8d 02 00 00 00 	movb   $0x0,0x28d(%eax)
4921fe:	c3                   	ret
4921ff:	e9 ac 1e f7 ff       	jmp    0x4040b0
492204:	eb e9                	jmp    0x4921ef
492206:	5e                   	pop    %esi
492207:	5b                   	pop    %ebx
492208:	59                   	pop    %ecx
492209:	5d                   	pop    %ebp
49220a:	c3                   	ret
49220b:	90                   	nop
49220c:	8b ca                	mov    %edx,%ecx
49220e:	b2 01                	mov    $0x1,%dl
492210:	e8 ff fe ff ff       	call   0x492114
492215:	c3                   	ret
492216:	8b c0                	mov    %eax,%eax
492218:	8b ca                	mov    %edx,%ecx
49221a:	33 d2                	xor    %edx,%edx
49221c:	e8 f3 fe ff ff       	call   0x492114
492221:	c3                   	ret
492222:	8b c0                	mov    %eax,%eax
492224:	b2 04                	mov    $0x4,%dl
492226:	e8 7d fb ff ff       	call   0x491da8
49222b:	c3                   	ret
49222c:	53                   	push   %ebx
49222d:	56                   	push   %esi
49222e:	8b da                	mov    %edx,%ebx
492230:	8b f0                	mov    %eax,%esi
492232:	8b c6                	mov    %esi,%eax
492234:	e8 eb ff ff ff       	call   0x492224
492239:	3a d8                	cmp    %al,%bl
49223b:	74 18                	je     0x492255
49223d:	84 db                	test   %bl,%bl
49223f:	74 0b                	je     0x49224c
492241:	33 d2                	xor    %edx,%edx
492243:	8b c6                	mov    %esi,%eax
492245:	e8 c2 ff ff ff       	call   0x49220c
49224a:	eb 09                	jmp    0x492255
49224c:	33 d2                	xor    %edx,%edx
49224e:	8b c6                	mov    %esi,%eax
492250:	e8 c3 ff ff ff       	call   0x492218
492255:	5e                   	pop    %esi
492256:	5b                   	pop    %ebx
492257:	c3                   	ret
492258:	b2 03                	mov    $0x3,%dl
49225a:	e8 49 fb ff ff       	call   0x491da8
49225f:	c3                   	ret
492260:	53                   	push   %ebx
492261:	56                   	push   %esi
492262:	8b da                	mov    %edx,%ebx
492264:	8b f0                	mov    %eax,%esi
492266:	80 7e 24 00          	cmpb   $0x0,0x24(%esi)
49226a:	0f 85 87 00 00 00    	jne    0x4922f7
492270:	8b c6                	mov    %esi,%eax
492272:	e8 c1 f9 ff ff       	call   0x491c38
492277:	85 c0                	test   %eax,%eax
492279:	74 7c                	je     0x4922f7
49227b:	83 7e 10 00          	cmpl   $0x0,0x10(%esi)
49227f:	74 76                	je     0x4922f7
492281:	8b c6                	mov    %esi,%eax
492283:	e8 d0 ff ff ff       	call   0x492258
492288:	3a d8                	cmp    %al,%bl
49228a:	74 30                	je     0x4922bc
49228c:	84 db                	test   %bl,%bl
49228e:	74 11                	je     0x4922a1
492290:	8b c6                	mov    %esi,%eax
492292:	e8 a1 f9 ff ff       	call   0x491c38
492297:	8b 56 10             	mov    0x10(%esi),%edx
49229a:	e8 5d f5 f8 ff       	call   0x4217fc
49229f:	eb 56                	jmp    0x4922f7
4922a1:	8b c6                	mov    %esi,%eax
4922a3:	e8 b0 ff ff ff       	call   0x492258
4922a8:	84 c0                	test   %al,%al
4922aa:	74 4b                	je     0x4922f7
4922ac:	8b c6                	mov    %esi,%eax