40e0cd:	8d 7a 01             	lea    0x1(%edx),%edi
40e0d0:	8a 0a                	mov    (%edx),%cl
40e0d2:	42                   	inc    %edx
40e0d3:	84 c9                	test   %cl,%cl
40e0d5:	75 f9                	jne    0x40e0d0
40e0d7:	2b d7                	sub    %edi,%edx
40e0d9:	b0 01                	mov    $0x1,%al
40e0db:	5f                   	pop    %edi
40e0dc:	89 56 38             	mov    %edx,0x38(%esi)
40e0df:	5e                   	pop    %esi
40e0e0:	8b e5                	mov    %ebp,%esp
40e0e2:	5d                   	pop    %ebp
40e0e3:	c3                   	ret
40e0e4:	8b ff                	mov    %edi,%edi
40e0e6:	55                   	push   %ebp
40e0e7:	8b ec                	mov    %esp,%ebp
40e0e9:	51                   	push   %ecx
40e0ea:	51                   	push   %ecx
40e0eb:	56                   	push   %esi
40e0ec:	8b f1                	mov    %ecx,%esi
40e0ee:	57                   	push   %edi
40e0ef:	83 4e 20 10          	orl    $0x10,0x20(%esi)
40e0f3:	8b 46 28             	mov    0x28(%esi),%eax
40e0f6:	85 c0                	test   %eax,%eax
40e0f8:	79 1d                	jns    0x40e117
40e0fa:	8a 46 31             	mov    0x31(%esi),%al
40e0fd:	3c 61                	cmp    $0x61,%al
40e0ff:	74 0d                	je     0x40e10e
40e101:	3c 41                	cmp    $0x41,%al
40e103:	74 09                	je     0x40e10e
40e105:	c7 46 28 06 00 00 00 	movl   $0x6,0x28(%esi)
40e10c:	eb 1d                	jmp    0x40e12b
40e10e:	c7 46 28 0d 00 00 00 	movl   $0xd,0x28(%esi)
40e115:	eb 14                	jmp    0x40e12b
40e117:	75 12                	jne    0x40e12b
40e119:	8a 46 31             	mov    0x31(%esi),%al
40e11c:	3c 67                	cmp    $0x67,%al
40e11e:	74 04                	je     0x40e124
40e120:	3c 47                	cmp    $0x47,%al
40e122:	75 07                	jne    0x40e12b
40e124:	c7 46 28 01 00 00 00 	movl   $0x1,0x28(%esi)
40e12b:	8b 46 28             	mov    0x28(%esi),%eax
40e12e:	8d 7e 40             	lea    0x40(%esi),%edi
40e131:	53                   	push   %ebx
40e132:	bb 5d 01 00 00       	mov    $0x15d,%ebx
40e137:	8b cf                	mov    %edi,%ecx
40e139:	03 c3                	add    %ebx,%eax
40e13b:	50                   	push   %eax
40e13c:	e8 ee df ff ff       	call   0x40c12f
40e141:	84 c0                	test   %al,%al
40e143:	75 0c                	jne    0x40e151
40e145:	8b cf                	mov    %edi,%ecx
40e147:	e8 cb df ff ff       	call   0x40c117
40e14c:	2b c3                	sub    %ebx,%eax
40e14e:	89 46 28             	mov    %eax,0x28(%esi)
40e151:	8b 87 04 04 00 00    	mov    0x404(%edi),%eax
40e157:	85 c0                	test   %eax,%eax
40e159:	75 02                	jne    0x40e15d
40e15b:	8b c7                	mov    %edi,%eax
40e15d:	83 65 f8 00          	andl   $0x0,-0x8(%ebp)
40e161:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40e165:	89 46 34             	mov    %eax,0x34(%esi)
40e168:	83 46 14 08          	addl   $0x8,0x14(%esi)
40e16c:	8b 4e 14             	mov    0x14(%esi),%ecx
40e16f:	8b 41 f8             	mov    -0x8(%ecx),%eax
40e172:	89 45 f8             	mov    %eax,-0x8(%ebp)
40e175:	8b 41 fc             	mov    -0x4(%ecx),%eax
40e178:	8b cf                	mov    %edi,%ecx
40e17a:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e17d:	e8 95 df ff ff       	call   0x40c117
40e182:	8b 9f 04 04 00 00    	mov    0x404(%edi),%ebx
40e188:	8b c8                	mov    %eax,%ecx
40e18a:	85 db                	test   %ebx,%ebx
40e18c:	75 02                	jne    0x40e190
40e18e:	8b df                	mov    %edi,%ebx
40e190:	ff 76 08             	push   0x8(%esi)
40e193:	0f be 46 31          	movsbl 0x31(%esi),%eax
40e197:	ff 76 04             	push   0x4(%esi)
40e19a:	ff 36                	push   (%esi)
40e19c:	ff 76 28             	push   0x28(%esi)
40e19f:	50                   	push   %eax
40e1a0:	51                   	push   %ecx
40e1a1:	8b cf                	mov    %edi,%ecx
40e1a3:	e8 9c e0 ff ff       	call   0x40c244
40e1a8:	50                   	push   %eax
40e1a9:	8b cf                	mov    %edi,%ecx
40e1ab:	e8 67 df ff ff       	call   0x40c117
40e1b0:	50                   	push   %eax
40e1b1:	8d 45 f8             	lea    -0x8(%ebp),%eax
40e1b4:	53                   	push   %ebx
40e1b5:	50                   	push   %eax
40e1b6:	e8 22 c3 00 00       	call   0x41a4dd
40e1bb:	8b 46 20             	mov    0x20(%esi),%eax
40e1be:	83 c4 28             	add    $0x28,%esp
40e1c1:	c1 e8 05             	shr    $0x5,%eax
40e1c4:	5b                   	pop    %ebx
40e1c5:	a8 01                	test   $0x1,%al
40e1c7:	74 13                	je     0x40e1dc
40e1c9:	83 7e 28 00          	cmpl   $0x0,0x28(%esi)
40e1cd:	75 0d                	jne    0x40e1dc
40e1cf:	ff 76 08             	push   0x8(%esi)
40e1d2:	ff 76 34             	push   0x34(%esi)
40e1d5:	e8 18 e9 ff ff       	call   0x40caf2
40e1da:	59                   	pop    %ecx
40e1db:	59                   	pop    %ecx
40e1dc:	8a 46 31             	mov    0x31(%esi),%al
40e1df:	3c 67                	cmp    $0x67,%al
40e1e1:	74 04                	je     0x40e1e7
40e1e3:	3c 47                	cmp    $0x47,%al
40e1e5:	75 17                	jne    0x40e1fe
40e1e7:	8b 46 20             	mov    0x20(%esi),%eax
40e1ea:	c1 e8 05             	shr    $0x5,%eax
40e1ed:	a8 01                	test   $0x1,%al
40e1ef:	75 0d                	jne    0x40e1fe
40e1f1:	ff 76 08             	push   0x8(%esi)
40e1f4:	ff 76 34             	push   0x34(%esi)
40e1f7:	e8 07 e8 ff ff       	call   0x40ca03
40e1fc:	59                   	pop    %ecx
40e1fd:	59                   	pop    %ecx
40e1fe:	8b 46 34             	mov    0x34(%esi),%eax
40e201:	80 38 2d             	cmpb   $0x2d,(%eax)
40e204:	75 08                	jne    0x40e20e
40e206:	83 4e 20 40          	orl    $0x40,0x20(%esi)
40e20a:	40                   	inc    %eax
40e20b:	89 46 34             	mov    %eax,0x34(%esi)
40e20e:	8b 56 34             	mov    0x34(%esi),%edx
40e211:	8a 02                	mov    (%edx),%al
40e213:	3c 69                	cmp    $0x69,%al
40e215:	74 0c                	je     0x40e223
40e217:	3c 49                	cmp    $0x49,%al
40e219:	74 08                	je     0x40e223
40e21b:	3c 6e                	cmp    $0x6e,%al
40e21d:	74 04                	je     0x40e223
40e21f:	3c 4e                	cmp    $0x4e,%al
40e221:	75 04                	jne    0x40e227
40e223:	c6 46 31 73          	movb   $0x73,0x31(%esi)
40e227:	8d 7a 01             	lea    0x1(%edx),%edi
40e22a:	8a 0a                	mov    (%edx),%cl
40e22c:	42                   	inc    %edx
40e22d:	84 c9                	test   %cl,%cl
40e22f:	75 f9                	jne    0x40e22a
40e231:	2b d7                	sub    %edi,%edx
40e233:	b0 01                	mov    $0x1,%al
40e235:	5f                   	pop    %edi
40e236:	89 56 38             	mov    %edx,0x38(%esi)
40e239:	5e                   	pop    %esi
40e23a:	8b e5                	mov    %ebp,%esp
40e23c:	5d                   	pop    %ebp
40e23d:	c3                   	ret
40e23e:	8b ff                	mov    %edi,%edi
40e240:	55                   	push   %ebp
40e241:	8b ec                	mov    %esp,%ebp
40e243:	51                   	push   %ecx
40e244:	51                   	push   %ecx
40e245:	56                   	push   %esi
40e246:	57                   	push   %edi
40e247:	8b f1                	mov    %ecx,%esi
40e249:	6a 67                	push   $0x67
40e24b:	59                   	pop    %ecx
40e24c:	6a 47                	push   $0x47
40e24e:	83 4e 20 10          	orl    $0x10,0x20(%esi)
40e252:	8b 46 28             	mov    0x28(%esi),%eax
40e255:	5a                   	pop    %edx
40e256:	85 c0                	test   %eax,%eax
40e258:	79 20                	jns    0x40e27a
40e25a:	0f b7 46 32          	movzwl 0x32(%esi),%eax
40e25e:	83 f8 61             	cmp    $0x61,%eax
40e261:	74 0e                	je     0x40e271
40e263:	83 f8 41             	cmp    $0x41,%eax
40e266:	74 09                	je     0x40e271
40e268:	c7 46 28 06 00 00 00 	movl   $0x6,0x28(%esi)
40e26f:	eb 20                	jmp    0x40e291
40e271:	c7 46 28 0d 00 00 00 	movl   $0xd,0x28(%esi)
40e278:	eb 17                	jmp    0x40e291
40e27a:	75 15                	jne    0x40e291
40e27c:	0f b7 46 32          	movzwl 0x32(%esi),%eax
40e280:	66 3b c1             	cmp    %cx,%ax
40e283:	74 05                	je     0x40e28a
40e285:	66 3b c2             	cmp    %dx,%ax
40e288:	75 07                	jne    0x40e291
40e28a:	c7 46 28 01 00 00 00 	movl   $0x1,0x28(%esi)
40e291:	8b 46 28             	mov    0x28(%esi),%eax
40e294:	8d 7e 40             	lea    0x40(%esi),%edi
40e297:	53                   	push   %ebx
40e298:	bb 5d 01 00 00       	mov    $0x15d,%ebx
40e29d:	8b cf                	mov    %edi,%ecx
40e29f:	03 c3                	add    %ebx,%eax
40e2a1:	50                   	push   %eax
40e2a2:	e8 88 de ff ff       	call   0x40c12f
40e2a7:	84 c0                	test   %al,%al
40e2a9:	75 0c                	jne    0x40e2b7
40e2ab:	8b cf                	mov    %edi,%ecx
40e2ad:	e8 65 de ff ff       	call   0x40c117
40e2b2:	2b c3                	sub    %ebx,%eax
40e2b4:	89 46 28             	mov    %eax,0x28(%esi)
40e2b7:	8b 87 04 04 00 00    	mov    0x404(%edi),%eax
40e2bd:	85 c0                	test   %eax,%eax
40e2bf:	75 02                	jne    0x40e2c3
40e2c1:	8b c7                	mov    %edi,%eax
40e2c3:	83 65 f8 00          	andl   $0x0,-0x8(%ebp)
40e2c7:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40e2cb:	89 46 34             	mov    %eax,0x34(%esi)
40e2ce:	83 46 14 08          	addl   $0x8,0x14(%esi)
40e2d2:	8b 4e 14             	mov    0x14(%esi),%ecx
40e2d5:	8b 41 f8             	mov    -0x8(%ecx),%eax
40e2d8:	89 45 f8             	mov    %eax,-0x8(%ebp)
40e2db:	8b 41 fc             	mov    -0x4(%ecx),%eax
40e2de:	8b cf                	mov    %edi,%ecx
40e2e0:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e2e3:	e8 2f de ff ff       	call   0x40c117
40e2e8:	8b 9f 04 04 00 00    	mov    0x404(%edi),%ebx
40e2ee:	8b c8                	mov    %eax,%ecx
40e2f0:	85 db                	test   %ebx,%ebx
40e2f2:	75 02                	jne    0x40e2f6
40e2f4:	8b df                	mov    %edi,%ebx
40e2f6:	ff 76 08             	push   0x8(%esi)
40e2f9:	0f be 46 32          	movsbl 0x32(%esi),%eax
40e2fd:	ff 76 04             	push   0x4(%esi)
40e300:	ff 36                	push   (%esi)
40e302:	ff 76 28             	push   0x28(%esi)
40e305:	50                   	push   %eax
40e306:	51                   	push   %ecx
40e307:	8b cf                	mov    %edi,%ecx
40e309:	e8 36 df ff ff       	call   0x40c244
40e30e:	50                   	push   %eax
40e30f:	8b cf                	mov    %edi,%ecx
40e311:	e8 01 de ff ff       	call   0x40c117
40e316:	50                   	push   %eax
40e317:	8d 45 f8             	lea    -0x8(%ebp),%eax
40e31a:	53                   	push   %ebx
40e31b:	50                   	push   %eax
40e31c:	e8 bc c1 00 00       	call   0x41a4dd
40e321:	8b 46 20             	mov    0x20(%esi),%eax
40e324:	83 c4 28             	add    $0x28,%esp
40e327:	c1 e8 05             	shr    $0x5,%eax
40e32a:	5b                   	pop    %ebx
40e32b:	a8 01                	test   $0x1,%al
40e32d:	74 13                	je     0x40e342
40e32f:	83 7e 28 00          	cmpl   $0x0,0x28(%esi)
40e333:	75 0d                	jne    0x40e342
40e335:	ff 76 08             	push   0x8(%esi)
40e338:	ff 76 34             	push   0x34(%esi)
40e33b:	e8 b2 e7 ff ff       	call   0x40caf2
40e340:	59                   	pop    %ecx
40e341:	59                   	pop    %ecx
40e342:	0f b7 46 32          	movzwl 0x32(%esi),%eax
40e346:	6a 67                	push   $0x67
40e348:	59                   	pop    %ecx
40e349:	66 3b c1             	cmp    %cx,%ax
40e34c:	74 08                	je     0x40e356
40e34e:	6a 47                	push   $0x47
40e350:	59                   	pop    %ecx
40e351:	66 3b c1             	cmp    %cx,%ax
40e354:	75 17                	jne    0x40e36d
40e356:	8b 46 20             	mov    0x20(%esi),%eax
40e359:	c1 e8 05             	shr    $0x5,%eax
40e35c:	a8 01                	test   $0x1,%al
40e35e:	75 0d                	jne    0x40e36d
40e360:	ff 76 08             	push   0x8(%esi)
40e363:	ff 76 34             	push   0x34(%esi)
40e366:	e8 98 e6 ff ff       	call   0x40ca03
40e36b:	59                   	pop    %ecx
40e36c:	59                   	pop    %ecx
40e36d:	8b 46 34             	mov    0x34(%esi),%eax
40e370:	80 38 2d             	cmpb   $0x2d,(%eax)
40e373:	75 08                	jne    0x40e37d
40e375:	83 4e 20 40          	orl    $0x40,0x20(%esi)
40e379:	40                   	inc    %eax
40e37a:	89 46 34             	mov    %eax,0x34(%esi)
40e37d:	8b 56 34             	mov    0x34(%esi),%edx
40e380:	8a 02                	mov    (%edx),%al
40e382:	3c 69                	cmp    $0x69,%al
40e384:	74 0c                	je     0x40e392
40e386:	3c 49                	cmp    $0x49,%al
40e388:	74 08                	je     0x40e392
40e38a:	3c 6e                	cmp    $0x6e,%al
40e38c:	74 04                	je     0x40e392
40e38e:	3c 4e                	cmp    $0x4e,%al
40e390:	75 07                	jne    0x40e399
40e392:	6a 73                	push   $0x73
40e394:	58                   	pop    %eax
40e395:	66 89 46 32          	mov    %ax,0x32(%esi)
40e399:	8d 7a 01             	lea    0x1(%edx),%edi
40e39c:	8a 0a                	mov    (%edx),%cl
40e39e:	42                   	inc    %edx
40e39f:	84 c9                	test   %cl,%cl
40e3a1:	75 f9                	jne    0x40e39c
40e3a3:	2b d7                	sub    %edi,%edx
40e3a5:	b0 01                	mov    $0x1,%al
40e3a7:	5f                   	pop    %edi
40e3a8:	89 56 38             	mov    %edx,0x38(%esi)
40e3ab:	5e                   	pop    %esi
40e3ac:	8b e5                	mov    %ebp,%esp
40e3ae:	5d                   	pop    %ebp
40e3af:	c3                   	ret
40e3b0:	8b ff                	mov    %edi,%edi
40e3b2:	56                   	push   %esi
40e3b3:	8b f1                	mov    %ecx,%esi
40e3b5:	57                   	push   %edi
40e3b6:	ff 76 2c             	push   0x2c(%esi)
40e3b9:	0f b6 46 31          	movzbl 0x31(%esi),%eax
40e3bd:	50                   	push   %eax
40e3be:	ff 76 04             	push   0x4(%esi)
40e3c1:	ff 36                	push   (%esi)
40e3c3:	e8 ed dd ff ff       	call   0x40c1b5
40e3c8:	83 c4 10             	add    $0x10,%esp
40e3cb:	8d 7e 40             	lea    0x40(%esi),%edi
40e3ce:	84 c0                	test   %al,%al
40e3d0:	74 39                	je     0x40e40b
40e3d2:	83 46 14 04          	addl   $0x4,0x14(%esi)
40e3d6:	8b 46 14             	mov    0x14(%esi),%eax
40e3d9:	53                   	push   %ebx
40e3da:	8b 9f 04 04 00 00    	mov    0x404(%edi),%ebx
40e3e0:	0f b7 40 fc          	movzwl -0x4(%eax),%eax
40e3e4:	85 db                	test   %ebx,%ebx
40e3e6:	75 02                	jne    0x40e3ea
40e3e8:	8b df                	mov    %edi,%ebx
40e3ea:	50                   	push   %eax
40e3eb:	8b cf                	mov    %edi,%ecx
40e3ed:	e8 25 dd ff ff       	call   0x40c117
40e3f2:	50                   	push   %eax
40e3f3:	8d 46 38             	lea    0x38(%esi),%eax
40e3f6:	53                   	push   %ebx
40e3f7:	50                   	push   %eax
40e3f8:	e8 9e b7 00 00       	call   0x419b9b
40e3fd:	83 c4 10             	add    $0x10,%esp
40e400:	5b                   	pop    %ebx
40e401:	85 c0                	test   %eax,%eax
40e403:	74 25                	je     0x40e42a
40e405:	c6 46 30 01          	movb   $0x1,0x30(%esi)
40e409:	eb 1f                	jmp    0x40e42a
40e40b:	8b 8f 04 04 00 00    	mov    0x404(%edi),%ecx
40e411:	85 c9                	test   %ecx,%ecx
40e413:	75 02                	jne    0x40e417
40e415:	8b cf                	mov    %edi,%ecx
40e417:	83 46 14 04          	addl   $0x4,0x14(%esi)
40e41b:	8b 46 14             	mov    0x14(%esi),%eax
40e41e:	8a 40 fc             	mov    -0x4(%eax),%al
40e421:	88 01                	mov    %al,(%ecx)
40e423:	c7 46 38 01 00 00 00 	movl   $0x1,0x38(%esi)
40e42a:	8b 87 04 04 00 00    	mov    0x404(%edi),%eax
40e430:	85 c0                	test   %eax,%eax
40e432:	74 02                	je     0x40e436
40e434:	8b f8                	mov    %eax,%edi
40e436:	89 7e 34             	mov    %edi,0x34(%esi)
40e439:	b0 01                	mov    $0x1,%al
40e43b:	5f                   	pop    %edi
40e43c:	5e                   	pop    %esi
40e43d:	c2 04 00             	ret    $0x4
40e440:	8b ff                	mov    %edi,%edi