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

Disassembly:
push rbx
push rsi
push r14
push r15
sub rsp, 0x48
mov rax, qword [0x14023c8a0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0x90]
mov rbx, r9
mov r15, rdx
mov r14, rcx
cmp r8d, 0xc
jge 0x14002fc38
xor eax, eax
jmp 0x1400301cf
mov eax, dword [0x140243840]
inc eax
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x40], rdi
mov dword [0x140243840], eax
cmp eax, 1
jne 0x14002fc6b
xor ecx, ecx
call fcn.1400cad70
xor eax, 0xbb40e64e
mov ecx, eax
call fcn.1400cae10
mov r8, rsi
mov rdx, rbx
mov rcx, r14
call fcn.1400301f0
lea rdi, [rsp + 0x20]
mov ebp, 0xa
call fcn.1400cade0
mov r9d, dword [rbx + 8]
lea rdi, [rdi + 1]
mov r8d, dword [rbx]
mov r11d, eax
sar r11d, 7
mov edx, r8d
mov r10d, r9d
shr r8d, 8
mov ecx, r11d
and r10d, 0xfffd
or r10d, 2
xor rdx, rcx
movzx ecx, dl
xor r8d, dword [rsi + rcx*4]
movzx eax, r8b
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
mov dword [rbx], r8d
inc eax
mov dword [rbx + 4], eax
shr rax, 0x18
xor rax, r9
shr r9d, 8
movzx eax, al
xor r9d, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], r9d
imul eax, r10d
shr eax, 8
xor al, r11b
mov byte [rdi - 1], al
sub rbp, 1
jne 0x14002fc83
mov r8, rsi
mov rdx, rbx
mov rcx, r14
call fcn.1400301f0
mov edx, dword [rbx]
mov ecx, edx
mov r9d, dword [rbx + 8]
mov r10d, r9d
movzx r8d, byte [rsp + 0x20]
and r10d, 0xfffd
shr edx, 8
xor rcx, r8
movzx eax, cl
or r10d, 2
xor edx, dword [rsi + rax*4]
mov dword [rbx], edx
movzx eax, dl
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 4], eax
shr rax, 0x18
xor rax, r9
shr r9d, 8
movzx eax, al
xor r9d, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], r9d
movzx r9d, byte [rsp + 0x21]
imul eax, r10d
shr eax, 8
xor al, r8b
mov byte [r15], al
mov edx, dword [rbx]
mov ecx, edx
mov r10d, dword [rbx + 8]
xor rcx, r9
movzx eax, cl
and r10d, 0xfffd
shr edx, 8
or r10d, 2
xor edx, dword [rsi + rax*4]
mov dword [rbx], edx
movzx eax, dl
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 4], eax
mov ecx, dword [rbx + 8]
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], ecx
imul eax, r10d
shr eax, 8
xor al, r9b
movzx r9d, byte [rsp + 0x22]
mov byte [r15 + 1], al
mov eax, r9d
mov edx, dword [rbx]
xor rax, rdx
mov r10d, dword [rbx + 8]
movzx ecx, al
and r10d, 0xfffd
shr edx, 8
or r10d, 2
xor edx, dword [rsi + rcx*4]
mov dword [rbx], edx
movzx eax, dl
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 4], eax
mov ecx, dword [rbx + 8]
shr rax, 0x18
xor rax, rcx
movzx eax, al
shr ecx, 8
xor ecx, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], ecx
imul eax, r10d
shr eax, 8
xor al, r9b
movzx r9d, byte [rsp + 0x23]
mov byte [r15 + 2], al
mov eax, r9d
mov edx, dword [rbx]
xor rax, rdx
mov r10d, dword [rbx + 8]
movzx ecx, al
and r10d, 0xfffd
shr edx, 8
or r10d, 2
xor edx, dword [rsi + rcx*4]
mov dword [rbx], edx
movzx eax, dl
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 4], eax
mov ecx, dword [rbx + 8]
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], ecx
imul eax, r10d
shr eax, 8
xor al, r9b
movzx r9d, byte [rsp + 0x24]
mov byte [r15 + 3], al
mov eax, r9d
mov edx, dword [rbx]
xor rax, rdx
mov r10d, dword [rbx + 8]
movzx ecx, al
and r10d, 0xfffd
shr edx, 8
or r10d, 2
xor edx, dword [rsi + rcx*4]
mov dword [rbx], edx
movzx eax, dl
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 4], eax
mov ecx, dword [rbx + 8]
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], ecx
imul eax, r10d
shr eax, 8
xor al, r9b
movzx r9d, byte [rsp + 0x25]
mov byte [r15 + 4], al
mov eax, r9d
mov edx, dword [rbx]
xor rax, rdx
mov r10d, dword [rbx + 8]
movzx ecx, al
and r10d, 0xfffd
shr edx, 8
or r10d, 2
xor edx, dword [rsi + rcx*4]
movzx eax, dl
mov dword [rbx], edx
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 4], eax
mov ecx, dword [rbx + 8]
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], ecx
imul eax, r10d
shr eax, 8
xor al, r9b
movzx r9d, byte [rsp + 0x26]
mov byte [r15 + 5], al
mov eax, r9d
mov edx, dword [rbx]
xor rax, rdx
mov r10d, dword [rbx + 8]
movzx ecx, al
and r10d, 0xfffd
or r10d, 2
shr edx, 8
xor edx, dword [rsi + rcx*4]
mov dword [rbx], edx
movzx eax, dl
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 4], eax
mov ecx, dword [rbx + 8]
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], ecx
imul eax, r10d
shr eax, 8
xor al, r9b
movzx r9d, byte [rsp + 0x27]
mov byte [r15 + 6], al
mov eax, r9d
mov edx, dword [rbx]
xor rax, rdx
mov r10d, dword [rbx + 8]
movzx ecx, al
and r10d, 0xfffd
or r10d, 2
shr edx, 8
xor edx, dword [rsi + rcx*4]
mov dword [rbx], edx
movzx eax, dl
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 4], eax
mov ecx, dword [rbx + 8]
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], ecx
imul eax, r10d
shr eax, 8
xor al, r9b
movzx r9d, byte [rsp + 0x28]
mov byte [r15 + 7], al
mov eax, r9d
mov r10d, dword [rbx + 8]
mov edx, dword [rbx]
and r10d, 0xfffd
or r10d, 2
xor rax, rdx
movzx ecx, al
mov r11d, dword [rsp + 0x98]
mov r8d, r11d
shr edx, 8
shr r8d, 0x10
xor edx, dword [rsi + rcx*4]
mov dword [rbx], edx
movzx eax, dl
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 4], eax
mov ecx, dword [rbx + 8]
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], ecx
imul eax, r10d
shr eax, 8
xor al, r9b
movzx r9d, byte [rsp + 0x29]
mov byte [r15 + 8], al
mov eax, r9d
mov edx, dword [rbx]
xor rax, rdx
mov r10d, dword [rbx + 8]
movzx ecx, al
and r10d, 0xfffd
shr edx, 8
or r10d, 2
xor edx, dword [rsi + rcx*4]
mov dword [rbx], edx
movzx eax, dl
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 4], eax
mov ecx, dword [rbx + 8]
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], ecx
imul eax, r10d
shr eax, 8
xor al, r9b
mov byte [r15 + 9], al
mov eax, r8d
mov r9d, dword [rbx + 8]
mov r10d, r9d
mov edx, dword [rbx]
and r10d, 0xfffd
xor rax, rdx
or r10d, 2
movzx ecx, al
shr edx, 8
xor edx, dword [rsi + rcx*4]
movzx eax, dl
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
mov dword [rbx], edx
inc eax
mov dword [rbx + 4], eax
shr rax, 0x18
xor rax, r9
shr r9d, 8
movzx eax, al
xor r9d, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], r9d
imul eax, r10d
shr eax, 8
xor al, r8b
mov rdi, qword [rsp + 0x40]
mov byte [r15 + 0xa], al
mov r9d, dword [rbx + 8]
mov r10d, r9d
mov edx, dword [rbx]
and r10d, 0xfffd
shr r11d, 0x18
or r10d, 2
mov eax, r11d
xor rax, rdx
shr edx, 8
movzx ecx, al
xor edx, dword [rsi + rcx*4]
movzx eax, dl
add eax, dword [rbx + 4]
imul eax, eax, 0x8088405
mov dword [rbx], edx
inc eax
mov dword [rbx + 4], eax
shr rax, 0x18
xor rax, r9
shr r9d, 8
movzx eax, al
xor r9d, dword [rsi + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 8], r9d
imul eax, r10d
shr eax, 8
xor al, r11b
mov byte [r15 + 0xb], al
lea eax, [rbp + 0xc]
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b1c90
add rsp, 0x48
pop r15
pop r14
pop rsi
pop rbx
ret