Function at 0x140063de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov r14, rcx
mov rax, qword [0x1401ff028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rax, [rcx + 0x68]
mov qword [rsp + 0x48], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x50], rdx
sub rax, qword [rdx]
sar rax, 4
movabs rcx, 0xaaaaaaaaaaaaaaab
imul rax, rcx
mov rcx, qword [r14 + 0x68]
mov rbp, qword [r14 + 0x70]
sub rbp, rcx
sar rbp, 5
mov rdx, rax
sub rdx, rbp
ja 0x140064130
jae 0x140063e57
shl rax, 5
add rcx, rax
mov qword [r14 + 0x70], rcx
mov rax, qword [rsp + 0x50]
mov r13, qword [rax]
cmp qword [rax + 8], r13
je 0x14006410b
lea rax, [r14 + 0x80]
mov qword [rsp + 0x58], rax
add r14, 0x88
xor esi, esi
mov qword [rsp + 0x60], r14
lea r15, [rsi + rsi*2]
shl r15, 4
mov rax, qword [rsp + 0x48]
mov rdi, qword [rax]
mov eax, dword [r13 + r15 + 0x18]
mov r12, rsi
shl r12, 5
mov qword [rdi + r12], rax
movzx ebp, byte [r13 + r15 + 0x17]
test bpl, bpl
js 0x140063eb3
mov rax, rbp
jmp 0x140063eb8
mov rax, qword [r13 + r15 + 8]
test rax, rax
je 0x140063fbd
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rdi
lea rax, [r15 + r13]
mov r12, qword [r14]
mov rcx, r14
test r12, r12
mov qword [rsp + 0x40], rax
je 0x140063ff0
mov rbx, rax
test bpl, bpl
jns 0x140063ef3
mov rbp, qword [r13 + r15 + 8]
mov rbx, qword [rax]
mov qword [rsp + 0x68], r13
mov rdi, r14
movzx r14d, byte [r12 + 0x37]
test r14b, r14b
js 0x140063f0d
lea rcx, [r12 + 0x20]
jmp 0x140063f17
mov rcx, qword [r12 + 0x20]
mov r14, qword [r12 + 0x28]
cmp rbp, r14
setb r13b
mov r8, r14
cmovb r8, rbp
test r8, r8
je 0x140063f36
mov rdx, rbx
call fcn.140108890
test eax, eax
jne 0x140063f45
cmp r14, rbp
movzx eax, r13b
mov ecx, 0xffffffff
cmovb eax, ecx
mov ecx, eax
shr ecx, 0x1f
test eax, eax
cmovns rdi, r12
mov r12, qword [r12 + rcx*8]
test r12, r12
jne 0x140063efb
mov r14, qword [rsp + 0x60]
mov rcx, r14
cmp rdi, r14
mov r13, qword [rsp + 0x68]
je 0x140063ff0
movzx eax, byte [rdi + 0x37]
mov rcx, rax
test al, al
jns 0x140063f7e
mov rcx, qword [rdi + 0x28]
cmp rcx, rbp
mov r12, qword [rsp + 0x38]
jne 0x140063fed
lea rcx, [rdi + 0x20]
mov rdx, qword [rcx]
test al, al
cmovs rcx, rdx
js 0x140063fcb
test rax, rax
je 0x140063fdf
cmp byte [rbx], dl
jne 0x140063fed
dec rax
xor ecx, ecx
cmp rax, rcx
je 0x140063fdf
mov dl, byte [rdi + rcx + 0x21]
lea rbp, [rcx + 1]
cmp dl, byte [rbx + rcx + 1]
mov rcx, rbp
je 0x140063fa5
jmp 0x140063fed
mov dword [rdi + r12 + 8], 0
jmp 0x1400640ad
test rbp, rbp
je 0x140063fdf
mov rdx, rbx
mov r8, rbp
call fcn.140108890
test eax, eax
jne 0x140063fed
mov rbx, qword [rdi + 0x38]
mov rdi, qword [rsp + 0x30]
jmp 0x14006409d
mov rcx, rdi
mov rbp, rcx
mov ecx, 0x68
int3
lea rdx, [rdi + r12]
add rdx, 8
mov rcx, rbx
int3
mov dword [rdi + r12 + 0xc], 0
mov eax, dword [r13 + r15 + 0x1c]
mov dword [rdi + r12 + 0x10], eax
mov eax, dword [r13 + r15 + 0x20]
mov dword [rdi + r12 + 0x14], eax
mov eax, dword [r13 + r15 + 0x28]
mov dword [rdi + r12 + 0x18], eax
mov eax, dword [r13 + r15 + 0x24]
mov dword [rdi + r12 + 0x1c], eax
inc rsi
mov rax, qword [rsp + 0x50]
mov r13, qword [rax]
mov rax, qword [rax + 8]
sub rax, r13
sar rax, 4
movabs rcx, 0xaaaaaaaaaaaaaaab
imul rax, rcx
cmp rsi, rax
jb 0x140063e83
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140106510
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
int3