481299:	6a 01                	push   $0x1
48129b:	0f 94 c0             	sete   %al
48129e:	68 c6 11 48 00       	push   $0x4811c6
4812a3:	89 42 64             	mov    %eax,0x64(%edx)
4812a6:	ff 15 64 40 49 00    	call   *0x494064
4812ac:	8b 45 08             	mov    0x8(%ebp),%eax
4812af:	f6 00 04             	testb  $0x4,(%eax)
4812b2:	75 02                	jne    0x4812b6
4812b4:	89 38                	mov    %edi,(%eax)
4812b6:	5f                   	pop    %edi
4812b7:	5e                   	pop    %esi
4812b8:	5d                   	pop    %ebp
4812b9:	c3                   	ret
4812ba:	8b ff                	mov    %edi,%edi
4812bc:	55                   	push   %ebp
4812bd:	8b ec                	mov    %esp,%ebp
4812bf:	56                   	push   %esi
4812c0:	8b 75 08             	mov    0x8(%ebp),%esi
4812c3:	81 0e 04 01 00 00    	orl    $0x104,(%esi)
4812c9:	ff 15 68 40 49 00    	call   *0x494068
4812cf:	89 46 08             	mov    %eax,0x8(%esi)
4812d2:	89 46 04             	mov    %eax,0x4(%esi)
4812d5:	5e                   	pop    %esi
4812d6:	5d                   	pop    %ebp
4812d7:	c3                   	ret
4812d8:	8b ff                	mov    %edi,%edi
4812da:	55                   	push   %ebp
4812db:	8b ec                	mov    %esp,%ebp
4812dd:	53                   	push   %ebx
4812de:	56                   	push   %esi
4812df:	57                   	push   %edi
4812e0:	e8 1b 0d ff ff       	call   0x472000
4812e5:	8b f0                	mov    %eax,%esi
4812e7:	33 db                	xor    %ebx,%ebx
4812e9:	6a 02                	push   $0x2
4812eb:	5a                   	pop    %edx
4812ec:	8b 4e 50             	mov    0x50(%esi),%ecx
4812ef:	8d 79 02             	lea    0x2(%ecx),%edi
4812f2:	66 8b 01             	mov    (%ecx),%ax
4812f5:	03 ca                	add    %edx,%ecx
4812f7:	66 3b c3             	cmp    %bx,%ax
4812fa:	75 f6                	jne    0x4812f2
4812fc:	2b cf                	sub    %edi,%ecx
4812fe:	33 c0                	xor    %eax,%eax
481300:	d1 f9                	sar    $1,%ecx
481302:	83 f9 03             	cmp    $0x3,%ecx
481305:	8b 4e 54             	mov    0x54(%esi),%ecx
481308:	0f 94 c0             	sete   %al
48130b:	89 46 60             	mov    %eax,0x60(%esi)
48130e:	8d 79 02             	lea    0x2(%ecx),%edi
481311:	66 8b 01             	mov    (%ecx),%ax
481314:	03 ca                	add    %edx,%ecx
481316:	66 3b c3             	cmp    %bx,%ax
481319:	75 f6                	jne    0x481311
48131b:	2b cf                	sub    %edi,%ecx
48131d:	33 c0                	xor    %eax,%eax
48131f:	8b 7d 08             	mov    0x8(%ebp),%edi
481322:	d1 f9                	sar    $1,%ecx
481324:	83 f9 03             	cmp    $0x3,%ecx
481327:	0f 94 c0             	sete   %al
48132a:	89 46 64             	mov    %eax,0x64(%esi)
48132d:	89 5f 04             	mov    %ebx,0x4(%edi)
481330:	39 5e 60             	cmp    %ebx,0x60(%esi)
481333:	75 0b                	jne    0x481340
481335:	ff 76 50             	push   0x50(%esi)
481338:	e8 97 00 00 00       	call   0x4813d4
48133d:	59                   	pop    %ecx
48133e:	8b d0                	mov    %eax,%edx
481340:	6a 01                	push   $0x1
481342:	68 00 14 48 00       	push   $0x481400
481347:	89 56 5c             	mov    %edx,0x5c(%esi)
48134a:	ff 15 64 40 49 00    	call   *0x494064
481350:	8b 0f                	mov    (%edi),%ecx
481352:	f6 c1 07             	test   $0x7,%cl
481355:	0f 95 c2             	setne  %dl
481358:	0f ba e1 09          	bt     $0x9,%ecx
48135c:	0f 92 c0             	setb   %al
48135f:	22 d0                	and    %al,%dl
481361:	0f ba e1 08          	bt     $0x8,%ecx
481365:	0f 92 c0             	setb   %al
481368:	84 d0                	test   %dl,%al
48136a:	75 02                	jne    0x48136e
48136c:	89 1f                	mov    %ebx,(%edi)
48136e:	5f                   	pop    %edi
48136f:	5e                   	pop    %esi
481370:	5b                   	pop    %ebx
481371:	5d                   	pop    %ebp
481372:	c3                   	ret
481373:	8b ff                	mov    %edi,%edi
481375:	55                   	push   %ebp
481376:	8b ec                	mov    %esp,%ebp
481378:	53                   	push   %ebx
481379:	56                   	push   %esi
48137a:	57                   	push   %edi
48137b:	e8 80 0c ff ff       	call   0x472000
481380:	8b f0                	mov    %eax,%esi
481382:	33 db                	xor    %ebx,%ebx
481384:	6a 02                	push   $0x2
481386:	5a                   	pop    %edx
481387:	8b 4e 50             	mov    0x50(%esi),%ecx
48138a:	8d 79 02             	lea    0x2(%ecx),%edi
48138d:	66 8b 01             	mov    (%ecx),%ax
481390:	03 ca                	add    %edx,%ecx
481392:	66 3b c3             	cmp    %bx,%ax
481395:	75 f6                	jne    0x48138d
481397:	2b cf                	sub    %edi,%ecx
481399:	33 c0                	xor    %eax,%eax
48139b:	d1 f9                	sar    $1,%ecx
48139d:	83 f9 03             	cmp    $0x3,%ecx
4813a0:	0f 94 c0             	sete   %al
4813a3:	89 46 60             	mov    %eax,0x60(%esi)
4813a6:	85 c0                	test   %eax,%eax
4813a8:	75 0b                	jne    0x4813b5
4813aa:	ff 76 50             	push   0x50(%esi)
4813ad:	e8 22 00 00 00       	call   0x4813d4
4813b2:	59                   	pop    %ecx
4813b3:	8b d0                	mov    %eax,%edx
4813b5:	6a 01                	push   $0x1
4813b7:	68 50 16 48 00       	push   $0x481650
4813bc:	89 56 5c             	mov    %edx,0x5c(%esi)
4813bf:	ff 15 64 40 49 00    	call   *0x494064
4813c5:	8b 45 08             	mov    0x8(%ebp),%eax
4813c8:	f6 00 04             	testb  $0x4,(%eax)
4813cb:	75 02                	jne    0x4813cf
4813cd:	89 18                	mov    %ebx,(%eax)
4813cf:	5f                   	pop    %edi
4813d0:	5e                   	pop    %esi
4813d1:	5b                   	pop    %ebx
4813d2:	5d                   	pop    %ebp
4813d3:	c3                   	ret
4813d4:	8b ff                	mov    %edi,%edi
4813d6:	55                   	push   %ebp
4813d7:	8b ec                	mov    %esp,%ebp
4813d9:	8b 4d 08             	mov    0x8(%ebp),%ecx
4813dc:	33 d2                	xor    %edx,%edx
4813de:	0f b7 01             	movzwl (%ecx),%eax
4813e1:	83 c1 02             	add    $0x2,%ecx
4813e4:	66 83 f8 41          	cmp    $0x41,%ax
4813e8:	72 06                	jb     0x4813f0
4813ea:	66 83 f8 5a          	cmp    $0x5a,%ax
4813ee:	76 09                	jbe    0x4813f9
4813f0:	83 c0 9f             	add    $0xffffff9f,%eax
4813f3:	66 83 f8 19          	cmp    $0x19,%ax
4813f7:	77 03                	ja     0x4813fc
4813f9:	42                   	inc    %edx
4813fa:	eb e2                	jmp    0x4813de
4813fc:	8b c2                	mov    %edx,%eax
4813fe:	5d                   	pop    %ebp
4813ff:	c3                   	ret
481400:	8b ff                	mov    %edi,%edi
481402:	55                   	push   %ebp
481403:	8b ec                	mov    %esp,%ebp
481405:	81 ec fc 00 00 00    	sub    $0xfc,%esp
48140b:	a1 94 80 4b 00       	mov    0x4b8094,%eax
481410:	33 c5                	xor    %ebp,%eax
481412:	89 45 fc             	mov    %eax,-0x4(%ebp)
481415:	53                   	push   %ebx
481416:	56                   	push   %esi
481417:	8b 75 08             	mov    0x8(%ebp),%esi
48141a:	57                   	push   %edi
48141b:	e8 e0 0b ff ff       	call   0x472000
481420:	8b d8                	mov    %eax,%ebx
481422:	e8 d9 0b ff ff       	call   0x472000
481427:	56                   	push   %esi
481428:	8b b8 4c 03 00 00    	mov    0x34c(%eax),%edi
48142e:	e8 f5 02 00 00       	call   0x481728
481433:	59                   	pop    %ecx
481434:	8b 4b 64             	mov    0x64(%ebx),%ecx
481437:	8b f0                	mov    %eax,%esi
481439:	f7 d9                	neg    %ecx
48143b:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
481441:	6a 78                	push   $0x78
481443:	1b c9                	sbb    %ecx,%ecx
481445:	81 e1 05 f0 ff ff    	and    $0xfffff005,%ecx
48144b:	50                   	push   %eax
48144c:	81 c1 02 10 00 00    	add    $0x1002,%ecx
481452:	51                   	push   %ecx
481453:	56                   	push   %esi
481454:	ff 15 e0 40 49 00    	call   *0x4940e0
48145a:	85 c0                	test   %eax,%eax
48145c:	75 0b                	jne    0x481469
48145e:	83 27 00             	andl   $0x0,(%edi)
481461:	33 c0                	xor    %eax,%eax
481463:	40                   	inc    %eax
481464:	e9 d4 01 00 00       	jmp    0x48163d
481469:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
48146f:	50                   	push   %eax
481470:	ff 73 54             	push   0x54(%ebx)
481473:	e8 8f 5c fe ff       	call   0x467107
481478:	83 a5 08 ff ff ff 00 	andl   $0x0,-0xf8(%ebp)
48147f:	59                   	pop    %ecx
481480:	59                   	pop    %ecx
481481:	85 c0                	test   %eax,%eax
481483:	0f 85 ad 00 00 00    	jne    0x481536
481489:	6a 78                	push   $0x78
48148b:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
481491:	50                   	push   %eax
481492:	8b 43 60             	mov    0x60(%ebx),%eax
481495:	f7 d8                	neg    %eax
481497:	1b c0                	sbb    %eax,%eax
481499:	25 02 f0 ff ff       	and    $0xfffff002,%eax
48149e:	05 01 10 00 00       	add    $0x1001,%eax
4814a3:	50                   	push   %eax
4814a4:	56                   	push   %esi
4814a5:	ff 15 e0 40 49 00    	call   *0x4940e0
4814ab:	85 c0                	test   %eax,%eax
4814ad:	74 af                	je     0x48145e
4814af:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
4814b5:	50                   	push   %eax
4814b6:	ff 73 50             	push   0x50(%ebx)
4814b9:	e8 49 5c fe ff       	call   0x467107
4814be:	59                   	pop    %ecx
4814bf:	59                   	pop    %ecx
4814c0:	85 c0                	test   %eax,%eax
4814c2:	75 0b                	jne    0x4814cf
4814c4:	81 0f 04 03 00 00    	orl    $0x304,(%edi)
4814ca:	89 77 04             	mov    %esi,0x4(%edi)
4814cd:	eb 64                	jmp    0x481533
4814cf:	f6 07 02             	testb  $0x2,(%edi)
4814d2:	75 62                	jne    0x481536
4814d4:	83 7b 5c 00          	cmpl   $0x0,0x5c(%ebx)
4814d8:	74 42                	je     0x48151c
4814da:	ff 73 5c             	push   0x5c(%ebx)
4814dd:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
4814e3:	50                   	push   %eax
4814e4:	ff 73 50             	push   0x50(%ebx)
4814e7:	e8 60 1c 00 00       	call   0x48314c
4814ec:	83 c4 0c             	add    $0xc,%esp
4814ef:	85 c0                	test   %eax,%eax
4814f1:	75 29                	jne    0x48151c
4814f3:	83 0f 02             	orl    $0x2,(%edi)
4814f6:	89 77 08             	mov    %esi,0x8(%edi)
4814f9:	8b 4b 50             	mov    0x50(%ebx),%ecx
4814fc:	8d 51 02             	lea    0x2(%ecx),%edx
4814ff:	66 8b 01             	mov    (%ecx),%ax
481502:	83 c1 02             	add    $0x2,%ecx
481505:	66 3b 85 08 ff ff ff 	cmp    -0xf8(%ebp),%ax
48150c:	75 f1                	jne    0x4814ff
48150e:	2b ca                	sub    %edx,%ecx
481510:	d1 f9                	sar    $1,%ecx
481512:	3b 4b 5c             	cmp    0x5c(%ebx),%ecx
481515:	75 1f                	jne    0x481536
481517:	89 77 04             	mov    %esi,0x4(%edi)
48151a:	eb 1a                	jmp    0x481536
48151c:	8b 17                	mov    (%edi),%edx
48151e:	f6 c2 01             	test   $0x1,%dl
481521:	75 13                	jne    0x481536
481523:	56                   	push   %esi
481524:	e8 33 03 00 00       	call   0x48185c
481529:	59                   	pop    %ecx
48152a:	85 c0                	test   %eax,%eax
48152c:	74 08                	je     0x481536
48152e:	83 ca 01             	or     $0x1,%edx
481531:	89 17                	mov    %edx,(%edi)
481533:	89 77 08             	mov    %esi,0x8(%edi)
481536:	8b 07                	mov    (%edi),%eax
481538:	b9 00 03 00 00       	mov    $0x300,%ecx
48153d:	23 c1                	and    %ecx,%eax
48153f:	3b c1                	cmp    %ecx,%eax
481541:	0f 84 ec 00 00 00    	je     0x481633
481547:	8b 4b 60             	mov    0x60(%ebx),%ecx
48154a:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
481550:	f7 d9                	neg    %ecx
481552:	6a 78                	push   $0x78
481554:	1b c9                	sbb    %ecx,%ecx
481556:	81 e1 02 f0 ff ff    	and    $0xfffff002,%ecx
48155c:	50                   	push   %eax
48155d:	81 c1 01 10 00 00    	add    $0x1001,%ecx
481563:	51                   	push   %ecx
481564:	56                   	push   %esi
481565:	ff 15 e0 40 49 00    	call   *0x4940e0
48156b:	85 c0                	test   %eax,%eax
48156d:	75 07                	jne    0x481576
48156f:	89 07                	mov    %eax,(%edi)
481571:	e9 eb fe ff ff       	jmp    0x481461
481576:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
48157c:	50                   	push   %eax
48157d:	ff 73 50             	push   0x50(%ebx)
481580:	e8 82 5b fe ff       	call   0x467107
481585:	59                   	pop    %ecx
481586:	59                   	pop    %ecx
481587:	85 c0                	test   %eax,%eax
481589:	75 68                	jne    0x4815f3
48158b:	81 0f 00 02 00 00    	orl    $0x200,(%edi)
481591:	8b 17                	mov    (%edi),%edx
481593:	39 43 60             	cmp    %eax,0x60(%ebx)
481596:	74 10                	je     0x4815a8
481598:	81 ca 00 01 00 00    	or     $0x100,%edx
48159e:	89 17                	mov    %edx,(%edi)
4815a0:	39 47 04             	cmp    %eax,0x4(%edi)
4815a3:	e9 86 00 00 00       	jmp    0x48162e
4815a8:	39 43 5c             	cmp    %eax,0x5c(%ebx)
4815ab:	74 eb                	je     0x481598
4815ad:	8b 4b 50             	mov    0x50(%ebx),%ecx
4815b0:	8d 41 02             	lea    0x2(%ecx),%eax
4815b3:	89 85 04 ff ff ff    	mov    %eax,-0xfc(%ebp)
4815b9:	66 8b 01             	mov    (%ecx),%ax
4815bc:	83 c1 02             	add    $0x2,%ecx
4815bf:	66 3b 85 08 ff ff ff 	cmp    -0xf8(%ebp),%ax
4815c6:	75 f1                	jne    0x4815b9
4815c8:	2b 8d 04 ff ff ff    	sub    -0xfc(%ebp),%ecx
4815ce:	d1 f9                	sar    $1,%ecx
4815d0:	3b 4b 5c             	cmp    0x5c(%ebx),%ecx
4815d3:	75 1a                	jne    0x4815ef
4815d5:	57                   	push   %edi
4815d6:	6a 01                	push   $0x1
4815d8:	56                   	push   %esi
4815d9:	e8 a2 02 00 00       	call   0x481880
4815de:	83 c4 0c             	add    $0xc,%esp
4815e1:	85 c0                	test   %eax,%eax
4815e3:	74 4e                	je     0x481633
4815e5:	81 0f 00 01 00 00    	orl    $0x100,(%edi)
4815eb:	33 c0                	xor    %eax,%eax
4815ed:	eb b1                	jmp    0x4815a0
4815ef:	33 c0                	xor    %eax,%eax
4815f1:	eb a5                	jmp    0x481598
4815f3:	33 c0                	xor    %eax,%eax
4815f5:	39 43 60             	cmp    %eax,0x60(%ebx)
4815f8:	75 39                	jne    0x481633
4815fa:	39 43 5c             	cmp    %eax,0x5c(%ebx)
4815fd:	74 34                	je     0x481633
4815ff:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
481605:	50                   	push   %eax
481606:	ff 73 50             	push   0x50(%ebx)
481609:	e8 f9 5a fe ff       	call   0x467107
48160e:	59                   	pop    %ecx
48160f:	59                   	pop    %ecx
481610:	85 c0                	test   %eax,%eax
481612:	75 1f                	jne    0x481633
481614:	57                   	push   %edi
481615:	33 db                	xor    %ebx,%ebx
481617:	53                   	push   %ebx
481618:	56                   	push   %esi
481619:	e8 62 02 00 00       	call   0x481880
48161e:	83 c4 0c             	add    $0xc,%esp
481621:	85 c0                	test   %eax,%eax
481623:	74 0e                	je     0x481633
481625:	81 0f 00 01 00 00    	orl    $0x100,(%edi)
48162b:	39 5f 04             	cmp    %ebx,0x4(%edi)
48162e:	75 03                	jne    0x481633
481630:	89 77 04             	mov    %esi,0x4(%edi)
481633:	8b 07                	mov    (%edi),%eax
481635:	c1 e8 02             	shr    $0x2,%eax
481638:	f7 d0                	not    %eax
48163a:	83 e0 01             	and    $0x1,%eax
48163d:	8b 4d fc             	mov    -0x4(%ebp),%ecx
481640:	5f                   	pop    %edi
481641:	5e                   	pop    %esi
481642:	33 cd                	xor    %ebp,%ecx
481644:	5b                   	pop    %ebx