Function at 0x140043150
Capabilities:
Compute adler32 checksum

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov r15d, dword [rdx]
xorps xmm0, xmm0
mov edx, dword [rsp + 0x100]
mov r14, r8
mov r13, rcx
movups xmmword [rax - 0x68], xmm0
movups xmmword [rax - 0x58], xmm0
test edx, edx
js 0x14004319e
mov ecx, 0xa
mov eax, edx
cmp edx, ecx
cmovg eax, ecx
jmp 0x1400431a3
mov eax, 6
mov r12, qword [rsp + 0x78]
lea r9, [0x140415788]
cmp edx, 3
mov ecx, 0x1000
mov r8d, 0x5000
mov rsi, r12
cmovle ecx, r8d
or ecx, dword [r9 + rax*4]
mov rax, qword [rsp + 0x70]
mov edi, ecx
bts edi, 0x13
test edx, edx
lea rdx, [0x140043fb0]
cmovne edi, ecx
xor ebp, ebp
bts edi, 0xd
mov dword [rsp + 0x20], ebp
test rax, rax
lea rcx, [0x140043f90]
cmove rax, rcx
test r12, r12
jne 0x140043202
mov r12, rdx
mov rsi, rdx
cmp rax, rcx
jne 0x140043213
mov ecx, 0x4df78
call fcn.14017026c
jmp 0x140043228
mov rcx, qword [rsp + 0x80]
mov edx, 1
mov r8d, 0x4df78
call rax
mov rbx, rax
test rax, rax
jne 0x140043238
lea eax, [rbx - 4]
jmp 0x140043606
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140045040
test eax, eax
je 0x140043281
lea rax, [0x140043fb0]
cmp rsi, rax
jne 0x14004326a
mov rcx, rbx
call fcn.140170264
mov eax, 0xffffd8f0
jmp 0x140043606
mov rcx, qword [rsp + 0x80]
mov rdx, rbx
call rsi
mov eax, 0xffffd8f0
jmp 0x140043606
mov esi, 0xfffffffb
test r13, r13
je 0x1400435d6
test r15d, r15d
jne 0x14004329b
mov ebp, esi
jmp 0x1400435db
cmp dword [rbx + 0x84], 1
je 0x14004359e
mov edi, dword [rsp + 0xf8]
mov r8, r13
nop dword [rax]
nop word [rax + rax]
mov eax, edi
mov qword [rsp + 0x28], rax
mov eax, r15d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rbx + 0x98], rax
lea rax, [rsp + 0x30]
mov qword [rbx + 0xa0], rax
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x90], r8
mov qword [rbx + 0xb0], r14
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0xb8], rax
mov qword [rbx + 0xc0], rbp
mov dword [rbx + 0xa8], 4
cmp qword [rbx], rbp
jne 0x140043531
cmp dword [rbx + 0x84], ebp
jne 0x140043531
cmp qword [rsp + 0x28], rbp
je 0x14004333e
test r14, r14
je 0x140043531
cmp qword [rsp + 0x30], rbp
je 0x14004334e
test r8, r8
je 0x140043531
or dword [rbx + 0x80], 1
cmp dword [rbx + 0x74], ebp
jne 0x14004351f
cmp dword [rbx + 0x78], ebp
jne 0x14004351f
mov ecx, dword [rbx + 0x10]
mov eax, ecx
and eax, 0xfff
cmp eax, 1
jne 0x14004339b
and ecx, 0xb4000
cmp ecx, 0x4000
jne 0x14004339b
mov rcx, rbx
call fcn.140050e70
test eax, eax
jne 0x1400433b2
mov edx, dword [rbx + 0x84]
jmp 0x14004354a
mov rcx, rbx
call fcn.140051710
test eax, eax
jne 0x1400433b2
mov edx, dword [rbx + 0x84]
jmp 0x14004354a
test dword [rbx + 0x10], 0x3000
je 0x1400434ec
test r14, r14
je 0x1400434ec
mov rdi, qword [rbx + 0xb0]
movabs rax, 0x79baa6bb6398b6f7
mov r8d, dword [rbx + 0x20]
sub rdi, r14
mul rdi
mov rax, rdi
movzx ecx, r8w
sub rax, rdx
shr r8d, 0x10
shr rax, 1
mov r10, rdi
add rax, rdx
mov r9, r14
shr rax, 0xc
imul rax, rax, 0x15b0
sub r10, rax
test rdi, rdi
je 0x1400434da
mov edx, ebp
cmp r10, 7
jbe 0x140043484
mov r11d, 7
movzx eax, byte [r9]
add r11d, 8
add ecx, eax
add edx, 8
movzx eax, byte [r9 + 1]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 2]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 3]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 4]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 5]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 6]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 7]
add r8d, ecx
add ecx, eax
add r9, 8
add r8d, ecx
mov eax, r11d
cmp rax, r10
jb 0x140043422
mov eax, edx
cmp rax, r10
jae 0x1400434a5
nop dword [rax + rax]
movzx eax, byte [r9]
inc edx
add ecx, eax
inc r9
add r8d, ecx
mov eax, edx
cmp rax, r10
jb 0x140043490
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 rdi, r10
mov r10d, 0x15b0
jne 0x140043414
mov edi, dword [rsp + 0xf8]
shl r8d, 0x10
lea eax, [r8 + rcx]
mov dword [rbx + 0x20], eax
cmp dword [rbx + 0x28], ebp
jne 0x14004351f
cmp qword [rbx + 0xb8], rbp
jne 0x14004351f
cmp dword [rbx + 0x74], ebp
jne 0x14004351f
mov edx, 4
mov rcx, rbx
call fcn.140052000
test eax, eax
jns 0x140043518
mov edx, dword [rbx + 0x84]
jmp 0x14004354a
mov dword [rbx + 0x78], 1
mov rcx, rbx
call fcn.140052730
mov edx, eax
mov dword [rbx + 0x84], eax
jmp 0x14004354a
mov qword [rsp + 0x28], rbp
mov edx, 0xfffffffe
mov qword [rsp + 0x30], rbp
mov dword [rbx + 0x84], 0xfffffffe
mov rcx, qword [rsp + 0x28]
mov eax, ecx
sub edi, ecx
mov rcx, qword [rsp + 0x30]
add r14, rax
mov eax, ecx
sub r15d, ecx
add r13, rax
mov dword [rsp + 0xf8], edi
mov eax, dword [rsp + 0x20]
mov r8, r13
add eax, ecx
mov dword [rsp + 0x20], eax
test edx, edx
js 0x140043592
cmp edx, 1
je 0x14004358b
test r15d, r15d
jne 0x1400432c0
jmp 0x140043597
mov ebp, 1
jmp 0x140043597
mov ebp, 0xfffffffe
cmp ebp, 1
jne 0x1400435db
jmp 0x1400435a2
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xe8]
mov dword [rcx], eax
lea rax, [0x140043fb0]
cmp r12, rax
jne 0x1400435c4
mov rcx, rbx
call fcn.140170264
xor eax, eax
jmp 0x140043606
mov rcx, qword [rsp + 0x80]
mov rdx, rbx
call r12
xor eax, eax
jmp 0x140043606
mov ebp, 0xfffffffe
lea rax, [0x140043fb0]
cmp r12, rax
jne 0x1400435f1
mov rcx, rbx
call fcn.140170264
jmp 0x1400435ff
mov rcx, qword [rsp + 0x80]
mov rdx, rbx
call r12
test ebp, ebp
cmove ebp, esi
mov eax, ebp
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret