Function at 0x18000e190
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
jne 0x18000e1d6
test r8, r8
je 0x18000e1b4
mov qword [r8], rsi
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x18000e1c1
mov qword [rax], rsi
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov qword [rcx + 0x88], rbx
mov qword [rcx + 0x98], r8
mov qword [rcx + 0x90], r9
mov rcx, qword [rsp + 0x50]
mov qword [rdi + 0xa0], rcx
mov qword [rsp + 0x30], rbp
mov qword [rdi + 0xb0], rbx
test r8, r8
je 0x18000e20d
mov rax, qword [r8]
jmp 0x18000e210
mov rax, rsi
mov ebp, dword [rsp + 0x58]
mov dword [rdi + 0xa8], ebp
mov qword [rdi + 0xb8], rax
mov qword [rdi + 0xc0], rsi
test r9, r9
jne 0x18000e234
mov edx, esi
test rcx, rcx
je 0x18000e239
mov edx, 1
mov eax, esi
cmp qword [rdi], rax
setne al
cmp eax, edx
je 0x18000e491
cmp dword [rdi + 0x84], esi
jne 0x18000e491
mov edx, dword [rdi + 0x80]
test edx, edx
je 0x18000e268
cmp ebp, 4
jne 0x18000e491
test r8, r8
je 0x18000e27b
cmp qword [r8], rsi
je 0x18000e27b
test rbx, rbx
je 0x18000e496
test rcx, rcx
je 0x18000e28e
cmp qword [rcx], rsi
je 0x18000e28e
test r9, r9
je 0x18000e491
mov qword [rsp + 0x38], r14
cmp ebp, 4
mov r14d, esi
sete r14b
mov eax, r14d
or eax, edx
mov dword [rdi + 0x80], eax
cmp dword [rdi + 0x74], esi
jne 0x18000e47e
cmp dword [rdi + 0x78], esi
jne 0x18000e47e
mov ecx, dword [rdi + 0x10]
mov eax, ecx
and eax, 0xfff
cmp eax, 1
jne 0x18000e303
and ecx, 0xb4000
cmp ecx, 0x4000
jne 0x18000e303
mov rcx, rdi
call fcn.18000d110
test eax, eax
jne 0x18000e30f
mov eax, dword [rdi + 0x84]
mov r14, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rcx, rdi
call fcn.18000d720
test eax, eax
je 0x18000e2e3
test dword [rdi + 0x10], 0x3000
je 0x18000e435
test rbx, rbx
je 0x18000e435
mov r11, qword [rdi + 0xb0]
movabs rax, 0x79baa6bb6398b6f7
mov r8d, dword [rdi + 0x20]
sub r11, rbx
mul r11
mov rax, r11
movzx ecx, r8w
sub rax, rdx
shr r8d, 0x10
shr rax, 1
mov r9, r11
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x15b0
sub r9, rax
test r11, r11
je 0x18000e42a
nop
mov edx, esi
cmp r9, 7
jbe 0x18000e3da
mov r10d, 7
nop
movzx eax, byte [rbx]
add r10d, 8
add ecx, eax
add edx, 8
movzx eax, byte [rbx + 1]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 2]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 3]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 4]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 5]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 6]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 7]
add r8d, ecx
add ecx, eax
add rbx, 8
add r8d, ecx
mov eax, r10d
cmp rax, r9
jb 0x18000e380
mov eax, edx
cmp rax, r9
jae 0x18000e3f5
movzx eax, byte [rbx]
inc edx
add ecx, eax
inc rbx
add r8d, ecx
mov eax, edx
cmp rax, r9
jb 0x18000e3e1
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r8d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r8d, eax
sub r11, r9
mov r9d, 0x15b0
jne 0x18000e370
shl r8d, 0x10
lea eax, [r8 + rcx]
mov dword [rdi + 0x20], eax
test ebp, ebp
je 0x18000e47e
cmp dword [rdi + 0x28], esi
jne 0x18000e47e
cmp qword [rdi + 0xb8], rsi
jne 0x18000e47e
cmp dword [rdi + 0x74], esi
jne 0x18000e47e
mov edx, ebp
mov rcx, rdi
call fcn.18000cae0
test eax, eax
js 0x18000e2e3
mov dword [rdi + 0x78], r14d
cmp ebp, 3
jne 0x18000e47e
lea rcx, [rdi + 0x192aa]
xor edx, edx
mov r8d, 0x20000
call fcn.1800c1ae0
mov dword [rdi + 0x2c], esi
mov rcx, rdi
call fcn.18000e0e0
mov dword [rdi + 0x84], eax
jmp 0x18000e2e9
test r8, r8
je 0x18000e499
mov qword [r8], rsi
test rcx, rcx
je 0x18000e4a1
mov qword [rcx], rsi
mov dword [rdi + 0x84], 0xfffffffe
mov eax, 0xfffffffe
jmp 0x18000e2ee