Function at 0x52cde3
Capabilities:
Decompress data using quicklz

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov dword [eax], 0
mov dx, word [ecx + 0xe]
push edi
mov dword [ebp - 0xc], ecx
mov edi, dword [edx*4 + 0x6ccb20]
mov dword [ebp - 0x10], 0xffffffff
test edi, edi
je 0x52d0c2
jmp 0x52ce19
mov ecx, dword [ebp - 0xc]
mov al, byte [edi + 0x12c]
cmp al, 0x3a
je 0x52ce2b
cmp al, 0x40
jne 0x52d0aa
mov esi, dword [ebp + 8]
mov edx, dword [edi + 0x1a]
mov eax, dword [esi + 0x1a]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x1e]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x1e]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
imul ebx
shrd eax, edx, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x14]
imul ebx
shrd eax, edx, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add edx, eax
mov eax, dword [ebp - 0x10]
cmp edx, eax
jae 0x52d0aa
xor eax, eax
mov dword [ebp - 8], 0
mov ax, word [ecx + 0xa]
mov ebx, dword [eax*4 + 0x6ccb20]
test ebx, ebx
je 0x52cf02
mov ecx, dword [ebx + 0x2f7]
mov eax, dword [ebx + 0x2fb]
mov dword [ebp - 0x40], ecx
mov ecx, dword [0x6cba64]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
push eax
call dword [edx + 0x200]
test eax, eax
je 0x52cee5
mov eax, dword [ebx + 0x2f7]
mov ecx, dword [ebx + 0x2fb]
cmp eax, dword [edi + 0x1a]
mov edx, dword [edi + 0x22]
jne 0x52cee5
cmp ecx, dword [edi + 0x1e]
jne 0x52cee5
mov eax, edx
cmp edx, eax
je 0x52cefb
xor ecx, ecx
mov cx, word [ebx + 0x238]
mov ebx, dword [ecx*4 + 0x6ccb20]
test ebx, ebx
je 0x52cf02
jmp 0x52ce97
mov dword [ebp - 8], 1
cmp byte [edi + 0x12c], 0x40
jne 0x52d055
lea eax, [edi + 0x1a]
xor esi, esi
mov si, word [edi + 0xf4]
mov edx, dword [eax]
mov dword [ebp - 0x4c], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x48], ecx
mov edx, dword [eax + 8]
mov al, byte [edi + 0x14a]
cmp al, 2
mov dword [ebp - 0x44], edx
jne 0x52cfad
mov eax, dword [edi + 0x1a]
mov ecx, dword [edi + 0x1e]
push 0x503
lea edx, [ebp - 0x14]
push 0x7ade6c
push edx
sar eax, 0xc
sar ecx, 0xc
push 0x2286
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
call fcn.0059cec2
add esp, 0x10
mov ebx, eax
lea eax, [ebp - 0x20]
push 0x503
push 0x7ade6c
push eax
push 0x16f2
call fcn.0059cec2
add esp, 0x10
lea ecx, [ebp - 0x24]
xor ebx, eax
push 0x505
push 0x7ade6c
push ecx
push 2
mov dword [ebp - 0x24], ebx
call fcn.0059cec2
add esp, 0x10
test eax, eax
je 0x52cfad
add esi, 0xfffffc00
and esi, 0x7ff
mov edx, dword [edi + 0x12d]
mov ecx, dword [ebp + 8]
xor eax, eax
and esi, 0x7ff
mov ax, word [edx + 0xf8]
mov edx, dword [ecx + 0x370]
xor ecx, ecx
mov ebx, dword [ebp - 0x4c]
mov cx, word [edx + 0x63a]
mov dword [ebp - 0x28], 0
shr eax, 1
shr ecx, 1
add eax, ecx
shl esi, 2
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 2
imul ecx
sar edx, 5
mov eax, edx
mov ecx, dword [ebp - 0x48]
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0x7cd488]
imul eax, edx
sar eax, 0x10
add ebx, eax
mov eax, dword [esi + 0x7cdc88]
imul eax, edx
neg eax
sar eax, 0x10
add ecx, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [0x6cba64]
lea eax, [ebp - 0x4c]
push 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x1d4]
mov ecx, eax
call fcn.004a1b35
test eax, eax
je 0x52d052
mov dword [ebp - 8], 1
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x52d0aa
mov eax, dword [esi + 0x1a]
mov ecx, dword [edi + 0x1a]
sub eax, ecx
mov ebx, dword [edi + 0x1e]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x1e]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x20]
imul ebx
shrd eax, edx, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x14]
imul ebx
shrd eax, edx, 0xc
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0xc]
add edx, ecx
mov dword [ebp - 0x10], edx
mov dword [eax], edi
xor ecx, ecx
mov cx, word [edi + 0x12a]
mov edi, dword [ecx*4 + 0x6ccb20]
test edi, edi
jne 0x52ce16
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0x52d3ef
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov ax, word [ecx + 0x3b9]
mov dword [ebp - 8], 0
mov edx, dword [eax*4 + 0x6ccb20]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x34], edx
mov al, byte [edx + 0x2e]
mov cl, byte [edx + 0x2d]
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x2f], al
mov al, byte [ebp - 0x30]
test al, al
jne 0x52d11b
mov al, byte [ebp - 0x2f]
test al, al
je 0x52d200
mov eax, dword [ebp - 0x2f]
mov ecx, dword [0x6cba64]
and eax, 0xff
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x30]
and eax, 0xff
push eax
call dword [edx + 0x1d8]
mov esi, eax
mov ecx, esi
call fcn.004a2531
lea ecx, [ebp - 1]
mov edi, eax
push ecx
mov ecx, esi
call fcn.004a2654
xor ebx, ebx
cmp eax, ebx
jne 0x52d1f3
cmp edi, ebx
jne 0x52d1f3
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x10], ebx
mov dx, word [eax + 0xa]
mov edi, dword [edx*4 + 0x6ccb20]
cmp edi, ebx
je 0x52d1eb
mov ecx, dword [edi + 0x2f7]
mov edx, dword [edi + 0x2fb]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [0x6cba64]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ebx
mov eax, dword [ecx]
lea edx, [ebp - 0x4c]
push edx
call dword [eax + 0x200]
test eax, eax
je 0x52d1d7
mov ecx, dword [edi + 0x2fb]
mov eax, dword [edi + 0x2f7]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [0x6cba64]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ebx
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
push eax
call dword [edx + 0x1d4]
cmp eax, esi
jne 0x52d1d7
mov dword [ebp - 0x10], 1
xor ecx, ecx
mov cx, word [edi + 0x238]
mov edi, dword [ecx*4 + 0x6ccb20]
cmp edi, ebx
jne 0x52d17a
cmp dword [ebp - 0x10], ebx
jne 0x52d1f3
inc dword [ebp - 8]
mov dx, word [esi + 4]
mov word [ebp - 0x30], dx
jmp 0x52d109
mov eax, dword [ebp - 8]
test eax, eax
je 0x52d39a
mov ecx, dword [0x6cba64]
push 0x55a
add ecx, 0x15a0
push 0x7ade6c
push ecx
push eax
call fcn.0059cec2
mov edx, dword [ebp - 0x34]
mov dword [ebp - 8], eax
add esp, 0x10
xor eax, eax
mov al, byte [edx + 0x2e]
xor ecx, ecx
mov cl, byte [edx + 0x2d]
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x30], cl
mov al, byte [ebp - 0x30]
xor ebx, ebx
cmp al, bl
jne 0x52d253
cmp byte [ebp - 0x2f], bl
je 0x52d362
mov eax, dword [ebp - 0x2f]
mov ecx, dword [0x6cba64]
and eax, 0xff
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x30]
and eax, 0xff
push eax
call dword [edx + 0x1d8]
mov esi, eax
mov ecx, esi
call fcn.004a2531
lea ecx, [ebp - 1]
mov edi, eax
push ecx
mov ecx, esi
call fcn.004a2654
cmp edi, ebx
jne 0x52d331
cmp eax, ebx
jne 0x52d331
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x10], ebx
mov dx, word [eax + 0xa]
mov edi, dword [edx*4 + 0x6ccb20]
cmp edi, ebx
je 0x52d321
mov ecx, dword [edi + 0x2f7]
mov edx, dword [edi + 0x2fb]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [0x6cba64]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ebx
mov eax, dword [ecx]
lea edx, [ebp - 0x4c]
push edx
call dword [eax + 0x200]
test eax, eax
je 0x52d30d
mov ecx, dword [edi + 0x2fb]
mov eax, dword [edi + 0x2f7]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [0x6cba64]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ebx
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
push eax
call dword [edx + 0x1d4]
cmp eax, esi
jne 0x52d30d
mov dword [ebp - 0x10], 1
xor ecx, ecx
mov cx, word [edi + 0x238]
mov edi, dword [ecx*4 + 0x6ccb20]
cmp edi, ebx
jne 0x52d2b0
cmp dword [ebp - 0x10], ebx
jne 0x52d331
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x52d33e
dec eax
mov dword [ebp - 8], eax
mov dx, word [esi + 4]
mov word [ebp - 0x30], dx
jmp 0x52d241
mov eax, dword [ebp - 0x30]
and eax, 0xff
shl eax, 0xc
add eax, 0x800
mov ecx, eax
mov eax, dword [ebp - 0x2f]
and eax, 0xff
shl eax, 0xc
add eax, 0x800
jmp 0x52d368
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
cmp ecx, ebx
jne 0x52d370
cmp eax, ebx
je 0x52d381
mov esi, dword [ebp + 0x10]
mov edx, esi
mov dword [edx], ecx
mov dword [edx + 4], eax
xor eax, eax
mov dword [edx + 8], eax
jmp 0x52d39d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
add eax, 0x1a
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov esi, dword [ebp + 0x10]
mov ecx, dword [0x6cba64]
push 0x599
add ecx, 0x15a0
push 0x7ade6c
push ecx
push 0x800
call fcn.0059cec2
and eax, 0x7ff
mov ebx, dword [esi]
shl eax, 2
mov ecx, dword [esi + 4]
add esp, 0x10
mov edx, dword [eax + 0x7cdc88]
shl edx, 7
sar edx, 0x10
add ebx, edx
mov dword [esi], ebx
mov eax, dword [eax + 0x7cd488]
shl eax, 7
sar eax, 0x10
add ecx, eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0xc]
xor eax, eax
pop edi
pop esi
mov edx, dword [ecx]
pop ebx
test edx, edx
setne al
mov esp, ebp
pop ebp
ret 0xc