Function at 0x14000adc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push r13
push r14
sub rsp, 0x30
movsxd rbx, r8d
mov r13, rdx
mov r14, rcx
cmp ebx, 1
jl 0x14000afff
mov qword [rsp + 0x58], rbp
movsxd rbp, dword [rcx]
mov qword [rsp + 0x60], rsi
mov rsi, qword [rcx + 0x10]
mov qword [rsp + 0x68], rdi
mov rdi, qword [rcx + 8]
sub rsi, rdi
mov qword [rsp + 0x28], r12
lea r12, [rcx + 8]
sar rsi, 2
cmp ebp, esi
jg 0x14000b018
mov qword [rsp + 0x20], r15
cmp ebx, ebp
jne 0x14000ae6e
lea r15, [rbx*4]
mov rcx, rdi
mov r8, r15
call fcn.14002fc20
test eax, eax
sete bpl
test bpl, bpl
jne 0x14000ae61
cmp esi, ebx
jge 0x14000ae4c
mov rdx, rbx
mov rcx, r12
call fcn.14000b050
mov rdi, qword [r12]
mov r8, r15
mov rdx, r13
mov rcx, rdi
call fcn.14001dbe0
mov rax, qword [rsp + 0x50]
mov dword [rax], ebx
xor bpl, 1
movzx eax, bpl
jmp 0x14000afc3
test ebp, ebp
jne 0x14000aea2
cmp esi, ebx
jge 0x14000ae85
mov rdx, rbx
mov rcx, r12
call fcn.14000b050
mov rdi, qword [r12]
lea r8, [rbx*4]
mov rdx, r13
mov rcx, rdi
call fcn.14001dbe0
mov al, 1
mov dword [r14], ebx
jmp 0x14000afc3
cmp ebp, 1
jl 0x14000b031
movzx r14d, word [rdi + rbp*4 - 2]
movzx r15d, word [rdx + rbx*4 - 2]
cmp ebx, ebp
jge 0x14000af10
lea rsi, [rbx*4]
mov rcx, rdi
mov r8, rsi
call fcn.14002fc20
test eax, eax
jne 0x14000af82
sub ebp, ebx
lea rcx, [rsi + rdi]
movsxd rdx, ebp
test ebp, ebp
jle 0x14000af7d
xor eax, eax
nop dword [rax]
cmp word [rcx + rax*4 + 2], r15w
jne 0x14000af82
cmp word [rcx + rax*4], 0x20
jne 0x14000af82
inc rax
cmp rax, rdx
jl 0x14000aef0
xor dil, dil
jmp 0x14000af85
jle 0x14000afe6
lea r15, [rbp*4]
mov rcx, rdi
mov r8, r15
call fcn.14002fc20
test eax, eax
jne 0x14000af82
cmp ebx, esi
lea rdx, [rdi + r15]
cmovl esi, ebx
xor eax, eax
sub esi, ebp
movsxd r8, esi
test esi, esi
jle 0x14000af5a
mov ecx, eax
cmp word [rdx + rcx*4 + 2], r14w
jne 0x14000af82
cmp word [rdx + rcx*4], 0x20
jne 0x14000af82
inc rcx
cmp rcx, r8
jl 0x14000af43
mov edx, ebx
lea rcx, [r15 + r13]
sub edx, ebp
test edx, edx
jle 0x14000af7d
cmp word [rcx + 2], r14w
jne 0x14000af82
cmp word [rcx], 0x20
jne 0x14000af82
inc eax
add rcx, 4
cmp eax, edx
jl 0x14000af66
xor dil, dil
jmp 0x14000af85
mov dil, 1
mov rcx, qword [r12]
mov rax, qword [r12 + 8]
sub rax, rcx
sar rax, 2
cmp eax, ebx
jge 0x14000afa8
mov rdx, rbx
mov rcx, r12
call fcn.14000b050
mov rcx, qword [r12]
lea r8, [rbx*4]
mov rdx, r13
call fcn.14001dbe0
mov rax, qword [rsp + 0x50]
mov dword [rax], ebx
movzx eax, dil
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov r12, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop r13
pop rbx
ret
lea r8, str.newLength___m_prevLength
mov edx, 0x7b
lea rcx, str.D:_a_arduino_ide_arduino_ide_node_modules_node_ptydepswinpty_src_agentConsoleLine.cc
call fcn.1400178c0
int3
lea r8, [0x14003c570]
mov edx, 0x51
lea rcx, str.D:_a_arduino_ide_arduino_ide_node_modules_node_ptydepswinpty_src_agentConsoleLine.cc
call fcn.1400178c0
int3
lea r8, str.m_prevLength___static_cast_int__m_prevData.size___
mov edx, 0x52
lea rcx, str.D:_a_arduino_ide_arduino_ide_node_modules_node_ptydepswinpty_src_agentConsoleLine.cc
call fcn.1400178c0
int3
lea r8, str.m_prevLength___1
mov edx, 0x60
lea rcx, str.D:_a_arduino_ide_arduino_ide_node_modules_node_ptydepswinpty_src_agentConsoleLine.cc
call fcn.1400178c0
int3