Function at 0x1406b9f34
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
cmp r12b, 0x1c
movzx ax, r8b
mov dword [rsp + 0x10], edx
btr ax, r15w
rcr ah, 0x11
shl al, 0x38
mov qword [rsp + 8], rcx
sal rax, cl
xchg cx, cx
sub rsp, 0x38
movzx cx, ch
not cl
setns cl
mov eax, dword [rsp + 0x48]
movzx rcx, bp
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 4]
bswap ecx
jmp 0x1406b9f82
mov rcx, rax
call fcn.1404812ba
movzx eax, ax
test r9w, dx
mov dword [rsp + 0x28], eax
test rax, 0xffffffffbe90cd31
cwde
mov eax, dword [rsp + 0x48]
cmp dx, r13w
test r14b, 0x23
add eax, 0xc
jmp 0x1406b9fb0
mov dword [rsp + 0x2c], eax
jmp 0x1406b9fb9
mov dword [rsp + 0x24], 0
jmp 0x1406b9fde
mov eax, dword [rsp + 0x24]
jmp 0x1406b9fcf
inc eax
test bl, r12b
jmp 0x1406b9fda
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
test r10b, 0x20
test r14d, r15d
cmp dword [rsp + 0x24], eax
jmp 0x1406b9ff2
jge 0x1406ba21c
imul eax, dword [rsp + 0x24], 0x10
shrd edx, ecx, 0xa3
mov ecx, dword [rsp + 0x2c]
add dh, 0x9e
add ecx, eax
jmp 0x1406ba017
mov eax, ecx
neg dx
bts rcx, r10
mov dword [rsp + 0x20], eax
shl eax, cl
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
cwd
lea rcx, [rcx + rax]
sal dh, cl
neg ah
mov rax, rcx
movsx dx, bl
movsx ecx, r10w
sub dh, 0xd
mov ecx, 1
shr dl, 0xa0
xchg rdx, rdx
bt rdx, 0x1a
imul rcx, rcx, 0
sub edx, 0xb899fab1
movzx eax, byte [rax + rcx]
mov ecx, 1
shr dl, 2
imul rcx, rcx, 0
ror dh, cl
mov rdx, qword [rsp + 0x50]
movsx ecx, byte [rdx + rcx]
jmp 0x1406ba087
cmp eax, ecx
jmp 0x1406ba08e
jne 0x1406ba217
mov eax, dword [rsp + 0x20]
movsx cx, dil
shrd cx, r14w, 0x98
rol cx, cl
mov rcx, qword [rsp + 0x40]
sbb rdx, 0xffffffffd30caab8
sal dl, 0x30
shl dh, 0x9f
lea rcx, [rcx + rax]
btc edx, r15d
shl edx, 0x38
sar dl, 0x83
mov rax, rcx
mov ecx, 1
cmp cl, 0xc
imul rcx, rcx, 1
bsf dx, bx
movsx rdx, r12w
rol dl, 0x14
movzx eax, byte [rax + rcx]
not ch
mov ecx, 1
test esp, 0xd49f2fa9
jmp 0x1406ba0f6
imul rcx, rcx, 1
shl dx, 0x2b
mov rdx, qword [rsp + 0x50]
cmc
movsx ecx, byte [rdx + rcx]
cmp si, r12w
stc
cmp eax, ecx
jmp 0x1406ba114
jne 0x1406ba217
mov eax, dword [rsp + 0x20]
ror cl, 0x38
mov rcx, qword [rsp + 0x40]
and edx, 0x51a58984
lea rcx, [rcx + rax]
or dh, ch
xor dl, r10b
cmp edi, 0xd32572bd
mov rax, rcx
mov ecx, 1
mov dl, 0x2d
or dx, 0xde31
sal dx, cl
imul rcx, rcx, 2
mov rdx, r14
sbb dx, 0x3694
movzx eax, byte [rax + rcx]
mov ecx, 1
movzx edx, bx
movsx rdx, sp
imul rcx, rcx, 2
mov dx, r10w
movzx edx, si
cmp r13b, dl
mov rdx, qword [rsp + 0x50]
clc
cmp r15b, 0xae
movsx ecx, byte [rdx + rcx]
cmp eax, ecx
jmp 0x1406ba18c
jne 0x1406ba217
mov eax, dword [rsp + 0x20]
cdq
rcl dl, 0xf
mov rcx, qword [rsp + 0x40]
btc edx, 0x8e
add rcx, rax
movsxd rdx, edi
dec ah
mov rax, rcx
mov ecx, 1
cqo
imul rcx, rcx, 3
jmp 0x1406ba1be
movzx eax, byte [rax + rcx]
ror ch, 0xaa
test sp, di
mov ecx, 1
movzx dx, ah
shr edx, cl
cdq
imul rcx, rcx, 3
sub dh, 0x80
mov rdx, qword [rsp + 0x50]
test r8d, r15d
cmp sp, ax
movsx ecx, byte [rdx + rcx]
cmp eax, ecx
jmp 0x1406ba1f1
jne 0x1406ba217
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
jmp 0x1406ba205
lea rax, [rcx + rax + 8]
mov rcx, rax
call fcn.1400cd000
jmp 0x1406ba21e
jmp 0x1406b9fc6
xor eax, eax
add rsp, 0x38
jmp 0x1406ba227
ret