404da7:	31 c0                	xor    %eax,%eax
404da9:	eb 30                	jmp    0x404ddb
404dab:	3a 0a                	cmp    (%edx),%cl
404dad:	74 25                	je     0x404dd4
404daf:	3a 4a 01             	cmp    0x1(%edx),%cl
404db2:	74 30                	je     0x404de4
404db4:	3a 4a 02             	cmp    0x2(%edx),%cl
404db7:	74 18                	je     0x404dd1
404db9:	3a 4a 03             	cmp    0x3(%edx),%cl
404dbc:	74 23                	je     0x404de1
404dbe:	83 c2 04             	add    $0x4,%edx
404dc1:	3b 54 24 0c          	cmp    0xc(%esp),%edx
404dc5:	72 e4                	jb     0x404dab
404dc7:	3b 54 24 08          	cmp    0x8(%esp),%edx
404dcb:	72 c2                	jb     0x404d8f
404dcd:	31 c0                	xor    %eax,%eax
404dcf:	eb 0a                	jmp    0x404ddb
404dd1:	83 c2 02             	add    $0x2,%edx
404dd4:	42                   	inc    %edx
404dd5:	89 d0                	mov    %edx,%eax
404dd7:	2b 44 24 04          	sub    0x4(%esp),%eax
404ddb:	83 c4 10             	add    $0x10,%esp
404dde:	5e                   	pop    %esi
404ddf:	5b                   	pop    %ebx
404de0:	c3                   	ret
404de1:	83 c2 02             	add    $0x2,%edx
404de4:	83 c2 02             	add    $0x2,%edx
404de7:	31 c0                	xor    %eax,%eax
404de9:	3b 54 24 08          	cmp    0x8(%esp),%edx
404ded:	77 06                	ja     0x404df5
404def:	89 d0                	mov    %edx,%eax
404df1:	2b 44 24 04          	sub    0x4(%esp),%eax
404df5:	83 c4 10             	add    $0x10,%esp
404df8:	5e                   	pop    %esi
404df9:	5b                   	pop    %ebx
404dfa:	c3                   	ret
404dfb:	3a 0a                	cmp    (%edx),%cl
404dfd:	74 75                	je     0x404e74
404dff:	3a 4a 01             	cmp    0x1(%edx),%cl
404e02:	74 43                	je     0x404e47
404e04:	3a 4a 02             	cmp    0x2(%edx),%cl
404e07:	74 68                	je     0x404e71
404e09:	3a 4a 03             	cmp    0x3(%edx),%cl
404e0c:	74 36                	je     0x404e44
404e0e:	83 c2 04             	add    $0x4,%edx
404e11:	3b 54 24 0c          	cmp    0xc(%esp),%edx
404e15:	72 e4                	jb     0x404dfb
404e17:	3b 54 24 08          	cmp    0x8(%esp),%edx
404e1b:	72 0b                	jb     0x404e28
404e1d:	31 c0                	xor    %eax,%eax
404e1f:	eb 4a                	jmp    0x404e6b
404e21:	83 ee 02             	sub    $0x2,%esi
404e24:	89 74 24 0c          	mov    %esi,0xc(%esp)
404e28:	3a 0a                	cmp    (%edx),%cl
404e2a:	74 48                	je     0x404e74
404e2c:	3a 4a 01             	cmp    0x1(%edx),%cl
404e2f:	74 16                	je     0x404e47
404e31:	83 c2 02             	add    $0x2,%edx
404e34:	3b 54 24 0c          	cmp    0xc(%esp),%edx
404e38:	72 c1                	jb     0x404dfb
404e3a:	3b 54 24 08          	cmp    0x8(%esp),%edx
404e3e:	72 e8                	jb     0x404e28
404e40:	31 c0                	xor    %eax,%eax
404e42:	eb 27                	jmp    0x404e6b
404e44:	83 c2 02             	add    $0x2,%edx
404e47:	8b 34 24             	mov    (%esp),%esi
404e4a:	0f b7 1c 30          	movzwl (%eax,%esi,1),%ebx
404e4e:	66 3b 5c 32 01       	cmp    0x1(%edx,%esi,1),%bx
404e53:	75 dc                	jne    0x404e31
404e55:	83 c6 02             	add    $0x2,%esi
404e58:	7c f0                	jl     0x404e4a
404e5a:	83 c2 02             	add    $0x2,%edx
404e5d:	31 c0                	xor    %eax,%eax
404e5f:	3b 54 24 08          	cmp    0x8(%esp),%edx
404e63:	77 06                	ja     0x404e6b
404e65:	89 d0                	mov    %edx,%eax
404e67:	2b 44 24 04          	sub    0x4(%esp),%eax
404e6b:	83 c4 10             	add    $0x10,%esp
404e6e:	5e                   	pop    %esi
404e6f:	5b                   	pop    %ebx
404e70:	c3                   	ret
404e71:	83 c2 02             	add    $0x2,%edx
404e74:	8b 34 24             	mov    (%esp),%esi
404e77:	0f b7 1c 30          	movzwl (%eax,%esi,1),%ebx
404e7b:	66 3b 1c 32          	cmp    (%edx,%esi,1),%bx
404e7f:	75 ab                	jne    0x404e2c
404e81:	83 c6 02             	add    $0x2,%esi
404e84:	7c f1                	jl     0x404e77
404e86:	42                   	inc    %edx
404e87:	89 d0                	mov    %edx,%eax
404e89:	2b 44 24 04          	sub    0x4(%esp),%eax
404e8d:	83 c4 10             	add    $0x10,%esp
404e90:	5e                   	pop    %esi
404e91:	5b                   	pop    %ebx
404e92:	c3                   	ret
404e93:	90                   	nop
404e94:	53                   	push   %ebx
404e95:	56                   	push   %esi
404e96:	57                   	push   %edi
404e97:	89 c3                	mov    %eax,%ebx
404e99:	89 d6                	mov    %edx,%esi
404e9b:	31 ff                	xor    %edi,%edi
404e9d:	85 d2                	test   %edx,%edx
404e9f:	7e 48                	jle    0x404ee9
404ea1:	8b 03                	mov    (%ebx),%eax
404ea3:	85 c0                	test   %eax,%eax
404ea5:	74 23                	je     0x404eca
404ea7:	83 78 f8 01          	cmpl   $0x1,-0x8(%eax)
404eab:	75 1d                	jne    0x404eca
404ead:	83 e8 08             	sub    $0x8,%eax
404eb0:	83 c2 09             	add    $0x9,%edx
404eb3:	50                   	push   %eax
404eb4:	89 e0                	mov    %esp,%eax
404eb6:	e8 75 de ff ff       	call   0x402d30
404ebb:	58                   	pop    %eax
404ebc:	83 c0 08             	add    $0x8,%eax
404ebf:	89 03                	mov    %eax,(%ebx)
404ec1:	89 70 fc             	mov    %esi,-0x4(%eax)
404ec4:	c6 04 06 00          	movb   $0x0,(%esi,%eax,1)
404ec8:	eb 28                	jmp    0x404ef2
404eca:	89 d0                	mov    %edx,%eax
404ecc:	e8 3b f9 ff ff       	call   0x40480c
404ed1:	89 c7                	mov    %eax,%edi
404ed3:	8b 03                	mov    (%ebx),%eax
404ed5:	85 c0                	test   %eax,%eax
404ed7:	74 10                	je     0x404ee9
404ed9:	89 fa                	mov    %edi,%edx
404edb:	8b 48 fc             	mov    -0x4(%eax),%ecx
404ede:	39 f1                	cmp    %esi,%ecx
404ee0:	7c 02                	jl     0x404ee4
404ee2:	89 f1                	mov    %esi,%ecx
404ee4:	e8 03 e0 ff ff       	call   0x402eec
404ee9:	89 d8                	mov    %ebx,%eax
404eeb:	e8 58 f8 ff ff       	call   0x404748
404ef0:	89 3b                	mov    %edi,(%ebx)
404ef2:	5f                   	pop    %edi
404ef3:	5e                   	pop    %esi
404ef4:	5b                   	pop    %ebx
404ef5:	c3                   	ret
404ef6:	8b c0                	mov    %eax,%eax
404ef8:	53                   	push   %ebx
404ef9:	56                   	push   %esi
404efa:	57                   	push   %edi
404efb:	89 c3                	mov    %eax,%ebx
404efd:	89 d6                	mov    %edx,%esi
404eff:	89 cf                	mov    %ecx,%edi
404f01:	89 c8                	mov    %ecx,%eax
404f03:	e8 40 f8 ff ff       	call   0x404748
404f08:	85 f6                	test   %esi,%esi
404f0a:	7e 12                	jle    0x404f1e
404f0c:	89 f0                	mov    %esi,%eax
404f0e:	e8 f9 f8 ff ff       	call   0x40480c
404f13:	89 07                	mov    %eax,(%edi)
404f15:	89 f2                	mov    %esi,%edx
404f17:	88 d9                	mov    %bl,%cl
404f19:	e8 3a e3 ff ff       	call   0x403258
404f1e:	5f                   	pop    %edi
404f1f:	5e                   	pop    %esi
404f20:	5b                   	pop    %ebx
404f21:	c3                   	ret
404f22:	8b c0                	mov    %eax,%eax
404f24:	b0 01                	mov    $0x1,%al
404f26:	e9 21 df ff ff       	jmp    0x402e4c
404f2b:	c3                   	ret
404f2c:	85 c0                	test   %eax,%eax
404f2e:	74 10                	je     0x404f40
404f30:	50                   	push   %eax
404f31:	6a 00                	push   $0x0
404f33:	e8 14 c4 ff ff       	call   0x40134c
404f38:	85 c0                	test   %eax,%eax
404f3a:	0f 84 e4 ff ff ff    	je     0x404f24
404f40:	c3                   	ret
404f41:	8d 40 00             	lea    0x0(%eax),%eax
404f44:	87 10                	xchg   %edx,(%eax)
404f46:	85 d2                	test   %edx,%edx
404f48:	74 06                	je     0x404f50
404f4a:	52                   	push   %edx
404f4b:	e8 0c c4 ff ff       	call   0x40135c
404f50:	c3                   	ret
404f51:	8d 40 00             	lea    0x0(%eax),%eax
404f54:	8b 10                	mov    (%eax),%edx
404f56:	85 d2                	test   %edx,%edx
404f58:	74 0e                	je     0x404f68
404f5a:	c7 00 00 00 00 00    	movl   $0x0,(%eax)
404f60:	50                   	push   %eax
404f61:	52                   	push   %edx
404f62:	e8 f5 c3 ff ff       	call   0x40135c
404f67:	58                   	pop    %eax
404f68:	c3                   	ret
404f69:	8d 40 00             	lea    0x0(%eax),%eax
404f6c:	53                   	push   %ebx
404f6d:	56                   	push   %esi
404f6e:	89 c3                	mov    %eax,%ebx
404f70:	89 d6                	mov    %edx,%esi
404f72:	8b 03                	mov    (%ebx),%eax
404f74:	85 c0                	test   %eax,%eax
404f76:	74 0c                	je     0x404f84
404f78:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)
404f7e:	50                   	push   %eax
404f7f:	e8 d8 c3 ff ff       	call   0x40135c
404f84:	83 c3 04             	add    $0x4,%ebx
404f87:	4e                   	dec    %esi
404f88:	75 e8                	jne    0x404f72
404f8a:	5e                   	pop    %esi
404f8b:	5b                   	pop    %ebx
404f8c:	c3                   	ret
404f8d:	8d 40 00             	lea    0x0(%eax),%eax
404f90:	39 10                	cmp    %edx,(%eax)
404f92:	74 23                	je     0x404fb7
404f94:	85 d2                	test   %edx,%edx
404f96:	0f 84 b8 ff ff ff    	je     0x404f54
404f9c:	8b 4a fc             	mov    -0x4(%edx),%ecx
404f9f:	d1 e9                	shr    $1,%ecx
404fa1:	0f 84 ad ff ff ff    	je     0x404f54
404fa7:	51                   	push   %ecx
404fa8:	52                   	push   %edx
404fa9:	50                   	push   %eax
404faa:	e8 a5 c3 ff ff       	call   0x401354
404faf:	85 c0                	test   %eax,%eax
404fb1:	0f 84 6d ff ff ff    	je     0x404f24
404fb7:	c3                   	ret
404fb8:	53                   	push   %ebx
404fb9:	56                   	push   %esi
404fba:	57                   	push   %edi
404fbb:	55                   	push   %ebp
404fbc:	81 c4 04 f0 ff ff    	add    $0xfffff004,%esp
404fc2:	50                   	push   %eax
404fc3:	83 c4 fc             	add    $0xfffffffc,%esp
404fc6:	8b f1                	mov    %ecx,%esi
404fc8:	89 14 24             	mov    %edx,(%esp)
404fcb:	8b f8                	mov    %eax,%edi
404fcd:	85 f6                	test   %esi,%esi
404fcf:	7f 09                	jg     0x404fda
404fd1:	8b c7                	mov    %edi,%eax
404fd3:	e8 7c ff ff ff       	call   0x404f54
404fd8:	eb 5d                	jmp    0x405037
404fda:	8d 6e 01             	lea    0x1(%esi),%ebp
404fdd:	81 fd ff 07 00 00    	cmp    $0x7ff,%ebp
404fe3:	7d 28                	jge    0x40500d
404fe5:	56                   	push   %esi
404fe6:	8d 44 24 08          	lea    0x8(%esp),%eax
404fea:	8b 4c 24 04          	mov    0x4(%esp),%ecx
404fee:	ba ff 07 00 00       	mov    $0x7ff,%edx
404ff3:	e8 90 f8 ff ff       	call   0x404888
404ff8:	8b d8                	mov    %eax,%ebx
404ffa:	85 db                	test   %ebx,%ebx
404ffc:	7e 0f                	jle    0x40500d
404ffe:	8d 54 24 04          	lea    0x4(%esp),%edx
405002:	8b c7                	mov    %edi,%eax
405004:	8b cb                	mov    %ebx,%ecx
405006:	e8 39 00 00 00       	call   0x405044
40500b:	eb 2a                	jmp    0x405037
40500d:	8b dd                	mov    %ebp,%ebx
40500f:	8b c7                	mov    %edi,%eax
405011:	8b d3                	mov    %ebx,%edx
405013:	e8 88 01 00 00       	call   0x4051a0
405018:	56                   	push   %esi
405019:	8b 07                	mov    (%edi),%eax
40501b:	8b 4c 24 04          	mov    0x4(%esp),%ecx
40501f:	8b d3                	mov    %ebx,%edx
405021:	e8 62 f8 ff ff       	call   0x404888
405026:	8b d8                	mov    %eax,%ebx
405028:	85 db                	test   %ebx,%ebx
40502a:	7d 02                	jge    0x40502e
40502c:	33 db                	xor    %ebx,%ebx
40502e:	8b c7                	mov    %edi,%eax
405030:	8b d3                	mov    %ebx,%edx
405032:	e8 69 01 00 00       	call   0x4051a0
405037:	81 c4 04 10 00 00    	add    $0x1004,%esp
40503d:	5d                   	pop    %ebp
40503e:	5f                   	pop    %edi
40503f:	5e                   	pop    %esi
405040:	5b                   	pop    %ebx
405041:	c3                   	ret
405042:	8b c0                	mov    %eax,%eax
405044:	85 c9                	test   %ecx,%ecx
405046:	0f 84 08 ff ff ff    	je     0x404f54
40504c:	50                   	push   %eax
40504d:	51                   	push   %ecx
40504e:	52                   	push   %edx
40504f:	e8 f8 c2 ff ff       	call   0x40134c
405054:	85 c0                	test   %eax,%eax
405056:	0f 84 c8 fe ff ff    	je     0x404f24
40505c:	5a                   	pop    %edx
40505d:	ff 32                	push   (%edx)
40505f:	89 02                	mov    %eax,(%edx)
405061:	e8 f6 c2 ff ff       	call   0x40135c
405066:	c3                   	ret
405067:	90                   	nop
405068:	31 c9                	xor    %ecx,%ecx
40506a:	85 d2                	test   %edx,%edx
40506c:	74 2d                	je     0x40509b
40506e:	52                   	push   %edx
40506f:	66 3b 0a             	cmp    (%edx),%cx
405072:	74 20                	je     0x405094
405074:	66 3b 4a 02          	cmp    0x2(%edx),%cx
405078:	74 17                	je     0x405091
40507a:	66 3b 4a 04          	cmp    0x4(%edx),%cx
40507e:	74 0e                	je     0x40508e
405080:	66 3b 4a 06          	cmp    0x6(%edx),%cx
405084:	74 05                	je     0x40508b
405086:	83 c2 08             	add    $0x8,%edx
405089:	eb e4                	jmp    0x40506f
40508b:	83 c2 02             	add    $0x2,%edx
40508e:	83 c2 02             	add    $0x2,%edx
405091:	83 c2 02             	add    $0x2,%edx
405094:	89 d1                	mov    %edx,%ecx
405096:	5a                   	pop    %edx
405097:	29 d1                	sub    %edx,%ecx
405099:	d1 e9                	shr    $1,%ecx
40509b:	e9 a4 ff ff ff       	jmp    0x405044
4050a0:	c3                   	ret
4050a1:	8d 40 00             	lea    0x0(%eax),%eax
4050a4:	31 c9                	xor    %ecx,%ecx
4050a6:	85 d2                	test   %edx,%edx
4050a8:	74 03                	je     0x4050ad
4050aa:	8b 4a fc             	mov    -0x4(%edx),%ecx
4050ad:	e9 06 ff ff ff       	jmp    0x404fb8
4050b2:	c3                   	ret
4050b3:	90                   	nop
4050b4:	85 c0                	test   %eax,%eax
4050b6:	74 04                	je     0x4050bc
4050b8:	c3                   	ret
4050b9:	90                   	nop
4050ba:	00 00                	add    %al,(%eax)
4050bc:	b8 ba 50 40 00       	mov    $0x4050ba,%eax
4050c1:	c3                   	ret
4050c2:	8b c0                	mov    %eax,%eax
4050c4:	85 c0                	test   %eax,%eax
4050c6:	74 05                	je     0x4050cd
4050c8:	8b 40 fc             	mov    -0x4(%eax),%eax
4050cb:	d1 e8                	shr    $1,%eax
4050cd:	c3                   	ret
4050ce:	8b c0                	mov    %eax,%eax
4050d0:	53                   	push   %ebx
4050d1:	56                   	push   %esi
4050d2:	57                   	push   %edi
4050d3:	89 c6                	mov    %eax,%esi
4050d5:	89 d7                	mov    %edx,%edi
4050d7:	39 d0                	cmp    %edx,%eax
4050d9:	74 72                	je     0x40514d
4050db:	85 f6                	test   %esi,%esi
4050dd:	74 51                	je     0x405130
4050df:	85 ff                	test   %edi,%edi
4050e1:	74 54                	je     0x405137
4050e3:	8b 46 fc             	mov    -0x4(%esi),%eax
4050e6:	8b 57 fc             	mov    -0x4(%edi),%edx
4050e9:	29 d0                	sub    %edx,%eax
4050eb:	77 02                	ja     0x4050ef
4050ed:	01 c2                	add    %eax,%edx