408055:	8d 42 01             	lea    0x1(%edx),%eax
408058:	2b ca                	sub    %edx,%ecx
40805a:	89 4e 34             	mov    %ecx,0x34(%esi)
40805d:	5f                   	pop    %edi
40805e:	89 46 30             	mov    %eax,0x30(%esi)
408061:	5e                   	pop    %esi
408062:	5b                   	pop    %ebx
408063:	c9                   	leave
408064:	c2 0c 00             	ret    $0xc
408067:	8b ff                	mov    %edi,%edi
408069:	55                   	push   %ebp
40806a:	8b ec                	mov    %esp,%ebp
40806c:	8b 45 18             	mov    0x18(%ebp),%eax
40806f:	8b d1                	mov    %ecx,%edx
408071:	33 c9                	xor    %ecx,%ecx
408073:	89 42 08             	mov    %eax,0x8(%edx)
408076:	8b 45 08             	mov    0x8(%ebp),%eax
408079:	89 0a                	mov    %ecx,(%edx)
40807b:	89 4a 04             	mov    %ecx,0x4(%edx)
40807e:	89 4a 0c             	mov    %ecx,0xc(%edx)
408081:	89 4a 10             	mov    %ecx,0x10(%edx)
408084:	89 8a 3c 04 00 00    	mov    %ecx,0x43c(%edx)
40808a:	89 8a 40 04 00 00    	mov    %ecx,0x440(%edx)
408090:	89 4a 14             	mov    %ecx,0x14(%edx)
408093:	88 4a 18             	mov    %cl,0x18(%edx)
408096:	89 4a 1c             	mov    %ecx,0x1c(%edx)
408099:	89 4a 20             	mov    %ecx,0x20(%edx)
40809c:	89 4a 24             	mov    %ecx,0x24(%edx)
40809f:	66 89 4a 2c          	mov    %cx,0x2c(%edx)
4080a3:	89 4a 34             	mov    %ecx,0x34(%edx)
4080a6:	88 4a 38             	mov    %cl,0x38(%edx)
4080a9:	8b 00                	mov    (%eax),%eax
4080ab:	8b 4d 10             	mov    0x10(%ebp),%ecx
4080ae:	89 82 48 04 00 00    	mov    %eax,0x448(%edx)
4080b4:	8b 45 0c             	mov    0xc(%ebp),%eax
4080b7:	89 02                	mov    %eax,(%edx)
4080b9:	8b 45 14             	mov    0x14(%ebp),%eax
4080bc:	89 42 0c             	mov    %eax,0xc(%edx)
4080bf:	8b 45 1c             	mov    0x1c(%ebp),%eax
4080c2:	89 42 10             	mov    %eax,0x10(%edx)
4080c5:	8b c2                	mov    %edx,%eax
4080c7:	89 4a 04             	mov    %ecx,0x4(%edx)
4080ca:	5d                   	pop    %ebp
4080cb:	c2 18 00             	ret    $0x18
4080ce:	8b ff                	mov    %edi,%edi
4080d0:	56                   	push   %esi
4080d1:	8b f1                	mov    %ecx,%esi
4080d3:	ff b6 04 04 00 00    	push   0x404(%esi)
4080d9:	e8 c1 26 00 00       	call   0x40a79f
4080de:	83 a6 04 04 00 00 00 	andl   $0x0,0x404(%esi)
4080e5:	59                   	pop    %ecx
4080e6:	5e                   	pop    %esi
4080e7:	c3                   	ret
4080e8:	8b ff                	mov    %edi,%edi
4080ea:	55                   	push   %ebp
4080eb:	8b ec                	mov    %esp,%ebp
4080ed:	56                   	push   %esi
4080ee:	8b f1                	mov    %ecx,%esi
4080f0:	ff 36                	push   (%esi)
4080f2:	e8 a8 26 00 00       	call   0x40a79f
4080f7:	8b 55 08             	mov    0x8(%ebp),%edx
4080fa:	83 26 00             	andl   $0x0,(%esi)
4080fd:	59                   	pop    %ecx
4080fe:	8b 02                	mov    (%edx),%eax
408100:	89 06                	mov    %eax,(%esi)
408102:	8b c6                	mov    %esi,%eax
408104:	83 22 00             	andl   $0x0,(%edx)
408107:	5e                   	pop    %esi
408108:	5d                   	pop    %ebp
408109:	c2 04 00             	ret    $0x4
40810c:	8b ff                	mov    %edi,%edi
40810e:	55                   	push   %ebp
40810f:	8b ec                	mov    %esp,%ebp
408111:	81 ec 64 04 00 00    	sub    $0x464,%esp
408117:	a1 c0 10 42 00       	mov    0x4210c0,%eax
40811c:	33 c5                	xor    %ebp,%eax
40811e:	89 45 fc             	mov    %eax,-0x4(%ebp)
408121:	53                   	push   %ebx
408122:	56                   	push   %esi
408123:	8b f1                	mov    %ecx,%esi
408125:	57                   	push   %edi
408126:	8b 06                	mov    (%esi),%eax
408128:	8b 7e 04             	mov    0x4(%esi),%edi
40812b:	8b 18                	mov    (%eax),%ebx
40812d:	53                   	push   %ebx
40812e:	e8 53 3e 00 00       	call   0x40bf86
408133:	88 85 9c fb ff ff    	mov    %al,-0x464(%ebp)
408139:	8b 06                	mov    (%esi),%eax
40813b:	59                   	pop    %ecx
40813c:	8d 8d a4 fb ff ff    	lea    -0x45c(%ebp),%ecx
408142:	8b 00                	mov    (%eax),%eax
408144:	89 85 a0 fb ff ff    	mov    %eax,-0x460(%ebp)
40814a:	8b 46 10             	mov    0x10(%esi),%eax
40814d:	ff 30                	push   (%eax)
40814f:	8b 46 0c             	mov    0xc(%esi),%eax
408152:	ff 76 04             	push   0x4(%esi)
408155:	ff 30                	push   (%eax)
408157:	8b 46 08             	mov    0x8(%esi),%eax
40815a:	ff 70 04             	push   0x4(%eax)
40815d:	ff 30                	push   (%eax)
40815f:	8d 85 a0 fb ff ff    	lea    -0x460(%ebp),%eax
408165:	50                   	push   %eax
408166:	e8 fc fe ff ff       	call   0x408067
40816b:	83 65 f4 00          	andl   $0x0,-0xc(%ebp)
40816f:	8d 8d a4 fb ff ff    	lea    -0x45c(%ebp),%ecx
408175:	e8 9d 01 00 00       	call   0x408317
40817a:	8d 8d e0 fb ff ff    	lea    -0x420(%ebp),%ecx
408180:	8b f0                	mov    %eax,%esi
408182:	e8 47 ff ff ff       	call   0x4080ce
408187:	57                   	push   %edi
408188:	53                   	push   %ebx
408189:	ff b5 9c fb ff ff    	push   -0x464(%ebp)
40818f:	e8 9d 3e 00 00       	call   0x40c031
408194:	8b 4d fc             	mov    -0x4(%ebp),%ecx
408197:	83 c4 0c             	add    $0xc,%esp
40819a:	8b c6                	mov    %esi,%eax
40819c:	33 cd                	xor    %ebp,%ecx
40819e:	5f                   	pop    %edi
40819f:	5e                   	pop    %esi
4081a0:	5b                   	pop    %ebx
4081a1:	e8 22 bf ff ff       	call   0x4040c8
4081a6:	c9                   	leave
4081a7:	c3                   	ret
4081a8:	8b ff                	mov    %edi,%edi
4081aa:	55                   	push   %ebp
4081ab:	8b ec                	mov    %esp,%ebp
4081ad:	8b 45 0c             	mov    0xc(%ebp),%eax
4081b0:	8b 4d 08             	mov    0x8(%ebp),%ecx
4081b3:	53                   	push   %ebx
4081b4:	8b 00                	mov    (%eax),%eax
4081b6:	8b 80 88 00 00 00    	mov    0x88(%eax),%eax
4081bc:	8b 00                	mov    (%eax),%eax
4081be:	8a 18                	mov    (%eax),%bl
4081c0:	8a 01                	mov    (%ecx),%al
4081c2:	84 c0                	test   %al,%al
4081c4:	74 11                	je     0x4081d7
4081c6:	8a d0                	mov    %al,%dl
4081c8:	8a c2                	mov    %dl,%al
4081ca:	3a d3                	cmp    %bl,%dl
4081cc:	74 09                	je     0x4081d7
4081ce:	41                   	inc    %ecx
4081cf:	8a 01                	mov    (%ecx),%al
4081d1:	8a d0                	mov    %al,%dl
4081d3:	84 c0                	test   %al,%al
4081d5:	75 f1                	jne    0x4081c8
4081d7:	41                   	inc    %ecx
4081d8:	84 c0                	test   %al,%al
4081da:	74 29                	je     0x408205
4081dc:	eb 09                	jmp    0x4081e7
4081de:	3c 65                	cmp    $0x65,%al
4081e0:	74 0b                	je     0x4081ed
4081e2:	3c 45                	cmp    $0x45,%al
4081e4:	74 07                	je     0x4081ed
4081e6:	41                   	inc    %ecx
4081e7:	8a 01                	mov    (%ecx),%al
4081e9:	84 c0                	test   %al,%al
4081eb:	75 f1                	jne    0x4081de
4081ed:	8b d1                	mov    %ecx,%edx
4081ef:	49                   	dec    %ecx
4081f0:	8a 01                	mov    (%ecx),%al
4081f2:	3c 30                	cmp    $0x30,%al
4081f4:	74 f9                	je     0x4081ef
4081f6:	3a c3                	cmp    %bl,%al
4081f8:	75 01                	jne    0x4081fb
4081fa:	49                   	dec    %ecx
4081fb:	8a 02                	mov    (%edx),%al
4081fd:	42                   	inc    %edx
4081fe:	41                   	inc    %ecx
4081ff:	88 01                	mov    %al,(%ecx)
408201:	84 c0                	test   %al,%al
408203:	75 f6                	jne    0x4081fb
408205:	5b                   	pop    %ebx
408206:	5d                   	pop    %ebp
408207:	c3                   	ret
408208:	8b ff                	mov    %edi,%edi
40820a:	55                   	push   %ebp
40820b:	8b ec                	mov    %esp,%ebp
40820d:	8a 4d 08             	mov    0x8(%ebp),%cl
408210:	8d 41 e0             	lea    -0x20(%ecx),%eax
408213:	3c 5a                	cmp    $0x5a,%al
408215:	77 12                	ja     0x408229
408217:	0f be c1             	movsbl %cl,%eax
40821a:	83 e8 20             	sub    $0x20,%eax
40821d:	83 e0 7f             	and    $0x7f,%eax
408220:	8a 04 45 b9 a0 41 00 	mov    0x41a0b9(,%eax,2),%al
408227:	eb 02                	jmp    0x40822b
408229:	32 c0                	xor    %al,%al
40822b:	0f b6 c8             	movzbl %al,%ecx
40822e:	0f b6 45 0c          	movzbl 0xc(%ebp),%eax
408232:	8d 04 c8             	lea    (%eax,%ecx,8),%eax
408235:	83 e0 7f             	and    $0x7f,%eax
408238:	8a 04 45 b8 a0 41 00 	mov    0x41a0b8(,%eax,2),%al
40823f:	5d                   	pop    %ebp
408240:	c2 08 00             	ret    $0x8
408243:	8b ff                	mov    %edi,%edi
408245:	55                   	push   %ebp
408246:	8b ec                	mov    %esp,%ebp
408248:	8b 45 0c             	mov    0xc(%ebp),%eax
40824b:	8b 55 08             	mov    0x8(%ebp),%edx
40824e:	53                   	push   %ebx
40824f:	57                   	push   %edi
408250:	8b 08                	mov    (%eax),%ecx
408252:	8a 1a                	mov    (%edx),%bl
408254:	0f b6 c3             	movzbl %bl,%eax
408257:	8b b9 94 00 00 00    	mov    0x94(%ecx),%edi
40825d:	80 3c 38 65          	cmpb   $0x65,(%eax,%edi,1)
408261:	74 10                	je     0x408273
408263:	56                   	push   %esi
408264:	8b 31                	mov    (%ecx),%esi
408266:	42                   	inc    %edx
408267:	8a 1a                	mov    (%edx),%bl
408269:	0f b6 c3             	movzbl %bl,%eax
40826c:	f6 04 46 04          	testb  $0x4,(%esi,%eax,2)
408270:	75 f4                	jne    0x408266
408272:	5e                   	pop    %esi
408273:	0f b6 c3             	movzbl %bl,%eax
408276:	80 3c 38 78          	cmpb   $0x78,(%eax,%edi,1)
40827a:	75 05                	jne    0x408281
40827c:	83 c2 02             	add    $0x2,%edx
40827f:	8a 1a                	mov    (%edx),%bl
408281:	8b 81 88 00 00 00    	mov    0x88(%ecx),%eax
408287:	8b 00                	mov    (%eax),%eax
408289:	8a 00                	mov    (%eax),%al
40828b:	88 02                	mov    %al,(%edx)
40828d:	42                   	inc    %edx
40828e:	8a 02                	mov    (%edx),%al
408290:	8a cb                	mov    %bl,%cl
408292:	88 1a                	mov    %bl,(%edx)
408294:	42                   	inc    %edx
408295:	8a d8                	mov    %al,%bl
408297:	84 c9                	test   %cl,%cl
408299:	75 f3                	jne    0x40828e
40829b:	5f                   	pop    %edi
40829c:	5b                   	pop    %ebx
40829d:	5d                   	pop    %ebp
40829e:	c3                   	ret
40829f:	8b ff                	mov    %edi,%edi
4082a1:	55                   	push   %ebp
4082a2:	8b ec                	mov    %esp,%ebp
4082a4:	83 ec 10             	sub    $0x10,%esp
4082a7:	53                   	push   %ebx
4082a8:	56                   	push   %esi
4082a9:	8b f1                	mov    %ecx,%esi
4082ab:	8d 55 fc             	lea    -0x4(%ebp),%edx
4082ae:	57                   	push   %edi
4082af:	33 db                	xor    %ebx,%ebx
4082b1:	43                   	inc    %ebx
4082b2:	8b 7e 08             	mov    0x8(%esi),%edi
4082b5:	8b 4e 0c             	mov    0xc(%esi),%ecx
4082b8:	53                   	push   %ebx
4082b9:	49                   	dec    %ecx
4082ba:	8b 47 18             	mov    0x18(%edi),%eax
4082bd:	6a 0a                	push   $0xa
4082bf:	51                   	push   %ecx
4082c0:	89 45 f8             	mov    %eax,-0x8(%ebp)
4082c3:	8b 47 1c             	mov    0x1c(%edi),%eax
4082c6:	51                   	push   %ecx
4082c7:	89 45 f4             	mov    %eax,-0xc(%ebp)
4082ca:	8b c4                	mov    %esp,%eax
4082cc:	57                   	push   %edi
4082cd:	89 08                	mov    %ecx,(%eax)
4082cf:	89 50 04             	mov    %edx,0x4(%eax)
4082d2:	89 4d fc             	mov    %ecx,-0x4(%ebp)
4082d5:	e8 a9 f3 ff ff       	call   0x407683
4082da:	8b c8                	mov    %eax,%ecx
4082dc:	83 c4 14             	add    $0x14,%esp
4082df:	8b 45 08             	mov    0x8(%ebp),%eax
4082e2:	89 08                	mov    %ecx,(%eax)
4082e4:	8b 46 08             	mov    0x8(%esi),%eax
4082e7:	80 78 1c 00          	cmpb   $0x0,0x1c(%eax)
4082eb:	74 06                	je     0x4082f3
4082ed:	83 78 18 22          	cmpl   $0x22,0x18(%eax)
4082f1:	74 08                	je     0x4082fb
4082f3:	8b 45 fc             	mov    -0x4(%ebp),%eax
4082f6:	3b 46 0c             	cmp    0xc(%esi),%eax
4082f9:	73 04                	jae    0x4082ff
4082fb:	32 db                	xor    %bl,%bl
4082fd:	eb 03                	jmp    0x408302
4082ff:	89 46 0c             	mov    %eax,0xc(%esi)
408302:	8b 45 f8             	mov    -0x8(%ebp),%eax
408305:	89 47 18             	mov    %eax,0x18(%edi)
408308:	8b 45 f4             	mov    -0xc(%ebp),%eax
40830b:	89 47 1c             	mov    %eax,0x1c(%edi)
40830e:	8a c3                	mov    %bl,%al
408310:	5f                   	pop    %edi
408311:	5e                   	pop    %esi
408312:	5b                   	pop    %ebx
408313:	c9                   	leave
408314:	c2 04 00             	ret    $0x4
408317:	8b ff                	mov    %edi,%edi
408319:	55                   	push   %ebp
40831a:	8b ec                	mov    %esp,%ebp
40831c:	83 ec 14             	sub    $0x14,%esp
40831f:	53                   	push   %ebx
408320:	56                   	push   %esi
408321:	8b f1                	mov    %ecx,%esi
408323:	57                   	push   %edi
408324:	ff 76 08             	push   0x8(%esi)
408327:	8d 8e 48 04 00 00    	lea    0x448(%esi),%ecx
40832d:	e8 e4 0b 00 00       	call   0x408f16
408332:	84 c0                	test   %al,%al
408334:	74 27                	je     0x40835d
408336:	8b 4e 0c             	mov    0xc(%esi),%ecx
408339:	85 c9                	test   %ecx,%ecx
40833b:	75 28                	jne    0x408365
40833d:	8b 46 08             	mov    0x8(%esi),%eax
408340:	33 db                	xor    %ebx,%ebx
408342:	c6 40 1c 01          	movb   $0x1,0x1c(%eax)
408346:	c7 40 18 16 00 00 00 	movl   $0x16,0x18(%eax)
40834d:	ff 76 08             	push   0x8(%esi)
408350:	53                   	push   %ebx
408351:	53                   	push   %ebx
408352:	53                   	push   %ebx
408353:	53                   	push   %ebx
408354:	53                   	push   %ebx
408355:	e8 f2 f0 ff ff       	call   0x40744c
40835a:	83 c4 18             	add    $0x18,%esp
40835d:	83 c8 ff             	or     $0xffffffff,%eax
408360:	5f                   	pop    %edi
408361:	5e                   	pop    %esi
408362:	5b                   	pop    %ebx
408363:	c9                   	leave
408364:	c3                   	ret
408365:	8b 86 50 04 00 00    	mov    0x450(%esi),%eax
40836b:	40                   	inc    %eax
40836c:	89 86 50 04 00 00    	mov    %eax,0x450(%esi)
408372:	83 f8 02             	cmp    $0x2,%eax
408375:	0f 84 d6 01 00 00    	je     0x408551
40837b:	33 db                	xor    %ebx,%ebx
40837d:	89 5e 34             	mov    %ebx,0x34(%esi)
408380:	88 5e 18             	mov    %bl,0x18(%esi)
408383:	8a 11                	mov    (%ecx),%dl
408385:	41                   	inc    %ecx
408386:	88 55 ff             	mov    %dl,-0x1(%ebp)
408389:	89 4e 0c             	mov    %ecx,0xc(%esi)
40838c:	88 56 2d             	mov    %dl,0x2d(%esi)
40838f:	84 d2                	test   %dl,%dl
408391:	0f 84 a7 01 00 00    	je     0x40853e
408397:	88 55 f0             	mov    %dl,-0x10(%ebp)
40839a:	8d 46 14             	lea    0x14(%esi),%eax
40839d:	39 18                	cmp    %ebx,(%eax)
40839f:	0f 8c 99 01 00 00    	jl     0x40853e
4083a5:	0f b6 46 18          	movzbl 0x18(%esi),%eax
4083a9:	8b ce                	mov    %esi,%ecx
4083ab:	50                   	push   %eax
4083ac:	ff 75 f0             	push   -0x10(%ebp)
4083af:	e8 54 fe ff ff       	call   0x408208
4083b4:	88 46 18             	mov    %al,0x18(%esi)
4083b7:	3c 08                	cmp    $0x8,%al
4083b9:	0f 83 d3 01 00 00    	jae    0x408592