Function at 0x10000124c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rbp - 0x40], 6
mov r13, 7
mov rax, 0x54
mov r10, qword [rbp - 0x40]
cqo
idiv r10
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], 9
xor r15d, r15d
mov r10, qword [rbp - 0x58]
mov r14, r10
sub r14, 9
movabs r10, 0x24ad
mov qword [rbp - 0xb8], r10
mov edi, 0x68c297cd
mov r14d, 0x7f15
mov r10, qword [rbp - 0xb8]
movabs r9, 3
mov r15, r10
imul r15, r9
mov r10d, r14d
movabs r9, 0x2044
mov r14, r10
add r14, r9
movabs r10, 0x100000000
mov qword [rbp - 0x60], r10
add r15, qword [rbp - 0x60]
mov r10, qword [rbp - 0x40]
mov r12, r10
sub r12, 6
mov esi, 0x1e4b
movabs r10, 0x741
add r15, r10
mov r10d, r14d
movabs r9, 0x454a7
mov r14, r10
add r14, r9
sub edi, 1
sub r15, rsi
mov r10, qword [rbp - 0x40]
sub r10, 3
mov r9d, esi
mov r11, r10
add r11, r9
jmp 0x1000013a2
mov r10d, r11d
mov r10b, byte [r15 + r10]
mov byte [rbp - 0x31], r10b
movzx r10d, byte [rbp - 0x31]
mov dword [rbp - 0xf4], r10d
mov eax, r12d
mov qword [rbp - 0xf0], rax
mov rax, 0x2a
cqo
idiv r13
mov r10, rax
mov rax, qword [rbp - 0xf0]
cqo
idiv r10
mov r10d, edi
mov r9, rax
add r9, r10
movzx r10d, r9b
movsxd r9, dword [rbp - 0xf4]
xor r9d, r10d
mov byte [rbp - 0x31], r9b
mov r10d, r11d
mov r9b, byte [rbp - 0x31]
mov byte [r15 + r10], r9b
lea r11, [r11 + 1]
mov r10d, esi
add r10d, r14d
cmp r11d, r10d
jb 0x10000133c
mov qword [rbp - 0x88], 0x7948
lea r12, [r12 + 1]
mov qword [rbp - 0x78], 0x8e000
mov r10, qword [rbp - 0x60]
add qword [rbp - 0x78], r10
mov r10, qword [rbp - 0x60]
add qword [rbp - 0x88], r10
mov r10, qword [rbp - 0x50]
sub r10, 8
mov r9d, r12d
cmp r10, r9
jge 0x100001329
mov qword [rbp - 0x90], 0x1c9000
mov r10, qword [rbp - 0x50]
sub r10, 0xe
mov dword [rbp - 0x64], r10d
mov r10d, dword [rbp - 0x64]
mov r9, qword [rbp - 0x88]
mov r10b, byte [r9 + r10]
mov byte [rbp - 0x31], r10b
mov r10d, dword [rbp - 0x64]
mov r9, qword [rbp - 0x78]
mov r8b, byte [rbp - 0x31]
mov byte [r9 + r10], r8b
mov r10d, r10d
lea r10, [r10 + 1]
mov dword [rbp - 0x64], r10d
movabs r9, 0x3dbf0
cmp r10, r9
jl 0x100001403
mov qword [rbp - 0x98], 0x46d48
mov r10, qword [rbp - 0x60]
add qword [rbp - 0x90], r10
mov r10, qword [rbp - 0x60]
add qword [rbp - 0x98], r10
mov r10, qword [rbp - 0x58]
add r10, qword [rbp - 0x40]
sub r10, 0xf
mov dword [rbp - 0x68], r10d
mov r10d, dword [rbp - 0x68]
lea r10, [r10 + 1]
mov dword [rbp - 0x68], r10d
mov r9, qword [rbp - 0x90]
mov r8, r13
add r8, qword [rbp - 0x40]
sub r8, 0xc
mov rdx, r10
sub rdx, r8
mov qword [rbp - 0xf0], rdx
mov r8, qword [rbp - 0x98]
mov rax, 7
cqo
idiv r13
sub r10, rax
mov r10b, byte [r10 + r8]
mov r8, qword [rbp - 0xf0]
mov byte [r8 + r9], r10b
mov r10d, dword [rbp - 0x68]
movabs r9, 0xe0a0
cmp r10, r9
jl 0x100001471
mov qword [rbp - 0x48], 0x56348
movabs r10, 0x57134
mov qword [rbp - 0xa0], r10
movabs r10, 0x8000000
mov qword [rbp - 0xc0], r10
mov r10, qword [rbp - 0xa0]
add r10, qword [rbp - 0x60]
mov qword [rbp - 0xa0], r10
mov r10, qword [rbp - 0x48]
add r10, qword [rbp - 0x60]
mov qword [rbp - 0x48], r10
mov dword [rbp - 0x6c], 0x3ca
mov r10, qword [rbp - 0x48]
mov r10d, dword [r10]
mov dword [rbp - 0xd0], r10d
mov dword [rbp - 0xe4], 0x13c000
mov r10, qword [rbp - 0x50]
sub r10, 0xe
mov dword [rbp - 0x70], r10d
mov r10d, dword [rbp - 0x6c]
movabs r9, 4
imul r10, r9
mov dword [rbp - 0x6c], r10d
movabs r9, 0xd8
add r10, r9
mov dword [rbp - 0x6c], r10d
mov r10, qword [rbp - 0x48]
mov r9d, dword [rbp - 0x70]
add r10, r9
mov qword [rbp - 0xf8], r10
mov rax, 0x30
mov r10, qword [rbp - 0x40]
cqo
idiv r10
mov r10, qword [rbp - 0xf8]
add r10, rax
mov qword [rbp - 0xc8], r10
mov r10, qword [rbp - 0x78]
mov r9d, dword [rbp - 0x6c]
sub r10, r9
mov qword [rbp - 0xb0], r10
mov r10, qword [rbp - 0xc8]
mov r10w, word [r10]
mov word [rbp - 0xa2], r10w
movzx r10d, word [rbp - 0xa2]
mov dword [rbp - 0xfc], r10d
mov rax, 0x24
mov r10, qword [rbp - 0x58]
cqo
idiv r10
mov rcx, rax
movsxd r10, dword [rbp - 0xfc]
shl r10d, cl
mov word [rbp - 0x7a], r10w
movzx r10d, word [rbp - 0x7a]
mov r9, qword [rbp - 0x50]
mov rcx, r9
sub rcx, 0xa
sar r10d, cl
mov word [rbp - 0x7a], r10w
mov r10, qword [rbp - 0x40]
add r10, qword [rbp - 0x58]
sub r10, 0xf
movzx r9d, word [rbp - 0xa2]
mov r9d, r9d
cmp r10, r9
je 0x100001724
movzx r10d, word [rbp - 0xa2]
mov r9, qword [rbp - 0x50]
mov rcx, r9
sub rcx, 2
sar r10d, cl
mov word [rbp - 0xca], r10w
invalid
invalid
xchg ebp, eax