Function at 0x140001bc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf0
mov r15, r9
mov r12, r8
mov r13, rdx
mov rsi, rcx
xor r14d, r14d
mov edi, r14d
mov dword [rbp - 0x61], r14d
mov rbx, qword [rbp + 0x7f]
cmp dword [rcx + 0x1c], 1
jl 0x140001c2d
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_bool___cdecl_QByteArray::isEmpty_void_const___ptr64]
test al, al
jne 0x1400021d8
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
movsxd rcx, dword [rsi + 0x14]
cmp rax, rcx
jne 0x1400021d8
mov rcx, r15
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
movsxd rcx, dword [rsi + 0x24]
cmp rax, rcx
jne 0x1400021d8
mov rcx, r12
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
movsxd rcx, dword [rsi + 0x14]
cqo
idiv rcx
test rdx, rdx
jne 0x1400021d8
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x19]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
nop
mov r9b, 1
mov r8, r15
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140002aa0
mov rdx, rax
lea rcx, [rbp - 0x19]
call qword [sym.imp.Qt6Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::operator_class_QByteArray____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
mov ecx, dword [rsi + 0x1c]
test ecx, ecx
je 0x140002135
sub ecx, 1
je 0x140001f12
sub ecx, 1
je 0x140001db6
cmp ecx, 1
jne 0x1400021b3
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
nop
mov r9, rbx
lea r8, [rbp - 0x19]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400018d0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_class_QByteArray_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
movsxd rbx, dword [rsi + 0x14]
mov rcx, r12
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
cmp rbx, rax
jge 0x140001d76
movsxd r8, dword [rsi + 0x14]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll__right_QByteArray__QEGBA_AV1__J_Z]
nop
mov r9, rax
lea r8, [rbp - 0x19]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400018d0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_class_QByteArray_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
add ebx, dword [rsi + 0x14]
mov rcx, r12
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
movsxd rcx, ebx
cmp rcx, rax
jl 0x140001d12
lea r9, [rsp + 0x50]
mov r8, r12
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400017f0
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt6Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_class_QByteArray_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
jmp 0x1400021b3
mov r9, rbx
lea r8, [rbp - 0x19]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400018d0
mov rbx, rax
movsxd r9, dword [rsi + 0x14]
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, r12
call qword [sym.imp.Qt6Core.dll__mid_QByteArray__QEGBA_AV1__J0_Z]
nop
mov r9, rbx
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400017f0
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt6Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_class_QByteArray_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
mov rcx, r12
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
test rax, rax
jle 0x1400021b3
mov rbx, r14
nop dword [rax]
movsxd rdi, dword [rsi + 0x14]
mov rcx, r12
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
lea ecx, [rdi + r14]
movsxd rdx, ecx
cmp rdx, rax
jge 0x140001ef4
mov r9, rdi
mov r8, rbx
lea rdx, [rbp - 0x41]
mov rcx, r12
call qword [sym.imp.Qt6Core.dll__mid_QByteArray__QEGBA_AV1__J0_Z]
nop
mov r9, rax
lea r8, [rbp - 0x19]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400018d0
mov rbx, rax
movsxd rcx, dword [rsi + 0x14]
mov r9, rcx
add ecx, r14d
movsxd r8, ecx
lea rdx, [rsp + 0x38]
mov rcx, r12
call qword [sym.imp.Qt6Core.dll__mid_QByteArray__QEGBA_AV1__J0_Z]
nop
mov r9, rbx
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400017f0
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt6Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_class_QByteArray_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
add r14d, dword [rsi + 0x14]
movsxd rbx, r14d
mov rcx, r12
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
cmp rbx, rax
jl 0x140001e40
jmp 0x1400021b3
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
nop
mov dword [rbp + 0x5f], r14d
mov rcx, r12
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
test rax, rax
jle 0x140002125
mov rbx, r14
mov qword [rbp - 0x21], rbx
nop
movsxd r9, dword [rsi + 0x14]
mov r8, rbx
lea rdx, [rbp - 0x41]
mov rcx, r12
call qword [sym.imp.Qt6Core.dll__mid_QByteArray__QEGBA_AV1__J0_Z]
nop
mov r9, rax
lea r8, [rbp - 0x19]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140002ca0
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt6Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_class_QByteArray_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
movsxd r9, dword [rsi + 0x14]
mov r8, rbx
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt6Core.dll__mid_QByteArray__QEGBA_AV1__J0_Z]
mov qword [rbp - 0x41], rax
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_char_const____ptr64___cdecl_QByteArray::begin_void_const___ptr64]
mov rbx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_char_const____ptr64___cdecl_QByteArray::begin_void_const___ptr64]
mov r13, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
or edi, 2
mov dword [rbp - 0x5d], edi
mov dword [rbp - 0x61], edi
mov r15d, r14d
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
mov rdi, rax
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
cmp rdi, rax
cmovl rax, rdi
test rax, rax
jle 0x140002057
mov rcx, r14
sub r13, rbx
mov r12, qword [rbp - 0x41]
nop word [rax + rax]
movzx r8d, byte [rbx + r13]
xor r8b, byte [rbx]
mov rdx, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::insert_long_long___int64___char____ptr64]
inc r15d
lea rbx, [rbx + 1]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
mov rdi, rax
mov rcx, r12
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
movsxd rcx, r15d
cmp rdi, rax
cmovl rax, rdi
cmp rcx, rax
jl 0x140002010
mov r12, qword [rbp + 0x6f]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
mov rbx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_bool___cdecl_QByteArray::isNull_void_const___ptr64]
test al, al
je 0x140002079
mov rax, r14
jmp 0x140002084
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_char_const____ptr64___cdecl_QByteArray::data_void_const___ptr64]
mov qword [rsp + 0x50], rbx
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_private:_static_char_const____ptr64___cdecl_QByteArrayView::castHelper_char_const____ptr64_]
mov qword [rbp - 0x79], rax
movsxd r8, dword [rsi + 0x14]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x41], xmm0
lea r9, [rbp - 0x41]
mov rdx, qword [rbp - 0x21]
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt6Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::replace_long_long___int64___long_long___int64___class_QByteArrayView____ptr64]
mov edi, dword [rbp - 0x5d]
and edi, 0xfffffffd
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rbp - 1]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
movsxd r9, dword [rsi + 0x14]
mov r8, qword [rbp - 0x21]
lea rdx, [rbp - 1]
mov rcx, r12
call qword [sym.imp.Qt6Core.dll__mid_QByteArray__QEGBA_AV1__J0_Z]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::operator_class_QByteArray____ptr64____ptr64]
lea rcx, [rbp - 1]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
mov eax, dword [rbp + 0x5f]
add eax, dword [rsi + 0x14]
mov dword [rbp + 0x5f], eax
movsxd rbx, eax
mov qword [rbp - 0x21], rbx
mov rcx, r12
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
cmp rbx, rax
jl 0x140001f40
mov r13, qword [rbp + 0x67]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
jmp 0x1400021b3
mov rcx, r12
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
test rax, rax
jle 0x1400021b3
mov rbx, r14
nop word [rax + rax]
movsxd r9, dword [rsi + 0x14]
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.Qt6Core.dll__mid_QByteArray__QEGBA_AV1__J0_Z]
nop
mov r9, rax
lea r8, [rbp - 0x19]
lea rdx, [rbp - 1]
mov rcx, rsi
call fcn.140002ca0
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt6Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_class_QByteArray_const____ptr64____ptr64]
nop
lea rcx, [rbp - 1]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
add r14d, dword [rsi + 0x14]
movsxd rbx, r14d
mov rcx, r12
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QByteArray::size_void_const___ptr64]
cmp rbx, rax
jl 0x140002150
lea rdx, [rbp - 0x59]
mov rcx, r13
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray____ptr64____ptr64]
nop
lea rcx, [rbp - 0x19]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
jmp 0x1400021e1
mov rcx, r13
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
mov rax, r13
mov rbx, qword [rsp + 0x148]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret