50ca25:	56                   	push   %esi
50ca26:	57                   	push   %edi
50ca27:	55                   	push   %ebp
50ca28:	81 c4 e0 fe ff ff    	add    $0xfffffee0,%esp
50ca2e:	8b fa                	mov    %edx,%edi
50ca30:	89 04 24             	mov    %eax,(%esp)
50ca33:	8b 04 24             	mov    (%esp),%eax
50ca36:	8b 98 64 01 00 00    	mov    0x164(%eax),%ebx
50ca3c:	8b 04 24             	mov    (%esp),%eax
50ca3f:	8b 90 38 01 00 00    	mov    0x138(%eax),%edx
50ca45:	89 54 24 10          	mov    %edx,0x10(%esp)
50ca49:	8b 04 24             	mov    (%esp),%eax
50ca4c:	8b 0c 24             	mov    (%esp),%ecx
50ca4f:	8b 50 14             	mov    0x14(%eax),%edx
50ca52:	8b b1 40 01 00 00    	mov    0x140(%ecx),%esi
50ca58:	8b 0a                	mov    (%edx),%ecx
50ca5a:	89 4b 10             	mov    %ecx,0x10(%ebx)
50ca5d:	8b 04 24             	mov    (%esp),%eax
50ca60:	8b 50 14             	mov    0x14(%eax),%edx
50ca63:	8b 4a 04             	mov    0x4(%edx),%ecx
50ca66:	89 4b 14             	mov    %ecx,0x14(%ebx)
50ca69:	8b 04 24             	mov    (%esp),%eax
50ca6c:	83 b8 c0 00 00 00 00 	cmpl   $0x0,0xc0(%eax)
50ca73:	74 10                	je     0x50ca85
50ca75:	83 7b 44 00          	cmpl   $0x0,0x44(%ebx)
50ca79:	75 0a                	jne    0x50ca85
50ca7b:	8b 53 48             	mov    0x48(%ebx),%edx
50ca7e:	8b c3                	mov    %ebx,%eax
50ca80:	e8 b7 fb ff ff       	call   0x50c63c
50ca85:	8b 17                	mov    (%edi),%edx
50ca87:	33 c9                	xor    %ecx,%ecx
50ca89:	89 54 24 14          	mov    %edx,0x14(%esp)
50ca8d:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
50ca91:	8b 04 24             	mov    (%esp),%eax
50ca94:	8b 90 34 01 00 00    	mov    0x134(%eax),%edx
50ca9a:	89 54 24 08          	mov    %edx,0x8(%esp)
50ca9e:	8b 4c 24 08          	mov    0x8(%esp),%ecx
50caa2:	8b 44 24 08          	mov    0x8(%esp),%eax
50caa6:	8d 54 8c 20          	lea    0x20(%esp,%ecx,4),%edx
50caaa:	8b 4c 24 08          	mov    0x8(%esp),%ecx
50caae:	3b 4c 24 10          	cmp    0x10(%esp),%ecx
50cab2:	8d 04 85 64 d9 68 00 	lea    0x68d964(,%eax,4),%eax
50cab9:	7f 48                	jg     0x50cb03
50cabb:	8b 08                	mov    (%eax),%ecx
50cabd:	8b 7c 24 14          	mov    0x14(%esp),%edi
50cac1:	0f bf 0c 4f          	movswl (%edi,%ecx,2),%ecx
50cac5:	89 4c 24 04          	mov    %ecx,0x4(%esp)
50cac9:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
50cace:	7d 04                	jge    0x50cad4
50cad0:	f7 5c 24 04          	negl   0x4(%esp)
50cad4:	8b ce                	mov    %esi,%ecx
50cad6:	d3 7c 24 04          	sarl   %cl,0x4(%esp)
50cada:	8b 4c 24 04          	mov    0x4(%esp),%ecx
50cade:	89 0a                	mov    %ecx,(%edx)
50cae0:	83 7c 24 04 01       	cmpl   $0x1,0x4(%esp)
50cae5:	75 08                	jne    0x50caef
50cae7:	8b 4c 24 08          	mov    0x8(%esp),%ecx
50caeb:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
50caef:	ff 44 24 08          	incl   0x8(%esp)
50caf3:	83 c2 04             	add    $0x4,%edx
50caf6:	83 c0 04             	add    $0x4,%eax
50caf9:	8b 4c 24 08          	mov    0x8(%esp),%ecx
50cafd:	3b 4c 24 10          	cmp    0x10(%esp),%ecx
50cb01:	7e b8                	jle    0x50cabb
50cb03:	8b 04 24             	mov    (%esp),%eax
50cb06:	8b 6b 40             	mov    0x40(%ebx),%ebp
50cb09:	03 6b 3c             	add    0x3c(%ebx),%ebp
50cb0c:	33 ff                	xor    %edi,%edi
50cb0e:	8b 90 34 01 00 00    	mov    0x134(%eax),%edx
50cb14:	33 f6                	xor    %esi,%esi
50cb16:	89 54 24 08          	mov    %edx,0x8(%esp)
50cb1a:	8b 4c 24 08          	mov    0x8(%esp),%ecx
50cb1e:	8d 04 8d 64 d9 68 00 	lea    0x68d964(,%ecx,4),%eax
50cb25:	89 44 24 1c          	mov    %eax,0x1c(%esp)
50cb29:	8b 54 24 08          	mov    0x8(%esp),%edx
50cb2d:	8d 4c 94 20          	lea    0x20(%esp,%edx,4),%ecx
50cb31:	89 4c 24 18          	mov    %ecx,0x18(%esp)
50cb35:	8b 44 24 08          	mov    0x8(%esp),%eax
50cb39:	3b 44 24 10          	cmp    0x10(%esp),%eax
50cb3d:	0f 8f d4 00 00 00    	jg     0x50cc17
50cb43:	8b 54 24 18          	mov    0x18(%esp),%edx
50cb47:	8b 0a                	mov    (%edx),%ecx
50cb49:	89 4c 24 04          	mov    %ecx,0x4(%esp)
50cb4d:	85 c9                	test   %ecx,%ecx
50cb4f:	75 2f                	jne    0x50cb80
50cb51:	47                   	inc    %edi
50cb52:	e9 a4 00 00 00       	jmp    0x50cbfb
50cb57:	8b c3                	mov    %ebx,%eax
50cb59:	e8 8e fa ff ff       	call   0x50c5ec
50cb5e:	b9 f0 00 00 00       	mov    $0xf0,%ecx
50cb63:	8b 53 34             	mov    0x34(%ebx),%edx
50cb66:	8b c3                	mov    %ebx,%eax
50cb68:	e8 27 fa ff ff       	call   0x50c594
50cb6d:	83 ef 10             	sub    $0x10,%edi
50cb70:	8b ce                	mov    %esi,%ecx
50cb72:	8b d5                	mov    %ebp,%edx
50cb74:	8b c3                	mov    %ebx,%eax
50cb76:	e8 45 fa ff ff       	call   0x50c5c0
50cb7b:	8b 6b 40             	mov    0x40(%ebx),%ebp
50cb7e:	33 f6                	xor    %esi,%esi
50cb80:	83 ff 0f             	cmp    $0xf,%edi
50cb83:	7e 0a                	jle    0x50cb8f
50cb85:	8b 44 24 08          	mov    0x8(%esp),%eax
50cb89:	3b 44 24 0c          	cmp    0xc(%esp),%eax
50cb8d:	7e c8                	jle    0x50cb57
50cb8f:	83 7c 24 04 01       	cmpl   $0x1,0x4(%esp)
50cb94:	7e 0e                	jle    0x50cba4
50cb96:	8a 54 24 04          	mov    0x4(%esp),%dl
50cb9a:	80 e2 01             	and    $0x1,%dl
50cb9d:	88 54 35 00          	mov    %dl,0x0(%ebp,%esi,1)
50cba1:	46                   	inc    %esi
50cba2:	eb 57                	jmp    0x50cbfb
50cba4:	8b c3                	mov    %ebx,%eax
50cba6:	e8 41 fa ff ff       	call   0x50c5ec
50cbab:	8b cf                	mov    %edi,%ecx
50cbad:	8b 53 34             	mov    0x34(%ebx),%edx
50cbb0:	c1 e1 04             	shl    $0x4,%ecx
50cbb3:	8b c3                	mov    %ebx,%eax
50cbb5:	41                   	inc    %ecx
50cbb6:	e8 d9 f9 ff ff       	call   0x50c594
50cbbb:	8b 54 24 1c          	mov    0x1c(%esp),%edx
50cbbf:	8b 0a                	mov    (%edx),%ecx
50cbc1:	8b 44 24 14          	mov    0x14(%esp),%eax
50cbc5:	66 83 3c 48 00       	cmpw   $0x0,(%eax,%ecx,2)
50cbca:	7d 04                	jge    0x50cbd0
50cbcc:	33 d2                	xor    %edx,%edx
50cbce:	eb 05                	jmp    0x50cbd5
50cbd0:	ba 01 00 00 00       	mov    $0x1,%edx
50cbd5:	89 54 24 04          	mov    %edx,0x4(%esp)
50cbd9:	b9 01 00 00 00       	mov    $0x1,%ecx
50cbde:	8b 54 24 04          	mov    0x4(%esp),%edx
50cbe2:	8b c3                	mov    %ebx,%eax
50cbe4:	e8 ef f8 ff ff       	call   0x50c4d8
50cbe9:	8b ce                	mov    %esi,%ecx
50cbeb:	8b d5                	mov    %ebp,%edx
50cbed:	8b c3                	mov    %ebx,%eax
50cbef:	e8 cc f9 ff ff       	call   0x50c5c0
50cbf4:	8b 6b 40             	mov    0x40(%ebx),%ebp
50cbf7:	33 f6                	xor    %esi,%esi
50cbf9:	33 ff                	xor    %edi,%edi
50cbfb:	ff 44 24 08          	incl   0x8(%esp)
50cbff:	83 44 24 1c 04       	addl   $0x4,0x1c(%esp)
50cc04:	83 44 24 18 04       	addl   $0x4,0x18(%esp)
50cc09:	8b 44 24 08          	mov    0x8(%esp),%eax
50cc0d:	3b 44 24 10          	cmp    0x10(%esp),%eax
50cc11:	0f 8e 2c ff ff ff    	jle    0x50cb43
50cc17:	85 ff                	test   %edi,%edi
50cc19:	7f 04                	jg     0x50cc1f
50cc1b:	85 f6                	test   %esi,%esi
50cc1d:	76 1f                	jbe    0x50cc3e
50cc1f:	ff 43 38             	incl   0x38(%ebx)
50cc22:	01 73 3c             	add    %esi,0x3c(%ebx)
50cc25:	81 7b 38 ff 7f 00 00 	cmpl   $0x7fff,0x38(%ebx)
50cc2c:	74 09                	je     0x50cc37
50cc2e:	81 7b 3c a9 03 00 00 	cmpl   $0x3a9,0x3c(%ebx)
50cc35:	76 07                	jbe    0x50cc3e
50cc37:	8b c3                	mov    %ebx,%eax
50cc39:	e8 ae f9 ff ff       	call   0x50c5ec
50cc3e:	8b 14 24             	mov    (%esp),%edx
50cc41:	8b 42 14             	mov    0x14(%edx),%eax
50cc44:	8b 53 10             	mov    0x10(%ebx),%edx
50cc47:	89 10                	mov    %edx,(%eax)
50cc49:	8b 4b 14             	mov    0x14(%ebx),%ecx
50cc4c:	89 48 04             	mov    %ecx,0x4(%eax)
50cc4f:	8b 04 24             	mov    (%esp),%eax
50cc52:	8b 80 c0 00 00 00    	mov    0xc0(%eax),%eax
50cc58:	85 c0                	test   %eax,%eax
50cc5a:	74 13                	je     0x50cc6f
50cc5c:	83 7b 44 00          	cmpl   $0x0,0x44(%ebx)
50cc60:	75 0a                	jne    0x50cc6c
50cc62:	89 43 44             	mov    %eax,0x44(%ebx)
50cc65:	ff 43 48             	incl   0x48(%ebx)
50cc68:	83 63 48 07          	andl   $0x7,0x48(%ebx)
50cc6c:	ff 4b 44             	decl   0x44(%ebx)
50cc6f:	b8 01 00 00 00       	mov    $0x1,%eax
50cc74:	81 c4 20 01 00 00    	add    $0x120,%esp
50cc7a:	5d                   	pop    %ebp
50cc7b:	5f                   	pop    %edi
50cc7c:	5e                   	pop    %esi
50cc7d:	5b                   	pop    %ebx
50cc7e:	c3                   	ret
50cc7f:	90                   	nop
50cc80:	53                   	push   %ebx
50cc81:	56                   	push   %esi
50cc82:	8b f0                	mov    %eax,%esi
50cc84:	8b 9e 64 01 00 00    	mov    0x164(%esi),%ebx
50cc8a:	8b 46 14             	mov    0x14(%esi),%eax
50cc8d:	8b 10                	mov    (%eax),%edx
50cc8f:	89 53 10             	mov    %edx,0x10(%ebx)
50cc92:	8b 4e 14             	mov    0x14(%esi),%ecx
50cc95:	8b 41 04             	mov    0x4(%ecx),%eax
50cc98:	89 43 14             	mov    %eax,0x14(%ebx)
50cc9b:	8b c3                	mov    %ebx,%eax
50cc9d:	e8 4a f9 ff ff       	call   0x50c5ec
50cca2:	8b c3                	mov    %ebx,%eax
50cca4:	e8 cb f8 ff ff       	call   0x50c574
50cca9:	8b 46 14             	mov    0x14(%esi),%eax
50ccac:	8b 53 10             	mov    0x10(%ebx),%edx
50ccaf:	89 10                	mov    %edx,(%eax)
50ccb1:	8b 4b 14             	mov    0x14(%ebx),%ecx
50ccb4:	89 48 04             	mov    %ecx,0x4(%eax)
50ccb7:	5e                   	pop    %esi
50ccb8:	5b                   	pop    %ebx
50ccb9:	c3                   	ret
50ccba:	90                   	nop
50ccbb:	90                   	nop
50ccbc:	53                   	push   %ebx
50ccbd:	56                   	push   %esi
50ccbe:	57                   	push   %edi
50ccbf:	55                   	push   %ebp
50ccc0:	83 c4 e4             	add    $0xffffffe4,%esp
50ccc3:	8b f0                	mov    %eax,%esi
50ccc5:	8b 86 64 01 00 00    	mov    0x164(%esi),%eax
50cccb:	89 04 24             	mov    %eax,(%esp)
50ccce:	8b 04 24             	mov    (%esp),%eax
50ccd1:	e8 16 f9 ff ff       	call   0x50c5ec
50ccd6:	83 be 34 01 00 00 00 	cmpl   $0x0,0x134(%esi)
50ccdd:	0f 94 c2             	sete   %dl
50cce0:	83 e2 01             	and    $0x1,%edx
50cce3:	89 54 24 04          	mov    %edx,0x4(%esp)
50cce7:	6a 10                	push   $0x10
50cce9:	6a 00                	push   $0x0
50cceb:	8d 4c 24 14          	lea    0x14(%esp),%ecx
50ccef:	51                   	push   %ecx
50ccf0:	e8 bf e5 fe ff       	call   0x4fb2b4
50ccf5:	83 c4 0c             	add    $0xc,%esp
50ccf8:	33 c0                	xor    %eax,%eax
50ccfa:	89 44 24 08          	mov    %eax,0x8(%esp)
50ccfe:	8d ae f0 00 00 00    	lea    0xf0(%esi),%ebp
50cd04:	eb 60                	jmp    0x50cd66
50cd06:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
50cd0b:	8b 45 00             	mov    0x0(%ebp),%eax
50cd0e:	74 0e                	je     0x50cd1e
50cd10:	83 be 3c 01 00 00 00 	cmpl   $0x0,0x13c(%esi)
50cd17:	75 46                	jne    0x50cd5f
50cd19:	8b 58 14             	mov    0x14(%eax),%ebx
50cd1c:	eb 03                	jmp    0x50cd21
50cd1e:	8b 58 18             	mov    0x18(%eax),%ebx
50cd21:	83 7c 9c 0c 00       	cmpl   $0x0,0xc(%esp,%ebx,4)
50cd26:	75 37                	jne    0x50cd5f
50cd28:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
50cd2d:	74 06                	je     0x50cd35
50cd2f:	8d 7c 9e 50          	lea    0x50(%esi,%ebx,4),%edi
50cd33:	eb 04                	jmp    0x50cd39
50cd35:	8d 7c 9e 60          	lea    0x60(%esi,%ebx,4),%edi
50cd39:	83 3f 00             	cmpl   $0x0,(%edi)
50cd3c:	75 09                	jne    0x50cd47
50cd3e:	8b c6                	mov    %esi,%eax
50cd40:	e8 13 af ff ff       	call   0x507c58
50cd45:	89 07                	mov    %eax,(%edi)
50cd47:	8b 14 24             	mov    (%esp),%edx
50cd4a:	8b 4c 9a 5c          	mov    0x5c(%edx,%ebx,4),%ecx
50cd4e:	8b 17                	mov    (%edi),%edx
50cd50:	8b c6                	mov    %esi,%eax
50cd52:	e8 85 0e 00 00       	call   0x50dbdc
50cd57:	c7 44 9c 0c 01 00 00 	movl   $0x1,0xc(%esp,%ebx,4)
50cd5e:	00
50cd5f:	ff 44 24 08          	incl   0x8(%esp)
50cd63:	83 c5 04             	add    $0x4,%ebp
50cd66:	8b 4c 24 08          	mov    0x8(%esp),%ecx
50cd6a:	3b 8e ec 00 00 00    	cmp    0xec(%esi),%ecx
50cd70:	7c 94                	jl     0x50cd06
50cd72:	83 c4 1c             	add    $0x1c,%esp
50cd75:	5d                   	pop    %ebp
50cd76:	5f                   	pop    %edi
50cd77:	5e                   	pop    %esi
50cd78:	5b                   	pop    %ebx
50cd79:	c3                   	ret
50cd7a:	90                   	nop
50cd7b:	90                   	nop
50cd7c:	53                   	push   %ebx
50cd7d:	8b d8                	mov    %eax,%ebx
50cd7f:	8b c3                	mov    %ebx,%eax
50cd81:	56                   	push   %esi
50cd82:	b9 6c 00 00 00       	mov    $0x6c,%ecx
50cd87:	ba 01 00 00 00       	mov    $0x1,%edx
50cd8c:	8b 70 04             	mov    0x4(%eax),%esi
50cd8f:	ff 16                	call   *(%esi)
50cd91:	8b c8                	mov    %eax,%ecx
50cd93:	33 d2                	xor    %edx,%edx
50cd95:	89 8b 64 01 00 00    	mov    %ecx,0x164(%ebx)
50cd9b:	c7 01 d0 c2 50 00    	movl   $0x50c2d0,(%ecx)
50cda1:	8d 41 4c             	lea    0x4c(%ecx),%eax
50cda4:	33 db                	xor    %ebx,%ebx
50cda6:	42                   	inc    %edx
50cda7:	89 18                	mov    %ebx,(%eax)
50cda9:	33 db                	xor    %ebx,%ebx
50cdab:	89 58 10             	mov    %ebx,0x10(%eax)
50cdae:	83 c0 04             	add    $0x4,%eax
50cdb1:	83 fa 04             	cmp    $0x4,%edx
50cdb4:	7c ee                	jl     0x50cda4
50cdb6:	33 c0                	xor    %eax,%eax
50cdb8:	89 41 40             	mov    %eax,0x40(%ecx)
50cdbb:	5e                   	pop    %esi
50cdbc:	5b                   	pop    %ebx
50cdbd:	c3                   	ret
50cdbe:	8b c0                	mov    %eax,%eax
50cdc0:	53                   	push   %ebx
50cdc1:	56                   	push   %esi
50cdc2:	57                   	push   %edi
50cdc3:	55                   	push   %ebp
50cdc4:	83 c4 e8             	add    $0xffffffe8,%esp
50cdc7:	89 04 24             	mov    %eax,(%esp)
50cdca:	8b 04 24             	mov    (%esp),%eax
50cdcd:	c7 44 24 14 07 00 00 	movl   $0x7,0x14(%esp)
50cdd4:	00
50cdd5:	8b 10                	mov    (%eax),%edx
50cdd7:	8b 58 1c             	mov    0x1c(%eax),%ebx
50cdda:	8b ca                	mov    %edx,%ecx
50cddc:	8b f2                	mov    %edx,%esi
50cdde:	8b 50 04             	mov    0x4(%eax),%edx
50cde1:	2b f3                	sub    %ebx,%esi
50cde3:	03 cb                	add    %ebx,%ecx
50cde5:	8b 78 18             	mov    0x18(%eax),%edi
50cde8:	8b da                	mov    %edx,%ebx
50cdea:	2b d7                	sub    %edi,%edx
50cdec:	89 54 24 10          	mov    %edx,0x10(%esp)
50cdf0:	03 df                	add    %edi,%ebx
50cdf2:	8b 50 08             	mov    0x8(%eax),%edx
50cdf5:	8b 78 14             	mov    0x14(%eax),%edi
50cdf8:	8b ea                	mov    %edx,%ebp
50cdfa:	2b d7                	sub    %edi,%edx
50cdfc:	03 ef                	add    %edi,%ebp
50cdfe:	89 6c 24 04          	mov    %ebp,0x4(%esp)
50ce02:	89 54 24 0c          	mov    %edx,0xc(%esp)
50ce06:	8b 50 0c             	mov    0xc(%eax),%edx
50ce09:	8b fa                	mov    %edx,%edi
50ce0b:	03 78 10             	add    0x10(%eax),%edi
50ce0e:	2b 50 10             	sub    0x10(%eax),%edx
50ce11:	89 54 24 08          	mov    %edx,0x8(%esp)
50ce15:	8d 14 0f             	lea    (%edi,%ecx,1),%edx
50ce18:	2b cf                	sub    %edi,%ecx
50ce1a:	8b f9                	mov    %ecx,%edi
50ce1c:	8b 4c 24 04          	mov    0x4(%esp),%ecx
50ce20:	03 cb                	add    %ebx,%ecx
50ce22:	2b 5c 24 04          	sub    0x4(%esp),%ebx
50ce26:	8d 2c 11             	lea    (%ecx,%edx,1),%ebp
50ce29:	2b d1                	sub    %ecx,%edx
50ce2b:	89 28                	mov    %ebp,(%eax)
50ce2d:	89 50 10             	mov    %edx,0x10(%eax)
50ce30:	8d 14 1f             	lea    (%edi,%ebx,1),%edx
50ce33:	8b ca                	mov    %edx,%ecx
50ce35:	8d 14 91             	lea    (%ecx,%edx,4),%edx
50ce38:	8d 14 51             	lea    (%ecx,%edx,2),%edx
50ce3b:	8d 14 91             	lea    (%ecx,%edx,4),%edx
50ce3e:	8d 14 91             	lea    (%ecx,%edx,4),%edx
50ce41:	c1 fa 08             	sar    $0x8,%edx
50ce44:	8d 0c 3a             	lea    (%edx,%edi,1),%ecx
50ce47:	2b fa                	sub    %edx,%edi
50ce49:	89 48 08             	mov    %ecx,0x8(%eax)