Function at 0x140011d10
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r13
sub rsp, 0x28
mov rbx, qword [rcx]
mov rsi, rcx
mov qword [rsp + 0x68], r14
movsxd r13, r8d
movsxd r14, edx
mov eax, dword [rbx]
cmp eax, 1
seta dil
mov byte [rsp + 0x60], dil
test r8d, r8d
je 0x140011fc7
mov r8, qword [rcx]
mov eax, dword [r8 + 8]
btr eax, 0x1f
cmp r13d, eax
jne 0x140011d9c
test dil, dil
jne 0x140011d9c
movsxd rax, dword [rbx + 4]
imul r9, rax, 0x70
imul rdx, r14, 0x70
add r9, rbx
add r9, qword [rbx + 0x10]
add rdx, rbx
add rdx, qword [rbx + 0x10]
cmp r14d, dword [r8 + 4]
jg 0x140011d88
mov r8, r9
call fcn.140006900
mov dword [rbx + 4], r14d
jmp 0x140011fce
mov r8, rdx
mov rdx, r9
call fcn.1400062a0
mov dword [rbx + 4], r14d
jmp 0x140011fce
mov edx, 8
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], r12
mov r8, r13
mov qword [rsp + 0x20], r15
lea ecx, [rdx + 0x68]
call qword [sym.imp.Qt5Core.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 rbx, rax
mov rdx, r14
mov dword [rax + 4], r14d
mov rcx, qword [rsi]
mov r8, qword [rcx + 0x10]
movsxd rax, dword [rcx + 4]
lea rbp, [r8 + rcx]
cmp r14d, eax
jle 0x140011de0
imul rdx, rax, 0x70
jmp 0x140011de4
imul rdx, rdx, 0x70
mov r12, qword [rbx + 0x10]
lea r15, [rdx + r8]
add r15, rcx
add r12, rbx
test dil, dil
je 0x140011f1e
cmp rbp, r15
je 0x140011f80
nop dword [rax]
nop dword [rax + rax]
mov rdi, r12
mov rdx, rbp
mov rcx, rdi
add r12, 0x70
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rbp + 8]
lea rcx, [rdi + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
mov eax, dword [rdi + 0x10]
lea rdx, [rbp + 0x20]
xor eax, dword [rbp + 0x10]
and eax, 1
xor dword [rdi + 0x10], eax
mov ecx, dword [rdi + 0x10]
xor ecx, dword [rbp + 0x10]
and ecx, 2
xor dword [rdi + 0x10], ecx
lea rcx, [rdi + 0x20]
mov eax, dword [rbp + 0x14]
mov dword [rdi + 0x14], eax
mov eax, dword [rbp + 0x18]
mov dword [rdi + 0x18], eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rbp + 0x28]
lea rcx, [rdi + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rbp + 0x30]
lea rcx, [rdi + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
movzx eax, byte [rbp + 0x38]
lea rdx, [rbp + 0x40]
lea rcx, [rdi + 0x40]
mov byte [rdi + 0x38], al
call fcn.140001c10
mov eax, dword [rbp + 0x48]
lea rdx, [rbp + 0x58]
mov dword [rdi + 0x48], eax
lea rcx, [rdi + 0x58]
movzx eax, byte [rbp + 0x4c]
mov byte [rdi + 0x4c], al
movzx eax, byte [rbp + 0x4d]
mov byte [rdi + 0x4d], al
movzx eax, byte [rbp + 0x4e]
mov byte [rdi + 0x4e], al
movzx eax, byte [rbp + 0x4f]
mov byte [rdi + 0x4f], al
movzx eax, byte [rbp + 0x50]
mov byte [rdi + 0x50], al
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
movzx eax, byte [rbp + 0x60]
mov byte [rdi + 0x60], al
movzx eax, byte [rbp + 0x61]
mov byte [rdi + 0x61], al
movzx eax, byte [rbp + 0x62]
mov byte [rdi + 0x62], al
movzx eax, byte [rbp + 0x63]
mov byte [rdi + 0x63], al
movzx eax, byte [rbp + 0x64]
mov byte [rdi + 0x64], al
movzx eax, byte [rbp + 0x65]
mov byte [rdi + 0x65], al
movzx eax, byte [rbp + 0x66]
mov byte [rdi + 0x66], al
movzx eax, byte [rbp + 0x67]
mov byte [rdi + 0x67], al
movzx eax, byte [rbp + 0x68]
mov byte [rdi + 0x68], al
mov eax, dword [rbp + 0x6c]
add rbp, 0x70
mov dword [rdi + 0x6c], eax
cmp rbp, r15
jne 0x140011e10
jmp 0x140011f7b
sub r15, rbp
movabs rax, 0x4924924924924925
imul r15
mov rcx, r12
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdi, rdx, 0x70
mov rdx, rbp
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rsi]
add r12, rdi
movsxd rax, dword [r9 + 4]
cmp r14d, eax
jge 0x140011f7b
imul r8, rax, 0x70
imul rdx, r14, 0x70
add r8, qword [r9 + 0x10]
mov rcx, rsi
add r8, r9
add rdx, qword [r9 + 0x10]
add rdx, r9
call fcn.140006900
movzx edi, byte [rsp + 0x60]
mov rcx, qword [rsi]
mov r15, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x50]
cmp r14d, dword [rcx + 4]
jle 0x140011fb0
movsxd rax, dword [rbx + 4]
mov rdx, r12
imul r8, rax, 0x70
mov rcx, rsi
add r8, qword [rbx + 0x10]
add r8, rbx
call fcn.1400062a0
mov rcx, qword [rsi]
mov eax, dword [rcx + 8]
xor eax, dword [rbx + 8]
mov r12, qword [rsp + 0x58]
btr eax, 0x1f
xor eax, dword [rcx + 8]
mov dword [rbx + 8], eax
jmp 0x140011fce
mov rbx, qword [sym.imp.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov rcx, qword [rsi]
mov r14, qword [rsp + 0x68]
cmp rcx, rbx
je 0x140012039
mov eax, dword [rcx]
test eax, eax
je 0x140011ff4
cmp eax, 0xffffffff
je 0x140012036
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140012036
test r13d, r13d
je 0x140012003
test dil, dil
jne 0x140012003
mov rcx, qword [rsi]
jmp 0x140012026
mov rdi, qword [rsi]
mov rcx, rsi
mov rdx, qword [rdi + 0x10]
movsxd rax, dword [rdi + 4]
imul r8, rax, 0x70
add r8, rdx
add rdx, rdi
add r8, rdi
call fcn.140006900
mov rcx, rdi
mov r8d, 8
lea edx, [r8 + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__]
mov qword [rsi], rbx
add rsp, 0x28
pop r13
pop rdi
pop rsi
pop rbx
ret