Function at 0x14000f160
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov r9, qword [rcx]
add r9, 0xfffffffffffffffd
cmp r9, 2
mov eax, 2
cmovb rax, r9
test rax, rax
je 0x14000f194
cmp rax, 1
jne 0x14000f1ce
add rcx, 8
add rsp, 0x58
pop rdi
pop rsi
jmp fcn.140011420
mov rsi, qword [rcx + 0x18]
test rsi, rsi
je 0x14000f1d9
cmp r8, rsi
cmovae r8, rsi
mov rax, qword [rcx + 8]
mov rdi, rcx
mov r9, qword [rcx + 0x10]
mov rcx, rax
call qword [r9 + 0x18]
mov rcx, rax
mov eax, 1
test rcx, rcx
jne 0x14000f1dd
sub rsi, rdx
jb 0x14000f1e4
mov qword [rdi + 0x18], rsi
jmp 0x14000f1db
add rsp, 0x58
pop rdi
pop rsi
jmp 0x140018a40
xor edx, edx
xor eax, eax
add rsp, 0x58
pop rdi
pop rsi
ret
lea rax, str.number_of_read_bytes_exceeds_limit
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, [0x1400e4ec0]
lea rcx, [rsp + 0x28]
call fcn.1400a2420
int3
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movdqa xmmword [rsp + 0xb0], xmm6
mov rbx, qword [rcx + 0x28]
test rbx, rbx
je 0x140018ab9
mov r14, rdx
mov rdi, rcx
mov r15, qword [rcx + 0x20]
test r15, r15
je 0x140018ac2
cmp rbx, r8
mov r12, r8
cmovb r8, rbx
cmp r8, r15
cmovae r8, r15
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
mov rdx, r14
call qword [rax + 0x18]
mov rcx, rax
mov rsi, rdx
mov eax, 1
test rcx, rcx
jne 0x140018dee
sub r15, rsi
jb 0x140018e22
mov qword [rdi + 0x20], r15
mov r8, r12
jmp 0x140018ac4
xor esi, esi
xor eax, eax
jmp 0x140018dee
xor esi, esi
sub rbx, rsi
mov qword [rdi + 0x28], rbx
cmp rsi, r8
ja 0x140018e0d
lea rbx, [rdi + 0x90]
movzx eax, byte [rdi + 0xd0]
movzx r15d, al
mov r8d, 0x40
sub r8, r15
cmp r8, rsi
jbe 0x140018b08
lea rcx, [rbx + r15]
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add r15, rsi
jmp 0x140018b7b
mov r12, rsi
test al, al
je 0x140018b3c
sub r12, r8
lea r13, [r14 + r8]
add r15, rbx
mov rcx, r15
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
inc qword [rdi + 0x30]
lea rcx, [rdi + 0x38]
mov r8d, 1
mov rdx, rbx
call fcn.140033ed0
jmp 0x140018b3f
mov r13, r14
mov rbp, r12
and rbp, 0xffffffffffffffc0
mov r15d, r12d
and r15d, 0x3f
add rbp, r13
cmp r12, 0x40
jb 0x140018b6d
shr r12, 6
add qword [rdi + 0x30], r12
lea rcx, [rdi + 0x38]
mov rdx, r13
mov r8, r12
call fcn.140033ed0
mov rcx, rbx
mov rdx, rbp
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + 0xd0], r15b
mov rcx, rdi
mov rdx, r14
mov r8, rsi
call fcn.1400174a0
cmp qword [rdi + 0x28], 0
je 0x140018b9e
xor eax, eax
jmp 0x140018dee
cmp byte [rdi + 0xd8], 0
jne 0x140018e59
lea rcx, [rdi + 0x10]
mov byte [rdi + 0xd8], 1
mov word [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov r8d, 0xa
call fcn.140013f40
mov rcx, rax
test rax, rax
jne 0x140018de6
movzx r14d, byte [rdi + 0xd0]
mov rax, qword [rdi + 0x30]
shl rax, 9
mov r12d, r14d
shl r12d, 3
or r12, rax
mov eax, dword [rdi + 0x48]
mov dword [rsp + 0x80], eax
movups xmm0, xmmword [rdi + 0x38]
movaps xmmword [rsp + 0x70], xmm0
mov byte [rdi + r14 + 0x90], 0x80
mov r8, r14
xor r8, 0x3f
je 0x140018c2f
lea rcx, [rbx + r14]
inc rcx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea r15, [rdi + 0x38]
bswap r12
xor r14d, 0x38
cmp r14d, 7
ja 0x140018c86
lea r14, [rsp + 0x70]
mov r8d, 1
mov rcx, r14
mov rdx, rbx
call fcn.140033ed0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], r12
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, r14
jmp 0x140018c9b
mov qword [rdi + 0xc8], r12
lea rcx, [rsp + 0x70]
mov r8d, 1
mov rdx, rbx
call fcn.140033ed0
mov eax, dword [rsp + 0x80]
bswap eax
movdqa xmm0, xmmword [rsp + 0x70]
pxor xmm6, xmm6
movdqa xmm1, xmm0
punpckhbw xmm1, xmm6
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
punpcklbw xmm0, xmm6
pshuflw xmm0, xmm0, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm1
mov ecx, dword [rdi + 0x68]
mov dword [rsp + 0x40], ecx
movups xmm1, xmmword [rdi + 0x58]
movaps xmmword [rsp + 0x30], xmm1
mov rcx, qword [rdi + 0x50]
movdqu xmmword [rdi + 0x90], xmm0
mov dword [rdi + 0xa0], eax
mov byte [rdi + 0xd0], 0x14
shl rcx, 9
or rcx, 0xa0
bswap rcx
mov byte [rdi + 0xa4], 0x80
movdqu xmmword [rdi + 0xa5], xmm6
movdqu xmmword [rdi + 0xb5], xmm6
mov dword [rdi + 0xc4], 0
mov qword [rdi + 0xc8], rcx
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.140033ed0
mov eax, dword [rsp + 0x40]
bswap eax
movdqa xmm0, xmmword [rsp + 0x30]
movdqa xmm1, xmm0
punpckhbw xmm1, xmm6
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
punpcklbw xmm0, xmm6
pshuflw xmm0, xmm0, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm1
mov rcx, qword [rdi + 0x70]
mov qword [rdi + 0x30], rcx
mov ecx, dword [rdi + 0x88]
mov dword [r15 + 0x10], ecx
movups xmm1, xmmword [rdi + 0x78]
movups xmmword [r15], xmm1
mov byte [rdi + 0xd0], 0
movdqa xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0xa0], eax
lea rcx, [rsp + 0x90]
lea r8, [rsp + 0x20]
mov edx, 0xa
mov r9d, 0xa
call fcn.1400354c0
test al, al
jne 0x140018b97
lea rdx, str.Invalid_authentication_code__this_could_be_due_to_an_invalid_password_or_errors_in_the_dataTried_to_use_an_already_finalized_HMAC._This_is_a_bug_
mov r8d, 0x5b
mov cl, 0x15
call fcn.140010b10
mov rcx, rax
mov eax, 1
mov rsi, rcx
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [0x1400e58b0]
mov rcx, rsi
mov rdx, r8
mov r8, rax
call fcn.1400a28b0
lea rax, str.number_of_read_bytes_exceeds_limit
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, [0x1400e4ec0]
lea rcx, [rsp + 0x30]
call fcn.1400a2420
lea rax, [0x1400e5960]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, [0x1400e5970]
lea rcx, [rsp + 0x30]
call fcn.1400a2420
int3