40478c:	80 7b 28 00          	cmpb   $0x0,0x28(%ebx)
404790:	74 05                	je     0x404797
404792:	e8 a1 fe ff ff       	call   0x404638
404797:	83 3b 00             	cmpl   $0x0,(%ebx)
40479a:	75 17                	jne    0x4047b3
40479c:	83 3d 28 80 6a 00 00 	cmpl   $0x0,0x6a8028
4047a3:	74 06                	je     0x4047ab
4047a5:	ff 15 28 80 6a 00    	call   *0x6a8028
4047ab:	8b 06                	mov    (%esi),%eax
4047ad:	50                   	push   %eax
4047ae:	e8 5d cb ff ff       	call   0x401310
4047b3:	8b 03                	mov    (%ebx),%eax
4047b5:	56                   	push   %esi
4047b6:	8b f0                	mov    %eax,%esi
4047b8:	8b fb                	mov    %ebx,%edi
4047ba:	b9 0b 00 00 00       	mov    $0xb,%ecx
4047bf:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)
4047c1:	5e                   	pop    %esi
4047c2:	e9 76 ff ff ff       	jmp    0x40473d
4047c7:	5d                   	pop    %ebp
4047c8:	5f                   	pop    %edi
4047c9:	5e                   	pop    %esi
4047ca:	5b                   	pop    %ebx
4047cb:	c3                   	ret
4047cc:	a3 00 a0 68 00       	mov    %eax,0x68a000
4047d1:	e8 1e ff ff ff       	call   0x4046f4
4047d6:	c3                   	ret
4047d7:	90                   	nop
4047d8:	8f 05 04 a0 68 00    	pop    0x68a004
4047de:	e9 e9 ff ff ff       	jmp    0x4047cc
4047e3:	c3                   	ret
4047e4:	55                   	push   %ebp
4047e5:	8b ec                	mov    %esp,%ebp
4047e7:	e8 c0 f1 ff ff       	call   0x4039ac
4047ec:	55                   	push   %ebp
4047ed:	31 c9                	xor    %ecx,%ecx
4047ef:	68 a8 43 40 00       	push   $0x4043a8
4047f4:	64 8b 11             	mov    %fs:(%ecx),%edx
4047f7:	52                   	push   %edx
4047f8:	64 89 21             	mov    %esp,%fs:(%ecx)
4047fb:	8b 45 08             	mov    0x8(%ebp),%eax
4047fe:	8b 48 04             	mov    0x4(%eax),%ecx
404801:	8b 10                	mov    (%eax),%edx
404803:	51                   	push   %ecx
404804:	52                   	push   %edx
404805:	e8 c2 df ff ff       	call   0x4027cc
40480a:	5a                   	pop    %edx
40480b:	58                   	pop    %eax
40480c:	ff d2                	call   *%edx
40480e:	31 d2                	xor    %edx,%edx
404810:	59                   	pop    %ecx
404811:	64 89 0a             	mov    %ecx,%fs:(%edx)
404814:	59                   	pop    %ecx
404815:	5d                   	pop    %ebp
404816:	5d                   	pop    %ebp
404817:	c2 04 00             	ret    $0x4
40481a:	8b c0                	mov    %eax,%eax
40481c:	55                   	push   %ebp
40481d:	8b ec                	mov    %esp,%ebp
40481f:	53                   	push   %ebx
404820:	56                   	push   %esi
404821:	57                   	push   %edi
404822:	8b f9                	mov    %ecx,%edi
404824:	8b f2                	mov    %edx,%esi
404826:	8b d8                	mov    %eax,%ebx
404828:	b8 08 00 00 00       	mov    $0x8,%eax
40482d:	e8 7a df ff ff       	call   0x4027ac
404832:	89 38                	mov    %edi,(%eax)
404834:	8b 55 10             	mov    0x10(%ebp),%edx
404837:	89 50 04             	mov    %edx,0x4(%eax)
40483a:	c6 05 4d 80 6a 00 01 	movb   $0x1,0x6a804d
404841:	8b 55 08             	mov    0x8(%ebp),%edx
404844:	52                   	push   %edx
404845:	8b 55 0c             	mov    0xc(%ebp),%edx
404848:	52                   	push   %edx
404849:	50                   	push   %eax
40484a:	b8 e4 47 40 00       	mov    $0x4047e4,%eax
40484f:	50                   	push   %eax
404850:	56                   	push   %esi
404851:	53                   	push   %ebx
404852:	e8 a9 ca ff ff       	call   0x401300
404857:	5f                   	pop    %edi
404858:	5e                   	pop    %esi
404859:	5b                   	pop    %ebx
40485a:	5d                   	pop    %ebp
40485b:	c2 0c 00             	ret    $0xc
40485e:	8b c0                	mov    %eax,%eax
404860:	50                   	push   %eax
404861:	e8 a2 ca ff ff       	call   0x401308
404866:	c3                   	ret
404867:	90                   	nop
404868:	8b 10                	mov    (%eax),%edx
40486a:	85 d2                	test   %edx,%edx
40486c:	74 1c                	je     0x40488a
40486e:	c7 00 00 00 00 00    	movl   $0x0,(%eax)
404874:	8b 4a f8             	mov    -0x8(%edx),%ecx
404877:	49                   	dec    %ecx
404878:	7c 10                	jl     0x40488a
40487a:	f0 ff 4a f8          	lock decl -0x8(%edx)
40487e:	75 0a                	jne    0x40488a
404880:	50                   	push   %eax
404881:	8d 42 f8             	lea    -0x8(%edx),%eax
404884:	e8 43 df ff ff       	call   0x4027cc
404889:	58                   	pop    %eax
40488a:	c3                   	ret
40488b:	90                   	nop
40488c:	53                   	push   %ebx
40488d:	56                   	push   %esi
40488e:	89 c3                	mov    %eax,%ebx
404890:	89 d6                	mov    %edx,%esi
404892:	8b 13                	mov    (%ebx),%edx
404894:	85 d2                	test   %edx,%edx
404896:	74 1a                	je     0x4048b2
404898:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)
40489e:	8b 4a f8             	mov    -0x8(%edx),%ecx
4048a1:	49                   	dec    %ecx
4048a2:	7c 0e                	jl     0x4048b2
4048a4:	f0 ff 4a f8          	lock decl -0x8(%edx)
4048a8:	75 08                	jne    0x4048b2
4048aa:	8d 42 f8             	lea    -0x8(%edx),%eax
4048ad:	e8 1a df ff ff       	call   0x4027cc
4048b2:	83 c3 04             	add    $0x4,%ebx
4048b5:	4e                   	dec    %esi
4048b6:	75 da                	jne    0x404892
4048b8:	5e                   	pop    %esi
4048b9:	5b                   	pop    %ebx
4048ba:	c3                   	ret
4048bb:	90                   	nop
4048bc:	85 d2                	test   %edx,%edx
4048be:	74 24                	je     0x4048e4
4048c0:	8b 4a f8             	mov    -0x8(%edx),%ecx
4048c3:	41                   	inc    %ecx
4048c4:	7f 1a                	jg     0x4048e0
4048c6:	50                   	push   %eax
4048c7:	52                   	push   %edx
4048c8:	8b 42 fc             	mov    -0x4(%edx),%eax
4048cb:	e8 5c 00 00 00       	call   0x40492c
4048d0:	89 c2                	mov    %eax,%edx
4048d2:	58                   	pop    %eax
4048d3:	52                   	push   %edx
4048d4:	8b 48 fc             	mov    -0x4(%eax),%ecx
4048d7:	e8 44 e1 ff ff       	call   0x402a20
4048dc:	5a                   	pop    %edx
4048dd:	58                   	pop    %eax
4048de:	eb 04                	jmp    0x4048e4
4048e0:	f0 ff 42 f8          	lock incl -0x8(%edx)
4048e4:	87 10                	xchg   %edx,(%eax)
4048e6:	85 d2                	test   %edx,%edx
4048e8:	74 14                	je     0x4048fe
4048ea:	8b 4a f8             	mov    -0x8(%edx),%ecx
4048ed:	49                   	dec    %ecx
4048ee:	7c 0e                	jl     0x4048fe
4048f0:	f0 ff 4a f8          	lock decl -0x8(%edx)
4048f4:	75 08                	jne    0x4048fe
4048f6:	8d 42 f8             	lea    -0x8(%edx),%eax
4048f9:	e8 ce de ff ff       	call   0x4027cc
4048fe:	c3                   	ret
4048ff:	90                   	nop
404900:	85 d2                	test   %edx,%edx
404902:	74 0a                	je     0x40490e
404904:	8b 4a f8             	mov    -0x8(%edx),%ecx
404907:	41                   	inc    %ecx
404908:	7e 04                	jle    0x40490e
40490a:	f0 ff 42 f8          	lock incl -0x8(%edx)
40490e:	87 10                	xchg   %edx,(%eax)
404910:	85 d2                	test   %edx,%edx
404912:	74 14                	je     0x404928
404914:	8b 4a f8             	mov    -0x8(%edx),%ecx
404917:	49                   	dec    %ecx
404918:	7c 0e                	jl     0x404928
40491a:	f0 ff 4a f8          	lock decl -0x8(%edx)
40491e:	75 08                	jne    0x404928
404920:	8d 42 f8             	lea    -0x8(%edx),%eax
404923:	e8 a4 de ff ff       	call   0x4027cc
404928:	c3                   	ret
404929:	8d 40 00             	lea    0x0(%eax),%eax
40492c:	85 c0                	test   %eax,%eax
40492e:	7e 24                	jle    0x404954
404930:	50                   	push   %eax
404931:	83 c0 0a             	add    $0xa,%eax
404934:	83 e0 fe             	and    $0xfffffffe,%eax
404937:	50                   	push   %eax
404938:	e8 6f de ff ff       	call   0x4027ac
40493d:	5a                   	pop    %edx
40493e:	66 c7 44 02 fe 00 00 	movw   $0x0,-0x2(%edx,%eax,1)
404945:	83 c0 08             	add    $0x8,%eax
404948:	5a                   	pop    %edx
404949:	89 50 fc             	mov    %edx,-0x4(%eax)
40494c:	c7 40 f8 01 00 00 00 	movl   $0x1,-0x8(%eax)
404953:	c3                   	ret
404954:	31 c0                	xor    %eax,%eax
404956:	c3                   	ret
404957:	90                   	nop
404958:	53                   	push   %ebx
404959:	56                   	push   %esi
40495a:	57                   	push   %edi
40495b:	89 c3                	mov    %eax,%ebx
40495d:	89 d6                	mov    %edx,%esi
40495f:	89 cf                	mov    %ecx,%edi
404961:	89 f8                	mov    %edi,%eax
404963:	e8 c4 ff ff ff       	call   0x40492c
404968:	89 f9                	mov    %edi,%ecx
40496a:	89 c7                	mov    %eax,%edi
40496c:	85 f6                	test   %esi,%esi
40496e:	74 09                	je     0x404979
404970:	89 c2                	mov    %eax,%edx
404972:	89 f0                	mov    %esi,%eax
404974:	e8 a7 e0 ff ff       	call   0x402a20
404979:	89 d8                	mov    %ebx,%eax
40497b:	e8 e8 fe ff ff       	call   0x404868
404980:	89 3b                	mov    %edi,(%ebx)
404982:	5f                   	pop    %edi
404983:	5e                   	pop    %esi
404984:	5b                   	pop    %ebx
404985:	c3                   	ret
404986:	8b c0                	mov    %eax,%eax
404988:	55                   	push   %ebp
404989:	8b ec                	mov    %esp,%ebp
40498b:	6a 00                	push   $0x0
40498d:	6a 00                	push   $0x0
40498f:	52                   	push   %edx
404990:	50                   	push   %eax
404991:	8b 45 08             	mov    0x8(%ebp),%eax
404994:	50                   	push   %eax
404995:	51                   	push   %ecx
404996:	6a 00                	push   $0x0
404998:	6a 00                	push   $0x0
40499a:	e8 29 ca ff ff       	call   0x4013c8
40499f:	5d                   	pop    %ebp
4049a0:	c2 04 00             	ret    $0x4
4049a3:	90                   	nop
4049a4:	55                   	push   %ebp
4049a5:	8b ec                	mov    %esp,%ebp
4049a7:	52                   	push   %edx
4049a8:	50                   	push   %eax
4049a9:	8b 45 08             	mov    0x8(%ebp),%eax
4049ac:	50                   	push   %eax
4049ad:	51                   	push   %ecx
4049ae:	6a 00                	push   $0x0
4049b0:	6a 00                	push   $0x0
4049b2:	e8 e9 c9 ff ff       	call   0x4013a0
4049b7:	5d                   	pop    %ebp
4049b8:	c2 04 00             	ret    $0x4
4049bb:	90                   	nop
4049bc:	53                   	push   %ebx
4049bd:	56                   	push   %esi
4049be:	57                   	push   %edi
4049bf:	55                   	push   %ebp
4049c0:	81 c4 04 f0 ff ff    	add    $0xfffff004,%esp
4049c6:	50                   	push   %eax
4049c7:	83 c4 fc             	add    $0xfffffffc,%esp
4049ca:	8b f1                	mov    %ecx,%esi
4049cc:	89 14 24             	mov    %edx,(%esp)
4049cf:	8b f8                	mov    %eax,%edi
4049d1:	85 f6                	test   %esi,%esi
4049d3:	7f 09                	jg     0x4049de
4049d5:	8b c7                	mov    %edi,%eax
4049d7:	e8 8c fe ff ff       	call   0x404868
4049dc:	eb 5f                	jmp    0x404a3d
4049de:	8d 6e 01             	lea    0x1(%esi),%ebp
4049e1:	81 fd ff 07 00 00    	cmp    $0x7ff,%ebp
4049e7:	7d 28                	jge    0x404a11
4049e9:	56                   	push   %esi
4049ea:	8d 44 24 08          	lea    0x8(%esp),%eax
4049ee:	8b 4c 24 04          	mov    0x4(%esp),%ecx
4049f2:	ba ff 0f 00 00       	mov    $0xfff,%edx
4049f7:	e8 8c ff ff ff       	call   0x404988
4049fc:	8b d8                	mov    %eax,%ebx
4049fe:	85 db                	test   %ebx,%ebx
404a00:	7c 0f                	jl     0x404a11
404a02:	8d 54 24 04          	lea    0x4(%esp),%edx
404a06:	8b c7                	mov    %edi,%eax
404a08:	8b cb                	mov    %ebx,%ecx
404a0a:	e8 49 ff ff ff       	call   0x404958
404a0f:	eb 2c                	jmp    0x404a3d
404a11:	8b dd                	mov    %ebp,%ebx
404a13:	03 db                	add    %ebx,%ebx
404a15:	8b c7                	mov    %edi,%eax
404a17:	8b d3                	mov    %ebx,%edx
404a19:	e8 86 04 00 00       	call   0x404ea4
404a1e:	56                   	push   %esi
404a1f:	8b 07                	mov    (%edi),%eax
404a21:	8b 4c 24 04          	mov    0x4(%esp),%ecx
404a25:	8b d3                	mov    %ebx,%edx
404a27:	e8 5c ff ff ff       	call   0x404988
404a2c:	8b d8                	mov    %eax,%ebx
404a2e:	85 db                	test   %ebx,%ebx
404a30:	7d 02                	jge    0x404a34
404a32:	33 db                	xor    %ebx,%ebx
404a34:	8b c7                	mov    %edi,%eax
404a36:	8b d3                	mov    %ebx,%edx
404a38:	e8 67 04 00 00       	call   0x404ea4
404a3d:	81 c4 04 10 00 00    	add    $0x1004,%esp
404a43:	5d                   	pop    %ebp
404a44:	5f                   	pop    %edi
404a45:	5e                   	pop    %esi
404a46:	5b                   	pop    %ebx
404a47:	c3                   	ret
404a48:	52                   	push   %edx
404a49:	89 e2                	mov    %esp,%edx
404a4b:	b9 01 00 00 00       	mov    $0x1,%ecx
404a50:	e8 03 ff ff ff       	call   0x404958
404a55:	5a                   	pop    %edx
404a56:	c3                   	ret
404a57:	90                   	nop
404a58:	31 c9                	xor    %ecx,%ecx
404a5a:	85 d2                	test   %edx,%edx
404a5c:	74 21                	je     0x404a7f
404a5e:	52                   	push   %edx
404a5f:	3a 0a                	cmp    (%edx),%cl
404a61:	74 17                	je     0x404a7a
404a63:	3a 4a 01             	cmp    0x1(%edx),%cl
404a66:	74 11                	je     0x404a79
404a68:	3a 4a 02             	cmp    0x2(%edx),%cl
404a6b:	74 0b                	je     0x404a78
404a6d:	3a 4a 03             	cmp    0x3(%edx),%cl
404a70:	74 05                	je     0x404a77
404a72:	83 c2 04             	add    $0x4,%edx
404a75:	eb e8                	jmp    0x404a5f
404a77:	42                   	inc    %edx
404a78:	42                   	inc    %edx
404a79:	42                   	inc    %edx
404a7a:	89 d1                	mov    %edx,%ecx
404a7c:	5a                   	pop    %edx
404a7d:	29 d1                	sub    %edx,%ecx
404a7f:	e9 d4 fe ff ff       	jmp    0x404958
404a84:	c3                   	ret
404a85:	8d 40 00             	lea    0x0(%eax),%eax
404a88:	31 c9                	xor    %ecx,%ecx
404a8a:	85 d2                	test   %edx,%edx
404a8c:	74 2d                	je     0x404abb
404a8e:	52                   	push   %edx
404a8f:	66 3b 0a             	cmp    (%edx),%cx
404a92:	74 20                	je     0x404ab4
404a94:	66 3b 4a 02          	cmp    0x2(%edx),%cx
404a98:	74 17                	je     0x404ab1
404a9a:	66 3b 4a 04          	cmp    0x4(%edx),%cx
404a9e:	74 0e                	je     0x404aae
404aa0:	66 3b 4a 06          	cmp    0x6(%edx),%cx
404aa4:	74 05                	je     0x404aab
404aa6:	83 c2 08             	add    $0x8,%edx
404aa9:	eb e4                	jmp    0x404a8f
404aab:	83 c2 02             	add    $0x2,%edx
404aae:	83 c2 02             	add    $0x2,%edx
404ab1:	83 c2 02             	add    $0x2,%edx
404ab4:	89 d1                	mov    %edx,%ecx
404ab6:	5a                   	pop    %edx
404ab7:	29 d1                	sub    %edx,%ecx
404ab9:	d1 e9                	shr    $1,%ecx
404abb:	e9 fc fe ff ff       	jmp    0x4049bc