Function at 0x1000faf0
Capabilities:
Decompress data using quicklz
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [eax + 0x548]
push esi
push ebx
mov ebx, 2
and esp, 0xfffffff0
sub esp, 0x230
mov dword [eax + 0xc0], 0
mov dword [esp + 0x18], eax
add eax, 0x2198
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], eax
jmp 0x1000fb64
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
add ebx, 1
movzx eax, word [eax + edx]
shr eax, 4
mov edx, dword [edi + eax*4]
xor eax, 0x7f
add edx, ecx
add ecx, dword [edi + eax*4]
mov dword [esp + esi*4 + 0x30], edx
mov edx, dword [esp + 0x1c]
add edx, esi
mov dword [esp + edx*4 + 0x30], ecx
cmp ebx, 0x40
je 0x1000fc06
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
movzx ecx, byte [eax + ebx + 0x2a98]
mov eax, ecx
shr ecx, 1
and eax, 1
sub ecx, 1
or eax, 2
shl eax, cl
lea edx, [edi + eax*4]
mov edi, 1
lea esi, [eax + ebx]
shl edi, cl
mov dword [esp + 0x2c], edx
mov edx, 2
mov dword [esp + 0x1c], edi
test ecx, ecx
je 0x1000fb30
mov dword [esp + 0x24], 0
mov edi, ebx
mov edx, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
lea esi, [esi]
mov esi, edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
shr edi, 1
and esi, 1
mov ebx, esi
movzx eax, word [eax + edx*2]
lea edx, [esi + edx*2]
neg ebx
and ebx, 0x7ff
xor eax, ebx
shr eax, 4
mov eax, dword [ecx + eax*4]
add dword [esp + 0x24], eax
sub dword [esp + 0x20], 1
jne 0x1000fbc0
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
add edx, edx
mov ecx, dword [esp + 0x24]
jmp 0x1000fb30
movdqu xmm2, xmmword [0x10039570]
mov esi, dword [esp + 0x18]
lea eax, [esi + 0x1f98]
lea edi, [esi + 0x1050]
mov edx, esi
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x1450]
mov dword [esp + 8], eax
mov eax, 0xfffff378
sub eax, esi
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0xc8]
add eax, 1
shr eax, 1
mov esi, eax
lea eax, [edi - 0x38]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, 0x20
je 0x1000fdbc
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x28]
nop
mov edx, dword [esp + 0x2c]
mov edi, eax
mov ebx, eax
shr edi, 1
shr ebx, 3
movzx ecx, word [edx + edi*2]
mov edx, eax
and edi, 1
and edx, 1
neg edi
neg edx
and edi, 0x7ff
and edx, 0x7ff
xor ecx, edx
mov edx, eax
shr ecx, 4
shr edx, 2
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2c]
movzx ecx, word [ecx + edx*2]
and edx, 1
neg edx
xor ecx, edi
mov edi, dword [esp + 0x2c]
and edx, 0x7ff
shr ecx, 4
movzx edi, word [edi + ebx*2]
and ebx, 1
neg ebx
xor edi, edx
and ebx, 0x7ff
shr edi, 4
mov edx, dword [esi + edi*4]
add edx, dword [esi + ecx*4]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
add edx, dword [esi + ecx*4]
mov ecx, eax
shr ecx, 4
movzx edi, word [edi + ecx*2]
and ecx, 1
neg ecx
xor edi, ebx
mov ebx, eax
and ecx, 0x7ff
shr edi, 4
shr ebx, 5
add edx, dword [esi + edi*4]
mov edi, dword [esp + 0x2c]
movzx ebx, word [edi + ebx*2]
xor ebx, ecx
movzx ecx, word [edi + eax*2]
mov edi, dword [esp + 0x20]
shr ebx, 4
shr ecx, 4
add edx, dword [esi + ebx*4]
mov ebx, dword [esi + ecx*4]
xor ecx, 0x7f
add ebx, edx
mov dword [edi + eax*8 - 0x100], ebx
add edx, dword [esi + ecx*4]
mov dword [edi + eax*8 - 0xfc], edx
add eax, 1
cmp dword [esp + 0x1c], eax
jne 0x1000fc70
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp esi, 7
jbe 0x1000fdbc
lea ebx, [esi - 7]
cmp esi, 8
je 0x1000fe47
movdqu xmm1, xmmword [str.__00]
mov ecx, ebx
mov eax, edi
shr ecx, 1
shl ecx, 4
add ecx, edi
lea esi, [esi]
movdqu xmm3, xmmword [eax]
movdqa xmm0, xmm1
add eax, 0x10
paddd xmm1, xmm2
paddd xmm0, xmm3
movups xmmword [eax - 0x10], xmm0
cmp eax, ecx
jne 0x1000fd80
test bl, 1
je 0x1000fdbc
and ebx, 0xfffffffe
mov ecx, ebx
lea eax, [ebx + 7]
add ecx, 2
shl ecx, 4
mov esi, dword [esp + 0x20]
shl eax, 3
add dword [esi + eax], ecx
add dword [esi + eax + 4], ecx
mov ecx, dword [edi - 0x38]
mov eax, edx
mov esi, dword [esp + 0xc]
neg eax
mov dword [eax + edi*2 - 0xc88], ecx
mov ecx, dword [edi - 0x34]
lea ebx, [esi + edi*2]
mov dword [eax + edi*2 - 0xc84], ecx
mov ecx, dword [edi - 0x30]
mov dword [eax + edi*2 - 0xc80], ecx
mov ecx, dword [edi - 0x2c]
mov dword [eax + edi*2 - 0xc7c], ecx
mov eax, 4
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x20]
lea esi, [esi]
movzx ecx, byte [edx + eax + 0x2a98]
mov esi, dword [esp + eax*4 + 0x30]
mov ecx, dword [edi + ecx*4]
add esi, ecx
add ecx, dword [esp + eax*4 + 0x34]
mov dword [ebx + eax*4], esi
mov dword [ebx + eax*4 + 4], ecx
add eax, 2
cmp eax, 0x80
jne 0x1000fe00
mov edi, dword [esp + 0x24]
sub dword [esp + 0x2c], 0xffffff80
add edi, 0x100
cmp dword [esp + 8], edi
jne 0x1000fc39
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, 0x20
mov eax, 7
jmp 0x1000fdae