Function at 0x140006710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r14
mov rbx, rcx
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
mov rdi, qword [rbp - 0x10]
test rdi, rdi
lea rdi, [rdi - 1]
je 0x1400067c9
mov rcx, qword [rbp - 8]
movzx edx, byte [rdi + rcx]
cmp dl, 0x80
jb 0x140006771
lea r8, [rdi + 1]
mov r9, qword [rbx]
cmp r9, r8
jae 0x1400067ec
jmp 0x140006953
movzx eax, dl
cmp eax, 0x20
je 0x140006788
cmp eax, 9
jb 0x140006783
cmp eax, 0xd
jbe 0x140006788
xor r8d, r8d
jmp 0x14000678e
mov r8d, 1
xor r8b, 1
je 0x140006746
lea r9, [rdi + 1]
mov rdx, qword [rbx]
cmp rdx, r9
jb 0x14000696e
lea rax, [rdi + 1]
mov rdx, qword [rbx + 8]
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x30]
mov r12, qword [rbp - 0x28]
mov r13, qword [rbp - 0x20]
mov r14, qword [rbp - 0x18]
mov rsp, rbp
pop rbp
ret
mov rdx, qword [rbx + 8]
xor eax, eax
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x30]
mov r12, qword [rbp - 0x28]
mov r13, qword [rbp - 0x20]
mov r14, qword [rbp - 0x18]
mov rsp, rbp
pop rbp
ret
lea rax, [rdi + 1]
mov rdx, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 8], rdx
mov rsi, qword [rbx]
test rsi, rsi
lea rsi, [rsi - 1]
je 0x14000691e
mov r8, qword [rbx]
cmp rsi, r8
jae 0x140006986
mov r10, qword [rbx + 8]
movzx edi, byte [r10 + rsi]
cmp dil, 0x7f
ja 0x140006838
movzx ecx, dil
call fcn.140012140
test al, al
jne 0x1400067fe
jmp 0x14000691e
test rsi, rsi
je 0x14000691e
mov r9b, dil
and r9b, 0xc0
cmp r9b, 0x80
jne 0x14000691e
mov r12d, edi
and r12d, 0x3f
lea r8, [rsi - 1]
mov rdx, qword [rbx]
cmp r8, rdx
jae 0x1400069a1
mov r10, qword [rbx + 8]
add r10, rsi
movzx edi, byte [r10 - 1]
mov r9d, edi
and r9b, 0xe0
cmp r9b, 0xc0
jne 0x1400068a8
mov cl, dil
and ecx, 0x1f
shl ecx, 6
add ecx, r12d
call fcn.140012140
test al, al
je 0x14000691e
dec rsi
jmp 0x1400067fe
cmp rsi, 1
je 0x14000691e
mov r8b, dil
and r8b, 0xc0
cmp r8b, 0x80
jne 0x14000691e
lea rdx, [rsi - 2]
mov rcx, qword [rbx]
cmp rdx, rcx
jae 0x1400069bc
mov r10, qword [rbx + 8]
add r10, rsi
movzx r13d, byte [r10 - 2]
mov r9d, r13d
and r9b, 0xf0
cmp r9b, 0xe0
jne 0x14000691e
mov r14d, r13d
and r14d, 0xf
shl r14d, 0xc
mov r8b, dil
and r8d, 0x3f
shl r8d, 6
add r8d, r12d
add r14d, r8d
mov ecx, r14d
call fcn.140012140
test al, al
je 0x14000691e
add rsi, 0xfffffffffffffffe
jmp 0x1400067fe
lea rdx, [rsi + 1]
mov r8, qword [rbx]
cmp r8, rdx
jb 0x1400069d7
lea rax, [rsi + 1]
mov rdx, qword [rbx + 8]
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x30]
mov r12, qword [rbp - 0x28]
mov r13, qword [rbp - 0x20]
mov r14, qword [rbp - 0x18]
mov rsp, rbp
pop rbp
ret
mov qword [rbp - 0x50], r9
mov r9, r8
xor r8d, r8d
mov edx, 0xcaa
lea rcx, str.C:Ddmd_2.096.1windows_bin...._srcphobos_std_string.d
call fcn.140010870
mov qword [rbp - 0x50], rdx
xor r8d, r8d
mov edx, 0xcaf
lea rcx, str.C:Ddmd_2.096.1windows_bin...._srcphobos_std_string.d
call fcn.140010870
mov qword [rbp - 0x50], r8
mov r9, rsi
xor r8d, r8d
mov edx, 0xcc5
lea rcx, str.C:Ddmd_2.096.1windows_bin...._srcphobos_std_string.d
call fcn.140010870
mov qword [rbp - 0x50], rdx
mov r9, r8
xor r8d, r8d
mov edx, 0xcd1
lea rcx, str.C:Ddmd_2.096.1windows_bin...._srcphobos_std_string.d
call fcn.140010870
mov qword [rbp - 0x50], rcx
mov r9, rdx
xor r8d, r8d
mov edx, 0xcdd
lea rcx, str.C:Ddmd_2.096.1windows_bin...._srcphobos_std_string.d
call fcn.140010870
mov qword [rbp - 0x50], r8
mov r9, rdx
xor r8d, r8d
mov edx, 0xcec
lea rcx, str.C:Ddmd_2.096.1windows_bin...._srcphobos_std_string.d
call fcn.140010870
int3