4140aa:	33 c9                	xor    %ecx,%ecx
4140ac:	8b d1                	mov    %ecx,%edx
4140ae:	8b 4b 0c             	mov    0xc(%ebx),%ecx
4140b1:	89 14 81             	mov    %edx,(%ecx,%eax,4)
4140b4:	40                   	inc    %eax
4140b5:	ff 4c 24 28          	decl   0x28(%esp)
4140b9:	75 f3                	jne    0x4140ae
4140bb:	89 43 08             	mov    %eax,0x8(%ebx)
4140be:	8b 43 04             	mov    0x4(%ebx),%eax
4140c1:	89 44 24 04          	mov    %eax,0x4(%esp)
4140c5:	8b 44 24 04          	mov    0x4(%esp),%eax
4140c9:	8b 54 24 04          	mov    0x4(%esp),%edx
4140cd:	c1 e8 05             	shr    $0x5,%eax
4140d0:	83 e2 1f             	and    $0x1f,%edx
4140d3:	83 e0 1f             	and    $0x1f,%eax
4140d6:	03 d0                	add    %eax,%edx
4140d8:	81 c2 02 01 00 00    	add    $0x102,%edx
4140de:	3b 53 08             	cmp    0x8(%ebx),%edx
4140e1:	0f 87 b4 fd ff ff    	ja     0x413e9b
4140e7:	33 d2                	xor    %edx,%edx
4140e9:	89 53 14             	mov    %edx,0x14(%ebx)
4140ec:	c7 44 24 2c 09 00 00 	movl   $0x9,0x2c(%esp)
4140f3:	00
4140f4:	c7 44 24 30 06 00 00 	movl   $0x6,0x30(%esp)
4140fb:	00
4140fc:	8b 4b 04             	mov    0x4(%ebx),%ecx
4140ff:	8d 44 24 2c          	lea    0x2c(%esp),%eax
414103:	89 4c 24 04          	mov    %ecx,0x4(%esp)
414107:	50                   	push   %eax
414108:	8d 54 24 34          	lea    0x34(%esp),%edx
41410c:	52                   	push   %edx
41410d:	8d 4c 24 3c          	lea    0x3c(%esp),%ecx
414111:	51                   	push   %ecx
414112:	8d 44 24 44          	lea    0x44(%esp),%eax
414116:	50                   	push   %eax
414117:	8b 53 24             	mov    0x24(%ebx),%edx
41411a:	52                   	push   %edx
41411b:	56                   	push   %esi
41411c:	8b 54 24 1c          	mov    0x1c(%esp),%edx
414120:	8b 44 24 1c          	mov    0x1c(%esp),%eax
414124:	c1 ea 05             	shr    $0x5,%edx
414127:	83 e0 1f             	and    $0x1f,%eax
41412a:	83 e2 1f             	and    $0x1f,%edx
41412d:	8b 4b 0c             	mov    0xc(%ebx),%ecx
414130:	42                   	inc    %edx
414131:	05 01 01 00 00       	add    $0x101,%eax
414136:	e8 41 f2 ff ff       	call   0x41337c
41413b:	89 44 24 04          	mov    %eax,0x4(%esp)
41413f:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
414144:	74 55                	je     0x41419b
414146:	83 7c 24 04 fd       	cmpl   $0xfffffffd,0x4(%esp)
41414b:	75 0f                	jne    0x41415c
41414d:	8b 53 0c             	mov    0xc(%ebx),%edx
414150:	8b 46 28             	mov    0x28(%esi),%eax
414153:	ff 56 24             	call   *0x24(%esi)
414156:	c7 03 09 00 00 00    	movl   $0x9,(%ebx)
41415c:	8b 4c 24 04          	mov    0x4(%esp),%ecx
414160:	89 0c 24             	mov    %ecx,(%esp)
414163:	8b 44 24 08          	mov    0x8(%esp),%eax
414167:	89 43 20             	mov    %eax,0x20(%ebx)
41416a:	89 7b 1c             	mov    %edi,0x1c(%ebx)
41416d:	8b 54 24 10          	mov    0x10(%esp),%edx
414171:	89 56 04             	mov    %edx,0x4(%esi)
414174:	8b 4c 24 0c          	mov    0xc(%esp),%ecx
414178:	2b 0e                	sub    (%esi),%ecx
41417a:	01 4e 08             	add    %ecx,0x8(%esi)
41417d:	8b 44 24 0c          	mov    0xc(%esp),%eax
414181:	89 06                	mov    %eax,(%esi)
414183:	8b c3                	mov    %ebx,%eax
414185:	8b 54 24 14          	mov    0x14(%esp),%edx
414189:	89 53 34             	mov    %edx,0x34(%ebx)
41418c:	8b d6                	mov    %esi,%edx
41418e:	8b 0c 24             	mov    (%esp),%ecx
414191:	e8 aa 0b 00 00       	call   0x414d40
414196:	e9 43 02 00 00       	jmp    0x4143de
41419b:	8b 4c 24 38          	mov    0x38(%esp),%ecx
41419f:	51                   	push   %ecx
4141a0:	56                   	push   %esi
4141a1:	8b 4c 24 3c          	mov    0x3c(%esp),%ecx
4141a5:	8b 54 24 38          	mov    0x38(%esp),%edx
4141a9:	8b 44 24 34          	mov    0x34(%esp),%eax
4141ad:	e8 96 02 00 00       	call   0x414448
4141b2:	8b e8                	mov    %eax,%ebp
4141b4:	85 c0                	test   %eax,%eax
4141b6:	75 3f                	jne    0x4141f7
4141b8:	c7 04 24 fc ff ff ff 	movl   $0xfffffffc,(%esp)
4141bf:	8b 54 24 08          	mov    0x8(%esp),%edx
4141c3:	89 53 20             	mov    %edx,0x20(%ebx)
4141c6:	89 7b 1c             	mov    %edi,0x1c(%ebx)
4141c9:	8b 4c 24 10          	mov    0x10(%esp),%ecx
4141cd:	89 4e 04             	mov    %ecx,0x4(%esi)
4141d0:	8b 44 24 0c          	mov    0xc(%esp),%eax
4141d4:	2b 06                	sub    (%esi),%eax
4141d6:	01 46 08             	add    %eax,0x8(%esi)
4141d9:	8b c3                	mov    %ebx,%eax
4141db:	8b 54 24 0c          	mov    0xc(%esp),%edx
4141df:	89 16                	mov    %edx,(%esi)
4141e1:	8b d6                	mov    %esi,%edx
4141e3:	8b 4c 24 14          	mov    0x14(%esp),%ecx
4141e7:	89 4b 34             	mov    %ecx,0x34(%ebx)
4141ea:	8b 0c 24             	mov    (%esp),%ecx
4141ed:	e8 4e 0b 00 00       	call   0x414d40
4141f2:	e9 e7 01 00 00       	jmp    0x4143de
4141f7:	89 6b 04             	mov    %ebp,0x4(%ebx)
4141fa:	8b 53 0c             	mov    0xc(%ebx),%edx
4141fd:	8b 46 28             	mov    0x28(%esi),%eax
414200:	ff 56 24             	call   *0x24(%esi)
414203:	c7 03 06 00 00 00    	movl   $0x6,(%ebx)
414209:	8b 4c 24 08          	mov    0x8(%esp),%ecx
41420d:	89 4b 20             	mov    %ecx,0x20(%ebx)
414210:	89 7b 1c             	mov    %edi,0x1c(%ebx)
414213:	8b 44 24 10          	mov    0x10(%esp),%eax
414217:	89 46 04             	mov    %eax,0x4(%esi)
41421a:	8b 54 24 0c          	mov    0xc(%esp),%edx
41421e:	2b 16                	sub    (%esi),%edx
414220:	01 56 08             	add    %edx,0x8(%esi)
414223:	8b d6                	mov    %esi,%edx
414225:	8b 4c 24 0c          	mov    0xc(%esp),%ecx
414229:	89 0e                	mov    %ecx,(%esi)
41422b:	8b 44 24 14          	mov    0x14(%esp),%eax
41422f:	89 43 34             	mov    %eax,0x34(%ebx)
414232:	8b c3                	mov    %ebx,%eax
414234:	8b 0c 24             	mov    (%esp),%ecx
414237:	e8 5c 02 00 00       	call   0x414498
41423c:	89 04 24             	mov    %eax,(%esp)
41423f:	48                   	dec    %eax
414240:	74 11                	je     0x414253
414242:	8b 0c 24             	mov    (%esp),%ecx
414245:	8b d6                	mov    %esi,%edx
414247:	8b c3                	mov    %ebx,%eax
414249:	e8 f2 0a 00 00       	call   0x414d40
41424e:	e9 8b 01 00 00       	jmp    0x4143de
414253:	33 d2                	xor    %edx,%edx
414255:	89 14 24             	mov    %edx,(%esp)
414258:	8b d6                	mov    %esi,%edx
41425a:	8b 43 04             	mov    0x4(%ebx),%eax
41425d:	e8 d2 0a 00 00       	call   0x414d34
414262:	8b 0e                	mov    (%esi),%ecx
414264:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
414268:	8b 46 04             	mov    0x4(%esi),%eax
41426b:	89 44 24 10          	mov    %eax,0x10(%esp)
41426f:	8b 53 20             	mov    0x20(%ebx),%edx
414272:	89 54 24 08          	mov    %edx,0x8(%esp)
414276:	8b 7b 1c             	mov    0x1c(%ebx),%edi
414279:	8b 43 34             	mov    0x34(%ebx),%eax
41427c:	89 44 24 14          	mov    %eax,0x14(%esp)
414280:	8b 54 24 14          	mov    0x14(%esp),%edx
414284:	3b 53 30             	cmp    0x30(%ebx),%edx
414287:	73 0a                	jae    0x414293
414289:	8b 6b 30             	mov    0x30(%ebx),%ebp
41428c:	2b 6c 24 14          	sub    0x14(%esp),%ebp
414290:	4d                   	dec    %ebp
414291:	eb 07                	jmp    0x41429a
414293:	8b 6b 2c             	mov    0x2c(%ebx),%ebp
414296:	2b 6c 24 14          	sub    0x14(%esp),%ebp
41429a:	83 7b 18 00          	cmpl   $0x0,0x18(%ebx)
41429e:	75 09                	jne    0x4142a9
4142a0:	33 c0                	xor    %eax,%eax
4142a2:	89 03                	mov    %eax,(%ebx)
4142a4:	e9 ad f4 ff ff       	jmp    0x413756
4142a9:	c7 03 07 00 00 00    	movl   $0x7,(%ebx)
4142af:	8b 54 24 14          	mov    0x14(%esp),%edx
4142b3:	8b c3                	mov    %ebx,%eax
4142b5:	89 53 34             	mov    %edx,0x34(%ebx)
4142b8:	8b d6                	mov    %esi,%edx
4142ba:	8b 0c 24             	mov    (%esp),%ecx
4142bd:	e8 7e 0a 00 00       	call   0x414d40
4142c2:	89 04 24             	mov    %eax,(%esp)
4142c5:	8b 4b 34             	mov    0x34(%ebx),%ecx
4142c8:	89 4c 24 14          	mov    %ecx,0x14(%esp)
4142cc:	8b 44 24 14          	mov    0x14(%esp),%eax
4142d0:	3b 43 30             	cmp    0x30(%ebx),%eax
4142d3:	73 0a                	jae    0x4142df
4142d5:	8b 53 30             	mov    0x30(%ebx),%edx
4142d8:	2b 54 24 14          	sub    0x14(%esp),%edx
4142dc:	4a                   	dec    %edx
4142dd:	eb 07                	jmp    0x4142e6
4142df:	8b 53 2c             	mov    0x2c(%ebx),%edx
4142e2:	2b 54 24 14          	sub    0x14(%esp),%edx
4142e6:	8b 43 30             	mov    0x30(%ebx),%eax
4142e9:	3b 43 34             	cmp    0x34(%ebx),%eax
4142ec:	74 38                	je     0x414326
4142ee:	8b 4c 24 08          	mov    0x8(%esp),%ecx
4142f2:	89 4b 20             	mov    %ecx,0x20(%ebx)
4142f5:	89 7b 1c             	mov    %edi,0x1c(%ebx)
4142f8:	8b 44 24 10          	mov    0x10(%esp),%eax
4142fc:	89 46 04             	mov    %eax,0x4(%esi)
4142ff:	8b 54 24 0c          	mov    0xc(%esp),%edx
414303:	2b 16                	sub    (%esi),%edx
414305:	01 56 08             	add    %edx,0x8(%esi)
414308:	8b d6                	mov    %esi,%edx
41430a:	8b 4c 24 0c          	mov    0xc(%esp),%ecx
41430e:	89 0e                	mov    %ecx,(%esi)
414310:	8b 44 24 14          	mov    0x14(%esp),%eax
414314:	89 43 34             	mov    %eax,0x34(%ebx)
414317:	8b c3                	mov    %ebx,%eax
414319:	8b 0c 24             	mov    (%esp),%ecx
41431c:	e8 1f 0a 00 00       	call   0x414d40
414321:	e9 b8 00 00 00       	jmp    0x4143de
414326:	c7 03 08 00 00 00    	movl   $0x8,(%ebx)
41432c:	c7 04 24 01 00 00 00 	movl   $0x1,(%esp)
414333:	8b 54 24 08          	mov    0x8(%esp),%edx
414337:	89 53 20             	mov    %edx,0x20(%ebx)
41433a:	89 7b 1c             	mov    %edi,0x1c(%ebx)
41433d:	8b 4c 24 10          	mov    0x10(%esp),%ecx
414341:	89 4e 04             	mov    %ecx,0x4(%esi)
414344:	8b 44 24 0c          	mov    0xc(%esp),%eax
414348:	2b 06                	sub    (%esi),%eax
41434a:	01 46 08             	add    %eax,0x8(%esi)
41434d:	8b c3                	mov    %ebx,%eax
41434f:	8b 54 24 0c          	mov    0xc(%esp),%edx
414353:	89 16                	mov    %edx,(%esi)
414355:	8b d6                	mov    %esi,%edx
414357:	8b 4c 24 14          	mov    0x14(%esp),%ecx
41435b:	89 4b 34             	mov    %ecx,0x34(%ebx)
41435e:	8b 0c 24             	mov    (%esp),%ecx
414361:	e8 da 09 00 00       	call   0x414d40
414366:	eb 76                	jmp    0x4143de
414368:	c7 04 24 fd ff ff ff 	movl   $0xfffffffd,(%esp)
41436f:	8b 44 24 08          	mov    0x8(%esp),%eax
414373:	89 43 20             	mov    %eax,0x20(%ebx)
414376:	89 7b 1c             	mov    %edi,0x1c(%ebx)
414379:	8b 54 24 10          	mov    0x10(%esp),%edx
41437d:	89 56 04             	mov    %edx,0x4(%esi)
414380:	8b 4c 24 0c          	mov    0xc(%esp),%ecx
414384:	2b 0e                	sub    (%esi),%ecx
414386:	01 4e 08             	add    %ecx,0x8(%esi)
414389:	8b 44 24 0c          	mov    0xc(%esp),%eax
41438d:	89 06                	mov    %eax,(%esi)
41438f:	8b c3                	mov    %ebx,%eax
414391:	8b 54 24 14          	mov    0x14(%esp),%edx
414395:	89 53 34             	mov    %edx,0x34(%ebx)
414398:	8b d6                	mov    %esi,%edx
41439a:	8b 0c 24             	mov    (%esp),%ecx
41439d:	e8 9e 09 00 00       	call   0x414d40
4143a2:	eb 3a                	jmp    0x4143de
4143a4:	c7 04 24 fe ff ff ff 	movl   $0xfffffffe,(%esp)
4143ab:	8b 4c 24 08          	mov    0x8(%esp),%ecx
4143af:	89 4b 20             	mov    %ecx,0x20(%ebx)
4143b2:	89 7b 1c             	mov    %edi,0x1c(%ebx)
4143b5:	8b 44 24 10          	mov    0x10(%esp),%eax
4143b9:	89 46 04             	mov    %eax,0x4(%esi)
4143bc:	8b 54 24 0c          	mov    0xc(%esp),%edx
4143c0:	2b 16                	sub    (%esi),%edx
4143c2:	01 56 08             	add    %edx,0x8(%esi)
4143c5:	8b d6                	mov    %esi,%edx
4143c7:	8b 4c 24 0c          	mov    0xc(%esp),%ecx
4143cb:	89 0e                	mov    %ecx,(%esi)
4143cd:	8b 44 24 14          	mov    0x14(%esp),%eax
4143d1:	89 43 34             	mov    %eax,0x34(%ebx)
4143d4:	8b c3                	mov    %ebx,%eax
4143d6:	8b 0c 24             	mov    (%esp),%ecx
4143d9:	e8 62 09 00 00       	call   0x414d40
4143de:	83 c4 3c             	add    $0x3c,%esp
4143e1:	5d                   	pop    %ebp
4143e2:	5f                   	pop    %edi
4143e3:	5e                   	pop    %esi
4143e4:	5b                   	pop    %ebx
4143e5:	c3                   	ret
4143e6:	90                   	nop
4143e7:	90                   	nop
4143e8:	53                   	push   %ebx
4143e9:	56                   	push   %esi
4143ea:	8b da                	mov    %edx,%ebx
4143ec:	8b f0                	mov    %eax,%esi
4143ee:	33 c9                	xor    %ecx,%ecx
4143f0:	8b d3                	mov    %ebx,%edx
4143f2:	8b c6                	mov    %esi,%eax
4143f4:	e8 1b f2 ff ff       	call   0x413614
4143f9:	8b 56 28             	mov    0x28(%esi),%edx
4143fc:	8b 43 28             	mov    0x28(%ebx),%eax
4143ff:	ff 53 24             	call   *0x24(%ebx)
414402:	8b 56 24             	mov    0x24(%esi),%edx
414405:	8b 43 28             	mov    0x28(%ebx),%eax
414408:	ff 53 24             	call   *0x24(%ebx)
41440b:	8b d6                	mov    %esi,%edx
41440d:	8b 43 28             	mov    0x28(%ebx),%eax
414410:	ff 53 24             	call   *0x24(%ebx)
414413:	33 c0                	xor    %eax,%eax
414415:	5e                   	pop    %esi
414416:	5b                   	pop    %ebx
414417:	c3                   	ret
414418:	53                   	push   %ebx
414419:	56                   	push   %esi
41441a:	8b f1                	mov    %ecx,%esi
41441c:	8b d8                	mov    %eax,%ebx
41441e:	56                   	push   %esi
41441f:	52                   	push   %edx
414420:	8b 43 28             	mov    0x28(%ebx),%eax
414423:	50                   	push   %eax
414424:	e8 7b af ff ff       	call   0x40f3a4
414429:	83 c4 0c             	add    $0xc,%esp
41442c:	8b 53 28             	mov    0x28(%ebx),%edx
41442f:	03 d6                	add    %esi,%edx
414431:	89 53 34             	mov    %edx,0x34(%ebx)
414434:	89 53 30             	mov    %edx,0x30(%ebx)
414437:	5e                   	pop    %esi
414438:	5b                   	pop    %ebx
414439:	c3                   	ret
41443a:	90                   	nop
41443b:	90                   	nop
41443c:	83 38 01             	cmpl   $0x1,(%eax)
41443f:	0f 94 c0             	sete   %al
414442:	83 e0 01             	and    $0x1,%eax
414445:	c3                   	ret
414446:	8b c0                	mov    %eax,%eax
414448:	55                   	push   %ebp
414449:	8b ec                	mov    %esp,%ebp
41444b:	83 c4 f4             	add    $0xfffffff4,%esp
41444e:	53                   	push   %ebx
41444f:	56                   	push   %esi
414450:	89 4d f4             	mov    %ecx,-0xc(%ebp)
414453:	89 55 f8             	mov    %edx,-0x8(%ebp)
414456:	89 45 fc             	mov    %eax,-0x4(%ebp)
414459:	8b 75 08             	mov    0x8(%ebp),%esi
41445c:	b9 1c 00 00 00       	mov    $0x1c,%ecx
414461:	ba 01 00 00 00       	mov    $0x1,%edx
414466:	8b 46 28             	mov    0x28(%esi),%eax
414469:	ff 56 20             	call   *0x20(%esi)
41446c:	8b d8                	mov    %eax,%ebx
41446e:	85 c0                	test   %eax,%eax
414470:	74 1c                	je     0x41448e
414472:	33 d2                	xor    %edx,%edx
414474:	89 13                	mov    %edx,(%ebx)
414476:	8a 4d fc             	mov    -0x4(%ebp),%cl
414479:	88 4b 10             	mov    %cl,0x10(%ebx)
41447c:	8a 45 f8             	mov    -0x8(%ebp),%al
41447f:	88 43 11             	mov    %al,0x11(%ebx)
414482:	8b 55 f4             	mov    -0xc(%ebp),%edx
414485:	89 53 14             	mov    %edx,0x14(%ebx)
414488:	8b 4d 0c             	mov    0xc(%ebp),%ecx
41448b:	89 4b 18             	mov    %ecx,0x18(%ebx)
41448e:	8b c3                	mov    %ebx,%eax
414490:	5e                   	pop    %esi
414491:	5b                   	pop    %ebx
414492:	8b e5                	mov    %ebp,%esp
414494:	5d                   	pop    %ebp
414495:	c2 08 00             	ret    $0x8
414498:	53                   	push   %ebx
414499:	56                   	push   %esi
41449a:	57                   	push   %edi
41449b:	55                   	push   %ebp
41449c:	83 c4 dc             	add    $0xffffffdc,%esp
41449f:	8b d8                	mov    %eax,%ebx
4144a1:	8b f2                	mov    %edx,%esi
4144a3:	89 0c 24             	mov    %ecx,(%esp)
4144a6:	8b 43 04             	mov    0x4(%ebx),%eax
4144a9:	89 44 24 20          	mov    %eax,0x20(%esp)
4144ad:	8b 46 04             	mov    0x4(%esi),%eax
4144b0:	8b 3e                	mov    (%esi),%edi