4024b0:	33 cf                	xor    %edi,%ecx
4024b2:	83 c2 04             	add    $0x4,%edx
4024b5:	81 e1 00 01 01 81    	and    $0x81010100,%ecx
4024bb:	74 e0                	je     0x40249d
4024bd:	8b 4a fc             	mov    -0x4(%edx),%ecx
4024c0:	32 cb                	xor    %bl,%cl
4024c2:	74 23                	je     0x4024e7
4024c4:	32 eb                	xor    %bl,%ch
4024c6:	74 19                	je     0x4024e1
4024c8:	c1 e9 10             	shr    $0x10,%ecx
4024cb:	32 cb                	xor    %bl,%cl
4024cd:	74 0c                	je     0x4024db
4024cf:	32 eb                	xor    %bl,%ch
4024d1:	74 02                	je     0x4024d5
4024d3:	eb c8                	jmp    0x40249d
4024d5:	5f                   	pop    %edi
4024d6:	8d 42 ff             	lea    -0x1(%edx),%eax
4024d9:	5b                   	pop    %ebx
4024da:	c3                   	ret
4024db:	8d 42 fe             	lea    -0x2(%edx),%eax
4024de:	5f                   	pop    %edi
4024df:	5b                   	pop    %ebx
4024e0:	c3                   	ret
4024e1:	8d 42 fd             	lea    -0x3(%edx),%eax
4024e4:	5f                   	pop    %edi
4024e5:	5b                   	pop    %ebx
4024e6:	c3                   	ret
4024e7:	8d 42 fc             	lea    -0x4(%edx),%eax
4024ea:	5f                   	pop    %edi
4024eb:	5b                   	pop    %ebx
4024ec:	c3                   	ret
4024ed:	8b ff                	mov    %edi,%edi
4024ef:	55                   	push   %ebp
4024f0:	8b ec                	mov    %esp,%ebp
4024f2:	8b 45 08             	mov    0x8(%ebp),%eax
4024f5:	85 c0                	test   %eax,%eax
4024f7:	74 12                	je     0x40250b
4024f9:	83 e8 08             	sub    $0x8,%eax
4024fc:	81 38 dd dd 00 00    	cmpl   $0xdddd,(%eax)
402502:	75 07                	jne    0x40250b
402504:	50                   	push   %eax
402505:	e8 61 fa ff ff       	call   0x401f6b
40250a:	59                   	pop    %ecx
40250b:	5d                   	pop    %ebp
40250c:	c3                   	ret
40250d:	8b ff                	mov    %edi,%edi
40250f:	55                   	push   %ebp
402510:	8b ec                	mov    %esp,%ebp
402512:	51                   	push   %ecx
402513:	51                   	push   %ecx
402514:	a1 84 22 41 00       	mov    0x412284,%eax
402519:	33 c5                	xor    %ebp,%eax
40251b:	89 45 fc             	mov    %eax,-0x4(%ebp)
40251e:	53                   	push   %ebx
40251f:	56                   	push   %esi
402520:	8b f1                	mov    %ecx,%esi
402522:	33 db                	xor    %ebx,%ebx
402524:	57                   	push   %edi
402525:	3b f3                	cmp    %ebx,%esi
402527:	75 14                	jne    0x40253d
402529:	e8 f9 1b 00 00       	call   0x404127
40252e:	6a 16                	push   $0x16
402530:	5e                   	pop    %esi
402531:	89 30                	mov    %esi,(%eax)
402533:	e8 4f 07 00 00       	call   0x402c87
402538:	e9 2c 01 00 00       	jmp    0x402669
40253d:	ff 75 08             	push   0x8(%ebp)
402540:	56                   	push   %esi
402541:	e8 8b 4a 00 00       	call   0x406fd1
402546:	59                   	pop    %ecx
402547:	59                   	pop    %ecx
402548:	3b 45 08             	cmp    0x8(%ebp),%eax
40254b:	72 07                	jb     0x402554
40254d:	33 c0                	xor    %eax,%eax
40254f:	66 89 06             	mov    %ax,(%esi)
402552:	eb d5                	jmp    0x402529
402554:	8b 45 0c             	mov    0xc(%ebp),%eax
402557:	8b 00                	mov    (%eax),%eax
402559:	8b 40 14             	mov    0x14(%eax),%eax
40255c:	3b c3                	cmp    %ebx,%eax
40255e:	75 29                	jne    0x402589
402560:	8b c6                	mov    %esi,%eax
402562:	66 39 1e             	cmp    %bx,(%esi)
402565:	74 1b                	je     0x402582
402567:	0f b7 08             	movzwl (%eax),%ecx
40256a:	83 f9 41             	cmp    $0x41,%ecx
40256d:	72 0b                	jb     0x40257a
40256f:	83 f9 5a             	cmp    $0x5a,%ecx
402572:	77 06                	ja     0x40257a
402574:	83 c1 20             	add    $0x20,%ecx
402577:	66 89 08             	mov    %cx,(%eax)
40257a:	83 c0 02             	add    $0x2,%eax
40257d:	66 39 18             	cmp    %bx,(%eax)
402580:	75 e5                	jne    0x402567
402582:	33 c0                	xor    %eax,%eax
402584:	e9 e2 00 00 00       	jmp    0x40266b
402589:	53                   	push   %ebx
40258a:	53                   	push   %ebx
40258b:	6a ff                	push   $0xffffffff
40258d:	56                   	push   %esi
40258e:	bf 00 01 00 00       	mov    $0x100,%edi
402593:	57                   	push   %edi
402594:	50                   	push   %eax
402595:	e8 08 4a 00 00       	call   0x406fa2
40259a:	8b c8                	mov    %eax,%ecx
40259c:	83 c4 18             	add    $0x18,%esp
40259f:	89 4d f8             	mov    %ecx,-0x8(%ebp)
4025a2:	3b cb                	cmp    %ebx,%ecx
4025a4:	75 17                	jne    0x4025bd
4025a6:	e8 7c 1b 00 00       	call   0x404127
4025ab:	c7 00 2a 00 00 00    	movl   $0x2a,(%eax)
4025b1:	e8 71 1b 00 00       	call   0x404127
4025b6:	8b 00                	mov    (%eax),%eax
4025b8:	e9 ae 00 00 00       	jmp    0x40266b
4025bd:	39 4d 08             	cmp    %ecx,0x8(%ebp)
4025c0:	73 11                	jae    0x4025d3
4025c2:	33 c0                	xor    %eax,%eax
4025c4:	66 89 06             	mov    %ax,(%esi)
4025c7:	e8 5b 1b 00 00       	call   0x404127
4025cc:	6a 22                	push   $0x22
4025ce:	e9 5d ff ff ff       	jmp    0x402530
4025d3:	3b cb                	cmp    %ebx,%ecx
4025d5:	7e 43                	jle    0x40261a
4025d7:	6a e0                	push   $0xffffffe0
4025d9:	33 d2                	xor    %edx,%edx
4025db:	58                   	pop    %eax
4025dc:	f7 f1                	div    %ecx
4025de:	83 f8 02             	cmp    $0x2,%eax
4025e1:	72 37                	jb     0x40261a
4025e3:	8d 44 09 08          	lea    0x8(%ecx,%ecx,1),%eax
4025e7:	3d 00 04 00 00       	cmp    $0x400,%eax
4025ec:	77 13                	ja     0x402601
4025ee:	e8 0d 4a 00 00       	call   0x407000
4025f3:	8b c4                	mov    %esp,%eax
4025f5:	3b c3                	cmp    %ebx,%eax
4025f7:	74 1c                	je     0x402615
4025f9:	c7 00 cc cc 00 00    	movl   $0xcccc,(%eax)
4025ff:	eb 11                	jmp    0x402612
402601:	50                   	push   %eax
402602:	e8 e8 fb ff ff       	call   0x4021ef
402607:	59                   	pop    %ecx
402608:	3b c3                	cmp    %ebx,%eax
40260a:	74 09                	je     0x402615
40260c:	c7 00 dd dd 00 00    	movl   $0xdddd,(%eax)
402612:	83 c0 08             	add    $0x8,%eax
402615:	8b 4d f8             	mov    -0x8(%ebp),%ecx
402618:	8b d8                	mov    %eax,%ebx
40261a:	85 db                	test   %ebx,%ebx
40261c:	75 0d                	jne    0x40262b
40261e:	e8 04 1b 00 00       	call   0x404127
402623:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)
402629:	eb 86                	jmp    0x4025b1
40262b:	8b 45 0c             	mov    0xc(%ebp),%eax
40262e:	8b 00                	mov    (%eax),%eax
402630:	51                   	push   %ecx
402631:	53                   	push   %ebx
402632:	6a ff                	push   $0xffffffff
402634:	56                   	push   %esi
402635:	57                   	push   %edi
402636:	ff 70 14             	push   0x14(%eax)
402639:	e8 64 49 00 00       	call   0x406fa2
40263e:	83 c4 18             	add    $0x18,%esp
402641:	85 c0                	test   %eax,%eax
402643:	74 11                	je     0x402656
402645:	53                   	push   %ebx
402646:	ff 75 08             	push   0x8(%ebp)
402649:	56                   	push   %esi
40264a:	e8 6c 11 00 00       	call   0x4037bb
40264f:	83 c4 0c             	add    $0xc,%esp
402652:	8b f0                	mov    %eax,%esi
402654:	eb 0c                	jmp    0x402662
402656:	e8 cc 1a 00 00       	call   0x404127
40265b:	6a 2a                	push   $0x2a
40265d:	59                   	pop    %ecx
40265e:	89 08                	mov    %ecx,(%eax)
402660:	8b f1                	mov    %ecx,%esi
402662:	53                   	push   %ebx
402663:	e8 85 fe ff ff       	call   0x4024ed
402668:	59                   	pop    %ecx
402669:	8b c6                	mov    %esi,%eax
40266b:	8d 65 ec             	lea    -0x14(%ebp),%esp
40266e:	5f                   	pop    %edi
40266f:	5e                   	pop    %esi
402670:	5b                   	pop    %ebx
402671:	8b 4d fc             	mov    -0x4(%ebp),%ecx
402674:	33 cd                	xor    %ebp,%ecx
402676:	e8 29 f7 ff ff       	call   0x401da4
40267b:	c9                   	leave
40267c:	c3                   	ret
40267d:	8b ff                	mov    %edi,%edi
40267f:	55                   	push   %ebp
402680:	8b ec                	mov    %esp,%ebp
402682:	83 ec 10             	sub    $0x10,%esp
402685:	ff 75 10             	push   0x10(%ebp)
402688:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40268b:	e8 55 f9 ff ff       	call   0x401fe5
402690:	8b 4d 08             	mov    0x8(%ebp),%ecx
402693:	8d 45 f0             	lea    -0x10(%ebp),%eax
402696:	50                   	push   %eax
402697:	ff 75 0c             	push   0xc(%ebp)
40269a:	e8 6e fe ff ff       	call   0x40250d
40269f:	80 7d fc 00          	cmpb   $0x0,-0x4(%ebp)
4026a3:	59                   	pop    %ecx
4026a4:	59                   	pop    %ecx
4026a5:	74 07                	je     0x4026ae
4026a7:	8b 4d f8             	mov    -0x8(%ebp),%ecx
4026aa:	83 61 70 fd          	andl   $0xfffffffd,0x70(%ecx)
4026ae:	c9                   	leave
4026af:	c3                   	ret
4026b0:	8b ff                	mov    %edi,%edi
4026b2:	55                   	push   %ebp
4026b3:	8b ec                	mov    %esp,%ebp
4026b5:	6a 00                	push   $0x0
4026b7:	ff 75 0c             	push   0xc(%ebp)
4026ba:	ff 75 08             	push   0x8(%ebp)
4026bd:	e8 bb ff ff ff       	call   0x40267d
4026c2:	83 c4 0c             	add    $0xc,%esp
4026c5:	5d                   	pop    %ebp
4026c6:	c3                   	ret
4026c7:	8b ff                	mov    %edi,%edi
4026c9:	55                   	push   %ebp
4026ca:	8b ec                	mov    %esp,%ebp
4026cc:	8d 45 18             	lea    0x18(%ebp),%eax
4026cf:	50                   	push   %eax
4026d0:	6a 00                	push   $0x0
4026d2:	ff 75 14             	push   0x14(%ebp)
4026d5:	ff 75 10             	push   0x10(%ebp)
4026d8:	ff 75 0c             	push   0xc(%ebp)
4026db:	ff 75 08             	push   0x8(%ebp)
4026de:	e8 50 0d 00 00       	call   0x403433
4026e3:	83 c4 18             	add    $0x18,%esp
4026e6:	5d                   	pop    %ebp
4026e7:	c3                   	ret
4026e8:	8b ff                	mov    %edi,%edi
4026ea:	55                   	push   %ebp
4026eb:	8b ec                	mov    %esp,%ebp
4026ed:	83 ec 10             	sub    $0x10,%esp
4026f0:	8b 4d 08             	mov    0x8(%ebp),%ecx
4026f3:	53                   	push   %ebx
4026f4:	8b 5d 0c             	mov    0xc(%ebp),%ebx
4026f7:	56                   	push   %esi
4026f8:	57                   	push   %edi
4026f9:	8b 7d 10             	mov    0x10(%ebp),%edi
4026fc:	89 4d f8             	mov    %ecx,-0x8(%ebp)
4026ff:	89 5d fc             	mov    %ebx,-0x4(%ebp)
402702:	85 ff                	test   %edi,%edi
402704:	74 1a                	je     0x402720
402706:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)
40270a:	74 14                	je     0x402720
40270c:	85 c9                	test   %ecx,%ecx
40270e:	75 17                	jne    0x402727
402710:	e8 12 1a 00 00       	call   0x404127
402715:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40271b:	e8 67 05 00 00       	call   0x402c87
402720:	33 c0                	xor    %eax,%eax
402722:	5f                   	pop    %edi
402723:	5e                   	pop    %esi
402724:	5b                   	pop    %ebx
402725:	c9                   	leave
402726:	c3                   	ret
402727:	8b 75 18             	mov    0x18(%ebp),%esi
40272a:	85 f6                	test   %esi,%esi
40272c:	74 0c                	je     0x40273a
40272e:	83 c8 ff             	or     $0xffffffff,%eax
402731:	33 d2                	xor    %edx,%edx
402733:	f7 f7                	div    %edi
402735:	39 45 14             	cmp    %eax,0x14(%ebp)
402738:	76 21                	jbe    0x40275b
40273a:	83 fb ff             	cmp    $0xffffffff,%ebx
40273d:	74 0c                	je     0x40274b
40273f:	53                   	push   %ebx
402740:	6a 00                	push   $0x0
402742:	51                   	push   %ecx
402743:	e8 98 52 00 00       	call   0x4079e0
402748:	83 c4 0c             	add    $0xc,%esp
40274b:	85 f6                	test   %esi,%esi
40274d:	74 c1                	je     0x402710
40274f:	83 c8 ff             	or     $0xffffffff,%eax
402752:	33 d2                	xor    %edx,%edx
402754:	f7 f7                	div    %edi
402756:	39 45 14             	cmp    %eax,0x14(%ebp)
402759:	77 b5                	ja     0x402710
40275b:	0f af 7d 14          	imul   0x14(%ebp),%edi
40275f:	f7 46 0c 0c 01 00 00 	testl  $0x10c,0xc(%esi)
402766:	89 7d f0             	mov    %edi,-0x10(%ebp)
402769:	8b df                	mov    %edi,%ebx
40276b:	74 08                	je     0x402775
40276d:	8b 46 18             	mov    0x18(%esi),%eax
402770:	89 45 f4             	mov    %eax,-0xc(%ebp)
402773:	eb 07                	jmp    0x40277c
402775:	c7 45 f4 00 10 00 00 	movl   $0x1000,-0xc(%ebp)
40277c:	85 ff                	test   %edi,%edi
40277e:	0f 84 da 00 00 00    	je     0x40285e
402784:	f7 46 0c 0c 01 00 00 	testl  $0x10c,0xc(%esi)
40278b:	74 44                	je     0x4027d1
40278d:	8b 46 04             	mov    0x4(%esi),%eax
402790:	85 c0                	test   %eax,%eax
402792:	74 3d                	je     0x4027d1
402794:	0f 88 f2 00 00 00    	js     0x40288c
40279a:	8b fb                	mov    %ebx,%edi
40279c:	3b d8                	cmp    %eax,%ebx
40279e:	72 02                	jb     0x4027a2
4027a0:	8b f8                	mov    %eax,%edi
4027a2:	3b 7d fc             	cmp    -0x4(%ebp),%edi
4027a5:	0f 87 bb 00 00 00    	ja     0x402866
4027ab:	57                   	push   %edi
4027ac:	ff 36                	push   (%esi)
4027ae:	ff 75 fc             	push   -0x4(%ebp)
4027b1:	ff 75 f8             	push   -0x8(%ebp)
4027b4:	e8 a6 51 00 00       	call   0x40795f
4027b9:	29 7e 04             	sub    %edi,0x4(%esi)
4027bc:	01 3e                	add    %edi,(%esi)
4027be:	01 7d f8             	add    %edi,-0x8(%ebp)
4027c1:	2b df                	sub    %edi,%ebx
4027c3:	83 c4 10             	add    $0x10,%esp
4027c6:	29 7d fc             	sub    %edi,-0x4(%ebp)
4027c9:	8b 7d f0             	mov    -0x10(%ebp),%edi
4027cc:	e9 85 00 00 00       	jmp    0x402856
4027d1:	3b 5d f4             	cmp    -0xc(%ebp),%ebx
4027d4:	72 5c                	jb     0x402832
4027d6:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)
4027da:	74 1f                	je     0x4027fb
4027dc:	b9 ff ff ff 7f       	mov    $0x7fffffff,%ecx
4027e1:	33 d2                	xor    %edx,%edx
4027e3:	3b d9                	cmp    %ecx,%ebx
4027e5:	76 09                	jbe    0x4027f0
4027e7:	8b c1                	mov    %ecx,%eax
4027e9:	f7 75 f4             	divl   -0xc(%ebp)
4027ec:	8b c1                	mov    %ecx,%eax
4027ee:	eb 07                	jmp    0x4027f7
4027f0:	8b c3                	mov    %ebx,%eax
4027f2:	f7 75 f4             	divl   -0xc(%ebp)
4027f5:	8b c3                	mov    %ebx,%eax
4027f7:	2b c2                	sub    %edx,%eax
4027f9:	eb 0b                	jmp    0x402806
4027fb:	b8 ff ff ff 7f       	mov    $0x7fffffff,%eax
402800:	3b d8                	cmp    %eax,%ebx
402802:	77 02                	ja     0x402806
402804:	8b c3                	mov    %ebx,%eax
402806:	3b 45 fc             	cmp    -0x4(%ebp),%eax
402809:	77 5b                	ja     0x402866
40280b:	50                   	push   %eax
40280c:	ff 75 f8             	push   -0x8(%ebp)
40280f:	56                   	push   %esi
402810:	e8 9b 02 00 00       	call   0x402ab0
402815:	59                   	pop    %ecx
402816:	50                   	push   %eax
402817:	e8 4d 50 00 00       	call   0x407869
40281c:	83 c4 0c             	add    $0xc,%esp
40281f:	85 c0                	test   %eax,%eax