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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0xf8]
xor r12d, r12d
cmp r8, rax
mov qword [rcx + 0xc8], rdx
mov rbx, rcx
cmova r8, rax
mov qword [rcx + 0xd0], r8
test r8, r8
je 0x14002886e
lea r13, [0x1400f2cc0]
nop
mov rdx, qword [rbx + 0xb8]
test rdx, rdx
jne 0x14002872f
mov rax, qword [rbx + 0xf0]
test rax, rax
je 0x14002872f
mov rdx, qword [rbx + 0xa8]
mov edi, 0x4000
cmp rax, rdi
mov rcx, rbx
cmovb rdi, rax
mov r8d, edi
call fcn.140027690
test eax, eax
je 0x14002888e
sub qword [rbx + 0xf0], rdi
mov rdx, rdi
test byte [rbx + 0x64], 1
mov r8, qword [rbx + 0xa8]
mov qword [rbx + 0xb0], r8
mov qword [rbx + 0xb8], rdi
je 0x14002872f
xor r9d, r9d
test rdi, rdi
je 0x14002872f
xor r10d, r10d
nop
mov ecx, dword [rbx + 0x108]
inc r9d
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [r10 + r8], al
mov edx, dword [rbx + 0x100]
mov r8, qword [rbx + 0xa8]
movsx rax, byte [r10 + r8]
xor rax, rdx
mov r10d, r9d
shr edx, 8
movzx ecx, al
xor edx, dword [r13 + rcx*4]
mov ecx, dword [rbx + 0x108]
movzx eax, dl
add eax, dword [rbx + 0x104]
mov dword [rbx + 0x100], edx
imul edx, eax, 0x8088405
movzx eax, cl
shr ecx, 8
inc edx
mov dword [rbx + 0x104], edx
shr rdx, 0x18
xor rdx, rax
xor ecx, dword [r13 + rdx*4]
mov dword [rbx + 0x108], ecx
cmp r10, rdi
jb 0x1400286a0
mov rdx, qword [rbx + 0xb8]
mov r9, qword [rbx + 0x110]
mov r8, rdx
cmp r9, rdx
cmovbe r8, r9
test r8, r8
je 0x14002877c
mov rcx, qword [rbx + 0xb0]
sub rdx, r8
add rcx, r8
sub r9, r8
movzx eax, byte [rcx - 1]
mov qword [rbx + 0xb8], rdx
mov qword [rbx + 0xb0], rcx
mov qword [rbx + 0x110], r9
jne 0x14002877c
cmp al, byte [rbx + 0x118]
jne 0x140028899
cmp word [rbx + 0x66], 0
mov r15, qword [rbx + 0xc8]
jne 0x140028803
mov rbp, qword [rbx + 0xd0]
mov rcx, r15
cmp rbp, rdx
cmovae rbp, rdx
mov rdx, qword [rbx + 0xb0]
mov r8d, ebp
call sub.VCRUNTIME140.dll_memcpy
mov rsi, qword [rbx + 0xc8]
mov r8d, ebp
mov ecx, dword [rbx + 0xe8]
mov rdx, rsi
call fcn.140027190
sub qword [rbx + 0xf8], rbp
add r12, rbp
sub qword [rbx + 0xb8], rbp
sub qword [rbx + 0xd0], rbp
add qword [rbx + 0xb0], rbp
add qword [rbx + 0xd8], rbp
cmp qword [rbx + 0xf8], 0
mov dword [rbx + 0xe8], eax
lea rax, [rsi + rbp]
mov qword [rbx + 0xc8], rax
jmp 0x14002885e
mov rbp, qword [rbx + 0xd8]
lea rcx, [rbx + 0xb0]
call fcn.1400272a0
mov esi, eax
cmp eax, 1
ja 0x1400288a4
mov rdi, qword [rbx + 0xd8]
mov rdx, r15
mov ecx, dword [rbx + 0xe8]
sub rdi, rbp
mov r8d, edi
call fcn.140027190
mov dword [rbx + 0xe8], eax
add r12, rdi
mov rax, qword [rbx + 0xf8]
sub rax, rdi
mov qword [rbx + 0xf8], rax
cmp esi, 1
je 0x14002886e
test rax, rax
je 0x14002886e
cmp qword [rbx + 0xd0], 0
jne 0x140028620
mov rax, r12
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov dword [rbx + 0x10], 7
xor eax, eax
jmp 0x140028871
mov dword [rbx + 0x10], reloc.WSOCK32.dll_send
xor eax, eax
jmp 0x140028871
mov dword [rbx + 0x10], reloc.OLEAUT32.dll_SafeArrayGetUBound
xor eax, eax
jmp 0x140028871