40c0ca:	85 f6                	test   %esi,%esi
40c0cc:	7c 12                	jl     0x40c0e0
40c0ce:	8a 0c 30             	mov    (%eax,%esi,1),%cl
40c0d1:	81 e1 ff 00 00 00    	and    $0xff,%ecx
40c0d7:	0f a3 0d 0c d1 45 00 	bt     %ecx,0x45d10c
40c0de:	72 e9                	jb     0x40c0c9
40c0e0:	8b cf                	mov    %edi,%ecx
40c0e2:	2b ce                	sub    %esi,%ecx
40c0e4:	81 e1 01 00 00 80    	and    $0x80000001,%ecx
40c0ea:	79 05                	jns    0x40c0f1
40c0ec:	49                   	dec    %ecx
40c0ed:	83 c9 fe             	or     $0xfffffffe,%ecx
40c0f0:	41                   	inc    %ecx
40c0f1:	85 c9                	test   %ecx,%ecx
40c0f3:	75 04                	jne    0x40c0f9
40c0f5:	b2 02                	mov    $0x2,%dl
40c0f7:	eb 13                	jmp    0x40c10c
40c0f9:	8a 04 38             	mov    (%eax,%edi,1),%al
40c0fc:	25 ff 00 00 00       	and    $0xff,%eax
40c101:	0f a3 05 0c d1 45 00 	bt     %eax,0x45d10c
40c108:	73 02                	jae    0x40c10c
40c10a:	b2 01                	mov    $0x1,%dl
40c10c:	8b c2                	mov    %edx,%eax
40c10e:	5f                   	pop    %edi
40c10f:	5e                   	pop    %esi
40c110:	c3                   	ret
40c111:	8d 40 00             	lea    0x0(%eax),%eax
40c114:	53                   	push   %ebx
40c115:	56                   	push   %esi
40c116:	8b f2                	mov    %edx,%esi
40c118:	8b d8                	mov    %eax,%ebx
40c11a:	33 c0                	xor    %eax,%eax
40c11c:	80 3d 4c 97 46 00 00 	cmpb   $0x0,0x46974c
40c123:	74 0f                	je     0x40c134
40c125:	8b c3                	mov    %ebx,%eax
40c127:	e8 50 83 ff ff       	call   0x40447c
40c12c:	8b d6                	mov    %esi,%edx
40c12e:	4a                   	dec    %edx
40c12f:	e8 68 ff ff ff       	call   0x40c09c
40c134:	5e                   	pop    %esi
40c135:	5b                   	pop    %ebx
40c136:	c3                   	ret
40c137:	90                   	nop
40c138:	33 c9                	xor    %ecx,%ecx
40c13a:	80 3d 4c 97 46 00 00 	cmpb   $0x0,0x46974c
40c141:	74 07                	je     0x40c14a
40c143:	e8 54 ff ff ff       	call   0x40c09c
40c148:	8b c8                	mov    %eax,%ecx
40c14a:	8b c1                	mov    %ecx,%eax
40c14c:	c3                   	ret
40c14d:	8d 40 00             	lea    0x0(%eax),%eax
40c150:	53                   	push   %ebx
40c151:	56                   	push   %esi
40c152:	8b f2                	mov    %edx,%esi
40c154:	8b d8                	mov    %eax,%ebx
40c156:	8b c3                	mov    %ebx,%eax
40c158:	e8 1f 81 ff ff       	call   0x40427c
40c15d:	3b f0                	cmp    %eax,%esi
40c15f:	7e 09                	jle    0x40c16a
40c161:	8b c3                	mov    %ebx,%eax
40c163:	e8 14 81 ff ff       	call   0x40427c
40c168:	8b f0                	mov    %eax,%esi
40c16a:	8b d6                	mov    %esi,%edx
40c16c:	8b c3                	mov    %ebx,%eax
40c16e:	e8 05 00 00 00       	call   0x40c178
40c173:	5e                   	pop    %esi
40c174:	5b                   	pop    %ebx
40c175:	c3                   	ret
40c176:	8b c0                	mov    %eax,%eax
40c178:	53                   	push   %ebx
40c179:	56                   	push   %esi
40c17a:	57                   	push   %edi
40c17b:	8b f2                	mov    %edx,%esi
40c17d:	8b d8                	mov    %eax,%ebx
40c17f:	33 ff                	xor    %edi,%edi
40c181:	85 f6                	test   %esi,%esi
40c183:	7e 45                	jle    0x40c1ca
40c185:	8b c3                	mov    %ebx,%eax
40c187:	e8 f0 80 ff ff       	call   0x40427c
40c18c:	3b f0                	cmp    %eax,%esi
40c18e:	7f 3a                	jg     0x40c1ca
40c190:	8b fe                	mov    %esi,%edi
40c192:	80 3d 4c 97 46 00 00 	cmpb   $0x0,0x46974c
40c199:	74 2f                	je     0x40c1ca
40c19b:	b8 01 00 00 00       	mov    $0x1,%eax
40c1a0:	33 ff                	xor    %edi,%edi
40c1a2:	3b f0                	cmp    %eax,%esi
40c1a4:	7c 24                	jl     0x40c1ca
40c1a6:	8a 54 03 ff          	mov    -0x1(%ebx,%eax,1),%dl
40c1aa:	81 e2 ff 00 00 00    	and    $0xff,%edx
40c1b0:	0f a3 15 0c d1 45 00 	bt     %edx,0x45d10c
40c1b7:	73 0b                	jae    0x40c1c4
40c1b9:	8b d0                	mov    %eax,%edx
40c1bb:	8b c3                	mov    %ebx,%eax
40c1bd:	e8 c6 01 00 00       	call   0x40c388
40c1c2:	eb 01                	jmp    0x40c1c5
40c1c4:	40                   	inc    %eax
40c1c5:	47                   	inc    %edi
40c1c6:	3b f0                	cmp    %eax,%esi
40c1c8:	7d dc                	jge    0x40c1a6
40c1ca:	8b c7                	mov    %edi,%eax
40c1cc:	5f                   	pop    %edi
40c1cd:	5e                   	pop    %esi
40c1ce:	5b                   	pop    %ebx
40c1cf:	c3                   	ret
40c1d0:	55                   	push   %ebp
40c1d1:	8b ec                	mov    %esp,%ebp
40c1d3:	83 c4 f4             	add    $0xfffffff4,%esp
40c1d6:	53                   	push   %ebx
40c1d7:	56                   	push   %esi
40c1d8:	57                   	push   %edi
40c1d9:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40c1dc:	89 55 fc             	mov    %edx,-0x4(%ebp)
40c1df:	8b f8                	mov    %eax,%edi
40c1e1:	8b c7                	mov    %edi,%eax
40c1e3:	e8 94 80 ff ff       	call   0x40427c
40c1e8:	89 45 f4             	mov    %eax,-0xc(%ebp)
40c1eb:	be 01 00 00 00       	mov    $0x1,%esi
40c1f0:	bb 01 00 00 00       	mov    $0x1,%ebx
40c1f5:	eb 21                	jmp    0x40c218
40c1f7:	46                   	inc    %esi
40c1f8:	8a 44 1f ff          	mov    -0x1(%edi,%ebx,1),%al
40c1fc:	25 ff 00 00 00       	and    $0xff,%eax
40c201:	0f a3 05 0c d1 45 00 	bt     %eax,0x45d10c
40c208:	73 0d                	jae    0x40c217
40c20a:	8b d3                	mov    %ebx,%edx
40c20c:	8b c7                	mov    %edi,%eax
40c20e:	e8 75 01 00 00       	call   0x40c388
40c213:	8b d8                	mov    %eax,%ebx
40c215:	eb 01                	jmp    0x40c218
40c217:	43                   	inc    %ebx
40c218:	3b 5d f4             	cmp    -0xc(%ebp),%ebx
40c21b:	7d 05                	jge    0x40c222
40c21d:	3b 75 fc             	cmp    -0x4(%ebp),%esi
40c220:	7c d5                	jl     0x40c1f7
40c222:	3b 75 fc             	cmp    -0x4(%ebp),%esi
40c225:	75 23                	jne    0x40c24a
40c227:	3b 5d f4             	cmp    -0xc(%ebp),%ebx
40c22a:	7d 1e                	jge    0x40c24a
40c22c:	8a 44 1f ff          	mov    -0x1(%edi,%ebx,1),%al
40c230:	25 ff 00 00 00       	and    $0xff,%eax
40c235:	0f a3 05 0c d1 45 00 	bt     %eax,0x45d10c
40c23c:	73 0c                	jae    0x40c24a
40c23e:	8b d3                	mov    %ebx,%edx
40c240:	8b c7                	mov    %edi,%eax
40c242:	e8 41 01 00 00       	call   0x40c388
40c247:	48                   	dec    %eax
40c248:	8b d8                	mov    %eax,%ebx
40c24a:	8b 45 f8             	mov    -0x8(%ebp),%eax
40c24d:	89 30                	mov    %esi,(%eax)
40c24f:	8b 45 08             	mov    0x8(%ebp),%eax
40c252:	89 18                	mov    %ebx,(%eax)
40c254:	5f                   	pop    %edi
40c255:	5e                   	pop    %esi
40c256:	5b                   	pop    %ebx
40c257:	8b e5                	mov    %ebp,%esp
40c259:	5d                   	pop    %ebp
40c25a:	c2 04 00             	ret    $0x4
40c25d:	8d 40 00             	lea    0x0(%eax),%eax
40c260:	53                   	push   %ebx
40c261:	56                   	push   %esi
40c262:	83 c4 f8             	add    $0xfffffff8,%esp
40c265:	8b da                	mov    %edx,%ebx
40c267:	8b f0                	mov    %eax,%esi
40c269:	33 c0                	xor    %eax,%eax
40c26b:	89 04 24             	mov    %eax,(%esp)
40c26e:	85 db                	test   %ebx,%ebx
40c270:	7e 4a                	jle    0x40c2bc
40c272:	8b c6                	mov    %esi,%eax
40c274:	e8 03 80 ff ff       	call   0x40427c
40c279:	3b d8                	cmp    %eax,%ebx
40c27b:	7f 3f                	jg     0x40c2bc
40c27d:	83 fb 01             	cmp    $0x1,%ebx
40c280:	7e 37                	jle    0x40c2b9
40c282:	80 3d 4c 97 46 00 00 	cmpb   $0x0,0x46974c
40c289:	74 2e                	je     0x40c2b9
40c28b:	54                   	push   %esp
40c28c:	8d 4c 24 08          	lea    0x8(%esp),%ecx
40c290:	8b d3                	mov    %ebx,%edx
40c292:	4a                   	dec    %edx
40c293:	8b c6                	mov    %esi,%eax
40c295:	e8 36 ff ff ff       	call   0x40c1d0
40c29a:	4b                   	dec    %ebx
40c29b:	3b 5c 24 04          	cmp    0x4(%esp),%ebx
40c29f:	7f 0c                	jg     0x40c2ad
40c2a1:	8b c6                	mov    %esi,%eax
40c2a3:	e8 d4 7f ff ff       	call   0x40427c
40c2a8:	3b 04 24             	cmp    (%esp),%eax
40c2ab:	7f 07                	jg     0x40c2b4
40c2ad:	33 c0                	xor    %eax,%eax
40c2af:	89 04 24             	mov    %eax,(%esp)
40c2b2:	eb 08                	jmp    0x40c2bc
40c2b4:	ff 04 24             	incl   (%esp)
40c2b7:	eb 03                	jmp    0x40c2bc
40c2b9:	89 1c 24             	mov    %ebx,(%esp)
40c2bc:	8b 04 24             	mov    (%esp),%eax
40c2bf:	59                   	pop    %ecx
40c2c0:	5a                   	pop    %edx
40c2c1:	5e                   	pop    %esi
40c2c2:	5b                   	pop    %ebx
40c2c3:	c3                   	ret
40c2c4:	53                   	push   %ebx
40c2c5:	56                   	push   %esi
40c2c6:	83 c4 f8             	add    $0xfffffff8,%esp
40c2c9:	8b da                	mov    %edx,%ebx
40c2cb:	8b f0                	mov    %eax,%esi
40c2cd:	33 c0                	xor    %eax,%eax
40c2cf:	89 04 24             	mov    %eax,(%esp)
40c2d2:	85 db                	test   %ebx,%ebx
40c2d4:	7e 46                	jle    0x40c31c
40c2d6:	8b c6                	mov    %esi,%eax
40c2d8:	e8 9f 7f ff ff       	call   0x40427c
40c2dd:	3b d8                	cmp    %eax,%ebx
40c2df:	7e 09                	jle    0x40c2ea
40c2e1:	8b c6                	mov    %esi,%eax
40c2e3:	e8 94 7f ff ff       	call   0x40427c
40c2e8:	8b d8                	mov    %eax,%ebx
40c2ea:	80 3d 4c 97 46 00 00 	cmpb   $0x0,0x46974c
40c2f1:	74 26                	je     0x40c319
40c2f3:	54                   	push   %esp
40c2f4:	8d 4c 24 08          	lea    0x8(%esp),%ecx
40c2f8:	8b d3                	mov    %ebx,%edx
40c2fa:	8b c6                	mov    %esi,%eax
40c2fc:	e8 cf fe ff ff       	call   0x40c1d0
40c301:	8b c6                	mov    %esi,%eax
40c303:	e8 74 7f ff ff       	call   0x40427c
40c308:	3b 04 24             	cmp    (%esp),%eax
40c30b:	7d 0f                	jge    0x40c31c
40c30d:	8b c6                	mov    %esi,%eax
40c30f:	e8 68 7f ff ff       	call   0x40427c
40c314:	89 04 24             	mov    %eax,(%esp)
40c317:	eb 03                	jmp    0x40c31c
40c319:	89 1c 24             	mov    %ebx,(%esp)
40c31c:	8b 04 24             	mov    (%esp),%eax
40c31f:	59                   	pop    %ecx
40c320:	5a                   	pop    %edx
40c321:	5e                   	pop    %esi
40c322:	5b                   	pop    %ebx
40c323:	c3                   	ret
40c324:	53                   	push   %ebx
40c325:	8b d8                	mov    %eax,%ebx
40c327:	80 3d 4c 97 46 00 00 	cmpb   $0x0,0x46974c
40c32e:	74 0a                	je     0x40c33a
40c330:	53                   	push   %ebx
40c331:	e8 22 a1 ff ff       	call   0x406458
40c336:	2b c3                	sub    %ebx,%eax
40c338:	5b                   	pop    %ebx
40c339:	c3                   	ret
40c33a:	b8 01 00 00 00       	mov    $0x1,%eax
40c33f:	5b                   	pop    %ebx
40c340:	c3                   	ret
40c341:	8d 40 00             	lea    0x0(%eax),%eax
40c344:	50                   	push   %eax
40c345:	e8 0e a1 ff ff       	call   0x406458
40c34a:	c3                   	ret
40c34b:	90                   	nop
40c34c:	53                   	push   %ebx
40c34d:	56                   	push   %esi
40c34e:	8b f2                	mov    %edx,%esi
40c350:	8b d8                	mov    %eax,%ebx
40c352:	b8 01 00 00 00       	mov    $0x1,%eax
40c357:	80 3d 4c 97 46 00 00 	cmpb   $0x0,0x46974c
40c35e:	74 22                	je     0x40c382
40c360:	8a 54 33 ff          	mov    -0x1(%ebx,%esi,1),%dl
40c364:	81 e2 ff 00 00 00    	and    $0xff,%edx
40c36a:	0f a3 15 0c d1 45 00 	bt     %edx,0x45d10c
40c371:	73 0f                	jae    0x40c382
40c373:	8b c3                	mov    %ebx,%eax
40c375:	e8 02 81 ff ff       	call   0x40447c
40c37a:	03 c6                	add    %esi,%eax
40c37c:	48                   	dec    %eax
40c37d:	e8 a2 ff ff ff       	call   0x40c324
40c382:	5e                   	pop    %esi
40c383:	5b                   	pop    %ebx
40c384:	c3                   	ret
40c385:	8d 40 00             	lea    0x0(%eax),%eax
40c388:	53                   	push   %ebx
40c389:	56                   	push   %esi
40c38a:	8b da                	mov    %edx,%ebx
40c38c:	8b f0                	mov    %eax,%esi
40c38e:	8d 43 01             	lea    0x1(%ebx),%eax
40c391:	80 3d 4c 97 46 00 00 	cmpb   $0x0,0x46974c
40c398:	74 24                	je     0x40c3be
40c39a:	8a 54 1e ff          	mov    -0x1(%esi,%ebx,1),%dl
40c39e:	81 e2 ff 00 00 00    	and    $0xff,%edx
40c3a4:	0f a3 15 0c d1 45 00 	bt     %edx,0x45d10c
40c3ab:	73 11                	jae    0x40c3be
40c3ad:	8b c6                	mov    %esi,%eax
40c3af:	e8 c8 80 ff ff       	call   0x40447c
40c3b4:	03 c3                	add    %ebx,%eax
40c3b6:	48                   	dec    %eax
40c3b7:	e8 68 ff ff ff       	call   0x40c324
40c3bc:	03 c3                	add    %ebx,%eax
40c3be:	5e                   	pop    %esi
40c3bf:	5b                   	pop    %ebx
40c3c0:	c3                   	ret
40c3c1:	8d 40 00             	lea    0x0(%eax),%eax
40c3c4:	53                   	push   %ebx
40c3c5:	56                   	push   %esi
40c3c6:	8b da                	mov    %edx,%ebx
40c3c8:	8b f0                	mov    %eax,%esi
40c3ca:	85 db                	test   %ebx,%ebx
40c3cc:	7e 1f                	jle    0x40c3ed
40c3ce:	8b c6                	mov    %esi,%eax
40c3d0:	e8 a7 7e ff ff       	call   0x40427c
40c3d5:	3b d8                	cmp    %eax,%ebx
40c3d7:	7f 14                	jg     0x40c3ed
40c3d9:	80 7c 1e ff 5c       	cmpb   $0x5c,-0x1(%esi,%ebx,1)
40c3de:	75 0d                	jne    0x40c3ed
40c3e0:	8b d3                	mov    %ebx,%edx
40c3e2:	8b c6                	mov    %esi,%eax
40c3e4:	e8 2b fd ff ff       	call   0x40c114
40c3e9:	84 c0                	test   %al,%al
40c3eb:	74 05                	je     0x40c3f2
40c3ed:	33 c0                	xor    %eax,%eax
40c3ef:	5e                   	pop    %esi
40c3f0:	5b                   	pop    %ebx
40c3f1:	c3                   	ret
40c3f2:	b0 01                	mov    $0x1,%al
40c3f4:	5e                   	pop    %esi
40c3f5:	5b                   	pop    %ebx
40c3f6:	c3                   	ret
40c3f7:	90                   	nop
40c3f8:	53                   	push   %ebx
40c3f9:	56                   	push   %esi
40c3fa:	57                   	push   %edi
40c3fb:	55                   	push   %ebp
40c3fc:	8b f9                	mov    %ecx,%edi
40c3fe:	8b f2                	mov    %edx,%esi
40c400:	8b e8                	mov    %eax,%ebp
40c402:	33 db                	xor    %ebx,%ebx
40c404:	85 ff                	test   %edi,%edi
40c406:	7e 2d                	jle    0x40c435
40c408:	8b c6                	mov    %esi,%eax
40c40a:	e8 6d 7e ff ff       	call   0x40427c
40c40f:	3b f8                	cmp    %eax,%edi
40c411:	7f 22                	jg     0x40c435
40c413:	8b d7                	mov    %edi,%edx
40c415:	8b c6                	mov    %esi,%eax
40c417:	e8 f8 fc ff ff       	call   0x40c114
40c41c:	84 c0                	test   %al,%al
40c41e:	75 15                	jne    0x40c435
40c420:	8b c5                	mov    %ebp,%eax
40c422:	e8 55 80 ff ff       	call   0x40447c
40c427:	8a 54 3e ff          	mov    -0x1(%esi,%edi,1),%dl
40c42b:	e8 7c c3 ff ff       	call   0x4087ac
40c430:	85 c0                	test   %eax,%eax
40c432:	0f 95 c3             	setne  %bl
40c435:	8b c3                	mov    %ebx,%eax
40c437:	5d                   	pop    %ebp