404dbd:	89 d6                	mov    %edx,%esi
404dbf:	89 cf                	mov    %ecx,%edi
404dc1:	e8 a2 ff ff ff       	call   0x404d68
404dc6:	8b 13                	mov    (%ebx),%edx
404dc8:	85 d2                	test   %edx,%edx
404dca:	74 30                	je     0x404dfc
404dcc:	8b 4a fc             	mov    -0x4(%edx),%ecx
404dcf:	4e                   	dec    %esi
404dd0:	7c 2a                	jl     0x404dfc
404dd2:	39 ce                	cmp    %ecx,%esi
404dd4:	7d 26                	jge    0x404dfc
404dd6:	85 ff                	test   %edi,%edi
404dd8:	7e 22                	jle    0x404dfc
404dda:	29 f1                	sub    %esi,%ecx
404ddc:	39 cf                	cmp    %ecx,%edi
404dde:	7e 02                	jle    0x404de2
404de0:	89 cf                	mov    %ecx,%edi
404de2:	29 f9                	sub    %edi,%ecx
404de4:	01 f2                	add    %esi,%edx
404de6:	8d 04 17             	lea    (%edi,%edx,1),%eax
404de9:	e8 32 dc ff ff       	call   0x402a20
404dee:	8b 13                	mov    (%ebx),%edx
404df0:	89 d8                	mov    %ebx,%eax
404df2:	8b 52 fc             	mov    -0x4(%edx),%edx
404df5:	29 fa                	sub    %edi,%edx
404df7:	e8 a8 00 00 00       	call   0x404ea4
404dfc:	5f                   	pop    %edi
404dfd:	5e                   	pop    %esi
404dfe:	5b                   	pop    %ebx
404dff:	c3                   	ret
404e00:	85 c0                	test   %eax,%eax
404e02:	74 56                	je     0x404e5a
404e04:	53                   	push   %ebx
404e05:	56                   	push   %esi
404e06:	57                   	push   %edi
404e07:	55                   	push   %ebp
404e08:	89 c3                	mov    %eax,%ebx
404e0a:	89 d6                	mov    %edx,%esi
404e0c:	89 cf                	mov    %ecx,%edi
404e0e:	8b 12                	mov    (%edx),%edx
404e10:	52                   	push   %edx
404e11:	85 d2                	test   %edx,%edx
404e13:	74 03                	je     0x404e18
404e15:	8b 52 fc             	mov    -0x4(%edx),%edx
404e18:	4f                   	dec    %edi
404e19:	7d 02                	jge    0x404e1d
404e1b:	31 ff                	xor    %edi,%edi
404e1d:	39 d7                	cmp    %edx,%edi
404e1f:	7e 02                	jle    0x404e23
404e21:	89 d7                	mov    %edx,%edi
404e23:	8b 6b fc             	mov    -0x4(%ebx),%ebp
404e26:	89 f0                	mov    %esi,%eax
404e28:	01 ea                	add    %ebp,%edx
404e2a:	e8 75 00 00 00       	call   0x404ea4
404e2f:	58                   	pop    %eax
404e30:	39 d8                	cmp    %ebx,%eax
404e32:	75 02                	jne    0x404e36
404e34:	8b 1e                	mov    (%esi),%ebx
404e36:	8b 06                	mov    (%esi),%eax
404e38:	8d 14 2f             	lea    (%edi,%ebp,1),%edx
404e3b:	8b 48 fc             	mov    -0x4(%eax),%ecx
404e3e:	29 d1                	sub    %edx,%ecx
404e40:	01 c2                	add    %eax,%edx
404e42:	01 f8                	add    %edi,%eax
404e44:	e8 d7 db ff ff       	call   0x402a20
404e49:	89 d8                	mov    %ebx,%eax
404e4b:	8b 16                	mov    (%esi),%edx
404e4d:	89 e9                	mov    %ebp,%ecx
404e4f:	01 fa                	add    %edi,%edx
404e51:	e8 ca db ff ff       	call   0x402a20
404e56:	5d                   	pop    %ebp
404e57:	5f                   	pop    %edi
404e58:	5e                   	pop    %esi
404e59:	5b                   	pop    %ebx
404e5a:	c3                   	ret
404e5b:	90                   	nop
404e5c:	85 c0                	test   %eax,%eax
404e5e:	74 40                	je     0x404ea0
404e60:	85 d2                	test   %edx,%edx
404e62:	74 31                	je     0x404e95
404e64:	53                   	push   %ebx
404e65:	56                   	push   %esi
404e66:	57                   	push   %edi
404e67:	89 c6                	mov    %eax,%esi
404e69:	89 d7                	mov    %edx,%edi
404e6b:	8b 4f fc             	mov    -0x4(%edi),%ecx
404e6e:	57                   	push   %edi
404e6f:	8b 56 fc             	mov    -0x4(%esi),%edx
404e72:	4a                   	dec    %edx
404e73:	78 1b                	js     0x404e90
404e75:	8a 06                	mov    (%esi),%al
404e77:	46                   	inc    %esi
404e78:	29 d1                	sub    %edx,%ecx
404e7a:	7e 14                	jle    0x404e90
404e7c:	f2 ae                	repnz scas %es:(%edi),%al
404e7e:	75 10                	jne    0x404e90
404e80:	89 cb                	mov    %ecx,%ebx
404e82:	56                   	push   %esi
404e83:	57                   	push   %edi
404e84:	89 d1                	mov    %edx,%ecx
404e86:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)
404e88:	5f                   	pop    %edi
404e89:	5e                   	pop    %esi
404e8a:	74 0c                	je     0x404e98
404e8c:	89 d9                	mov    %ebx,%ecx
404e8e:	eb ec                	jmp    0x404e7c
404e90:	5a                   	pop    %edx
404e91:	31 c0                	xor    %eax,%eax
404e93:	eb 08                	jmp    0x404e9d
404e95:	31 c0                	xor    %eax,%eax
404e97:	c3                   	ret
404e98:	5a                   	pop    %edx
404e99:	89 f8                	mov    %edi,%eax
404e9b:	29 d0                	sub    %edx,%eax
404e9d:	5f                   	pop    %edi
404e9e:	5e                   	pop    %esi
404e9f:	5b                   	pop    %ebx
404ea0:	c3                   	ret
404ea1:	8d 40 00             	lea    0x0(%eax),%eax
404ea4:	53                   	push   %ebx
404ea5:	56                   	push   %esi
404ea6:	57                   	push   %edi
404ea7:	89 c3                	mov    %eax,%ebx
404ea9:	89 d6                	mov    %edx,%esi
404eab:	31 ff                	xor    %edi,%edi
404ead:	85 d2                	test   %edx,%edx
404eaf:	7e 48                	jle    0x404ef9
404eb1:	8b 03                	mov    (%ebx),%eax
404eb3:	85 c0                	test   %eax,%eax
404eb5:	74 23                	je     0x404eda
404eb7:	83 78 f8 01          	cmpl   $0x1,-0x8(%eax)
404ebb:	75 1d                	jne    0x404eda
404ebd:	83 e8 08             	sub    $0x8,%eax
404ec0:	83 c2 09             	add    $0x9,%edx
404ec3:	50                   	push   %eax
404ec4:	89 e0                	mov    %esp,%eax
404ec6:	e8 21 d9 ff ff       	call   0x4027ec
404ecb:	58                   	pop    %eax
404ecc:	83 c0 08             	add    $0x8,%eax
404ecf:	89 03                	mov    %eax,(%ebx)
404ed1:	89 70 fc             	mov    %esi,-0x4(%eax)
404ed4:	c6 04 06 00          	movb   $0x0,(%esi,%eax,1)
404ed8:	eb 28                	jmp    0x404f02
404eda:	89 d0                	mov    %edx,%eax
404edc:	e8 4b fa ff ff       	call   0x40492c
404ee1:	89 c7                	mov    %eax,%edi
404ee3:	8b 03                	mov    (%ebx),%eax
404ee5:	85 c0                	test   %eax,%eax
404ee7:	74 10                	je     0x404ef9
404ee9:	89 fa                	mov    %edi,%edx
404eeb:	8b 48 fc             	mov    -0x4(%eax),%ecx
404eee:	39 f1                	cmp    %esi,%ecx
404ef0:	7c 02                	jl     0x404ef4
404ef2:	89 f1                	mov    %esi,%ecx
404ef4:	e8 27 db ff ff       	call   0x402a20
404ef9:	89 d8                	mov    %ebx,%eax
404efb:	e8 68 f9 ff ff       	call   0x404868
404f00:	89 3b                	mov    %edi,(%ebx)
404f02:	5f                   	pop    %edi
404f03:	5e                   	pop    %esi
404f04:	5b                   	pop    %ebx
404f05:	c3                   	ret
404f06:	8b c0                	mov    %eax,%eax
404f08:	53                   	push   %ebx
404f09:	56                   	push   %esi
404f0a:	57                   	push   %edi
404f0b:	89 c3                	mov    %eax,%ebx
404f0d:	89 d6                	mov    %edx,%esi
404f0f:	89 cf                	mov    %ecx,%edi
404f11:	89 c8                	mov    %ecx,%eax
404f13:	e8 50 f9 ff ff       	call   0x404868
404f18:	85 f6                	test   %esi,%esi
404f1a:	7e 12                	jle    0x404f2e
404f1c:	89 f0                	mov    %esi,%eax
404f1e:	e8 09 fa ff ff       	call   0x40492c
404f23:	89 07                	mov    %eax,(%edi)
404f25:	89 f2                	mov    %esi,%edx
404f27:	88 d9                	mov    %bl,%cl
404f29:	e8 12 e3 ff ff       	call   0x403240
404f2e:	5f                   	pop    %edi
404f2f:	5e                   	pop    %esi
404f30:	5b                   	pop    %ebx
404f31:	c3                   	ret
404f32:	8b c0                	mov    %eax,%eax
404f34:	33 c9                	xor    %ecx,%ecx
404f36:	e8 01 00 00 00       	call   0x404f3c
404f3b:	c3                   	ret
404f3c:	53                   	push   %ebx
404f3d:	89 d3                	mov    %edx,%ebx
404f3f:	89 ca                	mov    %ecx,%edx
404f41:	31 c9                	xor    %ecx,%ecx
404f43:	85 db                	test   %ebx,%ebx
404f45:	74 05                	je     0x404f4c
404f47:	8b 4b fc             	mov    -0x4(%ebx),%ecx
404f4a:	29 ca                	sub    %ecx,%edx
404f4c:	51                   	push   %ecx
404f4d:	e8 b6 e4 ff ff       	call   0x403408
404f52:	59                   	pop    %ecx
404f53:	89 da                	mov    %ebx,%edx
404f55:	5b                   	pop    %ebx
404f56:	e9 59 e4 ff ff       	jmp    0x4033b4
404f5b:	c3                   	ret
404f5c:	b0 01                	mov    $0x1,%al
404f5e:	e9 a5 d9 ff ff       	jmp    0x402908
404f63:	c3                   	ret
404f64:	85 c0                	test   %eax,%eax
404f66:	74 10                	je     0x404f78
404f68:	50                   	push   %eax
404f69:	6a 00                	push   $0x0
404f6b:	e8 68 c4 ff ff       	call   0x4013d8
404f70:	85 c0                	test   %eax,%eax
404f72:	0f 84 e4 ff ff ff    	je     0x404f5c
404f78:	c3                   	ret
404f79:	8d 40 00             	lea    0x0(%eax),%eax
404f7c:	87 10                	xchg   %edx,(%eax)
404f7e:	85 d2                	test   %edx,%edx
404f80:	74 06                	je     0x404f88
404f82:	52                   	push   %edx
404f83:	e8 60 c4 ff ff       	call   0x4013e8
404f88:	c3                   	ret
404f89:	8d 40 00             	lea    0x0(%eax),%eax
404f8c:	8b 10                	mov    (%eax),%edx
404f8e:	85 d2                	test   %edx,%edx
404f90:	74 0e                	je     0x404fa0
404f92:	c7 00 00 00 00 00    	movl   $0x0,(%eax)
404f98:	50                   	push   %eax
404f99:	52                   	push   %edx
404f9a:	e8 49 c4 ff ff       	call   0x4013e8
404f9f:	58                   	pop    %eax
404fa0:	c3                   	ret
404fa1:	8d 40 00             	lea    0x0(%eax),%eax
404fa4:	53                   	push   %ebx
404fa5:	56                   	push   %esi
404fa6:	89 c3                	mov    %eax,%ebx
404fa8:	89 d6                	mov    %edx,%esi
404faa:	8b 03                	mov    (%ebx),%eax
404fac:	85 c0                	test   %eax,%eax
404fae:	74 0c                	je     0x404fbc
404fb0:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)
404fb6:	50                   	push   %eax
404fb7:	e8 2c c4 ff ff       	call   0x4013e8
404fbc:	83 c3 04             	add    $0x4,%ebx
404fbf:	4e                   	dec    %esi
404fc0:	75 e8                	jne    0x404faa
404fc2:	5e                   	pop    %esi
404fc3:	5b                   	pop    %ebx
404fc4:	c3                   	ret
404fc5:	8d 40 00             	lea    0x0(%eax),%eax
404fc8:	85 d2                	test   %edx,%edx
404fca:	0f 84 bc ff ff ff    	je     0x404f8c
404fd0:	8b 4a fc             	mov    -0x4(%edx),%ecx
404fd3:	d1 e9                	shr    $1,%ecx
404fd5:	0f 84 b1 ff ff ff    	je     0x404f8c
404fdb:	51                   	push   %ecx
404fdc:	52                   	push   %edx
404fdd:	50                   	push   %eax
404fde:	e8 fd c3 ff ff       	call   0x4013e0
404fe3:	85 c0                	test   %eax,%eax
404fe5:	0f 84 71 ff ff ff    	je     0x404f5c
404feb:	c3                   	ret
404fec:	e9 d7 ff ff ff       	jmp    0x404fc8
404ff1:	c3                   	ret
404ff2:	8b c0                	mov    %eax,%eax
404ff4:	53                   	push   %ebx
404ff5:	56                   	push   %esi
404ff6:	57                   	push   %edi
404ff7:	55                   	push   %ebp
404ff8:	81 c4 04 f0 ff ff    	add    $0xfffff004,%esp
404ffe:	50                   	push   %eax
404fff:	83 c4 fc             	add    $0xfffffffc,%esp
405002:	8b f1                	mov    %ecx,%esi
405004:	89 14 24             	mov    %edx,(%esp)
405007:	8b f8                	mov    %eax,%edi
405009:	85 f6                	test   %esi,%esi
40500b:	7f 09                	jg     0x405016
40500d:	8b c7                	mov    %edi,%eax
40500f:	e8 78 ff ff ff       	call   0x404f8c
405014:	eb 5d                	jmp    0x405073
405016:	8d 6e 01             	lea    0x1(%esi),%ebp
405019:	81 fd ff 07 00 00    	cmp    $0x7ff,%ebp
40501f:	7d 28                	jge    0x405049
405021:	56                   	push   %esi
405022:	8d 44 24 08          	lea    0x8(%esp),%eax
405026:	8b 4c 24 04          	mov    0x4(%esp),%ecx
40502a:	ba ff 07 00 00       	mov    $0x7ff,%edx
40502f:	e8 70 f9 ff ff       	call   0x4049a4
405034:	8b d8                	mov    %eax,%ebx
405036:	85 db                	test   %ebx,%ebx
405038:	7e 0f                	jle    0x405049
40503a:	8d 54 24 04          	lea    0x4(%esp),%edx
40503e:	8b c7                	mov    %edi,%eax
405040:	8b cb                	mov    %ebx,%ecx
405042:	e8 39 00 00 00       	call   0x405080
405047:	eb 2a                	jmp    0x405073
405049:	8b dd                	mov    %ebp,%ebx
40504b:	8b c7                	mov    %edi,%eax
40504d:	8b d3                	mov    %ebx,%edx
40504f:	e8 a4 02 00 00       	call   0x4052f8
405054:	56                   	push   %esi
405055:	8b 07                	mov    (%edi),%eax
405057:	8b 4c 24 04          	mov    0x4(%esp),%ecx
40505b:	8b d3                	mov    %ebx,%edx
40505d:	e8 42 f9 ff ff       	call   0x4049a4
405062:	8b d8                	mov    %eax,%ebx
405064:	85 db                	test   %ebx,%ebx
405066:	7d 02                	jge    0x40506a
405068:	33 db                	xor    %ebx,%ebx
40506a:	8b c7                	mov    %edi,%eax
40506c:	8b d3                	mov    %ebx,%edx
40506e:	e8 85 02 00 00       	call   0x4052f8
405073:	81 c4 04 10 00 00    	add    $0x1004,%esp
405079:	5d                   	pop    %ebp
40507a:	5f                   	pop    %edi
40507b:	5e                   	pop    %esi
40507c:	5b                   	pop    %ebx
40507d:	c3                   	ret
40507e:	8b c0                	mov    %eax,%eax
405080:	85 c9                	test   %ecx,%ecx
405082:	0f 84 04 ff ff ff    	je     0x404f8c
405088:	50                   	push   %eax
405089:	51                   	push   %ecx
40508a:	52                   	push   %edx
40508b:	e8 48 c3 ff ff       	call   0x4013d8
405090:	85 c0                	test   %eax,%eax
405092:	0f 84 c4 fe ff ff    	je     0x404f5c
405098:	5a                   	pop    %edx
405099:	ff 32                	push   (%edx)
40509b:	89 02                	mov    %eax,(%edx)
40509d:	e8 46 c3 ff ff       	call   0x4013e8
4050a2:	c3                   	ret
4050a3:	90                   	nop
4050a4:	52                   	push   %edx
4050a5:	89 e2                	mov    %esp,%edx
4050a7:	b9 01 00 00 00       	mov    $0x1,%ecx
4050ac:	e8 43 ff ff ff       	call   0x404ff4
4050b1:	5a                   	pop    %edx
4050b2:	c3                   	ret
4050b3:	90                   	nop
4050b4:	31 c9                	xor    %ecx,%ecx
4050b6:	85 d2                	test   %edx,%edx
4050b8:	74 2d                	je     0x4050e7
4050ba:	52                   	push   %edx
4050bb:	66 3b 0a             	cmp    (%edx),%cx
4050be:	74 20                	je     0x4050e0
4050c0:	66 3b 4a 02          	cmp    0x2(%edx),%cx
4050c4:	74 17                	je     0x4050dd
4050c6:	66 3b 4a 04          	cmp    0x4(%edx),%cx
4050ca:	74 0e                	je     0x4050da
4050cc:	66 3b 4a 06          	cmp    0x6(%edx),%cx
4050d0:	74 05                	je     0x4050d7