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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x128
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov rdi, rdx
mov rbx, rcx
cmp byte [rdx + 0xb9], 0
je 0x14000551e
mov rax, qword [rdi + 0x78]
sub rax, 1
jb 0x140005a46
imul r14, rax, 0xb0
add r14, qword [rdi + 0x70]
mov rax, qword [r14 + 0x38]
mov r15, qword [r14 + 0x40]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], r15
cmp r15, 0xffff
jbe 0x1400053b3
lea rdx, [0x1402cdc4c]
push 0x1e
pop r8
mov cl, 0x15
call fcn.1400624a9
jmp 0x1400054ea
mov qword [rbp + 0x90], rdi
lea rsi, [rbp - 0x28]
lea rdi, [rbp + 0x40]
lea r12, [0x1402cdad6]
test r15, r15
je 0x140005502
cmp r15, 4
jb 0x140005804
mov rcx, rsi
mov rdx, rdi
call fcn.14013f4f0
cmp word [rbp - 0x28], 0
jne 0x1400054fc
movzx r13d, word [rbp - 0x26]
mov word [rbp + 0x8e], r13w
mov rcx, rsi
mov rdx, rdi
call fcn.14013f4f0
cmp word [rbp - 0x28], 0
jne 0x1400054fc
cmp r13w, 1
je 0x14000580f
cmp r13w, 0x20
jb 0x14000546d
movzx ecx, word [rbp - 0x26]
add r15, 0xfffffffffffffffc
xor eax, eax
cmp rax, 0x62
je 0x140005447
lea rdx, [rax + 2]
cmp word [rax + r12], r13w
mov rax, rdx
jne 0x140005431
jmp 0x14000546d
cmp r15, rcx
jb 0x140005879
mov rdx, qword [rbp + 0x48]
mov r15, rdx
sub r15, rcx
jb 0x140005a52
add qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], r15
jmp 0x1400053c9
lea rax, [rbp + 0x8e]
lea rcx, [rbp - 0x40]
mov qword [rcx], rax
lea rax, [fcn.140059d30]
mov qword [rcx + 8], rax
push 2
pop rax
mov qword [rbp - 0x28], rax
and qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 6
and qword [rbp - 8], 0
movabs rdx, 0xc00000020
mov qword [rbp], rdx
mov byte [rbp + 8], 3
lea r8, [0x1402cdc10]
lea rdx, [rbp + 0x50]
mov qword [rdx], r8
mov qword [rdx + 8], rax
mov qword [rdx + 0x20], rsi
push 1
pop rax
mov qword [rdx + 0x28], rax
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rsi, [rbp - 0x58]
mov rcx, rsi
call fcn.1400530b0
mov rcx, rsi
call fcn.14013f784
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rdx
jmp 0x140005865
mov rax, qword [rbp - 0x20]
jmp 0x1400054ea
mov rdi, qword [rbp + 0x90]
cmp byte [rdi + 0xba], 0
je 0x14000588b
and word [rdi + 0xb9], 0
lea rsi, [rbp - 0x28]
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call fcn.140003ff2
mov rax, qword [rsi]
cmp rax, 4
jne 0x1400055ec
push 0xd
pop rcx
lea rax, [rbp - 0x28]
mov qword [rbp + 0x90], rdi
mov rdi, rax
mov rsi, qword [rbp + 0x90]
rep movsq qword [rdi], qword [rsi]
mov rcx, qword [rbp + 0x90]
and qword [rcx], 0
mov rdx, qword [rax]
movabs rax, 0x8000000000000000
cmp rdx, 1
mov qword [rbp - 0x30], rdx
jne 0x140005a5e
lea rsi, [rbp - 0x20]
cmp qword [rsi], rax
jne 0x1400055fc
lea rax, [rcx + 8]
mov qword [rbp + 0x80], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rbp + 0x70], xmm2
movaps xmmword [rbp + 0x60], xmm1
movaps xmmword [rbp + 0x50], xmm0
call fcn.140009749
mov rdi, qword [rbp + 0x90]
mov qword [rdi], 1
movaps xmm0, xmmword [rbp + 0x50]
movaps xmm1, xmmword [rbp + 0x60]
movaps xmm2, xmmword [rbp + 0x70]
mov rax, qword [rbp + 0x80]
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
cmp dword [rbp - 0x28], 1
je 0x14000577c
jmp 0x140005773
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbx + 8], xmm0
mov qword [rbx], rax
jmp 0x140005865
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rbp + 0x70], xmm2
movaps xmmword [rbp + 0x60], xmm1
movaps xmmword [rbp + 0x50], xmm0
mov r8, qword [rbp + 0x60]
cmp r8, 0xb
jbe 0x140005a7d
mov eax, dword [rcx + 0x9c]
mov rdi, qword [rbp + 0x58]
shr eax, 0x18
mov byte [rdi + 0xb], al
mov edx, dword [rbp + 0x78]
mov r14d, dword [rbp + 0x70]
mov eax, dword [rbp + 0x74]
xor ecx, ecx
lea r9, [0x1402cdc6c]
mov r10d, 0xff
cmp r8, rcx
je 0x1400056b3
mov r11b, byte [rdi + rcx]
mov r15d, r14d
shr r15d, 8
xor r14b, r11b
movzx r14d, r14b
xor r15d, dword [r9 + r14*4]
mov r14d, r15d
and r15d, r10d
add r15d, eax
imul eax, r15d, 0x8088405
inc eax
mov r15d, eax
shr r15d, 0x18
mov r12d, edx
shr r12d, 8
mov r13d, edx
and r13d, r10d
xor r13d, r15d
xor r12d, dword [r9 + r13*4]
or edx, 3
mov r15d, edx
and r15d, 0xfffffffe
imul r15d, edx
shr r15d, 8
xor r15b, r11b
mov byte [rdi + rcx], r15b
inc rcx
mov edx, r12d
jmp 0x14000564a
mov dword [rbp + 0x78], edx
mov dword [rbp + 0x70], r14d
mov dword [rbp + 0x74], eax
mov r15, qword [rbp + 0x68]
mov rcx, r15
mov rdx, rdi
call fcn.14013f2ee
mov r14, rax
test rax, rax
je 0x140005717
mov byte [rbp + 0x9f], 1
lea rcx, [rbp + 0x50]
call fcn.140009828
and qword [rbx], 0
mov qword [rbx + 8], r14
cmp dword [rbp - 0x28], 1
jne 0x1400057b6
movabs rax, 0x8000000000000000
cmp qword [rbp - 0x20], rax
jne 0x140005865
mov rcx, rsi
call fcn.140009682
jmp 0x140005865
mov qword [rbp + 0x80], r15
mov rcx, qword [rbp + 0x50]
mov rdx, rdi
call fcn.140062554
mov rcx, qword [rbp + 0x90]
call fcn.140009749
mov rdi, qword [rbp + 0x90]
mov qword [rdi], 1
movabs rax, 0x8000000000000000
mov qword [rdi + 8], rax
mov rcx, qword [rbp + 0x80]
mov qword [rdi + 0x10], rcx
cmp dword [rbp - 0x28], 1
jne 0x140005773
cmp qword [rbp - 0x20], rax
jne 0x14000577c
mov rcx, rsi
call fcn.140009682
jmp 0x14000577c
lea rcx, [rbp - 0x28]
call fcn.140009749
mov rcx, rdi
call fcn.140003f9a
cmp byte [rdi + 0xbb], 0
je 0x14000579d
xor eax, eax
mov byte [rdi + 0xb8], al
mov byte [rdi + 0xbb], al
jmp 0x1400057aa
mov rsi, rax
mov rax, qword [rdi + 0x78]
sub rax, 1
jae 0x1400057c4
mov qword [rbx], 4
jmp 0x140005865
lea rcx, [rbp - 0x28]
call fcn.140009749
jmp 0x140005865
imul r14, rax, 0xb0
add r14, qword [rdi + 0x70]
mov eax, dword [rdi + 0x9c]
mov dword [r14 + 0x9c], eax
mov rax, qword [rdi + 0xb0]
mov qword [r14 + 0x78], rax
mov rcx, qword [rsi]
call fcn.14000311f
mov rcx, rdi
mov rdi, rdx
test rax, rax
je 0x14000581a
and qword [rbx], 0
mov qword [rbx + 8], rdi
jmp 0x140005865
lea rdx, str.Incomplete_extra_data_headerExtra_data_exceeds_extra_field
push 0x1c
jmp 0x140005882
lea rdx, [0x1402cdab3]
push 0x22
jmp 0x140005882
mov rax, rdi
sub rax, qword [rcx + 0xa8]
mov qword [r14 + 0x70], rax
mov r8, qword [r14 + 0x80]
add r8, 0xe
mov rcx, qword [rsi]
xor edx, edx
call fcn.14010c170
test rax, rax
jne 0x14000585d
mov edx, dword [r14 + 0x9c]
mov rcx, qword [rsi]
call fcn.1400113d0
mov rdx, rax
test rax, rax
je 0x1400058fb
and qword [rbx], 0
mov qword [rbx + 8], rdx
add rsp, 0x128
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rdx, str.Extra_data_size_exceeds_extra_fieldExtra_data_header_ID__requires_crate_feature__unreserved_
push 0x23
pop r8
mov cl, 0x27
jmp 0x1400053a9
mov rcx, rdi
call fcn.140003f9a
mov rsi, rax
mov rdx, qword [r14 + 0x38]
mov r8, qword [r14 + 0x40]
mov rcx, qword [rax]
call fcn.14013f2ee
test rax, rax
jne 0x1400054ea
mov rax, rdi
mov rdi, qword [r14 + 0x40]
add rdi, qword [r14 + 0x90]
mov qword [rax + 0xa8], rdi
mov qword [r14 + 0x90], rdi
mov r12b, byte [r14 + 0xa8]
mov r15, qword [r14 + 0x40]
mov r8, qword [r14 + 0x80]
add r8, 0x1c
mov rcx, qword [rsi]
xor edx, edx
call fcn.14010c170
mov rcx, rax
test rax, rax
je 0x140005958
mov rax, rdx
jmp 0x1400054ea
cmp byte [r14 + 0xa8], 0
je 0x1400059d1
mov rax, qword [r14 + 0x10]
mov rcx, qword [r14 + 0x80]
lea r8, [rcx + rax]
add r8, 0x22
mov rcx, qword [rsi]
xor edx, edx
call fcn.14010c170
test rax, rax
jne 0x14000585d
mov rdx, qword [r14 + 0x78]
mov rcx, qword [rsi]
call fcn.14001143a
mov rdx, rax
test rax, rax
jne 0x14000585d
mov rdx, qword [r14 + 0x70]
mov rcx, qword [rsi]
call fcn.14001143a
jmp 0x140005a18
lea edx, [r15 + 0x14]
test r12b, r12b
cmove edx, r15d
mov rcx, qword [rsi]
call fcn.14001136a
test rax, rax
jne 0x1400054ea
mov rcx, qword [rsi]
xor edx, edx
mov r8, rdi
call fcn.14010c170
mov rcx, rax
test rax, rax
jne 0x1400058f3
movzx r8d, word [r14 + 0x98]
mov r9d, dword [r14 + 0x60]
mov eax, dword [r14 + 0x64]
mov dword [rsp + 0x20], eax
lea rsi, [rbp - 0x28]
mov rcx, rsi
mov rdi, qword [rbp + 0x90]
mov rdx, rdi
call fcn.140003ff2
mov rcx, qword [rsi]
cmp rcx, 4
je 0x140005516
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
jmp 0x1400054ec
mov rdx, qword [r14 + 0x70]
mov rax, rdx
shr rax, 0x20
je 0x1400059f8
lea rdx, str.Large_file_option_has_not_been_setShould_have_switched_to_stored_and_unencrypted_beforehand
push 0x22
pop r8
mov cl, 0x27
call fcn.14013ee96
mov rdx, rax
jmp 0x14000585d
mov rcx, qword [rsi]
call fcn.1400113d0
mov rdx, rax
test rax, rax
jne 0x14000585d
mov edx, dword [r14 + 0x78]
mov rcx, qword [rsi]
call fcn.1400113d0
mov rdx, rax
test rax, rax
jne 0x14000585d
mov rcx, qword [rsi]
xor edx, edx
mov r8, rdi
call fcn.14010c170
test rax, rax
mov rdi, qword [rbp + 0x90]
jne 0x14000585d
jmp 0x14000578d
lea rcx, str.C:UsersJOHN_PC.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_srcwrite.rs
call fcn.140257110
lea r8, str.C:UsersJOHN_PC.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_srcwrite.rs
call fcn.140256be0
mov byte [rbp + 0x9f], 1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23library_std_src_threadmod.rs
lea r8, str.C:UsersJOHN_PC.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_srcwrite.rs
push 0x28
pop rdx
call fcn.140256d30
jmp 0x140005a92
lea rax, str.C:UsersJOHN_PC.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_srczipcrypto.rsX
push 0xb
pop rcx
mov rdx, r8
mov r8, rax
call fcn.140256c50
ud2