404dd2:	c3                   	ret
404dd3:	3a 0a                	cmp    (%edx),%cl
404dd5:	74 75                	je     0x404e4c
404dd7:	3a 4a 01             	cmp    0x1(%edx),%cl
404dda:	74 43                	je     0x404e1f
404ddc:	3a 4a 02             	cmp    0x2(%edx),%cl
404ddf:	74 68                	je     0x404e49
404de1:	3a 4a 03             	cmp    0x3(%edx),%cl
404de4:	74 36                	je     0x404e1c
404de6:	83 c2 04             	add    $0x4,%edx
404de9:	3b 54 24 0c          	cmp    0xc(%esp),%edx
404ded:	72 e4                	jb     0x404dd3
404def:	3b 54 24 08          	cmp    0x8(%esp),%edx
404df3:	72 0b                	jb     0x404e00
404df5:	31 c0                	xor    %eax,%eax
404df7:	eb 4a                	jmp    0x404e43
404df9:	83 ee 02             	sub    $0x2,%esi
404dfc:	89 74 24 0c          	mov    %esi,0xc(%esp)
404e00:	3a 0a                	cmp    (%edx),%cl
404e02:	74 48                	je     0x404e4c
404e04:	3a 4a 01             	cmp    0x1(%edx),%cl
404e07:	74 16                	je     0x404e1f
404e09:	83 c2 02             	add    $0x2,%edx
404e0c:	3b 54 24 0c          	cmp    0xc(%esp),%edx
404e10:	72 c1                	jb     0x404dd3
404e12:	3b 54 24 08          	cmp    0x8(%esp),%edx
404e16:	72 e8                	jb     0x404e00
404e18:	31 c0                	xor    %eax,%eax
404e1a:	eb 27                	jmp    0x404e43
404e1c:	83 c2 02             	add    $0x2,%edx
404e1f:	8b 34 24             	mov    (%esp),%esi
404e22:	0f b7 1c 30          	movzwl (%eax,%esi,1),%ebx
404e26:	66 3b 5c 32 01       	cmp    0x1(%edx,%esi,1),%bx
404e2b:	75 dc                	jne    0x404e09
404e2d:	83 c6 02             	add    $0x2,%esi
404e30:	7c f0                	jl     0x404e22
404e32:	83 c2 02             	add    $0x2,%edx
404e35:	31 c0                	xor    %eax,%eax
404e37:	3b 54 24 08          	cmp    0x8(%esp),%edx
404e3b:	77 06                	ja     0x404e43
404e3d:	89 d0                	mov    %edx,%eax
404e3f:	2b 44 24 04          	sub    0x4(%esp),%eax
404e43:	83 c4 10             	add    $0x10,%esp
404e46:	5e                   	pop    %esi
404e47:	5b                   	pop    %ebx
404e48:	c3                   	ret
404e49:	83 c2 02             	add    $0x2,%edx
404e4c:	8b 34 24             	mov    (%esp),%esi
404e4f:	0f b7 1c 30          	movzwl (%eax,%esi,1),%ebx
404e53:	66 3b 1c 32          	cmp    (%edx,%esi,1),%bx
404e57:	75 ab                	jne    0x404e04
404e59:	83 c6 02             	add    $0x2,%esi
404e5c:	7c f1                	jl     0x404e4f
404e5e:	42                   	inc    %edx
404e5f:	89 d0                	mov    %edx,%eax
404e61:	2b 44 24 04          	sub    0x4(%esp),%eax
404e65:	83 c4 10             	add    $0x10,%esp
404e68:	5e                   	pop    %esi
404e69:	5b                   	pop    %ebx
404e6a:	c3                   	ret
404e6b:	90                   	nop
404e6c:	53                   	push   %ebx
404e6d:	56                   	push   %esi
404e6e:	57                   	push   %edi
404e6f:	89 c3                	mov    %eax,%ebx
404e71:	89 d6                	mov    %edx,%esi
404e73:	31 ff                	xor    %edi,%edi
404e75:	85 d2                	test   %edx,%edx
404e77:	7e 48                	jle    0x404ec1
404e79:	8b 03                	mov    (%ebx),%eax
404e7b:	85 c0                	test   %eax,%eax
404e7d:	74 23                	je     0x404ea2
404e7f:	83 78 f8 01          	cmpl   $0x1,-0x8(%eax)
404e83:	75 1d                	jne    0x404ea2
404e85:	83 e8 08             	sub    $0x8,%eax
404e88:	83 c2 09             	add    $0x9,%edx
404e8b:	50                   	push   %eax
404e8c:	89 e0                	mov    %esp,%eax
404e8e:	e8 8d de ff ff       	call   0x402d20
404e93:	58                   	pop    %eax
404e94:	83 c0 08             	add    $0x8,%eax
404e97:	89 03                	mov    %eax,(%ebx)
404e99:	89 70 fc             	mov    %esi,-0x4(%eax)
404e9c:	c6 04 06 00          	movb   $0x0,(%esi,%eax,1)
404ea0:	eb 28                	jmp    0x404eca
404ea2:	89 d0                	mov    %edx,%eax
404ea4:	e8 3b f9 ff ff       	call   0x4047e4
404ea9:	89 c7                	mov    %eax,%edi
404eab:	8b 03                	mov    (%ebx),%eax
404ead:	85 c0                	test   %eax,%eax
404eaf:	74 10                	je     0x404ec1
404eb1:	89 fa                	mov    %edi,%edx
404eb3:	8b 48 fc             	mov    -0x4(%eax),%ecx
404eb6:	39 f1                	cmp    %esi,%ecx
404eb8:	7c 02                	jl     0x404ebc
404eba:	89 f1                	mov    %esi,%ecx
404ebc:	e8 1b e0 ff ff       	call   0x402edc
404ec1:	89 d8                	mov    %ebx,%eax
404ec3:	e8 58 f8 ff ff       	call   0x404720
404ec8:	89 3b                	mov    %edi,(%ebx)
404eca:	5f                   	pop    %edi
404ecb:	5e                   	pop    %esi
404ecc:	5b                   	pop    %ebx
404ecd:	c3                   	ret
404ece:	8b c0                	mov    %eax,%eax
404ed0:	b0 01                	mov    $0x1,%al
404ed2:	e9 65 df ff ff       	jmp    0x402e3c
404ed7:	c3                   	ret
404ed8:	85 c0                	test   %eax,%eax
404eda:	74 10                	je     0x404eec
404edc:	50                   	push   %eax
404edd:	6a 00                	push   $0x0
404edf:	e8 48 c4 ff ff       	call   0x40132c
404ee4:	85 c0                	test   %eax,%eax
404ee6:	0f 84 e4 ff ff ff    	je     0x404ed0
404eec:	c3                   	ret
404eed:	8d 40 00             	lea    0x0(%eax),%eax
404ef0:	87 10                	xchg   %edx,(%eax)
404ef2:	85 d2                	test   %edx,%edx
404ef4:	74 06                	je     0x404efc
404ef6:	52                   	push   %edx
404ef7:	e8 40 c4 ff ff       	call   0x40133c
404efc:	c3                   	ret
404efd:	8d 40 00             	lea    0x0(%eax),%eax
404f00:	8b 10                	mov    (%eax),%edx
404f02:	85 d2                	test   %edx,%edx
404f04:	74 0e                	je     0x404f14
404f06:	c7 00 00 00 00 00    	movl   $0x0,(%eax)
404f0c:	50                   	push   %eax
404f0d:	52                   	push   %edx
404f0e:	e8 29 c4 ff ff       	call   0x40133c
404f13:	58                   	pop    %eax
404f14:	c3                   	ret
404f15:	8d 40 00             	lea    0x0(%eax),%eax
404f18:	53                   	push   %ebx
404f19:	56                   	push   %esi
404f1a:	89 c3                	mov    %eax,%ebx
404f1c:	89 d6                	mov    %edx,%esi
404f1e:	8b 03                	mov    (%ebx),%eax
404f20:	85 c0                	test   %eax,%eax
404f22:	74 0c                	je     0x404f30
404f24:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)
404f2a:	50                   	push   %eax
404f2b:	e8 0c c4 ff ff       	call   0x40133c
404f30:	83 c3 04             	add    $0x4,%ebx
404f33:	4e                   	dec    %esi
404f34:	75 e8                	jne    0x404f1e
404f36:	5e                   	pop    %esi
404f37:	5b                   	pop    %ebx
404f38:	c3                   	ret
404f39:	8d 40 00             	lea    0x0(%eax),%eax
404f3c:	39 10                	cmp    %edx,(%eax)
404f3e:	74 23                	je     0x404f63
404f40:	85 d2                	test   %edx,%edx
404f42:	0f 84 b8 ff ff ff    	je     0x404f00
404f48:	8b 4a fc             	mov    -0x4(%edx),%ecx
404f4b:	d1 e9                	shr    $1,%ecx
404f4d:	0f 84 ad ff ff ff    	je     0x404f00
404f53:	51                   	push   %ecx
404f54:	52                   	push   %edx
404f55:	50                   	push   %eax
404f56:	e8 d9 c3 ff ff       	call   0x401334
404f5b:	85 c0                	test   %eax,%eax
404f5d:	0f 84 6d ff ff ff    	je     0x404ed0
404f63:	c3                   	ret
404f64:	53                   	push   %ebx
404f65:	56                   	push   %esi
404f66:	57                   	push   %edi
404f67:	55                   	push   %ebp
404f68:	81 c4 04 f0 ff ff    	add    $0xfffff004,%esp
404f6e:	50                   	push   %eax
404f6f:	83 c4 fc             	add    $0xfffffffc,%esp
404f72:	8b f1                	mov    %ecx,%esi
404f74:	89 14 24             	mov    %edx,(%esp)
404f77:	8b f8                	mov    %eax,%edi
404f79:	85 f6                	test   %esi,%esi
404f7b:	7f 09                	jg     0x404f86
404f7d:	8b c7                	mov    %edi,%eax
404f7f:	e8 7c ff ff ff       	call   0x404f00
404f84:	eb 5d                	jmp    0x404fe3
404f86:	8d 6e 01             	lea    0x1(%esi),%ebp
404f89:	81 fd ff 07 00 00    	cmp    $0x7ff,%ebp
404f8f:	7d 28                	jge    0x404fb9
404f91:	56                   	push   %esi
404f92:	8d 44 24 08          	lea    0x8(%esp),%eax
404f96:	8b 4c 24 04          	mov    0x4(%esp),%ecx
404f9a:	ba ff 07 00 00       	mov    $0x7ff,%edx
404f9f:	e8 bc f8 ff ff       	call   0x404860
404fa4:	8b d8                	mov    %eax,%ebx
404fa6:	85 db                	test   %ebx,%ebx
404fa8:	7e 0f                	jle    0x404fb9
404faa:	8d 54 24 04          	lea    0x4(%esp),%edx
404fae:	8b c7                	mov    %edi,%eax
404fb0:	8b cb                	mov    %ebx,%ecx
404fb2:	e8 39 00 00 00       	call   0x404ff0
404fb7:	eb 2a                	jmp    0x404fe3
404fb9:	8b dd                	mov    %ebp,%ebx
404fbb:	8b c7                	mov    %edi,%eax
404fbd:	8b d3                	mov    %ebx,%edx
404fbf:	e8 88 01 00 00       	call   0x40514c
404fc4:	56                   	push   %esi
404fc5:	8b 07                	mov    (%edi),%eax
404fc7:	8b 4c 24 04          	mov    0x4(%esp),%ecx
404fcb:	8b d3                	mov    %ebx,%edx
404fcd:	e8 8e f8 ff ff       	call   0x404860
404fd2:	8b d8                	mov    %eax,%ebx
404fd4:	85 db                	test   %ebx,%ebx
404fd6:	7d 02                	jge    0x404fda
404fd8:	33 db                	xor    %ebx,%ebx
404fda:	8b c7                	mov    %edi,%eax
404fdc:	8b d3                	mov    %ebx,%edx
404fde:	e8 69 01 00 00       	call   0x40514c
404fe3:	81 c4 04 10 00 00    	add    $0x1004,%esp
404fe9:	5d                   	pop    %ebp
404fea:	5f                   	pop    %edi
404feb:	5e                   	pop    %esi
404fec:	5b                   	pop    %ebx
404fed:	c3                   	ret
404fee:	8b c0                	mov    %eax,%eax
404ff0:	85 c9                	test   %ecx,%ecx
404ff2:	0f 84 08 ff ff ff    	je     0x404f00
404ff8:	50                   	push   %eax
404ff9:	51                   	push   %ecx
404ffa:	52                   	push   %edx
404ffb:	e8 2c c3 ff ff       	call   0x40132c
405000:	85 c0                	test   %eax,%eax
405002:	0f 84 c8 fe ff ff    	je     0x404ed0
405008:	5a                   	pop    %edx
405009:	ff 32                	push   (%edx)
40500b:	89 02                	mov    %eax,(%edx)
40500d:	e8 2a c3 ff ff       	call   0x40133c
405012:	c3                   	ret
405013:	90                   	nop
405014:	31 c9                	xor    %ecx,%ecx
405016:	85 d2                	test   %edx,%edx
405018:	74 2d                	je     0x405047
40501a:	52                   	push   %edx
40501b:	66 3b 0a             	cmp    (%edx),%cx
40501e:	74 20                	je     0x405040
405020:	66 3b 4a 02          	cmp    0x2(%edx),%cx
405024:	74 17                	je     0x40503d
405026:	66 3b 4a 04          	cmp    0x4(%edx),%cx
40502a:	74 0e                	je     0x40503a
40502c:	66 3b 4a 06          	cmp    0x6(%edx),%cx
405030:	74 05                	je     0x405037
405032:	83 c2 08             	add    $0x8,%edx
405035:	eb e4                	jmp    0x40501b
405037:	83 c2 02             	add    $0x2,%edx
40503a:	83 c2 02             	add    $0x2,%edx
40503d:	83 c2 02             	add    $0x2,%edx
405040:	89 d1                	mov    %edx,%ecx
405042:	5a                   	pop    %edx
405043:	29 d1                	sub    %edx,%ecx
405045:	d1 e9                	shr    $1,%ecx
405047:	e9 a4 ff ff ff       	jmp    0x404ff0
40504c:	c3                   	ret
40504d:	8d 40 00             	lea    0x0(%eax),%eax
405050:	31 c9                	xor    %ecx,%ecx
405052:	85 d2                	test   %edx,%edx
405054:	74 03                	je     0x405059
405056:	8b 4a fc             	mov    -0x4(%edx),%ecx
405059:	e9 06 ff ff ff       	jmp    0x404f64
40505e:	c3                   	ret
40505f:	90                   	nop
405060:	85 c0                	test   %eax,%eax
405062:	74 04                	je     0x405068
405064:	c3                   	ret
405065:	90                   	nop
405066:	00 00                	add    %al,(%eax)
405068:	b8 66 50 40 00       	mov    $0x405066,%eax
40506d:	c3                   	ret
40506e:	8b c0                	mov    %eax,%eax
405070:	85 c0                	test   %eax,%eax
405072:	74 05                	je     0x405079
405074:	8b 40 fc             	mov    -0x4(%eax),%eax
405077:	d1 e8                	shr    $1,%eax
405079:	c3                   	ret
40507a:	8b c0                	mov    %eax,%eax
40507c:	53                   	push   %ebx
40507d:	56                   	push   %esi
40507e:	57                   	push   %edi
40507f:	89 c6                	mov    %eax,%esi
405081:	89 d7                	mov    %edx,%edi
405083:	39 d0                	cmp    %edx,%eax
405085:	74 72                	je     0x4050f9
405087:	85 f6                	test   %esi,%esi
405089:	74 51                	je     0x4050dc
40508b:	85 ff                	test   %edi,%edi
40508d:	74 54                	je     0x4050e3
40508f:	8b 46 fc             	mov    -0x4(%esi),%eax
405092:	8b 57 fc             	mov    -0x4(%edi),%edx
405095:	29 d0                	sub    %edx,%eax
405097:	77 02                	ja     0x40509b
405099:	01 c2                	add    %eax,%edx
40509b:	52                   	push   %edx
40509c:	c1 ea 02             	shr    $0x2,%edx
40509f:	74 26                	je     0x4050c7
4050a1:	8b 0e                	mov    (%esi),%ecx
4050a3:	8b 1f                	mov    (%edi),%ebx
4050a5:	39 d9                	cmp    %ebx,%ecx
4050a7:	75 41                	jne    0x4050ea
4050a9:	4a                   	dec    %edx
4050aa:	74 15                	je     0x4050c1
4050ac:	8b 4e 04             	mov    0x4(%esi),%ecx
4050af:	8b 5f 04             	mov    0x4(%edi),%ebx
4050b2:	39 d9                	cmp    %ebx,%ecx
4050b4:	75 34                	jne    0x4050ea
4050b6:	83 c6 08             	add    $0x8,%esi
4050b9:	83 c7 08             	add    $0x8,%edi
4050bc:	4a                   	dec    %edx
4050bd:	75 e2                	jne    0x4050a1
4050bf:	eb 06                	jmp    0x4050c7
4050c1:	83 c6 04             	add    $0x4,%esi
4050c4:	83 c7 04             	add    $0x4,%edi
4050c7:	5a                   	pop    %edx
4050c8:	83 e2 02             	and    $0x2,%edx
4050cb:	74 0b                	je     0x4050d8
4050cd:	66 8b 0e             	mov    (%esi),%cx
4050d0:	66 8b 1f             	mov    (%edi),%bx
4050d3:	66 39 d9             	cmp    %bx,%cx
4050d6:	75 21                	jne    0x4050f9
4050d8:	01 c0                	add    %eax,%eax
4050da:	eb 1d                	jmp    0x4050f9
4050dc:	8b 57 fc             	mov    -0x4(%edi),%edx
4050df:	29 d0                	sub    %edx,%eax
4050e1:	eb 16                	jmp    0x4050f9
4050e3:	8b 46 fc             	mov    -0x4(%esi),%eax
4050e6:	29 d0                	sub    %edx,%eax
4050e8:	eb 0f                	jmp    0x4050f9
4050ea:	5a                   	pop    %edx
4050eb:	66 39 d9             	cmp    %bx,%cx
4050ee:	75 09                	jne    0x4050f9
4050f0:	c1 e9 10             	shr    $0x10,%ecx
4050f3:	c1 eb 10             	shr    $0x10,%ebx
4050f6:	66 39 d9             	cmp    %bx,%cx
4050f9:	5f                   	pop    %edi
4050fa:	5e                   	pop    %esi
4050fb:	5b                   	pop    %ebx
4050fc:	c3                   	ret
4050fd:	8d 40 00             	lea    0x0(%eax),%eax
405100:	55                   	push   %ebp
405101:	8b ec                	mov    %esp,%ebp
405103:	53                   	push   %ebx
405104:	56                   	push   %esi
405105:	57                   	push   %edi
405106:	8b f9                	mov    %ecx,%edi
405108:	8b da                	mov    %edx,%ebx
40510a:	8b f0                	mov    %eax,%esi
40510c:	8b c6                	mov    %esi,%eax
40510e:	e8 5d ff ff ff       	call   0x405070