Function at 0x547714
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], 0x576ed8
mov esi, 0x5776d8
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 0x5477cb
inc eax
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebx]
mov edx, dword [ebp - 0xc]
cmp al, byte [edx]
jne 0x5477c5
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 0x54778f
mov edx, dword [ebp - 0x10]
movzx edx, byte [edx]
cmp dl, byte [eax]
jne 0x54778f
inc dword [ebp - 0x10]
inc eax
cmp ecx, 0x101
jne 0x5477bc
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 0x5477ab
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x5477c5
jmp 0x5477af
pop edx
pop eax
jle 0x5477c5
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0xc]
sub eax, ebx
mov dword [ebp - 0x30], eax
jmp 0x5477c5
inc ecx
cmp ecx, 0x102
jne 0x54776f
inc ebx
dec dword [ebp - 0x3c]
jne 0x547759
cmp dword [ebp - 0x2c], 3
jae 0x5477d8
xor eax, eax
jmp 0x5478f4
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 0x5477fe
add dword [ebp - 0x14], 4
jmp 0x5478c7
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 0x5478c3
add eax, ebx
cmp eax, dword [ebp - 0x18]
jbe 0x5478c3
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 0x547862
add esi, 4
jmp 0x5478b8
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 0x5478b5
add eax, ebx
cmp eax, dword [ebp - 0x1c]
jbe 0x5478b5
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 0x5478d7
add esi, 4
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x20
jne 0x547854
jmp 0x5478d7
add dword [ebp - 0x14], 4
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0x100
jne 0x5477e9
cmp dword [ebp - 0x20], 0
jne 0x5478e1
xor eax, eax
jmp 0x5478f4
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