Function at 0x140458a86
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
clc
mov qword [rax + 0x10], rbp
btc bp, 6
movzx ebp, r9w
rcl bpl, 0x56
mov qword [rax + 0x18], rsi
btr bp, 0x6b
mov qword [rax + 0x20], rdi
bsf di, cx
push r14
neg bpl
rcl di, 7
sub rsp, 0x60
bsr edi, esp
btc di, 0xba
mov qword [rsp + 0x20], rdx
rol rbp, 0x30
mov rdi, rdx
movaps xmmword [rax - 0x18], xmm6
movzx rbp, r12w
inc bpl
sub ebp, 0x6ef87d5c
mov rbp, rcx
mov qword [rsp + 0x30], rdx
xor ebx, ebx
movsxd rcx, ebp
seto ch
bswap cx
mov dword [rsp + 0x28], ebx
bswap cx
mov cl, ch
cdq
lea rdx, [rax - 0x28]
movaps xmm6, xmmword [rsp + 0x20]
bswap cx
mov rcx, rdi
jmp 0x140458b13
movdqa xmmword [rax - 0x28], xmm6
mov r14d, r8d
cmp r14w, dx
clc
xor esi, esi
jmp 0x140458b27
call fcn.140164ba4
mov r9d, dword [rdi]
cmc
xor edx, edx
jmp 0x140458b37
test r9d, r9d
jmp 0x140458b3f
je 0x140458cca
mov r8, qword [rdi + 8]
lea r10, [0x140004000]
clc
cmovne eax, ecx
mov rax, qword [rdi + 0x18]
shl ecx, 0x73
movzx ecx, r10w
neg ch
mov ecx, ebx
cmc
cmp r14d, eax
jmp 0x140458b6c
jl 0x140458baa
shr rax, 0x20
test r8w, sp
cmp r14d, eax
jg 0x140458baa
test ecx, ecx
bswap rax
mov ebx, edx
movzx esi, r8w
mov sil, 0x33
mov esi, edx
setae ah
cmove ebx, ecx
dec cx
mov dword [rsp + 0x28], ebx
movaps xmm6, xmmword [rsp + 0x20]
cbw
mov cl, 0x46
lahf
movzx ecx, byte [r8]
lahf
inc edx
stc
and ecx, 0xf
movsx rax, byte [rcx + r10 + 0xbca20]
test ebp, 0x12fd0acc
stc
jmp 0x140458bca
mov cl, byte [rcx + r10 + 0xbca30]
sub r8, rax
mov eax, dword [r8 - 4]
stc
shr eax, cl
shrd rcx, rax, 0x63
sub ecx, 0x426622a2
mov qword [rdi + 8], r8
cmp al, 0x16
bsf cx, r8w
bt cx, 0x59
mov dword [rdi + 0x18], eax
or al, 0xfa
bswap ax
bt ax, 0
movzx ecx, byte [r8]
and ecx, 0xf
and al, bpl
dec ah
movsx rax, byte [rcx + r10 + 0xbca20]
clc
mov cl, byte [rcx + r10 + 0xbca30]
test bp, 0x14c6
cmp r11b, 0xf1
sub r8, rax
movzx eax, r15w
or ax, ax
mov eax, dword [r8 - 4]
shr eax, cl
mov qword [rdi + 8], r8
adc rcx, r8
shl rcx, 0x8b
mov dword [rdi + 0x1c], eax
xor ah, 0x49
or eax, ebp
movzx ecx, byte [r8]
movzx eax, ax
and ecx, 0xf
movsx rax, byte [rcx + r10 + 0xbca20]
cmp spl, 0xca
test rdi, 0x30386a41
clc
mov cl, byte [rcx + r10 + 0xbca30]
sub r8, rax
mov eax, dword [r8 - 4]
stc
test sil, cl
cmc
shr eax, cl
clc
test r14w, r13w
cmp spl, 0xaa
mov qword [rdi + 8], r8
jmp 0x140458c9a
mov dword [rdi + 0x20], eax
mov eax, dword [r8]
cmp r8w, 0x374a
test eax, r14d
clc
add r8, 4
clc
test r15w, 0x4e6f
mov qword [rdi + 8], r8
mov dword [rdi + 0x24], eax
cmp edx, r9d
jmp 0x140458cc4
jne 0x140458b54
inc esi
jmp 0x140458cd1
movdqa xmmword [rsp + 0x40], xmm6
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x38], esi
mov rcx, rdi
jmp 0x140458ce8
call fcn.140164ba4
movups xmm0, xmmword [rsp + 0x30]
movzx r11d, ax
movzx r14, r11w
cbw
lea r11, [rsp + 0x60]
lahf
mov rax, rbp
mov sil, 0x56
mov rbx, qword [r11 + 0x10]
xchg sil, dil
mov rsi, qword [r11 + 0x20]
movsx r14, r15w
setbe dil
mov rdi, qword [r11 + 0x28]
movsxd r14, edi
movdqu xmmword [rbp], xmm6
movsxd r14, r15d
movaps xmm6, xmmword [rsp + 0x50]
mov r14b, spl
bswap r14d
xchg r14b, r14b
movdqu xmmword [rbp + 0x10], xmm0
mov rbp, qword [r11 + 0x18]
mov rsp, r11
movzx r14, r9w
cmovge r14d, r9d
pop r14
jmp 0x140458d53
ret