40fe14:	75 0a                	jne    0x40fe20
40fe16:	b8 57 00 07 80       	mov    $0x80070057,%eax
40fe1b:	e8 ec fb ff ff       	call   0x40fa0c
40fe20:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
40fe26:	66 8b 00             	mov    (%eax),%ax
40fe29:	8b d0                	mov    %eax,%edx
40fe2b:	66 81 e2 ff 0f       	and    $0xfff,%dx
40fe30:	66 83 fa 0c          	cmp    $0xc,%dx
40fe34:	0f 85 22 01 00 00    	jne    0x40ff5c
40fe3a:	8b 95 fc fc ff ff    	mov    -0x304(%ebp),%edx
40fe40:	f6 c4 40             	test   $0x40,%ah
40fe43:	74 13                	je     0x40fe58
40fe45:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
40fe4b:	8b 40 08             	mov    0x8(%eax),%eax
40fe4e:	8b 00                	mov    (%eax),%eax
40fe50:	89 85 f8 fc ff ff    	mov    %eax,-0x308(%ebp)
40fe56:	eb 0f                	jmp    0x40fe67
40fe58:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
40fe5e:	8b 40 08             	mov    0x8(%eax),%eax
40fe61:	89 85 f8 fc ff ff    	mov    %eax,-0x308(%ebp)
40fe67:	8b 85 f8 fc ff ff    	mov    -0x308(%ebp),%eax
40fe6d:	0f b7 00             	movzwl (%eax),%eax
40fe70:	89 85 f0 fc ff ff    	mov    %eax,-0x310(%ebp)
40fe76:	8b 9d f0 fc ff ff    	mov    -0x310(%ebp),%ebx
40fe7c:	4b                   	dec    %ebx
40fe7d:	85 db                	test   %ebx,%ebx
40fe7f:	7c 6b                	jl     0x40feec
40fe81:	43                   	inc    %ebx
40fe82:	33 ff                	xor    %edi,%edi
40fe84:	8d b5 00 fd ff ff    	lea    -0x300(%ebp),%esi
40fe8a:	8b c6                	mov    %esi,%eax
40fe8c:	89 85 e8 fc ff ff    	mov    %eax,-0x318(%ebp)
40fe92:	8b 85 e8 fc ff ff    	mov    -0x318(%ebp),%eax
40fe98:	83 c0 04             	add    $0x4,%eax
40fe9b:	50                   	push   %eax
40fe9c:	8d 47 01             	lea    0x1(%edi),%eax
40fe9f:	50                   	push   %eax
40fea0:	8b 85 f8 fc ff ff    	mov    -0x308(%ebp),%eax
40fea6:	50                   	push   %eax
40fea7:	e8 f4 f2 ff ff       	call   0x40f1a0
40feac:	e8 5b fb ff ff       	call   0x40fa0c
40feb1:	8d 85 f4 fc ff ff    	lea    -0x30c(%ebp),%eax
40feb7:	50                   	push   %eax
40feb8:	8d 47 01             	lea    0x1(%edi),%eax
40febb:	50                   	push   %eax
40febc:	8b 85 f8 fc ff ff    	mov    -0x308(%ebp),%eax
40fec2:	50                   	push   %eax
40fec3:	e8 e0 f2 ff ff       	call   0x40f1a8
40fec8:	e8 3f fb ff ff       	call   0x40fa0c
40fecd:	8b 85 e8 fc ff ff    	mov    -0x318(%ebp),%eax
40fed3:	8b 95 f4 fc ff ff    	mov    -0x30c(%ebp),%edx
40fed9:	2b 50 04             	sub    0x4(%eax),%edx
40fedc:	42                   	inc    %edx
40fedd:	8b 85 e8 fc ff ff    	mov    -0x318(%ebp),%eax
40fee3:	89 10                	mov    %edx,(%eax)
40fee5:	47                   	inc    %edi
40fee6:	83 c6 08             	add    $0x8,%esi
40fee9:	4b                   	dec    %ebx
40feea:	75 9e                	jne    0x40fe8a
40feec:	8b 9d f0 fc ff ff    	mov    -0x310(%ebp),%ebx
40fef2:	4b                   	dec    %ebx
40fef3:	85 db                	test   %ebx,%ebx
40fef5:	7c 1a                	jl     0x40ff11
40fef7:	43                   	inc    %ebx
40fef8:	8d 85 04 fd ff ff    	lea    -0x2fc(%ebp),%eax
40fefe:	8d 95 00 ff ff ff    	lea    -0x100(%ebp),%edx
40ff04:	8b 08                	mov    (%eax),%ecx
40ff06:	89 0a                	mov    %ecx,(%edx)
40ff08:	83 c2 04             	add    $0x4,%edx
40ff0b:	83 c0 08             	add    $0x8,%eax
40ff0e:	4b                   	dec    %ebx
40ff0f:	75 f3                	jne    0x40ff04
40ff11:	55                   	push   %ebp
40ff12:	8b 9d f0 fc ff ff    	mov    -0x310(%ebp),%ebx
40ff18:	4b                   	dec    %ebx
40ff19:	8b c3                	mov    %ebx,%eax
40ff1b:	e8 4c fe ff ff       	call   0x40fd6c
40ff20:	59                   	pop    %ecx
40ff21:	84 c0                	test   %al,%al
40ff23:	74 2a                	je     0x40ff4f
40ff25:	8d 85 ec fc ff ff    	lea    -0x314(%ebp),%eax
40ff2b:	50                   	push   %eax
40ff2c:	8d 85 00 ff ff ff    	lea    -0x100(%ebp),%eax
40ff32:	50                   	push   %eax
40ff33:	8b 85 f8 fc ff ff    	mov    -0x308(%ebp),%eax
40ff39:	50                   	push   %eax
40ff3a:	e8 81 f2 ff ff       	call   0x40f1c0
40ff3f:	e8 c8 fa ff ff       	call   0x40fa0c
40ff44:	8b 85 ec fc ff ff    	mov    -0x314(%ebp),%eax
40ff4a:	e8 99 00 00 00       	call   0x40ffe8
40ff4f:	55                   	push   %ebp
40ff50:	8b c3                	mov    %ebx,%eax
40ff52:	e8 45 fe ff ff       	call   0x40fd9c
40ff57:	59                   	pop    %ecx
40ff58:	84 c0                	test   %al,%al
40ff5a:	75 b5                	jne    0x40ff11
40ff5c:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
40ff62:	50                   	push   %eax
40ff63:	e8 b8 f1 ff ff       	call   0x40f120
40ff68:	e8 9f fa ff ff       	call   0x40fa0c
40ff6d:	5f                   	pop    %edi
40ff6e:	5e                   	pop    %esi
40ff6f:	5b                   	pop    %ebx
40ff70:	8b e5                	mov    %ebp,%esp
40ff72:	5d                   	pop    %ebp
40ff73:	c3                   	ret
40ff74:	53                   	push   %ebx
40ff75:	56                   	push   %esi
40ff76:	51                   	push   %ecx
40ff77:	8b d8                	mov    %eax,%ebx
40ff79:	66 8b 33             	mov    (%ebx),%si
40ff7c:	66 83 fe 14          	cmp    $0x14,%si
40ff80:	73 0d                	jae    0x40ff8f
40ff82:	53                   	push   %ebx
40ff83:	e8 98 f1 ff ff       	call   0x40f120
40ff88:	e8 7f fa ff ff       	call   0x40fa0c
40ff8d:	eb 55                	jmp    0x40ffe4
40ff8f:	66 81 fe 00 01       	cmp    $0x100,%si
40ff94:	75 0f                	jne    0x40ffa5
40ff96:	66 c7 03 00 00       	movw   $0x0,(%ebx)
40ff9b:	8d 43 08             	lea    0x8(%ebx),%eax
40ff9e:	e8 c5 48 ff ff       	call   0x404868
40ffa3:	eb 3f                	jmp    0x40ffe4
40ffa5:	66 81 fe 01 01       	cmp    $0x101,%si
40ffaa:	75 0a                	jne    0x40ffb6
40ffac:	8b c3                	mov    %ebx,%eax
40ffae:	ff 15 6c 88 6a 00    	call   *0x6a886c
40ffb4:	eb 2e                	jmp    0x40ffe4
40ffb6:	66 f7 c6 00 20       	test   $0x2000,%si
40ffbb:	74 09                	je     0x40ffc6
40ffbd:	8b c3                	mov    %ebx,%eax
40ffbf:	e8 34 fe ff ff       	call   0x40fdf8
40ffc4:	eb 1e                	jmp    0x40ffe4
40ffc6:	8b d4                	mov    %esp,%edx
40ffc8:	8b c6                	mov    %esi,%eax
40ffca:	e8 d1 76 00 00       	call   0x4176a0
40ffcf:	84 c0                	test   %al,%al
40ffd1:	74 0c                	je     0x40ffdf
40ffd3:	8b d3                	mov    %ebx,%edx
40ffd5:	8b 04 24             	mov    (%esp),%eax
40ffd8:	8b 08                	mov    (%eax),%ecx
40ffda:	ff 51 24             	call   *0x24(%ecx)
40ffdd:	eb 05                	jmp    0x40ffe4
40ffdf:	e8 e4 f8 ff ff       	call   0x40f8c8
40ffe4:	5a                   	pop    %edx
40ffe5:	5e                   	pop    %esi
40ffe6:	5b                   	pop    %ebx
40ffe7:	c3                   	ret
40ffe8:	66 8b 10             	mov    (%eax),%dx
40ffeb:	66 83 fa 14          	cmp    $0x14,%dx
40ffef:	77 0c                	ja     0x40fffd
40fff1:	0f b7 ca             	movzwl %dx,%ecx
40fff4:	80 b9 30 a4 68 00 00 	cmpb   $0x0,0x68a430(%ecx)
40fffb:	75 05                	jne    0x410002
40fffd:	f6 c6 40             	test   $0x40,%dh
410000:	74 06                	je     0x410008
410002:	66 c7 00 00 00       	movw   $0x0,(%eax)
410007:	c3                   	ret
410008:	e8 67 ff ff ff       	call   0x40ff74
41000d:	c3                   	ret
41000e:	8b c0                	mov    %eax,%eax
410010:	55                   	push   %ebp
410011:	8b ec                	mov    %esp,%ebp
410013:	83 c4 e8             	add    $0xffffffe8,%esp
410016:	53                   	push   %ebx
410017:	56                   	push   %esi
410018:	8b 5d 0c             	mov    0xc(%ebp),%ebx
41001b:	66 81 3b 0c 40       	cmpw   $0x400c,(%ebx)
410020:	75 1d                	jne    0x41003f
410022:	8b 45 14             	mov    0x14(%ebp),%eax
410025:	50                   	push   %eax
410026:	8b 45 10             	mov    0x10(%ebp),%eax
410029:	50                   	push   %eax
41002a:	8b 43 08             	mov    0x8(%ebx),%eax
41002d:	50                   	push   %eax
41002e:	8b 45 08             	mov    0x8(%ebp),%eax
410031:	50                   	push   %eax
410032:	e8 d9 ff ff ff       	call   0x410010
410037:	83 c4 10             	add    $0x10,%esp
41003a:	e9 cc 00 00 00       	jmp    0x41010b
41003f:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
410043:	75 07                	jne    0x41004c
410045:	33 c0                	xor    %eax,%eax
410047:	89 45 f8             	mov    %eax,-0x8(%ebp)
41004a:	eb 0f                	jmp    0x41005b
41004c:	8d 45 e8             	lea    -0x18(%ebp),%eax
41004f:	50                   	push   %eax
410050:	e8 c3 f0 ff ff       	call   0x40f118
410055:	8d 45 e8             	lea    -0x18(%ebp),%eax
410058:	89 45 f8             	mov    %eax,-0x8(%ebp)
41005b:	33 c0                	xor    %eax,%eax
41005d:	55                   	push   %ebp
41005e:	68 04 01 41 00       	push   $0x410104
410063:	64 ff 30             	push   %fs:(%eax)
410066:	64 89 20             	mov    %esp,%fs:(%eax)
410069:	66 8b 33             	mov    (%ebx),%si
41006c:	0f b7 c6             	movzwl %si,%eax
41006f:	3d 01 01 00 00       	cmp    $0x101,%eax
410074:	7f 0e                	jg     0x410084
410076:	74 18                	je     0x410090
410078:	83 e8 09             	sub    $0x9,%eax
41007b:	74 13                	je     0x410090
41007d:	83 e8 04             	sub    $0x4,%eax
410080:	74 0e                	je     0x410090
410082:	eb 2d                	jmp    0x4100b1
410084:	2d 09 40 00 00       	sub    $0x4009,%eax
410089:	74 05                	je     0x410090
41008b:	83 e8 04             	sub    $0x4,%eax
41008e:	75 21                	jne    0x4100b1
410090:	83 3d 68 88 6a 00 00 	cmpl   $0x0,0x6a8868
410097:	74 42                	je     0x4100db
410099:	8d 45 14             	lea    0x14(%ebp),%eax
41009c:	50                   	push   %eax
41009d:	8b 45 10             	mov    0x10(%ebp),%eax
4100a0:	50                   	push   %eax
4100a1:	53                   	push   %ebx
4100a2:	8b 45 f8             	mov    -0x8(%ebp),%eax
4100a5:	50                   	push   %eax
4100a6:	ff 15 68 88 6a 00    	call   *0x6a8868
4100ac:	83 c4 10             	add    $0x10,%esp
4100af:	eb 2a                	jmp    0x4100db
4100b1:	8d 55 fc             	lea    -0x4(%ebp),%edx
4100b4:	8b c6                	mov    %esi,%eax
4100b6:	e8 e5 75 00 00       	call   0x4176a0
4100bb:	84 c0                	test   %al,%al
4100bd:	74 17                	je     0x4100d6
4100bf:	8b 45 10             	mov    0x10(%ebp),%eax
4100c2:	50                   	push   %eax
4100c3:	8d 45 14             	lea    0x14(%ebp),%eax
4100c6:	50                   	push   %eax
4100c7:	8b cb                	mov    %ebx,%ecx
4100c9:	8b 55 f8             	mov    -0x8(%ebp),%edx
4100cc:	8b 45 fc             	mov    -0x4(%ebp),%eax
4100cf:	8b 18                	mov    (%eax),%ebx
4100d1:	ff 53 10             	call   *0x10(%ebx)
4100d4:	eb 05                	jmp    0x4100db
4100d6:	e8 ed f7 ff ff       	call   0x40f8c8
4100db:	33 c0                	xor    %eax,%eax
4100dd:	5a                   	pop    %edx
4100de:	59                   	pop    %ecx
4100df:	59                   	pop    %ecx
4100e0:	64 89 10             	mov    %edx,%fs:(%eax)
4100e3:	68 0b 01 41 00       	push   $0x41010b
4100e8:	83 7d f8 00          	cmpl   $0x0,-0x8(%ebp)
4100ec:	74 15                	je     0x410103
4100ee:	8b 45 f8             	mov    -0x8(%ebp),%eax
4100f1:	8b d0                	mov    %eax,%edx
4100f3:	8b 45 08             	mov    0x8(%ebp),%eax
4100f6:	e8 31 03 00 00       	call   0x41042c
4100fb:	8d 45 e8             	lea    -0x18(%ebp),%eax
4100fe:	e8 e5 fe ff ff       	call   0x40ffe8
410103:	c3                   	ret
410104:	e9 03 41 ff ff       	jmp    0x40420c
410109:	eb dd                	jmp    0x4100e8
41010b:	5e                   	pop    %esi
41010c:	5b                   	pop    %ebx
41010d:	8b e5                	mov    %ebp,%esp
41010f:	5d                   	pop    %ebp
410110:	c3                   	ret
410111:	8d 40 00             	lea    0x0(%eax),%eax
410114:	55                   	push   %ebp
410115:	8b ec                	mov    %esp,%ebp
410117:	53                   	push   %ebx
410118:	8b 4d 08             	mov    0x8(%ebp),%ecx
41011b:	81 c1 00 fd ff ff    	add    $0xfffffd00,%ecx
410121:	8b 54 c1 04          	mov    0x4(%ecx,%eax,8),%edx
410125:	03 14 c1             	add    (%ecx,%eax,8),%edx
410128:	8b 5d 08             	mov    0x8(%ebp),%ebx
41012b:	3b 94 83 00 ff ff ff 	cmp    -0x100(%ebx,%eax,4),%edx
410132:	0f 9f c2             	setg   %dl
410135:	48                   	dec    %eax
410136:	84 d2                	test   %dl,%dl
410138:	74 04                	je     0x41013e
41013a:	85 c0                	test   %eax,%eax
41013c:	7d e3                	jge    0x410121
41013e:	8b c2                	mov    %edx,%eax
410140:	5b                   	pop    %ebx
410141:	5d                   	pop    %ebp
410142:	c3                   	ret
410143:	90                   	nop
410144:	55                   	push   %ebp
410145:	8b ec                	mov    %esp,%ebp
410147:	53                   	push   %ebx
410148:	56                   	push   %esi
410149:	b2 01                	mov    $0x1,%dl
41014b:	8b 4d 08             	mov    0x8(%ebp),%ecx
41014e:	ff 84 81 00 ff ff ff 	incl   -0x100(%ecx,%eax,4)
410155:	8b 4d 08             	mov    0x8(%ebp),%ecx
410158:	8b 8c c1 04 fd ff ff 	mov    -0x2fc(%ecx,%eax,8),%ecx
41015f:	8b d9                	mov    %ecx,%ebx
410161:	8b 75 08             	mov    0x8(%ebp),%esi
410164:	03 9c c6 00 fd ff ff 	add    -0x300(%esi,%eax,8),%ebx
41016b:	8b 75 08             	mov    0x8(%ebp),%esi
41016e:	3b 9c 86 00 ff ff ff 	cmp    -0x100(%esi,%eax,4),%ebx
410175:	7f 22                	jg     0x410199
410177:	85 c0                	test   %eax,%eax
410179:	75 04                	jne    0x41017f
41017b:	33 d2                	xor    %edx,%edx
41017d:	eb 1a                	jmp    0x410199
41017f:	8b 55 08             	mov    0x8(%ebp),%edx
410182:	8b 55 08             	mov    0x8(%ebp),%edx
410185:	89 8c 82 00 ff ff ff 	mov    %ecx,-0x100(%edx,%eax,4)
41018c:	8b 55 08             	mov    0x8(%ebp),%edx
41018f:	52                   	push   %edx
410190:	48                   	dec    %eax
410191:	e8 ae ff ff ff       	call   0x410144
410196:	59                   	pop    %ecx
410197:	8b d0                	mov    %eax,%edx
410199:	8b c2                	mov    %edx,%eax
41019b:	5e                   	pop    %esi
41019c:	5b                   	pop    %ebx
41019d:	5d                   	pop    %ebp
41019e:	c3                   	ret
41019f:	90                   	nop
4101a0:	55                   	push   %ebp
4101a1:	8b ec                	mov    %esp,%ebp
4101a3:	81 c4 e0 fc ff ff    	add    $0xfffffce0,%esp
4101a9:	53                   	push   %ebx
4101aa:	56                   	push   %esi
4101ab:	57                   	push   %edi
4101ac:	89 8d f8 fc ff ff    	mov    %ecx,-0x308(%ebp)
4101b2:	8b da                	mov    %edx,%ebx
4101b4:	89 85 fc fc ff ff    	mov    %eax,-0x304(%ebp)
4101ba:	f6 43 01 20          	testb  $0x20,0x1(%ebx)
4101be:	75 0a                	jne    0x4101ca
4101c0:	b8 57 00 07 80       	mov    $0x80070057,%eax
4101c5:	e8 42 f8 ff ff       	call   0x40fa0c
4101ca:	66 8b 03             	mov    (%ebx),%ax
4101cd:	8b d0                	mov    %eax,%edx
4101cf:	66 81 e2 ff 0f       	and    $0xfff,%dx
4101d4:	66 83 fa 0c          	cmp    $0xc,%dx
4101d8:	0f 85 73 01 00 00    	jne    0x410351
4101de:	f6 c4 40             	test   $0x40,%ah
4101e1:	74 0d                	je     0x4101f0
4101e3:	8b 43 08             	mov    0x8(%ebx),%eax
4101e6:	8b 00                	mov    (%eax),%eax
4101e8:	89 85 ec fc ff ff    	mov    %eax,-0x314(%ebp)
4101ee:	eb 09                	jmp    0x4101f9
4101f0:	8b 43 08             	mov    0x8(%ebx),%eax
4101f3:	89 85 ec fc ff ff    	mov    %eax,-0x314(%ebp)
4101f9:	8b 85 ec fc ff ff    	mov    -0x314(%ebp),%eax
4101ff:	0f b7 00             	movzwl (%eax),%eax
410202:	89 85 f0 fc ff ff    	mov    %eax,-0x310(%ebp)
410208:	8b 9d f0 fc ff ff    	mov    -0x310(%ebp),%ebx
41020e:	4b                   	dec    %ebx
41020f:	85 db                	test   %ebx,%ebx
410211:	7c 6b                	jl     0x41027e
410213:	43                   	inc    %ebx
410214:	33 ff                	xor    %edi,%edi
410216:	8d b5 00 fd ff ff    	lea    -0x300(%ebp),%esi