402379:	a1 54 60 40 00       	mov    0x406054,%eax
40237e:	33 c5                	xor    %ebp,%eax
402380:	89 45 fc             	mov    %eax,-0x4(%ebp)
402383:	53                   	push   %ebx
402384:	56                   	push   %esi
402385:	57                   	push   %edi
402386:	8b f1                	mov    %ecx,%esi
402388:	33 c0                	xor    %eax,%eax
40238a:	bf 00 20 00 00       	mov    $0x2000,%edi
40238f:	89 75 ec             	mov    %esi,-0x14(%ebp)
402392:	57                   	push   %edi
402393:	89 45 e0             	mov    %eax,-0x20(%ebp)
402396:	ff 15 84 71 40 00    	call   *0x407184
40239c:	8b d8                	mov    %eax,%ebx
40239e:	89 5d dc             	mov    %ebx,-0x24(%ebp)
4023a1:	59                   	pop    %ecx
4023a2:	85 db                	test   %ebx,%ebx
4023a4:	75 0a                	jne    0x4023b0
4023a6:	be 0e 00 07 80       	mov    $0x8007000e,%esi
4023ab:	e9 7c 03 00 00       	jmp    0x40272c
4023b0:	53                   	push   %ebx
4023b1:	8b ce                	mov    %esi,%ecx
4023b3:	e8 72 fe ff ff       	call   0x40222a
4023b8:	8b f0                	mov    %eax,%esi
4023ba:	85 f6                	test   %esi,%esi
4023bc:	79 0c                	jns    0x4023ca
4023be:	53                   	push   %ebx
4023bf:	ff 15 64 71 40 00    	call   *0x407164
4023c5:	e9 61 03 00 00       	jmp    0x40272b
4023ca:	33 c0                	xor    %eax,%eax
4023cc:	8b f0                	mov    %eax,%esi
4023ce:	ff 34 f5 d0 10 40 00 	push   0x4010d0(,%esi,8)
4023d5:	53                   	push   %ebx
4023d6:	ff 15 1c 71 40 00    	call   *0x40711c
4023dc:	85 c0                	test   %eax,%eax
4023de:	74 17                	je     0x4023f7
4023e0:	46                   	inc    %esi
4023e1:	83 fe 03             	cmp    $0x3,%esi
4023e4:	72 e8                	jb     0x4023ce
4023e6:	53                   	push   %ebx
4023e7:	ff 15 64 71 40 00    	call   *0x407164
4023ed:	be 09 00 02 80       	mov    $0x80020009,%esi
4023f2:	e9 34 03 00 00       	jmp    0x40272b
4023f7:	0f b7 04 f5 d4 10 40 	movzwl 0x4010d4(,%esi,8),%eax
4023fe:	00
4023ff:	57                   	push   %edi
402400:	89 45 f0             	mov    %eax,-0x10(%ebp)
402403:	ff 15 84 71 40 00    	call   *0x407184
402409:	8b f8                	mov    %eax,%edi
40240b:	59                   	pop    %ecx
40240c:	85 ff                	test   %edi,%edi
40240e:	75 11                	jne    0x402421
402410:	53                   	push   %ebx
402411:	ff 15 64 71 40 00    	call   *0x407164
402417:	be 0e 00 07 80       	mov    $0x8007000e,%esi
40241c:	e9 0a 03 00 00       	jmp    0x40272b
402421:	8b 4d ec             	mov    -0x14(%ebp),%ecx
402424:	e8 d4 fd ff ff       	call   0x4021fd
402429:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40242c:	57                   	push   %edi
40242d:	e8 f8 fd ff ff       	call   0x40222a
402432:	8b f0                	mov    %eax,%esi
402434:	85 f6                	test   %esi,%esi
402436:	79 13                	jns    0x40244b
402438:	57                   	push   %edi
402439:	ff 15 64 71 40 00    	call   *0x407164
40243f:	53                   	push   %ebx
402440:	ff 15 64 71 40 00    	call   *0x407164
402446:	e9 df 02 00 00       	jmp    0x40272a
40244b:	8b 45 f0             	mov    -0x10(%ebp),%eax
40244e:	33 c9                	xor    %ecx,%ecx
402450:	0f b7 c0             	movzwl %ax,%eax
402453:	89 4d e4             	mov    %ecx,-0x1c(%ebp)
402456:	83 e8 08             	sub    $0x8,%eax
402459:	0f 84 5f 01 00 00    	je     0x4025be
40245f:	83 e8 09             	sub    $0x9,%eax
402462:	74 2d                	je     0x402491
402464:	48                   	dec    %eax
402465:	83 e8 01             	sub    $0x1,%eax
402468:	0f 85 99 02 00 00    	jne    0x402707
40246e:	8d 45 e4             	lea    -0x1c(%ebp),%eax
402471:	50                   	push   %eax
402472:	51                   	push   %ecx
402473:	51                   	push   %ecx
402474:	57                   	push   %edi
402475:	ff 15 00 80 40 00    	call   *0x408000
40247b:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40247e:	89 45 f0             	mov    %eax,-0x10(%ebp)
402481:	8d 45 f0             	lea    -0x10(%ebp),%eax
402484:	6a 04                	push   $0x4
402486:	50                   	push   %eax
402487:	6a 04                	push   $0x4
402489:	33 c0                	xor    %eax,%eax
40248b:	50                   	push   %eax
40248c:	e9 02 01 00 00       	jmp    0x402593
402491:	8b cf                	mov    %edi,%ecx
402493:	33 f6                	xor    %esi,%esi
402495:	8d 51 02             	lea    0x2(%ecx),%edx
402498:	66 8b 01             	mov    (%ecx),%ax
40249b:	83 c1 02             	add    $0x2,%ecx
40249e:	66 3b c6             	cmp    %si,%ax
4024a1:	75 f5                	jne    0x402498
4024a3:	2b ca                	sub    %edx,%ecx
4024a5:	d1 f9                	sar    $1,%ecx
4024a7:	89 4d f0             	mov    %ecx,-0x10(%ebp)
4024aa:	f6 c1 01             	test   $0x1,%cl
4024ad:	0f 85 f3 00 00 00    	jne    0x4025a6
4024b3:	8b c1                	mov    %ecx,%eax
4024b5:	99                   	cltd
4024b6:	2b c2                	sub    %edx,%eax
4024b8:	8b f0                	mov    %eax,%esi
4024ba:	d1 fe                	sar    $1,%esi
4024bc:	89 75 e8             	mov    %esi,-0x18(%ebp)
4024bf:	81 fe 00 04 00 00    	cmp    $0x400,%esi
4024c5:	77 18                	ja     0x4024df
4024c7:	8b ce                	mov    %esi,%ecx
4024c9:	e8 9d f5 ff ff       	call   0x401a6b
4024ce:	84 c0                	test   %al,%al
4024d0:	74 0d                	je     0x4024df
4024d2:	8b c6                	mov    %esi,%eax
4024d4:	e8 87 31 00 00       	call   0x405660
4024d9:	8b c4                	mov    %esp,%eax
4024db:	33 c9                	xor    %ecx,%ecx
4024dd:	eb 23                	jmp    0x402502
4024df:	8d 46 08             	lea    0x8(%esi),%eax
4024e2:	3b c6                	cmp    %esi,%eax
4024e4:	73 06                	jae    0x4024ec
4024e6:	33 c9                	xor    %ecx,%ecx
4024e8:	8b c1                	mov    %ecx,%eax
4024ea:	eb 16                	jmp    0x402502
4024ec:	50                   	push   %eax
4024ed:	ff 15 84 71 40 00    	call   *0x407184
4024f3:	59                   	pop    %ecx
4024f4:	33 c9                	xor    %ecx,%ecx
4024f6:	85 c0                	test   %eax,%eax
4024f8:	74 ee                	je     0x4024e8
4024fa:	89 08                	mov    %ecx,(%eax)
4024fc:	89 45 e0             	mov    %eax,-0x20(%ebp)
4024ff:	83 c0 08             	add    $0x8,%eax
402502:	89 45 f8             	mov    %eax,-0x8(%ebp)
402505:	85 c0                	test   %eax,%eax
402507:	0f 84 99 00 00 00    	je     0x4025a6
40250d:	56                   	push   %esi
40250e:	51                   	push   %ecx
40250f:	50                   	push   %eax
402510:	e8 7d 31 00 00       	call   0x405692
402515:	8b 75 f0             	mov    -0x10(%ebp),%esi
402518:	83 c4 0c             	add    $0xc,%esp
40251b:	33 d2                	xor    %edx,%edx
40251d:	85 f6                	test   %esi,%esi
40251f:	7e 68                	jle    0x402589
402521:	8b da                	mov    %edx,%ebx
402523:	0f b7 04 5f          	movzwl (%edi,%ebx,2),%eax
402527:	8b c8                	mov    %eax,%ecx
402529:	83 f9 30             	cmp    $0x30,%ecx
40252c:	72 28                	jb     0x402556
40252e:	83 f9 39             	cmp    $0x39,%ecx
402531:	76 1c                	jbe    0x40254f
402533:	83 f9 40             	cmp    $0x40,%ecx
402536:	76 1e                	jbe    0x402556
402538:	83 f9 46             	cmp    $0x46,%ecx
40253b:	76 0e                	jbe    0x40254b
40253d:	83 f9 60             	cmp    $0x60,%ecx
402540:	76 14                	jbe    0x402556
402542:	83 f8 66             	cmp    $0x66,%eax
402545:	77 0f                	ja     0x402556
402547:	2c 57                	sub    $0x57,%al
402549:	eb 06                	jmp    0x402551
40254b:	2c 37                	sub    $0x37,%al
40254d:	eb 02                	jmp    0x402551
40254f:	2c 30                	sub    $0x30,%al
402551:	89 45 f4             	mov    %eax,-0xc(%ebp)
402554:	eb 03                	jmp    0x402559
402556:	88 55 f4             	mov    %dl,-0xc(%ebp)
402559:	8b d3                	mov    %ebx,%edx
40255b:	85 d2                	test   %edx,%edx
40255d:	79 03                	jns    0x402562
40255f:	83 c2 01             	add    $0x1,%edx
402562:	d1 fa                	sar    $1,%edx
402564:	8b c3                	mov    %ebx,%eax
402566:	83 e0 01             	and    $0x1,%eax
402569:	c1 e0 02             	shl    $0x2,%eax
40256c:	6a 04                	push   $0x4
40256e:	59                   	pop    %ecx
40256f:	2b c8                	sub    %eax,%ecx
402571:	8b 45 f4             	mov    -0xc(%ebp),%eax
402574:	d2 e0                	shl    %cl,%al
402576:	8b 4d f8             	mov    -0x8(%ebp),%ecx
402579:	6a 00                	push   $0x0
40257b:	08 04 0a             	or     %al,(%edx,%ecx,1)
40257e:	43                   	inc    %ebx
40257f:	5a                   	pop    %edx
402580:	3b de                	cmp    %esi,%ebx
402582:	7c 9f                	jl     0x402523
402584:	8b 5d dc             	mov    -0x24(%ebp),%ebx
402587:	eb 03                	jmp    0x40258c
402589:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40258c:	ff 75 e8             	push   -0x18(%ebp)
40258f:	51                   	push   %ecx
402590:	6a 03                	push   $0x3
402592:	52                   	push   %edx
402593:	8b 45 08             	mov    0x8(%ebp),%eax
402596:	ff 75 0c             	push   0xc(%ebp)
402599:	ff 30                	push   (%eax)
40259b:	ff 15 fc 70 40 00    	call   *0x4070fc
4025a1:	e9 61 01 00 00       	jmp    0x402707
4025a6:	57                   	push   %edi
4025a7:	ff 15 64 71 40 00    	call   *0x407164
4025ad:	53                   	push   %ebx
4025ae:	ff 15 64 71 40 00    	call   *0x407164
4025b4:	be 05 40 00 80       	mov    $0x80004005,%esi
4025b9:	e9 6c 01 00 00       	jmp    0x40272a
4025be:	8b c7                	mov    %edi,%eax
4025c0:	8b f1                	mov    %ecx,%esi
4025c2:	89 45 f0             	mov    %eax,-0x10(%ebp)
4025c5:	38 4d 14             	cmp    %cl,0x14(%ebp)
4025c8:	0f 84 21 01 00 00    	je     0x4026ef
4025ce:	8b cf                	mov    %edi,%ecx
4025d0:	33 f6                	xor    %esi,%esi
4025d2:	8d 51 02             	lea    0x2(%ecx),%edx
4025d5:	66 8b 01             	mov    (%ecx),%ax
4025d8:	83 c1 02             	add    $0x2,%ecx
4025db:	66 3b c6             	cmp    %si,%ax
4025de:	75 f5                	jne    0x4025d5
4025e0:	2b ca                	sub    %edx,%ecx
4025e2:	d1 f9                	sar    $1,%ecx
4025e4:	81 f9 fe 0f 00 00    	cmp    $0xffe,%ecx
4025ea:	7f ba                	jg     0x4025a6
4025ec:	68 00 20 00 00       	push   $0x2000
4025f1:	ff 15 84 71 40 00    	call   *0x407184
4025f7:	89 45 f8             	mov    %eax,-0x8(%ebp)
4025fa:	59                   	pop    %ecx
4025fb:	85 c0                	test   %eax,%eax
4025fd:	75 18                	jne    0x402617
4025ff:	57                   	push   %edi
402600:	ff 15 64 71 40 00    	call   *0x407164
402606:	53                   	push   %ebx
402607:	ff 15 64 71 40 00    	call   *0x407164
40260d:	be 0e 00 07 80       	mov    $0x8007000e,%esi
402612:	e9 13 01 00 00       	jmp    0x40272a
402617:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40261a:	68 fc 14 40 00       	push   $0x4014fc
40261f:	89 75 e8             	mov    %esi,-0x18(%ebp)
402622:	8b 49 04             	mov    0x4(%ecx),%ecx
402625:	e8 8c fa ff ff       	call   0x4020b6
40262a:	8b f0                	mov    %eax,%esi
40262c:	85 f6                	test   %esi,%esi
40262e:	0f 84 ad 00 00 00    	je     0x4026e1
402634:	8b d6                	mov    %esi,%edx
402636:	8b cf                	mov    %edi,%ecx
402638:	e8 18 fb ff ff       	call   0x402155
40263d:	89 45 f4             	mov    %eax,-0xc(%ebp)
402640:	85 c0                	test   %eax,%eax
402642:	0f 84 99 00 00 00    	je     0x4026e1
402648:	3b 45 10             	cmp    0x10(%ebp),%eax
40264b:	74 15                	je     0x402662
40264d:	50                   	push   %eax
40264e:	57                   	push   %edi
40264f:	ff 15 10 71 40 00    	call   *0x407110
402655:	66 83 38 22          	cmpw   $0x22,(%eax)
402659:	0f 84 82 00 00 00    	je     0x4026e1
40265f:	8b 45 f4             	mov    -0xc(%ebp),%eax
402662:	8b 4d f8             	mov    -0x8(%ebp),%ecx
402665:	2b c7                	sub    %edi,%eax
402667:	d1 f8                	sar    $1,%eax
402669:	33 d2                	xor    %edx,%edx
40266b:	50                   	push   %eax
40266c:	57                   	push   %edi
40266d:	51                   	push   %ecx
40266e:	66 89 11             	mov    %dx,(%ecx)
402671:	ff 15 20 71 40 00    	call   *0x407120
402677:	68 0c 15 40 00       	push   $0x40150c
40267c:	68 00 10 00 00       	push   $0x1000
402681:	ff 75 f8             	push   -0x8(%ebp)
402684:	ff 15 ac 71 40 00    	call   *0x4071ac
40268a:	56                   	push   %esi
40268b:	68 00 10 00 00       	push   $0x1000
402690:	ff 75 f8             	push   -0x8(%ebp)
402693:	ff 15 ac 71 40 00    	call   *0x4071ac
402699:	68 0c 15 40 00       	push   $0x40150c
40269e:	68 00 10 00 00       	push   $0x1000
4026a3:	ff 75 f8             	push   -0x8(%ebp)
4026a6:	ff 15 ac 71 40 00    	call   *0x4071ac
4026ac:	83 c4 24             	add    $0x24,%esp
4026af:	8d 4e 02             	lea    0x2(%esi),%ecx
4026b2:	33 d2                	xor    %edx,%edx
4026b4:	66 8b 06             	mov    (%esi),%ax
4026b7:	83 c6 02             	add    $0x2,%esi
4026ba:	66 3b c2             	cmp    %dx,%ax
4026bd:	75 f5                	jne    0x4026b4
4026bf:	8b 45 f4             	mov    -0xc(%ebp),%eax
4026c2:	2b f1                	sub    %ecx,%esi
4026c4:	d1 fe                	sar    $1,%esi
4026c6:	8d 04 70             	lea    (%eax,%esi,2),%eax
4026c9:	8b 75 f8             	mov    -0x8(%ebp),%esi
4026cc:	50                   	push   %eax
4026cd:	68 00 10 00 00       	push   $0x1000
4026d2:	56                   	push   %esi
4026d3:	ff 15 ac 71 40 00    	call   *0x4071ac
4026d9:	83 c4 0c             	add    $0xc,%esp
4026dc:	89 75 f0             	mov    %esi,-0x10(%ebp)
4026df:	eb 03                	jmp    0x4026e4
4026e1:	8b 75 f8             	mov    -0x8(%ebp),%esi
4026e4:	8d 4d e8             	lea    -0x18(%ebp),%ecx
4026e7:	e8 aa 20 00 00       	call   0x404796
4026ec:	8b 45 f0             	mov    -0x10(%ebp),%eax
4026ef:	ff 75 0c             	push   0xc(%ebp)
4026f2:	8b 4d 08             	mov    0x8(%ebp),%ecx
4026f5:	50                   	push   %eax
4026f6:	e8 15 f5 ff ff       	call   0x401c10
4026fb:	85 f6                	test   %esi,%esi
4026fd:	74 08                	je     0x402707
4026ff:	56                   	push   %esi
402700:	ff 15 64 71 40 00    	call   *0x407164
402706:	59                   	pop    %ecx
402707:	ff 75 10             	push   0x10(%ebp)
40270a:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40270d:	e8 18 fb ff ff       	call   0x40222a
402712:	57                   	push   %edi
402713:	8b f0                	mov    %eax,%esi
402715:	ff 15 64 71 40 00    	call   *0x407164
40271b:	53                   	push   %ebx
40271c:	ff 15 64 71 40 00    	call   *0x407164
402722:	85 f6                	test   %esi,%esi
402724:	78 04                	js     0x40272a
402726:	33 c0                	xor    %eax,%eax
402728:	8b f0                	mov    %eax,%esi
40272a:	59                   	pop    %ecx
40272b:	59                   	pop    %ecx
40272c:	8d 4d e0             	lea    -0x20(%ebp),%ecx
40272f:	e8 62 20 00 00       	call   0x404796
402734:	8b c6                	mov    %esi,%eax
402736:	8d 65 d0             	lea    -0x30(%ebp),%esp
402739:	5f                   	pop    %edi
40273a:	5e                   	pop    %esi
40273b:	5b                   	pop    %ebx
40273c:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40273f:	33 cd                	xor    %ebp,%ecx
402741:	e8 5a 28 00 00       	call   0x404fa0
402746:	c9                   	leave
402747:	c2 10 00             	ret    $0x10
40274a:	8b ff                	mov    %edi,%edi
40274c:	55                   	push   %ebp
40274d:	8b ec                	mov    %esp,%ebp
40274f:	56                   	push   %esi
402750:	be e8 10 40 00       	mov    $0x4010e8,%esi
402755:	ff 36                	push   (%esi)
402757:	ff 75 08             	push   0x8(%ebp)
40275a:	ff 15 1c 71 40 00    	call   *0x40711c
402760:	85 c0                	test   %eax,%eax