Function at 0x1400f5164
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x10]
add rax, 1
movzx eax, byte [rax]
movzx eax, al
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp - 0x18]
add rax, 1
movzx eax, byte [rax]
movzx eax, al
mov dword [rbp - 0x20], eax
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
movzx edx, al
mov rax, qword [rbp - 0x10]
add rax, rdx
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax]
movzx edx, al
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x30], rax
mov eax, dword [rbp - 0x1c]
cmp eax, dword [rbp - 0x20]
jne 0x1400f527b
mov eax, dword [rbp - 0x1c]
cdqe
lea rdx, [0x14037f238]
movzx eax, byte [rax + rdx]
mov byte [rbp - 0x31], al
mov dword [rbp - 4], 0
mov dword [rbp - 8], 0
jmp 0x1400f5270
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
movzx eax, byte [rax]
movzx edx, al
mov eax, dword [rbp - 8]
movsxd rcx, eax
mov rax, qword [rbp - 0x30]
add rax, rcx
movzx eax, byte [rax]
movzx eax, al
sub edx, eax
mov dword [rbp - 4], edx
cmp dword [rbp - 4], 0
je 0x1400f526c
mov rax, qword [rbp - 0x28]
movzx edx, byte [rax]
mov rax, qword [rbp - 0x30]
movzx eax, byte [rax]
xor eax, edx
test al, al
jns 0x1400f52e7
mov rax, qword [rbp - 0x28]
movzx eax, byte [rax]
test al, al
jns 0x1400f5262
mov eax, 0xffffffff
jmp 0x1400f5267
mov eax, 1
mov dword [rbp - 4], eax
jmp 0x1400f52e7
add dword [rbp - 8], 1
movzx eax, byte [rbp - 0x31]
cmp dword [rbp - 8], eax
jl 0x1400f5207
jmp 0x1400f52e8
cmp dword [rbp - 0x1c], 7
jle 0x1400f5292
cmp dword [rbp - 0x20], 7
jle 0x1400f5292
mov eax, dword [rbp - 0x1c]
sub eax, dword [rbp - 0x20]
mov dword [rbp - 4], eax
jmp 0x1400f52e8
cmp dword [rbp - 0x20], 7
jle 0x1400f52a1
mov dword [rbp - 4], 1
jmp 0x1400f52b9
cmp dword [rbp - 0x1c], 7
jle 0x1400f52b0
mov dword [rbp - 4], 0xffffffff
jmp 0x1400f52b9
mov eax, dword [rbp - 0x1c]
sub eax, dword [rbp - 0x20]
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jle 0x1400f52d3
mov rax, qword [rbp - 0x28]
movzx eax, byte [rax]
test al, al
jns 0x1400f52e8
mov dword [rbp - 4], 0xffffffff
jmp 0x1400f52e8
mov rax, qword [rbp - 0x30]
movzx eax, byte [rax]
test al, al
jns 0x1400f52e8
mov dword [rbp - 4], 1
jmp 0x1400f52e8
nop
cmp dword [rbp - 4], 0
jne 0x1400f5331
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x28]
movzx eax, word [rax + 6]
cmp ax, 1
jbe 0x1400f534b
mov r9d, dword [rbp + 0x28]
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov ecx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call sym.vdbeSorterCompareTail
mov dword [rbp - 4], eax
jmp 0x1400f534b
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 0x18]
movzx eax, byte [rax]
test al, al
je 0x1400f534b
neg dword [rbp - 4]
mov eax, dword [rbp - 4]
add rsp, 0x70
pop rbp
ret