Function at 0x10088b60
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov al, byte [edx]
xor ebx, ebx
push edi
xor esi, esi
mov byte [ecx], al
lea edi, [ecx + 1]
mov dword [ebp - 0xc], ebx
inc edx
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x34], edx
jmp 0x10088b95
mov ecx, dword [ebp + 0x10]
mov eax, esi
lea esi, [eax - 1]
test eax, eax
jne 0x10088ba8
movzx ebx, byte [edx]
lea esi, [eax + 7]
inc edx
mov dword [ebp - 0x34], edx
mov eax, ebx
lea ebx, [eax + eax]
test al, al
jns 0x10088e49
lea ecx, [esi - 1]
mov dword [ebp - 0x28], ecx
test esi, esi
jne 0x10088bd0
movzx ebx, byte [edx]
lea ecx, [esi + 7]
inc edx
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x34], edx
lea eax, [ebx + ebx]
mov dword [ebp - 0x2c], eax
test bl, bl
jns 0x10088d1f
lea esi, [ecx - 1]
test ecx, ecx
jne 0x10088bf1
mov al, byte [edx]
lea esi, [ecx + 7]
inc edx
movzx eax, al
mov dword [ebp - 0x34], edx
lea ebx, [eax + eax]
mov dword [ebp - 0x24], ebx
test al, al
jns 0x10088c6e
xor ecx, ecx
lea edi, [ecx + 4]
mov eax, esi
dec esi
test eax, eax
jne 0x10088c0e
movzx ebx, byte [edx]
lea esi, [eax + 7]
inc edx
mov eax, ebx
lea ebx, [eax + eax]
shr eax, 7
and eax, 1
lea ecx, [eax + ecx*2]
sub edi, 1
jne 0x10088c00
mov edi, dword [ebp - 4]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10088c60
mov eax, dword [ebp + 0x10]
mov ecx, edi
sub ecx, dword [ebp - 0x18]
cmp ecx, eax
jb 0x10088e93
cmp ecx, edi
ja 0x10088e93
add eax, dword [ebp + 0x14]
cmp ecx, eax
jae 0x10088e93
mov al, byte [ecx]
mov byte [edi], al
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jmp 0x10088e6f
mov eax, dword [ebp - 0x1c]
mov byte [edi], 0
mov dword [ebp - 0x10], eax
jmp 0x10088e6f
movzx ecx, byte [edx]
mov eax, edi
mov dword [ebp - 8], ecx
inc edx
and ecx, 1
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x20], ecx
add ecx, 2
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x10088d05
mov ecx, edi
sub ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x10088e93
mov edi, dword [ebp + 0x10]
add edi, dword [ebp + 0x14]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x20]
add edi, 2
add ecx, edi
mov edi, dword [ebp - 4]
cmp ecx, dword [ebp - 0x14]
ja 0x10088e93
mov ecx, dword [ebp - 0x18]
add ecx, eax
cmp ecx, dword [ebp - 0x14]
ja 0x10088e93
cmp dword [ebp - 0xc], 0
je 0x10088e26
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x18]
sub edx, edi
mov cl, byte [edx + eax]
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x10088ce0
mov ebx, dword [ebp - 0x24]
mov edi, eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0xc], 1
jmp 0x10088e7f
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0xc], 1
jmp 0x10088e7f
lea eax, [ebp - 0x34]
push eax
call fcn.10088ea0
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x10088d36
lea ecx, [eax - 2]
jmp 0x10088d99
cmp eax, 2
jne 0x10088d96
lea eax, [ebp - 0x34]
push eax
call fcn.10088ea0
mov edi, dword [ebp - 0x30]
mov edx, eax
add esp, 4
mov dword [ebp - 4], edi
mov eax, edi
test edx, edx
je 0x10088e37
mov ecx, dword [ebp + 0x10]
mov esi, edi
sub esi, dword [ebp - 8]
cmp esi, ecx
jb 0x10088e93
mov ebx, dword [ebp + 0x14]
add ebx, ecx
lea ecx, [esi + edx]
cmp ecx, ebx
ja 0x10088e93
lea ecx, [eax + edx]
cmp ecx, ebx
ja 0x10088e93
sub esi, edi
mov cl, byte [esi + eax]
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x10088d86
jmp 0x10088e1d
lea ecx, [eax - 3]
mov eax, dword [ebp - 0x34]
shl ecx, 8
movzx ebx, byte [eax]
inc eax
mov dword [ebp - 0x34], eax
add ebx, ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 8], ebx
push eax
call fcn.10088ea0
add esp, 4
mov ecx, eax
cmp ebx, 0x7d00
jb 0x10088dc2
inc ecx
mov edi, dword [ebp - 0x30]
lea eax, [ecx + 1]
cmp ebx, 0x500
mov dword [ebp - 4], edi
cmovb eax, ecx
cmp ebx, 0x80
lea edx, [eax + 2]
cmovae edx, eax
mov eax, edi
test edx, edx
je 0x10088e37
mov ecx, dword [ebp + 0x10]
mov esi, edi
sub esi, ebx
cmp esi, ecx
jb 0x10088e93
mov ebx, dword [ebp + 0x14]
add ebx, ecx
lea ecx, [edx + esi]
cmp ecx, ebx
ja 0x10088e93
lea ecx, [eax + edx]
cmp ecx, ebx
ja 0x10088e93
sub esi, edi
mov cl, byte [esi + eax]
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x10088e12
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
mov edi, eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edi
jmp 0x10088e7f
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xc], 1
jmp 0x10088e7f
mov eax, dword [ebp + 8]
cmp edx, eax
jb 0x10088e93
add eax, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
cmp edx, eax
ja 0x10088e93
cmp edi, ecx
jb 0x10088e93
mov eax, dword [ebp + 0x14]
add eax, ecx
cmp edi, eax
ja 0x10088e93
mov al, byte [edx]
inc edx
mov byte [edi], al
mov dword [ebp - 0x34], edx
inc edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], edi
mov eax, edi
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x10], 0
je 0x10088b92
sub eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret