Function at 0x1400c5840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r15, r9
movzx r12d, r8b
mov rsi, rdx
mov r13, rcx
mov r14, qword [rcx]
mov rbx, qword [r14 + 8]
mov dil, 1
lea rdx, vtable.CSABStringW.0
xor ecx, ecx
cmp byte [rbx + 0x19], 0
jne 0x1400c5a0e
mov r14, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x40]
test r12b, r12b
je 0x1400c5957
mov rdx, qword [r15 + 8]
call fcn.14002a980
mov dword [rsp + 0x54], 1
lea rax, vtable.CSABStringW.0
mov qword [rsp + 0x58], rax
xor edi, edi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], edi
mov rdx, qword [rbx + 0x28]
lea rcx, [rsp + 0x58]
call fcn.14002a980
nop
mov r9, qword [rsp + 0x60]
mov rax, r9
mov r8, qword [rsp + 0x48]
mov rdx, r8
sub rdx, r9
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x1400c5914
add rax, 2
test cx, cx
jne 0x1400c5900
jmp 0x1400c5919
sbb edi, edi
or edi, 1
shr edi, 0x1f
test r9, r9
je 0x1400c592e
mov rcx, r9
call fcn.140247060
mov r8, qword [rsp + 0x48]
lea rax, vtable.CSABStringW.0
mov qword [rsp + 0x40], rax
add dword [rsp + 0x54], 0xffffffff
jne 0x1400c594e
test r8, r8
je 0x1400c594e
mov rcx, r8
call fcn.140247060
xor dil, 1
jmp 0x1400c59ef
mov rdx, qword [rbx + 0x28]
call fcn.14002a980
mov dword [rsp + 0x54], 1
lea rax, vtable.CSABStringW.0
mov qword [rsp + 0x58], rax
xor edi, edi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], edi
mov rdx, qword [r15 + 8]
lea rcx, [rsp + 0x58]
call fcn.14002a980
nop
mov r9, qword [rsp + 0x60]
mov rax, r9
mov r8, qword [rsp + 0x48]
mov rdx, r8
sub rdx, r9
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x1400c59b5
add rax, 2
test cx, cx
jne 0x1400c59a1
jmp 0x1400c59ba
sbb edi, edi
or edi, 1
shr edi, 0x1f
test r9, r9
je 0x1400c59cf
mov rcx, r9
call fcn.140247060
mov r8, qword [rsp + 0x48]
lea rax, vtable.CSABStringW.0
mov qword [rsp + 0x40], rax
add dword [rsp + 0x54], 0xffffffff
jne 0x1400c59ef
test r8, r8
je 0x1400c59ef
mov rcx, r8
call fcn.140247060
xor ecx, ecx
lea rdx, vtable.CSABStringW.0
test dil, dil
je 0x1400c5a05
mov rbx, qword [rbx]
jmp 0x1400c5880
mov rbx, qword [rbx + 0x10]
jmp 0x1400c5880
mov rbx, r14
test dil, dil
je 0x1400c5acd
mov rax, qword [r13]
cmp r14, qword [rax]
jne 0x1400c5a5c
movzx eax, byte [rsp + 0xc0]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r15
mov r9, r14
mov r8b, 1
lea rdx, [rsp + 0xa0]
mov rcx, r13
call fcn.1400c55b0
mov rax, qword [rax]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov rax, rsi
jmp 0x1400c5b82
cmp byte [r14 + 0x19], 0
je 0x1400c5a69
mov rbx, qword [r14 + 0x10]
jmp 0x1400c5acd
mov rax, qword [r14]
cmp byte [rax + 0x19], 0
je 0x1400c5aac
mov rax, qword [r14 + 8]
cmp byte [rax + 0x19], 0
jne 0x1400c5aa1
mov rcx, r14
nop
mov rdx, rax
cmp rcx, qword [rax]
jne 0x1400c5a98
mov rbx, rax
mov rax, qword [rax + 8]
mov rcx, rbx
cmp byte [rax + 0x19], 0
je 0x1400c5a80
lea rdx, vtable.CSABStringW.0
xor ecx, ecx
cmp byte [rbx + 0x19], 0
jne 0x1400c5acd
mov rbx, rax
jmp 0x1400c5acd
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400c5acd
nop dword [rax]
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400c5ac0
lea rax, [rsp + 0x40]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], ecx
mov rdx, qword [r15 + 8]
lea rcx, [rsp + 0x40]
call fcn.14002a980
mov dword [rsp + 0x54], 1
lea rax, vtable.CSABStringW.0
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], eax
mov rdx, qword [rbx + 0x28]
lea rcx, [rsp + 0x58]
call fcn.14002a980
mov dword [rsp + 0x6c], 1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.1400c5cb0
test al, al
je 0x1400c5b78
movzx eax, byte [rsp + 0xc0]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r15
mov r9, r14
movzx r8d, dil
lea rdx, [rsp + 0xa0]
mov rcx, r13
call fcn.1400c55b0
mov rax, qword [rax]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov rax, rsi
jmp 0x1400c5b82
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret