Function at 0x1400014c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax]
lea eax, [rax + rax + 6]
cdqe
mov rcx, qword [rsp + 0xf0]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x58], eax
mov rax, qword [0x1402c3bb8]
mov rcx, qword [rsp + 0xd0]
mov edx, 0xeb
sub edx, dword [rcx + rax*4]
mov eax, edx
cdqe
mov qword [rsp + 0x98], rax
mov eax, 2
imul rax, rax, 0x1f10
mov rcx, qword [rsp + 0xf0]
movzx eax, word [rcx + rax]
mov qword [rsp + 0x60], rax
movsxd rax, dword [0x1402c3bc0]
xor rax, qword [0x1402c3bd0]
mov qword [rsp + 0xa0], rax
mov rax, qword [0x1402c3bd0]
dec rax
mov qword [0x1402c3bd0], rax
mov eax, 0x1005
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax]
add eax, 0x1a
cdqe
mov rcx, qword [rsp + 0xe8]
movzx eax, byte [rcx + rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax]
inc eax
cdqe
mov rcx, qword [rsp + 0xf0]
movzx eax, word [rcx + rax*2]
mov ecx, 4
imul rcx, rcx, 0xd7a
mov rdx, qword [rsp + 0xd0]
and eax, dword [rdx + rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax]
add eax, 6
cdqe
mov rcx, qword [rsp + 0xf0]
movzx eax, word [rcx + rax*2]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x44], 0x1966
mov eax, 2
imul rax, rax, 0x602
mov rcx, qword [rsp + 0xf0]
movzx eax, word [rcx + rax]
mov rcx, qword [0x1402c3c00]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax]
inc ax
mov rcx, qword [rsp + 0xe0]
mov word [rcx], ax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax]
cdqe
mov rcx, qword [rsp + 0xe0]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x34], ax
mov qword [rsp + 0x50], 0x1288
movsxd rax, dword [0x1402c3bc0]
mov ecx, dword [rsp + 0x30]
shl ecx, 1
movsxd rcx, ecx
xor edx, edx
mov r8, qword [rsp + 0x50]
div qword [r8 + rcx*8]
mov ecx, dword [rsp + 0x30]
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x50]
mov qword [rdx + rcx*8], rax
movzx eax, word [0x1402c3bc4]
mov dword [rsp + 0x40], eax
mov eax, dword [0x1402c3b60]
cdq
mov ecx, dword [rsp + 0x40]
idiv ecx
mov word [0x1402c3bc4], ax
mov eax, dword [rsp + 0x30]
cdqe
mov rcx, qword [rsp + 0xe8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0xe0]
movzx ecx, word [rcx]
add ecx, 4
movsxd rcx, ecx
xor edx, edx
mov r8, qword [rsp + 0x50]
div qword [r8 + rcx*8]
mov ecx, dword [rsp + 0x30]
movsxd rcx, ecx
mov rdx, qword [rsp + 0xd0]
movsxd rcx, dword [rdx + rcx*4]
add rax, rcx
and rax, 0x1600
movsxd rcx, dword [rsp + 0x30]
add rax, rcx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdqe
mov rcx, qword [rsp + 0xe0]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x38], eax
jmp 0x140001723
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x38], eax
jl 0x14000184f
movzx eax, word [rsp + 0x3c]
mov ecx, dword [0x1402c3bcc]
imul ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 0x2c2
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x44]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax]
add eax, 0x1b
cdqe
mov rcx, qword [rsp + 0xe0]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x48], eax
imul eax, dword [rsp + 0x38], 3
cdqe
mov rcx, qword [rsp + 0xe0]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x30]
add ecx, 6
movsxd rcx, ecx
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx]
or eax, ecx
cdqe
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x4c]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.1400033c0
cdqe
mov qword [0x1402c3bd0], rax
movzx eax, word [rsp + 0x34]
and eax, 0x1e7b
cdqe
mov qword [rsp + 0x90], rax
movzx eax, word [rsp + 0x34]
dec ax
mov word [rsp + 0x34], ax
mov qword [rsp + 0x88], 0xcf4
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.140001270
mov word [0x1402c3bc4], ax
jmp 0x140001719
mov eax, 0x1455
add rsp, 0xc8
ret