Function at 0x6704bdc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67289b30
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
cmp dword [eax + 4], 0
je 0x6704be1a
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esi], eax
test ecx, ecx
je 0x6704c0ca
cmp ecx, 0xffffffff
je 0x6704c0ca
lock inc dword [eax]
jmp 0x6704c0ca
call fcn.6704b820
mov edx, dword [esi]
mov ecx, dword [edx + 0xc]
call fcn.6704b7b0
mov edi, eax
lea ecx, [edx + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], edi
push eax
call sym.Qt5Core.dll_public:_class_QByteArray___thiscall_QCryptographicHash::result_void_
mov dword [ebp - 4], 0
mov dword [ebp - 0x134], edi
cmp edi, 0x100
jle 0x6704be77
push edi
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 0x6704c0df
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
jmp 0x6704be8d
lea edx, [ebp - 0x128]
mov dword [ebp - 0x138], 0x100
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
add esi, eax
xor eax, eax
mov dword [ebp - 0x18], esi
test edi, edi
jle 0x6704bf65
cmp edi, 0x40
jb 0x6704bf57
lea ecx, [esi - 1]
add ecx, edi
cmp edx, ecx
ja 0x6704bec6
lea ecx, [edi - 1]
add ecx, edx
cmp ecx, esi
jae 0x6704bf57
mov ecx, edi
and ecx, 0x8000003f
jns 0x6704bed5
dec ecx
or ecx, 0xffffffc0
inc ecx
movaps xmm2, xmmword [0x6741d6d0]
mov edx, edi
mov edi, dword [ebp - 0x18]
sub edx, ecx
mov ecx, dword [ebp - 0x130]
add esi, 0x30
mov dword [ebp - 0x10], edx
sub edi, ecx
mov dword [ebp - 0x24], edi
lea edx, [ecx + 0x10]
mov ecx, dword [ebp - 0x10]
nop word [eax + eax]
movups xmm0, xmmword [esi - 0x30]
mov edi, dword [ebp - 0x24]
lea esi, [esi + 0x40]
movaps xmm1, xmm2
lea edx, [edx + 0x40]
pxor xmm0, xmm2
add eax, 0x40
movups xmmword [edx - 0x50], xmm0
movups xmm0, xmmword [edi + edx - 0x40]
mov edi, dword [ebp - 0x14]
pxor xmm0, xmm2
movups xmmword [edx - 0x40], xmm0
movups xmm0, xmmword [esi - 0x50]
pxor xmm0, xmm2
movups xmmword [edx - 0x30], xmm0
movups xmm0, xmmword [esi - 0x40]
pxor xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
cmp eax, ecx
jl 0x6704bf00
mov dword [ebp - 0x14], eax
cmp eax, edi
jge 0x6704bf65
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x130]
mov cl, byte [eax + esi]
xor cl, 0x5c
mov byte [edx + eax], cl
inc eax
cmp eax, edi
jl 0x6704bf51
mov edi, dword [ebp - 0x20]
push 0x1b0
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
call fcn.67284a71
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov dword [eax + 0x1a8], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [eax], esi
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::reset_void_
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push dword [ebp - 0x134]
push dword [ebp - 0x130]
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::addData_char_const___int_
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
push dword [eax + 4]
add ecx, eax
push ecx
lea ecx, [ebp - 0x10]
call sym.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::addData_char_const___int_
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call sym.Qt5Core.dll_public:_class_QByteArray___thiscall_QCryptographicHash::result_void_
mov edx, dword [edi]
mov esi, eax
or edi, 0xffffffff
mov ecx, dword [edx + 4]
mov eax, dword [esi]
mov dword [edx + 4], eax
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esi], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x6704bffe
cmp eax, edi
je 0x6704c014
mov eax, dword [ebp - 0x18]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6704c014
mov eax, dword [ebp - 0x18]
cmp eax, 0x674c7cb4
je 0x6704c014
push eax
call edx
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x6704c02f
cmp ecx, 0xffffffff
je 0x6704c02f
lock inc dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x6704c081
mov ecx, dword [eax + 0x1a8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x6704c05e
cmp ecx, 0xffffffff
je 0x6704c071
mov esi, dword [ebp - 0x14]
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
mov esi, dword [ebp + 8]
setne cl
test cl, cl
jne 0x6704c071
mov eax, dword [eax + 0x1a8]
cmp eax, 0x674c7cb4
je 0x6704c071
push eax
call edx
add esp, 4
push 0x1b0
push dword [ebp - 0x10]
call fcn.67284aa1
add esp, 8
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x6704c09b
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
test eax, eax
je 0x6704c0b8
cmp eax, 0xffffffff
je 0x6704c0ca
lock xadd dword [ecx], edi
dec edi
setne al
test al, al
jne 0x6704c0ca
cmp ecx, 0x674c7cb4
je 0x6704c0ca
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
int3