40e144:	74 07                	je     0x40e14d
40e146:	c6 02 00             	movb   $0x0,(%edx)
40e149:	42                   	inc    %edx
40e14a:	89 55 0c             	mov    %edx,0xc(%ebp)
40e14d:	ff 07                	incl   (%edi)
40e14f:	8b 4d 10             	mov    0x10(%ebp),%ecx
40e152:	e9 0e ff ff ff       	jmp    0x40e065
40e157:	8b 45 08             	mov    0x8(%ebp),%eax
40e15a:	85 c0                	test   %eax,%eax
40e15c:	5e                   	pop    %esi
40e15d:	5b                   	pop    %ebx
40e15e:	74 03                	je     0x40e163
40e160:	83 20 00             	andl   $0x0,(%eax)
40e163:	ff 01                	incl   (%ecx)
40e165:	c9                   	leave
40e166:	c3                   	ret
40e167:	55                   	push   %ebp
40e168:	8b ec                	mov    %esp,%ebp
40e16a:	83 ec 0c             	sub    $0xc,%esp
40e16d:	53                   	push   %ebx
40e16e:	33 db                	xor    %ebx,%ebx
40e170:	39 1d cc e5 41 00    	cmp    %ebx,0x41e5cc
40e176:	56                   	push   %esi
40e177:	57                   	push   %edi
40e178:	75 05                	jne    0x40e17f
40e17a:	e8 b1 22 00 00       	call   0x410430
40e17f:	68 04 01 00 00       	push   $0x104
40e184:	be 18 e2 41 00       	mov    $0x41e218,%esi
40e189:	56                   	push   %esi
40e18a:	53                   	push   %ebx
40e18b:	88 1d 1c e3 41 00    	mov    %bl,0x41e31c
40e191:	ff 15 24 71 41 00    	call   *0x417124
40e197:	a1 04 f6 41 00       	mov    0x41f604,%eax
40e19c:	3b c3                	cmp    %ebx,%eax
40e19e:	89 35 e8 de 41 00    	mov    %esi,0x41dee8
40e1a4:	74 07                	je     0x40e1ad
40e1a6:	38 18                	cmp    %bl,(%eax)
40e1a8:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e1ab:	75 03                	jne    0x40e1b0
40e1ad:	89 75 fc             	mov    %esi,-0x4(%ebp)
40e1b0:	8b 55 fc             	mov    -0x4(%ebp),%edx
40e1b3:	8d 45 f8             	lea    -0x8(%ebp),%eax
40e1b6:	50                   	push   %eax
40e1b7:	53                   	push   %ebx
40e1b8:	53                   	push   %ebx
40e1b9:	8d 7d f4             	lea    -0xc(%ebp),%edi
40e1bc:	e8 0e fe ff ff       	call   0x40dfcf
40e1c1:	8b 45 f8             	mov    -0x8(%ebp),%eax
40e1c4:	83 c4 0c             	add    $0xc,%esp
40e1c7:	3d ff ff ff 3f       	cmp    $0x3fffffff,%eax
40e1cc:	73 4a                	jae    0x40e218
40e1ce:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40e1d1:	83 f9 ff             	cmp    $0xffffffff,%ecx
40e1d4:	73 42                	jae    0x40e218
40e1d6:	8b f8                	mov    %eax,%edi
40e1d8:	c1 e7 02             	shl    $0x2,%edi
40e1db:	8d 04 0f             	lea    (%edi,%ecx,1),%eax
40e1de:	3b c1                	cmp    %ecx,%eax
40e1e0:	72 36                	jb     0x40e218
40e1e2:	50                   	push   %eax
40e1e3:	e8 04 b1 ff ff       	call   0x4092ec
40e1e8:	8b f0                	mov    %eax,%esi
40e1ea:	3b f3                	cmp    %ebx,%esi
40e1ec:	59                   	pop    %ecx
40e1ed:	74 29                	je     0x40e218
40e1ef:	8b 55 fc             	mov    -0x4(%ebp),%edx
40e1f2:	8d 45 f8             	lea    -0x8(%ebp),%eax
40e1f5:	50                   	push   %eax
40e1f6:	03 fe                	add    %esi,%edi
40e1f8:	57                   	push   %edi
40e1f9:	56                   	push   %esi
40e1fa:	8d 7d f4             	lea    -0xc(%ebp),%edi
40e1fd:	e8 cd fd ff ff       	call   0x40dfcf
40e202:	8b 45 f8             	mov    -0x8(%ebp),%eax
40e205:	83 c4 0c             	add    $0xc,%esp
40e208:	48                   	dec    %eax
40e209:	a3 cc de 41 00       	mov    %eax,0x41decc
40e20e:	89 35 d0 de 41 00    	mov    %esi,0x41ded0
40e214:	33 c0                	xor    %eax,%eax
40e216:	eb 03                	jmp    0x40e21b
40e218:	83 c8 ff             	or     $0xffffffff,%eax
40e21b:	5f                   	pop    %edi
40e21c:	5e                   	pop    %esi
40e21d:	5b                   	pop    %ebx
40e21e:	c9                   	leave
40e21f:	c3                   	ret
40e220:	51                   	push   %ecx
40e221:	51                   	push   %ecx
40e222:	a1 20 e3 41 00       	mov    0x41e320,%eax
40e227:	53                   	push   %ebx
40e228:	55                   	push   %ebp
40e229:	56                   	push   %esi
40e22a:	57                   	push   %edi
40e22b:	8b 3d 34 71 41 00    	mov    0x417134,%edi
40e231:	33 db                	xor    %ebx,%ebx
40e233:	33 f6                	xor    %esi,%esi
40e235:	3b c3                	cmp    %ebx,%eax
40e237:	6a 02                	push   $0x2
40e239:	5d                   	pop    %ebp
40e23a:	75 2d                	jne    0x40e269
40e23c:	ff d7                	call   *%edi
40e23e:	8b f0                	mov    %eax,%esi
40e240:	3b f3                	cmp    %ebx,%esi
40e242:	74 0c                	je     0x40e250
40e244:	c7 05 20 e3 41 00 01 	movl   $0x1,0x41e320
40e24b:	00 00 00
40e24e:	eb 22                	jmp    0x40e272
40e250:	ff 15 b0 70 41 00    	call   *0x4170b0
40e256:	83 f8 78             	cmp    $0x78,%eax
40e259:	75 09                	jne    0x40e264
40e25b:	8b c5                	mov    %ebp,%eax
40e25d:	a3 20 e3 41 00       	mov    %eax,0x41e320
40e262:	eb 05                	jmp    0x40e269
40e264:	a1 20 e3 41 00       	mov    0x41e320,%eax
40e269:	83 f8 01             	cmp    $0x1,%eax
40e26c:	0f 85 84 00 00 00    	jne    0x40e2f6
40e272:	3b f3                	cmp    %ebx,%esi
40e274:	75 0f                	jne    0x40e285
40e276:	ff d7                	call   *%edi
40e278:	8b f0                	mov    %eax,%esi
40e27a:	3b f3                	cmp    %ebx,%esi
40e27c:	75 07                	jne    0x40e285
40e27e:	33 c0                	xor    %eax,%eax
40e280:	e9 c9 00 00 00       	jmp    0x40e34e
40e285:	66 39 1e             	cmp    %bx,(%esi)
40e288:	8b c6                	mov    %esi,%eax
40e28a:	74 0e                	je     0x40e29a
40e28c:	03 c5                	add    %ebp,%eax
40e28e:	66 39 18             	cmp    %bx,(%eax)
40e291:	75 f9                	jne    0x40e28c
40e293:	03 c5                	add    %ebp,%eax
40e295:	66 39 18             	cmp    %bx,(%eax)
40e298:	75 f2                	jne    0x40e28c
40e29a:	8b 3d 90 70 41 00    	mov    0x417090,%edi
40e2a0:	53                   	push   %ebx
40e2a1:	53                   	push   %ebx
40e2a2:	53                   	push   %ebx
40e2a3:	2b c6                	sub    %esi,%eax
40e2a5:	53                   	push   %ebx
40e2a6:	d1 f8                	sar    $1,%eax
40e2a8:	40                   	inc    %eax
40e2a9:	50                   	push   %eax
40e2aa:	56                   	push   %esi
40e2ab:	53                   	push   %ebx
40e2ac:	53                   	push   %ebx
40e2ad:	89 44 24 34          	mov    %eax,0x34(%esp)
40e2b1:	ff d7                	call   *%edi
40e2b3:	8b e8                	mov    %eax,%ebp
40e2b5:	3b eb                	cmp    %ebx,%ebp
40e2b7:	74 32                	je     0x40e2eb
40e2b9:	55                   	push   %ebp
40e2ba:	e8 2d b0 ff ff       	call   0x4092ec
40e2bf:	3b c3                	cmp    %ebx,%eax
40e2c1:	59                   	pop    %ecx
40e2c2:	89 44 24 10          	mov    %eax,0x10(%esp)
40e2c6:	74 23                	je     0x40e2eb
40e2c8:	53                   	push   %ebx
40e2c9:	53                   	push   %ebx
40e2ca:	55                   	push   %ebp
40e2cb:	50                   	push   %eax
40e2cc:	ff 74 24 24          	push   0x24(%esp)
40e2d0:	56                   	push   %esi
40e2d1:	53                   	push   %ebx
40e2d2:	53                   	push   %ebx
40e2d3:	ff d7                	call   *%edi
40e2d5:	85 c0                	test   %eax,%eax
40e2d7:	75 0e                	jne    0x40e2e7
40e2d9:	ff 74 24 10          	push   0x10(%esp)
40e2dd:	e8 71 81 ff ff       	call   0x406453
40e2e2:	59                   	pop    %ecx
40e2e3:	89 5c 24 10          	mov    %ebx,0x10(%esp)
40e2e7:	8b 5c 24 10          	mov    0x10(%esp),%ebx
40e2eb:	56                   	push   %esi
40e2ec:	ff 15 30 71 41 00    	call   *0x417130
40e2f2:	8b c3                	mov    %ebx,%eax
40e2f4:	eb 58                	jmp    0x40e34e
40e2f6:	3b c5                	cmp    %ebp,%eax
40e2f8:	74 04                	je     0x40e2fe
40e2fa:	3b c3                	cmp    %ebx,%eax
40e2fc:	75 80                	jne    0x40e27e
40e2fe:	ff 15 2c 71 41 00    	call   *0x41712c
40e304:	8b f0                	mov    %eax,%esi
40e306:	3b f3                	cmp    %ebx,%esi
40e308:	0f 84 70 ff ff ff    	je     0x40e27e
40e30e:	38 1e                	cmp    %bl,(%esi)
40e310:	74 0a                	je     0x40e31c
40e312:	40                   	inc    %eax
40e313:	38 18                	cmp    %bl,(%eax)
40e315:	75 fb                	jne    0x40e312
40e317:	40                   	inc    %eax
40e318:	38 18                	cmp    %bl,(%eax)
40e31a:	75 f6                	jne    0x40e312
40e31c:	2b c6                	sub    %esi,%eax
40e31e:	40                   	inc    %eax
40e31f:	8b e8                	mov    %eax,%ebp
40e321:	55                   	push   %ebp
40e322:	e8 c5 af ff ff       	call   0x4092ec
40e327:	8b f8                	mov    %eax,%edi
40e329:	3b fb                	cmp    %ebx,%edi
40e32b:	59                   	pop    %ecx
40e32c:	75 0c                	jne    0x40e33a
40e32e:	56                   	push   %esi
40e32f:	ff 15 28 71 41 00    	call   *0x417128
40e335:	e9 44 ff ff ff       	jmp    0x40e27e
40e33a:	55                   	push   %ebp
40e33b:	56                   	push   %esi
40e33c:	57                   	push   %edi
40e33d:	e8 8e 78 ff ff       	call   0x405bd0
40e342:	83 c4 0c             	add    $0xc,%esp
40e345:	56                   	push   %esi
40e346:	ff 15 28 71 41 00    	call   *0x417128
40e34c:	8b c7                	mov    %edi,%eax
40e34e:	5f                   	pop    %edi
40e34f:	5e                   	pop    %esi
40e350:	5d                   	pop    %ebp
40e351:	5b                   	pop    %ebx
40e352:	59                   	pop    %ecx
40e353:	59                   	pop    %ecx
40e354:	c3                   	ret
40e355:	6a 54                	push   $0x54
40e357:	68 d8 ac 41 00       	push   $0x41acd8
40e35c:	e8 e7 f2 ff ff       	call   0x40d648
40e361:	33 ff                	xor    %edi,%edi
40e363:	89 7d fc             	mov    %edi,-0x4(%ebp)
40e366:	8d 45 9c             	lea    -0x64(%ebp),%eax
40e369:	50                   	push   %eax
40e36a:	ff 15 c8 70 41 00    	call   *0x4170c8
40e370:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40e377:	6a 28                	push   $0x28
40e379:	6a 20                	push   $0x20
40e37b:	5e                   	pop    %esi
40e37c:	56                   	push   %esi
40e37d:	e8 aa af ff ff       	call   0x40932c
40e382:	59                   	pop    %ecx
40e383:	59                   	pop    %ecx
40e384:	3b c7                	cmp    %edi,%eax
40e386:	0f 84 00 02 00 00    	je     0x40e58c
40e38c:	a3 c0 e4 41 00       	mov    %eax,0x41e4c0
40e391:	89 35 b4 e4 41 00    	mov    %esi,0x41e4b4
40e397:	8d 88 00 05 00 00    	lea    0x500(%eax),%ecx
40e39d:	eb 29                	jmp    0x40e3c8
40e39f:	c6 40 04 00          	movb   $0x0,0x4(%eax)
40e3a3:	83 08 ff             	orl    $0xffffffff,(%eax)
40e3a6:	c6 40 05 0a          	movb   $0xa,0x5(%eax)
40e3aa:	89 78 08             	mov    %edi,0x8(%eax)
40e3ad:	c6 40 24 00          	movb   $0x0,0x24(%eax)
40e3b1:	c6 40 25 0a          	movb   $0xa,0x25(%eax)
40e3b5:	c6 40 26 0a          	movb   $0xa,0x26(%eax)
40e3b9:	83 c0 28             	add    $0x28,%eax
40e3bc:	8b 0d c0 e4 41 00    	mov    0x41e4c0,%ecx
40e3c2:	81 c1 00 05 00 00    	add    $0x500,%ecx
40e3c8:	3b c1                	cmp    %ecx,%eax
40e3ca:	72 d3                	jb     0x40e39f
40e3cc:	66 39 7d ce          	cmp    %di,-0x32(%ebp)
40e3d0:	0f 84 fd 00 00 00    	je     0x40e4d3
40e3d6:	8b 45 d0             	mov    -0x30(%ebp),%eax
40e3d9:	3b c7                	cmp    %edi,%eax
40e3db:	0f 84 f2 00 00 00    	je     0x40e4d3
40e3e1:	8b 38                	mov    (%eax),%edi
40e3e3:	8d 58 04             	lea    0x4(%eax),%ebx
40e3e6:	8d 04 3b             	lea    (%ebx,%edi,1),%eax
40e3e9:	89 45 e4             	mov    %eax,-0x1c(%ebp)
40e3ec:	b8 00 08 00 00       	mov    $0x800,%eax
40e3f1:	3b f8                	cmp    %eax,%edi
40e3f3:	7c 02                	jl     0x40e3f7
40e3f5:	8b f8                	mov    %eax,%edi
40e3f7:	33 f6                	xor    %esi,%esi
40e3f9:	46                   	inc    %esi
40e3fa:	eb 52                	jmp    0x40e44e
40e3fc:	6a 28                	push   $0x28
40e3fe:	6a 20                	push   $0x20
40e400:	e8 27 af ff ff       	call   0x40932c
40e405:	59                   	pop    %ecx
40e406:	59                   	pop    %ecx
40e407:	85 c0                	test   %eax,%eax
40e409:	74 4d                	je     0x40e458
40e40b:	8d 0c b5 c0 e4 41 00 	lea    0x41e4c0(,%esi,4),%ecx
40e412:	89 01                	mov    %eax,(%ecx)
40e414:	83 05 b4 e4 41 00 20 	addl   $0x20,0x41e4b4
40e41b:	8d 90 00 05 00 00    	lea    0x500(%eax),%edx
40e421:	eb 26                	jmp    0x40e449
40e423:	c6 40 04 00          	movb   $0x0,0x4(%eax)
40e427:	83 08 ff             	orl    $0xffffffff,(%eax)
40e42a:	c6 40 05 0a          	movb   $0xa,0x5(%eax)
40e42e:	83 60 08 00          	andl   $0x0,0x8(%eax)
40e432:	80 60 24 80          	andb   $0x80,0x24(%eax)
40e436:	c6 40 25 0a          	movb   $0xa,0x25(%eax)
40e43a:	c6 40 26 0a          	movb   $0xa,0x26(%eax)
40e43e:	83 c0 28             	add    $0x28,%eax
40e441:	8b 11                	mov    (%ecx),%edx
40e443:	81 c2 00 05 00 00    	add    $0x500,%edx
40e449:	3b c2                	cmp    %edx,%eax
40e44b:	72 d6                	jb     0x40e423
40e44d:	46                   	inc    %esi
40e44e:	39 3d b4 e4 41 00    	cmp    %edi,0x41e4b4
40e454:	7c a6                	jl     0x40e3fc
40e456:	eb 06                	jmp    0x40e45e
40e458:	8b 3d b4 e4 41 00    	mov    0x41e4b4,%edi
40e45e:	83 65 e0 00          	andl   $0x0,-0x20(%ebp)
40e462:	85 ff                	test   %edi,%edi
40e464:	7e 6d                	jle    0x40e4d3
40e466:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40e469:	8b 08                	mov    (%eax),%ecx
40e46b:	83 f9 ff             	cmp    $0xffffffff,%ecx
40e46e:	74 56                	je     0x40e4c6
40e470:	83 f9 fe             	cmp    $0xfffffffe,%ecx
40e473:	74 51                	je     0x40e4c6
40e475:	8a 03                	mov    (%ebx),%al
40e477:	a8 01                	test   $0x1,%al
40e479:	74 4b                	je     0x40e4c6
40e47b:	a8 08                	test   $0x8,%al
40e47d:	75 0b                	jne    0x40e48a
40e47f:	51                   	push   %ecx
40e480:	ff 15 3c 71 41 00    	call   *0x41713c
40e486:	85 c0                	test   %eax,%eax
40e488:	74 3c                	je     0x40e4c6
40e48a:	8b 75 e0             	mov    -0x20(%ebp),%esi
40e48d:	8b c6                	mov    %esi,%eax
40e48f:	c1 f8 05             	sar    $0x5,%eax
40e492:	83 e6 1f             	and    $0x1f,%esi
40e495:	6b f6 28             	imul   $0x28,%esi,%esi
40e498:	03 34 85 c0 e4 41 00 	add    0x41e4c0(,%eax,4),%esi
40e49f:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40e4a2:	8b 00                	mov    (%eax),%eax
40e4a4:	89 06                	mov    %eax,(%esi)
40e4a6:	8a 03                	mov    (%ebx),%al
40e4a8:	88 46 04             	mov    %al,0x4(%esi)
40e4ab:	68 a0 0f 00 00       	push   $0xfa0
40e4b0:	8d 46 0c             	lea    0xc(%esi),%eax
40e4b3:	50                   	push   %eax
40e4b4:	e8 bc 5b 00 00       	call   0x414075
40e4b9:	59                   	pop    %ecx
40e4ba:	59                   	pop    %ecx
40e4bb:	85 c0                	test   %eax,%eax
40e4bd:	0f 84 c9 00 00 00    	je     0x40e58c
40e4c3:	ff 46 08             	incl   0x8(%esi)
40e4c6:	ff 45 e0             	incl   -0x20(%ebp)
40e4c9:	43                   	inc    %ebx
40e4ca:	83 45 e4 04          	addl   $0x4,-0x1c(%ebp)
40e4ce:	39 7d e0             	cmp    %edi,-0x20(%ebp)
40e4d1:	7c 93                	jl     0x40e466
40e4d3:	33 db                	xor    %ebx,%ebx
40e4d5:	8b f3                	mov    %ebx,%esi
40e4d7:	6b f6 28             	imul   $0x28,%esi,%esi
40e4da:	03 35 c0 e4 41 00    	add    0x41e4c0,%esi
40e4e0:	8b 06                	mov    (%esi),%eax
40e4e2:	83 f8 ff             	cmp    $0xffffffff,%eax
40e4e5:	74 0b                	je     0x40e4f2
40e4e7:	83 f8 fe             	cmp    $0xfffffffe,%eax
40e4ea:	74 06                	je     0x40e4f2