5001c6:	83 c4 0c             	add    $0xc,%esp
5001c9:	66 89 46 22          	mov    %ax,0x22(%esi)
5001cd:	85 ff                	test   %edi,%edi
5001cf:	74 0e                	je     0x5001df
5001d1:	89 7e 0c             	mov    %edi,0xc(%esi)
5001d4:	8b 47 04             	mov    0x4(%edi),%eax
5001d7:	25 04 01 20 00       	and    $0x200104,%eax
5001dc:	09 46 04             	or     %eax,0x4(%esi)
5001df:	56                   	push   %esi
5001e0:	e8 db 14 00 00       	call   0x5016c0
5001e5:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
5001e8:	83 c4 04             	add    $0x4,%esp
5001eb:	8b 01                	mov    (%ecx),%eax
5001ed:	8b 40 78             	mov    0x78(%eax),%eax
5001f0:	39 46 18             	cmp    %eax,0x18(%esi)
5001f3:	7e 0f                	jle    0x500204
5001f5:	50                   	push   %eax
5001f6:	68 30 90 6b 00       	push   $0x6b9030
5001fb:	51                   	push   %ecx
5001fc:	e8 5f 30 02 00       	call   0x523260
500201:	83 c4 0c             	add    $0xc,%esp
500204:	8b 4d cc             	mov    -0x34(%ebp),%ecx
500207:	6a 03                	push   $0x3
500209:	56                   	push   %esi
50020a:	8b 41 04             	mov    0x4(%ecx),%eax
50020d:	83 e0 01             	and    $0x1,%eax
500210:	09 46 04             	or     %eax,0x4(%esi)
500213:	0f b7 41 24          	movzwl 0x24(%ecx),%eax
500217:	89 5e 14             	mov    %ebx,0x14(%esi)
50021a:	8b 5d 0c             	mov    0xc(%ebp),%ebx
50021d:	53                   	push   %ebx
50021e:	66 89 46 24          	mov    %ax,0x24(%esi)
500222:	e8 e9 01 06 00       	call   0x560410
500227:	8b f0                	mov    %eax,%esi
500229:	56                   	push   %esi
50022a:	53                   	push   %ebx
50022b:	ff 75 08             	push   0x8(%ebp)
50022e:	e8 5d ee ff ff       	call   0x4ff090
500233:	8b 43 14             	mov    0x14(%ebx),%eax
500236:	8d 14 76             	lea    (%esi,%esi,2),%edx
500239:	8b 4d 10             	mov    0x10(%ebp),%ecx
50023c:	03 d2                	add    %edx,%edx
50023e:	8b 75 c0             	mov    -0x40(%ebp),%esi
500241:	83 c4 18             	add    $0x18,%esp
500244:	89 4c d0 10          	mov    %ecx,0x10(%eax,%edx,8)
500248:	8b 4b 14             	mov    0x14(%ebx),%ecx
50024b:	0f b7 44 31 08       	movzwl 0x8(%ecx,%esi,1),%eax
500250:	66 89 44 d1 08       	mov    %ax,0x8(%ecx,%edx,8)
500255:	8b 43 14             	mov    0x14(%ebx),%eax
500258:	fe 44 30 0e          	incb   0xe(%eax,%esi,1)
50025c:	5e                   	pop    %esi
50025d:	5f                   	pop    %edi
50025e:	5b                   	pop    %ebx
50025f:	8b e5                	mov    %ebp,%esp
500261:	5d                   	pop    %ebp
500262:	c3                   	ret
500263:	85 ff                	test   %edi,%edi
500265:	74 0e                	je     0x500275
500267:	8b 45 d4             	mov    -0x2c(%ebp),%eax
50026a:	57                   	push   %edi
50026b:	ff 30                	push   (%eax)
50026d:	e8 3e 65 02 00       	call   0x5267b0
500272:	83 c4 08             	add    $0x8,%esp
500275:	85 db                	test   %ebx,%ebx
500277:	74 0c                	je     0x500285
500279:	53                   	push   %ebx
50027a:	ff 75 e4             	push   -0x1c(%ebp)
50027d:	e8 7e 0d 00 00       	call   0x501000
500282:	83 c4 08             	add    $0x8,%esp
500285:	5e                   	pop    %esi
500286:	5f                   	pop    %edi
500287:	5b                   	pop    %ebx
500288:	8b e5                	mov    %ebp,%esp
50028a:	5d                   	pop    %ebp
50028b:	c3                   	ret
50028c:	cc                   	int3
50028d:	cc                   	int3
50028e:	cc                   	int3
50028f:	cc                   	int3
500290:	55                   	push   %ebp
500291:	8b ec                	mov    %esp,%ebp
500293:	81 ec ac 00 00 00    	sub    $0xac,%esp
500299:	a1 d4 89 72 00       	mov    0x7289d4,%eax
50029e:	33 c5                	xor    %ebp,%eax
5002a0:	89 45 fc             	mov    %eax,-0x4(%ebp)
5002a3:	8b 45 14             	mov    0x14(%ebp),%eax
5002a6:	53                   	push   %ebx
5002a7:	56                   	push   %esi
5002a8:	8b 75 08             	mov    0x8(%ebp),%esi
5002ab:	57                   	push   %edi
5002ac:	8b 7d 0c             	mov    0xc(%ebp),%edi
5002af:	6a 34                	push   $0x34
5002b1:	8b 1e                	mov    (%esi),%ebx
5002b3:	89 85 54 ff ff ff    	mov    %eax,-0xac(%ebp)
5002b9:	8d 45 94             	lea    -0x6c(%ebp),%eax
5002bc:	6a 00                	push   $0x0
5002be:	50                   	push   %eax
5002bf:	89 bd 58 ff ff ff    	mov    %edi,-0xa8(%ebp)
5002c5:	c7 85 5c ff ff ff 00 	movl   $0x0,-0xa4(%ebp)
5002cc:	00 00 00
5002cf:	e8 2c 37 0e 00       	call   0x5e3a00
5002d4:	6a 34                	push   $0x34
5002d6:	8d 85 60 ff ff ff    	lea    -0xa0(%ebp),%eax
5002dc:	6a 00                	push   $0x0
5002de:	50                   	push   %eax
5002df:	e8 1c 37 0e 00       	call   0x5e3a00
5002e4:	6a 34                	push   $0x34
5002e6:	8d 45 c8             	lea    -0x38(%ebp),%eax
5002e9:	6a 00                	push   $0x0
5002eb:	50                   	push   %eax
5002ec:	e8 0f 37 0e 00       	call   0x5e3a00
5002f1:	8b 47 0c             	mov    0xc(%edi),%eax
5002f4:	83 c4 24             	add    $0x24,%esp
5002f7:	85 c0                	test   %eax,%eax
5002f9:	74 12                	je     0x50030d
5002fb:	6a 00                	push   $0x0
5002fd:	6a 00                	push   $0x0
5002ff:	50                   	push   %eax
500300:	53                   	push   %ebx
500301:	e8 5a 05 00 00       	call   0x500860
500306:	83 c4 10             	add    $0x10,%esp
500309:	8b f8                	mov    %eax,%edi
50030b:	eb 02                	jmp    0x50030f
50030d:	33 ff                	xor    %edi,%edi
50030f:	80 7b 51 00          	cmpb   $0x0,0x51(%ebx)
500313:	0f 85 b8 00 00 00    	jne    0x5003d1
500319:	8b 8d 58 ff ff ff    	mov    -0xa8(%ebp),%ecx
50031f:	8d 45 94             	lea    -0x6c(%ebp),%eax
500322:	89 45 d4             	mov    %eax,-0x2c(%ebp)
500325:	8d 85 60 ff ff ff    	lea    -0xa0(%ebp),%eax
50032b:	89 45 d8             	mov    %eax,-0x28(%ebp)
50032e:	c6 45 c8 2c          	movb   $0x2c,-0x38(%ebp)
500332:	8b 49 14             	mov    0x14(%ecx),%ecx
500335:	c6 45 94 39          	movb   $0x39,-0x6c(%ebp)
500339:	89 7d a0             	mov    %edi,-0x60(%ebp)
50033c:	8b 41 04             	mov    0x4(%ecx),%eax
50033f:	89 45 a4             	mov    %eax,-0x5c(%ebp)
500342:	c6 85 60 ff ff ff 37 	movb   $0x37,-0xa0(%ebp)
500349:	89 bd 6c ff ff ff    	mov    %edi,-0x94(%ebp)
50034f:	8b 41 18             	mov    0x18(%ecx),%eax
500352:	89 85 70 ff ff ff    	mov    %eax,-0x90(%ebp)
500358:	8d 85 5c ff ff ff    	lea    -0xa4(%ebp),%eax
50035e:	50                   	push   %eax
50035f:	57                   	push   %edi
500360:	56                   	push   %esi
500361:	e8 5a 02 00 00       	call   0x5005c0
500366:	57                   	push   %edi
500367:	8b d0                	mov    %eax,%edx
500369:	e8 e2 79 02 00       	call   0x527d50
50036e:	83 c4 10             	add    $0x10,%esp
500371:	8a 08                	mov    (%eax),%cl
500373:	81 60 04 ff ef ff ff 	andl   $0xffffefff,0x4(%eax)
50037a:	88 48 02             	mov    %cl,0x2(%eax)
50037d:	c6 00 ad             	movb   $0xad,(%eax)
500380:	89 50 1c             	mov    %edx,0x1c(%eax)
500383:	8b 85 54 ff ff ff    	mov    -0xac(%ebp),%eax
500389:	85 c0                	test   %eax,%eax
50038b:	74 12                	je     0x50039f
50038d:	ff 75 18             	push   0x18(%ebp)
500390:	8d 4d c8             	lea    -0x38(%ebp),%ecx
500393:	ff 75 10             	push   0x10(%ebp)
500396:	51                   	push   %ecx
500397:	56                   	push   %esi
500398:	ff d0                	call   *%eax
50039a:	83 c4 10             	add    $0x10,%esp
50039d:	eb 14                	jmp    0x5003b3
50039f:	ff 75 10             	push   0x10(%ebp)
5003a2:	83 4f 04 01          	orl    $0x1,0x4(%edi)
5003a6:	8d 45 c8             	lea    -0x38(%ebp),%eax
5003a9:	50                   	push   %eax
5003aa:	56                   	push   %esi
5003ab:	e8 a0 4e 02 00       	call   0x525250
5003b0:	83 c4 0c             	add    $0xc,%esp
5003b3:	8b 8d 5c ff ff ff    	mov    -0xa4(%ebp),%ecx
5003b9:	85 c9                	test   %ecx,%ecx
5003bb:	74 14                	je     0x5003d1
5003bd:	8a 46 13             	mov    0x13(%esi),%al
5003c0:	3c 08                	cmp    $0x8,%al
5003c2:	73 0d                	jae    0x5003d1
5003c4:	0f b6 c0             	movzbl %al,%eax
5003c7:	89 8c 86 94 00 00 00 	mov    %ecx,0x94(%esi,%eax,4)
5003ce:	fe 46 13             	incb   0x13(%esi)
5003d1:	85 ff                	test   %edi,%edi
5003d3:	74 0a                	je     0x5003df
5003d5:	57                   	push   %edi
5003d6:	53                   	push   %ebx
5003d7:	e8 d4 63 02 00       	call   0x5267b0
5003dc:	83 c4 08             	add    $0x8,%esp
5003df:	8b 4d fc             	mov    -0x4(%ebp),%ecx
5003e2:	5f                   	pop    %edi
5003e3:	5e                   	pop    %esi
5003e4:	33 cd                	xor    %ebp,%ecx
5003e6:	5b                   	pop    %ebx
5003e7:	e8 ee 10 0e 00       	call   0x5e14da
5003ec:	8b e5                	mov    %ebp,%esp
5003ee:	5d                   	pop    %ebp
5003ef:	c3                   	ret
5003f0:	55                   	push   %ebp
5003f1:	8b ec                	mov    %esp,%ebp
5003f3:	51                   	push   %ecx
5003f4:	8b 45 08             	mov    0x8(%ebp),%eax
5003f7:	53                   	push   %ebx
5003f8:	8b 5d 0c             	mov    0xc(%ebp),%ebx
5003fb:	56                   	push   %esi
5003fc:	57                   	push   %edi
5003fd:	8b 78 08             	mov    0x8(%eax),%edi
500400:	8b 0b                	mov    (%ebx),%ecx
500402:	89 4d fc             	mov    %ecx,-0x4(%ebp)
500405:	8b 4d 10             	mov    0x10(%ebp),%ecx
500408:	83 f9 03             	cmp    $0x3,%ecx
50040b:	0f 87 80 01 00 00    	ja     0x500591
500411:	ff 24 8d a8 05 50 00 	jmp    *0x5005a8(,%ecx,4)
500418:	ff 48 38             	decl   0x38(%eax)
50041b:	8b 75 14             	mov    0x14(%ebp),%esi
50041e:	8b 48 38             	mov    0x38(%eax),%ecx
500421:	56                   	push   %esi
500422:	ff 73 04             	push   0x4(%ebx)
500425:	89 4d 0c             	mov    %ecx,0xc(%ebp)
500428:	50                   	push   %eax
500429:	e8 a2 37 02 00       	call   0x523bd0
50042e:	8b 45 fc             	mov    -0x4(%ebp),%eax
500431:	83 c4 0c             	add    $0xc,%esp
500434:	83 f8 01             	cmp    $0x1,%eax
500437:	7e 67                	jle    0x5004a0
500439:	83 c3 18             	add    $0x18,%ebx
50043c:	48                   	dec    %eax
50043d:	89 45 14             	mov    %eax,0x14(%ebp)
500440:	8b 4f 6c             	mov    0x6c(%edi),%ecx
500443:	39 4f 70             	cmp    %ecx,0x70(%edi)
500446:	7f 13                	jg     0x50045b
500448:	6a 00                	push   $0x0
50044a:	ff 75 0c             	push   0xc(%ebp)
50044d:	56                   	push   %esi
50044e:	6a 33                	push   $0x33
500450:	57                   	push   %edi
500451:	e8 aa 60 00 00       	call   0x506500
500456:	83 c4 14             	add    $0x14,%esp
500459:	eb 2e                	jmp    0x500489
50045b:	8b 55 0c             	mov    0xc(%ebp),%edx
50045e:	8d 41 01             	lea    0x1(%ecx),%eax
500461:	89 47 6c             	mov    %eax,0x6c(%edi)
500464:	8d 0c 89             	lea    (%ecx,%ecx,4),%ecx
500467:	8b 47 68             	mov    0x68(%edi),%eax
50046a:	c7 04 88 33 00 00 00 	movl   $0x33,(%eax,%ecx,4)
500471:	89 74 88 04          	mov    %esi,0x4(%eax,%ecx,4)
500475:	89 54 88 08          	mov    %edx,0x8(%eax,%ecx,4)
500479:	c7 44 88 0c 00 00 00 	movl   $0x0,0xc(%eax,%ecx,4)
500480:	00
500481:	c7 44 88 10 00 00 00 	movl   $0x0,0x10(%eax,%ecx,4)
500488:	00
500489:	56                   	push   %esi
50048a:	ff 33                	push   (%ebx)
50048c:	ff 75 08             	push   0x8(%ebp)
50048f:	e8 3c 37 02 00       	call   0x523bd0
500494:	83 c4 0c             	add    $0xc,%esp
500497:	83 c3 14             	add    $0x14,%ebx
50049a:	83 6d 14 01          	subl   $0x1,0x14(%ebp)
50049e:	75 a0                	jne    0x500440
5004a0:	8b 07                	mov    (%edi),%eax
5004a2:	8b 57 6c             	mov    0x6c(%edi),%edx
5004a5:	80 78 51 00          	cmpb   $0x0,0x51(%eax)
5004a9:	74 07                	je     0x5004b2
5004ab:	b8 ec 02 73 00       	mov    $0x7302ec,%eax
5004b0:	eb 0c                	jmp    0x5004be
5004b2:	8b 47 68             	mov    0x68(%edi),%eax
5004b5:	8d 4a ff             	lea    -0x1(%edx),%ecx
5004b8:	8d 0c 89             	lea    (%ecx,%ecx,4),%ecx
5004bb:	8d 04 88             	lea    (%eax,%ecx,4),%eax
5004be:	80 38 4d             	cmpb   $0x4d,(%eax)
5004c1:	75 14                	jne    0x5004d7
5004c3:	85 d2                	test   %edx,%edx
5004c5:	7e 10                	jle    0x5004d7
5004c7:	8b 47 68             	mov    0x68(%edi),%eax
5004ca:	8d 0c 92             	lea    (%edx,%edx,4),%ecx
5004cd:	ba 01 00 00 00       	mov    $0x1,%edx
5004d2:	66 89 54 88 ee       	mov    %dx,-0x12(%eax,%ecx,4)
5004d7:	8b 47 0c             	mov    0xc(%edi),%eax
5004da:	8b 55 0c             	mov    0xc(%ebp),%edx
5004dd:	f7 d2                	not    %edx
5004df:	8b 48 3c             	mov    0x3c(%eax),%ecx
5004e2:	03 48 38             	add    0x38(%eax),%ecx
5004e5:	79 14                	jns    0x5004fb
5004e7:	52                   	push   %edx
5004e8:	57                   	push   %edi
5004e9:	50                   	push   %eax
5004ea:	e8 b1 32 01 00       	call   0x5137a0
5004ef:	83 c4 0c             	add    $0xc,%esp
5004f2:	8b c6                	mov    %esi,%eax
5004f4:	5f                   	pop    %edi
5004f5:	5e                   	pop    %esi
5004f6:	5b                   	pop    %ebx
5004f7:	8b e5                	mov    %ebp,%esp
5004f9:	5d                   	pop    %ebp
5004fa:	c3                   	ret
5004fb:	8b 48 40             	mov    0x40(%eax),%ecx
5004fe:	8b 47 6c             	mov    0x6c(%edi),%eax
500501:	5f                   	pop    %edi
500502:	89 04 91             	mov    %eax,(%ecx,%edx,4)
500505:	8b c6                	mov    %esi,%eax
500507:	5e                   	pop    %esi
500508:	5b                   	pop    %ebx
500509:	8b e5                	mov    %ebp,%esp
50050b:	5d                   	pop    %ebp
50050c:	c3                   	ret
50050d:	8b 75 14             	mov    0x14(%ebp),%esi
500510:	56                   	push   %esi
500511:	6a ff                	push   $0xffffffff
500513:	ff 73 18             	push   0x18(%ebx)
500516:	ff 73 04             	push   0x4(%ebx)
500519:	6a 00                	push   $0x0
50051b:	e8 b0 5f 02 00       	call   0x5264d0
500520:	83 c4 10             	add    $0x10,%esp
500523:	50                   	push   %eax
500524:	6a 45                	push   $0x45
500526:	57                   	push   %edi
500527:	e8 b4 15 04 00       	call   0x541ae0
50052c:	83 c4 10             	add    $0x10,%esp
50052f:	8b c6                	mov    %esi,%eax
500531:	5f                   	pop    %edi
500532:	5e                   	pop    %esi
500533:	5b                   	pop    %ebx
500534:	8b e5                	mov    %ebp,%esp
500536:	5d                   	pop    %ebp
500537:	c3                   	ret
500538:	8b 75 14             	mov    0x14(%ebp),%esi
50053b:	56                   	push   %esi
50053c:	6a ff                	push   $0xffffffff
50053e:	ff 73 18             	push   0x18(%ebx)
500541:	ff 73 04             	push   0x4(%ebx)
500544:	50                   	push   %eax
500545:	e8 d6 6c 02 00       	call   0x527220
50054a:	eb d4                	jmp    0x500520
50054c:	8b 43 18             	mov    0x18(%ebx),%eax
50054f:	8b 75 14             	mov    0x14(%ebp),%esi
500552:	56                   	push   %esi
500553:	80 38 a4             	cmpb   $0xa4,(%eax)
500556:	75 23                	jne    0x50057b
500558:	ff 70 1c             	push   0x1c(%eax)
50055b:	ff 73 04             	push   0x4(%ebx)
50055e:	e8 3d 6d 02 00       	call   0x5272a0
500563:	83 c4 08             	add    $0x8,%esp
500566:	50                   	push   %eax
500567:	6a 45                	push   $0x45
500569:	57                   	push   %edi
50056a:	e8 71 15 04 00       	call   0x541ae0
50056f:	83 c4 10             	add    $0x10,%esp
500572:	8b c6                	mov    %esi,%eax
500574:	5f                   	pop    %edi
500575:	5e                   	pop    %esi
500576:	5b                   	pop    %ebx