Function at 0x1400e3ad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
mov rax, qword [rsp + 0xf8]
cmp dword [rax + 0xc], 7
je 0x1400e3b0b
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.1400f0f80
mov rax, qword [rsp + 0xf8]
cmp dword [rax + 0xc], 7
je 0x1400e3b40
lea r9, [0x1402d33c0]
mov r8d, 0xc31
lea rdx, [0x1402d33d0]
lea rcx, str.___func___tt___LUA_TFUNCTION_
call fcn.14001fa60
test eax, eax
je 0x1400e3b40
int3
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x38]
cmp qword [rax + 0x20], rcx
jne 0x1400e3b7e
mov rcx, qword [rsp + 0xf0]
call fcn.140097e60
mov qword [rsp + 0x78], rax
jmp 0x1400e3bae
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x20]
add rax, 0x28
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0xf8]
add rax, 0x10
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 5]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xf0]
add rax, qword [rcx + 8]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x24], 0
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x100]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x28]
sub rax, rcx
mov rcx, qword [rsp + 0x38]
movzx ecx, byte [rcx + 5]
imul ecx, ecx, 0x10
movsxd rcx, ecx
cmp rax, rcx
jg 0x1400e3c82
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 5]
mov edx, eax
mov rcx, qword [rsp + 0xf0]
call fcn.140097f30
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x28]
cmp qword [rax + 0x10], rcx
jbe 0x1400e3cc0
lea r9, [0x1402d3420]
mov r8d, 0xc3f
lea rdx, [0x1402d3430]
lea rcx, [0x1402d3480]
call fcn.14001fa60
test eax, eax
je 0x1400e3cc0
int3
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 3]
test eax, eax
jne 0x1400e3dbf
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 4]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xf0]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x48], rax
jae 0x1400e3d3c
mov rax, qword [rsp + 0x48]
mov dword [rax + 0xc], 0
mov rax, qword [rsp + 0x48]
add rax, 0x10
mov qword [rsp + 0x48], rax
jmp 0x1400e3d11
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 5]
test eax, eax
je 0x1400e3d58
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
jmp 0x1400e3d69
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x30], 0
je 0x1400e3db3
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x28], 0
je 0x1400e3db3
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x24], 4
xor eax, eax
jmp 0x1400e3ff8
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xf0]
call qword [rsp + 0xa8]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400e3e04
mov eax, 2
jmp 0x1400e3ff8
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
sub rax, 0x28
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x20], eax
jmp 0x1400e3e88
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400e3f82
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x60], rax
jae 0x1400e3f82
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x60]
add rax, 0x10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0xc8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0xc], 5
jl 0x1400e3f7d
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x58]
cmp dword [rcx + 0xc], eax
jne 0x1400e3f56
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
movzx eax, byte [rax + 1]
and eax, 0xb
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x18]
movzx ecx, byte [rcx + 0x20]
xor ecx, 3
and ecx, 3
cmp eax, ecx
jne 0x1400e3f7d
lea r9, str.luau_precall
mov r8d, 0xc6a
lea rdx, [0x1402d34b0]
lea rcx, [0x1402d3500]
call fcn.14001fa60
test eax, eax
je 0x1400e3f7d
int3
jmp 0x1400e3e7e
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x68], 0
jle 0x1400e3fb7
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 0
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x30], rax
jmp 0x1400e3f82
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 8], rcx
mov eax, 1
add rsp, 0xd8
pop rdi
pop rsi
ret