Function at 0x140002500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub r10, 0xe
mov qword [rbp - 0x60], r10
mov qword [rbp - 0x68], 9
xor r14d, r14d
mov r10, qword [rbp - 0x60]
mov r13, r10
sub r13, 0
movabs r10, 0x130d
mov qword [rbp - 0xc0], r10
mov esi, 0x2268b9e8
mov r10, qword [rbp - 0xc0]
movabs r9, 0x35cae
mov r14, r10
imul r14, r9
mov r13d, 0x5548
mov r10d, r13d
movabs r9, 0x31df
mov r13, r10
add r13, r9
movabs r10, 0x100000000
mov qword [rbp - 0x70], r10
add r14, qword [rbp - 0x70]
mov r10d, r13d
movabs r9, 0x4cad9
mov r13, r10
add r13, r9
mov edi, 0x179f
sub esi, 1
mov r10, qword [rbp - 0x60]
sub r10, 0
mov dword [rbp - 0x80], r10d
movabs r10, 0x85d
add r14, r10
sub r14, rdi
mov qword [rbp - 0x40], 0x400cab33
mov eax, dword [rbp - 0x80]
mov r10, qword [rbp - 0x58]
sub r10, 0xa
cqo
idiv r10
mov dword [rbp - 0x44], eax
mov rax, 0x1b
mov r10, qword [rbp - 0x68]
cqo
idiv r10
mov r10d, edi
mov r11, rax
add r11, r10
mov r10d, edi
add r10d, r13d
cmp r11d, r10d
jb 0x1400025ef
jmp 0x140002625
mov r10d, r11d
mov r10b, byte [r14 + r10]
mov byte [rbp - 0x31], r10b
movzx r10d, byte [rbp - 0x31]
mov r9d, dword [rbp - 0x44]
mov r8d, esi
add r8d, r9d
movzx r9d, r8b
xor r10d, r9d
mov byte [rbp - 0x31], r10b
mov r10d, r11d
mov r9b, byte [rbp - 0x31]
mov byte [r14 + r10], r9b
lea r11, [r11 + 1]
jmp 0x1400025e2
mov r10d, dword [rbp - 0x80]
lea r10, [r10 + 1]
mov dword [rbp - 0x80], r10d
mov r12, 0x4015d000
mov r10, qword [rbp - 0x70]
add qword [rbp - 0x40], r10
add r12, qword [rbp - 0x70]
mov r10, qword [rbp - 0x60]
add r10, qword [rbp - 0x58]
sub r10, 0xa
mov r9d, dword [rbp - 0x80]
cmp r10, r9
jge 0x1400025ae
mov qword [rbp - 0x98], 0x4029c000
mov r10, qword [rbp - 0x58]
mov r15, r10
sub r15, 0xe
jmp 0x140002693
mov r10d, r15d
mov r9, qword [rbp - 0x40]
mov r10b, byte [r9 + r10]
mov byte [rbp - 0x31], r10b
mov r10d, r15d
mov r9b, byte [rbp - 0x31]
mov byte [r12 + r10], r9b
lea r15, [r15 + 1]
mov r10d, r15d
movabs r9, 0x42fd0
cmp r10, r9
jl 0x140002675
mov qword [rbp - 0xa0], 0x4010f333
mov r10, qword [rbp - 0x70]
add qword [rbp - 0x98], r10
mov r10, qword [rbp - 0x70]
add qword [rbp - 0xa0], r10
movabs r10, 0x8000000
mov qword [rbp - 0xc8], r10
movabs r10, 0x401201bb
mov qword [rbp - 0xa8], r10
mov qword [rbp - 0x50], 0x4011f333
mov r10, qword [rbp - 0x60]
sub r10, 0
mov dword [rbp - 0x74], r10d
mov r10d, dword [rbp - 0x74]
mov r9, qword [rbp - 0xa0]
mov r10b, byte [r9 + r10]
mov byte [rbp - 0x31], r10b
mov r10d, dword [rbp - 0x74]
mov r9, qword [rbp - 0x98]
mov r8b, byte [rbp - 0x31]
mov byte [r9 + r10], r8b
mov r10d, r10d
lea r10, [r10 + 1]
mov dword [rbp - 0x74], r10d
movabs r10, 0xeab0
mov r9d, dword [rbp - 0x74]
cmp r10, r9
jg 0x1400026fc
mov r10, qword [rbp - 0xa8]
add r10, qword [rbp - 0x70]
mov qword [rbp - 0xa8], r10
mov r10, qword [rbp - 0x50]
add r10, qword [rbp - 0x70]
mov qword [rbp - 0x50], r10
mov r10, qword [rbp - 0x50]
mov r10d, dword [r10]
mov dword [rbp - 0xd8], r10d
mov dword [rbp - 0x78], 0x45e
mov r10, qword [rbp - 0x60]
sub r10, 0
mov dword [rbp - 0x7c], r10d
mov r10d, dword [rbp - 0x78]
movabs r9, 3
imul r10, r9
mov dword [rbp - 0x78], r10d
movabs r9, 0x2e6
add r10, r9
mov dword [rbp - 0x78], r10d
mov r10, qword [rbp - 0x90]
mov r9, qword [rbp - 0x60]
lea r10, [r10 + r9 + 8]
mov r9d, dword [rbp - 0x7c]
add r10, r9
add r10, qword [rbp - 0x50]
mov qword [rbp - 0xd0], r10
mov r10d, dword [rbp - 0x78]
mov r9, r12
sub r9, r10
mov qword [rbp - 0xb8], r9
mov r10, qword [rbp - 0xd0]
mov r10w, word [r10]
mov word [rbp - 0xaa], r10w
movzx r10d, word [rbp - 0xaa]
mov dword [rbp - 0xec], r10d
mov rax, 0x24
and al, 0
add byte [rax], al
mov r10, qword [rbp - 0x68]
cqo
idiv r10
mov rcx, rax
movsxd r10, dword [rbp - 0xec]
shl r10d, cl
mov word [rbp - 0x82], r10w
movzx r10d, word [rbp - 0x82]
mov r9, qword [rbp - 0x68]
add r9, qword [rbp - 0x58]
mov rcx, r9
sub rcx, 0x13
sar r10d, cl
mov word [rbp - 0x82], r10w
mov r10, qword [rbp - 0x58]
sub r10, 0xe
movzx r9d, word [rbp - 0xaa]
mov r9d, r9d
cmp r10, r9
je 0x140002976
movzx r10d, word [rbp - 0xaa]
mov r9, qword [rbp - 0x68]
cdqe
mov rcx, r9
add rcx, 3
sar r10d, cl
mov word [rbp - 0xd2], r10w
mov r10, qword [rbp - 0xb8]
sub r10, qword [rbp - 0xc8]
mov qword [rbp - 0xe8], r10
mov r10d, dword [rbp - 0x7c]
mov r9, qword [rbp - 0x60]
sub r9, 0
cmp r10, r9
je 0x1400028be
mov r10, qword [rbp - 0x58]
sub r10, 0xe
movzx r9d, word [rbp - 0x82]
mov r9d, r9d
mov ecx, ecx
cmp r10, r9
je 0x140002976
invalid
invalid