Function at 0x671fe240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67289390
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x674c412c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebx]
mov eax, dword [eax]
cmp eax, 1
je 0x671fe281
mov byte [ebp - 0x11], 1
test eax, eax
jne 0x671fe285
mov byte [ebp - 0x11], 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
push dword [ebp + 8]
push 4
push 0x38
call sym.Qt5Core.dll_public:_static_struct_QArrayData____cdecl_QArrayData::allocate_unsigned_int__unsigned_int__unsigned_int__class_QFlags_enum_QArrayData::AllocationOption__
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x30], edi
test edi, edi
jne 0x671fe2ac
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov esi, dword [ebx]
mov edx, dword [esi + 0xc]
lea eax, [edx + esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xc]
add eax, edi
mov dword [ebp - 0x20], eax
lea ecx, [edx + ecx*8]
add ecx, esi
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x28], ecx
je 0x671fe3e6
lea eax, [edx + esi]
cmp eax, ecx
je 0x671fe417
mov edx, dword [ebp - 0x20]
mov esi, eax
mov ecx, edx
mov dword [ebp - 0x24], esi
lea edi, [ecx + 0xc]
mov dword [ebp - 0x18], ecx
lea ebx, [ecx + 0x18]
mov dword [edi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
add edx, 0x38
mov dword [edi + 4], 0
add eax, 0x38
mov dword [ebp - 0x20], edx
push esi
mov dword [ebp - 0x1c], eax
mov dword [ecx], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edi + 8], 0
mov dword [ebx], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ecx + 0x24], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
call fcn.6708b5d0
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
add esi, 0xc
mov dword [ecx + 8], eax
mov ecx, edi
push esi
call fcn.6708b5d0
mov eax, dword [esi + 4]
mov ecx, ebx
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x24]
add esi, 0x18
mov dword [edi + 8], eax
push esi
call fcn.6708b5d0
mov eax, dword [esi + 4]
mov edi, dword [ebp - 0x18]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov ebx, dword [ebp - 0x24]
lea ecx, [edi + 0x24]
lea esi, [ebx + 0x24]
push esi
call fcn.6708b5d0
mov eax, dword [esi + 4]
mov ecx, edi
mov dword [edi + 0x28], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x2c], eax
mov eax, dword [ebx + 0x34]
xor eax, dword [ecx + 0x34]
and eax, 1
xor dword [ecx + 0x34], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x28]
jne 0x671fe2f0
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
jmp 0x671fe417
mov esi, dword [ebp - 0x1c]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
shl eax, 3
push eax
push esi
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
xor ecx, dword [edi + 8]
and ecx, 0x7fffffff
xor ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov ecx, dword [ebx]
mov eax, dword [ecx]
test eax, eax
je 0x671fe447
cmp eax, 0xffffffff
je 0x671fe46c
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
setne al
test al, al
jne 0x671fe46c
cmp dword [ebp + 8], 0
je 0x671fe463
cmp byte [ebp - 0x11], 0
jne 0x671fe463
push 4
push 0x38
push dword [ebx]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
jmp 0x671fe46c
push dword [ebx]
mov ecx, ebx
call sym.Qt5Core.dll_private:_void___thiscall_QVector_class_QXmlStreamAttribute_::freeData_struct_QTypedArrayData_class_QXmlStreamAttribute___
mov dword [ebx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8