Function at 0x40a3bd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x84
mov eax, 0x419c3c
call fcn.00417a7d
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], ebx
and dword [ebp - 0x2c], 0
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
and dword [ebp - 4], 0
push 8
mov dword [ebx], vtable.Downloader.0
call fcn.00416825
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
push 0
mov ecx, esi
mov byte [ebp - 4], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QProcess::constructor_class_QObject__]
mov dword [esi], vtable.QProcess.0
mov byte [ebp - 4], 0
push 8
mov dword [ebx + 8], esi
call fcn.00416825
mov esi, eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
mov dword [esp], str.HKCUSoftwareDownload_Studio
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push 0
push 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
mov dword [ebp - 0x2c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
mov dword [esi], vtable.QSettings.0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
mov dword [ebx + 0xc], esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
call dword [sym.imp.Qt5Core.dll_public:_static_long_long___int64____cdecl_QCoreApplication::applicationPid_void_]
mov dword [ebx + 0x14], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::applicationDirPath_void_]
pop ecx
push eax
lea ecx, [ebx + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString__]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebx + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [ebx + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [ebx + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push str.Settings_DownloadPath
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [ebp - 0x70]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebx + 0xc]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [ebp - 0x60]
call esi
lea ecx, [ebp - 0x70]
call esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QStandardPaths::writableLocation_enum_QStandardPaths::StandardLocation_]
cmp dword [eax + 4], 0
jne 0x40a5bb
lea eax, [ebp - 0x2c]
push 0xe
push eax
call edi
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
jne 0x40a55b
lea eax, [ebp - 0x2c]
push 8
push eax
call edi
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push str.Settings_DownloadPath
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebx + 0xc]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSettings::setValue_class_QString_const___class_QVariant_const__]
lea ecx, [ebp - 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x4c]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push str.Settings_MaxDownloadsNum
lea ecx, [ebp - 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [ebp - 0x90]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x14
mov ecx, dword [ebx + 0xc]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x15
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
lea ecx, [ebp - 0x80]
call esi
lea ecx, [ebp - 0x90]
call esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x19
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
jne 0x40a672
push 0x499d40
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_char_const__]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push str.Settings_MaxDownloadsNum
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1a
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebx + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSettings::setValue_class_QString_const___class_QVariant_const__]
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x19
call esi
push str.Settings_ListenPort
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [ebp - 0x60]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebx + 0xc]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1e
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
lea ecx, [ebp - 0x70]
call esi
lea ecx, [ebp - 0x60]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x22
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x34]
push 9
push eax
call edi
mov esi, eax
lea eax, [ebp - 0x2e]
mov byte [ebp - 4], 0x23
mov edi, dword [sym.imp.Qt5Core.dll_public:_static_class_QChar___cdecl_QDir::separator_void_]
push eax
call edi
mov edx, esi
lea ecx, [ebp - 0x3c]
movzx eax, word [eax]
push eax
call fcn.004010c3
push str.data
mov edx, eax
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x38]
call fcn.004010fd
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebx + 0x1c]
add esp, 0x14
push eax
call esi
lea ecx, [ebp - 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x22
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x2e]
push eax
call edi
lea edx, [ebx + 0x1c]
lea ecx, [ebp - 0x3c]
movzx eax, word [eax]
push eax
call fcn.004010c3
push str.session.dat
mov edx, eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x34]
call fcn.004010fd
add esp, 0xc
push eax
lea ecx, [ebx + 0x20]
call esi
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x22
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x2e]
push eax
call edi
lea edi, [ebx + 0x1c]
mov edx, edi
lea ecx, [ebp - 0x3c]
movzx eax, word [eax]
push eax
call fcn.004010c3
push str.dht.dat
mov edx, eax
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x34]
call fcn.004010fd
add esp, 0xc
lea ecx, [ebx + 0x24]
push eax
call esi
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x22
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push edi
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x27
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QDir::exists_void_const]
test al, al
jne 0x40a7e4
push edi
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QDir::mkpath_class_QString_const__const]
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFile::constructor_class_QString_const__]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x28
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QFile::exists_void_const]
test al, al
jne 0x40a81d
push ecx
mov eax, esp
lea ecx, [ebp - 0x28]
mov dword [eax], 2
call dword [sym.imp.Qt5Core.dll_public_virtual:_bool___thiscall_QFile::open_class_QFlags_enum_QIODevice::OpenModeFlag__]
lea ecx, [ebp - 0x28]
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QFileDevice::close_void_]
lea ecx, [ebp - 0x28]
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QFile::destructor_void_]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, ebx
call fcn.00417a2c
ret 4