Function at 0x140003f1a
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, 0x158
mov r14, rdx
mov rbx, rcx
cmp byte [rdx + 0xc1], 0
je 0x140004135
mov rax, qword [r14 + 0x80]
sub rax, 1
jb 0x140004583
imul r13, rax, 0xb0
add r13, qword [r14 + 0x78]
mov rax, qword [r13 + 0x38]
mov r12, qword [r13 + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r12
cmp r12, 0xffff
jbe 0x140003f90
lea rdx, [0x14031721c]
mov r8d, 0x1e
mov cl, 0x15
call fcn.14004e175
jmp 0x140004102
lea rsi, [rsp + 0x80]
lea rdi, [rsp + 0x30]
lea rbp, [0x1403170aa]
test r12, r12
je 0x14000411e
cmp r12, 4
jb 0x140004431
mov rcx, rsi
mov rdx, rdi
call fcn.14017381c
test byte [rsp + 0x80], 1
jne 0x140004114
movzx r15d, word [rsp + 0x82]
mov word [rsp + 0x2e], r15w
mov rcx, rsi
mov rdx, rdi
call fcn.14017381c
test byte [rsp + 0x80], 1
jne 0x140004114
cmp r15w, 1
je 0x140004443
cmp r15w, 0x20
jb 0x14000405f
movzx ecx, word [rsp + 0x82]
add r12, 0xfffffffffffffffc
xor eax, eax
cmp rax, 0x62
je 0x14000402e
lea rdx, [rax + 2]
cmp word [rax + rbp], r15w
mov rax, rdx
jne 0x140004018
jmp 0x14000405f
cmp r12, rcx
jb 0x140004540
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea r9, str._fq1_
call fcn.14012b8cf
mov r12, rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdx
jmp 0x140003fa4
lea rax, [rsp + 0x2e]
lea rcx, [rsp + 0x130]
mov qword [rcx], rax
lea rax, [fcn.140042cd0]
mov qword [rcx + 8], rax
mov eax, 2
mov qword [rsp + 0x80], rax
and qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 6
and qword [rsp + 0xa0], 0
movabs rdx, 0xc00000020
mov qword [rsp + 0xa8], rdx
mov byte [rsp + 0xb0], 3
lea r8, [0x1403171e0]
lea rdx, [rsp + 0xf0]
mov qword [rdx], r8
mov qword [rdx + 8], rax
mov qword [rdx + 0x20], rsi
mov eax, 1
mov qword [rdx + 0x28], rax
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rsi, [rsp + 0x140]
mov rcx, rsi
call fcn.14003c460
mov rcx, rsi
call fcn.14017387d
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rdx
jmp 0x1400043db
mov rax, qword [rsp + 0x88]
jmp 0x140004102
cmp byte [r14 + 0xc2], 0
je 0x14000447f
and word [r14 + 0xc1], 0
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call fcn.140002fad
mov rax, qword [rsi]
cmp rax, 4
jne 0x140004204
lea rax, [rsp + 0x80]
mov ecx, 0xe
mov rdi, rax
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
and qword [r14], 0
cmp dword [rax], 1
jne 0x14000458f
lea rsi, [r14 + 8]
xor eax, eax
cmp rax, qword [rsp + 0x88]
jno 0x140004218
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x110], xmm2
movaps xmmword [rsp + 0x100], xmm1
movaps xmmword [rsp + 0xf0], xmm0
mov rcx, r14
call fcn.140004fe1
mov qword [r14], 1
mov rax, qword [rsp + 0x120]
mov qword [rsi + 0x30], rax
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmm1, xmmword [rsp + 0x100]
movaps xmm2, xmmword [rsp + 0x110]
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x140004344
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rbx + 8], xmm0
mov qword [rbx], rax
jmp 0x1400043db
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov r8, qword [rsp + 0x50]
cmp r8, 0xb
jbe 0x1400045a7
movabs r15, 0x8000000000000000
mov eax, dword [r14 + 0xa4]
shr eax, 0x18
mov rdx, qword [rsp + 0x48]
mov byte [rdx + 0xb], al
mov ecx, dword [rsp + 0x70]
mov ebp, dword [rsp + 0x68]
mov eax, dword [rsp + 0x6c]
xor r9d, r9d
lea r10, [0x14031723c]
mov r11d, 0xff
cmp r8, r9
je 0x1400042ea
mov sil, byte [rdx + r9]
mov r13d, ecx
or r13d, 3
mov edi, r13d
and edi, 0xfffffffe
mov r12d, ebp
shr r12d, 8
xor bpl, sil
movzx ebp, bpl
xor r12d, dword [r10 + rbp*4]
imul edi, r13d
mov ebp, r12d
and r12d, r11d
add r12d, eax
imul eax, r12d, 0x8088405
inc eax
mov r12d, eax
shr r12d, 0x18
mov r13d, ecx
and ecx, r11d
xor ecx, r12d
shr edi, 8
shr r13d, 8
xor r13d, dword [r10 + rcx*4]
xor dil, sil
mov byte [rdx + r9], dil
inc r9
mov ecx, r13d
jmp 0x140004282
lea rdi, [rsp + 0x58]
mov dword [rdi + 0x18], ecx
mov dword [rdi + 0x10], ebp
mov dword [rdi + 0x14], eax
mov rcx, rdi
call fcn.140002635
mov rsi, rax
mov r12, qword [rdi]
mov r13, qword [rdi + 8]
mov rcx, qword [rdi - 0x18]
mov rdx, qword [rdi - 0x10]
call fcn.140173443
test rsi, rsi
je 0x140004329
and qword [rbx], 0
mov qword [rbx + 8], rsi
jmp 0x1400043db
mov rcx, r14
call fcn.140004fe1
mov qword [r14], 1
mov qword [r14 + 8], r15
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r13
mov rcx, r14
call fcn.140002f5c
cmp byte [r14 + 0xc3], 0
je 0x140004368
xor eax, eax
mov byte [r14 + 0xc0], al
mov byte [r14 + 0xc3], al
jmp 0x140004378
mov rsi, rax
mov rax, qword [r14 + 0x80]
sub rax, 1
jae 0x140004381
mov qword [rbx], 4
jmp 0x1400043db
imul r15, rax, 0xb0
add r15, qword [r14 + 0x78]
mov edx, dword [r14 + 0xa4]
mov dword [r15 + 0x9c], edx
mov rax, qword [r14 + 0xb8]
mov qword [r15 + 0x78], rax
mov rdi, qword [rsi + 8]
mov rax, rdi
sub rax, qword [r14 + 0xb0]
mov qword [r15 + 0x70], rax
mov rax, qword [r15 + 0x80]
add rax, 0xe
mov qword [rsi + 8], rax
mov rcx, rsi
call fcn.14000ba95
test rax, rax
je 0x1400043ef
and qword [rbx], 0
mov qword [rbx + 8], rax
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r15 + 0xa8], 0
je 0x140004455
mov rax, qword [r15 + 0x10]
mov rcx, qword [r15 + 0x80]
add rax, rcx
add rax, 0x22
mov qword [rsi + 8], rax
mov rdx, qword [r15 + 0x78]
mov rcx, rsi
call fcn.14000bae6
test rax, rax
jne 0x1400043d3
mov rdx, qword [r15 + 0x70]
mov rcx, rsi
call fcn.14000bae6
jmp 0x140004571
lea rdx, str.Incomplete_extra_data_headerExtra_data_exceeds_extra_field
mov r8d, 0x1c
jmp 0x14000454d
lea rdx, str.No_custom_ZIP64_extra_data_allowed
mov r8d, 0x22
jmp 0x14000454d
mov rdx, qword [r15 + 0x70]
mov rax, rdx
shr rax, 0x20
je 0x140004554
lea rdx, str.Large_file_option_has_not_been_setShould_have_switched_to_stored_and_unencrypted_beforehand
mov r8d, 0x22
mov cl, 0x28
call fcn.14007b092
jmp 0x1400043d3
mov rcx, r14
call fcn.140002f5c
mov rsi, rax
mov rdx, qword [r13 + 0x38]
mov r8, qword [r13 + 0x40]
mov rcx, rax
call fcn.140002635
test rax, rax
jne 0x140004102
mov rdi, qword [r13 + 0x40]
add rdi, qword [r13 + 0x90]
mov qword [r14 + 0xb0], rdi
mov qword [r13 + 0x90], rdi
xor eax, eax
cmp byte [r13 + 0xa8], 0
mov edx, 0x14
cmove edx, eax
mov rax, qword [r13 + 0x80]
add rax, 0x1c
add dx, word [r13 + 0x40]
mov qword [rsi + 8], rax
mov rcx, rsi
call fcn.14000ba62
test rax, rax
jne 0x140004102
mov qword [rsi + 8], rdi
movzx r8d, word [r13 + 0x98]
mov r9d, dword [r13 + 0x60]
mov eax, dword [r13 + 0x64]
mov dword [rsp + 0x20], eax
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov rdx, r14
call fcn.140002fad
mov rcx, qword [rsi]
cmp rcx, 4
je 0x14000412c
mov rax, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
jmp 0x140004104
lea rdx, str.Extra_data_size_exceeds_extra_fieldExtra_data_header_ID__requires_crate_feature__unreserved_
mov r8d, 0x23
mov cl, 0x28
jmp 0x140003f86
mov rcx, rsi
call fcn.14000ba95
test rax, rax
jne 0x1400043d3
mov edx, dword [r15 + 0x78]
mov rcx, rsi
call fcn.14000ba95
test rax, rax
jne 0x1400043d3
mov qword [rsi + 8], rdi
jmp 0x140004356
lea rcx, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_srcwrite.rs
call fcn.140042de0
lea rcx, str.internal_error:_entered_unreachable_code_rustc_90b35a6239c3d8bdabc530a6a0816f7ff89a0aaflibrary_std_src_threadmod.rs
lea r8, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_srcwrite.rs
mov edx, 0x28
call fcn.14003fe40
lea rax, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_srczipcrypto.rs
mov ecx, 0xb
mov rdx, r8
mov r8, rax
call fcn.14003efaf
int3