40f317:	ed                   	in     (%dx),%eax
40f318:	40                   	inc    %eax
40f319:	00 8f ed 40 00 33    	add    %cl,0x330040ed(%edi)
40f31f:	ef                   	out    %eax,(%dx)
40f320:	40                   	inc    %eax
40f321:	00 6c ef 40          	add    %ch,0x40(%edi,%ebp,8)
40f325:	00 7d ef             	add    %bh,-0x11(%ebp)
40f328:	40                   	inc    %eax
40f329:	00 b3 f2 40 00 07    	add    %dh,0x70040f2(%ebx)
40f32f:	ed                   	in     (%dx),%eax
40f330:	40                   	inc    %eax
40f331:	00 83 ed 40 00 55    	add    %al,0x550040ed(%ebx)
40f337:	8b ec                	mov    %esp,%ebp
40f339:	53                   	push   %ebx
40f33a:	8b 5d 08             	mov    0x8(%ebp),%ebx
40f33d:	57                   	push   %edi
40f33e:	33 ff                	xor    %edi,%edi
40f340:	57                   	push   %edi
40f341:	57                   	push   %edi
40f342:	68 74 aa 42 00       	push   $0x42aa74
40f347:	ff 75 14             	push   0x14(%ebp)
40f34a:	ff 75 10             	push   0x10(%ebp)
40f34d:	ff 75 0c             	push   0xc(%ebp)
40f350:	53                   	push   %ebx
40f351:	e8 e8 6e ff ff       	call   0x40623e
40f356:	84 c0                	test   %al,%al
40f358:	0f 85 e1 00 00 00    	jne    0x40f43f
40f35e:	8b 45 0c             	mov    0xc(%ebp),%eax
40f361:	2d 10 01 00 00       	sub    $0x110,%eax
40f366:	74 1e                	je     0x40f386
40f368:	48                   	dec    %eax
40f369:	75 0e                	jne    0x40f379
40f36b:	0f b7 45 10          	movzwl 0x10(%ebp),%eax
40f36f:	48                   	dec    %eax
40f370:	0f 84 c0 00 00 00    	je     0x40f436
40f376:	48                   	dec    %eax
40f377:	74 07                	je     0x40f380
40f379:	33 c0                	xor    %eax,%eax
40f37b:	e9 c2 00 00 00       	jmp    0x40f442
40f380:	57                   	push   %edi
40f381:	e9 b2 00 00 00       	jmp    0x40f438
40f386:	a1 dc 8c 43 00       	mov    0x438cdc,%eax
40f38b:	56                   	push   %esi
40f38c:	8b 35 04 a3 42 00    	mov    0x42a304,%esi
40f392:	3b c7                	cmp    %edi,%eax
40f394:	74 0b                	je     0x40f3a1
40f396:	50                   	push   %eax
40f397:	6a 01                	push   $0x1
40f399:	68 80 00 00 00       	push   $0x80
40f39e:	53                   	push   %ebx
40f39f:	ff d6                	call   *%esi
40f3a1:	a1 d8 8c 43 00       	mov    0x438cd8,%eax
40f3a6:	3b c7                	cmp    %edi,%eax
40f3a8:	74 10                	je     0x40f3ba
40f3aa:	50                   	push   %eax
40f3ab:	57                   	push   %edi
40f3ac:	68 72 01 00 00       	push   $0x172
40f3b1:	6a 66                	push   $0x66
40f3b3:	53                   	push   %ebx
40f3b4:	ff 15 f0 a2 42 00    	call   *0x42a2f0
40f3ba:	53                   	push   %ebx
40f3bb:	e8 7e e6 ff ff       	call   0x40da3e
40f3c0:	6a 65                	push   $0x65
40f3c2:	53                   	push   %ebx
40f3c3:	ff 15 88 a2 42 00    	call   *0x42a288
40f3c9:	68 00 00 01 00       	push   $0x10000
40f3ce:	57                   	push   %edi
40f3cf:	68 35 04 00 00       	push   $0x435
40f3d4:	50                   	push   %eax
40f3d5:	89 45 0c             	mov    %eax,0xc(%ebp)
40f3d8:	ff d6                	call   *%esi
40f3da:	6a 0f                	push   $0xf
40f3dc:	ff 15 44 a3 42 00    	call   *0x42a344
40f3e2:	50                   	push   %eax
40f3e3:	57                   	push   %edi
40f3e4:	68 43 04 00 00       	push   $0x443
40f3e9:	ff 75 0c             	push   0xc(%ebp)
40f3ec:	ff d6                	call   *%esi
40f3ee:	6a 03                	push   $0x3
40f3f0:	ff 35 08 0d 44 00    	push   0x440d08
40f3f6:	53                   	push   %ebx
40f3f7:	e8 16 f3 ff ff       	call   0x40e712
40f3fc:	5e                   	pop    %esi
40f3fd:	39 3d 10 0d 44 00    	cmp    %edi,0x440d10
40f403:	74 31                	je     0x40f436
40f405:	53                   	push   %ebx
40f406:	ff 15 d0 a2 42 00    	call   *0x42a2d0
40f40c:	8b 0d d0 7c 43 00    	mov    0x437cd0,%ecx
40f412:	57                   	push   %edi
40f413:	57                   	push   %edi
40f414:	ff 35 10 0d 44 00    	push   0x440d10
40f41a:	ff 75 0c             	push   0xc(%ebp)
40f41d:	ff 35 6c 2a 43 00    	push   0x432a6c
40f423:	e8 fd a1 00 00       	call   0x419625
40f428:	ff 35 10 0d 44 00    	push   0x440d10
40f42e:	e8 af aa 00 00       	call   0x419ee2
40f433:	59                   	pop    %ecx
40f434:	eb 09                	jmp    0x40f43f
40f436:	6a 01                	push   $0x1
40f438:	53                   	push   %ebx
40f439:	ff 15 f4 a2 42 00    	call   *0x42a2f4
40f43f:	33 c0                	xor    %eax,%eax
40f441:	40                   	inc    %eax
40f442:	5f                   	pop    %edi
40f443:	5b                   	pop    %ebx
40f444:	5d                   	pop    %ebp
40f445:	c2 10 00             	ret    $0x10
40f448:	b8 06 94 42 00       	mov    $0x429406,%eax
40f44d:	e8 66 aa 00 00       	call   0x419eb8
40f452:	b8 78 9c 00 00       	mov    $0x9c78,%eax
40f457:	e8 74 b0 00 00       	call   0x41a4d0
40f45c:	53                   	push   %ebx
40f45d:	56                   	push   %esi
40f45e:	8b 75 08             	mov    0x8(%ebp),%esi
40f461:	33 db                	xor    %ebx,%ebx
40f463:	53                   	push   %ebx
40f464:	53                   	push   %ebx
40f465:	68 58 ab 42 00       	push   $0x42ab58
40f46a:	ff 75 14             	push   0x14(%ebp)
40f46d:	ff 75 10             	push   0x10(%ebp)
40f470:	ff 75 0c             	push   0xc(%ebp)
40f473:	56                   	push   %esi
40f474:	e8 c5 6d ff ff       	call   0x40623e
40f479:	84 c0                	test   %al,%al
40f47b:	74 08                	je     0x40f485
40f47d:	33 c0                	xor    %eax,%eax
40f47f:	40                   	inc    %eax
40f480:	e9 3b 08 00 00       	jmp    0x40fcc0
40f485:	8b 45 0c             	mov    0xc(%ebp),%eax
40f488:	2d 10 01 00 00       	sub    $0x110,%eax
40f48d:	57                   	push   %edi
40f48e:	0f 84 83 05 00 00    	je     0x40fa17
40f494:	48                   	dec    %eax
40f495:	75 0f                	jne    0x40f4a6
40f497:	0f b7 45 10          	movzwl 0x10(%ebp),%eax
40f49b:	48                   	dec    %eax
40f49c:	74 69                	je     0x40f507
40f49e:	48                   	dec    %eax
40f49f:	74 3e                	je     0x40f4df
40f4a1:	83 e8 65             	sub    $0x65,%eax
40f4a4:	74 07                	je     0x40f4ad
40f4a6:	33 c0                	xor    %eax,%eax
40f4a8:	e9 12 08 00 00       	jmp    0x40fcbf
40f4ad:	8d 85 b8 ee ff ff    	lea    -0x1148(%ebp),%eax
40f4b3:	50                   	push   %eax
40f4b4:	6a 64                	push   $0x64
40f4b6:	e8 31 cd ff ff       	call   0x40c1ec
40f4bb:	50                   	push   %eax
40f4bc:	56                   	push   %esi
40f4bd:	e8 b3 5d ff ff       	call   0x405275
40f4c2:	84 c0                	test   %al,%al
40f4c4:	0f 84 f2 07 00 00    	je     0x40fcbc
40f4ca:	8d 85 b8 ee ff ff    	lea    -0x1148(%ebp),%eax
40f4d0:	50                   	push   %eax
40f4d1:	6a 66                	push   $0x66
40f4d3:	56                   	push   %esi
40f4d4:	ff 15 fc a2 42 00    	call   *0x42a2fc
40f4da:	e9 dd 07 00 00       	jmp    0x40fcbc
40f4df:	c6 05 f2 0c 44 00 01 	movb   $0x1,0x440cf2
40f4e6:	39 1d f4 0c 44 00    	cmp    %ebx,0x440cf4
40f4ec:	74 0c                	je     0x40f4fa
40f4ee:	39 1d f8 0c 44 00    	cmp    %ebx,0x440cf8
40f4f4:	0f 85 c2 07 00 00    	jne    0x40fcbc
40f4fa:	53                   	push   %ebx
40f4fb:	56                   	push   %esi
40f4fc:	ff 15 f4 a2 42 00    	call   *0x42a2f4
40f502:	e9 b5 07 00 00       	jmp    0x40fcbc
40f507:	bf 00 08 00 00       	mov    $0x800,%edi
40f50c:	57                   	push   %edi
40f50d:	8d 85 b8 de ff ff    	lea    -0x2148(%ebp),%eax
40f513:	50                   	push   %eax
40f514:	6a 66                	push   $0x66
40f516:	56                   	push   %esi
40f517:	ff 15 f8 a2 42 00    	call   *0x42a2f8
40f51d:	38 1d f1 0c 44 00    	cmp    %bl,0x440cf1
40f523:	74 13                	je     0x40f538
40f525:	38 1d f0 0c 44 00    	cmp    %bl,0x440cf0
40f52b:	74 07                	je     0x40f534
40f52d:	c6 05 f2 0c 44 00 01 	movb   $0x1,0x440cf2
40f534:	6a 01                	push   $0x1
40f536:	eb c3                	jmp    0x40f4fb
40f538:	38 1d f0 0c 44 00    	cmp    %bl,0x440cf0
40f53e:	74 0f                	je     0x40f54f
40f540:	33 ff                	xor    %edi,%edi
40f542:	c6 05 f2 0c 44 00 01 	movb   $0x1,0x440cf2
40f549:	47                   	inc    %edi
40f54a:	e9 4f 04 00 00       	jmp    0x40f99e
40f54f:	6a 68                	push   $0x68
40f551:	56                   	push   %esi
40f552:	ff 15 88 a2 42 00    	call   *0x42a288
40f558:	89 45 0c             	mov    %eax,0xc(%ebp)
40f55b:	39 1d f8 0c 44 00    	cmp    %ebx,0x440cf8
40f561:	75 26                	jne    0x40f589
40f563:	8b 3d 04 a3 42 00    	mov    0x42a304,%edi
40f569:	6a ff                	push   $0xffffffff
40f56b:	53                   	push   %ebx
40f56c:	68 b1 00 00 00       	push   $0xb1
40f571:	50                   	push   %eax
40f572:	ff d7                	call   *%edi
40f574:	68 3c a5 42 00       	push   $0x42a53c
40f579:	53                   	push   %ebx
40f57a:	68 c2 00 00 00       	push   $0xc2
40f57f:	ff 75 0c             	push   0xc(%ebp)
40f582:	ff d7                	call   *%edi
40f584:	bf 00 08 00 00       	mov    $0x800,%edi
40f589:	ff 75 0c             	push   0xc(%ebp)
40f58c:	ff 15 e8 a2 42 00    	call   *0x42a2e8
40f592:	38 1d 30 0d 44 00    	cmp    %bl,0x440d30
40f598:	74 0c                	je     0x40f5a6
40f59a:	68 ba 00 00 00       	push   $0xba
40f59f:	e8 48 cc ff ff       	call   0x40c1ec
40f5a4:	eb 4d                	jmp    0x40f5f3
40f5a6:	57                   	push   %edi
40f5a7:	8d 85 b8 de ff ff    	lea    -0x2148(%ebp),%eax
40f5ad:	50                   	push   %eax
40f5ae:	8d 85 b8 ee ff ff    	lea    -0x1148(%ebp),%eax
40f5b4:	50                   	push   %eax
40f5b5:	e8 65 13 00 00       	call   0x41091f
40f5ba:	57                   	push   %edi
40f5bb:	8d 85 b8 ee ff ff    	lea    -0x1148(%ebp),%eax
40f5c1:	50                   	push   %eax
40f5c2:	e8 34 e6 ff ff       	call   0x40dbfb
40f5c7:	8d 85 b8 ee ff ff    	lea    -0x1148(%ebp),%eax
40f5cd:	50                   	push   %eax
40f5ce:	68 b9 00 00 00       	push   $0xb9
40f5d3:	e8 14 cc ff ff       	call   0x40c1ec
40f5d8:	50                   	push   %eax
40f5d9:	8d 85 b8 cd ff ff    	lea    -0x3248(%ebp),%eax
40f5df:	68 80 08 00 00       	push   $0x880
40f5e4:	50                   	push   %eax
40f5e5:	e8 f8 df ff ff       	call   0x40d5e2
40f5ea:	83 c4 10             	add    $0x10,%esp
40f5ed:	8d 85 b8 cd ff ff    	lea    -0x3248(%ebp),%eax
40f5f3:	50                   	push   %eax
40f5f4:	53                   	push   %ebx
40f5f5:	e8 53 db ff ff       	call   0x40d14d
40f5fa:	38 1d 39 0d 44 00    	cmp    %bl,0x440d39
40f600:	75 0c                	jne    0x40f60e
40f602:	8d 85 b8 de ff ff    	lea    -0x2148(%ebp),%eax
40f608:	50                   	push   %eax
40f609:	e8 fb e2 ff ff       	call   0x40d909
40f60e:	53                   	push   %ebx
40f60f:	8d 85 b8 de ff ff    	lea    -0x2148(%ebp),%eax
40f615:	50                   	push   %eax
40f616:	88 5d 0f             	mov    %bl,0xf(%ebp)
40f619:	e8 be 9c ff ff       	call   0x4092dc
40f61e:	84 c0                	test   %al,%al
40f620:	75 14                	jne    0x40f636
40f622:	ff 15 24 a2 42 00    	call   *0x42a224
40f628:	83 f8 05             	cmp    $0x5,%eax
40f62b:	74 05                	je     0x40f632
40f62d:	83 f8 03             	cmp    $0x3,%eax
40f630:	75 04                	jne    0x40f636
40f632:	c6 45 0f 01          	movb   $0x1,0xf(%ebp)
40f636:	8d 85 b8 de ff ff    	lea    -0x2148(%ebp),%eax
40f63c:	50                   	push   %eax
40f63d:	e8 ce a1 00 00       	call   0x419810
40f642:	88 45 13             	mov    %al,0x13(%ebp)
40f645:	3a c3                	cmp    %bl,%al
40f647:	75 0f                	jne    0x40f658
40f649:	ff 15 24 a2 42 00    	call   *0x42a224
40f64f:	83 f8 05             	cmp    $0x5,%eax
40f652:	75 04                	jne    0x40f658
40f654:	c6 45 0f 01          	movb   $0x1,0xf(%ebp)
40f658:	38 1d 39 0d 44 00    	cmp    %bl,0x440d39
40f65e:	75 68                	jne    0x40f6c8
40f660:	38 5d 13             	cmp    %bl,0x13(%ebp)
40f663:	74 77                	je     0x40f6dc
40f665:	ff 15 d4 a0 42 00    	call   *0x42a0d4
40f66b:	50                   	push   %eax
40f66c:	68 1c ab 42 00       	push   $0x42ab1c
40f671:	8d 85 b8 ee ff ff    	lea    -0x1148(%ebp),%eax
40f677:	57                   	push   %edi
40f678:	50                   	push   %eax
40f679:	e8 64 df ff ff       	call   0x40d5e2
40f67e:	83 c4 10             	add    $0x10,%esp
40f681:	8d 8d 94 a9 ff ff    	lea    -0x566c(%ebp),%ecx
40f687:	e8 b8 90 ff ff       	call   0x408744
40f68c:	6a 09                	push   $0x9
40f68e:	8d 85 b8 ee ff ff    	lea    -0x1148(%ebp),%eax
40f694:	50                   	push   %eax
40f695:	8d 8d 94 a9 ff ff    	lea    -0x566c(%ebp),%ecx
40f69b:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40f69e:	e8 3f 92 ff ff       	call   0x4088e2
40f6a3:	88 45 13             	mov    %al,0x13(%ebp)
40f6a6:	3a c3                	cmp    %bl,%al
40f6a8:	75 0f                	jne    0x40f6b9
40f6aa:	ff 15 24 a2 42 00    	call   *0x42a224
40f6b0:	83 f8 05             	cmp    $0x5,%eax
40f6b3:	75 04                	jne    0x40f6b9
40f6b5:	c6 45 0f 01          	movb   $0x1,0xf(%ebp)
40f6b9:	83 4d fc ff          	orl    $0xffffffff,-0x4(%ebp)
40f6bd:	8d 8d 94 a9 ff ff    	lea    -0x566c(%ebp),%ecx
40f6c3:	e8 42 95 ff ff       	call   0x408c0a
40f6c8:	38 5d 13             	cmp    %bl,0x13(%ebp)
40f6cb:	0f 85 00 02 00 00    	jne    0x40f8d1
40f6d1:	38 1d 39 0d 44 00    	cmp    %bl,0x440d39
40f6d7:	74 03                	je     0x40f6dc
40f6d9:	88 5d 0f             	mov    %bl,0xf(%ebp)
40f6dc:	38 5d 0f             	cmp    %bl,0xf(%ebp)
40f6df:	0f 94 45 0f          	sete   0xf(%ebp)
40f6e3:	38 5d 0f             	cmp    %bl,0xf(%ebp)
40f6e6:	0f 85 88 01 00 00    	jne    0x40f874
40f6ec:	68 00 08 00 00       	push   $0x800
40f6f1:	8d 85 b8 ee ff ff    	lea    -0x1148(%ebp),%eax
40f6f7:	50                   	push   %eax
40f6f8:	53                   	push   %ebx
40f6f9:	ff 15 78 a0 42 00    	call   *0x42a078
40f6ff:	68 80 00 00 00       	push   $0x80
40f704:	8d 85 b8 fe ff ff    	lea    -0x148(%ebp),%eax
40f70a:	50                   	push   %eax
40f70b:	b9 3a 2d 44 00       	mov    $0x442d3a,%ecx
40f710:	e8 fe d6 ff ff       	call   0x40ce13
40f715:	68 3a 1d 44 00       	push   $0x441d3a
40f71a:	8d 85 b8 fe ff ff    	lea    -0x148(%ebp),%eax
40f720:	50                   	push   %eax
40f721:	8d 85 b8 de ff ff    	lea    -0x2148(%ebp),%eax
40f727:	50                   	push   %eax
40f728:	68 e0 aa 42 00       	push   $0x42aae0
40f72d:	8d 85 7c 63 ff ff    	lea    -0x9c84(%ebp),%eax
40f733:	68 0c 23 00 00       	push   $0x230c
40f738:	50                   	push   %eax
40f739:	e8 a4 de ff ff       	call   0x40d5e2
40f73e:	83 c4 18             	add    $0x18,%esp
40f741:	68 ac aa 42 00       	push   $0x42aaac
40f746:	bf 00 70 00 00       	mov    $0x7000,%edi
40f74b:	57                   	push   %edi
40f74c:	53                   	push   %ebx
40f74d:	68 04 00 00 08       	push   $0x8000004
40f752:	8d 85 b8 ee ff ff    	lea    -0x1148(%ebp),%eax
40f758:	89 45 c8             	mov    %eax,-0x38(%ebp)
40f75b:	53                   	push   %ebx
40f75c:	8d 85 7c 63 ff ff    	lea    -0x9c84(%ebp),%eax
40f762:	6a ff                	push   $0xffffffff
40f764:	c7 45 b8 3c 00 00 00 	movl   $0x3c,-0x48(%ebp)
40f76b:	c7 45 bc 40 00 00 00 	movl   $0x40,-0x44(%ebp)
40f772:	89 75 c0             	mov    %esi,-0x40(%ebp)
40f775:	c7 45 c4 a0 aa 42 00 	movl   $0x42aaa0,-0x3c(%ebp)
40f77c:	89 45 cc             	mov    %eax,-0x34(%ebp)
40f77f:	c7 45 d0 30 a6 42 00 	movl   $0x42a630,-0x30(%ebp)
40f786:	c7 45 d4 01 00 00 00 	movl   $0x1,-0x2c(%ebp)
40f78d:	89 5d d8             	mov    %ebx,-0x28(%ebp)
40f790:	ff 15 d0 a0 42 00    	call   *0x42a0d0
40f796:	89 45 10             	mov    %eax,0x10(%ebp)
40f799:	3b c3                	cmp    %ebx,%eax
40f79b:	74 67                	je     0x40f804
40f79d:	ff 15 cc a0 42 00    	call   *0x42a0cc
40f7a3:	3b c3                	cmp    %ebx,%eax
40f7a5:	74 10                	je     0x40f7b7
40f7a7:	68 00 20 00 00       	push   $0x2000