409e68:	8d 45 10             	lea    0x10(%ebp),%eax
409e6b:	50                   	push   %eax
409e6c:	51                   	push   %ecx
409e6d:	8b 4d f4             	mov    -0xc(%ebp),%ecx
409e70:	e8 39 e6 ff ff       	call   0x4084ae
409e75:	8b 75 f0             	mov    -0x10(%ebp),%esi
409e78:	8b f8                	mov    %eax,%edi
409e7a:	8b 55 f8             	mov    -0x8(%ebp),%edx
409e7d:	8a ca                	mov    %dl,%cl
409e7f:	80 e1 01             	and    $0x1,%cl
409e82:	0f ac f2 01          	shrd   $0x1,%esi,%edx
409e86:	80 c1 30             	add    $0x30,%cl
409e89:	88 0f                	mov    %cl,(%edi)
409e8b:	8b c2                	mov    %edx,%eax
409e8d:	d1 ee                	shr    $1,%esi
409e8f:	4f                   	dec    %edi
409e90:	0b c6                	or     %esi,%eax
409e92:	75 e9                	jne    0x409e7d
409e94:	e9 8e 01 00 00       	jmp    0x40a027
409e99:	56                   	push   %esi
409e9a:	50                   	push   %eax
409e9b:	e8 12 5d 01 00       	call   0x41fbb2
409ea0:	59                   	pop    %ecx
409ea1:	59                   	pop    %ecx
409ea2:	57                   	push   %edi
409ea3:	8d 4d fc             	lea    -0x4(%ebp),%ecx
409ea6:	51                   	push   %ecx
409ea7:	8d 4d 10             	lea    0x10(%ebp),%ecx
409eaa:	51                   	push   %ecx
409eab:	8b 4d f4             	mov    -0xc(%ebp),%ecx
409eae:	50                   	push   %eax
409eaf:	e8 fa e5 ff ff       	call   0x4084ae
409eb4:	ff 75 0c             	push   0xc(%ebp)
409eb7:	8b 55 f8             	mov    -0x8(%ebp),%edx
409eba:	40                   	inc    %eax
409ebb:	6a 00                	push   $0x0
409ebd:	56                   	push   %esi
409ebe:	52                   	push   %edx
409ebf:	50                   	push   %eax
409ec0:	e8 13 dc ff ff       	call   0x407ad8
409ec5:	83 c4 14             	add    $0x14,%esp
409ec8:	e9 5a 01 00 00       	jmp    0x40a027
409ecd:	83 ea 6e             	sub    $0x6e,%edx
409ed0:	0f 84 e3 00 00 00    	je     0x409fb9
409ed6:	83 ea 01             	sub    $0x1,%edx
409ed9:	0f 84 80 00 00 00    	je     0x409f5f
409edf:	83 ea 09             	sub    $0x9,%edx
409ee2:	0f 85 45 01 00 00    	jne    0x40a02d
409ee8:	89 45 0c             	mov    %eax,0xc(%ebp)
409eeb:	8b d6                	mov    %esi,%edx
409eed:	8b 45 1c             	mov    0x1c(%ebp),%eax
409ef0:	c1 e8 03             	shr    $0x3,%eax
409ef3:	a8 01                	test   $0x1,%al
409ef5:	74 0f                	je     0x409f06
409ef7:	8a 45 24             	mov    0x24(%ebp),%al
409efa:	c6 44 3d fc 30       	movb   $0x30,-0x4(%ebp,%edi,1)
409eff:	88 44 3d fd          	mov    %al,-0x3(%ebp,%edi,1)
409f03:	83 c7 02             	add    $0x2,%edi
409f06:	8b 75 0c             	mov    0xc(%ebp),%esi
409f09:	0f ac d6 04          	shrd   $0x4,%edx,%esi
409f0d:	41                   	inc    %ecx
409f0e:	c1 ea 04             	shr    $0x4,%edx
409f11:	8b c6                	mov    %esi,%eax
409f13:	0b c2                	or     %edx,%eax
409f15:	75 f2                	jne    0x409f09
409f17:	57                   	push   %edi
409f18:	8d 45 fc             	lea    -0x4(%ebp),%eax
409f1b:	50                   	push   %eax
409f1c:	8d 45 10             	lea    0x10(%ebp),%eax
409f1f:	50                   	push   %eax
409f20:	51                   	push   %ecx
409f21:	8b 4d f4             	mov    -0xc(%ebp),%ecx
409f24:	e8 85 e5 ff ff       	call   0x4084ae
409f29:	80 7d 24 78          	cmpb   $0x78,0x24(%ebp)
409f2d:	8b c8                	mov    %eax,%ecx
409f2f:	8b 75 f0             	mov    -0x10(%ebp),%esi
409f32:	bf 90 65 49 00       	mov    $0x496590,%edi
409f37:	8b 55 f8             	mov    -0x8(%ebp),%edx
409f3a:	b8 a4 65 49 00       	mov    $0x4965a4,%eax
409f3f:	0f 45 f8             	cmovne %eax,%edi
409f42:	8b c2                	mov    %edx,%eax
409f44:	83 e0 0f             	and    $0xf,%eax
409f47:	0f ac f2 04          	shrd   $0x4,%esi,%edx
409f4b:	c1 ee 04             	shr    $0x4,%esi
409f4e:	8a 04 38             	mov    (%eax,%edi,1),%al
409f51:	88 01                	mov    %al,(%ecx)
409f53:	8b c2                	mov    %edx,%eax
409f55:	49                   	dec    %ecx
409f56:	0b c6                	or     %esi,%eax
409f58:	75 e8                	jne    0x409f42
409f5a:	e9 c8 00 00 00       	jmp    0x40a027
409f5f:	89 45 0c             	mov    %eax,0xc(%ebp)
409f62:	8b d6                	mov    %esi,%edx
409f64:	8b 45 1c             	mov    0x1c(%ebp),%eax
409f67:	c1 e8 03             	shr    $0x3,%eax
409f6a:	a8 01                	test   $0x1,%al
409f6c:	74 06                	je     0x409f74
409f6e:	c6 44 3d fc 30       	movb   $0x30,-0x4(%ebp,%edi,1)
409f73:	47                   	inc    %edi
409f74:	8b 75 0c             	mov    0xc(%ebp),%esi
409f77:	0f ac d6 03          	shrd   $0x3,%edx,%esi
409f7b:	41                   	inc    %ecx
409f7c:	c1 ea 03             	shr    $0x3,%edx
409f7f:	8b c6                	mov    %esi,%eax
409f81:	0b c2                	or     %edx,%eax
409f83:	75 f2                	jne    0x409f77
409f85:	57                   	push   %edi
409f86:	8d 45 fc             	lea    -0x4(%ebp),%eax
409f89:	50                   	push   %eax
409f8a:	8d 45 10             	lea    0x10(%ebp),%eax
409f8d:	50                   	push   %eax
409f8e:	51                   	push   %ecx
409f8f:	8b 4d f4             	mov    -0xc(%ebp),%ecx
409f92:	e8 17 e5 ff ff       	call   0x4084ae
409f97:	8b 75 f0             	mov    -0x10(%ebp),%esi
409f9a:	8b f8                	mov    %eax,%edi
409f9c:	8b 55 f8             	mov    -0x8(%ebp),%edx
409f9f:	8a ca                	mov    %dl,%cl
409fa1:	80 e1 07             	and    $0x7,%cl
409fa4:	0f ac f2 03          	shrd   $0x3,%esi,%edx
409fa8:	80 c1 30             	add    $0x30,%cl
409fab:	88 0f                	mov    %cl,(%edi)
409fad:	8b c2                	mov    %edx,%eax
409faf:	c1 ee 03             	shr    $0x3,%esi
409fb2:	4f                   	dec    %edi
409fb3:	0b c6                	or     %esi,%eax
409fb5:	75 e8                	jne    0x409f9f
409fb7:	eb 6e                	jmp    0x40a027
409fb9:	56                   	push   %esi
409fba:	50                   	push   %eax
409fbb:	e8 f2 5b 01 00       	call   0x41fbb2
409fc0:	59                   	pop    %ecx
409fc1:	59                   	pop    %ecx
409fc2:	8b f0                	mov    %eax,%esi
409fc4:	e8 14 de 05 00       	call   0x467ddd
409fc9:	8b 50 04             	mov    0x4(%eax),%edx
409fcc:	8b ca                	mov    %edx,%ecx
409fce:	8d 41 01             	lea    0x1(%ecx),%eax
409fd1:	89 45 0c             	mov    %eax,0xc(%ebp)
409fd4:	8a 01                	mov    (%ecx),%al
409fd6:	41                   	inc    %ecx
409fd7:	84 c0                	test   %al,%al
409fd9:	75 f9                	jne    0x409fd4
409fdb:	57                   	push   %edi
409fdc:	8d 45 fc             	lea    -0x4(%ebp),%eax
409fdf:	89 55 e4             	mov    %edx,-0x1c(%ebp)
409fe2:	50                   	push   %eax
409fe3:	8d 45 10             	lea    0x10(%ebp),%eax
409fe6:	2b 4d 0c             	sub    0xc(%ebp),%ecx
409fe9:	50                   	push   %eax
409fea:	6a 03                	push   $0x3
409fec:	5f                   	pop    %edi
409fed:	33 d2                	xor    %edx,%edx
409fef:	83 65 ec 00          	andl   $0x0,-0x14(%ebp)
409ff3:	8d 46 ff             	lea    -0x1(%esi),%eax
409ff6:	89 4d e8             	mov    %ecx,-0x18(%ebp)
409ff9:	f7 f7                	div    %edi
409ffb:	0f af c1             	imul   %ecx,%eax
409ffe:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40a001:	03 c6                	add    %esi,%eax
40a003:	50                   	push   %eax
40a004:	e8 a5 e4 ff ff       	call   0x4084ae
40a009:	8b 55 f8             	mov    -0x8(%ebp),%edx
40a00c:	8d 75 e4             	lea    -0x1c(%ebp),%esi
40a00f:	83 ec 0c             	sub    $0xc,%esp
40a012:	40                   	inc    %eax
40a013:	8b fc                	mov    %esp,%edi
40a015:	6a 00                	push   $0x0
40a017:	ff 75 f0             	push   -0x10(%ebp)
40a01a:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40a01b:	52                   	push   %edx
40a01c:	50                   	push   %eax
40a01d:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40a01e:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40a01f:	e8 30 db ff ff       	call   0x407b54
40a024:	83 c4 1c             	add    $0x1c,%esp
40a027:	5f                   	pop    %edi
40a028:	5e                   	pop    %esi
40a029:	c9                   	leave
40a02a:	c2 20 00             	ret    $0x20
40a02d:	6a 10                	push   $0x10
40a02f:	8d 4d 10             	lea    0x10(%ebp),%ecx
40a032:	e8 6e 6f 01 00       	call   0x420fa5
40a037:	84 c0                	test   %al,%al
40a039:	ba 90 63 49 00       	mov    $0x496390,%edx
40a03e:	b9 b8 65 49 00       	mov    $0x4965b8,%ecx
40a043:	0f 44 ca             	cmove  %edx,%ecx
40a046:	51                   	push   %ecx
40a047:	8d 4d 10             	lea    0x10(%ebp),%ecx
40a04a:	e8 9d 93 01 00       	call   0x4233ec
40a04f:	0f b6 c0             	movzbl %al,%eax
40a052:	50                   	push   %eax
40a053:	e8 b6 86 01 00       	call   0x42270e
40a058:	cc                   	int3
40a059:	55                   	push   %ebp
40a05a:	8b ec                	mov    %esp,%ebp
40a05c:	83 ec 20             	sub    $0x20,%esp
40a05f:	8b 55 1c             	mov    0x1c(%ebp),%edx
40a062:	56                   	push   %esi
40a063:	57                   	push   %edi
40a064:	33 ff                	xor    %edi,%edi
40a066:	89 4d f4             	mov    %ecx,-0xc(%ebp)
40a069:	89 7d f8             	mov    %edi,-0x8(%ebp)
40a06c:	8b f7                	mov    %edi,%esi
40a06e:	89 7d fc             	mov    %edi,-0x4(%ebp)
40a071:	f6 c2 01             	test   $0x1,%dl
40a074:	74 15                	je     0x40a08b
40a076:	8b c2                	mov    %edx,%eax
40a078:	d1 e8                	shr    $1,%eax
40a07a:	24 01                	and    $0x1,%al
40a07c:	f6 d8                	neg    %al
40a07e:	1a c0                	sbb    %al,%al
40a080:	24 0b                	and    $0xb,%al
40a082:	04 20                	add    $0x20,%al
40a084:	46                   	inc    %esi
40a085:	88 45 fc             	mov    %al,-0x4(%ebp)
40a088:	89 75 f8             	mov    %esi,-0x8(%ebp)
40a08b:	0f be 45 24          	movsbl 0x24(%ebp),%eax
40a08f:	83 f8 64             	cmp    $0x64,%eax
40a092:	0f 8f d5 00 00 00    	jg     0x40a16d
40a098:	0f 84 97 00 00 00    	je     0x40a135
40a09e:	85 c0                	test   %eax,%eax
40a0a0:	0f 84 8f 00 00 00    	je     0x40a135
40a0a6:	83 f8 42             	cmp    $0x42,%eax
40a0a9:	74 12                	je     0x40a0bd
40a0ab:	83 f8 58             	cmp    $0x58,%eax
40a0ae:	0f 84 d4 00 00 00    	je     0x40a188
40a0b4:	83 f8 62             	cmp    $0x62,%eax
40a0b7:	0f 85 2c 02 00 00    	jne    0x40a2e9
40a0bd:	8b 45 08             	mov    0x8(%ebp),%eax
40a0c0:	c1 ea 03             	shr    $0x3,%edx
40a0c3:	89 45 f0             	mov    %eax,-0x10(%ebp)
40a0c6:	89 45 ec             	mov    %eax,-0x14(%ebp)
40a0c9:	8b 45 0c             	mov    0xc(%ebp),%eax
40a0cc:	8b c8                	mov    %eax,%ecx
40a0ce:	89 45 0c             	mov    %eax,0xc(%ebp)
40a0d1:	f6 c2 01             	test   $0x1,%dl
40a0d4:	74 12                	je     0x40a0e8
40a0d6:	8a 45 24             	mov    0x24(%ebp),%al
40a0d9:	c6 44 35 fc 30       	movb   $0x30,-0x4(%ebp,%esi,1)
40a0de:	88 44 35 fd          	mov    %al,-0x3(%ebp,%esi,1)
40a0e2:	83 c6 02             	add    $0x2,%esi
40a0e5:	89 75 f8             	mov    %esi,-0x8(%ebp)
40a0e8:	8b 75 ec             	mov    -0x14(%ebp),%esi
40a0eb:	0f ac ce 01          	shrd   $0x1,%ecx,%esi
40a0ef:	47                   	inc    %edi
40a0f0:	d1 e9                	shr    $1,%ecx
40a0f2:	8b c6                	mov    %esi,%eax
40a0f4:	0b c1                	or     %ecx,%eax
40a0f6:	75 f3                	jne    0x40a0eb
40a0f8:	8b 75 f8             	mov    -0x8(%ebp),%esi
40a0fb:	8d 45 fc             	lea    -0x4(%ebp),%eax
40a0fe:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40a101:	56                   	push   %esi
40a102:	50                   	push   %eax
40a103:	8d 45 10             	lea    0x10(%ebp),%eax
40a106:	50                   	push   %eax
40a107:	57                   	push   %edi
40a108:	e8 a1 e3 ff ff       	call   0x4084ae
40a10d:	8b d0                	mov    %eax,%edx
40a10f:	8b 45 f0             	mov    -0x10(%ebp),%eax
40a112:	8a c8                	mov    %al,%cl
40a114:	80 e1 01             	and    $0x1,%cl
40a117:	80 c1 30             	add    $0x30,%cl
40a11a:	88 0a                	mov    %cl,(%edx)
40a11c:	4a                   	dec    %edx
40a11d:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40a120:	0f ac c8 01          	shrd   $0x1,%ecx,%eax
40a124:	d1 e9                	shr    $1,%ecx
40a126:	89 45 f0             	mov    %eax,-0x10(%ebp)
40a129:	0b c1                	or     %ecx,%eax
40a12b:	89 4d 0c             	mov    %ecx,0xc(%ebp)
40a12e:	75 df                	jne    0x40a10f
40a130:	e9 ae 01 00 00       	jmp    0x40a2e3
40a135:	ff 75 0c             	push   0xc(%ebp)
40a138:	ff 75 08             	push   0x8(%ebp)
40a13b:	e8 72 5a 01 00       	call   0x41fbb2
40a140:	59                   	pop    %ecx
40a141:	59                   	pop    %ecx
40a142:	56                   	push   %esi
40a143:	8d 4d fc             	lea    -0x4(%ebp),%ecx
40a146:	51                   	push   %ecx
40a147:	8d 4d 10             	lea    0x10(%ebp),%ecx
40a14a:	51                   	push   %ecx
40a14b:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40a14e:	50                   	push   %eax
40a14f:	e8 5a e3 ff ff       	call   0x4084ae
40a154:	ff 75 0c             	push   0xc(%ebp)
40a157:	40                   	inc    %eax
40a158:	57                   	push   %edi
40a159:	ff 75 0c             	push   0xc(%ebp)
40a15c:	ff 75 08             	push   0x8(%ebp)
40a15f:	50                   	push   %eax
40a160:	e8 73 d9 ff ff       	call   0x407ad8
40a165:	83 c4 14             	add    $0x14,%esp
40a168:	e9 76 01 00 00       	jmp    0x40a2e3
40a16d:	83 e8 6e             	sub    $0x6e,%eax
40a170:	0f 84 f9 00 00 00    	je     0x40a26f
40a176:	83 e8 01             	sub    $0x1,%eax
40a179:	0f 84 82 00 00 00    	je     0x40a201
40a17f:	83 e8 09             	sub    $0x9,%eax
40a182:	0f 85 61 01 00 00    	jne    0x40a2e9
40a188:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40a18b:	c1 ea 03             	shr    $0x3,%edx
40a18e:	f6 c2 01             	test   $0x1,%dl
40a191:	74 12                	je     0x40a1a5
40a193:	8a 45 24             	mov    0x24(%ebp),%al
40a196:	c6 44 35 fc 30       	movb   $0x30,-0x4(%ebp,%esi,1)
40a19b:	88 44 35 fd          	mov    %al,-0x3(%ebp,%esi,1)
40a19f:	83 c6 02             	add    $0x2,%esi
40a1a2:	89 75 f8             	mov    %esi,-0x8(%ebp)
40a1a5:	8b 75 08             	mov    0x8(%ebp),%esi
40a1a8:	0f ac ce 04          	shrd   $0x4,%ecx,%esi
40a1ac:	47                   	inc    %edi
40a1ad:	c1 e9 04             	shr    $0x4,%ecx
40a1b0:	8b c6                	mov    %esi,%eax
40a1b2:	0b c1                	or     %ecx,%eax
40a1b4:	75 f2                	jne    0x40a1a8
40a1b6:	8b 75 f8             	mov    -0x8(%ebp),%esi
40a1b9:	8d 45 fc             	lea    -0x4(%ebp),%eax
40a1bc:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40a1bf:	56                   	push   %esi
40a1c0:	50                   	push   %eax
40a1c1:	8d 45 10             	lea    0x10(%ebp),%eax
40a1c4:	50                   	push   %eax
40a1c5:	57                   	push   %edi
40a1c6:	e8 e3 e2 ff ff       	call   0x4084ae
40a1cb:	80 7d 24 78          	cmpb   $0x78,0x24(%ebp)
40a1cf:	8b f0                	mov    %eax,%esi
40a1d1:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40a1d4:	bf 90 65 49 00       	mov    $0x496590,%edi
40a1d9:	8b 55 08             	mov    0x8(%ebp),%edx
40a1dc:	b8 a4 65 49 00       	mov    $0x4965a4,%eax
40a1e1:	0f 45 f8             	cmovne %eax,%edi
40a1e4:	8b c2                	mov    %edx,%eax
40a1e6:	83 e0 0f             	and    $0xf,%eax
40a1e9:	0f ac ca 04          	shrd   $0x4,%ecx,%edx
40a1ed:	c1 e9 04             	shr    $0x4,%ecx
40a1f0:	8a 04 38             	mov    (%eax,%edi,1),%al
40a1f3:	88 06                	mov    %al,(%esi)
40a1f5:	8b c2                	mov    %edx,%eax
40a1f7:	4e                   	dec    %esi
40a1f8:	0b c1                	or     %ecx,%eax
40a1fa:	75 e8                	jne    0x40a1e4
40a1fc:	e9 e2 00 00 00       	jmp    0x40a2e3
40a201:	8b 45 08             	mov    0x8(%ebp),%eax
40a204:	c1 ea 03             	shr    $0x3,%edx
40a207:	89 45 f0             	mov    %eax,-0x10(%ebp)
40a20a:	89 45 ec             	mov    %eax,-0x14(%ebp)
40a20d:	8b 45 0c             	mov    0xc(%ebp),%eax