499107:	74 05                	je     0x49910e
499109:	88 43 05             	mov    %al,0x5(%ebx)
49910c:	eb 06                	jmp    0x499114
49910e:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)
499114:	c6 43 04 01          	movb   $0x1,0x4(%ebx)
499118:	8b 0e                	mov    (%esi),%ecx
49911a:	8b 03                	mov    (%ebx),%eax
49911c:	85 c9                	test   %ecx,%ecx
49911e:	75 2f                	jne    0x49914f
499120:	85 c0                	test   %eax,%eax
499122:	75 2f                	jne    0x499153
499124:	85 ff                	test   %edi,%edi
499126:	0f 84 38 02 00 00    	je     0x499364
49912c:	83 ff 0a             	cmp    $0xa,%edi
49912f:	0f 84 2f 02 00 00    	je     0x499364
499135:	b8 08 00 00 00       	mov    $0x8,%eax
49913a:	ba 16 00 00 00       	mov    $0x16,%edx
49913f:	3b f8                	cmp    %eax,%edi
499141:	0f 44 d0             	cmove  %eax,%edx
499144:	89 95 7c ff ff ff    	mov    %edx,-0x84(%ebp)
49914a:	e9 1f 02 00 00       	jmp    0x49936e
49914f:	85 c0                	test   %eax,%eax
499151:	75 d1                	jne    0x499124
499153:	80 7e 04 00          	cmpb   $0x0,0x4(%esi)
499157:	75 33                	jne    0x49918c
499159:	85 c9                	test   %ecx,%ecx
49915b:	74 25                	je     0x499182
49915d:	8b 41 1c             	mov    0x1c(%ecx),%eax
499160:	8b 10                	mov    (%eax),%edx
499162:	85 d2                	test   %edx,%edx
499164:	74 0d                	je     0x499173
499166:	8b 41 2c             	mov    0x2c(%ecx),%eax
499169:	83 38 00             	cmpl   $0x0,(%eax)
49916c:	7e 05                	jle    0x499173
49916e:	0f b6 02             	movzbl (%edx),%eax
499171:	eb 05                	jmp    0x499178
499173:	8b 01                	mov    (%ecx),%eax
499175:	ff 50 18             	call   *0x18(%eax)
499178:	83 f8 ff             	cmp    $0xffffffff,%eax
49917b:	74 05                	je     0x499182
49917d:	88 46 05             	mov    %al,0x5(%esi)
499180:	eb 06                	jmp    0x499188
499182:	c7 06 00 00 00 00    	movl   $0x0,(%esi)
499188:	c6 46 04 01          	movb   $0x1,0x4(%esi)
49918c:	8a 46 05             	mov    0x5(%esi),%al
49918f:	3a 45 d4             	cmp    -0x2c(%ebp),%al
499192:	75 90                	jne    0x499124
499194:	8b 0e                	mov    (%esi),%ecx
499196:	c6 45 a3 01          	movb   $0x1,-0x5d(%ebp)
49919a:	85 c9                	test   %ecx,%ecx
49919c:	74 33                	je     0x4991d1
49919e:	8b 41 1c             	mov    0x1c(%ecx),%eax
4991a1:	83 38 00             	cmpl   $0x0,(%eax)
4991a4:	74 1b                	je     0x4991c1
4991a6:	8b 51 2c             	mov    0x2c(%ecx),%edx
4991a9:	8b 02                	mov    (%edx),%eax
4991ab:	85 c0                	test   %eax,%eax
4991ad:	7e 12                	jle    0x4991c1
4991af:	48                   	dec    %eax
4991b0:	89 02                	mov    %eax,(%edx)
4991b2:	8b 49 1c             	mov    0x1c(%ecx),%ecx
4991b5:	8b 11                	mov    (%ecx),%edx
4991b7:	8d 42 01             	lea    0x1(%edx),%eax
4991ba:	89 01                	mov    %eax,(%ecx)
4991bc:	0f b6 02             	movzbl (%edx),%eax
4991bf:	eb 05                	jmp    0x4991c6
4991c1:	8b 01                	mov    (%ecx),%eax
4991c3:	ff 50 1c             	call   *0x1c(%eax)
4991c6:	83 f8 ff             	cmp    $0xffffffff,%eax
4991c9:	74 06                	je     0x4991d1
4991cb:	8b 0e                	mov    (%esi),%ecx
4991cd:	32 c0                	xor    %al,%al
4991cf:	eb 0a                	jmp    0x4991db
4991d1:	c7 06 00 00 00 00    	movl   $0x0,(%esi)
4991d7:	b0 01                	mov    $0x1,%al
4991d9:	33 c9                	xor    %ecx,%ecx
4991db:	88 46 04             	mov    %al,0x4(%esi)
4991de:	84 c0                	test   %al,%al
4991e0:	75 33                	jne    0x499215
4991e2:	85 c9                	test   %ecx,%ecx
4991e4:	74 25                	je     0x49920b
4991e6:	8b 41 1c             	mov    0x1c(%ecx),%eax
4991e9:	8b 10                	mov    (%eax),%edx
4991eb:	85 d2                	test   %edx,%edx
4991ed:	74 0d                	je     0x4991fc
4991ef:	8b 41 2c             	mov    0x2c(%ecx),%eax
4991f2:	83 38 00             	cmpl   $0x0,(%eax)
4991f5:	7e 05                	jle    0x4991fc
4991f7:	0f b6 02             	movzbl (%edx),%eax
4991fa:	eb 05                	jmp    0x499201
4991fc:	8b 01                	mov    (%ecx),%eax
4991fe:	ff 50 18             	call   *0x18(%eax)
499201:	83 f8 ff             	cmp    $0xffffffff,%eax
499204:	74 05                	je     0x49920b
499206:	88 46 05             	mov    %al,0x5(%esi)
499209:	eb 06                	jmp    0x499211
49920b:	c7 06 00 00 00 00    	movl   $0x0,(%esi)
499211:	c6 46 04 01          	movb   $0x1,0x4(%esi)
499215:	80 7b 04 00          	cmpb   $0x0,0x4(%ebx)
499219:	75 35                	jne    0x499250
49921b:	8b 0b                	mov    (%ebx),%ecx
49921d:	85 c9                	test   %ecx,%ecx
49921f:	74 25                	je     0x499246
499221:	8b 41 1c             	mov    0x1c(%ecx),%eax
499224:	8b 10                	mov    (%eax),%edx
499226:	85 d2                	test   %edx,%edx
499228:	74 0d                	je     0x499237
49922a:	8b 41 2c             	mov    0x2c(%ecx),%eax
49922d:	83 38 00             	cmpl   $0x0,(%eax)
499230:	7e 05                	jle    0x499237
499232:	0f b6 02             	movzbl (%edx),%eax
499235:	eb 05                	jmp    0x49923c
499237:	8b 01                	mov    (%ecx),%eax
499239:	ff 50 18             	call   *0x18(%eax)
49923c:	83 f8 ff             	cmp    $0xffffffff,%eax
49923f:	74 05                	je     0x499246
499241:	88 43 05             	mov    %al,0x5(%ebx)
499244:	eb 06                	jmp    0x49924c
499246:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)
49924c:	c6 43 04 01          	movb   $0x1,0x4(%ebx)
499250:	8b 0e                	mov    (%esi),%ecx
499252:	8b 03                	mov    (%ebx),%eax
499254:	85 c9                	test   %ecx,%ecx
499256:	75 19                	jne    0x499271
499258:	85 c0                	test   %eax,%eax
49925a:	75 19                	jne    0x499275
49925c:	85 ff                	test   %edi,%edi
49925e:	0f 85 c8 fe ff ff    	jne    0x49912c
499264:	bf 08 00 00 00       	mov    $0x8,%edi
499269:	89 7d 84             	mov    %edi,-0x7c(%ebp)
49926c:	e9 c4 fe ff ff       	jmp    0x499135
499271:	85 c0                	test   %eax,%eax
499273:	75 e7                	jne    0x49925c
499275:	8a 56 04             	mov    0x4(%esi),%dl
499278:	84 d2                	test   %dl,%dl
49927a:	75 35                	jne    0x4992b1
49927c:	85 c9                	test   %ecx,%ecx
49927e:	74 25                	je     0x4992a5
499280:	8b 41 1c             	mov    0x1c(%ecx),%eax
499283:	8b 10                	mov    (%eax),%edx
499285:	85 d2                	test   %edx,%edx
499287:	74 0d                	je     0x499296
499289:	8b 41 2c             	mov    0x2c(%ecx),%eax
49928c:	83 38 00             	cmpl   $0x0,(%eax)
49928f:	7e 05                	jle    0x499296
499291:	0f b6 02             	movzbl (%edx),%eax
499294:	eb 05                	jmp    0x49929b
499296:	8b 01                	mov    (%ecx),%eax
499298:	ff 50 18             	call   *0x18(%eax)
49929b:	83 f8 ff             	cmp    $0xffffffff,%eax
49929e:	74 05                	je     0x4992a5
4992a0:	88 46 05             	mov    %al,0x5(%esi)
4992a3:	eb 06                	jmp    0x4992ab
4992a5:	c7 06 00 00 00 00    	movl   $0x0,(%esi)
4992ab:	c6 46 04 01          	movb   $0x1,0x4(%esi)
4992af:	b2 01                	mov    $0x1,%dl
4992b1:	8a 46 05             	mov    0x5(%esi),%al
4992b4:	3a 45 ed             	cmp    -0x13(%ebp),%al
4992b7:	74 45                	je     0x4992fe
4992b9:	84 d2                	test   %dl,%dl
4992bb:	75 38                	jne    0x4992f5
4992bd:	8b 0e                	mov    (%esi),%ecx
4992bf:	85 c9                	test   %ecx,%ecx
4992c1:	74 28                	je     0x4992eb
4992c3:	8b 41 1c             	mov    0x1c(%ecx),%eax
4992c6:	8b 10                	mov    (%eax),%edx
4992c8:	85 d2                	test   %edx,%edx
4992ca:	74 0d                	je     0x4992d9
4992cc:	8b 41 2c             	mov    0x2c(%ecx),%eax
4992cf:	83 38 00             	cmpl   $0x0,(%eax)
4992d2:	7e 05                	jle    0x4992d9
4992d4:	0f b6 02             	movzbl (%edx),%eax
4992d7:	eb 05                	jmp    0x4992de
4992d9:	8b 01                	mov    (%ecx),%eax
4992db:	ff 50 18             	call   *0x18(%eax)
4992de:	83 f8 ff             	cmp    $0xffffffff,%eax
4992e1:	74 05                	je     0x4992e8
4992e3:	88 46 05             	mov    %al,0x5(%esi)
4992e6:	eb 09                	jmp    0x4992f1
4992e8:	8a 46 05             	mov    0x5(%esi),%al
4992eb:	c7 06 00 00 00 00    	movl   $0x0,(%esi)
4992f1:	c6 46 04 01          	movb   $0x1,0x4(%esi)
4992f5:	3a 45 ec             	cmp    -0x14(%ebp),%al
4992f8:	0f 85 5e ff ff ff    	jne    0x49925c
4992fe:	85 ff                	test   %edi,%edi
499300:	74 09                	je     0x49930b
499302:	83 ff 10             	cmp    $0x10,%edi
499305:	0f 85 51 ff ff ff    	jne    0x49925c
49930b:	8b 0e                	mov    (%esi),%ecx
49930d:	bf 10 00 00 00       	mov    $0x10,%edi
499312:	89 7d 84             	mov    %edi,-0x7c(%ebp)
499315:	c6 45 a3 00          	movb   $0x0,-0x5d(%ebp)
499319:	85 c9                	test   %ecx,%ecx
49931b:	74 37                	je     0x499354
49931d:	8b 41 1c             	mov    0x1c(%ecx),%eax
499320:	83 38 00             	cmpl   $0x0,(%eax)
499323:	74 1b                	je     0x499340
499325:	8b 51 2c             	mov    0x2c(%ecx),%edx
499328:	8b 02                	mov    (%edx),%eax
49932a:	85 c0                	test   %eax,%eax
49932c:	7e 12                	jle    0x499340
49932e:	48                   	dec    %eax
49932f:	89 02                	mov    %eax,(%edx)
499331:	8b 49 1c             	mov    0x1c(%ecx),%ecx
499334:	8b 11                	mov    (%ecx),%edx
499336:	8d 42 01             	lea    0x1(%edx),%eax
499339:	89 01                	mov    %eax,(%ecx)
49933b:	0f b6 02             	movzbl (%edx),%eax
49933e:	eb 05                	jmp    0x499345
499340:	8b 01                	mov    (%ecx),%eax
499342:	ff 50 1c             	call   *0x1c(%eax)
499345:	83 f8 ff             	cmp    $0xffffffff,%eax
499348:	74 0a                	je     0x499354
49934a:	32 c0                	xor    %al,%al
49934c:	88 46 04             	mov    %al,0x4(%esi)
49934f:	e9 e1 fd ff ff       	jmp    0x499135
499354:	b0 01                	mov    $0x1,%al
499356:	c7 06 00 00 00 00    	movl   $0x0,(%esi)
49935c:	88 46 04             	mov    %al,0x4(%esi)
49935f:	e9 d1 fd ff ff       	jmp    0x499135
499364:	c7 85 7c ff ff ff 0a 	movl   $0xa,-0x84(%ebp)
49936b:	00 00 00
49936e:	0f b6 4d a3          	movzbl -0x5d(%ebp),%ecx
499372:	bb 0f 00 00 00       	mov    $0xf,%ebx
499377:	8b c1                	mov    %ecx,%eax
499379:	66 c7 45 bc 00 00    	movw   $0x0,-0x44(%ebp)
49937f:	66 c1 e1 08          	shl    $0x8,%cx
499383:	66 0b c8             	or     %ax,%cx
499386:	89 5d 9c             	mov    %ebx,-0x64(%ebp)
499389:	89 5d d0             	mov    %ebx,-0x30(%ebp)
49938c:	c7 45 cc 01 00 00 00 	movl   $0x1,-0x34(%ebp)
499393:	88 4d bc             	mov    %cl,-0x44(%ebp)
499396:	8b 7d bc             	mov    -0x44(%ebp),%edi
499399:	c6 45 fc 01          	movb   $0x1,-0x4(%ebp)
49939d:	c7 45 94 00 00 00 00 	movl   $0x0,-0x6c(%ebp)
4993a4:	89 7d 90             	mov    %edi,-0x70(%ebp)
4993a7:	80 7e 04 00          	cmpb   $0x0,0x4(%esi)
4993ab:	75 35                	jne    0x4993e2
4993ad:	8b 0e                	mov    (%esi),%ecx
4993af:	85 c9                	test   %ecx,%ecx
4993b1:	74 25                	je     0x4993d8
4993b3:	8b 41 1c             	mov    0x1c(%ecx),%eax
4993b6:	8b 10                	mov    (%eax),%edx
4993b8:	85 d2                	test   %edx,%edx
4993ba:	74 0d                	je     0x4993c9
4993bc:	8b 41 2c             	mov    0x2c(%ecx),%eax
4993bf:	83 38 00             	cmpl   $0x0,(%eax)
4993c2:	7e 05                	jle    0x4993c9
4993c4:	0f b6 02             	movzbl (%edx),%eax
4993c7:	eb 05                	jmp    0x4993ce
4993c9:	8b 01                	mov    (%ecx),%eax
4993cb:	ff 50 18             	call   *0x18(%eax)
4993ce:	83 f8 ff             	cmp    $0xffffffff,%eax
4993d1:	74 05                	je     0x4993d8
4993d3:	88 46 05             	mov    %al,0x5(%esi)
4993d6:	eb 06                	jmp    0x4993de
4993d8:	c7 06 00 00 00 00    	movl   $0x0,(%esi)
4993de:	c6 46 04 01          	movb   $0x1,0x4(%esi)
4993e2:	8b 45 88             	mov    -0x78(%ebp),%eax
4993e5:	80 78 04 00          	cmpb   $0x0,0x4(%eax)
4993e9:	75 3d                	jne    0x499428
4993eb:	8b 08                	mov    (%eax),%ecx
4993ed:	85 c9                	test   %ecx,%ecx
4993ef:	74 2d                	je     0x49941e
4993f1:	8b 41 1c             	mov    0x1c(%ecx),%eax
4993f4:	8b 10                	mov    (%eax),%edx
4993f6:	85 d2                	test   %edx,%edx
4993f8:	74 0d                	je     0x499407
4993fa:	8b 41 2c             	mov    0x2c(%ecx),%eax
4993fd:	83 38 00             	cmpl   $0x0,(%eax)
499400:	7e 05                	jle    0x499407
499402:	0f b6 02             	movzbl (%edx),%eax
499405:	eb 05                	jmp    0x49940c
499407:	8b 01                	mov    (%ecx),%eax
499409:	ff 50 18             	call   *0x18(%eax)
49940c:	83 f8 ff             	cmp    $0xffffffff,%eax
49940f:	74 0a                	je     0x49941b
499411:	8b 4d 88             	mov    -0x78(%ebp),%ecx
499414:	88 41 05             	mov    %al,0x5(%ecx)
499417:	8b c1                	mov    %ecx,%eax
499419:	eb 09                	jmp    0x499424
49941b:	8b 45 88             	mov    -0x78(%ebp),%eax
49941e:	c7 00 00 00 00 00    	movl   $0x0,(%eax)
499424:	c6 40 04 01          	movb   $0x1,0x4(%eax)
499428:	8b 0e                	mov    (%esi),%ecx
49942a:	8b 00                	mov    (%eax),%eax
49942c:	85 c9                	test   %ecx,%ecx
49942e:	75 0a                	jne    0x49943a
499430:	85 c0                	test   %eax,%eax
499432:	0f 84 c6 02 00 00    	je     0x4996fe
499438:	eb 08                	jmp    0x499442
49943a:	85 c0                	test   %eax,%eax
49943c:	0f 85 bc 02 00 00    	jne    0x4996fe
499442:	8a 46 04             	mov    0x4(%esi),%al
499445:	88 45 9b             	mov    %al,-0x65(%ebp)
499448:	84 c0                	test   %al,%al
49944a:	75 37                	jne    0x499483
49944c:	85 c9                	test   %ecx,%ecx
49944e:	74 25                	je     0x499475
499450:	8b 41 1c             	mov    0x1c(%ecx),%eax
499453:	8b 10                	mov    (%eax),%edx
499455:	85 d2                	test   %edx,%edx
499457:	74 0d                	je     0x499466
499459:	8b 41 2c             	mov    0x2c(%ecx),%eax
49945c:	83 38 00             	cmpl   $0x0,(%eax)
49945f:	7e 05                	jle    0x499466
499461:	0f b6 02             	movzbl (%edx),%eax
499464:	eb 05                	jmp    0x49946b
499466:	8b 01                	mov    (%ecx),%eax
499468:	ff 50 18             	call   *0x18(%eax)
49946b:	83 f8 ff             	cmp    $0xffffffff,%eax
49946e:	74 05                	je     0x499475
499470:	88 46 05             	mov    %al,0x5(%esi)
499473:	eb 06                	jmp    0x49947b
499475:	c7 06 00 00 00 00    	movl   $0x0,(%esi)
49947b:	c6 46 04 01          	movb   $0x1,0x4(%esi)
49947f:	c6 45 9b 01          	movb   $0x1,-0x65(%ebp)
499483:	8a 5e 05             	mov    0x5(%esi),%bl
499486:	6a 1a                	push   $0x1a
499488:	0f b6 c3             	movzbl %bl,%eax
49948b:	50                   	push   %eax
49948c:	8d 45 d4             	lea    -0x2c(%ebp),%eax
49948f:	50                   	push   %eax
499490:	e8 bb 99 14 00       	call   0x5e2e50
499495:	83 c4 0c             	add    $0xc,%esp
499498:	8d 4d ee             	lea    -0x12(%ebp),%ecx
49949b:	85 c0                	test   %eax,%eax
49949d:	0f 45 c8             	cmovne %eax,%ecx
4994a0:	8d 45 d4             	lea    -0x2c(%ebp),%eax
4994a3:	2b c8                	sub    %eax,%ecx
4994a5:	3b 8d 7c ff ff ff    	cmp    -0x84(%ebp),%ecx
4994ab:	73 5e                	jae    0x49950b
4994ad:	80 7d a1 00          	cmpb   $0x0,-0x5f(%ebp)
4994b1:	8a 81 cc 4c 69 00    	mov    0x694ccc(%ecx),%al
4994b7:	8b 4d 8c             	mov    -0x74(%ebp),%ecx
4994ba:	88 01                	mov    %al,(%ecx)
4994bc:	75 04                	jne    0x4994c2
4994be:	3c 30                	cmp    $0x30,%al
4994c0:	74 12                	je     0x4994d4
4994c2:	8b 45 80             	mov    -0x80(%ebp),%eax
4994c5:	83 c0 1f             	add    $0x1f,%eax
4994c8:	3b c8                	cmp    %eax,%ecx
4994ca:	73 08                	jae    0x4994d4
4994cc:	41                   	inc    %ecx
4994cd:	c6 45 a1 01          	movb   $0x1,-0x5f(%ebp)
4994d1:	89 4d 8c             	mov    %ecx,-0x74(%ebp)
4994d4:	8b 5d 9c             	mov    -0x64(%ebp),%ebx
4994d7:	8d 45 bc             	lea    -0x44(%ebp),%eax
4994da:	8b 55 94             	mov    -0x6c(%ebp),%edx
4994dd:	83 fb 10             	cmp    $0x10,%ebx