Function at 0xa19f80
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x64
mov eax, dword [ebp + 8]
mov edx, eax
and eax, 0xffff
shr edx, 0x10
cmp dword [ebp + 0x10], 1
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x10], eax
je 0xa1a290
mov ecx, dword [ebp + 0xc]
mov eax, 1
test ecx, ecx
je 0xa1a0fc
cmp dword [ebp + 0x10], 0xf
jbe 0xa1a104
cmp dword [ebp + 0x10], 0x15af
jbe 0xa1a15a
sub dword [ebp + 0x10], 0x15b0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x70], 0x15b
nop
movzx eax, byte [edi]
movzx edx, byte [edi + 1]
add eax, dword [ebp - 0x10]
lea edx, [eax + edx]
mov dword [ebp - 0x68], edx
movzx edx, byte [edi + 2]
add edx, dword [ebp - 0x68]
mov dword [ebp - 0x64], edx
movzx edx, byte [edi + 3]
add edx, dword [ebp - 0x64]
mov dword [ebp - 0x60], edx
movzx edx, byte [edi + 4]
add edx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], edx
movzx edx, byte [edi + 5]
add edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
movzx edx, byte [edi + 6]
add edx, dword [ebp - 0x58]
mov dword [ebp - 0x54], edx
movzx edx, byte [edi + 7]
add edx, dword [ebp - 0x54]
mov dword [ebp - 0x50], edx
movzx edx, byte [edi + 8]
add edx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], edx
movzx edx, byte [edi + 9]
add edx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], edx
movzx edx, byte [edi + 0xa]
add edx, dword [ebp - 0x48]
mov dword [ebp - 0x44], edx
movzx edx, byte [edi + 0xb]
add edx, dword [ebp - 0x44]
mov dword [ebp - 0x40], edx
movzx esi, byte [edi + 0xc]
movzx ebx, byte [edi + 0xd]
movzx ecx, byte [edi + 0xe]
add eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x68]
add esi, edx
add eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x40]
movzx edx, byte [edi + 0xf]
lea ebx, [esi + ebx]
add edi, 0x10
lea ecx, [ebx + ecx]
add eax, esi
add eax, ebx
lea edx, [ecx + edx]
add eax, ecx
add eax, edx
sub dword [ebp - 0x70], 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x6c], eax
jne 0xa19fe0
mov ecx, 0x80078071
mov eax, edx
mul ecx
mov eax, dword [ebp - 0x6c]
add dword [ebp + 0xc], 0x15b0
shr edx, 0xf
imul edx, edx, 0xfff1
sub dword [ebp - 0x10], edx
mul ecx
shr edx, 0xf
imul eax, edx, 0xfff1
sub dword [ebp - 0x6c], eax
cmp dword [ebp + 0x10], 0x15af
ja 0xa19fcd
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0xa1a22e
mov eax, dword [ebp - 0x6c]
shl eax, 0x10
or eax, dword [ebp - 0x10]
add esp, 0x64
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
test edi, edi
lea ecx, [edi + edx]
je 0xa1a124
movzx eax, byte [edx]
add edx, 1
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x6c], eax
cmp edx, ecx
jne 0xa1a111
cmp dword [ebp - 0x10], 0xfff0
jbe 0xa1a134
sub dword [ebp - 0x10], 0xfff1
mov eax, dword [ebp - 0x6c]
mov edx, 0x80078071
mul edx
mov eax, dword [ebp - 0x6c]
shr edx, 0xf
imul edx, edx, 0xfff1
sub eax, edx
shl eax, 0x10
or eax, dword [ebp - 0x10]
add esp, 0x64
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0xc]
sub dword [ebp + 0x10], 0x10
mov ecx, dword [ebp + 0xc]
movzx eax, byte [edx]
movzx edx, byte [edx + 1]
add eax, dword [ebp - 0x10]
lea edx, [eax + edx]
mov dword [ebp - 0x3c], edx
movzx edx, byte [ecx + 2]
add edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], edx
movzx edx, byte [ecx + 3]
add edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
movzx edx, byte [ecx + 4]
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
movzx edx, byte [ecx + 5]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
movzx edx, byte [ecx + 6]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
movzx edx, byte [ecx + 7]
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
movzx edx, byte [ecx + 8]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
movzx edx, byte [ecx + 9]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
movzx edx, byte [ecx + 0xa]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
movzx edx, byte [ecx + 0xb]
add edx, dword [ebp - 0x18]
mov edi, dword [ebp + 0xc]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14], edx
movzx esi, byte [ecx + 0xc]
movzx ecx, byte [ecx + 0xd]
movzx ebx, byte [edi + 0xe]
add eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x38]
add esi, edx
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
movzx edx, byte [edi + 0xf]
lea ecx, [esi + ecx]
add edi, 0x10
lea ebx, [ecx + ebx]
add eax, esi
add eax, ecx
lea edx, [ebx + edx]
add eax, ebx
add eax, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x6c], eax
mov dword [ebp + 0xc], edi
cmp dword [ebp + 0x10], 0xf
ja 0xa1a15a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0xa1a25b
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
lea ecx, [eax + edx]
movzx eax, byte [edx]
add edx, 1
add dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x10]
add dword [ebp - 0x6c], edi
cmp edx, ecx
jne 0xa1a248
mov eax, dword [ebp - 0x10]
mov ecx, 0x80078071
mul ecx
mov eax, dword [ebp - 0x6c]
shr edx, 0xf
imul edx, edx, 0xfff1
sub dword [ebp - 0x10], edx
mul ecx
shr edx, 0xf
imul eax, edx, 0xfff1
sub dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
shl eax, 0x10
or eax, dword [ebp - 0x10]
jmp 0xa1a0fc
mov ecx, dword [ebp + 0xc]
mov edi, eax
movzx eax, byte [ecx]
lea edx, [eax + edi]
cmp edx, 0xfff0
jbe 0xa1a2a9
sub edx, 0xfff1
mov ecx, dword [ebp - 0x6c]
lea eax, [edx + ecx]
cmp eax, 0xfff0
jbe 0xa1a2bb
sub eax, 0xfff1
add esp, 0x64
pop ebx
pop esi
pop edi
pop ebp
shl eax, 0x10
or eax, edx
ret