Function at 0x1400012e9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
push rbp
push r15
push r14
mov rax, 0x11
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x1400012b4
sub rsp, 0x28
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140012a60
add rsp, 0x10
push qword [rsp + 0x28]
pop rcx
call fcn.140007390
mov qword [rsp + 0x30], rax
push qword [rsp + 0x30]
pop rcx
call fcn.14000d0f0
mov rax, rax
push rax
pop rax
mov dword [rsp + 0x38], eax
sub rsp, 0x18
mov rdx, 0x100
lea rax, [rsp + 0x58]
push rax
xor r9, r9
mov r8, 5
mov rcx, 4
sub rsp, 0x20
call fcn.14001249c
add rsp, 0x40
mov qword [rsp + 0x40], rax
sub rsp, 0x18
mov rdx, 0x100
lea rax, [rsp + 0x68]
push rax
xor r9, r9
mov r8, 5
mov rcx, 4
sub rsp, 0x20
call fcn.14001249c
add rsp, 0x40
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x38], 0x20
push qword [rsp + 0x40]
pop rax
mov qword [rsp + 0x90], rax
push qword [rsp + 0x30]
pop rax
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x60], 0
jmp 0x1400013d7
mov rax, 0xff
cmp eax, dword [rsp + 0x60]
jl 0x14000146b
movsxd rax, dword [rsp + 0x60]
push rax
mov rbp, qword [rsp + 0x98]
pop rax
mov dword [rbp], eax
mov r15, qword [rsp + 0x90]
add r15, 4
mov qword [rsp + 0x90], r15
mov rbp, qword [rsp + 0x98]
movsx r15, byte [rbp]
and r15, r15
jne 0x14000142d
push qword [rsp + 0x30]
pop rax
mov qword [rsp + 0x98], rax
mov rbp, qword [rsp + 0x98]
movsx rax, byte [rbp]
push rax
movsxd r15, dword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
shl r15, 2
pop rax
mov dword [r15 + rbp], eax
mov r15, qword [rsp + 0x98]
inc r15
mov qword [rsp + 0x98], r15
inc dword [rsp + 0x60]
jno 0x1400013d7
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x60], 0
jmp 0x14000147d
mov rax, 0xff
cmp eax, dword [rsp + 0x60]
jl 0x140001525
movsxd r15, dword [rsp + 0x68]
movsxd r14, dword [rsp + 0x60]
mov rbp, qword [rsp + 0x40]
shl r14, 2
movsxd rax, dword [r14 + rbp]
add r15, rax
movsxd r14, dword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
shl r14, 2
movsxd rax, dword [r14 + rbp]
add r15, rax
and r15, 0xff
mov rax, r15
push rax
pop rax
mov dword [rsp + 0x68], eax
movsxd r15, dword [rsp + 0x60]
mov rbp, qword [rsp + 0x40]
shl r15, 2
movsxd rax, dword [r15 + rbp]
push rax
pop rax
mov dword [rsp + 0x80], eax
movsxd r15, dword [rsp + 0x68]
shl r15, 2
movsxd rax, dword [r15 + rbp]
push rax
movsxd r15, dword [rsp + 0x68]
shl r15, 2
pop rax
mov dword [r15 + rbp], eax
movsxd rax, dword [rsp + 0x80]
push rax
movsxd r15, dword [rsp + 0x70]
shl r15, 2
pop rax
mov dword [r15 + rbp], eax
inc dword [rsp + 0x60]
jno 0x14000147d
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x68], 0
movsxd rax, dword [rsp + 0xd0]
push rax
pop rax
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x78], 0
jmp 0x140001551
movsxd r15, dword [rsp + 0xd8]
dec r15
mov rax, r15
cmp eax, dword [rsp + 0x78]
jl 0x140001683
movsxd r15, dword [rsp + 0x60]
inc r15
and r15, 0xff
mov rax, r15
push rax
pop rax
mov dword [rsp + 0x60], eax
movsxd r15, dword [rsp + 0x68]
movsxd r14, dword [rsp + 0x60]
mov rbp, qword [rsp + 0x40]
shl r14, 2
movsxd rax, dword [r14 + rbp]
add r15, rax
and r15, 0xff
mov rax, r15
push rax
pop rax
mov dword [rsp + 0x68], eax
movsxd r15, dword [rsp + 0x60]
shl r15, 2
movsxd rax, dword [r15 + rbp]
push rax
pop rax
mov dword [rsp + 0x80], eax
movsxd r15, dword [rsp + 0x68]
shl r15, 2
movsxd rax, dword [r15 + rbp]
push rax
movsxd r15, dword [rsp + 0x68]
shl r15, 2
pop rax
mov dword [r15 + rbp], eax
movsxd rax, dword [rsp + 0x80]
push rax
movsxd r15, dword [rsp + 0x70]
shl r15, 2
pop rax
mov dword [r15 + rbp], eax
movsxd r15, dword [rsp + 0x60]
shl r15, 2
movsxd r15, dword [r15 + rbp]
movsxd r14, dword [rsp + 0x68]
shl r14, 2
movsxd r14, dword [r14 + rbp]
and r14, 0xff
add r15, r14
and r15, 0xff
mov rax, r15
push rax
pop rax
mov dword [rsp + 0x70], eax
movsxd r15, dword [rsp + 0x70]
shl r15, 2
movsxd rax, dword [r15 + rbp]
push rax
pop rax
mov dword [rsp + 0x88], eax
mov rbp, qword [rsp + 0xa0]
movsx r15, byte [rbp]
movsxd rax, dword [rsp + 0x88]
xor r15, rax
mov rax, r15
push rax
mov rbp, qword [rsp + 0xa8]
pop rax
mov byte [rbp], al
mov r15, qword [rsp + 0xa0]
inc r15
mov qword [rsp + 0xa0], r15
inc dword [rsp + 0x78]
jno 0x140001551
sub rsp, 0x18
mov rdx, 1
lea rax, [rsp + 0x58]
push rax
xor r9, r9
mov r8, 5
mov rcx, 4
sub rsp, 0x20
call fcn.14001249c
add rsp, 0x40
mov qword [rsp + 0x40], rax
sub rsp, 0x18
mov rdx, 1
lea rax, [rsp + 0x68]
push rax
xor r9, r9
mov r8, 5
mov rcx, 4
sub rsp, 0x20
call fcn.14001249c
add rsp, 0x40
mov qword [rsp + 0x50], rax
push qword [rsp + 0x30]
pop rcx
call fcn.14000d110
movsxd rax, dword [rsp + 0xd0]
movsxd rax, eax
jmp 0x140001705
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140012ad0
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.140012660
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140012660
add rsp, 0x28
pop rax
add rsp, 0xb0
pop r14
pop r15
pop rbp
ret