Function at 0x6704b820
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67289a98
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
cmp byte [edi + 0x10], 0
jne 0x6704bae5
mov eax, dword [edi + 0xc]
mov ecx, eax
mov byte [edi + 0x10], 1
mov dword [ebp - 0x18], eax
call fcn.6704b7b0
mov ecx, dword [edi]
mov esi, eax
mov dword [ebp - 0x28], esi
cmp dword [ecx + 4], esi
jle 0x6704b92e
push 0x1b0
call fcn.67284a71
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax + 0x1a8], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [eax], ecx
lea ecx, [ebp - 0x14]
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::reset_void_
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
push dword [eax + 4]
add ecx, eax
push ecx
lea ecx, [ebp - 0x14]
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::addData_char_const___int_
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 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 [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x6704b903
cmp eax, 0xffffffff
je 0x6704b917
mov eax, dword [ebp - 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6704b917
mov eax, dword [ebp - 0x18]
cmp eax, 0x674c7cb4
je 0x6704b917
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [ebp - 0x14]
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::reset_void_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::destructor_void_
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp eax, esi
jge 0x6704b987
push esi
mov ecx, edi
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::resize_int_
mov eax, dword [edi]
mov eax, dword [eax]
cmp eax, 1
je 0x6704b94f
test eax, eax
jne 0x6704b957
mov eax, dword [edi]
cmp dword [eax + 0xc], 0x10
je 0x6704b96c
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
inc ecx
shr eax, 0x1f
push eax
push ecx
mov ecx, edi
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, dword [ebp - 0x14]
push eax
push 0
mov eax, dword [ecx + 0xc]
add eax, ecx
add eax, dword [ebp - 0x14]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x134], esi
cmp esi, 0x100
jle 0x6704b9bd
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, eax
add esp, 4
mov dword [ebp - 0x130], edx
test edx, edx
je 0x6704baf9
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
jmp 0x6704b9d3
lea edx, [ebp - 0x128]
mov dword [ebp - 0x138], 0x100
mov dword [ebp - 0x130], edx
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
add ecx, eax
xor eax, eax
mov dword [ebp - 0x14], ecx
test esi, esi
jle 0x6704babc
cmp esi, 0x40
jb 0x6704baa2
dec ecx
add ecx, esi
cmp edx, ecx
ja 0x6704ba0c
lea ecx, [esi - 1]
add ecx, edx
cmp ecx, dword [ebp - 0x14]
jae 0x6704baa2
mov ecx, esi
and ecx, 0x8000003f
jns 0x6704ba1b
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edi, dword [ebp - 0x14]
mov edx, esi
movaps xmm2, xmmword [str.6666666666666666333333]
sub edx, ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x130]
sub edi, ecx
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
lea edx, [ecx + 0x10]
mov ecx, dword [ebp - 0x18]
nop dword [eax]
movups xmm0, xmmword [ecx - 0x30]
lea ecx, [ecx + 0x40]
add eax, 0x40
movaps xmm1, xmm2
lea edx, [edx + 0x40]
pxor xmm0, xmm2
movups xmmword [edx - 0x50], xmm0
movups xmm0, xmmword [esi + edx - 0x40]
pxor xmm0, xmm2
movups xmmword [edx - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x50]
pxor xmm0, xmm2
movups xmmword [edx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
cmp eax, dword [ebp - 0x1c]
jl 0x6704ba50
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jge 0x6704babc
mov edi, dword [ebp - 0x14]
mov cl, byte [eax + edi]
xor cl, 0x36
mov byte [edx + eax], cl
inc eax
mov edx, dword [ebp - 0x130]
cmp eax, esi
jl 0x6704baa5
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x134]
lea ecx, [edi + 8]
push edx
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::addData_char_const___int_
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x6704bae5
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
int3