509f15:	33 d2                	xor    %edx,%edx
509f17:	89 43 20             	mov    %eax,0x20(%ebx)
509f1a:	89 53 18             	mov    %edx,0x18(%ebx)
509f1d:	83 be b0 00 00 00 00 	cmpl   $0x0,0xb0(%esi)
509f24:	74 0d                	je     0x509f33
509f26:	8b 8e a0 00 00 00    	mov    0xa0(%esi),%ecx
509f2c:	03 c9                	add    %ecx,%ecx
509f2e:	89 4b 1c             	mov    %ecx,0x1c(%ebx)
509f31:	eb 09                	jmp    0x509f3c
509f33:	8b 86 a0 00 00 00    	mov    0xa0(%esi),%eax
509f39:	89 43 1c             	mov    %eax,0x1c(%ebx)
509f3c:	5f                   	pop    %edi
509f3d:	5e                   	pop    %esi
509f3e:	5b                   	pop    %ebx
509f3f:	c3                   	ret
509f40:	53                   	push   %ebx
509f41:	83 b8 a8 00 00 00 00 	cmpl   $0x0,0xa8(%eax)
509f48:	8b 88 48 01 00 00    	mov    0x148(%eax),%ecx
509f4e:	75 2d                	jne    0x509f7d
509f50:	33 db                	xor    %ebx,%ebx
509f52:	89 59 08             	mov    %ebx,0x8(%ecx)
509f55:	33 db                	xor    %ebx,%ebx
509f57:	89 59 0c             	mov    %ebx,0xc(%ecx)
509f5a:	33 db                	xor    %ebx,%ebx
509f5c:	89 59 10             	mov    %ebx,0x10(%ecx)
509f5f:	89 51 14             	mov    %edx,0x14(%ecx)
509f62:	83 ea 01             	sub    $0x1,%edx
509f65:	73 09                	jae    0x509f70
509f67:	c7 41 04 80 9f 50 00 	movl   $0x509f80,0x4(%ecx)
509f6e:	5b                   	pop    %ebx
509f6f:	c3                   	ret
509f70:	8b 10                	mov    (%eax),%edx
509f72:	c7 42 14 04 00 00 00 	movl   $0x4,0x14(%edx)
509f79:	8b 08                	mov    (%eax),%ecx
509f7b:	ff 11                	call   *(%ecx)
509f7d:	5b                   	pop    %ebx
509f7e:	c3                   	ret
509f7f:	90                   	nop
509f80:	55                   	push   %ebp
509f81:	8b ec                	mov    %esp,%ebp
509f83:	83 c4 f8             	add    $0xfffffff8,%esp
509f86:	53                   	push   %ebx
509f87:	56                   	push   %esi
509f88:	57                   	push   %edi
509f89:	8b f0                	mov    %eax,%esi
509f8b:	89 4d f8             	mov    %ecx,-0x8(%ebp)
509f8e:	89 55 fc             	mov    %edx,-0x4(%ebp)
509f91:	8b 9e 48 01 00 00    	mov    0x148(%esi),%ebx
509f97:	eb 69                	jmp    0x50a002
509f99:	83 7b 0c 08          	cmpl   $0x8,0xc(%ebx)
509f9d:	73 1f                	jae    0x509fbe
509f9f:	8b 45 08             	mov    0x8(%ebp),%eax
509fa2:	8d 53 18             	lea    0x18(%ebx),%edx
509fa5:	50                   	push   %eax
509fa6:	8b c6                	mov    %esi,%eax
509fa8:	52                   	push   %edx
509fa9:	8d 4b 0c             	lea    0xc(%ebx),%ecx
509fac:	51                   	push   %ecx
509fad:	6a 08                	push   $0x8
509faf:	8b b8 4c 01 00 00    	mov    0x14c(%eax),%edi
509fb5:	8b 4d f8             	mov    -0x8(%ebp),%ecx
509fb8:	8b 55 fc             	mov    -0x4(%ebp),%edx
509fbb:	ff 57 04             	call   *0x4(%edi)
509fbe:	83 7b 0c 08          	cmpl   $0x8,0xc(%ebx)
509fc2:	75 49                	jne    0x50a00d
509fc4:	8d 53 18             	lea    0x18(%ebx),%edx
509fc7:	8b c6                	mov    %esi,%eax
509fc9:	8b 88 50 01 00 00    	mov    0x150(%eax),%ecx
509fcf:	ff 51 04             	call   *0x4(%ecx)
509fd2:	85 c0                	test   %eax,%eax
509fd4:	75 14                	jne    0x509fea
509fd6:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)
509fda:	75 31                	jne    0x50a00d
509fdc:	8b 45 f8             	mov    -0x8(%ebp),%eax
509fdf:	ff 08                	decl   (%eax)
509fe1:	c7 43 10 01 00 00 00 	movl   $0x1,0x10(%ebx)
509fe8:	eb 23                	jmp    0x50a00d
509fea:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)
509fee:	74 0a                	je     0x509ffa
509ff0:	8b 55 f8             	mov    -0x8(%ebp),%edx
509ff3:	ff 02                	incl   (%edx)
509ff5:	33 c9                	xor    %ecx,%ecx
509ff7:	89 4b 10             	mov    %ecx,0x10(%ebx)
509ffa:	33 c0                	xor    %eax,%eax
509ffc:	89 43 0c             	mov    %eax,0xc(%ebx)
509fff:	ff 43 08             	incl   0x8(%ebx)
50a002:	8b 53 08             	mov    0x8(%ebx),%edx
50a005:	3b 96 e8 00 00 00    	cmp    0xe8(%esi),%edx
50a00b:	72 8c                	jb     0x509f99
50a00d:	5f                   	pop    %edi
50a00e:	5e                   	pop    %esi
50a00f:	5b                   	pop    %ebx
50a010:	59                   	pop    %ecx
50a011:	59                   	pop    %ecx
50a012:	5d                   	pop    %ebp
50a013:	c2 04 00             	ret    $0x4
50a016:	90                   	nop
50a017:	90                   	nop
50a018:	53                   	push   %ebx
50a019:	8b d8                	mov    %eax,%ebx
50a01b:	56                   	push   %esi
50a01c:	57                   	push   %edi
50a01d:	8b c3                	mov    %ebx,%eax
50a01f:	55                   	push   %ebp
50a020:	51                   	push   %ecx
50a021:	8b f2                	mov    %edx,%esi
50a023:	8b 78 04             	mov    0x4(%eax),%edi
50a026:	ba 01 00 00 00       	mov    $0x1,%edx
50a02b:	b9 40 00 00 00       	mov    $0x40,%ecx
50a030:	ff 17                	call   *(%edi)
50a032:	89 83 48 01 00 00    	mov    %eax,0x148(%ebx)
50a038:	c7 00 40 9f 50 00    	movl   $0x509f40,(%eax)
50a03e:	83 bb a8 00 00 00 00 	cmpl   $0x0,0xa8(%ebx)
50a045:	75 4f                	jne    0x50a096
50a047:	85 f6                	test   %esi,%esi
50a049:	74 11                	je     0x50a05c
50a04b:	8b 03                	mov    (%ebx),%eax
50a04d:	c7 40 14 04 00 00 00 	movl   $0x4,0x14(%eax)
50a054:	8b c3                	mov    %ebx,%eax
50a056:	8b 10                	mov    (%eax),%edx
50a058:	ff 12                	call   *(%edx)
50a05a:	eb 3a                	jmp    0x50a096
50a05c:	33 c9                	xor    %ecx,%ecx
50a05e:	8d 78 18             	lea    0x18(%eax),%edi
50a061:	89 0c 24             	mov    %ecx,(%esp)
50a064:	8b 73 3c             	mov    0x3c(%ebx),%esi
50a067:	eb 25                	jmp    0x50a08e
50a069:	8b 46 0c             	mov    0xc(%esi),%eax
50a06c:	ba 01 00 00 00       	mov    $0x1,%edx
50a071:	c1 e0 03             	shl    $0x3,%eax
50a074:	50                   	push   %eax
50a075:	8b c3                	mov    %ebx,%eax
50a077:	8b 4e 1c             	mov    0x1c(%esi),%ecx
50a07a:	c1 e1 03             	shl    $0x3,%ecx
50a07d:	8b 68 04             	mov    0x4(%eax),%ebp
50a080:	ff 55 08             	call   *0x8(%ebp)
50a083:	89 07                	mov    %eax,(%edi)
50a085:	83 c7 04             	add    $0x4,%edi
50a088:	ff 04 24             	incl   (%esp)
50a08b:	83 c6 54             	add    $0x54,%esi
50a08e:	8b 04 24             	mov    (%esp),%eax
50a091:	3b 43 34             	cmp    0x34(%ebx),%eax
50a094:	7c d3                	jl     0x50a069
50a096:	5a                   	pop    %edx
50a097:	5d                   	pop    %ebp
50a098:	5f                   	pop    %edi
50a099:	5e                   	pop    %esi
50a09a:	5b                   	pop    %ebx
50a09b:	c3                   	ret
50a09c:	53                   	push   %ebx
50a09d:	56                   	push   %esi
50a09e:	8b f0                	mov    %eax,%esi
50a0a0:	85 d2                	test   %edx,%edx
50a0a2:	8b 9e 4c 01 00 00    	mov    0x14c(%esi),%ebx
50a0a8:	74 0f                	je     0x50a0b9
50a0aa:	8b 06                	mov    (%esi),%eax
50a0ac:	c7 40 14 04 00 00 00 	movl   $0x4,0x14(%eax)
50a0b3:	8b c6                	mov    %esi,%eax
50a0b5:	8b 10                	mov    (%eax),%edx
50a0b7:	ff 12                	call   *(%edx)
50a0b9:	8b 4e 1c             	mov    0x1c(%esi),%ecx
50a0bc:	33 c0                	xor    %eax,%eax
50a0be:	89 4b 30             	mov    %ecx,0x30(%ebx)
50a0c1:	33 d2                	xor    %edx,%edx
50a0c3:	89 43 34             	mov    %eax,0x34(%ebx)
50a0c6:	89 53 38             	mov    %edx,0x38(%ebx)
50a0c9:	8b 8e e4 00 00 00    	mov    0xe4(%esi),%ecx
50a0cf:	03 c9                	add    %ecx,%ecx
50a0d1:	89 4b 3c             	mov    %ecx,0x3c(%ebx)
50a0d4:	5e                   	pop    %esi
50a0d5:	5b                   	pop    %ebx
50a0d6:	c3                   	ret
50a0d7:	90                   	nop
50a0d8:	55                   	push   %ebp
50a0d9:	8b ec                	mov    %esp,%ebp
50a0db:	51                   	push   %ecx
50a0dc:	53                   	push   %ebx
50a0dd:	56                   	push   %esi
50a0de:	57                   	push   %edi
50a0df:	8b f9                	mov    %ecx,%edi
50a0e1:	89 55 fc             	mov    %edx,-0x4(%ebp)
50a0e4:	8b f0                	mov    %eax,%esi
50a0e6:	8b df                	mov    %edi,%ebx
50a0e8:	3b 5d 08             	cmp    0x8(%ebp),%ebx
50a0eb:	7d 19                	jge    0x50a106
50a0ed:	53                   	push   %ebx
50a0ee:	6a 01                	push   $0x1
50a0f0:	8b 45 fc             	mov    -0x4(%ebp),%eax
50a0f3:	8d 57 ff             	lea    -0x1(%edi),%edx
50a0f6:	50                   	push   %eax
50a0f7:	8b c6                	mov    %esi,%eax
50a0f9:	8b ce                	mov    %esi,%ecx
50a0fb:	e8 94 da ff ff       	call   0x507b94
50a100:	43                   	inc    %ebx
50a101:	3b 5d 08             	cmp    0x8(%ebp),%ebx
50a104:	7c e7                	jl     0x50a0ed
50a106:	5f                   	pop    %edi
50a107:	5e                   	pop    %esi
50a108:	5b                   	pop    %ebx
50a109:	59                   	pop    %ecx
50a10a:	5d                   	pop    %ebp
50a10b:	c2 04 00             	ret    $0x4
50a10e:	90                   	nop
50a10f:	90                   	nop
50a110:	55                   	push   %ebp
50a111:	8b ec                	mov    %esp,%ebp
50a113:	83 c4 ec             	add    $0xffffffec,%esp
50a116:	53                   	push   %ebx
50a117:	56                   	push   %esi
50a118:	57                   	push   %edi
50a119:	8b d8                	mov    %eax,%ebx
50a11b:	89 4d f8             	mov    %ecx,-0x8(%ebp)
50a11e:	89 55 fc             	mov    %edx,-0x4(%ebp)
50a121:	8b b3 4c 01 00 00    	mov    0x14c(%ebx),%esi
50a127:	e9 20 01 00 00       	jmp    0x50a24c
50a12c:	8b 8b e4 00 00 00    	mov    0xe4(%ebx),%ecx
50a132:	8b 55 14             	mov    0x14(%ebp),%edx
50a135:	2b 4e 34             	sub    0x34(%esi),%ecx
50a138:	2b d0                	sub    %eax,%edx
50a13a:	8b c2                	mov    %edx,%eax
50a13c:	89 4d f4             	mov    %ecx,-0xc(%ebp)
50a13f:	3b 45 f4             	cmp    -0xc(%ebp),%eax
50a142:	76 05                	jbe    0x50a149
50a144:	8b 55 f4             	mov    -0xc(%ebp),%edx
50a147:	eb 02                	jmp    0x50a14b
50a149:	8b d0                	mov    %eax,%edx
50a14b:	89 55 f4             	mov    %edx,-0xc(%ebp)
50a14e:	8b 46 34             	mov    0x34(%esi),%eax
50a151:	50                   	push   %eax
50a152:	8b 4d f4             	mov    -0xc(%ebp),%ecx
50a155:	51                   	push   %ecx
50a156:	8d 4e 08             	lea    0x8(%esi),%ecx
50a159:	8b 45 f8             	mov    -0x8(%ebp),%eax
50a15c:	8b 10                	mov    (%eax),%edx
50a15e:	8b c3                	mov    %ebx,%eax
50a160:	c1 e2 02             	shl    $0x2,%edx
50a163:	03 55 fc             	add    -0x4(%ebp),%edx
50a166:	8b b8 58 01 00 00    	mov    0x158(%eax),%edi
50a16c:	ff 57 04             	call   *0x4(%edi)
50a16f:	8b 55 f8             	mov    -0x8(%ebp),%edx
50a172:	8b 45 f4             	mov    -0xc(%ebp),%eax
50a175:	01 02                	add    %eax,(%edx)
50a177:	8b 4d f4             	mov    -0xc(%ebp),%ecx
50a17a:	01 4e 34             	add    %ecx,0x34(%esi)
50a17d:	29 46 30             	sub    %eax,0x30(%esi)
50a180:	83 7e 30 00          	cmpl   $0x0,0x30(%esi)
50a184:	75 3f                	jne    0x50a1c5
50a186:	8b 46 34             	mov    0x34(%esi),%eax
50a189:	3b 83 e4 00 00 00    	cmp    0xe4(%ebx),%eax
50a18f:	7d 34                	jge    0x50a1c5
50a191:	33 ff                	xor    %edi,%edi
50a193:	8d 46 08             	lea    0x8(%esi),%eax
50a196:	89 45 f0             	mov    %eax,-0x10(%ebp)
50a199:	eb 1c                	jmp    0x50a1b7
50a19b:	8b 93 e4 00 00 00    	mov    0xe4(%ebx),%edx
50a1a1:	52                   	push   %edx
50a1a2:	8b 4d f0             	mov    -0x10(%ebp),%ecx
50a1a5:	8b 01                	mov    (%ecx),%eax
50a1a7:	8b 4e 34             	mov    0x34(%esi),%ecx
50a1aa:	8b 53 18             	mov    0x18(%ebx),%edx
50a1ad:	e8 26 ff ff ff       	call   0x50a0d8
50a1b2:	47                   	inc    %edi
50a1b3:	83 45 f0 04          	addl   $0x4,-0x10(%ebp)
50a1b7:	3b 7b 34             	cmp    0x34(%ebx),%edi
50a1ba:	7c df                	jl     0x50a19b
50a1bc:	8b 83 e4 00 00 00    	mov    0xe4(%ebx),%eax
50a1c2:	89 46 34             	mov    %eax,0x34(%esi)
50a1c5:	8b 56 34             	mov    0x34(%esi),%edx
50a1c8:	3b 93 e4 00 00 00    	cmp    0xe4(%ebx),%edx
50a1ce:	75 24                	jne    0x50a1f4
50a1d0:	8b 4d 10             	mov    0x10(%ebp),%ecx
50a1d3:	51                   	push   %ecx
50a1d4:	33 c9                	xor    %ecx,%ecx
50a1d6:	8b 45 0c             	mov    0xc(%ebp),%eax
50a1d9:	8b 10                	mov    (%eax),%edx
50a1db:	8b c3                	mov    %ebx,%eax
50a1dd:	52                   	push   %edx
50a1de:	8d 56 08             	lea    0x8(%esi),%edx
50a1e1:	8b b8 5c 01 00 00    	mov    0x15c(%eax),%edi
50a1e7:	ff 57 04             	call   *0x4(%edi)
50a1ea:	33 c0                	xor    %eax,%eax
50a1ec:	89 46 34             	mov    %eax,0x34(%esi)
50a1ef:	8b 55 0c             	mov    0xc(%ebp),%edx
50a1f2:	ff 02                	incl   (%edx)
50a1f4:	83 7e 30 00          	cmpl   $0x0,0x30(%esi)
50a1f8:	75 52                	jne    0x50a24c
50a1fa:	8b 4d 0c             	mov    0xc(%ebp),%ecx
50a1fd:	8b 01                	mov    (%ecx),%eax
50a1ff:	3b 45 08             	cmp    0x8(%ebp),%eax
50a202:	73 48                	jae    0x50a24c
50a204:	8b 45 10             	mov    0x10(%ebp),%eax
50a207:	8b 73 3c             	mov    0x3c(%ebx),%esi
50a20a:	8b d0                	mov    %eax,%edx
50a20c:	33 ff                	xor    %edi,%edi
50a20e:	89 55 ec             	mov    %edx,-0x14(%ebp)
50a211:	eb 2a                	jmp    0x50a23d
50a213:	8b 46 0c             	mov    0xc(%esi),%eax
50a216:	8b d0                	mov    %eax,%edx
50a218:	0f af 55 08          	imul   0x8(%ebp),%edx
50a21c:	52                   	push   %edx
50a21d:	8b 4d 0c             	mov    0xc(%ebp),%ecx
50a220:	8b 09                	mov    (%ecx),%ecx
50a222:	0f af c8             	imul   %eax,%ecx
50a225:	8b 56 1c             	mov    0x1c(%esi),%edx
50a228:	c1 e2 03             	shl    $0x3,%edx
50a22b:	8b 45 ec             	mov    -0x14(%ebp),%eax
50a22e:	8b 00                	mov    (%eax),%eax
50a230:	e8 a3 fe ff ff       	call   0x50a0d8
50a235:	83 45 ec 04          	addl   $0x4,-0x14(%ebp)
50a239:	47                   	inc    %edi
50a23a:	83 c6 54             	add    $0x54,%esi
50a23d:	3b 7b 34             	cmp    0x34(%ebx),%edi
50a240:	7c d1                	jl     0x50a213
50a242:	8b 55 0c             	mov    0xc(%ebp),%edx
50a245:	8b 4d 08             	mov    0x8(%ebp),%ecx
50a248:	89 0a                	mov    %ecx,(%edx)
50a24a:	eb 18                	jmp    0x50a264
50a24c:	8b 45 f8             	mov    -0x8(%ebp),%eax
50a24f:	8b 00                	mov    (%eax),%eax
50a251:	3b 45 14             	cmp    0x14(%ebp),%eax
50a254:	73 0e                	jae    0x50a264
50a256:	8b 55 0c             	mov    0xc(%ebp),%edx
50a259:	8b 0a                	mov    (%edx),%ecx
50a25b:	3b 4d 08             	cmp    0x8(%ebp),%ecx
50a25e:	0f 82 c8 fe ff ff    	jb     0x50a12c
50a264:	5f                   	pop    %edi
50a265:	5e                   	pop    %esi
50a266:	5b                   	pop    %ebx
50a267:	8b e5                	mov    %ebp,%esp
50a269:	5d                   	pop    %ebp
50a26a:	c2 10 00             	ret    $0x10
50a26d:	90                   	nop
50a26e:	90                   	nop
50a26f:	90                   	nop
50a270:	55                   	push   %ebp
50a271:	8b ec                	mov    %esp,%ebp
50a273:	83 c4 e4             	add    $0xffffffe4,%esp
50a276:	53                   	push   %ebx
50a277:	56                   	push   %esi
50a278:	57                   	push   %edi
50a279:	89 4d f4             	mov    %ecx,-0xc(%ebp)
50a27c:	89 55 f8             	mov    %edx,-0x8(%ebp)
50a27f:	89 45 fc             	mov    %eax,-0x4(%ebp)
50a282:	8b 45 fc             	mov    -0x4(%ebp),%eax
50a285:	8b 98 4c 01 00 00    	mov    0x14c(%eax),%ebx
50a28b:	8b 45 fc             	mov    -0x4(%ebp),%eax
50a28e:	8b 90 e4 00 00 00    	mov    0xe4(%eax),%edx
50a294:	8d 14 52             	lea    (%edx,%edx,2),%edx
50a297:	89 55 e8             	mov    %edx,-0x18(%ebp)
50a29a:	e9 62 01 00 00       	jmp    0x50a401