Function at 0x485abc
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0x4a4d54
mov esi, 0x4a5554
mov eax, edx
xor edx, edx
mov dword [ebp - 0x20], edx
xor edx, edx
mov dword [ebp - 0x24], edx
xor edx, edx
mov dword [ebp - 0x2c], edx
xor edx, edx
mov dword [ebp - 0x30], edx
dec eax
test eax, eax
jl 0x485b73
inc eax
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebx]
mov edx, dword [ebp - 0xc]
cmp al, byte [edx]
jne 0x485b6d
mov eax, ebx
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
inc eax
xor ecx, ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 8]
cmp edx, eax
jbe 0x485b37
mov edx, dword [ebp - 0x10]
movzx edx, byte [edx]
cmp dl, byte [eax]
jne 0x485b37
inc dword [ebp - 0x10]
inc eax
cmp ecx, 0x101
jne 0x485b64
mov eax, dword [ebp - 0x2c]
xor edx, edx
push edx
push eax
lea edi, [ecx + 1]
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x485b53
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x485b6d
jmp 0x485b57
pop edx
pop eax
jle 0x485b6d
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0xc]
sub eax, ebx
mov dword [ebp - 0x30], eax
jmp 0x485b6d
inc ecx
cmp ecx, 0x102
jne 0x485b17
inc ebx
dec dword [ebp - 0x3c]
jne 0x485b01
cmp dword [ebp - 0x2c], 3
jae 0x485b80
xor eax, eax
jmp 0x485c9c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
and edx, 0x10
test edx, edx
jne 0x485ba6
add dword [ebp - 0x14], 4
jmp 0x485c6f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, eax
and edx, 0xf
mov edi, eax
and edi, 0xff00
mov ebx, eax
and ebx, 0xffff0000
shr edi, 8
shr ebx, 0x10
mov eax, 1
mov ecx, edx
shl eax, cl
cmp ebx, dword [ebp - 0x18]
ja 0x485c6b
add eax, ebx
cmp eax, dword [ebp - 0x18]
jbe 0x485c6b
mov eax, dword [ebp - 0x18]
sub eax, ebx
mov ecx, edi
shl eax, cl
or eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
add edi, edx
mov dword [ebp - 0x24], edi
xor eax, eax
mov dword [ebp - 0x38], eax
mov edx, dword [esi]
and edx, 0x10
test edx, edx
jne 0x485c0a
add esi, 4
jmp 0x485c60
mov eax, dword [esi]
mov edx, eax
and edx, 0xf
mov edi, eax
and edi, 0xff00
mov ebx, eax
and ebx, 0xffff0000
shr edi, 8
shr ebx, 0x10
mov eax, 1
mov ecx, edx
shl eax, cl
cmp ebx, dword [ebp - 0x1c]
ja 0x485c5d
add eax, ebx
cmp eax, dword [ebp - 0x1c]
jbe 0x485c5d
mov eax, dword [ebp - 0x1c]
sub eax, ebx
mov ecx, edi
shl eax, cl
or eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
shl eax, cl
or eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
add edx, dword [ebp - 0x24]
add edi, edx
mov dword [ebp - 0x24], edi
jmp 0x485c7f
add esi, 4
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x20
jne 0x485bfc
jmp 0x485c7f
add dword [ebp - 0x14], 4
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0x100
jne 0x485b91
cmp dword [ebp - 0x20], 0
jne 0x485c89
xor eax, eax
jmp 0x485c9c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8