Function at 0x1401f4d60
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 0x1401f4d9b
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.140204c00
mov rax, qword [rsp + 0xf8]
cmp dword [rax + 0xc], 7
je 0x1401f4dd0
lea r9, [0x14045e920]
mov r8d, 0xc31
lea rdx, [0x14045e980]
lea rcx, str.___func___tt___LUA_TFUNCTION_
call fcn.140059e30
test eax, eax
je 0x1401f4dd0
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 0x1401f4e0e
mov rcx, qword [rsp + 0xf0]
call fcn.1401a7e40
mov qword [rsp + 0x78], rax
jmp 0x1401f4e3e
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 0x1401f4f12
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 5]
mov edx, eax
mov rcx, qword [rsp + 0xf0]
call fcn.1401a7f10
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x28]
cmp qword [rax + 0x10], rcx
jbe 0x1401f4f50
lea r9, [0x14045ea70]
mov r8d, 0xc3f
lea rdx, [0x14045ea80]
lea rcx, [0x14045ead0]
call fcn.140059e30
test eax, eax
je 0x1401f4f50
int3
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 3]
test eax, eax
jne 0x1401f504f
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 0x1401f4fcc
mov rax, qword [rsp + 0x48]
mov dword [rax + 0xc], 0
mov rax, qword [rsp + 0x48]
add rax, 0x10
mov qword [rsp + 0x48], rax
jmp 0x1401f4fa1
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 5]
test eax, eax
je 0x1401f4fe8
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
jmp 0x1401f4ff9
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 0x1401f5043
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x28], 0
je 0x1401f5043
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x24], 4
xor eax, eax
jmp 0x1401f5288
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 0x1401f5094
mov eax, 2
jmp 0x1401f5288
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 0x1401f5118
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401f5212
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x60], rax
jae 0x1401f5212
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, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0xc], 5
jl 0x1401f520d
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x58]
cmp dword [rcx + 0xc], eax
jne 0x1401f51e6
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 0x1401f520d
lea r9, str.luau_precall
mov r8d, 0xc6a
lea rdx, [0x14045ebc0]
lea rcx, [0x14045ec20]
call fcn.140059e30
test eax, eax
je 0x1401f520d
int3
jmp 0x1401f510e
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 0x1401f5247
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 0
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x30], rax
jmp 0x1401f5212
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