50c82e:	8b 14 24             	mov    (%esp),%edx
50c831:	83 ba c0 00 00 00 00 	cmpl   $0x0,0xc0(%edx)
50c838:	74 10                	je     0x50c84a
50c83a:	83 7b 44 00          	cmpl   $0x0,0x44(%ebx)
50c83e:	75 0a                	jne    0x50c84a
50c840:	8b 53 48             	mov    0x48(%ebx),%edx
50c843:	8b c3                	mov    %ebx,%eax
50c845:	e8 f2 fd ff ff       	call   0x50c63c
50c84a:	8b 0e                	mov    (%esi),%ecx
50c84c:	89 4c 24 14          	mov    %ecx,0x14(%esp)
50c850:	33 f6                	xor    %esi,%esi
50c852:	8b 04 24             	mov    (%esp),%eax
50c855:	8b 90 34 01 00 00    	mov    0x134(%eax),%edx
50c85b:	89 54 24 08          	mov    %edx,0x8(%esp)
50c85f:	8b 4c 24 08          	mov    0x8(%esp),%ecx
50c863:	8d 04 8d 64 d9 68 00 	lea    0x68d964(,%ecx,4),%eax
50c86a:	89 44 24 18          	mov    %eax,0x18(%esp)
50c86e:	8b 54 24 08          	mov    0x8(%esp),%edx
50c872:	3b 54 24 0c          	cmp    0xc(%esp),%edx
50c876:	0f 8f a8 00 00 00    	jg     0x50c924
50c87c:	8b 4c 24 18          	mov    0x18(%esp),%ecx
50c880:	8b 01                	mov    (%ecx),%eax
50c882:	8b 54 24 14          	mov    0x14(%esp),%edx
50c886:	0f bf 3c 42          	movswl (%edx,%eax,2),%edi
50c88a:	85 ff                	test   %edi,%edi
50c88c:	75 03                	jne    0x50c891
50c88e:	46                   	inc    %esi
50c88f:	eb 7c                	jmp    0x50c90d
50c891:	85 ff                	test   %edi,%edi
50c893:	7d 12                	jge    0x50c8a7
50c895:	f7 df                	neg    %edi
50c897:	8b 4c 24 10          	mov    0x10(%esp),%ecx
50c89b:	d3 ff                	sar    %cl,%edi
50c89d:	8b c7                	mov    %edi,%eax
50c89f:	f7 d0                	not    %eax
50c8a1:	89 44 24 04          	mov    %eax,0x4(%esp)
50c8a5:	eb 0a                	jmp    0x50c8b1
50c8a7:	8b 4c 24 10          	mov    0x10(%esp),%ecx
50c8ab:	d3 ff                	sar    %cl,%edi
50c8ad:	89 7c 24 04          	mov    %edi,0x4(%esp)
50c8b1:	85 ff                	test   %edi,%edi
50c8b3:	75 03                	jne    0x50c8b8
50c8b5:	46                   	inc    %esi
50c8b6:	eb 55                	jmp    0x50c90d
50c8b8:	83 7b 38 00          	cmpl   $0x0,0x38(%ebx)
50c8bc:	76 07                	jbe    0x50c8c5
50c8be:	8b c3                	mov    %ebx,%eax
50c8c0:	e8 27 fd ff ff       	call   0x50c5ec
50c8c5:	83 fe 0f             	cmp    $0xf,%esi
50c8c8:	7e 17                	jle    0x50c8e1
50c8ca:	b9 f0 00 00 00       	mov    $0xf0,%ecx
50c8cf:	8b 53 34             	mov    0x34(%ebx),%edx
50c8d2:	8b c3                	mov    %ebx,%eax
50c8d4:	e8 bb fc ff ff       	call   0x50c594
50c8d9:	83 ee 10             	sub    $0x10,%esi
50c8dc:	83 fe 0f             	cmp    $0xf,%esi
50c8df:	7f e9                	jg     0x50c8ca
50c8e1:	bd 01 00 00 00       	mov    $0x1,%ebp
50c8e6:	eb 01                	jmp    0x50c8e9
50c8e8:	45                   	inc    %ebp
50c8e9:	d1 ff                	sar    $1,%edi
50c8eb:	75 fb                	jne    0x50c8e8
50c8ed:	8b ce                	mov    %esi,%ecx
50c8ef:	8b 53 34             	mov    0x34(%ebx),%edx
50c8f2:	c1 e1 04             	shl    $0x4,%ecx
50c8f5:	8b c3                	mov    %ebx,%eax
50c8f7:	03 cd                	add    %ebp,%ecx
50c8f9:	e8 96 fc ff ff       	call   0x50c594
50c8fe:	8b cd                	mov    %ebp,%ecx
50c900:	8b 54 24 04          	mov    0x4(%esp),%edx
50c904:	8b c3                	mov    %ebx,%eax
50c906:	e8 cd fb ff ff       	call   0x50c4d8
50c90b:	33 f6                	xor    %esi,%esi
50c90d:	ff 44 24 08          	incl   0x8(%esp)
50c911:	83 44 24 18 04       	addl   $0x4,0x18(%esp)
50c916:	8b 44 24 08          	mov    0x8(%esp),%eax
50c91a:	3b 44 24 0c          	cmp    0xc(%esp),%eax
50c91e:	0f 8e 58 ff ff ff    	jle    0x50c87c
50c924:	85 f6                	test   %esi,%esi
50c926:	7e 13                	jle    0x50c93b
50c928:	ff 43 38             	incl   0x38(%ebx)
50c92b:	81 7b 38 ff 7f 00 00 	cmpl   $0x7fff,0x38(%ebx)
50c932:	75 07                	jne    0x50c93b
50c934:	8b c3                	mov    %ebx,%eax
50c936:	e8 b1 fc ff ff       	call   0x50c5ec
50c93b:	8b 14 24             	mov    (%esp),%edx
50c93e:	8b 42 14             	mov    0x14(%edx),%eax
50c941:	8b 53 10             	mov    0x10(%ebx),%edx
50c944:	89 10                	mov    %edx,(%eax)
50c946:	8b 4b 14             	mov    0x14(%ebx),%ecx
50c949:	89 48 04             	mov    %ecx,0x4(%eax)
50c94c:	8b 04 24             	mov    (%esp),%eax
50c94f:	8b 80 c0 00 00 00    	mov    0xc0(%eax),%eax
50c955:	85 c0                	test   %eax,%eax
50c957:	74 13                	je     0x50c96c
50c959:	83 7b 44 00          	cmpl   $0x0,0x44(%ebx)
50c95d:	75 0a                	jne    0x50c969
50c95f:	89 43 44             	mov    %eax,0x44(%ebx)
50c962:	ff 43 48             	incl   0x48(%ebx)
50c965:	83 63 48 07          	andl   $0x7,0x48(%ebx)
50c969:	ff 4b 44             	decl   0x44(%ebx)
50c96c:	b8 01 00 00 00       	mov    $0x1,%eax
50c971:	83 c4 1c             	add    $0x1c,%esp
50c974:	5d                   	pop    %ebp
50c975:	5f                   	pop    %edi
50c976:	5e                   	pop    %esi
50c977:	5b                   	pop    %ebx
50c978:	c3                   	ret
50c979:	90                   	nop
50c97a:	90                   	nop
50c97b:	90                   	nop
50c97c:	53                   	push   %ebx
50c97d:	56                   	push   %esi
50c97e:	8b d8                	mov    %eax,%ebx
50c980:	57                   	push   %edi
50c981:	55                   	push   %ebp
50c982:	51                   	push   %ecx
50c983:	8b b3 64 01 00 00    	mov    0x164(%ebx),%esi
50c989:	8b 83 40 01 00 00    	mov    0x140(%ebx),%eax
50c98f:	89 04 24             	mov    %eax,(%esp)
50c992:	8b fa                	mov    %edx,%edi
50c994:	8b 53 14             	mov    0x14(%ebx),%edx
50c997:	8b 0a                	mov    (%edx),%ecx
50c999:	89 4e 10             	mov    %ecx,0x10(%esi)
50c99c:	8b 43 14             	mov    0x14(%ebx),%eax
50c99f:	8b 50 04             	mov    0x4(%eax),%edx
50c9a2:	89 56 14             	mov    %edx,0x14(%esi)
50c9a5:	83 bb c0 00 00 00 00 	cmpl   $0x0,0xc0(%ebx)
50c9ac:	74 10                	je     0x50c9be
50c9ae:	83 7e 44 00          	cmpl   $0x0,0x44(%esi)
50c9b2:	75 0a                	jne    0x50c9be
50c9b4:	8b 56 48             	mov    0x48(%esi),%edx
50c9b7:	8b c6                	mov    %esi,%eax
50c9b9:	e8 7e fc ff ff       	call   0x50c63c
50c9be:	33 ed                	xor    %ebp,%ebp
50c9c0:	8b c7                	mov    %edi,%eax
50c9c2:	8b f8                	mov    %eax,%edi
50c9c4:	eb 1e                	jmp    0x50c9e4
50c9c6:	8b 07                	mov    (%edi),%eax
50c9c8:	8b 0c 24             	mov    (%esp),%ecx
50c9cb:	0f bf 10             	movswl (%eax),%edx
50c9ce:	8b c2                	mov    %edx,%eax
50c9d0:	8b d0                	mov    %eax,%edx
50c9d2:	8b c6                	mov    %esi,%eax
50c9d4:	d3 fa                	sar    %cl,%edx
50c9d6:	b9 01 00 00 00       	mov    $0x1,%ecx
50c9db:	e8 f8 fa ff ff       	call   0x50c4d8
50c9e0:	45                   	inc    %ebp
50c9e1:	83 c7 04             	add    $0x4,%edi
50c9e4:	3b ab 08 01 00 00    	cmp    0x108(%ebx),%ebp
50c9ea:	7c da                	jl     0x50c9c6
50c9ec:	8b 43 14             	mov    0x14(%ebx),%eax
50c9ef:	8b 56 10             	mov    0x10(%esi),%edx
50c9f2:	89 10                	mov    %edx,(%eax)
50c9f4:	8b 4e 14             	mov    0x14(%esi),%ecx
50c9f7:	89 48 04             	mov    %ecx,0x4(%eax)
50c9fa:	8b 83 c0 00 00 00    	mov    0xc0(%ebx),%eax
50ca00:	85 c0                	test   %eax,%eax
50ca02:	74 13                	je     0x50ca17
50ca04:	83 7e 44 00          	cmpl   $0x0,0x44(%esi)
50ca08:	75 0a                	jne    0x50ca14
50ca0a:	89 46 44             	mov    %eax,0x44(%esi)
50ca0d:	ff 46 48             	incl   0x48(%esi)
50ca10:	83 66 48 07          	andl   $0x7,0x48(%esi)
50ca14:	ff 4e 44             	decl   0x44(%esi)
50ca17:	b8 01 00 00 00       	mov    $0x1,%eax
50ca1c:	5a                   	pop    %edx
50ca1d:	5d                   	pop    %ebp
50ca1e:	5f                   	pop    %edi
50ca1f:	5e                   	pop    %esi
50ca20:	5b                   	pop    %ebx
50ca21:	c3                   	ret
50ca22:	90                   	nop
50ca23:	90                   	nop
50ca24:	53                   	push   %ebx
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