Function at 0x41d920
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x469090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea esi, [eax + 0xfc8]
add eax, 0x17f8
push eax
push esi
push str._s_s.exe
lea eax, [ebp - 0x614]
push 0x104
push eax
call edi
push esi
push str._s_torrent.ico
lea ecx, [ebp - 0x40c]
push 0x104
push ecx
call edi
lea eax, [ebp - 0x614]
push eax
push str.__s_____1_
lea ecx, [ebp - 0x204]
xor edx, edx
push 0x100
push ecx
mov word [ebp - 0x204], dx
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 0x34
push 0
lea edx, [ebp - 0x618]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesZona_shellopencommand
push SysReAllocString
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41da16
lea eax, [ebp - 0x204]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d9e0
sub eax, edx
mov edx, dword [ebp - 0x618]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x204]
push ecx
push 1
push 0
push 0x4589c0
push edx
call esi
mov eax, dword [ebp - 0x618]
push eax
call edi
push 0
lea ecx, [ebp - 0x618]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesZonaDefaultIcon
push SysReAllocString
call ebx
test eax, eax
jne 0x41da7b
lea eax, [ebp - 0x40c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41da45
mov ecx, dword [ebp - 0x618]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x40c]
push eax
push 1
push 0
push 0x4589c0
push ecx
call esi
mov edx, dword [ebp - 0x618]
push edx
call edi
push 0
lea eax, [ebp - 0x618]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.Zona_shellopencommand
push SysReAllocString
call ebx
test eax, eax
jne 0x41dae6
lea eax, [ebp - 0x204]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41dab0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 0x618]
push ecx
lea edx, [ebp - 0x204]
push edx
push 1
push 0
push 0x4589c0
push eax
call esi
mov ecx, dword [ebp - 0x618]
push ecx
call edi
push 0
lea edx, [ebp - 0x618]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.ZonaDefaultIcon
push SysReAllocString
call ebx
test eax, eax
jne 0x41db4b
lea eax, [ebp - 0x40c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41db15
sub eax, edx
mov edx, dword [ebp - 0x618]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push 1
push 0
push 0x4589c0
push edx
call esi
mov eax, dword [ebp - 0x618]
push eax
call edi
push 0
lea ecx, [ebp - 0x618]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.ApplicationsZona.exe_shellopencommand
push SysReAllocString
call ebx
test eax, eax
jne 0x41dbb6
lea eax, [ebp - 0x204]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41db80
mov ecx, dword [ebp - 0x618]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x204]
push eax
push 1
push 0
push 0x4589c0
push ecx
call esi
mov edx, dword [ebp - 0x618]
push edx
call edi
push 0
lea eax, [ebp - 0x618]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesZona
push SysReAllocString
call ebx
test eax, eax
jne 0x41dbfd
mov ecx, dword [ebp - 0x618]
push 2
push 0x4589c0
push 1
push eax
push str.URL_Protocol
push ecx
call esi
mov edx, dword [ebp - 0x618]
push edx
call edi
push 0
lea eax, [ebp - 0x618]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.Zona
push SysReAllocString
call ebx
test eax, eax
jne 0x41dc44
mov ecx, dword [ebp - 0x618]
push 2
push 0x4589c0
push 1
push eax
push str.URL_Protocol
push ecx
call esi
mov edx, dword [ebp - 0x618]
push edx
call edi
push 0
lea eax, [ebp - 0x618]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesZona_shell
push SysReAllocString
call ebx
test eax, eax
jne 0x41dc8b
mov ecx, dword [ebp - 0x618]
push 0xa
push str.open
push 1
push eax
push 0x4589c0
push ecx
call esi
mov edx, dword [ebp - 0x618]
push edx
call edi
lea ecx, [ebp - 0x614]
push ecx
push str.__s_torrent.ico_
lea edx, [ebp - 0x204]
xor eax, eax
push 0x100
push edx
mov word [ebp - 0x204], ax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push 0
lea eax, [ebp - 0x618]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesZonaDefaultIcon
push SysReAllocString
call ebx
test eax, eax
jne 0x41dd1a
lea eax, [ebp - 0x204]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41dce4
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 0x618]
push ecx
lea edx, [ebp - 0x204]
push edx
push 1
push 0
push 0x4589c0
push eax
call esi
mov ecx, dword [ebp - 0x618]
push ecx
call edi
push 0
lea edx, [ebp - 0x618]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.ZonaDefaultIcon
push SysReAllocString
call ebx
test eax, eax
jne 0x41dd86
lea eax, [ebp - 0x204]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41dd50
sub eax, edx
mov edx, dword [ebp - 0x618]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x204]
push ecx
push 1
push 0
push 0x4589c0
push edx
call esi
mov eax, dword [ebp - 0x618]
push eax
call edi
push 0
lea ecx, [ebp - 0x618]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.torrentOpenWithProgids
push SysReAllocString
call ebx
test eax, eax
jne 0x41ddcd
mov edx, dword [ebp - 0x618]
push 2
push 0x4589c0
push 1
push eax
push str.Zona
push edx
call esi
mov eax, dword [ebp - 0x618]
push eax
call edi
cmp byte [ebp + 8], 0
je 0x41def3
push 0
lea ecx, [ebp - 0x618]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..torrent
push SysReAllocString
call ebx
test eax, eax
jne 0x41de1e
mov edx, dword [ebp - 0x618]
push 0xa
push str.Zona
push 1
push eax
push 0x4589c0
push edx
call esi
mov eax, dword [ebp - 0x618]
push eax
call edi
push 0
lea ecx, [ebp - 0x618]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClasses.torrent
push SysReAllocString
call ebx
test eax, eax
jne 0x41de65
mov edx, dword [ebp - 0x618]
push 0xa
push str.Zona
push 1
push eax
push 0x4589c0
push edx
call esi
mov eax, dword [ebp - 0x618]
push eax
call edi
push 0
lea ecx, [ebp - 0x618]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..zona
push SysReAllocString
call ebx
test eax, eax
jne 0x41deac
mov edx, dword [ebp - 0x618]
push 0xa
push str.Zona
push 1
push eax
push 0x4589c0
push edx
call esi
mov eax, dword [ebp - 0x618]
push eax
call edi
push 0
lea ecx, [ebp - 0x618]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClasses.zona
push SysReAllocString
call ebx
test eax, eax
jne 0x41def3
mov edx, dword [ebp - 0x618]
push 0xa
push str.Zona
push 1
push eax
push 0x4589c0
push edx
call esi
mov eax, dword [ebp - 0x618]
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043722b
mov esp, ebp
pop ebp
ret