Function at 0x1002c280
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1006882b
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 + 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], 1
cmp dword [eax + 4], 0
jne 0x1002c31e
lea eax, [esp + 0x28]
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 + 0x28]
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 + 0x2c], 1
jmp 0x1002c5e9
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray_const__]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray_const__]
mov byte [esp + 0x58], 3
mov dword [esp + 0x20], esi
cmp eax, 1
jne 0x1002c37a
push 9
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1002c620
add esp, 0xc
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 esi, 1
mov dword [esp + 0x20], esi
jmp 0x1002c3c0
test eax, eax
jne 0x1002c3c0
push 9
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1002c620
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x18]
cmp ecx, dword [eax + 4]
jge 0x1002c3b6
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call edi
mov esi, 1
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov eax, dword [ebp + 0x10]
mov byte [esp + 0x58], 4
cmp eax, 1
jne 0x1002c435
push ecx
mov eax, esp
lea ecx, [esp + 0x3c]
or esi, 2
mov dword [esp + 0x24], esi
mov dword [eax], 2
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::constructor_class_QByteArray___class_QFlags_enum_QIODevice::OpenModeFlag__]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 5
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_]
add esp, 8
movzx eax, ax
lea ecx, [esp + 0x38]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDataStream____thiscall_QDataStream::operator___short_int_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::destructor_void_]
jmp 0x1002c49d
cmp eax, 2
jne 0x1002c49d
or esi, 4
lea ecx, [esp + 0x28]
push eax
mov dword [esp + 0x24], esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::constructor_enum_QCryptographicHash::Algorithm_]
lea eax, [esp + 0x18]
mov byte [esp + 0x58], 6
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::addData_class_QByteArray_const__]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QCryptographicHash::result_void_]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 7
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::destructor_void_]
call dword [sym.imp.Qt5Core.dll_int___cdecl_qrand_void_]
mov byte [esp + 0x30], al
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x30]
push eax
call fcn.1002bd20
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 8
push ecx
push eax
lea eax, [esp + 0x44]
push eax
call fcn.100249f0
add esp, 0x18
lea ecx, [esp + 0x18]
push eax
call edi
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov byte [esp + 0x17], 0
mov eax, dword [eax + 4]
test eax, eax
jle 0x1002c556
mov esi, eax
mov ecx, dword [ebp + 8]
mov eax, ebx
and eax, 7
push ebx
mov edi, dword [ecx + 0xc]
add edi, eax
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x1c]
add edi, ecx
mov ecx, eax
mov dword [esp + 0x34], eax
call dword [sym.imp.Qt5Core.dll_public:_char___thiscall_QByteArray::at_int_const]
xor al, byte [edi]
lea ecx, [esp + 0x30]
xor al, byte [esp + 0x17]
movzx eax, al
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteRef____thiscall_QByteRef::operator_char_]
push ebx
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_char___thiscall_QByteArray::at_int_const]
inc ebx
mov byte [esp + 0x17], al
cmp ebx, esi
jl 0x1002c506
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 9
mov eax, dword [eax + 4]
add eax, 2
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::reserve_int_]
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_]
lea ecx, [esp + 0x1c]
push 3
call edi
push esi
lea ecx, [esp + 0x20]
call edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__]
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x1c]
push eax
mov dword [ebp + 0x14], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray__]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 1
mov byte [esp + 0x58], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x18]
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