Function at 0xdd96c0
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 0xdd99d8
mov ebx, dword [ebp + 0xc]
mov ecx, 1
test ebx, ebx
je 0xdd983c
cmp dword [ebp + 0x10], 0xf
jbe 0xdd9846
cmp dword [ebp + 0x10], 0x15af
jbe 0xdd98a2
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 0xdd9720
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 0xdd970d
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0xdd9976
mov ecx, dword [ebp - 0x6c]
shl ecx, 0x10
or ecx, dword [ebp - 0x10]
add esp, 0x64
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
test eax, eax
lea ecx, [eax + edx]
je 0xdd9866
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 0xdd9853
mov eax, dword [ebp - 0x10]
mov edx, 0x80078071
mov ecx, dword [ebp - 0x10]
sub eax, 0xfff1
cmp dword [ebp - 0x10], 0xfff1
cmovae ecx, eax
mov eax, dword [ebp - 0x6c]
mul edx
shr edx, 0xf
imul edx, edx, 0xfff1
sub dword [ebp - 0x6c], edx
shl dword [ebp - 0x6c], 0x10
or ecx, dword [ebp - 0x6c]
add esp, 0x64
pop ebx
pop esi
pop edi
mov eax, ecx
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 0xdd98a2
mov eax, dword [ebp + 0x10]
test eax, eax
je 0xdd99a3
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 0xdd9990
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 ecx, dword [ebp - 0x6c]
shl ecx, 0x10
or ecx, dword [ebp - 0x10]
jmp 0xdd983c
mov ecx, dword [ebp + 0xc]
mov edi, edx
movzx eax, byte [ecx]
add eax, dword [ebp - 0x10]
lea edx, [eax - 0xfff1]
cmp eax, 0xfff1
cmovae eax, edx
lea edx, [eax + edi]
cmp edx, 0xfff1
lea ecx, [edx - 0xfff1]
cmovb ecx, edx
add esp, 0x64
shl ecx, 0x10
pop ebx
or ecx, eax
pop esi
mov eax, ecx
pop edi
pop ebp
ret