Function at 0x140285fa5
Capabilities:
Encode data using xor
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, 0xd8
mov r12, rdx
mov r14, rcx
cmp byte [rdx + 0xc1], 0
je 0x1402860aa
mov rax, qword [r12 + 0xa0]
lea rcx, [rax - 1]
imul rcx, rcx, 0xb0
add rcx, qword [r12 + 0x98]
xor esi, esi
cmp rax, 1
cmovae rsi, rcx
jb 0x1402865a8
mov rax, qword [rsi + 0x70]
cmp rax, 0xffff
jbe 0x140286021
lea rcx, str.Extra_data_exceeds_extra_fieldIncomplete_extra_data_header
mov edx, 0x1e
call fcn.14007b984
lea r8, fcn.140030c20
mov cl, 0x15
jmp 0x140286297
test rax, rax
je 0x140286090
mov rcx, qword [rsi + 0x68]
lea rdx, [0x1404ee19a]
cmp rax, 3
jbe 0x140286450
movzx ebx, word [rcx]
mov word [rsp + 0x36], bx
cmp bx, 1
je 0x140286461
cmp bx, 0x20
jb 0x140286218
add rax, 0xfffffffffffffffc
movzx r8d, word [rcx + 2]
add rcx, 4
xor ebp, ebp
cmp rbp, 0x62
je 0x14028607f
lea rdi, [rbp + 2]
cmp word [rbp + rdx], bx
mov rbp, rdi
jne 0x140286066
jmp 0x140286218
cmp rax, r8
jb 0x140286572
add rcx, r8
sub rax, r8
jne 0x140286031
cmp byte [r12 + 0xc2], 0
je 0x140286394
mov word [r12 + 0xc1], 0
lea r15, [r12 + 0x20]
lea rsi, [rsp + 0x70]
mov rcx, rsi
mov rdx, r15
xor r8d, r8d
xor r9d, r9d
call fcn.140283be0
mov rax, qword [rsi]
cmp rax, 4
jne 0x1402864bf
mov rdx, qword [r12 + 0x20]
movups xmm0, xmmword [r12 + 0x28]
movaps xmmword [rsp + 0xc0], xmm0
mov r13, qword [r12 + 0x38]
lea rax, [r12 + 0x40]
lea rdi, [rsp + 0x70]
mov ecx, 0xa
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
mov qword [r12 + 0x20], 0
cmp rdx, 1
jne 0x1402865bd
lea rsi, [r12 + 0x28]
test r13, r13
je 0x1402862b1
mov qword [rsp + 0x38], r14
mov ecx, dword [r12 + 0xc]
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x58]
cmp r8, 0xb
jbe 0x14028658f
shr ecx, 0x18
mov byte [r13 + 0xb], cl
mov edi, dword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x64]
xor ecx, ecx
lea r9, [0x1404ee358]
mov r10d, 0xff
mov r11b, byte [r13 + rcx]
mov esi, edi
or esi, 3
mov ebp, esi
and ebp, 0xfffffffe
imul ebp, esi
mov esi, edx
shr esi, 8
xor dl, r11b
movzx ebx, dl
mov edx, esi
xor edx, dword [r9 + rbx*4]
mov esi, edx
and esi, r10d
add esi, eax
imul eax, esi, 0x8088405
inc eax
mov esi, eax
shr esi, 0x18
mov ebx, edi
and edi, r10d
mov r14d, edi
xor r14d, esi
shr ebp, 8
shr ebx, 8
mov edi, ebx
xor edi, dword [r9 + r14*4]
xor bpl, r11b
mov byte [r13 + rcx], bpl
inc rcx
cmp r8, rcx
jne 0x140286179
lea rcx, [rsp + 0x40]
mov dword [rcx + 0x28], edi
mov dword [rcx + 0x20], edx
mov dword [rcx + 0x24], eax
mov rdx, r13
call fcn.14028193c
test rax, rax
je 0x1402862f0
mov rsi, rax
lea rcx, [rsp + 0x40]
call fcn.140283a1d
mov rax, qword [rsp + 0x38]
mov qword [rax + 8], rsi
mov qword [rax], 0
jmp 0x1402864cc
lea rax, [rsp + 0x36]
lea rcx, [rsp + 0xc0]
mov qword [rcx], rax
lea rax, [fcn.140066330]
mov qword [rcx + 8], rax
lea rax, [0x1404ee258]
lea rsi, [rsp + 0x70]
mov qword [rsi], rax
mov eax, 1
mov qword [rsi + 8], rax
lea rdx, str.Extra_data_header_ID__requires_crate_feature__unreserved_
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], 2
mov qword [rsi + 0x20], rcx
mov qword [rsi + 0x28], rax
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.140053dd0
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdi]
movaps xmmword [rsi], xmm0
lea rcx, [rsp + 0x70]
call fcn.1400b6a49
lea r8, fcn.140030c20
mov cl, 0x27
mov rdx, rax
call fcn.140248840
xor ecx, ecx
mov qword [r14], rcx
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rdx
jmp 0x1402864cc
mov rcx, r15
call fcn.14028551c
mov qword [r12 + 0x20], 1
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsi], xmm0
mov qword [r12 + 0x38], 0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [r12 + 0x40], xmm0
mov rax, qword [rsp + 0x80]
mov qword [r12 + 0x50], rax
jmp 0x140286333
mov rsi, qword [rsp + 0x40]
cmp qword [rsp + 0x48], 0
mov r14, qword [rsp + 0x38]
je 0x140286314
mov rcx, qword [0x14051f200]
xor edx, edx
mov r8, r13
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov rcx, r15
call fcn.14028551c
mov qword [r12 + 0x20], 1
mov qword [r12 + 0x28], rsi
mov qword [r12 + 0x38], 0
mov rcx, r15
call fcn.140283b87
cmp byte [r12 + 0xc3], 0
je 0x14028635a
xor eax, eax
mov byte [r12 + 0xc0], al
mov byte [r12 + 0xc3], al
jmp 0x140286388
mov rsi, rax
mov rax, qword [r12 + 0xa0]
lea rcx, [rax - 1]
imul rcx, rcx, 0xb0
add rcx, qword [r12 + 0x98]
xor edi, edi
cmp rax, 1
cmovae rdi, rcx
jae 0x14028640b
mov qword [r14], 4
jmp 0x1402864cc
lea r13, [r12 + 0x20]
mov rcx, r13
call fcn.140283b87
mov rdi, rax
mov rdx, qword [rsi + 0x68]
mov r8, qword [rsi + 0x70]
mov rcx, rax
call fcn.14028193c
test rax, rax
jne 0x14028629f
mov rbx, qword [rsi + 0x70]
add rbx, qword [rsi + 0x28]
mov qword [r12 + 0x10], rbx
mov qword [rsi + 0x28], rbx
mov al, byte [rsi + 0xaa]
mov byte [rsp + 0x38], al
mov rbp, qword [rsi + 0x70]
mov r9, qword [rsi + 0x18]
add r9, 0x1c
mov rdx, qword [rdi]
lea r15, [rsp + 0x70]
mov rcx, r15
xor r8d, r8d
call fcn.140246130
cmp qword [r15], 0
je 0x1402864e0
mov rax, qword [rsp + 0x78]
jmp 0x14028629f
mov eax, dword [r12 + 0xc]
mov dword [rdi + 0x98], eax
mov rax, qword [r12 + 0x18]
mov qword [rdi + 0x10], rax
mov rdx, qword [rsi]
lea rbx, [rsp + 0x70]
mov r8d, 2
mov rcx, rbx
xor r9d, r9d
call fcn.140246130
cmp qword [rbx], 0
je 0x140286472
mov rax, qword [rsp + 0x78]
mov qword [r14 + 8], rax
mov qword [r14], 0
jmp 0x1402864cc
lea rcx, [0x1404ee17e]
mov edx, 0x1c
jmp 0x14028657e
lea rcx, [0x1404ee2b3]
mov edx, 0x22
jmp 0x14028657e
lea rbx, [rsp + 0x70]
mov r15, qword [rbx + 8]
mov rax, r15
sub rax, qword [r12 + 0x10]
mov qword [rdi + 8], rax
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.140283850
mov rax, qword [rbx]
cmp rax, 4
jne 0x1402864bf
mov rdx, qword [rsi]
lea rsi, [rsp + 0x70]
mov rcx, rsi
xor r8d, r8d
mov r9, r15
call fcn.140246130
cmp qword [rsi], 0
jne 0x14028643e
jmp 0x140286346
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [r14 + 8], xmm0
mov qword [r14], rax
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbp + 0x14]
cmp byte [rsp + 0x38], 0
cmove eax, ebp
lea rdx, [rsp + 0x70]
mov word [rdx], ax
mov r8d, 2
mov rcx, rdi
call fcn.14028193c
test rax, rax
jne 0x14028629f
mov rdx, qword [rdi]
lea rdi, [rsp + 0x70]
mov rcx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140246130
cmp qword [rdi], 0
jne 0x140286401
movzx r8d, word [rsi + 0xa0]
mov r9d, dword [rsi + 0x90]
mov eax, dword [rsi + 0x94]
mov dword [rsp + 0x20], eax
lea rdi, [rsp + 0x70]
mov rcx, rdi
mov rdx, r13
call fcn.140283be0
mov rcx, qword [rdi]
cmp rcx, 4
je 0x14028609f
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
jmp 0x1402862a1
lea rcx, str.Extra_data_size_exceeds_extra_fieldNo_custom_ZIP64_extra_data_allowedC:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823generic_array_0.14.7_srclib.rs
mov edx, 0x23
call fcn.14007b984
lea r8, fcn.140030c20
jmp 0x140286295
lea rax, str.C:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823zip_0.6.6_srczipcrypto.rs
mov ecx, 0xb
mov rdx, r8
mov r8, rax
call fcn.1403af8b0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823zip_0.6.6_srcwrite.rs
mov edx, 0x2b
jmp 0x1402865d0
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.C:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823zip_0.6.6_srcwrite.rs
mov edx, 0x28
call fcn.1403af950
ud2