Function at 0x14012252c
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
movzx eax, byte [rdx]
test rax, rax
je 0x1401225f6
cmp eax, 1
jne 0x14012261e
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x38]
mov r8, r15
mov r9, r14
call fcn.1401222e5
mov eax, dword [rdi + 0x28]
mov r11d, dword [rdi + 0x20]
mov ecx, dword [rdi + 0x24]
xor edx, edx
lea r8, [0x1401f1068]
mov r9d, 0xff
cmp r14, rdx
je 0x140122672
mov ebx, eax
or ebx, 3
mov r10d, ebx
and r10d, 0xfffffffe
imul r10d, ebx
shr r10d, 8
xor r10b, byte [r15 + rdx]
mov ebx, r11d
shr ebx, 8
xor r11b, r10b
movzx r11d, r11b
xor ebx, dword [r8 + r11*4]
mov dword [rdi + 0x20], ebx
mov r11d, ebx
and ebx, r9d
add ebx, ecx
imul ecx, ebx, 0x8088405
inc ecx
mov dword [rdi + 0x24], ecx
mov ebx, ecx
shr ebx, 0x18
mov ebp, eax
shr ebp, 8
and eax, r9d
xor eax, ebx
xor ebp, dword [r8 + rax*4]
mov dword [rdi + 0x28], ebp
mov byte [r15 + rdx], r10b
inc rdx
mov eax, ebp
jmp 0x14012258d
add rdi, 8
mov rcx, rsi
mov rdx, rdi
mov r8, r15
mov r9, r14
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1401222e5
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140122679
lea r12, [rdi + 8]
cmp rcx, r14
cmovae rcx, r14
lea r9, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs
mov rdx, r15
mov r8, r14
call fcn.14002ed58
mov r9, rdx
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r12
mov r8, rax
call fcn.1401222e5
cmp qword [rbx], 0
je 0x140122693
mov rax, qword [rsp + 0x40]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14012267f
movups xmm0, xmmword [rsp + 0x38]
jmp 0x14012267c
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x40]
sub qword [rdi + 0x30], rdx
lea rbx, [rdi + 0x38]
lea rax, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov qword [rsp + 0x30], rdx
mov r8, r15
mov r9, r14
call fcn.1400572e8
mov rbp, rdx
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x98], rbx
lea rdx, [rdi + 0x98]
mov cl, byte [rdi + 0xd8]
movzx ebx, cl
mov r9d, 0x40
sub r9, rbx
cmp r9, rbp
mov qword [rsp + 0x28], rdx
jbe 0x140122746
lea r9, [0x1401f0278]
mov r13, rax
mov r8d, 0x40
mov rcx, rbx
call fcn.14003f3a3
mov r8, rdx
mov rcx, rbp
mov rdx, rax
lea r9, [0x1401f0278]
call fcn.14002ed58
lea rcx, [0x1401f0290]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r13
mov r9, rbp
call fcn.1400e6e7f
add rbp, rbx
mov rbx, rbp
jmp 0x140122842
test cl, cl
je 0x1401227e2
lea rcx, [0x1401f02a8]
mov qword [rsp + 0x20], rcx
lea r13, [rsp + 0x38]
mov rcx, r13
mov rdx, rax
mov r8, rbp
call fcn.140027c73
mov rax, qword [r13]
mov qword [rsp + 0x70], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x68], rax
mov rax, qword [r13 + 0x10]
mov qword [rsp + 0x78], rax
mov rbp, qword [r13 + 0x18]
lea r9, [0x1401f02c0]
mov r8d, 0x40
mov rcx, rbx
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
call fcn.14003f3a3
lea rcx, [0x1401f02d8]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x68]
call fcn.1400e6e7f
lea rcx, [rsp + 0x98]
mov r8d, 1
mov rdx, rbx
call fcn.140122b81
mov rax, qword [rsp + 0x78]
mov r13, rbp
and r13, 0xffffffffffffffc0
mov ebx, ebp
and ebx, 0x3f
add r13, rax
cmp rbp, 0x3f
jbe 0x14012280e
shr rbp, 6
lea rcx, [rsp + 0x98]
mov rdx, rax
mov r8, rbp
call fcn.140122b81
lea r9, [0x1401f02f0]
mov r8d, 0x40
mov rcx, rbx
mov rdx, qword [rsp + 0x28]
call fcn.14002ed58
lea rcx, [0x1401f0308]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r13
mov r9, rbx
call fcn.1400e6e7f
mov byte [rdi + 0xd8], bl
mov rbx, qword [rdi + 0x20]
mov r13, qword [rdi + 0x28]
lea r9, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs
mov rbp, qword [rsp + 0x30]
mov rcx, rbp
mov rdx, r15
mov r8, r14
call fcn.14002ed58
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call qword [r13 + 0x18]
cmp qword [rdi + 0x30], 0
je 0x14012288b
mov qword [rsi + 8], rbp
and qword [rsi], 0
jmp 0x14012267f
cmp byte [rdi + 0xe0], 0
jne 0x140122a14
lea r15, [rsp + 0x88]
and word [r15 + 8], 0
mov byte [rdi + 0xe0], 1
and qword [r15], 0
mov ebp, 0xa
lea rbx, [rsp + 0x40]
lea r14, [rsp + 0x38]
test rbp, rbp
je 0x140122925
mov rcx, r14
mov rdx, r12
mov r8, r15
mov r9, rbp
call fcn.1401222e5
cmp qword [rsp + 0x38], 0
je 0x1401228fd
mov r13, qword [rsp + 0x40]
mov rcx, r13
call fcn.140109384
cmp al, 0x23
jne 0x140122a0b
mov rcx, rbx
call fcn.1401081aa
jmp 0x1401228c0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140122a04
mov rdx, r15
mov r8, rbp
lea r9, str._rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_std_srciomod.rs_rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_std_srcio_readbuf.rs
call fcn.14003f3a3
mov r15, rax
mov rbp, rdx
jmp 0x1401228c0
lea rbx, [rsp + 0xd0]
mov rcx, rbx
call fcn.1401221c8
lea r14, [rsp + 0x98]
mov rcx, r14
call fcn.1401221c8
mov rcx, qword [rsp + 0x80]
mov r15, qword [rsp + 0x28]
mov rdx, r15
mov r8, r14
call fcn.140122a4b
mov eax, dword [rdi + 0x70]
lea rcx, [rsp + 0x38]
mov dword [rcx + 0x18], eax
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rcx + 8], xmm0
mov rax, qword [rdi + 0x58]
mov qword [rcx], rax
mov eax, dword [r14 + 0x10]
mov dword [r15 + 0x10], eax
movups xmm0, xmmword [r14]
movups xmmword [r15], xmm0
mov byte [rdi + 0xd8], 0x14
mov rdx, r15
mov r8, rbx
call fcn.140122a4b
mov eax, dword [rdi + 0x90]
mov dword [rdi + 0x50], eax
movups xmm0, xmmword [rdi + 0x80]
movups xmmword [rdi + 0x40], xmm0
mov rax, qword [rdi + 0x78]
mov qword [rdi + 0x38], rax
mov byte [rdi + 0xd8], 0
mov eax, dword [rbx + 0x10]
lea rcx, [rsp + 0xb0]
mov dword [rcx + 0x10], eax
movups xmm0, xmmword [rbx]
movaps xmmword [rcx], xmm0
lea rdx, [rsp + 0x88]
call fcn.140031f99
test al, al
je 0x1401229fa
lea rdx, str.Invalid_authentication_code__this_could_be_due_to_an_invalid_password_or_errors_in_the_dataC:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_srccp437.rs
mov r8d, 0x5b
mov cl, 0x15
call fcn.140045277
jmp 0x140122665
mov rbp, qword [rsp + 0x30]
jmp 0x14012287e
lea r13, str.failed_to_fill_whole_buffer
mov qword [rsi + 8], r13
jmp 0x140122669
lea rax, str.Tried_to_use_an_already_finalized_HMAC._This_is_a_bug_
lea rcx, [rsp + 0x38]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, str._rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_std_srciomod.rs_rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_std_srcio_readbuf.rs
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs
call fcn.14015cac0
ud2