507871:	33 cd                	xor    %ebp,%ecx
507873:	5b                   	pop    %ebx
507874:	e8 61 9c 0d 00       	call   0x5e14da
507879:	8b e5                	mov    %ebp,%esp
50787b:	5d                   	pop    %ebp
50787c:	c3                   	ret
50787d:	cc                   	int3
50787e:	cc                   	int3
50787f:	cc                   	int3
507880:	55                   	push   %ebp
507881:	8b ec                	mov    %esp,%ebp
507883:	56                   	push   %esi
507884:	8b 75 08             	mov    0x8(%ebp),%esi
507887:	8b 46 04             	mov    0x4(%esi),%eax
50788a:	a9 00 08 00 00       	test   $0x800,%eax
50788f:	75 05                	jne    0x507896
507891:	33 c0                	xor    %eax,%eax
507893:	5e                   	pop    %esi
507894:	5d                   	pop    %ebp
507895:	c3                   	ret
507896:	a8 20                	test   $0x20,%al
507898:	75 f7                	jne    0x507891
50789a:	8b 76 14             	mov    0x14(%esi),%esi
50789d:	83 7e 34 00          	cmpl   $0x0,0x34(%esi)
5078a1:	75 ee                	jne    0x507891
5078a3:	f6 46 04 09          	testb  $0x9,0x4(%esi)
5078a7:	75 e8                	jne    0x507891
5078a9:	83 7e 3c 00          	cmpl   $0x0,0x3c(%esi)
5078ad:	75 e2                	jne    0x507891
5078af:	83 7e 24 00          	cmpl   $0x0,0x24(%esi)
5078b3:	75 dc                	jne    0x507891
5078b5:	8b 46 20             	mov    0x20(%esi),%eax
5078b8:	83 38 01             	cmpl   $0x1,(%eax)
5078bb:	75 d4                	jne    0x507891
5078bd:	83 78 1c 00          	cmpl   $0x0,0x1c(%eax)
5078c1:	75 ce                	jne    0x507891
5078c3:	8b 40 18             	mov    0x18(%eax),%eax
5078c6:	83 78 38 00          	cmpl   $0x0,0x38(%eax)
5078ca:	75 c5                	jne    0x507891
5078cc:	8b 56 1c             	mov    0x1c(%esi),%edx
5078cf:	33 c9                	xor    %ecx,%ecx
5078d1:	57                   	push   %edi
5078d2:	8b 3a                	mov    (%edx),%edi
5078d4:	85 ff                	test   %edi,%edi
5078d6:	7e 17                	jle    0x5078ef
5078d8:	83 c2 04             	add    $0x4,%edx
5078db:	0f 1f 44 00 00       	nopl   0x0(%eax,%eax,1)
5078e0:	8b 02                	mov    (%edx),%eax
5078e2:	80 38 a4             	cmpb   $0xa4,(%eax)
5078e5:	75 0e                	jne    0x5078f5
5078e7:	41                   	inc    %ecx
5078e8:	83 c2 14             	add    $0x14,%edx
5078eb:	3b cf                	cmp    %edi,%ecx
5078ed:	7c f1                	jl     0x5078e0
5078ef:	5f                   	pop    %edi
5078f0:	8b c6                	mov    %esi,%eax
5078f2:	5e                   	pop    %esi
5078f3:	5d                   	pop    %ebp
5078f4:	c3                   	ret
5078f5:	5f                   	pop    %edi
5078f6:	33 c0                	xor    %eax,%eax
5078f8:	5e                   	pop    %esi
5078f9:	5d                   	pop    %ebp
5078fa:	c3                   	ret
5078fb:	cc                   	int3
5078fc:	cc                   	int3
5078fd:	cc                   	int3
5078fe:	cc                   	int3
5078ff:	cc                   	int3
507900:	55                   	push   %ebp
507901:	8b ec                	mov    %esp,%ebp
507903:	83 ec 08             	sub    $0x8,%esp
507906:	53                   	push   %ebx
507907:	8b 5d 14             	mov    0x14(%ebp),%ebx
50790a:	6a 30                	push   $0x30
50790c:	6a 00                	push   $0x0
50790e:	53                   	push   %ebx
50790f:	e8 ec c0 0d 00       	call   0x5e3a00
507914:	83 c4 0c             	add    $0xc,%esp
507917:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
50791b:	75 2f                	jne    0x50794c
50791d:	ff 75 08             	push   0x8(%ebp)
507920:	e8 bb 60 03 00       	call   0x53d9e0
507925:	83 c4 04             	add    $0x4,%esp
507928:	89 03                	mov    %eax,(%ebx)
50792a:	89 53 04             	mov    %edx,0x4(%ebx)
50792d:	85 d2                	test   %edx,%edx
50792f:	7c 11                	jl     0x507942
507931:	7f 04                	jg     0x507937
507933:	85 c0                	test   %eax,%eax
507935:	76 0b                	jbe    0x507942
507937:	c6 43 28 01          	movb   $0x1,0x28(%ebx)
50793b:	33 c0                	xor    %eax,%eax
50793d:	5b                   	pop    %ebx
50793e:	8b e5                	mov    %ebp,%esp
507940:	5d                   	pop    %ebp
507941:	c3                   	ret
507942:	b8 01 00 00 00       	mov    $0x1,%eax
507947:	5b                   	pop    %ebx
507948:	8b e5                	mov    %ebp,%esp
50794a:	5d                   	pop    %ebp
50794b:	c3                   	ret
50794c:	56                   	push   %esi
50794d:	8b 75 10             	mov    0x10(%ebp),%esi
507950:	8b 0e                	mov    (%esi),%ecx
507952:	0f b7 41 08          	movzwl 0x8(%ecx),%eax
507956:	83 e0 3f             	and    $0x3f,%eax
507959:	0f b6 80 68 30 6b 00 	movzbl 0x6b3068(%eax),%eax
507960:	83 f8 02             	cmp    $0x2,%eax
507963:	74 32                	je     0x507997
507965:	83 f8 01             	cmp    $0x1,%eax
507968:	74 2d                	je     0x507997
50796a:	51                   	push   %ecx
50796b:	e8 d0 ac fd ff       	call   0x4e2640
507970:	83 c4 04             	add    $0x4,%esp
507973:	85 c0                	test   %eax,%eax
507975:	74 15                	je     0x50798c
507977:	53                   	push   %ebx
507978:	50                   	push   %eax
507979:	ff 75 08             	push   0x8(%ebp)
50797c:	e8 4f 71 00 00       	call   0x50ead0
507981:	83 c4 0c             	add    $0xc,%esp
507984:	85 c0                	test   %eax,%eax
507986:	0f 84 87 00 00 00    	je     0x507a13
50798c:	5e                   	pop    %esi
50798d:	b8 01 00 00 00       	mov    $0x1,%eax
507992:	5b                   	pop    %ebx
507993:	8b e5                	mov    %ebp,%esp
507995:	5d                   	pop    %ebp
507996:	c3                   	ret
507997:	0f b7 41 08          	movzwl 0x8(%ecx),%eax
50799b:	a8 08                	test   $0x8,%al
50799d:	74 06                	je     0x5079a5
50799f:	f2 0f 10 09          	movsd  (%ecx),%xmm1
5079a3:	eb 2d                	jmp    0x5079d2
5079a5:	a8 24                	test   $0x24,%al
5079a7:	74 0f                	je     0x5079b8
5079a9:	8b 51 04             	mov    0x4(%ecx),%edx
5079ac:	8b 09                	mov    (%ecx),%ecx
5079ae:	e8 ed 9e 0d 00       	call   0x5e18a0
5079b3:	0f 28 c8             	movaps %xmm0,%xmm1
5079b6:	eb 1a                	jmp    0x5079d2
5079b8:	a8 12                	test   $0x12,%al
5079ba:	74 13                	je     0x5079cf
5079bc:	51                   	push   %ecx
5079bd:	e8 4e 1b 00 00       	call   0x509510
5079c2:	dd 5d f8             	fstpl  -0x8(%ebp)
5079c5:	f2 0f 10 4d f8       	movsd  -0x8(%ebp),%xmm1
5079ca:	83 c4 04             	add    $0x4,%esp
5079cd:	eb 03                	jmp    0x5079d2
5079cf:	0f 57 c9             	xorps  %xmm1,%xmm1
5079d2:	0f 57 c0             	xorps  %xmm0,%xmm0
5079d5:	f2 0f 11 4b 20       	movsd  %xmm1,0x20(%ebx)
5079da:	66 0f 2f c8          	comisd %xmm0,%xmm1
5079de:	c6 43 29 01          	movb   $0x1,0x29(%ebx)
5079e2:	72 2f                	jb     0x507a13
5079e4:	f2 0f 10 05 b8 c5 6b 	movsd  0x6bc5b8,%xmm0
5079eb:	00
5079ec:	66 0f 2f c1          	comisd %xmm1,%xmm0
5079f0:	76 21                	jbe    0x507a13
5079f2:	f2 0f 59 0d c0 c5 6b 	mulsd  0x6bc5c0,%xmm1
5079f9:	00
5079fa:	f2 0f 58 0d f8 9b 6a 	addsd  0x6a9bf8,%xmm1
507a01:	00
507a02:	0f 28 c1             	movaps %xmm1,%xmm0
507a05:	e8 81 9d 0d 00       	call   0x5e178b
507a0a:	89 03                	mov    %eax,(%ebx)
507a0c:	89 53 04             	mov    %edx,0x4(%ebx)
507a0f:	c6 43 28 01          	movb   $0x1,0x28(%ebx)
507a13:	57                   	push   %edi
507a14:	bf 01 00 00 00       	mov    $0x1,%edi
507a19:	39 7d 0c             	cmp    %edi,0xc(%ebp)
507a1c:	0f 8e 9f 00 00 00    	jle    0x507ac1
507a22:	8b 0c be             	mov    (%esi,%edi,4),%ecx
507a25:	85 c9                	test   %ecx,%ecx
507a27:	75 04                	jne    0x507a2d
507a29:	33 f6                	xor    %esi,%esi
507a2b:	eb 33                	jmp    0x507a60
507a2d:	0f b7 51 08          	movzwl 0x8(%ecx),%edx
507a31:	8b c2                	mov    %edx,%eax
507a33:	25 02 02 00 00       	and    $0x202,%eax
507a38:	3d 02 02 00 00       	cmp    $0x202,%eax
507a3d:	75 0b                	jne    0x507a4a
507a3f:	80 79 0a 01          	cmpb   $0x1,0xa(%ecx)
507a43:	75 05                	jne    0x507a4a
507a45:	8b 71 10             	mov    0x10(%ecx),%esi
507a48:	eb 16                	jmp    0x507a60
507a4a:	f6 c2 01             	test   $0x1,%dl
507a4d:	74 04                	je     0x507a53
507a4f:	33 f6                	xor    %esi,%esi
507a51:	eb 0d                	jmp    0x507a60
507a53:	6a 01                	push   $0x1
507a55:	51                   	push   %ecx
507a56:	e8 35 21 05 00       	call   0x559b90
507a5b:	83 c4 08             	add    $0x8,%esp
507a5e:	8b f0                	mov    %eax,%esi
507a60:	8b 4d 10             	mov    0x10(%ebp),%ecx
507a63:	8b 0c b9             	mov    (%ecx,%edi,4),%ecx
507a66:	0f b7 41 08          	movzwl 0x8(%ecx),%eax
507a6a:	a8 02                	test   $0x2,%al
507a6c:	74 0b                	je     0x507a79
507a6e:	80 79 0a 01          	cmpb   $0x1,0xa(%ecx)
507a72:	75 05                	jne    0x507a79
507a74:	8b 41 0c             	mov    0xc(%ecx),%eax
507a77:	eb 25                	jmp    0x507a9e
507a79:	a8 10                	test   $0x10,%al
507a7b:	74 0e                	je     0x507a8b
507a7d:	a9 00 40 00 00       	test   $0x4000,%eax
507a82:	8b 41 0c             	mov    0xc(%ecx),%eax
507a85:	74 17                	je     0x507a9e
507a87:	03 01                	add    (%ecx),%eax
507a89:	eb 13                	jmp    0x507a9e
507a8b:	a8 01                	test   $0x1,%al
507a8d:	74 04                	je     0x507a93
507a8f:	33 c0                	xor    %eax,%eax
507a91:	eb 0b                	jmp    0x507a9e
507a93:	6a 01                	push   $0x1
507a95:	51                   	push   %ecx
507a96:	e8 d5 1c 05 00       	call   0x559770
507a9b:	83 c4 08             	add    $0x8,%esp
507a9e:	85 f6                	test   %esi,%esi
507aa0:	74 4a                	je     0x507aec
507aa2:	53                   	push   %ebx
507aa3:	50                   	push   %eax
507aa4:	56                   	push   %esi
507aa5:	ff 75 08             	push   0x8(%ebp)
507aa8:	e8 53 72 00 00       	call   0x50ed00
507aad:	83 c4 10             	add    $0x10,%esp
507ab0:	85 c0                	test   %eax,%eax
507ab2:	75 38                	jne    0x507aec
507ab4:	8b 75 10             	mov    0x10(%ebp),%esi
507ab7:	47                   	inc    %edi
507ab8:	3b 7d 0c             	cmp    0xc(%ebp),%edi
507abb:	0f 8c 61 ff ff ff    	jl     0x507a22
507ac1:	53                   	push   %ebx
507ac2:	e8 c9 36 ff ff       	call   0x4fb190
507ac7:	83 c4 04             	add    $0x4,%esp
507aca:	80 7b 2e 00          	cmpb   $0x0,0x2e(%ebx)
507ace:	75 1c                	jne    0x507aec
507ad0:	81 7b 04 40 a6 01 00 	cmpl   $0x1a640,0x4(%ebx)
507ad7:	77 13                	ja     0x507aec
507ad9:	72 08                	jb     0x507ae3
507adb:	81 3b ff fd 72 10    	cmpl   $0x1072fdff,(%ebx)
507ae1:	77 09                	ja     0x507aec
507ae3:	5f                   	pop    %edi
507ae4:	5e                   	pop    %esi
507ae5:	33 c0                	xor    %eax,%eax
507ae7:	5b                   	pop    %ebx
507ae8:	8b e5                	mov    %ebp,%esp
507aea:	5d                   	pop    %ebp
507aeb:	c3                   	ret
507aec:	5f                   	pop    %edi
507aed:	5e                   	pop    %esi
507aee:	b8 01 00 00 00       	mov    $0x1,%eax
507af3:	5b                   	pop    %ebx
507af4:	8b e5                	mov    %ebp,%esp
507af6:	5d                   	pop    %ebp
507af7:	c3                   	ret
507af8:	cc                   	int3
507af9:	cc                   	int3
507afa:	cc                   	int3
507afb:	cc                   	int3
507afc:	cc                   	int3
507afd:	cc                   	int3
507afe:	cc                   	int3
507aff:	cc                   	int3
507b00:	55                   	push   %ebp
507b01:	8b ec                	mov    %esp,%ebp
507b03:	83 ec 70             	sub    $0x70,%esp
507b06:	a1 d4 89 72 00       	mov    0x7289d4,%eax
507b0b:	33 c5                	xor    %ebp,%eax
507b0d:	89 45 fc             	mov    %eax,-0x4(%ebp)
507b10:	8b 45 08             	mov    0x8(%ebp),%eax
507b13:	89 45 90             	mov    %eax,-0x70(%ebp)
507b16:	8b 45 0c             	mov    0xc(%ebp),%eax
507b19:	56                   	push   %esi
507b1a:	8b 75 14             	mov    0x14(%ebp),%esi
507b1d:	89 75 94             	mov    %esi,-0x6c(%ebp)
507b20:	83 38 01             	cmpl   $0x1,(%eax)
507b23:	74 11                	je     0x507b36
507b25:	33 c0                	xor    %eax,%eax
507b27:	5e                   	pop    %esi
507b28:	8b 4d fc             	mov    -0x4(%ebp),%ecx
507b2b:	33 cd                	xor    %ebp,%ecx
507b2d:	e8 a8 99 0d 00       	call   0x5e14da
507b32:	8b e5                	mov    %ebp,%esp
507b34:	5d                   	pop    %ebp
507b35:	c3                   	ret
507b36:	8b 48 34             	mov    0x34(%eax),%ecx
507b39:	33 d2                	xor    %edx,%edx
507b3b:	53                   	push   %ebx
507b3c:	8b 58 18             	mov    0x18(%eax),%ebx
507b3f:	57                   	push   %edi
507b40:	8b 3e                	mov    (%esi),%edi
507b42:	89 4d 98             	mov    %ecx,-0x68(%ebp)
507b45:	85 ff                	test   %edi,%edi
507b47:	7e 59                	jle    0x507ba2
507b49:	83 c6 04             	add    $0x4,%esi
507b4c:	0f 1f 40 00          	nopl   0x0(%eax)
507b50:	8b 06                	mov    (%esi),%eax
507b52:	85 c0                	test   %eax,%eax
507b54:	74 2f                	je     0x507b85
507b56:	66 66 0f 1f 84 00 00 	data16 nopw 0x0(%eax,%eax,1)
507b5d:	00 00 00
507b60:	8b 48 04             	mov    0x4(%eax),%ecx
507b63:	f7 c1 00 10 04 00    	test   $0x41000,%ecx
507b69:	74 17                	je     0x507b82
507b6b:	f7 c1 00 00 04 00    	test   $0x40000,%ecx
507b71:	74 08                	je     0x507b7b
507b73:	8b 40 14             	mov    0x14(%eax),%eax
507b76:	8b 40 04             	mov    0x4(%eax),%eax
507b79:	eb 03                	jmp    0x507b7e
507b7b:	8b 40 0c             	mov    0xc(%eax),%eax
507b7e:	85 c0                	test   %eax,%eax
507b80:	75 de                	jne    0x507b60
507b82:	8b 4d 98             	mov    -0x68(%ebp),%ecx
507b85:	80 38 a4             	cmpb   $0xa4,(%eax)
507b88:	75 10                	jne    0x507b9a
507b8a:	39 48 1c             	cmp    %ecx,0x1c(%eax)
507b8d:	75 0b                	jne    0x507b9a
507b8f:	66 83 78 20 00       	cmpw   $0x0,0x20(%eax)
507b94:	0f 8c d3 00 00 00    	jl     0x507c6d
507b9a:	42                   	inc    %edx
507b9b:	83 c6 14             	add    $0x14,%esi
507b9e:	3b d7                	cmp    %edi,%edx
507ba0:	7c ae                	jl     0x507b50
507ba2:	8b 7b 08             	mov    0x8(%ebx),%edi
507ba5:	85 ff                	test   %edi,%edi
507ba7:	0f 84 d6 00 00 00    	je     0x507c83
507bad:	0f 1f 00             	nopl   (%eax)
507bb0:	80 7f 36 00          	cmpb   $0x0,0x36(%edi)
507bb4:	0f 84 a4 00 00 00    	je     0x507c5e
507bba:	33 c0                	xor    %eax,%eax
507bbc:	33 db                	xor    %ebx,%ebx
507bbe:	66 3b 47 32          	cmp    0x32(%edi),%ax
507bc2:	0f 83 8e 00 00 00    	jae    0x507c56
507bc8:	57                   	push   %edi
507bc9:	6a 02                	push   $0x2
507bcb:	53                   	push   %ebx
507bcc:	51                   	push   %ecx
507bcd:	ff 75 10             	push   0x10(%ebp)
507bd0:	8d 45 9c             	lea    -0x64(%ebp),%eax
507bd3:	33 f6                	xor    %esi,%esi
507bd5:	50                   	push   %eax
507bd6:	e8 05 cc 05 00       	call   0x5647e0
507bdb:	83 c4 18             	add    $0x18,%esp
507bde:	85 c0                	test   %eax,%eax
507be0:	74 23                	je     0x507c05
507be2:	8b 48 20             	mov    0x20(%eax),%ecx
507be5:	0b 48 24             	or     0x24(%eax),%ecx