Function at 0x10026060
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
inc ebp
add ebp, dword [esp + 0x20]
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov ecx, dword [0x10028170]
rol dl, cl
mov dx, bx
mov dl, bl
add edx, 0x75b52834
mov edx, dword [esp + 0x14]
push ebx
push esi
and esi, esi
and esi, 0x86253a3
mov esi, eax
jmp 0x1002654a
add esi, 1
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
jmp 0x10026502
sub ebx, 1
test eax, eax
jne 0x1002657d
jmp 0x10026570
je 0x1002713f
or eax, ecx
mov ax, 0xf71
mov eax, esi
shl al, cl
mov al, 0x8b
mov eax, ebx
sub ebx, 1
test eax, eax
mov dword [esp + 0x24], ebx
jne 0x1002694a
movzx edx, byte [esi]
jmp 0x10026870
or al, dl
shl ax, cl
mov al, 0xb5
add eax, ebx
mov eax, ebx
jmp 0x100262b5
mov al, byte [esi]
xor ebx, ebx
mov byte [ecx], al
add ecx, 1
jmp 0x100260f5
movzx edx, byte [esi]
add esi, 1
mov dword [esp + 0x18], esi
lea ebx, [eax + 7]
rol eax, cl
shl ax, cl
sub ax, 0x646d
sub ax, bx
mov eax, edx
shr eax, 7
and eax, 1
add edx, edx
test eax, eax
jmp 0x10026456
add esi, 1
jmp 0x1002693c
inc ebx
mov ebx, 7
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
mov al, 0x84
sub eax, dword [esp + 0xc]
mov eax, edx
shr eax, 7
and eax, 1
add edx, edx
test eax, eax
jmp 0x10026a6e
mov dword [esp + 0x20], edx
je 0x10026fe9
mov al, 0xaf
xor ax, 0x45b1
shl ax, cl
and ax, ax
ror ax, cl
mov eax, ebx
sub ebx, 1
test eax, eax
jne 0x10026aea
movzx edx, byte [esi]
add esi, 1
jmp 0x10026ae3
mov dword [esp + 0x18], esi
lea ebx, [eax + 7]
sub eax, 0x43e9050b
xor eax, eax
xor al, 0xaa
or al, cl
mov eax, edx
shr eax, 7
and eax, 1
add edx, edx
test eax, eax
jmp 0x10026c45
je 0x10026e7a
xor edi, edi
mov dword [esp + 0xc], 4
jmp 0x10026cc9
mov ax, 0x6b0a
or al, bl
sub eax, dword [esp + 0x10]
mov eax, ebx
sub ebx, 1
test eax, eax
jne 0x10026d24
movzx edx, byte [esi]
add esi, 1
jmp 0x10026d21
lea ebx, [eax + 7]
or al, 0xed
mov eax, edx
jmp 0x10026ddd
shr eax, 7
and eax, 1
add edx, edx
sub dword [esp + 0xc], 1
jmp 0x10026e20
lea edi, [eax + edi*2]
jne 0x10026cc9
test edi, edi
mov dword [esp + 0x18], esi
je 0x10026e6f
shr eax, cl
and eax, dword [esp + 0xc]
mov eax, ecx
sub eax, edi
jmp 0x10026e63
mov al, byte [eax]
mov byte [ecx], al
add ecx, 1
jmp 0x10027152
mov byte [ecx], 0
add ecx, 1
jmp 0x10027152
movzx eax, byte [esi]
jmp 0x10026ecb
xor edi, 0x27ca4a0a
and edi, 0x432046a2
inc edi
add edi, 0x487855d9
and edi, ebx
mov edi, eax
and edi, 1
add esi, 1
add edi, 2
jmp 0x10026f03
shr eax, 1
mov dword [esp + 0x18], esi
jmp 0x10026f35
mov dword [esp + 0xc], eax
je 0x10026fc6
test edi, edi
je 0x10026fce
and ax, 0x467d
dec al
sub al, 0xae
xor eax, 0x675c5ec7
dec eax
mov eax, ecx
sub eax, dword [esp + 0xc]
add ecx, 1
jmp 0x10026f77
sub edi, 1
mov al, byte [eax]
mov byte [ecx - 1], al
jne 0x10026f47
inc eax
sub eax, 0x20e667d2
xor al, al
mov eax, ebp
or al, 0x51
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
jmp 0x10026fb5
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
jmp 0x10027163
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
mov dword [esp + 0xc], 1
jmp 0x10027163
lea edi, [esp + 0x18]
call section..text_1
cmp dword [esp + 0xc], 0
jne 0x10027052
cmp eax, 2
jne 0x10027045
call section..text_1
nop
nop
nop
nop
nop
test eax, eax
mov ecx, dword [esp + 0x1c]
je 0x1002710c
dec dl
shl dl, cl
mov edx, ecx
sub edx, dword [esp + 0x10]
add ecx, 1
sub eax, 1
mov dl, byte [edx]
mov byte [ecx - 1], dl
nop
nop
nop
nop
nop
jne 0x1002701c
mov dword [esp + 0x1c], ecx
jmp 0x1002710c
sub eax, 3
jmp 0x10027055
sub eax, 2
add cl, 0x52
rol cx, cl
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx]
shl eax, 8
add eax, edx
nop
nop
nop
nop
nop
add ecx, 1
lea edi, [esp + 0x18]
mov esi, 0x15b45983
xor esi, dword [esp + 0x10]
dec esi
mov esi, eax
mov dword [esp + 0x18], ecx
call section..text_1
cmp esi, 0x7d00
nop
nop
nop
nop
nop
jb 0x1002709c
add eax, 1
cmp esi, 0x500
jb 0x100270b0
nop
nop
nop
nop
nop
add eax, 1
cmp esi, 0x80
jae 0x100270c4
add eax, 2
nop
nop
nop
nop
nop
test eax, eax
mov ecx, dword [esp + 0x1c]
je 0x10027108
lea ebx, [ebx]
sub edx, edx
and dx, cx
shr dx, cl
or dl, 0xc8
mov edx, ecx
nop
nop
nop
nop
nop
sub edx, esi
mov dl, byte [edx]
mov byte [ecx], dl
add ecx, 1
nop
nop
nop
nop
nop
sub eax, 1
jne 0x100270d6
mov dword [esp + 0x1c], ecx
nop
nop
nop
nop
nop
mov dword [esp + 0x10], esi
and bl, 0x1b
add bl, 0x19
mov ebx, dword [esp + 0x24]
shr dx, cl
add edx, 0x58355fed
rol dl, cl
and dl, 0x22
rol dl, cl
mov edx, dword [esp + 0x20]
sub esi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov dword [esp + 0xc], 1
jmp 0x10027163
mov al, byte [esi]
mov byte [ecx], al
add ecx, 1
nop
nop
nop
nop
nop
add esi, 1
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], 0
nop
nop
nop
nop
nop
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x14], 0
je 0x10026502
pop edi
and eax, 0x22d476b3
mov eax, 0x17d746f7
and ax, 0x26b8
and eax, 0x66561810
or al, al
mov eax, ecx
sub eax, dword [0x10028170]
pop esi
pop ebx
dec esp
xor esp, 0x53345184
ror esp, cl
mov esp, ebp
nop
nop
nop
nop
nop
pop ebp
ret