Function at 0x1400688e0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push rbx
push rbp
sub rsp, 0x58
mov rax, qword [0x1402c57e8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rcx + 0x818]
mov rbp, rcx
mov rbx, qword [rbx]
cmp byte [rbx + 0x1f5c], 0
je 0x140068913
xor eax, eax
jmp 0x140068b68
mov rax, qword [rbx + 0x70]
test byte [rax + 0x7e], 8
jne 0x140068942
mov r9, qword [rbx + 0x78]
cmp r9, 0xc
jge 0x140068942
lea r8, str.Truncated_Zip_encrypted_body:_only__jd_bytes_available
mov edx, 0x2a
call fcn.140074730
mov eax, 0xffffffe2
jmp 0x140068b68
xor r8d, r8d
mov qword [rsp + 0x50], r15
lea edx, [r8 + 0xc]
call fcn.140071030
mov r15, rax
mov rcx, rbp
test rax, rax
jne 0x140068976
lea r8, str.Truncated_ZIP_file_data
lea edx, [rax + 0x2a]
call fcn.140074730
lea eax, [r15 - 0x1e]
jmp 0x140068b63
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], r14
xor r14d, r14d
call fcn.1400807c0
mov rsi, rax
test rax, rax
je 0x140068b27
lea rax, [rsp + 0x30]
sub r15, rax
nop word [rax + rax]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rsi + rdi], 0
jne 0x1400689b7
mov dword [rbx + 0x1f50], 0x12345678
mov ecx, 0x34567890
mov dword [rbx + 0x1f54], 0x23456789
mov dword [rbx + 0x1f58], 0x34567890
test rdi, rdi
je 0x140068a61
nop dword [rax + rax]
mov ecx, dword [rbx + 0x1f50]
lea rdx, [rsp + 0x20]
movzx eax, byte [rsi]
not ecx
mov r8d, 1
mov byte [rsp + 0x20], al
call fcn.140062c10
not eax
lea rdx, [rsp + 0x28]
mov dword [rbx + 0x1f50], eax
mov r8d, 1
movzx eax, al
add eax, dword [rbx + 0x1f54]
imul ecx, eax, 0x8088405
inc ecx
mov dword [rbx + 0x1f54], ecx
shr ecx, 0x18
mov byte [rsp + 0x28], cl
mov ecx, dword [rbx + 0x1f58]
not ecx
call fcn.140062c10
lea rsi, [rsi + 1]
mov ecx, eax
not ecx
mov dword [rbx + 0x1f58], ecx
sub rdi, 1
jne 0x1400689f0
lea rdi, [rsp + 0x30]
mov esi, recv
nop dword [rax + rax]
or ecx, 2
lea rdx, [rsp + 0x20]
mov eax, ecx
mov r8d, 1
xor eax, 1
imul eax, ecx
mov ecx, dword [rbx + 0x1f50]
not ecx
shr eax, 8
xor al, byte [r15 + rdi]
mov byte [rdi], al
mov byte [rsp + 0x20], al
call fcn.140062c10
not eax
lea rdx, [rsp + 0x29]
mov dword [rbx + 0x1f50], eax
mov r8d, 1
movzx eax, al
add eax, dword [rbx + 0x1f54]
imul ecx, eax, 0x8088405
inc ecx
mov dword [rbx + 0x1f54], ecx
shr ecx, 0x18
mov byte [rsp + 0x29], cl
mov ecx, dword [rbx + 0x1f58]
not ecx
call fcn.140062c10
lea rdi, [rdi + 1]
mov ecx, eax
not ecx
mov dword [rbx + 0x1f58], ecx
sub rsi, 1
jne 0x140068a70
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rax + 0x83]
cmp byte [rsp + 0x3b], cl
mov rcx, rbp
je 0x140068b85
cmp r14d, 0x2710
jg 0x140068b7c
inc r14d
call fcn.1400807c0
mov rsi, rax
test rax, rax
jne 0x1400689b0
test r14d, r14d
lea rax, str.Incorrect_passphrase
lea r8, str.Passphrase_required_for_this_entry
mov rcx, rbp
cmovg r8, rax
mov edx, 0xffffffff
call fcn.140074730
mov eax, 0xffffffe7
mov r14, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401d56b0
add rsp, 0x58
pop rbp
pop rbx
ret
lea r8, str.Too_many_incorrect_passphrases
jmp 0x140068b3f
mov edx, recv
call fcn.140071040
mov rax, qword [rbx + 0x70]
mov byte [rbx + 0x1f5c], 1
test byte [rax + 0x7e], 8
jne 0x140068ba5
add qword [rbx + 0x78], 0xfffffffffffffff4
add qword [rbx + 0x80], 0xc
mov rcx, rbp
mov qword [rbx + 0x1f40], 0
call fcn.14006a770
jmp 0x140068b4e