Function at 0x435b2f
Capabilities:
Get common file path
Get startup folder
Persist via run registry key
Set file attributes
Terminate process

Disassembly:
push ebp
sub esp, 0x58
mov eax, 0x693d10
call fcn.006375a8
sub esp, 0x96c
push ebx
push esi
push edi
push str.classic_uninstall
lea ecx, [ebp - 0x24]
call fcn.0040d4cf
sub esp, 0x18
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x40], esp
xor ebx, ebx
mov dword [ebp], ecx
mov dword [ebp - 4], ebx
push eax
call fcn.0040da7b
xor eax, eax
lea ecx, [ebp + 0x5b]
inc eax
mov byte [ebp - 4], al
call fcn.0059e14f
push eax
lea ecx, [ebp + 0x5b]
mov byte [ebp - 4], bl
call fcn.0059e23a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
xor esi, esi
push ebx
inc esi
push esi
call fcn.0040daff
push 0x104
lea eax, [ebp - 0x770]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
call fcn.004610f1
test al, al
jne 0x435c4d
cmp byte [0x79de98], 6
jb 0x435c4d
push str._UNINSTALL
lea ecx, [ebp + 0x28]
call fcn.00427f43
mov dword [ebp - 4], 2
cmp byte [ebp + 0x64], bl
je 0x435bf3
mov esi, 0x6b7588
push esi
call fcn.00426a30
pop ecx
push eax
push esi
lea ecx, [ebp + 0x28]
call fcn.0042689e
cmp byte [ebp + 0x68], 0
je 0x435c0f
mov esi, str.__REMSETTINGS
push esi
call fcn.00426a30
pop ecx
push eax
push esi
lea ecx, [ebp + 0x28]
call fcn.0042689e
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x24], ax
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
mov byte [ebp - 4], 3
jae 0x435c2f
lea eax, [ebp + 0x28]
push ebx
xor esi, esi
lea ecx, [ebp - 0x24]
inc esi
push esi
push ebx
push ecx
push eax
lea eax, [ebp - 0x770]
push eax
call fcn.00432683
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov bl, byte [ebp + 0x64]
test bl, bl
jne 0x435ca8
lea ecx, [ebp - 0xa8]
call fcn.0058a3bf
mov dword [ebp - 0xa8], 0x6b7374
lea eax, [ebp + 0x68]
mov dword [ebp - 4], 4
push eax
push 0xfe
call fcn.005897e5
push eax
lea ecx, [ebp - 0xa8]
call fcn.0058b0b2
lea ecx, [ebp - 0xa8]
cmp byte [ebp - 0x74], bl
jne 0x435c9f
call fcn.0058a456
jmp 0x436272
or dword [ebp - 4], 0xffffffff
call fcn.0058a456
call fcn.0043595e
test al, al
jne 0x435cda
test bl, bl
jne 0x435cda
push 0x10
push 0x7e7
call fcn.00588778
push eax
push 0x7e8
call fcn.00588778
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x436272
push dword [ebp + 0x68]
call fcn.004828be
xor ebx, ebx
mov dword [0x7d2da8], ebx
mov dword [0x7d2da0], ebx
mov dword [0x7d2da4], ebx
call fcn.004729a5
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 8
pop edi
push edi
call fcn.004319a0
lea ecx, [ebp - 0x158]
call fcn.0059557b
push edi
push 0x79faac
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], 5
call fcn.00595e0a
xor eax, eax
mov dword [ebp + 0x54], 7
mov dword [ebp + 0x50], ebx
mov word [ebp + 0x40], ax
push 0x104
lea eax, [ebp - 0x978]
mov byte [ebp - 4], 6
push eax
push str.InstallLocation
push str.SoftwareMicrosoftWindowsCurrentVersionUninstalluTorrent
push reloc.WS2_32.dll_accept
call fcn.00483521
test al, al
je 0x435fc1
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x978]
push eax
call fcn.0048301e
test eax, eax
je 0x435d83
push ebx
jmp 0x43625e
push esi
lea eax, [ebp - 0x770]
push eax
call fcn.0045e8e7
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00427922
push eax
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp + 0x40]
mov ecx, esp
push eax
call fcn.0042615e
lea eax, [ebp + 0x28]
push eax
call fcn.0045e7e8
xor ebx, ebx
mov byte [ebp - 4], 9
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.004267c2
push esi
lea eax, [ebp - 0x770]
push eax
call fcn.0045e8e7
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00427922
push eax
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x978]
mov ecx, esp
push eax
call fcn.00427f43
lea eax, [ebp - 0x3c]
push eax
call fcn.0045e7e8
push ebx
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xc
call fcn.004267c2
mov eax, dword [ebp + 0x28]
cmp dword [ebp + 0x3c], edi
jae 0x435e1b
lea eax, [ebp + 0x28]
push eax
call fcn.00478902
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x28], edi
jae 0x435e2c
lea eax, [ebp - 0x3c]
push eax
call fcn.00478902
mov eax, dword [ebp + 0x28]
cmp dword [ebp + 0x3c], edi
jae 0x435e3d
lea eax, [ebp + 0x28]
push eax
call fcn.00436286
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x28], edi
jae 0x435e4e
lea eax, [ebp - 0x3c]
push eax
call fcn.00436286
push esi
push 0x28
lea eax, [ebp - 0x360]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp + 0x64], 0x18
test eax, eax
je 0x435f68
lea ecx, [ebp - 0x360]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x435e7d
mov eax, dword [ebp + 0x40]
sub ecx, edx
sar ecx, 1
cmp dword [ebp + 0x54], edi
jae 0x435e97
lea eax, [ebp + 0x40]
push ecx
lea ecx, [ebp - 0x360]
push ecx
push eax
call fcn.0065cf60
add esp, 0xc
test eax, eax
jne 0x435f68
lea eax, [ebp - 0x568]
push eax
call fcn.0042d49e
lea eax, [ebp - 0x568]
push eax
lea ecx, [ebp - 0x70]
call fcn.00427f43
push esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xd
push eax
sub esp, 0x18
lea eax, [ebp - 0x360]
mov ecx, esp
push eax
call fcn.00427f43
lea eax, [ebp - 0x24]
push eax
call fcn.0045e7e8
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.004267c2
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x10], edi
jae 0x435f10
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp + 4]
push eax
call fcn.0045f599
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
sub eax, ecx
cdq
idiv dword [ebp + 0x64]
cmp eax, esi
jne 0x435f56
push 0x6b6f34
call fcn.00437471
test eax, eax
jne 0x435f56
lea eax, [ebp - 0x360]
push eax
call fcn.00426a30
pop ecx
push eax
lea eax, [ebp - 0x360]
push eax
lea ecx, [ebp + 0x40]
call fcn.004372ba
lea ecx, [ebp + 4]
call fcn.00437139
push ebx
push esi
lea ecx, [ebp - 0x24]
call fcn.004267c2
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov eax, dword [ebp + 0x40]
mov byte [ebp - 4], 0x11
cmp dword [ebp + 0x54], edi
jae 0x435f80
lea eax, [ebp + 0x40]
push ebx
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0045f599
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x1c]
push 0x18
pop ecx
cdq
idiv ecx
lea ecx, [ebp + 0x1c]
cmp esi, eax
sbb bl, bl
inc bl
call fcn.00437139
xor edi, edi
lea ecx, [ebp - 0x3c]
push edi
push esi
call fcn.004267c2
push edi
push esi
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 6
call fcn.004267c2
jmp 0x435fc3
xor edi, edi
push 0x6b6e68
lea eax, [ebp - 0x58]
push eax
call fcn.00470ce5
cmp byte [ebp + 0x68], 0
mov byte [ebp - 4], 0x12
je 0x43606a
cmp dword [ebp - 0x48], 0
je 0x43606a
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x435ff5
lea eax, [ebp - 0x58]
push eax
call fcn.0045f286
push 0x6b764c
push 0x6b7668
sub esp, 0x18
lea eax, [ebp + 0x28]
lea esi, [ebp + 0x40]
push 6
pop ecx
mov edi, esp
push 0x6b766c
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004638e7
add esp, 0x28
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
mov byte [ebp - 4], 0x13
jae 0x436033
lea eax, [ebp + 0x28]
push eax
call fcn.00470897
test eax, eax
je 0x436055
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x436049
lea eax, [ebp + 0x28]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
xor eax, eax
mov byte [ebp - 4], 0x12
xor edi, edi
lea ecx, [ebp + 0x28]
inc eax
push edi
push eax
mov bl, al
call fcn.004267c2
call fcn.00430a99
test al, al
je 0x436087
push 0x6b6f34
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.004832b3
push 0x6b767c
push 0x6b76b0
call fcn.0043171c
push str.application_x_bittorrentsearchdescriptionxml
push 0x6b7724
call fcn.0043171c
push str.application_x_bittorrent_skin
push 0x6b7774
call fcn.0043171c
push str.application_x_bittorrent_key
push 0x6b77c0
call fcn.0043171c
push str.application_x_bittorrent_app
push 0x6b780c
call fcn.0043171c
push str.application_x_bittorrent_appinst
push 0x6b7864
call fcn.0043171c
push str.Magnet
call fcn.00431912
push 0x6b788c
call fcn.00431912
push 0x6b780e
call fcn.00431912
push 0x6b7866
call fcn.00431912
push 0x6b7776
call fcn.00431912
push 0x6b77c2
call fcn.00431912
movzx eax, byte [0x79de98]
cmp eax, 5
push str.SoftwareClassesuTorrent
sbb esi, esi
neg esi
add esi, reloc.WS2_32.dll_accept
push esi
call fcn.00482e75
push str.SoftwareClassesApplicationsuTorrent.exe
push esi
call fcn.00482e75
push str.SoftwareBitTorrent
mov esi, reloc.WS2_32.dll_accept
push esi
call fcn.00482e75
push str.SoftwareBitTorrentuTorrent
push esi
call fcn.00482e75
push str.SoftwareBitTorrentengine
push esi
call fcn.00482e75
push str.SoftwareMicrosoftWindowsCurrentVersionUninstalluTorrent
push esi
call fcn.00482e2b
push str.SoftwareMicrosoftWindowsCurrentVersionUninstalluTorrent
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00482e2b
test bl, bl
je 0x43624b
xor eax, eax
mov dword [ebp + 0x24], 7
mov dword [ebp + 0x20], edi
mov word [ebp + 0x10], ax
cmp dword [0x79de98], 0x80000000
mov esi, str.rmdir__S__Q
mov byte [ebp - 4], 0x14
jb 0x4361b9
mov esi, str.deltree__Y
push esi
call fcn.00426a30
pop ecx
push eax
push esi
lea ecx, [ebp + 0x10]
call fcn.004372ba
cmp dword [ebp + 0x54], 8
mov eax, dword [ebp + 0x40]
jae 0x4361d6
lea eax, [ebp + 0x40]
mov esi, dword [sym.imp.KERNEL32.DLL_GetShortPathNameW]
push edi
push edi
push eax
call esi
cmp dword [ebp + 0x54], 8
mov ecx, dword [ebp + 0x40]
jae 0x4361ed
lea ecx, [ebp + 0x40]
push eax
lea eax, [ebp - 0x568]
push eax
push ecx
call esi
test eax, eax
jne 0x43620d
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x10]
call fcn.0042680e
jmp 0x43622a
lea eax, [ebp - 0x568]
push eax
call fcn.00426a30
pop ecx
push eax
lea eax, [ebp - 0x568]
push eax
lea ecx, [ebp + 0x10]
call fcn.0042689e
cmp dword [ebp + 0x24], 8
mov eax, dword [ebp + 0x10]
jae 0x436236
lea eax, [ebp + 0x10]
push eax
call fcn.00598924
xor esi, esi
lea ecx, [ebp + 0x10]
push edi
inc esi
push esi
call fcn.004267c2
jmp 0x436253
call fcn.00598b26
xor esi, esi
inc esi
push edi
push esi
lea ecx, [ebp - 0x58]
call fcn.004267c2
push edi
push esi
lea ecx, [ebp + 0x40]
call fcn.004267c2
lea ecx, [ebp - 0x158]
call fcn.00428878
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x5c]
pop ebp
ret 8