408f50:	89 75 08             	mov    %esi,0x8(%ebp)
408f53:	3b f2                	cmp    %edx,%esi
408f55:	72 05                	jb     0x408f5c
408f57:	83 fe 01             	cmp    $0x1,%esi
408f5a:	73 07                	jae    0x408f63
408f5c:	c7 45 fc 01 00 00 00 	movl   $0x1,-0x4(%ebp)
408f63:	48                   	dec    %eax
408f64:	8b 55 08             	mov    0x8(%ebp),%edx
408f67:	89 11                	mov    %edx,(%ecx)
408f69:	8b 4d fc             	mov    -0x4(%ebp),%ecx
408f6c:	79 d1                	jns    0x408f3f
408f6e:	89 4d 08             	mov    %ecx,0x8(%ebp)
408f71:	8b 4d f8             	mov    -0x8(%ebp),%ecx
408f74:	83 c8 ff             	or     $0xffffffff,%eax
408f77:	d3 e0                	shl    %cl,%eax
408f79:	21 07                	and    %eax,(%edi)
408f7b:	8b 45 f4             	mov    -0xc(%ebp),%eax
408f7e:	40                   	inc    %eax
408f7f:	83 f8 03             	cmp    $0x3,%eax
408f82:	7d 0d                	jge    0x408f91
408f84:	6a 03                	push   $0x3
408f86:	59                   	pop    %ecx
408f87:	8d 7c 85 e0          	lea    -0x20(%ebp,%eax,4),%edi
408f8b:	2b c8                	sub    %eax,%ecx
408f8d:	33 c0                	xor    %eax,%eax
408f8f:	f3 ab                	rep stos %eax,%es:(%edi)
408f91:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
408f95:	74 01                	je     0x408f98
408f97:	43                   	inc    %ebx
408f98:	a1 24 fd 41 00       	mov    0x41fd24,%eax
408f9d:	8b c8                	mov    %eax,%ecx
408f9f:	2b 0d 28 fd 41 00    	sub    0x41fd28,%ecx
408fa5:	3b d9                	cmp    %ecx,%ebx
408fa7:	7d 0d                	jge    0x408fb6
408fa9:	33 c0                	xor    %eax,%eax
408fab:	8d 7d e0             	lea    -0x20(%ebp),%edi
408fae:	ab                   	stos   %eax,%es:(%edi)
408faf:	ab                   	stos   %eax,%es:(%edi)
408fb0:	ab                   	stos   %eax,%es:(%edi)
408fb1:	e9 0d 02 00 00       	jmp    0x4091c3
408fb6:	3b d8                	cmp    %eax,%ebx
408fb8:	0f 8f 0f 02 00 00    	jg     0x4091cd
408fbe:	2b 45 f0             	sub    -0x10(%ebp),%eax
408fc1:	8d 75 d4             	lea    -0x2c(%ebp),%esi
408fc4:	8b c8                	mov    %eax,%ecx
408fc6:	8d 7d e0             	lea    -0x20(%ebp),%edi
408fc9:	a5                   	movsl  %ds:(%esi),%es:(%edi)
408fca:	99                   	cltd
408fcb:	83 e2 1f             	and    $0x1f,%edx
408fce:	03 c2                	add    %edx,%eax
408fd0:	a5                   	movsl  %ds:(%esi),%es:(%edi)
408fd1:	8b d1                	mov    %ecx,%edx
408fd3:	c1 f8 05             	sar    $0x5,%eax
408fd6:	81 e2 1f 00 00 80    	and    $0x8000001f,%edx
408fdc:	a5                   	movsl  %ds:(%esi),%es:(%edi)
408fdd:	79 05                	jns    0x408fe4
408fdf:	4a                   	dec    %edx
408fe0:	83 ca e0             	or     $0xffffffe0,%edx
408fe3:	42                   	inc    %edx
408fe4:	83 65 f4 00          	andl   $0x0,-0xc(%ebp)
408fe8:	83 65 08 00          	andl   $0x0,0x8(%ebp)
408fec:	83 cf ff             	or     $0xffffffff,%edi
408fef:	8b ca                	mov    %edx,%ecx
408ff1:	d3 e7                	shl    %cl,%edi
408ff3:	c7 45 fc 20 00 00 00 	movl   $0x20,-0x4(%ebp)
408ffa:	29 55 fc             	sub    %edx,-0x4(%ebp)
408ffd:	f7 d7                	not    %edi
408fff:	8b 5d 08             	mov    0x8(%ebp),%ebx
409002:	8d 5c 9d e0          	lea    -0x20(%ebp,%ebx,4),%ebx
409006:	8b 33                	mov    (%ebx),%esi
409008:	8b ce                	mov    %esi,%ecx
40900a:	23 cf                	and    %edi,%ecx
40900c:	89 4d f0             	mov    %ecx,-0x10(%ebp)
40900f:	8b ca                	mov    %edx,%ecx
409011:	d3 ee                	shr    %cl,%esi
409013:	8b 4d fc             	mov    -0x4(%ebp),%ecx
409016:	0b 75 f4             	or     -0xc(%ebp),%esi
409019:	89 33                	mov    %esi,(%ebx)
40901b:	8b 75 f0             	mov    -0x10(%ebp),%esi
40901e:	d3 e6                	shl    %cl,%esi
409020:	ff 45 08             	incl   0x8(%ebp)
409023:	83 7d 08 03          	cmpl   $0x3,0x8(%ebp)
409027:	89 75 f4             	mov    %esi,-0xc(%ebp)
40902a:	7c d3                	jl     0x408fff
40902c:	8b f0                	mov    %eax,%esi
40902e:	6a 02                	push   $0x2
409030:	c1 e6 02             	shl    $0x2,%esi
409033:	8d 4d e8             	lea    -0x18(%ebp),%ecx
409036:	5a                   	pop    %edx
409037:	2b ce                	sub    %esi,%ecx
409039:	3b d0                	cmp    %eax,%edx
40903b:	7c 08                	jl     0x409045
40903d:	8b 31                	mov    (%ecx),%esi
40903f:	89 74 95 e0          	mov    %esi,-0x20(%ebp,%edx,4)
409043:	eb 05                	jmp    0x40904a
409045:	83 64 95 e0 00       	andl   $0x0,-0x20(%ebp,%edx,4)
40904a:	4a                   	dec    %edx
40904b:	83 e9 04             	sub    $0x4,%ecx
40904e:	85 d2                	test   %edx,%edx
409050:	7d e7                	jge    0x409039
409052:	8b 35 28 fd 41 00    	mov    0x41fd28,%esi
409058:	4e                   	dec    %esi
409059:	8d 4e 01             	lea    0x1(%esi),%ecx
40905c:	8b c1                	mov    %ecx,%eax
40905e:	99                   	cltd
40905f:	83 e2 1f             	and    $0x1f,%edx
409062:	03 c2                	add    %edx,%eax
409064:	c1 f8 05             	sar    $0x5,%eax
409067:	8b d1                	mov    %ecx,%edx
409069:	81 e2 1f 00 00 80    	and    $0x8000001f,%edx
40906f:	89 45 f4             	mov    %eax,-0xc(%ebp)
409072:	79 05                	jns    0x409079
409074:	4a                   	dec    %edx
409075:	83 ca e0             	or     $0xffffffe0,%edx
409078:	42                   	inc    %edx
409079:	6a 1f                	push   $0x1f
40907b:	59                   	pop    %ecx
40907c:	2b ca                	sub    %edx,%ecx
40907e:	33 d2                	xor    %edx,%edx
409080:	42                   	inc    %edx
409081:	d3 e2                	shl    %cl,%edx
409083:	8d 5c 85 e0          	lea    -0x20(%ebp,%eax,4),%ebx
409087:	89 4d f0             	mov    %ecx,-0x10(%ebp)
40908a:	85 13                	test   %edx,(%ebx)
40908c:	0f 84 82 00 00 00    	je     0x409114
409092:	83 ca ff             	or     $0xffffffff,%edx
409095:	d3 e2                	shl    %cl,%edx
409097:	f7 d2                	not    %edx
409099:	85 54 85 e0          	test   %edx,-0x20(%ebp,%eax,4)
40909d:	eb 05                	jmp    0x4090a4
40909f:	83 7c 85 e0 00       	cmpl   $0x0,-0x20(%ebp,%eax,4)
4090a4:	75 08                	jne    0x4090ae
4090a6:	40                   	inc    %eax
4090a7:	83 f8 03             	cmp    $0x3,%eax
4090aa:	7c f3                	jl     0x40909f
4090ac:	eb 66                	jmp    0x409114
4090ae:	8b c6                	mov    %esi,%eax
4090b0:	99                   	cltd
4090b1:	6a 1f                	push   $0x1f
4090b3:	59                   	pop    %ecx
4090b4:	23 d1                	and    %ecx,%edx
4090b6:	03 c2                	add    %edx,%eax
4090b8:	c1 f8 05             	sar    $0x5,%eax
4090bb:	81 e6 1f 00 00 80    	and    $0x8000001f,%esi
4090c1:	79 05                	jns    0x4090c8
4090c3:	4e                   	dec    %esi
4090c4:	83 ce e0             	or     $0xffffffe0,%esi
4090c7:	46                   	inc    %esi
4090c8:	83 65 08 00          	andl   $0x0,0x8(%ebp)
4090cc:	33 d2                	xor    %edx,%edx
4090ce:	2b ce                	sub    %esi,%ecx
4090d0:	42                   	inc    %edx
4090d1:	d3 e2                	shl    %cl,%edx
4090d3:	8d 4c 85 e0          	lea    -0x20(%ebp,%eax,4),%ecx
4090d7:	8b 31                	mov    (%ecx),%esi
4090d9:	8d 3c 16             	lea    (%esi,%edx,1),%edi
4090dc:	3b fe                	cmp    %esi,%edi
4090de:	72 04                	jb     0x4090e4
4090e0:	3b fa                	cmp    %edx,%edi
4090e2:	73 07                	jae    0x4090eb
4090e4:	c7 45 08 01 00 00 00 	movl   $0x1,0x8(%ebp)
4090eb:	89 39                	mov    %edi,(%ecx)
4090ed:	8b 4d 08             	mov    0x8(%ebp),%ecx
4090f0:	eb 1f                	jmp    0x409111
4090f2:	85 c9                	test   %ecx,%ecx
4090f4:	74 1e                	je     0x409114
4090f6:	8d 4c 85 e0          	lea    -0x20(%ebp,%eax,4),%ecx
4090fa:	8b 11                	mov    (%ecx),%edx
4090fc:	8d 72 01             	lea    0x1(%edx),%esi
4090ff:	33 ff                	xor    %edi,%edi
409101:	3b f2                	cmp    %edx,%esi
409103:	72 05                	jb     0x40910a
409105:	83 fe 01             	cmp    $0x1,%esi
409108:	73 03                	jae    0x40910d
40910a:	33 ff                	xor    %edi,%edi
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