40c180:	33 cd                	xor    %ebp,%ecx
40c182:	5e                   	pop    %esi
40c183:	e8 ce 6d ff ff       	call   0x402f56
40c188:	8b e5                	mov    %ebp,%esp
40c18a:	5d                   	pop    %ebp
40c18b:	c2 08 00             	ret    $0x8
40c18e:	a1 0c 30 42 00       	mov    0x42300c,%eax
40c193:	57                   	push   %edi
40c194:	6a 20                	push   $0x20
40c196:	83 e0 1f             	and    $0x1f,%eax
40c199:	bf 18 44 42 00       	mov    $0x424418,%edi
40c19e:	59                   	pop    %ecx
40c19f:	2b c8                	sub    %eax,%ecx
40c1a1:	33 c0                	xor    %eax,%eax
40c1a3:	d3 c8                	ror    %cl,%eax
40c1a5:	33 05 0c 30 42 00    	xor    0x42300c,%eax
40c1ab:	6a 20                	push   $0x20
40c1ad:	59                   	pop    %ecx
40c1ae:	f3 ab                	rep stos %eax,%es:(%edi)
40c1b0:	b0 01                	mov    $0x1,%al
40c1b2:	5f                   	pop    %edi
40c1b3:	c3                   	ret
40c1b4:	8b ff                	mov    %edi,%edi
40c1b6:	55                   	push   %ebp
40c1b7:	8b ec                	mov    %esp,%ebp
40c1b9:	51                   	push   %ecx
40c1ba:	51                   	push   %ecx
40c1bb:	a1 0c 30 42 00       	mov    0x42300c,%eax
40c1c0:	33 c5                	xor    %ebp,%eax
40c1c2:	89 45 fc             	mov    %eax,-0x4(%ebp)
40c1c5:	8b 0d 98 44 42 00    	mov    0x424498,%ecx
40c1cb:	85 c9                	test   %ecx,%ecx
40c1cd:	74 0a                	je     0x40c1d9
40c1cf:	33 c0                	xor    %eax,%eax
40c1d1:	83 f9 01             	cmp    $0x1,%ecx
40c1d4:	0f 94 c0             	sete   %al
40c1d7:	eb 54                	jmp    0x40c22d
40c1d9:	56                   	push   %esi
40c1da:	68 c8 c9 41 00       	push   $0x41c9c8
40c1df:	68 c0 c9 41 00       	push   $0x41c9c0
40c1e4:	68 c8 c9 41 00       	push   $0x41c9c8
40c1e9:	6a 08                	push   $0x8
40c1eb:	e8 b9 fa ff ff       	call   0x40bca9
40c1f0:	8b f0                	mov    %eax,%esi
40c1f2:	83 c4 10             	add    $0x10,%esp
40c1f5:	85 f6                	test   %esi,%esi
40c1f7:	74 27                	je     0x40c220
40c1f9:	83 65 f8 00          	andl   $0x0,-0x8(%ebp)
40c1fd:	8d 45 f8             	lea    -0x8(%ebp),%eax
40c200:	6a 00                	push   $0x0
40c202:	50                   	push   %eax
40c203:	8b ce                	mov    %esi,%ecx
40c205:	ff 15 a8 b1 41 00    	call   *0x41b1a8
40c20b:	ff d6                	call   *%esi
40c20d:	83 f8 7a             	cmp    $0x7a,%eax
40c210:	75 0e                	jne    0x40c220
40c212:	33 c9                	xor    %ecx,%ecx
40c214:	ba 98 44 42 00       	mov    $0x424498,%edx
40c219:	41                   	inc    %ecx
40c21a:	87 0a                	xchg   %ecx,(%edx)
40c21c:	b0 01                	mov    $0x1,%al
40c21e:	eb 0c                	jmp    0x40c22c
40c220:	6a 02                	push   $0x2
40c222:	58                   	pop    %eax
40c223:	b9 98 44 42 00       	mov    $0x424498,%ecx
40c228:	87 01                	xchg   %eax,(%ecx)
40c22a:	32 c0                	xor    %al,%al
40c22c:	5e                   	pop    %esi
40c22d:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40c230:	33 cd                	xor    %ebp,%ecx
40c232:	e8 1f 6d ff ff       	call   0x402f56
40c237:	8b e5                	mov    %ebp,%esp
40c239:	5d                   	pop    %ebp
40c23a:	c3                   	ret
40c23b:	8b ff                	mov    %edi,%edi
40c23d:	55                   	push   %ebp
40c23e:	8b ec                	mov    %esp,%ebp
40c240:	80 7d 08 00          	cmpb   $0x0,0x8(%ebp)
40c244:	75 27                	jne    0x40c26d
40c246:	56                   	push   %esi
40c247:	be c8 43 42 00       	mov    $0x4243c8,%esi
40c24c:	83 3e 00             	cmpl   $0x0,(%esi)
40c24f:	74 10                	je     0x40c261
40c251:	83 3e ff             	cmpl   $0xffffffff,(%esi)
40c254:	74 08                	je     0x40c25e
40c256:	ff 36                	push   (%esi)
40c258:	ff 15 04 b1 41 00    	call   *0x41b104
40c25e:	83 26 00             	andl   $0x0,(%esi)
40c261:	83 c6 04             	add    $0x4,%esi
40c264:	81 fe 18 44 42 00    	cmp    $0x424418,%esi
40c26a:	75 e0                	jne    0x40c24c
40c26c:	5e                   	pop    %esi
40c26d:	b0 01                	mov    $0x1,%al
40c26f:	5d                   	pop    %ebp
40c270:	c3                   	ret
40c271:	8b ff                	mov    %edi,%edi
40c273:	55                   	push   %ebp
40c274:	8b ec                	mov    %esp,%ebp
40c276:	51                   	push   %ecx
40c277:	51                   	push   %ecx
40c278:	53                   	push   %ebx
40c279:	57                   	push   %edi
40c27a:	6a 30                	push   $0x30
40c27c:	6a 40                	push   $0x40
40c27e:	e8 29 d6 ff ff       	call   0x4098ac
40c283:	8b f8                	mov    %eax,%edi
40c285:	33 db                	xor    %ebx,%ebx
40c287:	89 7d f8             	mov    %edi,-0x8(%ebp)
40c28a:	59                   	pop    %ecx
40c28b:	59                   	pop    %ecx
40c28c:	85 ff                	test   %edi,%edi
40c28e:	75 04                	jne    0x40c294
40c290:	8b fb                	mov    %ebx,%edi
40c292:	eb 48                	jmp    0x40c2dc
40c294:	8d 87 00 0c 00 00    	lea    0xc00(%edi),%eax
40c29a:	3b f8                	cmp    %eax,%edi
40c29c:	74 3e                	je     0x40c2dc
40c29e:	56                   	push   %esi
40c29f:	8d 77 20             	lea    0x20(%edi),%esi
40c2a2:	8b f8                	mov    %eax,%edi
40c2a4:	53                   	push   %ebx
40c2a5:	68 a0 0f 00 00       	push   $0xfa0
40c2aa:	8d 46 e0             	lea    -0x20(%esi),%eax
40c2ad:	50                   	push   %eax
40c2ae:	e8 95 fd ff ff       	call   0x40c048
40c2b3:	83 4e f8 ff          	orl    $0xffffffff,-0x8(%esi)
40c2b7:	89 1e                	mov    %ebx,(%esi)
40c2b9:	8d 76 30             	lea    0x30(%esi),%esi
40c2bc:	89 5e d4             	mov    %ebx,-0x2c(%esi)
40c2bf:	8d 46 e0             	lea    -0x20(%esi),%eax
40c2c2:	c7 46 d8 00 00 0a 0a 	movl   $0xa0a0000,-0x28(%esi)
40c2c9:	c6 46 dc 0a          	movb   $0xa,-0x24(%esi)
40c2cd:	80 66 dd f8          	andb   $0xf8,-0x23(%esi)
40c2d1:	88 5e de             	mov    %bl,-0x22(%esi)
40c2d4:	3b c7                	cmp    %edi,%eax
40c2d6:	75 cc                	jne    0x40c2a4
40c2d8:	8b 7d f8             	mov    -0x8(%ebp),%edi
40c2db:	5e                   	pop    %esi
40c2dc:	53                   	push   %ebx
40c2dd:	e8 42 d5 ff ff       	call   0x409824
40c2e2:	59                   	pop    %ecx
40c2e3:	8b c7                	mov    %edi,%eax
40c2e5:	5f                   	pop    %edi
40c2e6:	5b                   	pop    %ebx
40c2e7:	8b e5                	mov    %ebp,%esp
40c2e9:	5d                   	pop    %ebp
40c2ea:	c3                   	ret
40c2eb:	8b ff                	mov    %edi,%edi
40c2ed:	55                   	push   %ebp
40c2ee:	8b ec                	mov    %esp,%ebp
40c2f0:	56                   	push   %esi
40c2f1:	8b 75 08             	mov    0x8(%ebp),%esi
40c2f4:	85 f6                	test   %esi,%esi
40c2f6:	74 25                	je     0x40c31d
40c2f8:	53                   	push   %ebx
40c2f9:	8d 9e 00 0c 00 00    	lea    0xc00(%esi),%ebx
40c2ff:	57                   	push   %edi
40c300:	8b fe                	mov    %esi,%edi
40c302:	3b f3                	cmp    %ebx,%esi
40c304:	74 0e                	je     0x40c314
40c306:	57                   	push   %edi
40c307:	ff 15 40 b0 41 00    	call   *0x41b040
40c30d:	83 c7 30             	add    $0x30,%edi
40c310:	3b fb                	cmp    %ebx,%edi
40c312:	75 f2                	jne    0x40c306
40c314:	56                   	push   %esi
40c315:	e8 0a d5 ff ff       	call   0x409824
40c31a:	59                   	pop    %ecx
40c31b:	5f                   	pop    %edi
40c31c:	5b                   	pop    %ebx
40c31d:	5e                   	pop    %esi
40c31e:	5d                   	pop    %ebp
40c31f:	c3                   	ret
40c320:	6a 14                	push   $0x14
40c322:	68 60 1d 42 00       	push   $0x421d60
40c327:	e8 24 78 ff ff       	call   0x403b50
40c32c:	81 7d 08 00 20 00 00 	cmpl   $0x2000,0x8(%ebp)
40c333:	1b c0                	sbb    %eax,%eax
40c335:	f7 d8                	neg    %eax
40c337:	75 17                	jne    0x40c350
40c339:	e8 c9 b9 ff ff       	call   0x407d07
40c33e:	6a 09                	push   $0x9
40c340:	5e                   	pop    %esi
40c341:	89 30                	mov    %esi,(%eax)
40c343:	e8 e6 b8 ff ff       	call   0x407c2e
40c348:	8b c6                	mov    %esi,%eax
40c34a:	e8 47 78 ff ff       	call   0x403b96
40c34f:	c3                   	ret
40c350:	33 f6                	xor    %esi,%esi
40c352:	89 75 e4             	mov    %esi,-0x1c(%ebp)
40c355:	6a 07                	push   $0x7
40c357:	e8 49 2b 00 00       	call   0x40eea5
40c35c:	59                   	pop    %ecx
40c35d:	89 75 fc             	mov    %esi,-0x4(%ebp)
40c360:	8b fe                	mov    %esi,%edi
40c362:	a1 c0 43 42 00       	mov    0x4243c0,%eax
40c367:	89 7d e0             	mov    %edi,-0x20(%ebp)
40c36a:	39 45 08             	cmp    %eax,0x8(%ebp)
40c36d:	7c 1f                	jl     0x40c38e
40c36f:	39 34 bd c0 41 42 00 	cmp    %esi,0x4241c0(,%edi,4)
40c376:	75 31                	jne    0x40c3a9
40c378:	e8 f4 fe ff ff       	call   0x40c271
40c37d:	89 04 bd c0 41 42 00 	mov    %eax,0x4241c0(,%edi,4)
40c384:	85 c0                	test   %eax,%eax
40c386:	75 14                	jne    0x40c39c
40c388:	6a 0c                	push   $0xc
40c38a:	5e                   	pop    %esi
40c38b:	89 75 e4             	mov    %esi,-0x1c(%ebp)
40c38e:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40c395:	e8 15 00 00 00       	call   0x40c3af
40c39a:	eb ac                	jmp    0x40c348
40c39c:	a1 c0 43 42 00       	mov    0x4243c0,%eax
40c3a1:	83 c0 40             	add    $0x40,%eax
40c3a4:	a3 c0 43 42 00       	mov    %eax,0x4243c0
40c3a9:	47                   	inc    %edi
40c3aa:	eb bb                	jmp    0x40c367
40c3ac:	8b 75 e4             	mov    -0x1c(%ebp),%esi
40c3af:	6a 07                	push   $0x7
40c3b1:	e8 37 2b 00 00       	call   0x40eeed
40c3b6:	59                   	pop    %ecx
40c3b7:	c3                   	ret
40c3b8:	8b ff                	mov    %edi,%edi
40c3ba:	55                   	push   %ebp
40c3bb:	8b ec                	mov    %esp,%ebp
40c3bd:	8b 45 08             	mov    0x8(%ebp),%eax
40c3c0:	8b c8                	mov    %eax,%ecx
40c3c2:	83 e0 3f             	and    $0x3f,%eax
40c3c5:	c1 f9 06             	sar    $0x6,%ecx
40c3c8:	6b c0 30             	imul   $0x30,%eax,%eax
40c3cb:	03 04 8d c0 41 42 00 	add    0x4241c0(,%ecx,4),%eax
40c3d2:	50                   	push   %eax
40c3d3:	ff 15 2c b0 41 00    	call   *0x41b02c
40c3d9:	5d                   	pop    %ebp
40c3da:	c3                   	ret
40c3db:	8b ff                	mov    %edi,%edi
40c3dd:	55                   	push   %ebp
40c3de:	8b ec                	mov    %esp,%ebp
40c3e0:	51                   	push   %ecx
40c3e1:	53                   	push   %ebx
40c3e2:	56                   	push   %esi
40c3e3:	8b 75 08             	mov    0x8(%ebp),%esi
40c3e6:	85 f6                	test   %esi,%esi
40c3e8:	78 69                	js     0x40c453
40c3ea:	3b 35 c0 43 42 00    	cmp    0x4243c0,%esi
40c3f0:	73 61                	jae    0x40c453
40c3f2:	8b c6                	mov    %esi,%eax
40c3f4:	8b de                	mov    %esi,%ebx
40c3f6:	83 e0 3f             	and    $0x3f,%eax
40c3f9:	c1 fb 06             	sar    $0x6,%ebx
40c3fc:	6b c8 30             	imul   $0x30,%eax,%ecx
40c3ff:	8b 04 9d c0 41 42 00 	mov    0x4241c0(,%ebx,4),%eax
40c406:	89 4d fc             	mov    %ecx,-0x4(%ebp)
40c409:	83 7c 01 18 ff       	cmpl   $0xffffffff,0x18(%ecx,%eax,1)
40c40e:	75 43                	jne    0x40c453
40c410:	57                   	push   %edi
40c411:	e8 a5 ce ff ff       	call   0x4092bb
40c416:	8b 7d 0c             	mov    0xc(%ebp),%edi
40c419:	83 f8 01             	cmp    $0x1,%eax
40c41c:	75 22                	jne    0x40c440
40c41e:	83 ee 00             	sub    $0x0,%esi
40c421:	74 14                	je     0x40c437
40c423:	83 ee 01             	sub    $0x1,%esi
40c426:	74 0a                	je     0x40c432
40c428:	83 ee 01             	sub    $0x1,%esi
40c42b:	75 13                	jne    0x40c440
40c42d:	57                   	push   %edi
40c42e:	6a f4                	push   $0xfffffff4
40c430:	eb 08                	jmp    0x40c43a
40c432:	57                   	push   %edi
40c433:	6a f5                	push   $0xfffffff5
40c435:	eb 03                	jmp    0x40c43a
40c437:	57                   	push   %edi
40c438:	6a f6                	push   $0xfffffff6
40c43a:	ff 15 58 b1 41 00    	call   *0x41b158
40c440:	8b 04 9d c0 41 42 00 	mov    0x4241c0(,%ebx,4),%eax
40c447:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40c44a:	89 7c 01 18          	mov    %edi,0x18(%ecx,%eax,1)
40c44e:	33 c0                	xor    %eax,%eax
40c450:	5f                   	pop    %edi
40c451:	eb 16                	jmp    0x40c469
40c453:	e8 af b8 ff ff       	call   0x407d07
40c458:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40c45e:	e8 91 b8 ff ff       	call   0x407cf4
40c463:	83 20 00             	andl   $0x0,(%eax)
40c466:	83 c8 ff             	or     $0xffffffff,%eax
40c469:	5e                   	pop    %esi
40c46a:	5b                   	pop    %ebx
40c46b:	8b e5                	mov    %ebp,%esp
40c46d:	5d                   	pop    %ebp
40c46e:	c3                   	ret
40c46f:	8b ff                	mov    %edi,%edi
40c471:	55                   	push   %ebp
40c472:	8b ec                	mov    %esp,%ebp
40c474:	8b 45 08             	mov    0x8(%ebp),%eax
40c477:	8b c8                	mov    %eax,%ecx
40c479:	83 e0 3f             	and    $0x3f,%eax
40c47c:	c1 f9 06             	sar    $0x6,%ecx
40c47f:	6b c0 30             	imul   $0x30,%eax,%eax
40c482:	03 04 8d c0 41 42 00 	add    0x4241c0(,%ecx,4),%eax
40c489:	50                   	push   %eax
40c48a:	ff 15 34 b0 41 00    	call   *0x41b034
40c490:	5d                   	pop    %ebp
40c491:	c3                   	ret
40c492:	6a 1c                	push   $0x1c
40c494:	68 40 1d 42 00       	push   $0x421d40
40c499:	e8 b2 76 ff ff       	call   0x403b50
40c49e:	6a 07                	push   $0x7
40c4a0:	e8 00 2a 00 00       	call   0x40eea5
40c4a5:	59                   	pop    %ecx
40c4a6:	83 cf ff             	or     $0xffffffff,%edi
40c4a9:	89 7d e4             	mov    %edi,-0x1c(%ebp)
40c4ac:	33 db                	xor    %ebx,%ebx
40c4ae:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40c4b1:	89 5d d4             	mov    %ebx,-0x2c(%ebp)
40c4b4:	81 fb 80 00 00 00    	cmp    $0x80,%ebx
40c4ba:	7d 4d                	jge    0x40c509
40c4bc:	8b 04 9d c0 41 42 00 	mov    0x4241c0(,%ebx,4),%eax
40c4c3:	89 45 d8             	mov    %eax,-0x28(%ebp)
40c4c6:	85 c0                	test   %eax,%eax
40c4c8:	75 53                	jne    0x40c51d
40c4ca:	e8 a2 fd ff ff       	call   0x40c271
40c4cf:	89 04 9d c0 41 42 00 	mov    %eax,0x4241c0(,%ebx,4)
40c4d6:	85 c0                	test   %eax,%eax
40c4d8:	74 2f                	je     0x40c509
40c4da:	83 05 c0 43 42 00 40 	addl   $0x40,0x4243c0
40c4e1:	8b fb                	mov    %ebx,%edi
40c4e3:	c1 e7 06             	shl    $0x6,%edi
40c4e6:	57                   	push   %edi
40c4e7:	e8 cc fe ff ff       	call   0x40c3b8
40c4ec:	59                   	pop    %ecx
40c4ed:	8b d7                	mov    %edi,%edx
40c4ef:	c1 fa 06             	sar    $0x6,%edx
40c4f2:	8b c7                	mov    %edi,%eax
40c4f4:	83 e0 3f             	and    $0x3f,%eax
40c4f7:	6b c8 30             	imul   $0x30,%eax,%ecx
40c4fa:	8b 04 95 c0 41 42 00 	mov    0x4241c0(,%edx,4),%eax
40c501:	c6 44 08 28 01       	movb   $0x1,0x28(%eax,%ecx,1)
40c506:	89 7d e4             	mov    %edi,-0x1c(%ebp)
40c509:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40c510:	e8 86 00 00 00       	call   0x40c59b
40c515:	8b c7                	mov    %edi,%eax
40c517:	e8 7a 76 ff ff       	call   0x403b96
40c51c:	c3                   	ret
40c51d:	8d 88 00 0c 00 00    	lea    0xc00(%eax),%ecx
40c523:	89 4d e0             	mov    %ecx,-0x20(%ebp)
40c526:	8b f0                	mov    %eax,%esi
40c528:	6a 30                	push   $0x30
40c52a:	58                   	pop    %eax
40c52b:	89 75 dc             	mov    %esi,-0x24(%ebp)
40c52e:	3b f1                	cmp    %ecx,%esi