Function at 0x1400014e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rbx, rcx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rbp + 8]
lea rcx, [rbx + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
mov eax, dword [rbx + 0x10]
lea rdx, [rbp + 0x18]
xor eax, dword [rbp + 0x10]
and eax, 1
xor dword [rbx + 0x10], eax
mov ecx, dword [rbx + 0x10]
xor ecx, dword [rbp + 0x10]
and ecx, 2
xor dword [rbx + 0x10], ecx
lea rcx, [rbx + 0x18]
mov eax, dword [rbp + 0x14]
mov dword [rbx + 0x14], eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rbp + 0x20]
lea rcx, [rbx + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rbp + 0x28]
lea rcx, [rbx + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rbp + 0x30]
lea rcx, [rbx + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
movzx eax, byte [rbp + 0x38]
mov byte [rbx + 0x38], al
mov rcx, qword [rbp + 0x40]
mov qword [rbx + 0x40], rcx
mov eax, dword [rcx]
test eax, eax
je 0x140001584
cmp eax, 0xffffffff
je 0x14000168f
mov eax, 1
lock xadd dword [rcx], eax
jmp 0x14000168f
mov rax, qword [rbx + 0x40]
lea rcx, [rbx + 0x40]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
mov edx, dword [rax + 4]
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_int____ptr64]
mov rcx, qword [rbp + 0x40]
movsxd r15, dword [rcx + 8]
add rcx, 0x10
lea r15, [rcx + r15*8]
mov rcx, qword [rbx + 0x40]
movsxd r12, dword [rcx + 0xc]
movsxd r14, dword [rcx + 8]
add r12, 2
add r14, 2
lea r12, [rcx + r12*8]
lea r14, [rcx + r14*8]
cmp r14, r12
je 0x140001680
mov qword [rsp + 0x40], rsi
nop
mov ecx, 0x40
call fcn.140038ea8
mov rdi, qword [r15]
mov rcx, rax
mov rdx, rdi
mov rsi, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rdi + 8]
lea rcx, [rsi + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
mov ecx, dword [rsi + 0x10]
lea rdx, [rdi + 0x18]
xor ecx, dword [rdi + 0x10]
and ecx, 1
xor dword [rsi + 0x10], ecx
mov ecx, dword [rsi + 0x10]
xor ecx, dword [rdi + 0x10]
and ecx, 2
xor dword [rsi + 0x10], ecx
lea rcx, [rsi + 0x18]
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rdi + 0x20]
lea rcx, [rsi + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rdi + 0x28]
lea rcx, [rsi + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rdx, [rdi + 0x30]
lea rcx, [rsi + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
movzx eax, byte [rdi + 0x38]
lea r15, [r15 + 8]
mov byte [rsi + 0x38], al
mov qword [r14], rsi
add r14, 8
cmp r14, r12
jne 0x1400015e0
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x58]
mov eax, dword [rbp + 0x48]
lea rdx, [rbp + 0x58]
mov dword [rbx + 0x48], eax
lea rcx, [rbx + 0x58]
movzx eax, byte [rbp + 0x4c]
mov byte [rbx + 0x4c], al
movzx eax, byte [rbp + 0x4d]
mov byte [rbx + 0x4d], al
movzx eax, byte [rbp + 0x4e]
mov byte [rbx + 0x4e], al
movzx eax, byte [rbp + 0x4f]
mov byte [rbx + 0x4f], al
movzx eax, byte [rbp + 0x50]
mov byte [rbx + 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 [rbx + 0x60], al
movzx eax, byte [rbp + 0x61]
mov byte [rbx + 0x61], al
movzx eax, byte [rbp + 0x62]
mov byte [rbx + 0x62], al
movzx eax, byte [rbp + 0x63]
mov byte [rbx + 0x63], al
movzx eax, byte [rbp + 0x64]
mov byte [rbx + 0x64], al
movzx eax, byte [rbp + 0x65]
mov byte [rbx + 0x65], al
movzx eax, byte [rbp + 0x66]
mov byte [rbx + 0x66], al
movzx eax, byte [rbp + 0x67]
mov byte [rbx + 0x67], al
movzx eax, byte [rbp + 0x68]
mov byte [rbx + 0x68], al
mov eax, dword [rbp + 0x6c]
mov dword [rbx + 0x6c], eax
mov rax, qword [rbp + 0x70]
mov qword [rbx + 0x70], rax
mov rax, rbx
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret