Function at 0x1002be80
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x100687a2
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], 1
cmp dword [eax + 4], 0
jne 0x1002bf1e
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::warning_void_]
push str.No_key_set.
mov ecx, eax
mov byte [esp + 0x5c], 2
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov ecx, dword [esp + 0x60]
mov dword [ebp + 0x14], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov dword [esp + 0x1c], 1
jmp 0x1002c255
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray_const__]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 3
call dword [sym.imp.Qt5Core.dll_public:_char___thiscall_QByteArray::at_int_const]
cmp al, 3
je 0x1002bf96
lea eax, [esp + 0x24]
mov dword [ebp + 0x14], 2
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::warning_void_]
push str.Invalid_version_or_not_a_cyphertext.
mov ecx, eax
mov byte [esp + 0x5c], 4
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov ecx, dword [esp + 0x60]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
jmp 0x1002c23e
push 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_char___thiscall_QByteArray::at_int_const]
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QByteArray::mid_int__int_]
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
movsx ebx, al
lea eax, [esp + 0x28]
push 2
push eax
mov dword [esp + 0x2c], ebx
call esi
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esp + 0x18]
xor edi, edi
mov byte [esp + 0x14], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
test eax, eax
jle 0x1002c055
mov bl, byte [esp + 0x14]
lea ecx, [ecx]
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
call dword [sym.imp.Qt5Core.dll_public:_char___thiscall_QByteRef::operator_char_void_const]
mov edx, dword [ebp + 8]
mov ecx, edi
and ecx, 7
mov byte [esp + 0x14], al
lea eax, [esp + 0x18]
push edi
mov esi, dword [edx + 0xc]
add esi, ecx
mov dword [esp + 0x34], eax
mov ecx, eax
mov dword [esp + 0x38], edi
add esi, edx
call dword [sym.imp.Qt5Core.dll_public:_char___thiscall_QByteArray::at_int_const]
xor al, byte [esi]
lea ecx, [esp + 0x30]
xor al, bl
movzx eax, al
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteRef____thiscall_QByteRef::operator_char_]
mov bl, byte [esp + 0x14]
inc edi
cmp edi, dword [esp + 0x24]
jl 0x1002bff0
mov ebx, dword [esp + 0x20]
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QByteArray::mid_int__int_]
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
call esi
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
test bl, 2
je 0x1002c12c
mov eax, dword [esp + 0x18]
cmp dword [eax + 4], 2
jge 0x1002c0a2
mov ecx, dword [esp + 0x60]
mov dword [ebp + 0x14], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
jmp 0x1002c23e
push ecx
mov eax, esp
lea ecx, [esp + 0x3c]
mov dword [eax], 1
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::constructor_class_QByteArray___class_QFlags_enum_QIODevice::OpenModeFlag__]
lea eax, [esp + 0x14]
mov byte [esp + 0x58], 5
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_class_QDataStream____thiscall_QDataStream::operator___short_int__]
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::destructor_void_]
push 0xffffffffffffffff
push 2
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
call esi
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
call dword [sym.imp.Qt5Core.dll_unsigned_short_int___cdecl_qChecksum_char_const___unsigned_int_]
movzx eax, ax
add esp, 8
cmp ax, word [esp + 0x14]
sete al
jmp 0x1002c1f4
test bl, 4
je 0x1002c1fc
mov eax, dword [esp + 0x18]
cmp dword [eax + 4], 0x14
jl 0x1002c08c
push 0x14
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QByteArray::left_int_]
push 0xffffffffffffffff
push 0x14
lea eax, [esp + 0x1c]
mov byte [esp + 0x60], 6
push eax
lea ecx, [esp + 0x24]
call esi
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 2
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::constructor_enum_QCryptographicHash::Algorithm_]
lea eax, [esp + 0x18]
mov byte [esp + 0x58], 7
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::addData_class_QByteArray_const__]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QCryptographicHash::result_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 8
push ecx
push eax
call fcn.1002bca0
add esp, 8
mov byte [esp + 0x14], al
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov al, byte [esp + 0x14]
test al, al
je 0x1002c08c
test bl, 1
je 0x1002c228
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1002c650
add esp, 8
lea ecx, [esp + 0x18]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x18]
push eax
mov dword [ebp + 0x14], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray__]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x58], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x64]
mov byte [esp + 0x58], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8