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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r14, rdx
mov rbp, rcx
cmp r8d, 0xc
jge 0x14000b4cf
xor eax, eax
jmp 0x14000b6dc
mov eax, dword [0x140070578]
inc eax
mov dword [0x140070578], eax
cmp eax, 1
jne 0x14000b4f7
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
xor eax, 0xbb40e64e
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rdi, qword [rsp + 0x70]
mov rdx, rbx
mov r8, rdi
mov rcx, rbp
call fcn.14000b6fc
xor esi, esi
mov r13d, 0xfffd
lea r15d, [rsi + 0xa]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r9d, dword [rbx + 8]
mov r11d, eax
mov r8d, dword [rbx]
mov r10d, r9d
sar r11d, 7
mov ecx, r8d
mov eax, r11d
shr r8d, 8
xor rcx, rax
and r10d, r13d
movzx edx, cl
or r10d, 2
xor r8d, dword [rdi + rdx*4]
movzx eax, r8b
add eax, dword [rbx + 4]
imul ecx, eax, 0x8088405
mov dword [rbx], r8d
inc ecx
mov dword [rbx + 4], ecx
shr rcx, 0x18
xor rcx, r9
shr r9d, 8
movzx eax, cl
xor r9d, dword [rdi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], r9d
imul eax, r10d
shr eax, 8
xor al, r11b
mov byte [rsp + rsi + 0x20], al
inc rsi
cmp rsi, r15
jl 0x14000b516
mov r8, rdi
mov rdx, rbx
mov rcx, rbp
call fcn.14000b6fc
lea r11, [rsp + 0x20]
mov rsi, r14
sub r11, r14
mov r8d, dword [rbx + 8]
mov r10d, r8d
mov edx, dword [rbx]
and r10d, r13d
movzx r9d, byte [r11 + rsi]
mov eax, edx
xor rax, r9
shr edx, 8
movzx ecx, al
or r10d, 2
xor edx, dword [rdi + rcx*4]
movzx eax, dl
add eax, dword [rbx + 4]
imul ecx, eax, 0x8088405
mov dword [rbx], edx
inc ecx
mov dword [rbx + 4], ecx
shr rcx, 0x18
xor rcx, r8
shr r8d, 8
movzx eax, cl
xor r8d, dword [rdi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], r8d
imul eax, r10d
shr eax, 8
xor al, r9b
mov byte [rsi], al
inc rsi
sub r15, 1
jne 0x14000b5a8
mov r9d, dword [rbx + 8]
mov r10d, r9d
mov edx, dword [rbx]
and r10d, r13d
mov r11d, dword [rsp + 0x78]
or r10d, 2
mov r8d, r11d
shr r11d, 0x18
shr r8d, 0x10
mov eax, r8d
xor rax, rdx
shr edx, 8
movzx ecx, al
xor edx, dword [rdi + rcx*4]
mov dword [rbx], edx
movzx eax, dl
add eax, dword [rbx + 4]
imul ecx, eax, 0x8088405
inc ecx
mov dword [rbx + 4], ecx
shr rcx, 0x18
xor rcx, r9
shr r9d, 8
movzx eax, cl
xor r9d, dword [rdi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], r9d
imul eax, r10d
shr eax, 8
xor al, r8b
mov r8d, r11d
mov byte [r14 + 0xa], al
mov r9d, dword [rbx + 8]
mov r10d, r9d
mov edx, dword [rbx]
and r10d, r13d
xor r8, rdx
or r10d, 2
movzx ecx, r8b
shr edx, 8
xor edx, dword [rdi + rcx*4]
mov dword [rbx], edx
movzx eax, dl
add eax, dword [rbx + 4]
imul ecx, eax, 0x8088405
lea eax, [r15 + 0xc]
inc ecx
mov dword [rbx + 4], ecx
shr rcx, 0x18
xor rcx, r9
shr r9d, 8
movzx ecx, cl
xor r9d, dword [rdi + rcx*4]
mov ecx, r10d
xor ecx, 1
mov dword [rbx + 8], r9d
imul ecx, r10d
shr ecx, 8
xor cl, r11b
mov byte [r14 + 0xb], cl
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
ret