4810d9:	ff 15 30 40 49 00    	call   *0x494030
4810df:	85 c0                	test   %eax,%eax
4810e1:	0f 84 c9 00 00 00    	je     0x4811b0
4810e7:	8b 45 0c             	mov    0xc(%ebp),%eax
4810ea:	85 c0                	test   %eax,%eax
4810ec:	74 02                	je     0x4810f0
4810ee:	89 30                	mov    %esi,(%eax)
4810f0:	8b 7d 10             	mov    0x10(%ebp),%edi
4810f3:	85 ff                	test   %edi,%edi
4810f5:	0f 84 b0 00 00 00    	je     0x4811ab
4810fb:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4810fe:	8d 9f 20 01 00 00    	lea    0x120(%edi),%ebx
481104:	33 c0                	xor    %eax,%eax
481106:	66 89 03             	mov    %ax,(%ebx)
481109:	8d 51 02             	lea    0x2(%ecx),%edx
48110c:	66 8b 01             	mov    (%ecx),%ax
48110f:	83 c1 02             	add    $0x2,%ecx
481112:	66 3b 45 f8          	cmp    -0x8(%ebp),%ax
481116:	75 f4                	jne    0x48110c
481118:	2b ca                	sub    %edx,%ecx
48111a:	d1 f9                	sar    $1,%ecx
48111c:	8d 41 01             	lea    0x1(%ecx),%eax
48111f:	50                   	push   %eax
481120:	ff 75 fc             	push   -0x4(%ebp)
481123:	6a 55                	push   $0x55
481125:	53                   	push   %ebx
481126:	e8 a7 de ff ff       	call   0x47efd2
48112b:	83 c4 10             	add    $0x10,%esp
48112e:	85 c0                	test   %eax,%eax
481130:	0f 85 83 00 00 00    	jne    0x4811b9
481136:	6a 40                	push   $0x40
481138:	57                   	push   %edi
481139:	68 01 10 00 00       	push   $0x1001
48113e:	53                   	push   %ebx
48113f:	e8 0e 40 ff ff       	call   0x475152
481144:	85 c0                	test   %eax,%eax
481146:	74 68                	je     0x4811b0
481148:	6a 40                	push   $0x40
48114a:	8d 9f 80 00 00 00    	lea    0x80(%edi),%ebx
481150:	53                   	push   %ebx
481151:	68 02 10 00 00       	push   $0x1002
481156:	8d 87 20 01 00 00    	lea    0x120(%edi),%eax
48115c:	50                   	push   %eax
48115d:	e8 f0 3f ff ff       	call   0x475152
481162:	85 c0                	test   %eax,%eax
481164:	74 4a                	je     0x4811b0
481166:	6a 5f                	push   $0x5f
481168:	53                   	push   %ebx
481169:	e8 19 8a 00 00       	call   0x489b87
48116e:	59                   	pop    %ecx
48116f:	59                   	pop    %ecx
481170:	85 c0                	test   %eax,%eax
481172:	75 0e                	jne    0x481182
481174:	6a 2e                	push   $0x2e
481176:	53                   	push   %ebx
481177:	e8 0b 8a 00 00       	call   0x489b87
48117c:	59                   	pop    %ecx
48117d:	59                   	pop    %ecx
48117e:	85 c0                	test   %eax,%eax
481180:	74 15                	je     0x481197
481182:	6a 40                	push   $0x40
481184:	53                   	push   %ebx
481185:	6a 07                	push   $0x7
481187:	8d 87 20 01 00 00    	lea    0x120(%edi),%eax
48118d:	50                   	push   %eax
48118e:	e8 bf 3f ff ff       	call   0x475152
481193:	85 c0                	test   %eax,%eax
481195:	74 19                	je     0x4811b0
481197:	6a 0a                	push   $0xa
481199:	6a 10                	push   $0x10
48119b:	8d 87 00 01 00 00    	lea    0x100(%edi),%eax
4811a1:	50                   	push   %eax
4811a2:	56                   	push   %esi
4811a3:	e8 39 71 00 00       	call   0x4882e1
4811a8:	83 c4 10             	add    $0x10,%esp
4811ab:	33 c0                	xor    %eax,%eax
4811ad:	40                   	inc    %eax
4811ae:	eb 02                	jmp    0x4811b2
4811b0:	33 c0                	xor    %eax,%eax
4811b2:	5f                   	pop    %edi
4811b3:	5e                   	pop    %esi
4811b4:	5b                   	pop    %ebx
4811b5:	8b e5                	mov    %ebp,%esp
4811b7:	5d                   	pop    %ebp
4811b8:	c3                   	ret
4811b9:	33 c0                	xor    %eax,%eax
4811bb:	50                   	push   %eax
4811bc:	50                   	push   %eax
4811bd:	50                   	push   %eax
4811be:	50                   	push   %eax
4811bf:	50                   	push   %eax
4811c0:	e8 3e bb fc ff       	call   0x44cd03
4811c5:	cc                   	int3
4811c6:	8b ff                	mov    %edi,%edi
4811c8:	55                   	push   %ebp
4811c9:	8b ec                	mov    %esp,%ebp
4811cb:	81 ec f4 00 00 00    	sub    $0xf4,%esp
4811d1:	a1 94 80 4b 00       	mov    0x4b8094,%eax
4811d6:	33 c5                	xor    %ebp,%eax
4811d8:	89 45 fc             	mov    %eax,-0x4(%ebp)
4811db:	53                   	push   %ebx
4811dc:	56                   	push   %esi
4811dd:	8b 75 08             	mov    0x8(%ebp),%esi
4811e0:	57                   	push   %edi
4811e1:	e8 1a 0e ff ff       	call   0x472000
4811e6:	8b d8                	mov    %eax,%ebx
4811e8:	e8 13 0e ff ff       	call   0x472000
4811ed:	56                   	push   %esi
4811ee:	8b b8 4c 03 00 00    	mov    0x34c(%eax),%edi
4811f4:	e8 2f 05 00 00       	call   0x481728
4811f9:	59                   	pop    %ecx
4811fa:	8b 4b 64             	mov    0x64(%ebx),%ecx
4811fd:	8b f0                	mov    %eax,%esi
4811ff:	f7 d9                	neg    %ecx
481201:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
481207:	6a 78                	push   $0x78
481209:	1b c9                	sbb    %ecx,%ecx
48120b:	81 e1 05 f0 ff ff    	and    $0xfffff005,%ecx
481211:	50                   	push   %eax
481212:	81 c1 02 10 00 00    	add    $0x1002,%ecx
481218:	51                   	push   %ecx
481219:	56                   	push   %esi
48121a:	ff 15 e0 40 49 00    	call   *0x4940e0
481220:	85 c0                	test   %eax,%eax
481222:	75 05                	jne    0x481229
481224:	21 07                	and    %eax,(%edi)
481226:	40                   	inc    %eax
481227:	eb 33                	jmp    0x48125c
481229:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
48122f:	50                   	push   %eax
481230:	ff 73 54             	push   0x54(%ebx)
481233:	e8 cf 5e fe ff       	call   0x467107
481238:	59                   	pop    %ecx
481239:	59                   	pop    %ecx
48123a:	85 c0                	test   %eax,%eax
48123c:	75 14                	jne    0x481252
48123e:	56                   	push   %esi
48123f:	e8 18 06 00 00       	call   0x48185c
481244:	59                   	pop    %ecx
481245:	85 c0                	test   %eax,%eax
481247:	74 09                	je     0x481252
481249:	83 0f 04             	orl    $0x4,(%edi)
48124c:	89 77 08             	mov    %esi,0x8(%edi)
48124f:	89 77 04             	mov    %esi,0x4(%edi)
481252:	8b 07                	mov    (%edi),%eax
481254:	c1 e8 02             	shr    $0x2,%eax
481257:	f7 d0                	not    %eax
481259:	83 e0 01             	and    $0x1,%eax
48125c:	8b 4d fc             	mov    -0x4(%ebp),%ecx
48125f:	5f                   	pop    %edi
481260:	5e                   	pop    %esi
481261:	33 cd                	xor    %ebp,%ecx
481263:	5b                   	pop    %ebx
481264:	e8 99 e7 fb ff       	call   0x43fa02
481269:	8b e5                	mov    %ebp,%esp
48126b:	5d                   	pop    %ebp
48126c:	c2 04 00             	ret    $0x4
48126f:	8b ff                	mov    %edi,%edi
481271:	55                   	push   %ebp
481272:	8b ec                	mov    %esp,%ebp
481274:	56                   	push   %esi
481275:	57                   	push   %edi
481276:	e8 85 0d ff ff       	call   0x472000
48127b:	8b d0                	mov    %eax,%edx
48127d:	33 ff                	xor    %edi,%edi
48127f:	8b 4a 54             	mov    0x54(%edx),%ecx
481282:	8d 71 02             	lea    0x2(%ecx),%esi
481285:	66 8b 01             	mov    (%ecx),%ax
481288:	83 c1 02             	add    $0x2,%ecx
48128b:	66 3b c7             	cmp    %di,%ax
48128e:	75 f5                	jne    0x481285
481290:	2b ce                	sub    %esi,%ecx
481292:	33 c0                	xor    %eax,%eax
481294:	d1 f9                	sar    $1,%ecx
481296:	83 f9 03             	cmp    $0x3,%ecx
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