Function at 0x1400715b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rax, qword [rcx + 0x20]
mov rdi, rcx
mov r14d, r9d
mov r13, r8
mov r12, rdx
movabs rbx, 0x7fffffffffff
mov rcx, qword [rax]
mov rax, rcx
sar rax, 0x2f
cmp eax, 0xfffffff5
jne 0x140071652
mov r8, qword [rdx]
and rcx, rbx
movzx r9d, word [rcx + 0xa]
lea rcx, [r9 + r9*2]
mov edx, dword [r8 + rcx*8]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x140071629
nop dword [rax + rax]
movzx ecx, dx
lea rax, [rcx + rcx*2]
mov edx, dword [r8 + rax*8]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x140071610
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x20000000
jne 0x14007163b
movzx r9d, dx
mov r8d, r14d
mov edx, r9d
mov rcx, r12
call fcn.14005f1f0
test rax, rax
jne 0x1400716f2
mov rcx, qword [rdi + 0x20]
lea rsi, [rdi + 0x28]
add rcx, 8
cmp rcx, qword [rdi + 0x28]
jae 0x14007170e
mov rcx, qword [rcx]
lea rsi, [rdi + 0x28]
mov rax, rcx
sar rax, 0x2f
cmp eax, 0xfffffff5
jne 0x14007170e
mov r9, qword [r12]
lea rsi, [rdi + 0x28]
and rcx, rbx
movzx r10d, word [rcx + 0xa]
lea rcx, [r10 + r10*2]
mov edx, dword [r9 + rcx*8]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x1400716cd
nop word [rax + rax]
movzx ecx, dx
lea rax, [rcx + rcx*2]
mov edx, dword [r9 + rax*8]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x1400716b0
lea rsi, [rdi + 0x28]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x20000000
jne 0x1400716df
movzx r10d, dx
mov r8d, r14d
mov edx, r10d
mov rcx, r12
call fcn.14005f1f0
test rax, rax
je 0x14007170e
mov rdx, rax
mov rcx, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
jmp fcn.140059330
mov qword [rsp + 0x60], rbp
mov ebx, 0xffffffff
mov ebp, ebx
cmp r14d, 4
jne 0x140071765
mov rax, qword [r13 + 8]
xor ecx, ecx
cmp qword [r13], rax
mov rax, qword [rsi]
mov rbp, qword [rsp + 0x60]
sete cl
mov rbx, qword [rsp + 0x70]
inc rcx
shl rcx, 0x2f
not rcx
mov qword [rax - 8], rcx
mov rax, qword [rdi + 0x10]
mov qword [rax + 0xf0], rcx
mov eax, 1
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov rdx, qword [r13 + 0x10]
lea r8, [0x1400f6dd0]
mov qword [rsp + 0x68], r15
mov esi, 0xd
movabs r9, 0x2aaaaaaaaaaaaaab
test rdx, rdx
je 0x1400717e5
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax]
sar rcx, 0x2f
cmp ecx, 0xfffffff5
jne 0x1400717e5
mov ebx, dword [rdx]
mov rax, r9
sub rdx, qword [r12]
xor r8d, r8d
imul rdx
mov rcx, rdi
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
call fcn.14005f3b0
and ebx, 0xf0000000
lea r8, [0x1400f6dd0]
sub ebx, 0x50000000
movabs r9, 0x2aaaaaaaaaaaaaab
neg ebx
lea r15, [rax + 0x18]
sbb ebx, ebx
jmp 0x14007180a
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax]
sar rcx, 0x2f
mov eax, ecx
sub eax, 0xfffffffb
neg eax
sbb ebp, ebp
cmp ecx, 0xfffffff2
ja 0x140071802
mov ecx, esi
jmp 0x140071804
not ecx
mov eax, ecx
mov r15, qword [r8 + rax*8]
mov rdx, qword [r13 + 0x18]
mov qword [rsp + 0x20], r15
test rdx, rdx
je 0x140071868
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 8]
sar rcx, 0x2f
cmp ecx, 0xfffffff5
jne 0x140071868
mov ecx, dword [rdx]
mov eax, 1
and ecx, 0xf0000000
cmp ecx, 0x50000000
mov rcx, rdi
cmove ebx, eax
sub rdx, qword [r12]
mov rax, r9
xor r8d, r8d
imul rdx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
call fcn.14005f3b0
lea r9, [rax + 0x18]
jmp 0x14007188f
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 8]
sar rcx, 0x2f
cmp ecx, 0xfffffffb
jne 0x140071880
mov ebp, 1
jmp 0x140071885
cmp ecx, 0xfffffff2
jbe 0x140071889
mov esi, ecx
not esi
mov eax, esi
mov r9, qword [r8 + rax*8]
mov eax, ebp
mov qword [rsp + 0x28], r9
xor eax, ebx
cmp eax, 1
je 0x1400718d4
cmp r14d, 5
jne 0x1400718aa
mov edx, 0xcff
jmp 0x1400718c8
cmp r14d, 8
jne 0x1400718b7
mov edx, 0xd1d
jmp 0x1400718c8
cmp r14d, 0xa
mov edx, 0xd42
mov eax, 0xd71
cmovl edx, eax
mov r8, r15
mov rcx, rdi
call fcn.1400462f0
int3
movsxd r9, ebx
mov edx, 0xce3
movsxd r8, ebp
mov rcx, rdi
mov r9, qword [rsp + r9*8 + 0x20]
mov r8, qword [rsp + r8*8 + 0x20]
call fcn.1400462f0
int3