40d420:	3b d9                	cmp    %ecx,%ebx
40d422:	75 15                	jne    0x40d439
40d424:	e8 a6 fa ff ff       	call   0x40cecf
40d429:	8b d8                	mov    %eax,%ebx
40d42b:	85 db                	test   %ebx,%ebx
40d42d:	89 5d 08             	mov    %ebx,0x8(%ebp)
40d430:	75 07                	jne    0x40d439
40d432:	33 c0                	xor    %eax,%eax
40d434:	e9 09 02 00 00       	jmp    0x40d642
40d439:	53                   	push   %ebx
40d43a:	e8 40 fb ff ff       	call   0x40cf7f
40d43f:	59                   	pop    %ecx
40d440:	8b 4b 10             	mov    0x10(%ebx),%ecx
40d443:	89 01                	mov    %eax,(%ecx)
40d445:	8b 43 10             	mov    0x10(%ebx),%eax
40d448:	83 38 ff             	cmpl   $0xffffffff,(%eax)
40d44b:	74 e5                	je     0x40d432
40d44d:	89 1d e4 e5 41 00    	mov    %ebx,0x41e5e4
40d453:	8b 43 10             	mov    0x10(%ebx),%eax
40d456:	8b 10                	mov    (%eax),%edx
40d458:	83 fa ff             	cmp    $0xffffffff,%edx
40d45b:	89 55 fc             	mov    %edx,-0x4(%ebp)
40d45e:	74 14                	je     0x40d474
40d460:	8b 8c 90 c4 00 00 00 	mov    0xc4(%eax,%edx,4),%ecx
40d467:	8b 7c 90 44          	mov    0x44(%eax,%edx,4),%edi
40d46b:	23 4d f8             	and    -0x8(%ebp),%ecx
40d46e:	23 fe                	and    %esi,%edi
40d470:	0b cf                	or     %edi,%ecx
40d472:	75 29                	jne    0x40d49d
40d474:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40d478:	8b 90 c4 00 00 00    	mov    0xc4(%eax),%edx
40d47e:	8d 48 44             	lea    0x44(%eax),%ecx
40d481:	8b 39                	mov    (%ecx),%edi
40d483:	23 55 f8             	and    -0x8(%ebp),%edx
40d486:	23 fe                	and    %esi,%edi
40d488:	0b d7                	or     %edi,%edx
40d48a:	75 0e                	jne    0x40d49a
40d48c:	ff 45 fc             	incl   -0x4(%ebp)
40d48f:	8b 91 84 00 00 00    	mov    0x84(%ecx),%edx
40d495:	83 c1 04             	add    $0x4,%ecx
40d498:	eb e7                	jmp    0x40d481
40d49a:	8b 55 fc             	mov    -0x4(%ebp),%edx
40d49d:	8b ca                	mov    %edx,%ecx
40d49f:	69 c9 04 02 00 00    	imul   $0x204,%ecx,%ecx
40d4a5:	8d 8c 01 44 01 00 00 	lea    0x144(%ecx,%eax,1),%ecx
40d4ac:	89 4d f4             	mov    %ecx,-0xc(%ebp)
40d4af:	8b 4c 90 44          	mov    0x44(%eax,%edx,4),%ecx
40d4b3:	33 ff                	xor    %edi,%edi
40d4b5:	23 ce                	and    %esi,%ecx
40d4b7:	75 12                	jne    0x40d4cb
40d4b9:	8b 8c 90 c4 00 00 00 	mov    0xc4(%eax,%edx,4),%ecx
40d4c0:	23 4d f8             	and    -0x8(%ebp),%ecx
40d4c3:	6a 20                	push   $0x20
40d4c5:	5f                   	pop    %edi
40d4c6:	eb 03                	jmp    0x40d4cb
40d4c8:	03 c9                	add    %ecx,%ecx
40d4ca:	47                   	inc    %edi
40d4cb:	85 c9                	test   %ecx,%ecx
40d4cd:	7d f9                	jge    0x40d4c8
40d4cf:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40d4d2:	8b 54 f9 04          	mov    0x4(%ecx,%edi,8),%edx
40d4d6:	8b 0a                	mov    (%edx),%ecx
40d4d8:	2b 4d f0             	sub    -0x10(%ebp),%ecx
40d4db:	8b f1                	mov    %ecx,%esi
40d4dd:	c1 fe 04             	sar    $0x4,%esi
40d4e0:	4e                   	dec    %esi
40d4e1:	83 fe 3f             	cmp    $0x3f,%esi
40d4e4:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40d4e7:	7e 03                	jle    0x40d4ec
40d4e9:	6a 3f                	push   $0x3f
40d4eb:	5e                   	pop    %esi
40d4ec:	3b f7                	cmp    %edi,%esi
40d4ee:	0f 84 01 01 00 00    	je     0x40d5f5
40d4f4:	8b 4a 04             	mov    0x4(%edx),%ecx
40d4f7:	3b 4a 08             	cmp    0x8(%edx),%ecx
40d4fa:	75 5c                	jne    0x40d558
40d4fc:	83 ff 20             	cmp    $0x20,%edi
40d4ff:	bb 00 00 00 80       	mov    $0x80000000,%ebx
40d504:	7d 26                	jge    0x40d52c
40d506:	8b cf                	mov    %edi,%ecx
40d508:	d3 eb                	shr    %cl,%ebx
40d50a:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40d50d:	8d 7c 38 04          	lea    0x4(%eax,%edi,1),%edi
40d511:	f7 d3                	not    %ebx
40d513:	89 5d ec             	mov    %ebx,-0x14(%ebp)
40d516:	23 5c 88 44          	and    0x44(%eax,%ecx,4),%ebx
40d51a:	89 5c 88 44          	mov    %ebx,0x44(%eax,%ecx,4)
40d51e:	fe 0f                	decb   (%edi)
40d520:	75 33                	jne    0x40d555
40d522:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40d525:	8b 5d 08             	mov    0x8(%ebp),%ebx
40d528:	21 0b                	and    %ecx,(%ebx)
40d52a:	eb 2c                	jmp    0x40d558
40d52c:	8d 4f e0             	lea    -0x20(%edi),%ecx
40d52f:	d3 eb                	shr    %cl,%ebx
40d531:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40d534:	8d 8c 88 c4 00 00 00 	lea    0xc4(%eax,%ecx,4),%ecx
40d53b:	8d 7c 38 04          	lea    0x4(%eax,%edi,1),%edi
40d53f:	f7 d3                	not    %ebx
40d541:	21 19                	and    %ebx,(%ecx)
40d543:	fe 0f                	decb   (%edi)
40d545:	89 5d ec             	mov    %ebx,-0x14(%ebp)
40d548:	75 0b                	jne    0x40d555
40d54a:	8b 5d 08             	mov    0x8(%ebp),%ebx
40d54d:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40d550:	21 4b 04             	and    %ecx,0x4(%ebx)
40d553:	eb 03                	jmp    0x40d558
40d555:	8b 5d 08             	mov    0x8(%ebp),%ebx
40d558:	83 7d f8 00          	cmpl   $0x0,-0x8(%ebp)
40d55c:	8b 4a 08             	mov    0x8(%edx),%ecx
40d55f:	8b 7a 04             	mov    0x4(%edx),%edi
40d562:	89 79 04             	mov    %edi,0x4(%ecx)
40d565:	8b 4a 04             	mov    0x4(%edx),%ecx
40d568:	8b 7a 08             	mov    0x8(%edx),%edi
40d56b:	89 79 08             	mov    %edi,0x8(%ecx)
40d56e:	0f 84 8d 00 00 00    	je     0x40d601
40d574:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40d577:	8d 0c f1             	lea    (%ecx,%esi,8),%ecx
40d57a:	8b 79 04             	mov    0x4(%ecx),%edi
40d57d:	89 4a 08             	mov    %ecx,0x8(%edx)
40d580:	89 7a 04             	mov    %edi,0x4(%edx)
40d583:	89 51 04             	mov    %edx,0x4(%ecx)
40d586:	8b 4a 04             	mov    0x4(%edx),%ecx
40d589:	89 51 08             	mov    %edx,0x8(%ecx)
40d58c:	8b 4a 04             	mov    0x4(%edx),%ecx
40d58f:	3b 4a 08             	cmp    0x8(%edx),%ecx
40d592:	75 5e                	jne    0x40d5f2
40d594:	8a 4c 06 04          	mov    0x4(%esi,%eax,1),%cl
40d598:	88 4d 0b             	mov    %cl,0xb(%ebp)
40d59b:	fe c1                	inc    %cl
40d59d:	83 fe 20             	cmp    $0x20,%esi
40d5a0:	88 4c 06 04          	mov    %cl,0x4(%esi,%eax,1)
40d5a4:	7d 23                	jge    0x40d5c9
40d5a6:	80 7d 0b 00          	cmpb   $0x0,0xb(%ebp)
40d5aa:	75 0b                	jne    0x40d5b7
40d5ac:	bf 00 00 00 80       	mov    $0x80000000,%edi
40d5b1:	8b ce                	mov    %esi,%ecx
40d5b3:	d3 ef                	shr    %cl,%edi
40d5b5:	09 3b                	or     %edi,(%ebx)
40d5b7:	8b ce                	mov    %esi,%ecx
40d5b9:	bf 00 00 00 80       	mov    $0x80000000,%edi
40d5be:	d3 ef                	shr    %cl,%edi
40d5c0:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40d5c3:	09 7c 88 44          	or     %edi,0x44(%eax,%ecx,4)
40d5c7:	eb 29                	jmp    0x40d5f2
40d5c9:	80 7d 0b 00          	cmpb   $0x0,0xb(%ebp)
40d5cd:	75 0d                	jne    0x40d5dc
40d5cf:	8d 4e e0             	lea    -0x20(%esi),%ecx
40d5d2:	bf 00 00 00 80       	mov    $0x80000000,%edi
40d5d7:	d3 ef                	shr    %cl,%edi
40d5d9:	09 7b 04             	or     %edi,0x4(%ebx)
40d5dc:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40d5df:	8d bc 88 c4 00 00 00 	lea    0xc4(%eax,%ecx,4),%edi
40d5e6:	8d 4e e0             	lea    -0x20(%esi),%ecx
40d5e9:	be 00 00 00 80       	mov    $0x80000000,%esi
40d5ee:	d3 ee                	shr    %cl,%esi
40d5f0:	09 37                	or     %esi,(%edi)
40d5f2:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40d5f5:	85 c9                	test   %ecx,%ecx
40d5f7:	74 0b                	je     0x40d604
40d5f9:	89 0a                	mov    %ecx,(%edx)
40d5fb:	89 4c 11 fc          	mov    %ecx,-0x4(%ecx,%edx,1)
40d5ff:	eb 03                	jmp    0x40d604
40d601:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40d604:	8b 75 f0             	mov    -0x10(%ebp),%esi
40d607:	03 d1                	add    %ecx,%edx
40d609:	8d 4e 01             	lea    0x1(%esi),%ecx
40d60c:	89 0a                	mov    %ecx,(%edx)
40d60e:	89 4c 32 fc          	mov    %ecx,-0x4(%edx,%esi,1)
40d612:	8b 75 f4             	mov    -0xc(%ebp),%esi
40d615:	8b 0e                	mov    (%esi),%ecx
40d617:	85 c9                	test   %ecx,%ecx
40d619:	8d 79 01             	lea    0x1(%ecx),%edi
40d61c:	89 3e                	mov    %edi,(%esi)
40d61e:	75 1a                	jne    0x40d63a
40d620:	3b 1d b0 de 41 00    	cmp    0x41deb0,%ebx
40d626:	75 12                	jne    0x40d63a
40d628:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40d62b:	3b 0d ec e5 41 00    	cmp    0x41e5ec,%ecx
40d631:	75 07                	jne    0x40d63a
40d633:	83 25 b0 de 41 00 00 	andl   $0x0,0x41deb0
40d63a:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40d63d:	89 08                	mov    %ecx,(%eax)
40d63f:	8d 42 04             	lea    0x4(%edx),%eax
40d642:	5f                   	pop    %edi
40d643:	5e                   	pop    %esi
40d644:	5b                   	pop    %ebx
40d645:	c9                   	leave
40d646:	c3                   	ret
40d647:	cc                   	int3
40d648:	68 b0 d6 40 00       	push   $0x40d6b0
40d64d:	64 ff 35 00 00 00 00 	push   %fs:0x0
40d654:	8b 44 24 10          	mov    0x10(%esp),%eax
40d658:	89 6c 24 10          	mov    %ebp,0x10(%esp)
40d65c:	8d 6c 24 10          	lea    0x10(%esp),%ebp
40d660:	2b e0                	sub    %eax,%esp
40d662:	53                   	push   %ebx
40d663:	56                   	push   %esi
40d664:	57                   	push   %edi
40d665:	a1 20 c5 41 00       	mov    0x41c520,%eax
40d66a:	31 45 fc             	xor    %eax,-0x4(%ebp)
40d66d:	33 c5                	xor    %ebp,%eax
40d66f:	50                   	push   %eax
40d670:	89 65 e8             	mov    %esp,-0x18(%ebp)
40d673:	ff 75 f8             	push   -0x8(%ebp)
40d676:	8b 45 fc             	mov    -0x4(%ebp),%eax
40d679:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40d680:	89 45 f8             	mov    %eax,-0x8(%ebp)
40d683:	8d 45 f0             	lea    -0x10(%ebp),%eax
40d686:	64 a3 00 00 00 00    	mov    %eax,%fs:0x0
40d68c:	c3                   	ret
40d68d:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40d690:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40d697:	59                   	pop    %ecx
40d698:	5f                   	pop    %edi
40d699:	5f                   	pop    %edi
40d69a:	5e                   	pop    %esi
40d69b:	5b                   	pop    %ebx
40d69c:	8b e5                	mov    %ebp,%esp
40d69e:	5d                   	pop    %ebp
40d69f:	51                   	push   %ecx
40d6a0:	c3                   	ret
40d6a1:	cc                   	int3
40d6a2:	cc                   	int3
40d6a3:	cc                   	int3
40d6a4:	cc                   	int3
40d6a5:	cc                   	int3
40d6a6:	cc                   	int3
40d6a7:	cc                   	int3
40d6a8:	cc                   	int3
40d6a9:	cc                   	int3
40d6aa:	cc                   	int3
40d6ab:	cc                   	int3
40d6ac:	cc                   	int3
40d6ad:	cc                   	int3
40d6ae:	cc                   	int3
40d6af:	cc                   	int3
40d6b0:	83 ec 14             	sub    $0x14,%esp
40d6b3:	53                   	push   %ebx
40d6b4:	8b 5c 24 20          	mov    0x20(%esp),%ebx
40d6b8:	55                   	push   %ebp
40d6b9:	56                   	push   %esi
40d6ba:	8b 73 08             	mov    0x8(%ebx),%esi
40d6bd:	33 35 20 c5 41 00    	xor    0x41c520,%esi
40d6c3:	57                   	push   %edi
40d6c4:	8b 06                	mov    (%esi),%eax
40d6c6:	83 f8 fe             	cmp    $0xfffffffe,%eax
40d6c9:	c6 44 24 13 00       	movb   $0x0,0x13(%esp)
40d6ce:	c7 44 24 18 01 00 00 	movl   $0x1,0x18(%esp)
40d6d5:	00
40d6d6:	8d 7b 10             	lea    0x10(%ebx),%edi
40d6d9:	74 0d                	je     0x40d6e8
40d6db:	8b 4e 04             	mov    0x4(%esi),%ecx
40d6de:	03 cf                	add    %edi,%ecx
40d6e0:	33 0c 38             	xor    (%eax,%edi,1),%ecx
40d6e3:	e8 4d 88 ff ff       	call   0x405f35
40d6e8:	8b 4e 0c             	mov    0xc(%esi),%ecx
40d6eb:	8b 46 08             	mov    0x8(%esi),%eax
40d6ee:	03 cf                	add    %edi,%ecx
40d6f0:	33 0c 38             	xor    (%eax,%edi,1),%ecx
40d6f3:	e8 3d 88 ff ff       	call   0x405f35
40d6f8:	8b 44 24 28          	mov    0x28(%esp),%eax
40d6fc:	f6 40 04 66          	testb  $0x66,0x4(%eax)
40d700:	0f 85 1f 01 00 00    	jne    0x40d825
40d706:	8b 6b 0c             	mov    0xc(%ebx),%ebp
40d709:	83 fd fe             	cmp    $0xfffffffe,%ebp
40d70c:	8b 4c 24 30          	mov    0x30(%esp),%ecx
40d710:	8d 54 24 1c          	lea    0x1c(%esp),%edx
40d714:	89 44 24 1c          	mov    %eax,0x1c(%esp)
40d718:	89 4c 24 20          	mov    %ecx,0x20(%esp)
40d71c:	89 53 fc             	mov    %edx,-0x4(%ebx)
40d71f:	74 5e                	je     0x40d77f
40d721:	8d 44 6d 00          	lea    0x0(%ebp,%ebp,2),%eax
40d725:	8b 4c 86 14          	mov    0x14(%esi,%eax,4),%ecx
40d729:	85 c9                	test   %ecx,%ecx
40d72b:	8d 5c 86 10          	lea    0x10(%esi,%eax,4),%ebx
40d72f:	8b 03                	mov    (%ebx),%eax
40d731:	89 44 24 14          	mov    %eax,0x14(%esp)
40d735:	74 16                	je     0x40d74d
40d737:	8b d7                	mov    %edi,%edx
40d739:	e8 f0 6a 00 00       	call   0x41422e
40d73e:	85 c0                	test   %eax,%eax
40d740:	c6 44 24 13 01       	movb   $0x1,0x13(%esp)
40d745:	7c 44                	jl     0x40d78b
40d747:	7f 4c                	jg     0x40d795
40d749:	8b 44 24 14          	mov    0x14(%esp),%eax
40d74d:	83 f8 fe             	cmp    $0xfffffffe,%eax
40d750:	8b e8                	mov    %eax,%ebp
40d752:	75 cd                	jne    0x40d721
40d754:	80 7c 24 13 00       	cmpb   $0x0,0x13(%esp)
40d759:	74 24                	je     0x40d77f
40d75b:	8b 06                	mov    (%esi),%eax
40d75d:	83 f8 fe             	cmp    $0xfffffffe,%eax
40d760:	74 0d                	je     0x40d76f
40d762:	8b 4e 04             	mov    0x4(%esi),%ecx
40d765:	03 cf                	add    %edi,%ecx
40d767:	33 0c 38             	xor    (%eax,%edi,1),%ecx
40d76a:	e8 c6 87 ff ff       	call   0x405f35
40d76f:	8b 4e 0c             	mov    0xc(%esi),%ecx
40d772:	8b 46 08             	mov    0x8(%esi),%eax
40d775:	03 cf                	add    %edi,%ecx
40d777:	33 0c 38             	xor    (%eax,%edi,1),%ecx
40d77a:	e8 b6 87 ff ff       	call   0x405f35
40d77f:	8b 44 24 18          	mov    0x18(%esp),%eax
40d783:	5f                   	pop    %edi
40d784:	5e                   	pop    %esi
40d785:	5d                   	pop    %ebp
40d786:	5b                   	pop    %ebx
40d787:	83 c4 14             	add    $0x14,%esp
40d78a:	c3                   	ret
40d78b:	c7 44 24 18 00 00 00 	movl   $0x0,0x18(%esp)
40d792:	00
40d793:	eb c6                	jmp    0x40d75b
40d795:	8b 4c 24 28          	mov    0x28(%esp),%ecx
40d799:	81 39 63 73 6d e0    	cmpl   $0xe06d7363,(%ecx)
40d79f:	75 2a                	jne    0x40d7cb
40d7a1:	83 3d 68 76 41 00 00 	cmpl   $0x0,0x417668
40d7a8:	74 21                	je     0x40d7cb
40d7aa:	68 68 76 41 00       	push   $0x417668
40d7af:	e8 4e 6b 00 00       	call   0x414302
40d7b4:	83 c4 04             	add    $0x4,%esp
40d7b7:	85 c0                	test   %eax,%eax
40d7b9:	74 10                	je     0x40d7cb
40d7bb:	8b 54 24 28          	mov    0x28(%esp),%edx
40d7bf:	6a 01                	push   $0x1
40d7c1:	52                   	push   %edx
40d7c2:	ff 15 68 76 41 00    	call   *0x417668
40d7c8:	83 c4 08             	add    $0x8,%esp
40d7cb:	8b 4c 24 2c          	mov    0x2c(%esp),%ecx
40d7cf:	e8 8a 6a 00 00       	call   0x41425e
40d7d4:	8b 44 24 2c          	mov    0x2c(%esp),%eax
40d7d8:	39 68 0c             	cmp    %ebp,0xc(%eax)
40d7db:	74 13                	je     0x40d7f0
40d7dd:	68 20 c5 41 00       	push   $0x41c520
40d7e2:	57                   	push   %edi
40d7e3:	8b d5                	mov    %ebp,%edx
40d7e5:	8b c8                	mov    %eax,%ecx
40d7e7:	e8 8c 6a 00 00       	call   0x414278
40d7ec:	8b 44 24 2c          	mov    0x2c(%esp),%eax
40d7f0:	8b 4c 24 14          	mov    0x14(%esp),%ecx
40d7f4:	89 48 0c             	mov    %ecx,0xc(%eax)
40d7f7:	8b 06                	mov    (%esi),%eax
40d7f9:	83 f8 fe             	cmp    $0xfffffffe,%eax
40d7fc:	74 0d                	je     0x40d80b
40d7fe:	8b 4e 04             	mov    0x4(%esi),%ecx
40d801:	03 cf                	add    %edi,%ecx
40d803:	33 0c 38             	xor    (%eax,%edi,1),%ecx
40d806:	e8 2a 87 ff ff       	call   0x405f35
40d80b:	8b 4e 0c             	mov    0xc(%esi),%ecx
40d80e:	8b 56 08             	mov    0x8(%esi),%edx