4018d0:	e8 db fc ff ff       	call   0x4015b0
4018d5:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
4018da:	74 33                	je     0x40190f
4018dc:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
4018e0:	8d 54 24 04          	lea    0x4(%esp),%edx
4018e4:	8b c5                	mov    %ebp,%eax
4018e6:	e8 5d fb ff ff       	call   0x401448
4018eb:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
4018f0:	75 b1                	jne    0x4018a3
4018f2:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
4018f6:	8b 54 24 08          	mov    0x8(%esp),%edx
4018fa:	8b 44 24 04          	mov    0x4(%esp),%eax
4018fe:	e8 25 fd ff ff       	call   0x401628
401903:	8b 04 24             	mov    (%esp),%eax
401906:	33 d2                	xor    %edx,%edx
401908:	89 10                	mov    %edx,(%eax)
40190a:	e9 90 00 00 00       	jmp    0x40199f
40190f:	8d 4c 24 04          	lea    0x4(%esp),%ecx
401913:	8b d7                	mov    %edi,%edx
401915:	8b c6                	mov    %esi,%eax
401917:	e8 94 fc ff ff       	call   0x4015b0
40191c:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
401921:	74 34                	je     0x401957
401923:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
401927:	8d 54 24 04          	lea    0x4(%esp),%edx
40192b:	8b c5                	mov    %ebp,%eax
40192d:	e8 16 fb ff ff       	call   0x401448
401932:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
401937:	0f 85 66 ff ff ff    	jne    0x4018a3
40193d:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
401941:	8b 54 24 08          	mov    0x8(%esp),%edx
401945:	8b 44 24 04          	mov    0x4(%esp),%eax
401949:	e8 da fc ff ff       	call   0x401628
40194e:	8b 04 24             	mov    (%esp),%eax
401951:	33 d2                	xor    %edx,%edx
401953:	89 10                	mov    %edx,(%eax)
401955:	eb 48                	jmp    0x40199f
401957:	8b 6b 08             	mov    0x8(%ebx),%ebp
40195a:	3b f5                	cmp    %ebp,%esi
40195c:	75 3a                	jne    0x401998
40195e:	3b 7b 0c             	cmp    0xc(%ebx),%edi
401961:	7f 35                	jg     0x401998
401963:	8b 0c 24             	mov    (%esp),%ecx
401966:	8b d7                	mov    %edi,%edx
401968:	8b c5                	mov    %ebp,%eax
40196a:	e8 71 fd ff ff       	call   0x4016e0
40196f:	8b 04 24             	mov    (%esp),%eax
401972:	83 38 00             	cmpl   $0x0,(%eax)
401975:	74 28                	je     0x40199f
401977:	8b 04 24             	mov    (%esp),%eax
40197a:	8b 40 04             	mov    0x4(%eax),%eax
40197d:	01 43 08             	add    %eax,0x8(%ebx)
401980:	8b 04 24             	mov    (%esp),%eax
401983:	8b 40 04             	mov    0x4(%eax),%eax
401986:	29 43 0c             	sub    %eax,0xc(%ebx)
401989:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)
40198d:	75 10                	jne    0x40199f
40198f:	8b c3                	mov    %ebx,%eax
401991:	e8 9a fa ff ff       	call   0x401430
401996:	eb 07                	jmp    0x40199f
401998:	8b 04 24             	mov    (%esp),%eax
40199b:	33 d2                	xor    %edx,%edx
40199d:	89 10                	mov    %edx,(%eax)
40199f:	83 c4 14             	add    $0x14,%esp
4019a2:	5d                   	pop    %ebp
4019a3:	5f                   	pop    %edi
4019a4:	5e                   	pop    %esi
4019a5:	5b                   	pop    %ebx
4019a6:	c3                   	ret
4019a7:	90                   	nop
4019a8:	53                   	push   %ebx
4019a9:	56                   	push   %esi
4019aa:	57                   	push   %edi
4019ab:	83 c4 ec             	add    $0xffffffec,%esp
4019ae:	8b f9                	mov    %ecx,%edi
4019b0:	89 14 24             	mov    %edx,(%esp)
4019b3:	8d 98 ff 3f 00 00    	lea    0x3fff(%eax),%ebx
4019b9:	81 e3 00 c0 ff ff    	and    $0xffffc000,%ebx
4019bf:	8b 34 24             	mov    (%esp),%esi
4019c2:	03 f0                	add    %eax,%esi
4019c4:	81 e6 00 c0 ff ff    	and    $0xffffc000,%esi
4019ca:	3b de                	cmp    %esi,%ebx
4019cc:	73 5b                	jae    0x401a29
4019ce:	8b cf                	mov    %edi,%ecx
4019d0:	8b d6                	mov    %esi,%edx
4019d2:	2b d3                	sub    %ebx,%edx
4019d4:	8b c3                	mov    %ebx,%eax
4019d6:	e8 99 fd ff ff       	call   0x401774
4019db:	8d 4c 24 04          	lea    0x4(%esp),%ecx
4019df:	8b d7                	mov    %edi,%edx
4019e1:	b8 f8 55 47 00       	mov    $0x4755f8,%eax
4019e6:	e8 5d fa ff ff       	call   0x401448
4019eb:	8b 5c 24 04          	mov    0x4(%esp),%ebx
4019ef:	85 db                	test   %ebx,%ebx
4019f1:	74 1f                	je     0x401a12
4019f3:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
4019f7:	8b 54 24 08          	mov    0x8(%esp),%edx
4019fb:	8b c3                	mov    %ebx,%eax
4019fd:	e8 26 fc ff ff       	call   0x401628
401a02:	8b 44 24 0c          	mov    0xc(%esp),%eax
401a06:	89 44 24 04          	mov    %eax,0x4(%esp)
401a0a:	8b 44 24 10          	mov    0x10(%esp),%eax
401a0e:	89 44 24 08          	mov    %eax,0x8(%esp)
401a12:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
401a17:	74 14                	je     0x401a2d
401a19:	8d 54 24 04          	lea    0x4(%esp),%edx
401a1d:	b8 f8 55 47 00       	mov    $0x4755f8,%eax
401a22:	e8 91 fa ff ff       	call   0x4014b8
401a27:	eb 04                	jmp    0x401a2d
401a29:	33 c0                	xor    %eax,%eax
401a2b:	89 07                	mov    %eax,(%edi)
401a2d:	83 c4 14             	add    $0x14,%esp
401a30:	5f                   	pop    %edi
401a31:	5e                   	pop    %esi
401a32:	5b                   	pop    %ebx
401a33:	c3                   	ret
401a34:	55                   	push   %ebp
401a35:	8b ec                	mov    %esp,%ebp
401a37:	33 d2                	xor    %edx,%edx
401a39:	55                   	push   %ebp
401a3a:	68 ea 1a 40 00       	push   $0x401aea
401a3f:	64 ff 32             	push   %fs:(%edx)
401a42:	64 89 22             	mov    %esp,%fs:(%edx)
401a45:	68 c8 55 47 00       	push   $0x4755c8
401a4a:	e8 39 f9 ff ff       	call   0x401388
401a4f:	80 3d 49 50 47 00 00 	cmpb   $0x0,0x475049
401a56:	74 0a                	je     0x401a62
401a58:	68 c8 55 47 00       	push   $0x4755c8
401a5d:	e8 2e f9 ff ff       	call   0x401390
401a62:	b8 e8 55 47 00       	mov    $0x4755e8,%eax
401a67:	e8 8c f9 ff ff       	call   0x4013f8
401a6c:	b8 f8 55 47 00       	mov    $0x4755f8,%eax
401a71:	e8 82 f9 ff ff       	call   0x4013f8
401a76:	b8 24 56 47 00       	mov    $0x475624,%eax
401a7b:	e8 78 f9 ff ff       	call   0x4013f8
401a80:	68 f8 0f 00 00       	push   $0xff8
401a85:	6a 00                	push   $0x0
401a87:	e8 dc f8 ff ff       	call   0x401368
401a8c:	a3 20 56 47 00       	mov    %eax,0x475620
401a91:	83 3d 20 56 47 00 00 	cmpl   $0x0,0x475620
401a98:	74 2f                	je     0x401ac9
401a9a:	b8 03 00 00 00       	mov    $0x3,%eax
401a9f:	8b 15 20 56 47 00    	mov    0x475620,%edx
401aa5:	33 c9                	xor    %ecx,%ecx
401aa7:	89 4c 82 f4          	mov    %ecx,-0xc(%edx,%eax,4)
401aab:	40                   	inc    %eax
401aac:	3d 01 04 00 00       	cmp    $0x401,%eax
401ab1:	75 ec                	jne    0x401a9f
401ab3:	b8 08 56 47 00       	mov    $0x475608,%eax
401ab8:	89 40 04             	mov    %eax,0x4(%eax)
401abb:	89 00                	mov    %eax,(%eax)
401abd:	a3 14 56 47 00       	mov    %eax,0x475614
401ac2:	c6 05 c0 55 47 00 01 	movb   $0x1,0x4755c0
401ac9:	33 c0                	xor    %eax,%eax
401acb:	5a                   	pop    %edx
401acc:	59                   	pop    %ecx
401acd:	59                   	pop    %ecx
401ace:	64 89 10             	mov    %edx,%fs:(%eax)
401ad1:	68 f1 1a 40 00       	push   $0x401af1
401ad6:	80 3d 49 50 47 00 00 	cmpb   $0x0,0x475049
401add:	74 0a                	je     0x401ae9
401adf:	68 c8 55 47 00       	push   $0x4755c8
401ae4:	e8 af f8 ff ff       	call   0x401398
401ae9:	c3                   	ret
401aea:	e9 65 1f 00 00       	jmp    0x403a54
401aef:	eb e5                	jmp    0x401ad6
401af1:	a0 c0 55 47 00       	mov    0x4755c0,%al
401af6:	5d                   	pop    %ebp
401af7:	c3                   	ret
401af8:	55                   	push   %ebp
401af9:	8b ec                	mov    %esp,%ebp
401afb:	53                   	push   %ebx
401afc:	80 3d c0 55 47 00 00 	cmpb   $0x0,0x4755c0
401b03:	0f 84 cc 00 00 00    	je     0x401bd5
401b09:	33 d2                	xor    %edx,%edx
401b0b:	55                   	push   %ebp
401b0c:	68 ce 1b 40 00       	push   $0x401bce
401b11:	64 ff 32             	push   %fs:(%edx)
401b14:	64 89 22             	mov    %esp,%fs:(%edx)
401b17:	80 3d 49 50 47 00 00 	cmpb   $0x0,0x475049
401b1e:	74 0a                	je     0x401b2a
401b20:	68 c8 55 47 00       	push   $0x4755c8
401b25:	e8 66 f8 ff ff       	call   0x401390
401b2a:	c6 05 c0 55 47 00 00 	movb   $0x0,0x4755c0
401b31:	a1 20 56 47 00       	mov    0x475620,%eax
401b36:	50                   	push   %eax
401b37:	e8 34 f8 ff ff       	call   0x401370
401b3c:	33 c0                	xor    %eax,%eax
401b3e:	a3 20 56 47 00       	mov    %eax,0x475620
401b43:	8b 1d e8 55 47 00    	mov    0x4755e8,%ebx
401b49:	eb 12                	jmp    0x401b5d
401b4b:	68 00 80 00 00       	push   $0x8000
401b50:	6a 00                	push   $0x0
401b52:	8b 43 08             	mov    0x8(%ebx),%eax
401b55:	50                   	push   %eax
401b56:	e8 25 f8 ff ff       	call   0x401380
401b5b:	8b 1b                	mov    (%ebx),%ebx
401b5d:	81 fb e8 55 47 00    	cmp    $0x4755e8,%ebx
401b63:	75 e6                	jne    0x401b4b
401b65:	b8 e8 55 47 00       	mov    $0x4755e8,%eax
401b6a:	e8 89 f8 ff ff       	call   0x4013f8
401b6f:	b8 f8 55 47 00       	mov    $0x4755f8,%eax
401b74:	e8 7f f8 ff ff       	call   0x4013f8
401b79:	b8 24 56 47 00       	mov    $0x475624,%eax
401b7e:	e8 75 f8 ff ff       	call   0x4013f8
401b83:	a1 e0 55 47 00       	mov    0x4755e0,%eax
401b88:	85 c0                	test   %eax,%eax
401b8a:	74 17                	je     0x401ba3
401b8c:	8b 10                	mov    (%eax),%edx
401b8e:	89 15 e0 55 47 00    	mov    %edx,0x4755e0
401b94:	50                   	push   %eax
401b95:	e8 d6 f7 ff ff       	call   0x401370
401b9a:	a1 e0 55 47 00       	mov    0x4755e0,%eax
401b9f:	85 c0                	test   %eax,%eax
401ba1:	75 e9                	jne    0x401b8c
401ba3:	33 c0                	xor    %eax,%eax
401ba5:	5a                   	pop    %edx
401ba6:	59                   	pop    %ecx
401ba7:	59                   	pop    %ecx
401ba8:	64 89 10             	mov    %edx,%fs:(%eax)
401bab:	68 d5 1b 40 00       	push   $0x401bd5
401bb0:	80 3d 49 50 47 00 00 	cmpb   $0x0,0x475049
401bb7:	74 0a                	je     0x401bc3
401bb9:	68 c8 55 47 00       	push   $0x4755c8
401bbe:	e8 d5 f7 ff ff       	call   0x401398
401bc3:	68 c8 55 47 00       	push   $0x4755c8
401bc8:	e8 d3 f7 ff ff       	call   0x4013a0
401bcd:	c3                   	ret
401bce:	e9 81 1e 00 00       	jmp    0x403a54
401bd3:	eb db                	jmp    0x401bb0
401bd5:	5b                   	pop    %ebx
401bd6:	5d                   	pop    %ebp
401bd7:	c3                   	ret
401bd8:	53                   	push   %ebx
401bd9:	3b 05 14 56 47 00    	cmp    0x475614,%eax
401bdf:	75 09                	jne    0x401bea
401be1:	8b 50 04             	mov    0x4(%eax),%edx
401be4:	89 15 14 56 47 00    	mov    %edx,0x475614
401bea:	8b 50 04             	mov    0x4(%eax),%edx
401bed:	8b 48 08             	mov    0x8(%eax),%ecx
401bf0:	81 f9 00 10 00 00    	cmp    $0x1000,%ecx
401bf6:	7f 38                	jg     0x401c30
401bf8:	3b c2                	cmp    %edx,%eax
401bfa:	75 17                	jne    0x401c13
401bfc:	85 c9                	test   %ecx,%ecx
401bfe:	79 03                	jns    0x401c03
401c00:	83 c1 03             	add    $0x3,%ecx
401c03:	c1 f9 02             	sar    $0x2,%ecx
401c06:	a1 20 56 47 00       	mov    0x475620,%eax
401c0b:	33 d2                	xor    %edx,%edx
401c0d:	89 54 88 f4          	mov    %edx,-0xc(%eax,%ecx,4)
401c11:	eb 24                	jmp    0x401c37
401c13:	85 c9                	test   %ecx,%ecx
401c15:	79 03                	jns    0x401c1a
401c17:	83 c1 03             	add    $0x3,%ecx
401c1a:	c1 f9 02             	sar    $0x2,%ecx
401c1d:	8b 1d 20 56 47 00    	mov    0x475620,%ebx
401c23:	89 54 8b f4          	mov    %edx,-0xc(%ebx,%ecx,4)
401c27:	8b 00                	mov    (%eax),%eax
401c29:	89 02                	mov    %eax,(%edx)
401c2b:	89 50 04             	mov    %edx,0x4(%eax)
401c2e:	5b                   	pop    %ebx
401c2f:	c3                   	ret
401c30:	8b 00                	mov    (%eax),%eax
401c32:	89 02                	mov    %eax,(%edx)
401c34:	89 50 04             	mov    %edx,0x4(%eax)
401c37:	5b                   	pop    %ebx
401c38:	c3                   	ret
401c39:	8d 40 00             	lea    0x0(%eax),%eax
401c3c:	8b 15 24 56 47 00    	mov    0x475624,%edx
401c42:	eb 10                	jmp    0x401c54
401c44:	8b 4a 08             	mov    0x8(%edx),%ecx
401c47:	3b c1                	cmp    %ecx,%eax
401c49:	72 07                	jb     0x401c52
401c4b:	03 4a 0c             	add    0xc(%edx),%ecx
401c4e:	3b c1                	cmp    %ecx,%eax
401c50:	72 16                	jb     0x401c68
401c52:	8b 12                	mov    (%edx),%edx
401c54:	81 fa 24 56 47 00    	cmp    $0x475624,%edx
401c5a:	75 e8                	jne    0x401c44
401c5c:	c7 05 c4 55 47 00 03 	movl   $0x3,0x4755c4
401c63:	00 00 00
401c66:	33 d2                	xor    %edx,%edx
401c68:	8b c2                	mov    %edx,%eax
401c6a:	c3                   	ret
401c6b:	90                   	nop
401c6c:	53                   	push   %ebx
401c6d:	8b ca                	mov    %edx,%ecx
401c6f:	83 e9 04             	sub    $0x4,%ecx
401c72:	8d 1c 01             	lea    (%ecx,%eax,1),%ebx
401c75:	83 fa 10             	cmp    $0x10,%edx
401c78:	7c 0f                	jl     0x401c89
401c7a:	c7 03 07 00 00 80    	movl   $0x80000007,(%ebx)
401c80:	8b d1                	mov    %ecx,%edx
401c82:	e8 b9 01 00 00       	call   0x401e40
401c87:	5b                   	pop    %ebx
401c88:	c3                   	ret
401c89:	83 fa 04             	cmp    $0x4,%edx
401c8c:	7c 0c                	jl     0x401c9a
401c8e:	8b ca                	mov    %edx,%ecx
401c90:	81 c9 02 00 00 80    	or     $0x80000002,%ecx
401c96:	89 08                	mov    %ecx,(%eax)
401c98:	89 0b                	mov    %ecx,(%ebx)
401c9a:	5b                   	pop    %ebx
401c9b:	c3                   	ret
401c9c:	ff 05 b0 55 47 00    	incl   0x4755b0
401ca2:	8b d0                	mov    %eax,%edx
401ca4:	83 ea 04             	sub    $0x4,%edx
401ca7:	8b 12                	mov    (%edx),%edx
401ca9:	81 e2 fc ff ff 7f    	and    $0x7ffffffc,%edx
401caf:	83 ea 04             	sub    $0x4,%edx
401cb2:	01 15 b4 55 47 00    	add    %edx,0x4755b4
401cb8:	e8 f3 05 00 00       	call   0x4022b0
401cbd:	c3                   	ret
401cbe:	8b c0                	mov    %eax,%eax
401cc0:	83 fa 0c             	cmp    $0xc,%edx
401cc3:	7c 0e                	jl     0x401cd3
401cc5:	83 ca 02             	or     $0x2,%edx
401cc8:	89 10                	mov    %edx,(%eax)
401cca:	83 c0 04             	add    $0x4,%eax
401ccd:	e8 ca ff ff ff       	call   0x401c9c
401cd2:	c3                   	ret
401cd3:	83 fa 04             	cmp    $0x4,%edx
401cd6:	7c 0a                	jl     0x401ce2
401cd8:	8b ca                	mov    %edx,%ecx
401cda:	81 c9 02 00 00 80    	or     $0x80000002,%ecx
401ce0:	89 08                	mov    %ecx,(%eax)
401ce2:	03 c2                	add    %edx,%eax
401ce4:	83 20 fe             	andl   $0xfffffffe,(%eax)
401ce7:	c3                   	ret
401ce8:	53                   	push   %ebx
401ce9:	56                   	push   %esi
401cea:	8b d0                	mov    %eax,%edx
401cec:	83 ea 04             	sub    $0x4,%edx
401cef:	8b 12                	mov    (%edx),%edx
401cf1:	8b ca                	mov    %edx,%ecx
401cf3:	81 e1 02 00 00 80    	and    $0x80000002,%ecx
401cf9:	81 f9 02 00 00 80    	cmp    $0x80000002,%ecx
401cff:	74 0a                	je     0x401d0b
401d01:	c7 05 c4 55 47 00 04 	movl   $0x4,0x4755c4
401d08:	00 00 00
401d0b:	8b da                	mov    %edx,%ebx
401d0d:	81 e3 fc ff ff 7f    	and    $0x7ffffffc,%ebx
401d13:	2b c3                	sub    %ebx,%eax
401d15:	8b c8                	mov    %eax,%ecx
401d17:	33 11                	xor    (%ecx),%edx
401d19:	f7 c2 fe ff ff ff    	test   $0xfffffffe,%edx
401d1f:	74 0a                	je     0x401d2b
401d21:	c7 05 c4 55 47 00 05 	movl   $0x5,0x4755c4
401d28:	00 00 00