Function at 0x1403e8ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x10], edx
stc
clc
cmc
mov qword [rsp + 8], rcx
sub rsp, 0x38
test r14w, r12w
clc
sub eax, eax
cmp r14b, 0xbd
clc
cmp spl, r13b
test eax, eax
jmp 0x1403e8d06
jne 0x1403e8cf5
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
test r14b, r13b
cmp dword [rsp + 0x48], eax
jmp 0x1403e8d20
jl 0x1403e8d35
mov eax, 0xffffffff
jmp 0x1403e8d30
jmp 0x1403e8fae
mov rax, qword [rsp + 0x40]
cmp bp, dx
jmp 0x1403e8d42
cmp dword [rax + 0x38], 2
jmp 0x1403e8d4b
jl 0x1403e8d60
mov eax, 0xffffffff
jmp 0x1403e8d5b
jmp 0x1403e8fae
mov rax, qword [rsp + 0x40]
cmc
cmp dword [rax + 0x38], 0
jmp 0x1403e8d6f
jne 0x1403e8e8b
mov rax, qword [rsp + 0x40]
test r10b, 0xa5
bsf rcx, r12
movsxd rax, dword [rax + 0x18]
sal rcx, 0x1f
movsxd rcx, edi
mov rcx, qword [rsp + 0x40]
test cl, r14b
cmc
mov rcx, qword [rcx + 8]
add rcx, rax
movsx eax, r9w
sal ax, cl
mov rax, rcx
stc
btr cx, sp
ror ch, 0x15
mov ecx, dword [rsp + 0x48]
test r14w, dx
jmp 0x1403e8dbc
shl ecx, 1
cmp r10w, cx
movsxd rcx, ecx
test r11, 0xffffffffe3b2222d
add rax, rcx
jmp 0x1403e8dd4
mov rcx, rax
jmp 0x1403e8ddc
call fcn.140057416
movzx eax, ax
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x20]
cmp bp, 0x7b2b
clc
lea eax, [rcx + rax*2]
shr ch, cl
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
test spl, sil
inc cx
movsxd rax, dword [rax + 0x18]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
test r15d, 0x728da2a9
add rcx, rax
xor al, 0xbf
shld ax, sp, 0x93
mov rax, rcx
shld cx, r14w, 0x88
mov ecx, dword [rsp + 0x48]
shl ecx, 1
movsxd rcx, ecx
jmp 0x1403e8e3b
lea rax, [rax + rcx + 2]
bswap cx
cmove rcx, rbp
mov rcx, rax
jmp 0x1403e8e4f
call fcn.140057416
movzx eax, ax
movzx ecx, ax
movzx rcx, r15w
jmp 0x1403e8e63
mov rcx, qword [rsp + 0x40]
jmp 0x1403e8e6d
mov ecx, dword [rcx + 0x20]
jmp 0x1403e8e75
lea eax, [rcx + rax*2]
jmp 0x1403e8e7d
mov dword [rsp + 0x24], eax
jmp 0x1403e8e86
jmp 0x1403e8f80
mov rax, qword [rsp + 0x40]
movsxd rcx, edi
movsx cx, r8b
movsxd rax, dword [rax + 0x18]
inc cl
mov rcx, qword [rsp + 0x40]
jmp 0x1403e8ea8
mov rcx, qword [rcx + 8]
cmp dil, r8b
lea rcx, [rcx + rax]
cbw
mov rax, rcx
mov ecx, dword [rsp + 0x48]
shl ecx, 2
cmp r12, 0xffffffff8d01db18
stc
movsxd rcx, ecx
cmp cl, r15b
clc
add rax, rcx
jmp 0x1403e8edb
mov rcx, rax
jmp 0x1403e8ee3
call fcn.1400504d1
mov rcx, qword [rsp + 0x40]
add eax, dword [rcx + 0x20]
sal cx, cl
shl cx, cl
mov dword [rsp + 0x20], eax
inc cx
mov rax, qword [rsp + 0x40]
jmp 0x1403e8f0b
movsxd rax, dword [rax + 0x18]
mov cx, 0x39a
mov rcx, qword [rsp + 0x40]
cmp r15b, spl
mov rcx, qword [rcx + 8]
clc
cmc
lea rcx, [rcx + rax]
bsr ax, dx
mov rax, rcx
and cl, 0x30
and cl, dil
shrd cx, di, 2
mov ecx, dword [rsp + 0x48]
test r8d, 0xbb309e2d
shl ecx, 2
jmp 0x1403e8f4a
movsxd rcx, ecx
jmp 0x1403e8f52
lea rax, [rax + rcx + 4]
movzx ecx, bp
jmp 0x1403e8f5f
mov rcx, rax
call fcn.1400504d1
mov rcx, qword [rsp + 0x40]
test r13b, 0x37
clc
add eax, dword [rcx + 0x20]
mov dword [rsp + 0x24], eax
add al, r9b
not ax
add al, 0x16
mov eax, dword [rsp + 0x24]
jmp 0x1403e8f8a
cmp dword [rsp + 0x20], eax
jne 0x1403e8fa1
mov dword [rsp + 0x28], 0xffffffff
jmp 0x1403e8fa9
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
clc
add rsp, 0x38
ret