40a1a4:	83 7b 08 00          	cmpl   $0x0,0x8(%ebx)
40a1a8:	75 0a                	jne    0x40a1b4
40a1aa:	83 c3 14             	add    $0x14,%ebx
40a1ad:	89 5d 08             	mov    %ebx,0x8(%ebp)
40a1b0:	3b d9                	cmp    %ecx,%ebx
40a1b2:	72 f0                	jb     0x40a1a4
40a1b4:	3b d9                	cmp    %ecx,%ebx
40a1b6:	75 15                	jne    0x40a1cd
40a1b8:	e8 a0 fa ff ff       	call   0x409c5d
40a1bd:	8b d8                	mov    %eax,%ebx
40a1bf:	89 5d 08             	mov    %ebx,0x8(%ebp)
40a1c2:	85 db                	test   %ebx,%ebx
40a1c4:	75 07                	jne    0x40a1cd
40a1c6:	33 c0                	xor    %eax,%eax
40a1c8:	e9 09 02 00 00       	jmp    0x40a3d6
40a1cd:	53                   	push   %ebx
40a1ce:	e8 3a fb ff ff       	call   0x409d0d
40a1d3:	59                   	pop    %ecx
40a1d4:	8b 4b 10             	mov    0x10(%ebx),%ecx
40a1d7:	89 01                	mov    %eax,(%ecx)
40a1d9:	8b 43 10             	mov    0x10(%ebx),%eax
40a1dc:	83 38 ff             	cmpl   $0xffffffff,(%eax)
40a1df:	74 e5                	je     0x40a1c6
40a1e1:	89 1d 94 23 c7 00    	mov    %ebx,0xc72394
40a1e7:	8b 43 10             	mov    0x10(%ebx),%eax
40a1ea:	8b 10                	mov    (%eax),%edx
40a1ec:	89 55 fc             	mov    %edx,-0x4(%ebp)
40a1ef:	83 fa ff             	cmp    $0xffffffff,%edx
40a1f2:	74 14                	je     0x40a208
40a1f4:	8b 8c 90 c4 00 00 00 	mov    0xc4(%eax,%edx,4),%ecx
40a1fb:	8b 7c 90 44          	mov    0x44(%eax,%edx,4),%edi
40a1ff:	23 4d f8             	and    -0x8(%ebp),%ecx
40a202:	23 fe                	and    %esi,%edi
40a204:	0b cf                	or     %edi,%ecx
40a206:	75 29                	jne    0x40a231
40a208:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40a20c:	8b 90 c4 00 00 00    	mov    0xc4(%eax),%edx
40a212:	8d 48 44             	lea    0x44(%eax),%ecx
40a215:	8b 39                	mov    (%ecx),%edi
40a217:	23 55 f8             	and    -0x8(%ebp),%edx
40a21a:	23 fe                	and    %esi,%edi
40a21c:	0b d7                	or     %edi,%edx
40a21e:	75 0e                	jne    0x40a22e
40a220:	ff 45 fc             	incl   -0x4(%ebp)
40a223:	8b 91 84 00 00 00    	mov    0x84(%ecx),%edx
40a229:	83 c1 04             	add    $0x4,%ecx
40a22c:	eb e7                	jmp    0x40a215
40a22e:	8b 55 fc             	mov    -0x4(%ebp),%edx
40a231:	8b ca                	mov    %edx,%ecx
40a233:	69 c9 04 02 00 00    	imul   $0x204,%ecx,%ecx
40a239:	8d 8c 01 44 01 00 00 	lea    0x144(%ecx,%eax,1),%ecx
40a240:	89 4d f4             	mov    %ecx,-0xc(%ebp)
40a243:	8b 4c 90 44          	mov    0x44(%eax,%edx,4),%ecx
40a247:	33 ff                	xor    %edi,%edi
40a249:	23 ce                	and    %esi,%ecx
40a24b:	75 12                	jne    0x40a25f
40a24d:	8b 8c 90 c4 00 00 00 	mov    0xc4(%eax,%edx,4),%ecx
40a254:	23 4d f8             	and    -0x8(%ebp),%ecx
40a257:	6a 20                	push   $0x20
40a259:	5f                   	pop    %edi
40a25a:	eb 03                	jmp    0x40a25f
40a25c:	03 c9                	add    %ecx,%ecx
40a25e:	47                   	inc    %edi
40a25f:	85 c9                	test   %ecx,%ecx
40a261:	7d f9                	jge    0x40a25c
40a263:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40a266:	8b 54 f9 04          	mov    0x4(%ecx,%edi,8),%edx
40a26a:	8b 0a                	mov    (%edx),%ecx
40a26c:	2b 4d f0             	sub    -0x10(%ebp),%ecx
40a26f:	8b f1                	mov    %ecx,%esi
40a271:	c1 fe 04             	sar    $0x4,%esi
40a274:	4e                   	dec    %esi
40a275:	83 fe 3f             	cmp    $0x3f,%esi
40a278:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40a27b:	7e 03                	jle    0x40a280
40a27d:	6a 3f                	push   $0x3f
40a27f:	5e                   	pop    %esi
40a280:	3b f7                	cmp    %edi,%esi
40a282:	0f 84 01 01 00 00    	je     0x40a389
40a288:	8b 4a 04             	mov    0x4(%edx),%ecx
40a28b:	3b 4a 08             	cmp    0x8(%edx),%ecx
40a28e:	75 5c                	jne    0x40a2ec
40a290:	83 ff 20             	cmp    $0x20,%edi
40a293:	bb 00 00 00 80       	mov    $0x80000000,%ebx
40a298:	7d 26                	jge    0x40a2c0
40a29a:	8b cf                	mov    %edi,%ecx
40a29c:	d3 eb                	shr    %cl,%ebx
40a29e:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40a2a1:	8d 7c 38 04          	lea    0x4(%eax,%edi,1),%edi
40a2a5:	f7 d3                	not    %ebx
40a2a7:	89 5d ec             	mov    %ebx,-0x14(%ebp)
40a2aa:	23 5c 88 44          	and    0x44(%eax,%ecx,4),%ebx
40a2ae:	89 5c 88 44          	mov    %ebx,0x44(%eax,%ecx,4)
40a2b2:	fe 0f                	decb   (%edi)
40a2b4:	75 33                	jne    0x40a2e9
40a2b6:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40a2b9:	8b 5d 08             	mov    0x8(%ebp),%ebx
40a2bc:	21 0b                	and    %ecx,(%ebx)
40a2be:	eb 2c                	jmp    0x40a2ec
40a2c0:	8d 4f e0             	lea    -0x20(%edi),%ecx
40a2c3:	d3 eb                	shr    %cl,%ebx
40a2c5:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40a2c8:	8d 8c 88 c4 00 00 00 	lea    0xc4(%eax,%ecx,4),%ecx
40a2cf:	8d 7c 38 04          	lea    0x4(%eax,%edi,1),%edi
40a2d3:	f7 d3                	not    %ebx
40a2d5:	21 19                	and    %ebx,(%ecx)
40a2d7:	fe 0f                	decb   (%edi)
40a2d9:	89 5d ec             	mov    %ebx,-0x14(%ebp)
40a2dc:	75 0b                	jne    0x40a2e9
40a2de:	8b 5d 08             	mov    0x8(%ebp),%ebx
40a2e1:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40a2e4:	21 4b 04             	and    %ecx,0x4(%ebx)
40a2e7:	eb 03                	jmp    0x40a2ec
40a2e9:	8b 5d 08             	mov    0x8(%ebp),%ebx
40a2ec:	83 7d f8 00          	cmpl   $0x0,-0x8(%ebp)
40a2f0:	8b 4a 08             	mov    0x8(%edx),%ecx
40a2f3:	8b 7a 04             	mov    0x4(%edx),%edi
40a2f6:	89 79 04             	mov    %edi,0x4(%ecx)
40a2f9:	8b 4a 04             	mov    0x4(%edx),%ecx
40a2fc:	8b 7a 08             	mov    0x8(%edx),%edi
40a2ff:	89 79 08             	mov    %edi,0x8(%ecx)
40a302:	0f 84 8d 00 00 00    	je     0x40a395
40a308:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40a30b:	8d 0c f1             	lea    (%ecx,%esi,8),%ecx
40a30e:	8b 79 04             	mov    0x4(%ecx),%edi
40a311:	89 4a 08             	mov    %ecx,0x8(%edx)
40a314:	89 7a 04             	mov    %edi,0x4(%edx)
40a317:	89 51 04             	mov    %edx,0x4(%ecx)
40a31a:	8b 4a 04             	mov    0x4(%edx),%ecx
40a31d:	89 51 08             	mov    %edx,0x8(%ecx)
40a320:	8b 4a 04             	mov    0x4(%edx),%ecx
40a323:	3b 4a 08             	cmp    0x8(%edx),%ecx
40a326:	75 5e                	jne    0x40a386
40a328:	8a 4c 06 04          	mov    0x4(%esi,%eax,1),%cl
40a32c:	88 4d 0b             	mov    %cl,0xb(%ebp)
40a32f:	fe c1                	inc    %cl
40a331:	83 fe 20             	cmp    $0x20,%esi
40a334:	88 4c 06 04          	mov    %cl,0x4(%esi,%eax,1)
40a338:	7d 23                	jge    0x40a35d
40a33a:	80 7d 0b 00          	cmpb   $0x0,0xb(%ebp)
40a33e:	75 0b                	jne    0x40a34b
40a340:	bf 00 00 00 80       	mov    $0x80000000,%edi
40a345:	8b ce                	mov    %esi,%ecx
40a347:	d3 ef                	shr    %cl,%edi
40a349:	09 3b                	or     %edi,(%ebx)
40a34b:	8b ce                	mov    %esi,%ecx
40a34d:	bf 00 00 00 80       	mov    $0x80000000,%edi
40a352:	d3 ef                	shr    %cl,%edi
40a354:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40a357:	09 7c 88 44          	or     %edi,0x44(%eax,%ecx,4)
40a35b:	eb 29                	jmp    0x40a386
40a35d:	80 7d 0b 00          	cmpb   $0x0,0xb(%ebp)
40a361:	75 0d                	jne    0x40a370
40a363:	8d 4e e0             	lea    -0x20(%esi),%ecx
40a366:	bf 00 00 00 80       	mov    $0x80000000,%edi
40a36b:	d3 ef                	shr    %cl,%edi
40a36d:	09 7b 04             	or     %edi,0x4(%ebx)
40a370:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40a373:	8d bc 88 c4 00 00 00 	lea    0xc4(%eax,%ecx,4),%edi
40a37a:	8d 4e e0             	lea    -0x20(%esi),%ecx
40a37d:	be 00 00 00 80       	mov    $0x80000000,%esi
40a382:	d3 ee                	shr    %cl,%esi
40a384:	09 37                	or     %esi,(%edi)
40a386:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40a389:	85 c9                	test   %ecx,%ecx
40a38b:	74 0b                	je     0x40a398
40a38d:	89 0a                	mov    %ecx,(%edx)
40a38f:	89 4c 11 fc          	mov    %ecx,-0x4(%ecx,%edx,1)
40a393:	eb 03                	jmp    0x40a398
40a395:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40a398:	8b 75 f0             	mov    -0x10(%ebp),%esi
40a39b:	03 d1                	add    %ecx,%edx
40a39d:	8d 4e 01             	lea    0x1(%esi),%ecx
40a3a0:	89 0a                	mov    %ecx,(%edx)
40a3a2:	89 4c 32 fc          	mov    %ecx,-0x4(%edx,%esi,1)
40a3a6:	8b 75 f4             	mov    -0xc(%ebp),%esi
40a3a9:	8b 0e                	mov    (%esi),%ecx
40a3ab:	8d 79 01             	lea    0x1(%ecx),%edi
40a3ae:	89 3e                	mov    %edi,(%esi)
40a3b0:	85 c9                	test   %ecx,%ecx
40a3b2:	75 1a                	jne    0x40a3ce
40a3b4:	3b 1d 60 09 43 00    	cmp    0x430960,%ebx
40a3ba:	75 12                	jne    0x40a3ce
40a3bc:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40a3bf:	3b 0d 9c 23 c7 00    	cmp    0xc7239c,%ecx
40a3c5:	75 07                	jne    0x40a3ce
40a3c7:	83 25 60 09 43 00 00 	andl   $0x0,0x430960
40a3ce:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40a3d1:	89 08                	mov    %ecx,(%eax)
40a3d3:	8d 42 04             	lea    0x4(%edx),%eax
40a3d6:	5f                   	pop    %edi
40a3d7:	5e                   	pop    %esi
40a3d8:	5b                   	pop    %ebx
40a3d9:	c9                   	leave
40a3da:	c3                   	ret
40a3db:	cc                   	int3
40a3dc:	68 40 a4 40 00       	push   $0x40a440
40a3e1:	64 ff 35 00 00 00 00 	push   %fs:0x0
40a3e8:	8b 44 24 10          	mov    0x10(%esp),%eax
40a3ec:	89 6c 24 10          	mov    %ebp,0x10(%esp)
40a3f0:	8d 6c 24 10          	lea    0x10(%esp),%ebp
40a3f4:	2b e0                	sub    %eax,%esp
40a3f6:	53                   	push   %ebx
40a3f7:	56                   	push   %esi
40a3f8:	57                   	push   %edi
40a3f9:	a1 68 b2 42 00       	mov    0x42b268,%eax
40a3fe:	31 45 fc             	xor    %eax,-0x4(%ebp)
40a401:	33 c5                	xor    %ebp,%eax
40a403:	50                   	push   %eax
40a404:	89 65 e8             	mov    %esp,-0x18(%ebp)
40a407:	ff 75 f8             	push   -0x8(%ebp)
40a40a:	8b 45 fc             	mov    -0x4(%ebp),%eax
40a40d:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40a414:	89 45 f8             	mov    %eax,-0x8(%ebp)
40a417:	8d 45 f0             	lea    -0x10(%ebp),%eax
40a41a:	64 a3 00 00 00 00    	mov    %eax,%fs:0x0
40a420:	c3                   	ret
40a421:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40a424:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40a42b:	59                   	pop    %ecx
40a42c:	5f                   	pop    %edi
40a42d:	5f                   	pop    %edi
40a42e:	5e                   	pop    %esi
40a42f:	5b                   	pop    %ebx
40a430:	8b e5                	mov    %ebp,%esp
40a432:	5d                   	pop    %ebp
40a433:	51                   	push   %ecx
40a434:	c3                   	ret
40a435:	cc                   	int3
40a436:	cc                   	int3
40a437:	cc                   	int3
40a438:	cc                   	int3
40a439:	cc                   	int3
40a43a:	cc                   	int3
40a43b:	cc                   	int3
40a43c:	cc                   	int3
40a43d:	cc                   	int3
40a43e:	cc                   	int3
40a43f:	cc                   	int3
40a440:	8b ff                	mov    %edi,%edi
40a442:	55                   	push   %ebp
40a443:	8b ec                	mov    %esp,%ebp
40a445:	83 ec 18             	sub    $0x18,%esp
40a448:	53                   	push   %ebx
40a449:	8b 5d 0c             	mov    0xc(%ebp),%ebx
40a44c:	56                   	push   %esi
40a44d:	8b 73 08             	mov    0x8(%ebx),%esi
40a450:	33 35 68 b2 42 00    	xor    0x42b268,%esi
40a456:	57                   	push   %edi
40a457:	8b 06                	mov    (%esi),%eax
40a459:	c6 45 ff 00          	movb   $0x0,-0x1(%ebp)
40a45d:	c7 45 f4 01 00 00 00 	movl   $0x1,-0xc(%ebp)
40a464:	8d 7b 10             	lea    0x10(%ebx),%edi
40a467:	83 f8 fe             	cmp    $0xfffffffe,%eax
40a46a:	74 0d                	je     0x40a479
40a46c:	8b 4e 04             	mov    0x4(%esi),%ecx
40a46f:	03 cf                	add    %edi,%ecx
40a471:	33 0c 38             	xor    (%eax,%edi,1),%ecx
40a474:	e8 ad c1 ff ff       	call   0x406626
40a479:	8b 4e 0c             	mov    0xc(%esi),%ecx
40a47c:	8b 46 08             	mov    0x8(%esi),%eax
40a47f:	03 cf                	add    %edi,%ecx
40a481:	33 0c 38             	xor    (%eax,%edi,1),%ecx
40a484:	e8 9d c1 ff ff       	call   0x406626
40a489:	8b 45 08             	mov    0x8(%ebp),%eax
40a48c:	f6 40 04 66          	testb  $0x66,0x4(%eax)
40a490:	0f 85 16 01 00 00    	jne    0x40a5ac
40a496:	8b 4d 10             	mov    0x10(%ebp),%ecx
40a499:	8d 55 e8             	lea    -0x18(%ebp),%edx
40a49c:	89 53 fc             	mov    %edx,-0x4(%ebx)
40a49f:	8b 5b 0c             	mov    0xc(%ebx),%ebx
40a4a2:	89 45 e8             	mov    %eax,-0x18(%ebp)
40a4a5:	89 4d ec             	mov    %ecx,-0x14(%ebp)
40a4a8:	83 fb fe             	cmp    $0xfffffffe,%ebx
40a4ab:	74 5f                	je     0x40a50c
40a4ad:	8d 49 00             	lea    0x0(%ecx),%ecx
40a4b0:	8d 04 5b             	lea    (%ebx,%ebx,2),%eax
40a4b3:	8b 4c 86 14          	mov    0x14(%esi,%eax,4),%ecx
40a4b7:	8d 44 86 10          	lea    0x10(%esi,%eax,4),%eax
40a4bb:	89 45 f0             	mov    %eax,-0x10(%ebp)
40a4be:	8b 00                	mov    (%eax),%eax
40a4c0:	89 45 f8             	mov    %eax,-0x8(%ebp)
40a4c3:	85 c9                	test   %ecx,%ecx
40a4c5:	74 14                	je     0x40a4db
40a4c7:	8b d7                	mov    %edi,%edx
40a4c9:	e8 f4 0e 00 00       	call   0x40b3c2
40a4ce:	c6 45 ff 01          	movb   $0x1,-0x1(%ebp)
40a4d2:	85 c0                	test   %eax,%eax
40a4d4:	7c 40                	jl     0x40a516
40a4d6:	7f 47                	jg     0x40a51f
40a4d8:	8b 45 f8             	mov    -0x8(%ebp),%eax
40a4db:	8b d8                	mov    %eax,%ebx
40a4dd:	83 f8 fe             	cmp    $0xfffffffe,%eax
40a4e0:	75 ce                	jne    0x40a4b0
40a4e2:	80 7d ff 00          	cmpb   $0x0,-0x1(%ebp)
40a4e6:	74 24                	je     0x40a50c
40a4e8:	8b 06                	mov    (%esi),%eax
40a4ea:	83 f8 fe             	cmp    $0xfffffffe,%eax
40a4ed:	74 0d                	je     0x40a4fc
40a4ef:	8b 4e 04             	mov    0x4(%esi),%ecx
40a4f2:	03 cf                	add    %edi,%ecx
40a4f4:	33 0c 38             	xor    (%eax,%edi,1),%ecx
40a4f7:	e8 2a c1 ff ff       	call   0x406626
40a4fc:	8b 4e 0c             	mov    0xc(%esi),%ecx
40a4ff:	8b 56 08             	mov    0x8(%esi),%edx
40a502:	03 cf                	add    %edi,%ecx
40a504:	33 0c 3a             	xor    (%edx,%edi,1),%ecx
40a507:	e8 1a c1 ff ff       	call   0x406626
40a50c:	8b 45 f4             	mov    -0xc(%ebp),%eax
40a50f:	5f                   	pop    %edi
40a510:	5e                   	pop    %esi
40a511:	5b                   	pop    %ebx
40a512:	8b e5                	mov    %ebp,%esp
40a514:	5d                   	pop    %ebp
40a515:	c3                   	ret
40a516:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)
40a51d:	eb c9                	jmp    0x40a4e8
40a51f:	8b 4d 08             	mov    0x8(%ebp),%ecx
40a522:	81 39 63 73 6d e0    	cmpl   $0xe06d7363,(%ecx)
40a528:	75 29                	jne    0x40a553
40a52a:	83 3d d8 cb 41 00 00 	cmpl   $0x0,0x41cbd8
40a531:	74 20                	je     0x40a553
40a533:	68 d8 cb 41 00       	push   $0x41cbd8
40a538:	e8 13 8c 00 00       	call   0x413150
40a53d:	83 c4 04             	add    $0x4,%esp
40a540:	85 c0                	test   %eax,%eax
40a542:	74 0f                	je     0x40a553
40a544:	8b 55 08             	mov    0x8(%ebp),%edx
40a547:	6a 01                	push   $0x1
40a549:	52                   	push   %edx
40a54a:	ff 15 d8 cb 41 00    	call   *0x41cbd8
40a550:	83 c4 08             	add    $0x8,%esp
40a553:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40a556:	e8 97 0e 00 00       	call   0x40b3f2
40a55b:	8b 45 0c             	mov    0xc(%ebp),%eax
40a55e:	39 58 0c             	cmp    %ebx,0xc(%eax)
40a561:	74 12                	je     0x40a575
40a563:	68 68 b2 42 00       	push   $0x42b268
40a568:	57                   	push   %edi
40a569:	8b d3                	mov    %ebx,%edx
40a56b:	8b c8                	mov    %eax,%ecx
40a56d:	e8 9a 0e 00 00       	call   0x40b40c
40a572:	8b 45 0c             	mov    0xc(%ebp),%eax
40a575:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40a578:	89 48 0c             	mov    %ecx,0xc(%eax)
40a57b:	8b 06                	mov    (%esi),%eax
40a57d:	83 f8 fe             	cmp    $0xfffffffe,%eax
40a580:	74 0d                	je     0x40a58f
40a582:	8b 4e 04             	mov    0x4(%esi),%ecx
40a585:	03 cf                	add    %edi,%ecx