Function at 0x6706e950
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x6722d7b4
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
push esi
push edi
mov eax, dword [0x67463180]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x134], esi
mov dword [esp + 0x120], 0
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
cmp dword [eax + 4], 0
je 0x6706e9be
mov edx, eax
mov eax, dword [esp + 0x148]
mov dword [eax], edx
mov ecx, dword [edx]
test ecx, ecx
je 0x6706e9b9
cmp ecx, 0xffffffff
je 0x6706e9b9
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x6706ec2c
call fcn.6706e670
mov ecx, dword [esi]
push dword [ecx + 0xc]
call fcn.6706e8c0
add esp, 4
mov esi, eax
lea eax, [esp + 0x12c]
mov dword [esp + 0x124], esi
add ecx, 8
push eax
call sym.Qt5Core.dll_public:_class_QByteArray___thiscall_QCryptographicHash::result_void_
mov dword [esp + 0x140], 1
mov edi, esi
mov dword [esp + 0x10], edi
cmp esi, 0x100
jle 0x6706ea29
push esi
call dword [0x6724833c]
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x6706ea23
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc], edi
jmp 0x6706ea39
lea edx, [esp + 0x1c]
mov dword [esp + 0xc], 0x100
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x134]
mov byte [esp + 0x140], 2
mov eax, dword [eax]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
add edi, eax
xor eax, eax
mov dword [esp + 0x11c], edi
test esi, esi
jle 0x6706eb04
cmp esi, 0x20
jb 0x6706eaeb
lea ecx, [edi - 1]
add ecx, esi
cmp edx, ecx
ja 0x6706ea7d
lea ecx, [esi - 1]
add ecx, edx
cmp ecx, edi
jae 0x6706eaeb
mov ecx, esi
and ecx, 0x8000001f
jns 0x6706ea8c
dec ecx
or ecx, 0xffffffe0
inc ecx
movdqa xmm1, xmmword [0x6728cc80]
mov dword [esp + 0x128], esi
lea esi, [edi + 0x10]
sub dword [esp + 0x128], ecx
mov edi, dword [esp + 0x128]
lea esp, [esp]
movdqu xmm0, xmmword [esi + eax - 0x10]
pxor xmm0, xmm1
movdqu xmmword [edx + eax], xmm0
mov ecx, dword [esp + 0x14]
movdqu xmm0, xmmword [esi + eax]
pxor xmm0, xmm1
movdqu xmmword [ecx + eax + 0x10], xmm0
mov edx, dword [esp + 0x14]
add eax, 0x20
cmp eax, edi
jl 0x6706eab0
mov esi, dword [esp + 0x124]
mov edi, dword [esp + 0x11c]
cmp eax, esi
jge 0x6706eb04
nop
mov cl, byte [eax + edi]
xor cl, 0x5c
mov byte [edx + eax], cl
inc eax
cmp eax, esi
jge 0x6706eb04
mov edx, dword [esp + 0x14]
jmp 0x6706eaf0
mov edi, dword [esp + 0x134]
lea ecx, [esp + 0x130]
mov eax, dword [edi]
push dword [eax + 0xc]
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::constructor_enum_QCryptographicHash::Algorithm_
push dword [esp + 0x10]
lea ecx, [esp + 0x134]
mov byte [esp + 0x144], 3
push dword [esp + 0x18]
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::addData_char_const___int_
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x134]
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::addData_class_QByteArray_const__
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x134]
call sym.Qt5Core.dll_public:_class_QByteArray___thiscall_QCryptographicHash::result_void_
mov esi, dword [edi]
mov ecx, dword [eax]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
or esi, 0xffffffff
mov dword [eax], edx
mov eax, dword [esp + 0x134]
mov ecx, dword [eax]
test ecx, ecx
je 0x6706eb94
cmp ecx, esi
je 0x6706eba1
mov ecx, esi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6706eba1
mov eax, dword [esp + 0x134]
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
mov eax, dword [edi]
mov edi, dword [esp + 0x148]
mov ecx, dword [eax + 4]
mov dword [edi], ecx
mov eax, dword [ecx]
test eax, eax
je 0x6706ebc3
cmp eax, 0xffffffff
je 0x6706ebc3
mov eax, 1
lock xadd dword [ecx], eax
lea ecx, [esp + 0x130]
mov dword [esp + 0x120], 1
mov byte [esp + 0x140], 2
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::destructor_void_
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x6706ebf8
push eax
call dword [0x67248338]
add esp, 4
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax]
test ecx, ecx
je 0x6706ec1d
cmp ecx, 0xffffffff
je 0x6706ec2a
lock xadd dword [eax], esi
dec esi
setne al
test al, al
jne 0x6706ec2a
mov eax, dword [esp + 0x12c]
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
mov eax, edi
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x138
ret 4