Function at 0x14049ce90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
jmp 0x14049ceb8
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
bts bp, r10w
movzx ebp, dx
mov qword [rax + 0x18], rsi
shl bp, 0xfd
not bpl
mov qword [rax + 0x20], rdi
sbb rbp, 0x8297059
neg bp
push r14
sub rsp, 0x60
ror bpl, cl
test r12b, 0xa5
mov qword [rsp + 0x20], rdx
bswap edi
xor bpl, dl
mov rdi, rdx
movaps xmmword [rax - 0x18], xmm6
movzx bp, r8b
mov rbp, rcx
rol rcx, 0x65
mov qword [rsp + 0x30], rdx
bsr edx, r14d
stc
bswap rdx
xor ebx, ebx
mov dword [rsp + 0x28], ebx
lea rdx, [rax - 0x28]
bswap ecx
xchg cl, cl
movaps xmm6, xmmword [rsp + 0x20]
cmovb ecx, ebx
bswap cx
movsxd rcx, r12d
mov rcx, rdi
jmp 0x14049cf3c
movdqa xmmword [rax - 0x28], xmm6
mov r14d, r8d
test ecx, 0x353f7dbc
xor esi, esi
jmp 0x14049cf51
call fcn.1401dac16
mov r9d, dword [rdi]
jmp 0x14049cf5e
xor edx, edx
jmp 0x14049cf69
test r9d, r9d
je 0x14049d0e3
mov r8, qword [rdi + 8]
movzx eax, bp
btc r10d, 4
lahf
lea r10, [0x140000000]
and al, r10b
mov rax, qword [rdi + 0x18]
bts cx, r14w
add cx, sp
mov ecx, ebx
cmp r14d, eax
jmp 0x14049cf9f
jl 0x14049cfd7
shr rax, 0x20
cmp al, sil
cmp r14d, eax
jmp 0x14049cfb4
jg 0x14049cfd7
test ecx, ecx
mov ebx, edx
mov esi, edx
movsxd rax, r9d
cmove ebx, ecx
movzx cx, r9b
mov dword [rsp + 0x28], ebx
movaps xmm6, xmmword [rsp + 0x20]
movsx ecx, ax
movzx ecx, byte [r8]
inc edx
and al, 0x3b
and ecx, 0xf
movsx rax, byte [rcx + r10 + 0xc1a30]
test r11, 0x3e2a37af
cmc
mov cl, byte [rcx + r10 + 0xc1a40]
test spl, al
sub r8, rax
and al, sil
shr ah, 0xd8
mov eax, dword [r8 - 4]
jmp 0x14049d017
shr eax, cl
mov qword [rdi + 8], r8
btr cx, 0x74
sal cl, cl
mov dword [rdi + 0x18], eax
movzx rax, r9w
sub al, bpl
clc
movzx ecx, byte [r8]
and ecx, 0xf
mov ax, 0x15fb
movsx rax, byte [rcx + r10 + 0xc1a30]
clc
cmp r14, r14
mov cl, byte [rcx + r10 + 0xc1a40]
test r9, rbx
sub r8, rax
mov eax, dword [r8 - 4]
shr eax, cl
rol ch, 0xcf
shrd cx, r9w, 0xb6
sar ch, 0x88
mov qword [rdi + 8], r8
mov dword [rdi + 0x1c], eax
sar rcx, 0x5e
cmp cl, 0x49
bsr rcx, r8
movzx ecx, byte [r8]
rcl ah, cl
adc al, 0x5e
and ecx, 0xf
and rax, 0x1f0309d9
cmp r15b, spl
shl ax, 0x6a
movsx rax, byte [rcx + r10 + 0xc1a30]
cmc
mov cl, byte [rcx + r10 + 0xc1a40]
stc
jmp 0x14049d0aa
sub r8, rax
adc ah, 0x22
mov eax, dword [r8 - 4]
test r14b, 0x1a
shr eax, cl
cmc
mov qword [rdi + 8], r8
cmc
mov dword [rdi + 0x20], eax
movsx ax, r8b
mov eax, dword [r8]
add r8, 4
mov qword [rdi + 8], r8
cmp bpl, 0x75
mov dword [rdi + 0x24], eax
cmp edx, r9d
jne 0x14049cf89
inc esi
jmp 0x14049d0ea
movdqa xmmword [rsp + 0x40], xmm6
lea rdx, [rsp + 0x40]
movzx rcx, sp
mov dword [rsp + 0x38], esi
xchg rcx, rcx
movzx ecx, dx
movzx cx, dil
mov rcx, rdi
call fcn.1401dac16
movups xmm0, xmmword [rsp + 0x30]
lea r11, [rsp + 0x60]
mov rax, rbp
cmova di, r8w
movsx rdi, r10w
mov rbx, qword [r11 + 0x10]
movzx r14w, r15b
mov rsi, qword [r11 + 0x20]
movzx di, spl
movsx rdi, r10w
movzx r14d, bp
mov rdi, qword [r11 + 0x28]
movsx r14, r14w
mov r14b, r8b
movdqu xmmword [rbp], xmm6
movaps xmm6, xmmword [rsp + 0x50]
movsxd r14, eax
movdqu xmmword [rbp + 0x10], xmm0
movsx r14, bp
movsxd r14, r10d
movsx bp, bpl
mov rbp, qword [r11 + 0x18]
movzx r14, sp
movsxd r14, ebx
mov rsp, r11
jmp 0x14049d181
pop r14
jmp 0x14049d188
ret