Function at 0x1000121b
Capabilities:
Decompress data using aplib

Disassembly:
inc dword [esp + 0x10]
mov al, al
xor edx, edx
xchg cx, cx
jmp 0x1000238f
push ebp
nop
and ebp, esp
mov ebp, esp
and esp, 0xfffffff8
xchg cl, cl
sub esp, 0x18
nop
mov cl, byte [eax]
mov ecx, ecx
jmp 0x100013ff
and dword [esp + 0x14], 0
push edx
pop edx
push esi
mov ebx, ebx
xor esi, esi
nop
and dword [esp + 8], esi
mov edx, edx
mov byte [ebx], cl
xchg edi, edi
lea ecx, [ebx + 1]
jmp 0x1000142e
inc eax
xchg dx, dx
jmp 0x10001576
push edi
mov ebx, ebx
mov dword [esp + 0x14], ecx
xchg al, al
mov dword [esp + 0x10], eax
nop
lea ecx, [esp + 0x10]
jmp 0x100015a3
call fcn.100011d2
nop
test eax, eax
jmp 0x100015cc
je 0x10002b03
call fcn.100011d2
nop
test eax, eax
jmp 0x100015f1
jmp 0x10001923
jmp 0x100021b9
mov byte [eax], 0
xchg cx, cx
jmp 0x100021b9
je 0x10002672
call fcn.100011d2
nop
test eax, eax
jmp 0x10001950
je 0x100021c3
push 0x1f
jmp 0x10001963
xor dword [esp], 0x1b
xor esi, esi
mov cx, cx
jmp 0x10001d8d
and edi, 0x5f3f5eb0
or edi, 0x10f239ae
ror edi, cl
pop edi
lea ecx, [esp + 0x10]
jmp 0x10001db6
call fcn.100011d2
nop
dec edi
nop
lea esi, [eax + esi*2]
jmp 0x10001dd5
jne 0x10001d9c
nop
nop
nop
nop
nop
test esi, esi
jmp 0x10001df7
mov eax, dword [esp + 0x14]
jmp 0x10001e1d
je 0x10001720
sub cl, 0x6c
shr cl, cl
and ecx, dword [esp + 0x18]
sub ecx, 0x5d2717a5
mov ecx, dword [esp + 0x14]
sub eax, esi
mov dx, dx
mov al, byte [eax]
mov dl, dl
mov byte [ecx], al
xchg al, al
jmp 0x1000171b
inc dword [esp + 0x14]
nop
jmp 0x10002c05
xor al, 0xe7
shl al, cl
add eax, esi
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
jmp 0x100021df
jmp 0x10001011
inc edx
nop
mov eax, esp
mov eax, ecx
and eax, edx
nop
inc eax
mov edi, edi
inc eax
xchg bx, bx
jmp 0x100023b4
shr ecx, 1
jmp 0x100023c4
jmp 0x10002474
je 0x10002661
test eax, eax
jmp 0x1000249c
je 0x10002667
xor dx, 0x510e
mov edx, dword [esp + 0x14]
sub esi, edi
xor esi, 0x4019220f
rol esi, cl
mov esi, dword [esp + 0x14]
sub edx, ecx
mov esp, esp
mov dl, byte [edx]
nop
jmp 0x10002580
inc dword [esp + 0x14]
mov edx, edx
dec eax
nop
mov byte [esi], dl
jmp 0x100025a3
jne 0x100024a2
jmp 0x1000265c
jmp 0x10002667
mov dword [esp + 0xc], edx
push ecx
pop ecx
mov dword [esp + 8], ecx
nop
jmp 0x10002af2
call fcn.10001202
mov cx, cx
test esi, esi
jmp 0x10002688
jne 0x10002841
cmp eax, 2
push ecx
pop ecx
jne 0x10002837
jmp 0x10002729
lea ecx, [esp + 0x10]
jmp 0x1000274e
call fcn.10001202
push ebx
pop ebx
test eax, eax
jmp 0x1000276c
je 0x10002af2
jmp 0x100027ae
mov cx, dx
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 8]
mov edx, edx
xor dx, ax
sub edx, 0x57625829
mov edx, dword [esp + 0x14]
mov cl, byte [ecx]
mov bl, bl
inc dword [esp + 0x14]
xchg al, al
dec eax
xchg cx, cx
mov byte [edx], cl
jmp 0x100027e4
jne 0x100027ae
jmp 0x10002af2
sub eax, 3
nop
jmp 0x100028b9
dec eax
mov edx, edx
dec eax
nop
jmp 0x100028b9
sub ecx, dword [esp + 8]
rol ecx, cl
and cx, cx
shr ecx, cl
or ecx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx]
jmp 0x100028de
shl eax, 8
jmp 0x100028fa
add eax, ecx
mov bx, bx
nop
nop
nop
nop
nop
inc dword [esp + 0x10]
nop
lea ecx, [esp + 0x10]
jmp 0x1000292c
and esi, 0x5efc59ac
or esi, edi
mov esi, eax
call fcn.10001202
nop
cmp esi, 0x7d00
mov ebx, ebx
jb 0x10002996
jmp 0x10002993
inc eax
mov ebp, ebp
cmp esi, 0x500
xchg ax, ax
jmp 0x100029d7
jb 0x100029df
inc eax
nop
cmp esi, 0x80
nop
jae 0x10002a28
jmp 0x10002a22
inc eax
mov eax, eax
inc eax
nop
test eax, eax
jmp 0x10002a40
je 0x10002aeb
sub cx, dx
rol cx, cl
mov ecx, dword [esp + 0x14]
dec dl
mov edx, dword [esp + 0x14]
sub ecx, esi
xchg cl, cl
jmp 0x10002ab8
mov cl, byte [ecx]
push eax
pop eax
inc dword [esp + 0x14]
xchg edi, edi
dec eax
push ebx
pop ebx
mov byte [edx], cl
jmp 0x10002ae5
jne 0x10002a46
mov dword [esp + 8], esi
mov cx, cx
xor esi, esi
mov cl, cl
inc esi
mov cl, cl
jmp 0x10002c09
sub eax, 0x4df806f1
mov eax, dword [esp + 0x10]
and cl, cl
rol cx, cl
xor cx, bx
mov ecx, dword [esp + 0x14]
mov al, byte [eax]
nop
inc dword [esp + 0x14]
xchg ebx, ebx
inc dword [esp + 0x10]
nop
mov byte [ecx], al
mov edx, edx
jmp 0x10002c05
xor esi, esi
xchg al, al
cmp dword [esp + 0xc], 0
nop
je 0x10001584
shr eax, cl
and ax, 0x4169
mov al, al
and eax, 0x7c55657
rol ax, cl
mov eax, dword [esp + 0x14]
and edi, 0x45345a50
sub edi, edx
add edi, 0x36830fa5
pop edi
sub eax, ebx
nop
or esi, edi
shl esi, cl
pop esi
dec esp
mov esp, ebp
sub ebp, eax
add ebp, eax
pop ebp
nop
nop
nop
nop
nop
ret