00401000 <.text>:
401000:	c3                   	ret
401001:	b8 bd 90 42 00       	mov    $0x4290bd,%eax
401006:	e8 ad 8e 01 00       	call   0x419eb8
40100b:	51                   	push   %ecx
40100c:	56                   	push   %esi
40100d:	8b f1                	mov    %ecx,%esi
40100f:	89 75 f0             	mov    %esi,-0x10(%ebp)
401012:	8d 8e 68 2f 00 00    	lea    0x2f68(%esi),%ecx
401018:	c7 45 fc 03 00 00 00 	movl   $0x3,-0x4(%ebp)
40101f:	e8 b6 87 00 00       	call   0x4097da
401024:	8d 8e 04 24 00 00    	lea    0x2404(%esi),%ecx
40102a:	c6 45 fc 02          	movb   $0x2,-0x4(%ebp)
40102e:	e8 a7 87 00 00       	call   0x4097da
401033:	8d 8e a0 18 00 00    	lea    0x18a0(%esi),%ecx
401039:	c6 45 fc 01          	movb   $0x1,-0x4(%ebp)
40103d:	e8 98 87 00 00       	call   0x4097da
401042:	8d 8e 4c 0c 00 00    	lea    0xc4c(%esi),%ecx
401048:	c6 45 fc 00          	movb   $0x0,-0x4(%ebp)
40104c:	e8 8e 4f 00 00       	call   0x405fdf
401051:	83 4d fc ff          	orl    $0xffffffff,-0x4(%ebp)
401055:	8d 4e 40             	lea    0x40(%esi),%ecx
401058:	e8 82 4f 00 00       	call   0x405fdf
40105d:	8b 4d f4             	mov    -0xc(%ebp),%ecx
401060:	5e                   	pop    %esi
401061:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
401068:	c9                   	leave
401069:	c3                   	ret
40106a:	33 c0                	xor    %eax,%eax
40106c:	83 7c 24 08 01       	cmpl   $0x1,0x8(%esp)
401071:	72 4a                	jb     0x4010bd
401073:	8b 4c 24 04          	mov    0x4(%esp),%ecx
401077:	80 39 52             	cmpb   $0x52,(%ecx)
40107a:	75 41                	jne    0x4010bd
40107c:	83 7c 24 08 07       	cmpl   $0x7,0x8(%esp)
401081:	72 3a                	jb     0x4010bd
401083:	80 79 01 61          	cmpb   $0x61,0x1(%ecx)
401087:	75 34                	jne    0x4010bd
401089:	80 79 02 72          	cmpb   $0x72,0x2(%ecx)
40108d:	75 2e                	jne    0x4010bd
40108f:	80 79 03 21          	cmpb   $0x21,0x3(%ecx)
401093:	75 28                	jne    0x4010bd
401095:	80 79 04 1a          	cmpb   $0x1a,0x4(%ecx)
401099:	75 22                	jne    0x4010bd
40109b:	80 79 05 07          	cmpb   $0x7,0x5(%ecx)
40109f:	75 1c                	jne    0x4010bd
4010a1:	8a 49 06             	mov    0x6(%ecx),%cl
4010a4:	84 c9                	test   %cl,%cl
4010a6:	75 04                	jne    0x4010ac
4010a8:	6a 02                	push   $0x2
4010aa:	eb 10                	jmp    0x4010bc
4010ac:	80 f9 01             	cmp    $0x1,%cl
4010af:	75 04                	jne    0x4010b5
4010b1:	6a 03                	push   $0x3
4010b3:	eb 07                	jmp    0x4010bc
4010b5:	80 f9 02             	cmp    $0x2,%cl
4010b8:	75 03                	jne    0x4010bd
4010ba:	6a 04                	push   $0x4
4010bc:	58                   	pop    %eax
4010bd:	c2 08 00             	ret    $0x8
4010c0:	8b 01                	mov    (%ecx),%eax
4010c2:	6a 00                	push   $0x0
4010c4:	ff b1 2c a2 00 00    	push   0xa22c(%ecx)
4010ca:	ff b1 28 a2 00 00    	push   0xa228(%ecx)
4010d0:	ff 50 0c             	call   *0xc(%eax)
4010d3:	c3                   	ret
4010d4:	55                   	push   %ebp
4010d5:	8b ec                	mov    %esp,%ebp
4010d7:	80 b9 3c a2 00 00 00 	cmpb   $0x0,0xa23c(%ecx)
4010de:	74 1f                	je     0x4010ff
4010e0:	8b 45 08             	mov    0x8(%ebp),%eax
4010e3:	f7 d0                	not    %eax
4010e5:	40                   	inc    %eax
4010e6:	83 e0 0f             	and    $0xf,%eax
4010e9:	01 45 08             	add    %eax,0x8(%ebp)
4010ec:	83 b9 30 a2 00 00 03 	cmpl   $0x3,0xa230(%ecx)
4010f3:	75 06                	jne    0x4010fb
4010f5:	83 45 08 10          	addl   $0x10,0x8(%ebp)
4010f9:	eb 04                	jmp    0x4010ff
4010fb:	83 45 08 08          	addl   $0x8,0x8(%ebp)
4010ff:	8b 45 08             	mov    0x8(%ebp),%eax
401102:	5d                   	pop    %ebp
401103:	c2 04 00             	ret    $0x4
401106:	8b 44 24 04          	mov    0x4(%esp),%eax
40110a:	56                   	push   %esi
40110b:	8b f1                	mov    %ecx,%esi
40110d:	01 46 04             	add    %eax,0x4(%esi)
401110:	8b 4e 04             	mov    0x4(%esi),%ecx
401113:	3b 4e 08             	cmp    0x8(%esi),%ecx
401116:	76 5f                	jbe    0x401177
401118:	8b 46 0c             	mov    0xc(%esi),%eax
40111b:	53                   	push   %ebx
40111c:	55                   	push   %ebp
40111d:	57                   	push   %edi
40111e:	bd 74 2a 43 00       	mov    $0x432a74,%ebp
401123:	85 c0                	test   %eax,%eax
401125:	74 1a                	je     0x401141
401127:	3b c8                	cmp    %eax,%ecx
401129:	76 16                	jbe    0x401141
40112b:	50                   	push   %eax
40112c:	68 f0 a3 42 00       	push   $0x42a3f0
401131:	55                   	push   %ebp
401132:	e8 26 54 00 00       	call   0x40655d
401137:	83 c4 0c             	add    $0xc,%esp
40113a:	8b cd                	mov    %ebp,%ecx
40113c:	e8 c7 53 00 00       	call   0x406508
401141:	8b 46 08             	mov    0x8(%esi),%eax
401144:	8b c8                	mov    %eax,%ecx
401146:	c1 e9 02             	shr    $0x2,%ecx
401149:	8d 44 01 20          	lea    0x20(%ecx,%eax,1),%eax
40114d:	8b 4e 04             	mov    0x4(%esi),%ecx
401150:	8b d9                	mov    %ecx,%ebx
401152:	3b c8                	cmp    %eax,%ecx
401154:	77 02                	ja     0x401158
401156:	8b d8                	mov    %eax,%ebx
401158:	53                   	push   %ebx
401159:	ff 36                	push   (%esi)
40115b:	e8 10 8e 01 00       	call   0x419f70
401160:	8b f8                	mov    %eax,%edi
401162:	59                   	pop    %ecx
401163:	59                   	pop    %ecx
401164:	85 ff                	test   %edi,%edi
401166:	75 07                	jne    0x40116f
401168:	8b cd                	mov    %ebp,%ecx
40116a:	e8 99 53 00 00       	call   0x406508
40116f:	89 3e                	mov    %edi,(%esi)
401171:	5f                   	pop    %edi
401172:	5d                   	pop    %ebp
401173:	89 5e 08             	mov    %ebx,0x8(%esi)
401176:	5b                   	pop    %ebx
401177:	5e                   	pop    %esi
401178:	c2 04 00             	ret    $0x4
40117b:	56                   	push   %esi
40117c:	8b f1                	mov    %ecx,%esi
40117e:	8b 4c 24 08          	mov    0x8(%esp),%ecx
401182:	89 0e                	mov    %ecx,(%esi)
401184:	8b 01                	mov    (%ecx),%eax
401186:	ff 50 10             	call   *0x10(%eax)
401189:	89 46 08             	mov    %eax,0x8(%esi)
40118c:	89 56 0c             	mov    %edx,0xc(%esi)
40118f:	8b c6                	mov    %esi,%eax
401191:	5e                   	pop    %esi
401192:	c2 04 00             	ret    $0x4
401195:	8b c1                	mov    %ecx,%eax
401197:	8b 08                	mov    (%eax),%ecx
401199:	8b 11                	mov    (%ecx),%edx
40119b:	6a 00                	push   $0x0
40119d:	ff 70 0c             	push   0xc(%eax)
4011a0:	ff 70 08             	push   0x8(%eax)
4011a3:	ff 52 0c             	call   *0xc(%edx)
4011a6:	c3                   	ret
4011a7:	8b 44 24 04          	mov    0x4(%esp),%eax
4011ab:	56                   	push   %esi
4011ac:	8b f1                	mov    %ecx,%esi
4011ae:	01 46 04             	add    %eax,0x4(%esi)
4011b1:	8b 4e 04             	mov    0x4(%esi),%ecx
4011b4:	3b 4e 08             	cmp    0x8(%esi),%ecx
4011b7:	76 60                	jbe    0x401219
4011b9:	8b 46 0c             	mov    0xc(%esi),%eax
4011bc:	53                   	push   %ebx
4011bd:	55                   	push   %ebp
4011be:	57                   	push   %edi
4011bf:	bd 74 2a 43 00       	mov    $0x432a74,%ebp
4011c4:	85 c0                	test   %eax,%eax
4011c6:	74 1a                	je     0x4011e2
4011c8:	3b c8                	cmp    %eax,%ecx
4011ca:	76 16                	jbe    0x4011e2
4011cc:	50                   	push   %eax
4011cd:	68 f0 a3 42 00       	push   $0x42a3f0
4011d2:	55                   	push   %ebp
4011d3:	e8 85 53 00 00       	call   0x40655d
4011d8:	83 c4 0c             	add    $0xc,%esp
4011db:	8b cd                	mov    %ebp,%ecx
4011dd:	e8 26 53 00 00       	call   0x406508
4011e2:	8b 46 08             	mov    0x8(%esi),%eax
4011e5:	8b 7e 04             	mov    0x4(%esi),%edi
4011e8:	8b c8                	mov    %eax,%ecx
4011ea:	c1 e9 02             	shr    $0x2,%ecx
4011ed:	8d 44 01 20          	lea    0x20(%ecx,%eax,1),%eax
4011f1:	3b f8                	cmp    %eax,%edi
4011f3:	77 02                	ja     0x4011f7
4011f5:	8b f8                	mov    %eax,%edi
4011f7:	8d 04 3f             	lea    (%edi,%edi,1),%eax
4011fa:	50                   	push   %eax
4011fb:	ff 36                	push   (%esi)
4011fd:	e8 6e 8d 01 00       	call   0x419f70
401202:	8b d8                	mov    %eax,%ebx
401204:	59                   	pop    %ecx
401205:	59                   	pop    %ecx
401206:	85 db                	test   %ebx,%ebx
401208:	75 07                	jne    0x401211
40120a:	8b cd                	mov    %ebp,%ecx
40120c:	e8 f7 52 00 00       	call   0x406508
401211:	89 7e 08             	mov    %edi,0x8(%esi)
401214:	5f                   	pop    %edi
401215:	5d                   	pop    %ebp
401216:	89 1e                	mov    %ebx,(%esi)
401218:	5b                   	pop    %ebx
401219:	5e                   	pop    %esi
40121a:	c2 04 00             	ret    $0x4
40121d:	81 c1 20 10 00 00    	add    $0x1020,%ecx
401223:	e9 e7 13 01 00       	jmp    0x41260f
401228:	b8 07 91 42 00       	mov    $0x429107,%eax
40122d:	e8 86 8c 01 00       	call   0x419eb8
401232:	51                   	push   %ecx
401233:	56                   	push   %esi
401234:	8b f1                	mov    %ecx,%esi
401236:	89 75 f0             	mov    %esi,-0x10(%ebp)
401239:	c7 06 48 a4 42 00    	movl   $0x42a448,(%esi)
40123f:	80 be 00 57 00 00 00 	cmpb   $0x0,0x5700(%esi)
401246:	c7 45 fc 04 00 00 00 	movl   $0x4,-0x4(%ebp)
40124d:	74 1a                	je     0x401269
40124f:	57                   	push   %edi
401250:	8b be 04 57 00 00    	mov    0x5704(%esi),%edi
401256:	85 ff                	test   %edi,%edi
401258:	74 0e                	je     0x401268
40125a:	8b cf                	mov    %edi,%ecx
40125c:	e8 ad 8c 00 00       	call   0x409f0e
401261:	57                   	push   %edi
401262:	e8 70 8c 01 00       	call   0x419ed7
401267:	59                   	pop    %ecx
401268:	5f                   	pop    %edi
401269:	8d 8e 28 8b 00 00    	lea    0x8b28(%esi),%ecx
40126f:	e8 9b 13 01 00       	call   0x41260f
401274:	8d 8e e8 67 00 00    	lea    0x67e8(%esi),%ecx
40127a:	e8 90 13 01 00       	call   0x41260f
40127f:	8d 8e 30 1c 00 00    	lea    0x1c30(%esi),%ecx
401285:	c6 45 fc 01          	movb   $0x1,-0x4(%ebp)
401289:	e8 73 fd ff ff       	call   0x401001
40128e:	8d 8e 24 10 00 00    	lea    0x1024(%esi),%ecx
401294:	c6 45 fc 00          	movb   $0x0,-0x4(%ebp)
401298:	e8 42 4d 00 00       	call   0x405fdf
40129d:	83 4d fc ff          	orl    $0xffffffff,-0x4(%ebp)
4012a1:	8b ce                	mov    %esi,%ecx
4012a3:	e8 62 79 00 00       	call   0x408c0a
4012a8:	8b 4d f4             	mov    -0xc(%ebp),%ecx
4012ab:	5e                   	pop    %esi
4012ac:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
4012b3:	c9                   	leave
4012b4:	c3                   	ret
4012b5:	56                   	push   %esi
4012b6:	6a 01                	push   $0x1
4012b8:	8b f1                	mov    %ecx,%esi
4012ba:	e8 47 fe ff ff       	call   0x401106
4012bf:	8b 46 04             	mov    0x4(%esi),%eax
4012c2:	8b 0e                	mov    (%esi),%ecx
4012c4:	8a 54 24 08          	mov    0x8(%esp),%dl
4012c8:	88 54 08 ff          	mov    %dl,-0x1(%eax,%ecx,1)
4012cc:	5e                   	pop    %esi
4012cd:	c2 04 00             	ret    $0x4
4012d0:	56                   	push   %esi
4012d1:	ff 74 24 08          	push   0x8(%esp)
4012d5:	8b f1                	mov    %ecx,%esi
4012d7:	33 c0                	xor    %eax,%eax
4012d9:	89 06                	mov    %eax,(%esi)
4012db:	89 46 04             	mov    %eax,0x4(%esi)
4012de:	89 46 08             	mov    %eax,0x8(%esi)
4012e1:	89 46 0c             	mov    %eax,0xc(%esi)
4012e4:	e8 1d fe ff ff       	call   0x401106
4012e9:	8b c6                	mov    %esi,%eax
4012eb:	5e                   	pop    %esi
4012ec:	c2 04 00             	ret    $0x4
4012ef:	8b 44 24 04          	mov    0x4(%esp),%eax
4012f3:	3b 41 08             	cmp    0x8(%ecx),%eax
4012f6:	76 0b                	jbe    0x401303
4012f8:	2b 41 04             	sub    0x4(%ecx),%eax
4012fb:	50                   	push   %eax
4012fc:	e8 a6 fe ff ff       	call   0x4011a7
401301:	eb 03                	jmp    0x401306
401303:	89 41 04             	mov    %eax,0x4(%ecx)
401306:	c2 04 00             	ret    $0x4
401309:	b8 19 91 42 00       	mov    $0x429119,%eax
40130e:	e8 a5 8b 01 00       	call   0x419eb8
401313:	83 ec 10             	sub    $0x10,%esp
401316:	53                   	push   %ebx
401317:	56                   	push   %esi
401318:	33 f6                	xor    %esi,%esi
40131a:	8b d9                	mov    %ecx,%ebx
40131c:	89 75 e4             	mov    %esi,-0x1c(%ebp)
40131f:	89 75 e8             	mov    %esi,-0x18(%ebp)
401322:	89 75 ec             	mov    %esi,-0x14(%ebp)
401325:	89 75 f0             	mov    %esi,-0x10(%ebp)
401328:	56                   	push   %esi
401329:	8d 45 e4             	lea    -0x1c(%ebp),%eax
40132c:	50                   	push   %eax
40132d:	89 75 fc             	mov    %esi,-0x4(%ebp)
401330:	e8 bf 18 00 00       	call   0x402bf4
401335:	84 c0                	test   %al,%al
401337:	75 15                	jne    0x40134e
401339:	39 75 e4             	cmp    %esi,-0x1c(%ebp)
40133c:	74 09                	je     0x401347
40133e:	ff 75 e4             	push   -0x1c(%ebp)
401341:	e8 9c 8b 01 00       	call   0x419ee2
401346:	59                   	pop    %ecx
401347:	32 c0                	xor    %al,%al
401349:	e9 82 00 00 00       	jmp    0x4013d0
40134e:	57                   	push   %edi
40134f:	8b 7d e8             	mov    -0x18(%ebp),%edi
401352:	56                   	push   %esi
401353:	8d 4d e4             	lea    -0x1c(%ebp),%ecx
401356:	e8 5a ff ff ff       	call   0x4012b5
40135b:	8b 75 08             	mov    0x8(%ebp),%esi
40135e:	8d 47 01             	lea    0x1(%edi),%eax
401361:	50                   	push   %eax
401362:	8b ce                	mov    %esi,%ecx
401364:	e8 86 ff ff ff       	call   0x4012ef
401369:	83 bb 30 a2 00 00 03 	cmpl   $0x3,0xa230(%ebx)
401370:	75 0f                	jne    0x401381
401372:	ff 76 04             	push   0x4(%esi)
401375:	ff 36                	push   (%esi)
401377:	ff 75 e4             	push   -0x1c(%ebp)
40137a:	e8 8a 05 01 00       	call   0x411909
40137f:	eb 2d                	jmp    0x4013ae
401381:	f6 83 24 7b 00 00 01 	testb  $0x1,0x7b24(%ebx)
401388:	74 17                	je     0x4013a1
40138a:	d1 ef                	shr    $1,%edi
40138c:	57                   	push   %edi
40138d:	ff 36                	push   (%esi)
40138f:	ff 75 e4             	push   -0x1c(%ebp)
401392:	e8 48 04 01 00       	call   0x4117df
401397:	8b 06                	mov    (%esi),%eax
401399:	33 c9                	xor    %ecx,%ecx
40139b:	66 89 0c 78          	mov    %cx,(%eax,%edi,2)
40139f:	eb 0d                	jmp    0x4013ae
4013a1:	ff 76 04             	push   0x4(%esi)
4013a4:	ff 36                	push   (%esi)
4013a6:	ff 75 e4             	push   -0x1c(%ebp)
4013a9:	e8 c6 03 01 00       	call   0x411774
4013ae:	ff 36                	push   (%esi)
4013b0:	e8 d6 8d 01 00       	call   0x41a18b
4013b5:	59                   	pop    %ecx
4013b6:	50                   	push   %eax
4013b7:	8b ce                	mov    %esi,%ecx
4013b9:	e8 31 ff ff ff       	call   0x4012ef
4013be:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)
4013c2:	5f                   	pop    %edi
4013c3:	74 09                	je     0x4013ce
4013c5:	ff 75 e4             	push   -0x1c(%ebp)
4013c8:	e8 15 8b 01 00       	call   0x419ee2
4013cd:	59                   	pop    %ecx
4013ce:	b0 01                	mov    $0x1,%al
4013d0:	8b 4d f4             	mov    -0xc(%ebp),%ecx
4013d3:	5e                   	pop    %esi
4013d4:	5b                   	pop    %ebx
4013d5:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
4013dc:	c9                   	leave
4013dd:	c2 04 00             	ret    $0x4
4013e0:	56                   	push   %esi
4013e1:	8b f1                	mov    %ecx,%esi
4013e3:	e8 40 fe ff ff       	call   0x401228