Function at 0x4460e0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, eax
movzx ecx, ax
shr esi, 0x10
cmp ebx, 1
jne 0x44612b
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
add ecx, eax
cmp ecx, 0xfff1
jb 0x44610e
sub ecx, 0xfff1
add esi, ecx
cmp esi, 0xfff1
jb 0x44611e
sub esi, 0xfff1
shl esi, 0x10
or esi, ecx
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x44613d
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp ebx, 0x10
jae 0x446182
test ebx, ebx
je 0x446155
movzx eax, byte [edi]
lea edi, [edi + 1]
add ecx, eax
add esi, ecx
sub ebx, 1
jne 0x446146
cmp ecx, 0xfff1
jb 0x446163
sub ecx, 0xfff1
mov eax, 0x80078071
mul esi
pop edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, esi
shl eax, 0x10
pop esi
or eax, ecx
pop ebx
pop ebp
ret 0xc
cmp ebx, 0x15b0
jb 0x446269
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 0xc], edx
nop dword [eax + eax]
sub ebx, 0x15b0
mov edx, 0x15b
nop dword [eax + eax]
movzx eax, byte [edi]
add ecx, eax
movzx eax, byte [edi + 1]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 2]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 3]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 4]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 5]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 6]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 7]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 8]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 9]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xa]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xb]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xc]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xd]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xe]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xf]
add esi, ecx
add edi, 0x10
add ecx, eax
add esi, ecx
sub edx, 1
jne 0x4461b0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
sub dword [ebp + 0xc], 1
jne 0x4461a0
test ebx, ebx
je 0x446345
cmp ebx, 0x10
jb 0x44630e
mov edx, ebx
shr edx, 4
nop
movzx eax, byte [edi]
sub ebx, 0x10
add ecx, eax
movzx eax, byte [edi + 1]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 2]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 3]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 4]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 5]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 6]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 7]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 8]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 9]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xa]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xb]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xc]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xd]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xe]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xf]
add esi, ecx
add edi, 0x10
add ecx, eax
add esi, ecx
sub edx, 1
jne 0x446280
test ebx, ebx
je 0x446321
movzx eax, byte [edi]
lea edi, [edi + 1]
add ecx, eax
add esi, ecx
sub ebx, 1
jne 0x446312
mov eax, 0x80078071
mul ecx
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
shl esi, 0x10
or esi, ecx
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc