47819c:	ff 15 ec f7 48 00    	call   *0x48f7ec
4781a2:	85 c0                	test   %eax,%eax
4781a4:	75 1c                	jne    0x4781c2
4781a6:	6a fe                	push   $0xfffffffe
4781a8:	5e                   	pop    %esi
4781a9:	50                   	push   %eax
4781aa:	56                   	push   %esi
4781ab:	eb 09                	jmp    0x4781b6
4781ad:	6a 00                	push   $0x0
4781af:	ff 15 04 f8 48 00    	call   *0x48f804
4781b5:	50                   	push   %eax
4781b6:	8b 07                	mov    (%edi),%eax
4781b8:	8b 48 04             	mov    0x4(%eax),%ecx
4781bb:	03 cf                	add    %edi,%ecx
4781bd:	e8 e1 e8 fd ff       	call   0x456aa3
4781c2:	5f                   	pop    %edi
4781c3:	8b c6                	mov    %esi,%eax
4781c5:	5e                   	pop    %esi
4781c6:	5b                   	pop    %ebx
4781c7:	8b e5                	mov    %ebp,%esp
4781c9:	5d                   	pop    %ebp
4781ca:	c2 10 00             	ret    $0x10
4781cd:	55                   	push   %ebp
4781ce:	8b ec                	mov    %esp,%ebp
4781d0:	53                   	push   %ebx
4781d1:	8b 5d 08             	mov    0x8(%ebp),%ebx
4781d4:	33 c0                	xor    %eax,%eax
4781d6:	57                   	push   %edi
4781d7:	50                   	push   %eax
4781d8:	50                   	push   %eax
4781d9:	8b 7b 04             	mov    0x4(%ebx),%edi
4781dc:	47                   	inc    %edi
4781dd:	57                   	push   %edi
4781de:	ff 33                	push   (%ebx)
4781e0:	6a 01                	push   $0x1
4781e2:	50                   	push   %eax
4781e3:	ff 15 84 f1 48 00    	call   *0x48f184
4781e9:	89 45 08             	mov    %eax,0x8(%ebp)
4781ec:	85 c0                	test   %eax,%eax
4781ee:	75 0a                	jne    0x4781fa
4781f0:	8b 4d 0c             	mov    0xc(%ebp),%ecx
4781f3:	e8 f4 fc f8 ff       	call   0x407eec
4781f8:	eb 3e                	jmp    0x478238
4781fa:	56                   	push   %esi
4781fb:	33 c9                	xor    %ecx,%ecx
4781fd:	6a 02                	push   $0x2
4781ff:	5a                   	pop    %edx
478200:	f7 e2                	mul    %edx
478202:	0f 90 c1             	seto   %cl
478205:	f7 d9                	neg    %ecx
478207:	0b c8                	or     %eax,%ecx
478209:	51                   	push   %ecx
47820a:	e8 e7 8d fa ff       	call   0x420ff6
47820f:	59                   	pop    %ecx
478210:	ff 75 08             	push   0x8(%ebp)
478213:	8b f0                	mov    %eax,%esi
478215:	56                   	push   %esi
478216:	57                   	push   %edi
478217:	ff 33                	push   (%ebx)
478219:	6a 01                	push   $0x1
47821b:	6a 00                	push   $0x0
47821d:	ff 15 84 f1 48 00    	call   *0x48f184
478223:	8b 4d 0c             	mov    0xc(%ebp),%ecx
478226:	48                   	dec    %eax
478227:	50                   	push   %eax
478228:	6a 00                	push   $0x0
47822a:	56                   	push   %esi
47822b:	e8 7d f6 f8 ff       	call   0x4078ad
478230:	56                   	push   %esi
478231:	e8 36 8e fa ff       	call   0x42106c
478236:	59                   	pop    %ecx
478237:	5e                   	pop    %esi
478238:	5f                   	pop    %edi
478239:	5b                   	pop    %ebx
47823a:	5d                   	pop    %ebp
47823b:	c2 08 00             	ret    $0x8
47823e:	55                   	push   %ebp
47823f:	8b ec                	mov    %esp,%ebp
478241:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
478245:	56                   	push   %esi
478246:	8b f1                	mov    %ecx,%esi
478248:	75 09                	jne    0x478253
47824a:	51                   	push   %ecx
47824b:	51                   	push   %ecx
47824c:	e8 b7 b1 fe ff       	call   0x463408
478251:	eb 54                	jmp    0x4782a7
478253:	ff 75 08             	push   0x8(%ebp)
478256:	e8 25 b7 fa ff       	call   0x423980
47825b:	59                   	pop    %ecx
47825c:	8b 4e 0c             	mov    0xc(%esi),%ecx
47825f:	89 46 04             	mov    %eax,0x4(%esi)
478262:	8b 11                	mov    (%ecx),%edx
478264:	83 fa 01             	cmp    $0x1,%edx
478267:	7e 24                	jle    0x47828d
478269:	8d 42 ff             	lea    -0x1(%edx),%eax
47826c:	89 01                	mov    %eax,(%ecx)
47826e:	8b ce                	mov    %esi,%ecx
478270:	e8 ce e1 fd ff       	call   0x456443
478275:	8b 46 04             	mov    0x4(%esi),%eax
478278:	40                   	inc    %eax
478279:	50                   	push   %eax
47827a:	e8 cc d7 f8 ff       	call   0x405a4b
47827f:	50                   	push   %eax
478280:	89 46 08             	mov    %eax,0x8(%esi)
478283:	e8 6e 8d fa ff       	call   0x420ff6
478288:	59                   	pop    %ecx
478289:	89 06                	mov    %eax,(%esi)
47828b:	eb 08                	jmp    0x478295
47828d:	50                   	push   %eax
47828e:	8b ce                	mov    %esi,%ecx
478290:	e8 f2 d7 f8 ff       	call   0x405a87
478295:	8b 46 04             	mov    0x4(%esi),%eax
478298:	40                   	inc    %eax
478299:	50                   	push   %eax
47829a:	ff 75 08             	push   0x8(%ebp)
47829d:	ff 36                	push   (%esi)
47829f:	e8 dc 8d fa ff       	call   0x421080
4782a4:	83 c4 0c             	add    $0xc,%esp
4782a7:	5e                   	pop    %esi
4782a8:	5d                   	pop    %ebp
4782a9:	c2 04 00             	ret    $0x4
4782ac:	55                   	push   %ebp
4782ad:	8b ec                	mov    %esp,%ebp
4782af:	56                   	push   %esi
4782b0:	8b f1                	mov    %ecx,%esi
4782b2:	8b 4d 08             	mov    0x8(%ebp),%ecx
4782b5:	e8 0d f5 f8 ff       	call   0x4077c7
4782ba:	ff 75 08             	push   0x8(%ebp)
4782bd:	56                   	push   %esi
4782be:	e8 0a ff ff ff       	call   0x4781cd
4782c3:	8b 45 08             	mov    0x8(%ebp),%eax
4782c6:	5e                   	pop    %esi
4782c7:	5d                   	pop    %ebp
4782c8:	c2 04 00             	ret    $0x4
4782cb:	55                   	push   %ebp
4782cc:	8b ec                	mov    %esp,%ebp
4782ce:	56                   	push   %esi
4782cf:	57                   	push   %edi
4782d0:	8b 7d 08             	mov    0x8(%ebp),%edi
4782d3:	8b f1                	mov    %ecx,%esi
4782d5:	8b 0f                	mov    (%edi),%ecx
4782d7:	8b 51 08             	mov    0x8(%ecx),%edx
4782da:	8b 41 04             	mov    0x4(%ecx),%eax
4782dd:	85 d2                	test   %edx,%edx
4782df:	74 03                	je     0x4782e4
4782e1:	89 42 04             	mov    %eax,0x4(%edx)
4782e4:	85 c0                	test   %eax,%eax
4782e6:	74 03                	je     0x4782eb
4782e8:	89 50 08             	mov    %edx,0x8(%eax)
4782eb:	3b 0e                	cmp    (%esi),%ecx
4782ed:	75 02                	jne    0x4782f1
4782ef:	89 06                	mov    %eax,(%esi)
4782f1:	3b 4e 04             	cmp    0x4(%esi),%ecx
4782f4:	75 03                	jne    0x4782f9
4782f6:	89 56 04             	mov    %edx,0x4(%esi)
4782f9:	51                   	push   %ecx
4782fa:	e8 4d 1b ff ff       	call   0x469e4c
4782ff:	83 27 00             	andl   $0x0,(%edi)
478302:	ff 4e 08             	decl   0x8(%esi)
478305:	5f                   	pop    %edi
478306:	5e                   	pop    %esi
478307:	5d                   	pop    %ebp
478308:	c2 04 00             	ret    $0x4
47830b:	55                   	push   %ebp
47830c:	8b ec                	mov    %esp,%ebp
47830e:	53                   	push   %ebx
47830f:	8b 5d 08             	mov    0x8(%ebp),%ebx
478312:	33 c0                	xor    %eax,%eax
478314:	57                   	push   %edi
478315:	50                   	push   %eax
478316:	50                   	push   %eax
478317:	8b 7b 04             	mov    0x4(%ebx),%edi
47831a:	50                   	push   %eax
47831b:	50                   	push   %eax
47831c:	47                   	inc    %edi
47831d:	57                   	push   %edi
47831e:	ff 33                	push   (%ebx)
478320:	50                   	push   %eax
478321:	50                   	push   %eax
478322:	ff 15 ac f1 48 00    	call   *0x48f1ac
478328:	89 45 08             	mov    %eax,0x8(%ebp)
47832b:	85 c0                	test   %eax,%eax
47832d:	75 0a                	jne    0x478339
47832f:	8b 4d 0c             	mov    0xc(%ebp),%ecx
478332:	e8 f8 d6 f8 ff       	call   0x405a2f
478337:	eb 31                	jmp    0x47836a
478339:	56                   	push   %esi
47833a:	50                   	push   %eax
47833b:	e8 b6 8c fa ff       	call   0x420ff6
478340:	59                   	pop    %ecx
478341:	8b f0                	mov    %eax,%esi
478343:	33 c0                	xor    %eax,%eax
478345:	50                   	push   %eax
478346:	50                   	push   %eax
478347:	ff 75 08             	push   0x8(%ebp)
47834a:	56                   	push   %esi
47834b:	57                   	push   %edi
47834c:	ff 33                	push   (%ebx)
47834e:	50                   	push   %eax
47834f:	50                   	push   %eax
478350:	ff 15 ac f1 48 00    	call   *0x48f1ac
478356:	48                   	dec    %eax
478357:	50                   	push   %eax
478358:	51                   	push   %ecx
478359:	8b 4d 0c             	mov    0xc(%ebp),%ecx
47835c:	56                   	push   %esi
47835d:	e8 62 d7 f8 ff       	call   0x405ac4
478362:	56                   	push   %esi
478363:	e8 04 8d fa ff       	call   0x42106c
478368:	59                   	pop    %ecx
478369:	5e                   	pop    %esi
47836a:	5f                   	pop    %edi
47836b:	5b                   	pop    %ebx
47836c:	5d                   	pop    %ebp
47836d:	c2 08 00             	ret    $0x8
478370:	55                   	push   %ebp
478371:	8b ec                	mov    %esp,%ebp
478373:	8b 45 08             	mov    0x8(%ebp),%eax
478376:	8b 40 04             	mov    0x4(%eax),%eax
478379:	8b 08                	mov    (%eax),%ecx
47837b:	83 79 0c 06          	cmpl   $0x6,0xc(%ecx)
47837f:	75 02                	jne    0x478383
478381:	8b 09                	mov    (%ecx),%ecx
478383:	e8 55 10 f9 ff       	call   0x4093dd
478388:	84 c0                	test   %al,%al
47838a:	75 16                	jne    0x4783a2
47838c:	56                   	push   %esi
47838d:	8b 75 0c             	mov    0xc(%ebp),%esi
478390:	8b ce                	mov    %esi,%ecx
478392:	e8 89 16 f9 ff       	call   0x409a20
478397:	83 26 00             	andl   $0x0,(%esi)
47839a:	c7 46 0c 01 00 00 00 	movl   $0x1,0xc(%esi)
4783a1:	5e                   	pop    %esi
4783a2:	33 c0                	xor    %eax,%eax
4783a4:	5d                   	pop    %ebp
4783a5:	c2 08 00             	ret    $0x8
4783a8:	55                   	push   %ebp
4783a9:	8b ec                	mov    %esp,%ebp
4783ab:	83 e4 f8             	and    $0xfffffff8,%esp
4783ae:	83 ec 44             	sub    $0x44,%esp
4783b1:	53                   	push   %ebx
4783b2:	8b 5d 0c             	mov    0xc(%ebp),%ebx
4783b5:	56                   	push   %esi
4783b6:	57                   	push   %edi
4783b7:	8b f1                	mov    %ecx,%esi
4783b9:	33 ff                	xor    %edi,%edi
4783bb:	8b cb                	mov    %ebx,%ecx
4783bd:	89 74 24 10          	mov    %esi,0x10(%esp)
4783c1:	89 7c 24 1c          	mov    %edi,0x1c(%esp)
4783c5:	e8 56 16 f9 ff       	call   0x409a20
4783ca:	57                   	push   %edi
4783cb:	c7 43 0c 01 00 00 00 	movl   $0x1,0xc(%ebx)
4783d2:	89 3b                	mov    %edi,(%ebx)
4783d4:	89 7c 24 18          	mov    %edi,0x18(%esp)
4783d8:	ff 15 60 f8 48 00    	call   *0x48f860
4783de:	83 f8 01             	cmp    $0x1,%eax
4783e1:	75 06                	jne    0x4783e9
4783e3:	ff 15 64 f8 48 00    	call   *0x48f864
4783e9:	8d 44 24 20          	lea    0x20(%esp),%eax
4783ed:	50                   	push   %eax
4783ee:	ff 15 7c f4 48 00    	call   *0x48f47c
4783f4:	89 7c 24 28          	mov    %edi,0x28(%esp)
4783f8:	89 7c 24 2c          	mov    %edi,0x2c(%esp)
4783fc:	8b 7d 08             	mov    0x8(%ebp),%edi
4783ff:	6a 09                	push   $0x9
478401:	58                   	pop    %eax
478402:	66 89 44 24 20       	mov    %ax,0x20(%esp)
478407:	8b 47 08             	mov    0x8(%edi),%eax
47840a:	48                   	dec    %eax
47840b:	0f 84 fe 01 00 00    	je     0x47860f
478411:	48                   	dec    %eax
478412:	0f 84 cc 01 00 00    	je     0x4785e4
478418:	48                   	dec    %eax
478419:	74 6c                	je     0x478487
47841b:	48                   	dec    %eax
47841c:	0f 85 98 02 00 00    	jne    0x4786ba
478422:	8b 47 04             	mov    0x4(%edi),%eax
478425:	8b 70 0c             	mov    0xc(%eax),%esi
478428:	8b ce                	mov    %esi,%ecx
47842a:	e8 68 15 f9 ff       	call   0x409997
47842f:	8b 46 08             	mov    0x8(%esi),%eax
478432:	8b 00                	mov    (%eax),%eax
478434:	89 44 24 18          	mov    %eax,0x18(%esp)
478438:	8b 47 04             	mov    0x4(%edi),%eax
47843b:	8b 70 08             	mov    0x8(%eax),%esi
47843e:	8b ce                	mov    %esi,%ecx
478440:	e8 52 15 f9 ff       	call   0x409997
478445:	8b 46 08             	mov    0x8(%esi),%eax
478448:	8b 18                	mov    (%eax),%ebx
47844a:	8b 47 04             	mov    0x4(%edi),%eax
47844d:	8b 70 04             	mov    0x4(%eax),%esi
478450:	8b ce                	mov    %esi,%ecx
478452:	e8 40 15 f9 ff       	call   0x409997
478457:	8b 46 08             	mov    0x8(%esi),%eax
47845a:	8b 38                	mov    (%eax),%edi
47845c:	8b 45 08             	mov    0x8(%ebp),%eax
47845f:	8b 40 04             	mov    0x4(%eax),%eax
478462:	8b 30                	mov    (%eax),%esi
478464:	8b ce                	mov    %esi,%ecx
478466:	e8 2c 15 f9 ff       	call   0x409997
47846b:	ff 75 0c             	push   0xc(%ebp)
47846e:	ff 74 24 1c          	push   0x1c(%esp)
478472:	53                   	push   %ebx
478473:	8b 46 08             	mov    0x8(%esi),%eax
478476:	8b 4c 24 1c          	mov    0x1c(%esp),%ecx
47847a:	57                   	push   %edi
47847b:	ff 30                	push   (%eax)
47847d:	e8 f0 15 00 00       	call   0x479a72
478482:	e9 33 02 00 00       	jmp    0x4786ba
478487:	8b 47 04             	mov    0x4(%edi),%eax
47848a:	8b 58 08             	mov    0x8(%eax),%ebx
47848d:	8b cb                	mov    %ebx,%ecx
47848f:	e8 ae 17 f9 ff       	call   0x409c42
478494:	8b cb                	mov    %ebx,%ecx
478496:	84 c0                	test   %al,%al
478498:	0f 84 ff 00 00 00    	je     0x47859d
47849e:	e8 f9 17 f9 ff       	call   0x409c9c
4784a3:	85 c0                	test   %eax,%eax
4784a5:	7e 3a                	jle    0x4784e1
4784a7:	8b 47 04             	mov    0x4(%edi),%eax
4784aa:	8b b6 a8 01 00 00    	mov    0x1a8(%esi),%esi
4784b0:	8b 48 08             	mov    0x8(%eax),%ecx
4784b3:	e8 e4 17 f9 ff       	call   0x409c9c
4784b8:	3b c6                	cmp    %esi,%eax
4784ba:	7f 21                	jg     0x4784dd
4784bc:	8b 47 04             	mov    0x4(%edi),%eax
4784bf:	8b 48 08             	mov    0x8(%eax),%ecx
4784c2:	e8 d5 17 f9 ff       	call   0x409c9c
4784c7:	8b 74 24 10          	mov    0x10(%esp),%esi
4784cb:	8b 8e a4 01 00 00    	mov    0x1a4(%esi),%ecx
4784d1:	8b 44 81 fc          	mov    -0x4(%ecx,%eax,4),%eax
4784d5:	8b 18                	mov    (%eax),%ebx
4784d7:	89 5c 24 18          	mov    %ebx,0x18(%esp)
4784db:	eb 09                	jmp    0x4784e6
4784dd:	8b 74 24 10          	mov    0x10(%esp),%esi
4784e1:	83 64 24 18 00       	andl   $0x0,0x18(%esp)
4784e6:	6a 3c                	push   $0x3c
4784e8:	e8 09 8b fa ff       	call   0x420ff6
4784ed:	89 44 24 20          	mov    %eax,0x20(%esp)
4784f1:	59                   	pop    %ecx
4784f2:	85 c0                	test   %eax,%eax
4784f4:	74 48                	je     0x47853e
4784f6:	8b 4f 04             	mov    0x4(%edi),%ecx
4784f9:	6a 29                	push   $0x29
4784fb:	8b 71 04             	mov    0x4(%ecx),%esi
4784fe:	8b ce                	mov    %esi,%ecx
478500:	e8 a9 18 f9 ff       	call   0x409dae
478505:	84 c0                	test   %al,%al
478507:	74 04                	je     0x47850d
478509:	33 db                	xor    %ebx,%ebx