Function at 0x140012a90
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 0x140012b49
mov rcx, qword [rbp - 8]
movzx edx, byte [rdi + rcx]
cmp dl, 0x80
jb 0x140012af1
lea r8, [rdi + 1]
mov r9, qword [rbx]
cmp r9, r8
jae 0x140012b6c
jmp 0x140012cd3
movzx eax, dl
cmp eax, 0x20
je 0x140012b08
cmp eax, 9
jb 0x140012b03
cmp eax, 0xd
jbe 0x140012b08
xor r8d, r8d
jmp 0x140012b0e
mov r8d, 1
xor r8b, 1
je 0x140012ac6
lea r9, [rdi + 1]
mov rdx, qword [rbx]
cmp rdx, r9
jb 0x140012cee
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 0x140012c9e
mov r8, qword [rbx]
cmp rsi, r8
jae 0x140012d06
mov r10, qword [rbx + 8]
movzx edi, byte [r10 + rsi]
cmp dil, 0x7f
ja 0x140012bb8
movzx ecx, dil
call fcn.1400b7cd0
test al, al
jne 0x140012b7e
jmp 0x140012c9e
test rsi, rsi
je 0x140012c9e
mov r9b, dil
and r9b, 0xc0
cmp r9b, 0x80
jne 0x140012c9e
mov r12d, edi
and r12d, 0x3f
lea r8, [rsi - 1]
mov rdx, qword [rbx]
cmp r8, rdx
jae 0x140012d21
mov r10, qword [rbx + 8]
add r10, rsi
movzx edi, byte [r10 - 1]
mov r9d, edi
and r9b, 0xe0
cmp r9b, 0xc0
jne 0x140012c28
mov cl, dil
and ecx, 0x1f
shl ecx, 6
add ecx, r12d
call fcn.1400b7cd0
test al, al
je 0x140012c9e
dec rsi
jmp 0x140012b7e
cmp rsi, 1
je 0x140012c9e
mov r8b, dil
and r8b, 0xc0
cmp r8b, 0x80
jne 0x140012c9e
lea rdx, [rsi - 2]
mov rcx, qword [rbx]
cmp rdx, rcx
jae 0x140012d3c
mov r10, qword [rbx + 8]
add r10, rsi
movzx r13d, byte [r10 - 2]
mov r9d, r13d
and r9b, 0xf0
cmp r9b, 0xe0
jne 0x140012c9e
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.1400b7cd0
test al, al
je 0x140012c9e
add rsi, 0xfffffffffffffffe
jmp 0x140012b7e
lea rdx, [rsi + 1]
mov r8, qword [rbx]
cmp r8, rdx
jb 0x140012d57
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.1400b24b0
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.1400b24b0
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.1400b24b0
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.1400b24b0
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.1400b24b0
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.1400b24b0
int3