Function at 0x10025b60
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 3]
shl ecx, 8
add ecx, eax
cmp ecx, 0x57bc0000
jne 0x10025dca
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
jne 0x10025dca
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
mov edi, dword [ebp + 8]
shl ecx, 8
add ecx, eax
mov dword [0x10072a54], esi
movzx eax, byte [esi + 0xa]
shl ecx, 8
add ecx, eax
mov dword [0x10072a5c], edi
movzx eax, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov dword [0x10072a60], edi
mov eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0x18], ecx
add esi, 0x10
mov dword [0x10072a58], eax
lea ebx, [ecx + edi]
push esi
mov dword [0x10072a50], ebx
call fcn.10025de0
add esp, 4
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x10025c3e
nop dword [eax + eax]
cmp dword [0x10072a60], ebx
ja 0x10025dca
push eax
mov esi, eax
call fcn.10025de0
add esp, 4
mov dword [ebp - 0x14], eax
cmp eax, esi
jne 0x10025c20
cmp byte [eax], 5
jne 0x10025dca
cmp byte [eax + 1], 0xfa
jne 0x10025dca
cmp dword [0x10072a60], ebx
jne 0x10025dca
mov esi, dword [ebp - 0x18]
mov eax, 0x5e6ea9af
mul esi
xor ebx, ebx
mov dword [ebp - 0x10], esi
shr edx, 0xb
mov ecx, 1
imul eax, edx, 0x15b0
mov edx, esi
mov dword [ebp - 0xc], ebx
sub edx, eax
mov dword [ebp + 0xc], edx
test esi, esi
je 0x10025d95
nop dword [eax]
xor esi, esi
cmp edx, 7
jbe 0x10025cf2
mov eax, 7
sub eax, edi
mov dword [ebp - 0xc], eax
movzx eax, byte [edi]
add esi, 8
add ecx, eax
movzx eax, byte [edi + 1]
add ebx, ecx
add ecx, eax
movzx eax, byte [edi + 2]
add ebx, ecx
add ecx, eax
movzx eax, byte [edi + 3]
add ebx, ecx
add ecx, eax
movzx eax, byte [edi + 4]
add ebx, ecx
add ecx, eax
movzx eax, byte [edi + 5]
add ebx, ecx
add ecx, eax
movzx eax, byte [edi + 6]
add ebx, ecx
add ecx, eax
movzx eax, byte [edi + 7]
add ebx, ecx
add edi, 8
add ecx, eax
mov eax, dword [ebp - 0xc]
add eax, edi
add ebx, ecx
cmp eax, edx
jb 0x10025ca1
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
cmp esi, eax
jae 0x10025d5a
sub eax, esi
cmp eax, 2
jb 0x10025d46
mov edx, dword [ebp + 0xc]
sub edx, esi
sub edx, 2
shr edx, 1
inc edx
lea esi, [esi + edx*2]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 4]
mov ebx, esi
nop
movzx eax, byte [edi]
add ecx, eax
movzx eax, byte [edi + 1]
add esi, ecx
add edi, 2
add ecx, eax
add ebx, ecx
sub edx, 1
jne 0x10025d20
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebp + 0xc]
jae 0x10025d53
movzx eax, byte [edi]
add ecx, eax
add ebx, ecx
inc edi
mov eax, dword [ebp - 8]
add eax, edx
add ebx, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul ebx
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, dword [ebp + 0xc]
add ebx, eax
sub dword [ebp - 0x10], edx
mov edx, 0x15b0
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], edx
jne 0x10025c90
mov edx, dword [ebp - 0x14]
shl ebx, 0x10
add ebx, ecx
movzx esi, byte [edx + 2]
movzx eax, byte [edx + 3]
shl esi, 8
add esi, eax
movzx eax, byte [edx + 4]
movzx edx, byte [edx + 5]
shl esi, 8
add esi, eax
shl esi, 8
add esi, edx
cmp ebx, esi
jne 0x10025dca
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret