401d36:	01 15 b8 c5 49 00    	add    %edx,0x49c5b8
401d3c:	e8 f3 05 00 00       	call   0x402334
401d41:	c3                   	ret
401d42:	8b c0                	mov    %eax,%eax
401d44:	83 fa 0c             	cmp    $0xc,%edx
401d47:	7c 0e                	jl     0x401d57
401d49:	83 ca 02             	or     $0x2,%edx
401d4c:	89 10                	mov    %edx,(%eax)
401d4e:	83 c0 04             	add    $0x4,%eax
401d51:	e8 ca ff ff ff       	call   0x401d20
401d56:	c3                   	ret
401d57:	83 fa 04             	cmp    $0x4,%edx
401d5a:	7c 0a                	jl     0x401d66
401d5c:	8b ca                	mov    %edx,%ecx
401d5e:	81 c9 02 00 00 80    	or     $0x80000002,%ecx
401d64:	89 08                	mov    %ecx,(%eax)
401d66:	03 c2                	add    %edx,%eax
401d68:	83 20 fe             	andl   $0xfffffffe,(%eax)
401d6b:	c3                   	ret
401d6c:	53                   	push   %ebx
401d6d:	56                   	push   %esi
401d6e:	8b d0                	mov    %eax,%edx
401d70:	83 ea 04             	sub    $0x4,%edx
401d73:	8b 12                	mov    (%edx),%edx
401d75:	8b ca                	mov    %edx,%ecx
401d77:	81 e1 02 00 00 80    	and    $0x80000002,%ecx
401d7d:	81 f9 02 00 00 80    	cmp    $0x80000002,%ecx
401d83:	74 0a                	je     0x401d8f
401d85:	c7 05 c8 c5 49 00 04 	movl   $0x4,0x49c5c8
401d8c:	00 00 00
401d8f:	8b da                	mov    %edx,%ebx
401d91:	81 e3 fc ff ff 7f    	and    $0x7ffffffc,%ebx
401d97:	2b c3                	sub    %ebx,%eax
401d99:	8b c8                	mov    %eax,%ecx
401d9b:	33 11                	xor    (%ecx),%edx
401d9d:	f7 c2 fe ff ff ff    	test   $0xfffffffe,%edx
401da3:	74 0a                	je     0x401daf
401da5:	c7 05 c8 c5 49 00 05 	movl   $0x5,0x49c5c8
401dac:	00 00 00
401daf:	f6 01 01             	testb  $0x1,(%ecx)
401db2:	74 20                	je     0x401dd4
401db4:	8b d0                	mov    %eax,%edx
401db6:	83 ea 0c             	sub    $0xc,%edx
401db9:	8b 72 08             	mov    0x8(%edx),%esi
401dbc:	2b c6                	sub    %esi,%eax
401dbe:	3b 70 08             	cmp    0x8(%eax),%esi
401dc1:	74 0a                	je     0x401dcd
401dc3:	c7 05 c8 c5 49 00 06 	movl   $0x6,0x49c5c8
401dca:	00 00 00
401dcd:	e8 8a fe ff ff       	call   0x401c5c
401dd2:	03 de                	add    %esi,%ebx
401dd4:	8b c3                	mov    %ebx,%eax
401dd6:	5e                   	pop    %esi
401dd7:	5b                   	pop    %ebx
401dd8:	c3                   	ret
401dd9:	8d 40 00             	lea    0x0(%eax),%eax
401ddc:	53                   	push   %ebx
401ddd:	56                   	push   %esi
401dde:	57                   	push   %edi
401ddf:	8b d8                	mov    %eax,%ebx
401de1:	33 ff                	xor    %edi,%edi
401de3:	8b 03                	mov    (%ebx),%eax
401de5:	a9 00 00 00 80       	test   $0x80000000,%eax
401dea:	74 0b                	je     0x401df7
401dec:	25 fc ff ff 7f       	and    $0x7ffffffc,%eax
401df1:	03 f8                	add    %eax,%edi
401df3:	03 d8                	add    %eax,%ebx
401df5:	8b 03                	mov    (%ebx),%eax
401df7:	a8 02                	test   $0x2,%al
401df9:	75 13                	jne    0x401e0e
401dfb:	8b f3                	mov    %ebx,%esi
401dfd:	8b c6                	mov    %esi,%eax
401dff:	e8 58 fe ff ff       	call   0x401c5c
401e04:	8b 46 08             	mov    0x8(%esi),%eax
401e07:	03 f8                	add    %eax,%edi
401e09:	03 d8                	add    %eax,%ebx
401e0b:	83 23 fe             	andl   $0xfffffffe,(%ebx)
401e0e:	8b c7                	mov    %edi,%eax
401e10:	5f                   	pop    %edi
401e11:	5e                   	pop    %esi
401e12:	5b                   	pop    %ebx
401e13:	c3                   	ret
401e14:	53                   	push   %ebx
401e15:	56                   	push   %esi
401e16:	57                   	push   %edi
401e17:	55                   	push   %ebp
401e18:	83 c4 f4             	add    $0xfffffff4,%esp
401e1b:	8b fa                	mov    %edx,%edi
401e1d:	8b f0                	mov    %eax,%esi
401e1f:	c6 04 24 00          	movb   $0x0,(%esp)
401e23:	8b c6                	mov    %esi,%eax
401e25:	e8 96 fe ff ff       	call   0x401cc0
401e2a:	8b d8                	mov    %eax,%ebx
401e2c:	85 db                	test   %ebx,%ebx
401e2e:	0f 84 82 00 00 00    	je     0x401eb6
401e34:	8b 6b 08             	mov    0x8(%ebx),%ebp
401e37:	8b c5                	mov    %ebp,%eax
401e39:	03 43 0c             	add    0xc(%ebx),%eax
401e3c:	8b d0                	mov    %eax,%edx
401e3e:	8d 0c 37             	lea    (%edi,%esi,1),%ecx
401e41:	2b d1                	sub    %ecx,%edx
401e43:	83 fa 0c             	cmp    $0xc,%edx
401e46:	7f 04                	jg     0x401e4c
401e48:	8b f8                	mov    %eax,%edi
401e4a:	2b fe                	sub    %esi,%edi
401e4c:	8b c6                	mov    %esi,%eax
401e4e:	2b c5                	sub    %ebp,%eax
401e50:	83 f8 0c             	cmp    $0xc,%eax
401e53:	7d 14                	jge    0x401e69
401e55:	8d 4c 24 01          	lea    0x1(%esp),%ecx
401e59:	8b d6                	mov    %esi,%edx
401e5b:	2b 53 08             	sub    0x8(%ebx),%edx
401e5e:	03 d7                	add    %edi,%edx
401e60:	8b c5                	mov    %ebp,%eax
401e62:	e8 c5 fb ff ff       	call   0x401a2c
401e67:	eb 11                	jmp    0x401e7a
401e69:	8d 4c 24 01          	lea    0x1(%esp),%ecx
401e6d:	8b d7                	mov    %edi,%edx
401e6f:	83 ea 04             	sub    $0x4,%edx
401e72:	8d 46 04             	lea    0x4(%esi),%eax
401e75:	e8 b2 fb ff ff       	call   0x401a2c
401e7a:	8b 6c 24 01          	mov    0x1(%esp),%ebp
401e7e:	85 ed                	test   %ebp,%ebp
401e80:	74 34                	je     0x401eb6
401e82:	8b d5                	mov    %ebp,%edx
401e84:	2b d6                	sub    %esi,%edx
401e86:	8b c6                	mov    %esi,%eax
401e88:	e8 63 fe ff ff       	call   0x401cf0
401e8d:	8b c5                	mov    %ebp,%eax
401e8f:	03 44 24 05          	add    0x5(%esp),%eax
401e93:	8b 53 08             	mov    0x8(%ebx),%edx
401e96:	03 53 0c             	add    0xc(%ebx),%edx
401e99:	3b c2                	cmp    %edx,%eax
401e9b:	73 0a                	jae    0x401ea7
401e9d:	8d 14 37             	lea    (%edi,%esi,1),%edx
401ea0:	2b d0                	sub    %eax,%edx
401ea2:	e8 9d fe ff ff       	call   0x401d44
401ea7:	8d 54 24 01          	lea    0x1(%esp),%edx
401eab:	8b c3                	mov    %ebx,%eax
401ead:	e8 8a f6 ff ff       	call   0x40153c
401eb2:	c6 04 24 01          	movb   $0x1,(%esp)
401eb6:	8a 04 24             	mov    (%esp),%al
401eb9:	83 c4 0c             	add    $0xc,%esp
401ebc:	5d                   	pop    %ebp
401ebd:	5f                   	pop    %edi
401ebe:	5e                   	pop    %esi
401ebf:	5b                   	pop    %ebx
401ec0:	c3                   	ret
401ec1:	8d 40 00             	lea    0x0(%eax),%eax
401ec4:	53                   	push   %ebx
401ec5:	56                   	push   %esi
401ec6:	57                   	push   %edi
401ec7:	8b f2                	mov    %edx,%esi
401ec9:	8b f8                	mov    %eax,%edi
401ecb:	8b df                	mov    %edi,%ebx
401ecd:	89 73 08             	mov    %esi,0x8(%ebx)
401ed0:	8b c3                	mov    %ebx,%eax
401ed2:	03 c6                	add    %esi,%eax
401ed4:	83 e8 0c             	sub    $0xc,%eax
401ed7:	89 70 08             	mov    %esi,0x8(%eax)
401eda:	81 fe 00 10 00 00    	cmp    $0x1000,%esi
401ee0:	7f 37                	jg     0x401f19
401ee2:	8b d6                	mov    %esi,%edx
401ee4:	85 d2                	test   %edx,%edx
401ee6:	79 03                	jns    0x401eeb
401ee8:	83 c2 03             	add    $0x3,%edx
401eeb:	c1 fa 02             	sar    $0x2,%edx
401eee:	a1 24 c6 49 00       	mov    0x49c624,%eax
401ef3:	8b 44 90 f4          	mov    -0xc(%eax,%edx,4),%eax
401ef7:	85 c0                	test   %eax,%eax
401ef9:	75 10                	jne    0x401f0b
401efb:	a1 24 c6 49 00       	mov    0x49c624,%eax
401f00:	89 5c 90 f4          	mov    %ebx,-0xc(%eax,%edx,4)
401f04:	89 5b 04             	mov    %ebx,0x4(%ebx)
401f07:	89 1b                	mov    %ebx,(%ebx)
401f09:	eb 3a                	jmp    0x401f45
401f0b:	8b 10                	mov    (%eax),%edx
401f0d:	89 43 04             	mov    %eax,0x4(%ebx)
401f10:	89 13                	mov    %edx,(%ebx)
401f12:	89 18                	mov    %ebx,(%eax)
401f14:	89 5a 04             	mov    %ebx,0x4(%edx)
401f17:	eb 2c                	jmp    0x401f45
401f19:	81 fe 00 3c 00 00    	cmp    $0x3c00,%esi
401f1f:	7c 0d                	jl     0x401f2e
401f21:	8b d6                	mov    %esi,%edx
401f23:	8b c7                	mov    %edi,%eax
401f25:	e8 ea fe ff ff       	call   0x401e14
401f2a:	84 c0                	test   %al,%al
401f2c:	75 17                	jne    0x401f45
401f2e:	a1 18 c6 49 00       	mov    0x49c618,%eax
401f33:	89 1d 18 c6 49 00    	mov    %ebx,0x49c618
401f39:	8b 10                	mov    (%eax),%edx
401f3b:	89 43 04             	mov    %eax,0x4(%ebx)
401f3e:	89 13                	mov    %edx,(%ebx)
401f40:	89 18                	mov    %ebx,(%eax)
401f42:	89 5a 04             	mov    %ebx,0x4(%edx)
401f45:	5f                   	pop    %edi
401f46:	5e                   	pop    %esi
401f47:	5b                   	pop    %ebx
401f48:	c3                   	ret
401f49:	8d 40 00             	lea    0x0(%eax),%eax
401f4c:	83 3d 1c c6 49 00 00 	cmpl   $0x0,0x49c61c
401f53:	7e 40                	jle    0x401f95
401f55:	83 3d 1c c6 49 00 0c 	cmpl   $0xc,0x49c61c
401f5c:	7d 0c                	jge    0x401f6a
401f5e:	c7 05 c8 c5 49 00 07 	movl   $0x7,0x49c5c8
401f65:	00 00 00
401f68:	eb 2b                	jmp    0x401f95
401f6a:	a1 1c c6 49 00       	mov    0x49c61c,%eax
401f6f:	83 c8 02             	or     $0x2,%eax
401f72:	8b 15 20 c6 49 00    	mov    0x49c620,%edx
401f78:	89 02                	mov    %eax,(%edx)
401f7a:	a1 20 c6 49 00       	mov    0x49c620,%eax
401f7f:	83 c0 04             	add    $0x4,%eax
401f82:	e8 99 fd ff ff       	call   0x401d20
401f87:	33 c0                	xor    %eax,%eax
401f89:	a3 20 c6 49 00       	mov    %eax,0x49c620
401f8e:	33 c0                	xor    %eax,%eax
401f90:	a3 1c c6 49 00       	mov    %eax,0x49c61c
401f95:	c3                   	ret
401f96:	8b c0                	mov    %eax,%eax
401f98:	53                   	push   %ebx
401f99:	56                   	push   %esi
401f9a:	57                   	push   %edi
401f9b:	83 c4 f0             	add    $0xfffffff0,%esp
401f9e:	8b f0                	mov    %eax,%esi
401fa0:	8d 3c 24             	lea    (%esp),%edi
401fa3:	a5                   	movsl  %ds:(%esi),%es:(%edi)
401fa4:	a5                   	movsl  %ds:(%esi),%es:(%edi)
401fa5:	8b fc                	mov    %esp,%edi
401fa7:	e8 a0 ff ff ff       	call   0x401f4c
401fac:	8d 4c 24 08          	lea    0x8(%esp),%ecx
401fb0:	8b d7                	mov    %edi,%edx
401fb2:	b8 28 c6 49 00       	mov    $0x49c628,%eax
401fb7:	e8 10 f5 ff ff       	call   0x4014cc
401fbc:	8b 5c 24 08          	mov    0x8(%esp),%ebx
401fc0:	85 db                	test   %ebx,%ebx
401fc2:	75 04                	jne    0x401fc8
401fc4:	33 c0                	xor    %eax,%eax
401fc6:	eb 52                	jmp    0x40201a
401fc8:	8b 07                	mov    (%edi),%eax
401fca:	3b d8                	cmp    %eax,%ebx
401fcc:	73 0a                	jae    0x401fd8
401fce:	e8 99 fd ff ff       	call   0x401d6c
401fd3:	29 07                	sub    %eax,(%edi)
401fd5:	01 47 04             	add    %eax,0x4(%edi)
401fd8:	8b 07                	mov    (%edi),%eax
401fda:	03 47 04             	add    0x4(%edi),%eax
401fdd:	8b f3                	mov    %ebx,%esi
401fdf:	03 74 24 0c          	add    0xc(%esp),%esi
401fe3:	3b c6                	cmp    %esi,%eax
401fe5:	73 08                	jae    0x401fef
401fe7:	e8 f0 fd ff ff       	call   0x401ddc
401fec:	01 47 04             	add    %eax,0x4(%edi)
401fef:	8b 07                	mov    (%edi),%eax
401ff1:	03 47 04             	add    0x4(%edi),%eax
401ff4:	3b f0                	cmp    %eax,%esi
401ff6:	75 11                	jne    0x402009
401ff8:	83 e8 04             	sub    $0x4,%eax
401ffb:	ba 04 00 00 00       	mov    $0x4,%edx
402000:	e8 eb fc ff ff       	call   0x401cf0
402005:	83 6f 04 04          	subl   $0x4,0x4(%edi)
402009:	8b 07                	mov    (%edi),%eax
40200b:	a3 20 c6 49 00       	mov    %eax,0x49c620
402010:	8b 47 04             	mov    0x4(%edi),%eax
402013:	a3 1c c6 49 00       	mov    %eax,0x49c61c
402018:	b0 01                	mov    $0x1,%al
40201a:	83 c4 10             	add    $0x10,%esp
40201d:	5f                   	pop    %edi
40201e:	5e                   	pop    %esi
40201f:	5b                   	pop    %ebx
402020:	c3                   	ret
402021:	8d 40 00             	lea    0x0(%eax),%eax
402024:	53                   	push   %ebx
402025:	83 c4 f8             	add    $0xfffffff8,%esp
402028:	8b d8                	mov    %eax,%ebx
40202a:	8b d4                	mov    %esp,%edx
40202c:	8d 43 04             	lea    0x4(%ebx),%eax
40202f:	e8 44 f8 ff ff       	call   0x401878
402034:	83 3c 24 00          	cmpl   $0x0,(%esp)
402038:	74 0b                	je     0x402045
40203a:	8b c4                	mov    %esp,%eax
40203c:	e8 57 ff ff ff       	call   0x401f98
402041:	84 c0                	test   %al,%al
402043:	75 04                	jne    0x402049
402045:	33 c0                	xor    %eax,%eax
402047:	eb 02                	jmp    0x40204b
402049:	b0 01                	mov    $0x1,%al
40204b:	59                   	pop    %ecx
40204c:	5a                   	pop    %edx
40204d:	5b                   	pop    %ebx
40204e:	c3                   	ret
40204f:	90                   	nop
402050:	53                   	push   %ebx
402051:	56                   	push   %esi
402052:	83 c4 f8             	add    $0xfffffff8,%esp
402055:	8b f2                	mov    %edx,%esi
402057:	8b d8                	mov    %eax,%ebx
402059:	8b cc                	mov    %esp,%ecx
40205b:	8d 56 04             	lea    0x4(%esi),%edx
40205e:	8b c3                	mov    %ebx,%eax
402060:	e8 a3 f8 ff ff       	call   0x401908
402065:	83 3c 24 00          	cmpl   $0x0,(%esp)
402069:	74 0b                	je     0x402076
40206b:	8b c4                	mov    %esp,%eax
40206d:	e8 26 ff ff ff       	call   0x401f98
402072:	84 c0                	test   %al,%al
402074:	75 04                	jne    0x40207a
402076:	33 c0                	xor    %eax,%eax
402078:	eb 02                	jmp    0x40207c
40207a:	b0 01                	mov    $0x1,%al
40207c:	59                   	pop    %ecx
40207d:	5a                   	pop    %edx
40207e:	5e                   	pop    %esi
40207f:	5b                   	pop    %ebx
402080:	c3                   	ret
402081:	8d 40 00             	lea    0x0(%eax),%eax
402084:	33 d2                	xor    %edx,%edx
402086:	85 c0                	test   %eax,%eax
402088:	79 03                	jns    0x40208d
40208a:	83 c0 03             	add    $0x3,%eax
40208d:	c1 f8 02             	sar    $0x2,%eax
402090:	3d 00 04 00 00       	cmp    $0x400,%eax
402095:	7f 16                	jg     0x4020ad
402097:	8b 15 24 c6 49 00    	mov    0x49c624,%edx
40209d:	8b 54 82 f4          	mov    -0xc(%edx,%eax,4),%edx
4020a1:	85 d2                	test   %edx,%edx
4020a3:	75 08                	jne    0x4020ad
4020a5:	40                   	inc    %eax
4020a6:	3d 01 04 00 00       	cmp    $0x401,%eax
4020ab:	75 ea                	jne    0x402097
4020ad:	8b c2                	mov    %edx,%eax
4020af:	c3                   	ret
4020b0:	53                   	push   %ebx
4020b1:	56                   	push   %esi
4020b2:	57                   	push   %edi
4020b3:	55                   	push   %ebp
4020b4:	8b f0                	mov    %eax,%esi
4020b6:	bf 18 c6 49 00       	mov    $0x49c618,%edi
4020bb:	bd 1c c6 49 00       	mov    $0x49c61c,%ebp
4020c0:	8b 1d 10 c6 49 00    	mov    0x49c610,%ebx
4020c6:	3b 73 08             	cmp    0x8(%ebx),%esi
4020c9:	0f 8e 84 00 00 00    	jle    0x402153
4020cf:	8b 1f                	mov    (%edi),%ebx
4020d1:	8b 43 08             	mov    0x8(%ebx),%eax
4020d4:	3b f0                	cmp    %eax,%esi
4020d6:	7e 7b                	jle    0x402153
4020d8:	89 73 08             	mov    %esi,0x8(%ebx)
4020db:	8b 5b 04             	mov    0x4(%ebx),%ebx
4020de:	3b 73 08             	cmp    0x8(%ebx),%esi