407f63:	0f 85 01 01 00 00    	jne    0x40806a
407f69:	66 39 5f 08          	cmp    %bx,0x8(%edi)
407f6d:	0f 85 f7 00 00 00    	jne    0x40806a
407f73:	f7 47 08 00 00 01 00 	testl  $0x10000,0x8(%edi)
407f7a:	74 0a                	je     0x407f86
407f7c:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
407f80:	0f 84 e4 00 00 00    	je     0x40806a
407f86:	8b 07                	mov    (%edi),%eax
407f88:	89 85 f0 ef ff ff    	mov    %eax,-0x1010(%ebp)
407f8e:	8b 47 04             	mov    0x4(%edi),%eax
407f91:	89 85 f4 ef ff ff    	mov    %eax,-0x100c(%ebp)
407f97:	8d 85 ec ef ff ff    	lea    -0x1014(%ebp),%eax
407f9d:	c7 85 ec ef ff ff 00 	movl   $0x1000,-0x1014(%ebp)
407fa4:	10 00 00
407fa7:	50                   	push   %eax
407fa8:	8d 85 f8 ef ff ff    	lea    -0x1008(%ebp),%eax
407fae:	50                   	push   %eax
407faf:	8d 85 e0 ef ff ff    	lea    -0x1020(%ebp),%eax
407fb5:	50                   	push   %eax
407fb6:	51                   	push   %ecx
407fb7:	8d 8d f0 ef ff ff    	lea    -0x1010(%ebp),%ecx
407fbd:	e8 50 f9 ff ff       	call   0x407912
407fc2:	8b f0                	mov    %eax,%esi
407fc4:	85 f6                	test   %esi,%esi
407fc6:	0f 85 86 00 00 00    	jne    0x408052
407fcc:	8a 85 ec ef ff ff    	mov    -0x1014(%ebp),%al
407fd2:	8b b5 e8 ef ff ff    	mov    -0x1018(%ebp),%esi
407fd8:	24 07                	and    $0x7,%al
407fda:	0f b6 c0             	movzbl %al,%eax
407fdd:	f7 d8                	neg    %eax
407fdf:	1b c0                	sbb    %eax,%eax
407fe1:	33 c9                	xor    %ecx,%ecx
407fe3:	f7 d0                	not    %eax
407fe5:	23 85 ec ef ff ff    	and    -0x1014(%ebp),%eax
407feb:	8b d0                	mov    %eax,%edx
407fed:	89 85 ec ef ff ff    	mov    %eax,-0x1014(%ebp)
407ff3:	c1 ea 03             	shr    $0x3,%edx
407ff6:	85 d2                	test   %edx,%edx
407ff8:	74 18                	je     0x408012
407ffa:	39 b4 cd f8 ef ff ff 	cmp    %esi,-0x1008(%ebp,%ecx,8)
408001:	75 0a                	jne    0x40800d
408003:	66 39 9c cd fc ef ff 	cmp    %bx,-0x1004(%ebp,%ecx,8)
40800a:	ff
40800b:	74 27                	je     0x408034
40800d:	41                   	inc    %ecx
40800e:	3b ca                	cmp    %edx,%ecx
408010:	72 e8                	jb     0x407ffa
408012:	8d 48 08             	lea    0x8(%eax),%ecx
408015:	81 f9 00 10 00 00    	cmp    $0x1000,%ecx
40801b:	77 17                	ja     0x408034
40801d:	8b c1                	mov    %ecx,%eax
40801f:	89 b4 d5 f8 ef ff ff 	mov    %esi,-0x1008(%ebp,%edx,8)
408026:	66 89 9c d5 fc ef ff 	mov    %bx,-0x1004(%ebp,%edx,8)
40802d:	ff
40802e:	89 85 ec ef ff ff    	mov    %eax,-0x1014(%ebp)
408034:	6a 01                	push   $0x1
408036:	ff b5 e0 ef ff ff    	push   -0x1020(%ebp)
40803c:	8d 95 f8 ef ff ff    	lea    -0x1008(%ebp),%edx
408042:	51                   	push   %ecx
408043:	51                   	push   %ecx
408044:	50                   	push   %eax
408045:	8d 8d f0 ef ff ff    	lea    -0x1010(%ebp),%ecx
40804b:	e8 17 f9 ff ff       	call   0x407967
408050:	8b f0                	mov    %eax,%esi
408052:	81 fe 01 00 00 c0    	cmp    $0xc0000001,%esi
408058:	0f 84 39 ff ff ff    	je     0x407f97
40805e:	8b 95 e8 ef ff ff    	mov    -0x1018(%ebp),%edx
408064:	8b 8d dc ef ff ff    	mov    -0x1024(%ebp),%ecx
40806a:	8b 41 14             	mov    0x14(%ecx),%eax
40806d:	83 c7 10             	add    $0x10,%edi
408070:	ff 85 e4 ef ff ff    	incl   -0x101c(%ebp)
408076:	0f b7 40 06          	movzwl 0x6(%eax),%eax
40807a:	39 85 e4 ef ff ff    	cmp    %eax,-0x101c(%ebp)
408080:	0f 82 da fe ff ff    	jb     0x407f60
408086:	8b 4d fc             	mov    -0x4(%ebp),%ecx
408089:	8b c6                	mov    %esi,%eax
40808b:	5f                   	pop    %edi
40808c:	5e                   	pop    %esi
40808d:	33 cd                	xor    %ebp,%ecx
40808f:	5b                   	pop    %ebx
408090:	e8 db 97 01 00       	call   0x421870
408095:	c9                   	leave
408096:	c2 08 00             	ret    $0x8
408099:	8b ff                	mov    %edi,%edi
40809b:	55                   	push   %ebp
40809c:	8b ec                	mov    %esp,%ebp
40809e:	83 ec 24             	sub    $0x24,%esp
4080a1:	a1 10 42 42 00       	mov    0x424210,%eax
4080a6:	33 c5                	xor    %ebp,%eax
4080a8:	89 45 fc             	mov    %eax,-0x4(%ebp)
4080ab:	8b 45 0c             	mov    0xc(%ebp),%eax
4080ae:	89 45 e4             	mov    %eax,-0x1c(%ebp)
4080b1:	33 c0                	xor    %eax,%eax
4080b3:	53                   	push   %ebx
4080b4:	33 db                	xor    %ebx,%ebx
4080b6:	89 55 e8             	mov    %edx,-0x18(%ebp)
4080b9:	39 45 08             	cmp    %eax,0x8(%ebp)
4080bc:	56                   	push   %esi
4080bd:	0f 94 c0             	sete   %al
4080c0:	8b f1                	mov    %ecx,%esi
4080c2:	57                   	push   %edi
4080c3:	89 45 ec             	mov    %eax,-0x14(%ebp)
4080c6:	8d 7d f0             	lea    -0x10(%ebp),%edi
4080c9:	33 c0                	xor    %eax,%eax
4080cb:	ab                   	stos   %eax,%es:(%edi)
4080cc:	ab                   	stos   %eax,%es:(%edi)
4080cd:	ab                   	stos   %eax,%es:(%edi)
4080ce:	8b 3d 7c 4c 42 00    	mov    0x424c7c,%edi
4080d4:	85 ff                	test   %edi,%edi
4080d6:	75 24                	jne    0x4080fc
4080d8:	68 5c 1b 40 00       	push   $0x401b5c
4080dd:	e8 4d f7 ff ff       	call   0x40782f
4080e2:	50                   	push   %eax
4080e3:	ff 15 68 60 42 00    	call   *0x426068
4080e9:	8b f8                	mov    %eax,%edi
4080eb:	89 3d 7c 4c 42 00    	mov    %edi,0x424c7c
4080f1:	85 ff                	test   %edi,%edi
4080f3:	75 07                	jne    0x4080fc
4080f5:	ba 39 01 00 c0       	mov    $0xc0000139,%edx
4080fa:	eb 1a                	jmp    0x408116
4080fc:	8d 45 f0             	lea    -0x10(%ebp),%eax
4080ff:	8b cf                	mov    %edi,%ecx
408101:	50                   	push   %eax
408102:	8d 45 dc             	lea    -0x24(%ebp),%eax
408105:	50                   	push   %eax
408106:	ff 75 ec             	push   -0x14(%ebp)
408109:	ff 75 e8             	push   -0x18(%ebp)
40810c:	ff 15 78 64 42 00    	call   *0x426478
408112:	ff d7                	call   *%edi
408114:	8b d0                	mov    %eax,%edx
408116:	85 d2                	test   %edx,%edx
408118:	75 3f                	jne    0x408159
40811a:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40811d:	33 db                	xor    %ebx,%ebx
40811f:	8b c1                	mov    %ecx,%eax
408121:	43                   	inc    %ebx
408122:	c1 e8 04             	shr    $0x4,%eax
408125:	83 e0 03             	and    $0x3,%eax
408128:	89 06                	mov    %eax,(%esi)
40812a:	8b c1                	mov    %ecx,%eax
40812c:	c1 e8 08             	shr    $0x8,%eax
40812f:	24 3f                	and    $0x3f,%al
408131:	88 46 04             	mov    %al,0x4(%esi)
408134:	8b 45 f8             	mov    -0x8(%ebp),%eax
408137:	89 46 0c             	mov    %eax,0xc(%esi)
40813a:	8b c1                	mov    %ecx,%eax
40813c:	c1 e8 0e             	shr    $0xe,%eax
40813f:	83 e0 03             	and    $0x3,%eax
408142:	89 46 08             	mov    %eax,0x8(%esi)
408145:	8b c1                	mov    %ecx,%eax
408147:	c1 e8 06             	shr    $0x6,%eax
40814a:	23 c3                	and    %ebx,%eax
40814c:	c1 e9 07             	shr    $0x7,%ecx
40814f:	23 cb                	and    %ebx,%ecx
408151:	89 46 14             	mov    %eax,0x14(%esi)
408154:	89 4e 10             	mov    %ecx,0x10(%esi)
408157:	eb 14                	jmp    0x40816d
408159:	81 fa 17 01 00 00    	cmp    $0x117,%edx
40815f:	75 0c                	jne    0x40816d
408161:	8b 45 f4             	mov    -0xc(%ebp),%eax
408164:	c1 e8 07             	shr    $0x7,%eax
408167:	83 e0 01             	and    $0x1,%eax
40816a:	89 46 10             	mov    %eax,0x10(%esi)
40816d:	8b 45 e4             	mov    -0x1c(%ebp),%eax
408170:	85 c0                	test   %eax,%eax
408172:	74 0d                	je     0x408181
408174:	33 c9                	xor    %ecx,%ecx
408176:	81 fa 22 00 00 80    	cmp    $0x80000022,%edx
40817c:	0f 95 c1             	setne  %cl
40817f:	89 08                	mov    %ecx,(%eax)
408181:	8b 4d fc             	mov    -0x4(%ebp),%ecx
408184:	8b c3                	mov    %ebx,%eax
408186:	5f                   	pop    %edi
408187:	5e                   	pop    %esi
408188:	33 cd                	xor    %ebp,%ecx
40818a:	5b                   	pop    %ebx
40818b:	e8 e0 96 01 00       	call   0x421870
408190:	c9                   	leave
408191:	c2 08 00             	ret    $0x8
408194:	8b ff                	mov    %edi,%edi
408196:	55                   	push   %ebp
408197:	8b ec                	mov    %esp,%ebp
408199:	51                   	push   %ecx
40819a:	51                   	push   %ecx
40819b:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40819f:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
4081a3:	89 4d f8             	mov    %ecx,-0x8(%ebp)
4081a6:	66 89 55 fc          	mov    %dx,-0x4(%ebp)
4081aa:	74 05                	je     0x4081b1
4081ac:	66 83 4d fe 01       	orw    $0x1,-0x2(%ebp)
4081b1:	56                   	push   %esi
4081b2:	8b 35 78 4c 42 00    	mov    0x424c78,%esi
4081b8:	85 f6                	test   %esi,%esi
4081ba:	75 24                	jne    0x4081e0
4081bc:	68 e4 1b 40 00       	push   $0x401be4
4081c1:	e8 69 f6 ff ff       	call   0x40782f
4081c6:	50                   	push   %eax
4081c7:	ff 15 68 60 42 00    	call   *0x426068
4081cd:	8b f0                	mov    %eax,%esi
4081cf:	89 35 78 4c 42 00    	mov    %esi,0x424c78
4081d5:	85 f6                	test   %esi,%esi
4081d7:	75 07                	jne    0x4081e0
4081d9:	b8 39 01 00 c0       	mov    $0xc0000139,%eax
4081de:	eb 0e                	jmp    0x4081ee
4081e0:	8d 45 f8             	lea    -0x8(%ebp),%eax
4081e3:	8b ce                	mov    %esi,%ecx
4081e5:	50                   	push   %eax
4081e6:	ff 15 78 64 42 00    	call   *0x426478
4081ec:	ff d6                	call   *%esi
4081ee:	5e                   	pop    %esi
4081ef:	c9                   	leave
4081f0:	c2 04 00             	ret    $0x4
4081f3:	8b ff                	mov    %edi,%edi
4081f5:	55                   	push   %ebp
4081f6:	8b ec                	mov    %esp,%ebp
4081f8:	81 ec 04 01 00 00    	sub    $0x104,%esp
4081fe:	a1 10 42 42 00       	mov    0x424210,%eax
408203:	33 c5                	xor    %ebp,%eax
408205:	89 45 fc             	mov    %eax,-0x4(%ebp)
408208:	53                   	push   %ebx
408209:	56                   	push   %esi
40820a:	8b 75 10             	mov    0x10(%ebp),%esi
40820d:	8b c1                	mov    %ecx,%eax
40820f:	8b 4d 14             	mov    0x14(%ebp),%ecx
408212:	8b da                	mov    %edx,%ebx
408214:	89 85 30 ff ff ff    	mov    %eax,-0xd0(%ebp)
40821a:	57                   	push   %edi
40821b:	85 f6                	test   %esi,%esi
40821d:	74 03                	je     0x408222
40821f:	83 26 00             	andl   $0x0,(%esi)
408222:	56                   	push   %esi
408223:	ff 75 08             	push   0x8(%ebp)
408226:	c7 01 01 00 00 00    	movl   $0x1,(%ecx)
40822c:	8b c8                	mov    %eax,%ecx
40822e:	e8 66 fe ff ff       	call   0x408099
408233:	8b f8                	mov    %eax,%edi
408235:	85 ff                	test   %edi,%edi
408237:	75 4e                	jne    0x408287
408239:	8b 55 0c             	mov    0xc(%ebp),%edx
40823c:	8d 85 34 ff ff ff    	lea    -0xcc(%ebp),%eax
408242:	51                   	push   %ecx
408243:	50                   	push   %eax
408244:	51                   	push   %ecx
408245:	8d 8d fc fe ff ff    	lea    -0x104(%ebp),%ecx
40824b:	e8 ea f7 ff ff       	call   0x407a3a
408250:	85 c0                	test   %eax,%eax
408252:	75 33                	jne    0x408287
408254:	ff 75 08             	push   0x8(%ebp)
408257:	8b 95 30 ff ff ff    	mov    -0xd0(%ebp),%edx
40825d:	8d 8d fc fe ff ff    	lea    -0x104(%ebp),%ecx
408263:	53                   	push   %ebx
408264:	e8 84 fa ff ff       	call   0x407ced
408269:	8b f8                	mov    %eax,%edi
40826b:	85 f6                	test   %esi,%esi
40826d:	74 0d                	je     0x40827c
40826f:	8d 8d fc fe ff ff    	lea    -0x104(%ebp),%ecx
408275:	e8 fd fb ff ff       	call   0x407e77
40827a:	09 06                	or     %eax,(%esi)
40827c:	8d 8d fc fe ff ff    	lea    -0x104(%ebp),%ecx
408282:	e8 3c fa ff ff       	call   0x407cc3
408287:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40828a:	8b c7                	mov    %edi,%eax
40828c:	5f                   	pop    %edi
40828d:	5e                   	pop    %esi
40828e:	33 cd                	xor    %ebp,%ecx
408290:	5b                   	pop    %ebx
408291:	e8 da 95 01 00       	call   0x421870
408296:	c9                   	leave
408297:	c2 10 00             	ret    $0x10
40829a:	8b ff                	mov    %edi,%edi
40829c:	55                   	push   %ebp
40829d:	8b ec                	mov    %esp,%ebp
40829f:	51                   	push   %ecx
4082a0:	51                   	push   %ecx
4082a1:	53                   	push   %ebx
4082a2:	57                   	push   %edi
4082a3:	8b 39                	mov    (%ecx),%edi
4082a5:	8b da                	mov    %edx,%ebx
4082a7:	85 ff                	test   %edi,%edi
4082a9:	74 2f                	je     0x4082da
4082ab:	56                   	push   %esi
4082ac:	8b 75 08             	mov    0x8(%ebp),%esi
4082af:	6a ff                	push   $0xffffffff
4082b1:	68 f0 d8 ff ff       	push   $0xffffd8f0
4082b6:	ff 75 0c             	push   0xc(%ebp)
4082b9:	56                   	push   %esi
4082ba:	e8 f1 a7 01 00       	call   0x422ab0
4082bf:	c1 ee 02             	shr    $0x2,%esi
4082c2:	56                   	push   %esi
4082c3:	89 45 f8             	mov    %eax,-0x8(%ebp)
4082c6:	8d 45 f8             	lea    -0x8(%ebp),%eax
4082c9:	6a 00                	push   $0x0
4082cb:	50                   	push   %eax
4082cc:	57                   	push   %edi
4082cd:	89 55 fc             	mov    %edx,-0x4(%ebp)
4082d0:	ff 15 50 61 42 00    	call   *0x426150
4082d6:	c6 03 01             	movb   $0x1,(%ebx)
4082d9:	5e                   	pop    %esi
4082da:	5f                   	pop    %edi
4082db:	5b                   	pop    %ebx
4082dc:	c9                   	leave
4082dd:	c2 08 00             	ret    $0x8
4082e0:	8b ff                	mov    %edi,%edi
4082e2:	55                   	push   %ebp
4082e3:	8b ec                	mov    %esp,%ebp
4082e5:	51                   	push   %ecx
4082e6:	53                   	push   %ebx
4082e7:	56                   	push   %esi
4082e8:	8b f1                	mov    %ecx,%esi
4082ea:	57                   	push   %edi
4082eb:	8b 7d 08             	mov    0x8(%ebp),%edi
4082ee:	8b 46 08             	mov    0x8(%esi),%eax
4082f1:	2b 06                	sub    (%esi),%eax
4082f3:	3b c7                	cmp    %edi,%eax
4082f5:	73 4a                	jae    0x408341
4082f7:	83 e7 c0             	and    $0xffffffc0,%edi
4082fa:	33 c9                	xor    %ecx,%ecx
4082fc:	83 c7 40             	add    $0x40,%edi
4082ff:	8b d7                	mov    %edi,%edx
408301:	e8 33 e5 ff ff       	call   0x406839
408306:	8b d8                	mov    %eax,%ebx
408308:	85 db                	test   %ebx,%ebx
40830a:	75 04                	jne    0x408310
40830c:	32 c0                	xor    %al,%al
40830e:	eb 33                	jmp    0x408343
408310:	8b 46 04             	mov    0x4(%esi),%eax
408313:	2b 06                	sub    (%esi),%eax
408315:	89 45 fc             	mov    %eax,-0x4(%ebp)
408318:	74 0e                	je     0x408328
40831a:	50                   	push   %eax
40831b:	ff 36                	push   (%esi)
40831d:	8b d7                	mov    %edi,%edx
40831f:	8b cb                	mov    %ebx,%ecx
408321:	e8 4a e0 ff ff       	call   0x406370
408326:	59                   	pop    %ecx
408327:	59                   	pop    %ecx
408328:	53                   	push   %ebx
408329:	8d 4e 0c             	lea    0xc(%esi),%ecx
40832c:	e8 f0 1f 00 00       	call   0x40a321
408331:	8b 45 fc             	mov    -0x4(%ebp),%eax
408334:	03 c3                	add    %ebx,%eax
408336:	89 1e                	mov    %ebx,(%esi)
408338:	89 46 04             	mov    %eax,0x4(%esi)
40833b:	8d 04 3b             	lea    (%ebx,%edi,1),%eax
40833e:	89 46 08             	mov    %eax,0x8(%esi)
408341:	b0 01                	mov    $0x1,%al
408343:	5f                   	pop    %edi
408344:	5e                   	pop    %esi
408345:	5b                   	pop    %ebx
408346:	c9                   	leave