40757c:	cc                   	int3
40757d:	cc                   	int3
40757e:	cc                   	int3
40757f:	cc                   	int3
407580:	8b ff                	mov    %edi,%edi
407582:	55                   	push   %ebp
407583:	8b ec                	mov    %esp,%ebp
407585:	b9 9c 50 41 00       	mov    $0x41509c,%ecx
40758a:	5d                   	pop    %ebp
40758b:	e9 86 f6 ff ff       	jmp    0x406c16
407590:	8b ff                	mov    %edi,%edi
407592:	55                   	push   %ebp
407593:	8b ec                	mov    %esp,%ebp
407595:	ff 75 1c             	push   0x1c(%ebp)
407598:	ff 75 18             	push   0x18(%ebp)
40759b:	ff 75 14             	push   0x14(%ebp)
40759e:	ff 75 10             	push   0x10(%ebp)
4075a1:	51                   	push   %ecx
4075a2:	b9 9c 50 41 00       	mov    $0x41509c,%ecx
4075a7:	e8 b0 f5 ff ff       	call   0x406b5c
4075ac:	5d                   	pop    %ebp
4075ad:	c2 18 00             	ret    $0x18
4075b0:	8b ff                	mov    %edi,%edi
4075b2:	55                   	push   %ebp
4075b3:	8b ec                	mov    %esp,%ebp
4075b5:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
4075b9:	74 07                	je     0x4075c2
4075bb:	b8 0b 00 02 80       	mov    $0x8002000b,%eax
4075c0:	eb 10                	jmp    0x4075d2
4075c2:	ff 75 14             	push   0x14(%ebp)
4075c5:	b9 9c 50 41 00       	mov    $0x41509c,%ecx
4075ca:	ff 75 10             	push   0x10(%ebp)
4075cd:	e8 3c f5 ff ff       	call   0x406b0e
4075d2:	5d                   	pop    %ebp
4075d3:	c2 10 00             	ret    $0x10
4075d6:	cc                   	int3
4075d7:	cc                   	int3
4075d8:	cc                   	int3
4075d9:	cc                   	int3
4075da:	cc                   	int3
4075db:	cc                   	int3
4075dc:	cc                   	int3
4075dd:	cc                   	int3
4075de:	cc                   	int3
4075df:	cc                   	int3
4075e0:	8b ff                	mov    %edi,%edi
4075e2:	55                   	push   %ebp
4075e3:	8b ec                	mov    %esp,%ebp
4075e5:	8b 4d 08             	mov    0x8(%ebp),%ecx
4075e8:	8b 55 0c             	mov    0xc(%ebp),%edx
4075eb:	ff 75 10             	push   0x10(%ebp)
4075ee:	85 c9                	test   %ecx,%ecx
4075f0:	75 07                	jne    0x4075f9
4075f2:	e8 f2 07 00 00       	call   0x407de9
4075f7:	eb 05                	jmp    0x4075fe
4075f9:	e8 2a 07 00 00       	call   0x407d28
4075fe:	5d                   	pop    %ebp
4075ff:	c2 0c 00             	ret    $0xc
407602:	cc                   	int3
407603:	cc                   	int3
407604:	cc                   	int3
407605:	cc                   	int3
407606:	cc                   	int3
407607:	cc                   	int3
407608:	cc                   	int3
407609:	cc                   	int3
40760a:	cc                   	int3
40760b:	cc                   	int3
40760c:	cc                   	int3
40760d:	cc                   	int3
40760e:	cc                   	int3
40760f:	cc                   	int3
407610:	6a 0c                	push   $0xc
407612:	b8 22 2d 41 00       	mov    $0x412d22,%eax
407617:	e8 ab af 00 00       	call   0x4125c7
40761c:	8b 4d 10             	mov    0x10(%ebp),%ecx
40761f:	85 c9                	test   %ecx,%ecx
407621:	75 0a                	jne    0x40762d
407623:	b8 03 40 00 80       	mov    $0x80004003,%eax
407628:	e9 a8 00 00 00       	jmp    0x4076d5
40762d:	33 c0                	xor    %eax,%eax
40762f:	be 0e 00 07 80       	mov    $0x8007000e,%esi
407634:	6a 28                	push   $0x28
407636:	89 01                	mov    %eax,(%ecx)
407638:	89 75 ec             	mov    %esi,-0x14(%ebp)
40763b:	89 45 e8             	mov    %eax,-0x18(%ebp)
40763e:	89 45 fc             	mov    %eax,-0x4(%ebp)
407641:	e8 62 9e 00 00       	call   0x4114a8
407646:	8b d8                	mov    %eax,%ebx
407648:	59                   	pop    %ecx
407649:	85 db                	test   %ebx,%ebx
40764b:	74 19                	je     0x407666
40764d:	83 63 04 00          	andl   $0x0,0x4(%ebx)
407651:	8d 7b 08             	lea    0x8(%ebx),%edi
407654:	6a 06                	push   $0x6
407656:	33 c0                	xor    %eax,%eax
407658:	59                   	pop    %ecx
407659:	f3 ab                	rep stos %eax,%es:(%edi)
40765b:	88 43 20             	mov    %al,0x20(%ebx)
40765e:	c7 03 c0 15 40 00    	movl   $0x4015c0,(%ebx)
407664:	eb 10                	jmp    0x407676
407666:	33 db                	xor    %ebx,%ebx
407668:	eb 0c                	jmp    0x407676
40766a:	b8 70 76 40 00       	mov    $0x407670,%eax
40766f:	c3                   	ret
407670:	8b 75 ec             	mov    -0x14(%ebp),%esi
407673:	8b 5d e8             	mov    -0x18(%ebp),%ebx
407676:	83 4d fc ff          	orl    $0xffffffff,-0x4(%ebp)
40767a:	85 db                	test   %ebx,%ebx
40767c:	74 55                	je     0x4076d3
40767e:	8b 45 08             	mov    0x8(%ebp),%eax
407681:	8d 4b 08             	lea    0x8(%ebx),%ecx
407684:	89 43 24             	mov    %eax,0x24(%ebx)
407687:	e8 b3 d5 ff ff       	call   0x404c3f
40768c:	8b f0                	mov    %eax,%esi
40768e:	85 f6                	test   %esi,%esi
407690:	78 08                	js     0x40769a
407692:	33 f6                	xor    %esi,%esi
407694:	c6 43 20 01          	movb   $0x1,0x20(%ebx)
407698:	85 f6                	test   %esi,%esi
40769a:	75 1b                	jne    0x4076b7
40769c:	ff 75 10             	push   0x10(%ebp)
40769f:	8b 03                	mov    (%ebx),%eax
4076a1:	ff 75 0c             	push   0xc(%ebp)
4076a4:	53                   	push   %ebx
4076a5:	8b 30                	mov    (%eax),%esi
4076a7:	8b ce                	mov    %esi,%ecx
4076a9:	ff 15 28 63 41 00    	call   *0x416328
4076af:	ff d6                	call   *%esi
4076b1:	8b f0                	mov    %eax,%esi
4076b3:	85 f6                	test   %esi,%esi
4076b5:	74 1c                	je     0x4076d3
4076b7:	8b cb                	mov    %ebx,%ecx
4076b9:	c7 03 c0 15 40 00    	movl   $0x4015c0,(%ebx)
4076bf:	c7 43 04 01 00 00 c0 	movl   $0xc0000001,0x4(%ebx)
4076c6:	e8 88 f3 ff ff       	call   0x406a53
4076cb:	53                   	push   %ebx
4076cc:	ff 15 d0 62 41 00    	call   *0x4162d0
4076d2:	59                   	pop    %ecx
4076d3:	8b c6                	mov    %esi,%eax
4076d5:	e8 52 ae 00 00       	call   0x41252c
4076da:	c2 0c 00             	ret    $0xc
4076dd:	8b ff                	mov    %edi,%edi
4076df:	56                   	push   %esi
4076e0:	57                   	push   %edi
4076e1:	bf ff ff ff 7f       	mov    $0x7fffffff,%edi
4076e6:	eb 0d                	jmp    0x4076f5
4076e8:	8d 56 ff             	lea    -0x1(%esi),%edx
4076eb:	8b c6                	mov    %esi,%eax
4076ed:	f0 0f b1 11          	lock cmpxchg %edx,(%ecx)
4076f1:	3b c6                	cmp    %esi,%eax
4076f3:	74 06                	je     0x4076fb
4076f5:	8b 31                	mov    (%ecx),%esi
4076f7:	3b f7                	cmp    %edi,%esi
4076f9:	75 ed                	jne    0x4076e8
4076fb:	5f                   	pop    %edi
4076fc:	8d 46 ff             	lea    -0x1(%esi),%eax
4076ff:	5e                   	pop    %esi
407700:	c3                   	ret
407701:	8d 41 04             	lea    0x4(%ecx),%eax
407704:	39 01                	cmp    %eax,(%ecx)
407706:	0f 85 23 08 00 00    	jne    0x407f2f
40770c:	c3                   	ret
40770d:	8b ff                	mov    %edi,%edi
40770f:	56                   	push   %esi
407710:	8b f1                	mov    %ecx,%esi
407712:	ff 36                	push   (%esi)
407714:	ff 15 c8 62 41 00    	call   *0x4162c8
40771a:	83 26 00             	andl   $0x0,(%esi)
40771d:	59                   	pop    %ecx
40771e:	5e                   	pop    %esi
40771f:	c3                   	ret
407720:	8b ff                	mov    %edi,%edi
407722:	56                   	push   %esi
407723:	8b f1                	mov    %ecx,%esi
407725:	83 3e 00             	cmpl   $0x0,(%esi)
407728:	74 0c                	je     0x407736
40772a:	ff 36                	push   (%esi)
40772c:	ff 15 bc 62 41 00    	call   *0x4162bc
407732:	83 26 00             	andl   $0x0,(%esi)
407735:	59                   	pop    %ecx
407736:	83 7e 04 00          	cmpl   $0x0,0x4(%esi)
40773a:	74 0e                	je     0x40774a
40773c:	ff 76 04             	push   0x4(%esi)
40773f:	ff 15 bc 62 41 00    	call   *0x4162bc
407745:	83 66 04 00          	andl   $0x0,0x4(%esi)
407749:	59                   	pop    %ecx
40774a:	83 66 08 00          	andl   $0x0,0x8(%esi)
40774e:	5e                   	pop    %esi
40774f:	c3                   	ret
407750:	8b ff                	mov    %edi,%edi
407752:	55                   	push   %ebp
407753:	8b ec                	mov    %esp,%ebp
407755:	56                   	push   %esi
407756:	8b f1                	mov    %ecx,%esi
407758:	6a 04                	push   $0x4
40775a:	8b 46 08             	mov    0x8(%esi),%eax
40775d:	40                   	inc    %eax
40775e:	50                   	push   %eax
40775f:	ff 36                	push   (%esi)
407761:	ff 15 48 15 40 00    	call   *0x401548
407767:	83 c4 0c             	add    $0xc,%esp
40776a:	85 c0                	test   %eax,%eax
40776c:	74 48                	je     0x4077b6
40776e:	89 06                	mov    %eax,(%esi)
407770:	8b 46 08             	mov    0x8(%esi),%eax
407773:	6a 04                	push   $0x4
407775:	40                   	inc    %eax
407776:	50                   	push   %eax
407777:	ff 76 04             	push   0x4(%esi)
40777a:	ff 15 48 15 40 00    	call   *0x401548
407780:	83 c4 0c             	add    $0xc,%esp
407783:	85 c0                	test   %eax,%eax
407785:	74 2f                	je     0x4077b6
407787:	8b 56 08             	mov    0x8(%esi),%edx
40778a:	8b 0e                	mov    (%esi),%ecx
40778c:	c1 e2 02             	shl    $0x2,%edx
40778f:	89 46 04             	mov    %eax,0x4(%esi)
407792:	03 ca                	add    %edx,%ecx
407794:	74 0a                	je     0x4077a0
407796:	8b 45 08             	mov    0x8(%ebp),%eax
407799:	8b 00                	mov    (%eax),%eax
40779b:	89 01                	mov    %eax,(%ecx)
40779d:	8b 46 04             	mov    0x4(%esi),%eax
4077a0:	8d 0c 02             	lea    (%edx,%eax,1),%ecx
4077a3:	85 c9                	test   %ecx,%ecx
4077a5:	74 07                	je     0x4077ae
4077a7:	8b 45 0c             	mov    0xc(%ebp),%eax
4077aa:	8b 00                	mov    (%eax),%eax
4077ac:	89 01                	mov    %eax,(%ecx)
4077ae:	ff 46 08             	incl   0x8(%esi)
4077b1:	33 c0                	xor    %eax,%eax
4077b3:	40                   	inc    %eax
4077b4:	eb 02                	jmp    0x4077b8
4077b6:	33 c0                	xor    %eax,%eax
4077b8:	5e                   	pop    %esi
4077b9:	5d                   	pop    %ebp
4077ba:	c2 08 00             	ret    $0x8
4077bd:	8b ff                	mov    %edi,%edi
4077bf:	56                   	push   %esi
4077c0:	8b f1                	mov    %ecx,%esi
4077c2:	eb 0e                	jmp    0x4077d2
4077c4:	8b 16                	mov    (%esi),%edx
4077c6:	52                   	push   %edx
4077c7:	8b 02                	mov    (%edx),%eax
4077c9:	89 06                	mov    %eax,(%esi)
4077cb:	ff 15 bc 62 41 00    	call   *0x4162bc
4077d1:	59                   	pop    %ecx
4077d2:	83 3e 00             	cmpl   $0x0,(%esi)
4077d5:	75 ed                	jne    0x4077c4
4077d7:	5e                   	pop    %esi
4077d8:	c3                   	ret
4077d9:	6a 14                	push   $0x14
4077db:	b8 48 2d 41 00       	mov    $0x412d48,%eax
4077e0:	e8 e2 ad 00 00       	call   0x4125c7
4077e5:	89 55 e4             	mov    %edx,-0x1c(%ebp)
4077e8:	8b 75 08             	mov    0x8(%ebp),%esi
4077eb:	85 f6                	test   %esi,%esi
4077ed:	75 0a                	jne    0x4077f9
4077ef:	b8 03 40 00 80       	mov    $0x80004003,%eax
4077f4:	e9 8e 00 00 00       	jmp    0x407887
4077f9:	33 ff                	xor    %edi,%edi
4077fb:	bb 0e 00 07 80       	mov    $0x8007000e,%ebx
407800:	6a 20                	push   $0x20
407802:	89 3e                	mov    %edi,(%esi)
407804:	89 5d ec             	mov    %ebx,-0x14(%ebp)
407807:	89 7d e8             	mov    %edi,-0x18(%ebp)
40780a:	89 7d fc             	mov    %edi,-0x4(%ebp)
40780d:	e8 96 9c 00 00       	call   0x4114a8
407812:	59                   	pop    %ecx
407813:	89 45 e0             	mov    %eax,-0x20(%ebp)
407816:	c6 45 fc 01          	movb   $0x1,-0x4(%ebp)
40781a:	85 c0                	test   %eax,%eax
40781c:	74 1b                	je     0x407839
40781e:	51                   	push   %ecx
40781f:	8b c8                	mov    %eax,%ecx
407821:	e8 ac 09 00 00       	call   0x4081d2
407826:	8b f8                	mov    %eax,%edi
407828:	eb 0f                	jmp    0x407839
40782a:	b8 30 78 40 00       	mov    $0x407830,%eax
40782f:	c3                   	ret
407830:	8b 75 08             	mov    0x8(%ebp),%esi
407833:	8b 5d ec             	mov    -0x14(%ebp),%ebx
407836:	8b 7d e8             	mov    -0x18(%ebp),%edi
407839:	83 4d fc ff          	orl    $0xffffffff,-0x4(%ebp)
40783d:	85 ff                	test   %edi,%edi
40783f:	74 44                	je     0x407885
407841:	8b 47 04             	mov    0x4(%edi),%eax
407844:	b9 ff ff ff 7f       	mov    $0x7fffffff,%ecx
407849:	3b c1                	cmp    %ecx,%eax
40784b:	74 0c                	je     0x407859
40784d:	40                   	inc    %eax
40784e:	89 47 04             	mov    %eax,0x4(%edi)
407851:	3b c1                	cmp    %ecx,%eax
407853:	74 04                	je     0x407859
407855:	48                   	dec    %eax
407856:	89 47 04             	mov    %eax,0x4(%edi)
407859:	8b 07                	mov    (%edi),%eax
40785b:	56                   	push   %esi
40785c:	ff 75 e4             	push   -0x1c(%ebp)
40785f:	8b 30                	mov    (%eax),%esi
407861:	8b ce                	mov    %esi,%ecx
407863:	57                   	push   %edi
407864:	ff 15 28 63 41 00    	call   *0x416328
40786a:	ff d6                	call   *%esi
40786c:	8b d8                	mov    %eax,%ebx
40786e:	85 db                	test   %ebx,%ebx
407870:	74 13                	je     0x407885
407872:	8b 17                	mov    (%edi),%edx
407874:	6a 01                	push   $0x1
407876:	8b 72 28             	mov    0x28(%edx),%esi
407879:	8b ce                	mov    %esi,%ecx
40787b:	ff 15 28 63 41 00    	call   *0x416328
407881:	8b cf                	mov    %edi,%ecx
407883:	ff d6                	call   *%esi
407885:	8b c3                	mov    %ebx,%eax
407887:	e8 a0 ac 00 00       	call   0x41252c
40788c:	c2 04 00             	ret    $0x4
40788f:	6a 14                	push   $0x14
407891:	b8 6e 2d 41 00       	mov    $0x412d6e,%eax
407896:	e8 2c ad 00 00       	call   0x4125c7
40789b:	89 55 e4             	mov    %edx,-0x1c(%ebp)
40789e:	8b 75 08             	mov    0x8(%ebp),%esi
4078a1:	85 f6                	test   %esi,%esi
4078a3:	75 0a                	jne    0x4078af
4078a5:	b8 03 40 00 80       	mov    $0x80004003,%eax
4078aa:	e9 8e 00 00 00       	jmp    0x40793d
4078af:	33 ff                	xor    %edi,%edi
4078b1:	bb 0e 00 07 80       	mov    $0x8007000e,%ebx
4078b6:	6a 28                	push   $0x28
4078b8:	89 3e                	mov    %edi,(%esi)
4078ba:	89 5d ec             	mov    %ebx,-0x14(%ebp)
4078bd:	89 7d e8             	mov    %edi,-0x18(%ebp)
4078c0:	89 7d fc             	mov    %edi,-0x4(%ebp)
4078c3:	e8 e0 9b 00 00       	call   0x4114a8
4078c8:	59                   	pop    %ecx
4078c9:	89 45 e0             	mov    %eax,-0x20(%ebp)
4078cc:	c6 45 fc 01          	movb   $0x1,-0x4(%ebp)
4078d0:	85 c0                	test   %eax,%eax
4078d2:	74 1b                	je     0x4078ef
4078d4:	51                   	push   %ecx
4078d5:	8b c8                	mov    %eax,%ecx
4078d7:	e8 d4 09 00 00       	call   0x4082b0
4078dc:	8b f8                	mov    %eax,%edi
4078de:	eb 0f                	jmp    0x4078ef
4078e0:	b8 e6 78 40 00       	mov    $0x4078e6,%eax
4078e5:	c3                   	ret
4078e6:	8b 75 08             	mov    0x8(%ebp),%esi
4078e9:	8b 5d ec             	mov    -0x14(%ebp),%ebx
4078ec:	8b 7d e8             	mov    -0x18(%ebp),%edi