Function at 0x140012ae0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push rdi
push r13
push r14
sub rsp, 0x28
mov rax, qword [rcx]
mov rbx, rcx
movsxd rdi, edx
mov r9d, r8d
mov edx, 8
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x68], r12
mov r8, rdi
mov ecx, dword [rax]
cmp ecx, 1
mov qword [rsp + 0x20], r15
lea ecx, [rdx + 0x58]
seta r13b
call qword [sym.imp.Qt5Core_conda.dll_public:_static_struct_QArrayData____ptr64___cdecl_QArrayData::allocate_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___class_QFlags_enum_QArrayData::AllocationOption__]
mov rcx, qword [rbx]
mov r14, rax
mov r12, qword [rax + 0x10]
mov edx, dword [rcx + 4]
add r12, rax
mov dword [rax + 4], edx
mov r8, qword [rbx]
mov rdx, qword [r8 + 0x10]
movsxd rcx, dword [r8 + 4]
lea r15, [rdx + r8]
lea rbp, [rcx + rcx*2]
shl rbp, 5
add rbp, rdx
add rbp, r8
test r13b, r13b
je 0x140012c8a
cmp r15, rbp
je 0x140012cbb
mov qword [rsp + 0x60], rsi
nop word [rax + rax]
mov rsi, r12
mov rdi, r15
mov rdx, rdi
mov rcx, rsi
add r12, 0x60
add r15, 0x60
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rdi + 8]
lea rcx, [rsi + 8]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
mov eax, dword [rsi + 0x10]
lea rdx, [rdi + 0x20]
xor eax, dword [rdi + 0x10]
and eax, 1
xor dword [rsi + 0x10], eax
mov ecx, dword [rsi + 0x10]
xor ecx, dword [rdi + 0x10]
and ecx, 2
xor dword [rsi + 0x10], ecx
lea rcx, [rsi + 0x20]
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
mov eax, dword [rdi + 0x18]
mov dword [rsi + 0x18], eax
call fcn.140001870
lea rdx, [rdi + 0x28]
lea rcx, [rsi + 0x28]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rdi + 0x30]
lea rcx, [rsi + 0x30]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rdi + 0x38]
lea rcx, [rsi + 0x38]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rdi + 0x40]
lea rcx, [rsi + 0x40]
call qword [sym.imp.Qt5Core_conda.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
mov eax, dword [rdi + 0x48]
mov dword [rsi + 0x48], eax
mov eax, dword [rdi + 0x4c]
mov dword [rsi + 0x4c], eax
movzx eax, byte [rdi + 0x50]
mov byte [rsi + 0x50], al
movzx eax, byte [rdi + 0x51]
mov byte [rsi + 0x51], al
movzx eax, byte [rdi + 0x52]
mov byte [rsi + 0x52], al
movzx eax, byte [rdi + 0x53]
mov byte [rsi + 0x53], al
movzx eax, byte [rdi + 0x54]
mov byte [rsi + 0x54], al
movzx eax, byte [rdi + 0x55]
mov byte [rsi + 0x55], al
movzx eax, byte [rdi + 0x56]
mov byte [rsi + 0x56], al
movzx eax, byte [rdi + 0x57]
mov byte [rsi + 0x57], al
movzx eax, byte [rdi + 0x58]
mov byte [rsi + 0x58], al
movzx eax, byte [rdi + 0x59]
mov byte [rsi + 0x59], al
movzx eax, byte [rdi + 0x5a]
mov byte [rsi + 0x5a], al
movzx eax, byte [rdi + 0x5b]
mov byte [rsi + 0x5b], al
movzx eax, byte [rdi + 0x5c]
mov byte [rsi + 0x5c], al
movzx eax, byte [rdi + 0x5d]
mov byte [rsi + 0x5d], al
movzx eax, byte [rdi + 0x5e]
mov byte [rsi + 0x5e], al
cmp r15, rbp
jne 0x140012b70
mov edi, dword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
jmp 0x140012cbb
sub rbp, r15
movabs rax, 0x2aaaaaaaaaaaaaab
imul rbp
mov rcx, r12
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea r8, [rdx + rdx*2]
mov rdx, r15
shl r8, 5
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
mov ecx, dword [rax + 8]
xor ecx, dword [r14 + 8]
btr ecx, 0x1f
xor ecx, dword [rax + 8]
mov dword [r14 + 8], ecx
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x140012cfb
cmp eax, 0xffffffff
je 0x140012d40
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140012d40
test edi, edi
je 0x140012d09
test r13b, r13b
jne 0x140012d09
mov rcx, qword [rbx]
jmp 0x140012d30
mov rdi, qword [rbx]
mov rcx, rbx
mov rdx, qword [rdi + 0x10]
movsxd rax, dword [rdi + 4]
lea r8, [rax + rax*2]
shl r8, 5
add r8, rdx
add rdx, rdi
add r8, rdi
call fcn.140006750
mov rcx, rdi
mov r8d, 8
lea edx, [r8 + 0x58]
call qword [sym.imp.Qt5Core_conda.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__]
mov qword [rbx], r14
add rsp, 0x28
pop r14
pop r13
pop rdi
pop rbx
ret