Function at 0x1406a0016
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0xa8
bts eax, ebx
mov rax, qword [0x1400cb7b8]
cmc
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], 0
cmp ebp, 0x938ca3a7
shl ax, 0x97
xor al, r10b
mov rax, qword [rsp + 0x20]
clc
cmp qword [rax + 0x1a98], 0
jmp 0x1406a0056
je 0x1406a00b6
mov rax, qword [rsp + 0x20]
test dl, r9b
cmp r11, r8
clc
mov rax, qword [rax + 0x1a98]
test r12b, 0xbc
jmp 0x1406a0078
mov eax, dword [rax + 0xc]
test spl, r12b
and eax, 0x200
cmp r8b, bl
clc
test eax, eax
jne 0x1406a00b6
mov rax, qword [rsp + 0x20]
stc
cmp r8b, 0xb0
test r12b, 0x1b
mov rax, qword [rax + 0x1a98]
test rbx, 0x5c252d1a
mov qword [rsp + 0x38], rax
shl al, 0xa9
rcr ax, cl
mov rax, qword [rsp + 0x20]
test r9b, 1
test spl, bpl
mov rax, qword [rax + 0x15c0]
stc
test r11b, 0x8f
mov qword [rsp + 0x50], rax
adc ax, ax
shr al, cl
mov rax, qword [rsp + 0x20]
test r10b, r11b
test r12b, 0xba
stc
movzx eax, byte [rax + 0xcb]
test eax, eax
jmp 0x1406a00f3
je 0x1406a0156
movss xmm0, dword [0x1400c0a1c]
movss dword [rsp + 0x40], xmm0
clc
movss xmm0, dword [0x1400c0a1c]
mov ax, dx
and rdx, rax
movss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x20]
add rax, 0x15c0
lea r8, [rsp + 0x40]
cdq
jmp 0x1406a0132
mov rdx, rax
lea rcx, [rsp + 0x90]
jmp 0x1406a0142
call fcn.14068a7fa
mov qword [rsp + 0x48], rax
jmp 0x1406a0151
jmp 0x1406a0173
mov rax, qword [rsp + 0x50]
jmp 0x1406a0160
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
movsx ax, dl
mov rax, qword [rsp + 0x48]
jmp 0x1406a017d
mov qword [rsp + 0x68], rax
movsxd rax, r9d
mov rax, rsp
mov rax, qword [rsp + 0x68]
jmp 0x1406a0192
mov rax, qword [rax]
jmp 0x1406a019a
mov qword [rsp + 0x78], rax
bswap eax
dec eax
mov rax, rsp
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x1a28]
jmp 0x1406a01b6
dec eax
jmp 0x1406a01bd
mov dword [rsp + 0x28], eax
jmp 0x1406a01c6
jmp 0x1406a01e3
mov eax, dword [rsp + 0x28]
jmp 0x1406a01d4
dec eax
test r9b, r8b
cmp ecx, 0x8ca350b3
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jl 0x1406a0393
mov rax, qword [rsp + 0x20]
movsxd rcx, ecx
cmc
bts cx, bp
add rax, 0x1a28
sal cl, 0xae
bt rcx, rbp
movzx ecx, si
mov qword [rsp + 0x70], rax
movsxd rax, dword [rsp + 0x28]
cmp rdi, 0x5738359a
mov rcx, qword [rsp + 0x70]
test r11b, r8b
stc
clc
mov rcx, qword [rcx + 8]
cmp sil, r12b
jmp 0x1406a0232
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x30], rax
sbb al, r8b
sub ax, 0x60b4
mov rax, qword [rsp + 0x30]
stc
movzx eax, byte [rax + 0x7e]
cmp ebx, 0xfd1de53b
test eax, eax
jmp 0x1406a0259
je 0x1406a027d
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x85]
test r10d, 0xc2869bbd
cmp r10b, r13b
test eax, eax
je 0x1406a0282
jmp 0x1406a01cb
mov rax, qword [rsp + 0x30]
test ax, 0x870c
mov eax, dword [rax + 0xc]
stc
and eax, 0x200
cmp esi, r8d
cmc
test eax, eax
je 0x1406a02a5
jmp 0x1406a01cb
mov rax, qword [rsp + 0x30]
clc
cmp r15b, r14b
movups xmm0, xmmword [rax + 0x218]
btc rax, r15
btc ax, 0x1d
movdqu xmmword [rsp + 0x80], xmm0
test r9w, 0xcd0b
jmp 0x1406a02d4
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
and eax, 0x1000042
test eax, eax
je 0x1406a030a
lea rdx, [rsp + 0x50]
cmove cx, r12w
lea rcx, [rsp + 0x80]
jmp 0x1406a0300
call fcn.140488211
jmp 0x1406a0322
lea rdx, [rsp + 0x78]
movsx ecx, cx
bswap rcx
lea rcx, [rsp + 0x80]
call fcn.140488211
mov rax, qword [rsp + 0x20]
rcr ch, cl
add rax, 0x130
mov rdx, rax
lea rcx, [rsp + 0x80]
jmp 0x1406a033f
call fcn.14068aed6
movzx eax, al
test eax, eax
jne 0x1406a0354
jmp 0x1406a01cb
cmp qword [rsp + 0x38], 0
jne 0x1406a0378
mov rax, qword [rsp + 0x30]
stc
cmp cl, r12b
clc
mov qword [rsp + 0x38], rax
test r8b, 2
cmp r8, r13
test dl, cl
cmp qword [rsp + 0x38], 0
jmp 0x1406a0383
je 0x1406a038e
jmp 0x1406a0393
jmp 0x1406a01cb
mov rax, qword [rsp + 0x20]
cmc
mov rcx, qword [rsp + 0x38]
test r8b, bl
mov qword [rax + 0x1a88], rcx
xchg al, ah
cbw
rcr ah, 0xac
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x1a88], 0
jmp 0x1406a03c1
je 0x1406a03e9
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1a88]
mov rax, qword [rax + 0x3a0]
mov qword [rsp + 0x58], rax
jmp 0x1406a03e4
jmp 0x1406a03f2
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x20]
shl cl, cl
mov cx, 0x10a3
or cx, r10w
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x1a90], rcx
add rsp, 0xa8
ret