Function at 0x1401ca1a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 0x50]
cmp r12, qword [r14 + 0x10]
jbe 0x1401ca4b7
push rbp
mov rbp, rsp
sub rsp, 0xc8
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x58], 0
movups xmmword [rsp + 0x60], xmm15
mov qword [rsp + 0x48], 0
mov r9, qword [rsp + 0xd8]
test byte [r9], al
mov r10, qword [r9 + 0x2c8]
mov r11, qword [r9 + 0x2d0]
mov r9, qword [r9 + 0x2d8]
mov qword [rsp + 0x70], r10
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x80], r9
mov qword [rsp + 0x48], 1
jmp 0x1401ca217
mov r9, qword [rsp + 0x78]
mov qword [rsp + 0x50], r9
cmp qword [rsp + 0x48], r9
setl byte [rsp + 0x37]
jl 0x1401ca22f
jmp 0x1401ca252
mov rcx, qword [rsp + 0x70]
add rcx, qword [rsp + 0x48]
movzx eax, byte [rcx]
mov byte [rsp + 0x35], al
call fcn.14007fd00
mov byte [rsp + 0x36], al
xor eax, 1
mov byte [rsp + 0x37], al
jmp 0x1401ca254
jmp 0x1401ca254
cmp byte [rsp + 0x37], 0
jne 0x1401ca25d
jmp 0x1401ca266
jmp 0x1401ca25f
inc qword [rsp + 0x48]
jmp 0x1401ca217
jmp 0x1401ca268
mov r9, qword [rsp + 0x78]
mov qword [rsp + 0x50], r9
cmp qword [rsp + 0x48], r9
jl 0x1401ca27e
jmp 0x1401ca425
movups xmmword [rsp + 0xa0], xmm15
movups xmmword [rsp + 0xa8], xmm15
movups xmmword [rsp + 0xb8], xmm15
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], rsi
mov r9, qword [rsp + 0xd8]
test byte [r9], al
mov rdx, qword [r9 + 0x1a0]
mov r8, qword [rsp + 0x48]
mov r9, qword [rdx]
xor ebx, ebx
call r9
mov byte [rsp + 0x40], al
mov byte [rsp + 0x41], bl
mov byte [rsp + 0x42], cl
mov byte [rsp + 0x43], dil
mov byte [rsp + 0x44], sil
mov byte [rsp + 0x45], r8b
mov word [rsp + 0x46], r9w
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x38], r9
movzx eax, byte [rsp + 0x38]
movzx ebx, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x3a]
movzx edi, byte [rsp + 0x3b]
movzx esi, byte [rsp + 0x3c]
movzx r8d, byte [rsp + 0x3d]
movzx r9d, word [rsp + 0x3e]
call fcn.1401c80c0
mov byte [rsp + 0x37], al
test al, al
jne 0x1401ca34c
jmp 0x1401ca411
mov rdx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
sub rsi, rdx
mov rdi, qword [rsp + 0x80]
sub rdi, rdx
mov r8, rdi
neg rdi
sar rdi, 0x3f
and rdx, rdi
add rdx, qword [rsp + 0x70]
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], r8
mov rdi, qword [rsp + 0xd8]
test byte [rdi], al
mov qword [rdi + 0x2d0], rsi
mov qword [rdi + 0x2d8], r8
cmp dword [0x140442b50], 0
je 0x1401ca3b1
jmp 0x1401ca3b3
jmp 0x1401ca3c8
call fcn.1400700c0
mov qword [r11], rdx
mov rsi, qword [rdi + 0x2c8]
mov qword [r11 + 8], rsi
jmp 0x1401ca3c8
mov qword [rdi + 0x2c8], rdx
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
add rsp, 0xc8
pop rbp
ret
movzx r9d, byte [rsp + 0x39]
add qword [rsp + 0x48], r9
jmp 0x1401ca420
jmp 0x1401ca268
mov rcx, qword [rsp + 0xd8]
test byte [rcx], al
mov rbx, qword [rsp + 0xd8]
test byte [rbx], al
mov rbx, qword [rbx + 0x1a8]
cmp dword [0x140442b50], 0
je 0x1401ca44b
jmp 0x1401ca44d
jmp 0x1401ca462
call fcn.1400700c0
mov qword [r11], rbx
mov rsi, qword [rcx + 0x2b0]
mov qword [r11 + 8], rsi
jmp 0x1401ca462
mov qword [rcx + 0x2b0], rbx
mov rcx, qword [rsp + 0xd8]
test byte [rcx], al
mov rdx, qword [rcx + 0x2b0]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0xd8]
call rcx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
add rsp, 0xc8
pop rbp
ret
mov qword [rsp + 8], rax
nop dword [rax]
call fcn.14006e160
mov rax, qword [rsp + 8]
jmp fcn.1401ca1a0