Function at 0x4516d0
Capabilities:
Decompress data using quicklz

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x9988ec]
push ebx
push esi
cmp eax, 1
push edi
mov esi, ecx
jne 0x4516ec
mov eax, 4
jmp 0x4516f6
cmp eax, 4
jne 0x4516fb
mov eax, 1
mov dword [0x9988ec], eax
mov edx, dword [eax*4 + 0x64f224]
mov eax, dword [0x9988d8]
mov ebx, dword [ebp + 0x14]
lea ecx, [eax + eax*2]
shl edx, 9
lea ecx, [ecx + ecx*8]
lea eax, [eax + ecx*8]
mov ecx, esi
add ecx, edx
lea eax, [eax + eax*2]
test ebx, ebx
lea edx, [ecx + eax*8 + 0x1dc]
mov dword [ebp - 0xc], edx
jle 0x4521c3
mov eax, dword [esi + 0x70]
test eax, eax
je 0x451739
mov dword [ebp - 0xc], eax
mov edi, dword [ebp + 0x1c]
cmp edi, 0x20
jge 0x4521c3
cmp word [0x70be6c], 0
jne 0x451754
call fcn.0044dca0
shl edi, 9
mov ecx, 0x70bd74
lea eax, [edi + 0x707d74]
sub ecx, edi
mov dword [ebp - 0x10], eax
mov eax, dword [0xdc088c]
test eax, eax
mov dword [ebp - 0x14], ecx
jne 0x451c18
mov eax, dword [esi + 4]
test eax, eax
je 0x4517a0
mov edx, dword [0xba3998]
mov eax, 0xaf0
mov dword [0xdc0844], edx
mov dword [ebp + 0x1c], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x58]
mov esi, dword [esi + 0x5c]
mov dword [ebp - 8], eax
jmp 0x4517c0
mov ecx, dword [0xba3994]
mov eax, dword [0xba3940]
mov dword [0xdc0844], ecx
mov edx, dword [esi + 0x60]
mov esi, dword [esi + 0x64]
mov dword [ebp + 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
lea ecx, [eax + ebx]
cmp ecx, esi
jle 0x4517d7
sub esi, eax
test esi, esi
mov dword [ebp + 0x14], esi
jle 0x4521c3
cmp dword [0xba3954], 0x555
jne 0x451a28
mov esi, dword [ebp + 0x18]
mov edi, dword [0xdc0844]
mov eax, dword [ebp + 8]
cmp eax, 0
jl 0x451a1f
add eax, eax
add edi, eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
cmp eax, ebx
jge 0x451854
sub ebx, eax
mov eax, ebx
cmp dword [ebp + 0x14], eax
jle 0x451a1f
sub dword [ebp + 0x14], eax
mov ecx, 0
mov bl, byte [esi]
mov cl, byte [esi]
and bl, 0xe0
and cl, 0x1f
add esi, 1
cmp bl, 0x20
je 0x45181a
cmp bl, 0
je 0x45183d
cmp bl, 0x40
je 0x451844
jmp 0x451849
add ecx, 1
add esi, ecx
jmp 0x45181a
add esi, 1
jmp 0x45181a
sub eax, 1
cmp eax, 0
jg 0x45181a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mul edx
add edi, eax
mov edx, dword [ebp - 0xc]
push edi
mov ecx, 0
mov al, byte [esi]
mov cl, byte [esi]
and al, 0xe0
and cl, 0x1f
add esi, 1
cmp al, 0x20
je 0x451893
cmp al, 0
je 0x451960
cmp al, 0x40
je 0x45189c
pop edi
add edi, dword [ebp + 0x1c]
sub dword [ebp + 0x14], 1
cmp dword [ebp + 0x14], 0
jg 0x45185e
jmp 0x451a1f
add ecx, 1
add ecx, ecx
add edi, ecx
jmp 0x45185f
mov ebx, 0
mov eax, 0
mov bl, byte [esi]
mov ax, word [edx + ebx*2]
add esi, 1
add ecx, 1
push edx
mov edx, dword [ebp - 0x14]
mov ebx, 0
mov bx, ax
and bx, 0x1f
mov bx, word [edx + ebx*8]
and ax, 0xffe0
or ax, bx
mov bx, ax
shr bx, 5
and bx, 0x1f
mov bx, word [edx + ebx*8 + 2]
and ax, 0xfc1f
or ax, bx
mov bx, ax
shr bx, 0xa
and bx, 0x1f
mov bx, word [edx + ebx*8 + 4]
and ax, 0x3ff
or ax, bx
mov dx, word [edi]
push ax
mov eax, dword [ebp - 0x10]
mov ebx, 0
mov bx, dx
and bx, 0x1f
mov bx, word [eax + ebx*8]
and dx, 0xffe0
or dx, bx
mov bx, dx
shr bx, 5
and bx, 0x1f
mov bx, word [eax + ebx*8 + 2]
and dx, 0xfc1f
or dx, bx
mov bx, dx
shr bx, 0xa
and bx, 0x1f
mov bx, word [eax + ebx*8 + 4]
and dx, 0x83ff
or dx, bx
pop ax
add dx, ax
mov word [edi], dx
add edi, 2
sub ecx, 1
jne 0x4518fb
pop edx
jmp 0x45185f
mov ebx, 0
add ecx, 1
mov eax, 0
mov al, byte [esi]
mov ax, word [edx + eax*2]
push edx
mov edx, dword [ebp - 0x14]
mov bx, ax
and bx, 0x1f
mov bx, word [edx + ebx*8]
and ax, 0xffe0
or ax, bx
mov bx, ax
shr bx, 5
and bx, 0x1f
mov bx, word [edx + ebx*8 + 2]
and ax, 0xfc1f
or ax, bx
mov bx, ax
shr bx, 0xa
and bx, 0x1f
mov bx, word [edx + ebx*8 + 4]
and ax, 0x3ff
or ax, bx
mov dx, word [edi]
mov word [edi], ax
mov eax, dword [ebp - 0x10]
mov ebx, 0
mov bx, dx
and bx, 0x1f
mov bx, word [eax + ebx*8]
and dx, 0xffe0
or dx, bx
mov bx, dx
shr bx, 5
and bx, 0x1f
mov bx, word [eax + ebx*8 + 2]
and dx, 0xfc1f
or dx, bx
mov bx, dx
shr bx, 0xa
and bx, 0x1f
mov bx, word [eax + ebx*8 + 4]
and dx, 0x83ff
or dx, bx
add word [edi], dx
pop edx
add esi, 1
add edi, 2
sub ecx, 1
jne 0x451968
jmp 0x45185f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [ebp + 0x18]
mov edi, dword [0xdc0844]
mov eax, dword [ebp + 8]
cmp eax, 0
jl 0x451c0f
add eax, eax
add edi, eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
cmp eax, ebx
jge 0x451a95
sub ebx, eax
mov eax, ebx
cmp dword [ebp + 0x14], eax
jle 0x451c0f
sub dword [ebp + 0x14], eax
mov ecx, 0
mov bl, byte [esi]
mov cl, byte [esi]
and bl, 0xe0
and cl, 0x1f
add esi, 1
cmp bl, 0x20
je 0x451a5b
cmp bl, 0
je 0x451a7e
cmp bl, 0x40
je 0x451a85
jmp 0x451a8a
add ecx, 1
add esi, ecx
jmp 0x451a5b
add esi, 1
jmp 0x451a5b
sub eax, 1
cmp eax, 0
jg 0x451a5b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mul edx
add edi, eax
mov edx, dword [ebp - 0xc]
push edi
mov ecx, 0
mov al, byte [esi]
mov cl, byte [esi]
and al, 0xe0
and cl, 0x1f
add esi, 1
cmp al, 0x20
je 0x451ad4
cmp al, 0
je 0x451b7d
cmp al, 0x40
je 0x451add
pop edi
add edi, dword [ebp + 0x1c]
sub dword [ebp + 0x14], 1
cmp dword [ebp + 0x14], 0
jg 0x451a9f
jmp 0x451c0f
add ecx, 1
add ecx, ecx
add edi, ecx
jmp 0x451aa0
mov ebx, 0
mov eax, 0
mov bl, byte [esi]
mov ax, word [edx + ebx*2]
add esi, 1
push esi
add ecx, 1
push edx
mov esi, dword [ebp - 0x14]
mov ebx, 0
mov bx, ax
and bx, 0x1f
mov dx, word [esi + ebx*8]
mov bx, ax
shr bx, 5
and bx, 0x3f
or dx, word [esi + ebx*8 + 2]
mov bx, ax
shr bx, 0xb
and bx, 0x1f
or dx, word [esi + ebx*8 + 4]
mov ax, dx
mov esi, dword [ebp - 0x10]
mov dx, word [edi]
push ax
mov ebx, 0
mov bx, dx
and bx, 0x1f
mov ax, word [esi + ebx*8]
mov bx, dx
shr bx, 5
and bx, 0x3f
or ax, word [esi + ebx*8 + 2]
mov bx, dx
shr bx, 0xb
and bx, 0x1f
or ax, word [esi + ebx*8 + 4]
mov dx, ax
pop ax
add dx, ax
mov word [edi], dx
add edi, 2
sub ecx, 1
jne 0x451b2e
pop edx
pop esi
jmp 0x451aa0
add ecx, 1
mov eax, 0
mov al, byte [esi]
mov ax, word [edx + eax*2]
push ecx
push edx
mov edx, dword [ebp - 0x14]
mov ebx, 0
mov bx, ax
and bx, 0x1f
mov cx, word [edx + ebx*8]
mov bx, ax
shr bx, 5
and bx, 0x3f
or cx, word [edx + ebx*8 + 2]
mov bx, ax
shr bx, 0xb
and bx, 0x1f
or cx, word [edx + ebx*8 + 4]
mov dx, word [edi]
mov eax, dword [ebp - 0x10]
mov ebx, 0
mov bx, dx
and bx, 0x1f
add cx, word [eax + ebx*8]
mov bx, dx
shr bx, 5
and bx, 0x3f
add cx, word [eax + ebx*8 + 2]
mov bx, dx
shr bx, 0xb
and bx, 0x1f
add cx, word [eax + ebx*8 + 4]
mov word [edi], cx
pop edx
pop ecx
add esi, 1
add edi, 2
sub ecx, 1
jne 0x451b80
jmp 0x451aa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0xba3998]
mov edx, dword [ebp + 8]
mov dword [0xdc0844], eax
mov ecx, dword [esi + 0x58]
mov esi, dword [esi + 0x5c]
mov eax, 0xaf0
mov dword [ebp + 0x1c], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and edx, 1
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], ecx
lea edx, [eax + ebx]
cmp edx, esi
jle 0x451c56
sub esi, eax
test esi, esi
mov dword [ebp + 0x14], esi
jle 0x4521c3
cmp dword [0xba3954], 0x555
jne 0x451f19
mov esi, dword [ebp + 0x18]
mov edi, dword [0xdc0844]
mov eax, dword [ebp + 8]
cmp eax, 0
jl 0x451f10
and eax, 0xfffffffe
add edi, eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
cmp eax, ebx
jge 0x451cd4
sub ebx, eax
mov eax, ebx
cmp dword [ebp + 0x14], eax
jle 0x451f10
sub dword [ebp + 0x14], eax
mov ecx, 0
mov bl, byte [esi]
mov cl, byte [esi]
and bl, 0xe0
and cl, 0x1f
add esi, 1
cmp bl, 0x20
je 0x451c9a
cmp bl, 0
je 0x451cbd
cmp bl, 0x40
je 0x451cc4
jmp 0x451cc9
add ecx, 1
add esi, ecx
jmp 0x451c9a
add esi, 1
jmp 0x451c9a
sub eax, 1
cmp eax, 0
jg 0x451c9a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, eax
shr eax, 1
mul edx
add edi, eax
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push edi
mov ecx, 0
mov al, byte [esi]
mov cl, byte [esi]
and al, 0xe0
and cl, 0x1f
add esi, 1
cmp al, 0x20
je 0x451d5a
cmp al, 0
je 0x451e38
cmp al, 0x40
je 0x451d62
pop edi
add edi, dword [ebp + 0x1c]
sub dword [ebp + 0x14], 1
cmp dword [ebp + 0x14], 0
jle 0x451f10
mov ecx, 0
mov bl, byte [esi]
mov cl, byte [esi]
and bl, 0xe0
and cl, 0x1f
add esi, 1
cmp bl, 0x20
je 0x451d1c
cmp bl, 0
je 0x451d3f
cmp bl, 0x40
je 0x451d46
jmp 0x451d4b
add ecx, 1
add esi, ecx
jmp 0x451d1c
add esi, 1
jmp 0x451d1c
sub dword [ebp + 0x14], 1
cmp dword [ebp + 0x14], 0
jg 0x451ce2
jmp 0x451f10
add ecx, 1
add dword [ebp - 0x18], ecx
jmp 0x451ce9
mov ebx, 0
mov eax, 0
mov bl, byte [esi]
mov ax, word [edx + ebx*2]
add esi, 1
push edx
mov edx, dword [ebp - 0x14]
mov ebx, 0
mov bx, ax
and bx, 0x1f
mov bx, word [edx + ebx*8]
and ax, 0xffe0
or ax, bx
mov bx, ax
shr bx, 5
and bx, 0x1f
mov bx, word [edx + ebx*8 + 2]
and ax, 0xfc1f
or ax, bx
mov bx, ax
shr bx, 0xa
and bx, 0x1f
mov bx, word [edx + ebx*8 + 4]
and ax, 0x3ff
or ax, bx
add ecx, 1
mov ebx, dword [ebp - 0x18]
add dword [ebp - 0x18], ecx
test ebx, 1
jne 0x451e2a
mov dx, word [edi + ebx]
push ax
push ebx
mov eax, dword [ebp - 0x10]
mov ebx, 0
mov bx, dx
and bx, 0x1f
mov bx, word [eax + ebx*8]
and dx, 0xffe0
or dx, bx
mov bx, dx
shr bx, 5
and bx, 0x1f
mov bx, word [eax + ebx*8 + 2]
and dx, 0xfc1f
or dx, bx
mov bx, dx
shr bx, 0xa
and bx, 0x1f
mov bx, word [eax + ebx*8 + 4]
and dx, 0x83ff
or dx, bx
pop ebx
pop ax
add dx, ax
mov word [edi + ebx], dx
add ebx, 1
sub ecx, 1
jne 0x451dc7
pop edx
jmp 0x451ce9
mov eax, 0
add ecx, 1
mov ebx, dword [ebp - 0x18]
add dword [ebp - 0x18], ecx
test ebx, 1
jne 0x451efc
push edx
push ebx
mov eax, 0
mov al, byte [esi]
mov ax, word [edx + eax*2]
mov edx, dword [ebp - 0x14]
mov bx, ax
and bx, 0x1f
mov bx, word [edx + ebx*8]
and ax, 0xffe0
or ax, bx
mov bx, ax
shr bx, 5
and bx, 0x1f
mov bx, word [edx + ebx*8 + 2]
and ax, 0xfc1f
or ax, bx
mov bx, ax
shr bx, 0xa
and bx, 0x1f
mov bx, word [edx + ebx*8 + 4]
and ax, 0x3ff
or ax, bx
pop ebx
mov dx, word [edi + ebx]
mov word [edi + ebx], ax
mov eax, dword [ebp - 0x10]
push ebx
mov ebx, 0
mov bx, dx
and bx, 0x1f
mov bx, word [eax + ebx*8]
and dx, 0xffe0
or dx, bx
mov bx, dx
shr bx, 5
and bx, 0x1f
mov bx, word [eax + ebx*8 + 2]
and dx, 0xfc1f
or dx, bx
mov bx, dx
shr bx, 0xa
and bx, 0x1f
mov bx, word [eax + ebx*8 + 4]
and dx, 0x83ff
or dx, bx
pop ebx
add word [edi + ebx], dx
pop edx
add esi, 1
add ebx, 1
sub ecx, 1
jne 0x451e46
jmp 0x451ce9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [ebp + 0x18]
mov edi, dword [0xdc0844]
mov eax, dword [ebp + 8]
cmp eax, 0
jl 0x4521c3
and eax, 0xfffffffe
add edi, eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
cmp eax, ebx
jge 0x451f87
sub ebx, eax
mov eax, ebx
cmp dword [ebp + 0x14], eax
jle 0x4521c3
sub dword [ebp + 0x14], eax
mov ecx, 0
mov bl, byte [esi]
mov cl, byte [esi]
and bl, 0xe0
and cl, 0x1f
add esi, 1
cmp bl, 0x20
je 0x451f4d
cmp bl, 0
je 0x451f70
cmp bl, 0x40
je 0x451f77
jmp 0x451f7c
add ecx, 1
add esi, ecx
jmp 0x451f4d
add esi, 1
jmp 0x451f4d
sub eax, 1
cmp eax, 0
jg 0x451f4d
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, eax
shr eax, 1
mul edx
add edi, eax
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push edi
mov ecx, 0
mov al, byte [esi]
mov cl, byte [esi]
and al, 0xe0
and cl, 0x1f
add esi, 1
cmp al, 0x20
je 0x45200d
cmp al, 0
je 0x4520eb
cmp al, 0x40
je 0x452015
pop edi
add edi, dword [ebp + 0x1c]
sub dword [ebp + 0x14], 1
cmp dword [ebp + 0x14], 0
jle 0x4521c3
mov ecx, 0
mov bl, byte [esi]
mov cl, byte [esi]
and bl, 0xe0
and cl, 0x1f
add esi, 1
cmp bl, 0x20
je 0x451fcf
cmp bl, 0
je 0x451ff2
cmp bl, 0x40
je 0x451ff9
jmp 0x451ffe
add ecx, 1
add esi, ecx
jmp 0x451fcf
add esi, 1
jmp 0x451fcf
sub dword [ebp + 0x14], 1
cmp dword [ebp + 0x14], 0
jg 0x451f95
jmp 0x4521c3
add ecx, 1
add dword [ebp - 0x18], ecx
jmp 0x451f9c
mov ebx, 0
mov eax, 0
mov bl, byte [esi]
mov ax, word [edx + ebx*2]
add esi, 1
push edx
mov edx, dword [ebp - 0x14]
mov ebx, 0
mov bx, ax
and bx, 0x1f
mov bx, word [edx + ebx*8]
and ax, 0xffe0
or ax, bx
mov bx, ax
shr bx, 5
and bx, 0x3f
mov bx, word [edx + ebx*8 + 2]
and ax, 0xf81f
or ax, bx
mov bx, ax
shr bx, 0xb
and bx, 0x1f
mov bx, word [edx + ebx*8 + 4]
and ax, 0x7ff
or ax, bx
add ecx, 1
mov ebx, dword [ebp - 0x18]
add dword [ebp - 0x18], ecx
test ebx, 1
jne 0x4520dd
mov dx, word [edi + ebx]
push ax
push ebx
mov eax, dword [ebp - 0x10]
mov ebx, 0
mov bx, dx
and bx, 0x1f
mov bx, word [eax + ebx*8]
and dx, 0xffe0
or dx, bx
mov bx, dx
shr bx, 5
and bx, 0x3f
mov bx, word [eax + ebx*8 + 2]
and dx, 0xf81f
or dx, bx
mov bx, dx
shr bx, 0xb
and bx, 0x1f
mov bx, word [eax + ebx*8 + 4]
and dx, 0x7ff
or dx, bx
pop ebx
pop ax
add dx, ax
mov word [edi + ebx], dx
add ebx, 1
sub ecx, 1
jne 0x45207a
pop edx
jmp 0x451f9c
mov eax, 0
add ecx, 1
mov ebx, dword [ebp - 0x18]
add dword [ebp - 0x18], ecx
test ebx, 1
jne 0x4521af
push edx
push ebx
mov eax, 0
mov al, byte [esi]
mov ax, word [edx + eax*2]
mov edx, dword [ebp - 0x14]
mov bx, ax
and bx, 0x1f
mov bx, word [edx + ebx*8]
and ax, 0xffe0
or ax, bx
mov bx, ax
shr bx, 5
and bx, 0x3f
mov bx, word [edx + ebx*8 + 2]
and ax, 0xf81f
or ax, bx
mov bx, ax
shr bx, 0xb
and bx, 0x1f
mov bx, word [edx + ebx*8 + 4]
and ax, 0x7ff
or ax, bx
pop ebx
mov dx, word [edi + ebx]
mov word [edi + ebx], ax
mov eax, dword [ebp - 0x10]
push ebx
mov ebx, 0
mov bx, dx
and bx, 0x1f
mov bx, word [eax + ebx*8]
and dx, 0xffe0
or dx, bx
mov bx, dx
shr bx, 5
and bx, 0x3f
mov bx, word [eax + ebx*8 + 2]
and dx, 0xf81f
or dx, bx
mov bx, dx
shr bx, 0xb
and bx, 0x1f
mov bx, word [eax + ebx*8 + 4]
and dx, 0x7ff
or dx, bx
pop ebx
add word [edi + ebx], dx
pop edx
add esi, 1
add ebx, 1
sub ecx, 1
jne 0x4520f9
jmp 0x451f9c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18