Function at 0x1404ce964
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
jmp 0x1404ce983
mov qword [rsp + 0x18], rdi
push rbp
push r12
and r12d, 0x66a075a0
push r13
rcr bpl, cl
shrd r12w, r8w, 0xab
push r14
push r15
mov rbp, rsp
movzx r12, r13w
shrd r14d, edx, 0xeb
sub rsp, 0x40
xor r12b, r11b
bt r12, 0xa9
mov r14, qword [rdx + 0x150]
rcl r12d, cl
mov r12, rcx
cmovae cx, bp
test r9b, 0x2d
xor esi, esi
movsx ecx, bp
mov qword [rbp - 0x10], rdx
mov rcx, r14
jmp 0x1404ce9df
mov qword [rbp - 8], rsi
jmp 0x1404ce9e8
call fcn.1404abe8d
mov qword [r12 + 0x2b8], rax
lea r15d, [rsi + 0x31]
cmp rax, 0x33074372
cmp r8w, r14w
shl r9d, 0x2d
lea r13d, [rsi + 7]
btc dx, 0xde
cmp r11, rdx
bsr edx, r9d
lea ecx, [r15 - 0x30]
btc r9, 0x9d
stc
cwde
mov eax, 0x24924925
test r8b, 0xba
movzx r8, sp
mul ecx
sbb dil, sil
rcl r9, 0x38
ror di, cl
mov eax, ecx
movzx r9d, r11w
mov r9d, r15d
sub eax, edx
mov r8, r14
shr eax, 1
add eax, edx
bsf rdi, r13
mov edx, 1
bsr di, bx
shr eax, 2
btr rdi, r12
imul eax, eax, 7
mov dil, spl
or dil, bl
movsx di, r14b
sub ecx, eax
mov dil, al
movsx di, cl
movsx rdi, bx
lea rdi, [r12 + rcx*8]
movsxd rcx, ecx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rdi
jmp 0x1404cea92
call fcn.1404c7ebc
or esi, eax
setnp r8b
mov r8d, 0x1bbf6422
lea r9d, [r15 - 7]
bswap rax
lea rax, [rdi + 0x38]
cwd
mov r8, r14
movzx ecx, r15w
xchg ch, ch
mov edx, 1
movsx ecx, r12w
bswap cx
jmp 0x1404ceaca
mov qword [rsp + 0x20], rax
not ch
movsxd rcx, r15d
lea rcx, [rbp - 0x10]
jmp 0x1404ceadd
call fcn.1404c7ebc
or esi, eax
lea rcx, [rbp - 0x10]
lea rax, [rdi + 0x160]
cwd
mov dl, 0x9c
movzx r9w, dl
mov r9d, r15d
cwd
movsx r8d, r14w
mov r8, r14
movzx edx, sp
movsx edx, si
mov qword [rsp + 0x20], rax
mov edx, 2
call fcn.1404c7ebc
or esi, eax
setae r8b
cwd
jmp 0x1404ceb26
lea r9d, [r15 - 7]
cqo
lea rax, [rdi + 0x198]
mov r8, r14
mov dl, r8b
cdq
mov edx, 2
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x10]
call fcn.1404c7ebc
or esi, eax
jmp 0x1404ceb54
inc r15d
cmp r10, rcx
sub r13, 1
jmp 0x1404ceb63
jne 0x1404cea18
lea r15d, [r13 + 0x38]
movsx r13w, r14b
lahf
cqo
lea r13d, [r15 - 0x2c]
lahf
cbw
movsxd rax, r13d
lea rdi, [r12 + 0xd0]
lea rax, [rdi - 0x60]
mov r8, r14
lea r9d, [r15 + 0xc]
movzx edx, cx
movsx dx, dh
mov qword [rsp + 0x20], rax
movsx edx, di
not dl
movzx dx, r11b
mov edx, 1
movsx cx, r9b
movzx ecx, bp
not ch
lea rcx, [rbp - 0x10]
jmp 0x1404cebc0
call fcn.1404c7ebc
mov r9d, r15d
sar edx, cl
bsr dx, r8w
mov qword [rsp + 0x20], rdi
cmp r9b, 0x87
mov r8, r14
or dx, 0x604f
sar cl, cl
lea rcx, [rbp - 0x10]
mov edx, 1
test r15w, 0x14ed
or esi, eax
call fcn.1404c7ebc
or esi, eax
seto ah
movsx eax, r8w
not cx
lea r9d, [r15 + 0xc]
lea rax, [rdi + 0x100]
mov ebx, 2
mov r8, r14
movsxd rcx, esp
movsx edx, r8w
movzx edx, sp
mov qword [rsp + 0x20], rax
movzx ecx, r10w
cqo
movsx cx, cl
mov edx, ebx
lea rcx, [rbp - 0x10]
jmp 0x1404cec3b
call fcn.1404c7ebc
or esi, eax
movzx ecx, sp
bswap cx
mov r9b, r15b
lea rcx, [rbp - 0x10]
lea rax, [rdi + 0x160]
mov r9d, r15d
mov r8, r14
mov dl, r15b
movsx dx, spl
movzx edx, sp
mov qword [rsp + 0x20], rax
mov edx, ebx
jmp 0x1404cec73
call fcn.1404c7ebc
or esi, eax
test ax, 0x18a0
clc
jmp 0x1404cec84
add rdi, 8
jmp 0x1404cec8d
inc r15d
cmp r12d, esp
jmp 0x1404cec98
sub r13, 1
jmp 0x1404ceca1
jne 0x1404ceb87
lea rax, [r12 + 0x130]
mov r8, r14
movzx rcx, sp
movsxd r9, r9d
lea edi, [rbx + 0x26]
movsx r9d, r10w
bswap cx
movsxd rcx, r9d
mov qword [rsp + 0x20], rax
movsx ecx, bp
movsxd r9, esp
cqo
mov r9d, edi
movsx rdx, sp
lea edx, [rbx - 1]
lea rcx, [rbp - 0x10]
call fcn.1404c7ebc
or esi, eax
cwd
movzx dx, r15b
setno al
lea ebx, [rdi + 1]
cwd
cmovnp r13w, r13w
lahf
lea rax, [r12 + 0x138]
jmp 0x1404ced0f
mov r9d, ebx
movsx r8, r13w
lea r13d, [rdi - 0x27]
movzx cx, r15b
movzx edx, si
movzx rcx, ax
mov qword [rsp + 0x20], rax
mov r8, r14
lea rcx, [rbp - 0x10]
setae dl
movsx edx, r13w
movzx rdx, r15w
mov edx, r13d
jmp 0x1404ced45
call fcn.1404c7ebc
mov r9d, edi
shr cx, cl
lea rcx, [rbp - 0x10]
or esi, eax
movsx r8d, r12w
lea edi, [rbx - 0x27]
movsx eax, r10w
lea rax, [r12 + 0x290]
mov edx, edi
movzx r8w, spl
mov r8, r14
jmp 0x1404ced78
mov qword [rsp + 0x20], rax
jmp 0x1404ced82
call fcn.1404c7ebc
or esi, eax
movzx rax, r14w
cbw
movsx r9d, di
lea rcx, [rbp - 0x10]
cmovnp r9w, dx
setl r8b
lea rax, [r12 + 0x298]
bswap r9
not r9b
mov r9d, ebx
mov r8, r14
movsx dx, cl
xchg dl, dl
mov qword [rsp + 0x20], rax
mov edx, edi
call fcn.1404c7ebc
or esi, eax
lea r15d, [rbx - 0xa]
bswap r9w
lea rax, [r12 + 0x140]
cdq
setnp cl
mov r9d, r15d
mov r8, r14
mov qword [rsp + 0x20], rax
bswap cx
mov edx, r13d
movsx ecx, r10w
movsx rcx, r15w
not cx
lea rcx, [rbp - 0x10]
jmp 0x1404cee01
call fcn.1404c7ebc
or esi, eax
cwde
cwd
lea edi, [rbx - 9]
mov dl, r11b
lea rax, [r12 + 0x148]
cdq
movsx r8w, al
mov r9d, edi
mov r8, r14
mov qword [rsp + 0x20], rax
setle dh
mov edx, r13d
lea rcx, [rbp - 0x10]
jmp 0x1404cee39
call fcn.1404c7ebc
or esi, eax
lea rcx, [rbp - 0x10]
rdtsc
cdq
lea rax, [r12 + 0x150]
mov bx, 0x563
movsx r9, bp
bswap r9w
mov ebx, 0x1003
not dl
cdq
mov r9d, ebx
mov dx, 0x2e20
movsx dx, r14b
cwd
mov qword [rsp + 0x20], rax
movsx r8d, r9w
mov r8, r14
mov edx, 0x5a31429f
mov edx, r13d
jmp 0x1404cee8a
call fcn.1404c7ebc
or esi, eax
shrd r9w, r9w, 0x23
movsx r8, sp
lea r9d, [rbx + 6]
bsf cx, r13w
bt eax, 0x50
lea rax, [r12 + 0x158]
sal ecx, cl
btr r8, rbp
mov r8, r14
shr ecx, cl
sbb ch, 0xc7
mov cx, ax
xor edx, edx
bswap rcx
mov ecx, ebp
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x10]
jmp 0x1404ceed6
call fcn.1404c7ebc
mov r9d, r15d
cmp r9, 0x2804500b
lea rcx, [rbp - 0x10]
cwd
or esi, eax
cwd
cdqe
lea r15d, [r13 + 1]
lea rax, [r12 + 0x2a0]
cdq
mov dl, 0x26
mov edx, r15d
xchg r8w, r8w
movzx r8d, r9w
mov r8, r14
jmp 0x1404cef13
mov qword [rsp + 0x20], rax
jmp 0x1404cef1d
call fcn.1404c7ebc
or esi, eax
lea rax, [r12 + 0x2a8]
mov r9d, edi
movzx rcx, r14w
bswap cx
mov qword [rsp + 0x20], rax
mov r8, r14
cdq
movsx edx, r8w
lea rcx, [rbp - 0x10]
mov edx, r15d
call fcn.1404c7ebc
or esi, eax
movzx r8d, si
cwde
cmovbe r9w, r9w
lea rcx, [rbp - 0x10]
lea rax, [r12 + 0x2b0]
movsxd rdx, r12d
movsx edx, ax
movzx r8, r8w
mov r9d, ebx
jmp 0x1404cef7e
mov r8, r14
cwd
cqo
xchg dl, dl
mov qword [rsp + 0x20], rax
mov edx, r15d
call fcn.1404c7ebc
lea r11, [rsp + 0x40]
ror rbp, cl
or eax, esi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movsxd r12, ebp
sete al
movsx r12, bx
mov rdi, qword [r11 + 0x40]
movzx r12, ax
movsx r15d, r9w
cmovno r14w, r10w
mov rsp, r11
movsx r14w, r15b
pop r15
pop r14
pop r13
jmp 0x1404cefda
pop r12
cmovp ebp, r10d
pop rbp
ret