Function at 0x40da5f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x4c
mov eax, 0x41ad41
call fcn.00417a7d
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
push 0x40000
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.torrentUserChoice
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40dabe
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 1
push ebx
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x24]
push eax
push 4
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, str..torrent
lea ecx, [ebp - 0x2c]
push edi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040d584
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
or ebx, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push edi
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
mov esi, str.HKCUSoftwareClasses
mov dword [ebp - 4], 2
push esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d584
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push str.Magnet
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d584
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, str.DownloadStudio.TorrentFile.1
lea ecx, [ebp - 0x34]
push esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.HKCUSoftwareDownload_StudioCapabilitiesFileAssociations
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push esi
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.applicationx_bittorrent
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.HKCUSoftwareDownload_StudioCapabilitiesMIMEAssociations
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push str.DownloadStudio.MagnetUri.1
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.magnet
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xc
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.HKCUSoftwareDownload_StudioCapabilitiesURLAssociations
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push str.SoftwareDownload_StudioCapabilities
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.Download_Studio
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xf
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
mov byte [ebp - 4], 0x10
push str.HKCUSoftwareRegisteredApplications
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push esi
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
mov ebx, str.Default
mov dword [ebp - 4], 0x12
push ebx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
mov esi, str.HKCUSoftwareClasses.torrent
mov byte [ebp - 4], 0x13
push esi
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push str.application_x_bittorrent
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
mov edi, str.Content_Type
mov dword [ebp - 4], 0x15
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x16
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push str.Magnet_URI
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x18
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
mov esi, str.HKCUSoftwareClassesMagnet
mov byte [ebp - 4], 0x19
push esi
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push str.application_x_magnet
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x1b
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1c
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x41de08
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.URL_Protocol
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x1e
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1f
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ebx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.HKCUSoftwareClassesMagnetDefaultIcon
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0x21
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x22
mov edi, dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::applicationFilePath_void_]
push eax
call edi
pop ecx
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x23
mov esi, dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__]
push eax
call esi
mov ebx, 0x49a6d4
mov byte [ebp - 4], 0x24
push eax
mov edx, ebx
lea ecx, [ebp - 0x40]
call fcn.0040a379
add esp, 0xc
push 0x49aa88
mov edx, eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x30]
call fcn.004010fd
pop ecx
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x40]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push str.open
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.Default
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x27
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.HKCUSoftwareClassesMagnet_shell
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x28
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x29
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push str.Default
lea ecx, [ebp - 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.HKCUSoftwareClassesMagnet_shellopencommand
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0x2a
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x2b
push eax
call edi
pop ecx
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x2c
push eax
call esi
push eax
mov edx, ebx
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x50]
call fcn.0040a379
add esp, 0xc
push str.____open_magnet_uri___1_
mov edx, eax
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x4c]
call fcn.004010fd
pop ecx
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x2f
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040d527
lea ecx, [ebp - 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x54]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
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_]
xor eax, eax
push eax
push eax
push eax
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call fcn.00417a2c
ret