Function at 0x41d690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dce8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4498ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebx + 8]
mov dword [ebp - 4], 0
cmp dword [eax + 4], 0
jne 0x41d717
push 0
push 0
push 0
lea ecx, [ebp - 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
lea ecx, [ebp - 0x30]
push ecx
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 [ebp - 4], 1
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
jmp 0x41d9cf
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray_const__]
mov eax, dword [ebx + 0xc]
xor esi, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esi
cmp eax, 1
jne 0x41d775
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov esi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push 9
push esi
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.Qt5Core.dll_class_QByteArray___cdecl_qCompress_unsigned_char_const___int__int_]
add esp, 0x10
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov esi, 1
mov dword [ebp - 0x18], esi
jmp 0x41d7c5
test eax, eax
jne 0x41d7c5
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov edi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push 9
push edi
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.Qt5Core.dll_class_QByteArray___cdecl_qCompress_unsigned_char_const___int__int_]
mov eax, dword [ebp - 0x24]
add esp, 0x10
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax + 4]
jge 0x41d7bc
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray_const__]
mov esi, 1
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov eax, dword [ebx + 0x10]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__]
mov byte [ebp - 4], 3
cmp eax, 1
jne 0x41d836
push ecx
mov eax, esp
lea ecx, [ebp - 0x4c]
or esi, 2
mov dword [ebp - 0x18], esi
mov dword [eax], 2
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::constructor_class_QByteArray___class_QFlags_enum_QIODevice::OpenModeFlag__]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
mov edi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push edi
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, [ebp - 0x4c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDataStream____thiscall_QDataStream::operator___short_int_]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::destructor_void_]
jmp 0x41d889
cmp eax, 2
jne 0x41d889
or esi, 4
lea ecx, [ebp - 0x24]
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::constructor_enum_QCryptographicHash::Algorithm_]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::addData_class_QByteArray_const__]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QCryptographicHash::result_void_]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call ebx
lea ecx, [ebp - 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QCryptographicHash::destructor_void_]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov byte [ebp - 0x10], al
lea ecx, [ebp - 0x34]
push 1
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call ebx
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray_const__]
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray_const__]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call ebx
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray_const__]
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray_const__]
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov byte [ebp - 0x10], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
test eax, eax
jle 0x41d970
mov esi, dword [ebp - 0x30]
mov ecx, dword [esi + 8]
mov eax, ebx
and eax, 7
push ebx
mov edi, dword [ecx + 0xc]
add edi, eax
add edi, ecx
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_char___thiscall_QByteArray::at_int_const]
xor al, byte [edi]
lea ecx, [ebp - 0x14]
xor al, byte [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteRef___thiscall_QByteArray::operator___int_]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteRef____thiscall_QByteRef::operator_char_]
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_char___thiscall_QByteArray::at_int_const]
inc ebx
mov byte [ebp - 0x10], al
cmp ebx, dword [ebp - 0x34]
jl 0x41d925
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_]
lea ecx, [ebp - 0x1c]
push 3
mov byte [ebp - 4], 0xa
call edi
push esi
lea ecx, [ebp - 0x1c]
call edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray__]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8