40c924:	3b fa                	cmp    %edx,%edi
40c926:	76 b0                	jbe    0x40c8d8
40c928:	33 db                	xor    %ebx,%ebx
40c92a:	8b c3                	mov    %ebx,%eax
40c92c:	59                   	pop    %ecx
40c92d:	5a                   	pop    %edx
40c92e:	5d                   	pop    %ebp
40c92f:	5f                   	pop    %edi
40c930:	5e                   	pop    %esi
40c931:	5b                   	pop    %ebx
40c932:	c3                   	ret
40c933:	90                   	nop
40c934:	53                   	push   %ebx
40c935:	56                   	push   %esi
40c936:	8b da                	mov    %edx,%ebx
40c938:	8b d3                	mov    %ebx,%edx
40c93a:	e8 1d 00 00 00       	call   0x40c95c
40c93f:	8b f0                	mov    %eax,%esi
40c941:	84 db                	test   %bl,%bl
40c943:	74 12                	je     0x40c957
40c945:	85 c0                	test   %eax,%eax
40c947:	74 0e                	je     0x40c957
40c949:	8b f0                	mov    %eax,%esi
40c94b:	40                   	inc    %eax
40c94c:	8b d3                	mov    %ebx,%edx
40c94e:	e8 09 00 00 00       	call   0x40c95c
40c953:	85 c0                	test   %eax,%eax
40c955:	75 f2                	jne    0x40c949
40c957:	8b c6                	mov    %esi,%eax
40c959:	5e                   	pop    %esi
40c95a:	5b                   	pop    %ebx
40c95b:	c3                   	ret
40c95c:	53                   	push   %ebx
40c95d:	56                   	push   %esi
40c95e:	57                   	push   %edi
40c95f:	8b da                	mov    %edx,%ebx
40c961:	8b f0                	mov    %eax,%esi
40c963:	8b d3                	mov    %ebx,%edx
40c965:	8b c6                	mov    %esi,%eax
40c967:	e8 38 c1 ff ff       	call   0x408aa4
40c96c:	8b f8                	mov    %eax,%edi
40c96e:	85 ff                	test   %edi,%edi
40c970:	74 24                	je     0x40c996
40c972:	8b d7                	mov    %edi,%edx
40c974:	2b d6                	sub    %esi,%edx
40c976:	8b c6                	mov    %esi,%eax
40c978:	e8 4f fb ff ff       	call   0x40c4cc
40c97d:	2c 01                	sub    $0x1,%al
40c97f:	72 15                	jb     0x40c996
40c981:	74 02                	je     0x40c985
40c983:	eb 01                	jmp    0x40c986
40c985:	47                   	inc    %edi
40c986:	47                   	inc    %edi
40c987:	8b d3                	mov    %ebx,%edx
40c989:	8b c7                	mov    %edi,%eax
40c98b:	e8 14 c1 ff ff       	call   0x408aa4
40c990:	8b f8                	mov    %eax,%edi
40c992:	85 ff                	test   %edi,%edi
40c994:	75 dc                	jne    0x40c972
40c996:	8b c7                	mov    %edi,%eax
40c998:	5f                   	pop    %edi
40c999:	5e                   	pop    %esi
40c99a:	5b                   	pop    %ebx
40c99b:	c3                   	ret
40c99c:	55                   	push   %ebp
40c99d:	8b ec                	mov    %esp,%ebp
40c99f:	83 c4 f4             	add    $0xfffffff4,%esp
40c9a2:	53                   	push   %ebx
40c9a3:	33 d2                	xor    %edx,%edx
40c9a5:	89 55 f4             	mov    %edx,-0xc(%ebp)
40c9a8:	33 d2                	xor    %edx,%edx
40c9aa:	55                   	push   %ebp
40c9ab:	68 00 ca 40 00       	push   $0x40ca00
40c9b0:	64 ff 32             	push   %fs:(%edx)
40c9b3:	64 89 22             	mov    %esp,%fs:(%edx)
40c9b6:	6a 07                	push   $0x7
40c9b8:	8d 55 f9             	lea    -0x7(%ebp),%edx
40c9bb:	52                   	push   %edx
40c9bc:	68 04 10 00 00       	push   $0x1004
40c9c1:	50                   	push   %eax
40c9c2:	e8 8d 99 ff ff       	call   0x406354
40c9c7:	8d 45 f4             	lea    -0xc(%ebp),%eax
40c9ca:	8d 55 f9             	lea    -0x7(%ebp),%edx
40c9cd:	b9 07 00 00 00       	mov    $0x7,%ecx
40c9d2:	e8 e9 78 ff ff       	call   0x4042c0
40c9d7:	8b 45 f4             	mov    -0xc(%ebp),%eax
40c9da:	50                   	push   %eax
40c9db:	e8 24 99 ff ff       	call   0x406304
40c9e0:	8b d0                	mov    %eax,%edx
40c9e2:	58                   	pop    %eax
40c9e3:	e8 04 b9 ff ff       	call   0x4082ec
40c9e8:	8b d8                	mov    %eax,%ebx
40c9ea:	33 c0                	xor    %eax,%eax
40c9ec:	5a                   	pop    %edx
40c9ed:	59                   	pop    %ecx
40c9ee:	59                   	pop    %ecx
40c9ef:	64 89 10             	mov    %edx,%fs:(%eax)
40c9f2:	68 07 ca 40 00       	push   $0x40ca07
40c9f7:	8d 45 f4             	lea    -0xc(%ebp),%eax
40c9fa:	e8 51 76 ff ff       	call   0x404050
40c9ff:	c3                   	ret
40ca00:	e9 4f 70 ff ff       	jmp    0x403a54
40ca05:	eb f0                	jmp    0x40c9f7
40ca07:	8b c3                	mov    %ebx,%eax
40ca09:	5b                   	pop    %ebx
40ca0a:	8b e5                	mov    %ebp,%esp
40ca0c:	5d                   	pop    %ebp
40ca0d:	c3                   	ret
40ca0e:	8b c0                	mov    %eax,%eax
40ca10:	55                   	push   %ebp
40ca11:	8b ec                	mov    %esp,%ebp
40ca13:	51                   	push   %ecx
40ca14:	53                   	push   %ebx
40ca15:	56                   	push   %esi
40ca16:	57                   	push   %edi
40ca17:	8b 7d 08             	mov    0x8(%ebp),%edi
40ca1a:	83 c7 ec             	add    $0xffffffec,%edi
40ca1d:	57                   	push   %edi
40ca1e:	a1 40 57 47 00       	mov    0x475740,%eax
40ca23:	e8 74 ff ff ff       	call   0x40c99c
40ca28:	50                   	push   %eax
40ca29:	e8 de 98 ff ff       	call   0x40630c
40ca2e:	33 f6                	xor    %esi,%esi
40ca30:	eb 29                	jmp    0x40ca5b
40ca32:	8a 44 37 06          	mov    0x6(%edi,%esi,1),%al
40ca36:	8a 5c 37 07          	mov    0x7(%edi,%esi,1),%bl
40ca3a:	2a d8                	sub    %al,%bl
40ca3c:	72 1a                	jb     0x40ca58
40ca3e:	43                   	inc    %ebx
40ca3f:	88 45 ff             	mov    %al,-0x1(%ebp)
40ca42:	8a 45 ff             	mov    -0x1(%ebp),%al
40ca45:	25 ff 00 00 00       	and    $0xff,%eax
40ca4a:	0f ab 05 0c 91 46 00 	bts    %eax,0x46910c
40ca51:	fe 45 ff             	incb   -0x1(%ebp)
40ca54:	fe cb                	dec    %bl
40ca56:	75 ea                	jne    0x40ca42
40ca58:	83 c6 02             	add    $0x2,%esi
40ca5b:	83 fe 0c             	cmp    $0xc,%esi
40ca5e:	7d 0a                	jge    0x40ca6a
40ca60:	8a 44 37 06          	mov    0x6(%edi,%esi,1),%al
40ca64:	0a 44 37 07          	or     0x7(%edi,%esi,1),%al
40ca68:	75 c8                	jne    0x40ca32
40ca6a:	5f                   	pop    %edi
40ca6b:	5e                   	pop    %esi
40ca6c:	5b                   	pop    %ebx
40ca6d:	59                   	pop    %ecx
40ca6e:	5d                   	pop    %ebp
40ca6f:	c3                   	ret
40ca70:	a1 44 57 47 00       	mov    0x475744,%eax
40ca75:	83 f8 1f             	cmp    $0x1f,%eax
40ca78:	77 07                	ja     0x40ca81
40ca7a:	0f a3 05 08 93 46 00 	bt     %eax,0x469308
40ca81:	0f 92 c0             	setb   %al
40ca84:	c3                   	ret
40ca85:	8d 40 00             	lea    0x0(%eax),%eax
40ca88:	55                   	push   %ebp
40ca89:	8b ec                	mov    %esp,%ebp
40ca8b:	81 c4 68 fe ff ff    	add    $0xfffffe68,%esp
40ca91:	53                   	push   %ebx
40ca92:	56                   	push   %esi
40ca93:	57                   	push   %edi
40ca94:	c7 05 40 57 47 00 09 	movl   $0x409,0x475740
40ca9b:	04 00 00
40ca9e:	c7 05 44 57 47 00 09 	movl   $0x9,0x475744
40caa5:	00 00 00
40caa8:	c7 05 48 57 47 00 01 	movl   $0x1,0x475748
40caaf:	00 00 00
40cab2:	e8 e5 98 ff ff       	call   0x40639c
40cab7:	85 c0                	test   %eax,%eax
40cab9:	74 05                	je     0x40cac0
40cabb:	a3 40 57 47 00       	mov    %eax,0x475740
40cac0:	66 85 c0             	test   %ax,%ax
40cac3:	74 1b                	je     0x40cae0
40cac5:	8b d0                	mov    %eax,%edx
40cac7:	66 81 e2 ff 03       	and    $0x3ff,%dx
40cacc:	0f b7 d2             	movzwl %dx,%edx
40cacf:	89 15 44 57 47 00    	mov    %edx,0x475744
40cad5:	0f b7 c0             	movzwl %ax,%eax
40cad8:	c1 e8 0a             	shr    $0xa,%eax
40cadb:	a3 48 57 47 00       	mov    %eax,0x475748
40cae0:	be dc cb 40 00       	mov    $0x40cbdc,%esi
40cae5:	bf 0c 91 46 00       	mov    $0x46910c,%edi
40caea:	b9 08 00 00 00       	mov    $0x8,%ecx
40caef:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)
40caf1:	83 3d c4 90 46 00 02 	cmpl   $0x2,0x4690c4
40caf8:	0f 85 a7 00 00 00    	jne    0x40cba5
40cafe:	e8 6d ff ff ff       	call   0x40ca70
40cb03:	84 c0                	test   %al,%al
40cb05:	74 13                	je     0x40cb1a
40cb07:	c6 05 4d 57 47 00 00 	movb   $0x0,0x47574d
40cb0e:	c6 05 4c 57 47 00 00 	movb   $0x0,0x47574c
40cb15:	e9 b9 00 00 00       	jmp    0x40cbd3
40cb1a:	55                   	push   %ebp
40cb1b:	e8 f0 fe ff ff       	call   0x40ca10
40cb20:	59                   	pop    %ecx
40cb21:	b8 0c 91 46 00       	mov    $0x46910c,%eax
40cb26:	ba dc cb 40 00       	mov    $0x40cbdc,%edx
40cb2b:	b1 20                	mov    $0x20,%cl
40cb2d:	e8 be 62 ff ff       	call   0x402df0
40cb32:	0f 95 c3             	setne  %bl
40cb35:	88 1d 4c 57 47 00    	mov    %bl,0x47574c
40cb3b:	84 db                	test   %bl,%bl
40cb3d:	74 0c                	je     0x40cb4b
40cb3f:	c6 05 4d 57 47 00 00 	movb   $0x0,0x47574d
40cb46:	e9 88 00 00 00       	jmp    0x40cbd3
40cb4b:	b8 80 00 00 00       	mov    $0x80,%eax
40cb50:	8d 95 6c ff ff ff    	lea    -0x94(%ebp),%edx
40cb56:	88 02                	mov    %al,(%edx)
40cb58:	40                   	inc    %eax
40cb59:	42                   	inc    %edx
40cb5a:	3d 00 01 00 00       	cmp    $0x100,%eax
40cb5f:	75 f5                	jne    0x40cb56
40cb61:	8d 85 6c ff ff ff    	lea    -0x94(%ebp),%eax
40cb67:	8d 95 6a fe ff ff    	lea    -0x196(%ebp),%edx
40cb6d:	52                   	push   %edx
40cb6e:	68 80 00 00 00       	push   $0x80
40cb73:	50                   	push   %eax
40cb74:	6a 02                	push   $0x2
40cb76:	a1 40 57 47 00       	mov    0x475740,%eax
40cb7b:	50                   	push   %eax
40cb7c:	e8 fb 97 ff ff       	call   0x40637c
40cb81:	b8 80 00 00 00       	mov    $0x80,%eax
40cb86:	8d 95 6a fe ff ff    	lea    -0x196(%ebp),%edx
40cb8c:	66 83 3a 02          	cmpw   $0x2,(%edx)
40cb90:	0f 94 c1             	sete   %cl
40cb93:	88 0d 4d 57 47 00    	mov    %cl,0x47574d
40cb99:	84 c9                	test   %cl,%cl
40cb9b:	75 36                	jne    0x40cbd3
40cb9d:	83 c2 02             	add    $0x2,%edx
40cba0:	48                   	dec    %eax
40cba1:	75 e9                	jne    0x40cb8c
40cba3:	eb 2e                	jmp    0x40cbd3
40cba5:	6a 4a                	push   $0x4a
40cba7:	e8 90 9d ff ff       	call   0x40693c
40cbac:	85 c0                	test   %eax,%eax
40cbae:	0f 95 c0             	setne  %al
40cbb1:	a2 4d 57 47 00       	mov    %al,0x47574d
40cbb6:	6a 2a                	push   $0x2a
40cbb8:	e8 7f 9d ff ff       	call   0x40693c
40cbbd:	85 c0                	test   %eax,%eax
40cbbf:	0f 95 c3             	setne  %bl
40cbc2:	88 1d 4c 57 47 00    	mov    %bl,0x47574c
40cbc8:	84 db                	test   %bl,%bl
40cbca:	74 07                	je     0x40cbd3
40cbcc:	55                   	push   %ebp
40cbcd:	e8 3e fe ff ff       	call   0x40ca10
40cbd2:	59                   	pop    %ecx
40cbd3:	5f                   	pop    %edi
40cbd4:	5e                   	pop    %esi
40cbd5:	5b                   	pop    %ebx
40cbd6:	8b e5                	mov    %ebp,%esp
40cbd8:	5d                   	pop    %ebp
40cbd9:	c3                   	ret
40cbfa:	00 00                	add    %al,(%eax)
40cbfc:	55                   	push   %ebp
40cbfd:	8b ec                	mov    %esp,%ebp
40cbff:	b9 08 00 00 00       	mov    $0x8,%ecx
40cc04:	6a 00                	push   $0x0
40cc06:	6a 00                	push   $0x0
40cc08:	49                   	dec    %ecx
40cc09:	75 f9                	jne    0x40cc04
40cc0b:	53                   	push   %ebx
40cc0c:	33 c0                	xor    %eax,%eax
40cc0e:	55                   	push   %ebp
40cc0f:	68 c7 ce 40 00       	push   $0x40cec7
40cc14:	64 ff 30             	push   %fs:(%eax)
40cc17:	64 89 20             	mov    %esp,%fs:(%eax)
40cc1a:	e8 69 fe ff ff       	call   0x40ca88
40cc1f:	e8 c4 e7 ff ff       	call   0x40b3e8
40cc24:	80 3d 4c 57 47 00 00 	cmpb   $0x0,0x47574c
40cc2b:	74 05                	je     0x40cc32
40cc2d:	e8 8e e9 ff ff       	call   0x40b5c0
40cc32:	e8 65 97 ff ff       	call   0x40639c
40cc37:	8b d8                	mov    %eax,%ebx
40cc39:	8d 45 f0             	lea    -0x10(%ebp),%eax
40cc3c:	50                   	push   %eax
40cc3d:	33 c9                	xor    %ecx,%ecx
40cc3f:	ba 14 00 00 00       	mov    $0x14,%edx
40cc44:	8b c3                	mov    %ebx,%eax
40cc46:	e8 ed e6 ff ff       	call   0x40b338
40cc4b:	8b 55 f0             	mov    -0x10(%ebp),%edx
40cc4e:	b8 80 56 47 00       	mov    $0x475680,%eax
40cc53:	e8 4c 74 ff ff       	call   0x4040a4
40cc58:	8d 45 ec             	lea    -0x14(%ebp),%eax
40cc5b:	50                   	push   %eax
40cc5c:	b9 dc ce 40 00       	mov    $0x40cedc,%ecx
40cc61:	ba 1b 00 00 00       	mov    $0x1b,%edx
40cc66:	8b c3                	mov    %ebx,%eax
40cc68:	e8 cb e6 ff ff       	call   0x40b338
40cc6d:	8b 45 ec             	mov    -0x14(%ebp),%eax
40cc70:	33 d2                	xor    %edx,%edx
40cc72:	e8 75 b6 ff ff       	call   0x4082ec
40cc77:	a2 84 56 47 00       	mov    %al,0x475684
40cc7c:	8d 45 e8             	lea    -0x18(%ebp),%eax
40cc7f:	50                   	push   %eax
40cc80:	b9 dc ce 40 00       	mov    $0x40cedc,%ecx
40cc85:	ba 1c 00 00 00       	mov    $0x1c,%edx
40cc8a:	8b c3                	mov    %ebx,%eax
40cc8c:	e8 a7 e6 ff ff       	call   0x40b338
40cc91:	8b 45 e8             	mov    -0x18(%ebp),%eax
40cc94:	33 d2                	xor    %edx,%edx
40cc96:	e8 51 b6 ff ff       	call   0x4082ec
40cc9b:	a2 85 56 47 00       	mov    %al,0x475685
40cca0:	b1 2c                	mov    $0x2c,%cl
40cca2:	ba 0f 00 00 00       	mov    $0xf,%edx
40cca7:	8b c3                	mov    %ebx,%eax
40cca9:	e8 d6 e6 ff ff       	call   0x40b384
40ccae:	a2 86 56 47 00       	mov    %al,0x475686
40ccb3:	b1 2e                	mov    $0x2e,%cl
40ccb5:	ba 0e 00 00 00       	mov    $0xe,%edx
40ccba:	8b c3                	mov    %ebx,%eax
40ccbc:	e8 c3 e6 ff ff       	call   0x40b384
40ccc1:	a2 87 56 47 00       	mov    %al,0x475687
40ccc6:	8d 45 e4             	lea    -0x1c(%ebp),%eax
40ccc9:	50                   	push   %eax
40ccca:	b9 dc ce 40 00       	mov    $0x40cedc,%ecx
40cccf:	ba 19 00 00 00       	mov    $0x19,%edx
40ccd4:	8b c3                	mov    %ebx,%eax
40ccd6:	e8 5d e6 ff ff       	call   0x40b338
40ccdb:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40ccde:	33 d2                	xor    %edx,%edx
40cce0:	e8 07 b6 ff ff       	call   0x4082ec
40cce5:	a2 88 56 47 00       	mov    %al,0x475688
40ccea:	b1 2f                	mov    $0x2f,%cl
40ccec:	ba 1d 00 00 00       	mov    $0x1d,%edx
40ccf1:	8b c3                	mov    %ebx,%eax
40ccf3:	e8 8c e6 ff ff       	call   0x40b384
40ccf8:	a2 89 56 47 00       	mov    %al,0x475689
40ccfd:	8d 45 dc             	lea    -0x24(%ebp),%eax
40cd00:	50                   	push   %eax
40cd01:	b9 e8 ce 40 00       	mov    $0x40cee8,%ecx
40cd06:	ba 1f 00 00 00       	mov    $0x1f,%edx
40cd0b:	8b c3                	mov    %ebx,%eax
40cd0d:	e8 26 e6 ff ff       	call   0x40b338
40cd12:	8b 45 dc             	mov    -0x24(%ebp),%eax
40cd15:	8d 55 e0             	lea    -0x20(%ebp),%edx
40cd18:	e8 53 e9 ff ff       	call   0x40b670
40cd1d:	8b 55 e0             	mov    -0x20(%ebp),%edx
40cd20:	b8 8c 56 47 00       	mov    $0x47568c,%eax
40cd25:	e8 7a 73 ff ff       	call   0x4040a4
40cd2a:	8d 45 d4             	lea    -0x2c(%ebp),%eax
40cd2d:	50                   	push   %eax
40cd2e:	b9 f8 ce 40 00       	mov    $0x40cef8,%ecx
40cd33:	ba 20 00 00 00       	mov    $0x20,%edx
40cd38:	8b c3                	mov    %ebx,%eax
40cd3a:	e8 f9 e5 ff ff       	call   0x40b338
40cd3f:	8b 45 d4             	mov    -0x2c(%ebp),%eax
40cd42:	8d 55 d8             	lea    -0x28(%ebp),%edx
40cd45:	e8 26 e9 ff ff       	call   0x40b670
40cd4a:	8b 55 d8             	mov    -0x28(%ebp),%edx