Function at 0x100017230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rsi
dec rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov r11, 8
mov rax, 0x38
cqo
idiv r11
mov r14, rax
mov dword [rbp - 0x58], 0x94f4c1f8
test al, 0xf8
sal esp, 0x94
movabs r10, 0x25e0
mov qword [rbp - 0x98], r10
movabs r9, 0xf
mov r13, r10
imul r13, r9
mov dword [rbp - 0x38], 0x67d2
mov r10d, dword [rbp - 0x38]
movabs r9, 0x5cbc
add r10, r9
mov dword [rbp - 0x38], r10d
movabs r12, 0x100000000
add r13, r12
mov r10, r14
sub r10, 7
mov dword [rbp - 0x48], r10d
mov r10d, dword [rbp - 0x38]
movabs r9, 0x45372
add r10, r9
mov dword [rbp - 0x38], r10d
mov dword [rbp - 0x5c], 0x2583
movabs r10, 0x460
add r13, r10
mov r10d, dword [rbp - 0x58]
sub r10d, 1
mov dword [rbp - 0x58], r10d
mov r10d, dword [rbp - 0x5c]
sub r13, r10
mov eax, dword [rbp - 0x48]
mov r10, r14
sub r10, 3
cqo
idiv r10
mov dword [rbp - 0x9c], eax
mov r10, r14
sub r10, 4
mov r9d, dword [rbp - 0x5c]
mov rdi, r10
add rdi, r9
mov r10d, edi
mov r10b, byte [r13 + r10]
mov byte [rbp - 0x31], r10b
movzx r10d, byte [rbp - 0x31]
mov r9d, dword [rbp - 0x58]
mov r8d, dword [rbp - 0x9c]
mov eax, dword [rbp - 0x9c]
add r9d, r8d
movzx r9d, r9b
xor r10d, r9d
mov byte [rbp - 0x31], r10b
mov r10d, edi
mov r9b, byte [rbp - 0x31]
mov byte [r13 + r10], r9b
lea rdi, [rdi + 1]
mov r10d, dword [rbp - 0x38]
mov r9d, dword [rbp - 0x5c]
add r10d, r9d
cmp edi, r10d
jae 0x1000171fa
jmp 0x1000171ae
mov qword [rbp - 0x68], 0x24080
mov r10d, dword [rbp - 0x48]
lea r10, [r10 + 1]
mov dword [rbp - 0x48], r10d
mov qword [rbp - 0x50], 0xaf000
add qword [rbp - 0x68], r12
add qword [rbp - 0x50], r12
mov rax, 0x20
cqo
idiv r11
mov r10d, r10d
cmp rax, r10
jge 0x100017188
mov r10, r11
sub r10, 8
mov dword [rbp - 0x3c], r10d
mov r10d, dword [rbp - 0x3c]
mov r9, qword [rbp - 0x68]
mov r10b, byte [r9 + r10]
mov byte [rbp - 0x31], r10b
mov r10d, dword [rbp - 0x3c]
lea r10, [r10 + 1]
mov dword [rbp - 0x3c], r10d
mov r10, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x3c]
mov r8, r11
sub r8, 7
sub r9, r8
mov r8b, byte [rbp - 0x31]
mov byte [r9 + r10], r8b
movabs r10, 0x3f9d0
mov r9d, dword [rbp - 0x3c]
cmp r10, r9
jg 0x100017241
mov qword [rbp - 0x70], 0x1ec000
mov qword [rbp - 0x78], 0x65280
add qword [rbp - 0x78], r12
add qword [rbp - 0x70], r12
movabs r10, 0x8000000
mov qword [rbp - 0xa8], r10
mov r15, 0x74e80
mov r10, r11
sub r10, 8
mov dword [rbp - 0x40], r10d
mov r10d, dword [rbp - 0x40]
mov r9, qword [rbp - 0x78]
mov r10b, byte [r9 + r10]
mov byte [rbp - 0x31], r10b
mov r10d, dword [rbp - 0x40]
lea r10, [r10 + 1]
mov dword [rbp - 0x40], r10d
mov r10, qword [rbp - 0x70]
mov r9d, dword [rbp - 0x40]
mov r8, r14
add r8, r11
sub r8, 0xe
sub r9, r8
mov r8b, byte [rbp - 0x31]
mov byte [r9 + r10], r8b
mov r10d, dword [rbp - 0x40]
movabs r9, 0xe690
cmp r10, r9
jl 0x1000172c5
movabs r10, 0x75ca8
mov qword [rbp - 0x80], r10
add qword [rbp - 0x80], r12
add r15, r12
mov r10d, dword [r15]
mov dword [rbp - 0xb8], r10d
mov dword [rbp - 0xcc], 0x13e000
mov esi, 0x154
mov r10, r11
sub r10, 8
mov dword [rbp - 0x44], r10d
mov r10d, esi
movabs r9, 0xc
mov rsi, r10
imul rsi, r9
mov r10d, esi
movabs r9, 0x10
mov rsi, r10
mov esi, edx
add rsi, r9
mov r10, r14
add r10, r11
sub r10, 7
mov r9, r15
add r9, r10
mov r10d, dword [rbp - 0x44]
add r9, r10
mov qword [rbp - 0xb0], r9
mov r10, qword [rbp - 0x50]
sub r10, rsi
mov qword [rbp - 0x90], r10
mov r10, qword [rbp - 0xb0]
mov r10w, word [r10]
mov word [rbp - 0x82], r10w
invalid
invalid
mov bh, 0x95