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
4078ef:	83 4d fc ff          	orl    $0xffffffff,-0x4(%ebp)
4078f3:	85 ff                	test   %edi,%edi
4078f5:	74 44                	je     0x40793b
4078f7:	8b 47 04             	mov    0x4(%edi),%eax
4078fa:	b9 ff ff ff 7f       	mov    $0x7fffffff,%ecx
4078ff:	3b c1                	cmp    %ecx,%eax
407901:	74 0c                	je     0x40790f
407903:	40                   	inc    %eax
407904:	89 47 04             	mov    %eax,0x4(%edi)
407907:	3b c1                	cmp    %ecx,%eax
407909:	74 04                	je     0x40790f
40790b:	48                   	dec    %eax
40790c:	89 47 04             	mov    %eax,0x4(%edi)
40790f:	8b 07                	mov    (%edi),%eax
407911:	56                   	push   %esi
407912:	ff 75 e4             	push   -0x1c(%ebp)
407915:	8b 30                	mov    (%eax),%esi
407917:	8b ce                	mov    %esi,%ecx
407919:	57                   	push   %edi
40791a:	ff 15 28 63 41 00    	call   *0x416328
407920:	ff d6                	call   *%esi
407922:	8b d8                	mov    %eax,%ebx
407924:	85 db                	test   %ebx,%ebx
407926:	74 13                	je     0x40793b
407928:	8b 17                	mov    (%edi),%edx
40792a:	6a 01                	push   $0x1
40792c:	8b 72 28             	mov    0x28(%edx),%esi
40792f:	8b ce                	mov    %esi,%ecx
407931:	ff 15 28 63 41 00    	call   *0x416328
407937:	8b cf                	mov    %edi,%ecx
407939:	ff d6                	call   *%esi
40793b:	8b c3                	mov    %ebx,%eax
40793d:	e8 ea ab 00 00       	call   0x41252c
407942:	c2 04 00             	ret    $0x4
407945:	cc                   	int3
407946:	cc                   	int3
407947:	cc                   	int3
407948:	cc                   	int3
407949:	cc                   	int3
40794a:	cc                   	int3
40794b:	cc                   	int3
40794c:	cc                   	int3
40794d:	cc                   	int3
40794e:	cc                   	int3
40794f:	cc                   	int3
407950:	8b ff                	mov    %edi,%edi
407952:	55                   	push   %ebp
407953:	8b ec                	mov    %esp,%ebp
407955:	ff 75 10             	push   0x10(%ebp)
407958:	8b 4d 08             	mov    0x8(%ebp),%ecx
40795b:	ba 9c 19 40 00       	mov    $0x40199c,%edx
407960:	ff 75 0c             	push   0xc(%ebp)
407963:	e8 4a ef ff ff       	call   0x4068b2
407968:	5d                   	pop    %ebp
407969:	c2 0c 00             	ret    $0xc
40796c:	cc                   	int3
40796d:	cc                   	int3
40796e:	cc                   	int3
40796f:	cc                   	int3
407970:	8b ff                	mov    %edi,%edi
407972:	55                   	push   %ebp
407973:	8b ec                	mov    %esp,%ebp
407975:	56                   	push   %esi
407976:	8b 75 08             	mov    0x8(%ebp),%esi
407979:	57                   	push   %edi
40797a:	8d 4e 04             	lea    0x4(%esi),%ecx
40797d:	e8 5b fd ff ff       	call   0x4076dd
407982:	8b f8                	mov    %eax,%edi
407984:	85 ff                	test   %edi,%edi
407986:	75 1f                	jne    0x4079a7
407988:	85 f6                	test   %esi,%esi
40798a:	74 1b                	je     0x4079a7
40798c:	c7 01 01 00 00 c0    	movl   $0xc0000001,(%ecx)
407992:	8b ce                	mov    %esi,%ecx
407994:	c7 06 24 18 40 00    	movl   $0x401824,(%esi)
40799a:	e8 71 09 00 00       	call   0x408310
40799f:	56                   	push   %esi
4079a0:	ff 15 d0 62 41 00    	call   *0x4162d0
4079a6:	59                   	pop    %ecx
4079a7:	8b c7                	mov    %edi,%eax
4079a9:	5f                   	pop    %edi
4079aa:	5e                   	pop    %esi
4079ab:	5d                   	pop    %ebp
4079ac:	c2 04 00             	ret    $0x4
4079af:	cc                   	int3
4079b0:	8b ff                	mov    %edi,%edi
4079b2:	55                   	push   %ebp
4079b3:	8b ec                	mov    %esp,%ebp
4079b5:	8b 4d 08             	mov    0x8(%ebp),%ecx
4079b8:	8d 49 04             	lea    0x4(%ecx),%ecx
4079bb:	e8 09 d3 ff ff       	call   0x404cc9
4079c0:	5d                   	pop    %ebp
4079c1:	c2 04 00             	ret    $0x4
4079c4:	cc                   	int3
4079c5:	cc                   	int3
4079c6:	cc                   	int3
4079c7:	cc                   	int3
4079c8:	cc                   	int3
4079c9:	cc                   	int3
4079ca:	cc                   	int3
4079cb:	cc                   	int3
4079cc:	cc                   	int3
4079cd:	cc                   	int3
4079ce:	cc                   	int3
4079cf:	cc                   	int3
4079d0:	6a 0c                	push   $0xc
4079d2:	68 f8 37 41 00       	push   $0x4137f8
4079d7:	e8 9c af 00 00       	call   0x412978
4079dc:	b8 03 40 00 80       	mov    $0x80004003,%eax
4079e1:	8b 5d 14             	mov    0x14(%ebp),%ebx
4079e4:	85 db                	test   %ebx,%ebx
4079e6:	0f 84 9a 00 00 00    	je     0x407a86
4079ec:	33 c0                	xor    %eax,%eax
4079ee:	89 03                	mov    %eax,(%ebx)
4079f0:	39 45 0c             	cmp    %eax,0xc(%ebp)
4079f3:	74 0a                	je     0x4079ff
4079f5:	b8 10 01 04 80       	mov    $0x80040110,%eax
4079fa:	e9 87 00 00 00       	jmp    0x407a86
4079ff:	8b 7d 08             	mov    0x8(%ebp),%edi
407a02:	39 47 28             	cmp    %eax,0x28(%edi)
407a05:	75 62                	jne    0x407a69
407a07:	8d 77 2c             	lea    0x2c(%edi),%esi
407a0a:	39 06                	cmp    %eax,(%esi)
407a0c:	75 5b                	jne    0x407a69
407a0e:	89 45 fc             	mov    %eax,-0x4(%ebp)
407a11:	8d 47 08             	lea    0x8(%edi),%eax
407a14:	50                   	push   %eax
407a15:	ff 15 64 61 41 00    	call   *0x416164
407a1b:	83 7f 28 00          	cmpl   $0x0,0x28(%edi)
407a1f:	75 3c                	jne    0x407a5d
407a21:	83 3e 00             	cmpl   $0x0,(%esi)
407a24:	75 37                	jne    0x407a5d
407a26:	8d 4d e4             	lea    -0x1c(%ebp),%ecx
407a29:	e8 7d 11 00 00       	call   0x408bab
407a2e:	89 47 28             	mov    %eax,0x28(%edi)
407a31:	85 c0                	test   %eax,%eax
407a33:	78 28                	js     0x407a5d
407a35:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
407a38:	8b 01                	mov    (%ecx),%eax
407a3a:	56                   	push   %esi
407a3b:	68 5c 27 40 00       	push   $0x40275c
407a40:	51                   	push   %ecx
407a41:	8b 30                	mov    (%eax),%esi
407a43:	8b ce                	mov    %esi,%ecx
407a45:	ff 15 28 63 41 00    	call   *0x416328
407a4b:	ff d6                	call   *%esi
407a4d:	89 47 28             	mov    %eax,0x28(%edi)
407a50:	85 c0                	test   %eax,%eax
407a52:	79 09                	jns    0x407a5d
407a54:	51                   	push   %ecx
407a55:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
407a58:	e8 dc 04 00 00       	call   0x407f39
407a5d:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
407a64:	e8 35 00 00 00       	call   0x407a9e
407a69:	8b 47 28             	mov    0x28(%edi),%eax
407a6c:	85 c0                	test   %eax,%eax
407a6e:	75 16                	jne    0x407a86
407a70:	8b 47 2c             	mov    0x2c(%edi),%eax
407a73:	8b 08                	mov    (%eax),%ecx
407a75:	53                   	push   %ebx
407a76:	ff 75 10             	push   0x10(%ebp)
407a79:	50                   	push   %eax
407a7a:	8b 31                	mov    (%ecx),%esi
407a7c:	8b ce                	mov    %esi,%ecx
407a7e:	ff 15 28 63 41 00    	call   *0x416328
407a84:	ff d6                	call   *%esi
407a86:	8b 4d f0             	mov    -0x10(%ebp),%ecx
407a89:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
407a90:	59                   	pop    %ecx
407a91:	5f                   	pop    %edi
407a92:	5e                   	pop    %esi
407a93:	5b                   	pop    %ebx
407a94:	c9                   	leave
407a95:	c2 10 00             	ret    $0x10
407a98:	8b 7d 08             	mov    0x8(%ebp),%edi