Function at 0x140482e49
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xchg r15, rbx
mov qword [rsp + 0x20], r15
xchg r15, rbx
nop
mov qword [rsp - 8], rsi
sub rsp, 8
nop
mov qword [rsp - 8], r12
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], r14
sub rsp, 0x20
xchg r9, r9
xchg r13, rax
mov r13, qword [rcx + 8]
xchg r13, rax
xor r12d, r12d
mov dword [rsp - 0x38], esi
xchg rsi, rdi
mov rdi, rcx
xchg rsi, rdi
test rax, rax
je 0x140483093
mov rcx, qword [rcx + 0x10]
xchg r11, r11
cmp rax, rcx
jb 0x140483085
add rcx, qword [rsi + 0x18]
xchg rcx, r11
mov qword [rsi + 0x10], r11
xchg r11, rcx
xchg r13, rbp
mov qword [rsp + 0x40], r13
xchg rbp, r13
mov qword [rsp + 0x48], rdi
xchg r14, r14
lea rcx, [rcx + rcx*4]
shl rcx, 1
shl rcx, 4
shl rcx, 1
call fcn.1400bc380
xchg rcx, rcx
xchg r15, rax
mov r14, r15
xchg r15, rax
mov ebp, r12d
mov r14, r14
xchg rbp, rax
mov rbp, qword [rsi + 8]
xchg rbp, rax
test rax, rax
je 0x140483005
xchg r8, r15
mov qword [rsp + 0x50], r8
xchg r15, r8
lea rbx, [r14 + 0x78]
nop
movabs r15, 0xffffffff0d794555
xor r15, 0x345eede9
xor r15, 0x6626f0a6
xor r15, 0x3f5e9e70
add r15, 0x7fffffff
add r15, 0x1fa0391f
sub r15, r14
xchg r9, r9
nop dword [rax]
nop word [rax + rax]
lea rax, [rbx - 0x70]
xorps xmm0, xmm0
mov dword [rsp - 0x40], 0x61e32f7f
xchg rsp, rax
mov qword [rbx - 0x78], rsp
xchg rsp, rax
lea rcx, [rbx - 0x78]
xchg r9, rax
movups xmmword [r9], xmm0
xchg r9, rax
lea rdi, [r15 + rbx]
mov dword [rsp - 0x40], esi
add rdi, qword [rsi]
xchg rdx, rax
movups xmmword [rdx + 0x10], xmm0
xchg rdx, rax
movups xmmword [rax + 0x20], xmm0
xchg rdx, r12
mov r12, qword [rdi + 0x38]
xchg rdx, r12
xchg r12, rdx
mov qword [rbx - 0x40], r12
xchg rdx, r12
call fcn.140018ab0
mov dword [rsp - 0x14], 0x7578d23a
xchg rdi, r8
mov rdi, r12
xchg rdi, r8
cmp qword [rbx - 0x40], r12
xchg rcx, rcx
jbe 0x140482da5
nop word [rax + rax]
xchg rdx, rcx
mov rdx, qword [rdi]
xchg rdx, rcx
movzx edx, word [rcx + r8*2]
xchg rbx, rbx
mov word [rax + r8*2], dx
inc r8
cmp r8, qword [rbx - 0x40]
xchg rdi, rdi
jb 0x140482d7f
lea rax, [rbx - 0x30]
xorps xmm0, xmm0
mov qword [rbx - 0x38], rax
mov dword [rsp - 0x18], 0x23d426e0
lea rcx, [rbx - 0x38]
xchg r14, rax
movups xmmword [r14], xmm0
xchg r14, rax
xchg r11, rax
movups xmmword [r11 + 0x10], xmm0
xchg r11, rax
movups xmmword [rax + 0x20], xmm0
xchg r11, r11
mov rdx, qword [rdi + 0x78]
mov qword [rbx], rdx
call fcn.140018ab0
xchg rbx, rbx
xchg rsp, r12
mov r8, rsp
xchg r12, rsp
cmp qword [rbx], r12
jbe 0x140482e2f
mov rsi, rsi
nop dword [rax]
nop dword [rax + rax]
xchg rbp, rcx
mov rbp, qword [rdi + 0x40]
xchg rbp, rcx
movzx edx, word [rcx + r8*2]
mov dword [rsp - 0x38], 0x3aceb86e
mov word [rax + r8*2], dx
inc r8
cmp r8, qword [rbx]
xchg rbp, rbp
jb 0x140482e04
lea rax, [rbx + 0x10]
xorps xmm0, xmm0
mov r15, r15
mov qword [rbx + 8], rax
lea rcx, [rbx + 8]
movups xmmword [rax], xmm0
xchg r11, r11
xchg r9, rax
movups xmmword [r9 + 0x10], xmm0
xchg r9, rax
xchg r9, rax
movups xmmword [r9 + 0x20], xmm0
xchg r9, rax
xchg r10, rdx
mov r10, qword [rdi + 0xb8]
xchg r10, rdx
xchg rdx, r12
mov qword [rbx + 0x40], r12
xchg rdx, r12
call fcn.140018ab0
mov r13, r13
xchg rdx, r8
mov rdx, r12
xchg r8, rdx
cmp qword [rbx + 0x40], r12
mov dword [rsp - 0x34], esi
jbe 0x140482eba
nop dword [rax]
mov rcx, qword [rdi + 0x80]
movzx edx, word [rcx + r8*2]
mov r11, r11
mov word [rax + r8*2], dx
inc r8
cmp r8, qword [rbx + 0x40]
jb 0x140482e96
mov rbx, rbx
lea rax, [rbx + 0x50]
xorps xmm0, xmm0
xchg r12, rax
mov qword [rbx + 0x48], r12
xchg r12, rax
lea rcx, [rbx + 0x48]
mov dword [rsp - 0x10], edx
xchg rbx, rax
movups xmmword [rbx], xmm0
xchg rbx, rax
movups xmmword [rax + 0x10], xmm0
xchg r8, rax
movups xmmword [r8 + 0x20], xmm0
xchg r8, rax
mov rdx, qword [rdi + 0xf8]
mov qword [rbx + 0x80], rdx
mov dword [rsp - 0x44], 0x47af400
call fcn.140018ab0
xchg rsi, r12
mov r8, rsi
xchg rsi, r12
cmp qword [rbx + 0x80], r12
mov dword [rsp - 0x18], ebp
jbe 0x140482f48
xchg r13, rcx
mov r13, qword [rdi + 0xc0]
xchg r13, rcx
movzx edx, word [rcx + r8*2]
xchg rbx, rbx
mov word [rax + r8*2], dx
inc r8
cmp r8, qword [rbx + 0x80]
jb 0x140482f1a
mov dword [rsp - 0x14], esi
lea rax, [rbx + 0x90]
xorps xmm0, xmm0
lea rcx, [rbx + 0x88]
mov rdi, rdi
mov qword [rcx], rax
xchg rbp, rax
movups xmmword [rbp], xmm0
xchg rbp, rax
xchg r11, rax
movups xmmword [r11 + 0x10], xmm0
xchg r11, rax
movups xmmword [rax + 0x20], xmm0
xchg rdx, rcx
mov rcx, qword [rdi + 0x138]
xchg rdx, rcx
xchg rdi, rdx
mov qword [rbx + 0xc0], rdi
xchg rdx, rdi
call fcn.140018ab0
xchg r12, rdi
mov r8, rdi
xchg r12, rdi
cmp qword [rbx + 0xc0], r12
jbe 0x140482fdb
xchg r14, r14
nop
xchg rcx, r9
mov r9, qword [rdi + 0x100]
xchg r9, rcx
movzx edx, word [rcx + r8*2]
xchg r9, r9
mov word [rax + r8*2], dx
inc r8
cmp r8, qword [rbx + 0xc0]
xchg r12, r12
jb 0x140482fae
mov rax, qword [rsi + 8]
inc rbp
neg rbx
add rbx, 0xfffffffffffffec0
neg rbx
cmp rbp, rax
jb 0x140482d05
mov r15, qword [rsp + 0x50]
mov dword [rsp - 0x38], 0x37ad4026
xchg rbp, rdx
mov rdx, qword [rsp + 0x40]
xchg rbp, rdx
cmp qword [rsi], r12
je 0x140483078
xchg r9, r12
mov rdi, r9
xchg r12, r9
test rax, rax
mov r10, r10
je 0x140483062
xchg r12, rbp
mov rbx, rbp
xchg rbp, r12
nop
mov rcx, qword [rsi]
add rcx, rbx
mov rsi, rsi
call fcn.140487d40
inc rdi
add rbx, 0x4e67dd15
sub rbx, 0x4e67dbd5
cmp rdi, qword [rsi + 8]
jb 0x140483039
xchg rcx, r9
mov r9, qword [rsi]
xchg r9, rcx
call fcn.1400bc0d0
mov dword [rsp - 0x40], 0x6bebb831
mov rdi, qword [rsp + 0x48]
mov qword [rsi], r14
jmp 0x1404830ce
xchg r9, r14
mov r9, qword [rsi]
xchg r14, r9
jmp 0x1404830ce
xchg r14, rsi
mov rsi, qword [rcx]
xchg r14, rsi
test r14, r14
jne 0x1404830ce
mov rax, qword [rcx + 0x18]
xchg rbx, rbx
mov qword [rcx + 0x10], rax
lea rcx, [rax + rax*4]
shl rcx, 6
call fcn.1400bc380
mov r11, r11
xchg r14, rax
mov rax, r14
xchg r14, rax
xchg rdi, rax
mov qword [rsi], rdi
xchg rdi, rax
xchg r13, rax
mov r13, qword [rsi + 8]
xchg r13, rax
xor edx, edx
mov r8d, 0x177dbe8b
add r8d, 0x1ff276c3
sub r8d, 0x1af7ddae
xor r8d, 0x7bb57951
sub r8d, 0x67cd2db1
lea rbx, [rax + rax*4]
shl rbx, 2
shl rbx, 3
shl rbx, 1
add rbx, r14
inc rax
xchg rsp, rsp
xchg rbx, rcx
mov rbx, rcx
xchg rcx, rbx
xchg r14, rax
mov qword [rsi + 8], r14
xchg r14, rax
call fcn.1400bc6c0
xorps xmm0, xmm0
mov rsi, rsi
lea rcx, [rbx + 0xc8]
lea rax, [rbx + 8]
xchg r8, rax
mov qword [rbx], r8
xchg r8, rax
lea rax, [rbx + 0x48]
xchg r13, r13
mov qword [rbx + 0x40], rax
movups xmmword [rax], xmm0
xchg r11, rax
movups xmmword [r11 + 0x10], xmm0
xchg r11, rax
xchg rsi, rax
movups xmmword [rsi + 0x20], xmm0
xchg rsi, rax
mov qword [rbx + 0x78], r12
xchg rsi, rsi
lea rax, [rbx + 0x88]
mov qword [rbx + 0x80], rax
xchg rbx, rax
movups xmmword [rbx], xmm0
xchg rbx, rax
xchg r11, rax
movups xmmword [r11 + 0x10], xmm0
xchg r11, rax
xchg r15, rax
movups xmmword [r15 + 0x20], xmm0
xchg r15, rax
mov qword [rbx + 0xb8], r12
xchg rdi, rbx
mov rax, rdi
xchg rdi, rbx
xchg rcx, rdi
mov qword [rbx + 0xc0], rdi
xchg rdi, rcx
xchg rdi, rcx
movups xmmword [rdi], xmm0
xchg rdi, rcx
xchg rcx, r13
movups xmmword [r13 + 0x10], xmm0
xchg rcx, r13
xchg r15, rcx
movups xmmword [r15 + 0x20], xmm0
xchg rcx, r15
mov qword [rbx + 0xf8], r12
lea rcx, [rbx + 0x108]
mov r11, r11
xchg rcx, r11
mov qword [rbx + 0x100], r11
xchg rcx, r11
movups xmmword [rcx], xmm0
mov rsp, rsp
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
xchg r12, r13
mov qword [rbx + 0x138], r13
xchg r12, r13
xchg r15, rbx
mov r15, qword [rsp + 0x58]
xchg rbx, r15
nop
add rsp, 0x2900f759
sub rsp, 0x2900f739
pop r14
mov dword [rsp - 0x38], 0x6707e899
nop
add rsp, 8
mov r12, qword [rsp - 8]
pop rsi
mov dword [rsp - 0xc], 0x7eedfe9c
ret