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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rbx, rcx
xor r12d, r12d
mov dword [rbp + 0x50], r12d
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x18], xmm0
mov esi, 0xffffffff
cmp word [rcx + 0x10e], 0x3f
ja 0x14001e9b1
cmp qword [rcx + 0x48], r12
jne 0x14001e9b1
cmp qword [rcx + 0x38], r12
jne 0x14001e9b1
cmp byte [rcx + 0xaa], r12b
jne 0x14001e37b
call fcn.14001eb20
movups xmm1, xmmword [rbx + 0x190]
movups xmmword [rbp - 0x38], xmm1
movsd xmm0, qword [rbx + 0x1a0]
movsd qword [rbp - 0x28], xmm0
movq rdx, xmm1
add rdx, qword [rbx + 0x198]
mov rcx, qword [rbx + 0x10]
xor r8d, r8d
mov rcx, qword [rcx + 0x50]
call fcn.14001be30
cmp byte [rbx + 0xaa], 0
jne 0x14001e3c0
mov rcx, rbx
call fcn.14001eb20
movups xmm0, xmmword [rbx + 0x190]
movups xmmword [rbp - 0x50], xmm0
movsd xmm1, qword [rbx + 0x1a0]
movsd qword [rbp - 0x40], xmm1
movzx r14d, byte [rbx + 0x110]
and r14b, 1
movzx eax, word [rbx + 0x112]
mov word [rbp + 0x48], ax
je 0x14001e3ff
cmp qword [rbx + 0x1d0], 0
je 0x14001e9b5
mov eax, dword [rbx + 0x11c]
mov qword [rbp + 0x50], rax
mov rdx, qword [rbx + 0x10]
lea r9, [rbp + 0x50]
lea r8, [rbp - 0x50]
mov rdx, qword [rdx + 0x50]
lea rcx, [rbp - 0x38]
call fcn.140021c80
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rcx + 8]
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rbx + 0x48], rax
mov rdi, qword [rbx + 0x50]
mov qword [rbx + 0x50], rdx
test rdi, rdi
je 0x14001e46d
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001e46d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001e46d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rax, qword [rbx + 0x50]
test rax, rax
je 0x14001e47a
lock inc dword [rax + 8]
mov rax, qword [rbx + 0x48]
mov qword [rbp + 0x60], rax
mov qword [rbp - 0x18], rax
mov r13, qword [rbx + 0x50]
mov qword [rbp - 0x10], r13
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x14001e4c0
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001e4c0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001e4c0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test r14b, r14b
je 0x14001e840
lea rax, [rbx + 0x1c0]
mov qword [rbp + 0x58], rax
cmp qword [rax + 0x18], 0xf
jbe 0x14001e4e2
mov rax, qword [rax]
mov qword [rbp + 0x58], rax
mov ecx, 0x130
call fcn.14003f838
mov r14, rax
mov qword [rbp - 0x58], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_basic_zip_cryptostream_char__struct_std::char_traits_char___.0
mov qword [r14], rax
lea r15, [r14 + 0x10]
mov qword [rbp - 0x50], r15
lea rax, [0x1400a8e38]
mov qword [r15], rax
lea rax, [0x1400a9030]
mov qword [r15 + 0x10], rax
mov qword [r15 + 0xc8], r12
mov qword [r15 + 0xd0], r12
mov dword [r15 + 0xd8], r12d
mov qword [r15 + 0xe0], r12
mov qword [r15 + 0xe8], r12
mov qword [r15 + 0xf0], r12
mov qword [r15 + 0xf8], r12
mov qword [r15 + 0x100], r12
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [r15 + 0xc0], rax
mov qword [r15 + 0x108], r12
mov qword [r15 + 0x110], r12
mov byte [r15 + 0x118], 0
mov dword [rbp + 0x50], 2
lea rdi, [r15 + 0x18]
mov rdx, rdi
mov rcx, r15
call fcn.1400214c0
nop
mov rax, qword [r15]
movsxd rcx, dword [rax + 4]
lea rax, vtable.basic_zip_cryptostream_char__struct_std::char_traits_char__.0
mov qword [rcx + r15], rax
mov rax, qword [r15]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xc0]
mov dword [rcx + r15 - 4], edx
mov qword [rbp - 0x38], rdi
mov rcx, rdi
call fcn.140005770
mov qword [rdi + 0x68], r12
mov word [rdi + 0x9c], 0
lea rax, vtable.zip_crypto_streambuf_char__struct_std::char_traits_char__.0
mov qword [rdi], rax
mov rax, qword [rbp + 0x60]
mov qword [rdi + 0x70], rax
mov qword [rdi + 0x78], r12
mov dword [rdi + 0x98], esi
mov word [rdi + 0x9c], 0
mov rdx, qword [rbp + 0x58]
mov rcx, rdi
call fcn.1400217c0
nop
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r14
movzx eax, byte [rbx + 0x110]
shr al, 3
not al
test al, 1
jne 0x14001e631
movzx eax, byte [rbx + 0x115]
jmp 0x14001e640
mov rcx, rbx
call fcn.14001ecf0
movzx eax, byte [rbx + 0x11b]
mov dword [r15 + 0xb0], eax
mov rcx, qword [r15 + 0x88]
test rcx, rcx
jne 0x14001e65b
xor r15b, r15b
jmp 0x14001e734
lea rdi, [r15 + 0xa4]
mov r8d, 0xc
mov rdx, rdi
call fcn.140014060
lea r9, [rdi + 0xc]
cmp rdi, r9
je 0x14001e719
lea r10, [0x1400a4150]
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r15 + 0xa0]
or ax, 2
movzx ecx, ax
mov r8d, ecx
xor r8d, 1
imul r8d, ecx
sar r8d, 8
xor r8b, byte [rdi]
mov edx, dword [r15 + 0x98]
mov ecx, edx
movzx eax, r8b
xor rcx, rax
movzx eax, cl
shr edx, 8
xor edx, dword [r10 + rax*4]
mov dword [r15 + 0x98], edx
movzx eax, dl
add eax, dword [r15 + 0x9c]
imul eax, eax, 0x8088405
inc eax
mov dword [r15 + 0x9c], eax
mov ecx, dword [r15 + 0xa0]
shr rax, 0x18
xor rax, rcx
movzx eax, al
shr ecx, 8
xor ecx, dword [r10 + rax*4]
mov dword [r15 + 0xa0], ecx
mov byte [rdi], r8b
inc rdi
cmp rdi, r9
jne 0x14001e690
mov byte [r15 + 0xb4], 1
movzx eax, byte [r15 + 0xaf]
cmp byte [r15 + 0xb0], al
sete r15b
lock inc dword [r14 + 8]
mov rax, qword [rbp - 0x38]
mov qword [rbx + 0x38], rax
mov rdi, qword [rbx + 0x40]
mov qword [rbx + 0x40], r14
test rdi, rdi
je 0x14001e777
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001e777
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001e777
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x14001e784
lock inc dword [rax + 8]
mov rax, qword [rbx + 0x38]
mov qword [rbp - 0x18], rax
mov rax, qword [rbx + 0x40]
mov qword [rbp - 0x10], rax
movaps xmm0, xmmword [rbp - 0x18]
movdqa xmmword [rbp - 0x18], xmm0
test r13, r13
je 0x14001e7cf
mov eax, esi
lock xadd dword [r13 + 8], eax
cmp eax, 1
jne 0x14001e7cf
mov rax, qword [r13]
mov rcx, r13
call qword [rax]
mov eax, esi
lock xadd dword [r13 + 0xc], eax
cmp eax, 1
jne 0x14001e7cf
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 8]
test r15b, r15b
jne 0x14001e815
mov rcx, rbx
call fcn.14001ea00
nop
mov eax, esi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14001e9b5
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov eax, esi
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x14001e9b5
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
jmp 0x14001e9b5
mov eax, esi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14001e840
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov eax, esi
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x14001e840
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
cmp word [rbp + 0x48], 0
je 0x14001e9b1
movzx edx, word [rbx + 0x112]
lea rcx, [rbp - 0x50]
call fcn.14001d220
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14001e97a
lea rdx, [rcx + 0x18]
mov rax, qword [rdx + 8]
test rax, rax
je 0x14001e87e
lock inc dword [rax + 8]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rdx]
mov qword [rbp - 0x38], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 0x30], rax
mov rax, qword [rcx]
call qword [rax + 8]
mov ecx, 0x100
call fcn.14003f838
mov qword [rbp + 0x48], rax
mov r9, qword [rbp - 0x18]
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400224e0
mov rcx, rax
add rax, 0x10
mov qword [rbx + 0x28], rax
mov rdi, qword [rbx + 0x30]
mov qword [rbx + 0x30], rcx
test rdi, rdi
je 0x14001e8f2
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001e8f2
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001e8f2
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x14001e8ff
lock inc dword [rax + 8]
mov rax, qword [rbx + 0x28]
mov qword [rbp - 0x18], rax
mov rdi, qword [rbp - 0x10]
mov rax, qword [rbx + 0x30]
mov qword [rbp - 0x10], rax
test rdi, rdi
je 0x14001e942
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001e942
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001e942
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14001e97a
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001e97a
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001e97a
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14001e9b1
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001e9b1
mov rbx, qword [rbp - 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001e9b1
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov r12, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14001e9ea
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001e9ea
mov rbx, qword [rbp - 0x10]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14001e9ea
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rcx]
call qword [rdx + 8]
mov rax, r12
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret