Function at 0x1800112c0
Capabilities:
Compute adler32 checksum

Disassembly:
mov r10d, ecx
mov r11, rdx
movzx r9d, cx
shr r10d, 0x10
cmp r8, 1
jne 0x180010fec
movzx eax, byte [rdx]
add r9d, eax
cmp r9d, 0xfff1
jb 0x180010fca
add r9d, 0xffff000f
add r10d, r9d
cmp r10d, 0xfff1
jb 0x1800112aa
add r10d, 0xffff000f
shl r10d, 0x10
or r10d, r9d
mov eax, r10d
ret
test rdx, rdx
jne 0x180010ff5
lea eax, [rdx + 1]
ret
cmp r8, 0x10
jae 0x18001103b
test r8, r8
je 0x180011012
movzx eax, byte [r11]
inc r11
add r9d, eax
add r10d, r9d
dec r8
jne 0x180011000
cmp r9d, 0xfff1
jb 0x180011022
add r9d, 0xffff000f
mov eax, 0x80078071
mul r10d
shr edx, 0xf
imul edx, edx, 0xf
lea eax, [r10 + rdx]
shl eax, 0x10
or eax, r9d
ret
cmp r8, 0x15b0
jb 0x18001117c
mov rcx, r8
movabs rax, 0x79baa6bb6398b6f7
mul r8
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 0xc
mov rax, rcx
imul rax, rax, 0xffffffffffffea50
add r8, rax
nop word [rax + rax]
mov edx, 0x15b
nop word [rax + rax]
movzx eax, byte [r11]
add r11, 0x10
add r9d, eax
movzx eax, byte [r11 - 0xf]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 0xe]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 0xd]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 0xc]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 0xb]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 0xa]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 9]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 8]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 7]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 6]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 5]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 4]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 3]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 2]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 1]
add r10d, r9d
add r9d, eax
add r10d, r9d
dec edx
jne 0x180011090
mov eax, 0x80078071
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
mul r10d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r10d, edx
dec rcx
jne 0x180011080
test r8, r8
je 0x1800112aa
cmp r8, 0x10
jb 0x18001125c
mov rcx, r8
shr rcx, 4
mov rax, rcx
imul rax, rax, 0xfffffffffffffff0
add r8, rax
movzx eax, byte [r11]
add r11, 0x10
add r9d, eax
movzx eax, byte [r11 - 0xf]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 0xe]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 0xd]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 0xc]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 0xb]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 0xa]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 9]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 8]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 7]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 6]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 5]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 4]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 3]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 2]
add r10d, r9d
add r9d, eax
movzx eax, byte [r11 - 1]
add r10d, r9d
add r9d, eax
add r10d, r9d
dec rcx
jne 0x1800111a0
test r8, r8
je 0x180011282
nop word [rax + rax]
movzx eax, byte [r11]
inc r11
add r9d, eax
add r10d, r9d
dec r8
jne 0x180011270
mov eax, 0x80078071
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
mul r10d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r10d, edx
shl r10d, 0x10
or r10d, r9d
mov eax, r10d
ret
mov r8d, r8d
jmp 0x180010fa0