Function at 0x6706e670
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x6722d756
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
push ebx
push esi
push edi
mov eax, dword [0x67463180]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
cmp byte [edi + 0x10], 0
jne 0x6706e899
mov edx, dword [edi + 0xc]
push edx
mov byte [edi + 0x10], 1
call fcn.6706e8c0
mov ecx, dword [edi]
mov esi, eax
add esp, 4
cmp dword [ecx + 4], esi
jle 0x6706e749
push edx
lea ecx, [esp + 0x14]
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::constructor_enum_QCryptographicHash::Algorithm_
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x138], 0
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::addData_class_QByteArray_const__
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call sym.Qt5Core.dll_public:_class_QByteArray___thiscall_QCryptographicHash::result_void_
mov edx, dword [edi]
mov ecx, dword [eax]
mov dword [edi], ecx
mov dword [eax], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
test ecx, ecx
je 0x6706e71f
cmp ecx, 0xffffffff
je 0x6706e72c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6706e72c
mov eax, dword [esp + 0x14]
push 4
push 1
push eax
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
lea ecx, [esp + 0x10]
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::reset_void_
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], 0xffffffff
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::destructor_void_
mov eax, dword [edi]
mov ebx, dword [eax + 4]
cmp ebx, esi
jge 0x6706e7a4
push esi
mov ecx, edi
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::resize_int_
mov ecx, dword [edi]
mov eax, dword [ecx]
cmp eax, 1
je 0x6706e767
test eax, eax
jne 0x6706e76d
cmp dword [ecx + 0xc], 0x10
je 0x6706e78b
xor eax, eax
mov edx, 1
test dword [ecx + 8], 0x80000000
cmovne eax, edx
push eax
mov eax, dword [ecx + 4]
mov ecx, edi
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QByteArray::reallocData_unsigned_int__class_QFlags_enum_QArrayData::AllocationOption__
mov ecx, dword [edi]
mov eax, esi
sub eax, ebx
push eax
push 0
mov eax, dword [ecx + 0xc]
add eax, ecx
add eax, ebx
push eax
call fcn.6722730a
add esp, 0xc
mov dword [esp + 0x20], esi
cmp esi, 0x100
jle 0x6706e7d7
push esi
call dword [0x6724833c]
mov edx, eax
add esp, 4
mov dword [esp + 0x24], edx
test edx, edx
jne 0x6706e7cd
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jmp 0x6706e7e7
lea edx, [esp + 0x2c]
mov dword [esp + 0x1c], 0x100
mov dword [esp + 0x24], edx
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0x134], 1
mov ebx, dword [eax + 0xc]
add ebx, eax
test esi, esi
jle 0x6706e876
cmp esi, 0x20
jb 0x6706e861
lea eax, [ebx - 1]
add eax, esi
cmp edx, eax
ja 0x6706e816
lea eax, [esi - 1]
add eax, edx
cmp eax, ebx
jae 0x6706e861
mov eax, esi
and eax, 0x8000001f
jns 0x6706e824
dec eax
or eax, 0xffffffe0
inc eax
movdqa xmm1, xmmword [str.6666666666666666QRect]
mov edi, esi
sub edi, eax
movdqu xmm0, xmmword [ebx + ecx]
pxor xmm0, xmm1
movdqu xmmword [edx + ecx], xmm0
mov eax, dword [esp + 0x24]
movdqu xmm0, xmmword [ebx + ecx + 0x10]
pxor xmm0, xmm1
movdqu xmmword [eax + ecx + 0x10], xmm0
mov edx, dword [esp + 0x24]
add ecx, 0x20
cmp ecx, edi
jl 0x6706e830
mov edi, dword [esp + 0x18]
cmp ecx, esi
jge 0x6706e876
mov al, byte [ecx + ebx]
xor al, 0x36
mov byte [edx + ecx], al
inc ecx
mov edx, dword [esp + 0x24]
cmp ecx, esi
jl 0x6706e865
push dword [esp + 0x20]
lea ecx, [edi + 8]
push edx
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::addData_char_const___int_
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x6706e899
push eax
call dword [0x67248338]
add esp, 4
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x128
ret