Function at 0x45edd2
Capabilities:
Compress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
add eax, ebx
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 8], eax
add ebx, 4
mov cl, byte [ebx + 2]
lea eax, [ebx + 3]
mov dword [ebp - 0x18], eax
lea edi, [ebx + 1]
mov al, byte [eax]
mov dword [ebp - 0x1c], edi
movzx eax, al
movzx ecx, cl
shl eax, 6
xor eax, ecx
movzx ecx, byte [edi]
shl eax, 5
xor eax, ecx
movzx ecx, byte [ebx]
shl eax, 5
xor eax, ecx
mov ecx, dword [ebp + 0x18]
imul eax, eax, 0x21
shr eax, 5
and eax, 0x3fff
lea edi, [ecx + eax*4]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
jb 0x45f08c
mov edx, ebx
mov dword [ebp + 0xc], ebx
sub edx, ecx
mov dword [ebp + 0xc], edx
je 0x45f08c
cmp edx, 0xbfff
ja 0x45f08c
cmp edx, 0x800
jbe 0x45eeb5
mov edx, dword [ebp - 0x18]
mov dl, byte [edx]
cmp byte [ecx + 3], dl
je 0x45eeb5
mov ecx, dword [ebp + 0x18]
and eax, 0x7ff
xor eax, 0x201f
lea edi, [ecx + eax*4]
mov eax, dword [ecx + eax*4]
cmp eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jb 0x45f08c
mov ecx, ebx
sub ecx, eax
mov dword [ebp + 0xc], ecx
je 0x45f08c
cmp ecx, 0xbfff
ja 0x45f08c
cmp ecx, 0x800
jbe 0x45eeb2
cmp byte [eax + 3], dl
jne 0x45f08c
mov ecx, dword [ebp - 0xc]
mov ax, word [ecx]
mov edx, dword [ebp + 0xc]
cmp ax, word [ebx]
jne 0x45f08c
mov al, byte [ebx + 2]
cmp byte [ecx + 2], al
jne 0x45f08c
mov dword [edi], ebx
sub ebx, dword [ebp - 4]
je 0x45ef4d
mov eax, ebx
cmp eax, 3
mov dword [ebp - 0x1c], eax
ja 0x45eee6
or byte [esi - 2], al
jmp 0x45ef3f
cmp eax, 0x12
ja 0x45eef5
mov bl, al
sub bl, 3
mov byte [esi], bl
inc esi
jmp 0x45ef3f
and byte [esi], 0
add eax, 0xffffffee
mov ebx, 0xff
inc esi
cmp eax, ebx
mov dword [ebp - 0x14], eax
jbe 0x45ef39
dec eax
xor edx, edx
mov ecx, ebx
mov edi, esi
div ecx
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x10], ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esi, edx
rep stosb byte es:[edi], al
sub dword [ebp - 0x14], ebx
dec dword [ebp - 0x10]
jne 0x45ef28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [esi], al
mov eax, dword [ebp - 0x1c]
inc esi
mov edi, dword [ebp - 4]
mov bl, byte [edi]
mov byte [esi], bl
inc esi
inc dword [ebp - 4]
dec eax
jne 0x45ef3f
mov ebx, dword [ebp - 0x18]
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 3], al
jne 0x45f02d
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 4], al
jne 0x45f02d
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 5], al
jne 0x45f02d
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 6], al
jne 0x45f02d
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 7], al
jne 0x45f02d
mov al, byte [ebx]
inc ebx
cmp byte [ecx + 8], al
jne 0x45f02d
lea edi, [ecx + 9]
cmp ebx, dword [ebp - 8]
jae 0x45efaa
mov al, byte [edi]
cmp al, byte [ebx]
jne 0x45efaa
inc edi
inc ebx
jmp 0x45ef9b
mov eax, ebx
mov edi, 0x4000
sub eax, dword [ebp - 4]
cmp edx, edi
ja 0x45efd0
dec edx
cmp eax, 0x21
mov dword [ebp + 0xc], edx
jbe 0x45f05d
sub eax, 0x21
mov byte [esi], 0x20
mov dword [ebp - 0xc], eax
jmp 0x45eff1
sub edx, edi
cmp eax, 9
mov dword [ebp + 0xc], edx
jbe 0x45f067
mov ecx, edx
sub eax, 9
shr ecx, 0xb
and cl, 8
mov dword [ebp - 0xc], eax
or cl, 0x10
mov byte [esi], cl
mov ecx, 0xff
inc esi
cmp eax, ecx
jbe 0x45f061
dec eax
xor edx, edx
div ecx
mov edi, esi
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x14], ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esi, edx
rep stosb byte es:[edi], al
sub dword [ebp - 0xc], 0xff
dec dword [ebp - 0x14]
jne 0x45f019
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
jmp 0x45f061
dec ebx
mov eax, ebx
sub eax, dword [ebp - 4]
cmp edx, 0x800
ja 0x45f053
dec edx
add al, 7
mov cl, dl
and cl, 7
shl al, 5
shl cl, 2
or al, cl
mov byte [esi], al
inc esi
shr edx, 3
jmp 0x45f084
mov ecx, 0x4000
cmp edx, ecx
ja 0x45f065
dec edx
sub al, 2
or al, 0x20
mov byte [esi], al
jmp 0x45f078
sub edx, ecx
mov ecx, edx
sub al, 2
shr ecx, 0xb
and cl, 8
or cl, al
or cl, 0x10
mov byte [esi], cl
mov al, dl
inc esi
shl al, 2
mov byte [esi], al
inc esi
shr edx, 6
mov byte [esi], dl
inc esi
mov dword [ebp - 4], ebx
jmp 0x45f091
mov dword [edi], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
add eax, 0xfffffff3
cmp ebx, eax
jb 0x45edef
sub esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
pop edi
mov dword [eax], esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret