40818a:	5b                   	pop    %ebx
40818b:	e8 e0 96 01 00       	call   0x421870
408190:	c9                   	leave
408191:	c2 08 00             	ret    $0x8
408194:	8b ff                	mov    %edi,%edi
408196:	55                   	push   %ebp
408197:	8b ec                	mov    %esp,%ebp
408199:	51                   	push   %ecx
40819a:	51                   	push   %ecx
40819b:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40819f:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
4081a3:	89 4d f8             	mov    %ecx,-0x8(%ebp)
4081a6:	66 89 55 fc          	mov    %dx,-0x4(%ebp)
4081aa:	74 05                	je     0x4081b1
4081ac:	66 83 4d fe 01       	orw    $0x1,-0x2(%ebp)
4081b1:	56                   	push   %esi
4081b2:	8b 35 78 4c 42 00    	mov    0x424c78,%esi
4081b8:	85 f6                	test   %esi,%esi
4081ba:	75 24                	jne    0x4081e0
4081bc:	68 e4 1b 40 00       	push   $0x401be4
4081c1:	e8 69 f6 ff ff       	call   0x40782f
4081c6:	50                   	push   %eax
4081c7:	ff 15 68 60 42 00    	call   *0x426068
4081cd:	8b f0                	mov    %eax,%esi
4081cf:	89 35 78 4c 42 00    	mov    %esi,0x424c78
4081d5:	85 f6                	test   %esi,%esi
4081d7:	75 07                	jne    0x4081e0
4081d9:	b8 39 01 00 c0       	mov    $0xc0000139,%eax
4081de:	eb 0e                	jmp    0x4081ee
4081e0:	8d 45 f8             	lea    -0x8(%ebp),%eax
4081e3:	8b ce                	mov    %esi,%ecx
4081e5:	50                   	push   %eax
4081e6:	ff 15 78 64 42 00    	call   *0x426478
4081ec:	ff d6                	call   *%esi
4081ee:	5e                   	pop    %esi
4081ef:	c9                   	leave
4081f0:	c2 04 00             	ret    $0x4
4081f3:	8b ff                	mov    %edi,%edi
4081f5:	55                   	push   %ebp
4081f6:	8b ec                	mov    %esp,%ebp
4081f8:	81 ec 04 01 00 00    	sub    $0x104,%esp
4081fe:	a1 10 42 42 00       	mov    0x424210,%eax
408203:	33 c5                	xor    %ebp,%eax
408205:	89 45 fc             	mov    %eax,-0x4(%ebp)
408208:	53                   	push   %ebx
408209:	56                   	push   %esi
40820a:	8b 75 10             	mov    0x10(%ebp),%esi
40820d:	8b c1                	mov    %ecx,%eax
40820f:	8b 4d 14             	mov    0x14(%ebp),%ecx
408212:	8b da                	mov    %edx,%ebx
408214:	89 85 30 ff ff ff    	mov    %eax,-0xd0(%ebp)
40821a:	57                   	push   %edi
40821b:	85 f6                	test   %esi,%esi
40821d:	74 03                	je     0x408222
40821f:	83 26 00             	andl   $0x0,(%esi)
408222:	56                   	push   %esi
408223:	ff 75 08             	push   0x8(%ebp)
408226:	c7 01 01 00 00 00    	movl   $0x1,(%ecx)
40822c:	8b c8                	mov    %eax,%ecx
40822e:	e8 66 fe ff ff       	call   0x408099
408233:	8b f8                	mov    %eax,%edi
408235:	85 ff                	test   %edi,%edi
408237:	75 4e                	jne    0x408287
408239:	8b 55 0c             	mov    0xc(%ebp),%edx
40823c:	8d 85 34 ff ff ff    	lea    -0xcc(%ebp),%eax
408242:	51                   	push   %ecx
408243:	50                   	push   %eax
408244:	51                   	push   %ecx
408245:	8d 8d fc fe ff ff    	lea    -0x104(%ebp),%ecx
40824b:	e8 ea f7 ff ff       	call   0x407a3a
408250:	85 c0                	test   %eax,%eax
408252:	75 33                	jne    0x408287
408254:	ff 75 08             	push   0x8(%ebp)
408257:	8b 95 30 ff ff ff    	mov    -0xd0(%ebp),%edx
40825d:	8d 8d fc fe ff ff    	lea    -0x104(%ebp),%ecx
408263:	53                   	push   %ebx
408264:	e8 84 fa ff ff       	call   0x407ced
408269:	8b f8                	mov    %eax,%edi
40826b:	85 f6                	test   %esi,%esi
40826d:	74 0d                	je     0x40827c
40826f:	8d 8d fc fe ff ff    	lea    -0x104(%ebp),%ecx
408275:	e8 fd fb ff ff       	call   0x407e77
40827a:	09 06                	or     %eax,(%esi)
40827c:	8d 8d fc fe ff ff    	lea    -0x104(%ebp),%ecx
408282:	e8 3c fa ff ff       	call   0x407cc3
408287:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40828a:	8b c7                	mov    %edi,%eax
40828c:	5f                   	pop    %edi
40828d:	5e                   	pop    %esi
40828e:	33 cd                	xor    %ebp,%ecx
408290:	5b                   	pop    %ebx
408291:	e8 da 95 01 00       	call   0x421870
408296:	c9                   	leave
408297:	c2 10 00             	ret    $0x10
40829a:	8b ff                	mov    %edi,%edi
40829c:	55                   	push   %ebp
40829d:	8b ec                	mov    %esp,%ebp
40829f:	51                   	push   %ecx
4082a0:	51                   	push   %ecx
4082a1:	53                   	push   %ebx
4082a2:	57                   	push   %edi
4082a3:	8b 39                	mov    (%ecx),%edi
4082a5:	8b da                	mov    %edx,%ebx
4082a7:	85 ff                	test   %edi,%edi
4082a9:	74 2f                	je     0x4082da
4082ab:	56                   	push   %esi
4082ac:	8b 75 08             	mov    0x8(%ebp),%esi
4082af:	6a ff                	push   $0xffffffff
4082b1:	68 f0 d8 ff ff       	push   $0xffffd8f0
4082b6:	ff 75 0c             	push   0xc(%ebp)
4082b9:	56                   	push   %esi
4082ba:	e8 f1 a7 01 00       	call   0x422ab0
4082bf:	c1 ee 02             	shr    $0x2,%esi
4082c2:	56                   	push   %esi
4082c3:	89 45 f8             	mov    %eax,-0x8(%ebp)
4082c6:	8d 45 f8             	lea    -0x8(%ebp),%eax
4082c9:	6a 00                	push   $0x0
4082cb:	50                   	push   %eax
4082cc:	57                   	push   %edi
4082cd:	89 55 fc             	mov    %edx,-0x4(%ebp)
4082d0:	ff 15 50 61 42 00    	call   *0x426150
4082d6:	c6 03 01             	movb   $0x1,(%ebx)
4082d9:	5e                   	pop    %esi
4082da:	5f                   	pop    %edi
4082db:	5b                   	pop    %ebx
4082dc:	c9                   	leave
4082dd:	c2 08 00             	ret    $0x8
4082e0:	8b ff                	mov    %edi,%edi
4082e2:	55                   	push   %ebp
4082e3:	8b ec                	mov    %esp,%ebp
4082e5:	51                   	push   %ecx
4082e6:	53                   	push   %ebx
4082e7:	56                   	push   %esi
4082e8:	8b f1                	mov    %ecx,%esi
4082ea:	57                   	push   %edi
4082eb:	8b 7d 08             	mov    0x8(%ebp),%edi
4082ee:	8b 46 08             	mov    0x8(%esi),%eax
4082f1:	2b 06                	sub    (%esi),%eax
4082f3:	3b c7                	cmp    %edi,%eax
4082f5:	73 4a                	jae    0x408341
4082f7:	83 e7 c0             	and    $0xffffffc0,%edi
4082fa:	33 c9                	xor    %ecx,%ecx
4082fc:	83 c7 40             	add    $0x40,%edi
4082ff:	8b d7                	mov    %edi,%edx
408301:	e8 33 e5 ff ff       	call   0x406839
408306:	8b d8                	mov    %eax,%ebx
408308:	85 db                	test   %ebx,%ebx
40830a:	75 04                	jne    0x408310
40830c:	32 c0                	xor    %al,%al
40830e:	eb 33                	jmp    0x408343
408310:	8b 46 04             	mov    0x4(%esi),%eax
408313:	2b 06                	sub    (%esi),%eax
408315:	89 45 fc             	mov    %eax,-0x4(%ebp)
408318:	74 0e                	je     0x408328
40831a:	50                   	push   %eax
40831b:	ff 36                	push   (%esi)
40831d:	8b d7                	mov    %edi,%edx
40831f:	8b cb                	mov    %ebx,%ecx
408321:	e8 4a e0 ff ff       	call   0x406370
408326:	59                   	pop    %ecx
408327:	59                   	pop    %ecx
408328:	53                   	push   %ebx
408329:	8d 4e 0c             	lea    0xc(%esi),%ecx
40832c:	e8 f0 1f 00 00       	call   0x40a321
408331:	8b 45 fc             	mov    -0x4(%ebp),%eax
408334:	03 c3                	add    %ebx,%eax
408336:	89 1e                	mov    %ebx,(%esi)
408338:	89 46 04             	mov    %eax,0x4(%esi)
40833b:	8d 04 3b             	lea    (%ebx,%edi,1),%eax
40833e:	89 46 08             	mov    %eax,0x8(%esi)
408341:	b0 01                	mov    $0x1,%al
408343:	5f                   	pop    %edi
408344:	5e                   	pop    %esi
408345:	5b                   	pop    %ebx
408346:	c9                   	leave
408347:	c2 04 00             	ret    $0x4
40834a:	8b ff                	mov    %edi,%edi
40834c:	55                   	push   %ebp
40834d:	8b ec                	mov    %esp,%ebp
40834f:	8b 41 04             	mov    0x4(%ecx),%eax
408352:	2b 01                	sub    (%ecx),%eax
408354:	8b 51 08             	mov    0x8(%ecx),%edx
408357:	2b 11                	sub    (%ecx),%edx
408359:	03 45 08             	add    0x8(%ebp),%eax
40835c:	3b c2                	cmp    %edx,%eax
40835e:	73 04                	jae    0x408364
408360:	b0 01                	mov    $0x1,%al
408362:	eb 11                	jmp    0x408375
408364:	8d 04 12             	lea    (%edx,%edx,1),%eax
408367:	39 45 08             	cmp    %eax,0x8(%ebp)
40836a:	72 03                	jb     0x40836f
40836c:	8b 45 08             	mov    0x8(%ebp),%eax
40836f:	50                   	push   %eax
408370:	e8 6b ff ff ff       	call   0x4082e0
408375:	5d                   	pop    %ebp
408376:	c2 04 00             	ret    $0x4
408379:	8b ff                	mov    %edi,%edi
40837b:	55                   	push   %ebp
40837c:	8b ec                	mov    %esp,%ebp
40837e:	56                   	push   %esi
40837f:	57                   	push   %edi
408380:	8b 7d 0c             	mov    0xc(%ebp),%edi
408383:	8b f1                	mov    %ecx,%esi
408385:	57                   	push   %edi
408386:	e8 bf ff ff ff       	call   0x40834a
40838b:	84 c0                	test   %al,%al
40838d:	74 29                	je     0x4083b8
40838f:	8b 4e 04             	mov    0x4(%esi),%ecx
408392:	8b 46 08             	mov    0x8(%esi),%eax
408395:	2b c1                	sub    %ecx,%eax
408397:	3b 4e 08             	cmp    0x8(%esi),%ecx
40839a:	1b d2                	sbb    %edx,%edx
40839c:	23 d0                	and    %eax,%edx
40839e:	85 ff                	test   %edi,%edi
4083a0:	74 0e                	je     0x4083b0
4083a2:	57                   	push   %edi
4083a3:	ff 75 08             	push   0x8(%ebp)
4083a6:	e8 c5 df ff ff       	call   0x406370
4083ab:	59                   	pop    %ecx
4083ac:	59                   	pop    %ecx
4083ad:	8b 4e 04             	mov    0x4(%esi),%ecx
4083b0:	8d 04 39             	lea    (%ecx,%edi,1),%eax
4083b3:	89 46 04             	mov    %eax,0x4(%esi)
4083b6:	b0 01                	mov    $0x1,%al
4083b8:	5f                   	pop    %edi
4083b9:	5e                   	pop    %esi
4083ba:	5d                   	pop    %ebp
4083bb:	c2 08 00             	ret    $0x8
4083be:	8b ff                	mov    %edi,%edi
4083c0:	55                   	push   %ebp
4083c1:	8b ec                	mov    %esp,%ebp
4083c3:	83 e4 f8             	and    $0xfffffff8,%esp
4083c6:	b8 24 10 00 00       	mov    $0x1024,%eax
4083cb:	e8 80 a7 01 00       	call   0x422b50
4083d0:	a1 10 42 42 00       	mov    0x424210,%eax
4083d5:	33 c4                	xor    %esp,%eax
4083d7:	89 84 24 20 10 00 00 	mov    %eax,0x1020(%esp)
4083de:	53                   	push   %ebx
4083df:	8b d9                	mov    %ecx,%ebx
4083e1:	56                   	push   %esi
4083e2:	57                   	push   %edi
4083e3:	6a 0c                	push   $0xc
4083e5:	8b 43 04             	mov    0x4(%ebx),%eax
4083e8:	33 f6                	xor    %esi,%esi
4083ea:	2b 03                	sub    (%ebx),%eax
4083ec:	59                   	pop    %ecx
4083ed:	89 5c 24 10          	mov    %ebx,0x10(%esp)
4083f1:	89 4c 24 18          	mov    %ecx,0x18(%esp)
4083f5:	3b c1                	cmp    %ecx,%eax
4083f7:	0f 82 16 01 00 00    	jb     0x408513
4083fd:	8b fe                	mov    %esi,%edi
4083ff:	89 74 24 14          	mov    %esi,0x14(%esp)
408403:	8d 44 24 0c          	lea    0xc(%esp),%eax
408407:	c7 44 24 0c 00 10 00 	movl   $0x1000,0xc(%esp)
40840e:	00
40840f:	50                   	push   %eax
408410:	8d 44 24 2c          	lea    0x2c(%esp),%eax
408414:	50                   	push   %eax
408415:	8d 44 24 28          	lea    0x28(%esp),%eax
408419:	50                   	push   %eax
40841a:	51                   	push   %ecx
40841b:	b9 60 1d 40 00       	mov    $0x401d60,%ecx
408420:	e8 ed f4 ff ff       	call   0x407912
408425:	89 44 24 24          	mov    %eax,0x24(%esp)
408429:	85 c0                	test   %eax,%eax
40842b:	0f 85 c4 00 00 00    	jne    0x4084f5
408431:	8b 44 24 0c          	mov    0xc(%esp),%eax
408435:	33 d2                	xor    %edx,%edx
408437:	6a 0c                	push   $0xc
408439:	59                   	pop    %ecx
40843a:	f7 f1                	div    %ecx
40843c:	8b 1b                	mov    (%ebx),%ebx
40843e:	f7 da                	neg    %edx
408440:	1b f6                	sbb    %esi,%esi
408442:	33 d2                	xor    %edx,%edx
408444:	f7 d6                	not    %esi
408446:	23 74 24 0c          	and    0xc(%esp),%esi
40844a:	8b c6                	mov    %esi,%eax
40844c:	89 74 24 0c          	mov    %esi,0xc(%esp)
408450:	f7 f1                	div    %ecx
408452:	33 d2                	xor    %edx,%edx
408454:	8b c8                	mov    %eax,%ecx
408456:	8b 44 24 10          	mov    0x10(%esp),%eax
40845a:	8b 40 04             	mov    0x4(%eax),%eax
40845d:	2b c3                	sub    %ebx,%eax
40845f:	f7 74 24 18          	divl   0x18(%esp)
408463:	6b c0 0c             	imul   $0xc,%eax,%eax
408466:	03 c3                	add    %ebx,%eax
408468:	89 44 24 1c          	mov    %eax,0x1c(%esp)
40846c:	3b d8                	cmp    %eax,%ebx
40846e:	74 64                	je     0x4084d4
408470:	6b c1 0c             	imul   $0xc,%ecx,%eax
408473:	8d 54 24 28          	lea    0x28(%esp),%edx
408477:	03 d0                	add    %eax,%edx
408479:	8d 44 24 28          	lea    0x28(%esp),%eax
40847d:	3b c2                	cmp    %edx,%eax
40847f:	74 1e                	je     0x40849f
408481:	8b 3b                	mov    (%ebx),%edi
408483:	8b c8                	mov    %eax,%ecx
408485:	6a 0c                	push   $0xc
408487:	58                   	pop    %eax
408488:	39 39                	cmp    %edi,(%ecx)
40848a:	75 0d                	jne    0x408499
40848c:	66 8b 41 04          	mov    0x4(%ecx),%ax
408490:	6a 0c                	push   $0xc
408492:	66 3b 43 04          	cmp    0x4(%ebx),%ax
408496:	74 25                	je     0x4084bd
408498:	58                   	pop    %eax
408499:	03 c8                	add    %eax,%ecx
40849b:	3b ca                	cmp    %edx,%ecx
40849d:	75 e9                	jne    0x408488
40849f:	8d 46 0c             	lea    0xc(%esi),%eax
4084a2:	6a 0c                	push   $0xc
4084a4:	3d 00 10 00 00       	cmp    $0x1000,%eax
4084a9:	77 1c                	ja     0x4084c7
4084ab:	8b fa                	mov    %edx,%edi
4084ad:	8b f3                	mov    %ebx,%esi
4084af:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4084b0:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4084b1:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4084b2:	8b f0                	mov    %eax,%esi
4084b4:	58                   	pop    %eax
4084b5:	89 74 24 0c          	mov    %esi,0xc(%esp)
4084b9:	03 d0                	add    %eax,%edx
4084bb:	eb 0b                	jmp    0x4084c8
4084bd:	8b 43 08             	mov    0x8(%ebx),%eax
4084c0:	01 41 08             	add    %eax,0x8(%ecx)
4084c3:	8b 74 24 10          	mov    0x10(%esp),%esi
4084c7:	58                   	pop    %eax
4084c8:	03 d8                	add    %eax,%ebx
4084ca:	3b 5c 24 1c          	cmp    0x1c(%esp),%ebx
4084ce:	75 a9                	jne    0x408479
4084d0:	8b 7c 24 14          	mov    0x14(%esp),%edi
4084d4:	6a 01                	push   $0x1
4084d6:	ff 74 24 24          	push   0x24(%esp)
4084da:	8d 54 24 30          	lea    0x30(%esp),%edx
4084de:	51                   	push   %ecx
4084df:	51                   	push   %ecx
4084e0:	56                   	push   %esi
4084e1:	b9 60 1d 40 00       	mov    $0x401d60,%ecx
4084e6:	e8 7c f4 ff ff       	call   0x407967
4084eb:	8b 5c 24 10          	mov    0x10(%esp),%ebx
4084ef:	8b f0                	mov    %eax,%esi
4084f1:	8b 44 24 24          	mov    0x24(%esp),%eax
4084f5:	47                   	inc    %edi
4084f6:	89 7c 24 14          	mov    %edi,0x14(%esp)
4084fa:	81 fe 01 00 00 c0    	cmp    $0xc0000001,%esi
408500:	75 0d                	jne    0x40850f
408502:	83 ff 64             	cmp    $0x64,%edi
408505:	7d 08                	jge    0x40850f