4054e0:	5b                   	pop    %ebx
4054e1:	8b c7                	mov    %edi,%eax
4054e3:	5f                   	pop    %edi
4054e4:	5d                   	pop    %ebp
4054e5:	c3                   	ret
4054e6:	85 ff                	test   %edi,%edi
4054e8:	74 37                	je     0x405521
4054ea:	85 c0                	test   %eax,%eax
4054ec:	74 33                	je     0x405521
4054ee:	56                   	push   %esi
4054ef:	8b 30                	mov    (%eax),%esi
4054f1:	3b f7                	cmp    %edi,%esi
4054f3:	74 28                	je     0x40551d
4054f5:	57                   	push   %edi
4054f6:	89 38                	mov    %edi,(%eax)
4054f8:	e8 c1 fe ff ff       	call   0x4053be
4054fd:	59                   	pop    %ecx
4054fe:	85 f6                	test   %esi,%esi
405500:	74 1b                	je     0x40551d
405502:	56                   	push   %esi
405503:	e8 45 ff ff ff       	call   0x40544d
405508:	83 3e 00             	cmpl   $0x0,(%esi)
40550b:	59                   	pop    %ecx
40550c:	75 0f                	jne    0x40551d
40550e:	81 fe 60 fa 41 00    	cmp    $0x41fa60,%esi
405514:	74 07                	je     0x40551d
405516:	56                   	push   %esi
405517:	e8 59 fd ff ff       	call   0x405275
40551c:	59                   	pop    %ecx
40551d:	8b c7                	mov    %edi,%eax
40551f:	5e                   	pop    %esi
405520:	c3                   	ret
405521:	33 c0                	xor    %eax,%eax
405523:	c3                   	ret
405524:	6a 0c                	push   $0xc
405526:	68 08 e8 41 00       	push   $0x41e808
40552b:	e8 50 d6 ff ff       	call   0x402b80
405530:	e8 45 d3 ff ff       	call   0x40287a
405535:	8b f0                	mov    %eax,%esi
405537:	a1 50 fb 41 00       	mov    0x41fb50,%eax
40553c:	85 46 70             	test   %eax,0x70(%esi)
40553f:	74 22                	je     0x405563
405541:	83 7e 6c 00          	cmpl   $0x0,0x6c(%esi)
405545:	74 1c                	je     0x405563
405547:	e8 2e d3 ff ff       	call   0x40287a
40554c:	8b 70 6c             	mov    0x6c(%eax),%esi
40554f:	85 f6                	test   %esi,%esi
405551:	75 08                	jne    0x40555b
405553:	6a 20                	push   $0x20
405555:	e8 a3 c2 ff ff       	call   0x4017fd
40555a:	59                   	pop    %ecx
40555b:	8b c6                	mov    %esi,%eax
40555d:	e8 63 d6 ff ff       	call   0x402bc5
405562:	c3                   	ret
405563:	6a 0c                	push   $0xc
405565:	e8 6d e5 ff ff       	call   0x403ad7
40556a:	59                   	pop    %ecx
40556b:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40556f:	8d 46 6c             	lea    0x6c(%esi),%eax
405572:	8b 3d 38 fb 41 00    	mov    0x41fb38,%edi
405578:	e8 69 ff ff ff       	call   0x4054e6
40557d:	89 45 e4             	mov    %eax,-0x1c(%ebp)
405580:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
405587:	e8 02 00 00 00       	call   0x40558e
40558c:	eb c1                	jmp    0x40554f
40558e:	6a 0c                	push   $0xc
405590:	e8 68 e4 ff ff       	call   0x4039fd
405595:	59                   	pop    %ecx
405596:	8b 75 e4             	mov    -0x1c(%ebp),%esi
405599:	c3                   	ret
40559a:	8b ff                	mov    %edi,%edi
40559c:	55                   	push   %ebp
40559d:	8b ec                	mov    %esp,%ebp
40559f:	8b 0d 78 2d de 02    	mov    0x2de2d78,%ecx
4055a5:	a1 7c 2d de 02       	mov    0x2de2d7c,%eax
4055aa:	6b c9 14             	imul   $0x14,%ecx,%ecx
4055ad:	03 c8                	add    %eax,%ecx
4055af:	eb 11                	jmp    0x4055c2
4055b1:	8b 55 08             	mov    0x8(%ebp),%edx
4055b4:	2b 50 0c             	sub    0xc(%eax),%edx
4055b7:	81 fa 00 00 10 00    	cmp    $0x100000,%edx
4055bd:	72 09                	jb     0x4055c8
4055bf:	83 c0 14             	add    $0x14,%eax
4055c2:	3b c1                	cmp    %ecx,%eax
4055c4:	72 eb                	jb     0x4055b1
4055c6:	33 c0                	xor    %eax,%eax
4055c8:	5d                   	pop    %ebp
4055c9:	c3                   	ret
4055ca:	8b ff                	mov    %edi,%edi
4055cc:	55                   	push   %ebp
4055cd:	8b ec                	mov    %esp,%ebp
4055cf:	83 ec 10             	sub    $0x10,%esp
4055d2:	8b 4d 08             	mov    0x8(%ebp),%ecx
4055d5:	8b 41 10             	mov    0x10(%ecx),%eax
4055d8:	56                   	push   %esi
4055d9:	8b 75 0c             	mov    0xc(%ebp),%esi
4055dc:	57                   	push   %edi
4055dd:	8b fe                	mov    %esi,%edi
4055df:	2b 79 0c             	sub    0xc(%ecx),%edi
4055e2:	83 c6 fc             	add    $0xfffffffc,%esi
4055e5:	c1 ef 0f             	shr    $0xf,%edi
4055e8:	8b cf                	mov    %edi,%ecx
4055ea:	69 c9 04 02 00 00    	imul   $0x204,%ecx,%ecx
4055f0:	8d 8c 01 44 01 00 00 	lea    0x144(%ecx,%eax,1),%ecx
4055f7:	89 4d f0             	mov    %ecx,-0x10(%ebp)
4055fa:	8b 0e                	mov    (%esi),%ecx
4055fc:	49                   	dec    %ecx
4055fd:	89 4d fc             	mov    %ecx,-0x4(%ebp)
405600:	f6 c1 01             	test   $0x1,%cl
405603:	0f 85 d3 02 00 00    	jne    0x4058dc
405609:	53                   	push   %ebx
40560a:	8d 1c 31             	lea    (%ecx,%esi,1),%ebx
40560d:	8b 13                	mov    (%ebx),%edx
40560f:	89 55 f4             	mov    %edx,-0xc(%ebp)
405612:	8b 56 fc             	mov    -0x4(%esi),%edx
405615:	89 55 f8             	mov    %edx,-0x8(%ebp)
405618:	8b 55 f4             	mov    -0xc(%ebp),%edx
40561b:	89 5d 0c             	mov    %ebx,0xc(%ebp)
40561e:	f6 c2 01             	test   $0x1,%dl
405621:	75 74                	jne    0x405697
405623:	c1 fa 04             	sar    $0x4,%edx
405626:	4a                   	dec    %edx
405627:	83 fa 3f             	cmp    $0x3f,%edx
40562a:	76 03                	jbe    0x40562f
40562c:	6a 3f                	push   $0x3f
40562e:	5a                   	pop    %edx
40562f:	8b 4b 04             	mov    0x4(%ebx),%ecx
405632:	3b 4b 08             	cmp    0x8(%ebx),%ecx
405635:	75 42                	jne    0x405679
405637:	bb 00 00 00 80       	mov    $0x80000000,%ebx
40563c:	83 fa 20             	cmp    $0x20,%edx
40563f:	73 19                	jae    0x40565a
405641:	8b ca                	mov    %edx,%ecx
405643:	d3 eb                	shr    %cl,%ebx
405645:	8d 4c 02 04          	lea    0x4(%edx,%eax,1),%ecx
405649:	f7 d3                	not    %ebx
40564b:	21 5c b8 44          	and    %ebx,0x44(%eax,%edi,4)
40564f:	fe 09                	decb   (%ecx)
405651:	75 23                	jne    0x405676
405653:	8b 4d 08             	mov    0x8(%ebp),%ecx
405656:	21 19                	and    %ebx,(%ecx)
405658:	eb 1c                	jmp    0x405676
40565a:	8d 4a e0             	lea    -0x20(%edx),%ecx
40565d:	d3 eb                	shr    %cl,%ebx
40565f:	8d 4c 02 04          	lea    0x4(%edx,%eax,1),%ecx
405663:	f7 d3                	not    %ebx
405665:	21 9c b8 c4 00 00 00 	and    %ebx,0xc4(%eax,%edi,4)
40566c:	fe 09                	decb   (%ecx)
40566e:	75 06                	jne    0x405676
405670:	8b 4d 08             	mov    0x8(%ebp),%ecx
405673:	21 59 04             	and    %ebx,0x4(%ecx)
405676:	8b 5d 0c             	mov    0xc(%ebp),%ebx
405679:	8b 53 08             	mov    0x8(%ebx),%edx
40567c:	8b 5b 04             	mov    0x4(%ebx),%ebx
40567f:	8b 4d fc             	mov    -0x4(%ebp),%ecx
405682:	03 4d f4             	add    -0xc(%ebp),%ecx
405685:	89 5a 04             	mov    %ebx,0x4(%edx)
405688:	8b 55 0c             	mov    0xc(%ebp),%edx
40568b:	8b 5a 04             	mov    0x4(%edx),%ebx
40568e:	8b 52 08             	mov    0x8(%edx),%edx
405691:	89 53 08             	mov    %edx,0x8(%ebx)
405694:	89 4d fc             	mov    %ecx,-0x4(%ebp)
405697:	8b d1                	mov    %ecx,%edx
405699:	c1 fa 04             	sar    $0x4,%edx
40569c:	4a                   	dec    %edx
40569d:	83 fa 3f             	cmp    $0x3f,%edx
4056a0:	76 03                	jbe    0x4056a5
4056a2:	6a 3f                	push   $0x3f
4056a4:	5a                   	pop    %edx
4056a5:	8b 5d f8             	mov    -0x8(%ebp),%ebx
4056a8:	83 e3 01             	and    $0x1,%ebx
4056ab:	89 5d f4             	mov    %ebx,-0xc(%ebp)
4056ae:	0f 85 8f 00 00 00    	jne    0x405743
4056b4:	2b 75 f8             	sub    -0x8(%ebp),%esi
4056b7:	8b 5d f8             	mov    -0x8(%ebp),%ebx
4056ba:	c1 fb 04             	sar    $0x4,%ebx
4056bd:	6a 3f                	push   $0x3f
4056bf:	89 75 0c             	mov    %esi,0xc(%ebp)
4056c2:	4b                   	dec    %ebx
4056c3:	5e                   	pop    %esi
4056c4:	3b de                	cmp    %esi,%ebx
4056c6:	76 02                	jbe    0x4056ca
4056c8:	8b de                	mov    %esi,%ebx
4056ca:	03 4d f8             	add    -0x8(%ebp),%ecx
4056cd:	8b d1                	mov    %ecx,%edx
4056cf:	c1 fa 04             	sar    $0x4,%edx
4056d2:	4a                   	dec    %edx
4056d3:	89 4d fc             	mov    %ecx,-0x4(%ebp)
4056d6:	3b d6                	cmp    %esi,%edx
4056d8:	76 02                	jbe    0x4056dc
4056da:	8b d6                	mov    %esi,%edx
4056dc:	3b da                	cmp    %edx,%ebx
4056de:	74 5e                	je     0x40573e
4056e0:	8b 4d 0c             	mov    0xc(%ebp),%ecx
4056e3:	8b 71 04             	mov    0x4(%ecx),%esi
4056e6:	3b 71 08             	cmp    0x8(%ecx),%esi
4056e9:	75 3b                	jne    0x405726
4056eb:	be 00 00 00 80       	mov    $0x80000000,%esi
4056f0:	83 fb 20             	cmp    $0x20,%ebx
4056f3:	73 17                	jae    0x40570c
4056f5:	8b cb                	mov    %ebx,%ecx
4056f7:	d3 ee                	shr    %cl,%esi
4056f9:	f7 d6                	not    %esi
4056fb:	21 74 b8 44          	and    %esi,0x44(%eax,%edi,4)
4056ff:	fe 4c 03 04          	decb   0x4(%ebx,%eax,1)
405703:	75 21                	jne    0x405726
405705:	8b 4d 08             	mov    0x8(%ebp),%ecx
405708:	21 31                	and    %esi,(%ecx)
40570a:	eb 1a                	jmp    0x405726
40570c:	8d 4b e0             	lea    -0x20(%ebx),%ecx
40570f:	d3 ee                	shr    %cl,%esi
405711:	f7 d6                	not    %esi
405713:	21 b4 b8 c4 00 00 00 	and    %esi,0xc4(%eax,%edi,4)
40571a:	fe 4c 03 04          	decb   0x4(%ebx,%eax,1)
40571e:	75 06                	jne    0x405726
405720:	8b 4d 08             	mov    0x8(%ebp),%ecx
405723:	21 71 04             	and    %esi,0x4(%ecx)
405726:	8b 4d 0c             	mov    0xc(%ebp),%ecx
405729:	8b 71 08             	mov    0x8(%ecx),%esi
40572c:	8b 49 04             	mov    0x4(%ecx),%ecx
40572f:	89 4e 04             	mov    %ecx,0x4(%esi)
405732:	8b 4d 0c             	mov    0xc(%ebp),%ecx
405735:	8b 71 04             	mov    0x4(%ecx),%esi
405738:	8b 49 08             	mov    0x8(%ecx),%ecx
40573b:	89 4e 08             	mov    %ecx,0x8(%esi)
40573e:	8b 75 0c             	mov    0xc(%ebp),%esi
405741:	eb 03                	jmp    0x405746
405743:	8b 5d 08             	mov    0x8(%ebp),%ebx
405746:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)
40574a:	75 08                	jne    0x405754
40574c:	3b da                	cmp    %edx,%ebx
40574e:	0f 84 80 00 00 00    	je     0x4057d4
405754:	8b 4d f0             	mov    -0x10(%ebp),%ecx
405757:	8d 0c d1             	lea    (%ecx,%edx,8),%ecx
40575a:	8b 59 04             	mov    0x4(%ecx),%ebx
40575d:	89 4e 08             	mov    %ecx,0x8(%esi)
405760:	89 5e 04             	mov    %ebx,0x4(%esi)
405763:	89 71 04             	mov    %esi,0x4(%ecx)
405766:	8b 4e 04             	mov    0x4(%esi),%ecx
405769:	89 71 08             	mov    %esi,0x8(%ecx)
40576c:	8b 4e 04             	mov    0x4(%esi),%ecx
40576f:	3b 4e 08             	cmp    0x8(%esi),%ecx
405772:	75 60                	jne    0x4057d4
405774:	8a 4c 02 04          	mov    0x4(%edx,%eax,1),%cl
405778:	88 4d 0f             	mov    %cl,0xf(%ebp)
40577b:	fe c1                	inc    %cl
40577d:	88 4c 02 04          	mov    %cl,0x4(%edx,%eax,1)
405781:	83 fa 20             	cmp    $0x20,%edx
405784:	73 25                	jae    0x4057ab
405786:	80 7d 0f 00          	cmpb   $0x0,0xf(%ebp)
40578a:	75 0e                	jne    0x40579a
40578c:	8b ca                	mov    %edx,%ecx
40578e:	bb 00 00 00 80       	mov    $0x80000000,%ebx
405793:	d3 eb                	shr    %cl,%ebx
405795:	8b 4d 08             	mov    0x8(%ebp),%ecx
405798:	09 19                	or     %ebx,(%ecx)
40579a:	bb 00 00 00 80       	mov    $0x80000000,%ebx
40579f:	8b ca                	mov    %edx,%ecx
4057a1:	d3 eb                	shr    %cl,%ebx
4057a3:	8d 44 b8 44          	lea    0x44(%eax,%edi,4),%eax
4057a7:	09 18                	or     %ebx,(%eax)
4057a9:	eb 29                	jmp    0x4057d4
4057ab:	80 7d 0f 00          	cmpb   $0x0,0xf(%ebp)
4057af:	75 10                	jne    0x4057c1
4057b1:	8d 4a e0             	lea    -0x20(%edx),%ecx
4057b4:	bb 00 00 00 80       	mov    $0x80000000,%ebx
4057b9:	d3 eb                	shr    %cl,%ebx
4057bb:	8b 4d 08             	mov    0x8(%ebp),%ecx
4057be:	09 59 04             	or     %ebx,0x4(%ecx)
4057c1:	8d 4a e0             	lea    -0x20(%edx),%ecx
4057c4:	ba 00 00 00 80       	mov    $0x80000000,%edx
4057c9:	d3 ea                	shr    %cl,%edx
4057cb:	8d 84 b8 c4 00 00 00 	lea    0xc4(%eax,%edi,4),%eax
4057d2:	09 10                	or     %edx,(%eax)
4057d4:	8b 45 fc             	mov    -0x4(%ebp),%eax
4057d7:	89 06                	mov    %eax,(%esi)
4057d9:	89 44 30 fc          	mov    %eax,-0x4(%eax,%esi,1)
4057dd:	8b 45 f0             	mov    -0x10(%ebp),%eax
4057e0:	ff 08                	decl   (%eax)
4057e2:	0f 85 f3 00 00 00    	jne    0x4058db
4057e8:	a1 10 10 43 00       	mov    0x431010,%eax
4057ed:	85 c0                	test   %eax,%eax
4057ef:	0f 84 d8 00 00 00    	je     0x4058cd
4057f5:	8b 0d 8c 2d de 02    	mov    0x2de2d8c,%ecx
4057fb:	8b 35 cc d0 41 00    	mov    0x41d0cc,%esi
405801:	68 00 40 00 00       	push   $0x4000
405806:	c1 e1 0f             	shl    $0xf,%ecx
405809:	03 48 0c             	add    0xc(%eax),%ecx
40580c:	bb 00 80 00 00       	mov    $0x8000,%ebx
405811:	53                   	push   %ebx
405812:	51                   	push   %ecx
405813:	ff d6                	call   *%esi
405815:	8b 0d 8c 2d de 02    	mov    0x2de2d8c,%ecx
40581b:	a1 10 10 43 00       	mov    0x431010,%eax
405820:	ba 00 00 00 80       	mov    $0x80000000,%edx
405825:	d3 ea                	shr    %cl,%edx
405827:	09 50 08             	or     %edx,0x8(%eax)
40582a:	a1 10 10 43 00       	mov    0x431010,%eax
40582f:	8b 40 10             	mov    0x10(%eax),%eax
405832:	8b 0d 8c 2d de 02    	mov    0x2de2d8c,%ecx
405838:	83 a4 88 c4 00 00 00 	andl   $0x0,0xc4(%eax,%ecx,4)
40583f:	00
405840:	a1 10 10 43 00       	mov    0x431010,%eax
405845:	8b 40 10             	mov    0x10(%eax),%eax
405848:	fe 48 43             	decb   0x43(%eax)
40584b:	a1 10 10 43 00       	mov    0x431010,%eax
405850:	8b 48 10             	mov    0x10(%eax),%ecx
405853:	80 79 43 00          	cmpb   $0x0,0x43(%ecx)
405857:	75 09                	jne    0x405862
405859:	83 60 04 fe          	andl   $0xfffffffe,0x4(%eax)
40585d:	a1 10 10 43 00       	mov    0x431010,%eax
405862:	83 78 08 ff          	cmpl   $0xffffffff,0x8(%eax)
405866:	75 65                	jne    0x4058cd
405868:	53                   	push   %ebx
405869:	6a 00                	push   $0x0
40586b:	ff 70 0c             	push   0xc(%eax)
40586e:	ff d6                	call   *%esi
405870:	a1 10 10 43 00       	mov    0x431010,%eax
405875:	ff 70 10             	push   0x10(%eax)
405878:	6a 00                	push   $0x0
40587a:	ff 35 24 0e 43 00    	push   0x430e24
405880:	ff 15 d0 d0 41 00    	call   *0x41d0d0
405886:	8b 0d 78 2d de 02    	mov    0x2de2d78,%ecx
40588c:	a1 10 10 43 00       	mov    0x431010,%eax
405891:	6b c9 14             	imul   $0x14,%ecx,%ecx
405894:	8b 15 7c 2d de 02    	mov    0x2de2d7c,%edx
40589a:	2b c8                	sub    %eax,%ecx
40589c:	8d 4c 11 ec          	lea    -0x14(%ecx,%edx,1),%ecx
4058a0:	51                   	push   %ecx
4058a1:	8d 48 14             	lea    0x14(%eax),%ecx
4058a4:	51                   	push   %ecx
4058a5:	50                   	push   %eax
4058a6:	e8 85 26 00 00       	call   0x407f30
4058ab:	8b 45 08             	mov    0x8(%ebp),%eax
4058ae:	83 c4 0c             	add    $0xc,%esp
4058b1:	ff 0d 78 2d de 02    	decl   0x2de2d78
4058b7:	3b 05 10 10 43 00    	cmp    0x431010,%eax
4058bd:	76 04                	jbe    0x4058c3
4058bf:	83 6d 08 14          	subl   $0x14,0x8(%ebp)
4058c3:	a1 7c 2d de 02       	mov    0x2de2d7c,%eax
4058c8:	a3 84 2d de 02       	mov    %eax,0x2de2d84
4058cd:	8b 45 08             	mov    0x8(%ebp),%eax
4058d0:	a3 10 10 43 00       	mov    %eax,0x431010
4058d5:	89 3d 8c 2d de 02    	mov    %edi,0x2de2d8c
4058db:	5b                   	pop    %ebx
4058dc:	5f                   	pop    %edi
4058dd:	5e                   	pop    %esi
4058de:	c9                   	leave
4058df:	c3                   	ret
4058e0:	a1 88 2d de 02       	mov    0x2de2d88,%eax