40910c:	47                   	inc    %edi
40910d:	89 31                	mov    %esi,(%ecx)
40910f:	8b cf                	mov    %edi,%ecx
409111:	48                   	dec    %eax
409112:	79 de                	jns    0x4090f2
409114:	8b 4d f0             	mov    -0x10(%ebp),%ecx
409117:	83 c8 ff             	or     $0xffffffff,%eax
40911a:	d3 e0                	shl    %cl,%eax
40911c:	21 03                	and    %eax,(%ebx)
40911e:	8b 45 f4             	mov    -0xc(%ebp),%eax
409121:	40                   	inc    %eax
409122:	83 f8 03             	cmp    $0x3,%eax
409125:	7d 0d                	jge    0x409134
409127:	6a 03                	push   $0x3
409129:	59                   	pop    %ecx
40912a:	8d 7c 85 e0          	lea    -0x20(%ebp,%eax,4),%edi
40912e:	2b c8                	sub    %eax,%ecx
409130:	33 c0                	xor    %eax,%eax
409132:	f3 ab                	rep stos %eax,%es:(%edi)
409134:	8b 0d 2c fd 41 00    	mov    0x41fd2c,%ecx
40913a:	41                   	inc    %ecx
40913b:	8b c1                	mov    %ecx,%eax
40913d:	99                   	cltd
40913e:	83 e2 1f             	and    $0x1f,%edx
409141:	03 c2                	add    %edx,%eax
409143:	8b d1                	mov    %ecx,%edx
409145:	c1 f8 05             	sar    $0x5,%eax
409148:	81 e2 1f 00 00 80    	and    $0x8000001f,%edx
40914e:	79 05                	jns    0x409155
409150:	4a                   	dec    %edx
409151:	83 ca e0             	or     $0xffffffe0,%edx
409154:	42                   	inc    %edx
409155:	83 65 f4 00          	andl   $0x0,-0xc(%ebp)
409159:	83 65 08 00          	andl   $0x0,0x8(%ebp)
40915d:	83 cf ff             	or     $0xffffffff,%edi
409160:	8b ca                	mov    %edx,%ecx
409162:	d3 e7                	shl    %cl,%edi
409164:	c7 45 fc 20 00 00 00 	movl   $0x20,-0x4(%ebp)
40916b:	29 55 fc             	sub    %edx,-0x4(%ebp)
40916e:	f7 d7                	not    %edi
409170:	8b 5d 08             	mov    0x8(%ebp),%ebx
409173:	8d 5c 9d e0          	lea    -0x20(%ebp,%ebx,4),%ebx
409177:	8b 33                	mov    (%ebx),%esi
409179:	8b ce                	mov    %esi,%ecx
40917b:	23 cf                	and    %edi,%ecx
40917d:	89 4d f0             	mov    %ecx,-0x10(%ebp)
409180:	8b ca                	mov    %edx,%ecx
409182:	d3 ee                	shr    %cl,%esi
409184:	8b 4d fc             	mov    -0x4(%ebp),%ecx
409187:	0b 75 f4             	or     -0xc(%ebp),%esi
40918a:	89 33                	mov    %esi,(%ebx)
40918c:	8b 75 f0             	mov    -0x10(%ebp),%esi
40918f:	d3 e6                	shl    %cl,%esi
409191:	ff 45 08             	incl   0x8(%ebp)
409194:	83 7d 08 03          	cmpl   $0x3,0x8(%ebp)
409198:	89 75 f4             	mov    %esi,-0xc(%ebp)
40919b:	7c d3                	jl     0x409170
40919d:	8b f0                	mov    %eax,%esi
40919f:	6a 02                	push   $0x2
4091a1:	c1 e6 02             	shl    $0x2,%esi
4091a4:	8d 4d e8             	lea    -0x18(%ebp),%ecx
4091a7:	5a                   	pop    %edx
4091a8:	2b ce                	sub    %esi,%ecx
4091aa:	3b d0                	cmp    %eax,%edx
4091ac:	7c 08                	jl     0x4091b6
4091ae:	8b 31                	mov    (%ecx),%esi
4091b0:	89 74 95 e0          	mov    %esi,-0x20(%ebp,%edx,4)
4091b4:	eb 05                	jmp    0x4091bb
4091b6:	83 64 95 e0 00       	andl   $0x0,-0x20(%ebp,%edx,4)
4091bb:	4a                   	dec    %edx
4091bc:	83 e9 04             	sub    $0x4,%ecx
4091bf:	85 d2                	test   %edx,%edx
4091c1:	7d e7                	jge    0x4091aa
4091c3:	6a 02                	push   $0x2
4091c5:	33 db                	xor    %ebx,%ebx
4091c7:	58                   	pop    %eax
4091c8:	e9 5a 01 00 00       	jmp    0x409327
4091cd:	3b 1d 20 fd 41 00    	cmp    0x41fd20,%ebx
4091d3:	8b 0d 2c fd 41 00    	mov    0x41fd2c,%ecx
4091d9:	0f 8c ad 00 00 00    	jl     0x40928c
4091df:	33 c0                	xor    %eax,%eax
4091e1:	8d 7d e0             	lea    -0x20(%ebp),%edi
4091e4:	ab                   	stos   %eax,%es:(%edi)
4091e5:	ab                   	stos   %eax,%es:(%edi)
4091e6:	ab                   	stos   %eax,%es:(%edi)
4091e7:	81 4d e0 00 00 00 80 	orl    $0x80000000,-0x20(%ebp)
4091ee:	8b c1                	mov    %ecx,%eax
4091f0:	99                   	cltd
4091f1:	83 e2 1f             	and    $0x1f,%edx
4091f4:	03 c2                	add    %edx,%eax
4091f6:	8b d1                	mov    %ecx,%edx
4091f8:	c1 f8 05             	sar    $0x5,%eax
4091fb:	81 e2 1f 00 00 80    	and    $0x8000001f,%edx
409201:	79 05                	jns    0x409208
409203:	4a                   	dec    %edx
409204:	83 ca e0             	or     $0xffffffe0,%edx
409207:	42                   	inc    %edx
409208:	83 65 f4 00          	andl   $0x0,-0xc(%ebp)
40920c:	83 65 08 00          	andl   $0x0,0x8(%ebp)
409210:	83 cf ff             	or     $0xffffffff,%edi
409213:	8b ca                	mov    %edx,%ecx
409215:	d3 e7                	shl    %cl,%edi
409217:	c7 45 fc 20 00 00 00 	movl   $0x20,-0x4(%ebp)
40921e:	29 55 fc             	sub    %edx,-0x4(%ebp)
409221:	f7 d7                	not    %edi
409223:	8b 5d 08             	mov    0x8(%ebp),%ebx
409226:	8d 5c 9d e0          	lea    -0x20(%ebp,%ebx,4),%ebx
40922a:	8b 33                	mov    (%ebx),%esi
40922c:	8b ce                	mov    %esi,%ecx
40922e:	23 cf                	and    %edi,%ecx
409230:	89 4d f0             	mov    %ecx,-0x10(%ebp)
409233:	8b ca                	mov    %edx,%ecx
409235:	d3 ee                	shr    %cl,%esi
409237:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40923a:	0b 75 f4             	or     -0xc(%ebp),%esi
40923d:	89 33                	mov    %esi,(%ebx)
40923f:	8b 75 f0             	mov    -0x10(%ebp),%esi
409242:	d3 e6                	shl    %cl,%esi
409244:	ff 45 08             	incl   0x8(%ebp)
409247:	83 7d 08 03          	cmpl   $0x3,0x8(%ebp)
40924b:	89 75 f4             	mov    %esi,-0xc(%ebp)
40924e:	7c d3                	jl     0x409223
409250:	8b f0                	mov    %eax,%esi
409252:	6a 02                	push   $0x2
409254:	c1 e6 02             	shl    $0x2,%esi
409257:	8d 4d e8             	lea    -0x18(%ebp),%ecx
40925a:	5a                   	pop    %edx
40925b:	2b ce                	sub    %esi,%ecx
40925d:	3b d0                	cmp    %eax,%edx
40925f:	7c 08                	jl     0x409269
409261:	8b 31                	mov    (%ecx),%esi
409263:	89 74 95 e0          	mov    %esi,-0x20(%ebp,%edx,4)
409267:	eb 05                	jmp    0x40926e
409269:	83 64 95 e0 00       	andl   $0x0,-0x20(%ebp,%edx,4)
40926e:	4a                   	dec    %edx
40926f:	83 e9 04             	sub    $0x4,%ecx
409272:	85 d2                	test   %edx,%edx
409274:	7d e7                	jge    0x40925d
409276:	a1 20 fd 41 00       	mov    0x41fd20,%eax
40927b:	8b 0d 34 fd 41 00    	mov    0x41fd34,%ecx
409281:	8d 1c 01             	lea    (%ecx,%eax,1),%ebx
409284:	33 c0                	xor    %eax,%eax
409286:	40                   	inc    %eax
409287:	e9 9b 00 00 00       	jmp    0x409327
40928c:	a1 34 fd 41 00       	mov    0x41fd34,%eax
409291:	81 65 e0 ff ff ff 7f 	andl   $0x7fffffff,-0x20(%ebp)
409298:	03 d8                	add    %eax,%ebx
40929a:	8b c1                	mov    %ecx,%eax
40929c:	99                   	cltd
40929d:	83 e2 1f             	and    $0x1f,%edx
4092a0:	03 c2                	add    %edx,%eax
4092a2:	8b d1                	mov    %ecx,%edx
4092a4:	c1 f8 05             	sar    $0x5,%eax
4092a7:	81 e2 1f 00 00 80    	and    $0x8000001f,%edx
4092ad:	79 05                	jns    0x4092b4
4092af:	4a                   	dec    %edx
4092b0:	83 ca e0             	or     $0xffffffe0,%edx
4092b3:	42                   	inc    %edx
4092b4:	83 65 f4 00          	andl   $0x0,-0xc(%ebp)
4092b8:	83 65 08 00          	andl   $0x0,0x8(%ebp)
4092bc:	83 ce ff             	or     $0xffffffff,%esi
4092bf:	8b ca                	mov    %edx,%ecx
4092c1:	d3 e6                	shl    %cl,%esi
4092c3:	c7 45 fc 20 00 00 00 	movl   $0x20,-0x4(%ebp)
4092ca:	29 55 fc             	sub    %edx,-0x4(%ebp)
4092cd:	f7 d6                	not    %esi
4092cf:	8b 4d 08             	mov    0x8(%ebp),%ecx
4092d2:	8b 7c 8d e0          	mov    -0x20(%ebp,%ecx,4),%edi
4092d6:	8b cf                	mov    %edi,%ecx
4092d8:	23 ce                	and    %esi,%ecx
4092da:	89 4d f0             	mov    %ecx,-0x10(%ebp)
4092dd:	8b ca                	mov    %edx,%ecx
4092df:	d3 ef                	shr    %cl,%edi
4092e1:	8b 4d 08             	mov    0x8(%ebp),%ecx
4092e4:	0b 7d f4             	or     -0xc(%ebp),%edi
4092e7:	89 7c 8d e0          	mov    %edi,-0x20(%ebp,%ecx,4)
4092eb:	8b 7d f0             	mov    -0x10(%ebp),%edi
4092ee:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4092f1:	d3 e7                	shl    %cl,%edi
4092f3:	ff 45 08             	incl   0x8(%ebp)
4092f6:	83 7d 08 03          	cmpl   $0x3,0x8(%ebp)
4092fa:	89 7d f4             	mov    %edi,-0xc(%ebp)
4092fd:	7c d0                	jl     0x4092cf
4092ff:	8b f0                	mov    %eax,%esi
409301:	6a 02                	push   $0x2
409303:	c1 e6 02             	shl    $0x2,%esi
409306:	8d 4d e8             	lea    -0x18(%ebp),%ecx
409309:	5a                   	pop    %edx
40930a:	2b ce                	sub    %esi,%ecx
40930c:	3b d0                	cmp    %eax,%edx
40930e:	7c 08                	jl     0x409318
409310:	8b 31                	mov    (%ecx),%esi
409312:	89 74 95 e0          	mov    %esi,-0x20(%ebp,%edx,4)
409316:	eb 05                	jmp    0x40931d
409318:	83 64 95 e0 00       	andl   $0x0,-0x20(%ebp,%edx,4)
40931d:	4a                   	dec    %edx
40931e:	83 e9 04             	sub    $0x4,%ecx
409321:	85 d2                	test   %edx,%edx
409323:	7d e7                	jge    0x40930c
409325:	33 c0                	xor    %eax,%eax
409327:	5e                   	pop    %esi
409328:	6a 1f                	push   $0x1f
40932a:	59                   	pop    %ecx
40932b:	2b 0d 2c fd 41 00    	sub    0x41fd2c,%ecx
409331:	d3 e3                	shl    %cl,%ebx
409333:	8b 4d ec             	mov    -0x14(%ebp),%ecx
409336:	f7 d9                	neg    %ecx
409338:	1b c9                	sbb    %ecx,%ecx
40933a:	81 e1 00 00 00 80    	and    $0x80000000,%ecx
409340:	0b d9                	or     %ecx,%ebx
409342:	8b 0d 30 fd 41 00    	mov    0x41fd30,%ecx
409348:	0b 5d e0             	or     -0x20(%ebp),%ebx
40934b:	83 f9 40             	cmp    $0x40,%ecx
40934e:	75 0d                	jne    0x40935d
409350:	8b 4d 0c             	mov    0xc(%ebp),%ecx
409353:	8b 55 e4             	mov    -0x1c(%ebp),%edx
409356:	89 59 04             	mov    %ebx,0x4(%ecx)
409359:	89 11                	mov    %edx,(%ecx)
40935b:	eb 0a                	jmp    0x409367
40935d:	83 f9 20             	cmp    $0x20,%ecx
409360:	75 05                	jne    0x409367
409362:	8b 4d 0c             	mov    0xc(%ebp),%ecx
409365:	89 19                	mov    %ebx,(%ecx)
409367:	5f                   	pop    %edi
409368:	5b                   	pop    %ebx
409369:	c9                   	leave
40936a:	c3                   	ret
40936b:	8b ff                	mov    %edi,%edi
40936d:	55                   	push   %ebp
40936e:	8b ec                	mov    %esp,%ebp
409370:	83 ec 2c             	sub    $0x2c,%esp
409373:	8b 45 08             	mov    0x8(%ebp),%eax
409376:	0f b7 48 0a          	movzwl 0xa(%eax),%ecx
40937a:	53                   	push   %ebx
40937b:	8b d9                	mov    %ecx,%ebx
40937d:	81 e1 00 80 00 00    	and    $0x8000,%ecx
409383:	89 4d ec             	mov    %ecx,-0x14(%ebp)
409386:	8b 48 06             	mov    0x6(%eax),%ecx
409389:	89 4d e0             	mov    %ecx,-0x20(%ebp)
40938c:	8b 48 02             	mov    0x2(%eax),%ecx
40938f:	0f b7 00             	movzwl (%eax),%eax
409392:	81 e3 ff 7f 00 00    	and    $0x7fff,%ebx
409398:	81 eb ff 3f 00 00    	sub    $0x3fff,%ebx
40939e:	c1 e0 10             	shl    $0x10,%eax
4093a1:	57                   	push   %edi
4093a2:	89 4d e4             	mov    %ecx,-0x1c(%ebp)
4093a5:	89 45 e8             	mov    %eax,-0x18(%ebp)
4093a8:	81 fb 01 c0 ff ff    	cmp    $0xffffc001,%ebx
4093ae:	75 27                	jne    0x4093d7
4093b0:	33 db                	xor    %ebx,%ebx
4093b2:	33 c0                	xor    %eax,%eax
4093b4:	39 5c 85 e0          	cmp    %ebx,-0x20(%ebp,%eax,4)
4093b8:	75 0d                	jne    0x4093c7
4093ba:	40                   	inc    %eax
4093bb:	83 f8 03             	cmp    $0x3,%eax
4093be:	7c f4                	jl     0x4093b4
4093c0:	33 c0                	xor    %eax,%eax
4093c2:	e9 a5 04 00 00       	jmp    0x40986c
4093c7:	33 c0                	xor    %eax,%eax
4093c9:	8d 7d e0             	lea    -0x20(%ebp),%edi
4093cc:	ab                   	stos   %eax,%es:(%edi)
4093cd:	ab                   	stos   %eax,%es:(%edi)
4093ce:	6a 02                	push   $0x2
4093d0:	ab                   	stos   %eax,%es:(%edi)
4093d1:	58                   	pop    %eax
4093d2:	e9 95 04 00 00       	jmp    0x40986c
4093d7:	83 65 08 00          	andl   $0x0,0x8(%ebp)
4093db:	56                   	push   %esi
4093dc:	8d 75 e0             	lea    -0x20(%ebp),%esi
4093df:	8d 7d d4             	lea    -0x2c(%ebp),%edi
4093e2:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4093e3:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4093e4:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4093e5:	8b 35 40 fd 41 00    	mov    0x41fd40,%esi
4093eb:	4e                   	dec    %esi
4093ec:	8d 4e 01             	lea    0x1(%esi),%ecx
4093ef:	8b c1                	mov    %ecx,%eax
4093f1:	99                   	cltd
4093f2:	83 e2 1f             	and    $0x1f,%edx
4093f5:	03 c2                	add    %edx,%eax
4093f7:	c1 f8 05             	sar    $0x5,%eax
4093fa:	8b d1                	mov    %ecx,%edx
4093fc:	81 e2 1f 00 00 80    	and    $0x8000001f,%edx
409402:	89 5d f0             	mov    %ebx,-0x10(%ebp)
409405:	89 45 f4             	mov    %eax,-0xc(%ebp)
409408:	79 05                	jns    0x40940f
40940a:	4a                   	dec    %edx
40940b:	83 ca e0             	or     $0xffffffe0,%edx
40940e:	42                   	inc    %edx
40940f:	8d 7c 85 e0          	lea    -0x20(%ebp,%eax,4),%edi
409413:	6a 1f                	push   $0x1f
409415:	33 c0                	xor    %eax,%eax
409417:	59                   	pop    %ecx
409418:	2b ca                	sub    %edx,%ecx
40941a:	40                   	inc    %eax
40941b:	d3 e0                	shl    %cl,%eax
40941d:	89 4d f8             	mov    %ecx,-0x8(%ebp)
409420:	85 07                	test   %eax,(%edi)
409422:	0f 84 8d 00 00 00    	je     0x4094b5
409428:	8b 45 f4             	mov    -0xc(%ebp),%eax
40942b:	83 ca ff             	or     $0xffffffff,%edx
40942e:	d3 e2                	shl    %cl,%edx
409430:	f7 d2                	not    %edx
409432:	85 54 85 e0          	test   %edx,-0x20(%ebp,%eax,4)
409436:	eb 05                	jmp    0x40943d
409438:	83 7c 85 e0 00       	cmpl   $0x0,-0x20(%ebp,%eax,4)
40943d:	75 08                	jne    0x409447
40943f:	40                   	inc    %eax
409440:	83 f8 03             	cmp    $0x3,%eax
409443:	7c f3                	jl     0x409438
409445:	eb 6e                	jmp    0x4094b5
409447:	8b c6                	mov    %esi,%eax
409449:	99                   	cltd
40944a:	6a 1f                	push   $0x1f
40944c:	59                   	pop    %ecx
40944d:	23 d1                	and    %ecx,%edx
40944f:	03 c2                	add    %edx,%eax
409451:	c1 f8 05             	sar    $0x5,%eax
409454:	81 e6 1f 00 00 80    	and    $0x8000001f,%esi
40945a:	79 05                	jns    0x409461
40945c:	4e                   	dec    %esi
40945d:	83 ce e0             	or     $0xffffffe0,%esi
409460:	46                   	inc    %esi
409461:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
409465:	2b ce                	sub    %esi,%ecx
409467:	33 d2                	xor    %edx,%edx
409469:	42                   	inc    %edx
40946a:	d3 e2                	shl    %cl,%edx
40946c:	8d 4c 85 e0          	lea    -0x20(%ebp,%eax,4),%ecx
409470:	8b 31                	mov    (%ecx),%esi
409472:	03 f2                	add    %edx,%esi
409474:	89 75 08             	mov    %esi,0x8(%ebp)
409477:	8b 31                	mov    (%ecx),%esi
409479:	39 75 08             	cmp    %esi,0x8(%ebp)
40947c:	72 22                	jb     0x4094a0
40947e:	39 55 08             	cmp    %edx,0x8(%ebp)
409481:	eb 1b                	jmp    0x40949e
409483:	85 c9                	test   %ecx,%ecx
409485:	74 2b                	je     0x4094b2
409487:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40948b:	8d 4c 85 e0          	lea    -0x20(%ebp,%eax,4),%ecx
40948f:	8b 11                	mov    (%ecx),%edx
409491:	8d 72 01             	lea    0x1(%edx),%esi
409494:	89 75 08             	mov    %esi,0x8(%ebp)
409497:	3b f2                	cmp    %edx,%esi
409499:	72 05                	jb     0x4094a0
40949b:	83 fe 01             	cmp    $0x1,%esi
40949e:	73 07                	jae    0x4094a7
4094a0:	c7 45 fc 01 00 00 00 	movl   $0x1,-0x4(%ebp)
4094a7:	48                   	dec    %eax