Function at 0x426040
Capabilities:
Compress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ecx + edx]
mov dword [ebp - 0x14], ecx
push ebx
push esi
mov esi, dword [ebp + 8]
lea ebx, [ecx + 4]
mov dword [ebp - 0x20], eax
mov edx, ecx
add eax, 0xfffffff3
mov dword [ebp - 0xc], edx
push edi
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 3]
mov dword [ebp - 0x24], eax
lea edi, [ebx + 1]
mov al, byte [eax]
movzx ecx, al
shl ecx, 6
mov byte [ebp - 1], al
movzx eax, byte [ebx + 2]
xor ecx, eax
mov dword [ebp - 0x28], edi
movzx eax, byte [edi]
shl ecx, 5
xor ecx, eax
movzx eax, byte [ebx]
shl ecx, 5
xor ecx, eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
shl edi, 5
add edi, ecx
shr edi, 5
and edi, 0x3fff
lea ecx, [eax + edi*4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp - 0x14]
jb 0x426111
mov eax, ebx
sub eax, ecx
mov dword [ebp - 8], eax
je 0x426111
cmp eax, 0xbfff
ja 0x426111
cmp eax, 0x800
jbe 0x426136
mov al, byte [ebp - 1]
cmp byte [ecx + 3], al
je 0x426136
mov eax, dword [ebp + 0x10]
and edi, 0x7ff
xor edi, 0x201f
mov ecx, dword [eax + edi*4]
lea edi, [eax + edi*4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp - 0x14]
jb 0x426111
mov eax, ebx
sub eax, ecx
mov dword [ebp - 8], eax
je 0x426111
cmp eax, 0xbfff
ja 0x426111
cmp eax, 0x800
jbe 0x426139
mov al, byte [ebp - 1]
cmp byte [ecx + 3], al
je 0x426139
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
mov ebx, dword [ebp - 0x28]
cmp ebx, dword [ebp - 0x1c]
jb 0x426063
mov ecx, dword [ebp + 0xc]
sub esi, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
pop edi
mov dword [ecx], esi
sub eax, edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x10]
mov ax, word [ecx]
cmp ax, word [ebx]
jne 0x426111
mov al, byte [ebx + 2]
cmp byte [ecx + 2], al
jne 0x426111
mov dword [edi], ebx
sub ebx, edx
je 0x4261c1
cmp ebx, 3
ja 0x426159
or byte [esi - 2], bl
jmp 0x4261b3
cmp ebx, 0x12
ja 0x426164
mov al, bl
sub al, 3
jmp 0x4261b0
lea eax, [ebx - 0x12]
mov byte [esi], 0
inc esi
mov dword [ebp - 0x10], eax
cmp eax, 0xff
jbe 0x4261b0
lea ecx, [eax - 0x100]
mov eax, 0x80808081
mul ecx
mov edi, edx
shr edi, 7
inc edi
push edi
push 0
push esi
call fcn.0053f2b0
mov eax, dword [ebp - 0x10]
add esp, 0xc
add esi, edi
nop dword [eax]
sub eax, 0xff
sub edi, 1
jne 0x4261a0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov byte [esi], al
inc esi
mov al, byte [edx]
inc edx
mov byte [esi], al
inc esi
sub ebx, 1
jne 0x4261b3
mov dword [ebp - 0xc], edx
mov ebx, dword [ebp - 0x24]
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 3], al
jne 0x4262b2
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 4], al
jne 0x4262b2
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 5], al
jne 0x4262b2
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 6], al
jne 0x4262b2
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 7], al
jne 0x4262b2
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 8], al
jne 0x4262b2
mov edi, dword [ebp - 0x20]
add ecx, 9
cmp ebx, edi
jae 0x426222
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x426222
inc ebx
inc ecx
cmp ebx, edi
jb 0x426216
mov ecx, dword [ebp - 8]
lea edi, [esi + 1]
mov eax, ebx
sub eax, edx
cmp ecx, 0x4000
ja 0x42624d
dec ecx
mov dword [ebp - 8], ecx
cmp eax, 0x21
ja 0x426246
sub al, 2
or al, 0x20
jmp 0x426300
sub eax, 0x21
mov dl, 0x20
jmp 0x426270
sub ecx, 0x4000
mov edx, ecx
mov dword [ebp - 8], ecx
shr edx, 0xb
and dl, 8
cmp eax, 9
ja 0x42626a
sub al, 2
jmp 0x4262fc
sub eax, 9
or dl, 0x10
mov dword [ebp - 0x18], eax
mov byte [esi], dl
cmp eax, 0xff
jbe 0x4262ad
lea ecx, [eax - 0x100]
mov eax, 0x80808081
mul ecx
mov esi, edx
shr esi, 7
inc esi
push esi
push 0
push edi
call fcn.0053f2b0
mov eax, dword [ebp - 0x18]
add esp, 0xc
add edi, esi
sub eax, 0xff
sub esi, 1
jne 0x4262a0
mov ecx, dword [ebp - 8]
mov byte [edi], al
inc edi
jmp 0x426302
mov ecx, dword [ebp - 8]
lea edi, [esi + 1]
dec ebx
mov dl, bl
sub dl, byte [ebp - 0xc]
cmp ecx, 0x800
ja 0x4262dc
dec ecx
dec dl
mov al, cl
shl dl, 3
and al, 7
or dl, al
shl dl, 2
mov byte [esi], dl
shr ecx, 3
jmp 0x42630d
sub dl, 2
cmp ecx, 0x4000
ja 0x4262ef
dec ecx
or dl, 0x20
mov byte [esi], dl
jmp 0x426302
sub ecx, 0x4000
mov eax, ecx
shr eax, 0xb
and al, 8
or al, dl
or al, 0x10
mov byte [esi], al
mov al, cl
shl al, 2
mov byte [edi], al
inc edi
shr ecx, 6
lea esi, [edi + 1]
mov edx, ebx
mov byte [edi], cl
mov dword [ebp - 0xc], edx
cmp ebx, dword [ebp - 0x1c]
jae 0x426122
jmp 0x426063