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
402821:	74 7b                	je     0x40289e
402823:	83 f8 ff             	cmp    $0xffffffff,%eax
402826:	74 64                	je     0x40288c
402828:	01 45 f8             	add    %eax,-0x8(%ebp)
40282b:	2b d8                	sub    %eax,%ebx
40282d:	29 45 fc             	sub    %eax,-0x4(%ebp)
402830:	eb 24                	jmp    0x402856
402832:	56                   	push   %esi
402833:	e8 58 49 00 00       	call   0x407190
402838:	59                   	pop    %ecx
402839:	83 f8 ff             	cmp    $0xffffffff,%eax
40283c:	74 52                	je     0x402890
40283e:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
402842:	74 22                	je     0x402866
402844:	8b 4d f8             	mov    -0x8(%ebp),%ecx
402847:	ff 45 f8             	incl   -0x8(%ebp)
40284a:	88 01                	mov    %al,(%ecx)
40284c:	8b 46 18             	mov    0x18(%esi),%eax
40284f:	4b                   	dec    %ebx
402850:	ff 4d fc             	decl   -0x4(%ebp)
402853:	89 45 f4             	mov    %eax,-0xc(%ebp)
402856:	85 db                	test   %ebx,%ebx
402858:	0f 85 26 ff ff ff    	jne    0x402784
40285e:	8b 45 14             	mov    0x14(%ebp),%eax
402861:	e9 bc fe ff ff       	jmp    0x402722
402866:	83 7d 0c ff          	cmpl   $0xffffffff,0xc(%ebp)
40286a:	74 10                	je     0x40287c
40286c:	ff 75 0c             	push   0xc(%ebp)
40286f:	6a 00                	push   $0x0
402871:	ff 75 08             	push   0x8(%ebp)
402874:	e8 67 51 00 00       	call   0x4079e0
402879:	83 c4 0c             	add    $0xc,%esp
40287c:	e8 a6 18 00 00       	call   0x404127
402881:	c7 00 22 00 00 00    	movl   $0x22,(%eax)
402887:	e9 8f fe ff ff       	jmp    0x40271b
40288c:	83 4e 0c 20          	orl    $0x20,0xc(%esi)
402890:	8b c7                	mov    %edi,%eax
402892:	2b c3                	sub    %ebx,%eax
402894:	33 d2                	xor    %edx,%edx
402896:	f7 75 10             	divl   0x10(%ebp)
402899:	e9 84 fe ff ff       	jmp    0x402722
40289e:	83 4e 0c 10          	orl    $0x10,0xc(%esi)
4028a2:	eb ec                	jmp    0x402890
4028a4:	6a 0c                	push   $0xc
4028a6:	68 90 10 41 00       	push   $0x411090
4028ab:	e8 c0 18 00 00       	call   0x404170
4028b0:	33 f6                	xor    %esi,%esi
4028b2:	89 75 e4             	mov    %esi,-0x1c(%ebp)
4028b5:	39 75 10             	cmp    %esi,0x10(%ebp)
4028b8:	74 2f                	je     0x4028e9
4028ba:	39 75 14             	cmp    %esi,0x14(%ebp)
4028bd:	74 2a                	je     0x4028e9
4028bf:	39 75 18             	cmp    %esi,0x18(%ebp)
4028c2:	75 2d                	jne    0x4028f1
4028c4:	83 7d 0c ff          	cmpl   $0xffffffff,0xc(%ebp)
4028c8:	74 0f                	je     0x4028d9
4028ca:	ff 75 0c             	push   0xc(%ebp)
4028cd:	56                   	push   %esi
4028ce:	ff 75 08             	push   0x8(%ebp)
4028d1:	e8 0a 51 00 00       	call   0x4079e0
4028d6:	83 c4 0c             	add    $0xc,%esp
4028d9:	e8 49 18 00 00       	call   0x404127
4028de:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
4028e4:	e8 9e 03 00 00       	call   0x402c87
4028e9:	33 c0                	xor    %eax,%eax
4028eb:	e8 c5 18 00 00       	call   0x4041b5
4028f0:	c3                   	ret
4028f1:	ff 75 18             	push   0x18(%ebp)
4028f4:	e8 61 fa ff ff       	call   0x40235a
4028f9:	59                   	pop    %ecx
4028fa:	89 75 fc             	mov    %esi,-0x4(%ebp)
4028fd:	ff 75 18             	push   0x18(%ebp)
402900:	ff 75 14             	push   0x14(%ebp)
402903:	ff 75 10             	push   0x10(%ebp)
402906:	ff 75 0c             	push   0xc(%ebp)
402909:	ff 75 08             	push   0x8(%ebp)
40290c:	e8 d7 fd ff ff       	call   0x4026e8
402911:	83 c4 14             	add    $0x14,%esp
402914:	89 45 e4             	mov    %eax,-0x1c(%ebp)
402917:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40291e:	e8 05 00 00 00       	call   0x402928
402923:	8b 45 e4             	mov    -0x1c(%ebp),%eax
402926:	eb c3                	jmp    0x4028eb
402928:	ff 75 18             	push   0x18(%ebp)
40292b:	e8 9d fa ff ff       	call   0x4023cd
402930:	59                   	pop    %ecx
402931:	c3                   	ret
402932:	8b ff                	mov    %edi,%edi
402934:	55                   	push   %ebp
402935:	8b ec                	mov    %esp,%ebp
402937:	ff 75 14             	push   0x14(%ebp)
40293a:	ff 75 10             	push   0x10(%ebp)
40293d:	ff 75 0c             	push   0xc(%ebp)
402940:	6a ff                	push   $0xffffffff
402942:	ff 75 08             	push   0x8(%ebp)
402945:	e8 5a ff ff ff       	call   0x4028a4
40294a:	83 c4 14             	add    $0x14,%esp
40294d:	5d                   	pop    %ebp
40294e:	c3                   	ret
40294f:	6a 0c                	push   $0xc
402951:	68 b0 10 41 00       	push   $0x4110b0
402956:	e8 15 18 00 00       	call   0x404170
40295b:	33 db                	xor    %ebx,%ebx
40295d:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
402960:	33 c0                	xor    %eax,%eax
402962:	8b 7d 08             	mov    0x8(%ebp),%edi
402965:	3b fb                	cmp    %ebx,%edi
402967:	0f 95 c0             	setne  %al
40296a:	3b c3                	cmp    %ebx,%eax
40296c:	75 18                	jne    0x402986
40296e:	e8 b4 17 00 00       	call   0x404127
402973:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
402979:	e8 09 03 00 00       	call   0x402c87
40297e:	83 c8 ff             	or     $0xffffffff,%eax
402981:	e9 c5 00 00 00       	jmp    0x402a4b
402986:	33 c0                	xor    %eax,%eax
402988:	39 5d 0c             	cmp    %ebx,0xc(%ebp)
40298b:	0f 95 c0             	setne  %al
40298e:	3b c3                	cmp    %ebx,%eax
402990:	74 dc                	je     0x40296e
402992:	89 7d 08             	mov    %edi,0x8(%ebp)
402995:	57                   	push   %edi
402996:	e8 bf f9 ff ff       	call   0x40235a
40299b:	59                   	pop    %ecx
40299c:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40299f:	f6 47 0c 40          	testb  $0x40,0xc(%edi)
4029a3:	75 6f                	jne    0x402a14
4029a5:	57                   	push   %edi
4029a6:	e8 05 01 00 00       	call   0x402ab0
4029ab:	59                   	pop    %ecx
4029ac:	83 f8 ff             	cmp    $0xffffffff,%eax
4029af:	74 1b                	je     0x4029cc
4029b1:	83 f8 fe             	cmp    $0xfffffffe,%eax
4029b4:	74 16                	je     0x4029cc
4029b6:	8b d0                	mov    %eax,%edx
4029b8:	c1 fa 05             	sar    $0x5,%edx
4029bb:	8b c8                	mov    %eax,%ecx
4029bd:	83 e1 1f             	and    $0x1f,%ecx
4029c0:	c1 e1 06             	shl    $0x6,%ecx
4029c3:	03 0c 95 20 46 41 00 	add    0x414620(,%edx,4),%ecx
4029ca:	eb 05                	jmp    0x4029d1
4029cc:	b9 78 2b 41 00       	mov    $0x412b78,%ecx
4029d1:	f6 41 24 7f          	testb  $0x7f,0x24(%ecx)
4029d5:	75 29                	jne    0x402a00
4029d7:	83 f8 ff             	cmp    $0xffffffff,%eax
4029da:	74 19                	je     0x4029f5
4029dc:	83 f8 fe             	cmp    $0xfffffffe,%eax
4029df:	74 14                	je     0x4029f5
4029e1:	8b c8                	mov    %eax,%ecx
4029e3:	c1 f9 05             	sar    $0x5,%ecx
4029e6:	83 e0 1f             	and    $0x1f,%eax
4029e9:	c1 e0 06             	shl    $0x6,%eax
4029ec:	03 04 8d 20 46 41 00 	add    0x414620(,%ecx,4),%eax
4029f3:	eb 05                	jmp    0x4029fa
4029f5:	b8 78 2b 41 00       	mov    $0x412b78,%eax
4029fa:	f6 40 24 80          	testb  $0x80,0x24(%eax)
4029fe:	74 14                	je     0x402a14
402a00:	e8 22 17 00 00       	call   0x404127
402a05:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
402a0b:	e8 77 02 00 00       	call   0x402c87
402a10:	83 4d e4 ff          	orl    $0xffffffff,-0x1c(%ebp)
402a14:	39 5d e4             	cmp    %ebx,-0x1c(%ebp)
402a17:	75 23                	jne    0x402a3c
402a19:	57                   	push   %edi
402a1a:	e8 93 1a 00 00       	call   0x4044b2
402a1f:	8b f0                	mov    %eax,%esi
402a21:	8d 45 10             	lea    0x10(%ebp),%eax
402a24:	50                   	push   %eax
402a25:	53                   	push   %ebx
402a26:	ff 75 0c             	push   0xc(%ebp)
402a29:	57                   	push   %edi
402a2a:	e8 8d 50 00 00       	call   0x407abc
402a2f:	89 45 e4             	mov    %eax,-0x1c(%ebp)
402a32:	57                   	push   %edi
402a33:	56                   	push   %esi