4795e9:	8b cf                	mov    %edi,%ecx
4795eb:	e8 0c fe ff ff       	call   0x4793fc
4795f0:	ff 75 18             	push   0x18(%ebp)
4795f3:	8b 0d 14 40 4c 00    	mov    0x4c4014,%ecx
4795f9:	ff 75 14             	push   0x14(%ebp)
4795fc:	8b 34 85 fc 83 4c 00 	mov    0x4c83fc(,%eax,4),%esi
479603:	83 e1 1f             	and    $0x1f,%ecx
479606:	ff 75 10             	push   0x10(%ebp)
479609:	33 35 14 40 4c 00    	xor    0x4c4014,%esi
47960f:	ff 75 0c             	push   0xc(%ebp)
479612:	d3 ce                	ror    %cl,%esi
479614:	ff 75 08             	push   0x8(%ebp)
479617:	85 f6                	test   %esi,%esi
479619:	75 bd                	jne    0x4795d8
47961b:	e8 2e 00 00 00       	call   0x47964e
479620:	cc                   	int3
479621:	33 c0                	xor    %eax,%eax
479623:	50                   	push   %eax
479624:	50                   	push   %eax
479625:	50                   	push   %eax
479626:	50                   	push   %eax
479627:	50                   	push   %eax
479628:	e8 40 ff ff ff       	call   0x47956d
47962d:	83 c4 14             	add    $0x14,%esp
479630:	c3                   	ret
479631:	8b ff                	mov    %edi,%edi
479633:	56                   	push   %esi
479634:	33 f6                	xor    %esi,%esi
479636:	56                   	push   %esi
479637:	56                   	push   %esi
479638:	56                   	push   %esi
479639:	56                   	push   %esi
47963a:	56                   	push   %esi
47963b:	e8 2d ff ff ff       	call   0x47956d
479640:	83 c4 14             	add    $0x14,%esp
479643:	56                   	push   %esi
479644:	56                   	push   %esi
479645:	56                   	push   %esi
479646:	56                   	push   %esi
479647:	56                   	push   %esi
479648:	e8 01 00 00 00       	call   0x47964e
47964d:	cc                   	int3
47964e:	6a 17                	push   $0x17
479650:	ff 15 1c e2 49 00    	call   *0x49e21c
479656:	85 c0                	test   %eax,%eax
479658:	74 05                	je     0x47965f
47965a:	6a 05                	push   $0x5
47965c:	59                   	pop    %ecx
47965d:	cd 29                	int    $0x29
47965f:	56                   	push   %esi
479660:	6a 01                	push   $0x1
479662:	be 17 04 00 c0       	mov    $0xc0000417,%esi
479667:	56                   	push   %esi
479668:	6a 02                	push   $0x2
47966a:	e8 b6 fd ff ff       	call   0x479425
47966f:	83 c4 0c             	add    $0xc,%esp
479672:	56                   	push   %esi
479673:	ff 15 88 e0 49 00    	call   *0x49e088
479679:	50                   	push   %eax
47967a:	ff 15 50 e1 49 00    	call   *0x49e150
479680:	5e                   	pop    %esi
479681:	c3                   	ret
479682:	8b ff                	mov    %edi,%edi
479684:	55                   	push   %ebp
479685:	8b ec                	mov    %esp,%ebp
479687:	51                   	push   %ecx
479688:	ff 75 08             	push   0x8(%ebp)
47968b:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%ebp)
479692:	8b 45 fc             	mov    -0x4(%ebp),%eax
479695:	e8 5e c1 00 00       	call   0x4857f8
47969a:	59                   	pop    %ecx
47969b:	c9                   	leave
47969c:	c3                   	ret
47969d:	8b ff                	mov    %edi,%edi
47969f:	55                   	push   %ebp
4796a0:	8b ec                	mov    %esp,%ebp
4796a2:	8b 55 08             	mov    0x8(%ebp),%edx
4796a5:	56                   	push   %esi
4796a6:	57                   	push   %edi
4796a7:	85 d2                	test   %edx,%edx
4796a9:	74 13                	je     0x4796be
4796ab:	8b 4d 0c             	mov    0xc(%ebp),%ecx
4796ae:	85 c9                	test   %ecx,%ecx
4796b0:	74 0c                	je     0x4796be
4796b2:	8b 75 10             	mov    0x10(%ebp),%esi
4796b5:	85 f6                	test   %esi,%esi
4796b7:	75 1a                	jne    0x4796d3
4796b9:	33 c0                	xor    %eax,%eax
4796bb:	66 89 02             	mov    %ax,(%edx)
4796be:	e8 72 08 00 00       	call   0x479f35
4796c3:	6a 16                	push   $0x16
4796c5:	5e                   	pop    %esi
4796c6:	89 30                	mov    %esi,(%eax)
4796c8:	e8 54 ff ff ff       	call   0x479621
4796cd:	5f                   	pop    %edi
4796ce:	8b c6                	mov    %esi,%eax
4796d0:	5e                   	pop    %esi
4796d1:	5d                   	pop    %ebp
4796d2:	c3                   	ret
4796d3:	8b fa                	mov    %edx,%edi
4796d5:	2b f2                	sub    %edx,%esi
4796d7:	0f b7 04 3e          	movzwl (%esi,%edi,1),%eax
4796db:	66 89 07             	mov    %ax,(%edi)
4796de:	8d 7f 02             	lea    0x2(%edi),%edi
4796e1:	66 85 c0             	test   %ax,%ax
4796e4:	74 17                	je     0x4796fd
4796e6:	83 e9 01             	sub    $0x1,%ecx
4796e9:	75 ec                	jne    0x4796d7
4796eb:	85 c9                	test   %ecx,%ecx
4796ed:	75 0e                	jne    0x4796fd
4796ef:	33 c0                	xor    %eax,%eax
4796f1:	66 89 02             	mov    %ax,(%edx)
4796f4:	e8 3c 08 00 00       	call   0x479f35
4796f9:	6a 22                	push   $0x22
4796fb:	eb c8                	jmp    0x4796c5
4796fd:	33 f6                	xor    %esi,%esi
4796ff:	eb cc                	jmp    0x4796cd
479701:	8b ff                	mov    %edi,%edi
479703:	55                   	push   %ebp
479704:	8b ec                	mov    %esp,%ebp
479706:	5d                   	pop    %ebp
479707:	e9 26 c1 00 00       	jmp    0x485832
47970c:	6a 08                	push   $0x8
47970e:	68 88 16 4c 00       	push   $0x4c1688
479713:	e8 28 10 ff ff       	call   0x46a740
479718:	8b 45 08             	mov    0x8(%ebp),%eax
47971b:	ff 30                	push   (%eax)
47971d:	e8 ca 06 00 00       	call   0x479dec
479722:	59                   	pop    %ecx
479723:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
479727:	8b 75 0c             	mov    0xc(%ebp),%esi
47972a:	ff 76 04             	push   0x4(%esi)
47972d:	8b 06                	mov    (%esi),%eax
47972f:	ff 30                	push   (%eax)
479731:	e8 5b 01 00 00       	call   0x479891
479736:	59                   	pop    %ecx
479737:	59                   	pop    %ecx
479738:	84 c0                	test   %al,%al
47973a:	74 32                	je     0x47976e
47973c:	8b 46 08             	mov    0x8(%esi),%eax
47973f:	80 38 00             	cmpb   $0x0,(%eax)
479742:	75 0e                	jne    0x479752
479744:	8b 06                	mov    (%esi),%eax
479746:	8b 00                	mov    (%eax),%eax
479748:	8b 40 0c             	mov    0xc(%eax),%eax
47974b:	90                   	nop
47974c:	d1 e8                	shr    $1,%eax
47974e:	a8 01                	test   $0x1,%al
479750:	74 1c                	je     0x47976e
479752:	8b 06                	mov    (%esi),%eax
479754:	ff 30                	push   (%eax)
479756:	e8 f3 01 00 00       	call   0x47994e
47975b:	59                   	pop    %ecx
47975c:	83 f8 ff             	cmp    $0xffffffff,%eax
47975f:	74 07                	je     0x479768
479761:	8b 46 04             	mov    0x4(%esi),%eax
479764:	ff 00                	incl   (%eax)
479766:	eb 06                	jmp    0x47976e
479768:	8b 46 0c             	mov    0xc(%esi),%eax
47976b:	83 08 ff             	orl    $0xffffffff,(%eax)
47976e:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
479775:	e8 12 00 00 00       	call   0x47978c
47977a:	8b 4d f0             	mov    -0x10(%ebp),%ecx
47977d:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
479784:	59                   	pop    %ecx
479785:	5f                   	pop    %edi
479786:	5e                   	pop    %esi
479787:	5b                   	pop    %ebx
479788:	c9                   	leave
479789:	c2 0c 00             	ret    $0xc
47978c:	8b 45 10             	mov    0x10(%ebp),%eax
47978f:	ff 30                	push   (%eax)
479791:	e8 6a 06 00 00       	call   0x479e00
479796:	59                   	pop    %ecx
479797:	c3                   	ret
479798:	6a 2c                	push   $0x2c
47979a:	68 a8 16 4c 00       	push   $0x4c16a8
47979f:	e8 9c 0f ff ff       	call   0x46a740
4797a4:	8b 45 08             	mov    0x8(%ebp),%eax
4797a7:	ff 30                	push   (%eax)
4797a9:	e8 b3 86 00 00       	call   0x481e61
4797ae:	59                   	pop    %ecx
4797af:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
4797b3:	8b 35 04 84 4c 00    	mov    0x4c8404,%esi
4797b9:	a1 00 84 4c 00       	mov    0x4c8400,%eax
4797be:	8d 1c 86             	lea    (%esi,%eax,4),%ebx
4797c1:	8b 7d 0c             	mov    0xc(%ebp),%edi
4797c4:	89 75 d4             	mov    %esi,-0x2c(%ebp)
4797c7:	3b f3                	cmp    %ebx,%esi
4797c9:	74 4f                	je     0x47981a
4797cb:	8b 06                	mov    (%esi),%eax
4797cd:	89 45 e0             	mov    %eax,-0x20(%ebp)
4797d0:	ff 37                	push   (%edi)
4797d2:	50                   	push   %eax
4797d3:	e8 b9 00 00 00       	call   0x479891
4797d8:	59                   	pop    %ecx
4797d9:	59                   	pop    %ecx
4797da:	84 c0                	test   %al,%al
4797dc:	74 37                	je     0x479815
4797de:	8b 57 08             	mov    0x8(%edi),%edx
4797e1:	8b 4f 04             	mov    0x4(%edi),%ecx
4797e4:	8b 07                	mov    (%edi),%eax
4797e6:	8d 7d e0             	lea    -0x20(%ebp),%edi
4797e9:	89 7d c4             	mov    %edi,-0x3c(%ebp)
4797ec:	89 45 c8             	mov    %eax,-0x38(%ebp)
4797ef:	89 4d cc             	mov    %ecx,-0x34(%ebp)
4797f2:	89 55 d0             	mov    %edx,-0x30(%ebp)
4797f5:	8b 45 e0             	mov    -0x20(%ebp),%eax
4797f8:	89 45 dc             	mov    %eax,-0x24(%ebp)
4797fb:	89 45 d8             	mov    %eax,-0x28(%ebp)
4797fe:	8d 45 dc             	lea    -0x24(%ebp),%eax
479801:	50                   	push   %eax
479802:	8d 45 c4             	lea    -0x3c(%ebp),%eax
479805:	50                   	push   %eax
479806:	8d 45 d8             	lea    -0x28(%ebp),%eax
479809:	50                   	push   %eax
47980a:	8d 4d e7             	lea    -0x19(%ebp),%ecx
47980d:	e8 fa fe ff ff       	call   0x47970c
479812:	8b 7d 0c             	mov    0xc(%ebp),%edi
479815:	83 c6 04             	add    $0x4,%esi
479818:	eb aa                	jmp    0x4797c4
47981a:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
479821:	e8 12 00 00 00       	call   0x479838
479826:	8b 4d f0             	mov    -0x10(%ebp),%ecx
479829:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
479830:	59                   	pop    %ecx
479831:	5f                   	pop    %edi
479832:	5e                   	pop    %esi
479833:	5b                   	pop    %ebx
479834:	c9                   	leave
479835:	c2 0c 00             	ret    $0xc
479838:	8b 45 10             	mov    0x10(%ebp),%eax
47983b:	ff 30                	push   (%eax)
47983d:	e8 6f 86 00 00       	call   0x481eb1
479842:	59                   	pop    %ecx
479843:	c3                   	ret
479844:	8b ff                	mov    %edi,%edi
479846:	55                   	push   %ebp
479847:	8b ec                	mov    %esp,%ebp
479849:	83 ec 20             	sub    $0x20,%esp
47984c:	83 65 f8 00          	andl   $0x0,-0x8(%ebp)
479850:	8d 45 f8             	lea    -0x8(%ebp),%eax
479853:	83 65 f4 00          	andl   $0x0,-0xc(%ebp)
479857:	8d 4d ff             	lea    -0x1(%ebp),%ecx
47985a:	89 45 e0             	mov    %eax,-0x20(%ebp)
47985d:	8d 45 08             	lea    0x8(%ebp),%eax
479860:	89 45 e4             	mov    %eax,-0x1c(%ebp)
479863:	8d 45 f4             	lea    -0xc(%ebp),%eax
479866:	6a 08                	push   $0x8
479868:	89 45 e8             	mov    %eax,-0x18(%ebp)
47986b:	58                   	pop    %eax
47986c:	89 45 f0             	mov    %eax,-0x10(%ebp)
47986f:	89 45 ec             	mov    %eax,-0x14(%ebp)
479872:	8d 45 f0             	lea    -0x10(%ebp),%eax
479875:	50                   	push   %eax
479876:	8d 45 e0             	lea    -0x20(%ebp),%eax
479879:	50                   	push   %eax
47987a:	8d 45 ec             	lea    -0x14(%ebp),%eax
47987d:	50                   	push   %eax
47987e:	e8 15 ff ff ff       	call   0x479798
479883:	80 7d 08 00          	cmpb   $0x0,0x8(%ebp)
479887:	8b 45 f8             	mov    -0x8(%ebp),%eax
47988a:	75 03                	jne    0x47988f
47988c:	8b 45 f4             	mov    -0xc(%ebp),%eax
47988f:	c9                   	leave
479890:	c3                   	ret
479891:	8b ff                	mov    %edi,%edi
479893:	55                   	push   %ebp
479894:	8b ec                	mov    %esp,%ebp
479896:	8b 45 08             	mov    0x8(%ebp),%eax
479899:	85 c0                	test   %eax,%eax
47989b:	74 1d                	je     0x4798ba
47989d:	8b 48 0c             	mov    0xc(%eax),%ecx
4798a0:	90                   	nop
4798a1:	8b c1                	mov    %ecx,%eax
4798a3:	c1 e8 0d             	shr    $0xd,%eax
4798a6:	a8 01                	test   $0x1,%al
4798a8:	74 10                	je     0x4798ba
4798aa:	51                   	push   %ecx
4798ab:	e8 12 00 00 00       	call   0x4798c2
4798b0:	59                   	pop    %ecx
4798b1:	84 c0                	test   %al,%al
4798b3:	75 09                	jne    0x4798be
4798b5:	8b 45 0c             	mov    0xc(%ebp),%eax
4798b8:	ff 00                	incl   (%eax)
4798ba:	32 c0                	xor    %al,%al
4798bc:	5d                   	pop    %ebp
4798bd:	c3                   	ret
4798be:	b0 01                	mov    $0x1,%al
4798c0:	5d                   	pop    %ebp
4798c1:	c3                   	ret
4798c2:	8b ff                	mov    %edi,%edi
4798c4:	55                   	push   %ebp
4798c5:	8b ec                	mov    %esp,%ebp
4798c7:	8b 4d 08             	mov    0x8(%ebp),%ecx
4798ca:	8b c1                	mov    %ecx,%eax
4798cc:	24 03                	and    $0x3,%al
4798ce:	3c 02                	cmp    $0x2,%al
4798d0:	75 09                	jne    0x4798db
4798d2:	f6 c1 c0             	test   $0xc0,%cl
4798d5:	74 04                	je     0x4798db
4798d7:	fe c8                	dec    %al
4798d9:	5d                   	pop    %ebp
4798da:	c3                   	ret
4798db:	c1 e9 0b             	shr    $0xb,%ecx
4798de:	80 e1 01             	and    $0x1,%cl
4798e1:	8a c1                	mov    %cl,%al
4798e3:	5d                   	pop    %ebp
4798e4:	c3                   	ret
4798e5:	8b ff                	mov    %edi,%edi
4798e7:	55                   	push   %ebp
4798e8:	8b ec                	mov    %esp,%ebp
4798ea:	8b 4d 08             	mov    0x8(%ebp),%ecx
4798ed:	53                   	push   %ebx
4798ee:	56                   	push   %esi
4798ef:	57                   	push   %edi
4798f0:	8d 71 0c             	lea    0xc(%ecx),%esi
4798f3:	8b 16                	mov    (%esi),%edx
4798f5:	90                   	nop
4798f6:	8b c2                	mov    %edx,%eax
4798f8:	24 03                	and    $0x3,%al
4798fa:	3c 02                	cmp    $0x2,%al
4798fc:	75 49                	jne    0x479947
4798fe:	f6 c2 c0             	test   $0xc0,%dl
479901:	74 44                	je     0x479947
479903:	8b 39                	mov    (%ecx),%edi
479905:	8b 59 04             	mov    0x4(%ecx),%ebx
479908:	2b fb                	sub    %ebx,%edi
47990a:	89 19                	mov    %ebx,(%ecx)
47990c:	83 61 08 00          	andl   $0x0,0x8(%ecx)
479910:	85 ff                	test   %edi,%edi
479912:	7e 33                	jle    0x479947
479914:	51                   	push   %ecx
479915:	e8 18 ce 00 00       	call   0x486732
47991a:	ff 75 0c             	push   0xc(%ebp)
47991d:	57                   	push   %edi
47991e:	53                   	push   %ebx
47991f:	50                   	push   %eax
479920:	e8 6f df 00 00       	call   0x487894
479925:	83 c4 14             	add    $0x14,%esp
479928:	3b f8                	cmp    %eax,%edi
47992a:	74 0b                	je     0x479937
47992c:	6a 10                	push   $0x10
47992e:	58                   	pop    %eax
47992f:	f0 09 06             	lock or %eax,(%esi)
479932:	83 c8 ff             	or     $0xffffffff,%eax
479935:	eb 12                	jmp    0x479949
479937:	8b 06                	mov    (%esi),%eax
479939:	90                   	nop
47993a:	c1 e8 02             	shr    $0x2,%eax