48315d:	e8 af d9 fe ff       	call   0x470b11
483162:	8b 4d 0c             	mov    0xc(%ebp),%ecx
483165:	89 01                	mov    %eax,(%ecx)
483167:	e9 01 43 f8 ff       	jmp    0x40746d
48316c:	83 f9 fc             	cmp    $0xfffffffc,%ecx
48316f:	74 d2                	je     0x483143
483171:	6a 19                	push   $0x19
483173:	5e                   	pop    %esi
483174:	8b 7d e0             	mov    -0x20(%ebp),%edi
483177:	e9 91 41 f8 ff       	jmp    0x40730d
48317c:	8b 45 c8             	mov    -0x38(%ebp),%eax
48317f:	83 c8 10             	or     $0x10,%eax
483182:	89 43 08             	mov    %eax,0x8(%ebx)
483185:	e9 f1 41 f8 ff       	jmp    0x40737b
48318a:	81 4b 0c 00 01 00 00 	orl    $0x100,0xc(%ebx)
483191:	e9 e5 41 f8 ff       	jmp    0x40737b
483196:	39 75 fc             	cmp    %esi,-0x4(%ebp)
483199:	74 62                	je     0x4831fd
48319b:	be 80 00 00 00       	mov    $0x80,%esi
4831a0:	66 3b d6             	cmp    %si,%dx
4831a3:	72 39                	jb     0x4831de
4831a5:	0f b7 f2             	movzwl %dx,%esi
4831a8:	8b c6                	mov    %esi,%eax
4831aa:	c1 e8 07             	shr    $0x7,%eax
4831ad:	0f b6 88 a0 c4 4a 00 	movzbl 0x4ac4a0(%eax),%ecx
4831b4:	8b c6                	mov    %esi,%eax
4831b6:	99                   	cltd
4831b7:	f7 7d 0c             	idivl  0xc(%ebp)
4831ba:	c1 e1 07             	shl    $0x7,%ecx
4831bd:	03 ca                	add    %edx,%ecx
4831bf:	0f b7 04 4d 08 e6 49 	movzwl 0x49e608(,%ecx,2),%eax
4831c6:	00
4831c7:	8b 04 c5 0c b1 4a 00 	mov    0x4ab10c(,%eax,8),%eax
4831ce:	03 c6                	add    %esi,%eax
4831d0:	3b c6                	cmp    %esi,%eax
4831d2:	be 80 00 00 00       	mov    $0x80,%esi
4831d7:	eb 15                	jmp    0x4831ee
4831d9:	be 80 00 00 00       	mov    $0x80,%esi
4831de:	8b 85 34 ff ff ff    	mov    -0xcc(%ebp),%eax
4831e4:	0f b7 ca             	movzwl %dx,%ecx
4831e7:	0f b6 04 01          	movzbl (%ecx,%eax,1),%eax
4831eb:	66 3b c2             	cmp    %dx,%ax
4831ee:	0f 84 df 41 f8 ff    	je     0x4073d3
4831f4:	83 4b 0c 20          	orl    $0x20,0xc(%ebx)
4831f8:	e9 d6 41 f8 ff       	jmp    0x4073d3
4831fd:	b8 ff 00 00 00       	mov    $0xff,%eax
483202:	66 3b d0             	cmp    %ax,%dx
483205:	0f 87 c3 41 f8 ff    	ja     0x4073ce
48320b:	eb cc                	jmp    0x4831d9
48320d:	0f b7 f2             	movzwl %dx,%esi
483210:	8b c6                	mov    %esi,%eax
483212:	c1 e8 07             	shr    $0x7,%eax
483215:	0f b6 88 a0 c4 4a 00 	movzbl 0x4ac4a0(%eax),%ecx
48321c:	8b c6                	mov    %esi,%eax
48321e:	99                   	cltd
48321f:	f7 7d 0c             	idivl  0xc(%ebp)
483222:	c1 e1 07             	shl    $0x7,%ecx
483225:	03 ca                	add    %edx,%ecx
483227:	0f b7 04 4d 08 e6 49 	movzwl 0x49e608(,%ecx,2),%eax
48322e:	00
48322f:	8b 04 c5 0c b1 4a 00 	mov    0x4ab10c(,%eax,8),%eax
483236:	03 c6                	add    %esi,%eax
483238:	3b c6                	cmp    %esi,%eax
48323a:	0f 84 cb 41 f8 ff    	je     0x40740b
483240:	b8 80 00 00 00       	mov    $0x80,%eax
483245:	09 43 0c             	or     %eax,0xc(%ebx)
483248:	e9 be 41 f8 ff       	jmp    0x40740b
48324d:	33 c0                	xor    %eax,%eax
48324f:	81 fe 50 43 52 45    	cmp    $0x45524350,%esi
483255:	0f 95 c0             	setne  %al
483258:	48                   	dec    %eax
483259:	83 e0 e7             	and    $0xffffffe7,%eax
48325c:	83 c0 fc             	add    $0xfffffffc,%eax
48325f:	e9 09 59 f8 ff       	jmp    0x408b6d
483264:	58                   	pop    %eax
483265:	e9 03 59 f8 ff       	jmp    0x408b6d
48326a:	83 7d 18 00          	cmpl   $0x0,0x18(%ebp)
48326e:	8d 4d 18             	lea    0x18(%ebp),%ecx
483271:	75 19                	jne    0x48328c
483273:	6a 01                	push   $0x1
483275:	6a 00                	push   $0x0
483277:	6a 00                	push   $0x0
483279:	6a 00                	push   $0x0
48327b:	6a 00                	push   $0x0
48327d:	33 d2                	xor    %edx,%edx
48327f:	e8 7c 70 f8 ff       	call   0x40a300
483284:	83 c4 14             	add    $0x14,%esp
483287:	e9 3b 72 f8 ff       	jmp    0x40a4c7
48328c:	2b c8                	sub    %eax,%ecx
48328e:	85 c9                	test   %ecx,%ecx
483290:	7e 02                	jle    0x483294
483292:	f7 d9                	neg    %ecx
483294:	8b c1                	mov    %ecx,%eax
483296:	e9 2c 72 f8 ff       	jmp    0x40a4c7
48329b:	8b 45 f8             	mov    -0x8(%ebp),%eax
48329e:	89 45 a0             	mov    %eax,-0x60(%ebp)
4832a1:	8b 45 14             	mov    0x14(%ebp),%eax
4832a4:	89 45 9c             	mov    %eax,-0x64(%ebp)
4832a7:	8d 45 9c             	lea    -0x64(%ebp),%eax
4832aa:	89 45 14             	mov    %eax,0x14(%ebp)
4832ad:	c7 83 9c 00 00 00 00 	movl   $0x0,0x9c(%ebx)
4832b4:	00 00 00
4832b7:	e9 a4 70 f8 ff       	jmp    0x40a360
4832bc:	ff 43 28             	incl   0x28(%ebx)
4832bf:	8b 43 28             	mov    0x28(%ebx),%eax
4832c2:	3b 43 2c             	cmp    0x2c(%ebx),%eax
4832c5:	0f 87 a8 66 00 00    	ja     0x489973
4832cb:	0f b7 07             	movzwl (%edi),%eax
4832ce:	0f b6 88 60 e5 49 00 	movzbl 0x49e560(%eax),%ecx
4832d5:	0f b7 47 02          	movzwl 0x2(%edi),%eax
4832d9:	03 c8                	add    %eax,%ecx
4832db:	8d 3c 4f             	lea    (%edi,%ecx,2),%edi
4832de:	89 7d cc             	mov    %edi,-0x34(%ebp)
4832e1:	e9 7a 70 f8 ff       	jmp    0x40a360
4832e6:	8b 45 f8             	mov    -0x8(%ebp),%eax
4832e9:	8b 75 08             	mov    0x8(%ebp),%esi
4832ec:	89 45 ec             	mov    %eax,-0x14(%ebp)
4832ef:	8b 83 b0 00 00 00    	mov    0xb0(%ebx),%eax
4832f5:	89 7d f4             	mov    %edi,-0xc(%ebp)
4832f8:	89 45 d4             	mov    %eax,-0x2c(%ebp)
4832fb:	8b 45 18             	mov    0x18(%ebp),%eax
4832fe:	8b 4d f8             	mov    -0x8(%ebp),%ecx
483301:	40                   	inc    %eax
483302:	50                   	push   %eax
483303:	ff 75 14             	push   0x14(%ebp)
483306:	8d 57 04             	lea    0x4(%edi),%edx
483309:	53                   	push   %ebx
48330a:	ff 75 0c             	push   0xc(%ebp)
48330d:	56                   	push   %esi
48330e:	e8 ed 6f f8 ff       	call   0x40a300
483313:	83 c4 14             	add    $0x14,%esp
483316:	83 f8 01             	cmp    $0x1,%eax
483319:	74 4f                	je     0x48336a
48331b:	3d 20 fc ff ff       	cmp    $0xfffffc20,%eax
483320:	75 25                	jne    0x483347
483322:	0f b7 4f 02          	movzwl 0x2(%edi),%ecx
483326:	8d 0c 4f             	lea    (%edi,%ecx,2),%ecx
483329:	39 8b 80 00 00 00    	cmp    %ecx,0x80(%ebx)
48332f:	0f 83 92 71 f8 ff    	jae    0x40a4c7
483335:	66 83 3f 77          	cmpw   $0x77,(%edi)
483339:	74 14                	je     0x48334f
48333b:	66 83 39 77          	cmpw   $0x77,(%ecx)
48333f:	0f 85 82 71 f8 ff    	jne    0x40a4c7
483345:	eb 08                	jmp    0x48334f
483347:	85 c0                	test   %eax,%eax
483349:	0f 85 78 71 f8 ff    	jne    0x40a4c7
48334f:	0f b7 47 02          	movzwl 0x2(%edi),%eax
483353:	8d 3c 47             	lea    (%edi,%eax,2),%edi
483356:	8b 45 d4             	mov    -0x2c(%ebp),%eax
483359:	89 83 b0 00 00 00    	mov    %eax,0xb0(%ebx)
48335f:	66 83 3f 77          	cmpw   $0x77,(%edi)
483363:	74 96                	je     0x4832fb
483365:	8b 4d 08             	mov    0x8(%ebp),%ecx
483368:	eb 09                	jmp    0x483373
48336a:	8b 8b 80 00 00 00    	mov    0x80(%ebx),%ecx
483370:	89 4d 08             	mov    %ecx,0x8(%ebp)
483373:	0f b7 07             	movzwl (%edi),%eax
483376:	ba 82 00 00 00       	mov    $0x82,%edx
48337b:	66 3b c2             	cmp    %dx,%ax
48337e:	74 09                	je     0x483389
483380:	83 f8 77             	cmp    $0x77,%eax
483383:	0f 85 eb 71 f8 ff    	jne    0x40a574
483389:	0f b7 47 02          	movzwl 0x2(%edi),%eax
48338d:	66 83 3c 47 77       	cmpw   $0x77,(%edi,%eax,2)
483392:	8d 3c 47             	lea    (%edi,%eax,2),%edi
483395:	74 f2                	je     0x483389
483397:	66 83 3f 78          	cmpw   $0x78,(%edi)
48339b:	8b 93 90 00 00 00    	mov    0x90(%ebx),%edx
4833a1:	8b 83 84 00 00 00    	mov    0x84(%ebx),%eax
4833a7:	89 55 0c             	mov    %edx,0xc(%ebp)
4833aa:	89 45 f8             	mov    %eax,-0x8(%ebp)
4833ad:	0f 84 e7 29 00 00    	je     0x485d9a
4833b3:	3b 45 ec             	cmp    -0x14(%ebp),%eax
4833b6:	0f 85 a9 63 00 00    	jne    0x489765
4833bc:	83 c7 04             	add    $0x4,%edi
4833bf:	89 7d cc             	mov    %edi,-0x34(%ebp)
4833c2:	e9 99 6f f8 ff       	jmp    0x40a360
4833c7:	0f b7 4f 02          	movzwl 0x2(%edi),%ecx
4833cb:	83 c7 04             	add    $0x4,%edi
4833ce:	89 4d d8             	mov    %ecx,-0x28(%ebp)
4833d1:	66 83 3f 76          	cmpw   $0x76,(%edi)
4833d5:	0f 85 cf 00 00 00    	jne    0x4834aa
4833db:	39 15 0c 33 4c 00    	cmp    %edx,0x4c330c
4833e1:	0f 84 ba 00 00 00    	je     0x4834a1
4833e7:	c7 85 5c ff ff ff 02 	movl   $0x2,-0xa4(%ebp)
4833ee:	00 00 00
4833f1:	0f b7 47 02          	movzwl 0x2(%edi),%eax
4833f5:	89 85 60 ff ff ff    	mov    %eax,-0xa0(%ebp)
4833fb:	8b 43 0c             	mov    0xc(%ebx),%eax
4833fe:	89 85 64 ff ff ff    	mov    %eax,-0x9c(%ebp)
483404:	8b 43 78             	mov    0x78(%ebx),%eax
483407:	89 85 68 ff ff ff    	mov    %eax,-0x98(%ebp)
48340d:	8b 43 7c             	mov    0x7c(%ebx),%eax
483410:	2b 43 78             	sub    0x78(%ebx),%eax
483413:	d1 f8                	sar    $1,%eax
483415:	89 85 6c ff ff ff    	mov    %eax,-0x94(%ebp)
48341b:	8b 45 08             	mov    0x8(%ebp),%eax
48341e:	2b 43 78             	sub    0x78(%ebx),%eax
483421:	d1 f8                	sar    $1,%eax
483423:	89 85 70 ff ff ff    	mov    %eax,-0x90(%ebp)
483429:	8b 45 f8             	mov    -0x8(%ebp),%eax
48342c:	2b 43 78             	sub    0x78(%ebx),%eax
48342f:	d1 f8                	sar    $1,%eax
483431:	89 85 74 ff ff ff    	mov    %eax,-0x8c(%ebp)
483437:	0f b7 47 04          	movzwl 0x4(%edi),%eax
48343b:	89 45 84             	mov    %eax,-0x7c(%ebp)
48343e:	0f b7 47 06          	movzwl 0x6(%edi),%eax
483442:	89 45 88             	mov    %eax,-0x78(%ebp)
483445:	8b 45 0c             	mov    0xc(%ebp),%eax
483448:	99                   	cltd
483449:	2b c2                	sub    %edx,%eax
48344b:	d1 f8                	sar    $1,%eax
48344d:	89 85 78 ff ff ff    	mov    %eax,-0x88(%ebp)
483453:	0f b7 83 94 00 00 00 	movzwl 0x94(%ebx),%eax
48345a:	89 85 7c ff ff ff    	mov    %eax,-0x84(%ebp)
483460:	85 c0                	test   %eax,%eax
483462:	75 0a                	jne    0x48346e
483464:	c7 85 7c ff ff ff ff 	movl   $0xffffffff,-0x84(%ebp)
48346b:	ff ff ff
48346e:	8b 83 ac 00 00 00    	mov    0xac(%ebx),%eax
483474:	89 45 80             	mov    %eax,-0x80(%ebp)
483477:	8b 83 b4 00 00 00    	mov    0xb4(%ebx),%eax
48347d:	89 45 8c             	mov    %eax,-0x74(%ebp)
483480:	8d 85 5c ff ff ff    	lea    -0xa4(%ebp),%eax
483486:	50                   	push   %eax
483487:	ff 15 0c 33 4c 00    	call   *0x4c330c
48348d:	83 c4 04             	add    $0x4,%esp
483490:	85 c0                	test   %eax,%eax
483492:	0f 8f dc 70 f8 ff    	jg     0x40a574
483498:	0f 88 29 70 f8 ff    	js     0x40a4c7
48349e:	8b 4d d8             	mov    -0x28(%ebp),%ecx
4834a1:	83 c7 08             	add    $0x8,%edi
4834a4:	83 e9 04             	sub    $0x4,%ecx
4834a7:	89 4d d8             	mov    %ecx,-0x28(%ebp)
4834aa:	0f b7 07             	movzwl (%edi),%eax
4834ad:	89 45 ec             	mov    %eax,-0x14(%ebp)
4834b0:	33 d2                	xor    %edx,%edx
4834b2:	05 73 ff ff ff       	add    $0xffffff73,%eax
4834b7:	89 55 d4             	mov    %edx,-0x2c(%ebp)
4834ba:	83 f8 04             	cmp    $0x4,%eax
4834bd:	0f 87 1c 01 00 00    	ja     0x4835df
4834c3:	ff 24 85 86 b8 48 00 	jmp    *0x48b886(,%eax,4)
4834ca:	8b 8b a8 00 00 00    	mov    0xa8(%ebx),%ecx
4834d0:	85 c9                	test   %ecx,%ecx
4834d2:	0f 84 92 01 00 00    	je     0x48366a
4834d8:	0f b7 47 02          	movzwl 0x2(%edi),%eax
4834dc:	3d ff ff 00 00       	cmp    $0xffff,%eax
4834e1:	0f 84 82 00 00 00    	je     0x483569
4834e7:	3b 41 04             	cmp    0x4(%ecx),%eax
4834ea:	74 7d                	je     0x483569
4834ec:	33 d2                	xor    %edx,%edx
4834ee:	e9 77 01 00 00       	jmp    0x48366a
4834f3:	8b 83 a8 00 00 00    	mov    0xa8(%ebx),%eax
4834f9:	85 c0                	test   %eax,%eax
4834fb:	0f 84 6c 01 00 00    	je     0x48366d
483501:	8b 43 24             	mov    0x24(%ebx),%eax
483504:	0f b7 4f 02          	movzwl 0x2(%edi),%ecx
483508:	0f af c8             	imul   %eax,%ecx
48350b:	89 45 e0             	mov    %eax,-0x20(%ebp)
48350e:	8b 43 30             	mov    0x30(%ebx),%eax
483511:	8d 04 48             	lea    (%eax,%ecx,2),%eax
483514:	0f b7 4f 04          	movzwl 0x4(%edi),%ecx
483518:	89 45 d4             	mov    %eax,-0x2c(%ebp)
48351b:	85 c9                	test   %ecx,%ecx
48351d:	0f 8e 47 01 00 00    	jle    0x48366a
483523:	8b 93 a8 00 00 00    	mov    0xa8(%ebx),%edx
483529:	8b 52 04             	mov    0x4(%edx),%edx
48352c:	89 55 f4             	mov    %edx,-0xc(%ebp)
48352f:	33 d2                	xor    %edx,%edx
483531:	0f b7 00             	movzwl (%eax),%eax
483534:	49                   	dec    %ecx
483535:	3b 45 f4             	cmp    -0xc(%ebp),%eax
483538:	74 2f                	je     0x483569
48353a:	8b 45 d4             	mov    -0x2c(%ebp),%eax
48353d:	8b 5d e0             	mov    -0x20(%ebp),%ebx
483540:	8d 04 58             	lea    (%eax,%ebx,2),%eax
483543:	8b 5d 10             	mov    0x10(%ebp),%ebx
483546:	89 45 d4             	mov    %eax,-0x2c(%ebp)
483549:	85 c9                	test   %ecx,%ecx
48354b:	7f e4                	jg     0x483531
48354d:	e9 18 01 00 00       	jmp    0x48366a
483552:	0f b7 57 02          	movzwl 0x2(%edi),%edx
483556:	03 d2                	add    %edx,%edx
483558:	89 55 c0             	mov    %edx,-0x40(%ebp)
48355b:	3b 55 0c             	cmp    0xc(%ebp),%edx
48355e:	7d 1d                	jge    0x48357d
483560:	8b 43 0c             	mov    0xc(%ebx),%eax
483563:	83 3c 90 00          	cmpl   $0x0,(%eax,%edx,4)
483567:	7c 14                	jl     0x48357d
483569:	8b 45 ec             	mov    -0x14(%ebp),%eax
48356c:	ba 01 00 00 00       	mov    $0x1,%edx
483571:	0f b6 88 60 e5 49 00 	movzbl 0x49e560(%eax),%ecx
483578:	e9 f0 00 00 00       	jmp    0x48366d
48357d:	33 d2                	xor    %edx,%edx
48357f:	e9 e9 00 00 00       	jmp    0x48366d
483584:	8b 43 24             	mov    0x24(%ebx),%eax
483587:	0f b7 4f 02          	movzwl 0x2(%edi),%ecx
48358b:	0f af c8             	imul   %eax,%ecx
48358e:	89 45 f4             	mov    %eax,-0xc(%ebp)
483591:	8b 43 30             	mov    0x30(%ebx),%eax
483594:	8d 04 48             	lea    (%eax,%ecx,2),%eax
483597:	0f b7 4f 04          	movzwl 0x4(%edi),%ecx
48359b:	89 45 d4             	mov    %eax,-0x2c(%ebp)
48359e:	85 c9                	test   %ecx,%ecx
4835a0:	0f 8e c4 00 00 00    	jle    0x48366a
4835a6:	33 d2                	xor    %edx,%edx
4835a8:	0f b7 18             	movzwl (%eax),%ebx
4835ab:	03 db                	add    %ebx,%ebx
4835ad:	49                   	dec    %ecx
4835ae:	3b 5d 0c             	cmp    0xc(%ebp),%ebx
4835b1:	89 5d c0             	mov    %ebx,-0x40(%ebp)
4835b4:	8b 5d 10             	mov    0x10(%ebp),%ebx
4835b7:	7d 11                	jge    0x4835ca
4835b9:	8b 43 0c             	mov    0xc(%ebx),%eax
4835bc:	8b 5d c0             	mov    -0x40(%ebp),%ebx
4835bf:	39 14 98             	cmp    %edx,(%eax,%ebx,4)
4835c2:	8b 5d 10             	mov    0x10(%ebp),%ebx
4835c5:	7d a2                	jge    0x483569
4835c7:	8b 45 d4             	mov    -0x2c(%ebp),%eax
4835ca:	8b 5d f4             	mov    -0xc(%ebp),%ebx
4835cd:	8d 04 58             	lea    (%eax,%ebx,2),%eax
4835d0:	8b 5d 10             	mov    0x10(%ebp),%ebx
4835d3:	89 45 d4             	mov    %eax,-0x2c(%ebp)
4835d6:	85 c9                	test   %ecx,%ecx
4835d8:	7f ce                	jg     0x4835a8
4835da:	e9 8b 00 00 00       	jmp    0x48366a
4835df:	8b 4d f8             	mov    -0x8(%ebp),%ecx
4835e2:	c7 83 9c 00 00 00 01 	movl   $0x1,0x9c(%ebx)
4835e9:	00 00 00
4835ec:	8b 45 18             	mov    0x18(%ebp),%eax
4835ef:	40                   	inc    %eax
4835f0:	50                   	push   %eax
4835f1:	6a 00                	push   $0x0
4835f3:	53                   	push   %ebx
4835f4:	ff 75 0c             	push   0xc(%ebp)
4835f7:	8b d7                	mov    %edi,%edx
4835f9:	ff 75 08             	push   0x8(%ebp)
4835fc:	e8 ff 6c f8 ff       	call   0x40a300
483601:	83 c4 14             	add    $0x14,%esp
483604:	83 f8 01             	cmp    $0x1,%eax
483607:	75 4f                	jne    0x483658
483609:	8b 83 90 00 00 00    	mov    0x90(%ebx),%eax
48360f:	3b 45 0c             	cmp    0xc(%ebp),%eax
483612:	7e 03                	jle    0x483617
483614:	89 45 0c             	mov    %eax,0xc(%ebp)
483617:	0f b7 47 02          	movzwl 0x2(%edi),%eax
48361b:	66 83 3c 47 77       	cmpw   $0x77,(%edi,%eax,2)
483620:	8d 3c 47             	lea    (%edi,%eax,2),%edi
483623:	ba 01 00 00 00       	mov    $0x1,%edx
483628:	75 0e                	jne    0x483638