Function at 0x1406f1f6b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
cbw
cmp edi, r12d
mov qword [rsp + 0x10], rdx
bt r9w, 0x82
mov qword [rsp + 8], rcx
ror ch, cl
sub rsp, 0x38
shl r9, cl
sbb dx, 0xc506
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
and dx, r15w
and dl, 0x9c
movzx eax, byte [rcx + rax]
sbb dl, r11b
shl eax, 0x18
rcl r8b, 0x2f
xchg dh, cl
sub dx, 0xcf0d
mov ecx, 1
shrd r9w, r15w, 0x3d
btr dx, r11w
shl r9b, cl
imul rcx, rcx, 1
sar rdx, 0xa2
mov rdx, qword [rsp + 0x48]
and r8b, 0x99
bsf r8d, ebx
movzx ecx, byte [rdx + rcx]
mov r8, 0x451f7496
test dl, 0x2a
shl ecx, 0x10
bt r9d, r10d
adc r9w, 0x8805
mov edx, 1
clc
imul rdx, rdx, 2
movsx r9, r11w
movzx r8w, r10b
not r9b
mov r8, qword [rsp + 0x48]
bt r9d, eax
movzx edx, byte [r8 + rdx]
shl edx, 8
and r8b, cl
mov r8d, 1
movsxd r9, ecx
bts r9w, r8w
movsx r9w, r15b
imul r8, r8, 3
movzx r9, di
rcl r9, 0xbc
sal r9b, cl
mov r9, qword [rsp + 0x48]
movzx r8d, byte [r9 + r8]
add edx, r8d
cmp r12, 0xffffffffaebd5e93
add ecx, edx
cmc
jmp 0x1406f2068
add eax, ecx
test r13w, 0xfd19
cmp eax, 0x57bc0000
jmp 0x1406f207a
je 0x1406f2087
xor eax, eax
jmp 0x1406f244a
mov eax, 1
shld r9d, r13d, 0xae
add r9d, edx
movsx edx, ax
imul rax, rax, 4
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
cqo
or dx, 0x105
rol r8w, 0x2c
shl eax, 0x18
cmovp r8w, r14w
mov ecx, 1
rol r8w, 0x93
and dl, 0xa0
cmc
imul rcx, rcx, 5
cmc
mov rdx, qword [rsp + 0x48]
shrd r8w, bx, 0x17
add r8w, r12w
movzx ecx, byte [rdx + rcx]
cmp r8b, dil
or dl, 0x86
shl ecx, 0x10
mov edx, 1
shl r8, 0xad
rcr r9, cl
imul rdx, rdx, 6
test r15, 0xfffffffffa13d88f
mov r8, qword [rsp + 0x48]
movzx edx, byte [r8 + rdx]
shl edx, 8
btc r9d, r15d
mov r8d, 1
btc r9w, 0x1b
adc r9b, 0x8f
btr r9w, bp
imul r8, r8, 7
sbb r9b, r10b
mov r9, qword [rsp + 0x48]
jmp 0x1406f213f
movzx r8d, byte [r9 + r8]
jmp 0x1406f2149
add edx, r8d
clc
cmp r8b, bpl
add ecx, edx
add eax, ecx
clc
test eax, eax
jmp 0x1406f215c
je 0x1406f216e
sub eax, eax
jmp 0x1406f2169
jmp 0x1406f244a
mov rcx, qword [rsp + 0x48]
jmp 0x1406f2178
call fcn.140060bc0
mov dword [rsp + 0x20], eax
sub ch, cl
btr rax, 0x34
bts eax, r14d
mov rax, qword [rsp + 0x48]
rcr rcx, 0x81
mov qword [0x1400cb9e0], rax
mov eax, dword [rsp + 0x20]
setbe cl
mov rcx, qword [rsp + 0x40]
test r13b, cl
cmp r11, 0xffffffff971e6821
add rcx, rax
movzx rax, r9w
sub al, 0x90
or ah, 0x26
mov rax, rcx
movsx ecx, r13w
mov qword [0x1400cb9e8], rax
mov rax, qword [rsp + 0x40]
bsr rcx, rcx
mov qword [0x1400cb9f0], rax
movsx ax, r9b
mov rax, qword [rsp + 0x48]
rcr ch, 3
add rcx, rbp
adc cl, r15b
add rax, 0x10
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
movzx rcx, r9w
movsxd rcx, r11d
mov cx, ax
mov qword [0x1400cb9f8], rax
cbw
cmovge ecx, ebx
movsx ax, r8b
mov rax, qword [rsp + 0x48]
movsx cx, r15b
sets ch
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x48]
call fcn.1406f0fb5
mov qword [rsp + 0x48], rax
movzx ax, dil
rcr ax, 0x3a
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x48], rax
jmp 0x1406f2251
jne 0x1406f240a
mov rax, qword [rsp + 0x48]
cmc
movzx eax, byte [rax]
test bpl, bl
cmp cx, 0xbd34
cmc
cmp eax, 5
jmp 0x1406f2271
jne 0x1406f23fe
mov eax, 1
xor rcx, 0xffffffff8a93f687
movsx ecx, r14w
imul rax, rax, 1
mov cl, spl
mov rcx, qword [rsp + 0x48]
cmc
movzx eax, byte [rcx + rax]
cmp r11w, 0x2b3e
jmp 0x1406f22a3
cmp eax, 0xfa
jmp 0x1406f22ad
jne 0x1406f23fe
mov eax, dword [rsp + 0x20]
adc ecx, r15d
mov rcx, qword [rsp + 0x40]
clc
lea rcx, [rcx + rax]
rcl ax, cl
mov rax, rcx
cmp qword [0x1400cb9f8], rax
je 0x1406f22e3
xor eax, eax
jmp 0x1406f22de
jmp 0x1406f244a
mov r8d, dword [rsp + 0x20]
movsxd rdx, r11d
mov rdx, qword [rsp + 0x40]
setae ch
mov cl, 0xac
mov ecx, 1
jmp 0x1406f22ff
call fcn.1406f1976
mov ecx, 1
imul rcx, rcx, 2
bts dx, r11w
clc
mov rdx, qword [rsp + 0x48]
btc r10, rbx
bswap r10w
neg r10b
movzx ecx, byte [rdx + rcx]
movsx r8, ax
mov r9b, r12b
shl ecx, 0x18
mov edx, 1
ror r9b, 0xa2
btc r8, r12
adc r8b, 0x93
imul rdx, rdx, 3
mov r8, qword [rsp + 0x48]
movzx edx, byte [r8 + rdx]
shl edx, 0x10
cmp r11b, r14b
bts r10w, r14w
mov r8d, 1
movsx r9, r9w
imul r8, r8, 4
sar r10b, cl
cmovno r9, r11
setp r10b
mov r9, qword [rsp + 0x48]
bsf r10w, sp
neg r10d
cmove r10w, r12w
movzx r8d, byte [r9 + r8]
shl r10b, cl
shl r8d, 8
shld r10w, r14w, 0x3f
mov r9d, 1
imul r9, r9, 5
cmp edi, 0x350ecca9
and r10b, bl
sal r10d, cl
mov r10, qword [rsp + 0x48]
clc
movzx r9d, byte [r10 + r9]
add r8d, r9d
cmp bx, 0x6038
add edx, r8d
test r13w, 0xa600
test ecx, r14d
add ecx, edx
jmp 0x1406f23d7
cmp eax, ecx
jmp 0x1406f23de
je 0x1406f23f0
sub eax, eax
jmp 0x1406f23eb
jmp 0x1406f244a
mov eax, dword [rsp + 0x20]
jmp 0x1406f23f9
jmp 0x1406f244a
xor eax, eax
jmp 0x1406f2405
jmp 0x1406f244a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
jmp 0x1406f2418
add rcx, rax
movsx rax, r9w
sal eax, 8
or ax, si
mov rax, rcx
cmc
cmp cl, 0x9a
cmp qword [0x1400cb9f8], rax
jmp 0x1406f2438
jbe 0x1406f2445
sub eax, eax
jmp 0x1406f244a
jmp 0x1406f2218
add rsp, 0x38
jmp 0x1406f2453
ret